1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Loudmouth 1.5.4. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11# 12# 13# Copyright (C) 2003-2008 Imendio AB 14# Copyright (C) 2007 Collabora Ltd 15# Copyright (C) 2007 Nokia Corporation 16# 17## -------------------- ## 18## M4sh Initialization. ## 19## -------------------- ## 20 21# Be more Bourne compatible 22DUALCASE=1; export DUALCASE # for MKS sh 23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24 emulate sh 25 NULLCMD=: 26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 # is contrary to our usage. Disable this feature. 28 alias -g '${1+"$@"}'='"$@"' 29 setopt NO_GLOB_SUBST 30else 31 case `(set -o) 2>/dev/null` in #( 32 *posix*) : 33 set -o posix ;; #( 34 *) : 35 ;; 36esac 37fi 38 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47# Prefer a ksh shell builtin over an external printf program on Solaris, 48# but without wasting forks for bash or zsh. 49if test -z "$BASH_VERSION$ZSH_VERSION" \ 50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='print -r --' 52 as_echo_n='print -rn --' 53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54 as_echo='printf %s\n' 55 as_echo_n='printf %s' 56else 57 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 58 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 59 as_echo_n='/usr/ucb/echo -n' 60 else 61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 as_echo_n_body='eval 63 arg=$1; 64 case $arg in #( 65 *"$as_nl"*) 66 expr "X$arg" : "X\\(.*\\)$as_nl"; 67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 68 esac; 69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 70 ' 71 export as_echo_n_body 72 as_echo_n='sh -c $as_echo_n_body as_echo' 73 fi 74 export as_echo_body 75 as_echo='sh -c $as_echo_body as_echo' 76fi 77 78# The user is always right. 79if test "${PATH_SEPARATOR+set}" != set; then 80 PATH_SEPARATOR=: 81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 83 PATH_SEPARATOR=';' 84 } 85fi 86 87 88# IFS 89# We need space, tab and new line, in precisely that order. Quoting is 90# there to prevent editors from complaining about space-tab. 91# (If _AS_PATH_WALK were called with IFS unset, it would disable word 92# splitting by setting IFS to empty value.) 93IFS=" "" $as_nl" 94 95# Find who we are. Look in the path if we contain no directory separator. 96as_myself= 97case $0 in #(( 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105 done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 exit 1 118fi 119 120# Unset variables that we do not need and which cause bugs (e.g. in 121# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 122# suppresses any "Segmentation fault" message there. '((' could 123# trigger a bug in pdksh 5.2.14. 124for as_var in BASH_ENV ENV MAIL MAILPATH 125do eval test x\${$as_var+set} = xset \ 126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 127done 128PS1='$ ' 129PS2='> ' 130PS4='+ ' 131 132# NLS nuisances. 133LC_ALL=C 134export LC_ALL 135LANGUAGE=C 136export LANGUAGE 137 138# CDPATH. 139(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 140 141# Use a proper internal environment variable to ensure we don't fall 142 # into an infinite loop, continuously re-executing ourselves. 143 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 144 _as_can_reexec=no; export _as_can_reexec; 145 # We cannot yet assume a decent shell, so we have to provide a 146# neutralization value for shells without unset; and this also 147# works around shells that cannot unset nonexistent variables. 148# Preserve -v and -x to the replacement shell. 149BASH_ENV=/dev/null 150ENV=/dev/null 151(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 152case $- in # (((( 153 *v*x* | *x*v* ) as_opts=-vx ;; 154 *v* ) as_opts=-v ;; 155 *x* ) as_opts=-x ;; 156 * ) as_opts= ;; 157esac 158exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 159# Admittedly, this is quite paranoid, since all the known shells bail 160# out after a failed `exec'. 161$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 162as_fn_exit 255 163 fi 164 # We don't want this to propagate to other subprocesses. 165 { _as_can_reexec=; unset _as_can_reexec;} 166if test "x$CONFIG_SHELL" = x; then 167 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 168 emulate sh 169 NULLCMD=: 170 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 171 # is contrary to our usage. Disable this feature. 172 alias -g '\${1+\"\$@\"}'='\"\$@\"' 173 setopt NO_GLOB_SUBST 174else 175 case \`(set -o) 2>/dev/null\` in #( 176 *posix*) : 177 set -o posix ;; #( 178 *) : 179 ;; 180esac 181fi 182" 183 as_required="as_fn_return () { (exit \$1); } 184as_fn_success () { as_fn_return 0; } 185as_fn_failure () { as_fn_return 1; } 186as_fn_ret_success () { return 0; } 187as_fn_ret_failure () { return 1; } 188 189exitcode=0 190as_fn_success || { exitcode=1; echo as_fn_success failed.; } 191as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 192as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 193as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 194if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 195 196else 197 exitcode=1; echo positional parameters were not saved. 198fi 199test x\$exitcode = x0 || exit 1 200test -x / || exit 1" 201 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 202 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 203 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 204 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 205test \$(( 1 + 1 )) = 2 || exit 1 206 207 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 208 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 209 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 210 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 211 PATH=/empty FPATH=/empty; export PATH FPATH 212 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 213 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 214 if (eval "$as_required") 2>/dev/null; then : 215 as_have_required=yes 216else 217 as_have_required=no 218fi 219 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 220 221else 222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223as_found=false 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 as_found=: 229 case $as_dir in #( 230 /*) 231 for as_base in sh bash ksh sh5; do 232 # Try only shells that exist, to save several forks. 233 as_shell=$as_dir/$as_base 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 236 CONFIG_SHELL=$as_shell as_have_required=yes 237 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 238 break 2 239fi 240fi 241 done;; 242 esac 243 as_found=false 244done 245$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 246 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 247 CONFIG_SHELL=$SHELL as_have_required=yes 248fi; } 249IFS=$as_save_IFS 250 251 252 if test "x$CONFIG_SHELL" != x; then : 253 export CONFIG_SHELL 254 # We cannot yet assume a decent shell, so we have to provide a 255# neutralization value for shells without unset; and this also 256# works around shells that cannot unset nonexistent variables. 257# Preserve -v and -x to the replacement shell. 258BASH_ENV=/dev/null 259ENV=/dev/null 260(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 261case $- in # (((( 262 *v*x* | *x*v* ) as_opts=-vx ;; 263 *v* ) as_opts=-v ;; 264 *x* ) as_opts=-x ;; 265 * ) as_opts= ;; 266esac 267exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 268# Admittedly, this is quite paranoid, since all the known shells bail 269# out after a failed `exec'. 270$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 271exit 255 272fi 273 274 if test x$as_have_required = xno; then : 275 $as_echo "$0: This script requires a shell more modern than all" 276 $as_echo "$0: the shells that I found on your system." 277 if test x${ZSH_VERSION+set} = xset ; then 278 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 279 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 280 else 281 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 282$0: including any error possibly output before this 283$0: message. Then install a modern shell, or manually run 284$0: the script under such a shell if you do have one." 285 fi 286 exit 1 287fi 288fi 289fi 290SHELL=${CONFIG_SHELL-/bin/sh} 291export SHELL 292# Unset more variables known to interfere with behavior of common tools. 293CLICOLOR_FORCE= GREP_OPTIONS= 294unset CLICOLOR_FORCE GREP_OPTIONS 295 296## --------------------- ## 297## M4sh Shell Functions. ## 298## --------------------- ## 299# as_fn_unset VAR 300# --------------- 301# Portably unset VAR. 302as_fn_unset () 303{ 304 { eval $1=; unset $1;} 305} 306as_unset=as_fn_unset 307 308# as_fn_set_status STATUS 309# ----------------------- 310# Set $? to STATUS, without forking. 311as_fn_set_status () 312{ 313 return $1 314} # as_fn_set_status 315 316# as_fn_exit STATUS 317# ----------------- 318# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 319as_fn_exit () 320{ 321 set +e 322 as_fn_set_status $1 323 exit $1 324} # as_fn_exit 325 326# as_fn_mkdir_p 327# ------------- 328# Create "$as_dir" as a directory, including parents if necessary. 329as_fn_mkdir_p () 330{ 331 332 case $as_dir in #( 333 -*) as_dir=./$as_dir;; 334 esac 335 test -d "$as_dir" || eval $as_mkdir_p || { 336 as_dirs= 337 while :; do 338 case $as_dir in #( 339 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340 *) as_qdir=$as_dir;; 341 esac 342 as_dirs="'$as_qdir' $as_dirs" 343 as_dir=`$as_dirname -- "$as_dir" || 344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 346 X"$as_dir" : 'X\(//\)$' \| \ 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348$as_echo X"$as_dir" | 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)[^/].*/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\/\)$/{ 358 s//\1/ 359 q 360 } 361 /^X\(\/\).*/{ 362 s//\1/ 363 q 364 } 365 s/.*/./; q'` 366 test -d "$as_dir" && break 367 done 368 test -z "$as_dirs" || eval "mkdir $as_dirs" 369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370 371 372} # as_fn_mkdir_p 373 374# as_fn_executable_p FILE 375# ----------------------- 376# Test if FILE is an executable regular file. 377as_fn_executable_p () 378{ 379 test -f "$1" && test -x "$1" 380} # as_fn_executable_p 381# as_fn_append VAR VALUE 382# ---------------------- 383# Append the text in VALUE to the end of the definition contained in VAR. Take 384# advantage of any shell optimizations that allow amortized linear growth over 385# repeated appends, instead of the typical quadratic growth present in naive 386# implementations. 387if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 388 eval 'as_fn_append () 389 { 390 eval $1+=\$2 391 }' 392else 393 as_fn_append () 394 { 395 eval $1=\$$1\$2 396 } 397fi # as_fn_append 398 399# as_fn_arith ARG... 400# ------------------ 401# Perform arithmetic evaluation on the ARGs, and store the result in the 402# global $as_val. Take advantage of shells that can avoid forks. The arguments 403# must be portable across $(()) and expr. 404if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 eval 'as_fn_arith () 406 { 407 as_val=$(( $* )) 408 }' 409else 410 as_fn_arith () 411 { 412 as_val=`expr "$@" || test $? -eq 1` 413 } 414fi # as_fn_arith 415 416 417# as_fn_error STATUS ERROR [LINENO LOG_FD] 418# ---------------------------------------- 419# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 420# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 421# script with STATUS, using 1 if that was 0. 422as_fn_error () 423{ 424 as_status=$1; test $as_status -eq 0 && as_status=1 425 if test "$4"; then 426 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 428 fi 429 $as_echo "$as_me: error: $2" >&2 430 as_fn_exit $as_status 431} # as_fn_error 432 433if expr a : '\(a\)' >/dev/null 2>&1 && 434 test "X`expr 00001 : '.*\(...\)'`" = X001; then 435 as_expr=expr 436else 437 as_expr=false 438fi 439 440if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 441 as_basename=basename 442else 443 as_basename=false 444fi 445 446if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 447 as_dirname=dirname 448else 449 as_dirname=false 450fi 451 452as_me=`$as_basename -- "$0" || 453$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 454 X"$0" : 'X\(//\)$' \| \ 455 X"$0" : 'X\(/\)' \| . 2>/dev/null || 456$as_echo X/"$0" | 457 sed '/^.*\/\([^/][^/]*\)\/*$/{ 458 s//\1/ 459 q 460 } 461 /^X\/\(\/\/\)$/{ 462 s//\1/ 463 q 464 } 465 /^X\/\(\/\).*/{ 466 s//\1/ 467 q 468 } 469 s/.*/./; q'` 470 471# Avoid depending upon Character Ranges. 472as_cr_letters='abcdefghijklmnopqrstuvwxyz' 473as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 474as_cr_Letters=$as_cr_letters$as_cr_LETTERS 475as_cr_digits='0123456789' 476as_cr_alnum=$as_cr_Letters$as_cr_digits 477 478 479 as_lineno_1=$LINENO as_lineno_1a=$LINENO 480 as_lineno_2=$LINENO as_lineno_2a=$LINENO 481 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 482 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 483 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 484 sed -n ' 485 p 486 /[$]LINENO/= 487 ' <$as_myself | 488 sed ' 489 s/[$]LINENO.*/&-/ 490 t lineno 491 b 492 :lineno 493 N 494 :loop 495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 496 t loop 497 s/-\n.*// 498 ' >$as_me.lineno && 499 chmod +x "$as_me.lineno" || 500 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 501 502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 503 # already done that, so ensure we don't try to do so again and fall 504 # in an infinite loop. This has already happened in practice. 505 _as_can_reexec=no; export _as_can_reexec 506 # Don't try to exec as it changes $[0], causing all sort of problems 507 # (the dirname of $[0] is not the place where we might find the 508 # original and so on. Autoconf is especially sensitive to this). 509 . "./$as_me.lineno" 510 # Exit status is that of the last command. 511 exit 512} 513 514ECHO_C= ECHO_N= ECHO_T= 515case `echo -n x` in #((((( 516-n*) 517 case `echo 'xy\c'` in 518 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 519 xy) ECHO_C='\c';; 520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 521 ECHO_T=' ';; 522 esac;; 523*) 524 ECHO_N='-n';; 525esac 526 527rm -f conf$$ conf$$.exe conf$$.file 528if test -d conf$$.dir; then 529 rm -f conf$$.dir/conf$$.file 530else 531 rm -f conf$$.dir 532 mkdir conf$$.dir 2>/dev/null 533fi 534if (echo >conf$$.file) 2>/dev/null; then 535 if ln -s conf$$.file conf$$ 2>/dev/null; then 536 as_ln_s='ln -s' 537 # ... but there are two gotchas: 538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 540 # In both cases, we have to default to `cp -pR'. 541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 542 as_ln_s='cp -pR' 543 elif ln conf$$.file conf$$ 2>/dev/null; then 544 as_ln_s=ln 545 else 546 as_ln_s='cp -pR' 547 fi 548else 549 as_ln_s='cp -pR' 550fi 551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 552rmdir conf$$.dir 2>/dev/null 553 554if mkdir -p . 2>/dev/null; then 555 as_mkdir_p='mkdir -p "$as_dir"' 556else 557 test -d ./-p && rmdir ./-p 558 as_mkdir_p=false 559fi 560 561as_test_x='test -x' 562as_executable_p=as_fn_executable_p 563 564# Sed expression to map a string onto a valid CPP name. 565as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 566 567# Sed expression to map a string onto a valid variable name. 568as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 569 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572 573test -n "$DJDIR" || exec 7<&0 </dev/null 574exec 6>&1 575 576# Name of the host. 577# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578# so uname gets run too. 579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 580 581# 582# Initializations. 583# 584ac_default_prefix=/usr/local 585ac_clean_files= 586ac_config_libobj_dir=. 587LIBOBJS= 588cross_compiling=no 589subdirs= 590MFLAGS= 591MAKEFLAGS= 592 593# Identity of this package. 594PACKAGE_NAME='Loudmouth' 595PACKAGE_TARNAME='loudmouth' 596PACKAGE_VERSION='1.5.4' 597PACKAGE_STRING='Loudmouth 1.5.4' 598PACKAGE_BUGREPORT='' 599PACKAGE_URL='' 600 601ac_unique_file="loudmouth/loudmouth.h" 602# Factoring default headers for most tests. 603ac_includes_default="\ 604#include <stdio.h> 605#ifdef HAVE_SYS_TYPES_H 606# include <sys/types.h> 607#endif 608#ifdef HAVE_SYS_STAT_H 609# include <sys/stat.h> 610#endif 611#ifdef STDC_HEADERS 612# include <stdlib.h> 613# include <stddef.h> 614#else 615# ifdef HAVE_STDLIB_H 616# include <stdlib.h> 617# endif 618#endif 619#ifdef HAVE_STRING_H 620# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 621# include <memory.h> 622# endif 623# include <string.h> 624#endif 625#ifdef HAVE_STRINGS_H 626# include <strings.h> 627#endif 628#ifdef HAVE_INTTYPES_H 629# include <inttypes.h> 630#endif 631#ifdef HAVE_STDINT_H 632# include <stdint.h> 633#endif 634#ifdef HAVE_UNISTD_H 635# include <unistd.h> 636#endif" 637 638ac_subst_vars='am__EXEEXT_FALSE 639am__EXEEXT_TRUE 640LTLIBOBJS 641LIBOBJS 642DOC_CFLAGS 643ASYNCNS_LIBS 644ASYNCNS_CFLAGS 645USE_GNUTLS_FALSE 646USE_GNUTLS_TRUE 647USE_OPENSSL_FALSE 648USE_OPENSSL_TRUE 649LIBGNUTLS_LIBS 650LIBGNUTLS_CFLAGS 651USE_GSSAPI_FALSE 652USE_GSSAPI_TRUE 653KRB5CONFIG 654REBUILD 655GTK_DOC_USE_REBASE_FALSE 656GTK_DOC_USE_REBASE_TRUE 657GTK_DOC_USE_LIBTOOL_FALSE 658GTK_DOC_USE_LIBTOOL_TRUE 659GTK_DOC_BUILD_PDF_FALSE 660GTK_DOC_BUILD_PDF_TRUE 661GTK_DOC_BUILD_HTML_FALSE 662GTK_DOC_BUILD_HTML_TRUE 663ENABLE_GTK_DOC_FALSE 664ENABLE_GTK_DOC_TRUE 665HAVE_GTK_DOC_FALSE 666HAVE_GTK_DOC_TRUE 667GTKDOC_DEPS_LIBS 668GTKDOC_DEPS_CFLAGS 669HTML_DIR 670GTKDOC_MKPDF 671GTKDOC_REBASE 672GTKDOC_CHECK_PATH 673GTKDOC_CHECK 674LIBIDN_LIBS 675LIBIDN_CFLAGS 676TEST_DIRS 677LOUDMOUTHTEST_LIBS 678LOUDMOUTHTEST_CFLAGS 679LOUDMOUTH_LIBS 680LOUDMOUTH_CFLAGS 681pkgconfigdir 682LIBTASN1_REQUIRED 683GNUTLS_REQUIRED 684GLIB2_REQUIRED 685WARN_CFLAGS 686GLIB_COMPILE_RESOURCES 687GLIB_MKENUMS 688GOBJECT_QUERY 689GLIB_GENMARSHAL 690GLIB_LIBS 691GLIB_CFLAGS 692PKG_CONFIG_LIBDIR 693PKG_CONFIG_PATH 694PKG_CONFIG 695LT_AGE 696LT_REVISION 697LT_CURRENT 698LT_SYS_LIBRARY_PATH 699OTOOL64 700OTOOL 701LIPO 702NMEDIT 703DSYMUTIL 704MANIFEST_TOOL 705RANLIB 706LN_S 707NM 708ac_ct_DUMPBIN 709DUMPBIN 710LD 711FGREP 712SED 713LIBTOOL 714OBJDUMP 715DLLTOOL 716AS 717ac_ct_AR 718AR 719EGREP 720GREP 721CPP 722am__fastdepCC_FALSE 723am__fastdepCC_TRUE 724CCDEPMODE 725am__nodep 726AMDEPBACKSLASH 727AMDEP_FALSE 728AMDEP_TRUE 729am__include 730DEPDIR 731OBJEXT 732EXEEXT 733ac_ct_CC 734CPPFLAGS 735LDFLAGS 736CFLAGS 737CC 738host_os 739host_vendor 740host_cpu 741host 742build_os 743build_vendor 744build_cpu 745build 746MAINT 747MAINTAINER_MODE_FALSE 748MAINTAINER_MODE_TRUE 749AM_BACKSLASH 750AM_DEFAULT_VERBOSITY 751AM_DEFAULT_V 752AM_V 753am__untar 754am__tar 755AMTAR 756am__leading_dot 757SET_MAKE 758AWK 759mkdir_p 760MKDIR_P 761INSTALL_STRIP_PROGRAM 762STRIP 763install_sh 764MAKEINFO 765AUTOHEADER 766AUTOMAKE 767AUTOCONF 768ACLOCAL 769VERSION 770PACKAGE 771CYGPATH_W 772am__isrc 773INSTALL_DATA 774INSTALL_SCRIPT 775INSTALL_PROGRAM 776target_alias 777host_alias 778build_alias 779LIBS 780ECHO_T 781ECHO_N 782ECHO_C 783DEFS 784mandir 785localedir 786libdir 787psdir 788pdfdir 789dvidir 790htmldir 791infodir 792docdir 793oldincludedir 794includedir 795runstatedir 796localstatedir 797sharedstatedir 798sysconfdir 799datadir 800datarootdir 801libexecdir 802sbindir 803bindir 804program_transform_name 805prefix 806exec_prefix 807PACKAGE_URL 808PACKAGE_BUGREPORT 809PACKAGE_STRING 810PACKAGE_VERSION 811PACKAGE_TARNAME 812PACKAGE_NAME 813PATH_SEPARATOR 814SHELL 815am__quote' 816ac_subst_files='' 817ac_user_opts=' 818enable_option_checking 819enable_silent_rules 820enable_maintainer_mode 821enable_dependency_tracking 822enable_shared 823enable_static 824with_pic 825enable_fast_install 826with_aix_soname 827with_gnu_ld 828with_sysroot 829enable_libtool_lock 830enable_glibtest 831with_compile_warnings 832with_pkgconfigdir 833with_idn 834with_html_dir 835enable_gtk_doc 836enable_gtk_doc_html 837enable_gtk_doc_pdf 838enable_rebuilds 839with_ssl 840with_openssl_includes 841with_openssl_libs 842with_asyncns 843enable_debug 844' 845 ac_precious_vars='build_alias 846host_alias 847target_alias 848CC 849CFLAGS 850LDFLAGS 851LIBS 852CPPFLAGS 853CPP 854LT_SYS_LIBRARY_PATH 855PKG_CONFIG 856PKG_CONFIG_PATH 857PKG_CONFIG_LIBDIR 858GLIB_CFLAGS 859GLIB_LIBS 860GLIB_GENMARSHAL 861GOBJECT_QUERY 862GLIB_MKENUMS 863GLIB_COMPILE_RESOURCES 864LOUDMOUTH_CFLAGS 865LOUDMOUTH_LIBS 866LOUDMOUTHTEST_CFLAGS 867LOUDMOUTHTEST_LIBS 868LIBIDN_CFLAGS 869LIBIDN_LIBS 870GTKDOC_DEPS_CFLAGS 871GTKDOC_DEPS_LIBS 872LIBGNUTLS_CFLAGS 873LIBGNUTLS_LIBS 874ASYNCNS_CFLAGS 875ASYNCNS_LIBS' 876 877 878# Initialize some variables set by options. 879ac_init_help= 880ac_init_version=false 881ac_unrecognized_opts= 882ac_unrecognized_sep= 883# The variables have the same names as the options, with 884# dashes changed to underlines. 885cache_file=/dev/null 886exec_prefix=NONE 887no_create= 888no_recursion= 889prefix=NONE 890program_prefix=NONE 891program_suffix=NONE 892program_transform_name=s,x,x, 893silent= 894site= 895srcdir= 896verbose= 897x_includes=NONE 898x_libraries=NONE 899 900# Installation directory options. 901# These are left unexpanded so users can "make install exec_prefix=/foo" 902# and all the variables that are supposed to be based on exec_prefix 903# by default will actually change. 904# Use braces instead of parens because sh, perl, etc. also accept them. 905# (The list follows the same order as the GNU Coding Standards.) 906bindir='${exec_prefix}/bin' 907sbindir='${exec_prefix}/sbin' 908libexecdir='${exec_prefix}/libexec' 909datarootdir='${prefix}/share' 910datadir='${datarootdir}' 911sysconfdir='${prefix}/etc' 912sharedstatedir='${prefix}/com' 913localstatedir='${prefix}/var' 914runstatedir='${localstatedir}/run' 915includedir='${prefix}/include' 916oldincludedir='/usr/include' 917docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 918infodir='${datarootdir}/info' 919htmldir='${docdir}' 920dvidir='${docdir}' 921pdfdir='${docdir}' 922psdir='${docdir}' 923libdir='${exec_prefix}/lib' 924localedir='${datarootdir}/locale' 925mandir='${datarootdir}/man' 926 927ac_prev= 928ac_dashdash= 929for ac_option 930do 931 # If the previous option needs an argument, assign it. 932 if test -n "$ac_prev"; then 933 eval $ac_prev=\$ac_option 934 ac_prev= 935 continue 936 fi 937 938 case $ac_option in 939 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 940 *=) ac_optarg= ;; 941 *) ac_optarg=yes ;; 942 esac 943 944 # Accept the important Cygnus configure options, so we can diagnose typos. 945 946 case $ac_dashdash$ac_option in 947 --) 948 ac_dashdash=yes ;; 949 950 -bindir | --bindir | --bindi | --bind | --bin | --bi) 951 ac_prev=bindir ;; 952 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 953 bindir=$ac_optarg ;; 954 955 -build | --build | --buil | --bui | --bu) 956 ac_prev=build_alias ;; 957 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 958 build_alias=$ac_optarg ;; 959 960 -cache-file | --cache-file | --cache-fil | --cache-fi \ 961 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 962 ac_prev=cache_file ;; 963 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 964 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 965 cache_file=$ac_optarg ;; 966 967 --config-cache | -C) 968 cache_file=config.cache ;; 969 970 -datadir | --datadir | --datadi | --datad) 971 ac_prev=datadir ;; 972 -datadir=* | --datadir=* | --datadi=* | --datad=*) 973 datadir=$ac_optarg ;; 974 975 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 976 | --dataroo | --dataro | --datar) 977 ac_prev=datarootdir ;; 978 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 979 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 980 datarootdir=$ac_optarg ;; 981 982 -disable-* | --disable-*) 983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 984 # Reject names that are not valid shell variable names. 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 986 as_fn_error $? "invalid feature name: $ac_useropt" 987 ac_useropt_orig=$ac_useropt 988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 989 case $ac_user_opts in 990 *" 991"enable_$ac_useropt" 992"*) ;; 993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 994 ac_unrecognized_sep=', ';; 995 esac 996 eval enable_$ac_useropt=no ;; 997 998 -docdir | --docdir | --docdi | --doc | --do) 999 ac_prev=docdir ;; 1000 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1001 docdir=$ac_optarg ;; 1002 1003 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1004 ac_prev=dvidir ;; 1005 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1006 dvidir=$ac_optarg ;; 1007 1008 -enable-* | --enable-*) 1009 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1010 # Reject names that are not valid shell variable names. 1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1012 as_fn_error $? "invalid feature name: $ac_useropt" 1013 ac_useropt_orig=$ac_useropt 1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1015 case $ac_user_opts in 1016 *" 1017"enable_$ac_useropt" 1018"*) ;; 1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1020 ac_unrecognized_sep=', ';; 1021 esac 1022 eval enable_$ac_useropt=\$ac_optarg ;; 1023 1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1026 | --exec | --exe | --ex) 1027 ac_prev=exec_prefix ;; 1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1030 | --exec=* | --exe=* | --ex=*) 1031 exec_prefix=$ac_optarg ;; 1032 1033 -gas | --gas | --ga | --g) 1034 # Obsolete; use --with-gas. 1035 with_gas=yes ;; 1036 1037 -help | --help | --hel | --he | -h) 1038 ac_init_help=long ;; 1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1040 ac_init_help=recursive ;; 1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1042 ac_init_help=short ;; 1043 1044 -host | --host | --hos | --ho) 1045 ac_prev=host_alias ;; 1046 -host=* | --host=* | --hos=* | --ho=*) 1047 host_alias=$ac_optarg ;; 1048 1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1050 ac_prev=htmldir ;; 1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1052 | --ht=*) 1053 htmldir=$ac_optarg ;; 1054 1055 -includedir | --includedir | --includedi | --included | --include \ 1056 | --includ | --inclu | --incl | --inc) 1057 ac_prev=includedir ;; 1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1059 | --includ=* | --inclu=* | --incl=* | --inc=*) 1060 includedir=$ac_optarg ;; 1061 1062 -infodir | --infodir | --infodi | --infod | --info | --inf) 1063 ac_prev=infodir ;; 1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1065 infodir=$ac_optarg ;; 1066 1067 -libdir | --libdir | --libdi | --libd) 1068 ac_prev=libdir ;; 1069 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1070 libdir=$ac_optarg ;; 1071 1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1073 | --libexe | --libex | --libe) 1074 ac_prev=libexecdir ;; 1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1076 | --libexe=* | --libex=* | --libe=*) 1077 libexecdir=$ac_optarg ;; 1078 1079 -localedir | --localedir | --localedi | --localed | --locale) 1080 ac_prev=localedir ;; 1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1082 localedir=$ac_optarg ;; 1083 1084 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1085 | --localstate | --localstat | --localsta | --localst | --locals) 1086 ac_prev=localstatedir ;; 1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1089 localstatedir=$ac_optarg ;; 1090 1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1092 ac_prev=mandir ;; 1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1094 mandir=$ac_optarg ;; 1095 1096 -nfp | --nfp | --nf) 1097 # Obsolete; use --without-fp. 1098 with_fp=no ;; 1099 1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1101 | --no-cr | --no-c | -n) 1102 no_create=yes ;; 1103 1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1106 no_recursion=yes ;; 1107 1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1110 | --oldin | --oldi | --old | --ol | --o) 1111 ac_prev=oldincludedir ;; 1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1115 oldincludedir=$ac_optarg ;; 1116 1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1118 ac_prev=prefix ;; 1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1120 prefix=$ac_optarg ;; 1121 1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1123 | --program-pre | --program-pr | --program-p) 1124 ac_prev=program_prefix ;; 1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1127 program_prefix=$ac_optarg ;; 1128 1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1130 | --program-suf | --program-su | --program-s) 1131 ac_prev=program_suffix ;; 1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1134 program_suffix=$ac_optarg ;; 1135 1136 -program-transform-name | --program-transform-name \ 1137 | --program-transform-nam | --program-transform-na \ 1138 | --program-transform-n | --program-transform- \ 1139 | --program-transform | --program-transfor \ 1140 | --program-transfo | --program-transf \ 1141 | --program-trans | --program-tran \ 1142 | --progr-tra | --program-tr | --program-t) 1143 ac_prev=program_transform_name ;; 1144 -program-transform-name=* | --program-transform-name=* \ 1145 | --program-transform-nam=* | --program-transform-na=* \ 1146 | --program-transform-n=* | --program-transform-=* \ 1147 | --program-transform=* | --program-transfor=* \ 1148 | --program-transfo=* | --program-transf=* \ 1149 | --program-trans=* | --program-tran=* \ 1150 | --progr-tra=* | --program-tr=* | --program-t=*) 1151 program_transform_name=$ac_optarg ;; 1152 1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1154 ac_prev=pdfdir ;; 1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1156 pdfdir=$ac_optarg ;; 1157 1158 -psdir | --psdir | --psdi | --psd | --ps) 1159 ac_prev=psdir ;; 1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1161 psdir=$ac_optarg ;; 1162 1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1164 | -silent | --silent | --silen | --sile | --sil) 1165 silent=yes ;; 1166 1167 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1168 | --runstate | --runstat | --runsta | --runst | --runs \ 1169 | --run | --ru | --r) 1170 ac_prev=runstatedir ;; 1171 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1172 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1173 | --run=* | --ru=* | --r=*) 1174 runstatedir=$ac_optarg ;; 1175 1176 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1177 ac_prev=sbindir ;; 1178 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1179 | --sbi=* | --sb=*) 1180 sbindir=$ac_optarg ;; 1181 1182 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1183 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1184 | --sharedst | --shareds | --shared | --share | --shar \ 1185 | --sha | --sh) 1186 ac_prev=sharedstatedir ;; 1187 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1188 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1189 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1190 | --sha=* | --sh=*) 1191 sharedstatedir=$ac_optarg ;; 1192 1193 -site | --site | --sit) 1194 ac_prev=site ;; 1195 -site=* | --site=* | --sit=*) 1196 site=$ac_optarg ;; 1197 1198 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1199 ac_prev=srcdir ;; 1200 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1201 srcdir=$ac_optarg ;; 1202 1203 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1204 | --syscon | --sysco | --sysc | --sys | --sy) 1205 ac_prev=sysconfdir ;; 1206 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1207 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1208 sysconfdir=$ac_optarg ;; 1209 1210 -target | --target | --targe | --targ | --tar | --ta | --t) 1211 ac_prev=target_alias ;; 1212 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1213 target_alias=$ac_optarg ;; 1214 1215 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1216 verbose=yes ;; 1217 1218 -version | --version | --versio | --versi | --vers | -V) 1219 ac_init_version=: ;; 1220 1221 -with-* | --with-*) 1222 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1223 # Reject names that are not valid shell variable names. 1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1225 as_fn_error $? "invalid package name: $ac_useropt" 1226 ac_useropt_orig=$ac_useropt 1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1228 case $ac_user_opts in 1229 *" 1230"with_$ac_useropt" 1231"*) ;; 1232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1233 ac_unrecognized_sep=', ';; 1234 esac 1235 eval with_$ac_useropt=\$ac_optarg ;; 1236 1237 -without-* | --without-*) 1238 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1239 # Reject names that are not valid shell variable names. 1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1241 as_fn_error $? "invalid package name: $ac_useropt" 1242 ac_useropt_orig=$ac_useropt 1243 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1244 case $ac_user_opts in 1245 *" 1246"with_$ac_useropt" 1247"*) ;; 1248 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1249 ac_unrecognized_sep=', ';; 1250 esac 1251 eval with_$ac_useropt=no ;; 1252 1253 --x) 1254 # Obsolete; use --with-x. 1255 with_x=yes ;; 1256 1257 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1258 | --x-incl | --x-inc | --x-in | --x-i) 1259 ac_prev=x_includes ;; 1260 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1261 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1262 x_includes=$ac_optarg ;; 1263 1264 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1265 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1266 ac_prev=x_libraries ;; 1267 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1268 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1269 x_libraries=$ac_optarg ;; 1270 1271 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1272Try \`$0 --help' for more information" 1273 ;; 1274 1275 *=*) 1276 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1277 # Reject names that are not valid shell variable names. 1278 case $ac_envvar in #( 1279 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1280 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1281 esac 1282 eval $ac_envvar=\$ac_optarg 1283 export $ac_envvar ;; 1284 1285 *) 1286 # FIXME: should be removed in autoconf 3.0. 1287 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1288 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1289 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1290 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1291 ;; 1292 1293 esac 1294done 1295 1296if test -n "$ac_prev"; then 1297 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1298 as_fn_error $? "missing argument to $ac_option" 1299fi 1300 1301if test -n "$ac_unrecognized_opts"; then 1302 case $enable_option_checking in 1303 no) ;; 1304 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1305 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1306 esac 1307fi 1308 1309# Check all directory arguments for consistency. 1310for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1311 datadir sysconfdir sharedstatedir localstatedir includedir \ 1312 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1313 libdir localedir mandir runstatedir 1314do 1315 eval ac_val=\$$ac_var 1316 # Remove trailing slashes. 1317 case $ac_val in 1318 */ ) 1319 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1320 eval $ac_var=\$ac_val;; 1321 esac 1322 # Be sure to have absolute directory names. 1323 case $ac_val in 1324 [\\/$]* | ?:[\\/]* ) continue;; 1325 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1326 esac 1327 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1328done 1329 1330# There might be people who depend on the old broken behavior: `$host' 1331# used to hold the argument of --host etc. 1332# FIXME: To remove some day. 1333build=$build_alias 1334host=$host_alias 1335target=$target_alias 1336 1337# FIXME: To remove some day. 1338if test "x$host_alias" != x; then 1339 if test "x$build_alias" = x; then 1340 cross_compiling=maybe 1341 elif test "x$build_alias" != "x$host_alias"; then 1342 cross_compiling=yes 1343 fi 1344fi 1345 1346ac_tool_prefix= 1347test -n "$host_alias" && ac_tool_prefix=$host_alias- 1348 1349test "$silent" = yes && exec 6>/dev/null 1350 1351 1352ac_pwd=`pwd` && test -n "$ac_pwd" && 1353ac_ls_di=`ls -di .` && 1354ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1355 as_fn_error $? "working directory cannot be determined" 1356test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1357 as_fn_error $? "pwd does not report name of working directory" 1358 1359 1360# Find the source files, if location was not specified. 1361if test -z "$srcdir"; then 1362 ac_srcdir_defaulted=yes 1363 # Try the directory containing this script, then the parent directory. 1364 ac_confdir=`$as_dirname -- "$as_myself" || 1365$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1366 X"$as_myself" : 'X\(//\)[^/]' \| \ 1367 X"$as_myself" : 'X\(//\)$' \| \ 1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1369$as_echo X"$as_myself" | 1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1371 s//\1/ 1372 q 1373 } 1374 /^X\(\/\/\)[^/].*/{ 1375 s//\1/ 1376 q 1377 } 1378 /^X\(\/\/\)$/{ 1379 s//\1/ 1380 q 1381 } 1382 /^X\(\/\).*/{ 1383 s//\1/ 1384 q 1385 } 1386 s/.*/./; q'` 1387 srcdir=$ac_confdir 1388 if test ! -r "$srcdir/$ac_unique_file"; then 1389 srcdir=.. 1390 fi 1391else 1392 ac_srcdir_defaulted=no 1393fi 1394if test ! -r "$srcdir/$ac_unique_file"; then 1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1396 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1397fi 1398ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1399ac_abs_confdir=`( 1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1401 pwd)` 1402# When building in place, set srcdir=. 1403if test "$ac_abs_confdir" = "$ac_pwd"; then 1404 srcdir=. 1405fi 1406# Remove unnecessary trailing slashes from srcdir. 1407# Double slashes in file names in object file debugging info 1408# mess up M-x gdb in Emacs. 1409case $srcdir in 1410*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1411esac 1412for ac_var in $ac_precious_vars; do 1413 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1414 eval ac_env_${ac_var}_value=\$${ac_var} 1415 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1416 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1417done 1418 1419# 1420# Report the --help message. 1421# 1422if test "$ac_init_help" = "long"; then 1423 # Omit some internal or obsolete options to make the list less imposing. 1424 # This message is too long to be a string in the A/UX 3.1 sh. 1425 cat <<_ACEOF 1426\`configure' configures Loudmouth 1.5.4 to adapt to many kinds of systems. 1427 1428Usage: $0 [OPTION]... [VAR=VALUE]... 1429 1430To assign environment variables (e.g., CC, CFLAGS...), specify them as 1431VAR=VALUE. See below for descriptions of some of the useful variables. 1432 1433Defaults for the options are specified in brackets. 1434 1435Configuration: 1436 -h, --help display this help and exit 1437 --help=short display options specific to this package 1438 --help=recursive display the short help of all the included packages 1439 -V, --version display version information and exit 1440 -q, --quiet, --silent do not print \`checking ...' messages 1441 --cache-file=FILE cache test results in FILE [disabled] 1442 -C, --config-cache alias for \`--cache-file=config.cache' 1443 -n, --no-create do not create output files 1444 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1445 1446Installation directories: 1447 --prefix=PREFIX install architecture-independent files in PREFIX 1448 [$ac_default_prefix] 1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1450 [PREFIX] 1451 1452By default, \`make install' will install all the files in 1453\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1454an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1455for instance \`--prefix=\$HOME'. 1456 1457For better control, use the options below. 1458 1459Fine tuning of the installation directories: 1460 --bindir=DIR user executables [EPREFIX/bin] 1461 --sbindir=DIR system admin executables [EPREFIX/sbin] 1462 --libexecdir=DIR program executables [EPREFIX/libexec] 1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1466 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1467 --libdir=DIR object code libraries [EPREFIX/lib] 1468 --includedir=DIR C header files [PREFIX/include] 1469 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1472 --infodir=DIR info documentation [DATAROOTDIR/info] 1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1474 --mandir=DIR man documentation [DATAROOTDIR/man] 1475 --docdir=DIR documentation root [DATAROOTDIR/doc/loudmouth] 1476 --htmldir=DIR html documentation [DOCDIR] 1477 --dvidir=DIR dvi documentation [DOCDIR] 1478 --pdfdir=DIR pdf documentation [DOCDIR] 1479 --psdir=DIR ps documentation [DOCDIR] 1480_ACEOF 1481 1482 cat <<\_ACEOF 1483 1484Program names: 1485 --program-prefix=PREFIX prepend PREFIX to installed program names 1486 --program-suffix=SUFFIX append SUFFIX to installed program names 1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1488 1489System types: 1490 --build=BUILD configure for building on BUILD [guessed] 1491 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1492_ACEOF 1493fi 1494 1495if test -n "$ac_init_help"; then 1496 case $ac_init_help in 1497 short | recursive ) echo "Configuration of Loudmouth 1.5.4:";; 1498 esac 1499 cat <<\_ACEOF 1500 1501Optional Features: 1502 --disable-option-checking ignore unrecognized --enable/--with options 1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1505 --enable-silent-rules less verbose build output (undo: "make V=1") 1506 --disable-silent-rules verbose build output (undo: "make V=0") 1507 --enable-maintainer-mode 1508 enable make rules and dependencies not useful (and 1509 sometimes confusing) to the casual installer 1510 --enable-dependency-tracking 1511 do not reject slow dependency extractors 1512 --disable-dependency-tracking 1513 speeds up one-time build 1514 --enable-shared[=PKGS] build shared libraries [default=yes] 1515 --enable-static[=PKGS] build static libraries [default=yes] 1516 --enable-fast-install[=PKGS] 1517 optimize for fast installation [default=yes] 1518 --disable-libtool-lock avoid locking (might break parallel builds) 1519 --disable-glibtest do not try to compile and run a test GLIB program 1520 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1521 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1522 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1523 --enable-rebuilds=[no/yes/auto] 1524 Enable source autogeneration rules [[default=yes]] 1525 --enable-debug=[no/yes/auto] 1526 Enable debugging [[default=yes]] 1527 1528Optional Packages: 1529 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1530 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1531 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1532 both] 1533 --with-aix-soname=aix|svr4|both 1534 shared library versioning (aka "SONAME") variant to 1535 provide on AIX, [default=aix]. 1536 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1537 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1538 compiler's sysroot if not specified). 1539 --with-compile-warnings=no/yes/error Compiler warnings 1540 --with-pkgconfigdir pkg-config installation directory 1541 ['${libdir}/pkgconfig'] 1542 --with-idn=[auto|no] Whether to use libidn [[default=auto]] 1543 --with-html-dir=PATH path to installed docs 1544 --with-ssl=[gnutls|openssl|no] 1545 Which SSL implementation to use [[default=gnutls]] 1546 --with-openssl-includes=DIR 1547 OpenSSL includes 1548 --with-openssl-libs=DIR OpenSSL libraries 1549 --with-asyncns define whether to use libasyncns, [default=no] 1550 (yes/no) 1551 1552Some influential environment variables: 1553 CC C compiler command 1554 CFLAGS C compiler flags 1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1556 nonstandard directory <lib dir> 1557 LIBS libraries to pass to the linker, e.g. -l<library> 1558 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1559 you have headers in a nonstandard directory <include dir> 1560 CPP C preprocessor 1561 LT_SYS_LIBRARY_PATH 1562 User-defined run-time library search path. 1563 PKG_CONFIG path to pkg-config utility 1564 PKG_CONFIG_PATH 1565 directories to add to pkg-config's search path 1566 PKG_CONFIG_LIBDIR 1567 path overriding pkg-config's built-in search path 1568 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1569 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1570 GLIB_GENMARSHAL 1571 value of glib_genmarshal for glib-2.0, overriding pkg-config 1572 GOBJECT_QUERY 1573 value of gobject_query for glib-2.0, overriding pkg-config 1574 GLIB_MKENUMS 1575 value of glib_mkenums for glib-2.0, overriding pkg-config 1576 GLIB_COMPILE_RESOURCES 1577 value of glib_compile_resources for gio-2.0, overriding 1578 pkg-config 1579 LOUDMOUTH_CFLAGS 1580 C compiler flags for LOUDMOUTH, overriding pkg-config 1581 LOUDMOUTH_LIBS 1582 linker flags for LOUDMOUTH, overriding pkg-config 1583 LOUDMOUTHTEST_CFLAGS 1584 C compiler flags for LOUDMOUTHTEST, overriding pkg-config 1585 LOUDMOUTHTEST_LIBS 1586 linker flags for LOUDMOUTHTEST, overriding pkg-config 1587 LIBIDN_CFLAGS 1588 C compiler flags for LIBIDN, overriding pkg-config 1589 LIBIDN_LIBS linker flags for LIBIDN, overriding pkg-config 1590 GTKDOC_DEPS_CFLAGS 1591 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1592 GTKDOC_DEPS_LIBS 1593 linker flags for GTKDOC_DEPS, overriding pkg-config 1594 LIBGNUTLS_CFLAGS 1595 C compiler flags for LIBGNUTLS, overriding pkg-config 1596 LIBGNUTLS_LIBS 1597 linker flags for LIBGNUTLS, overriding pkg-config 1598 ASYNCNS_CFLAGS 1599 C compiler flags for ASYNCNS, overriding pkg-config 1600 ASYNCNS_LIBS 1601 linker flags for ASYNCNS, overriding pkg-config 1602 1603Use these variables to override the choices made by `configure' or to help 1604it to find libraries and programs with nonstandard names/locations. 1605 1606Report bugs to the package provider. 1607_ACEOF 1608ac_status=$? 1609fi 1610 1611if test "$ac_init_help" = "recursive"; then 1612 # If there are subdirs, report their specific --help. 1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1614 test -d "$ac_dir" || 1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1616 continue 1617 ac_builddir=. 1618 1619case "$ac_dir" in 1620.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1621*) 1622 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1623 # A ".." for each directory in $ac_dir_suffix. 1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1625 case $ac_top_builddir_sub in 1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1628 esac ;; 1629esac 1630ac_abs_top_builddir=$ac_pwd 1631ac_abs_builddir=$ac_pwd$ac_dir_suffix 1632# for backward compatibility: 1633ac_top_builddir=$ac_top_build_prefix 1634 1635case $srcdir in 1636 .) # We are building in place. 1637 ac_srcdir=. 1638 ac_top_srcdir=$ac_top_builddir_sub 1639 ac_abs_top_srcdir=$ac_pwd ;; 1640 [\\/]* | ?:[\\/]* ) # Absolute name. 1641 ac_srcdir=$srcdir$ac_dir_suffix; 1642 ac_top_srcdir=$srcdir 1643 ac_abs_top_srcdir=$srcdir ;; 1644 *) # Relative name. 1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1646 ac_top_srcdir=$ac_top_build_prefix$srcdir 1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1648esac 1649ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1650 1651 cd "$ac_dir" || { ac_status=$?; continue; } 1652 # Check for guested configure. 1653 if test -f "$ac_srcdir/configure.gnu"; then 1654 echo && 1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1656 elif test -f "$ac_srcdir/configure"; then 1657 echo && 1658 $SHELL "$ac_srcdir/configure" --help=recursive 1659 else 1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1661 fi || ac_status=$? 1662 cd "$ac_pwd" || { ac_status=$?; break; } 1663 done 1664fi 1665 1666test -n "$ac_init_help" && exit $ac_status 1667if $ac_init_version; then 1668 cat <<\_ACEOF 1669Loudmouth configure 1.5.4 1670generated by GNU Autoconf 2.69 1671 1672Copyright (C) 2012 Free Software Foundation, Inc. 1673This configure script is free software; the Free Software Foundation 1674gives unlimited permission to copy, distribute and modify it. 1675 1676 1677 Copyright (C) 2003-2008 Imendio AB 1678 Copyright (C) 2007 Collabora Ltd 1679 Copyright (C) 2007 Nokia Corporation 1680 1681_ACEOF 1682 exit 1683fi 1684 1685## ------------------------ ## 1686## Autoconf initialization. ## 1687## ------------------------ ## 1688 1689# ac_fn_c_try_compile LINENO 1690# -------------------------- 1691# Try to compile conftest.$ac_ext, and return whether this succeeded. 1692ac_fn_c_try_compile () 1693{ 1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1695 rm -f conftest.$ac_objext 1696 if { { ac_try="$ac_compile" 1697case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700esac 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702$as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_compile") 2>conftest.err 1704 ac_status=$? 1705 if test -s conftest.err; then 1706 grep -v '^ *+' conftest.err >conftest.er1 1707 cat conftest.er1 >&5 1708 mv -f conftest.er1 conftest.err 1709 fi 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } && { 1712 test -z "$ac_c_werror_flag" || 1713 test ! -s conftest.err 1714 } && test -s conftest.$ac_objext; then : 1715 ac_retval=0 1716else 1717 $as_echo "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721fi 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725} # ac_fn_c_try_compile 1726 1727# ac_fn_c_try_link LINENO 1728# ----------------------- 1729# Try to link conftest.$ac_ext, and return whether this succeeded. 1730ac_fn_c_try_link () 1731{ 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738esac 1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740$as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 test -x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: failed program was:" >&5 1759sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771} # ac_fn_c_try_link 1772 1773# ac_fn_c_try_cpp LINENO 1774# ---------------------- 1775# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1776ac_fn_c_try_cpp () 1777{ 1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1779 if { { ac_try="$ac_cpp conftest.$ac_ext" 1780case "(($ac_try" in 1781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1782 *) ac_try_echo=$ac_try;; 1783esac 1784eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1785$as_echo "$ac_try_echo"; } >&5 1786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1787 ac_status=$? 1788 if test -s conftest.err; then 1789 grep -v '^ *+' conftest.err >conftest.er1 1790 cat conftest.er1 >&5 1791 mv -f conftest.er1 conftest.err 1792 fi 1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1794 test $ac_status = 0; } > conftest.i && { 1795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1796 test ! -s conftest.err 1797 }; then : 1798 ac_retval=0 1799else 1800 $as_echo "$as_me: failed program was:" >&5 1801sed 's/^/| /' conftest.$ac_ext >&5 1802 1803 ac_retval=1 1804fi 1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1806 as_fn_set_status $ac_retval 1807 1808} # ac_fn_c_try_cpp 1809 1810# ac_fn_c_try_run LINENO 1811# ---------------------- 1812# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1813# that executables *can* be run. 1814ac_fn_c_try_run () 1815{ 1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1817 if { { ac_try="$ac_link" 1818case "(($ac_try" in 1819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1820 *) ac_try_echo=$ac_try;; 1821esac 1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1823$as_echo "$ac_try_echo"; } >&5 1824 (eval "$ac_link") 2>&5 1825 ac_status=$? 1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1827 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1828 { { case "(($ac_try" in 1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1830 *) ac_try_echo=$ac_try;; 1831esac 1832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1833$as_echo "$ac_try_echo"; } >&5 1834 (eval "$ac_try") 2>&5 1835 ac_status=$? 1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1837 test $ac_status = 0; }; }; then : 1838 ac_retval=0 1839else 1840 $as_echo "$as_me: program exited with status $ac_status" >&5 1841 $as_echo "$as_me: failed program was:" >&5 1842sed 's/^/| /' conftest.$ac_ext >&5 1843 1844 ac_retval=$ac_status 1845fi 1846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1848 as_fn_set_status $ac_retval 1849 1850} # ac_fn_c_try_run 1851 1852# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1853# ------------------------------------------------------- 1854# Tests whether HEADER exists and can be compiled using the include files in 1855# INCLUDES, setting the cache variable VAR accordingly. 1856ac_fn_c_check_header_compile () 1857{ 1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1860$as_echo_n "checking for $2... " >&6; } 1861if eval \${$3+:} false; then : 1862 $as_echo_n "(cached) " >&6 1863else 1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1865/* end confdefs.h. */ 1866$4 1867#include <$2> 1868_ACEOF 1869if ac_fn_c_try_compile "$LINENO"; then : 1870 eval "$3=yes" 1871else 1872 eval "$3=no" 1873fi 1874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1875fi 1876eval ac_res=\$$3 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1878$as_echo "$ac_res" >&6; } 1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1880 1881} # ac_fn_c_check_header_compile 1882 1883# ac_fn_c_check_func LINENO FUNC VAR 1884# ---------------------------------- 1885# Tests whether FUNC exists, setting the cache variable VAR accordingly 1886ac_fn_c_check_func () 1887{ 1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1890$as_echo_n "checking for $2... " >&6; } 1891if eval \${$3+:} false; then : 1892 $as_echo_n "(cached) " >&6 1893else 1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1895/* end confdefs.h. */ 1896/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1898#define $2 innocuous_$2 1899 1900/* System header to define __stub macros and hopefully few prototypes, 1901 which can conflict with char $2 (); below. 1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1903 <limits.h> exists even on freestanding compilers. */ 1904 1905#ifdef __STDC__ 1906# include <limits.h> 1907#else 1908# include <assert.h> 1909#endif 1910 1911#undef $2 1912 1913/* Override any GCC internal prototype to avoid an error. 1914 Use char because int might match the return type of a GCC 1915 builtin and then its argument prototype would still apply. */ 1916#ifdef __cplusplus 1917extern "C" 1918#endif 1919char $2 (); 1920/* The GNU C library defines this for functions which it implements 1921 to always fail with ENOSYS. Some functions are actually named 1922 something starting with __ and the normal name is an alias. */ 1923#if defined __stub_$2 || defined __stub___$2 1924choke me 1925#endif 1926 1927int 1928main () 1929{ 1930return $2 (); 1931 ; 1932 return 0; 1933} 1934_ACEOF 1935if ac_fn_c_try_link "$LINENO"; then : 1936 eval "$3=yes" 1937else 1938 eval "$3=no" 1939fi 1940rm -f core conftest.err conftest.$ac_objext \ 1941 conftest$ac_exeext conftest.$ac_ext 1942fi 1943eval ac_res=\$$3 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1945$as_echo "$ac_res" >&6; } 1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1947 1948} # ac_fn_c_check_func 1949 1950# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1951# ------------------------------------------------------- 1952# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1953# the include files in INCLUDES and setting the cache variable VAR 1954# accordingly. 1955ac_fn_c_check_header_mongrel () 1956{ 1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1958 if eval \${$3+:} false; then : 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1960$as_echo_n "checking for $2... " >&6; } 1961if eval \${$3+:} false; then : 1962 $as_echo_n "(cached) " >&6 1963fi 1964eval ac_res=\$$3 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1966$as_echo "$ac_res" >&6; } 1967else 1968 # Is the header compilable? 1969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1970$as_echo_n "checking $2 usability... " >&6; } 1971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1972/* end confdefs.h. */ 1973$4 1974#include <$2> 1975_ACEOF 1976if ac_fn_c_try_compile "$LINENO"; then : 1977 ac_header_compiler=yes 1978else 1979 ac_header_compiler=no 1980fi 1981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1983$as_echo "$ac_header_compiler" >&6; } 1984 1985# Is the header present? 1986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1987$as_echo_n "checking $2 presence... " >&6; } 1988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1989/* end confdefs.h. */ 1990#include <$2> 1991_ACEOF 1992if ac_fn_c_try_cpp "$LINENO"; then : 1993 ac_header_preproc=yes 1994else 1995 ac_header_preproc=no 1996fi 1997rm -f conftest.err conftest.i conftest.$ac_ext 1998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1999$as_echo "$ac_header_preproc" >&6; } 2000 2001# So? What about this header? 2002case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2003 yes:no: ) 2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2005$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2007$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2008 ;; 2009 no:yes:* ) 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2011$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2013$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2015$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2017$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2019$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2020 ;; 2021esac 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2023$as_echo_n "checking for $2... " >&6; } 2024if eval \${$3+:} false; then : 2025 $as_echo_n "(cached) " >&6 2026else 2027 eval "$3=\$ac_header_compiler" 2028fi 2029eval ac_res=\$$3 2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2031$as_echo "$ac_res" >&6; } 2032fi 2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2034 2035} # ac_fn_c_check_header_mongrel 2036 2037# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2038# --------------------------------------------- 2039# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2040# accordingly. 2041ac_fn_c_check_decl () 2042{ 2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2044 as_decl_name=`echo $2|sed 's/ *(.*//'` 2045 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2047$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2048if eval \${$3+:} false; then : 2049 $as_echo_n "(cached) " >&6 2050else 2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2052/* end confdefs.h. */ 2053$4 2054int 2055main () 2056{ 2057#ifndef $as_decl_name 2058#ifdef __cplusplus 2059 (void) $as_decl_use; 2060#else 2061 (void) $as_decl_name; 2062#endif 2063#endif 2064 2065 ; 2066 return 0; 2067} 2068_ACEOF 2069if ac_fn_c_try_compile "$LINENO"; then : 2070 eval "$3=yes" 2071else 2072 eval "$3=no" 2073fi 2074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2075fi 2076eval ac_res=\$$3 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2078$as_echo "$ac_res" >&6; } 2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2080 2081} # ac_fn_c_check_decl 2082cat >config.log <<_ACEOF 2083This file contains any messages produced by compilers while 2084running configure, to aid debugging if configure makes a mistake. 2085 2086It was created by Loudmouth $as_me 1.5.4, which was 2087generated by GNU Autoconf 2.69. Invocation command line was 2088 2089 $ $0 $@ 2090 2091_ACEOF 2092exec 5>>config.log 2093{ 2094cat <<_ASUNAME 2095## --------- ## 2096## Platform. ## 2097## --------- ## 2098 2099hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2100uname -m = `(uname -m) 2>/dev/null || echo unknown` 2101uname -r = `(uname -r) 2>/dev/null || echo unknown` 2102uname -s = `(uname -s) 2>/dev/null || echo unknown` 2103uname -v = `(uname -v) 2>/dev/null || echo unknown` 2104 2105/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2106/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2107 2108/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2109/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2110/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2111/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2112/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2113/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2114/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2115 2116_ASUNAME 2117 2118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2119for as_dir in $PATH 2120do 2121 IFS=$as_save_IFS 2122 test -z "$as_dir" && as_dir=. 2123 $as_echo "PATH: $as_dir" 2124 done 2125IFS=$as_save_IFS 2126 2127} >&5 2128 2129cat >&5 <<_ACEOF 2130 2131 2132## ----------- ## 2133## Core tests. ## 2134## ----------- ## 2135 2136_ACEOF 2137 2138 2139# Keep a trace of the command line. 2140# Strip out --no-create and --no-recursion so they do not pile up. 2141# Strip out --silent because we don't want to record it for future runs. 2142# Also quote any args containing shell meta-characters. 2143# Make two passes to allow for proper duplicate-argument suppression. 2144ac_configure_args= 2145ac_configure_args0= 2146ac_configure_args1= 2147ac_must_keep_next=false 2148for ac_pass in 1 2 2149do 2150 for ac_arg 2151 do 2152 case $ac_arg in 2153 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2155 | -silent | --silent | --silen | --sile | --sil) 2156 continue ;; 2157 *\'*) 2158 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2159 esac 2160 case $ac_pass in 2161 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2162 2) 2163 as_fn_append ac_configure_args1 " '$ac_arg'" 2164 if test $ac_must_keep_next = true; then 2165 ac_must_keep_next=false # Got value, back to normal. 2166 else 2167 case $ac_arg in 2168 *=* | --config-cache | -C | -disable-* | --disable-* \ 2169 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2170 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2171 | -with-* | --with-* | -without-* | --without-* | --x) 2172 case "$ac_configure_args0 " in 2173 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2174 esac 2175 ;; 2176 -* ) ac_must_keep_next=true ;; 2177 esac 2178 fi 2179 as_fn_append ac_configure_args " '$ac_arg'" 2180 ;; 2181 esac 2182 done 2183done 2184{ ac_configure_args0=; unset ac_configure_args0;} 2185{ ac_configure_args1=; unset ac_configure_args1;} 2186 2187# When interrupted or exit'd, cleanup temporary files, and complete 2188# config.log. We remove comments because anyway the quotes in there 2189# would cause problems or look ugly. 2190# WARNING: Use '\'' to represent an apostrophe within the trap. 2191# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2192trap 'exit_status=$? 2193 # Save into config.log some information that might help in debugging. 2194 { 2195 echo 2196 2197 $as_echo "## ---------------- ## 2198## Cache variables. ## 2199## ---------------- ##" 2200 echo 2201 # The following way of writing the cache mishandles newlines in values, 2202( 2203 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2204 eval ac_val=\$$ac_var 2205 case $ac_val in #( 2206 *${as_nl}*) 2207 case $ac_var in #( 2208 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2209$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2210 esac 2211 case $ac_var in #( 2212 _ | IFS | as_nl) ;; #( 2213 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2214 *) { eval $ac_var=; unset $ac_var;} ;; 2215 esac ;; 2216 esac 2217 done 2218 (set) 2>&1 | 2219 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2220 *${as_nl}ac_space=\ *) 2221 sed -n \ 2222 "s/'\''/'\''\\\\'\'''\''/g; 2223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2224 ;; #( 2225 *) 2226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2227 ;; 2228 esac | 2229 sort 2230) 2231 echo 2232 2233 $as_echo "## ----------------- ## 2234## Output variables. ## 2235## ----------------- ##" 2236 echo 2237 for ac_var in $ac_subst_vars 2238 do 2239 eval ac_val=\$$ac_var 2240 case $ac_val in 2241 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2242 esac 2243 $as_echo "$ac_var='\''$ac_val'\''" 2244 done | sort 2245 echo 2246 2247 if test -n "$ac_subst_files"; then 2248 $as_echo "## ------------------- ## 2249## File substitutions. ## 2250## ------------------- ##" 2251 echo 2252 for ac_var in $ac_subst_files 2253 do 2254 eval ac_val=\$$ac_var 2255 case $ac_val in 2256 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2257 esac 2258 $as_echo "$ac_var='\''$ac_val'\''" 2259 done | sort 2260 echo 2261 fi 2262 2263 if test -s confdefs.h; then 2264 $as_echo "## ----------- ## 2265## confdefs.h. ## 2266## ----------- ##" 2267 echo 2268 cat confdefs.h 2269 echo 2270 fi 2271 test "$ac_signal" != 0 && 2272 $as_echo "$as_me: caught signal $ac_signal" 2273 $as_echo "$as_me: exit $exit_status" 2274 } >&5 2275 rm -f core *.core core.conftest.* && 2276 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2277 exit $exit_status 2278' 0 2279for ac_signal in 1 2 13 15; do 2280 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2281done 2282ac_signal=0 2283 2284# confdefs.h avoids OS command line length limits that DEFS can exceed. 2285rm -f -r conftest* confdefs.h 2286 2287$as_echo "/* confdefs.h */" > confdefs.h 2288 2289# Predefined preprocessor variables. 2290 2291cat >>confdefs.h <<_ACEOF 2292#define PACKAGE_NAME "$PACKAGE_NAME" 2293_ACEOF 2294 2295cat >>confdefs.h <<_ACEOF 2296#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2297_ACEOF 2298 2299cat >>confdefs.h <<_ACEOF 2300#define PACKAGE_VERSION "$PACKAGE_VERSION" 2301_ACEOF 2302 2303cat >>confdefs.h <<_ACEOF 2304#define PACKAGE_STRING "$PACKAGE_STRING" 2305_ACEOF 2306 2307cat >>confdefs.h <<_ACEOF 2308#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2309_ACEOF 2310 2311cat >>confdefs.h <<_ACEOF 2312#define PACKAGE_URL "$PACKAGE_URL" 2313_ACEOF 2314 2315 2316# Let the site file select an alternate cache file if it wants to. 2317# Prefer an explicitly selected file to automatically selected ones. 2318ac_site_file1=NONE 2319ac_site_file2=NONE 2320if test -n "$CONFIG_SITE"; then 2321 # We do not want a PATH search for config.site. 2322 case $CONFIG_SITE in #(( 2323 -*) ac_site_file1=./$CONFIG_SITE;; 2324 */*) ac_site_file1=$CONFIG_SITE;; 2325 *) ac_site_file1=./$CONFIG_SITE;; 2326 esac 2327elif test "x$prefix" != xNONE; then 2328 ac_site_file1=$prefix/share/config.site 2329 ac_site_file2=$prefix/etc/config.site 2330else 2331 ac_site_file1=$ac_default_prefix/share/config.site 2332 ac_site_file2=$ac_default_prefix/etc/config.site 2333fi 2334for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2335do 2336 test "x$ac_site_file" = xNONE && continue 2337 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2339$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2340 sed 's/^/| /' "$ac_site_file" >&5 2341 . "$ac_site_file" \ 2342 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2343$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2344as_fn_error $? "failed to load site script $ac_site_file 2345See \`config.log' for more details" "$LINENO" 5; } 2346 fi 2347done 2348 2349if test -r "$cache_file"; then 2350 # Some versions of bash will fail to source /dev/null (special files 2351 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2352 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2354$as_echo "$as_me: loading cache $cache_file" >&6;} 2355 case $cache_file in 2356 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2357 *) . "./$cache_file";; 2358 esac 2359 fi 2360else 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2362$as_echo "$as_me: creating cache $cache_file" >&6;} 2363 >$cache_file 2364fi 2365 2366# Check that the precious variables saved in the cache have kept the same 2367# value. 2368ac_cache_corrupted=false 2369for ac_var in $ac_precious_vars; do 2370 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2371 eval ac_new_set=\$ac_env_${ac_var}_set 2372 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2373 eval ac_new_val=\$ac_env_${ac_var}_value 2374 case $ac_old_set,$ac_new_set in 2375 set,) 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2377$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2378 ac_cache_corrupted=: ;; 2379 ,set) 2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2381$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2382 ac_cache_corrupted=: ;; 2383 ,);; 2384 *) 2385 if test "x$ac_old_val" != "x$ac_new_val"; then 2386 # differences in whitespace do not lead to failure. 2387 ac_old_val_w=`echo x $ac_old_val` 2388 ac_new_val_w=`echo x $ac_new_val` 2389 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2391$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2392 ac_cache_corrupted=: 2393 else 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2395$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2396 eval $ac_var=\$ac_old_val 2397 fi 2398 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2399$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2401$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2402 fi;; 2403 esac 2404 # Pass precious variables to config.status. 2405 if test "$ac_new_set" = set; then 2406 case $ac_new_val in 2407 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2408 *) ac_arg=$ac_var=$ac_new_val ;; 2409 esac 2410 case " $ac_configure_args " in 2411 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2412 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2413 esac 2414 fi 2415done 2416if $ac_cache_corrupted; then 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2420$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2421 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2422fi 2423## -------------------- ## 2424## Main body of script. ## 2425## -------------------- ## 2426 2427ac_ext=c 2428ac_cpp='$CPP $CPPFLAGS' 2429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2431ac_compiler_gnu=$ac_cv_c_compiler_gnu 2432 2433 2434 2435 2436 2437ac_config_headers="$ac_config_headers config.h" 2438 2439ac_aux_dir= 2440for ac_dir in build "$srcdir"/build; do 2441 if test -f "$ac_dir/install-sh"; then 2442 ac_aux_dir=$ac_dir 2443 ac_install_sh="$ac_aux_dir/install-sh -c" 2444 break 2445 elif test -f "$ac_dir/install.sh"; then 2446 ac_aux_dir=$ac_dir 2447 ac_install_sh="$ac_aux_dir/install.sh -c" 2448 break 2449 elif test -f "$ac_dir/shtool"; then 2450 ac_aux_dir=$ac_dir 2451 ac_install_sh="$ac_aux_dir/shtool install -c" 2452 break 2453 fi 2454done 2455if test -z "$ac_aux_dir"; then 2456 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 2457fi 2458 2459# These three variables are undocumented and unsupported, 2460# and are intended to be withdrawn in a future Autoconf release. 2461# They can cause serious problems if a builder's source tree is in a directory 2462# whose full name contains unusual characters. 2463ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2464ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2465ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2466 2467 2468 2469am__api_version='1.16' 2470 2471# Find a good install program. We prefer a C program (faster), 2472# so one script is as good as another. But avoid the broken or 2473# incompatible versions: 2474# SysV /etc/install, /usr/sbin/install 2475# SunOS /usr/etc/install 2476# IRIX /sbin/install 2477# AIX /bin/install 2478# AmigaOS /C/install, which installs bootblocks on floppy discs 2479# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2480# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2481# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2482# OS/2's system install, which has a completely different semantic 2483# ./install, which can be erroneously created by make from ./install.sh. 2484# Reject install programs that cannot install multiple files. 2485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2486$as_echo_n "checking for a BSD-compatible install... " >&6; } 2487if test -z "$INSTALL"; then 2488if ${ac_cv_path_install+:} false; then : 2489 $as_echo_n "(cached) " >&6 2490else 2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2492for as_dir in $PATH 2493do 2494 IFS=$as_save_IFS 2495 test -z "$as_dir" && as_dir=. 2496 # Account for people who put trailing slashes in PATH elements. 2497case $as_dir/ in #(( 2498 ./ | .// | /[cC]/* | \ 2499 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2500 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2501 /usr/ucb/* ) ;; 2502 *) 2503 # OSF1 and SCO ODT 3.0 have their own names for install. 2504 # Don't use installbsd from OSF since it installs stuff as root 2505 # by default. 2506 for ac_prog in ginstall scoinst install; do 2507 for ac_exec_ext in '' $ac_executable_extensions; do 2508 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2509 if test $ac_prog = install && 2510 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2511 # AIX install. It has an incompatible calling convention. 2512 : 2513 elif test $ac_prog = install && 2514 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2515 # program-specific install script used by HP pwplus--don't use. 2516 : 2517 else 2518 rm -rf conftest.one conftest.two conftest.dir 2519 echo one > conftest.one 2520 echo two > conftest.two 2521 mkdir conftest.dir 2522 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2523 test -s conftest.one && test -s conftest.two && 2524 test -s conftest.dir/conftest.one && 2525 test -s conftest.dir/conftest.two 2526 then 2527 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2528 break 3 2529 fi 2530 fi 2531 fi 2532 done 2533 done 2534 ;; 2535esac 2536 2537 done 2538IFS=$as_save_IFS 2539 2540rm -rf conftest.one conftest.two conftest.dir 2541 2542fi 2543 if test "${ac_cv_path_install+set}" = set; then 2544 INSTALL=$ac_cv_path_install 2545 else 2546 # As a last resort, use the slow shell script. Don't cache a 2547 # value for INSTALL within a source directory, because that will 2548 # break other packages using the cache if that directory is 2549 # removed, or if the value is a relative name. 2550 INSTALL=$ac_install_sh 2551 fi 2552fi 2553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2554$as_echo "$INSTALL" >&6; } 2555 2556# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2557# It thinks the first close brace ends the variable substitution. 2558test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2559 2560test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2561 2562test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2563 2564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2565$as_echo_n "checking whether build environment is sane... " >&6; } 2566# Reject unsafe characters in $srcdir or the absolute working directory 2567# name. Accept space and tab only in the latter. 2568am_lf=' 2569' 2570case `pwd` in 2571 *[\\\"\#\$\&\'\`$am_lf]*) 2572 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2573esac 2574case $srcdir in 2575 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2576 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2577esac 2578 2579# Do 'set' in a subshell so we don't clobber the current shell's 2580# arguments. Must try -L first in case configure is actually a 2581# symlink; some systems play weird games with the mod time of symlinks 2582# (eg FreeBSD returns the mod time of the symlink's containing 2583# directory). 2584if ( 2585 am_has_slept=no 2586 for am_try in 1 2; do 2587 echo "timestamp, slept: $am_has_slept" > conftest.file 2588 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2589 if test "$*" = "X"; then 2590 # -L didn't work. 2591 set X `ls -t "$srcdir/configure" conftest.file` 2592 fi 2593 if test "$*" != "X $srcdir/configure conftest.file" \ 2594 && test "$*" != "X conftest.file $srcdir/configure"; then 2595 2596 # If neither matched, then we have a broken ls. This can happen 2597 # if, for instance, CONFIG_SHELL is bash and it inherits a 2598 # broken ls alias from the environment. This has actually 2599 # happened. Such a system could not be considered "sane". 2600 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2601 alias in your environment" "$LINENO" 5 2602 fi 2603 if test "$2" = conftest.file || test $am_try -eq 2; then 2604 break 2605 fi 2606 # Just in case. 2607 sleep 1 2608 am_has_slept=yes 2609 done 2610 test "$2" = conftest.file 2611 ) 2612then 2613 # Ok. 2614 : 2615else 2616 as_fn_error $? "newly created file is older than distributed files! 2617Check your system clock" "$LINENO" 5 2618fi 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2620$as_echo "yes" >&6; } 2621# If we didn't sleep, we still need to ensure time stamps of config.status and 2622# generated files are strictly newer. 2623am_sleep_pid= 2624if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2625 ( sleep 1 ) & 2626 am_sleep_pid=$! 2627fi 2628 2629rm -f conftest.file 2630 2631test "$program_prefix" != NONE && 2632 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2633# Use a double $ so make ignores it. 2634test "$program_suffix" != NONE && 2635 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2636# Double any \ or $. 2637# By default was `s,x,x', remove it if useless. 2638ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2639program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2640 2641# Expand $ac_aux_dir to an absolute path. 2642am_aux_dir=`cd "$ac_aux_dir" && pwd` 2643 2644if test x"${MISSING+set}" != xset; then 2645 case $am_aux_dir in 2646 *\ * | *\ *) 2647 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2648 *) 2649 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2650 esac 2651fi 2652# Use eval to expand $SHELL 2653if eval "$MISSING --is-lightweight"; then 2654 am_missing_run="$MISSING " 2655else 2656 am_missing_run= 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2658$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2659fi 2660 2661if test x"${install_sh+set}" != xset; then 2662 case $am_aux_dir in 2663 *\ * | *\ *) 2664 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2665 *) 2666 install_sh="\${SHELL} $am_aux_dir/install-sh" 2667 esac 2668fi 2669 2670# Installed binaries are usually stripped using 'strip' when the user 2671# run "make install-strip". However 'strip' might not be the right 2672# tool to use in cross-compilation environments, therefore Automake 2673# will honor the 'STRIP' environment variable to overrule this program. 2674if test "$cross_compiling" != no; then 2675 if test -n "$ac_tool_prefix"; then 2676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2677set dummy ${ac_tool_prefix}strip; ac_word=$2 2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2679$as_echo_n "checking for $ac_word... " >&6; } 2680if ${ac_cv_prog_STRIP+:} false; then : 2681 $as_echo_n "(cached) " >&6 2682else 2683 if test -n "$STRIP"; then 2684 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2685else 2686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2687for as_dir in $PATH 2688do 2689 IFS=$as_save_IFS 2690 test -z "$as_dir" && as_dir=. 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2693 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2695 break 2 2696 fi 2697done 2698 done 2699IFS=$as_save_IFS 2700 2701fi 2702fi 2703STRIP=$ac_cv_prog_STRIP 2704if test -n "$STRIP"; then 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2706$as_echo "$STRIP" >&6; } 2707else 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2709$as_echo "no" >&6; } 2710fi 2711 2712 2713fi 2714if test -z "$ac_cv_prog_STRIP"; then 2715 ac_ct_STRIP=$STRIP 2716 # Extract the first word of "strip", so it can be a program name with args. 2717set dummy strip; ac_word=$2 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2719$as_echo_n "checking for $ac_word... " >&6; } 2720if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2721 $as_echo_n "(cached) " >&6 2722else 2723 if test -n "$ac_ct_STRIP"; then 2724 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2725else 2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2727for as_dir in $PATH 2728do 2729 IFS=$as_save_IFS 2730 test -z "$as_dir" && as_dir=. 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2733 ac_cv_prog_ac_ct_STRIP="strip" 2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 break 2 2736 fi 2737done 2738 done 2739IFS=$as_save_IFS 2740 2741fi 2742fi 2743ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2744if test -n "$ac_ct_STRIP"; then 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2746$as_echo "$ac_ct_STRIP" >&6; } 2747else 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2749$as_echo "no" >&6; } 2750fi 2751 2752 if test "x$ac_ct_STRIP" = x; then 2753 STRIP=":" 2754 else 2755 case $cross_compiling:$ac_tool_warned in 2756yes:) 2757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2759ac_tool_warned=yes ;; 2760esac 2761 STRIP=$ac_ct_STRIP 2762 fi 2763else 2764 STRIP="$ac_cv_prog_STRIP" 2765fi 2766 2767fi 2768INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2769 2770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2771$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2772if test -z "$MKDIR_P"; then 2773 if ${ac_cv_path_mkdir+:} false; then : 2774 $as_echo_n "(cached) " >&6 2775else 2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2777for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2778do 2779 IFS=$as_save_IFS 2780 test -z "$as_dir" && as_dir=. 2781 for ac_prog in mkdir gmkdir; do 2782 for ac_exec_ext in '' $ac_executable_extensions; do 2783 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2784 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2785 'mkdir (GNU coreutils) '* | \ 2786 'mkdir (coreutils) '* | \ 2787 'mkdir (fileutils) '4.1*) 2788 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2789 break 3;; 2790 esac 2791 done 2792 done 2793 done 2794IFS=$as_save_IFS 2795 2796fi 2797 2798 test -d ./--version && rmdir ./--version 2799 if test "${ac_cv_path_mkdir+set}" = set; then 2800 MKDIR_P="$ac_cv_path_mkdir -p" 2801 else 2802 # As a last resort, use the slow shell script. Don't cache a 2803 # value for MKDIR_P within a source directory, because that will 2804 # break other packages using the cache if that directory is 2805 # removed, or if the value is a relative name. 2806 MKDIR_P="$ac_install_sh -d" 2807 fi 2808fi 2809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2810$as_echo "$MKDIR_P" >&6; } 2811 2812for ac_prog in gawk mawk nawk awk 2813do 2814 # Extract the first word of "$ac_prog", so it can be a program name with args. 2815set dummy $ac_prog; ac_word=$2 2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2817$as_echo_n "checking for $ac_word... " >&6; } 2818if ${ac_cv_prog_AWK+:} false; then : 2819 $as_echo_n "(cached) " >&6 2820else 2821 if test -n "$AWK"; then 2822 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2823else 2824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2825for as_dir in $PATH 2826do 2827 IFS=$as_save_IFS 2828 test -z "$as_dir" && as_dir=. 2829 for ac_exec_ext in '' $ac_executable_extensions; do 2830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2831 ac_cv_prog_AWK="$ac_prog" 2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2833 break 2 2834 fi 2835done 2836 done 2837IFS=$as_save_IFS 2838 2839fi 2840fi 2841AWK=$ac_cv_prog_AWK 2842if test -n "$AWK"; then 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2844$as_echo "$AWK" >&6; } 2845else 2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2847$as_echo "no" >&6; } 2848fi 2849 2850 2851 test -n "$AWK" && break 2852done 2853 2854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2855$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2856set x ${MAKE-make} 2857ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2858if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2859 $as_echo_n "(cached) " >&6 2860else 2861 cat >conftest.make <<\_ACEOF 2862SHELL = /bin/sh 2863all: 2864 @echo '@@@%%%=$(MAKE)=@@@%%%' 2865_ACEOF 2866# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2867case `${MAKE-make} -f conftest.make 2>/dev/null` in 2868 *@@@%%%=?*=@@@%%%*) 2869 eval ac_cv_prog_make_${ac_make}_set=yes;; 2870 *) 2871 eval ac_cv_prog_make_${ac_make}_set=no;; 2872esac 2873rm -f conftest.make 2874fi 2875if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2877$as_echo "yes" >&6; } 2878 SET_MAKE= 2879else 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2881$as_echo "no" >&6; } 2882 SET_MAKE="MAKE=${MAKE-make}" 2883fi 2884 2885rm -rf .tst 2>/dev/null 2886mkdir .tst 2>/dev/null 2887if test -d .tst; then 2888 am__leading_dot=. 2889else 2890 am__leading_dot=_ 2891fi 2892rmdir .tst 2>/dev/null 2893 2894# Check whether --enable-silent-rules was given. 2895if test "${enable_silent_rules+set}" = set; then : 2896 enableval=$enable_silent_rules; 2897fi 2898 2899case $enable_silent_rules in # ((( 2900 yes) AM_DEFAULT_VERBOSITY=0;; 2901 no) AM_DEFAULT_VERBOSITY=1;; 2902 *) AM_DEFAULT_VERBOSITY=1;; 2903esac 2904am_make=${MAKE-make} 2905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2906$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2907if ${am_cv_make_support_nested_variables+:} false; then : 2908 $as_echo_n "(cached) " >&6 2909else 2910 if $as_echo 'TRUE=$(BAR$(V)) 2911BAR0=false 2912BAR1=true 2913V=1 2914am__doit: 2915 @$(TRUE) 2916.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2917 am_cv_make_support_nested_variables=yes 2918else 2919 am_cv_make_support_nested_variables=no 2920fi 2921fi 2922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2923$as_echo "$am_cv_make_support_nested_variables" >&6; } 2924if test $am_cv_make_support_nested_variables = yes; then 2925 AM_V='$(V)' 2926 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2927else 2928 AM_V=$AM_DEFAULT_VERBOSITY 2929 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2930fi 2931AM_BACKSLASH='\' 2932 2933if test "`cd $srcdir && pwd`" != "`pwd`"; then 2934 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2935 # is not polluted with repeated "-I." 2936 am__isrc=' -I$(srcdir)' 2937 # test to see if srcdir already configured 2938 if test -f $srcdir/config.status; then 2939 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2940 fi 2941fi 2942 2943# test whether we have cygpath 2944if test -z "$CYGPATH_W"; then 2945 if (cygpath --version) >/dev/null 2>/dev/null; then 2946 CYGPATH_W='cygpath -w' 2947 else 2948 CYGPATH_W=echo 2949 fi 2950fi 2951 2952 2953# Define the identity of the package. 2954 PACKAGE='loudmouth' 2955 VERSION='1.5.4' 2956 2957 2958# Some tools Automake needs. 2959 2960ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2961 2962 2963AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2964 2965 2966AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2967 2968 2969AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2970 2971 2972MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2973 2974# For better backward compatibility. To be removed once Automake 1.9.x 2975# dies out for good. For more background, see: 2976# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2977# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2978mkdir_p='$(MKDIR_P)' 2979 2980# We need awk for the "check" target (and possibly the TAP driver). The 2981# system "awk" is bad on some platforms. 2982# Always define AMTAR for backward compatibility. Yes, it's still used 2983# in the wild :-( We should find a proper way to deprecate it ... 2984AMTAR='$${TAR-tar}' 2985 2986 2987# We'll loop over all known methods to create a tar archive until one works. 2988_am_tools='gnutar pax cpio none' 2989 2990am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2991 2992 2993 2994 2995 2996 2997# POSIX will say in a future version that running "rm -f" with no argument 2998# is OK; and we want to be able to make that assumption in our Makefile 2999# recipes. So use an aggressive probe to check that the usage we want is 3000# actually supported "in the wild" to an acceptable degree. 3001# See automake bug#10828. 3002# To make any issue more visible, cause the running configure to be aborted 3003# by default if the 'rm' program in use doesn't match our expectations; the 3004# user can still override this though. 3005if rm -f && rm -fr && rm -rf; then : OK; else 3006 cat >&2 <<'END' 3007Oops! 3008 3009Your 'rm' program seems unable to run without file operands specified 3010on the command line, even when the '-f' option is present. This is contrary 3011to the behaviour of most rm programs out there, and not conforming with 3012the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3013 3014Please tell bug-automake@gnu.org about your system, including the value 3015of your $PATH and any error possibly output before this message. This 3016can help us improve future automake versions. 3017 3018END 3019 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3020 echo 'Configuration will proceed anyway, since you have set the' >&2 3021 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3022 echo >&2 3023 else 3024 cat >&2 <<'END' 3025Aborting the configuration process, to ensure you take notice of the issue. 3026 3027You can download and install GNU coreutils to get an 'rm' implementation 3028that behaves properly: <https://www.gnu.org/software/coreutils/>. 3029 3030If you want to complete the configuration process using your problematic 3031'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3032to "yes", and re-run configure. 3033 3034END 3035 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3036 fi 3037fi 3038 3039 3040 3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3042$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3043 # Check whether --enable-maintainer-mode was given. 3044if test "${enable_maintainer_mode+set}" = set; then : 3045 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3046else 3047 USE_MAINTAINER_MODE=no 3048fi 3049 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3051$as_echo "$USE_MAINTAINER_MODE" >&6; } 3052 if test $USE_MAINTAINER_MODE = yes; then 3053 MAINTAINER_MODE_TRUE= 3054 MAINTAINER_MODE_FALSE='#' 3055else 3056 MAINTAINER_MODE_TRUE='#' 3057 MAINTAINER_MODE_FALSE= 3058fi 3059 3060 MAINT=$MAINTAINER_MODE_TRUE 3061 3062 3063 3064# Make sure we can run config.sub. 3065$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3067 3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3069$as_echo_n "checking build system type... " >&6; } 3070if ${ac_cv_build+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072else 3073 ac_build_alias=$build_alias 3074test "x$ac_build_alias" = x && 3075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3076test "x$ac_build_alias" = x && 3077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3078ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3080 3081fi 3082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3083$as_echo "$ac_cv_build" >&6; } 3084case $ac_cv_build in 3085*-*-*) ;; 3086*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3087esac 3088build=$ac_cv_build 3089ac_save_IFS=$IFS; IFS='-' 3090set x $ac_cv_build 3091shift 3092build_cpu=$1 3093build_vendor=$2 3094shift; shift 3095# Remember, the first character of IFS is used to create $*, 3096# except with old shells: 3097build_os=$* 3098IFS=$ac_save_IFS 3099case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3100 3101 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3103$as_echo_n "checking host system type... " >&6; } 3104if ${ac_cv_host+:} false; then : 3105 $as_echo_n "(cached) " >&6 3106else 3107 if test "x$host_alias" = x; then 3108 ac_cv_host=$ac_cv_build 3109else 3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3112fi 3113 3114fi 3115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3116$as_echo "$ac_cv_host" >&6; } 3117case $ac_cv_host in 3118*-*-*) ;; 3119*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3120esac 3121host=$ac_cv_host 3122ac_save_IFS=$IFS; IFS='-' 3123set x $ac_cv_host 3124shift 3125host_cpu=$1 3126host_vendor=$2 3127shift; shift 3128# Remember, the first character of IFS is used to create $*, 3129# except with old shells: 3130host_os=$* 3131IFS=$ac_save_IFS 3132case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3133 3134 3135 3136os_win32=no 3137 3138case "$host_os" in 3139 *mingw32*) 3140 os_win32=yes 3141esac 3142 3143if test "$os_win32" = "yes"; then 3144 if test "$enable_static" = "yes" -o "$enable_static" = ""; then 3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5 3146$as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;} 3147 enable_static=no 3148 fi 3149 3150 if test "$enable_shared" = "no"; then 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5 3152$as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;} 3153 fi 3154 3155 enable_shared=yes 3156 3157 CFLAGS="$CFLAGS -mms-bitfields" 3158 LDFLAGS="$LDFLAGS -no-undefined" 3159fi 3160 3161ac_ext=c 3162ac_cpp='$CPP $CPPFLAGS' 3163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3165ac_compiler_gnu=$ac_cv_c_compiler_gnu 3166if test -n "$ac_tool_prefix"; then 3167 for ac_prog in cc gcc 3168 do 3169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3170set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3172$as_echo_n "checking for $ac_word... " >&6; } 3173if ${ac_cv_prog_CC+:} false; then : 3174 $as_echo_n "(cached) " >&6 3175else 3176 if test -n "$CC"; then 3177 ac_cv_prog_CC="$CC" # Let the user override the test. 3178else 3179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3180for as_dir in $PATH 3181do 3182 IFS=$as_save_IFS 3183 test -z "$as_dir" && as_dir=. 3184 for ac_exec_ext in '' $ac_executable_extensions; do 3185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3186 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3188 break 2 3189 fi 3190done 3191 done 3192IFS=$as_save_IFS 3193 3194fi 3195fi 3196CC=$ac_cv_prog_CC 3197if test -n "$CC"; then 3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3199$as_echo "$CC" >&6; } 3200else 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3202$as_echo "no" >&6; } 3203fi 3204 3205 3206 test -n "$CC" && break 3207 done 3208fi 3209if test -z "$CC"; then 3210 ac_ct_CC=$CC 3211 for ac_prog in cc gcc 3212do 3213 # Extract the first word of "$ac_prog", so it can be a program name with args. 3214set dummy $ac_prog; ac_word=$2 3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3216$as_echo_n "checking for $ac_word... " >&6; } 3217if ${ac_cv_prog_ac_ct_CC+:} false; then : 3218 $as_echo_n "(cached) " >&6 3219else 3220 if test -n "$ac_ct_CC"; then 3221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3222else 3223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3224for as_dir in $PATH 3225do 3226 IFS=$as_save_IFS 3227 test -z "$as_dir" && as_dir=. 3228 for ac_exec_ext in '' $ac_executable_extensions; do 3229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3230 ac_cv_prog_ac_ct_CC="$ac_prog" 3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3232 break 2 3233 fi 3234done 3235 done 3236IFS=$as_save_IFS 3237 3238fi 3239fi 3240ac_ct_CC=$ac_cv_prog_ac_ct_CC 3241if test -n "$ac_ct_CC"; then 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3243$as_echo "$ac_ct_CC" >&6; } 3244else 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3246$as_echo "no" >&6; } 3247fi 3248 3249 3250 test -n "$ac_ct_CC" && break 3251done 3252 3253 if test "x$ac_ct_CC" = x; then 3254 CC="" 3255 else 3256 case $cross_compiling:$ac_tool_warned in 3257yes:) 3258{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3259$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3260ac_tool_warned=yes ;; 3261esac 3262 CC=$ac_ct_CC 3263 fi 3264fi 3265 3266 3267test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3269as_fn_error $? "no acceptable C compiler found in \$PATH 3270See \`config.log' for more details" "$LINENO" 5; } 3271 3272# Provide some information about the compiler. 3273$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3274set X $ac_compile 3275ac_compiler=$2 3276for ac_option in --version -v -V -qversion; do 3277 { { ac_try="$ac_compiler $ac_option >&5" 3278case "(($ac_try" in 3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3280 *) ac_try_echo=$ac_try;; 3281esac 3282eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3283$as_echo "$ac_try_echo"; } >&5 3284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3285 ac_status=$? 3286 if test -s conftest.err; then 3287 sed '10a\ 3288... rest of stderr output deleted ... 3289 10q' conftest.err >conftest.er1 3290 cat conftest.er1 >&5 3291 fi 3292 rm -f conftest.er1 conftest.err 3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3294 test $ac_status = 0; } 3295done 3296 3297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3298/* end confdefs.h. */ 3299 3300int 3301main () 3302{ 3303 3304 ; 3305 return 0; 3306} 3307_ACEOF 3308ac_clean_files_save=$ac_clean_files 3309ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3310# Try to create an executable without -o first, disregard a.out. 3311# It will help us diagnose broken compilers, and finding out an intuition 3312# of exeext. 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3314$as_echo_n "checking whether the C compiler works... " >&6; } 3315ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3316 3317# The possible output files: 3318ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3319 3320ac_rmfiles= 3321for ac_file in $ac_files 3322do 3323 case $ac_file in 3324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3325 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3326 esac 3327done 3328rm -f $ac_rmfiles 3329 3330if { { ac_try="$ac_link_default" 3331case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334esac 3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3336$as_echo "$ac_try_echo"; } >&5 3337 (eval "$ac_link_default") 2>&5 3338 ac_status=$? 3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3340 test $ac_status = 0; }; then : 3341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3342# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3343# in a Makefile. We should not override ac_cv_exeext if it was cached, 3344# so that the user can short-circuit this test for compilers unknown to 3345# Autoconf. 3346for ac_file in $ac_files '' 3347do 3348 test -f "$ac_file" || continue 3349 case $ac_file in 3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3351 ;; 3352 [ab].out ) 3353 # We found the default executable, but exeext='' is most 3354 # certainly right. 3355 break;; 3356 *.* ) 3357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3358 then :; else 3359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3360 fi 3361 # We set ac_cv_exeext here because the later test for it is not 3362 # safe: cross compilers may not add the suffix if given an `-o' 3363 # argument, so we may need to know it at that point already. 3364 # Even if this section looks crufty: it has the advantage of 3365 # actually working. 3366 break;; 3367 * ) 3368 break;; 3369 esac 3370done 3371test "$ac_cv_exeext" = no && ac_cv_exeext= 3372 3373else 3374 ac_file='' 3375fi 3376if test -z "$ac_file"; then : 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3378$as_echo "no" >&6; } 3379$as_echo "$as_me: failed program was:" >&5 3380sed 's/^/| /' conftest.$ac_ext >&5 3381 3382{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3384as_fn_error 77 "C compiler cannot create executables 3385See \`config.log' for more details" "$LINENO" 5; } 3386else 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3388$as_echo "yes" >&6; } 3389fi 3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3391$as_echo_n "checking for C compiler default output file name... " >&6; } 3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3393$as_echo "$ac_file" >&6; } 3394ac_exeext=$ac_cv_exeext 3395 3396rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3397ac_clean_files=$ac_clean_files_save 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3399$as_echo_n "checking for suffix of executables... " >&6; } 3400if { { ac_try="$ac_link" 3401case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404esac 3405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3406$as_echo "$ac_try_echo"; } >&5 3407 (eval "$ac_link") 2>&5 3408 ac_status=$? 3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3410 test $ac_status = 0; }; then : 3411 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3412# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3413# work properly (i.e., refer to `conftest.exe'), while it won't with 3414# `rm'. 3415for ac_file in conftest.exe conftest conftest.*; do 3416 test -f "$ac_file" || continue 3417 case $ac_file in 3418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3420 break;; 3421 * ) break;; 3422 esac 3423done 3424else 3425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3427as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3428See \`config.log' for more details" "$LINENO" 5; } 3429fi 3430rm -f conftest conftest$ac_cv_exeext 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3432$as_echo "$ac_cv_exeext" >&6; } 3433 3434rm -f conftest.$ac_ext 3435EXEEXT=$ac_cv_exeext 3436ac_exeext=$EXEEXT 3437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3438/* end confdefs.h. */ 3439#include <stdio.h> 3440int 3441main () 3442{ 3443FILE *f = fopen ("conftest.out", "w"); 3444 return ferror (f) || fclose (f) != 0; 3445 3446 ; 3447 return 0; 3448} 3449_ACEOF 3450ac_clean_files="$ac_clean_files conftest.out" 3451# Check that the compiler produces executables we can run. If not, either 3452# the compiler is broken, or we cross compile. 3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3454$as_echo_n "checking whether we are cross compiling... " >&6; } 3455if test "$cross_compiling" != yes; then 3456 { { ac_try="$ac_link" 3457case "(($ac_try" in 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3459 *) ac_try_echo=$ac_try;; 3460esac 3461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3462$as_echo "$ac_try_echo"; } >&5 3463 (eval "$ac_link") 2>&5 3464 ac_status=$? 3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3466 test $ac_status = 0; } 3467 if { ac_try='./conftest$ac_cv_exeext' 3468 { { case "(($ac_try" in 3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3470 *) ac_try_echo=$ac_try;; 3471esac 3472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3473$as_echo "$ac_try_echo"; } >&5 3474 (eval "$ac_try") 2>&5 3475 ac_status=$? 3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3477 test $ac_status = 0; }; }; then 3478 cross_compiling=no 3479 else 3480 if test "$cross_compiling" = maybe; then 3481 cross_compiling=yes 3482 else 3483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3485as_fn_error $? "cannot run C compiled programs. 3486If you meant to cross compile, use \`--host'. 3487See \`config.log' for more details" "$LINENO" 5; } 3488 fi 3489 fi 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3492$as_echo "$cross_compiling" >&6; } 3493 3494rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3495ac_clean_files=$ac_clean_files_save 3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3497$as_echo_n "checking for suffix of object files... " >&6; } 3498if ${ac_cv_objext+:} false; then : 3499 $as_echo_n "(cached) " >&6 3500else 3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3502/* end confdefs.h. */ 3503 3504int 3505main () 3506{ 3507 3508 ; 3509 return 0; 3510} 3511_ACEOF 3512rm -f conftest.o conftest.obj 3513if { { ac_try="$ac_compile" 3514case "(($ac_try" in 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *) ac_try_echo=$ac_try;; 3517esac 3518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3519$as_echo "$ac_try_echo"; } >&5 3520 (eval "$ac_compile") 2>&5 3521 ac_status=$? 3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3523 test $ac_status = 0; }; then : 3524 for ac_file in conftest.o conftest.obj conftest.*; do 3525 test -f "$ac_file" || continue; 3526 case $ac_file in 3527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3529 break;; 3530 esac 3531done 3532else 3533 $as_echo "$as_me: failed program was:" >&5 3534sed 's/^/| /' conftest.$ac_ext >&5 3535 3536{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3538as_fn_error $? "cannot compute suffix of object files: cannot compile 3539See \`config.log' for more details" "$LINENO" 5; } 3540fi 3541rm -f conftest.$ac_cv_objext conftest.$ac_ext 3542fi 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3544$as_echo "$ac_cv_objext" >&6; } 3545OBJEXT=$ac_cv_objext 3546ac_objext=$OBJEXT 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3548$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3549if ${ac_cv_c_compiler_gnu+:} false; then : 3550 $as_echo_n "(cached) " >&6 3551else 3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3553/* end confdefs.h. */ 3554 3555int 3556main () 3557{ 3558#ifndef __GNUC__ 3559 choke me 3560#endif 3561 3562 ; 3563 return 0; 3564} 3565_ACEOF 3566if ac_fn_c_try_compile "$LINENO"; then : 3567 ac_compiler_gnu=yes 3568else 3569 ac_compiler_gnu=no 3570fi 3571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3572ac_cv_c_compiler_gnu=$ac_compiler_gnu 3573 3574fi 3575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3576$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3577if test $ac_compiler_gnu = yes; then 3578 GCC=yes 3579else 3580 GCC= 3581fi 3582ac_test_CFLAGS=${CFLAGS+set} 3583ac_save_CFLAGS=$CFLAGS 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3585$as_echo_n "checking whether $CC accepts -g... " >&6; } 3586if ${ac_cv_prog_cc_g+:} false; then : 3587 $as_echo_n "(cached) " >&6 3588else 3589 ac_save_c_werror_flag=$ac_c_werror_flag 3590 ac_c_werror_flag=yes 3591 ac_cv_prog_cc_g=no 3592 CFLAGS="-g" 3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3594/* end confdefs.h. */ 3595 3596int 3597main () 3598{ 3599 3600 ; 3601 return 0; 3602} 3603_ACEOF 3604if ac_fn_c_try_compile "$LINENO"; then : 3605 ac_cv_prog_cc_g=yes 3606else 3607 CFLAGS="" 3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609/* end confdefs.h. */ 3610 3611int 3612main () 3613{ 3614 3615 ; 3616 return 0; 3617} 3618_ACEOF 3619if ac_fn_c_try_compile "$LINENO"; then : 3620 3621else 3622 ac_c_werror_flag=$ac_save_c_werror_flag 3623 CFLAGS="-g" 3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3625/* end confdefs.h. */ 3626 3627int 3628main () 3629{ 3630 3631 ; 3632 return 0; 3633} 3634_ACEOF 3635if ac_fn_c_try_compile "$LINENO"; then : 3636 ac_cv_prog_cc_g=yes 3637fi 3638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3639fi 3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3641fi 3642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3643 ac_c_werror_flag=$ac_save_c_werror_flag 3644fi 3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3646$as_echo "$ac_cv_prog_cc_g" >&6; } 3647if test "$ac_test_CFLAGS" = set; then 3648 CFLAGS=$ac_save_CFLAGS 3649elif test $ac_cv_prog_cc_g = yes; then 3650 if test "$GCC" = yes; then 3651 CFLAGS="-g -O2" 3652 else 3653 CFLAGS="-g" 3654 fi 3655else 3656 if test "$GCC" = yes; then 3657 CFLAGS="-O2" 3658 else 3659 CFLAGS= 3660 fi 3661fi 3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3663$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3664if ${ac_cv_prog_cc_c89+:} false; then : 3665 $as_echo_n "(cached) " >&6 3666else 3667 ac_cv_prog_cc_c89=no 3668ac_save_CC=$CC 3669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3670/* end confdefs.h. */ 3671#include <stdarg.h> 3672#include <stdio.h> 3673struct stat; 3674/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3675struct buf { int x; }; 3676FILE * (*rcsopen) (struct buf *, struct stat *, int); 3677static char *e (p, i) 3678 char **p; 3679 int i; 3680{ 3681 return p[i]; 3682} 3683static char *f (char * (*g) (char **, int), char **p, ...) 3684{ 3685 char *s; 3686 va_list v; 3687 va_start (v,p); 3688 s = g (p, va_arg (v,int)); 3689 va_end (v); 3690 return s; 3691} 3692 3693/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3694 function prototypes and stuff, but not '\xHH' hex character constants. 3695 These don't provoke an error unfortunately, instead are silently treated 3696 as 'x'. The following induces an error, until -std is added to get 3697 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3698 array size at least. It's necessary to write '\x00'==0 to get something 3699 that's true only with -std. */ 3700int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3701 3702/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3703 inside strings and character constants. */ 3704#define FOO(x) 'x' 3705int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3706 3707int test (int i, double x); 3708struct s1 {int (*f) (int a);}; 3709struct s2 {int (*f) (double a);}; 3710int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3711int argc; 3712char **argv; 3713int 3714main () 3715{ 3716return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3717 ; 3718 return 0; 3719} 3720_ACEOF 3721for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3722 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3723do 3724 CC="$ac_save_CC $ac_arg" 3725 if ac_fn_c_try_compile "$LINENO"; then : 3726 ac_cv_prog_cc_c89=$ac_arg 3727fi 3728rm -f core conftest.err conftest.$ac_objext 3729 test "x$ac_cv_prog_cc_c89" != "xno" && break 3730done 3731rm -f conftest.$ac_ext 3732CC=$ac_save_CC 3733 3734fi 3735# AC_CACHE_VAL 3736case "x$ac_cv_prog_cc_c89" in 3737 x) 3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3739$as_echo "none needed" >&6; } ;; 3740 xno) 3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3742$as_echo "unsupported" >&6; } ;; 3743 *) 3744 CC="$CC $ac_cv_prog_cc_c89" 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3746$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3747esac 3748if test "x$ac_cv_prog_cc_c89" != xno; then : 3749 3750fi 3751 3752ac_ext=c 3753ac_cpp='$CPP $CPPFLAGS' 3754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3756ac_compiler_gnu=$ac_cv_c_compiler_gnu 3757 3758ac_ext=c 3759ac_cpp='$CPP $CPPFLAGS' 3760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3762ac_compiler_gnu=$ac_cv_c_compiler_gnu 3763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3764$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3765if ${am_cv_prog_cc_c_o+:} false; then : 3766 $as_echo_n "(cached) " >&6 3767else 3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3769/* end confdefs.h. */ 3770 3771int 3772main () 3773{ 3774 3775 ; 3776 return 0; 3777} 3778_ACEOF 3779 # Make sure it works both with $CC and with simple cc. 3780 # Following AC_PROG_CC_C_O, we do the test twice because some 3781 # compilers refuse to overwrite an existing .o file with -o, 3782 # though they will create one. 3783 am_cv_prog_cc_c_o=yes 3784 for am_i in 1 2; do 3785 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3786 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3787 ac_status=$? 3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3789 (exit $ac_status); } \ 3790 && test -f conftest2.$ac_objext; then 3791 : OK 3792 else 3793 am_cv_prog_cc_c_o=no 3794 break 3795 fi 3796 done 3797 rm -f core conftest* 3798 unset am_i 3799fi 3800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3801$as_echo "$am_cv_prog_cc_c_o" >&6; } 3802if test "$am_cv_prog_cc_c_o" != yes; then 3803 # Losing compiler, so override with the script. 3804 # FIXME: It is wrong to rewrite CC. 3805 # But if we don't then we get into trouble of one sort or another. 3806 # A longer-term fix would be to have automake use am__CC in this case, 3807 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3808 CC="$am_aux_dir/compile $CC" 3809fi 3810ac_ext=c 3811ac_cpp='$CPP $CPPFLAGS' 3812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3814ac_compiler_gnu=$ac_cv_c_compiler_gnu 3815 3816DEPDIR="${am__leading_dot}deps" 3817 3818ac_config_commands="$ac_config_commands depfiles" 3819 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3821$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3822cat > confinc.mk << 'END' 3823am__doit: 3824 @echo this is the am__doit target >confinc.out 3825.PHONY: am__doit 3826END 3827am__include="#" 3828am__quote= 3829# BSD make does it like this. 3830echo '.include "confinc.mk" # ignored' > confmf.BSD 3831# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3832echo 'include confinc.mk # ignored' > confmf.GNU 3833_am_result=no 3834for s in GNU BSD; do 3835 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3836 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3837 ac_status=$? 3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3839 (exit $ac_status); } 3840 case $?:`cat confinc.out 2>/dev/null` in #( 3841 '0:this is the am__doit target') : 3842 case $s in #( 3843 BSD) : 3844 am__include='.include' am__quote='"' ;; #( 3845 *) : 3846 am__include='include' am__quote='' ;; 3847esac ;; #( 3848 *) : 3849 ;; 3850esac 3851 if test "$am__include" != "#"; then 3852 _am_result="yes ($s style)" 3853 break 3854 fi 3855done 3856rm -f confinc.* confmf.* 3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3858$as_echo "${_am_result}" >&6; } 3859 3860# Check whether --enable-dependency-tracking was given. 3861if test "${enable_dependency_tracking+set}" = set; then : 3862 enableval=$enable_dependency_tracking; 3863fi 3864 3865if test "x$enable_dependency_tracking" != xno; then 3866 am_depcomp="$ac_aux_dir/depcomp" 3867 AMDEPBACKSLASH='\' 3868 am__nodep='_no' 3869fi 3870 if test "x$enable_dependency_tracking" != xno; then 3871 AMDEP_TRUE= 3872 AMDEP_FALSE='#' 3873else 3874 AMDEP_TRUE='#' 3875 AMDEP_FALSE= 3876fi 3877 3878 3879 3880depcc="$CC" am_compiler_list= 3881 3882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3883$as_echo_n "checking dependency style of $depcc... " >&6; } 3884if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3885 $as_echo_n "(cached) " >&6 3886else 3887 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3888 # We make a subdir and do the tests there. Otherwise we can end up 3889 # making bogus files that we don't know about and never remove. For 3890 # instance it was reported that on HP-UX the gcc test will end up 3891 # making a dummy file named 'D' -- because '-MD' means "put the output 3892 # in D". 3893 rm -rf conftest.dir 3894 mkdir conftest.dir 3895 # Copy depcomp to subdir because otherwise we won't find it if we're 3896 # using a relative directory. 3897 cp "$am_depcomp" conftest.dir 3898 cd conftest.dir 3899 # We will build objects and dependencies in a subdirectory because 3900 # it helps to detect inapplicable dependency modes. For instance 3901 # both Tru64's cc and ICC support -MD to output dependencies as a 3902 # side effect of compilation, but ICC will put the dependencies in 3903 # the current directory while Tru64 will put them in the object 3904 # directory. 3905 mkdir sub 3906 3907 am_cv_CC_dependencies_compiler_type=none 3908 if test "$am_compiler_list" = ""; then 3909 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3910 fi 3911 am__universal=false 3912 case " $depcc " in #( 3913 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3914 esac 3915 3916 for depmode in $am_compiler_list; do 3917 # Setup a source with many dependencies, because some compilers 3918 # like to wrap large dependency lists on column 80 (with \), and 3919 # we should not choose a depcomp mode which is confused by this. 3920 # 3921 # We need to recreate these files for each test, as the compiler may 3922 # overwrite some of them when testing with obscure command lines. 3923 # This happens at least with the AIX C compiler. 3924 : > sub/conftest.c 3925 for i in 1 2 3 4 5 6; do 3926 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3927 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3928 # Solaris 10 /bin/sh. 3929 echo '/* dummy */' > sub/conftst$i.h 3930 done 3931 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3932 3933 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3934 # mode. It turns out that the SunPro C++ compiler does not properly 3935 # handle '-M -o', and we need to detect this. Also, some Intel 3936 # versions had trouble with output in subdirs. 3937 am__obj=sub/conftest.${OBJEXT-o} 3938 am__minus_obj="-o $am__obj" 3939 case $depmode in 3940 gcc) 3941 # This depmode causes a compiler race in universal mode. 3942 test "$am__universal" = false || continue 3943 ;; 3944 nosideeffect) 3945 # After this tag, mechanisms are not by side-effect, so they'll 3946 # only be used when explicitly requested. 3947 if test "x$enable_dependency_tracking" = xyes; then 3948 continue 3949 else 3950 break 3951 fi 3952 ;; 3953 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3954 # This compiler won't grok '-c -o', but also, the minuso test has 3955 # not run yet. These depmodes are late enough in the game, and 3956 # so weak that their functioning should not be impacted. 3957 am__obj=conftest.${OBJEXT-o} 3958 am__minus_obj= 3959 ;; 3960 none) break ;; 3961 esac 3962 if depmode=$depmode \ 3963 source=sub/conftest.c object=$am__obj \ 3964 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3965 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3966 >/dev/null 2>conftest.err && 3967 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3968 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3969 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3970 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3971 # icc doesn't choke on unknown options, it will just issue warnings 3972 # or remarks (even with -Werror). So we grep stderr for any message 3973 # that says an option was ignored or not supported. 3974 # When given -MP, icc 7.0 and 7.1 complain thusly: 3975 # icc: Command line warning: ignoring option '-M'; no argument required 3976 # The diagnosis changed in icc 8.0: 3977 # icc: Command line remark: option '-MP' not supported 3978 if (grep 'ignoring option' conftest.err || 3979 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3980 am_cv_CC_dependencies_compiler_type=$depmode 3981 break 3982 fi 3983 fi 3984 done 3985 3986 cd .. 3987 rm -rf conftest.dir 3988else 3989 am_cv_CC_dependencies_compiler_type=none 3990fi 3991 3992fi 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3994$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3995CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3996 3997 if 3998 test "x$enable_dependency_tracking" != xno \ 3999 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4000 am__fastdepCC_TRUE= 4001 am__fastdepCC_FALSE='#' 4002else 4003 am__fastdepCC_TRUE='#' 4004 am__fastdepCC_FALSE= 4005fi 4006 4007 4008 4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4010$as_echo_n "checking for library containing strerror... " >&6; } 4011if ${ac_cv_search_strerror+:} false; then : 4012 $as_echo_n "(cached) " >&6 4013else 4014 ac_func_search_save_LIBS=$LIBS 4015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4016/* end confdefs.h. */ 4017 4018/* Override any GCC internal prototype to avoid an error. 4019 Use char because int might match the return type of a GCC 4020 builtin and then its argument prototype would still apply. */ 4021#ifdef __cplusplus 4022extern "C" 4023#endif 4024char strerror (); 4025int 4026main () 4027{ 4028return strerror (); 4029 ; 4030 return 0; 4031} 4032_ACEOF 4033for ac_lib in '' cposix; do 4034 if test -z "$ac_lib"; then 4035 ac_res="none required" 4036 else 4037 ac_res=-l$ac_lib 4038 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4039 fi 4040 if ac_fn_c_try_link "$LINENO"; then : 4041 ac_cv_search_strerror=$ac_res 4042fi 4043rm -f core conftest.err conftest.$ac_objext \ 4044 conftest$ac_exeext 4045 if ${ac_cv_search_strerror+:} false; then : 4046 break 4047fi 4048done 4049if ${ac_cv_search_strerror+:} false; then : 4050 4051else 4052 ac_cv_search_strerror=no 4053fi 4054rm conftest.$ac_ext 4055LIBS=$ac_func_search_save_LIBS 4056fi 4057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4058$as_echo "$ac_cv_search_strerror" >&6; } 4059ac_res=$ac_cv_search_strerror 4060if test "$ac_res" != no; then : 4061 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4062 4063fi 4064 4065ac_ext=c 4066ac_cpp='$CPP $CPPFLAGS' 4067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4069ac_compiler_gnu=$ac_cv_c_compiler_gnu 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4071$as_echo_n "checking how to run the C preprocessor... " >&6; } 4072# On Suns, sometimes $CPP names a directory. 4073if test -n "$CPP" && test -d "$CPP"; then 4074 CPP= 4075fi 4076if test -z "$CPP"; then 4077 if ${ac_cv_prog_CPP+:} false; then : 4078 $as_echo_n "(cached) " >&6 4079else 4080 # Double quotes because CPP needs to be expanded 4081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4082 do 4083 ac_preproc_ok=false 4084for ac_c_preproc_warn_flag in '' yes 4085do 4086 # Use a header file that comes with gcc, so configuring glibc 4087 # with a fresh cross-compiler works. 4088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4089 # <limits.h> exists even on freestanding compilers. 4090 # On the NeXT, cc -E runs the code through the compiler's parser, 4091 # not just through cpp. "Syntax error" is here to catch this case. 4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4093/* end confdefs.h. */ 4094#ifdef __STDC__ 4095# include <limits.h> 4096#else 4097# include <assert.h> 4098#endif 4099 Syntax error 4100_ACEOF 4101if ac_fn_c_try_cpp "$LINENO"; then : 4102 4103else 4104 # Broken: fails on valid input. 4105continue 4106fi 4107rm -f conftest.err conftest.i conftest.$ac_ext 4108 4109 # OK, works on sane cases. Now check whether nonexistent headers 4110 # can be detected and how. 4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4112/* end confdefs.h. */ 4113#include <ac_nonexistent.h> 4114_ACEOF 4115if ac_fn_c_try_cpp "$LINENO"; then : 4116 # Broken: success on invalid input. 4117continue 4118else 4119 # Passes both tests. 4120ac_preproc_ok=: 4121break 4122fi 4123rm -f conftest.err conftest.i conftest.$ac_ext 4124 4125done 4126# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4127rm -f conftest.i conftest.err conftest.$ac_ext 4128if $ac_preproc_ok; then : 4129 break 4130fi 4131 4132 done 4133 ac_cv_prog_CPP=$CPP 4134 4135fi 4136 CPP=$ac_cv_prog_CPP 4137else 4138 ac_cv_prog_CPP=$CPP 4139fi 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4141$as_echo "$CPP" >&6; } 4142ac_preproc_ok=false 4143for ac_c_preproc_warn_flag in '' yes 4144do 4145 # Use a header file that comes with gcc, so configuring glibc 4146 # with a fresh cross-compiler works. 4147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4148 # <limits.h> exists even on freestanding compilers. 4149 # On the NeXT, cc -E runs the code through the compiler's parser, 4150 # not just through cpp. "Syntax error" is here to catch this case. 4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4152/* end confdefs.h. */ 4153#ifdef __STDC__ 4154# include <limits.h> 4155#else 4156# include <assert.h> 4157#endif 4158 Syntax error 4159_ACEOF 4160if ac_fn_c_try_cpp "$LINENO"; then : 4161 4162else 4163 # Broken: fails on valid input. 4164continue 4165fi 4166rm -f conftest.err conftest.i conftest.$ac_ext 4167 4168 # OK, works on sane cases. Now check whether nonexistent headers 4169 # can be detected and how. 4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4171/* end confdefs.h. */ 4172#include <ac_nonexistent.h> 4173_ACEOF 4174if ac_fn_c_try_cpp "$LINENO"; then : 4175 # Broken: success on invalid input. 4176continue 4177else 4178 # Passes both tests. 4179ac_preproc_ok=: 4180break 4181fi 4182rm -f conftest.err conftest.i conftest.$ac_ext 4183 4184done 4185# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4186rm -f conftest.i conftest.err conftest.$ac_ext 4187if $ac_preproc_ok; then : 4188 4189else 4190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4192as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4193See \`config.log' for more details" "$LINENO" 5; } 4194fi 4195 4196ac_ext=c 4197ac_cpp='$CPP $CPPFLAGS' 4198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4200ac_compiler_gnu=$ac_cv_c_compiler_gnu 4201 4202 4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4204$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4205if ${ac_cv_path_GREP+:} false; then : 4206 $as_echo_n "(cached) " >&6 4207else 4208 if test -z "$GREP"; then 4209 ac_path_GREP_found=false 4210 # Loop through the user's path and test for each of PROGNAME-LIST 4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4212for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4213do 4214 IFS=$as_save_IFS 4215 test -z "$as_dir" && as_dir=. 4216 for ac_prog in grep ggrep; do 4217 for ac_exec_ext in '' $ac_executable_extensions; do 4218 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4219 as_fn_executable_p "$ac_path_GREP" || continue 4220# Check for GNU ac_path_GREP and select it if it is found. 4221 # Check for GNU $ac_path_GREP 4222case `"$ac_path_GREP" --version 2>&1` in 4223*GNU*) 4224 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4225*) 4226 ac_count=0 4227 $as_echo_n 0123456789 >"conftest.in" 4228 while : 4229 do 4230 cat "conftest.in" "conftest.in" >"conftest.tmp" 4231 mv "conftest.tmp" "conftest.in" 4232 cp "conftest.in" "conftest.nl" 4233 $as_echo 'GREP' >> "conftest.nl" 4234 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4236 as_fn_arith $ac_count + 1 && ac_count=$as_val 4237 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4238 # Best one so far, save it but keep looking for a better one 4239 ac_cv_path_GREP="$ac_path_GREP" 4240 ac_path_GREP_max=$ac_count 4241 fi 4242 # 10*(2^10) chars as input seems more than enough 4243 test $ac_count -gt 10 && break 4244 done 4245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4246esac 4247 4248 $ac_path_GREP_found && break 3 4249 done 4250 done 4251 done 4252IFS=$as_save_IFS 4253 if test -z "$ac_cv_path_GREP"; then 4254 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4255 fi 4256else 4257 ac_cv_path_GREP=$GREP 4258fi 4259 4260fi 4261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4262$as_echo "$ac_cv_path_GREP" >&6; } 4263 GREP="$ac_cv_path_GREP" 4264 4265 4266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4267$as_echo_n "checking for egrep... " >&6; } 4268if ${ac_cv_path_EGREP+:} false; then : 4269 $as_echo_n "(cached) " >&6 4270else 4271 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4272 then ac_cv_path_EGREP="$GREP -E" 4273 else 4274 if test -z "$EGREP"; then 4275 ac_path_EGREP_found=false 4276 # Loop through the user's path and test for each of PROGNAME-LIST 4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4278for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4279do 4280 IFS=$as_save_IFS 4281 test -z "$as_dir" && as_dir=. 4282 for ac_prog in egrep; do 4283 for ac_exec_ext in '' $ac_executable_extensions; do 4284 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4285 as_fn_executable_p "$ac_path_EGREP" || continue 4286# Check for GNU ac_path_EGREP and select it if it is found. 4287 # Check for GNU $ac_path_EGREP 4288case `"$ac_path_EGREP" --version 2>&1` in 4289*GNU*) 4290 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4291*) 4292 ac_count=0 4293 $as_echo_n 0123456789 >"conftest.in" 4294 while : 4295 do 4296 cat "conftest.in" "conftest.in" >"conftest.tmp" 4297 mv "conftest.tmp" "conftest.in" 4298 cp "conftest.in" "conftest.nl" 4299 $as_echo 'EGREP' >> "conftest.nl" 4300 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4302 as_fn_arith $ac_count + 1 && ac_count=$as_val 4303 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4304 # Best one so far, save it but keep looking for a better one 4305 ac_cv_path_EGREP="$ac_path_EGREP" 4306 ac_path_EGREP_max=$ac_count 4307 fi 4308 # 10*(2^10) chars as input seems more than enough 4309 test $ac_count -gt 10 && break 4310 done 4311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4312esac 4313 4314 $ac_path_EGREP_found && break 3 4315 done 4316 done 4317 done 4318IFS=$as_save_IFS 4319 if test -z "$ac_cv_path_EGREP"; then 4320 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4321 fi 4322else 4323 ac_cv_path_EGREP=$EGREP 4324fi 4325 4326 fi 4327fi 4328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4329$as_echo "$ac_cv_path_EGREP" >&6; } 4330 EGREP="$ac_cv_path_EGREP" 4331 4332 4333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4334$as_echo_n "checking for ANSI C header files... " >&6; } 4335if ${ac_cv_header_stdc+:} false; then : 4336 $as_echo_n "(cached) " >&6 4337else 4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339/* end confdefs.h. */ 4340#include <stdlib.h> 4341#include <stdarg.h> 4342#include <string.h> 4343#include <float.h> 4344 4345int 4346main () 4347{ 4348 4349 ; 4350 return 0; 4351} 4352_ACEOF 4353if ac_fn_c_try_compile "$LINENO"; then : 4354 ac_cv_header_stdc=yes 4355else 4356 ac_cv_header_stdc=no 4357fi 4358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4359 4360if test $ac_cv_header_stdc = yes; then 4361 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4363/* end confdefs.h. */ 4364#include <string.h> 4365 4366_ACEOF 4367if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4368 $EGREP "memchr" >/dev/null 2>&1; then : 4369 4370else 4371 ac_cv_header_stdc=no 4372fi 4373rm -f conftest* 4374 4375fi 4376 4377if test $ac_cv_header_stdc = yes; then 4378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4380/* end confdefs.h. */ 4381#include <stdlib.h> 4382 4383_ACEOF 4384if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4385 $EGREP "free" >/dev/null 2>&1; then : 4386 4387else 4388 ac_cv_header_stdc=no 4389fi 4390rm -f conftest* 4391 4392fi 4393 4394if test $ac_cv_header_stdc = yes; then 4395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4396 if test "$cross_compiling" = yes; then : 4397 : 4398else 4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4400/* end confdefs.h. */ 4401#include <ctype.h> 4402#include <stdlib.h> 4403#if ((' ' & 0x0FF) == 0x020) 4404# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4405# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4406#else 4407# define ISLOWER(c) \ 4408 (('a' <= (c) && (c) <= 'i') \ 4409 || ('j' <= (c) && (c) <= 'r') \ 4410 || ('s' <= (c) && (c) <= 'z')) 4411# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4412#endif 4413 4414#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4415int 4416main () 4417{ 4418 int i; 4419 for (i = 0; i < 256; i++) 4420 if (XOR (islower (i), ISLOWER (i)) 4421 || toupper (i) != TOUPPER (i)) 4422 return 2; 4423 return 0; 4424} 4425_ACEOF 4426if ac_fn_c_try_run "$LINENO"; then : 4427 4428else 4429 ac_cv_header_stdc=no 4430fi 4431rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4432 conftest.$ac_objext conftest.beam conftest.$ac_ext 4433fi 4434 4435fi 4436fi 4437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4438$as_echo "$ac_cv_header_stdc" >&6; } 4439if test $ac_cv_header_stdc = yes; then 4440 4441$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4442 4443fi 4444 4445if test -n "$ac_tool_prefix"; then 4446 for ac_prog in ar lib "link -lib" 4447 do 4448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4449set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4451$as_echo_n "checking for $ac_word... " >&6; } 4452if ${ac_cv_prog_AR+:} false; then : 4453 $as_echo_n "(cached) " >&6 4454else 4455 if test -n "$AR"; then 4456 ac_cv_prog_AR="$AR" # Let the user override the test. 4457else 4458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4459for as_dir in $PATH 4460do 4461 IFS=$as_save_IFS 4462 test -z "$as_dir" && as_dir=. 4463 for ac_exec_ext in '' $ac_executable_extensions; do 4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4465 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4467 break 2 4468 fi 4469done 4470 done 4471IFS=$as_save_IFS 4472 4473fi 4474fi 4475AR=$ac_cv_prog_AR 4476if test -n "$AR"; then 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4478$as_echo "$AR" >&6; } 4479else 4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4481$as_echo "no" >&6; } 4482fi 4483 4484 4485 test -n "$AR" && break 4486 done 4487fi 4488if test -z "$AR"; then 4489 ac_ct_AR=$AR 4490 for ac_prog in ar lib "link -lib" 4491do 4492 # Extract the first word of "$ac_prog", so it can be a program name with args. 4493set dummy $ac_prog; ac_word=$2 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4495$as_echo_n "checking for $ac_word... " >&6; } 4496if ${ac_cv_prog_ac_ct_AR+:} false; then : 4497 $as_echo_n "(cached) " >&6 4498else 4499 if test -n "$ac_ct_AR"; then 4500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4501else 4502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4503for as_dir in $PATH 4504do 4505 IFS=$as_save_IFS 4506 test -z "$as_dir" && as_dir=. 4507 for ac_exec_ext in '' $ac_executable_extensions; do 4508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4509 ac_cv_prog_ac_ct_AR="$ac_prog" 4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4511 break 2 4512 fi 4513done 4514 done 4515IFS=$as_save_IFS 4516 4517fi 4518fi 4519ac_ct_AR=$ac_cv_prog_ac_ct_AR 4520if test -n "$ac_ct_AR"; then 4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4522$as_echo "$ac_ct_AR" >&6; } 4523else 4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4525$as_echo "no" >&6; } 4526fi 4527 4528 4529 test -n "$ac_ct_AR" && break 4530done 4531 4532 if test "x$ac_ct_AR" = x; then 4533 AR="false" 4534 else 4535 case $cross_compiling:$ac_tool_warned in 4536yes:) 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4538$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4539ac_tool_warned=yes ;; 4540esac 4541 AR=$ac_ct_AR 4542 fi 4543fi 4544 4545: ${AR=ar} 4546 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4548$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4549if ${am_cv_ar_interface+:} false; then : 4550 $as_echo_n "(cached) " >&6 4551else 4552 ac_ext=c 4553ac_cpp='$CPP $CPPFLAGS' 4554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4556ac_compiler_gnu=$ac_cv_c_compiler_gnu 4557 4558 am_cv_ar_interface=ar 4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4560/* end confdefs.h. */ 4561int some_variable = 0; 4562_ACEOF 4563if ac_fn_c_try_compile "$LINENO"; then : 4564 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4565 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4566 (eval $am_ar_try) 2>&5 4567 ac_status=$? 4568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4569 test $ac_status = 0; } 4570 if test "$ac_status" -eq 0; then 4571 am_cv_ar_interface=ar 4572 else 4573 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4574 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4575 (eval $am_ar_try) 2>&5 4576 ac_status=$? 4577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4578 test $ac_status = 0; } 4579 if test "$ac_status" -eq 0; then 4580 am_cv_ar_interface=lib 4581 else 4582 am_cv_ar_interface=unknown 4583 fi 4584 fi 4585 rm -f conftest.lib libconftest.a 4586 4587fi 4588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4589 ac_ext=c 4590ac_cpp='$CPP $CPPFLAGS' 4591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4593ac_compiler_gnu=$ac_cv_c_compiler_gnu 4594 4595fi 4596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4597$as_echo "$am_cv_ar_interface" >&6; } 4598 4599case $am_cv_ar_interface in 4600ar) 4601 ;; 4602lib) 4603 # Microsoft lib, so override with the ar-lib wrapper script. 4604 # FIXME: It is wrong to rewrite AR. 4605 # But if we don't then we get into trouble of one sort or another. 4606 # A longer-term fix would be to have automake use am__AR in this case, 4607 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4608 # similar. 4609 AR="$am_aux_dir/ar-lib $AR" 4610 ;; 4611unknown) 4612 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4613 ;; 4614esac 4615 4616enable_win32_dll=yes 4617 4618case $host in 4619*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4620 if test -n "$ac_tool_prefix"; then 4621 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4622set dummy ${ac_tool_prefix}as; ac_word=$2 4623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4624$as_echo_n "checking for $ac_word... " >&6; } 4625if ${ac_cv_prog_AS+:} false; then : 4626 $as_echo_n "(cached) " >&6 4627else 4628 if test -n "$AS"; then 4629 ac_cv_prog_AS="$AS" # Let the user override the test. 4630else 4631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4632for as_dir in $PATH 4633do 4634 IFS=$as_save_IFS 4635 test -z "$as_dir" && as_dir=. 4636 for ac_exec_ext in '' $ac_executable_extensions; do 4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4638 ac_cv_prog_AS="${ac_tool_prefix}as" 4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4640 break 2 4641 fi 4642done 4643 done 4644IFS=$as_save_IFS 4645 4646fi 4647fi 4648AS=$ac_cv_prog_AS 4649if test -n "$AS"; then 4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4651$as_echo "$AS" >&6; } 4652else 4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4654$as_echo "no" >&6; } 4655fi 4656 4657 4658fi 4659if test -z "$ac_cv_prog_AS"; then 4660 ac_ct_AS=$AS 4661 # Extract the first word of "as", so it can be a program name with args. 4662set dummy as; ac_word=$2 4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4664$as_echo_n "checking for $ac_word... " >&6; } 4665if ${ac_cv_prog_ac_ct_AS+:} false; then : 4666 $as_echo_n "(cached) " >&6 4667else 4668 if test -n "$ac_ct_AS"; then 4669 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4670else 4671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4672for as_dir in $PATH 4673do 4674 IFS=$as_save_IFS 4675 test -z "$as_dir" && as_dir=. 4676 for ac_exec_ext in '' $ac_executable_extensions; do 4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4678 ac_cv_prog_ac_ct_AS="as" 4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4680 break 2 4681 fi 4682done 4683 done 4684IFS=$as_save_IFS 4685 4686fi 4687fi 4688ac_ct_AS=$ac_cv_prog_ac_ct_AS 4689if test -n "$ac_ct_AS"; then 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4691$as_echo "$ac_ct_AS" >&6; } 4692else 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4694$as_echo "no" >&6; } 4695fi 4696 4697 if test "x$ac_ct_AS" = x; then 4698 AS="false" 4699 else 4700 case $cross_compiling:$ac_tool_warned in 4701yes:) 4702{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4704ac_tool_warned=yes ;; 4705esac 4706 AS=$ac_ct_AS 4707 fi 4708else 4709 AS="$ac_cv_prog_AS" 4710fi 4711 4712 if test -n "$ac_tool_prefix"; then 4713 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4714set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4716$as_echo_n "checking for $ac_word... " >&6; } 4717if ${ac_cv_prog_DLLTOOL+:} false; then : 4718 $as_echo_n "(cached) " >&6 4719else 4720 if test -n "$DLLTOOL"; then 4721 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4722else 4723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4724for as_dir in $PATH 4725do 4726 IFS=$as_save_IFS 4727 test -z "$as_dir" && as_dir=. 4728 for ac_exec_ext in '' $ac_executable_extensions; do 4729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4730 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4732 break 2 4733 fi 4734done 4735 done 4736IFS=$as_save_IFS 4737 4738fi 4739fi 4740DLLTOOL=$ac_cv_prog_DLLTOOL 4741if test -n "$DLLTOOL"; then 4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4743$as_echo "$DLLTOOL" >&6; } 4744else 4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4746$as_echo "no" >&6; } 4747fi 4748 4749 4750fi 4751if test -z "$ac_cv_prog_DLLTOOL"; then 4752 ac_ct_DLLTOOL=$DLLTOOL 4753 # Extract the first word of "dlltool", so it can be a program name with args. 4754set dummy dlltool; ac_word=$2 4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4756$as_echo_n "checking for $ac_word... " >&6; } 4757if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4758 $as_echo_n "(cached) " >&6 4759else 4760 if test -n "$ac_ct_DLLTOOL"; then 4761 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4762else 4763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4764for as_dir in $PATH 4765do 4766 IFS=$as_save_IFS 4767 test -z "$as_dir" && as_dir=. 4768 for ac_exec_ext in '' $ac_executable_extensions; do 4769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4770 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4772 break 2 4773 fi 4774done 4775 done 4776IFS=$as_save_IFS 4777 4778fi 4779fi 4780ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4781if test -n "$ac_ct_DLLTOOL"; then 4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4783$as_echo "$ac_ct_DLLTOOL" >&6; } 4784else 4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4786$as_echo "no" >&6; } 4787fi 4788 4789 if test "x$ac_ct_DLLTOOL" = x; then 4790 DLLTOOL="false" 4791 else 4792 case $cross_compiling:$ac_tool_warned in 4793yes:) 4794{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4795$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4796ac_tool_warned=yes ;; 4797esac 4798 DLLTOOL=$ac_ct_DLLTOOL 4799 fi 4800else 4801 DLLTOOL="$ac_cv_prog_DLLTOOL" 4802fi 4803 4804 if test -n "$ac_tool_prefix"; then 4805 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4806set dummy ${ac_tool_prefix}objdump; ac_word=$2 4807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4808$as_echo_n "checking for $ac_word... " >&6; } 4809if ${ac_cv_prog_OBJDUMP+:} false; then : 4810 $as_echo_n "(cached) " >&6 4811else 4812 if test -n "$OBJDUMP"; then 4813 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4814else 4815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4816for as_dir in $PATH 4817do 4818 IFS=$as_save_IFS 4819 test -z "$as_dir" && as_dir=. 4820 for ac_exec_ext in '' $ac_executable_extensions; do 4821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4822 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4824 break 2 4825 fi 4826done 4827 done 4828IFS=$as_save_IFS 4829 4830fi 4831fi 4832OBJDUMP=$ac_cv_prog_OBJDUMP 4833if test -n "$OBJDUMP"; then 4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4835$as_echo "$OBJDUMP" >&6; } 4836else 4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4838$as_echo "no" >&6; } 4839fi 4840 4841 4842fi 4843if test -z "$ac_cv_prog_OBJDUMP"; then 4844 ac_ct_OBJDUMP=$OBJDUMP 4845 # Extract the first word of "objdump", so it can be a program name with args. 4846set dummy objdump; ac_word=$2 4847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4848$as_echo_n "checking for $ac_word... " >&6; } 4849if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4850 $as_echo_n "(cached) " >&6 4851else 4852 if test -n "$ac_ct_OBJDUMP"; then 4853 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4854else 4855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4856for as_dir in $PATH 4857do 4858 IFS=$as_save_IFS 4859 test -z "$as_dir" && as_dir=. 4860 for ac_exec_ext in '' $ac_executable_extensions; do 4861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4862 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4864 break 2 4865 fi 4866done 4867 done 4868IFS=$as_save_IFS 4869 4870fi 4871fi 4872ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4873if test -n "$ac_ct_OBJDUMP"; then 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4875$as_echo "$ac_ct_OBJDUMP" >&6; } 4876else 4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4878$as_echo "no" >&6; } 4879fi 4880 4881 if test "x$ac_ct_OBJDUMP" = x; then 4882 OBJDUMP="false" 4883 else 4884 case $cross_compiling:$ac_tool_warned in 4885yes:) 4886{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4887$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4888ac_tool_warned=yes ;; 4889esac 4890 OBJDUMP=$ac_ct_OBJDUMP 4891 fi 4892else 4893 OBJDUMP="$ac_cv_prog_OBJDUMP" 4894fi 4895 4896 ;; 4897esac 4898 4899test -z "$AS" && AS=as 4900 4901 4902 4903 4904 4905test -z "$DLLTOOL" && DLLTOOL=dlltool 4906 4907 4908 4909 4910 4911test -z "$OBJDUMP" && OBJDUMP=objdump 4912 4913 4914 4915 4916 4917 4918 4919case `pwd` in 4920 *\ * | *\ *) 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4922$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4923esac 4924 4925 4926 4927macro_version='2.4.6' 4928macro_revision='2.4.6' 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942ltmain=$ac_aux_dir/ltmain.sh 4943 4944# Backslashify metacharacters that are still active within 4945# double-quoted strings. 4946sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4947 4948# Same as above, but do not quote variable references. 4949double_quote_subst='s/\(["`\\]\)/\\\1/g' 4950 4951# Sed substitution to delay expansion of an escaped shell variable in a 4952# double_quote_subst'ed string. 4953delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4954 4955# Sed substitution to delay expansion of an escaped single quote. 4956delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4957 4958# Sed substitution to avoid accidental globbing in evaled expressions 4959no_glob_subst='s/\*/\\\*/g' 4960 4961ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4962ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4963ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4964 4965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4966$as_echo_n "checking how to print strings... " >&6; } 4967# Test print first, because it will be a builtin if present. 4968if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4969 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4970 ECHO='print -r --' 4971elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4972 ECHO='printf %s\n' 4973else 4974 # Use this function as a fallback that always works. 4975 func_fallback_echo () 4976 { 4977 eval 'cat <<_LTECHO_EOF 4978$1 4979_LTECHO_EOF' 4980 } 4981 ECHO='func_fallback_echo' 4982fi 4983 4984# func_echo_all arg... 4985# Invoke $ECHO with all args, space-separated. 4986func_echo_all () 4987{ 4988 $ECHO "" 4989} 4990 4991case $ECHO in 4992 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4993$as_echo "printf" >&6; } ;; 4994 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4995$as_echo "print -r" >&6; } ;; 4996 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4997$as_echo "cat" >&6; } ;; 4998esac 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5014$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5015if ${ac_cv_path_SED+:} false; then : 5016 $as_echo_n "(cached) " >&6 5017else 5018 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5019 for ac_i in 1 2 3 4 5 6 7; do 5020 ac_script="$ac_script$as_nl$ac_script" 5021 done 5022 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5023 { ac_script=; unset ac_script;} 5024 if test -z "$SED"; then 5025 ac_path_SED_found=false 5026 # Loop through the user's path and test for each of PROGNAME-LIST 5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5028for as_dir in $PATH 5029do 5030 IFS=$as_save_IFS 5031 test -z "$as_dir" && as_dir=. 5032 for ac_prog in sed gsed; do 5033 for ac_exec_ext in '' $ac_executable_extensions; do 5034 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5035 as_fn_executable_p "$ac_path_SED" || continue 5036# Check for GNU ac_path_SED and select it if it is found. 5037 # Check for GNU $ac_path_SED 5038case `"$ac_path_SED" --version 2>&1` in 5039*GNU*) 5040 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5041*) 5042 ac_count=0 5043 $as_echo_n 0123456789 >"conftest.in" 5044 while : 5045 do 5046 cat "conftest.in" "conftest.in" >"conftest.tmp" 5047 mv "conftest.tmp" "conftest.in" 5048 cp "conftest.in" "conftest.nl" 5049 $as_echo '' >> "conftest.nl" 5050 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5051 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5052 as_fn_arith $ac_count + 1 && ac_count=$as_val 5053 if test $ac_count -gt ${ac_path_SED_max-0}; then 5054 # Best one so far, save it but keep looking for a better one 5055 ac_cv_path_SED="$ac_path_SED" 5056 ac_path_SED_max=$ac_count 5057 fi 5058 # 10*(2^10) chars as input seems more than enough 5059 test $ac_count -gt 10 && break 5060 done 5061 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5062esac 5063 5064 $ac_path_SED_found && break 3 5065 done 5066 done 5067 done 5068IFS=$as_save_IFS 5069 if test -z "$ac_cv_path_SED"; then 5070 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5071 fi 5072else 5073 ac_cv_path_SED=$SED 5074fi 5075 5076fi 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5078$as_echo "$ac_cv_path_SED" >&6; } 5079 SED="$ac_cv_path_SED" 5080 rm -f conftest.sed 5081 5082test -z "$SED" && SED=sed 5083Xsed="$SED -e 1s/^X//" 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5096$as_echo_n "checking for fgrep... " >&6; } 5097if ${ac_cv_path_FGREP+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5101 then ac_cv_path_FGREP="$GREP -F" 5102 else 5103 if test -z "$FGREP"; then 5104 ac_path_FGREP_found=false 5105 # Loop through the user's path and test for each of PROGNAME-LIST 5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5107for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5108do 5109 IFS=$as_save_IFS 5110 test -z "$as_dir" && as_dir=. 5111 for ac_prog in fgrep; do 5112 for ac_exec_ext in '' $ac_executable_extensions; do 5113 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5114 as_fn_executable_p "$ac_path_FGREP" || continue 5115# Check for GNU ac_path_FGREP and select it if it is found. 5116 # Check for GNU $ac_path_FGREP 5117case `"$ac_path_FGREP" --version 2>&1` in 5118*GNU*) 5119 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5120*) 5121 ac_count=0 5122 $as_echo_n 0123456789 >"conftest.in" 5123 while : 5124 do 5125 cat "conftest.in" "conftest.in" >"conftest.tmp" 5126 mv "conftest.tmp" "conftest.in" 5127 cp "conftest.in" "conftest.nl" 5128 $as_echo 'FGREP' >> "conftest.nl" 5129 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5131 as_fn_arith $ac_count + 1 && ac_count=$as_val 5132 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5133 # Best one so far, save it but keep looking for a better one 5134 ac_cv_path_FGREP="$ac_path_FGREP" 5135 ac_path_FGREP_max=$ac_count 5136 fi 5137 # 10*(2^10) chars as input seems more than enough 5138 test $ac_count -gt 10 && break 5139 done 5140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5141esac 5142 5143 $ac_path_FGREP_found && break 3 5144 done 5145 done 5146 done 5147IFS=$as_save_IFS 5148 if test -z "$ac_cv_path_FGREP"; then 5149 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5150 fi 5151else 5152 ac_cv_path_FGREP=$FGREP 5153fi 5154 5155 fi 5156fi 5157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5158$as_echo "$ac_cv_path_FGREP" >&6; } 5159 FGREP="$ac_cv_path_FGREP" 5160 5161 5162test -z "$GREP" && GREP=grep 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182# Check whether --with-gnu-ld was given. 5183if test "${with_gnu_ld+set}" = set; then : 5184 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5185else 5186 with_gnu_ld=no 5187fi 5188 5189ac_prog=ld 5190if test yes = "$GCC"; then 5191 # Check if gcc -print-prog-name=ld gives a path. 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5193$as_echo_n "checking for ld used by $CC... " >&6; } 5194 case $host in 5195 *-*-mingw*) 5196 # gcc leaves a trailing carriage return, which upsets mingw 5197 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5198 *) 5199 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5200 esac 5201 case $ac_prog in 5202 # Accept absolute paths. 5203 [\\/]* | ?:[\\/]*) 5204 re_direlt='/[^/][^/]*/\.\./' 5205 # Canonicalize the pathname of ld 5206 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5207 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5208 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5209 done 5210 test -z "$LD" && LD=$ac_prog 5211 ;; 5212 "") 5213 # If it fails, then pretend we aren't using GCC. 5214 ac_prog=ld 5215 ;; 5216 *) 5217 # If it is relative, then search for the first ld in PATH. 5218 with_gnu_ld=unknown 5219 ;; 5220 esac 5221elif test yes = "$with_gnu_ld"; then 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5223$as_echo_n "checking for GNU ld... " >&6; } 5224else 5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5226$as_echo_n "checking for non-GNU ld... " >&6; } 5227fi 5228if ${lt_cv_path_LD+:} false; then : 5229 $as_echo_n "(cached) " >&6 5230else 5231 if test -z "$LD"; then 5232 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5233 for ac_dir in $PATH; do 5234 IFS=$lt_save_ifs 5235 test -z "$ac_dir" && ac_dir=. 5236 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5237 lt_cv_path_LD=$ac_dir/$ac_prog 5238 # Check to see if the program is GNU ld. I'd rather use --version, 5239 # but apparently some variants of GNU ld only accept -v. 5240 # Break only if it was the GNU/non-GNU ld that we prefer. 5241 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5242 *GNU* | *'with BFD'*) 5243 test no != "$with_gnu_ld" && break 5244 ;; 5245 *) 5246 test yes != "$with_gnu_ld" && break 5247 ;; 5248 esac 5249 fi 5250 done 5251 IFS=$lt_save_ifs 5252else 5253 lt_cv_path_LD=$LD # Let the user override the test with a path. 5254fi 5255fi 5256 5257LD=$lt_cv_path_LD 5258if test -n "$LD"; then 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5260$as_echo "$LD" >&6; } 5261else 5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5263$as_echo "no" >&6; } 5264fi 5265test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5267$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5268if ${lt_cv_prog_gnu_ld+:} false; then : 5269 $as_echo_n "(cached) " >&6 5270else 5271 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5272case `$LD -v 2>&1 </dev/null` in 5273*GNU* | *'with BFD'*) 5274 lt_cv_prog_gnu_ld=yes 5275 ;; 5276*) 5277 lt_cv_prog_gnu_ld=no 5278 ;; 5279esac 5280fi 5281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5282$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5283with_gnu_ld=$lt_cv_prog_gnu_ld 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5294$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5295if ${lt_cv_path_NM+:} false; then : 5296 $as_echo_n "(cached) " >&6 5297else 5298 if test -n "$NM"; then 5299 # Let the user override the test. 5300 lt_cv_path_NM=$NM 5301else 5302 lt_nm_to_check=${ac_tool_prefix}nm 5303 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5304 lt_nm_to_check="$lt_nm_to_check nm" 5305 fi 5306 for lt_tmp_nm in $lt_nm_to_check; do 5307 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5308 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5309 IFS=$lt_save_ifs 5310 test -z "$ac_dir" && ac_dir=. 5311 tmp_nm=$ac_dir/$lt_tmp_nm 5312 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5313 # Check to see if the nm accepts a BSD-compat flag. 5314 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5315 # nm: unknown option "B" ignored 5316 # Tru64's nm complains that /dev/null is an invalid object file 5317 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5318 case $build_os in 5319 mingw*) lt_bad_file=conftest.nm/nofile ;; 5320 *) lt_bad_file=/dev/null ;; 5321 esac 5322 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5323 *$lt_bad_file* | *'Invalid file or object type'*) 5324 lt_cv_path_NM="$tmp_nm -B" 5325 break 2 5326 ;; 5327 *) 5328 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5329 */dev/null*) 5330 lt_cv_path_NM="$tmp_nm -p" 5331 break 2 5332 ;; 5333 *) 5334 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5335 continue # so that we can try to find one that supports BSD flags 5336 ;; 5337 esac 5338 ;; 5339 esac 5340 fi 5341 done 5342 IFS=$lt_save_ifs 5343 done 5344 : ${lt_cv_path_NM=no} 5345fi 5346fi 5347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5348$as_echo "$lt_cv_path_NM" >&6; } 5349if test no != "$lt_cv_path_NM"; then 5350 NM=$lt_cv_path_NM 5351else 5352 # Didn't find any BSD compatible name lister, look for dumpbin. 5353 if test -n "$DUMPBIN"; then : 5354 # Let the user override the test. 5355 else 5356 if test -n "$ac_tool_prefix"; then 5357 for ac_prog in dumpbin "link -dump" 5358 do 5359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5360set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5362$as_echo_n "checking for $ac_word... " >&6; } 5363if ${ac_cv_prog_DUMPBIN+:} false; then : 5364 $as_echo_n "(cached) " >&6 5365else 5366 if test -n "$DUMPBIN"; then 5367 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5368else 5369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5370for as_dir in $PATH 5371do 5372 IFS=$as_save_IFS 5373 test -z "$as_dir" && as_dir=. 5374 for ac_exec_ext in '' $ac_executable_extensions; do 5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5376 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5378 break 2 5379 fi 5380done 5381 done 5382IFS=$as_save_IFS 5383 5384fi 5385fi 5386DUMPBIN=$ac_cv_prog_DUMPBIN 5387if test -n "$DUMPBIN"; then 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5389$as_echo "$DUMPBIN" >&6; } 5390else 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5392$as_echo "no" >&6; } 5393fi 5394 5395 5396 test -n "$DUMPBIN" && break 5397 done 5398fi 5399if test -z "$DUMPBIN"; then 5400 ac_ct_DUMPBIN=$DUMPBIN 5401 for ac_prog in dumpbin "link -dump" 5402do 5403 # Extract the first word of "$ac_prog", so it can be a program name with args. 5404set dummy $ac_prog; ac_word=$2 5405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5406$as_echo_n "checking for $ac_word... " >&6; } 5407if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5408 $as_echo_n "(cached) " >&6 5409else 5410 if test -n "$ac_ct_DUMPBIN"; then 5411 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5412else 5413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5414for as_dir in $PATH 5415do 5416 IFS=$as_save_IFS 5417 test -z "$as_dir" && as_dir=. 5418 for ac_exec_ext in '' $ac_executable_extensions; do 5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5420 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5422 break 2 5423 fi 5424done 5425 done 5426IFS=$as_save_IFS 5427 5428fi 5429fi 5430ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5431if test -n "$ac_ct_DUMPBIN"; then 5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5433$as_echo "$ac_ct_DUMPBIN" >&6; } 5434else 5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5436$as_echo "no" >&6; } 5437fi 5438 5439 5440 test -n "$ac_ct_DUMPBIN" && break 5441done 5442 5443 if test "x$ac_ct_DUMPBIN" = x; then 5444 DUMPBIN=":" 5445 else 5446 case $cross_compiling:$ac_tool_warned in 5447yes:) 5448{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5449$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5450ac_tool_warned=yes ;; 5451esac 5452 DUMPBIN=$ac_ct_DUMPBIN 5453 fi 5454fi 5455 5456 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5457 *COFF*) 5458 DUMPBIN="$DUMPBIN -symbols -headers" 5459 ;; 5460 *) 5461 DUMPBIN=: 5462 ;; 5463 esac 5464 fi 5465 5466 if test : != "$DUMPBIN"; then 5467 NM=$DUMPBIN 5468 fi 5469fi 5470test -z "$NM" && NM=nm 5471 5472 5473 5474 5475 5476 5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5478$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5479if ${lt_cv_nm_interface+:} false; then : 5480 $as_echo_n "(cached) " >&6 5481else 5482 lt_cv_nm_interface="BSD nm" 5483 echo "int some_variable = 0;" > conftest.$ac_ext 5484 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5485 (eval "$ac_compile" 2>conftest.err) 5486 cat conftest.err >&5 5487 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5488 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5489 cat conftest.err >&5 5490 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5491 cat conftest.out >&5 5492 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5493 lt_cv_nm_interface="MS dumpbin" 5494 fi 5495 rm -f conftest* 5496fi 5497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5498$as_echo "$lt_cv_nm_interface" >&6; } 5499 5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5501$as_echo_n "checking whether ln -s works... " >&6; } 5502LN_S=$as_ln_s 5503if test "$LN_S" = "ln -s"; then 5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5505$as_echo "yes" >&6; } 5506else 5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5508$as_echo "no, using $LN_S" >&6; } 5509fi 5510 5511# find the maximum length of command line arguments 5512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5513$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5514if ${lt_cv_sys_max_cmd_len+:} false; then : 5515 $as_echo_n "(cached) " >&6 5516else 5517 i=0 5518 teststring=ABCD 5519 5520 case $build_os in 5521 msdosdjgpp*) 5522 # On DJGPP, this test can blow up pretty badly due to problems in libc 5523 # (any single argument exceeding 2000 bytes causes a buffer overrun 5524 # during glob expansion). Even if it were fixed, the result of this 5525 # check would be larger than it should be. 5526 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5527 ;; 5528 5529 gnu*) 5530 # Under GNU Hurd, this test is not required because there is 5531 # no limit to the length of command line arguments. 5532 # Libtool will interpret -1 as no limit whatsoever 5533 lt_cv_sys_max_cmd_len=-1; 5534 ;; 5535 5536 cygwin* | mingw* | cegcc*) 5537 # On Win9x/ME, this test blows up -- it succeeds, but takes 5538 # about 5 minutes as the teststring grows exponentially. 5539 # Worse, since 9x/ME are not pre-emptively multitasking, 5540 # you end up with a "frozen" computer, even though with patience 5541 # the test eventually succeeds (with a max line length of 256k). 5542 # Instead, let's just punt: use the minimum linelength reported by 5543 # all of the supported platforms: 8192 (on NT/2K/XP). 5544 lt_cv_sys_max_cmd_len=8192; 5545 ;; 5546 5547 mint*) 5548 # On MiNT this can take a long time and run out of memory. 5549 lt_cv_sys_max_cmd_len=8192; 5550 ;; 5551 5552 amigaos*) 5553 # On AmigaOS with pdksh, this test takes hours, literally. 5554 # So we just punt and use a minimum line length of 8192. 5555 lt_cv_sys_max_cmd_len=8192; 5556 ;; 5557 5558 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5559 # This has been around since 386BSD, at least. Likely further. 5560 if test -x /sbin/sysctl; then 5561 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5562 elif test -x /usr/sbin/sysctl; then 5563 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5564 else 5565 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5566 fi 5567 # And add a safety zone 5568 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5569 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5570 ;; 5571 5572 interix*) 5573 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5574 lt_cv_sys_max_cmd_len=196608 5575 ;; 5576 5577 os2*) 5578 # The test takes a long time on OS/2. 5579 lt_cv_sys_max_cmd_len=8192 5580 ;; 5581 5582 osf*) 5583 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5584 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5585 # nice to cause kernel panics so lets avoid the loop below. 5586 # First set a reasonable default. 5587 lt_cv_sys_max_cmd_len=16384 5588 # 5589 if test -x /sbin/sysconfig; then 5590 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5591 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5592 esac 5593 fi 5594 ;; 5595 sco3.2v5*) 5596 lt_cv_sys_max_cmd_len=102400 5597 ;; 5598 sysv5* | sco5v6* | sysv4.2uw2*) 5599 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5600 if test -n "$kargmax"; then 5601 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5602 else 5603 lt_cv_sys_max_cmd_len=32768 5604 fi 5605 ;; 5606 *) 5607 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5608 if test -n "$lt_cv_sys_max_cmd_len" && \ 5609 test undefined != "$lt_cv_sys_max_cmd_len"; then 5610 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5611 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5612 else 5613 # Make teststring a little bigger before we do anything with it. 5614 # a 1K string should be a reasonable start. 5615 for i in 1 2 3 4 5 6 7 8; do 5616 teststring=$teststring$teststring 5617 done 5618 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5619 # If test is not a shell built-in, we'll probably end up computing a 5620 # maximum length that is only half of the actual maximum length, but 5621 # we can't tell. 5622 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5623 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5624 test 17 != "$i" # 1/2 MB should be enough 5625 do 5626 i=`expr $i + 1` 5627 teststring=$teststring$teststring 5628 done 5629 # Only check the string length outside the loop. 5630 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5631 teststring= 5632 # Add a significant safety factor because C++ compilers can tack on 5633 # massive amounts of additional arguments before passing them to the 5634 # linker. It appears as though 1/2 is a usable value. 5635 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5636 fi 5637 ;; 5638 esac 5639 5640fi 5641 5642if test -n "$lt_cv_sys_max_cmd_len"; then 5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5644$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5645else 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5647$as_echo "none" >&6; } 5648fi 5649max_cmd_len=$lt_cv_sys_max_cmd_len 5650 5651 5652 5653 5654 5655 5656: ${CP="cp -f"} 5657: ${MV="mv -f"} 5658: ${RM="rm -f"} 5659 5660if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5661 lt_unset=unset 5662else 5663 lt_unset=false 5664fi 5665 5666 5667 5668 5669 5670# test EBCDIC or ASCII 5671case `echo X|tr X '\101'` in 5672 A) # ASCII based system 5673 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5674 lt_SP2NL='tr \040 \012' 5675 lt_NL2SP='tr \015\012 \040\040' 5676 ;; 5677 *) # EBCDIC based system 5678 lt_SP2NL='tr \100 \n' 5679 lt_NL2SP='tr \r\n \100\100' 5680 ;; 5681esac 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5692$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5693if ${lt_cv_to_host_file_cmd+:} false; then : 5694 $as_echo_n "(cached) " >&6 5695else 5696 case $host in 5697 *-*-mingw* ) 5698 case $build in 5699 *-*-mingw* ) # actually msys 5700 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5701 ;; 5702 *-*-cygwin* ) 5703 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5704 ;; 5705 * ) # otherwise, assume *nix 5706 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5707 ;; 5708 esac 5709 ;; 5710 *-*-cygwin* ) 5711 case $build in 5712 *-*-mingw* ) # actually msys 5713 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5714 ;; 5715 *-*-cygwin* ) 5716 lt_cv_to_host_file_cmd=func_convert_file_noop 5717 ;; 5718 * ) # otherwise, assume *nix 5719 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5720 ;; 5721 esac 5722 ;; 5723 * ) # unhandled hosts (and "normal" native builds) 5724 lt_cv_to_host_file_cmd=func_convert_file_noop 5725 ;; 5726esac 5727 5728fi 5729 5730to_host_file_cmd=$lt_cv_to_host_file_cmd 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5732$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5733 5734 5735 5736 5737 5738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5739$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5740if ${lt_cv_to_tool_file_cmd+:} false; then : 5741 $as_echo_n "(cached) " >&6 5742else 5743 #assume ordinary cross tools, or native build. 5744lt_cv_to_tool_file_cmd=func_convert_file_noop 5745case $host in 5746 *-*-mingw* ) 5747 case $build in 5748 *-*-mingw* ) # actually msys 5749 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5750 ;; 5751 esac 5752 ;; 5753esac 5754 5755fi 5756 5757to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5759$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5760 5761 5762 5763 5764 5765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5766$as_echo_n "checking for $LD option to reload object files... " >&6; } 5767if ${lt_cv_ld_reload_flag+:} false; then : 5768 $as_echo_n "(cached) " >&6 5769else 5770 lt_cv_ld_reload_flag='-r' 5771fi 5772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5773$as_echo "$lt_cv_ld_reload_flag" >&6; } 5774reload_flag=$lt_cv_ld_reload_flag 5775case $reload_flag in 5776"" | " "*) ;; 5777*) reload_flag=" $reload_flag" ;; 5778esac 5779reload_cmds='$LD$reload_flag -o $output$reload_objs' 5780case $host_os in 5781 cygwin* | mingw* | pw32* | cegcc*) 5782 if test yes != "$GCC"; then 5783 reload_cmds=false 5784 fi 5785 ;; 5786 darwin*) 5787 if test yes = "$GCC"; then 5788 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5789 else 5790 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5791 fi 5792 ;; 5793esac 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803if test -n "$ac_tool_prefix"; then 5804 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5805set dummy ${ac_tool_prefix}objdump; ac_word=$2 5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5807$as_echo_n "checking for $ac_word... " >&6; } 5808if ${ac_cv_prog_OBJDUMP+:} false; then : 5809 $as_echo_n "(cached) " >&6 5810else 5811 if test -n "$OBJDUMP"; then 5812 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5813else 5814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5815for as_dir in $PATH 5816do 5817 IFS=$as_save_IFS 5818 test -z "$as_dir" && as_dir=. 5819 for ac_exec_ext in '' $ac_executable_extensions; do 5820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5821 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5823 break 2 5824 fi 5825done 5826 done 5827IFS=$as_save_IFS 5828 5829fi 5830fi 5831OBJDUMP=$ac_cv_prog_OBJDUMP 5832if test -n "$OBJDUMP"; then 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5834$as_echo "$OBJDUMP" >&6; } 5835else 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5837$as_echo "no" >&6; } 5838fi 5839 5840 5841fi 5842if test -z "$ac_cv_prog_OBJDUMP"; then 5843 ac_ct_OBJDUMP=$OBJDUMP 5844 # Extract the first word of "objdump", so it can be a program name with args. 5845set dummy objdump; ac_word=$2 5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5847$as_echo_n "checking for $ac_word... " >&6; } 5848if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5849 $as_echo_n "(cached) " >&6 5850else 5851 if test -n "$ac_ct_OBJDUMP"; then 5852 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5853else 5854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5855for as_dir in $PATH 5856do 5857 IFS=$as_save_IFS 5858 test -z "$as_dir" && as_dir=. 5859 for ac_exec_ext in '' $ac_executable_extensions; do 5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5861 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5863 break 2 5864 fi 5865done 5866 done 5867IFS=$as_save_IFS 5868 5869fi 5870fi 5871ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5872if test -n "$ac_ct_OBJDUMP"; then 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5874$as_echo "$ac_ct_OBJDUMP" >&6; } 5875else 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5877$as_echo "no" >&6; } 5878fi 5879 5880 if test "x$ac_ct_OBJDUMP" = x; then 5881 OBJDUMP="false" 5882 else 5883 case $cross_compiling:$ac_tool_warned in 5884yes:) 5885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5887ac_tool_warned=yes ;; 5888esac 5889 OBJDUMP=$ac_ct_OBJDUMP 5890 fi 5891else 5892 OBJDUMP="$ac_cv_prog_OBJDUMP" 5893fi 5894 5895test -z "$OBJDUMP" && OBJDUMP=objdump 5896 5897 5898 5899 5900 5901 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5903$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5904if ${lt_cv_deplibs_check_method+:} false; then : 5905 $as_echo_n "(cached) " >&6 5906else 5907 lt_cv_file_magic_cmd='$MAGIC_CMD' 5908lt_cv_file_magic_test_file= 5909lt_cv_deplibs_check_method='unknown' 5910# Need to set the preceding variable on all platforms that support 5911# interlibrary dependencies. 5912# 'none' -- dependencies not supported. 5913# 'unknown' -- same as none, but documents that we really don't know. 5914# 'pass_all' -- all dependencies passed with no checks. 5915# 'test_compile' -- check by making test program. 5916# 'file_magic [[regex]]' -- check by looking for files in library path 5917# that responds to the $file_magic_cmd with a given extended regex. 5918# If you have 'file' or equivalent on your system and you're not sure 5919# whether 'pass_all' will *always* work, you probably want this one. 5920 5921case $host_os in 5922aix[4-9]*) 5923 lt_cv_deplibs_check_method=pass_all 5924 ;; 5925 5926beos*) 5927 lt_cv_deplibs_check_method=pass_all 5928 ;; 5929 5930bsdi[45]*) 5931 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5932 lt_cv_file_magic_cmd='/usr/bin/file -L' 5933 lt_cv_file_magic_test_file=/shlib/libc.so 5934 ;; 5935 5936cygwin*) 5937 # func_win32_libid is a shell function defined in ltmain.sh 5938 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5939 lt_cv_file_magic_cmd='func_win32_libid' 5940 ;; 5941 5942mingw* | pw32*) 5943 # Base MSYS/MinGW do not provide the 'file' command needed by 5944 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5945 # unless we find 'file', for example because we are cross-compiling. 5946 if ( file / ) >/dev/null 2>&1; then 5947 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5948 lt_cv_file_magic_cmd='func_win32_libid' 5949 else 5950 # Keep this pattern in sync with the one in func_win32_libid. 5951 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5952 lt_cv_file_magic_cmd='$OBJDUMP -f' 5953 fi 5954 ;; 5955 5956cegcc*) 5957 # use the weaker test based on 'objdump'. See mingw*. 5958 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5959 lt_cv_file_magic_cmd='$OBJDUMP -f' 5960 ;; 5961 5962darwin* | rhapsody*) 5963 lt_cv_deplibs_check_method=pass_all 5964 ;; 5965 5966freebsd* | dragonfly*) 5967 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5968 case $host_cpu in 5969 i*86 ) 5970 # Not sure whether the presence of OpenBSD here was a mistake. 5971 # Let's accept both of them until this is cleared up. 5972 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5973 lt_cv_file_magic_cmd=/usr/bin/file 5974 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5975 ;; 5976 esac 5977 else 5978 lt_cv_deplibs_check_method=pass_all 5979 fi 5980 ;; 5981 5982haiku*) 5983 lt_cv_deplibs_check_method=pass_all 5984 ;; 5985 5986hpux10.20* | hpux11*) 5987 lt_cv_file_magic_cmd=/usr/bin/file 5988 case $host_cpu in 5989 ia64*) 5990 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5991 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5992 ;; 5993 hppa*64*) 5994 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 5995 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5996 ;; 5997 *) 5998 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5999 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6000 ;; 6001 esac 6002 ;; 6003 6004interix[3-9]*) 6005 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6007 ;; 6008 6009irix5* | irix6* | nonstopux*) 6010 case $LD in 6011 *-32|*"-32 ") libmagic=32-bit;; 6012 *-n32|*"-n32 ") libmagic=N32;; 6013 *-64|*"-64 ") libmagic=64-bit;; 6014 *) libmagic=never-match;; 6015 esac 6016 lt_cv_deplibs_check_method=pass_all 6017 ;; 6018 6019# This must be glibc/ELF. 6020linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6021 lt_cv_deplibs_check_method=pass_all 6022 ;; 6023 6024netbsd* | netbsdelf*-gnu) 6025 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6027 else 6028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6029 fi 6030 ;; 6031 6032newos6*) 6033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6034 lt_cv_file_magic_cmd=/usr/bin/file 6035 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6036 ;; 6037 6038*nto* | *qnx*) 6039 lt_cv_deplibs_check_method=pass_all 6040 ;; 6041 6042openbsd* | bitrig*) 6043 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6045 else 6046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6047 fi 6048 ;; 6049 6050osf3* | osf4* | osf5*) 6051 lt_cv_deplibs_check_method=pass_all 6052 ;; 6053 6054rdos*) 6055 lt_cv_deplibs_check_method=pass_all 6056 ;; 6057 6058solaris*) 6059 lt_cv_deplibs_check_method=pass_all 6060 ;; 6061 6062sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6063 lt_cv_deplibs_check_method=pass_all 6064 ;; 6065 6066sysv4 | sysv4.3*) 6067 case $host_vendor in 6068 motorola) 6069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 6070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6071 ;; 6072 ncr) 6073 lt_cv_deplibs_check_method=pass_all 6074 ;; 6075 sequent) 6076 lt_cv_file_magic_cmd='/bin/file' 6077 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6078 ;; 6079 sni) 6080 lt_cv_file_magic_cmd='/bin/file' 6081 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6082 lt_cv_file_magic_test_file=/lib/libc.so 6083 ;; 6084 siemens) 6085 lt_cv_deplibs_check_method=pass_all 6086 ;; 6087 pc) 6088 lt_cv_deplibs_check_method=pass_all 6089 ;; 6090 esac 6091 ;; 6092 6093tpf*) 6094 lt_cv_deplibs_check_method=pass_all 6095 ;; 6096os2*) 6097 lt_cv_deplibs_check_method=pass_all 6098 ;; 6099esac 6100 6101fi 6102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6103$as_echo "$lt_cv_deplibs_check_method" >&6; } 6104 6105file_magic_glob= 6106want_nocaseglob=no 6107if test "$build" = "$host"; then 6108 case $host_os in 6109 mingw* | pw32*) 6110 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6111 want_nocaseglob=yes 6112 else 6113 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6114 fi 6115 ;; 6116 esac 6117fi 6118 6119file_magic_cmd=$lt_cv_file_magic_cmd 6120deplibs_check_method=$lt_cv_deplibs_check_method 6121test -z "$deplibs_check_method" && deplibs_check_method=unknown 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144if test -n "$ac_tool_prefix"; then 6145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6146set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6148$as_echo_n "checking for $ac_word... " >&6; } 6149if ${ac_cv_prog_DLLTOOL+:} false; then : 6150 $as_echo_n "(cached) " >&6 6151else 6152 if test -n "$DLLTOOL"; then 6153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6154else 6155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6156for as_dir in $PATH 6157do 6158 IFS=$as_save_IFS 6159 test -z "$as_dir" && as_dir=. 6160 for ac_exec_ext in '' $ac_executable_extensions; do 6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6162 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6164 break 2 6165 fi 6166done 6167 done 6168IFS=$as_save_IFS 6169 6170fi 6171fi 6172DLLTOOL=$ac_cv_prog_DLLTOOL 6173if test -n "$DLLTOOL"; then 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6175$as_echo "$DLLTOOL" >&6; } 6176else 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6178$as_echo "no" >&6; } 6179fi 6180 6181 6182fi 6183if test -z "$ac_cv_prog_DLLTOOL"; then 6184 ac_ct_DLLTOOL=$DLLTOOL 6185 # Extract the first word of "dlltool", so it can be a program name with args. 6186set dummy dlltool; ac_word=$2 6187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6188$as_echo_n "checking for $ac_word... " >&6; } 6189if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6190 $as_echo_n "(cached) " >&6 6191else 6192 if test -n "$ac_ct_DLLTOOL"; then 6193 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6194else 6195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6196for as_dir in $PATH 6197do 6198 IFS=$as_save_IFS 6199 test -z "$as_dir" && as_dir=. 6200 for ac_exec_ext in '' $ac_executable_extensions; do 6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6202 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6204 break 2 6205 fi 6206done 6207 done 6208IFS=$as_save_IFS 6209 6210fi 6211fi 6212ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6213if test -n "$ac_ct_DLLTOOL"; then 6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6215$as_echo "$ac_ct_DLLTOOL" >&6; } 6216else 6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6218$as_echo "no" >&6; } 6219fi 6220 6221 if test "x$ac_ct_DLLTOOL" = x; then 6222 DLLTOOL="false" 6223 else 6224 case $cross_compiling:$ac_tool_warned in 6225yes:) 6226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6228ac_tool_warned=yes ;; 6229esac 6230 DLLTOOL=$ac_ct_DLLTOOL 6231 fi 6232else 6233 DLLTOOL="$ac_cv_prog_DLLTOOL" 6234fi 6235 6236test -z "$DLLTOOL" && DLLTOOL=dlltool 6237 6238 6239 6240 6241 6242 6243 6244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6245$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6246if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6247 $as_echo_n "(cached) " >&6 6248else 6249 lt_cv_sharedlib_from_linklib_cmd='unknown' 6250 6251case $host_os in 6252cygwin* | mingw* | pw32* | cegcc*) 6253 # two different shell functions defined in ltmain.sh; 6254 # decide which one to use based on capabilities of $DLLTOOL 6255 case `$DLLTOOL --help 2>&1` in 6256 *--identify-strict*) 6257 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6258 ;; 6259 *) 6260 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6261 ;; 6262 esac 6263 ;; 6264*) 6265 # fallback: assume linklib IS sharedlib 6266 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6267 ;; 6268esac 6269 6270fi 6271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6272$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6273sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6274test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6275 6276 6277 6278 6279 6280 6281 6282if test -n "$ac_tool_prefix"; then 6283 for ac_prog in ar 6284 do 6285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6286set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6288$as_echo_n "checking for $ac_word... " >&6; } 6289if ${ac_cv_prog_AR+:} false; then : 6290 $as_echo_n "(cached) " >&6 6291else 6292 if test -n "$AR"; then 6293 ac_cv_prog_AR="$AR" # Let the user override the test. 6294else 6295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6296for as_dir in $PATH 6297do 6298 IFS=$as_save_IFS 6299 test -z "$as_dir" && as_dir=. 6300 for ac_exec_ext in '' $ac_executable_extensions; do 6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6302 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6304 break 2 6305 fi 6306done 6307 done 6308IFS=$as_save_IFS 6309 6310fi 6311fi 6312AR=$ac_cv_prog_AR 6313if test -n "$AR"; then 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6315$as_echo "$AR" >&6; } 6316else 6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6318$as_echo "no" >&6; } 6319fi 6320 6321 6322 test -n "$AR" && break 6323 done 6324fi 6325if test -z "$AR"; then 6326 ac_ct_AR=$AR 6327 for ac_prog in ar 6328do 6329 # Extract the first word of "$ac_prog", so it can be a program name with args. 6330set dummy $ac_prog; ac_word=$2 6331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6332$as_echo_n "checking for $ac_word... " >&6; } 6333if ${ac_cv_prog_ac_ct_AR+:} false; then : 6334 $as_echo_n "(cached) " >&6 6335else 6336 if test -n "$ac_ct_AR"; then 6337 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6338else 6339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6340for as_dir in $PATH 6341do 6342 IFS=$as_save_IFS 6343 test -z "$as_dir" && as_dir=. 6344 for ac_exec_ext in '' $ac_executable_extensions; do 6345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6346 ac_cv_prog_ac_ct_AR="$ac_prog" 6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6348 break 2 6349 fi 6350done 6351 done 6352IFS=$as_save_IFS 6353 6354fi 6355fi 6356ac_ct_AR=$ac_cv_prog_ac_ct_AR 6357if test -n "$ac_ct_AR"; then 6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6359$as_echo "$ac_ct_AR" >&6; } 6360else 6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6362$as_echo "no" >&6; } 6363fi 6364 6365 6366 test -n "$ac_ct_AR" && break 6367done 6368 6369 if test "x$ac_ct_AR" = x; then 6370 AR="false" 6371 else 6372 case $cross_compiling:$ac_tool_warned in 6373yes:) 6374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6376ac_tool_warned=yes ;; 6377esac 6378 AR=$ac_ct_AR 6379 fi 6380fi 6381 6382: ${AR=ar} 6383: ${AR_FLAGS=cru} 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6396$as_echo_n "checking for archiver @FILE support... " >&6; } 6397if ${lt_cv_ar_at_file+:} false; then : 6398 $as_echo_n "(cached) " >&6 6399else 6400 lt_cv_ar_at_file=no 6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6402/* end confdefs.h. */ 6403 6404int 6405main () 6406{ 6407 6408 ; 6409 return 0; 6410} 6411_ACEOF 6412if ac_fn_c_try_compile "$LINENO"; then : 6413 echo conftest.$ac_objext > conftest.lst 6414 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6415 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6416 (eval $lt_ar_try) 2>&5 6417 ac_status=$? 6418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6419 test $ac_status = 0; } 6420 if test 0 -eq "$ac_status"; then 6421 # Ensure the archiver fails upon bogus file names. 6422 rm -f conftest.$ac_objext libconftest.a 6423 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6424 (eval $lt_ar_try) 2>&5 6425 ac_status=$? 6426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6427 test $ac_status = 0; } 6428 if test 0 -ne "$ac_status"; then 6429 lt_cv_ar_at_file=@ 6430 fi 6431 fi 6432 rm -f conftest.* libconftest.a 6433 6434fi 6435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6436 6437fi 6438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6439$as_echo "$lt_cv_ar_at_file" >&6; } 6440 6441if test no = "$lt_cv_ar_at_file"; then 6442 archiver_list_spec= 6443else 6444 archiver_list_spec=$lt_cv_ar_at_file 6445fi 6446 6447 6448 6449 6450 6451 6452 6453if test -n "$ac_tool_prefix"; then 6454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6455set dummy ${ac_tool_prefix}strip; ac_word=$2 6456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6457$as_echo_n "checking for $ac_word... " >&6; } 6458if ${ac_cv_prog_STRIP+:} false; then : 6459 $as_echo_n "(cached) " >&6 6460else 6461 if test -n "$STRIP"; then 6462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6463else 6464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6465for as_dir in $PATH 6466do 6467 IFS=$as_save_IFS 6468 test -z "$as_dir" && as_dir=. 6469 for ac_exec_ext in '' $ac_executable_extensions; do 6470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6471 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6473 break 2 6474 fi 6475done 6476 done 6477IFS=$as_save_IFS 6478 6479fi 6480fi 6481STRIP=$ac_cv_prog_STRIP 6482if test -n "$STRIP"; then 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6484$as_echo "$STRIP" >&6; } 6485else 6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6487$as_echo "no" >&6; } 6488fi 6489 6490 6491fi 6492if test -z "$ac_cv_prog_STRIP"; then 6493 ac_ct_STRIP=$STRIP 6494 # Extract the first word of "strip", so it can be a program name with args. 6495set dummy strip; ac_word=$2 6496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6497$as_echo_n "checking for $ac_word... " >&6; } 6498if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6499 $as_echo_n "(cached) " >&6 6500else 6501 if test -n "$ac_ct_STRIP"; then 6502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6503else 6504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6505for as_dir in $PATH 6506do 6507 IFS=$as_save_IFS 6508 test -z "$as_dir" && as_dir=. 6509 for ac_exec_ext in '' $ac_executable_extensions; do 6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6511 ac_cv_prog_ac_ct_STRIP="strip" 6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6513 break 2 6514 fi 6515done 6516 done 6517IFS=$as_save_IFS 6518 6519fi 6520fi 6521ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6522if test -n "$ac_ct_STRIP"; then 6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6524$as_echo "$ac_ct_STRIP" >&6; } 6525else 6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6527$as_echo "no" >&6; } 6528fi 6529 6530 if test "x$ac_ct_STRIP" = x; then 6531 STRIP=":" 6532 else 6533 case $cross_compiling:$ac_tool_warned in 6534yes:) 6535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6537ac_tool_warned=yes ;; 6538esac 6539 STRIP=$ac_ct_STRIP 6540 fi 6541else 6542 STRIP="$ac_cv_prog_STRIP" 6543fi 6544 6545test -z "$STRIP" && STRIP=: 6546 6547 6548 6549 6550 6551 6552if test -n "$ac_tool_prefix"; then 6553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6554set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6556$as_echo_n "checking for $ac_word... " >&6; } 6557if ${ac_cv_prog_RANLIB+:} false; then : 6558 $as_echo_n "(cached) " >&6 6559else 6560 if test -n "$RANLIB"; then 6561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6562else 6563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6564for as_dir in $PATH 6565do 6566 IFS=$as_save_IFS 6567 test -z "$as_dir" && as_dir=. 6568 for ac_exec_ext in '' $ac_executable_extensions; do 6569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6572 break 2 6573 fi 6574done 6575 done 6576IFS=$as_save_IFS 6577 6578fi 6579fi 6580RANLIB=$ac_cv_prog_RANLIB 6581if test -n "$RANLIB"; then 6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6583$as_echo "$RANLIB" >&6; } 6584else 6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6586$as_echo "no" >&6; } 6587fi 6588 6589 6590fi 6591if test -z "$ac_cv_prog_RANLIB"; then 6592 ac_ct_RANLIB=$RANLIB 6593 # Extract the first word of "ranlib", so it can be a program name with args. 6594set dummy ranlib; ac_word=$2 6595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6596$as_echo_n "checking for $ac_word... " >&6; } 6597if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6598 $as_echo_n "(cached) " >&6 6599else 6600 if test -n "$ac_ct_RANLIB"; then 6601 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6602else 6603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6604for as_dir in $PATH 6605do 6606 IFS=$as_save_IFS 6607 test -z "$as_dir" && as_dir=. 6608 for ac_exec_ext in '' $ac_executable_extensions; do 6609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6610 ac_cv_prog_ac_ct_RANLIB="ranlib" 6611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6612 break 2 6613 fi 6614done 6615 done 6616IFS=$as_save_IFS 6617 6618fi 6619fi 6620ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6621if test -n "$ac_ct_RANLIB"; then 6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6623$as_echo "$ac_ct_RANLIB" >&6; } 6624else 6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6626$as_echo "no" >&6; } 6627fi 6628 6629 if test "x$ac_ct_RANLIB" = x; then 6630 RANLIB=":" 6631 else 6632 case $cross_compiling:$ac_tool_warned in 6633yes:) 6634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6636ac_tool_warned=yes ;; 6637esac 6638 RANLIB=$ac_ct_RANLIB 6639 fi 6640else 6641 RANLIB="$ac_cv_prog_RANLIB" 6642fi 6643 6644test -z "$RANLIB" && RANLIB=: 6645 6646 6647 6648 6649 6650 6651# Determine commands to create old-style static archives. 6652old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6653old_postinstall_cmds='chmod 644 $oldlib' 6654old_postuninstall_cmds= 6655 6656if test -n "$RANLIB"; then 6657 case $host_os in 6658 bitrig* | openbsd*) 6659 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6660 ;; 6661 *) 6662 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6663 ;; 6664 esac 6665 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6666fi 6667 6668case $host_os in 6669 darwin*) 6670 lock_old_archive_extraction=yes ;; 6671 *) 6672 lock_old_archive_extraction=no ;; 6673esac 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713# If no C compiler was specified, use CC. 6714LTCC=${LTCC-"$CC"} 6715 6716# If no C compiler flags were specified, use CFLAGS. 6717LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6718 6719# Allow CC to be a program name with arguments. 6720compiler=$CC 6721 6722 6723# Check for command to grab the raw symbol name followed by C symbol from nm. 6724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6725$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6726if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6727 $as_echo_n "(cached) " >&6 6728else 6729 6730# These are sane defaults that work on at least a few old systems. 6731# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6732 6733# Character class describing NM global symbol codes. 6734symcode='[BCDEGRST]' 6735 6736# Regexp to match symbols that can be accessed directly from C. 6737sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6738 6739# Define system-specific variables. 6740case $host_os in 6741aix*) 6742 symcode='[BCDT]' 6743 ;; 6744cygwin* | mingw* | pw32* | cegcc*) 6745 symcode='[ABCDGISTW]' 6746 ;; 6747hpux*) 6748 if test ia64 = "$host_cpu"; then 6749 symcode='[ABCDEGRST]' 6750 fi 6751 ;; 6752irix* | nonstopux*) 6753 symcode='[BCDEGRST]' 6754 ;; 6755osf*) 6756 symcode='[BCDEGQRST]' 6757 ;; 6758solaris*) 6759 symcode='[BDRT]' 6760 ;; 6761sco3.2v5*) 6762 symcode='[DT]' 6763 ;; 6764sysv4.2uw2*) 6765 symcode='[DT]' 6766 ;; 6767sysv5* | sco5v6* | unixware* | OpenUNIX*) 6768 symcode='[ABDT]' 6769 ;; 6770sysv4) 6771 symcode='[DFNSTU]' 6772 ;; 6773esac 6774 6775# If we're using GNU nm, then use its standard symbol codes. 6776case `$NM -V 2>&1` in 6777*GNU* | *'with BFD'*) 6778 symcode='[ABCDGIRSTW]' ;; 6779esac 6780 6781if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6782 # Gets list of data symbols to import. 6783 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6784 # Adjust the below global symbol transforms to fixup imported variables. 6785 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6786 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6787 lt_c_name_lib_hook="\ 6788 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6789 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6790else 6791 # Disable hooks by default. 6792 lt_cv_sys_global_symbol_to_import= 6793 lt_cdecl_hook= 6794 lt_c_name_hook= 6795 lt_c_name_lib_hook= 6796fi 6797 6798# Transform an extracted symbol line into a proper C declaration. 6799# Some systems (esp. on ia64) link data and code symbols differently, 6800# so use this general approach. 6801lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6802$lt_cdecl_hook\ 6803" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6804" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6805 6806# Transform an extracted symbol line into symbol name and symbol address 6807lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6808$lt_c_name_hook\ 6809" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6810" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6811 6812# Transform an extracted symbol line into symbol name with lib prefix and 6813# symbol address. 6814lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6815$lt_c_name_lib_hook\ 6816" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6817" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6818" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6819 6820# Handle CRLF in mingw tool chain 6821opt_cr= 6822case $build_os in 6823mingw*) 6824 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6825 ;; 6826esac 6827 6828# Try without a prefix underscore, then with it. 6829for ac_symprfx in "" "_"; do 6830 6831 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6832 symxfrm="\\1 $ac_symprfx\\2 \\2" 6833 6834 # Write the raw and C identifiers. 6835 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6836 # Fake it for dumpbin and say T for any non-static function, 6837 # D for any global variable and I for any imported variable. 6838 # Also find C++ and __fastcall symbols from MSVC++, 6839 # which start with @ or ?. 6840 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6841" {last_section=section; section=\$ 3};"\ 6842" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6843" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6844" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6845" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6846" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6847" \$ 0!~/External *\|/{next};"\ 6848" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6849" {if(hide[section]) next};"\ 6850" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6851" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6852" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6853" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6854" ' prfx=^$ac_symprfx" 6855 else 6856 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6857 fi 6858 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6859 6860 # Check to see that the pipe works correctly. 6861 pipe_works=no 6862 6863 rm -f conftest* 6864 cat > conftest.$ac_ext <<_LT_EOF 6865#ifdef __cplusplus 6866extern "C" { 6867#endif 6868char nm_test_var; 6869void nm_test_func(void); 6870void nm_test_func(void){} 6871#ifdef __cplusplus 6872} 6873#endif 6874int main(){nm_test_var='a';nm_test_func();return(0);} 6875_LT_EOF 6876 6877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6878 (eval $ac_compile) 2>&5 6879 ac_status=$? 6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6881 test $ac_status = 0; }; then 6882 # Now try to grab the symbols. 6883 nlist=conftest.nm 6884 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6885 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6886 # Try sorting and uniquifying the output. 6887 if sort "$nlist" | uniq > "$nlist"T; then 6888 mv -f "$nlist"T "$nlist" 6889 else 6890 rm -f "$nlist"T 6891 fi 6892 6893 # Make sure that we snagged all the symbols we need. 6894 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6895 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6896 cat <<_LT_EOF > conftest.$ac_ext 6897/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6898#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6899/* DATA imports from DLLs on WIN32 can't be const, because runtime 6900 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6901# define LT_DLSYM_CONST 6902#elif defined __osf__ 6903/* This system does not cope well with relocations in const data. */ 6904# define LT_DLSYM_CONST 6905#else 6906# define LT_DLSYM_CONST const 6907#endif 6908 6909#ifdef __cplusplus 6910extern "C" { 6911#endif 6912 6913_LT_EOF 6914 # Now generate the symbol file. 6915 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6916 6917 cat <<_LT_EOF >> conftest.$ac_ext 6918 6919/* The mapping between symbol names and symbols. */ 6920LT_DLSYM_CONST struct { 6921 const char *name; 6922 void *address; 6923} 6924lt__PROGRAM__LTX_preloaded_symbols[] = 6925{ 6926 { "@PROGRAM@", (void *) 0 }, 6927_LT_EOF 6928 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6929 cat <<\_LT_EOF >> conftest.$ac_ext 6930 {0, (void *) 0} 6931}; 6932 6933/* This works around a problem in FreeBSD linker */ 6934#ifdef FREEBSD_WORKAROUND 6935static const void *lt_preloaded_setup() { 6936 return lt__PROGRAM__LTX_preloaded_symbols; 6937} 6938#endif 6939 6940#ifdef __cplusplus 6941} 6942#endif 6943_LT_EOF 6944 # Now try linking the two files. 6945 mv conftest.$ac_objext conftstm.$ac_objext 6946 lt_globsym_save_LIBS=$LIBS 6947 lt_globsym_save_CFLAGS=$CFLAGS 6948 LIBS=conftstm.$ac_objext 6949 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6951 (eval $ac_link) 2>&5 6952 ac_status=$? 6953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6954 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6955 pipe_works=yes 6956 fi 6957 LIBS=$lt_globsym_save_LIBS 6958 CFLAGS=$lt_globsym_save_CFLAGS 6959 else 6960 echo "cannot find nm_test_func in $nlist" >&5 6961 fi 6962 else 6963 echo "cannot find nm_test_var in $nlist" >&5 6964 fi 6965 else 6966 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6967 fi 6968 else 6969 echo "$progname: failed program was:" >&5 6970 cat conftest.$ac_ext >&5 6971 fi 6972 rm -rf conftest* conftst* 6973 6974 # Do not use the global_symbol_pipe unless it works. 6975 if test yes = "$pipe_works"; then 6976 break 6977 else 6978 lt_cv_sys_global_symbol_pipe= 6979 fi 6980done 6981 6982fi 6983 6984if test -z "$lt_cv_sys_global_symbol_pipe"; then 6985 lt_cv_sys_global_symbol_to_cdecl= 6986fi 6987if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6989$as_echo "failed" >&6; } 6990else 6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6992$as_echo "ok" >&6; } 6993fi 6994 6995# Response file support. 6996if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6997 nm_file_list_spec='@' 6998elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6999 nm_file_list_spec='@' 7000fi 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7039$as_echo_n "checking for sysroot... " >&6; } 7040 7041# Check whether --with-sysroot was given. 7042if test "${with_sysroot+set}" = set; then : 7043 withval=$with_sysroot; 7044else 7045 with_sysroot=no 7046fi 7047 7048 7049lt_sysroot= 7050case $with_sysroot in #( 7051 yes) 7052 if test yes = "$GCC"; then 7053 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7054 fi 7055 ;; #( 7056 /*) 7057 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7058 ;; #( 7059 no|'') 7060 ;; #( 7061 *) 7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7063$as_echo "$with_sysroot" >&6; } 7064 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7065 ;; 7066esac 7067 7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7069$as_echo "${lt_sysroot:-no}" >&6; } 7070 7071 7072 7073 7074 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7076$as_echo_n "checking for a working dd... " >&6; } 7077if ${ac_cv_path_lt_DD+:} false; then : 7078 $as_echo_n "(cached) " >&6 7079else 7080 printf 0123456789abcdef0123456789abcdef >conftest.i 7081cat conftest.i conftest.i >conftest2.i 7082: ${lt_DD:=$DD} 7083if test -z "$lt_DD"; then 7084 ac_path_lt_DD_found=false 7085 # Loop through the user's path and test for each of PROGNAME-LIST 7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7087for as_dir in $PATH 7088do 7089 IFS=$as_save_IFS 7090 test -z "$as_dir" && as_dir=. 7091 for ac_prog in dd; do 7092 for ac_exec_ext in '' $ac_executable_extensions; do 7093 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7094 as_fn_executable_p "$ac_path_lt_DD" || continue 7095if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7096 cmp -s conftest.i conftest.out \ 7097 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7098fi 7099 $ac_path_lt_DD_found && break 3 7100 done 7101 done 7102 done 7103IFS=$as_save_IFS 7104 if test -z "$ac_cv_path_lt_DD"; then 7105 : 7106 fi 7107else 7108 ac_cv_path_lt_DD=$lt_DD 7109fi 7110 7111rm -f conftest.i conftest2.i conftest.out 7112fi 7113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7114$as_echo "$ac_cv_path_lt_DD" >&6; } 7115 7116 7117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7118$as_echo_n "checking how to truncate binary pipes... " >&6; } 7119if ${lt_cv_truncate_bin+:} false; then : 7120 $as_echo_n "(cached) " >&6 7121else 7122 printf 0123456789abcdef0123456789abcdef >conftest.i 7123cat conftest.i conftest.i >conftest2.i 7124lt_cv_truncate_bin= 7125if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7126 cmp -s conftest.i conftest.out \ 7127 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7128fi 7129rm -f conftest.i conftest2.i conftest.out 7130test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7131fi 7132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7133$as_echo "$lt_cv_truncate_bin" >&6; } 7134 7135 7136 7137 7138 7139 7140 7141# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7142func_cc_basename () 7143{ 7144 for cc_temp in $*""; do 7145 case $cc_temp in 7146 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7147 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7148 \-*) ;; 7149 *) break;; 7150 esac 7151 done 7152 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7153} 7154 7155# Check whether --enable-libtool-lock was given. 7156if test "${enable_libtool_lock+set}" = set; then : 7157 enableval=$enable_libtool_lock; 7158fi 7159 7160test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7161 7162# Some flags need to be propagated to the compiler or linker for good 7163# libtool support. 7164case $host in 7165ia64-*-hpux*) 7166 # Find out what ABI is being produced by ac_compile, and set mode 7167 # options accordingly. 7168 echo 'int i;' > conftest.$ac_ext 7169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7170 (eval $ac_compile) 2>&5 7171 ac_status=$? 7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7173 test $ac_status = 0; }; then 7174 case `/usr/bin/file conftest.$ac_objext` in 7175 *ELF-32*) 7176 HPUX_IA64_MODE=32 7177 ;; 7178 *ELF-64*) 7179 HPUX_IA64_MODE=64 7180 ;; 7181 esac 7182 fi 7183 rm -rf conftest* 7184 ;; 7185*-*-irix6*) 7186 # Find out what ABI is being produced by ac_compile, and set linker 7187 # options accordingly. 7188 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7190 (eval $ac_compile) 2>&5 7191 ac_status=$? 7192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7193 test $ac_status = 0; }; then 7194 if test yes = "$lt_cv_prog_gnu_ld"; then 7195 case `/usr/bin/file conftest.$ac_objext` in 7196 *32-bit*) 7197 LD="${LD-ld} -melf32bsmip" 7198 ;; 7199 *N32*) 7200 LD="${LD-ld} -melf32bmipn32" 7201 ;; 7202 *64-bit*) 7203 LD="${LD-ld} -melf64bmip" 7204 ;; 7205 esac 7206 else 7207 case `/usr/bin/file conftest.$ac_objext` in 7208 *32-bit*) 7209 LD="${LD-ld} -32" 7210 ;; 7211 *N32*) 7212 LD="${LD-ld} -n32" 7213 ;; 7214 *64-bit*) 7215 LD="${LD-ld} -64" 7216 ;; 7217 esac 7218 fi 7219 fi 7220 rm -rf conftest* 7221 ;; 7222 7223mips64*-*linux*) 7224 # Find out what ABI is being produced by ac_compile, and set linker 7225 # options accordingly. 7226 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7228 (eval $ac_compile) 2>&5 7229 ac_status=$? 7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7231 test $ac_status = 0; }; then 7232 emul=elf 7233 case `/usr/bin/file conftest.$ac_objext` in 7234 *32-bit*) 7235 emul="${emul}32" 7236 ;; 7237 *64-bit*) 7238 emul="${emul}64" 7239 ;; 7240 esac 7241 case `/usr/bin/file conftest.$ac_objext` in 7242 *MSB*) 7243 emul="${emul}btsmip" 7244 ;; 7245 *LSB*) 7246 emul="${emul}ltsmip" 7247 ;; 7248 esac 7249 case `/usr/bin/file conftest.$ac_objext` in 7250 *N32*) 7251 emul="${emul}n32" 7252 ;; 7253 esac 7254 LD="${LD-ld} -m $emul" 7255 fi 7256 rm -rf conftest* 7257 ;; 7258 7259x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7260s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7261 # Find out what ABI is being produced by ac_compile, and set linker 7262 # options accordingly. Note that the listed cases only cover the 7263 # situations where additional linker options are needed (such as when 7264 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7265 # vice versa); the common cases where no linker options are needed do 7266 # not appear in the list. 7267 echo 'int i;' > conftest.$ac_ext 7268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7269 (eval $ac_compile) 2>&5 7270 ac_status=$? 7271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7272 test $ac_status = 0; }; then 7273 case `/usr/bin/file conftest.o` in 7274 *32-bit*) 7275 case $host in 7276 x86_64-*kfreebsd*-gnu) 7277 LD="${LD-ld} -m elf_i386_fbsd" 7278 ;; 7279 x86_64-*linux*) 7280 case `/usr/bin/file conftest.o` in 7281 *x86-64*) 7282 LD="${LD-ld} -m elf32_x86_64" 7283 ;; 7284 *) 7285 LD="${LD-ld} -m elf_i386" 7286 ;; 7287 esac 7288 ;; 7289 powerpc64le-*linux*) 7290 LD="${LD-ld} -m elf32lppclinux" 7291 ;; 7292 powerpc64-*linux*) 7293 LD="${LD-ld} -m elf32ppclinux" 7294 ;; 7295 s390x-*linux*) 7296 LD="${LD-ld} -m elf_s390" 7297 ;; 7298 sparc64-*linux*) 7299 LD="${LD-ld} -m elf32_sparc" 7300 ;; 7301 esac 7302 ;; 7303 *64-bit*) 7304 case $host in 7305 x86_64-*kfreebsd*-gnu) 7306 LD="${LD-ld} -m elf_x86_64_fbsd" 7307 ;; 7308 x86_64-*linux*) 7309 LD="${LD-ld} -m elf_x86_64" 7310 ;; 7311 powerpcle-*linux*) 7312 LD="${LD-ld} -m elf64lppc" 7313 ;; 7314 powerpc-*linux*) 7315 LD="${LD-ld} -m elf64ppc" 7316 ;; 7317 s390*-*linux*|s390*-*tpf*) 7318 LD="${LD-ld} -m elf64_s390" 7319 ;; 7320 sparc*-*linux*) 7321 LD="${LD-ld} -m elf64_sparc" 7322 ;; 7323 esac 7324 ;; 7325 esac 7326 fi 7327 rm -rf conftest* 7328 ;; 7329 7330*-*-sco3.2v5*) 7331 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7332 SAVE_CFLAGS=$CFLAGS 7333 CFLAGS="$CFLAGS -belf" 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7335$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7336if ${lt_cv_cc_needs_belf+:} false; then : 7337 $as_echo_n "(cached) " >&6 7338else 7339 ac_ext=c 7340ac_cpp='$CPP $CPPFLAGS' 7341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7343ac_compiler_gnu=$ac_cv_c_compiler_gnu 7344 7345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7346/* end confdefs.h. */ 7347 7348int 7349main () 7350{ 7351 7352 ; 7353 return 0; 7354} 7355_ACEOF 7356if ac_fn_c_try_link "$LINENO"; then : 7357 lt_cv_cc_needs_belf=yes 7358else 7359 lt_cv_cc_needs_belf=no 7360fi 7361rm -f core conftest.err conftest.$ac_objext \ 7362 conftest$ac_exeext conftest.$ac_ext 7363 ac_ext=c 7364ac_cpp='$CPP $CPPFLAGS' 7365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7367ac_compiler_gnu=$ac_cv_c_compiler_gnu 7368 7369fi 7370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7371$as_echo "$lt_cv_cc_needs_belf" >&6; } 7372 if test yes != "$lt_cv_cc_needs_belf"; then 7373 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7374 CFLAGS=$SAVE_CFLAGS 7375 fi 7376 ;; 7377*-*solaris*) 7378 # Find out what ABI is being produced by ac_compile, and set linker 7379 # options accordingly. 7380 echo 'int i;' > conftest.$ac_ext 7381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7382 (eval $ac_compile) 2>&5 7383 ac_status=$? 7384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7385 test $ac_status = 0; }; then 7386 case `/usr/bin/file conftest.o` in 7387 *64-bit*) 7388 case $lt_cv_prog_gnu_ld in 7389 yes*) 7390 case $host in 7391 i?86-*-solaris*|x86_64-*-solaris*) 7392 LD="${LD-ld} -m elf_x86_64" 7393 ;; 7394 sparc*-*-solaris*) 7395 LD="${LD-ld} -m elf64_sparc" 7396 ;; 7397 esac 7398 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7399 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7400 LD=${LD-ld}_sol2 7401 fi 7402 ;; 7403 *) 7404 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7405 LD="${LD-ld} -64" 7406 fi 7407 ;; 7408 esac 7409 ;; 7410 esac 7411 fi 7412 rm -rf conftest* 7413 ;; 7414esac 7415 7416need_locks=$enable_libtool_lock 7417 7418if test -n "$ac_tool_prefix"; then 7419 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7420set dummy ${ac_tool_prefix}mt; ac_word=$2 7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7422$as_echo_n "checking for $ac_word... " >&6; } 7423if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7424 $as_echo_n "(cached) " >&6 7425else 7426 if test -n "$MANIFEST_TOOL"; then 7427 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7428else 7429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7430for as_dir in $PATH 7431do 7432 IFS=$as_save_IFS 7433 test -z "$as_dir" && as_dir=. 7434 for ac_exec_ext in '' $ac_executable_extensions; do 7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7436 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7438 break 2 7439 fi 7440done 7441 done 7442IFS=$as_save_IFS 7443 7444fi 7445fi 7446MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7447if test -n "$MANIFEST_TOOL"; then 7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7449$as_echo "$MANIFEST_TOOL" >&6; } 7450else 7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7452$as_echo "no" >&6; } 7453fi 7454 7455 7456fi 7457if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7458 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7459 # Extract the first word of "mt", so it can be a program name with args. 7460set dummy mt; ac_word=$2 7461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7462$as_echo_n "checking for $ac_word... " >&6; } 7463if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7464 $as_echo_n "(cached) " >&6 7465else 7466 if test -n "$ac_ct_MANIFEST_TOOL"; then 7467 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7468else 7469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7470for as_dir in $PATH 7471do 7472 IFS=$as_save_IFS 7473 test -z "$as_dir" && as_dir=. 7474 for ac_exec_ext in '' $ac_executable_extensions; do 7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7476 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7478 break 2 7479 fi 7480done 7481 done 7482IFS=$as_save_IFS 7483 7484fi 7485fi 7486ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7487if test -n "$ac_ct_MANIFEST_TOOL"; then 7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7489$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7490else 7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7492$as_echo "no" >&6; } 7493fi 7494 7495 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7496 MANIFEST_TOOL=":" 7497 else 7498 case $cross_compiling:$ac_tool_warned in 7499yes:) 7500{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7502ac_tool_warned=yes ;; 7503esac 7504 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7505 fi 7506else 7507 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7508fi 7509 7510test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7512$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7513if ${lt_cv_path_mainfest_tool+:} false; then : 7514 $as_echo_n "(cached) " >&6 7515else 7516 lt_cv_path_mainfest_tool=no 7517 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7518 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7519 cat conftest.err >&5 7520 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7521 lt_cv_path_mainfest_tool=yes 7522 fi 7523 rm -f conftest* 7524fi 7525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7526$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7527if test yes != "$lt_cv_path_mainfest_tool"; then 7528 MANIFEST_TOOL=: 7529fi 7530 7531 7532 7533 7534 7535 7536 case $host_os in 7537 rhapsody* | darwin*) 7538 if test -n "$ac_tool_prefix"; then 7539 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7540set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7542$as_echo_n "checking for $ac_word... " >&6; } 7543if ${ac_cv_prog_DSYMUTIL+:} false; then : 7544 $as_echo_n "(cached) " >&6 7545else 7546 if test -n "$DSYMUTIL"; then 7547 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7548else 7549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7550for as_dir in $PATH 7551do 7552 IFS=$as_save_IFS 7553 test -z "$as_dir" && as_dir=. 7554 for ac_exec_ext in '' $ac_executable_extensions; do 7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7556 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7558 break 2 7559 fi 7560done 7561 done 7562IFS=$as_save_IFS 7563 7564fi 7565fi 7566DSYMUTIL=$ac_cv_prog_DSYMUTIL 7567if test -n "$DSYMUTIL"; then 7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7569$as_echo "$DSYMUTIL" >&6; } 7570else 7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7572$as_echo "no" >&6; } 7573fi 7574 7575 7576fi 7577if test -z "$ac_cv_prog_DSYMUTIL"; then 7578 ac_ct_DSYMUTIL=$DSYMUTIL 7579 # Extract the first word of "dsymutil", so it can be a program name with args. 7580set dummy dsymutil; ac_word=$2 7581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7582$as_echo_n "checking for $ac_word... " >&6; } 7583if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7584 $as_echo_n "(cached) " >&6 7585else 7586 if test -n "$ac_ct_DSYMUTIL"; then 7587 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7588else 7589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7590for as_dir in $PATH 7591do 7592 IFS=$as_save_IFS 7593 test -z "$as_dir" && as_dir=. 7594 for ac_exec_ext in '' $ac_executable_extensions; do 7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7596 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7598 break 2 7599 fi 7600done 7601 done 7602IFS=$as_save_IFS 7603 7604fi 7605fi 7606ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7607if test -n "$ac_ct_DSYMUTIL"; then 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7609$as_echo "$ac_ct_DSYMUTIL" >&6; } 7610else 7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7612$as_echo "no" >&6; } 7613fi 7614 7615 if test "x$ac_ct_DSYMUTIL" = x; then 7616 DSYMUTIL=":" 7617 else 7618 case $cross_compiling:$ac_tool_warned in 7619yes:) 7620{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7621$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7622ac_tool_warned=yes ;; 7623esac 7624 DSYMUTIL=$ac_ct_DSYMUTIL 7625 fi 7626else 7627 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7628fi 7629 7630 if test -n "$ac_tool_prefix"; then 7631 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7632set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7634$as_echo_n "checking for $ac_word... " >&6; } 7635if ${ac_cv_prog_NMEDIT+:} false; then : 7636 $as_echo_n "(cached) " >&6 7637else 7638 if test -n "$NMEDIT"; then 7639 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7640else 7641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7642for as_dir in $PATH 7643do 7644 IFS=$as_save_IFS 7645 test -z "$as_dir" && as_dir=. 7646 for ac_exec_ext in '' $ac_executable_extensions; do 7647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7648 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7650 break 2 7651 fi 7652done 7653 done 7654IFS=$as_save_IFS 7655 7656fi 7657fi 7658NMEDIT=$ac_cv_prog_NMEDIT 7659if test -n "$NMEDIT"; then 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7661$as_echo "$NMEDIT" >&6; } 7662else 7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7664$as_echo "no" >&6; } 7665fi 7666 7667 7668fi 7669if test -z "$ac_cv_prog_NMEDIT"; then 7670 ac_ct_NMEDIT=$NMEDIT 7671 # Extract the first word of "nmedit", so it can be a program name with args. 7672set dummy nmedit; ac_word=$2 7673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7674$as_echo_n "checking for $ac_word... " >&6; } 7675if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7676 $as_echo_n "(cached) " >&6 7677else 7678 if test -n "$ac_ct_NMEDIT"; then 7679 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7680else 7681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7682for as_dir in $PATH 7683do 7684 IFS=$as_save_IFS 7685 test -z "$as_dir" && as_dir=. 7686 for ac_exec_ext in '' $ac_executable_extensions; do 7687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7688 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7690 break 2 7691 fi 7692done 7693 done 7694IFS=$as_save_IFS 7695 7696fi 7697fi 7698ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7699if test -n "$ac_ct_NMEDIT"; then 7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7701$as_echo "$ac_ct_NMEDIT" >&6; } 7702else 7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7704$as_echo "no" >&6; } 7705fi 7706 7707 if test "x$ac_ct_NMEDIT" = x; then 7708 NMEDIT=":" 7709 else 7710 case $cross_compiling:$ac_tool_warned in 7711yes:) 7712{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7713$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7714ac_tool_warned=yes ;; 7715esac 7716 NMEDIT=$ac_ct_NMEDIT 7717 fi 7718else 7719 NMEDIT="$ac_cv_prog_NMEDIT" 7720fi 7721 7722 if test -n "$ac_tool_prefix"; then 7723 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7724set dummy ${ac_tool_prefix}lipo; ac_word=$2 7725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7726$as_echo_n "checking for $ac_word... " >&6; } 7727if ${ac_cv_prog_LIPO+:} false; then : 7728 $as_echo_n "(cached) " >&6 7729else 7730 if test -n "$LIPO"; then 7731 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7732else 7733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7734for as_dir in $PATH 7735do 7736 IFS=$as_save_IFS 7737 test -z "$as_dir" && as_dir=. 7738 for ac_exec_ext in '' $ac_executable_extensions; do 7739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7740 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7742 break 2 7743 fi 7744done 7745 done 7746IFS=$as_save_IFS 7747 7748fi 7749fi 7750LIPO=$ac_cv_prog_LIPO 7751if test -n "$LIPO"; then 7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7753$as_echo "$LIPO" >&6; } 7754else 7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7756$as_echo "no" >&6; } 7757fi 7758 7759 7760fi 7761if test -z "$ac_cv_prog_LIPO"; then 7762 ac_ct_LIPO=$LIPO 7763 # Extract the first word of "lipo", so it can be a program name with args. 7764set dummy lipo; ac_word=$2 7765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7766$as_echo_n "checking for $ac_word... " >&6; } 7767if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7768 $as_echo_n "(cached) " >&6 7769else 7770 if test -n "$ac_ct_LIPO"; then 7771 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7772else 7773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7774for as_dir in $PATH 7775do 7776 IFS=$as_save_IFS 7777 test -z "$as_dir" && as_dir=. 7778 for ac_exec_ext in '' $ac_executable_extensions; do 7779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7780 ac_cv_prog_ac_ct_LIPO="lipo" 7781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7782 break 2 7783 fi 7784done 7785 done 7786IFS=$as_save_IFS 7787 7788fi 7789fi 7790ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7791if test -n "$ac_ct_LIPO"; then 7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7793$as_echo "$ac_ct_LIPO" >&6; } 7794else 7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7796$as_echo "no" >&6; } 7797fi 7798 7799 if test "x$ac_ct_LIPO" = x; then 7800 LIPO=":" 7801 else 7802 case $cross_compiling:$ac_tool_warned in 7803yes:) 7804{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7805$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7806ac_tool_warned=yes ;; 7807esac 7808 LIPO=$ac_ct_LIPO 7809 fi 7810else 7811 LIPO="$ac_cv_prog_LIPO" 7812fi 7813 7814 if test -n "$ac_tool_prefix"; then 7815 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7816set dummy ${ac_tool_prefix}otool; ac_word=$2 7817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7818$as_echo_n "checking for $ac_word... " >&6; } 7819if ${ac_cv_prog_OTOOL+:} false; then : 7820 $as_echo_n "(cached) " >&6 7821else 7822 if test -n "$OTOOL"; then 7823 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7824else 7825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7826for as_dir in $PATH 7827do 7828 IFS=$as_save_IFS 7829 test -z "$as_dir" && as_dir=. 7830 for ac_exec_ext in '' $ac_executable_extensions; do 7831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7832 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7834 break 2 7835 fi 7836done 7837 done 7838IFS=$as_save_IFS 7839 7840fi 7841fi 7842OTOOL=$ac_cv_prog_OTOOL 7843if test -n "$OTOOL"; then 7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7845$as_echo "$OTOOL" >&6; } 7846else 7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7848$as_echo "no" >&6; } 7849fi 7850 7851 7852fi 7853if test -z "$ac_cv_prog_OTOOL"; then 7854 ac_ct_OTOOL=$OTOOL 7855 # Extract the first word of "otool", so it can be a program name with args. 7856set dummy otool; ac_word=$2 7857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7858$as_echo_n "checking for $ac_word... " >&6; } 7859if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7860 $as_echo_n "(cached) " >&6 7861else 7862 if test -n "$ac_ct_OTOOL"; then 7863 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7864else 7865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7866for as_dir in $PATH 7867do 7868 IFS=$as_save_IFS 7869 test -z "$as_dir" && as_dir=. 7870 for ac_exec_ext in '' $ac_executable_extensions; do 7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7872 ac_cv_prog_ac_ct_OTOOL="otool" 7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7874 break 2 7875 fi 7876done 7877 done 7878IFS=$as_save_IFS 7879 7880fi 7881fi 7882ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7883if test -n "$ac_ct_OTOOL"; then 7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7885$as_echo "$ac_ct_OTOOL" >&6; } 7886else 7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7888$as_echo "no" >&6; } 7889fi 7890 7891 if test "x$ac_ct_OTOOL" = x; then 7892 OTOOL=":" 7893 else 7894 case $cross_compiling:$ac_tool_warned in 7895yes:) 7896{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7897$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7898ac_tool_warned=yes ;; 7899esac 7900 OTOOL=$ac_ct_OTOOL 7901 fi 7902else 7903 OTOOL="$ac_cv_prog_OTOOL" 7904fi 7905 7906 if test -n "$ac_tool_prefix"; then 7907 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7908set dummy ${ac_tool_prefix}otool64; ac_word=$2 7909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7910$as_echo_n "checking for $ac_word... " >&6; } 7911if ${ac_cv_prog_OTOOL64+:} false; then : 7912 $as_echo_n "(cached) " >&6 7913else 7914 if test -n "$OTOOL64"; then 7915 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7916else 7917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7918for as_dir in $PATH 7919do 7920 IFS=$as_save_IFS 7921 test -z "$as_dir" && as_dir=. 7922 for ac_exec_ext in '' $ac_executable_extensions; do 7923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7924 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7926 break 2 7927 fi 7928done 7929 done 7930IFS=$as_save_IFS 7931 7932fi 7933fi 7934OTOOL64=$ac_cv_prog_OTOOL64 7935if test -n "$OTOOL64"; then 7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7937$as_echo "$OTOOL64" >&6; } 7938else 7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7940$as_echo "no" >&6; } 7941fi 7942 7943 7944fi 7945if test -z "$ac_cv_prog_OTOOL64"; then 7946 ac_ct_OTOOL64=$OTOOL64 7947 # Extract the first word of "otool64", so it can be a program name with args. 7948set dummy otool64; ac_word=$2 7949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7950$as_echo_n "checking for $ac_word... " >&6; } 7951if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7952 $as_echo_n "(cached) " >&6 7953else 7954 if test -n "$ac_ct_OTOOL64"; then 7955 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7956else 7957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7958for as_dir in $PATH 7959do 7960 IFS=$as_save_IFS 7961 test -z "$as_dir" && as_dir=. 7962 for ac_exec_ext in '' $ac_executable_extensions; do 7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7964 ac_cv_prog_ac_ct_OTOOL64="otool64" 7965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7966 break 2 7967 fi 7968done 7969 done 7970IFS=$as_save_IFS 7971 7972fi 7973fi 7974ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7975if test -n "$ac_ct_OTOOL64"; then 7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7977$as_echo "$ac_ct_OTOOL64" >&6; } 7978else 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7980$as_echo "no" >&6; } 7981fi 7982 7983 if test "x$ac_ct_OTOOL64" = x; then 7984 OTOOL64=":" 7985 else 7986 case $cross_compiling:$ac_tool_warned in 7987yes:) 7988{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7989$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7990ac_tool_warned=yes ;; 7991esac 7992 OTOOL64=$ac_ct_OTOOL64 7993 fi 7994else 7995 OTOOL64="$ac_cv_prog_OTOOL64" 7996fi 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8025$as_echo_n "checking for -single_module linker flag... " >&6; } 8026if ${lt_cv_apple_cc_single_mod+:} false; then : 8027 $as_echo_n "(cached) " >&6 8028else 8029 lt_cv_apple_cc_single_mod=no 8030 if test -z "$LT_MULTI_MODULE"; then 8031 # By default we will add the -single_module flag. You can override 8032 # by either setting the environment variable LT_MULTI_MODULE 8033 # non-empty at configure time, or by adding -multi_module to the 8034 # link flags. 8035 rm -rf libconftest.dylib* 8036 echo "int foo(void){return 1;}" > conftest.c 8037 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8038-dynamiclib -Wl,-single_module conftest.c" >&5 8039 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8040 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8041 _lt_result=$? 8042 # If there is a non-empty error log, and "single_module" 8043 # appears in it, assume the flag caused a linker warning 8044 if test -s conftest.err && $GREP single_module conftest.err; then 8045 cat conftest.err >&5 8046 # Otherwise, if the output was created with a 0 exit code from 8047 # the compiler, it worked. 8048 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8049 lt_cv_apple_cc_single_mod=yes 8050 else 8051 cat conftest.err >&5 8052 fi 8053 rm -rf libconftest.dylib* 8054 rm -f conftest.* 8055 fi 8056fi 8057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8058$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8059 8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8061$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8062if ${lt_cv_ld_exported_symbols_list+:} false; then : 8063 $as_echo_n "(cached) " >&6 8064else 8065 lt_cv_ld_exported_symbols_list=no 8066 save_LDFLAGS=$LDFLAGS 8067 echo "_main" > conftest.sym 8068 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8070/* end confdefs.h. */ 8071 8072int 8073main () 8074{ 8075 8076 ; 8077 return 0; 8078} 8079_ACEOF 8080if ac_fn_c_try_link "$LINENO"; then : 8081 lt_cv_ld_exported_symbols_list=yes 8082else 8083 lt_cv_ld_exported_symbols_list=no 8084fi 8085rm -f core conftest.err conftest.$ac_objext \ 8086 conftest$ac_exeext conftest.$ac_ext 8087 LDFLAGS=$save_LDFLAGS 8088 8089fi 8090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8091$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8092 8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8094$as_echo_n "checking for -force_load linker flag... " >&6; } 8095if ${lt_cv_ld_force_load+:} false; then : 8096 $as_echo_n "(cached) " >&6 8097else 8098 lt_cv_ld_force_load=no 8099 cat > conftest.c << _LT_EOF 8100int forced_loaded() { return 2;} 8101_LT_EOF 8102 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8103 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8104 echo "$AR cru libconftest.a conftest.o" >&5 8105 $AR cru libconftest.a conftest.o 2>&5 8106 echo "$RANLIB libconftest.a" >&5 8107 $RANLIB libconftest.a 2>&5 8108 cat > conftest.c << _LT_EOF 8109int main() { return 0;} 8110_LT_EOF 8111 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8112 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8113 _lt_result=$? 8114 if test -s conftest.err && $GREP force_load conftest.err; then 8115 cat conftest.err >&5 8116 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8117 lt_cv_ld_force_load=yes 8118 else 8119 cat conftest.err >&5 8120 fi 8121 rm -f conftest.err libconftest.a conftest conftest.c 8122 rm -rf conftest.dSYM 8123 8124fi 8125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8126$as_echo "$lt_cv_ld_force_load" >&6; } 8127 case $host_os in 8128 rhapsody* | darwin1.[012]) 8129 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8130 darwin1.*) 8131 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8132 darwin*) # darwin 5.x on 8133 # if running on 10.5 or later, the deployment target defaults 8134 # to the OS version, if on x86, and 10.4, the deployment 8135 # target defaults to 10.4. Don't you love it? 8136 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8137 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8138 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8139 10.[012][,.]*) 8140 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8141 10.*) 8142 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8143 esac 8144 ;; 8145 esac 8146 if test yes = "$lt_cv_apple_cc_single_mod"; then 8147 _lt_dar_single_mod='$single_module' 8148 fi 8149 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8150 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8151 else 8152 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8153 fi 8154 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8155 _lt_dsymutil='~$DSYMUTIL $lib || :' 8156 else 8157 _lt_dsymutil= 8158 fi 8159 ;; 8160 esac 8161 8162# func_munge_path_list VARIABLE PATH 8163# ----------------------------------- 8164# VARIABLE is name of variable containing _space_ separated list of 8165# directories to be munged by the contents of PATH, which is string 8166# having a format: 8167# "DIR[:DIR]:" 8168# string "DIR[ DIR]" will be prepended to VARIABLE 8169# ":DIR[:DIR]" 8170# string "DIR[ DIR]" will be appended to VARIABLE 8171# "DIRP[:DIRP]::[DIRA:]DIRA" 8172# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8173# "DIRA[ DIRA]" will be appended to VARIABLE 8174# "DIR[:DIR]" 8175# VARIABLE will be replaced by "DIR[ DIR]" 8176func_munge_path_list () 8177{ 8178 case x$2 in 8179 x) 8180 ;; 8181 *:) 8182 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8183 ;; 8184 x:*) 8185 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8186 ;; 8187 *::*) 8188 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8189 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8190 ;; 8191 *) 8192 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8193 ;; 8194 esac 8195} 8196 8197# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8198for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8199 inttypes.h stdint.h unistd.h 8200do : 8201 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8202ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8203" 8204if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8205 cat >>confdefs.h <<_ACEOF 8206#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8207_ACEOF 8208 8209fi 8210 8211done 8212 8213 8214for ac_header in dlfcn.h 8215do : 8216 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8217" 8218if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8219 cat >>confdefs.h <<_ACEOF 8220#define HAVE_DLFCN_H 1 8221_ACEOF 8222 8223fi 8224 8225done 8226 8227 8228 8229 8230 8231# Set options 8232 8233 8234 8235 enable_dlopen=no 8236 8237 8238 8239 # Check whether --enable-shared was given. 8240if test "${enable_shared+set}" = set; then : 8241 enableval=$enable_shared; p=${PACKAGE-default} 8242 case $enableval in 8243 yes) enable_shared=yes ;; 8244 no) enable_shared=no ;; 8245 *) 8246 enable_shared=no 8247 # Look at the argument we got. We use all the common list separators. 8248 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8249 for pkg in $enableval; do 8250 IFS=$lt_save_ifs 8251 if test "X$pkg" = "X$p"; then 8252 enable_shared=yes 8253 fi 8254 done 8255 IFS=$lt_save_ifs 8256 ;; 8257 esac 8258else 8259 enable_shared=yes 8260fi 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 # Check whether --enable-static was given. 8271if test "${enable_static+set}" = set; then : 8272 enableval=$enable_static; p=${PACKAGE-default} 8273 case $enableval in 8274 yes) enable_static=yes ;; 8275 no) enable_static=no ;; 8276 *) 8277 enable_static=no 8278 # Look at the argument we got. We use all the common list separators. 8279 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8280 for pkg in $enableval; do 8281 IFS=$lt_save_ifs 8282 if test "X$pkg" = "X$p"; then 8283 enable_static=yes 8284 fi 8285 done 8286 IFS=$lt_save_ifs 8287 ;; 8288 esac 8289else 8290 enable_static=yes 8291fi 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302# Check whether --with-pic was given. 8303if test "${with_pic+set}" = set; then : 8304 withval=$with_pic; lt_p=${PACKAGE-default} 8305 case $withval in 8306 yes|no) pic_mode=$withval ;; 8307 *) 8308 pic_mode=default 8309 # Look at the argument we got. We use all the common list separators. 8310 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8311 for lt_pkg in $withval; do 8312 IFS=$lt_save_ifs 8313 if test "X$lt_pkg" = "X$lt_p"; then 8314 pic_mode=yes 8315 fi 8316 done 8317 IFS=$lt_save_ifs 8318 ;; 8319 esac 8320else 8321 pic_mode=default 8322fi 8323 8324 8325 8326 8327 8328 8329 8330 8331 # Check whether --enable-fast-install was given. 8332if test "${enable_fast_install+set}" = set; then : 8333 enableval=$enable_fast_install; p=${PACKAGE-default} 8334 case $enableval in 8335 yes) enable_fast_install=yes ;; 8336 no) enable_fast_install=no ;; 8337 *) 8338 enable_fast_install=no 8339 # Look at the argument we got. We use all the common list separators. 8340 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8341 for pkg in $enableval; do 8342 IFS=$lt_save_ifs 8343 if test "X$pkg" = "X$p"; then 8344 enable_fast_install=yes 8345 fi 8346 done 8347 IFS=$lt_save_ifs 8348 ;; 8349 esac 8350else 8351 enable_fast_install=yes 8352fi 8353 8354 8355 8356 8357 8358 8359 8360 8361 shared_archive_member_spec= 8362case $host,$enable_shared in 8363power*-*-aix[5-9]*,yes) 8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8365$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8366 8367# Check whether --with-aix-soname was given. 8368if test "${with_aix_soname+set}" = set; then : 8369 withval=$with_aix_soname; case $withval in 8370 aix|svr4|both) 8371 ;; 8372 *) 8373 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8374 ;; 8375 esac 8376 lt_cv_with_aix_soname=$with_aix_soname 8377else 8378 if ${lt_cv_with_aix_soname+:} false; then : 8379 $as_echo_n "(cached) " >&6 8380else 8381 lt_cv_with_aix_soname=aix 8382fi 8383 8384 with_aix_soname=$lt_cv_with_aix_soname 8385fi 8386 8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8388$as_echo "$with_aix_soname" >&6; } 8389 if test aix != "$with_aix_soname"; then 8390 # For the AIX way of multilib, we name the shared archive member 8391 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8392 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8393 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8394 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8395 if test 64 = "${OBJECT_MODE-32}"; then 8396 shared_archive_member_spec=shr_64 8397 else 8398 shared_archive_member_spec=shr 8399 fi 8400 fi 8401 ;; 8402*) 8403 with_aix_soname=aix 8404 ;; 8405esac 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416# This can be used to rebuild libtool when needed 8417LIBTOOL_DEPS=$ltmain 8418 8419# Always use our own libtool. 8420LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451test -z "$LN_S" && LN_S="ln -s" 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466if test -n "${ZSH_VERSION+set}"; then 8467 setopt NO_GLOB_SUBST 8468fi 8469 8470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8471$as_echo_n "checking for objdir... " >&6; } 8472if ${lt_cv_objdir+:} false; then : 8473 $as_echo_n "(cached) " >&6 8474else 8475 rm -f .libs 2>/dev/null 8476mkdir .libs 2>/dev/null 8477if test -d .libs; then 8478 lt_cv_objdir=.libs 8479else 8480 # MS-DOS does not allow filenames that begin with a dot. 8481 lt_cv_objdir=_libs 8482fi 8483rmdir .libs 2>/dev/null 8484fi 8485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8486$as_echo "$lt_cv_objdir" >&6; } 8487objdir=$lt_cv_objdir 8488 8489 8490 8491 8492 8493cat >>confdefs.h <<_ACEOF 8494#define LT_OBJDIR "$lt_cv_objdir/" 8495_ACEOF 8496 8497 8498 8499 8500case $host_os in 8501aix3*) 8502 # AIX sometimes has problems with the GCC collect2 program. For some 8503 # reason, if we set the COLLECT_NAMES environment variable, the problems 8504 # vanish in a puff of smoke. 8505 if test set != "${COLLECT_NAMES+set}"; then 8506 COLLECT_NAMES= 8507 export COLLECT_NAMES 8508 fi 8509 ;; 8510esac 8511 8512# Global variables: 8513ofile=libtool 8514can_build_shared=yes 8515 8516# All known linkers require a '.a' archive for static linking (except MSVC, 8517# which needs '.lib'). 8518libext=a 8519 8520with_gnu_ld=$lt_cv_prog_gnu_ld 8521 8522old_CC=$CC 8523old_CFLAGS=$CFLAGS 8524 8525# Set sane defaults for various variables 8526test -z "$CC" && CC=cc 8527test -z "$LTCC" && LTCC=$CC 8528test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8529test -z "$LD" && LD=ld 8530test -z "$ac_objext" && ac_objext=o 8531 8532func_cc_basename $compiler 8533cc_basename=$func_cc_basename_result 8534 8535 8536# Only perform the check for file, if the check method requires it 8537test -z "$MAGIC_CMD" && MAGIC_CMD=file 8538case $deplibs_check_method in 8539file_magic*) 8540 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8542$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8543if ${lt_cv_path_MAGIC_CMD+:} false; then : 8544 $as_echo_n "(cached) " >&6 8545else 8546 case $MAGIC_CMD in 8547[\\/*] | ?:[\\/]*) 8548 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8549 ;; 8550*) 8551 lt_save_MAGIC_CMD=$MAGIC_CMD 8552 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8553 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8554 for ac_dir in $ac_dummy; do 8555 IFS=$lt_save_ifs 8556 test -z "$ac_dir" && ac_dir=. 8557 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8558 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8559 if test -n "$file_magic_test_file"; then 8560 case $deplibs_check_method in 8561 "file_magic "*) 8562 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8563 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8564 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8565 $EGREP "$file_magic_regex" > /dev/null; then 8566 : 8567 else 8568 cat <<_LT_EOF 1>&2 8569 8570*** Warning: the command libtool uses to detect shared libraries, 8571*** $file_magic_cmd, produces output that libtool cannot recognize. 8572*** The result is that libtool may fail to recognize shared libraries 8573*** as such. This will affect the creation of libtool libraries that 8574*** depend on shared libraries, but programs linked with such libtool 8575*** libraries will work regardless of this problem. Nevertheless, you 8576*** may want to report the problem to your system manager and/or to 8577*** bug-libtool@gnu.org 8578 8579_LT_EOF 8580 fi ;; 8581 esac 8582 fi 8583 break 8584 fi 8585 done 8586 IFS=$lt_save_ifs 8587 MAGIC_CMD=$lt_save_MAGIC_CMD 8588 ;; 8589esac 8590fi 8591 8592MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8593if test -n "$MAGIC_CMD"; then 8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8595$as_echo "$MAGIC_CMD" >&6; } 8596else 8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8598$as_echo "no" >&6; } 8599fi 8600 8601 8602 8603 8604 8605if test -z "$lt_cv_path_MAGIC_CMD"; then 8606 if test -n "$ac_tool_prefix"; then 8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8608$as_echo_n "checking for file... " >&6; } 8609if ${lt_cv_path_MAGIC_CMD+:} false; then : 8610 $as_echo_n "(cached) " >&6 8611else 8612 case $MAGIC_CMD in 8613[\\/*] | ?:[\\/]*) 8614 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8615 ;; 8616*) 8617 lt_save_MAGIC_CMD=$MAGIC_CMD 8618 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8619 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8620 for ac_dir in $ac_dummy; do 8621 IFS=$lt_save_ifs 8622 test -z "$ac_dir" && ac_dir=. 8623 if test -f "$ac_dir/file"; then 8624 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8625 if test -n "$file_magic_test_file"; then 8626 case $deplibs_check_method in 8627 "file_magic "*) 8628 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8629 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8630 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8631 $EGREP "$file_magic_regex" > /dev/null; then 8632 : 8633 else 8634 cat <<_LT_EOF 1>&2 8635 8636*** Warning: the command libtool uses to detect shared libraries, 8637*** $file_magic_cmd, produces output that libtool cannot recognize. 8638*** The result is that libtool may fail to recognize shared libraries 8639*** as such. This will affect the creation of libtool libraries that 8640*** depend on shared libraries, but programs linked with such libtool 8641*** libraries will work regardless of this problem. Nevertheless, you 8642*** may want to report the problem to your system manager and/or to 8643*** bug-libtool@gnu.org 8644 8645_LT_EOF 8646 fi ;; 8647 esac 8648 fi 8649 break 8650 fi 8651 done 8652 IFS=$lt_save_ifs 8653 MAGIC_CMD=$lt_save_MAGIC_CMD 8654 ;; 8655esac 8656fi 8657 8658MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8659if test -n "$MAGIC_CMD"; then 8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8661$as_echo "$MAGIC_CMD" >&6; } 8662else 8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8664$as_echo "no" >&6; } 8665fi 8666 8667 8668 else 8669 MAGIC_CMD=: 8670 fi 8671fi 8672 8673 fi 8674 ;; 8675esac 8676 8677# Use C for the default configuration in the libtool script 8678 8679lt_save_CC=$CC 8680ac_ext=c 8681ac_cpp='$CPP $CPPFLAGS' 8682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8684ac_compiler_gnu=$ac_cv_c_compiler_gnu 8685 8686 8687# Source file extension for C test sources. 8688ac_ext=c 8689 8690# Object file extension for compiled C test sources. 8691objext=o 8692objext=$objext 8693 8694# Code to be used in simple compile tests 8695lt_simple_compile_test_code="int some_variable = 0;" 8696 8697# Code to be used in simple link tests 8698lt_simple_link_test_code='int main(){return(0);}' 8699 8700 8701 8702 8703 8704 8705 8706# If no C compiler was specified, use CC. 8707LTCC=${LTCC-"$CC"} 8708 8709# If no C compiler flags were specified, use CFLAGS. 8710LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8711 8712# Allow CC to be a program name with arguments. 8713compiler=$CC 8714 8715# Save the default compiler, since it gets overwritten when the other 8716# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8717compiler_DEFAULT=$CC 8718 8719# save warnings/boilerplate of simple test code 8720ac_outfile=conftest.$ac_objext 8721echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8722eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8723_lt_compiler_boilerplate=`cat conftest.err` 8724$RM conftest* 8725 8726ac_outfile=conftest.$ac_objext 8727echo "$lt_simple_link_test_code" >conftest.$ac_ext 8728eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8729_lt_linker_boilerplate=`cat conftest.err` 8730$RM -r conftest* 8731 8732 8733## CAVEAT EMPTOR: 8734## There is no encapsulation within the following macros, do not change 8735## the running order or otherwise move them around unless you know exactly 8736## what you are doing... 8737if test -n "$compiler"; then 8738 8739lt_prog_compiler_no_builtin_flag= 8740 8741if test yes = "$GCC"; then 8742 case $cc_basename in 8743 nvcc*) 8744 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8745 *) 8746 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8747 esac 8748 8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8750$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8751if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8752 $as_echo_n "(cached) " >&6 8753else 8754 lt_cv_prog_compiler_rtti_exceptions=no 8755 ac_outfile=conftest.$ac_objext 8756 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8757 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8758 # Insert the option either (1) after the last *FLAGS variable, or 8759 # (2) before a word containing "conftest.", or (3) at the end. 8760 # Note that $ac_compile itself does not contain backslashes and begins 8761 # with a dollar sign (not a hyphen), so the echo should work correctly. 8762 # The option is referenced via a variable to avoid confusing sed. 8763 lt_compile=`echo "$ac_compile" | $SED \ 8764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8766 -e 's:$: $lt_compiler_flag:'` 8767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8768 (eval "$lt_compile" 2>conftest.err) 8769 ac_status=$? 8770 cat conftest.err >&5 8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8772 if (exit $ac_status) && test -s "$ac_outfile"; then 8773 # The compiler can only warn and ignore the option if not recognized 8774 # So say no if there are warnings other than the usual output. 8775 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8776 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8777 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8778 lt_cv_prog_compiler_rtti_exceptions=yes 8779 fi 8780 fi 8781 $RM conftest* 8782 8783fi 8784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8785$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8786 8787if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8788 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8789else 8790 : 8791fi 8792 8793fi 8794 8795 8796 8797 8798 8799 8800 lt_prog_compiler_wl= 8801lt_prog_compiler_pic= 8802lt_prog_compiler_static= 8803 8804 8805 if test yes = "$GCC"; then 8806 lt_prog_compiler_wl='-Wl,' 8807 lt_prog_compiler_static='-static' 8808 8809 case $host_os in 8810 aix*) 8811 # All AIX code is PIC. 8812 if test ia64 = "$host_cpu"; then 8813 # AIX 5 now supports IA64 processor 8814 lt_prog_compiler_static='-Bstatic' 8815 fi 8816 lt_prog_compiler_pic='-fPIC' 8817 ;; 8818 8819 amigaos*) 8820 case $host_cpu in 8821 powerpc) 8822 # see comment about AmigaOS4 .so support 8823 lt_prog_compiler_pic='-fPIC' 8824 ;; 8825 m68k) 8826 # FIXME: we need at least 68020 code to build shared libraries, but 8827 # adding the '-m68020' flag to GCC prevents building anything better, 8828 # like '-m68040'. 8829 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8830 ;; 8831 esac 8832 ;; 8833 8834 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8835 # PIC is the default for these OSes. 8836 ;; 8837 8838 mingw* | cygwin* | pw32* | os2* | cegcc*) 8839 # This hack is so that the source file can tell whether it is being 8840 # built for inclusion in a dll (and should export symbols for example). 8841 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8842 # (--disable-auto-import) libraries 8843 lt_prog_compiler_pic='-DDLL_EXPORT' 8844 case $host_os in 8845 os2*) 8846 lt_prog_compiler_static='$wl-static' 8847 ;; 8848 esac 8849 ;; 8850 8851 darwin* | rhapsody*) 8852 # PIC is the default on this platform 8853 # Common symbols not allowed in MH_DYLIB files 8854 lt_prog_compiler_pic='-fno-common' 8855 ;; 8856 8857 haiku*) 8858 # PIC is the default for Haiku. 8859 # The "-static" flag exists, but is broken. 8860 lt_prog_compiler_static= 8861 ;; 8862 8863 hpux*) 8864 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8865 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8866 # sets the default TLS model and affects inlining. 8867 case $host_cpu in 8868 hppa*64*) 8869 # +Z the default 8870 ;; 8871 *) 8872 lt_prog_compiler_pic='-fPIC' 8873 ;; 8874 esac 8875 ;; 8876 8877 interix[3-9]*) 8878 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8879 # Instead, we relocate shared libraries at runtime. 8880 ;; 8881 8882 msdosdjgpp*) 8883 # Just because we use GCC doesn't mean we suddenly get shared libraries 8884 # on systems that don't support them. 8885 lt_prog_compiler_can_build_shared=no 8886 enable_shared=no 8887 ;; 8888 8889 *nto* | *qnx*) 8890 # QNX uses GNU C++, but need to define -shared option too, otherwise 8891 # it will coredump. 8892 lt_prog_compiler_pic='-fPIC -shared' 8893 ;; 8894 8895 sysv4*MP*) 8896 if test -d /usr/nec; then 8897 lt_prog_compiler_pic=-Kconform_pic 8898 fi 8899 ;; 8900 8901 *) 8902 lt_prog_compiler_pic='-fPIC' 8903 ;; 8904 esac 8905 8906 case $cc_basename in 8907 nvcc*) # Cuda Compiler Driver 2.2 8908 lt_prog_compiler_wl='-Xlinker ' 8909 if test -n "$lt_prog_compiler_pic"; then 8910 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8911 fi 8912 ;; 8913 esac 8914 else 8915 # PORTME Check for flag to pass linker flags through the system compiler. 8916 case $host_os in 8917 aix*) 8918 lt_prog_compiler_wl='-Wl,' 8919 if test ia64 = "$host_cpu"; then 8920 # AIX 5 now supports IA64 processor 8921 lt_prog_compiler_static='-Bstatic' 8922 else 8923 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8924 fi 8925 ;; 8926 8927 darwin* | rhapsody*) 8928 # PIC is the default on this platform 8929 # Common symbols not allowed in MH_DYLIB files 8930 lt_prog_compiler_pic='-fno-common' 8931 case $cc_basename in 8932 nagfor*) 8933 # NAG Fortran compiler 8934 lt_prog_compiler_wl='-Wl,-Wl,,' 8935 lt_prog_compiler_pic='-PIC' 8936 lt_prog_compiler_static='-Bstatic' 8937 ;; 8938 esac 8939 ;; 8940 8941 mingw* | cygwin* | pw32* | os2* | cegcc*) 8942 # This hack is so that the source file can tell whether it is being 8943 # built for inclusion in a dll (and should export symbols for example). 8944 lt_prog_compiler_pic='-DDLL_EXPORT' 8945 case $host_os in 8946 os2*) 8947 lt_prog_compiler_static='$wl-static' 8948 ;; 8949 esac 8950 ;; 8951 8952 hpux9* | hpux10* | hpux11*) 8953 lt_prog_compiler_wl='-Wl,' 8954 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8955 # not for PA HP-UX. 8956 case $host_cpu in 8957 hppa*64*|ia64*) 8958 # +Z the default 8959 ;; 8960 *) 8961 lt_prog_compiler_pic='+Z' 8962 ;; 8963 esac 8964 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8965 lt_prog_compiler_static='$wl-a ${wl}archive' 8966 ;; 8967 8968 irix5* | irix6* | nonstopux*) 8969 lt_prog_compiler_wl='-Wl,' 8970 # PIC (with -KPIC) is the default. 8971 lt_prog_compiler_static='-non_shared' 8972 ;; 8973 8974 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8975 case $cc_basename in 8976 # old Intel for x86_64, which still supported -KPIC. 8977 ecc*) 8978 lt_prog_compiler_wl='-Wl,' 8979 lt_prog_compiler_pic='-KPIC' 8980 lt_prog_compiler_static='-static' 8981 ;; 8982 # icc used to be incompatible with GCC. 8983 # ICC 10 doesn't accept -KPIC any more. 8984 icc* | ifort*) 8985 lt_prog_compiler_wl='-Wl,' 8986 lt_prog_compiler_pic='-fPIC' 8987 lt_prog_compiler_static='-static' 8988 ;; 8989 # Lahey Fortran 8.1. 8990 lf95*) 8991 lt_prog_compiler_wl='-Wl,' 8992 lt_prog_compiler_pic='--shared' 8993 lt_prog_compiler_static='--static' 8994 ;; 8995 nagfor*) 8996 # NAG Fortran compiler 8997 lt_prog_compiler_wl='-Wl,-Wl,,' 8998 lt_prog_compiler_pic='-PIC' 8999 lt_prog_compiler_static='-Bstatic' 9000 ;; 9001 tcc*) 9002 # Fabrice Bellard et al's Tiny C Compiler 9003 lt_prog_compiler_wl='-Wl,' 9004 lt_prog_compiler_pic='-fPIC' 9005 lt_prog_compiler_static='-static' 9006 ;; 9007 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9008 # Portland Group compilers (*not* the Pentium gcc compiler, 9009 # which looks to be a dead project) 9010 lt_prog_compiler_wl='-Wl,' 9011 lt_prog_compiler_pic='-fpic' 9012 lt_prog_compiler_static='-Bstatic' 9013 ;; 9014 ccc*) 9015 lt_prog_compiler_wl='-Wl,' 9016 # All Alpha code is PIC. 9017 lt_prog_compiler_static='-non_shared' 9018 ;; 9019 xl* | bgxl* | bgf* | mpixl*) 9020 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9021 lt_prog_compiler_wl='-Wl,' 9022 lt_prog_compiler_pic='-qpic' 9023 lt_prog_compiler_static='-qstaticlink' 9024 ;; 9025 *) 9026 case `$CC -V 2>&1 | sed 5q` in 9027 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9028 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9029 lt_prog_compiler_pic='-KPIC' 9030 lt_prog_compiler_static='-Bstatic' 9031 lt_prog_compiler_wl='' 9032 ;; 9033 *Sun\ F* | *Sun*Fortran*) 9034 lt_prog_compiler_pic='-KPIC' 9035 lt_prog_compiler_static='-Bstatic' 9036 lt_prog_compiler_wl='-Qoption ld ' 9037 ;; 9038 *Sun\ C*) 9039 # Sun C 5.9 9040 lt_prog_compiler_pic='-KPIC' 9041 lt_prog_compiler_static='-Bstatic' 9042 lt_prog_compiler_wl='-Wl,' 9043 ;; 9044 *Intel*\ [CF]*Compiler*) 9045 lt_prog_compiler_wl='-Wl,' 9046 lt_prog_compiler_pic='-fPIC' 9047 lt_prog_compiler_static='-static' 9048 ;; 9049 *Portland\ Group*) 9050 lt_prog_compiler_wl='-Wl,' 9051 lt_prog_compiler_pic='-fpic' 9052 lt_prog_compiler_static='-Bstatic' 9053 ;; 9054 esac 9055 ;; 9056 esac 9057 ;; 9058 9059 newsos6) 9060 lt_prog_compiler_pic='-KPIC' 9061 lt_prog_compiler_static='-Bstatic' 9062 ;; 9063 9064 *nto* | *qnx*) 9065 # QNX uses GNU C++, but need to define -shared option too, otherwise 9066 # it will coredump. 9067 lt_prog_compiler_pic='-fPIC -shared' 9068 ;; 9069 9070 osf3* | osf4* | osf5*) 9071 lt_prog_compiler_wl='-Wl,' 9072 # All OSF/1 code is PIC. 9073 lt_prog_compiler_static='-non_shared' 9074 ;; 9075 9076 rdos*) 9077 lt_prog_compiler_static='-non_shared' 9078 ;; 9079 9080 solaris*) 9081 lt_prog_compiler_pic='-KPIC' 9082 lt_prog_compiler_static='-Bstatic' 9083 case $cc_basename in 9084 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9085 lt_prog_compiler_wl='-Qoption ld ';; 9086 *) 9087 lt_prog_compiler_wl='-Wl,';; 9088 esac 9089 ;; 9090 9091 sunos4*) 9092 lt_prog_compiler_wl='-Qoption ld ' 9093 lt_prog_compiler_pic='-PIC' 9094 lt_prog_compiler_static='-Bstatic' 9095 ;; 9096 9097 sysv4 | sysv4.2uw2* | sysv4.3*) 9098 lt_prog_compiler_wl='-Wl,' 9099 lt_prog_compiler_pic='-KPIC' 9100 lt_prog_compiler_static='-Bstatic' 9101 ;; 9102 9103 sysv4*MP*) 9104 if test -d /usr/nec; then 9105 lt_prog_compiler_pic='-Kconform_pic' 9106 lt_prog_compiler_static='-Bstatic' 9107 fi 9108 ;; 9109 9110 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9111 lt_prog_compiler_wl='-Wl,' 9112 lt_prog_compiler_pic='-KPIC' 9113 lt_prog_compiler_static='-Bstatic' 9114 ;; 9115 9116 unicos*) 9117 lt_prog_compiler_wl='-Wl,' 9118 lt_prog_compiler_can_build_shared=no 9119 ;; 9120 9121 uts4*) 9122 lt_prog_compiler_pic='-pic' 9123 lt_prog_compiler_static='-Bstatic' 9124 ;; 9125 9126 *) 9127 lt_prog_compiler_can_build_shared=no 9128 ;; 9129 esac 9130 fi 9131 9132case $host_os in 9133 # For platforms that do not support PIC, -DPIC is meaningless: 9134 *djgpp*) 9135 lt_prog_compiler_pic= 9136 ;; 9137 *) 9138 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9139 ;; 9140esac 9141 9142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9143$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9144if ${lt_cv_prog_compiler_pic+:} false; then : 9145 $as_echo_n "(cached) " >&6 9146else 9147 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9148fi 9149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9150$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9151lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9152 9153# 9154# Check to make sure the PIC flag actually works. 9155# 9156if test -n "$lt_prog_compiler_pic"; then 9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9158$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9159if ${lt_cv_prog_compiler_pic_works+:} false; then : 9160 $as_echo_n "(cached) " >&6 9161else 9162 lt_cv_prog_compiler_pic_works=no 9163 ac_outfile=conftest.$ac_objext 9164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9165 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9166 # Insert the option either (1) after the last *FLAGS variable, or 9167 # (2) before a word containing "conftest.", or (3) at the end. 9168 # Note that $ac_compile itself does not contain backslashes and begins 9169 # with a dollar sign (not a hyphen), so the echo should work correctly. 9170 # The option is referenced via a variable to avoid confusing sed. 9171 lt_compile=`echo "$ac_compile" | $SED \ 9172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9174 -e 's:$: $lt_compiler_flag:'` 9175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9176 (eval "$lt_compile" 2>conftest.err) 9177 ac_status=$? 9178 cat conftest.err >&5 9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9180 if (exit $ac_status) && test -s "$ac_outfile"; then 9181 # The compiler can only warn and ignore the option if not recognized 9182 # So say no if there are warnings other than the usual output. 9183 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9184 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9185 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9186 lt_cv_prog_compiler_pic_works=yes 9187 fi 9188 fi 9189 $RM conftest* 9190 9191fi 9192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9193$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9194 9195if test yes = "$lt_cv_prog_compiler_pic_works"; then 9196 case $lt_prog_compiler_pic in 9197 "" | " "*) ;; 9198 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9199 esac 9200else 9201 lt_prog_compiler_pic= 9202 lt_prog_compiler_can_build_shared=no 9203fi 9204 9205fi 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217# 9218# Check to make sure the static flag actually works. 9219# 9220wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9222$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9223if ${lt_cv_prog_compiler_static_works+:} false; then : 9224 $as_echo_n "(cached) " >&6 9225else 9226 lt_cv_prog_compiler_static_works=no 9227 save_LDFLAGS=$LDFLAGS 9228 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9229 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9230 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9231 # The linker can only warn and ignore the option if not recognized 9232 # So say no if there are warnings 9233 if test -s conftest.err; then 9234 # Append any errors to the config.log. 9235 cat conftest.err 1>&5 9236 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9237 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9238 if diff conftest.exp conftest.er2 >/dev/null; then 9239 lt_cv_prog_compiler_static_works=yes 9240 fi 9241 else 9242 lt_cv_prog_compiler_static_works=yes 9243 fi 9244 fi 9245 $RM -r conftest* 9246 LDFLAGS=$save_LDFLAGS 9247 9248fi 9249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9250$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9251 9252if test yes = "$lt_cv_prog_compiler_static_works"; then 9253 : 9254else 9255 lt_prog_compiler_static= 9256fi 9257 9258 9259 9260 9261 9262 9263 9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9265$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9266if ${lt_cv_prog_compiler_c_o+:} false; then : 9267 $as_echo_n "(cached) " >&6 9268else 9269 lt_cv_prog_compiler_c_o=no 9270 $RM -r conftest 2>/dev/null 9271 mkdir conftest 9272 cd conftest 9273 mkdir out 9274 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9275 9276 lt_compiler_flag="-o out/conftest2.$ac_objext" 9277 # Insert the option either (1) after the last *FLAGS variable, or 9278 # (2) before a word containing "conftest.", or (3) at the end. 9279 # Note that $ac_compile itself does not contain backslashes and begins 9280 # with a dollar sign (not a hyphen), so the echo should work correctly. 9281 lt_compile=`echo "$ac_compile" | $SED \ 9282 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9284 -e 's:$: $lt_compiler_flag:'` 9285 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9286 (eval "$lt_compile" 2>out/conftest.err) 9287 ac_status=$? 9288 cat out/conftest.err >&5 9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9290 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9291 then 9292 # The compiler can only warn and ignore the option if not recognized 9293 # So say no if there are warnings 9294 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9295 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9296 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9297 lt_cv_prog_compiler_c_o=yes 9298 fi 9299 fi 9300 chmod u+w . 2>&5 9301 $RM conftest* 9302 # SGI C++ compiler will create directory out/ii_files/ for 9303 # template instantiation 9304 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9305 $RM out/* && rmdir out 9306 cd .. 9307 $RM -r conftest 9308 $RM conftest* 9309 9310fi 9311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9312$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9313 9314 9315 9316 9317 9318 9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9320$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9321if ${lt_cv_prog_compiler_c_o+:} false; then : 9322 $as_echo_n "(cached) " >&6 9323else 9324 lt_cv_prog_compiler_c_o=no 9325 $RM -r conftest 2>/dev/null 9326 mkdir conftest 9327 cd conftest 9328 mkdir out 9329 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9330 9331 lt_compiler_flag="-o out/conftest2.$ac_objext" 9332 # Insert the option either (1) after the last *FLAGS variable, or 9333 # (2) before a word containing "conftest.", or (3) at the end. 9334 # Note that $ac_compile itself does not contain backslashes and begins 9335 # with a dollar sign (not a hyphen), so the echo should work correctly. 9336 lt_compile=`echo "$ac_compile" | $SED \ 9337 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9338 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9339 -e 's:$: $lt_compiler_flag:'` 9340 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9341 (eval "$lt_compile" 2>out/conftest.err) 9342 ac_status=$? 9343 cat out/conftest.err >&5 9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9345 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9346 then 9347 # The compiler can only warn and ignore the option if not recognized 9348 # So say no if there are warnings 9349 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9350 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9351 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9352 lt_cv_prog_compiler_c_o=yes 9353 fi 9354 fi 9355 chmod u+w . 2>&5 9356 $RM conftest* 9357 # SGI C++ compiler will create directory out/ii_files/ for 9358 # template instantiation 9359 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9360 $RM out/* && rmdir out 9361 cd .. 9362 $RM -r conftest 9363 $RM conftest* 9364 9365fi 9366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9367$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9368 9369 9370 9371 9372hard_links=nottested 9373if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9374 # do not overwrite the value of need_locks provided by the user 9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9376$as_echo_n "checking if we can lock with hard links... " >&6; } 9377 hard_links=yes 9378 $RM conftest* 9379 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9380 touch conftest.a 9381 ln conftest.a conftest.b 2>&5 || hard_links=no 9382 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9384$as_echo "$hard_links" >&6; } 9385 if test no = "$hard_links"; then 9386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9387$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9388 need_locks=warn 9389 fi 9390else 9391 need_locks=no 9392fi 9393 9394 9395 9396 9397 9398 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9400$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9401 9402 runpath_var= 9403 allow_undefined_flag= 9404 always_export_symbols=no 9405 archive_cmds= 9406 archive_expsym_cmds= 9407 compiler_needs_object=no 9408 enable_shared_with_static_runtimes=no 9409 export_dynamic_flag_spec= 9410 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9411 hardcode_automatic=no 9412 hardcode_direct=no 9413 hardcode_direct_absolute=no 9414 hardcode_libdir_flag_spec= 9415 hardcode_libdir_separator= 9416 hardcode_minus_L=no 9417 hardcode_shlibpath_var=unsupported 9418 inherit_rpath=no 9419 link_all_deplibs=unknown 9420 module_cmds= 9421 module_expsym_cmds= 9422 old_archive_from_new_cmds= 9423 old_archive_from_expsyms_cmds= 9424 thread_safe_flag_spec= 9425 whole_archive_flag_spec= 9426 # include_expsyms should be a list of space-separated symbols to be *always* 9427 # included in the symbol list 9428 include_expsyms= 9429 # exclude_expsyms can be an extended regexp of symbols to exclude 9430 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9431 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9432 # as well as any symbol that contains 'd'. 9433 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9434 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9435 # platforms (ab)use it in PIC code, but their linkers get confused if 9436 # the symbol is explicitly referenced. Since portable code cannot 9437 # rely on this symbol name, it's probably fine to never include it in 9438 # preloaded symbol tables. 9439 # Exclude shared library initialization/finalization symbols. 9440 extract_expsyms_cmds= 9441 9442 case $host_os in 9443 cygwin* | mingw* | pw32* | cegcc*) 9444 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9445 # When not using gcc, we currently assume that we are using 9446 # Microsoft Visual C++. 9447 if test yes != "$GCC"; then 9448 with_gnu_ld=no 9449 fi 9450 ;; 9451 interix*) 9452 # we just hope/assume this is gcc and not c89 (= MSVC++) 9453 with_gnu_ld=yes 9454 ;; 9455 openbsd* | bitrig*) 9456 with_gnu_ld=no 9457 ;; 9458 linux* | k*bsd*-gnu | gnu*) 9459 link_all_deplibs=no 9460 ;; 9461 esac 9462 9463 ld_shlibs=yes 9464 9465 # On some targets, GNU ld is compatible enough with the native linker 9466 # that we're better off using the native interface for both. 9467 lt_use_gnu_ld_interface=no 9468 if test yes = "$with_gnu_ld"; then 9469 case $host_os in 9470 aix*) 9471 # The AIX port of GNU ld has always aspired to compatibility 9472 # with the native linker. However, as the warning in the GNU ld 9473 # block says, versions before 2.19.5* couldn't really create working 9474 # shared libraries, regardless of the interface used. 9475 case `$LD -v 2>&1` in 9476 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9477 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9478 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9479 *) 9480 lt_use_gnu_ld_interface=yes 9481 ;; 9482 esac 9483 ;; 9484 *) 9485 lt_use_gnu_ld_interface=yes 9486 ;; 9487 esac 9488 fi 9489 9490 if test yes = "$lt_use_gnu_ld_interface"; then 9491 # If archive_cmds runs LD, not CC, wlarc should be empty 9492 wlarc='$wl' 9493 9494 # Set some defaults for GNU ld with shared library support. These 9495 # are reset later if shared libraries are not supported. Putting them 9496 # here allows them to be overridden if necessary. 9497 runpath_var=LD_RUN_PATH 9498 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9499 export_dynamic_flag_spec='$wl--export-dynamic' 9500 # ancient GNU ld didn't support --whole-archive et. al. 9501 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9502 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9503 else 9504 whole_archive_flag_spec= 9505 fi 9506 supports_anon_versioning=no 9507 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9508 *GNU\ gold*) supports_anon_versioning=yes ;; 9509 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9510 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9511 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9512 *\ 2.11.*) ;; # other 2.11 versions 9513 *) supports_anon_versioning=yes ;; 9514 esac 9515 9516 # See if GNU ld supports shared libraries. 9517 case $host_os in 9518 aix[3-9]*) 9519 # On AIX/PPC, the GNU linker is very broken 9520 if test ia64 != "$host_cpu"; then 9521 ld_shlibs=no 9522 cat <<_LT_EOF 1>&2 9523 9524*** Warning: the GNU linker, at least up to release 2.19, is reported 9525*** to be unable to reliably create shared libraries on AIX. 9526*** Therefore, libtool is disabling shared libraries support. If you 9527*** really care for shared libraries, you may want to install binutils 9528*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9529*** You will then need to restart the configuration process. 9530 9531_LT_EOF 9532 fi 9533 ;; 9534 9535 amigaos*) 9536 case $host_cpu in 9537 powerpc) 9538 # see comment about AmigaOS4 .so support 9539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9540 archive_expsym_cmds='' 9541 ;; 9542 m68k) 9543 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9544 hardcode_libdir_flag_spec='-L$libdir' 9545 hardcode_minus_L=yes 9546 ;; 9547 esac 9548 ;; 9549 9550 beos*) 9551 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9552 allow_undefined_flag=unsupported 9553 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9554 # support --undefined. This deserves some investigation. FIXME 9555 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9556 else 9557 ld_shlibs=no 9558 fi 9559 ;; 9560 9561 cygwin* | mingw* | pw32* | cegcc*) 9562 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9563 # as there is no search path for DLLs. 9564 hardcode_libdir_flag_spec='-L$libdir' 9565 export_dynamic_flag_spec='$wl--export-all-symbols' 9566 allow_undefined_flag=unsupported 9567 always_export_symbols=no 9568 enable_shared_with_static_runtimes=yes 9569 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 9570 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9571 9572 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9573 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9574 # If the export-symbols file already is a .def file, use it as 9575 # is; otherwise, prepend EXPORTS... 9576 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9577 cp $export_symbols $output_objdir/$soname.def; 9578 else 9579 echo EXPORTS > $output_objdir/$soname.def; 9580 cat $export_symbols >> $output_objdir/$soname.def; 9581 fi~ 9582 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9583 else 9584 ld_shlibs=no 9585 fi 9586 ;; 9587 9588 haiku*) 9589 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9590 link_all_deplibs=yes 9591 ;; 9592 9593 os2*) 9594 hardcode_libdir_flag_spec='-L$libdir' 9595 hardcode_minus_L=yes 9596 allow_undefined_flag=unsupported 9597 shrext_cmds=.dll 9598 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9599 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9600 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9601 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9602 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9603 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9604 emximp -o $lib $output_objdir/$libname.def' 9605 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9606 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9607 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9608 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9609 prefix_cmds="$SED"~ 9610 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9611 prefix_cmds="$prefix_cmds -e 1d"; 9612 fi~ 9613 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9614 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9615 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9616 emximp -o $lib $output_objdir/$libname.def' 9617 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9618 enable_shared_with_static_runtimes=yes 9619 ;; 9620 9621 interix[3-9]*) 9622 hardcode_direct=no 9623 hardcode_shlibpath_var=no 9624 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9625 export_dynamic_flag_spec='$wl-E' 9626 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9627 # Instead, shared libraries are loaded at an image base (0x10000000 by 9628 # default) and relocated if they conflict, which is a slow very memory 9629 # consuming and fragmenting process. To avoid this, we pick a random, 9630 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9631 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9632 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9633 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9634 ;; 9635 9636 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9637 tmp_diet=no 9638 if test linux-dietlibc = "$host_os"; then 9639 case $cc_basename in 9640 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9641 esac 9642 fi 9643 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9644 && test no = "$tmp_diet" 9645 then 9646 tmp_addflag=' $pic_flag' 9647 tmp_sharedflag='-shared' 9648 case $cc_basename,$host_cpu in 9649 pgcc*) # Portland Group C compiler 9650 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9651 tmp_addflag=' $pic_flag' 9652 ;; 9653 pgf77* | pgf90* | pgf95* | pgfortran*) 9654 # Portland Group f77 and f90 compilers 9655 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9656 tmp_addflag=' $pic_flag -Mnomain' ;; 9657 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9658 tmp_addflag=' -i_dynamic' ;; 9659 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9660 tmp_addflag=' -i_dynamic -nofor_main' ;; 9661 ifc* | ifort*) # Intel Fortran compiler 9662 tmp_addflag=' -nofor_main' ;; 9663 lf95*) # Lahey Fortran 8.1 9664 whole_archive_flag_spec= 9665 tmp_sharedflag='--shared' ;; 9666 nagfor*) # NAGFOR 5.3 9667 tmp_sharedflag='-Wl,-shared' ;; 9668 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9669 tmp_sharedflag='-qmkshrobj' 9670 tmp_addflag= ;; 9671 nvcc*) # Cuda Compiler Driver 2.2 9672 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9673 compiler_needs_object=yes 9674 ;; 9675 esac 9676 case `$CC -V 2>&1 | sed 5q` in 9677 *Sun\ C*) # Sun C 5.9 9678 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 9679 compiler_needs_object=yes 9680 tmp_sharedflag='-G' ;; 9681 *Sun\ F*) # Sun Fortran 8.3 9682 tmp_sharedflag='-G' ;; 9683 esac 9684 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9685 9686 if test yes = "$supports_anon_versioning"; then 9687 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9688 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9689 echo "local: *; };" >> $output_objdir/$libname.ver~ 9690 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9691 fi 9692 9693 case $cc_basename in 9694 tcc*) 9695 export_dynamic_flag_spec='-rdynamic' 9696 ;; 9697 xlf* | bgf* | bgxlf* | mpixlf*) 9698 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9699 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9700 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9701 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9702 if test yes = "$supports_anon_versioning"; then 9703 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9704 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9705 echo "local: *; };" >> $output_objdir/$libname.ver~ 9706 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9707 fi 9708 ;; 9709 esac 9710 else 9711 ld_shlibs=no 9712 fi 9713 ;; 9714 9715 netbsd* | netbsdelf*-gnu) 9716 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9717 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9718 wlarc= 9719 else 9720 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9721 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9722 fi 9723 ;; 9724 9725 solaris*) 9726 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9727 ld_shlibs=no 9728 cat <<_LT_EOF 1>&2 9729 9730*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9731*** create shared libraries on Solaris systems. Therefore, libtool 9732*** is disabling shared libraries support. We urge you to upgrade GNU 9733*** binutils to release 2.9.1 or newer. Another option is to modify 9734*** your PATH or compiler configuration so that the native linker is 9735*** used, and then restart. 9736 9737_LT_EOF 9738 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9739 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9740 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9741 else 9742 ld_shlibs=no 9743 fi 9744 ;; 9745 9746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9747 case `$LD -v 2>&1` in 9748 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9749 ld_shlibs=no 9750 cat <<_LT_EOF 1>&2 9751 9752*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9753*** reliably create shared libraries on SCO systems. Therefore, libtool 9754*** is disabling shared libraries support. We urge you to upgrade GNU 9755*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9756*** your PATH or compiler configuration so that the native linker is 9757*** used, and then restart. 9758 9759_LT_EOF 9760 ;; 9761 *) 9762 # For security reasons, it is highly recommended that you always 9763 # use absolute paths for naming shared libraries, and exclude the 9764 # DT_RUNPATH tag from executables and libraries. But doing so 9765 # requires that you compile everything twice, which is a pain. 9766 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9767 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9769 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9770 else 9771 ld_shlibs=no 9772 fi 9773 ;; 9774 esac 9775 ;; 9776 9777 sunos4*) 9778 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9779 wlarc= 9780 hardcode_direct=yes 9781 hardcode_shlibpath_var=no 9782 ;; 9783 9784 *) 9785 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9786 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9787 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9788 else 9789 ld_shlibs=no 9790 fi 9791 ;; 9792 esac 9793 9794 if test no = "$ld_shlibs"; then 9795 runpath_var= 9796 hardcode_libdir_flag_spec= 9797 export_dynamic_flag_spec= 9798 whole_archive_flag_spec= 9799 fi 9800 else 9801 # PORTME fill in a description of your system's linker (not GNU ld) 9802 case $host_os in 9803 aix3*) 9804 allow_undefined_flag=unsupported 9805 always_export_symbols=yes 9806 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 9807 # Note: this linker hardcodes the directories in LIBPATH if there 9808 # are no directories specified by -L. 9809 hardcode_minus_L=yes 9810 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9811 # Neither direct hardcoding nor static linking is supported with a 9812 # broken collect2. 9813 hardcode_direct=unsupported 9814 fi 9815 ;; 9816 9817 aix[4-9]*) 9818 if test ia64 = "$host_cpu"; then 9819 # On IA64, the linker does run time linking by default, so we don't 9820 # have to do anything special. 9821 aix_use_runtimelinking=no 9822 exp_sym_flag='-Bexport' 9823 no_entry_flag= 9824 else 9825 # If we're using GNU nm, then we don't want the "-C" option. 9826 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9827 # Without the "-l" option, or with the "-B" option, AIX nm treats 9828 # weak defined symbols like other global defined symbols, whereas 9829 # GNU nm marks them as "W". 9830 # While the 'weak' keyword is ignored in the Export File, we need 9831 # it in the Import File for the 'aix-soname' feature, so we have 9832 # to replace the "-B" option with "-P" for AIX nm. 9833 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9834 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9835 else 9836 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9837 fi 9838 aix_use_runtimelinking=no 9839 9840 # Test if we are trying to use run time linking or normal 9841 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9842 # have runtime linking enabled, and use it for executables. 9843 # For shared libraries, we enable/disable runtime linking 9844 # depending on the kind of the shared library created - 9845 # when "with_aix_soname,aix_use_runtimelinking" is: 9846 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9847 # "aix,yes" lib.so shared, rtl:yes, for executables 9848 # lib.a static archive 9849 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9850 # lib.a(lib.so.V) shared, rtl:no, for executables 9851 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9852 # lib.a(lib.so.V) shared, rtl:no 9853 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9854 # lib.a static archive 9855 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9856 for ld_flag in $LDFLAGS; do 9857 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9858 aix_use_runtimelinking=yes 9859 break 9860 fi 9861 done 9862 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9863 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9864 # so we don't have lib.a shared libs to link our executables. 9865 # We have to force runtime linking in this case. 9866 aix_use_runtimelinking=yes 9867 LDFLAGS="$LDFLAGS -Wl,-brtl" 9868 fi 9869 ;; 9870 esac 9871 9872 exp_sym_flag='-bexport' 9873 no_entry_flag='-bnoentry' 9874 fi 9875 9876 # When large executables or shared objects are built, AIX ld can 9877 # have problems creating the table of contents. If linking a library 9878 # or program results in "error TOC overflow" add -mminimal-toc to 9879 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9880 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9881 9882 archive_cmds='' 9883 hardcode_direct=yes 9884 hardcode_direct_absolute=yes 9885 hardcode_libdir_separator=':' 9886 link_all_deplibs=yes 9887 file_list_spec='$wl-f,' 9888 case $with_aix_soname,$aix_use_runtimelinking in 9889 aix,*) ;; # traditional, no import file 9890 svr4,* | *,yes) # use import file 9891 # The Import File defines what to hardcode. 9892 hardcode_direct=no 9893 hardcode_direct_absolute=no 9894 ;; 9895 esac 9896 9897 if test yes = "$GCC"; then 9898 case $host_os in aix4.[012]|aix4.[012].*) 9899 # We only want to do this on AIX 4.2 and lower, the check 9900 # below for broken collect2 doesn't work under 4.3+ 9901 collect2name=`$CC -print-prog-name=collect2` 9902 if test -f "$collect2name" && 9903 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9904 then 9905 # We have reworked collect2 9906 : 9907 else 9908 # We have old collect2 9909 hardcode_direct=unsupported 9910 # It fails to find uninstalled libraries when the uninstalled 9911 # path is not listed in the libpath. Setting hardcode_minus_L 9912 # to unsupported forces relinking 9913 hardcode_minus_L=yes 9914 hardcode_libdir_flag_spec='-L$libdir' 9915 hardcode_libdir_separator= 9916 fi 9917 ;; 9918 esac 9919 shared_flag='-shared' 9920 if test yes = "$aix_use_runtimelinking"; then 9921 shared_flag="$shared_flag "'$wl-G' 9922 fi 9923 # Need to ensure runtime linking is disabled for the traditional 9924 # shared library, or the linker may eventually find shared libraries 9925 # /with/ Import File - we do not want to mix them. 9926 shared_flag_aix='-shared' 9927 shared_flag_svr4='-shared $wl-G' 9928 else 9929 # not using gcc 9930 if test ia64 = "$host_cpu"; then 9931 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9932 # chokes on -Wl,-G. The following line is correct: 9933 shared_flag='-G' 9934 else 9935 if test yes = "$aix_use_runtimelinking"; then 9936 shared_flag='$wl-G' 9937 else 9938 shared_flag='$wl-bM:SRE' 9939 fi 9940 shared_flag_aix='$wl-bM:SRE' 9941 shared_flag_svr4='$wl-G' 9942 fi 9943 fi 9944 9945 export_dynamic_flag_spec='$wl-bexpall' 9946 # It seems that -bexpall does not export symbols beginning with 9947 # underscore (_), so it is better to generate a list of symbols to export. 9948 always_export_symbols=yes 9949 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9950 # Warning - without using the other runtime loading flags (-brtl), 9951 # -berok will link without error, but may produce a broken library. 9952 allow_undefined_flag='-berok' 9953 # Determine the default libpath from the value encoded in an 9954 # empty executable. 9955 if test set = "${lt_cv_aix_libpath+set}"; then 9956 aix_libpath=$lt_cv_aix_libpath 9957else 9958 if ${lt_cv_aix_libpath_+:} false; then : 9959 $as_echo_n "(cached) " >&6 9960else 9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9962/* end confdefs.h. */ 9963 9964int 9965main () 9966{ 9967 9968 ; 9969 return 0; 9970} 9971_ACEOF 9972if ac_fn_c_try_link "$LINENO"; then : 9973 9974 lt_aix_libpath_sed=' 9975 /Import File Strings/,/^$/ { 9976 /^0/ { 9977 s/^0 *\([^ ]*\) *$/\1/ 9978 p 9979 } 9980 }' 9981 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9982 # Check for a 64-bit object if we didn't find anything. 9983 if test -z "$lt_cv_aix_libpath_"; then 9984 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9985 fi 9986fi 9987rm -f core conftest.err conftest.$ac_objext \ 9988 conftest$ac_exeext conftest.$ac_ext 9989 if test -z "$lt_cv_aix_libpath_"; then 9990 lt_cv_aix_libpath_=/usr/lib:/lib 9991 fi 9992 9993fi 9994 9995 aix_libpath=$lt_cv_aix_libpath_ 9996fi 9997 9998 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9999 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 10000 else 10001 if test ia64 = "$host_cpu"; then 10002 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10003 allow_undefined_flag="-z nodefs" 10004 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 10005 else 10006 # Determine the default libpath from the value encoded in an 10007 # empty executable. 10008 if test set = "${lt_cv_aix_libpath+set}"; then 10009 aix_libpath=$lt_cv_aix_libpath 10010else 10011 if ${lt_cv_aix_libpath_+:} false; then : 10012 $as_echo_n "(cached) " >&6 10013else 10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10015/* end confdefs.h. */ 10016 10017int 10018main () 10019{ 10020 10021 ; 10022 return 0; 10023} 10024_ACEOF 10025if ac_fn_c_try_link "$LINENO"; then : 10026 10027 lt_aix_libpath_sed=' 10028 /Import File Strings/,/^$/ { 10029 /^0/ { 10030 s/^0 *\([^ ]*\) *$/\1/ 10031 p 10032 } 10033 }' 10034 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10035 # Check for a 64-bit object if we didn't find anything. 10036 if test -z "$lt_cv_aix_libpath_"; then 10037 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10038 fi 10039fi 10040rm -f core conftest.err conftest.$ac_objext \ 10041 conftest$ac_exeext conftest.$ac_ext 10042 if test -z "$lt_cv_aix_libpath_"; then 10043 lt_cv_aix_libpath_=/usr/lib:/lib 10044 fi 10045 10046fi 10047 10048 aix_libpath=$lt_cv_aix_libpath_ 10049fi 10050 10051 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10052 # Warning - without using the other run time loading flags, 10053 # -berok will link without error, but may produce a broken library. 10054 no_undefined_flag=' $wl-bernotok' 10055 allow_undefined_flag=' $wl-berok' 10056 if test yes = "$with_gnu_ld"; then 10057 # We only use this code for GNU lds that support --whole-archive. 10058 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10059 else 10060 # Exported symbols can be pulled into shared objects from archives 10061 whole_archive_flag_spec='$convenience' 10062 fi 10063 archive_cmds_need_lc=yes 10064 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10065 # -brtl affects multiple linker settings, -berok does not and is overridden later 10066 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10067 if test svr4 != "$with_aix_soname"; then 10068 # This is similar to how AIX traditionally builds its shared libraries. 10069 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10070 fi 10071 if test aix != "$with_aix_soname"; then 10072 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10073 else 10074 # used by -dlpreopen to get the symbols 10075 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10076 fi 10077 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10078 fi 10079 fi 10080 ;; 10081 10082 amigaos*) 10083 case $host_cpu in 10084 powerpc) 10085 # see comment about AmigaOS4 .so support 10086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10087 archive_expsym_cmds='' 10088 ;; 10089 m68k) 10090 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 10091 hardcode_libdir_flag_spec='-L$libdir' 10092 hardcode_minus_L=yes 10093 ;; 10094 esac 10095 ;; 10096 10097 bsdi[45]*) 10098 export_dynamic_flag_spec=-rdynamic 10099 ;; 10100 10101 cygwin* | mingw* | pw32* | cegcc*) 10102 # When not using gcc, we currently assume that we are using 10103 # Microsoft Visual C++. 10104 # hardcode_libdir_flag_spec is actually meaningless, as there is 10105 # no search path for DLLs. 10106 case $cc_basename in 10107 cl*) 10108 # Native MSVC 10109 hardcode_libdir_flag_spec=' ' 10110 allow_undefined_flag=unsupported 10111 always_export_symbols=yes 10112 file_list_spec='@' 10113 # Tell ltmain to make .lib files, not .a files. 10114 libext=lib 10115 # Tell ltmain to make .dll files, not .so files. 10116 shrext_cmds=.dll 10117 # FIXME: Setting linknames here is a bad hack. 10118 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10119 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10120 cp "$export_symbols" "$output_objdir/$soname.def"; 10121 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10122 else 10123 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10124 fi~ 10125 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10126 linknames=' 10127 # The linker will not automatically build a static lib if we build a DLL. 10128 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10129 enable_shared_with_static_runtimes=yes 10130 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10131 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10132 # Don't use ranlib 10133 old_postinstall_cmds='chmod 644 $oldlib' 10134 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10135 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10136 case $lt_outputfile in 10137 *.exe|*.EXE) ;; 10138 *) 10139 lt_outputfile=$lt_outputfile.exe 10140 lt_tool_outputfile=$lt_tool_outputfile.exe 10141 ;; 10142 esac~ 10143 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10144 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10145 $RM "$lt_outputfile.manifest"; 10146 fi' 10147 ;; 10148 *) 10149 # Assume MSVC wrapper 10150 hardcode_libdir_flag_spec=' ' 10151 allow_undefined_flag=unsupported 10152 # Tell ltmain to make .lib files, not .a files. 10153 libext=lib 10154 # Tell ltmain to make .dll files, not .so files. 10155 shrext_cmds=.dll 10156 # FIXME: Setting linknames here is a bad hack. 10157 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10158 # The linker will automatically build a .lib file if we build a DLL. 10159 old_archive_from_new_cmds='true' 10160 # FIXME: Should let the user specify the lib program. 10161 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10162 enable_shared_with_static_runtimes=yes 10163 ;; 10164 esac 10165 ;; 10166 10167 darwin* | rhapsody*) 10168 10169 10170 archive_cmds_need_lc=no 10171 hardcode_direct=no 10172 hardcode_automatic=yes 10173 hardcode_shlibpath_var=unsupported 10174 if test yes = "$lt_cv_ld_force_load"; then 10175 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 10176 10177 else 10178 whole_archive_flag_spec='' 10179 fi 10180 link_all_deplibs=yes 10181 allow_undefined_flag=$_lt_dar_allow_undefined 10182 case $cc_basename in 10183 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10184 *) _lt_dar_can_shared=$GCC ;; 10185 esac 10186 if test yes = "$_lt_dar_can_shared"; then 10187 output_verbose_link_cmd=func_echo_all 10188 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10189 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10190 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 10191 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 10192 10193 else 10194 ld_shlibs=no 10195 fi 10196 10197 ;; 10198 10199 dgux*) 10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10201 hardcode_libdir_flag_spec='-L$libdir' 10202 hardcode_shlibpath_var=no 10203 ;; 10204 10205 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10206 # support. Future versions do this automatically, but an explicit c++rt0.o 10207 # does not break anything, and helps significantly (at the cost of a little 10208 # extra space). 10209 freebsd2.2*) 10210 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10211 hardcode_libdir_flag_spec='-R$libdir' 10212 hardcode_direct=yes 10213 hardcode_shlibpath_var=no 10214 ;; 10215 10216 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10217 freebsd2.*) 10218 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10219 hardcode_direct=yes 10220 hardcode_minus_L=yes 10221 hardcode_shlibpath_var=no 10222 ;; 10223 10224 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10225 freebsd* | dragonfly*) 10226 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10227 hardcode_libdir_flag_spec='-R$libdir' 10228 hardcode_direct=yes 10229 hardcode_shlibpath_var=no 10230 ;; 10231 10232 hpux9*) 10233 if test yes = "$GCC"; then 10234 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10235 else 10236 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10237 fi 10238 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10239 hardcode_libdir_separator=: 10240 hardcode_direct=yes 10241 10242 # hardcode_minus_L: Not really in the search PATH, 10243 # but as the default location of the library. 10244 hardcode_minus_L=yes 10245 export_dynamic_flag_spec='$wl-E' 10246 ;; 10247 10248 hpux10*) 10249 if test yes,no = "$GCC,$with_gnu_ld"; then 10250 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10251 else 10252 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10253 fi 10254 if test no = "$with_gnu_ld"; then 10255 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10256 hardcode_libdir_separator=: 10257 hardcode_direct=yes 10258 hardcode_direct_absolute=yes 10259 export_dynamic_flag_spec='$wl-E' 10260 # hardcode_minus_L: Not really in the search PATH, 10261 # but as the default location of the library. 10262 hardcode_minus_L=yes 10263 fi 10264 ;; 10265 10266 hpux11*) 10267 if test yes,no = "$GCC,$with_gnu_ld"; then 10268 case $host_cpu in 10269 hppa*64*) 10270 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10271 ;; 10272 ia64*) 10273 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10274 ;; 10275 *) 10276 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10277 ;; 10278 esac 10279 else 10280 case $host_cpu in 10281 hppa*64*) 10282 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10283 ;; 10284 ia64*) 10285 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10286 ;; 10287 *) 10288 10289 # Older versions of the 11.00 compiler do not understand -b yet 10290 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10292$as_echo_n "checking if $CC understands -b... " >&6; } 10293if ${lt_cv_prog_compiler__b+:} false; then : 10294 $as_echo_n "(cached) " >&6 10295else 10296 lt_cv_prog_compiler__b=no 10297 save_LDFLAGS=$LDFLAGS 10298 LDFLAGS="$LDFLAGS -b" 10299 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10300 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10301 # The linker can only warn and ignore the option if not recognized 10302 # So say no if there are warnings 10303 if test -s conftest.err; then 10304 # Append any errors to the config.log. 10305 cat conftest.err 1>&5 10306 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10307 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10308 if diff conftest.exp conftest.er2 >/dev/null; then 10309 lt_cv_prog_compiler__b=yes 10310 fi 10311 else 10312 lt_cv_prog_compiler__b=yes 10313 fi 10314 fi 10315 $RM -r conftest* 10316 LDFLAGS=$save_LDFLAGS 10317 10318fi 10319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10320$as_echo "$lt_cv_prog_compiler__b" >&6; } 10321 10322if test yes = "$lt_cv_prog_compiler__b"; then 10323 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10324else 10325 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10326fi 10327 10328 ;; 10329 esac 10330 fi 10331 if test no = "$with_gnu_ld"; then 10332 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10333 hardcode_libdir_separator=: 10334 10335 case $host_cpu in 10336 hppa*64*|ia64*) 10337 hardcode_direct=no 10338 hardcode_shlibpath_var=no 10339 ;; 10340 *) 10341 hardcode_direct=yes 10342 hardcode_direct_absolute=yes 10343 export_dynamic_flag_spec='$wl-E' 10344 10345 # hardcode_minus_L: Not really in the search PATH, 10346 # but as the default location of the library. 10347 hardcode_minus_L=yes 10348 ;; 10349 esac 10350 fi 10351 ;; 10352 10353 irix5* | irix6* | nonstopux*) 10354 if test yes = "$GCC"; then 10355 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 10356 # Try to use the -exported_symbol ld option, if it does not 10357 # work, assume that -exports_file does not work either and 10358 # implicitly export all symbols. 10359 # This should be the same for all languages, so no per-tag cache variable. 10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10361$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10362if ${lt_cv_irix_exported_symbol+:} false; then : 10363 $as_echo_n "(cached) " >&6 10364else 10365 save_LDFLAGS=$LDFLAGS 10366 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10368/* end confdefs.h. */ 10369int foo (void) { return 0; } 10370_ACEOF 10371if ac_fn_c_try_link "$LINENO"; then : 10372 lt_cv_irix_exported_symbol=yes 10373else 10374 lt_cv_irix_exported_symbol=no 10375fi 10376rm -f core conftest.err conftest.$ac_objext \ 10377 conftest$ac_exeext conftest.$ac_ext 10378 LDFLAGS=$save_LDFLAGS 10379fi 10380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10381$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10382 if test yes = "$lt_cv_irix_exported_symbol"; then 10383 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' 10384 fi 10385 link_all_deplibs=no 10386 else 10387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' 10389 fi 10390 archive_cmds_need_lc='no' 10391 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10392 hardcode_libdir_separator=: 10393 inherit_rpath=yes 10394 link_all_deplibs=yes 10395 ;; 10396 10397 linux*) 10398 case $cc_basename in 10399 tcc*) 10400 # Fabrice Bellard et al's Tiny C Compiler 10401 ld_shlibs=yes 10402 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10403 ;; 10404 esac 10405 ;; 10406 10407 netbsd* | netbsdelf*-gnu) 10408 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10410 else 10411 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10412 fi 10413 hardcode_libdir_flag_spec='-R$libdir' 10414 hardcode_direct=yes 10415 hardcode_shlibpath_var=no 10416 ;; 10417 10418 newsos6) 10419 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10420 hardcode_direct=yes 10421 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10422 hardcode_libdir_separator=: 10423 hardcode_shlibpath_var=no 10424 ;; 10425 10426 *nto* | *qnx*) 10427 ;; 10428 10429 openbsd* | bitrig*) 10430 if test -f /usr/libexec/ld.so; then 10431 hardcode_direct=yes 10432 hardcode_shlibpath_var=no 10433 hardcode_direct_absolute=yes 10434 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10435 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10436 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10437 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10438 export_dynamic_flag_spec='$wl-E' 10439 else 10440 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10441 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10442 fi 10443 else 10444 ld_shlibs=no 10445 fi 10446 ;; 10447 10448 os2*) 10449 hardcode_libdir_flag_spec='-L$libdir' 10450 hardcode_minus_L=yes 10451 allow_undefined_flag=unsupported 10452 shrext_cmds=.dll 10453 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10454 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10455 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10456 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10457 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10458 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10459 emximp -o $lib $output_objdir/$libname.def' 10460 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10461 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10462 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10463 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10464 prefix_cmds="$SED"~ 10465 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10466 prefix_cmds="$prefix_cmds -e 1d"; 10467 fi~ 10468 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10469 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10470 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10471 emximp -o $lib $output_objdir/$libname.def' 10472 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10473 enable_shared_with_static_runtimes=yes 10474 ;; 10475 10476 osf3*) 10477 if test yes = "$GCC"; then 10478 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10479 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 10480 else 10481 allow_undefined_flag=' -expect_unresolved \*' 10482 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10483 fi 10484 archive_cmds_need_lc='no' 10485 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10486 hardcode_libdir_separator=: 10487 ;; 10488 10489 osf4* | osf5*) # as osf3* with the addition of -msym flag 10490 if test yes = "$GCC"; then 10491 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10492 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 10493 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10494 else 10495 allow_undefined_flag=' -expect_unresolved \*' 10496 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 10497 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 10498 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' 10499 10500 # Both c and cxx compiler support -rpath directly 10501 hardcode_libdir_flag_spec='-rpath $libdir' 10502 fi 10503 archive_cmds_need_lc='no' 10504 hardcode_libdir_separator=: 10505 ;; 10506 10507 solaris*) 10508 no_undefined_flag=' -z defs' 10509 if test yes = "$GCC"; then 10510 wlarc='$wl' 10511 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10512 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10513 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10514 else 10515 case `$CC -V 2>&1` in 10516 *"Compilers 5.0"*) 10517 wlarc='' 10518 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10519 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10520 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10521 ;; 10522 *) 10523 wlarc='$wl' 10524 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10525 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10526 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10527 ;; 10528 esac 10529 fi 10530 hardcode_libdir_flag_spec='-R$libdir' 10531 hardcode_shlibpath_var=no 10532 case $host_os in 10533 solaris2.[0-5] | solaris2.[0-5].*) ;; 10534 *) 10535 # The compiler driver will combine and reorder linker options, 10536 # but understands '-z linker_flag'. GCC discards it without '$wl', 10537 # but is careful enough not to reorder. 10538 # Supported since Solaris 2.6 (maybe 2.5.1?) 10539 if test yes = "$GCC"; then 10540 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10541 else 10542 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10543 fi 10544 ;; 10545 esac 10546 link_all_deplibs=yes 10547 ;; 10548 10549 sunos4*) 10550 if test sequent = "$host_vendor"; then 10551 # Use $CC to link under sequent, because it throws in some extra .o 10552 # files that make .init and .fini sections work. 10553 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10554 else 10555 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10556 fi 10557 hardcode_libdir_flag_spec='-L$libdir' 10558 hardcode_direct=yes 10559 hardcode_minus_L=yes 10560 hardcode_shlibpath_var=no 10561 ;; 10562 10563 sysv4) 10564 case $host_vendor in 10565 sni) 10566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10567 hardcode_direct=yes # is this really true??? 10568 ;; 10569 siemens) 10570 ## LD is ld it makes a PLAMLIB 10571 ## CC just makes a GrossModule. 10572 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10573 reload_cmds='$CC -r -o $output$reload_objs' 10574 hardcode_direct=no 10575 ;; 10576 motorola) 10577 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10578 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10579 ;; 10580 esac 10581 runpath_var='LD_RUN_PATH' 10582 hardcode_shlibpath_var=no 10583 ;; 10584 10585 sysv4.3*) 10586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10587 hardcode_shlibpath_var=no 10588 export_dynamic_flag_spec='-Bexport' 10589 ;; 10590 10591 sysv4*MP*) 10592 if test -d /usr/nec; then 10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10594 hardcode_shlibpath_var=no 10595 runpath_var=LD_RUN_PATH 10596 hardcode_runpath_var=yes 10597 ld_shlibs=yes 10598 fi 10599 ;; 10600 10601 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10602 no_undefined_flag='$wl-z,text' 10603 archive_cmds_need_lc=no 10604 hardcode_shlibpath_var=no 10605 runpath_var='LD_RUN_PATH' 10606 10607 if test yes = "$GCC"; then 10608 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10609 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10610 else 10611 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10612 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10613 fi 10614 ;; 10615 10616 sysv5* | sco3.2v5* | sco5v6*) 10617 # Note: We CANNOT use -z defs as we might desire, because we do not 10618 # link with -lc, and that would cause any symbols used from libc to 10619 # always be unresolved, which means just about no library would 10620 # ever link correctly. If we're not using GNU ld we use -z text 10621 # though, which does catch some bad symbols but isn't as heavy-handed 10622 # as -z defs. 10623 no_undefined_flag='$wl-z,text' 10624 allow_undefined_flag='$wl-z,nodefs' 10625 archive_cmds_need_lc=no 10626 hardcode_shlibpath_var=no 10627 hardcode_libdir_flag_spec='$wl-R,$libdir' 10628 hardcode_libdir_separator=':' 10629 link_all_deplibs=yes 10630 export_dynamic_flag_spec='$wl-Bexport' 10631 runpath_var='LD_RUN_PATH' 10632 10633 if test yes = "$GCC"; then 10634 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10635 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10636 else 10637 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10638 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10639 fi 10640 ;; 10641 10642 uts4*) 10643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10644 hardcode_libdir_flag_spec='-L$libdir' 10645 hardcode_shlibpath_var=no 10646 ;; 10647 10648 *) 10649 ld_shlibs=no 10650 ;; 10651 esac 10652 10653 if test sni = "$host_vendor"; then 10654 case $host in 10655 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10656 export_dynamic_flag_spec='$wl-Blargedynsym' 10657 ;; 10658 esac 10659 fi 10660 fi 10661 10662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10663$as_echo "$ld_shlibs" >&6; } 10664test no = "$ld_shlibs" && can_build_shared=no 10665 10666with_gnu_ld=$with_gnu_ld 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682# 10683# Do we need to explicitly link libc? 10684# 10685case "x$archive_cmds_need_lc" in 10686x|xyes) 10687 # Assume -lc should be added 10688 archive_cmds_need_lc=yes 10689 10690 if test yes,yes = "$GCC,$enable_shared"; then 10691 case $archive_cmds in 10692 *'~'*) 10693 # FIXME: we may have to deal with multi-command sequences. 10694 ;; 10695 '$CC '*) 10696 # Test whether the compiler implicitly links with -lc since on some 10697 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10698 # to ld, don't add -lc before -lgcc. 10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10700$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10701if ${lt_cv_archive_cmds_need_lc+:} false; then : 10702 $as_echo_n "(cached) " >&6 10703else 10704 $RM conftest* 10705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10706 10707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10708 (eval $ac_compile) 2>&5 10709 ac_status=$? 10710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10711 test $ac_status = 0; } 2>conftest.err; then 10712 soname=conftest 10713 lib=conftest 10714 libobjs=conftest.$ac_objext 10715 deplibs= 10716 wl=$lt_prog_compiler_wl 10717 pic_flag=$lt_prog_compiler_pic 10718 compiler_flags=-v 10719 linker_flags=-v 10720 verstring= 10721 output_objdir=. 10722 libname=conftest 10723 lt_save_allow_undefined_flag=$allow_undefined_flag 10724 allow_undefined_flag= 10725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10726 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10727 ac_status=$? 10728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10729 test $ac_status = 0; } 10730 then 10731 lt_cv_archive_cmds_need_lc=no 10732 else 10733 lt_cv_archive_cmds_need_lc=yes 10734 fi 10735 allow_undefined_flag=$lt_save_allow_undefined_flag 10736 else 10737 cat conftest.err 1>&5 10738 fi 10739 $RM conftest* 10740 10741fi 10742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10743$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10744 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10745 ;; 10746 esac 10747 fi 10748 ;; 10749esac 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10903$as_echo_n "checking dynamic linker characteristics... " >&6; } 10904 10905if test yes = "$GCC"; then 10906 case $host_os in 10907 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10908 *) lt_awk_arg='/^libraries:/' ;; 10909 esac 10910 case $host_os in 10911 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10912 *) lt_sed_strip_eq='s|=/|/|g' ;; 10913 esac 10914 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10915 case $lt_search_path_spec in 10916 *\;*) 10917 # if the path contains ";" then we assume it to be the separator 10918 # otherwise default to the standard path separator (i.e. ":") - it is 10919 # assumed that no part of a normal pathname contains ";" but that should 10920 # okay in the real world where ";" in dirpaths is itself problematic. 10921 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10922 ;; 10923 *) 10924 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10925 ;; 10926 esac 10927 # Ok, now we have the path, separated by spaces, we can step through it 10928 # and add multilib dir if necessary... 10929 lt_tmp_lt_search_path_spec= 10930 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10931 # ...but if some path component already ends with the multilib dir we assume 10932 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10933 case "$lt_multi_os_dir; $lt_search_path_spec " in 10934 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10935 lt_multi_os_dir= 10936 ;; 10937 esac 10938 for lt_sys_path in $lt_search_path_spec; do 10939 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10940 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10941 elif test -n "$lt_multi_os_dir"; then 10942 test -d "$lt_sys_path" && \ 10943 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10944 fi 10945 done 10946 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10947BEGIN {RS = " "; FS = "/|\n";} { 10948 lt_foo = ""; 10949 lt_count = 0; 10950 for (lt_i = NF; lt_i > 0; lt_i--) { 10951 if ($lt_i != "" && $lt_i != ".") { 10952 if ($lt_i == "..") { 10953 lt_count++; 10954 } else { 10955 if (lt_count == 0) { 10956 lt_foo = "/" $lt_i lt_foo; 10957 } else { 10958 lt_count--; 10959 } 10960 } 10961 } 10962 } 10963 if (lt_foo != "") { lt_freq[lt_foo]++; } 10964 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10965}'` 10966 # AWK program above erroneously prepends '/' to C:/dos/paths 10967 # for these hosts. 10968 case $host_os in 10969 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10970 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10971 esac 10972 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10973else 10974 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10975fi 10976library_names_spec= 10977libname_spec='lib$name' 10978soname_spec= 10979shrext_cmds=.so 10980postinstall_cmds= 10981postuninstall_cmds= 10982finish_cmds= 10983finish_eval= 10984shlibpath_var= 10985shlibpath_overrides_runpath=unknown 10986version_type=none 10987dynamic_linker="$host_os ld.so" 10988sys_lib_dlsearch_path_spec="/lib /usr/lib" 10989need_lib_prefix=unknown 10990hardcode_into_libs=no 10991 10992# when you set need_version to no, make sure it does not cause -set_version 10993# flags to be left without arguments 10994need_version=unknown 10995 10996 10997 10998case $host_os in 10999aix3*) 11000 version_type=linux # correct to gnu/linux during the next big refactor 11001 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11002 shlibpath_var=LIBPATH 11003 11004 # AIX 3 has no versioning support, so we append a major version to the name. 11005 soname_spec='$libname$release$shared_ext$major' 11006 ;; 11007 11008aix[4-9]*) 11009 version_type=linux # correct to gnu/linux during the next big refactor 11010 need_lib_prefix=no 11011 need_version=no 11012 hardcode_into_libs=yes 11013 if test ia64 = "$host_cpu"; then 11014 # AIX 5 supports IA64 11015 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11016 shlibpath_var=LD_LIBRARY_PATH 11017 else 11018 # With GCC up to 2.95.x, collect2 would create an import file 11019 # for dependence libraries. The import file would start with 11020 # the line '#! .'. This would cause the generated library to 11021 # depend on '.', always an invalid library. This was fixed in 11022 # development snapshots of GCC prior to 3.0. 11023 case $host_os in 11024 aix4 | aix4.[01] | aix4.[01].*) 11025 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11026 echo ' yes ' 11027 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11028 : 11029 else 11030 can_build_shared=no 11031 fi 11032 ;; 11033 esac 11034 # Using Import Files as archive members, it is possible to support 11035 # filename-based versioning of shared library archives on AIX. While 11036 # this would work for both with and without runtime linking, it will 11037 # prevent static linking of such archives. So we do filename-based 11038 # shared library versioning with .so extension only, which is used 11039 # when both runtime linking and shared linking is enabled. 11040 # Unfortunately, runtime linking may impact performance, so we do 11041 # not want this to be the default eventually. Also, we use the 11042 # versioned .so libs for executables only if there is the -brtl 11043 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11044 # To allow for filename-based versioning support, we need to create 11045 # libNAME.so.V as an archive file, containing: 11046 # *) an Import File, referring to the versioned filename of the 11047 # archive as well as the shared archive member, telling the 11048 # bitwidth (32 or 64) of that shared object, and providing the 11049 # list of exported symbols of that shared object, eventually 11050 # decorated with the 'weak' keyword 11051 # *) the shared object with the F_LOADONLY flag set, to really avoid 11052 # it being seen by the linker. 11053 # At run time we better use the real file rather than another symlink, 11054 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11055 11056 case $with_aix_soname,$aix_use_runtimelinking in 11057 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11058 # soname into executable. Probably we can add versioning support to 11059 # collect2, so additional links can be useful in future. 11060 aix,yes) # traditional libtool 11061 dynamic_linker='AIX unversionable lib.so' 11062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11063 # instead of lib<name>.a to let people know that these are not 11064 # typical AIX shared libraries. 11065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11066 ;; 11067 aix,no) # traditional AIX only 11068 dynamic_linker='AIX lib.a(lib.so.V)' 11069 # We preserve .a as extension for shared libraries through AIX4.2 11070 # and later when we are not doing run time linking. 11071 library_names_spec='$libname$release.a $libname.a' 11072 soname_spec='$libname$release$shared_ext$major' 11073 ;; 11074 svr4,*) # full svr4 only 11075 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11076 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11077 # We do not specify a path in Import Files, so LIBPATH fires. 11078 shlibpath_overrides_runpath=yes 11079 ;; 11080 *,yes) # both, prefer svr4 11081 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11082 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11083 # unpreferred sharedlib libNAME.a needs extra handling 11084 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11085 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11086 # We do not specify a path in Import Files, so LIBPATH fires. 11087 shlibpath_overrides_runpath=yes 11088 ;; 11089 *,no) # both, prefer aix 11090 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11091 library_names_spec='$libname$release.a $libname.a' 11092 soname_spec='$libname$release$shared_ext$major' 11093 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11094 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11095 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11096 ;; 11097 esac 11098 shlibpath_var=LIBPATH 11099 fi 11100 ;; 11101 11102amigaos*) 11103 case $host_cpu in 11104 powerpc) 11105 # Since July 2007 AmigaOS4 officially supports .so libraries. 11106 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11107 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11108 ;; 11109 m68k) 11110 library_names_spec='$libname.ixlibrary $libname.a' 11111 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11112 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11113 ;; 11114 esac 11115 ;; 11116 11117beos*) 11118 library_names_spec='$libname$shared_ext' 11119 dynamic_linker="$host_os ld.so" 11120 shlibpath_var=LIBRARY_PATH 11121 ;; 11122 11123bsdi[45]*) 11124 version_type=linux # correct to gnu/linux during the next big refactor 11125 need_version=no 11126 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11127 soname_spec='$libname$release$shared_ext$major' 11128 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11129 shlibpath_var=LD_LIBRARY_PATH 11130 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11131 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11132 # the default ld.so.conf also contains /usr/contrib/lib and 11133 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11134 # libtool to hard-code these into programs 11135 ;; 11136 11137cygwin* | mingw* | pw32* | cegcc*) 11138 version_type=windows 11139 shrext_cmds=.dll 11140 need_version=no 11141 need_lib_prefix=no 11142 11143 case $GCC,$cc_basename in 11144 yes,*) 11145 # gcc 11146 library_names_spec='$libname.dll.a' 11147 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11148 postinstall_cmds='base_file=`basename \$file`~ 11149 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11150 dldir=$destdir/`dirname \$dlpath`~ 11151 test -d \$dldir || mkdir -p \$dldir~ 11152 $install_prog $dir/$dlname \$dldir/$dlname~ 11153 chmod a+x \$dldir/$dlname~ 11154 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11155 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11156 fi' 11157 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11158 dlpath=$dir/\$dldll~ 11159 $RM \$dlpath' 11160 shlibpath_overrides_runpath=yes 11161 11162 case $host_os in 11163 cygwin*) 11164 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11165 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11166 11167 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11168 ;; 11169 mingw* | cegcc*) 11170 # MinGW DLLs use traditional 'lib' prefix 11171 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11172 ;; 11173 pw32*) 11174 # pw32 DLLs use 'pw' prefix rather than 'lib' 11175 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11176 ;; 11177 esac 11178 dynamic_linker='Win32 ld.exe' 11179 ;; 11180 11181 *,cl*) 11182 # Native MSVC 11183 libname_spec='$name' 11184 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11185 library_names_spec='$libname.dll.lib' 11186 11187 case $build_os in 11188 mingw*) 11189 sys_lib_search_path_spec= 11190 lt_save_ifs=$IFS 11191 IFS=';' 11192 for lt_path in $LIB 11193 do 11194 IFS=$lt_save_ifs 11195 # Let DOS variable expansion print the short 8.3 style file name. 11196 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11197 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11198 done 11199 IFS=$lt_save_ifs 11200 # Convert to MSYS style. 11201 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11202 ;; 11203 cygwin*) 11204 # Convert to unix form, then to dos form, then back to unix form 11205 # but this time dos style (no spaces!) so that the unix form looks 11206 # like /cygdrive/c/PROGRA~1:/cygdr... 11207 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11208 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11209 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11210 ;; 11211 *) 11212 sys_lib_search_path_spec=$LIB 11213 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11214 # It is most probably a Windows format PATH. 11215 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11216 else 11217 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11218 fi 11219 # FIXME: find the short name or the path components, as spaces are 11220 # common. (e.g. "Program Files" -> "PROGRA~1") 11221 ;; 11222 esac 11223 11224 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11225 postinstall_cmds='base_file=`basename \$file`~ 11226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11227 dldir=$destdir/`dirname \$dlpath`~ 11228 test -d \$dldir || mkdir -p \$dldir~ 11229 $install_prog $dir/$dlname \$dldir/$dlname' 11230 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11231 dlpath=$dir/\$dldll~ 11232 $RM \$dlpath' 11233 shlibpath_overrides_runpath=yes 11234 dynamic_linker='Win32 link.exe' 11235 ;; 11236 11237 *) 11238 # Assume MSVC wrapper 11239 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11240 dynamic_linker='Win32 ld.exe' 11241 ;; 11242 esac 11243 # FIXME: first we should search . and the directory the executable is in 11244 shlibpath_var=PATH 11245 ;; 11246 11247darwin* | rhapsody*) 11248 dynamic_linker="$host_os dyld" 11249 version_type=darwin 11250 need_lib_prefix=no 11251 need_version=no 11252 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11253 soname_spec='$libname$release$major$shared_ext' 11254 shlibpath_overrides_runpath=yes 11255 shlibpath_var=DYLD_LIBRARY_PATH 11256 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11257 11258 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11259 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11260 ;; 11261 11262dgux*) 11263 version_type=linux # correct to gnu/linux during the next big refactor 11264 need_lib_prefix=no 11265 need_version=no 11266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11267 soname_spec='$libname$release$shared_ext$major' 11268 shlibpath_var=LD_LIBRARY_PATH 11269 ;; 11270 11271freebsd* | dragonfly*) 11272 # DragonFly does not have aout. When/if they implement a new 11273 # versioning mechanism, adjust this. 11274 if test -x /usr/bin/objformat; then 11275 objformat=`/usr/bin/objformat` 11276 else 11277 case $host_os in 11278 freebsd[23].*) objformat=aout ;; 11279 *) objformat=elf ;; 11280 esac 11281 fi 11282 version_type=freebsd-$objformat 11283 case $version_type in 11284 freebsd-elf*) 11285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11286 soname_spec='$libname$release$shared_ext$major' 11287 need_version=no 11288 need_lib_prefix=no 11289 ;; 11290 freebsd-*) 11291 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11292 need_version=yes 11293 ;; 11294 esac 11295 shlibpath_var=LD_LIBRARY_PATH 11296 case $host_os in 11297 freebsd2.*) 11298 shlibpath_overrides_runpath=yes 11299 ;; 11300 freebsd3.[01]* | freebsdelf3.[01]*) 11301 shlibpath_overrides_runpath=yes 11302 hardcode_into_libs=yes 11303 ;; 11304 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11305 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11306 shlibpath_overrides_runpath=no 11307 hardcode_into_libs=yes 11308 ;; 11309 *) # from 4.6 on, and DragonFly 11310 shlibpath_overrides_runpath=yes 11311 hardcode_into_libs=yes 11312 ;; 11313 esac 11314 ;; 11315 11316haiku*) 11317 version_type=linux # correct to gnu/linux during the next big refactor 11318 need_lib_prefix=no 11319 need_version=no 11320 dynamic_linker="$host_os runtime_loader" 11321 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11322 soname_spec='$libname$release$shared_ext$major' 11323 shlibpath_var=LIBRARY_PATH 11324 shlibpath_overrides_runpath=no 11325 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11326 hardcode_into_libs=yes 11327 ;; 11328 11329hpux9* | hpux10* | hpux11*) 11330 # Give a soname corresponding to the major version so that dld.sl refuses to 11331 # link against other versions. 11332 version_type=sunos 11333 need_lib_prefix=no 11334 need_version=no 11335 case $host_cpu in 11336 ia64*) 11337 shrext_cmds='.so' 11338 hardcode_into_libs=yes 11339 dynamic_linker="$host_os dld.so" 11340 shlibpath_var=LD_LIBRARY_PATH 11341 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11343 soname_spec='$libname$release$shared_ext$major' 11344 if test 32 = "$HPUX_IA64_MODE"; then 11345 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11346 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11347 else 11348 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11349 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11350 fi 11351 ;; 11352 hppa*64*) 11353 shrext_cmds='.sl' 11354 hardcode_into_libs=yes 11355 dynamic_linker="$host_os dld.sl" 11356 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11357 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11358 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11359 soname_spec='$libname$release$shared_ext$major' 11360 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11361 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11362 ;; 11363 *) 11364 shrext_cmds='.sl' 11365 dynamic_linker="$host_os dld.sl" 11366 shlibpath_var=SHLIB_PATH 11367 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11369 soname_spec='$libname$release$shared_ext$major' 11370 ;; 11371 esac 11372 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11373 postinstall_cmds='chmod 555 $lib' 11374 # or fails outright, so override atomically: 11375 install_override_mode=555 11376 ;; 11377 11378interix[3-9]*) 11379 version_type=linux # correct to gnu/linux during the next big refactor 11380 need_lib_prefix=no 11381 need_version=no 11382 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11383 soname_spec='$libname$release$shared_ext$major' 11384 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11385 shlibpath_var=LD_LIBRARY_PATH 11386 shlibpath_overrides_runpath=no 11387 hardcode_into_libs=yes 11388 ;; 11389 11390irix5* | irix6* | nonstopux*) 11391 case $host_os in 11392 nonstopux*) version_type=nonstopux ;; 11393 *) 11394 if test yes = "$lt_cv_prog_gnu_ld"; then 11395 version_type=linux # correct to gnu/linux during the next big refactor 11396 else 11397 version_type=irix 11398 fi ;; 11399 esac 11400 need_lib_prefix=no 11401 need_version=no 11402 soname_spec='$libname$release$shared_ext$major' 11403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11404 case $host_os in 11405 irix5* | nonstopux*) 11406 libsuff= shlibsuff= 11407 ;; 11408 *) 11409 case $LD in # libtool.m4 will add one of these switches to LD 11410 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11411 libsuff= shlibsuff= libmagic=32-bit;; 11412 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11413 libsuff=32 shlibsuff=N32 libmagic=N32;; 11414 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11415 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11416 *) libsuff= shlibsuff= libmagic=never-match;; 11417 esac 11418 ;; 11419 esac 11420 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11421 shlibpath_overrides_runpath=no 11422 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11423 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11424 hardcode_into_libs=yes 11425 ;; 11426 11427# No shared lib support for Linux oldld, aout, or coff. 11428linux*oldld* | linux*aout* | linux*coff*) 11429 dynamic_linker=no 11430 ;; 11431 11432linux*android*) 11433 version_type=none # Android doesn't support versioned libraries. 11434 need_lib_prefix=no 11435 need_version=no 11436 library_names_spec='$libname$release$shared_ext' 11437 soname_spec='$libname$release$shared_ext' 11438 finish_cmds= 11439 shlibpath_var=LD_LIBRARY_PATH 11440 shlibpath_overrides_runpath=yes 11441 11442 # This implies no fast_install, which is unacceptable. 11443 # Some rework will be needed to allow for fast_install 11444 # before this can be enabled. 11445 hardcode_into_libs=yes 11446 11447 dynamic_linker='Android linker' 11448 # Don't embed -rpath directories since the linker doesn't support them. 11449 hardcode_libdir_flag_spec='-L$libdir' 11450 ;; 11451 11452# This must be glibc/ELF. 11453linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11454 version_type=linux # correct to gnu/linux during the next big refactor 11455 need_lib_prefix=no 11456 need_version=no 11457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11458 soname_spec='$libname$release$shared_ext$major' 11459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11460 shlibpath_var=LD_LIBRARY_PATH 11461 shlibpath_overrides_runpath=no 11462 11463 # Some binutils ld are patched to set DT_RUNPATH 11464 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11465 $as_echo_n "(cached) " >&6 11466else 11467 lt_cv_shlibpath_overrides_runpath=no 11468 save_LDFLAGS=$LDFLAGS 11469 save_libdir=$libdir 11470 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11471 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11473/* end confdefs.h. */ 11474 11475int 11476main () 11477{ 11478 11479 ; 11480 return 0; 11481} 11482_ACEOF 11483if ac_fn_c_try_link "$LINENO"; then : 11484 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11485 lt_cv_shlibpath_overrides_runpath=yes 11486fi 11487fi 11488rm -f core conftest.err conftest.$ac_objext \ 11489 conftest$ac_exeext conftest.$ac_ext 11490 LDFLAGS=$save_LDFLAGS 11491 libdir=$save_libdir 11492 11493fi 11494 11495 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11496 11497 # This implies no fast_install, which is unacceptable. 11498 # Some rework will be needed to allow for fast_install 11499 # before this can be enabled. 11500 hardcode_into_libs=yes 11501 11502 # Ideally, we could use ldconfig to report *all* directores which are 11503 # searched for libraries, however this is still not possible. Aside from not 11504 # being certain /sbin/ldconfig is available, command 11505 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11506 # even though it is searched at run-time. Try to do the best guess by 11507 # appending ld.so.conf contents (and includes) to the search path. 11508 if test -f /etc/ld.so.conf; then 11509 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 11510 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11511 fi 11512 11513 # We used to test for /lib/ld.so.1 and disable shared libraries on 11514 # powerpc, because MkLinux only supported shared libraries with the 11515 # GNU dynamic linker. Since this was broken with cross compilers, 11516 # most powerpc-linux boxes support dynamic linking these days and 11517 # people can always --disable-shared, the test was removed, and we 11518 # assume the GNU/Linux dynamic linker is in use. 11519 dynamic_linker='GNU/Linux ld.so' 11520 ;; 11521 11522netbsdelf*-gnu) 11523 version_type=linux 11524 need_lib_prefix=no 11525 need_version=no 11526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11527 soname_spec='${libname}${release}${shared_ext}$major' 11528 shlibpath_var=LD_LIBRARY_PATH 11529 shlibpath_overrides_runpath=no 11530 hardcode_into_libs=yes 11531 dynamic_linker='NetBSD ld.elf_so' 11532 ;; 11533 11534netbsd*) 11535 version_type=sunos 11536 need_lib_prefix=no 11537 need_version=no 11538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11539 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11541 dynamic_linker='NetBSD (a.out) ld.so' 11542 else 11543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11544 soname_spec='$libname$release$shared_ext$major' 11545 dynamic_linker='NetBSD ld.elf_so' 11546 fi 11547 shlibpath_var=LD_LIBRARY_PATH 11548 shlibpath_overrides_runpath=yes 11549 hardcode_into_libs=yes 11550 ;; 11551 11552newsos6) 11553 version_type=linux # correct to gnu/linux during the next big refactor 11554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11555 shlibpath_var=LD_LIBRARY_PATH 11556 shlibpath_overrides_runpath=yes 11557 ;; 11558 11559*nto* | *qnx*) 11560 version_type=qnx 11561 need_lib_prefix=no 11562 need_version=no 11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11564 soname_spec='$libname$release$shared_ext$major' 11565 shlibpath_var=LD_LIBRARY_PATH 11566 shlibpath_overrides_runpath=no 11567 hardcode_into_libs=yes 11568 dynamic_linker='ldqnx.so' 11569 ;; 11570 11571openbsd* | bitrig*) 11572 version_type=sunos 11573 sys_lib_dlsearch_path_spec=/usr/lib 11574 need_lib_prefix=no 11575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11576 need_version=no 11577 else 11578 need_version=yes 11579 fi 11580 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11582 shlibpath_var=LD_LIBRARY_PATH 11583 shlibpath_overrides_runpath=yes 11584 ;; 11585 11586os2*) 11587 libname_spec='$name' 11588 version_type=windows 11589 shrext_cmds=.dll 11590 need_version=no 11591 need_lib_prefix=no 11592 # OS/2 can only load a DLL with a base name of 8 characters or less. 11593 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11594 v=$($ECHO $release$versuffix | tr -d .-); 11595 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11596 $ECHO $n$v`$shared_ext' 11597 library_names_spec='${libname}_dll.$libext' 11598 dynamic_linker='OS/2 ld.exe' 11599 shlibpath_var=BEGINLIBPATH 11600 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11602 postinstall_cmds='base_file=`basename \$file`~ 11603 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11604 dldir=$destdir/`dirname \$dlpath`~ 11605 test -d \$dldir || mkdir -p \$dldir~ 11606 $install_prog $dir/$dlname \$dldir/$dlname~ 11607 chmod a+x \$dldir/$dlname~ 11608 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11609 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11610 fi' 11611 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11612 dlpath=$dir/\$dldll~ 11613 $RM \$dlpath' 11614 ;; 11615 11616osf3* | osf4* | osf5*) 11617 version_type=osf 11618 need_lib_prefix=no 11619 need_version=no 11620 soname_spec='$libname$release$shared_ext$major' 11621 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11622 shlibpath_var=LD_LIBRARY_PATH 11623 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11624 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11625 ;; 11626 11627rdos*) 11628 dynamic_linker=no 11629 ;; 11630 11631solaris*) 11632 version_type=linux # correct to gnu/linux during the next big refactor 11633 need_lib_prefix=no 11634 need_version=no 11635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11636 soname_spec='$libname$release$shared_ext$major' 11637 shlibpath_var=LD_LIBRARY_PATH 11638 shlibpath_overrides_runpath=yes 11639 hardcode_into_libs=yes 11640 # ldd complains unless libraries are executable 11641 postinstall_cmds='chmod +x $lib' 11642 ;; 11643 11644sunos4*) 11645 version_type=sunos 11646 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11647 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11648 shlibpath_var=LD_LIBRARY_PATH 11649 shlibpath_overrides_runpath=yes 11650 if test yes = "$with_gnu_ld"; then 11651 need_lib_prefix=no 11652 fi 11653 need_version=yes 11654 ;; 11655 11656sysv4 | sysv4.3*) 11657 version_type=linux # correct to gnu/linux during the next big refactor 11658 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11659 soname_spec='$libname$release$shared_ext$major' 11660 shlibpath_var=LD_LIBRARY_PATH 11661 case $host_vendor in 11662 sni) 11663 shlibpath_overrides_runpath=no 11664 need_lib_prefix=no 11665 runpath_var=LD_RUN_PATH 11666 ;; 11667 siemens) 11668 need_lib_prefix=no 11669 ;; 11670 motorola) 11671 need_lib_prefix=no 11672 need_version=no 11673 shlibpath_overrides_runpath=no 11674 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11675 ;; 11676 esac 11677 ;; 11678 11679sysv4*MP*) 11680 if test -d /usr/nec; then 11681 version_type=linux # correct to gnu/linux during the next big refactor 11682 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11683 soname_spec='$libname$shared_ext.$major' 11684 shlibpath_var=LD_LIBRARY_PATH 11685 fi 11686 ;; 11687 11688sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11689 version_type=sco 11690 need_lib_prefix=no 11691 need_version=no 11692 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11693 soname_spec='$libname$release$shared_ext$major' 11694 shlibpath_var=LD_LIBRARY_PATH 11695 shlibpath_overrides_runpath=yes 11696 hardcode_into_libs=yes 11697 if test yes = "$with_gnu_ld"; then 11698 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11699 else 11700 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11701 case $host_os in 11702 sco3.2v5*) 11703 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11704 ;; 11705 esac 11706 fi 11707 sys_lib_dlsearch_path_spec='/usr/lib' 11708 ;; 11709 11710tpf*) 11711 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11712 version_type=linux # correct to gnu/linux during the next big refactor 11713 need_lib_prefix=no 11714 need_version=no 11715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11716 shlibpath_var=LD_LIBRARY_PATH 11717 shlibpath_overrides_runpath=no 11718 hardcode_into_libs=yes 11719 ;; 11720 11721uts4*) 11722 version_type=linux # correct to gnu/linux during the next big refactor 11723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11724 soname_spec='$libname$release$shared_ext$major' 11725 shlibpath_var=LD_LIBRARY_PATH 11726 ;; 11727 11728*) 11729 dynamic_linker=no 11730 ;; 11731esac 11732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11733$as_echo "$dynamic_linker" >&6; } 11734test no = "$dynamic_linker" && can_build_shared=no 11735 11736variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11737if test yes = "$GCC"; then 11738 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11739fi 11740 11741if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11742 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11743fi 11744 11745if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11746 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11747fi 11748 11749# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11750configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11751 11752# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11753func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11754 11755# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11756configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11855$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11856hardcode_action= 11857if test -n "$hardcode_libdir_flag_spec" || 11858 test -n "$runpath_var" || 11859 test yes = "$hardcode_automatic"; then 11860 11861 # We can hardcode non-existent directories. 11862 if test no != "$hardcode_direct" && 11863 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11864 # have to relink, otherwise we might link with an installed library 11865 # when we should be linking with a yet-to-be-installed one 11866 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11867 test no != "$hardcode_minus_L"; then 11868 # Linking always hardcodes the temporary library directory. 11869 hardcode_action=relink 11870 else 11871 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11872 hardcode_action=immediate 11873 fi 11874else 11875 # We cannot hardcode anything, or else we can only hardcode existing 11876 # directories. 11877 hardcode_action=unsupported 11878fi 11879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11880$as_echo "$hardcode_action" >&6; } 11881 11882if test relink = "$hardcode_action" || 11883 test yes = "$inherit_rpath"; then 11884 # Fast installation is not supported 11885 enable_fast_install=no 11886elif test yes = "$shlibpath_overrides_runpath" || 11887 test no = "$enable_shared"; then 11888 # Fast installation is not necessary 11889 enable_fast_install=needless 11890fi 11891 11892 11893 11894 11895 11896 11897 if test yes != "$enable_dlopen"; then 11898 enable_dlopen=unknown 11899 enable_dlopen_self=unknown 11900 enable_dlopen_self_static=unknown 11901else 11902 lt_cv_dlopen=no 11903 lt_cv_dlopen_libs= 11904 11905 case $host_os in 11906 beos*) 11907 lt_cv_dlopen=load_add_on 11908 lt_cv_dlopen_libs= 11909 lt_cv_dlopen_self=yes 11910 ;; 11911 11912 mingw* | pw32* | cegcc*) 11913 lt_cv_dlopen=LoadLibrary 11914 lt_cv_dlopen_libs= 11915 ;; 11916 11917 cygwin*) 11918 lt_cv_dlopen=dlopen 11919 lt_cv_dlopen_libs= 11920 ;; 11921 11922 darwin*) 11923 # if libdl is installed we need to link against it 11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11925$as_echo_n "checking for dlopen in -ldl... " >&6; } 11926if ${ac_cv_lib_dl_dlopen+:} false; then : 11927 $as_echo_n "(cached) " >&6 11928else 11929 ac_check_lib_save_LIBS=$LIBS 11930LIBS="-ldl $LIBS" 11931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11932/* end confdefs.h. */ 11933 11934/* Override any GCC internal prototype to avoid an error. 11935 Use char because int might match the return type of a GCC 11936 builtin and then its argument prototype would still apply. */ 11937#ifdef __cplusplus 11938extern "C" 11939#endif 11940char dlopen (); 11941int 11942main () 11943{ 11944return dlopen (); 11945 ; 11946 return 0; 11947} 11948_ACEOF 11949if ac_fn_c_try_link "$LINENO"; then : 11950 ac_cv_lib_dl_dlopen=yes 11951else 11952 ac_cv_lib_dl_dlopen=no 11953fi 11954rm -f core conftest.err conftest.$ac_objext \ 11955 conftest$ac_exeext conftest.$ac_ext 11956LIBS=$ac_check_lib_save_LIBS 11957fi 11958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11959$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11960if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11961 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11962else 11963 11964 lt_cv_dlopen=dyld 11965 lt_cv_dlopen_libs= 11966 lt_cv_dlopen_self=yes 11967 11968fi 11969 11970 ;; 11971 11972 tpf*) 11973 # Don't try to run any link tests for TPF. We know it's impossible 11974 # because TPF is a cross-compiler, and we know how we open DSOs. 11975 lt_cv_dlopen=dlopen 11976 lt_cv_dlopen_libs= 11977 lt_cv_dlopen_self=no 11978 ;; 11979 11980 *) 11981 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11982if test "x$ac_cv_func_shl_load" = xyes; then : 11983 lt_cv_dlopen=shl_load 11984else 11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11986$as_echo_n "checking for shl_load in -ldld... " >&6; } 11987if ${ac_cv_lib_dld_shl_load+:} false; then : 11988 $as_echo_n "(cached) " >&6 11989else 11990 ac_check_lib_save_LIBS=$LIBS 11991LIBS="-ldld $LIBS" 11992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11993/* end confdefs.h. */ 11994 11995/* Override any GCC internal prototype to avoid an error. 11996 Use char because int might match the return type of a GCC 11997 builtin and then its argument prototype would still apply. */ 11998#ifdef __cplusplus 11999extern "C" 12000#endif 12001char shl_load (); 12002int 12003main () 12004{ 12005return shl_load (); 12006 ; 12007 return 0; 12008} 12009_ACEOF 12010if ac_fn_c_try_link "$LINENO"; then : 12011 ac_cv_lib_dld_shl_load=yes 12012else 12013 ac_cv_lib_dld_shl_load=no 12014fi 12015rm -f core conftest.err conftest.$ac_objext \ 12016 conftest$ac_exeext conftest.$ac_ext 12017LIBS=$ac_check_lib_save_LIBS 12018fi 12019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12020$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12021if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12022 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12023else 12024 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12025if test "x$ac_cv_func_dlopen" = xyes; then : 12026 lt_cv_dlopen=dlopen 12027else 12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12029$as_echo_n "checking for dlopen in -ldl... " >&6; } 12030if ${ac_cv_lib_dl_dlopen+:} false; then : 12031 $as_echo_n "(cached) " >&6 12032else 12033 ac_check_lib_save_LIBS=$LIBS 12034LIBS="-ldl $LIBS" 12035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12036/* end confdefs.h. */ 12037 12038/* Override any GCC internal prototype to avoid an error. 12039 Use char because int might match the return type of a GCC 12040 builtin and then its argument prototype would still apply. */ 12041#ifdef __cplusplus 12042extern "C" 12043#endif 12044char dlopen (); 12045int 12046main () 12047{ 12048return dlopen (); 12049 ; 12050 return 0; 12051} 12052_ACEOF 12053if ac_fn_c_try_link "$LINENO"; then : 12054 ac_cv_lib_dl_dlopen=yes 12055else 12056 ac_cv_lib_dl_dlopen=no 12057fi 12058rm -f core conftest.err conftest.$ac_objext \ 12059 conftest$ac_exeext conftest.$ac_ext 12060LIBS=$ac_check_lib_save_LIBS 12061fi 12062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12063$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12064if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12065 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12066else 12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12068$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12069if ${ac_cv_lib_svld_dlopen+:} false; then : 12070 $as_echo_n "(cached) " >&6 12071else 12072 ac_check_lib_save_LIBS=$LIBS 12073LIBS="-lsvld $LIBS" 12074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12075/* end confdefs.h. */ 12076 12077/* Override any GCC internal prototype to avoid an error. 12078 Use char because int might match the return type of a GCC 12079 builtin and then its argument prototype would still apply. */ 12080#ifdef __cplusplus 12081extern "C" 12082#endif 12083char dlopen (); 12084int 12085main () 12086{ 12087return dlopen (); 12088 ; 12089 return 0; 12090} 12091_ACEOF 12092if ac_fn_c_try_link "$LINENO"; then : 12093 ac_cv_lib_svld_dlopen=yes 12094else 12095 ac_cv_lib_svld_dlopen=no 12096fi 12097rm -f core conftest.err conftest.$ac_objext \ 12098 conftest$ac_exeext conftest.$ac_ext 12099LIBS=$ac_check_lib_save_LIBS 12100fi 12101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12102$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12103if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12104 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12105else 12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12107$as_echo_n "checking for dld_link in -ldld... " >&6; } 12108if ${ac_cv_lib_dld_dld_link+:} false; then : 12109 $as_echo_n "(cached) " >&6 12110else 12111 ac_check_lib_save_LIBS=$LIBS 12112LIBS="-ldld $LIBS" 12113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12114/* end confdefs.h. */ 12115 12116/* Override any GCC internal prototype to avoid an error. 12117 Use char because int might match the return type of a GCC 12118 builtin and then its argument prototype would still apply. */ 12119#ifdef __cplusplus 12120extern "C" 12121#endif 12122char dld_link (); 12123int 12124main () 12125{ 12126return dld_link (); 12127 ; 12128 return 0; 12129} 12130_ACEOF 12131if ac_fn_c_try_link "$LINENO"; then : 12132 ac_cv_lib_dld_dld_link=yes 12133else 12134 ac_cv_lib_dld_dld_link=no 12135fi 12136rm -f core conftest.err conftest.$ac_objext \ 12137 conftest$ac_exeext conftest.$ac_ext 12138LIBS=$ac_check_lib_save_LIBS 12139fi 12140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12141$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12142if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12143 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12144fi 12145 12146 12147fi 12148 12149 12150fi 12151 12152 12153fi 12154 12155 12156fi 12157 12158 12159fi 12160 12161 ;; 12162 esac 12163 12164 if test no = "$lt_cv_dlopen"; then 12165 enable_dlopen=no 12166 else 12167 enable_dlopen=yes 12168 fi 12169 12170 case $lt_cv_dlopen in 12171 dlopen) 12172 save_CPPFLAGS=$CPPFLAGS 12173 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12174 12175 save_LDFLAGS=$LDFLAGS 12176 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12177 12178 save_LIBS=$LIBS 12179 LIBS="$lt_cv_dlopen_libs $LIBS" 12180 12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12182$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12183if ${lt_cv_dlopen_self+:} false; then : 12184 $as_echo_n "(cached) " >&6 12185else 12186 if test yes = "$cross_compiling"; then : 12187 lt_cv_dlopen_self=cross 12188else 12189 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12190 lt_status=$lt_dlunknown 12191 cat > conftest.$ac_ext <<_LT_EOF 12192#line $LINENO "configure" 12193#include "confdefs.h" 12194 12195#if HAVE_DLFCN_H 12196#include <dlfcn.h> 12197#endif 12198 12199#include <stdio.h> 12200 12201#ifdef RTLD_GLOBAL 12202# define LT_DLGLOBAL RTLD_GLOBAL 12203#else 12204# ifdef DL_GLOBAL 12205# define LT_DLGLOBAL DL_GLOBAL 12206# else 12207# define LT_DLGLOBAL 0 12208# endif 12209#endif 12210 12211/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12212 find out it does not work in some platform. */ 12213#ifndef LT_DLLAZY_OR_NOW 12214# ifdef RTLD_LAZY 12215# define LT_DLLAZY_OR_NOW RTLD_LAZY 12216# else 12217# ifdef DL_LAZY 12218# define LT_DLLAZY_OR_NOW DL_LAZY 12219# else 12220# ifdef RTLD_NOW 12221# define LT_DLLAZY_OR_NOW RTLD_NOW 12222# else 12223# ifdef DL_NOW 12224# define LT_DLLAZY_OR_NOW DL_NOW 12225# else 12226# define LT_DLLAZY_OR_NOW 0 12227# endif 12228# endif 12229# endif 12230# endif 12231#endif 12232 12233/* When -fvisibility=hidden is used, assume the code has been annotated 12234 correspondingly for the symbols needed. */ 12235#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12236int fnord () __attribute__((visibility("default"))); 12237#endif 12238 12239int fnord () { return 42; } 12240int main () 12241{ 12242 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12243 int status = $lt_dlunknown; 12244 12245 if (self) 12246 { 12247 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12248 else 12249 { 12250 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12251 else puts (dlerror ()); 12252 } 12253 /* dlclose (self); */ 12254 } 12255 else 12256 puts (dlerror ()); 12257 12258 return status; 12259} 12260_LT_EOF 12261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12262 (eval $ac_link) 2>&5 12263 ac_status=$? 12264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12265 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12266 (./conftest; exit; ) >&5 2>/dev/null 12267 lt_status=$? 12268 case x$lt_status in 12269 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12270 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12271 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12272 esac 12273 else : 12274 # compilation failed 12275 lt_cv_dlopen_self=no 12276 fi 12277fi 12278rm -fr conftest* 12279 12280 12281fi 12282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12283$as_echo "$lt_cv_dlopen_self" >&6; } 12284 12285 if test yes = "$lt_cv_dlopen_self"; then 12286 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12288$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12289if ${lt_cv_dlopen_self_static+:} false; then : 12290 $as_echo_n "(cached) " >&6 12291else 12292 if test yes = "$cross_compiling"; then : 12293 lt_cv_dlopen_self_static=cross 12294else 12295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12296 lt_status=$lt_dlunknown 12297 cat > conftest.$ac_ext <<_LT_EOF 12298#line $LINENO "configure" 12299#include "confdefs.h" 12300 12301#if HAVE_DLFCN_H 12302#include <dlfcn.h> 12303#endif 12304 12305#include <stdio.h> 12306 12307#ifdef RTLD_GLOBAL 12308# define LT_DLGLOBAL RTLD_GLOBAL 12309#else 12310# ifdef DL_GLOBAL 12311# define LT_DLGLOBAL DL_GLOBAL 12312# else 12313# define LT_DLGLOBAL 0 12314# endif 12315#endif 12316 12317/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12318 find out it does not work in some platform. */ 12319#ifndef LT_DLLAZY_OR_NOW 12320# ifdef RTLD_LAZY 12321# define LT_DLLAZY_OR_NOW RTLD_LAZY 12322# else 12323# ifdef DL_LAZY 12324# define LT_DLLAZY_OR_NOW DL_LAZY 12325# else 12326# ifdef RTLD_NOW 12327# define LT_DLLAZY_OR_NOW RTLD_NOW 12328# else 12329# ifdef DL_NOW 12330# define LT_DLLAZY_OR_NOW DL_NOW 12331# else 12332# define LT_DLLAZY_OR_NOW 0 12333# endif 12334# endif 12335# endif 12336# endif 12337#endif 12338 12339/* When -fvisibility=hidden is used, assume the code has been annotated 12340 correspondingly for the symbols needed. */ 12341#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12342int fnord () __attribute__((visibility("default"))); 12343#endif 12344 12345int fnord () { return 42; } 12346int main () 12347{ 12348 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12349 int status = $lt_dlunknown; 12350 12351 if (self) 12352 { 12353 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12354 else 12355 { 12356 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12357 else puts (dlerror ()); 12358 } 12359 /* dlclose (self); */ 12360 } 12361 else 12362 puts (dlerror ()); 12363 12364 return status; 12365} 12366_LT_EOF 12367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12368 (eval $ac_link) 2>&5 12369 ac_status=$? 12370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12371 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12372 (./conftest; exit; ) >&5 2>/dev/null 12373 lt_status=$? 12374 case x$lt_status in 12375 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12376 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12377 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12378 esac 12379 else : 12380 # compilation failed 12381 lt_cv_dlopen_self_static=no 12382 fi 12383fi 12384rm -fr conftest* 12385 12386 12387fi 12388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12389$as_echo "$lt_cv_dlopen_self_static" >&6; } 12390 fi 12391 12392 CPPFLAGS=$save_CPPFLAGS 12393 LDFLAGS=$save_LDFLAGS 12394 LIBS=$save_LIBS 12395 ;; 12396 esac 12397 12398 case $lt_cv_dlopen_self in 12399 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12400 *) enable_dlopen_self=unknown ;; 12401 esac 12402 12403 case $lt_cv_dlopen_self_static in 12404 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12405 *) enable_dlopen_self_static=unknown ;; 12406 esac 12407fi 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425striplib= 12426old_striplib= 12427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12428$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12429if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12430 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12431 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12433$as_echo "yes" >&6; } 12434else 12435# FIXME - insert some real tests, host_os isn't really good enough 12436 case $host_os in 12437 darwin*) 12438 if test -n "$STRIP"; then 12439 striplib="$STRIP -x" 12440 old_striplib="$STRIP -S" 12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12442$as_echo "yes" >&6; } 12443 else 12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12445$as_echo "no" >&6; } 12446 fi 12447 ;; 12448 *) 12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12450$as_echo "no" >&6; } 12451 ;; 12452 esac 12453fi 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 # Report what library types will actually be built 12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12468$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12470$as_echo "$can_build_shared" >&6; } 12471 12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12473$as_echo_n "checking whether to build shared libraries... " >&6; } 12474 test no = "$can_build_shared" && enable_shared=no 12475 12476 # On AIX, shared libraries and static libraries use the same namespace, and 12477 # are all built from PIC. 12478 case $host_os in 12479 aix3*) 12480 test yes = "$enable_shared" && enable_static=no 12481 if test -n "$RANLIB"; then 12482 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12483 postinstall_cmds='$RANLIB $lib' 12484 fi 12485 ;; 12486 12487 aix[4-9]*) 12488 if test ia64 != "$host_cpu"; then 12489 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12490 yes,aix,yes) ;; # shared object as lib.so file only 12491 yes,svr4,*) ;; # shared object as lib.so archive member only 12492 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12493 esac 12494 fi 12495 ;; 12496 esac 12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12498$as_echo "$enable_shared" >&6; } 12499 12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12501$as_echo_n "checking whether to build static libraries... " >&6; } 12502 # Make sure either enable_shared or enable_static is yes. 12503 test yes = "$enable_shared" || enable_static=yes 12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12505$as_echo "$enable_static" >&6; } 12506 12507 12508 12509 12510fi 12511ac_ext=c 12512ac_cpp='$CPP $CPPFLAGS' 12513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12515ac_compiler_gnu=$ac_cv_c_compiler_gnu 12516 12517CC=$lt_save_CC 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 ac_config_commands="$ac_config_commands libtool" 12534 12535 12536 12537 12538# Only expand once: 12539 12540 12541 12542LT_CURRENT=1 12543LT_REVISION=0 12544LT_AGE=1 12545 12546 12547 12548 12549 12550 12551 12552# Check whether --enable-glibtest was given. 12553if test "${enable_glibtest+set}" = set; then : 12554 enableval=$enable_glibtest; 12555else 12556 enable_glibtest=yes 12557fi 12558 12559 12560 min_glib_version=2.38.0 12561 pkg_config_args="glib-2.0 >= $min_glib_version" 12562 for module in . 12563 do 12564 case "$module" in 12565 gmodule) 12566 pkg_config_args="$pkg_config_args gmodule-2.0" 12567 ;; 12568 gmodule-no-export) 12569 pkg_config_args="$pkg_config_args gmodule-no-export-2.0" 12570 ;; 12571 gobject) 12572 pkg_config_args="$pkg_config_args gobject-2.0" 12573 ;; 12574 gthread) 12575 pkg_config_args="$pkg_config_args gthread-2.0" 12576 ;; 12577 gio*) 12578 pkg_config_args="$pkg_config_args $module-2.0" 12579 ;; 12580 esac 12581 done 12582 12583 12584 12585 12586 12587 12588 12589 12590if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12591 if test -n "$ac_tool_prefix"; then 12592 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12593set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12595$as_echo_n "checking for $ac_word... " >&6; } 12596if ${ac_cv_path_PKG_CONFIG+:} false; then : 12597 $as_echo_n "(cached) " >&6 12598else 12599 case $PKG_CONFIG in 12600 [\\/]* | ?:[\\/]*) 12601 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12602 ;; 12603 *) 12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12605for as_dir in $PATH 12606do 12607 IFS=$as_save_IFS 12608 test -z "$as_dir" && as_dir=. 12609 for ac_exec_ext in '' $ac_executable_extensions; do 12610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12611 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12613 break 2 12614 fi 12615done 12616 done 12617IFS=$as_save_IFS 12618 12619 ;; 12620esac 12621fi 12622PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12623if test -n "$PKG_CONFIG"; then 12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12625$as_echo "$PKG_CONFIG" >&6; } 12626else 12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12628$as_echo "no" >&6; } 12629fi 12630 12631 12632fi 12633if test -z "$ac_cv_path_PKG_CONFIG"; then 12634 ac_pt_PKG_CONFIG=$PKG_CONFIG 12635 # Extract the first word of "pkg-config", so it can be a program name with args. 12636set dummy pkg-config; ac_word=$2 12637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12638$as_echo_n "checking for $ac_word... " >&6; } 12639if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 12640 $as_echo_n "(cached) " >&6 12641else 12642 case $ac_pt_PKG_CONFIG in 12643 [\\/]* | ?:[\\/]*) 12644 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12645 ;; 12646 *) 12647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12648for as_dir in $PATH 12649do 12650 IFS=$as_save_IFS 12651 test -z "$as_dir" && as_dir=. 12652 for ac_exec_ext in '' $ac_executable_extensions; do 12653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12654 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12656 break 2 12657 fi 12658done 12659 done 12660IFS=$as_save_IFS 12661 12662 ;; 12663esac 12664fi 12665ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12666if test -n "$ac_pt_PKG_CONFIG"; then 12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12668$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12669else 12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12671$as_echo "no" >&6; } 12672fi 12673 12674 if test "x$ac_pt_PKG_CONFIG" = x; then 12675 PKG_CONFIG="" 12676 else 12677 case $cross_compiling:$ac_tool_warned in 12678yes:) 12679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12681ac_tool_warned=yes ;; 12682esac 12683 PKG_CONFIG=$ac_pt_PKG_CONFIG 12684 fi 12685else 12686 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12687fi 12688 12689fi 12690if test -n "$PKG_CONFIG"; then 12691 _pkg_min_version=0.16 12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12693$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12694 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12696$as_echo "yes" >&6; } 12697 else 12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12699$as_echo "no" >&6; } 12700 PKG_CONFIG="" 12701 fi 12702fi 12703 12704 no_glib="" 12705 12706 if test "x$PKG_CONFIG" = x ; then 12707 no_glib=yes 12708 PKG_CONFIG=no 12709 fi 12710 12711 12712pkg_failed=no 12713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 12714$as_echo_n "checking for GLIB... " >&6; } 12715 12716if test -n "$GLIB_CFLAGS"; then 12717 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 12718 elif test -n "$PKG_CONFIG"; then 12719 if test -n "$PKG_CONFIG" && \ 12720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5 12721 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5 12722 ac_status=$? 12723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12724 test $ac_status = 0; }; then 12725 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null` 12726 test "x$?" != "x0" && pkg_failed=yes 12727else 12728 pkg_failed=yes 12729fi 12730 else 12731 pkg_failed=untried 12732fi 12733if test -n "$GLIB_LIBS"; then 12734 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 12735 elif test -n "$PKG_CONFIG"; then 12736 if test -n "$PKG_CONFIG" && \ 12737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5 12738 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5 12739 ac_status=$? 12740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12741 test $ac_status = 0; }; then 12742 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null` 12743 test "x$?" != "x0" && pkg_failed=yes 12744else 12745 pkg_failed=yes 12746fi 12747 else 12748 pkg_failed=untried 12749fi 12750 12751 12752 12753if test $pkg_failed = yes; then 12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12755$as_echo "no" >&6; } 12756 12757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12758 _pkg_short_errors_supported=yes 12759else 12760 _pkg_short_errors_supported=no 12761fi 12762 if test $_pkg_short_errors_supported = yes; then 12763 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1` 12764 else 12765 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1` 12766 fi 12767 # Put the nasty error message in config.log where it belongs 12768 echo "$GLIB_PKG_ERRORS" >&5 12769 12770 : 12771elif test $pkg_failed = untried; then 12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12773$as_echo "no" >&6; } 12774 : 12775else 12776 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 12777 GLIB_LIBS=$pkg_cv_GLIB_LIBS 12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12779$as_echo "yes" >&6; } 12780 : 12781fi 12782 12783 12784if test -n "$GLIB_GENMARSHAL"; then 12785 pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" 12786 elif test -n "$PKG_CONFIG"; then 12787 if test -n "$PKG_CONFIG" && \ 12788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 12789 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 12790 ac_status=$? 12791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12792 test $ac_status = 0; }; then 12793 pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null` 12794 test "x$?" != "x0" && pkg_failed=yes 12795else 12796 pkg_failed=yes 12797fi 12798 else 12799 pkg_failed=untried 12800fi 12801GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL 12802 12803if test "x$GLIB_GENMARSHAL" = x""; then : 12804 12805fi 12806 12807if test -n "$GOBJECT_QUERY"; then 12808 pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY" 12809 elif test -n "$PKG_CONFIG"; then 12810 if test -n "$PKG_CONFIG" && \ 12811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 12812 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 12813 ac_status=$? 12814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12815 test $ac_status = 0; }; then 12816 pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null` 12817 test "x$?" != "x0" && pkg_failed=yes 12818else 12819 pkg_failed=yes 12820fi 12821 else 12822 pkg_failed=untried 12823fi 12824GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY 12825 12826if test "x$GOBJECT_QUERY" = x""; then : 12827 12828fi 12829 12830if test -n "$GLIB_MKENUMS"; then 12831 pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS" 12832 elif test -n "$PKG_CONFIG"; then 12833 if test -n "$PKG_CONFIG" && \ 12834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 12835 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 12836 ac_status=$? 12837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12838 test $ac_status = 0; }; then 12839 pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null` 12840 test "x$?" != "x0" && pkg_failed=yes 12841else 12842 pkg_failed=yes 12843fi 12844 else 12845 pkg_failed=untried 12846fi 12847GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS 12848 12849if test "x$GLIB_MKENUMS" = x""; then : 12850 12851fi 12852 12853if test -n "$GLIB_COMPILE_RESOURCES"; then 12854 pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" 12855 elif test -n "$PKG_CONFIG"; then 12856 if test -n "$PKG_CONFIG" && \ 12857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 12858 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 12859 ac_status=$? 12860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12861 test $ac_status = 0; }; then 12862 pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null` 12863 test "x$?" != "x0" && pkg_failed=yes 12864else 12865 pkg_failed=yes 12866fi 12867 else 12868 pkg_failed=untried 12869fi 12870GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES 12871 12872if test "x$GLIB_COMPILE_RESOURCES" = x""; then : 12873 12874fi 12875 12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 12877$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } 12878 12879 if test x$PKG_CONFIG != xno ; then 12880 ## don't try to run the test against uninstalled libtool libs 12881 if $PKG_CONFIG --uninstalled $pkg_config_args; then 12882 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" 12883 enable_glibtest=no 12884 fi 12885 12886 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then 12887 : 12888 else 12889 no_glib=yes 12890 fi 12891 fi 12892 12893 if test x"$no_glib" = x ; then 12894 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12895 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 12896 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 12898 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ 12899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 12900 if test "x$enable_glibtest" = "xyes" ; then 12901 ac_save_CFLAGS="$CFLAGS" 12902 ac_save_LIBS="$LIBS" 12903 CFLAGS="$CFLAGS $GLIB_CFLAGS" 12904 LIBS="$GLIB_LIBS $LIBS" 12905 rm -f conf.glibtest 12906 if test "$cross_compiling" = yes; then : 12907 echo $ac_n "cross compiling; assumed OK... $ac_c" 12908else 12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12910/* end confdefs.h. */ 12911 12912#include <glib.h> 12913#include <stdio.h> 12914#include <stdlib.h> 12915 12916int 12917main (void) 12918{ 12919 unsigned int major, minor, micro; 12920 12921 fclose (fopen ("conf.glibtest", "w")); 12922 12923 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) { 12924 printf("%s, bad version string\n", "$min_glib_version"); 12925 exit(1); 12926 } 12927 12928 if ((glib_major_version != $glib_config_major_version) || 12929 (glib_minor_version != $glib_config_minor_version) || 12930 (glib_micro_version != $glib_config_micro_version)) 12931 { 12932 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 12933 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 12934 glib_major_version, glib_minor_version, glib_micro_version); 12935 printf ("*** was found! If pkg-config was correct, then it is best\n"); 12936 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); 12937 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 12938 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 12939 printf("*** required on your system.\n"); 12940 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 12941 printf("*** to point to the correct configuration files\n"); 12942 } 12943 else if ((glib_major_version != GLIB_MAJOR_VERSION) || 12944 (glib_minor_version != GLIB_MINOR_VERSION) || 12945 (glib_micro_version != GLIB_MICRO_VERSION)) 12946 { 12947 printf("*** GLIB header files (version %d.%d.%d) do not match\n", 12948 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 12949 printf("*** library (version %d.%d.%d)\n", 12950 glib_major_version, glib_minor_version, glib_micro_version); 12951 } 12952 else 12953 { 12954 if ((glib_major_version > major) || 12955 ((glib_major_version == major) && (glib_minor_version > minor)) || 12956 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 12957 { 12958 return 0; 12959 } 12960 else 12961 { 12962 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", 12963 glib_major_version, glib_minor_version, glib_micro_version); 12964 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", 12965 major, minor, micro); 12966 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 12967 printf("***\n"); 12968 printf("*** If you have already installed a sufficiently new version, this error\n"); 12969 printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 12970 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 12971 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); 12972 printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 12973 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 12974 printf("*** so that the correct libraries are found at run-time))\n"); 12975 } 12976 } 12977 return 1; 12978} 12979 12980_ACEOF 12981if ac_fn_c_try_run "$LINENO"; then : 12982 12983else 12984 no_glib=yes 12985fi 12986rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12987 conftest.$ac_objext conftest.beam conftest.$ac_ext 12988fi 12989 12990 CFLAGS="$ac_save_CFLAGS" 12991 LIBS="$ac_save_LIBS" 12992 fi 12993 fi 12994 if test "x$no_glib" = x ; then 12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 12996$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } 12997 : 12998 else 12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13000$as_echo "no" >&6; } 13001 if test "$PKG_CONFIG" = "no" ; then 13002 echo "*** A new enough version of pkg-config was not found." 13003 echo "*** See http://www.freedesktop.org/software/pkgconfig/" 13004 else 13005 if test -f conf.glibtest ; then 13006 : 13007 else 13008 echo "*** Could not run GLIB test program, checking why..." 13009 ac_save_CFLAGS="$CFLAGS" 13010 ac_save_LIBS="$LIBS" 13011 CFLAGS="$CFLAGS $GLIB_CFLAGS" 13012 LIBS="$LIBS $GLIB_LIBS" 13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13014/* end confdefs.h. */ 13015 13016#include <glib.h> 13017#include <stdio.h> 13018 13019int 13020main () 13021{ 13022 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 13023 ; 13024 return 0; 13025} 13026_ACEOF 13027if ac_fn_c_try_link "$LINENO"; then : 13028 echo "*** The test program compiled, but did not run. This usually means" 13029 echo "*** that the run-time linker is not finding GLIB or finding the wrong" 13030 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 13031 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 13032 echo "*** to the installed location Also, make sure you have run ldconfig if that" 13033 echo "*** is required on your system" 13034 echo "***" 13035 echo "*** If you have an old version installed, it is best to remove it, although" 13036 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 13037else 13038 echo "*** The test program failed to compile or link. See the file config.log for the" 13039 echo "*** exact error that occured. This usually means GLIB is incorrectly installed." 13040fi 13041rm -f core conftest.err conftest.$ac_objext \ 13042 conftest$ac_exeext conftest.$ac_ext 13043 CFLAGS="$ac_save_CFLAGS" 13044 LIBS="$ac_save_LIBS" 13045 fi 13046 fi 13047 GLIB_CFLAGS="" 13048 GLIB_LIBS="" 13049 GLIB_GENMARSHAL="" 13050 GOBJECT_QUERY="" 13051 GLIB_MKENUMS="" 13052 GLIB_COMPILE_RESOURCES="" 13053 : 13054 fi 13055 rm -f conf.glibtest 13056 13057 13058for ac_header in arpa/inet.h fcntl.h memory.h netdb.h netinet/in.h netinet/in_systm.h stdlib.h string.h sys/socket.h sys/time.h unistd.h 13059do : 13060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13061ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13062if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13063 cat >>confdefs.h <<_ACEOF 13064#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13065_ACEOF 13066 13067fi 13068 13069done 13070 13071for ac_header in winsock2.h arpa/nameser_compat.h 13072do : 13073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13074ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13075if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13076 cat >>confdefs.h <<_ACEOF 13077#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13078_ACEOF 13079 13080fi 13081 13082done 13083 13084 13085if test "$ac_cv_header_winsock2_h" = "yes"; then 13086 # If we have <winsock2.h>, assume we find the functions 13087 # in -lws2_32 (ws2_32 is winsock v2, wsock32 is v1.1) 13088 LIBS="-lws2_32 -lgdi32 $LIBS" 13089fi 13090 13091 13092 if test -f $srcdir/autogen.sh; then 13093 default_compile_warnings="error" 13094 else 13095 default_compile_warnings="no" 13096 fi 13097 13098 13099# Check whether --with-compile-warnings was given. 13100if test "${with_compile_warnings+set}" = set; then : 13101 withval=$with_compile_warnings; enable_compile_warnings="$withval" 13102else 13103 enable_compile_warnings="$default_compile_warnings" 13104fi 13105 13106 13107 warnCFLAGS= 13108 if test "x$GCC" != xyes; then 13109 enable_compile_warnings=no 13110 fi 13111 13112 warning_flags= 13113 realsave_CFLAGS="$CFLAGS" 13114 13115 case "$enable_compile_warnings" in 13116 no) 13117 warning_flags= 13118 ;; 13119 yes) 13120 warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations" 13121 ;; 13122 maximum|error) 13123 warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith" 13124 CFLAGS="$warning_flags $CFLAGS" 13125 for option in -Wno-sign-compare; do 13126 SAVE_CFLAGS="$CFLAGS" 13127 CFLAGS="$CFLAGS $option" 13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 13129$as_echo_n "checking whether gcc understands $option... " >&6; } 13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13131/* end confdefs.h. */ 13132 13133int 13134main () 13135{ 13136 13137 ; 13138 return 0; 13139} 13140_ACEOF 13141if ac_fn_c_try_compile "$LINENO"; then : 13142 has_option=yes 13143else 13144 has_option=no 13145fi 13146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13147 CFLAGS="$SAVE_CFLAGS" 13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 13149$as_echo "$has_option" >&6; } 13150 if test $has_option = yes; then 13151 warning_flags="$warning_flags $option" 13152 fi 13153 unset has_option 13154 unset SAVE_CFLAGS 13155 done 13156 unset option 13157 if test "$enable_compile_warnings" = "error" ; then 13158 warning_flags="$warning_flags -Werror" 13159 fi 13160 ;; 13161 *) 13162 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 13163 ;; 13164 esac 13165 CFLAGS="$realsave_CFLAGS" 13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 13167$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } 13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5 13169$as_echo "$warning_flags" >&6; } 13170 13171 WARN_CFLAGS="$warning_flags" 13172 13173 13174 13175if test "x$GCC" = "xyes"; then 13176 case " $CFLAGS " in 13177 *[\ \ ]-Wall[\ \ ]*) ;; 13178 *) CFLAGS="$CFLAGS -Wall" ;; 13179 esac 13180fi 13181 13182 13183 13184 13185GLIB2_REQUIRED=2.38.0 13186GLIB2_TEST_REQUIRED=2.38.0 13187GNUTLS_REQUIRED=3.0.20 13188LIBTASN1_REQUIRED=0.2.6 13189 13190 13191 13192 13193 13194 13195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 13196$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } 13197if ${ac_cv_struct_tm_gmtoff+:} false; then : 13198 $as_echo_n "(cached) " >&6 13199else 13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13201/* end confdefs.h. */ 13202 13203 #include <time.h> 13204 13205int 13206main () 13207{ 13208 13209 struct tm tm; 13210 tm.tm_gmtoff = 1; 13211 13212 ; 13213 return 0; 13214} 13215_ACEOF 13216if ac_fn_c_try_compile "$LINENO"; then : 13217 ac_cv_struct_tm_gmtoff=yes 13218else 13219 ac_cv_struct_tm_gmtoff=no 13220fi 13221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13222fi 13223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5 13224$as_echo "$ac_cv_struct_tm_gmtoff" >&6; } 13225if test $ac_cv_struct_tm_gmtoff = yes; then 13226 13227$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 13228 13229else 13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5 13231$as_echo_n "checking for timezone variable... " >&6; } 13232if ${ac_cv_var_timezone+:} false; then : 13233 $as_echo_n "(cached) " >&6 13234else 13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13236/* end confdefs.h. */ 13237 13238 #include <time.h> 13239 13240int 13241main () 13242{ 13243 13244 timezone = 1; 13245 13246 ; 13247 return 0; 13248} 13249_ACEOF 13250if ac_fn_c_try_compile "$LINENO"; then : 13251 ac_cv_var_timezone=yes 13252else 13253 ac_cv_var_timezone=no 13254fi 13255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13256fi 13257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5 13258$as_echo "$ac_cv_var_timezone" >&6; } 13259 if test $ac_cv_var_timezone = yes; then 13260 13261$as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h 13262 13263 else 13264 as_fn_error $? "unable to find a way to determine timezone" "$LINENO" 5 13265 fi 13266fi 13267 13268 13269 13270 13271 13272# Check whether --with-pkgconfigdir was given. 13273if test "${with_pkgconfigdir+set}" = set; then : 13274 withval=$with_pkgconfigdir; 13275else 13276 with_pkgconfigdir='${libdir}/pkgconfig' 13277fi 13278 13279pkgconfigdir=$with_pkgconfigdir 13280 13281 13282 13283 13284 13285 13286pkg_failed=no 13287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOUDMOUTH" >&5 13288$as_echo_n "checking for LOUDMOUTH... " >&6; } 13289 13290if test -n "$LOUDMOUTH_CFLAGS"; then 13291 pkg_cv_LOUDMOUTH_CFLAGS="$LOUDMOUTH_CFLAGS" 13292 elif test -n "$PKG_CONFIG"; then 13293 if test -n "$PKG_CONFIG" && \ 13294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_REQUIRED 13295 gobject-2.0 >= \$GLIB2_REQUIRED\""; } >&5 13296 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_REQUIRED 13297 gobject-2.0 >= $GLIB2_REQUIRED") 2>&5 13298 ac_status=$? 13299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13300 test $ac_status = 0; }; then 13301 pkg_cv_LOUDMOUTH_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB2_REQUIRED 13302 gobject-2.0 >= $GLIB2_REQUIRED" 2>/dev/null` 13303 test "x$?" != "x0" && pkg_failed=yes 13304else 13305 pkg_failed=yes 13306fi 13307 else 13308 pkg_failed=untried 13309fi 13310if test -n "$LOUDMOUTH_LIBS"; then 13311 pkg_cv_LOUDMOUTH_LIBS="$LOUDMOUTH_LIBS" 13312 elif test -n "$PKG_CONFIG"; then 13313 if test -n "$PKG_CONFIG" && \ 13314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_REQUIRED 13315 gobject-2.0 >= \$GLIB2_REQUIRED\""; } >&5 13316 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_REQUIRED 13317 gobject-2.0 >= $GLIB2_REQUIRED") 2>&5 13318 ac_status=$? 13319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13320 test $ac_status = 0; }; then 13321 pkg_cv_LOUDMOUTH_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB2_REQUIRED 13322 gobject-2.0 >= $GLIB2_REQUIRED" 2>/dev/null` 13323 test "x$?" != "x0" && pkg_failed=yes 13324else 13325 pkg_failed=yes 13326fi 13327 else 13328 pkg_failed=untried 13329fi 13330 13331 13332 13333if test $pkg_failed = yes; then 13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13335$as_echo "no" >&6; } 13336 13337if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13338 _pkg_short_errors_supported=yes 13339else 13340 _pkg_short_errors_supported=no 13341fi 13342 if test $_pkg_short_errors_supported = yes; then 13343 LOUDMOUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB2_REQUIRED 13344 gobject-2.0 >= $GLIB2_REQUIRED" 2>&1` 13345 else 13346 LOUDMOUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB2_REQUIRED 13347 gobject-2.0 >= $GLIB2_REQUIRED" 2>&1` 13348 fi 13349 # Put the nasty error message in config.log where it belongs 13350 echo "$LOUDMOUTH_PKG_ERRORS" >&5 13351 13352 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB2_REQUIRED 13353 gobject-2.0 >= $GLIB2_REQUIRED) were not met: 13354 13355$LOUDMOUTH_PKG_ERRORS 13356 13357Consider adjusting the PKG_CONFIG_PATH environment variable if you 13358installed software in a non-standard prefix. 13359 13360Alternatively, you may set the environment variables LOUDMOUTH_CFLAGS 13361and LOUDMOUTH_LIBS to avoid the need to call pkg-config. 13362See the pkg-config man page for more details." "$LINENO" 5 13363elif test $pkg_failed = untried; then 13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13365$as_echo "no" >&6; } 13366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13368as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13369is in your PATH or set the PKG_CONFIG environment variable to the full 13370path to pkg-config. 13371 13372Alternatively, you may set the environment variables LOUDMOUTH_CFLAGS 13373and LOUDMOUTH_LIBS to avoid the need to call pkg-config. 13374See the pkg-config man page for more details. 13375 13376To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13377See \`config.log' for more details" "$LINENO" 5; } 13378else 13379 LOUDMOUTH_CFLAGS=$pkg_cv_LOUDMOUTH_CFLAGS 13380 LOUDMOUTH_LIBS=$pkg_cv_LOUDMOUTH_LIBS 13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13382$as_echo "yes" >&6; } 13383 13384fi 13385 13386 13387pkg_failed=no 13388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOUDMOUTHTEST" >&5 13389$as_echo_n "checking for LOUDMOUTHTEST... " >&6; } 13390 13391if test -n "$LOUDMOUTHTEST_CFLAGS"; then 13392 pkg_cv_LOUDMOUTHTEST_CFLAGS="$LOUDMOUTHTEST_CFLAGS" 13393 elif test -n "$PKG_CONFIG"; then 13394 if test -n "$PKG_CONFIG" && \ 13395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_TEST_REQUIRED 13396 gobject-2.0 >= \$GLIB2_REQUIRED\""; } >&5 13397 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_TEST_REQUIRED 13398 gobject-2.0 >= $GLIB2_REQUIRED") 2>&5 13399 ac_status=$? 13400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13401 test $ac_status = 0; }; then 13402 pkg_cv_LOUDMOUTHTEST_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB2_TEST_REQUIRED 13403 gobject-2.0 >= $GLIB2_REQUIRED" 2>/dev/null` 13404 test "x$?" != "x0" && pkg_failed=yes 13405else 13406 pkg_failed=yes 13407fi 13408 else 13409 pkg_failed=untried 13410fi 13411if test -n "$LOUDMOUTHTEST_LIBS"; then 13412 pkg_cv_LOUDMOUTHTEST_LIBS="$LOUDMOUTHTEST_LIBS" 13413 elif test -n "$PKG_CONFIG"; then 13414 if test -n "$PKG_CONFIG" && \ 13415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_TEST_REQUIRED 13416 gobject-2.0 >= \$GLIB2_REQUIRED\""; } >&5 13417 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_TEST_REQUIRED 13418 gobject-2.0 >= $GLIB2_REQUIRED") 2>&5 13419 ac_status=$? 13420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13421 test $ac_status = 0; }; then 13422 pkg_cv_LOUDMOUTHTEST_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB2_TEST_REQUIRED 13423 gobject-2.0 >= $GLIB2_REQUIRED" 2>/dev/null` 13424 test "x$?" != "x0" && pkg_failed=yes 13425else 13426 pkg_failed=yes 13427fi 13428 else 13429 pkg_failed=untried 13430fi 13431 13432 13433 13434if test $pkg_failed = yes; then 13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13436$as_echo "no" >&6; } 13437 13438if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13439 _pkg_short_errors_supported=yes 13440else 13441 _pkg_short_errors_supported=no 13442fi 13443 if test $_pkg_short_errors_supported = yes; then 13444 LOUDMOUTHTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB2_TEST_REQUIRED 13445 gobject-2.0 >= $GLIB2_REQUIRED" 2>&1` 13446 else 13447 LOUDMOUTHTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB2_TEST_REQUIRED 13448 gobject-2.0 >= $GLIB2_REQUIRED" 2>&1` 13449 fi 13450 # Put the nasty error message in config.log where it belongs 13451 echo "$LOUDMOUTHTEST_PKG_ERRORS" >&5 13452 13453 enable_test=no 13454elif test $pkg_failed = untried; then 13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13456$as_echo "no" >&6; } 13457 enable_test=no 13458else 13459 LOUDMOUTHTEST_CFLAGS=$pkg_cv_LOUDMOUTHTEST_CFLAGS 13460 LOUDMOUTHTEST_LIBS=$pkg_cv_LOUDMOUTHTEST_LIBS 13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13462$as_echo "yes" >&6; } 13463 enable_test=yes 13464fi 13465if test "$enable_test" = yes; then 13466 TEST_DIRS=tests 13467else 13468 TEST_DIRS= 13469fi 13470 13471 13472 13473# Check whether --with-idn was given. 13474if test "${with_idn+set}" = set; then : 13475 withval=$with_idn; ac_idn=$withval 13476else 13477 ac_idn=auto 13478fi 13479 13480 13481if test "x$ac_idn" = "xauto"; then 13482 13483pkg_failed=no 13484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIDN" >&5 13485$as_echo_n "checking for LIBIDN... " >&6; } 13486 13487if test -n "$LIBIDN_CFLAGS"; then 13488 pkg_cv_LIBIDN_CFLAGS="$LIBIDN_CFLAGS" 13489 elif test -n "$PKG_CONFIG"; then 13490 if test -n "$PKG_CONFIG" && \ 13491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 13492 ($PKG_CONFIG --exists --print-errors "libidn") 2>&5 13493 ac_status=$? 13494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13495 test $ac_status = 0; }; then 13496 pkg_cv_LIBIDN_CFLAGS=`$PKG_CONFIG --cflags "libidn" 2>/dev/null` 13497 test "x$?" != "x0" && pkg_failed=yes 13498else 13499 pkg_failed=yes 13500fi 13501 else 13502 pkg_failed=untried 13503fi 13504if test -n "$LIBIDN_LIBS"; then 13505 pkg_cv_LIBIDN_LIBS="$LIBIDN_LIBS" 13506 elif test -n "$PKG_CONFIG"; then 13507 if test -n "$PKG_CONFIG" && \ 13508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn\""; } >&5 13509 ($PKG_CONFIG --exists --print-errors "libidn") 2>&5 13510 ac_status=$? 13511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13512 test $ac_status = 0; }; then 13513 pkg_cv_LIBIDN_LIBS=`$PKG_CONFIG --libs "libidn" 2>/dev/null` 13514 test "x$?" != "x0" && pkg_failed=yes 13515else 13516 pkg_failed=yes 13517fi 13518 else 13519 pkg_failed=untried 13520fi 13521 13522 13523 13524if test $pkg_failed = yes; then 13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13526$as_echo "no" >&6; } 13527 13528if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13529 _pkg_short_errors_supported=yes 13530else 13531 _pkg_short_errors_supported=no 13532fi 13533 if test $_pkg_short_errors_supported = yes; then 13534 LIBIDN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libidn" 2>&1` 13535 else 13536 LIBIDN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libidn" 2>&1` 13537 fi 13538 # Put the nasty error message in config.log where it belongs 13539 echo "$LIBIDN_PKG_ERRORS" >&5 13540 13541 enable_idn=no 13542elif test $pkg_failed = untried; then 13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13544$as_echo "no" >&6; } 13545 enable_idn=no 13546else 13547 LIBIDN_CFLAGS=$pkg_cv_LIBIDN_CFLAGS 13548 LIBIDN_LIBS=$pkg_cv_LIBIDN_LIBS 13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13550$as_echo "yes" >&6; } 13551 enable_idn=yes 13552fi 13553 if test "x$enable_idn" = "xyes"; then 13554 13555$as_echo "#define HAVE_IDN 1" >>confdefs.h 13556 13557 fi 13558else 13559 enable_idn=no 13560fi 13561 13562 13563 13564 13565 13566 gtk_doc_requires="gtk-doc >= 1.14" 13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 13568$as_echo_n "checking for gtk-doc... " >&6; } 13569 if test -n "$PKG_CONFIG" && \ 13570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 13571 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 13572 ac_status=$? 13573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13574 test $ac_status = 0; }; then 13575 have_gtk_doc=yes 13576else 13577 have_gtk_doc=no 13578fi 13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 13580$as_echo "$have_gtk_doc" >&6; } 13581 13582 if test "$have_gtk_doc" = "no"; then 13583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 13584 You will not be able to create source packages with 'make dist' 13585 because $gtk_doc_requires is not found." >&5 13586$as_echo "$as_me: WARNING: 13587 You will not be able to create source packages with 'make dist' 13588 because $gtk_doc_requires is not found." >&2;} 13589 fi 13590 13591 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13592set dummy gtkdoc-check; ac_word=$2 13593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13594$as_echo_n "checking for $ac_word... " >&6; } 13595if ${ac_cv_prog_GTKDOC_CHECK+:} false; then : 13596 $as_echo_n "(cached) " >&6 13597else 13598 if test -n "$GTKDOC_CHECK"; then 13599 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. 13600else 13601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13602for as_dir in $PATH 13603do 13604 IFS=$as_save_IFS 13605 test -z "$as_dir" && as_dir=. 13606 for ac_exec_ext in '' $ac_executable_extensions; do 13607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13608 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" 13609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13610 break 2 13611 fi 13612done 13613 done 13614IFS=$as_save_IFS 13615 13616fi 13617fi 13618GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK 13619if test -n "$GTKDOC_CHECK"; then 13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 13621$as_echo "$GTKDOC_CHECK" >&6; } 13622else 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13624$as_echo "no" >&6; } 13625fi 13626 13627 13628 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 13629set dummy gtkdoc-check; ac_word=$2 13630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13631$as_echo_n "checking for $ac_word... " >&6; } 13632if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then : 13633 $as_echo_n "(cached) " >&6 13634else 13635 case $GTKDOC_CHECK_PATH in 13636 [\\/]* | ?:[\\/]*) 13637 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. 13638 ;; 13639 *) 13640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13641for as_dir in $PATH 13642do 13643 IFS=$as_save_IFS 13644 test -z "$as_dir" && as_dir=. 13645 for ac_exec_ext in '' $ac_executable_extensions; do 13646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13647 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext" 13648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13649 break 2 13650 fi 13651done 13652 done 13653IFS=$as_save_IFS 13654 13655 ;; 13656esac 13657fi 13658GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH 13659if test -n "$GTKDOC_CHECK_PATH"; then 13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 13661$as_echo "$GTKDOC_CHECK_PATH" >&6; } 13662else 13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13664$as_echo "no" >&6; } 13665fi 13666 13667 13668 for ac_prog in gtkdoc-rebase 13669do 13670 # Extract the first word of "$ac_prog", so it can be a program name with args. 13671set dummy $ac_prog; ac_word=$2 13672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13673$as_echo_n "checking for $ac_word... " >&6; } 13674if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 13675 $as_echo_n "(cached) " >&6 13676else 13677 case $GTKDOC_REBASE in 13678 [\\/]* | ?:[\\/]*) 13679 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 13680 ;; 13681 *) 13682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13683for as_dir in $PATH 13684do 13685 IFS=$as_save_IFS 13686 test -z "$as_dir" && as_dir=. 13687 for ac_exec_ext in '' $ac_executable_extensions; do 13688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13689 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 13690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13691 break 2 13692 fi 13693done 13694 done 13695IFS=$as_save_IFS 13696 13697 ;; 13698esac 13699fi 13700GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 13701if test -n "$GTKDOC_REBASE"; then 13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 13703$as_echo "$GTKDOC_REBASE" >&6; } 13704else 13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13706$as_echo "no" >&6; } 13707fi 13708 13709 13710 test -n "$GTKDOC_REBASE" && break 13711done 13712test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 13713 13714 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 13715set dummy gtkdoc-mkpdf; ac_word=$2 13716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13717$as_echo_n "checking for $ac_word... " >&6; } 13718if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 13719 $as_echo_n "(cached) " >&6 13720else 13721 case $GTKDOC_MKPDF in 13722 [\\/]* | ?:[\\/]*) 13723 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 13724 ;; 13725 *) 13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13727for as_dir in $PATH 13728do 13729 IFS=$as_save_IFS 13730 test -z "$as_dir" && as_dir=. 13731 for ac_exec_ext in '' $ac_executable_extensions; do 13732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13733 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 13734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13735 break 2 13736 fi 13737done 13738 done 13739IFS=$as_save_IFS 13740 13741 ;; 13742esac 13743fi 13744GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 13745if test -n "$GTKDOC_MKPDF"; then 13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 13747$as_echo "$GTKDOC_MKPDF" >&6; } 13748else 13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13750$as_echo "no" >&6; } 13751fi 13752 13753 13754 13755 13756# Check whether --with-html-dir was given. 13757if test "${with_html_dir+set}" = set; then : 13758 withval=$with_html_dir; 13759else 13760 with_html_dir='${datadir}/gtk-doc/html' 13761fi 13762 13763 HTML_DIR="$with_html_dir" 13764 13765 13766 # Check whether --enable-gtk-doc was given. 13767if test "${enable_gtk_doc+set}" = set; then : 13768 enableval=$enable_gtk_doc; 13769else 13770 enable_gtk_doc=no 13771fi 13772 13773 13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 13775$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 13777$as_echo "$enable_gtk_doc" >&6; } 13778 13779 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then 13780 as_fn_error $? " 13781 You must have $gtk_doc_requires installed to build documentation for 13782 $PACKAGE_NAME. Please install gtk-doc or disable building the 13783 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 13784 fi 13785 13786 if test "x$PACKAGE_NAME" != "xglib"; then 13787 13788pkg_failed=no 13789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 13790$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 13791 13792if test -n "$GTKDOC_DEPS_CFLAGS"; then 13793 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 13794 elif test -n "$PKG_CONFIG"; then 13795 if test -n "$PKG_CONFIG" && \ 13796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 13797 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13798 ac_status=$? 13799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13800 test $ac_status = 0; }; then 13801 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13802 test "x$?" != "x0" && pkg_failed=yes 13803else 13804 pkg_failed=yes 13805fi 13806 else 13807 pkg_failed=untried 13808fi 13809if test -n "$GTKDOC_DEPS_LIBS"; then 13810 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 13811 elif test -n "$PKG_CONFIG"; then 13812 if test -n "$PKG_CONFIG" && \ 13813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 13814 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 13815 ac_status=$? 13816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13817 test $ac_status = 0; }; then 13818 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 13819 test "x$?" != "x0" && pkg_failed=yes 13820else 13821 pkg_failed=yes 13822fi 13823 else 13824 pkg_failed=untried 13825fi 13826 13827 13828 13829if test $pkg_failed = yes; then 13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13831$as_echo "no" >&6; } 13832 13833if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13834 _pkg_short_errors_supported=yes 13835else 13836 _pkg_short_errors_supported=no 13837fi 13838 if test $_pkg_short_errors_supported = yes; then 13839 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 13840 else 13841 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` 13842 fi 13843 # Put the nasty error message in config.log where it belongs 13844 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 13845 13846 : 13847elif test $pkg_failed = untried; then 13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13849$as_echo "no" >&6; } 13850 : 13851else 13852 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 13853 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13855$as_echo "yes" >&6; } 13856 13857fi 13858 fi 13859 13860 # Check whether --enable-gtk-doc-html was given. 13861if test "${enable_gtk_doc_html+set}" = set; then : 13862 enableval=$enable_gtk_doc_html; 13863else 13864 enable_gtk_doc_html=yes 13865fi 13866 13867 # Check whether --enable-gtk-doc-pdf was given. 13868if test "${enable_gtk_doc_pdf+set}" = set; then : 13869 enableval=$enable_gtk_doc_pdf; 13870else 13871 enable_gtk_doc_pdf=no 13872fi 13873 13874 13875 if test -z "$GTKDOC_MKPDF"; then 13876 enable_gtk_doc_pdf=no 13877 fi 13878 13879 if test -z "$AM_DEFAULT_VERBOSITY"; then 13880 AM_DEFAULT_VERBOSITY=1 13881 fi 13882 13883 13884 if test x$have_gtk_doc = xyes; then 13885 HAVE_GTK_DOC_TRUE= 13886 HAVE_GTK_DOC_FALSE='#' 13887else 13888 HAVE_GTK_DOC_TRUE='#' 13889 HAVE_GTK_DOC_FALSE= 13890fi 13891 13892 if test x$enable_gtk_doc = xyes; then 13893 ENABLE_GTK_DOC_TRUE= 13894 ENABLE_GTK_DOC_FALSE='#' 13895else 13896 ENABLE_GTK_DOC_TRUE='#' 13897 ENABLE_GTK_DOC_FALSE= 13898fi 13899 13900 if test x$enable_gtk_doc_html = xyes; then 13901 GTK_DOC_BUILD_HTML_TRUE= 13902 GTK_DOC_BUILD_HTML_FALSE='#' 13903else 13904 GTK_DOC_BUILD_HTML_TRUE='#' 13905 GTK_DOC_BUILD_HTML_FALSE= 13906fi 13907 13908 if test x$enable_gtk_doc_pdf = xyes; then 13909 GTK_DOC_BUILD_PDF_TRUE= 13910 GTK_DOC_BUILD_PDF_FALSE='#' 13911else 13912 GTK_DOC_BUILD_PDF_TRUE='#' 13913 GTK_DOC_BUILD_PDF_FALSE= 13914fi 13915 13916 if test -n "$LIBTOOL"; then 13917 GTK_DOC_USE_LIBTOOL_TRUE= 13918 GTK_DOC_USE_LIBTOOL_FALSE='#' 13919else 13920 GTK_DOC_USE_LIBTOOL_TRUE='#' 13921 GTK_DOC_USE_LIBTOOL_FALSE= 13922fi 13923 13924 if test -n "$GTKDOC_REBASE"; then 13925 GTK_DOC_USE_REBASE_TRUE= 13926 GTK_DOC_USE_REBASE_FALSE='#' 13927else 13928 GTK_DOC_USE_REBASE_TRUE='#' 13929 GTK_DOC_USE_REBASE_FALSE= 13930fi 13931 13932 13933 13934 13935# Check whether --enable-rebuilds was given. 13936if test "${enable_rebuilds+set}" = set; then : 13937 enableval=$enable_rebuilds; 13938else 13939 enable_rebuilds=yes 13940fi 13941 13942 13943REBUILD=\# 13944if test "x$enable_rebuilds" = "xyes" && \ 13945 test -n "$PERL" && \ 13946 $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \ 13947 test -n "$AWK" ; then 13948 REBUILD= 13949fi 13950 13951 13952 13953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 13954$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 13955if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 13956 $as_echo_n "(cached) " >&6 13957else 13958 ac_check_lib_save_LIBS=$LIBS 13959LIBS="-lnsl $LIBS" 13960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13961/* end confdefs.h. */ 13962 13963/* Override any GCC internal prototype to avoid an error. 13964 Use char because int might match the return type of a GCC 13965 builtin and then its argument prototype would still apply. */ 13966#ifdef __cplusplus 13967extern "C" 13968#endif 13969char gethostbyname (); 13970int 13971main () 13972{ 13973return gethostbyname (); 13974 ; 13975 return 0; 13976} 13977_ACEOF 13978if ac_fn_c_try_link "$LINENO"; then : 13979 ac_cv_lib_nsl_gethostbyname=yes 13980else 13981 ac_cv_lib_nsl_gethostbyname=no 13982fi 13983rm -f core conftest.err conftest.$ac_objext \ 13984 conftest$ac_exeext conftest.$ac_ext 13985LIBS=$ac_check_lib_save_LIBS 13986fi 13987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 13988$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 13989if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 13990 cat >>confdefs.h <<_ACEOF 13991#define HAVE_LIBNSL 1 13992_ACEOF 13993 13994 LIBS="-lnsl $LIBS" 13995 13996fi 13997 13998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 13999$as_echo_n "checking for socket in -lsocket... " >&6; } 14000if ${ac_cv_lib_socket_socket+:} false; then : 14001 $as_echo_n "(cached) " >&6 14002else 14003 ac_check_lib_save_LIBS=$LIBS 14004LIBS="-lsocket $LIBS" 14005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14006/* end confdefs.h. */ 14007 14008/* Override any GCC internal prototype to avoid an error. 14009 Use char because int might match the return type of a GCC 14010 builtin and then its argument prototype would still apply. */ 14011#ifdef __cplusplus 14012extern "C" 14013#endif 14014char socket (); 14015int 14016main () 14017{ 14018return socket (); 14019 ; 14020 return 0; 14021} 14022_ACEOF 14023if ac_fn_c_try_link "$LINENO"; then : 14024 ac_cv_lib_socket_socket=yes 14025else 14026 ac_cv_lib_socket_socket=no 14027fi 14028rm -f core conftest.err conftest.$ac_objext \ 14029 conftest$ac_exeext conftest.$ac_ext 14030LIBS=$ac_check_lib_save_LIBS 14031fi 14032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 14033$as_echo "$ac_cv_lib_socket_socket" >&6; } 14034if test "x$ac_cv_lib_socket_socket" = xyes; then : 14035 cat >>confdefs.h <<_ACEOF 14036#define HAVE_LIBSOCKET 1 14037_ACEOF 14038 14039 LIBS="-lsocket $LIBS" 14040 14041fi 14042 14043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_query in -lresolv" >&5 14044$as_echo_n "checking for __res_query in -lresolv... " >&6; } 14045if ${ac_cv_lib_resolv___res_query+:} false; then : 14046 $as_echo_n "(cached) " >&6 14047else 14048 ac_check_lib_save_LIBS=$LIBS 14049LIBS="-lresolv $LIBS" 14050cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14051/* end confdefs.h. */ 14052 14053/* Override any GCC internal prototype to avoid an error. 14054 Use char because int might match the return type of a GCC 14055 builtin and then its argument prototype would still apply. */ 14056#ifdef __cplusplus 14057extern "C" 14058#endif 14059char __res_query (); 14060int 14061main () 14062{ 14063return __res_query (); 14064 ; 14065 return 0; 14066} 14067_ACEOF 14068if ac_fn_c_try_link "$LINENO"; then : 14069 ac_cv_lib_resolv___res_query=yes 14070else 14071 ac_cv_lib_resolv___res_query=no 14072fi 14073rm -f core conftest.err conftest.$ac_objext \ 14074 conftest$ac_exeext conftest.$ac_ext 14075LIBS=$ac_check_lib_save_LIBS 14076fi 14077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_query" >&5 14078$as_echo "$ac_cv_lib_resolv___res_query" >&6; } 14079if test "x$ac_cv_lib_resolv___res_query" = xyes; then : 14080 cat >>confdefs.h <<_ACEOF 14081#define HAVE_LIBRESOLV 1 14082_ACEOF 14083 14084 LIBS="-lresolv $LIBS" 14085 14086fi 14087 14088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 14089$as_echo_n "checking for res_query in -lresolv... " >&6; } 14090if ${ac_cv_lib_resolv_res_query+:} false; then : 14091 $as_echo_n "(cached) " >&6 14092else 14093 ac_check_lib_save_LIBS=$LIBS 14094LIBS="-lresolv $LIBS" 14095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14096/* end confdefs.h. */ 14097 14098/* Override any GCC internal prototype to avoid an error. 14099 Use char because int might match the return type of a GCC 14100 builtin and then its argument prototype would still apply. */ 14101#ifdef __cplusplus 14102extern "C" 14103#endif 14104char res_query (); 14105int 14106main () 14107{ 14108return res_query (); 14109 ; 14110 return 0; 14111} 14112_ACEOF 14113if ac_fn_c_try_link "$LINENO"; then : 14114 ac_cv_lib_resolv_res_query=yes 14115else 14116 ac_cv_lib_resolv_res_query=no 14117fi 14118rm -f core conftest.err conftest.$ac_objext \ 14119 conftest$ac_exeext conftest.$ac_ext 14120LIBS=$ac_check_lib_save_LIBS 14121fi 14122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 14123$as_echo "$ac_cv_lib_resolv_res_query" >&6; } 14124if test "x$ac_cv_lib_resolv_res_query" = xyes; then : 14125 cat >>confdefs.h <<_ACEOF 14126#define HAVE_LIBRESOLV 1 14127_ACEOF 14128 14129 LIBS="-lresolv $LIBS" 14130 14131fi 14132 14133 14134# Extract the first word of "krb5-config", so it can be a program name with args. 14135set dummy krb5-config; ac_word=$2 14136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14137$as_echo_n "checking for $ac_word... " >&6; } 14138if ${ac_cv_path_KRB5CONFIG+:} false; then : 14139 $as_echo_n "(cached) " >&6 14140else 14141 case $KRB5CONFIG in 14142 [\\/]* | ?:[\\/]*) 14143 ac_cv_path_KRB5CONFIG="$KRB5CONFIG" # Let the user override the test with a path. 14144 ;; 14145 *) 14146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14147for as_dir in $PATH 14148do 14149 IFS=$as_save_IFS 14150 test -z "$as_dir" && as_dir=. 14151 for ac_exec_ext in '' $ac_executable_extensions; do 14152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14153 ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext" 14154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14155 break 2 14156 fi 14157done 14158 done 14159IFS=$as_save_IFS 14160 14161 test -z "$ac_cv_path_KRB5CONFIG" && ac_cv_path_KRB5CONFIG="no" 14162 ;; 14163esac 14164fi 14165KRB5CONFIG=$ac_cv_path_KRB5CONFIG 14166if test -n "$KRB5CONFIG"; then 14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONFIG" >&5 14168$as_echo "$KRB5CONFIG" >&6; } 14169else 14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14171$as_echo "no" >&6; } 14172fi 14173 14174 14175enable_gssapi=no 14176if test "x$KRB5CONFIG" != "xno" 14177then 14178 for ac_header in gssapi.h gssapi/gssapi.h 14179do : 14180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14181ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14182if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 14183 cat >>confdefs.h <<_ACEOF 14184#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14185_ACEOF 14186 14187fi 14188 14189done 14190 14191 enable_gssapi=yes 14192 14193$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h 14194 14195 LIBS="$LIBS `$KRB5CONFIG --libs gssapi`" 14196fi 14197 if test x$enable_gssapi = xyes; then 14198 USE_GSSAPI_TRUE= 14199 USE_GSSAPI_FALSE='#' 14200else 14201 USE_GSSAPI_TRUE='#' 14202 USE_GSSAPI_FALSE= 14203fi 14204 14205 14206 14207# Check whether --with-ssl was given. 14208if test "${with_ssl+set}" = set; then : 14209 withval=$with_ssl; ac_ssl=$withval 14210else 14211 ac_ssl=gnutls 14212fi 14213 14214 14215 14216# Check whether --with-openssl-includes was given. 14217if test "${with_openssl_includes+set}" = set; then : 14218 withval=$with_openssl_includes; use_openssl=yes CPPFLAGS="$CPPFLAGS -I$withval" 14219 14220fi 14221 14222 14223 14224# Check whether --with-openssl-libs was given. 14225if test "${with_openssl_libs+set}" = set; then : 14226 withval=$with_openssl_libs; use_openssl=yes LDFLAGS="$LDFLAGS -L$withval" 14227 14228fi 14229 14230 14231enable_ssl=no 14232if test "x$ac_ssl" = "xgnutls"; then 14233 if test -n "$PKG_CONFIG" && \ 14234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 14235 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 14236 ac_status=$? 14237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14238 test $ac_status = 0; }; then 14239 have_libgnutls=yes 14240else 14241 have_libgnutls=no 14242fi 14243 if test "x$have_libgnutls" = "xyes"; then 14244 14245pkg_failed=no 14246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNUTLS" >&5 14247$as_echo_n "checking for LIBGNUTLS... " >&6; } 14248 14249if test -n "$LIBGNUTLS_CFLAGS"; then 14250 pkg_cv_LIBGNUTLS_CFLAGS="$LIBGNUTLS_CFLAGS" 14251 elif test -n "$PKG_CONFIG"; then 14252 if test -n "$PKG_CONFIG" && \ 14253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 14254 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 14255 ac_status=$? 14256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14257 test $ac_status = 0; }; then 14258 pkg_cv_LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` 14259 test "x$?" != "x0" && pkg_failed=yes 14260else 14261 pkg_failed=yes 14262fi 14263 else 14264 pkg_failed=untried 14265fi 14266if test -n "$LIBGNUTLS_LIBS"; then 14267 pkg_cv_LIBGNUTLS_LIBS="$LIBGNUTLS_LIBS" 14268 elif test -n "$PKG_CONFIG"; then 14269 if test -n "$PKG_CONFIG" && \ 14270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_REQUIRED\""; } >&5 14271 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_REQUIRED") 2>&5 14272 ac_status=$? 14273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14274 test $ac_status = 0; }; then 14275 pkg_cv_LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_REQUIRED" 2>/dev/null` 14276 test "x$?" != "x0" && pkg_failed=yes 14277else 14278 pkg_failed=yes 14279fi 14280 else 14281 pkg_failed=untried 14282fi 14283 14284 14285 14286if test $pkg_failed = yes; then 14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14288$as_echo "no" >&6; } 14289 14290if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14291 _pkg_short_errors_supported=yes 14292else 14293 _pkg_short_errors_supported=no 14294fi 14295 if test $_pkg_short_errors_supported = yes; then 14296 LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= $GNUTLS_REQUIRED" 2>&1` 14297 else 14298 LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= $GNUTLS_REQUIRED" 2>&1` 14299 fi 14300 # Put the nasty error message in config.log where it belongs 14301 echo "$LIBGNUTLS_PKG_ERRORS" >&5 14302 14303 as_fn_error $? "Package requirements (gnutls >= $GNUTLS_REQUIRED) were not met: 14304 14305$LIBGNUTLS_PKG_ERRORS 14306 14307Consider adjusting the PKG_CONFIG_PATH environment variable if you 14308installed software in a non-standard prefix. 14309 14310Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS 14311and LIBGNUTLS_LIBS to avoid the need to call pkg-config. 14312See the pkg-config man page for more details." "$LINENO" 5 14313elif test $pkg_failed = untried; then 14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14315$as_echo "no" >&6; } 14316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14318as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 14319is in your PATH or set the PKG_CONFIG environment variable to the full 14320path to pkg-config. 14321 14322Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS 14323and LIBGNUTLS_LIBS to avoid the need to call pkg-config. 14324See the pkg-config man page for more details. 14325 14326To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14327See \`config.log' for more details" "$LINENO" 5; } 14328else 14329 LIBGNUTLS_CFLAGS=$pkg_cv_LIBGNUTLS_CFLAGS 14330 LIBGNUTLS_LIBS=$pkg_cv_LIBGNUTLS_LIBS 14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14332$as_echo "yes" >&6; } 14333 14334fi 14335 CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" 14336 LIBS="$LIBS $LIBGNUTLS_LIBS" 14337 14338$as_echo "#define HAVE_GNUTLS 1" >>confdefs.h 14339 14340 enable_ssl=GnuTLS 14341 else 14342 as_fn_error $? "GnuTLS was not found, use 14343 --with-ssl=[no|openssl] to build without SSL support or 14344 with OpenSSL" "$LINENO" 5 14345 fi 14346elif test "$ac_ssl" = "openssl"; then 14347 for ac_header in openssl/ssl.h 14348do : 14349 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 14350if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : 14351 cat >>confdefs.h <<_ACEOF 14352#define HAVE_OPENSSL_SSL_H 1 14353_ACEOF 14354 14355fi 14356 14357done 14358 14359 OLDLIBS="$LIBS" 14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIO_f_base64 in -lcrypto" >&5 14361$as_echo_n "checking for BIO_f_base64 in -lcrypto... " >&6; } 14362if ${ac_cv_lib_crypto_BIO_f_base64+:} false; then : 14363 $as_echo_n "(cached) " >&6 14364else 14365 ac_check_lib_save_LIBS=$LIBS 14366LIBS="-lcrypto $LIBS" 14367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14368/* end confdefs.h. */ 14369 14370/* Override any GCC internal prototype to avoid an error. 14371 Use char because int might match the return type of a GCC 14372 builtin and then its argument prototype would still apply. */ 14373#ifdef __cplusplus 14374extern "C" 14375#endif 14376char BIO_f_base64 (); 14377int 14378main () 14379{ 14380return BIO_f_base64 (); 14381 ; 14382 return 0; 14383} 14384_ACEOF 14385if ac_fn_c_try_link "$LINENO"; then : 14386 ac_cv_lib_crypto_BIO_f_base64=yes 14387else 14388 ac_cv_lib_crypto_BIO_f_base64=no 14389fi 14390rm -f core conftest.err conftest.$ac_objext \ 14391 conftest$ac_exeext conftest.$ac_ext 14392LIBS=$ac_check_lib_save_LIBS 14393fi 14394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BIO_f_base64" >&5 14395$as_echo "$ac_cv_lib_crypto_BIO_f_base64" >&6; } 14396if test "x$ac_cv_lib_crypto_BIO_f_base64" = xyes; then : 14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5 14398$as_echo_n "checking for SSL_new in -lssl... " >&6; } 14399if ${ac_cv_lib_ssl_SSL_new+:} false; then : 14400 $as_echo_n "(cached) " >&6 14401else 14402 ac_check_lib_save_LIBS=$LIBS 14403LIBS="-lssl -lcrypto $LIBS" 14404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14405/* end confdefs.h. */ 14406 14407/* Override any GCC internal prototype to avoid an error. 14408 Use char because int might match the return type of a GCC 14409 builtin and then its argument prototype would still apply. */ 14410#ifdef __cplusplus 14411extern "C" 14412#endif 14413char SSL_new (); 14414int 14415main () 14416{ 14417return SSL_new (); 14418 ; 14419 return 0; 14420} 14421_ACEOF 14422if ac_fn_c_try_link "$LINENO"; then : 14423 ac_cv_lib_ssl_SSL_new=yes 14424else 14425 ac_cv_lib_ssl_SSL_new=no 14426fi 14427rm -f core conftest.err conftest.$ac_objext \ 14428 conftest$ac_exeext conftest.$ac_ext 14429LIBS=$ac_check_lib_save_LIBS 14430fi 14431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5 14432$as_echo "$ac_cv_lib_ssl_SSL_new" >&6; } 14433if test "x$ac_cv_lib_ssl_SSL_new" = xyes; then : 14434 SSL_LIB="-lssl -lcrypto" 14435 14436$as_echo "#define HAVE_OPENSSL /**/" >>confdefs.h 14437 14438else 14439 have_openssl=no 14440fi 14441 14442else 14443 have_openssl=no 14444fi 14445 14446 14447 if test "x$have_openssl" = "xno"; then 14448 as_fn_error $? "OpenSSL was not found, use --with-ssl=[no|gnutls] to 14449 build without SSL support or with GnuTLS" "$LINENO" 5 14450 else 14451 LIBS="$OLDLIBS $SSL_LIB" 14452 enable_ssl=OpenSSL 14453 fi 14454else 14455 echo "Disabling SSL support" 14456fi 14457 14458if test x$enable_ssl != xno; then 14459 14460$as_echo "#define HAVE_SSL 1" >>confdefs.h 14461 14462else 14463 if test x$ac_ssl != xno; then 14464 as_fn_error $? "No SSL implementation was found, if you do not want to build with SSL use --with-ssl=no" "$LINENO" 5 14465 fi 14466fi 14467 14468 if test x$enable_ssl = xOpenSSL; then 14469 USE_OPENSSL_TRUE= 14470 USE_OPENSSL_FALSE='#' 14471else 14472 USE_OPENSSL_TRUE='#' 14473 USE_OPENSSL_FALSE= 14474fi 14475 14476 if test x$enable_ssl = xGnuTLS; then 14477 USE_GNUTLS_TRUE= 14478 USE_GNUTLS_FALSE='#' 14479else 14480 USE_GNUTLS_TRUE='#' 14481 USE_GNUTLS_FALSE= 14482fi 14483 14484 14485 14486# Check whether --with-asyncns was given. 14487if test "${with_asyncns+set}" = set; then : 14488 withval=$with_asyncns; ac_asyncns=$withval 14489else 14490 ac_asyncns=no 14491fi 14492 14493 14494enable_asyncns=no 14495if test x$ac_asyncns != xno; then 14496 14497 14498pkg_failed=no 14499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASYNCNS" >&5 14500$as_echo_n "checking for ASYNCNS... " >&6; } 14501 14502if test -n "$ASYNCNS_CFLAGS"; then 14503 pkg_cv_ASYNCNS_CFLAGS="$ASYNCNS_CFLAGS" 14504 elif test -n "$PKG_CONFIG"; then 14505 if test -n "$PKG_CONFIG" && \ 14506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libasyncns >= 0.3\""; } >&5 14507 ($PKG_CONFIG --exists --print-errors "libasyncns >= 0.3") 2>&5 14508 ac_status=$? 14509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14510 test $ac_status = 0; }; then 14511 pkg_cv_ASYNCNS_CFLAGS=`$PKG_CONFIG --cflags "libasyncns >= 0.3" 2>/dev/null` 14512 test "x$?" != "x0" && pkg_failed=yes 14513else 14514 pkg_failed=yes 14515fi 14516 else 14517 pkg_failed=untried 14518fi 14519if test -n "$ASYNCNS_LIBS"; then 14520 pkg_cv_ASYNCNS_LIBS="$ASYNCNS_LIBS" 14521 elif test -n "$PKG_CONFIG"; then 14522 if test -n "$PKG_CONFIG" && \ 14523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libasyncns >= 0.3\""; } >&5 14524 ($PKG_CONFIG --exists --print-errors "libasyncns >= 0.3") 2>&5 14525 ac_status=$? 14526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14527 test $ac_status = 0; }; then 14528 pkg_cv_ASYNCNS_LIBS=`$PKG_CONFIG --libs "libasyncns >= 0.3" 2>/dev/null` 14529 test "x$?" != "x0" && pkg_failed=yes 14530else 14531 pkg_failed=yes 14532fi 14533 else 14534 pkg_failed=untried 14535fi 14536 14537 14538 14539if test $pkg_failed = yes; then 14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14541$as_echo "no" >&6; } 14542 14543if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14544 _pkg_short_errors_supported=yes 14545else 14546 _pkg_short_errors_supported=no 14547fi 14548 if test $_pkg_short_errors_supported = yes; then 14549 ASYNCNS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libasyncns >= 0.3" 2>&1` 14550 else 14551 ASYNCNS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libasyncns >= 0.3" 2>&1` 14552 fi 14553 # Put the nasty error message in config.log where it belongs 14554 echo "$ASYNCNS_PKG_ERRORS" >&5 14555 14556 enable_asyncns=no 14557elif test $pkg_failed = untried; then 14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14559$as_echo "no" >&6; } 14560 enable_asyncns=no 14561else 14562 ASYNCNS_CFLAGS=$pkg_cv_ASYNCNS_CFLAGS 14563 ASYNCNS_LIBS=$pkg_cv_ASYNCNS_LIBS 14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14565$as_echo "yes" >&6; } 14566 enable_asyncns=yes 14567fi 14568fi 14569 14570if test "x$enable_asyncns" = "xyes"; then 14571 14572$as_echo "#define HAVE_ASYNCNS 1" >>confdefs.h 14573 14574else 14575 echo "Not using asynchronous dns lookups" 14576fi 14577 14578 14579 14580 14581ac_fn_c_check_decl "$LINENO" "TCP_KEEPCNT" "ac_cv_have_decl_TCP_KEEPCNT" " 14582#include <sys/socket.h> 14583#include <netinet/in.h> 14584#include <netinet/ip.h> 14585#include <netinet/tcp.h> 14586 14587" 14588if test "x$ac_cv_have_decl_TCP_KEEPCNT" = xyes; then : 14589 ac_use_keepalives=yes 14590else 14591 ac_use_keepalives=no 14592fi 14593 14594 14595use_keepalives=no 14596if test x$ac_use_keepalives != xno; then 14597 use_keepalives=yes 14598 14599$as_echo "#define USE_TCP_KEEPALIVES 1" >>confdefs.h 14600 14601fi 14602 14603DOC_CFLAGS="$CFLAGS" 14604CFLAGS="$CFLAGS $WARN_CFLAGS" 14605 14606 14607 14608 14609 14610 14611# Check whether --enable-debug was given. 14612if test "${enable_debug+set}" = set; then : 14613 enableval=$enable_debug; 14614else 14615 enable_debug=yes 14616fi 14617 14618 14619if test x$enable_debug = xno ; then 14620 echo "Debugging disabled" 14621 LOUDMOUTH_CFLAGS="$LOUDMOUTH_CFLAGS -DLM_NO_DEBUG" 14622else 14623 echo "Debugging enabled" 14624fi 14625 14626 14627 14628 14629ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile loudmouth/Makefile examples/Makefile tests/Makefile tests/parser-tests/Makefile loudmouth-1.0.pc" 14630 14631cat >confcache <<\_ACEOF 14632# This file is a shell script that caches the results of configure 14633# tests run on this system so they can be shared between configure 14634# scripts and configure runs, see configure's option --config-cache. 14635# It is not useful on other systems. If it contains results you don't 14636# want to keep, you may remove or edit it. 14637# 14638# config.status only pays attention to the cache file if you give it 14639# the --recheck option to rerun configure. 14640# 14641# `ac_cv_env_foo' variables (set or unset) will be overridden when 14642# loading this file, other *unset* `ac_cv_foo' will be assigned the 14643# following values. 14644 14645_ACEOF 14646 14647# The following way of writing the cache mishandles newlines in values, 14648# but we know of no workaround that is simple, portable, and efficient. 14649# So, we kill variables containing newlines. 14650# Ultrix sh set writes to stderr and can't be redirected directly, 14651# and sets the high bit in the cache file unless we assign to the vars. 14652( 14653 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14654 eval ac_val=\$$ac_var 14655 case $ac_val in #( 14656 *${as_nl}*) 14657 case $ac_var in #( 14658 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14659$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14660 esac 14661 case $ac_var in #( 14662 _ | IFS | as_nl) ;; #( 14663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14664 *) { eval $ac_var=; unset $ac_var;} ;; 14665 esac ;; 14666 esac 14667 done 14668 14669 (set) 2>&1 | 14670 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14671 *${as_nl}ac_space=\ *) 14672 # `set' does not quote correctly, so add quotes: double-quote 14673 # substitution turns \\\\ into \\, and sed turns \\ into \. 14674 sed -n \ 14675 "s/'/'\\\\''/g; 14676 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14677 ;; #( 14678 *) 14679 # `set' quotes correctly as required by POSIX, so do not add quotes. 14680 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14681 ;; 14682 esac | 14683 sort 14684) | 14685 sed ' 14686 /^ac_cv_env_/b end 14687 t clear 14688 :clear 14689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14690 t end 14691 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14692 :end' >>confcache 14693if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14694 if test -w "$cache_file"; then 14695 if test "x$cache_file" != "x/dev/null"; then 14696 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14697$as_echo "$as_me: updating cache $cache_file" >&6;} 14698 if test ! -f "$cache_file" || test -h "$cache_file"; then 14699 cat confcache >"$cache_file" 14700 else 14701 case $cache_file in #( 14702 */* | ?:*) 14703 mv -f confcache "$cache_file"$$ && 14704 mv -f "$cache_file"$$ "$cache_file" ;; #( 14705 *) 14706 mv -f confcache "$cache_file" ;; 14707 esac 14708 fi 14709 fi 14710 else 14711 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14712$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14713 fi 14714fi 14715rm -f confcache 14716 14717test "x$prefix" = xNONE && prefix=$ac_default_prefix 14718# Let make expand exec_prefix. 14719test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14720 14721DEFS=-DHAVE_CONFIG_H 14722 14723ac_libobjs= 14724ac_ltlibobjs= 14725U= 14726for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14727 # 1. Remove the extension, and $U if already installed. 14728 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14729 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14730 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14731 # will be set to the directory where LIBOBJS objects are built. 14732 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14733 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14734done 14735LIBOBJS=$ac_libobjs 14736 14737LTLIBOBJS=$ac_ltlibobjs 14738 14739 14740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 14741$as_echo_n "checking that generated files are newer than configure... " >&6; } 14742 if test -n "$am_sleep_pid"; then 14743 # Hide warnings about reused PIDs. 14744 wait $am_sleep_pid 2>/dev/null 14745 fi 14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 14747$as_echo "done" >&6; } 14748 if test -n "$EXEEXT"; then 14749 am__EXEEXT_TRUE= 14750 am__EXEEXT_FALSE='#' 14751else 14752 am__EXEEXT_TRUE='#' 14753 am__EXEEXT_FALSE= 14754fi 14755 14756if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 14757 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 14758Usually this means the macro was only invoked conditionally." "$LINENO" 5 14759fi 14760if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14761 as_fn_error $? "conditional \"AMDEP\" was never defined. 14762Usually this means the macro was only invoked conditionally." "$LINENO" 5 14763fi 14764if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14765 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14766Usually this means the macro was only invoked conditionally." "$LINENO" 5 14767fi 14768if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then 14769 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. 14770Usually this means the macro was only invoked conditionally." "$LINENO" 5 14771fi 14772if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 14773 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 14774Usually this means the macro was only invoked conditionally." "$LINENO" 5 14775fi 14776if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 14777 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 14778Usually this means the macro was only invoked conditionally." "$LINENO" 5 14779fi 14780if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 14781 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 14782Usually this means the macro was only invoked conditionally." "$LINENO" 5 14783fi 14784if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 14785 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 14786Usually this means the macro was only invoked conditionally." "$LINENO" 5 14787fi 14788if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 14789 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. 14790Usually this means the macro was only invoked conditionally." "$LINENO" 5 14791fi 14792if test -z "${USE_GSSAPI_TRUE}" && test -z "${USE_GSSAPI_FALSE}"; then 14793 as_fn_error $? "conditional \"USE_GSSAPI\" was never defined. 14794Usually this means the macro was only invoked conditionally." "$LINENO" 5 14795fi 14796if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then 14797 as_fn_error $? "conditional \"USE_OPENSSL\" was never defined. 14798Usually this means the macro was only invoked conditionally." "$LINENO" 5 14799fi 14800if test -z "${USE_GNUTLS_TRUE}" && test -z "${USE_GNUTLS_FALSE}"; then 14801 as_fn_error $? "conditional \"USE_GNUTLS\" was never defined. 14802Usually this means the macro was only invoked conditionally." "$LINENO" 5 14803fi 14804 14805: "${CONFIG_STATUS=./config.status}" 14806ac_write_fail=0 14807ac_clean_files_save=$ac_clean_files 14808ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14809{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14810$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14811as_write_fail=0 14812cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14813#! $SHELL 14814# Generated by $as_me. 14815# Run this file to recreate the current configuration. 14816# Compiler output produced by configure, useful for debugging 14817# configure, is in config.log if it exists. 14818 14819debug=false 14820ac_cs_recheck=false 14821ac_cs_silent=false 14822 14823SHELL=\${CONFIG_SHELL-$SHELL} 14824export SHELL 14825_ASEOF 14826cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14827## -------------------- ## 14828## M4sh Initialization. ## 14829## -------------------- ## 14830 14831# Be more Bourne compatible 14832DUALCASE=1; export DUALCASE # for MKS sh 14833if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14834 emulate sh 14835 NULLCMD=: 14836 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14837 # is contrary to our usage. Disable this feature. 14838 alias -g '${1+"$@"}'='"$@"' 14839 setopt NO_GLOB_SUBST 14840else 14841 case `(set -o) 2>/dev/null` in #( 14842 *posix*) : 14843 set -o posix ;; #( 14844 *) : 14845 ;; 14846esac 14847fi 14848 14849 14850as_nl=' 14851' 14852export as_nl 14853# Printing a long string crashes Solaris 7 /usr/bin/printf. 14854as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14855as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14856as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14857# Prefer a ksh shell builtin over an external printf program on Solaris, 14858# but without wasting forks for bash or zsh. 14859if test -z "$BASH_VERSION$ZSH_VERSION" \ 14860 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14861 as_echo='print -r --' 14862 as_echo_n='print -rn --' 14863elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14864 as_echo='printf %s\n' 14865 as_echo_n='printf %s' 14866else 14867 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14868 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14869 as_echo_n='/usr/ucb/echo -n' 14870 else 14871 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14872 as_echo_n_body='eval 14873 arg=$1; 14874 case $arg in #( 14875 *"$as_nl"*) 14876 expr "X$arg" : "X\\(.*\\)$as_nl"; 14877 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14878 esac; 14879 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14880 ' 14881 export as_echo_n_body 14882 as_echo_n='sh -c $as_echo_n_body as_echo' 14883 fi 14884 export as_echo_body 14885 as_echo='sh -c $as_echo_body as_echo' 14886fi 14887 14888# The user is always right. 14889if test "${PATH_SEPARATOR+set}" != set; then 14890 PATH_SEPARATOR=: 14891 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14892 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14893 PATH_SEPARATOR=';' 14894 } 14895fi 14896 14897 14898# IFS 14899# We need space, tab and new line, in precisely that order. Quoting is 14900# there to prevent editors from complaining about space-tab. 14901# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14902# splitting by setting IFS to empty value.) 14903IFS=" "" $as_nl" 14904 14905# Find who we are. Look in the path if we contain no directory separator. 14906as_myself= 14907case $0 in #(( 14908 *[\\/]* ) as_myself=$0 ;; 14909 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14910for as_dir in $PATH 14911do 14912 IFS=$as_save_IFS 14913 test -z "$as_dir" && as_dir=. 14914 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14915 done 14916IFS=$as_save_IFS 14917 14918 ;; 14919esac 14920# We did not find ourselves, most probably we were run as `sh COMMAND' 14921# in which case we are not to be found in the path. 14922if test "x$as_myself" = x; then 14923 as_myself=$0 14924fi 14925if test ! -f "$as_myself"; then 14926 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14927 exit 1 14928fi 14929 14930# Unset variables that we do not need and which cause bugs (e.g. in 14931# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14932# suppresses any "Segmentation fault" message there. '((' could 14933# trigger a bug in pdksh 5.2.14. 14934for as_var in BASH_ENV ENV MAIL MAILPATH 14935do eval test x\${$as_var+set} = xset \ 14936 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14937done 14938PS1='$ ' 14939PS2='> ' 14940PS4='+ ' 14941 14942# NLS nuisances. 14943LC_ALL=C 14944export LC_ALL 14945LANGUAGE=C 14946export LANGUAGE 14947 14948# CDPATH. 14949(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14950 14951 14952# as_fn_error STATUS ERROR [LINENO LOG_FD] 14953# ---------------------------------------- 14954# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14955# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14956# script with STATUS, using 1 if that was 0. 14957as_fn_error () 14958{ 14959 as_status=$1; test $as_status -eq 0 && as_status=1 14960 if test "$4"; then 14961 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14962 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14963 fi 14964 $as_echo "$as_me: error: $2" >&2 14965 as_fn_exit $as_status 14966} # as_fn_error 14967 14968 14969# as_fn_set_status STATUS 14970# ----------------------- 14971# Set $? to STATUS, without forking. 14972as_fn_set_status () 14973{ 14974 return $1 14975} # as_fn_set_status 14976 14977# as_fn_exit STATUS 14978# ----------------- 14979# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14980as_fn_exit () 14981{ 14982 set +e 14983 as_fn_set_status $1 14984 exit $1 14985} # as_fn_exit 14986 14987# as_fn_unset VAR 14988# --------------- 14989# Portably unset VAR. 14990as_fn_unset () 14991{ 14992 { eval $1=; unset $1;} 14993} 14994as_unset=as_fn_unset 14995# as_fn_append VAR VALUE 14996# ---------------------- 14997# Append the text in VALUE to the end of the definition contained in VAR. Take 14998# advantage of any shell optimizations that allow amortized linear growth over 14999# repeated appends, instead of the typical quadratic growth present in naive 15000# implementations. 15001if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15002 eval 'as_fn_append () 15003 { 15004 eval $1+=\$2 15005 }' 15006else 15007 as_fn_append () 15008 { 15009 eval $1=\$$1\$2 15010 } 15011fi # as_fn_append 15012 15013# as_fn_arith ARG... 15014# ------------------ 15015# Perform arithmetic evaluation on the ARGs, and store the result in the 15016# global $as_val. Take advantage of shells that can avoid forks. The arguments 15017# must be portable across $(()) and expr. 15018if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15019 eval 'as_fn_arith () 15020 { 15021 as_val=$(( $* )) 15022 }' 15023else 15024 as_fn_arith () 15025 { 15026 as_val=`expr "$@" || test $? -eq 1` 15027 } 15028fi # as_fn_arith 15029 15030 15031if expr a : '\(a\)' >/dev/null 2>&1 && 15032 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15033 as_expr=expr 15034else 15035 as_expr=false 15036fi 15037 15038if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15039 as_basename=basename 15040else 15041 as_basename=false 15042fi 15043 15044if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15045 as_dirname=dirname 15046else 15047 as_dirname=false 15048fi 15049 15050as_me=`$as_basename -- "$0" || 15051$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15052 X"$0" : 'X\(//\)$' \| \ 15053 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15054$as_echo X/"$0" | 15055 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15056 s//\1/ 15057 q 15058 } 15059 /^X\/\(\/\/\)$/{ 15060 s//\1/ 15061 q 15062 } 15063 /^X\/\(\/\).*/{ 15064 s//\1/ 15065 q 15066 } 15067 s/.*/./; q'` 15068 15069# Avoid depending upon Character Ranges. 15070as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15071as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15072as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15073as_cr_digits='0123456789' 15074as_cr_alnum=$as_cr_Letters$as_cr_digits 15075 15076ECHO_C= ECHO_N= ECHO_T= 15077case `echo -n x` in #((((( 15078-n*) 15079 case `echo 'xy\c'` in 15080 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15081 xy) ECHO_C='\c';; 15082 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15083 ECHO_T=' ';; 15084 esac;; 15085*) 15086 ECHO_N='-n';; 15087esac 15088 15089rm -f conf$$ conf$$.exe conf$$.file 15090if test -d conf$$.dir; then 15091 rm -f conf$$.dir/conf$$.file 15092else 15093 rm -f conf$$.dir 15094 mkdir conf$$.dir 2>/dev/null 15095fi 15096if (echo >conf$$.file) 2>/dev/null; then 15097 if ln -s conf$$.file conf$$ 2>/dev/null; then 15098 as_ln_s='ln -s' 15099 # ... but there are two gotchas: 15100 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15101 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15102 # In both cases, we have to default to `cp -pR'. 15103 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15104 as_ln_s='cp -pR' 15105 elif ln conf$$.file conf$$ 2>/dev/null; then 15106 as_ln_s=ln 15107 else 15108 as_ln_s='cp -pR' 15109 fi 15110else 15111 as_ln_s='cp -pR' 15112fi 15113rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15114rmdir conf$$.dir 2>/dev/null 15115 15116 15117# as_fn_mkdir_p 15118# ------------- 15119# Create "$as_dir" as a directory, including parents if necessary. 15120as_fn_mkdir_p () 15121{ 15122 15123 case $as_dir in #( 15124 -*) as_dir=./$as_dir;; 15125 esac 15126 test -d "$as_dir" || eval $as_mkdir_p || { 15127 as_dirs= 15128 while :; do 15129 case $as_dir in #( 15130 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15131 *) as_qdir=$as_dir;; 15132 esac 15133 as_dirs="'$as_qdir' $as_dirs" 15134 as_dir=`$as_dirname -- "$as_dir" || 15135$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15136 X"$as_dir" : 'X\(//\)[^/]' \| \ 15137 X"$as_dir" : 'X\(//\)$' \| \ 15138 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15139$as_echo X"$as_dir" | 15140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15141 s//\1/ 15142 q 15143 } 15144 /^X\(\/\/\)[^/].*/{ 15145 s//\1/ 15146 q 15147 } 15148 /^X\(\/\/\)$/{ 15149 s//\1/ 15150 q 15151 } 15152 /^X\(\/\).*/{ 15153 s//\1/ 15154 q 15155 } 15156 s/.*/./; q'` 15157 test -d "$as_dir" && break 15158 done 15159 test -z "$as_dirs" || eval "mkdir $as_dirs" 15160 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15161 15162 15163} # as_fn_mkdir_p 15164if mkdir -p . 2>/dev/null; then 15165 as_mkdir_p='mkdir -p "$as_dir"' 15166else 15167 test -d ./-p && rmdir ./-p 15168 as_mkdir_p=false 15169fi 15170 15171 15172# as_fn_executable_p FILE 15173# ----------------------- 15174# Test if FILE is an executable regular file. 15175as_fn_executable_p () 15176{ 15177 test -f "$1" && test -x "$1" 15178} # as_fn_executable_p 15179as_test_x='test -x' 15180as_executable_p=as_fn_executable_p 15181 15182# Sed expression to map a string onto a valid CPP name. 15183as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15184 15185# Sed expression to map a string onto a valid variable name. 15186as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15187 15188 15189exec 6>&1 15190## ----------------------------------- ## 15191## Main body of $CONFIG_STATUS script. ## 15192## ----------------------------------- ## 15193_ASEOF 15194test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15195 15196cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15197# Save the log message, to keep $0 and so on meaningful, and to 15198# report actual input values of CONFIG_FILES etc. instead of their 15199# values after options handling. 15200ac_log=" 15201This file was extended by Loudmouth $as_me 1.5.4, which was 15202generated by GNU Autoconf 2.69. Invocation command line was 15203 15204 CONFIG_FILES = $CONFIG_FILES 15205 CONFIG_HEADERS = $CONFIG_HEADERS 15206 CONFIG_LINKS = $CONFIG_LINKS 15207 CONFIG_COMMANDS = $CONFIG_COMMANDS 15208 $ $0 $@ 15209 15210on `(hostname || uname -n) 2>/dev/null | sed 1q` 15211" 15212 15213_ACEOF 15214 15215case $ac_config_files in *" 15216"*) set x $ac_config_files; shift; ac_config_files=$*;; 15217esac 15218 15219case $ac_config_headers in *" 15220"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15221esac 15222 15223 15224cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15225# Files that config.status was made for. 15226config_files="$ac_config_files" 15227config_headers="$ac_config_headers" 15228config_commands="$ac_config_commands" 15229 15230_ACEOF 15231 15232cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15233ac_cs_usage="\ 15234\`$as_me' instantiates files and other configuration actions 15235from templates according to the current configuration. Unless the files 15236and actions are specified as TAGs, all are instantiated by default. 15237 15238Usage: $0 [OPTION]... [TAG]... 15239 15240 -h, --help print this help, then exit 15241 -V, --version print version number and configuration settings, then exit 15242 --config print configuration, then exit 15243 -q, --quiet, --silent 15244 do not print progress messages 15245 -d, --debug don't remove temporary files 15246 --recheck update $as_me by reconfiguring in the same conditions 15247 --file=FILE[:TEMPLATE] 15248 instantiate the configuration file FILE 15249 --header=FILE[:TEMPLATE] 15250 instantiate the configuration header FILE 15251 15252Configuration files: 15253$config_files 15254 15255Configuration headers: 15256$config_headers 15257 15258Configuration commands: 15259$config_commands 15260 15261Report bugs to the package provider." 15262 15263_ACEOF 15264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15265ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15266ac_cs_version="\\ 15267Loudmouth config.status 1.5.4 15268configured by $0, generated by GNU Autoconf 2.69, 15269 with options \\"\$ac_cs_config\\" 15270 15271Copyright (C) 2012 Free Software Foundation, Inc. 15272This config.status script is free software; the Free Software Foundation 15273gives unlimited permission to copy, distribute and modify it." 15274 15275ac_pwd='$ac_pwd' 15276srcdir='$srcdir' 15277INSTALL='$INSTALL' 15278MKDIR_P='$MKDIR_P' 15279AWK='$AWK' 15280test -n "\$AWK" || AWK=awk 15281_ACEOF 15282 15283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15284# The default lists apply if the user does not specify any file. 15285ac_need_defaults=: 15286while test $# != 0 15287do 15288 case $1 in 15289 --*=?*) 15290 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15291 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15292 ac_shift=: 15293 ;; 15294 --*=) 15295 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15296 ac_optarg= 15297 ac_shift=: 15298 ;; 15299 *) 15300 ac_option=$1 15301 ac_optarg=$2 15302 ac_shift=shift 15303 ;; 15304 esac 15305 15306 case $ac_option in 15307 # Handling of the options. 15308 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15309 ac_cs_recheck=: ;; 15310 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15311 $as_echo "$ac_cs_version"; exit ;; 15312 --config | --confi | --conf | --con | --co | --c ) 15313 $as_echo "$ac_cs_config"; exit ;; 15314 --debug | --debu | --deb | --de | --d | -d ) 15315 debug=: ;; 15316 --file | --fil | --fi | --f ) 15317 $ac_shift 15318 case $ac_optarg in 15319 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15320 '') as_fn_error $? "missing file argument" ;; 15321 esac 15322 as_fn_append CONFIG_FILES " '$ac_optarg'" 15323 ac_need_defaults=false;; 15324 --header | --heade | --head | --hea ) 15325 $ac_shift 15326 case $ac_optarg in 15327 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15328 esac 15329 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15330 ac_need_defaults=false;; 15331 --he | --h) 15332 # Conflict between --help and --header 15333 as_fn_error $? "ambiguous option: \`$1' 15334Try \`$0 --help' for more information.";; 15335 --help | --hel | -h ) 15336 $as_echo "$ac_cs_usage"; exit ;; 15337 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15338 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15339 ac_cs_silent=: ;; 15340 15341 # This is an error. 15342 -*) as_fn_error $? "unrecognized option: \`$1' 15343Try \`$0 --help' for more information." ;; 15344 15345 *) as_fn_append ac_config_targets " $1" 15346 ac_need_defaults=false ;; 15347 15348 esac 15349 shift 15350done 15351 15352ac_configure_extra_args= 15353 15354if $ac_cs_silent; then 15355 exec 6>/dev/null 15356 ac_configure_extra_args="$ac_configure_extra_args --silent" 15357fi 15358 15359_ACEOF 15360cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15361if \$ac_cs_recheck; then 15362 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15363 shift 15364 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15365 CONFIG_SHELL='$SHELL' 15366 export CONFIG_SHELL 15367 exec "\$@" 15368fi 15369 15370_ACEOF 15371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15372exec 5>>config.log 15373{ 15374 echo 15375 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15376## Running $as_me. ## 15377_ASBOX 15378 $as_echo "$ac_log" 15379} >&5 15380 15381_ACEOF 15382cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15383# 15384# INIT-COMMANDS 15385# 15386AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 15387 15388 15389# The HP-UX ksh and POSIX shell print the target directory to stdout 15390# if CDPATH is set. 15391(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15392 15393sed_quote_subst='$sed_quote_subst' 15394double_quote_subst='$double_quote_subst' 15395delay_variable_subst='$delay_variable_subst' 15396AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 15397DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15398OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15399macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15400macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15401enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15402enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15403pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15404enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15405shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 15406SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15407ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15408PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15409host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15410host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15411host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15412build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15413build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15414build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15415SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15416Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 15417GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 15418EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 15419FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 15420LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 15421NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 15422LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 15423max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 15424ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 15425exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15426lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15427lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15428lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15429lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 15430lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 15431reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 15432reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15433deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 15434file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 15435file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 15436want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 15437sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 15438AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15439AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 15440archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 15441STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15442RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15443old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15444old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15445old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 15446lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 15447CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15448CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15449compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15450GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15451lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 15452lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15453lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 15454lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15455lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 15456lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 15457nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 15458lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15459lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 15460objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15461MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15462lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 15463lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 15464lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 15465lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 15466lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 15467need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15468MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15469DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15470NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15471LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15472OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 15473OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 15474libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 15475shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 15476extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15477archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 15478enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 15479export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 15480whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 15481compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 15482old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 15483old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15484archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 15485archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15486module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 15487module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15488with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 15489allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 15490no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 15491hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15492hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15493hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15494hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15495hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15496hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15497hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15498inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15499link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15500always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15501export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15502exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15503include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15504prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15505postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15506file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15507variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15508need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15509need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15510version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15511runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15512shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15513shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15514libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15515library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15516soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15517install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15518postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15519postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15520finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15521finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15522hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15523sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15524configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 15525configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 15526hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15527enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15528enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15529enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15530old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15531striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15532 15533LTCC='$LTCC' 15534LTCFLAGS='$LTCFLAGS' 15535compiler='$compiler_DEFAULT' 15536 15537# A function that is used when there is no print builtin or printf. 15538func_fallback_echo () 15539{ 15540 eval 'cat <<_LTECHO_EOF 15541\$1 15542_LTECHO_EOF' 15543} 15544 15545# Quote evaled strings. 15546for var in AS \ 15547DLLTOOL \ 15548OBJDUMP \ 15549SHELL \ 15550ECHO \ 15551PATH_SEPARATOR \ 15552SED \ 15553GREP \ 15554EGREP \ 15555FGREP \ 15556LD \ 15557NM \ 15558LN_S \ 15559lt_SP2NL \ 15560lt_NL2SP \ 15561reload_flag \ 15562deplibs_check_method \ 15563file_magic_cmd \ 15564file_magic_glob \ 15565want_nocaseglob \ 15566sharedlib_from_linklib_cmd \ 15567AR \ 15568AR_FLAGS \ 15569archiver_list_spec \ 15570STRIP \ 15571RANLIB \ 15572CC \ 15573CFLAGS \ 15574compiler \ 15575lt_cv_sys_global_symbol_pipe \ 15576lt_cv_sys_global_symbol_to_cdecl \ 15577lt_cv_sys_global_symbol_to_import \ 15578lt_cv_sys_global_symbol_to_c_name_address \ 15579lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15580lt_cv_nm_interface \ 15581nm_file_list_spec \ 15582lt_cv_truncate_bin \ 15583lt_prog_compiler_no_builtin_flag \ 15584lt_prog_compiler_pic \ 15585lt_prog_compiler_wl \ 15586lt_prog_compiler_static \ 15587lt_cv_prog_compiler_c_o \ 15588need_locks \ 15589MANIFEST_TOOL \ 15590DSYMUTIL \ 15591NMEDIT \ 15592LIPO \ 15593OTOOL \ 15594OTOOL64 \ 15595shrext_cmds \ 15596export_dynamic_flag_spec \ 15597whole_archive_flag_spec \ 15598compiler_needs_object \ 15599with_gnu_ld \ 15600allow_undefined_flag \ 15601no_undefined_flag \ 15602hardcode_libdir_flag_spec \ 15603hardcode_libdir_separator \ 15604exclude_expsyms \ 15605include_expsyms \ 15606file_list_spec \ 15607variables_saved_for_relink \ 15608libname_spec \ 15609library_names_spec \ 15610soname_spec \ 15611install_override_mode \ 15612finish_eval \ 15613old_striplib \ 15614striplib; do 15615 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15616 *[\\\\\\\`\\"\\\$]*) 15617 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15618 ;; 15619 *) 15620 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15621 ;; 15622 esac 15623done 15624 15625# Double-quote double-evaled strings. 15626for var in reload_cmds \ 15627old_postinstall_cmds \ 15628old_postuninstall_cmds \ 15629old_archive_cmds \ 15630extract_expsyms_cmds \ 15631old_archive_from_new_cmds \ 15632old_archive_from_expsyms_cmds \ 15633archive_cmds \ 15634archive_expsym_cmds \ 15635module_cmds \ 15636module_expsym_cmds \ 15637export_symbols_cmds \ 15638prelink_cmds \ 15639postlink_cmds \ 15640postinstall_cmds \ 15641postuninstall_cmds \ 15642finish_cmds \ 15643sys_lib_search_path_spec \ 15644configure_time_dlsearch_path \ 15645configure_time_lt_sys_library_path; do 15646 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15647 *[\\\\\\\`\\"\\\$]*) 15648 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 15649 ;; 15650 *) 15651 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15652 ;; 15653 esac 15654done 15655 15656ac_aux_dir='$ac_aux_dir' 15657 15658# See if we are running on zsh, and set the options that allow our 15659# commands through without removal of \ escapes INIT. 15660if test -n "\${ZSH_VERSION+set}"; then 15661 setopt NO_GLOB_SUBST 15662fi 15663 15664 15665 PACKAGE='$PACKAGE' 15666 VERSION='$VERSION' 15667 RM='$RM' 15668 ofile='$ofile' 15669 15670 15671 15672 15673_ACEOF 15674 15675cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15676 15677# Handling of arguments. 15678for ac_config_target in $ac_config_targets 15679do 15680 case $ac_config_target in 15681 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 15682 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15683 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15684 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15685 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 15686 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; 15687 "loudmouth/Makefile") CONFIG_FILES="$CONFIG_FILES loudmouth/Makefile" ;; 15688 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 15689 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 15690 "tests/parser-tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/parser-tests/Makefile" ;; 15691 "loudmouth-1.0.pc") CONFIG_FILES="$CONFIG_FILES loudmouth-1.0.pc" ;; 15692 15693 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15694 esac 15695done 15696 15697 15698# If the user did not use the arguments to specify the items to instantiate, 15699# then the envvar interface is used. Set only those that are not. 15700# We use the long form for the default assignment because of an extremely 15701# bizarre bug on SunOS 4.1.3. 15702if $ac_need_defaults; then 15703 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15704 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15705 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15706fi 15707 15708# Have a temporary directory for convenience. Make it in the build tree 15709# simply because there is no reason against having it here, and in addition, 15710# creating and moving files from /tmp can sometimes cause problems. 15711# Hook for its removal unless debugging. 15712# Note that there is a small window in which the directory will not be cleaned: 15713# after its creation but before its name has been assigned to `$tmp'. 15714$debug || 15715{ 15716 tmp= ac_tmp= 15717 trap 'exit_status=$? 15718 : "${ac_tmp:=$tmp}" 15719 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15720' 0 15721 trap 'as_fn_exit 1' 1 2 13 15 15722} 15723# Create a (secure) tmp directory for tmp files. 15724 15725{ 15726 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15727 test -d "$tmp" 15728} || 15729{ 15730 tmp=./conf$$-$RANDOM 15731 (umask 077 && mkdir "$tmp") 15732} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15733ac_tmp=$tmp 15734 15735# Set up the scripts for CONFIG_FILES section. 15736# No need to generate them if there are no CONFIG_FILES. 15737# This happens for instance with `./config.status config.h'. 15738if test -n "$CONFIG_FILES"; then 15739 15740 15741ac_cr=`echo X | tr X '\015'` 15742# On cygwin, bash can eat \r inside `` if the user requested igncr. 15743# But we know of no other shell where ac_cr would be empty at this 15744# point, so we can use a bashism as a fallback. 15745if test "x$ac_cr" = x; then 15746 eval ac_cr=\$\'\\r\' 15747fi 15748ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15749if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15750 ac_cs_awk_cr='\\r' 15751else 15752 ac_cs_awk_cr=$ac_cr 15753fi 15754 15755echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15756_ACEOF 15757 15758 15759{ 15760 echo "cat >conf$$subs.awk <<_ACEOF" && 15761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15762 echo "_ACEOF" 15763} >conf$$subs.sh || 15764 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15765ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15766ac_delim='%!_!# ' 15767for ac_last_try in false false false false false :; do 15768 . ./conf$$subs.sh || 15769 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15770 15771 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15772 if test $ac_delim_n = $ac_delim_num; then 15773 break 15774 elif $ac_last_try; then 15775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15776 else 15777 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15778 fi 15779done 15780rm -f conf$$subs.sh 15781 15782cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15783cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15784_ACEOF 15785sed -n ' 15786h 15787s/^/S["/; s/!.*/"]=/ 15788p 15789g 15790s/^[^!]*!// 15791:repl 15792t repl 15793s/'"$ac_delim"'$// 15794t delim 15795:nl 15796h 15797s/\(.\{148\}\)..*/\1/ 15798t more1 15799s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15800p 15801n 15802b repl 15803:more1 15804s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15805p 15806g 15807s/.\{148\}// 15808t nl 15809:delim 15810h 15811s/\(.\{148\}\)..*/\1/ 15812t more2 15813s/["\\]/\\&/g; s/^/"/; s/$/"/ 15814p 15815b 15816:more2 15817s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15818p 15819g 15820s/.\{148\}// 15821t delim 15822' <conf$$subs.awk | sed ' 15823/^[^""]/{ 15824 N 15825 s/\n// 15826} 15827' >>$CONFIG_STATUS || ac_write_fail=1 15828rm -f conf$$subs.awk 15829cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15830_ACAWK 15831cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15832 for (key in S) S_is_set[key] = 1 15833 FS = "" 15834 15835} 15836{ 15837 line = $ 0 15838 nfields = split(line, field, "@") 15839 substed = 0 15840 len = length(field[1]) 15841 for (i = 2; i < nfields; i++) { 15842 key = field[i] 15843 keylen = length(key) 15844 if (S_is_set[key]) { 15845 value = S[key] 15846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15847 len += length(value) + length(field[++i]) 15848 substed = 1 15849 } else 15850 len += 1 + keylen 15851 } 15852 15853 print line 15854} 15855 15856_ACAWK 15857_ACEOF 15858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15859if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15860 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15861else 15862 cat 15863fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15864 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15865_ACEOF 15866 15867# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15868# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15869# trailing colons and then remove the whole line if VPATH becomes empty 15870# (actually we leave an empty line to preserve line numbers). 15871if test "x$srcdir" = x.; then 15872 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15873h 15874s/// 15875s/^/:/ 15876s/[ ]*$/:/ 15877s/:\$(srcdir):/:/g 15878s/:\${srcdir}:/:/g 15879s/:@srcdir@:/:/g 15880s/^:*// 15881s/:*$// 15882x 15883s/\(=[ ]*\).*/\1/ 15884G 15885s/\n// 15886s/^[^=]*=[ ]*$// 15887}' 15888fi 15889 15890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15891fi # test -n "$CONFIG_FILES" 15892 15893# Set up the scripts for CONFIG_HEADERS section. 15894# No need to generate them if there are no CONFIG_HEADERS. 15895# This happens for instance with `./config.status Makefile'. 15896if test -n "$CONFIG_HEADERS"; then 15897cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15898BEGIN { 15899_ACEOF 15900 15901# Transform confdefs.h into an awk script `defines.awk', embedded as 15902# here-document in config.status, that substitutes the proper values into 15903# config.h.in to produce config.h. 15904 15905# Create a delimiter string that does not exist in confdefs.h, to ease 15906# handling of long lines. 15907ac_delim='%!_!# ' 15908for ac_last_try in false false :; do 15909 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15910 if test -z "$ac_tt"; then 15911 break 15912 elif $ac_last_try; then 15913 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15914 else 15915 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15916 fi 15917done 15918 15919# For the awk script, D is an array of macro values keyed by name, 15920# likewise P contains macro parameters if any. Preserve backslash 15921# newline sequences. 15922 15923ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15924sed -n ' 15925s/.\{148\}/&'"$ac_delim"'/g 15926t rset 15927:rset 15928s/^[ ]*#[ ]*define[ ][ ]*/ / 15929t def 15930d 15931:def 15932s/\\$// 15933t bsnl 15934s/["\\]/\\&/g 15935s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15936D["\1"]=" \3"/p 15937s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15938d 15939:bsnl 15940s/["\\]/\\&/g 15941s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15942D["\1"]=" \3\\\\\\n"\\/p 15943t cont 15944s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15945t cont 15946d 15947:cont 15948n 15949s/.\{148\}/&'"$ac_delim"'/g 15950t clear 15951:clear 15952s/\\$// 15953t bsnlc 15954s/["\\]/\\&/g; s/^/"/; s/$/"/p 15955d 15956:bsnlc 15957s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15958b cont 15959' <confdefs.h | sed ' 15960s/'"$ac_delim"'/"\\\ 15961"/g' >>$CONFIG_STATUS || ac_write_fail=1 15962 15963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15964 for (key in D) D_is_set[key] = 1 15965 FS = "" 15966} 15967/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15968 line = \$ 0 15969 split(line, arg, " ") 15970 if (arg[1] == "#") { 15971 defundef = arg[2] 15972 mac1 = arg[3] 15973 } else { 15974 defundef = substr(arg[1], 2) 15975 mac1 = arg[2] 15976 } 15977 split(mac1, mac2, "(") #) 15978 macro = mac2[1] 15979 prefix = substr(line, 1, index(line, defundef) - 1) 15980 if (D_is_set[macro]) { 15981 # Preserve the white space surrounding the "#". 15982 print prefix "define", macro P[macro] D[macro] 15983 next 15984 } else { 15985 # Replace #undef with comments. This is necessary, for example, 15986 # in the case of _POSIX_SOURCE, which is predefined and required 15987 # on some systems where configure will not decide to define it. 15988 if (defundef == "undef") { 15989 print "/*", prefix defundef, macro, "*/" 15990 next 15991 } 15992 } 15993} 15994{ print } 15995_ACAWK 15996_ACEOF 15997cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15998 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15999fi # test -n "$CONFIG_HEADERS" 16000 16001 16002eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16003shift 16004for ac_tag 16005do 16006 case $ac_tag in 16007 :[FHLC]) ac_mode=$ac_tag; continue;; 16008 esac 16009 case $ac_mode$ac_tag in 16010 :[FHL]*:*);; 16011 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16012 :[FH]-) ac_tag=-:-;; 16013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16014 esac 16015 ac_save_IFS=$IFS 16016 IFS=: 16017 set x $ac_tag 16018 IFS=$ac_save_IFS 16019 shift 16020 ac_file=$1 16021 shift 16022 16023 case $ac_mode in 16024 :L) ac_source=$1;; 16025 :[FH]) 16026 ac_file_inputs= 16027 for ac_f 16028 do 16029 case $ac_f in 16030 -) ac_f="$ac_tmp/stdin";; 16031 *) # Look for the file first in the build tree, then in the source tree 16032 # (if the path is not absolute). The absolute path cannot be DOS-style, 16033 # because $ac_f cannot contain `:'. 16034 test -f "$ac_f" || 16035 case $ac_f in 16036 [\\/$]*) false;; 16037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16038 esac || 16039 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16040 esac 16041 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16042 as_fn_append ac_file_inputs " '$ac_f'" 16043 done 16044 16045 # Let's still pretend it is `configure' which instantiates (i.e., don't 16046 # use $as_me), people would be surprised to read: 16047 # /* config.h. Generated by config.status. */ 16048 configure_input='Generated from '` 16049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16050 `' by configure.' 16051 if test x"$ac_file" != x-; then 16052 configure_input="$ac_file. $configure_input" 16053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16054$as_echo "$as_me: creating $ac_file" >&6;} 16055 fi 16056 # Neutralize special characters interpreted by sed in replacement strings. 16057 case $configure_input in #( 16058 *\&* | *\|* | *\\* ) 16059 ac_sed_conf_input=`$as_echo "$configure_input" | 16060 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16061 *) ac_sed_conf_input=$configure_input;; 16062 esac 16063 16064 case $ac_tag in 16065 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16067 esac 16068 ;; 16069 esac 16070 16071 ac_dir=`$as_dirname -- "$ac_file" || 16072$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16073 X"$ac_file" : 'X\(//\)[^/]' \| \ 16074 X"$ac_file" : 'X\(//\)$' \| \ 16075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16076$as_echo X"$ac_file" | 16077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16078 s//\1/ 16079 q 16080 } 16081 /^X\(\/\/\)[^/].*/{ 16082 s//\1/ 16083 q 16084 } 16085 /^X\(\/\/\)$/{ 16086 s//\1/ 16087 q 16088 } 16089 /^X\(\/\).*/{ 16090 s//\1/ 16091 q 16092 } 16093 s/.*/./; q'` 16094 as_dir="$ac_dir"; as_fn_mkdir_p 16095 ac_builddir=. 16096 16097case "$ac_dir" in 16098.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16099*) 16100 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16101 # A ".." for each directory in $ac_dir_suffix. 16102 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16103 case $ac_top_builddir_sub in 16104 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16105 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16106 esac ;; 16107esac 16108ac_abs_top_builddir=$ac_pwd 16109ac_abs_builddir=$ac_pwd$ac_dir_suffix 16110# for backward compatibility: 16111ac_top_builddir=$ac_top_build_prefix 16112 16113case $srcdir in 16114 .) # We are building in place. 16115 ac_srcdir=. 16116 ac_top_srcdir=$ac_top_builddir_sub 16117 ac_abs_top_srcdir=$ac_pwd ;; 16118 [\\/]* | ?:[\\/]* ) # Absolute name. 16119 ac_srcdir=$srcdir$ac_dir_suffix; 16120 ac_top_srcdir=$srcdir 16121 ac_abs_top_srcdir=$srcdir ;; 16122 *) # Relative name. 16123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16124 ac_top_srcdir=$ac_top_build_prefix$srcdir 16125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16126esac 16127ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16128 16129 16130 case $ac_mode in 16131 :F) 16132 # 16133 # CONFIG_FILE 16134 # 16135 16136 case $INSTALL in 16137 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16138 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16139 esac 16140 ac_MKDIR_P=$MKDIR_P 16141 case $MKDIR_P in 16142 [\\/$]* | ?:[\\/]* ) ;; 16143 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16144 esac 16145_ACEOF 16146 16147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16148# If the template does not know about datarootdir, expand it. 16149# FIXME: This hack should be removed a few years after 2.60. 16150ac_datarootdir_hack=; ac_datarootdir_seen= 16151ac_sed_dataroot=' 16152/datarootdir/ { 16153 p 16154 q 16155} 16156/@datadir@/p 16157/@docdir@/p 16158/@infodir@/p 16159/@localedir@/p 16160/@mandir@/p' 16161case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16162*datarootdir*) ac_datarootdir_seen=yes;; 16163*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16165$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16166_ACEOF 16167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16168 ac_datarootdir_hack=' 16169 s&@datadir@&$datadir&g 16170 s&@docdir@&$docdir&g 16171 s&@infodir@&$infodir&g 16172 s&@localedir@&$localedir&g 16173 s&@mandir@&$mandir&g 16174 s&\\\${datarootdir}&$datarootdir&g' ;; 16175esac 16176_ACEOF 16177 16178# Neutralize VPATH when `$srcdir' = `.'. 16179# Shell code in configure.ac might set extrasub. 16180# FIXME: do we really want to maintain this feature? 16181cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16182ac_sed_extra="$ac_vpsub 16183$extrasub 16184_ACEOF 16185cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16186:t 16187/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16188s|@configure_input@|$ac_sed_conf_input|;t t 16189s&@top_builddir@&$ac_top_builddir_sub&;t t 16190s&@top_build_prefix@&$ac_top_build_prefix&;t t 16191s&@srcdir@&$ac_srcdir&;t t 16192s&@abs_srcdir@&$ac_abs_srcdir&;t t 16193s&@top_srcdir@&$ac_top_srcdir&;t t 16194s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16195s&@builddir@&$ac_builddir&;t t 16196s&@abs_builddir@&$ac_abs_builddir&;t t 16197s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16198s&@INSTALL@&$ac_INSTALL&;t t 16199s&@MKDIR_P@&$ac_MKDIR_P&;t t 16200$ac_datarootdir_hack 16201" 16202eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16203 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16204 16205test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16206 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16208 "$ac_tmp/out"`; test -z "$ac_out"; } && 16209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16210which seems to be undefined. Please make sure it is defined" >&5 16211$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16212which seems to be undefined. Please make sure it is defined" >&2;} 16213 16214 rm -f "$ac_tmp/stdin" 16215 case $ac_file in 16216 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16217 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16218 esac \ 16219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16220 ;; 16221 :H) 16222 # 16223 # CONFIG_HEADER 16224 # 16225 if test x"$ac_file" != x-; then 16226 { 16227 $as_echo "/* $configure_input */" \ 16228 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16229 } >"$ac_tmp/config.h" \ 16230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16231 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16232 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16233$as_echo "$as_me: $ac_file is unchanged" >&6;} 16234 else 16235 rm -f "$ac_file" 16236 mv "$ac_tmp/config.h" "$ac_file" \ 16237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16238 fi 16239 else 16240 $as_echo "/* $configure_input */" \ 16241 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16242 || as_fn_error $? "could not create -" "$LINENO" 5 16243 fi 16244# Compute "$ac_file"'s index in $config_headers. 16245_am_arg="$ac_file" 16246_am_stamp_count=1 16247for _am_header in $config_headers :; do 16248 case $_am_header in 16249 $_am_arg | $_am_arg:* ) 16250 break ;; 16251 * ) 16252 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16253 esac 16254done 16255echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16256$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16257 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16258 X"$_am_arg" : 'X\(//\)$' \| \ 16259 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16260$as_echo X"$_am_arg" | 16261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16262 s//\1/ 16263 q 16264 } 16265 /^X\(\/\/\)[^/].*/{ 16266 s//\1/ 16267 q 16268 } 16269 /^X\(\/\/\)$/{ 16270 s//\1/ 16271 q 16272 } 16273 /^X\(\/\).*/{ 16274 s//\1/ 16275 q 16276 } 16277 s/.*/./; q'`/stamp-h$_am_stamp_count 16278 ;; 16279 16280 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16281$as_echo "$as_me: executing $ac_file commands" >&6;} 16282 ;; 16283 esac 16284 16285 16286 case $ac_file$ac_mode in 16287 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16288 # Older Autoconf quotes --file arguments for eval, but not when files 16289 # are listed without --file. Let's play safe and only enable the eval 16290 # if we detect the quoting. 16291 # TODO: see whether this extra hack can be removed once we start 16292 # requiring Autoconf 2.70 or later. 16293 case $CONFIG_FILES in #( 16294 *\'*) : 16295 eval set x "$CONFIG_FILES" ;; #( 16296 *) : 16297 set x $CONFIG_FILES ;; #( 16298 *) : 16299 ;; 16300esac 16301 shift 16302 # Used to flag and report bootstrapping failures. 16303 am_rc=0 16304 for am_mf 16305 do 16306 # Strip MF so we end up with the name of the file. 16307 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 16308 # Check whether this is an Automake generated Makefile which includes 16309 # dependency-tracking related rules and includes. 16310 # Grep'ing the whole file directly is not great: AIX grep has a line 16311 # limit of 2048, but all sed's we know have understand at least 4000. 16312 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 16313 || continue 16314 am_dirpart=`$as_dirname -- "$am_mf" || 16315$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16316 X"$am_mf" : 'X\(//\)[^/]' \| \ 16317 X"$am_mf" : 'X\(//\)$' \| \ 16318 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 16319$as_echo X"$am_mf" | 16320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16321 s//\1/ 16322 q 16323 } 16324 /^X\(\/\/\)[^/].*/{ 16325 s//\1/ 16326 q 16327 } 16328 /^X\(\/\/\)$/{ 16329 s//\1/ 16330 q 16331 } 16332 /^X\(\/\).*/{ 16333 s//\1/ 16334 q 16335 } 16336 s/.*/./; q'` 16337 am_filepart=`$as_basename -- "$am_mf" || 16338$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 16339 X"$am_mf" : 'X\(//\)$' \| \ 16340 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 16341$as_echo X/"$am_mf" | 16342 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16343 s//\1/ 16344 q 16345 } 16346 /^X\/\(\/\/\)$/{ 16347 s//\1/ 16348 q 16349 } 16350 /^X\/\(\/\).*/{ 16351 s//\1/ 16352 q 16353 } 16354 s/.*/./; q'` 16355 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 16356 && sed -e '/# am--include-marker/d' "$am_filepart" \ 16357 | $MAKE -f - am--depfiles" >&5 16358 (cd "$am_dirpart" \ 16359 && sed -e '/# am--include-marker/d' "$am_filepart" \ 16360 | $MAKE -f - am--depfiles) >&5 2>&5 16361 ac_status=$? 16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16363 (exit $ac_status); } || am_rc=$? 16364 done 16365 if test $am_rc -ne 0; then 16366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16368as_fn_error $? "Something went wrong bootstrapping makefile fragments 16369 for automatic dependency tracking. Try re-running configure with the 16370 '--disable-dependency-tracking' option to at least be able to build 16371 the package (albeit without support for automatic dependency tracking). 16372See \`config.log' for more details" "$LINENO" 5; } 16373 fi 16374 { am_dirpart=; unset am_dirpart;} 16375 { am_filepart=; unset am_filepart;} 16376 { am_mf=; unset am_mf;} 16377 { am_rc=; unset am_rc;} 16378 rm -f conftest-deps.mk 16379} 16380 ;; 16381 "libtool":C) 16382 16383 # See if we are running on zsh, and set the options that allow our 16384 # commands through without removal of \ escapes. 16385 if test -n "${ZSH_VERSION+set}"; then 16386 setopt NO_GLOB_SUBST 16387 fi 16388 16389 cfgfile=${ofile}T 16390 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16391 $RM "$cfgfile" 16392 16393 cat <<_LT_EOF >> "$cfgfile" 16394#! $SHELL 16395# Generated automatically by $as_me ($PACKAGE) $VERSION 16396# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16397 16398# Provide generalized library-building support services. 16399# Written by Gordon Matzigkeit, 1996 16400 16401# Copyright (C) 2014 Free Software Foundation, Inc. 16402# This is free software; see the source for copying conditions. There is NO 16403# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16404 16405# GNU Libtool is free software; you can redistribute it and/or modify 16406# it under the terms of the GNU General Public License as published by 16407# the Free Software Foundation; either version 2 of of the License, or 16408# (at your option) any later version. 16409# 16410# As a special exception to the GNU General Public License, if you 16411# distribute this file as part of a program or library that is built 16412# using GNU Libtool, you may include this file under the same 16413# distribution terms that you use for the rest of that program. 16414# 16415# GNU Libtool is distributed in the hope that it will be useful, but 16416# WITHOUT ANY WARRANTY; without even the implied warranty of 16417# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16418# GNU General Public License for more details. 16419# 16420# You should have received a copy of the GNU General Public License 16421# along with this program. If not, see <http://www.gnu.org/licenses/>. 16422 16423 16424# The names of the tagged configurations supported by this script. 16425available_tags='' 16426 16427# Configured defaults for sys_lib_dlsearch_path munging. 16428: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 16429 16430# ### BEGIN LIBTOOL CONFIG 16431 16432# Assembler program. 16433AS=$lt_AS 16434 16435# DLL creation program. 16436DLLTOOL=$lt_DLLTOOL 16437 16438# Object dumper program. 16439OBJDUMP=$lt_OBJDUMP 16440 16441# Which release of libtool.m4 was used? 16442macro_version=$macro_version 16443macro_revision=$macro_revision 16444 16445# Whether or not to build shared libraries. 16446build_libtool_libs=$enable_shared 16447 16448# Whether or not to build static libraries. 16449build_old_libs=$enable_static 16450 16451# What type of objects to build. 16452pic_mode=$pic_mode 16453 16454# Whether or not to optimize for fast installation. 16455fast_install=$enable_fast_install 16456 16457# Shared archive member basename,for filename based shared library versioning on AIX. 16458shared_archive_member_spec=$shared_archive_member_spec 16459 16460# Shell to use when invoking shell scripts. 16461SHELL=$lt_SHELL 16462 16463# An echo program that protects backslashes. 16464ECHO=$lt_ECHO 16465 16466# The PATH separator for the build system. 16467PATH_SEPARATOR=$lt_PATH_SEPARATOR 16468 16469# The host system. 16470host_alias=$host_alias 16471host=$host 16472host_os=$host_os 16473 16474# The build system. 16475build_alias=$build_alias 16476build=$build 16477build_os=$build_os 16478 16479# A sed program that does not truncate output. 16480SED=$lt_SED 16481 16482# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16483Xsed="\$SED -e 1s/^X//" 16484 16485# A grep program that handles long lines. 16486GREP=$lt_GREP 16487 16488# An ERE matcher. 16489EGREP=$lt_EGREP 16490 16491# A literal string matcher. 16492FGREP=$lt_FGREP 16493 16494# A BSD- or MS-compatible name lister. 16495NM=$lt_NM 16496 16497# Whether we need soft or hard links. 16498LN_S=$lt_LN_S 16499 16500# What is the maximum length of a command? 16501max_cmd_len=$max_cmd_len 16502 16503# Object file suffix (normally "o"). 16504objext=$ac_objext 16505 16506# Executable file suffix (normally ""). 16507exeext=$exeext 16508 16509# whether the shell understands "unset". 16510lt_unset=$lt_unset 16511 16512# turn spaces into newlines. 16513SP2NL=$lt_lt_SP2NL 16514 16515# turn newlines into spaces. 16516NL2SP=$lt_lt_NL2SP 16517 16518# convert \$build file names to \$host format. 16519to_host_file_cmd=$lt_cv_to_host_file_cmd 16520 16521# convert \$build files to toolchain format. 16522to_tool_file_cmd=$lt_cv_to_tool_file_cmd 16523 16524# Method to check whether dependent libraries are shared objects. 16525deplibs_check_method=$lt_deplibs_check_method 16526 16527# Command to use when deplibs_check_method = "file_magic". 16528file_magic_cmd=$lt_file_magic_cmd 16529 16530# How to find potential files when deplibs_check_method = "file_magic". 16531file_magic_glob=$lt_file_magic_glob 16532 16533# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 16534want_nocaseglob=$lt_want_nocaseglob 16535 16536# Command to associate shared and link libraries. 16537sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 16538 16539# The archiver. 16540AR=$lt_AR 16541 16542# Flags to create an archive. 16543AR_FLAGS=$lt_AR_FLAGS 16544 16545# How to feed a file listing to the archiver. 16546archiver_list_spec=$lt_archiver_list_spec 16547 16548# A symbol stripping program. 16549STRIP=$lt_STRIP 16550 16551# Commands used to install an old-style archive. 16552RANLIB=$lt_RANLIB 16553old_postinstall_cmds=$lt_old_postinstall_cmds 16554old_postuninstall_cmds=$lt_old_postuninstall_cmds 16555 16556# Whether to use a lock for old archive extraction. 16557lock_old_archive_extraction=$lock_old_archive_extraction 16558 16559# A C compiler. 16560LTCC=$lt_CC 16561 16562# LTCC compiler flags. 16563LTCFLAGS=$lt_CFLAGS 16564 16565# Take the output of nm and produce a listing of raw symbols and C names. 16566global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16567 16568# Transform the output of nm in a proper C declaration. 16569global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16570 16571# Transform the output of nm into a list of symbols to manually relocate. 16572global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 16573 16574# Transform the output of nm in a C name address pair. 16575global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16576 16577# Transform the output of nm in a C name address pair when lib prefix is needed. 16578global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16579 16580# The name lister interface. 16581nm_interface=$lt_lt_cv_nm_interface 16582 16583# Specify filename containing input files for \$NM. 16584nm_file_list_spec=$lt_nm_file_list_spec 16585 16586# The root where to search for dependent libraries,and where our libraries should be installed. 16587lt_sysroot=$lt_sysroot 16588 16589# Command to truncate a binary pipe. 16590lt_truncate_bin=$lt_lt_cv_truncate_bin 16591 16592# The name of the directory that contains temporary libtool files. 16593objdir=$objdir 16594 16595# Used to examine libraries when file_magic_cmd begins with "file". 16596MAGIC_CMD=$MAGIC_CMD 16597 16598# Must we lock files when doing compilation? 16599need_locks=$lt_need_locks 16600 16601# Manifest tool. 16602MANIFEST_TOOL=$lt_MANIFEST_TOOL 16603 16604# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16605DSYMUTIL=$lt_DSYMUTIL 16606 16607# Tool to change global to local symbols on Mac OS X. 16608NMEDIT=$lt_NMEDIT 16609 16610# Tool to manipulate fat objects and archives on Mac OS X. 16611LIPO=$lt_LIPO 16612 16613# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16614OTOOL=$lt_OTOOL 16615 16616# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16617OTOOL64=$lt_OTOOL64 16618 16619# Old archive suffix (normally "a"). 16620libext=$libext 16621 16622# Shared library suffix (normally ".so"). 16623shrext_cmds=$lt_shrext_cmds 16624 16625# The commands to extract the exported symbol list from a shared archive. 16626extract_expsyms_cmds=$lt_extract_expsyms_cmds 16627 16628# Variables whose values should be saved in libtool wrapper scripts and 16629# restored at link time. 16630variables_saved_for_relink=$lt_variables_saved_for_relink 16631 16632# Do we need the "lib" prefix for modules? 16633need_lib_prefix=$need_lib_prefix 16634 16635# Do we need a version for libraries? 16636need_version=$need_version 16637 16638# Library versioning type. 16639version_type=$version_type 16640 16641# Shared library runtime path variable. 16642runpath_var=$runpath_var 16643 16644# Shared library path variable. 16645shlibpath_var=$shlibpath_var 16646 16647# Is shlibpath searched before the hard-coded library search path? 16648shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16649 16650# Format of library name prefix. 16651libname_spec=$lt_libname_spec 16652 16653# List of archive names. First name is the real one, the rest are links. 16654# The last name is the one that the linker finds with -lNAME 16655library_names_spec=$lt_library_names_spec 16656 16657# The coded name of the library, if different from the real name. 16658soname_spec=$lt_soname_spec 16659 16660# Permission mode override for installation of shared libraries. 16661install_override_mode=$lt_install_override_mode 16662 16663# Command to use after installation of a shared archive. 16664postinstall_cmds=$lt_postinstall_cmds 16665 16666# Command to use after uninstallation of a shared archive. 16667postuninstall_cmds=$lt_postuninstall_cmds 16668 16669# Commands used to finish a libtool library installation in a directory. 16670finish_cmds=$lt_finish_cmds 16671 16672# As "finish_cmds", except a single script fragment to be evaled but 16673# not shown. 16674finish_eval=$lt_finish_eval 16675 16676# Whether we should hardcode library paths into libraries. 16677hardcode_into_libs=$hardcode_into_libs 16678 16679# Compile-time system search path for libraries. 16680sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16681 16682# Detected run-time system search path for libraries. 16683sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 16684 16685# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 16686configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 16687 16688# Whether dlopen is supported. 16689dlopen_support=$enable_dlopen 16690 16691# Whether dlopen of programs is supported. 16692dlopen_self=$enable_dlopen_self 16693 16694# Whether dlopen of statically linked programs is supported. 16695dlopen_self_static=$enable_dlopen_self_static 16696 16697# Commands to strip libraries. 16698old_striplib=$lt_old_striplib 16699striplib=$lt_striplib 16700 16701 16702# The linker used to build libraries. 16703LD=$lt_LD 16704 16705# How to create reloadable object files. 16706reload_flag=$lt_reload_flag 16707reload_cmds=$lt_reload_cmds 16708 16709# Commands used to build an old-style archive. 16710old_archive_cmds=$lt_old_archive_cmds 16711 16712# A language specific compiler. 16713CC=$lt_compiler 16714 16715# Is the compiler the GNU compiler? 16716with_gcc=$GCC 16717 16718# Compiler flag to turn off builtin functions. 16719no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16720 16721# Additional compiler flags for building library objects. 16722pic_flag=$lt_lt_prog_compiler_pic 16723 16724# How to pass a linker flag through the compiler. 16725wl=$lt_lt_prog_compiler_wl 16726 16727# Compiler flag to prevent dynamic linking. 16728link_static_flag=$lt_lt_prog_compiler_static 16729 16730# Does compiler simultaneously support -c and -o options? 16731compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16732 16733# Whether or not to add -lc for building shared libraries. 16734build_libtool_need_lc=$archive_cmds_need_lc 16735 16736# Whether or not to disallow shared libs when runtime libs are static. 16737allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16738 16739# Compiler flag to allow reflexive dlopens. 16740export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16741 16742# Compiler flag to generate shared objects directly from archives. 16743whole_archive_flag_spec=$lt_whole_archive_flag_spec 16744 16745# Whether the compiler copes with passing no objects directly. 16746compiler_needs_object=$lt_compiler_needs_object 16747 16748# Create an old-style archive from a shared archive. 16749old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16750 16751# Create a temporary old-style archive to link instead of a shared archive. 16752old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16753 16754# Commands used to build a shared archive. 16755archive_cmds=$lt_archive_cmds 16756archive_expsym_cmds=$lt_archive_expsym_cmds 16757 16758# Commands used to build a loadable module if different from building 16759# a shared archive. 16760module_cmds=$lt_module_cmds 16761module_expsym_cmds=$lt_module_expsym_cmds 16762 16763# Whether we are building with GNU ld or not. 16764with_gnu_ld=$lt_with_gnu_ld 16765 16766# Flag that allows shared libraries with undefined symbols to be built. 16767allow_undefined_flag=$lt_allow_undefined_flag 16768 16769# Flag that enforces no undefined symbols. 16770no_undefined_flag=$lt_no_undefined_flag 16771 16772# Flag to hardcode \$libdir into a binary during linking. 16773# This must work even if \$libdir does not exist 16774hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16775 16776# Whether we need a single "-rpath" flag with a separated argument. 16777hardcode_libdir_separator=$lt_hardcode_libdir_separator 16778 16779# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16780# DIR into the resulting binary. 16781hardcode_direct=$hardcode_direct 16782 16783# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 16784# DIR into the resulting binary and the resulting library dependency is 16785# "absolute",i.e impossible to change by setting \$shlibpath_var if the 16786# library is relocated. 16787hardcode_direct_absolute=$hardcode_direct_absolute 16788 16789# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16790# into the resulting binary. 16791hardcode_minus_L=$hardcode_minus_L 16792 16793# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16794# into the resulting binary. 16795hardcode_shlibpath_var=$hardcode_shlibpath_var 16796 16797# Set to "yes" if building a shared library automatically hardcodes DIR 16798# into the library and all subsequent libraries and executables linked 16799# against it. 16800hardcode_automatic=$hardcode_automatic 16801 16802# Set to yes if linker adds runtime paths of dependent libraries 16803# to runtime path list. 16804inherit_rpath=$inherit_rpath 16805 16806# Whether libtool must link a program against all its dependency libraries. 16807link_all_deplibs=$link_all_deplibs 16808 16809# Set to "yes" if exported symbols are required. 16810always_export_symbols=$always_export_symbols 16811 16812# The commands to list exported symbols. 16813export_symbols_cmds=$lt_export_symbols_cmds 16814 16815# Symbols that should not be listed in the preloaded symbols. 16816exclude_expsyms=$lt_exclude_expsyms 16817 16818# Symbols that must always be exported. 16819include_expsyms=$lt_include_expsyms 16820 16821# Commands necessary for linking programs (against libraries) with templates. 16822prelink_cmds=$lt_prelink_cmds 16823 16824# Commands necessary for finishing linking programs. 16825postlink_cmds=$lt_postlink_cmds 16826 16827# Specify filename containing input files. 16828file_list_spec=$lt_file_list_spec 16829 16830# How to hardcode a shared library path into an executable. 16831hardcode_action=$hardcode_action 16832 16833# ### END LIBTOOL CONFIG 16834 16835_LT_EOF 16836 16837 cat <<'_LT_EOF' >> "$cfgfile" 16838 16839# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 16840 16841# func_munge_path_list VARIABLE PATH 16842# ----------------------------------- 16843# VARIABLE is name of variable containing _space_ separated list of 16844# directories to be munged by the contents of PATH, which is string 16845# having a format: 16846# "DIR[:DIR]:" 16847# string "DIR[ DIR]" will be prepended to VARIABLE 16848# ":DIR[:DIR]" 16849# string "DIR[ DIR]" will be appended to VARIABLE 16850# "DIRP[:DIRP]::[DIRA:]DIRA" 16851# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 16852# "DIRA[ DIRA]" will be appended to VARIABLE 16853# "DIR[:DIR]" 16854# VARIABLE will be replaced by "DIR[ DIR]" 16855func_munge_path_list () 16856{ 16857 case x$2 in 16858 x) 16859 ;; 16860 *:) 16861 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 16862 ;; 16863 x:*) 16864 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 16865 ;; 16866 *::*) 16867 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 16868 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 16869 ;; 16870 *) 16871 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 16872 ;; 16873 esac 16874} 16875 16876 16877# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 16878func_cc_basename () 16879{ 16880 for cc_temp in $*""; do 16881 case $cc_temp in 16882 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 16883 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 16884 \-*) ;; 16885 *) break;; 16886 esac 16887 done 16888 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 16889} 16890 16891 16892# ### END FUNCTIONS SHARED WITH CONFIGURE 16893 16894_LT_EOF 16895 16896 case $host_os in 16897 aix3*) 16898 cat <<\_LT_EOF >> "$cfgfile" 16899# AIX sometimes has problems with the GCC collect2 program. For some 16900# reason, if we set the COLLECT_NAMES environment variable, the problems 16901# vanish in a puff of smoke. 16902if test set != "${COLLECT_NAMES+set}"; then 16903 COLLECT_NAMES= 16904 export COLLECT_NAMES 16905fi 16906_LT_EOF 16907 ;; 16908 esac 16909 16910 16911ltmain=$ac_aux_dir/ltmain.sh 16912 16913 16914 # We use sed instead of cat because bash on DJGPP gets confused if 16915 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16916 # text mode, it properly converts lines to CR/LF. This bash problem 16917 # is reportedly fixed, but why not run on old versions too? 16918 sed '$q' "$ltmain" >> "$cfgfile" \ 16919 || (rm -f "$cfgfile"; exit 1) 16920 16921 mv -f "$cfgfile" "$ofile" || 16922 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16923 chmod +x "$ofile" 16924 16925 ;; 16926 16927 esac 16928done # for ac_tag 16929 16930 16931as_fn_exit 0 16932_ACEOF 16933ac_clean_files=$ac_clean_files_save 16934 16935test $ac_write_fail = 0 || 16936 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16937 16938 16939# configure is writing to config.log, and then calls config.status. 16940# config.status does its own redirection, appending to config.log. 16941# Unfortunately, on DOS this fails, as config.log is still kept open 16942# by configure, so config.status won't be able to write to it; its 16943# output is simply discarded. So we exec the FD to /dev/null, 16944# effectively closing config.log, so it can be properly (re)opened and 16945# appended to by config.status. When coming back to configure, we 16946# need to make the FD available again. 16947if test "$no_create" != yes; then 16948 ac_cs_success=: 16949 ac_config_status_args= 16950 test "$silent" = yes && 16951 ac_config_status_args="$ac_config_status_args --quiet" 16952 exec 5>/dev/null 16953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16954 exec 5>>config.log 16955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16956 # would make configure fail if this is the last instruction. 16957 $ac_cs_success || as_fn_exit 1 16958fi 16959if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16961$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16962fi 16963 16964 16965echo " 16966 16967 Loudmouth $VERSION 16968 ================== 16969 16970 prefix: ${prefix} 16971 compiler: ${CC} 16972 Enable IDN support: ${enable_idn} 16973 Enable SSL: ${enable_ssl} 16974 Asynchronous DNS: ${enable_asyncns} 16975 Linux TCP keepalives: ${use_keepalives} 16976 Enable Debug: ${enable_debug} 16977 Enable GSSAPI: ${enable_gssapi} 16978 Enable Documentation: ${enable_gtk_doc} 16979 Enable Tests: ${enable_test} 16980 16981 Now type 'make' to build Loudmouth 16982" 16983 16984