Annotation of embedaddon/libiconv/libcharset/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.63.
! 4: #
! 5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 7: # This configure script is free software; the Free Software Foundation
! 8: # gives unlimited permission to copy, distribute and modify it.
! 9: ## --------------------- ##
! 10: ## M4sh Initialization. ##
! 11: ## --------------------- ##
! 12:
! 13: # Be more Bourne compatible
! 14: DUALCASE=1; export DUALCASE # for MKS sh
! 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 16: emulate sh
! 17: NULLCMD=:
! 18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 19: # is contrary to our usage. Disable this feature.
! 20: alias -g '${1+"$@"}'='"$@"'
! 21: setopt NO_GLOB_SUBST
! 22: else
! 23: case `(set -o) 2>/dev/null` in
! 24: *posix*) set -o posix ;;
! 25: esac
! 26:
! 27: fi
! 28:
! 29:
! 30:
! 31:
! 32: # PATH needs CR
! 33: # Avoid depending upon Character Ranges.
! 34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 37: as_cr_digits='0123456789'
! 38: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 39:
! 40: as_nl='
! 41: '
! 42: export as_nl
! 43: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 44: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 46: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 47: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 48: as_echo='printf %s\n'
! 49: as_echo_n='printf %s'
! 50: else
! 51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 53: as_echo_n='/usr/ucb/echo -n'
! 54: else
! 55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 56: as_echo_n_body='eval
! 57: arg=$1;
! 58: case $arg in
! 59: *"$as_nl"*)
! 60: expr "X$arg" : "X\\(.*\\)$as_nl";
! 61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 62: esac;
! 63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 64: '
! 65: export as_echo_n_body
! 66: as_echo_n='sh -c $as_echo_n_body as_echo'
! 67: fi
! 68: export as_echo_body
! 69: as_echo='sh -c $as_echo_body as_echo'
! 70: fi
! 71:
! 72: # The user is always right.
! 73: if test "${PATH_SEPARATOR+set}" != set; then
! 74: PATH_SEPARATOR=:
! 75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 77: PATH_SEPARATOR=';'
! 78: }
! 79: fi
! 80:
! 81: # Support unset when possible.
! 82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 83: as_unset=unset
! 84: else
! 85: as_unset=false
! 86: fi
! 87:
! 88:
! 89: # IFS
! 90: # We need space, tab and new line, in precisely that order. Quoting is
! 91: # there to prevent editors from complaining about space-tab.
! 92: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 93: # splitting by setting IFS to empty value.)
! 94: IFS=" "" $as_nl"
! 95:
! 96: # Find who we are. Look in the path if we contain no directory separator.
! 97: case $0 in
! 98: *[\\/]* ) as_myself=$0 ;;
! 99: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 100: for as_dir in $PATH
! 101: do
! 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
! 106: IFS=$as_save_IFS
! 107:
! 108: ;;
! 109: esac
! 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.
! 112: if test "x$as_myself" = x; then
! 113: as_myself=$0
! 114: fi
! 115: if test ! -f "$as_myself"; then
! 116: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 117: { (exit 1); exit 1; }
! 118: fi
! 119:
! 120: # Work around bugs in pre-3.0 UWIN ksh.
! 121: for as_var in ENV MAIL MAILPATH
! 122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 123: done
! 124: PS1='$ '
! 125: PS2='> '
! 126: PS4='+ '
! 127:
! 128: # NLS nuisances.
! 129: LC_ALL=C
! 130: export LC_ALL
! 131: LANGUAGE=C
! 132: export LANGUAGE
! 133:
! 134: # Required to use basename.
! 135: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 137: as_expr=expr
! 138: else
! 139: as_expr=false
! 140: fi
! 141:
! 142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 143: as_basename=basename
! 144: else
! 145: as_basename=false
! 146: fi
! 147:
! 148:
! 149: # Name of the executable.
! 150: as_me=`$as_basename -- "$0" ||
! 151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 152: X"$0" : 'X\(//\)$' \| \
! 153: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 154: $as_echo X/"$0" |
! 155: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 156: s//\1/
! 157: q
! 158: }
! 159: /^X\/\(\/\/\)$/{
! 160: s//\1/
! 161: q
! 162: }
! 163: /^X\/\(\/\).*/{
! 164: s//\1/
! 165: q
! 166: }
! 167: s/.*/./; q'`
! 168:
! 169: # CDPATH.
! 170: $as_unset CDPATH
! 171:
! 172:
! 173: if test "x$CONFIG_SHELL" = x; then
! 174: if (eval ":") 2>/dev/null; then
! 175: as_have_required=yes
! 176: else
! 177: as_have_required=no
! 178: fi
! 179:
! 180: if test $as_have_required = yes && (eval ":
! 181: (as_func_return () {
! 182: (exit \$1)
! 183: }
! 184: as_func_success () {
! 185: as_func_return 0
! 186: }
! 187: as_func_failure () {
! 188: as_func_return 1
! 189: }
! 190: as_func_ret_success () {
! 191: return 0
! 192: }
! 193: as_func_ret_failure () {
! 194: return 1
! 195: }
! 196:
! 197: exitcode=0
! 198: if as_func_success; then
! 199: :
! 200: else
! 201: exitcode=1
! 202: echo as_func_success failed.
! 203: fi
! 204:
! 205: if as_func_failure; then
! 206: exitcode=1
! 207: echo as_func_failure succeeded.
! 208: fi
! 209:
! 210: if as_func_ret_success; then
! 211: :
! 212: else
! 213: exitcode=1
! 214: echo as_func_ret_success failed.
! 215: fi
! 216:
! 217: if as_func_ret_failure; then
! 218: exitcode=1
! 219: echo as_func_ret_failure succeeded.
! 220: fi
! 221:
! 222: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 223: :
! 224: else
! 225: exitcode=1
! 226: echo positional parameters were not saved.
! 227: fi
! 228:
! 229: test \$exitcode = 0) || { (exit 1); exit 1; }
! 230:
! 231: (
! 232: as_lineno_1=\$LINENO
! 233: as_lineno_2=\$LINENO
! 234: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
! 235: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
! 236: ") 2> /dev/null; then
! 237: :
! 238: else
! 239: as_candidate_shells=
! 240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 241: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 242: do
! 243: IFS=$as_save_IFS
! 244: test -z "$as_dir" && as_dir=.
! 245: case $as_dir in
! 246: /*)
! 247: for as_base in sh bash ksh sh5; do
! 248: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
! 249: done;;
! 250: esac
! 251: done
! 252: IFS=$as_save_IFS
! 253:
! 254:
! 255: for as_shell in $as_candidate_shells $SHELL; do
! 256: # Try only shells that exist, to save several forks.
! 257: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 258: { ("$as_shell") 2> /dev/null <<\_ASEOF
! 259: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 260: emulate sh
! 261: NULLCMD=:
! 262: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 263: # is contrary to our usage. Disable this feature.
! 264: alias -g '${1+"$@"}'='"$@"'
! 265: setopt NO_GLOB_SUBST
! 266: else
! 267: case `(set -o) 2>/dev/null` in
! 268: *posix*) set -o posix ;;
! 269: esac
! 270:
! 271: fi
! 272:
! 273:
! 274: :
! 275: _ASEOF
! 276: }; then
! 277: CONFIG_SHELL=$as_shell
! 278: as_have_required=yes
! 279: if { "$as_shell" 2> /dev/null <<\_ASEOF
! 280: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 281: emulate sh
! 282: NULLCMD=:
! 283: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 284: # is contrary to our usage. Disable this feature.
! 285: alias -g '${1+"$@"}'='"$@"'
! 286: setopt NO_GLOB_SUBST
! 287: else
! 288: case `(set -o) 2>/dev/null` in
! 289: *posix*) set -o posix ;;
! 290: esac
! 291:
! 292: fi
! 293:
! 294:
! 295: :
! 296: (as_func_return () {
! 297: (exit $1)
! 298: }
! 299: as_func_success () {
! 300: as_func_return 0
! 301: }
! 302: as_func_failure () {
! 303: as_func_return 1
! 304: }
! 305: as_func_ret_success () {
! 306: return 0
! 307: }
! 308: as_func_ret_failure () {
! 309: return 1
! 310: }
! 311:
! 312: exitcode=0
! 313: if as_func_success; then
! 314: :
! 315: else
! 316: exitcode=1
! 317: echo as_func_success failed.
! 318: fi
! 319:
! 320: if as_func_failure; then
! 321: exitcode=1
! 322: echo as_func_failure succeeded.
! 323: fi
! 324:
! 325: if as_func_ret_success; then
! 326: :
! 327: else
! 328: exitcode=1
! 329: echo as_func_ret_success failed.
! 330: fi
! 331:
! 332: if as_func_ret_failure; then
! 333: exitcode=1
! 334: echo as_func_ret_failure succeeded.
! 335: fi
! 336:
! 337: if ( set x; as_func_ret_success y && test x = "$1" ); then
! 338: :
! 339: else
! 340: exitcode=1
! 341: echo positional parameters were not saved.
! 342: fi
! 343:
! 344: test $exitcode = 0) || { (exit 1); exit 1; }
! 345:
! 346: (
! 347: as_lineno_1=$LINENO
! 348: as_lineno_2=$LINENO
! 349: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 350: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
! 351:
! 352: _ASEOF
! 353: }; then
! 354: break
! 355: fi
! 356:
! 357: fi
! 358:
! 359: done
! 360:
! 361: if test "x$CONFIG_SHELL" != x; then
! 362: for as_var in BASH_ENV ENV
! 363: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 364: done
! 365: export CONFIG_SHELL
! 366: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 367: fi
! 368:
! 369:
! 370: if test $as_have_required = no; then
! 371: echo This script requires a shell more modern than all the
! 372: echo shells that I found on your system. Please install a
! 373: echo modern shell, or manually run the script under such a
! 374: echo shell if you do have one.
! 375: { (exit 1); exit 1; }
! 376: fi
! 377:
! 378:
! 379: fi
! 380:
! 381: fi
! 382:
! 383:
! 384:
! 385: (eval "as_func_return () {
! 386: (exit \$1)
! 387: }
! 388: as_func_success () {
! 389: as_func_return 0
! 390: }
! 391: as_func_failure () {
! 392: as_func_return 1
! 393: }
! 394: as_func_ret_success () {
! 395: return 0
! 396: }
! 397: as_func_ret_failure () {
! 398: return 1
! 399: }
! 400:
! 401: exitcode=0
! 402: if as_func_success; then
! 403: :
! 404: else
! 405: exitcode=1
! 406: echo as_func_success failed.
! 407: fi
! 408:
! 409: if as_func_failure; then
! 410: exitcode=1
! 411: echo as_func_failure succeeded.
! 412: fi
! 413:
! 414: if as_func_ret_success; then
! 415: :
! 416: else
! 417: exitcode=1
! 418: echo as_func_ret_success failed.
! 419: fi
! 420:
! 421: if as_func_ret_failure; then
! 422: exitcode=1
! 423: echo as_func_ret_failure succeeded.
! 424: fi
! 425:
! 426: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 427: :
! 428: else
! 429: exitcode=1
! 430: echo positional parameters were not saved.
! 431: fi
! 432:
! 433: test \$exitcode = 0") || {
! 434: echo No shell found that supports shell functions.
! 435: echo Please tell bug-autoconf@gnu.org about your system,
! 436: echo including any error possibly output before this message.
! 437: echo This can help us improve future autoconf versions.
! 438: echo Configuration will now proceed without shell functions.
! 439: }
! 440:
! 441:
! 442:
! 443: as_lineno_1=$LINENO
! 444: as_lineno_2=$LINENO
! 445: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 446: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 447:
! 448: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 449: # uniformly replaced by the line number. The first 'sed' inserts a
! 450: # line-number line after each line using $LINENO; the second 'sed'
! 451: # does the real work. The second script uses 'N' to pair each
! 452: # line-number line with the line containing $LINENO, and appends
! 453: # trailing '-' during substitution so that $LINENO is not a special
! 454: # case at line end.
! 455: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 456: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 457: # E. McMahon (1931-1989) for sed's syntax. :-)
! 458: sed -n '
! 459: p
! 460: /[$]LINENO/=
! 461: ' <$as_myself |
! 462: sed '
! 463: s/[$]LINENO.*/&-/
! 464: t lineno
! 465: b
! 466: :lineno
! 467: N
! 468: :loop
! 469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 470: t loop
! 471: s/-\n.*//
! 472: ' >$as_me.lineno &&
! 473: chmod +x "$as_me.lineno" ||
! 474: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 475: { (exit 1); exit 1; }; }
! 476:
! 477: # Don't try to exec as it changes $[0], causing all sort of problems
! 478: # (the dirname of $[0] is not the place where we might find the
! 479: # original and so on. Autoconf is especially sensitive to this).
! 480: . "./$as_me.lineno"
! 481: # Exit status is that of the last command.
! 482: exit
! 483: }
! 484:
! 485:
! 486: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 487: as_dirname=dirname
! 488: else
! 489: as_dirname=false
! 490: fi
! 491:
! 492: ECHO_C= ECHO_N= ECHO_T=
! 493: case `echo -n x` in
! 494: -n*)
! 495: case `echo 'x\c'` in
! 496: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 497: *) ECHO_C='\c';;
! 498: esac;;
! 499: *)
! 500: ECHO_N='-n';;
! 501: esac
! 502: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 503: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 504: as_expr=expr
! 505: else
! 506: as_expr=false
! 507: fi
! 508:
! 509: rm -f conf$$ conf$$.exe conf$$.file
! 510: if test -d conf$$.dir; then
! 511: rm -f conf$$.dir/conf$$.file
! 512: else
! 513: rm -f conf$$.dir
! 514: mkdir conf$$.dir 2>/dev/null
! 515: fi
! 516: if (echo >conf$$.file) 2>/dev/null; then
! 517: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 518: as_ln_s='ln -s'
! 519: # ... but there are two gotchas:
! 520: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 521: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 522: # In both cases, we have to default to `cp -p'.
! 523: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 524: as_ln_s='cp -p'
! 525: elif ln conf$$.file conf$$ 2>/dev/null; then
! 526: as_ln_s=ln
! 527: else
! 528: as_ln_s='cp -p'
! 529: fi
! 530: else
! 531: as_ln_s='cp -p'
! 532: fi
! 533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 534: rmdir conf$$.dir 2>/dev/null
! 535:
! 536: if mkdir -p . 2>/dev/null; then
! 537: as_mkdir_p=:
! 538: else
! 539: test -d ./-p && rmdir ./-p
! 540: as_mkdir_p=false
! 541: fi
! 542:
! 543: if test -x / >/dev/null 2>&1; then
! 544: as_test_x='test -x'
! 545: else
! 546: if ls -dL / >/dev/null 2>&1; then
! 547: as_ls_L_option=L
! 548: else
! 549: as_ls_L_option=
! 550: fi
! 551: as_test_x='
! 552: eval sh -c '\''
! 553: if test -d "$1"; then
! 554: test -d "$1/.";
! 555: else
! 556: case $1 in
! 557: -*)set "./$1";;
! 558: esac;
! 559: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 560: ???[sx]*):;;*)false;;esac;fi
! 561: '\'' sh
! 562: '
! 563: fi
! 564: as_executable_p=$as_test_x
! 565:
! 566: # Sed expression to map a string onto a valid CPP name.
! 567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 568:
! 569: # Sed expression to map a string onto a valid variable name.
! 570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 571:
! 572:
! 573:
! 574:
! 575: # Check that we are running under the correct shell.
! 576: SHELL=${CONFIG_SHELL-/bin/sh}
! 577:
! 578: case X$lt_ECHO in
! 579: X*--fallback-echo)
! 580: # Remove one level of quotation (which was required for Make).
! 581: ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 582: ;;
! 583: esac
! 584:
! 585: ECHO=${lt_ECHO-echo}
! 586: if test "X$1" = X--no-reexec; then
! 587: # Discard the --no-reexec flag, and continue.
! 588: shift
! 589: elif test "X$1" = X--fallback-echo; then
! 590: # Avoid inline document here, it may be left over
! 591: :
! 592: elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
! 593: # Yippee, $ECHO works!
! 594: :
! 595: else
! 596: # Restart under the correct shell.
! 597: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 598: fi
! 599:
! 600: if test "X$1" = X--fallback-echo; then
! 601: # used as fallback echo
! 602: shift
! 603: cat <<_LT_EOF
! 604: $*
! 605: _LT_EOF
! 606: exit 0
! 607: fi
! 608:
! 609: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 610: # if CDPATH is set.
! 611: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 612:
! 613: if test -z "$lt_ECHO"; then
! 614: if test "X${echo_test_string+set}" != Xset; then
! 615: # find a string as large as possible, as long as the shell can cope with it
! 616: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 617: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 618: if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
! 619: { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
! 620: then
! 621: break
! 622: fi
! 623: done
! 624: fi
! 625:
! 626: if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
! 627: echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
! 628: test "X$echo_testing_string" = "X$echo_test_string"; then
! 629: :
! 630: else
! 631: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 632: # backslashes. This makes it impossible to quote backslashes using
! 633: # echo "$something" | sed 's/\\/\\\\/g'
! 634: #
! 635: # So, first we look for a working echo in the user's PATH.
! 636:
! 637: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 638: for dir in $PATH /usr/ucb; do
! 639: IFS="$lt_save_ifs"
! 640: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 641: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 642: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 643: test "X$echo_testing_string" = "X$echo_test_string"; then
! 644: ECHO="$dir/echo"
! 645: break
! 646: fi
! 647: done
! 648: IFS="$lt_save_ifs"
! 649:
! 650: if test "X$ECHO" = Xecho; then
! 651: # We didn't find a better echo, so look for alternatives.
! 652: if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
! 653: echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
! 654: test "X$echo_testing_string" = "X$echo_test_string"; then
! 655: # This shell has a builtin print -r that does the trick.
! 656: ECHO='print -r'
! 657: elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
! 658: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 659: # If we have ksh, try running configure again with it.
! 660: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 661: export ORIGINAL_CONFIG_SHELL
! 662: CONFIG_SHELL=/bin/ksh
! 663: export CONFIG_SHELL
! 664: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 665: else
! 666: # Try using printf.
! 667: ECHO='printf %s\n'
! 668: if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
! 669: echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
! 670: test "X$echo_testing_string" = "X$echo_test_string"; then
! 671: # Cool, printf works
! 672: :
! 673: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 674: test "X$echo_testing_string" = 'X\t' &&
! 675: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 676: test "X$echo_testing_string" = "X$echo_test_string"; then
! 677: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 678: export CONFIG_SHELL
! 679: SHELL="$CONFIG_SHELL"
! 680: export SHELL
! 681: ECHO="$CONFIG_SHELL $0 --fallback-echo"
! 682: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 683: test "X$echo_testing_string" = 'X\t' &&
! 684: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 685: test "X$echo_testing_string" = "X$echo_test_string"; then
! 686: ECHO="$CONFIG_SHELL $0 --fallback-echo"
! 687: else
! 688: # maybe with a smaller string...
! 689: prev=:
! 690:
! 691: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 692: if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
! 693: then
! 694: break
! 695: fi
! 696: prev="$cmd"
! 697: done
! 698:
! 699: if test "$prev" != 'sed 50q "$0"'; then
! 700: echo_test_string=`eval $prev`
! 701: export echo_test_string
! 702: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 703: else
! 704: # Oops. We lost completely, so just stick with echo.
! 705: ECHO=echo
! 706: fi
! 707: fi
! 708: fi
! 709: fi
! 710: fi
! 711: fi
! 712:
! 713: # Copy echo and quote the copy suitably for passing to libtool from
! 714: # the Makefile, instead of quoting the original, which is used later.
! 715: lt_ECHO=$ECHO
! 716: if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 717: lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 718: fi
! 719:
! 720:
! 721:
! 722:
! 723: exec 7<&0 </dev/null 6>&1
! 724:
! 725: # Name of the host.
! 726: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 727: # so uname gets run too.
! 728: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 729:
! 730: #
! 731: # Initializations.
! 732: #
! 733: ac_default_prefix=/usr/local
! 734: ac_clean_files=
! 735: ac_config_libobj_dir=.
! 736: LIBOBJS=
! 737: cross_compiling=no
! 738: subdirs=
! 739: MFLAGS=
! 740: MAKEFLAGS=
! 741: SHELL=${CONFIG_SHELL-/bin/sh}
! 742:
! 743: # Identity of this package.
! 744: PACKAGE_NAME=
! 745: PACKAGE_TARNAME=
! 746: PACKAGE_VERSION=
! 747: PACKAGE_STRING=
! 748: PACKAGE_BUGREPORT=
! 749:
! 750: ac_unique_file="lib/localcharset.c"
! 751: # Factoring default headers for most tests.
! 752: ac_includes_default="\
! 753: #include <stdio.h>
! 754: #ifdef HAVE_SYS_TYPES_H
! 755: # include <sys/types.h>
! 756: #endif
! 757: #ifdef HAVE_SYS_STAT_H
! 758: # include <sys/stat.h>
! 759: #endif
! 760: #ifdef STDC_HEADERS
! 761: # include <stdlib.h>
! 762: # include <stddef.h>
! 763: #else
! 764: # ifdef HAVE_STDLIB_H
! 765: # include <stdlib.h>
! 766: # endif
! 767: #endif
! 768: #ifdef HAVE_STRING_H
! 769: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 770: # include <memory.h>
! 771: # endif
! 772: # include <string.h>
! 773: #endif
! 774: #ifdef HAVE_STRINGS_H
! 775: # include <strings.h>
! 776: #endif
! 777: #ifdef HAVE_INTTYPES_H
! 778: # include <inttypes.h>
! 779: #endif
! 780: #ifdef HAVE_STDINT_H
! 781: # include <stdint.h>
! 782: #endif
! 783: #ifdef HAVE_UNISTD_H
! 784: # include <unistd.h>
! 785: #endif"
! 786:
! 787: ac_subst_vars='LTLIBOBJS
! 788: GLIBC21
! 789: HAVE_VISIBILITY
! 790: CFLAG_VISIBILITY
! 791: OTOOL64
! 792: OTOOL
! 793: LIPO
! 794: NMEDIT
! 795: DSYMUTIL
! 796: lt_ECHO
! 797: RANLIB
! 798: STRIP
! 799: AR
! 800: LN_S
! 801: NM
! 802: ac_ct_DUMPBIN
! 803: DUMPBIN
! 804: LD
! 805: FGREP
! 806: SED
! 807: LIBTOOL
! 808: OBJDUMP
! 809: DLLTOOL
! 810: AS
! 811: EGREP
! 812: GREP
! 813: LIBOBJS
! 814: RELOCATABLE
! 815: host_os
! 816: host_vendor
! 817: host_cpu
! 818: host
! 819: build_os
! 820: build_vendor
! 821: build_cpu
! 822: build
! 823: INSTALL_DATA
! 824: INSTALL_SCRIPT
! 825: INSTALL_PROGRAM
! 826: CPP
! 827: OBJEXT
! 828: EXEEXT
! 829: ac_ct_CC
! 830: CPPFLAGS
! 831: LDFLAGS
! 832: CFLAGS
! 833: CC
! 834: VERSION
! 835: PACKAGE
! 836: SET_MAKE
! 837: target_alias
! 838: host_alias
! 839: build_alias
! 840: LIBS
! 841: ECHO_T
! 842: ECHO_N
! 843: ECHO_C
! 844: DEFS
! 845: mandir
! 846: localedir
! 847: libdir
! 848: psdir
! 849: pdfdir
! 850: dvidir
! 851: htmldir
! 852: infodir
! 853: docdir
! 854: oldincludedir
! 855: includedir
! 856: localstatedir
! 857: sharedstatedir
! 858: sysconfdir
! 859: datadir
! 860: datarootdir
! 861: libexecdir
! 862: sbindir
! 863: bindir
! 864: program_transform_name
! 865: prefix
! 866: exec_prefix
! 867: PACKAGE_BUGREPORT
! 868: PACKAGE_STRING
! 869: PACKAGE_VERSION
! 870: PACKAGE_TARNAME
! 871: PACKAGE_NAME
! 872: PATH_SEPARATOR
! 873: SHELL'
! 874: ac_subst_files=''
! 875: ac_user_opts='
! 876: enable_option_checking
! 877: enable_relocatable
! 878: enable_shared
! 879: enable_static
! 880: with_pic
! 881: enable_fast_install
! 882: with_gnu_ld
! 883: enable_libtool_lock
! 884: '
! 885: ac_precious_vars='build_alias
! 886: host_alias
! 887: target_alias
! 888: CC
! 889: CFLAGS
! 890: LDFLAGS
! 891: LIBS
! 892: CPPFLAGS
! 893: CPP'
! 894:
! 895:
! 896: # Initialize some variables set by options.
! 897: ac_init_help=
! 898: ac_init_version=false
! 899: ac_unrecognized_opts=
! 900: ac_unrecognized_sep=
! 901: # The variables have the same names as the options, with
! 902: # dashes changed to underlines.
! 903: cache_file=/dev/null
! 904: exec_prefix=NONE
! 905: no_create=
! 906: no_recursion=
! 907: prefix=NONE
! 908: program_prefix=NONE
! 909: program_suffix=NONE
! 910: program_transform_name=s,x,x,
! 911: silent=
! 912: site=
! 913: srcdir=
! 914: verbose=
! 915: x_includes=NONE
! 916: x_libraries=NONE
! 917:
! 918: # Installation directory options.
! 919: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 920: # and all the variables that are supposed to be based on exec_prefix
! 921: # by default will actually change.
! 922: # Use braces instead of parens because sh, perl, etc. also accept them.
! 923: # (The list follows the same order as the GNU Coding Standards.)
! 924: bindir='${exec_prefix}/bin'
! 925: sbindir='${exec_prefix}/sbin'
! 926: libexecdir='${exec_prefix}/libexec'
! 927: datarootdir='${prefix}/share'
! 928: datadir='${datarootdir}'
! 929: sysconfdir='${prefix}/etc'
! 930: sharedstatedir='${prefix}/com'
! 931: localstatedir='${prefix}/var'
! 932: includedir='${prefix}/include'
! 933: oldincludedir='/usr/include'
! 934: docdir='${datarootdir}/doc/${PACKAGE}'
! 935: infodir='${datarootdir}/info'
! 936: htmldir='${docdir}'
! 937: dvidir='${docdir}'
! 938: pdfdir='${docdir}'
! 939: psdir='${docdir}'
! 940: libdir='${exec_prefix}/lib'
! 941: localedir='${datarootdir}/locale'
! 942: mandir='${datarootdir}/man'
! 943:
! 944: ac_prev=
! 945: ac_dashdash=
! 946: for ac_option
! 947: do
! 948: # If the previous option needs an argument, assign it.
! 949: if test -n "$ac_prev"; then
! 950: eval $ac_prev=\$ac_option
! 951: ac_prev=
! 952: continue
! 953: fi
! 954:
! 955: case $ac_option in
! 956: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 957: *) ac_optarg=yes ;;
! 958: esac
! 959:
! 960: # Accept the important Cygnus configure options, so we can diagnose typos.
! 961:
! 962: case $ac_dashdash$ac_option in
! 963: --)
! 964: ac_dashdash=yes ;;
! 965:
! 966: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 967: ac_prev=bindir ;;
! 968: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 969: bindir=$ac_optarg ;;
! 970:
! 971: -build | --build | --buil | --bui | --bu)
! 972: ac_prev=build_alias ;;
! 973: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 974: build_alias=$ac_optarg ;;
! 975:
! 976: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 977: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 978: ac_prev=cache_file ;;
! 979: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 980: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 981: cache_file=$ac_optarg ;;
! 982:
! 983: --config-cache | -C)
! 984: cache_file=config.cache ;;
! 985:
! 986: -datadir | --datadir | --datadi | --datad)
! 987: ac_prev=datadir ;;
! 988: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 989: datadir=$ac_optarg ;;
! 990:
! 991: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 992: | --dataroo | --dataro | --datar)
! 993: ac_prev=datarootdir ;;
! 994: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 995: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 996: datarootdir=$ac_optarg ;;
! 997:
! 998: -disable-* | --disable-*)
! 999: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 1000: # Reject names that are not valid shell variable names.
! 1001: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1002: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1003: { (exit 1); exit 1; }; }
! 1004: ac_useropt_orig=$ac_useropt
! 1005: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1006: case $ac_user_opts in
! 1007: *"
! 1008: "enable_$ac_useropt"
! 1009: "*) ;;
! 1010: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 1011: ac_unrecognized_sep=', ';;
! 1012: esac
! 1013: eval enable_$ac_useropt=no ;;
! 1014:
! 1015: -docdir | --docdir | --docdi | --doc | --do)
! 1016: ac_prev=docdir ;;
! 1017: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 1018: docdir=$ac_optarg ;;
! 1019:
! 1020: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 1021: ac_prev=dvidir ;;
! 1022: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 1023: dvidir=$ac_optarg ;;
! 1024:
! 1025: -enable-* | --enable-*)
! 1026: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 1027: # Reject names that are not valid shell variable names.
! 1028: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1029: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1030: { (exit 1); exit 1; }; }
! 1031: ac_useropt_orig=$ac_useropt
! 1032: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1033: case $ac_user_opts in
! 1034: *"
! 1035: "enable_$ac_useropt"
! 1036: "*) ;;
! 1037: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 1038: ac_unrecognized_sep=', ';;
! 1039: esac
! 1040: eval enable_$ac_useropt=\$ac_optarg ;;
! 1041:
! 1042: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 1043: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 1044: | --exec | --exe | --ex)
! 1045: ac_prev=exec_prefix ;;
! 1046: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1047: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1048: | --exec=* | --exe=* | --ex=*)
! 1049: exec_prefix=$ac_optarg ;;
! 1050:
! 1051: -gas | --gas | --ga | --g)
! 1052: # Obsolete; use --with-gas.
! 1053: with_gas=yes ;;
! 1054:
! 1055: -help | --help | --hel | --he | -h)
! 1056: ac_init_help=long ;;
! 1057: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1058: ac_init_help=recursive ;;
! 1059: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1060: ac_init_help=short ;;
! 1061:
! 1062: -host | --host | --hos | --ho)
! 1063: ac_prev=host_alias ;;
! 1064: -host=* | --host=* | --hos=* | --ho=*)
! 1065: host_alias=$ac_optarg ;;
! 1066:
! 1067: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1068: ac_prev=htmldir ;;
! 1069: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1070: | --ht=*)
! 1071: htmldir=$ac_optarg ;;
! 1072:
! 1073: -includedir | --includedir | --includedi | --included | --include \
! 1074: | --includ | --inclu | --incl | --inc)
! 1075: ac_prev=includedir ;;
! 1076: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1077: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1078: includedir=$ac_optarg ;;
! 1079:
! 1080: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1081: ac_prev=infodir ;;
! 1082: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1083: infodir=$ac_optarg ;;
! 1084:
! 1085: -libdir | --libdir | --libdi | --libd)
! 1086: ac_prev=libdir ;;
! 1087: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1088: libdir=$ac_optarg ;;
! 1089:
! 1090: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1091: | --libexe | --libex | --libe)
! 1092: ac_prev=libexecdir ;;
! 1093: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1094: | --libexe=* | --libex=* | --libe=*)
! 1095: libexecdir=$ac_optarg ;;
! 1096:
! 1097: -localedir | --localedir | --localedi | --localed | --locale)
! 1098: ac_prev=localedir ;;
! 1099: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1100: localedir=$ac_optarg ;;
! 1101:
! 1102: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1103: | --localstate | --localstat | --localsta | --localst | --locals)
! 1104: ac_prev=localstatedir ;;
! 1105: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1106: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1107: localstatedir=$ac_optarg ;;
! 1108:
! 1109: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1110: ac_prev=mandir ;;
! 1111: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1112: mandir=$ac_optarg ;;
! 1113:
! 1114: -nfp | --nfp | --nf)
! 1115: # Obsolete; use --without-fp.
! 1116: with_fp=no ;;
! 1117:
! 1118: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1119: | --no-cr | --no-c | -n)
! 1120: no_create=yes ;;
! 1121:
! 1122: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1123: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1124: no_recursion=yes ;;
! 1125:
! 1126: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1127: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1128: | --oldin | --oldi | --old | --ol | --o)
! 1129: ac_prev=oldincludedir ;;
! 1130: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1131: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1132: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1133: oldincludedir=$ac_optarg ;;
! 1134:
! 1135: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1136: ac_prev=prefix ;;
! 1137: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1138: prefix=$ac_optarg ;;
! 1139:
! 1140: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1141: | --program-pre | --program-pr | --program-p)
! 1142: ac_prev=program_prefix ;;
! 1143: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1144: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1145: program_prefix=$ac_optarg ;;
! 1146:
! 1147: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1148: | --program-suf | --program-su | --program-s)
! 1149: ac_prev=program_suffix ;;
! 1150: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1151: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1152: program_suffix=$ac_optarg ;;
! 1153:
! 1154: -program-transform-name | --program-transform-name \
! 1155: | --program-transform-nam | --program-transform-na \
! 1156: | --program-transform-n | --program-transform- \
! 1157: | --program-transform | --program-transfor \
! 1158: | --program-transfo | --program-transf \
! 1159: | --program-trans | --program-tran \
! 1160: | --progr-tra | --program-tr | --program-t)
! 1161: ac_prev=program_transform_name ;;
! 1162: -program-transform-name=* | --program-transform-name=* \
! 1163: | --program-transform-nam=* | --program-transform-na=* \
! 1164: | --program-transform-n=* | --program-transform-=* \
! 1165: | --program-transform=* | --program-transfor=* \
! 1166: | --program-transfo=* | --program-transf=* \
! 1167: | --program-trans=* | --program-tran=* \
! 1168: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1169: program_transform_name=$ac_optarg ;;
! 1170:
! 1171: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1172: ac_prev=pdfdir ;;
! 1173: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1174: pdfdir=$ac_optarg ;;
! 1175:
! 1176: -psdir | --psdir | --psdi | --psd | --ps)
! 1177: ac_prev=psdir ;;
! 1178: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1179: psdir=$ac_optarg ;;
! 1180:
! 1181: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1182: | -silent | --silent | --silen | --sile | --sil)
! 1183: silent=yes ;;
! 1184:
! 1185: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1186: ac_prev=sbindir ;;
! 1187: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1188: | --sbi=* | --sb=*)
! 1189: sbindir=$ac_optarg ;;
! 1190:
! 1191: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1192: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1193: | --sharedst | --shareds | --shared | --share | --shar \
! 1194: | --sha | --sh)
! 1195: ac_prev=sharedstatedir ;;
! 1196: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1197: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1198: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1199: | --sha=* | --sh=*)
! 1200: sharedstatedir=$ac_optarg ;;
! 1201:
! 1202: -site | --site | --sit)
! 1203: ac_prev=site ;;
! 1204: -site=* | --site=* | --sit=*)
! 1205: site=$ac_optarg ;;
! 1206:
! 1207: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1208: ac_prev=srcdir ;;
! 1209: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1210: srcdir=$ac_optarg ;;
! 1211:
! 1212: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1213: | --syscon | --sysco | --sysc | --sys | --sy)
! 1214: ac_prev=sysconfdir ;;
! 1215: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1216: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1217: sysconfdir=$ac_optarg ;;
! 1218:
! 1219: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1220: ac_prev=target_alias ;;
! 1221: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1222: target_alias=$ac_optarg ;;
! 1223:
! 1224: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1225: verbose=yes ;;
! 1226:
! 1227: -version | --version | --versio | --versi | --vers | -V)
! 1228: ac_init_version=: ;;
! 1229:
! 1230: -with-* | --with-*)
! 1231: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1232: # Reject names that are not valid shell variable names.
! 1233: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1234: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1235: { (exit 1); exit 1; }; }
! 1236: ac_useropt_orig=$ac_useropt
! 1237: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1238: case $ac_user_opts in
! 1239: *"
! 1240: "with_$ac_useropt"
! 1241: "*) ;;
! 1242: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1243: ac_unrecognized_sep=', ';;
! 1244: esac
! 1245: eval with_$ac_useropt=\$ac_optarg ;;
! 1246:
! 1247: -without-* | --without-*)
! 1248: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1249: # Reject names that are not valid shell variable names.
! 1250: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1251: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1252: { (exit 1); exit 1; }; }
! 1253: ac_useropt_orig=$ac_useropt
! 1254: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1255: case $ac_user_opts in
! 1256: *"
! 1257: "with_$ac_useropt"
! 1258: "*) ;;
! 1259: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1260: ac_unrecognized_sep=', ';;
! 1261: esac
! 1262: eval with_$ac_useropt=no ;;
! 1263:
! 1264: --x)
! 1265: # Obsolete; use --with-x.
! 1266: with_x=yes ;;
! 1267:
! 1268: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1269: | --x-incl | --x-inc | --x-in | --x-i)
! 1270: ac_prev=x_includes ;;
! 1271: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1272: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1273: x_includes=$ac_optarg ;;
! 1274:
! 1275: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1276: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1277: ac_prev=x_libraries ;;
! 1278: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1279: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1280: x_libraries=$ac_optarg ;;
! 1281:
! 1282: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
! 1283: Try \`$0 --help' for more information." >&2
! 1284: { (exit 1); exit 1; }; }
! 1285: ;;
! 1286:
! 1287: *=*)
! 1288: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1289: # Reject names that are not valid shell variable names.
! 1290: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1291: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1292: { (exit 1); exit 1; }; }
! 1293: eval $ac_envvar=\$ac_optarg
! 1294: export $ac_envvar ;;
! 1295:
! 1296: *)
! 1297: # FIXME: should be removed in autoconf 3.0.
! 1298: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1299: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1300: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1301: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1302: ;;
! 1303:
! 1304: esac
! 1305: done
! 1306:
! 1307: if test -n "$ac_prev"; then
! 1308: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1309: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
! 1310: { (exit 1); exit 1; }; }
! 1311: fi
! 1312:
! 1313: if test -n "$ac_unrecognized_opts"; then
! 1314: case $enable_option_checking in
! 1315: no) ;;
! 1316: fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
! 1317: { (exit 1); exit 1; }; } ;;
! 1318: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1319: esac
! 1320: fi
! 1321:
! 1322: # Check all directory arguments for consistency.
! 1323: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1324: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1325: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1326: libdir localedir mandir
! 1327: do
! 1328: eval ac_val=\$$ac_var
! 1329: # Remove trailing slashes.
! 1330: case $ac_val in
! 1331: */ )
! 1332: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1333: eval $ac_var=\$ac_val;;
! 1334: esac
! 1335: # Be sure to have absolute directory names.
! 1336: case $ac_val in
! 1337: [\\/$]* | ?:[\\/]* ) continue;;
! 1338: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1339: esac
! 1340: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1341: { (exit 1); exit 1; }; }
! 1342: done
! 1343:
! 1344: # There might be people who depend on the old broken behavior: `$host'
! 1345: # used to hold the argument of --host etc.
! 1346: # FIXME: To remove some day.
! 1347: build=$build_alias
! 1348: host=$host_alias
! 1349: target=$target_alias
! 1350:
! 1351: # FIXME: To remove some day.
! 1352: if test "x$host_alias" != x; then
! 1353: if test "x$build_alias" = x; then
! 1354: cross_compiling=maybe
! 1355: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1356: If a cross compiler is detected then cross compile mode will be used." >&2
! 1357: elif test "x$build_alias" != "x$host_alias"; then
! 1358: cross_compiling=yes
! 1359: fi
! 1360: fi
! 1361:
! 1362: ac_tool_prefix=
! 1363: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1364:
! 1365: test "$silent" = yes && exec 6>/dev/null
! 1366:
! 1367:
! 1368: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1369: ac_ls_di=`ls -di .` &&
! 1370: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1371: { $as_echo "$as_me: error: working directory cannot be determined" >&2
! 1372: { (exit 1); exit 1; }; }
! 1373: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1374: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1375: { (exit 1); exit 1; }; }
! 1376:
! 1377:
! 1378: # Find the source files, if location was not specified.
! 1379: if test -z "$srcdir"; then
! 1380: ac_srcdir_defaulted=yes
! 1381: # Try the directory containing this script, then the parent directory.
! 1382: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1383: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1384: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1385: X"$as_myself" : 'X\(//\)$' \| \
! 1386: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1387: $as_echo X"$as_myself" |
! 1388: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1389: s//\1/
! 1390: q
! 1391: }
! 1392: /^X\(\/\/\)[^/].*/{
! 1393: s//\1/
! 1394: q
! 1395: }
! 1396: /^X\(\/\/\)$/{
! 1397: s//\1/
! 1398: q
! 1399: }
! 1400: /^X\(\/\).*/{
! 1401: s//\1/
! 1402: q
! 1403: }
! 1404: s/.*/./; q'`
! 1405: srcdir=$ac_confdir
! 1406: if test ! -r "$srcdir/$ac_unique_file"; then
! 1407: srcdir=..
! 1408: fi
! 1409: else
! 1410: ac_srcdir_defaulted=no
! 1411: fi
! 1412: if test ! -r "$srcdir/$ac_unique_file"; then
! 1413: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1414: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1415: { (exit 1); exit 1; }; }
! 1416: fi
! 1417: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1418: ac_abs_confdir=`(
! 1419: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1420: { (exit 1); exit 1; }; }
! 1421: pwd)`
! 1422: # When building in place, set srcdir=.
! 1423: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1424: srcdir=.
! 1425: fi
! 1426: # Remove unnecessary trailing slashes from srcdir.
! 1427: # Double slashes in file names in object file debugging info
! 1428: # mess up M-x gdb in Emacs.
! 1429: case $srcdir in
! 1430: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1431: esac
! 1432: for ac_var in $ac_precious_vars; do
! 1433: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1434: eval ac_env_${ac_var}_value=\$${ac_var}
! 1435: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1436: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1437: done
! 1438:
! 1439: #
! 1440: # Report the --help message.
! 1441: #
! 1442: if test "$ac_init_help" = "long"; then
! 1443: # Omit some internal or obsolete options to make the list less imposing.
! 1444: # This message is too long to be a string in the A/UX 3.1 sh.
! 1445: cat <<_ACEOF
! 1446: \`configure' configures this package to adapt to many kinds of systems.
! 1447:
! 1448: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1449:
! 1450: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1451: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1452:
! 1453: Defaults for the options are specified in brackets.
! 1454:
! 1455: Configuration:
! 1456: -h, --help display this help and exit
! 1457: --help=short display options specific to this package
! 1458: --help=recursive display the short help of all the included packages
! 1459: -V, --version display version information and exit
! 1460: -q, --quiet, --silent do not print \`checking...' messages
! 1461: --cache-file=FILE cache test results in FILE [disabled]
! 1462: -C, --config-cache alias for \`--cache-file=config.cache'
! 1463: -n, --no-create do not create output files
! 1464: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1465:
! 1466: Installation directories:
! 1467: --prefix=PREFIX install architecture-independent files in PREFIX
! 1468: [$ac_default_prefix]
! 1469: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1470: [PREFIX]
! 1471:
! 1472: By default, \`make install' will install all the files in
! 1473: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1474: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1475: for instance \`--prefix=\$HOME'.
! 1476:
! 1477: For better control, use the options below.
! 1478:
! 1479: Fine tuning of the installation directories:
! 1480: --bindir=DIR user executables [EPREFIX/bin]
! 1481: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1482: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1483: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1484: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1485: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1486: --libdir=DIR object code libraries [EPREFIX/lib]
! 1487: --includedir=DIR C header files [PREFIX/include]
! 1488: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1489: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1490: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1491: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1492: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1493: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1494: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1495: --htmldir=DIR html documentation [DOCDIR]
! 1496: --dvidir=DIR dvi documentation [DOCDIR]
! 1497: --pdfdir=DIR pdf documentation [DOCDIR]
! 1498: --psdir=DIR ps documentation [DOCDIR]
! 1499: _ACEOF
! 1500:
! 1501: cat <<\_ACEOF
! 1502:
! 1503: System types:
! 1504: --build=BUILD configure for building on BUILD [guessed]
! 1505: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1506: _ACEOF
! 1507: fi
! 1508:
! 1509: if test -n "$ac_init_help"; then
! 1510:
! 1511: cat <<\_ACEOF
! 1512:
! 1513: Optional Features:
! 1514: --disable-option-checking ignore unrecognized --enable/--with options
! 1515: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1516: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1517: --enable-relocatable install a package that can be moved in the filesystem
! 1518: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1519: --enable-static[=PKGS] build static libraries [default=yes]
! 1520: --enable-fast-install[=PKGS]
! 1521: optimize for fast installation [default=yes]
! 1522: --disable-libtool-lock avoid locking (might break parallel builds)
! 1523:
! 1524: Optional Packages:
! 1525: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1526: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1527: --with-pic try to use only PIC/non-PIC objects [default=use
! 1528: both]
! 1529: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1530:
! 1531: Some influential environment variables:
! 1532: CC C compiler command
! 1533: CFLAGS C compiler flags
! 1534: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1535: nonstandard directory <lib dir>
! 1536: LIBS libraries to pass to the linker, e.g. -l<library>
! 1537: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1538: you have headers in a nonstandard directory <include dir>
! 1539: CPP C preprocessor
! 1540:
! 1541: Use these variables to override the choices made by `configure' or to help
! 1542: it to find libraries and programs with nonstandard names/locations.
! 1543:
! 1544: _ACEOF
! 1545: ac_status=$?
! 1546: fi
! 1547:
! 1548: if test "$ac_init_help" = "recursive"; then
! 1549: # If there are subdirs, report their specific --help.
! 1550: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1551: test -d "$ac_dir" ||
! 1552: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1553: continue
! 1554: ac_builddir=.
! 1555:
! 1556: case "$ac_dir" in
! 1557: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1558: *)
! 1559: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1560: # A ".." for each directory in $ac_dir_suffix.
! 1561: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1562: case $ac_top_builddir_sub in
! 1563: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1564: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1565: esac ;;
! 1566: esac
! 1567: ac_abs_top_builddir=$ac_pwd
! 1568: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1569: # for backward compatibility:
! 1570: ac_top_builddir=$ac_top_build_prefix
! 1571:
! 1572: case $srcdir in
! 1573: .) # We are building in place.
! 1574: ac_srcdir=.
! 1575: ac_top_srcdir=$ac_top_builddir_sub
! 1576: ac_abs_top_srcdir=$ac_pwd ;;
! 1577: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1578: ac_srcdir=$srcdir$ac_dir_suffix;
! 1579: ac_top_srcdir=$srcdir
! 1580: ac_abs_top_srcdir=$srcdir ;;
! 1581: *) # Relative name.
! 1582: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1583: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1584: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1585: esac
! 1586: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1587:
! 1588: cd "$ac_dir" || { ac_status=$?; continue; }
! 1589: # Check for guested configure.
! 1590: if test -f "$ac_srcdir/configure.gnu"; then
! 1591: echo &&
! 1592: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1593: elif test -f "$ac_srcdir/configure"; then
! 1594: echo &&
! 1595: $SHELL "$ac_srcdir/configure" --help=recursive
! 1596: else
! 1597: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1598: fi || ac_status=$?
! 1599: cd "$ac_pwd" || { ac_status=$?; break; }
! 1600: done
! 1601: fi
! 1602:
! 1603: test -n "$ac_init_help" && exit $ac_status
! 1604: if $ac_init_version; then
! 1605: cat <<\_ACEOF
! 1606: configure
! 1607: generated by GNU Autoconf 2.63
! 1608:
! 1609: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1610: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 1611: This configure script is free software; the Free Software Foundation
! 1612: gives unlimited permission to copy, distribute and modify it.
! 1613: _ACEOF
! 1614: exit
! 1615: fi
! 1616: cat >config.log <<_ACEOF
! 1617: This file contains any messages produced by compilers while
! 1618: running configure, to aid debugging if configure makes a mistake.
! 1619:
! 1620: It was created by $as_me, which was
! 1621: generated by GNU Autoconf 2.63. Invocation command line was
! 1622:
! 1623: $ $0 $@
! 1624:
! 1625: _ACEOF
! 1626: exec 5>>config.log
! 1627: {
! 1628: cat <<_ASUNAME
! 1629: ## --------- ##
! 1630: ## Platform. ##
! 1631: ## --------- ##
! 1632:
! 1633: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1634: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1635: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1636: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1637: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1638:
! 1639: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1640: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1641:
! 1642: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1643: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1644: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1645: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1646: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1647: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1648: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1649:
! 1650: _ASUNAME
! 1651:
! 1652: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1653: for as_dir in $PATH
! 1654: do
! 1655: IFS=$as_save_IFS
! 1656: test -z "$as_dir" && as_dir=.
! 1657: $as_echo "PATH: $as_dir"
! 1658: done
! 1659: IFS=$as_save_IFS
! 1660:
! 1661: } >&5
! 1662:
! 1663: cat >&5 <<_ACEOF
! 1664:
! 1665:
! 1666: ## ----------- ##
! 1667: ## Core tests. ##
! 1668: ## ----------- ##
! 1669:
! 1670: _ACEOF
! 1671:
! 1672:
! 1673: # Keep a trace of the command line.
! 1674: # Strip out --no-create and --no-recursion so they do not pile up.
! 1675: # Strip out --silent because we don't want to record it for future runs.
! 1676: # Also quote any args containing shell meta-characters.
! 1677: # Make two passes to allow for proper duplicate-argument suppression.
! 1678: ac_configure_args=
! 1679: ac_configure_args0=
! 1680: ac_configure_args1=
! 1681: ac_must_keep_next=false
! 1682: for ac_pass in 1 2
! 1683: do
! 1684: for ac_arg
! 1685: do
! 1686: case $ac_arg in
! 1687: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1688: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1689: | -silent | --silent | --silen | --sile | --sil)
! 1690: continue ;;
! 1691: *\'*)
! 1692: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1693: esac
! 1694: case $ac_pass in
! 1695: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1696: 2)
! 1697: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1698: if test $ac_must_keep_next = true; then
! 1699: ac_must_keep_next=false # Got value, back to normal.
! 1700: else
! 1701: case $ac_arg in
! 1702: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1703: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1704: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1705: | -with-* | --with-* | -without-* | --without-* | --x)
! 1706: case "$ac_configure_args0 " in
! 1707: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1708: esac
! 1709: ;;
! 1710: -* ) ac_must_keep_next=true ;;
! 1711: esac
! 1712: fi
! 1713: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1714: ;;
! 1715: esac
! 1716: done
! 1717: done
! 1718: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1719: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1720:
! 1721: # When interrupted or exit'd, cleanup temporary files, and complete
! 1722: # config.log. We remove comments because anyway the quotes in there
! 1723: # would cause problems or look ugly.
! 1724: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1725: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1726: trap 'exit_status=$?
! 1727: # Save into config.log some information that might help in debugging.
! 1728: {
! 1729: echo
! 1730:
! 1731: cat <<\_ASBOX
! 1732: ## ---------------- ##
! 1733: ## Cache variables. ##
! 1734: ## ---------------- ##
! 1735: _ASBOX
! 1736: echo
! 1737: # The following way of writing the cache mishandles newlines in values,
! 1738: (
! 1739: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1740: eval ac_val=\$$ac_var
! 1741: case $ac_val in #(
! 1742: *${as_nl}*)
! 1743: case $ac_var in #(
! 1744: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 1745: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 1746: esac
! 1747: case $ac_var in #(
! 1748: _ | IFS | as_nl) ;; #(
! 1749: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1750: *) $as_unset $ac_var ;;
! 1751: esac ;;
! 1752: esac
! 1753: done
! 1754: (set) 2>&1 |
! 1755: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1756: *${as_nl}ac_space=\ *)
! 1757: sed -n \
! 1758: "s/'\''/'\''\\\\'\'''\''/g;
! 1759: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1760: ;; #(
! 1761: *)
! 1762: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1763: ;;
! 1764: esac |
! 1765: sort
! 1766: )
! 1767: echo
! 1768:
! 1769: cat <<\_ASBOX
! 1770: ## ----------------- ##
! 1771: ## Output variables. ##
! 1772: ## ----------------- ##
! 1773: _ASBOX
! 1774: echo
! 1775: for ac_var in $ac_subst_vars
! 1776: do
! 1777: eval ac_val=\$$ac_var
! 1778: case $ac_val in
! 1779: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1780: esac
! 1781: $as_echo "$ac_var='\''$ac_val'\''"
! 1782: done | sort
! 1783: echo
! 1784:
! 1785: if test -n "$ac_subst_files"; then
! 1786: cat <<\_ASBOX
! 1787: ## ------------------- ##
! 1788: ## File substitutions. ##
! 1789: ## ------------------- ##
! 1790: _ASBOX
! 1791: echo
! 1792: for ac_var in $ac_subst_files
! 1793: do
! 1794: eval ac_val=\$$ac_var
! 1795: case $ac_val in
! 1796: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1797: esac
! 1798: $as_echo "$ac_var='\''$ac_val'\''"
! 1799: done | sort
! 1800: echo
! 1801: fi
! 1802:
! 1803: if test -s confdefs.h; then
! 1804: cat <<\_ASBOX
! 1805: ## ----------- ##
! 1806: ## confdefs.h. ##
! 1807: ## ----------- ##
! 1808: _ASBOX
! 1809: echo
! 1810: cat confdefs.h
! 1811: echo
! 1812: fi
! 1813: test "$ac_signal" != 0 &&
! 1814: $as_echo "$as_me: caught signal $ac_signal"
! 1815: $as_echo "$as_me: exit $exit_status"
! 1816: } >&5
! 1817: rm -f core *.core core.conftest.* &&
! 1818: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1819: exit $exit_status
! 1820: ' 0
! 1821: for ac_signal in 1 2 13 15; do
! 1822: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1823: done
! 1824: ac_signal=0
! 1825:
! 1826: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1827: rm -f -r conftest* confdefs.h
! 1828:
! 1829: # Predefined preprocessor variables.
! 1830:
! 1831: cat >>confdefs.h <<_ACEOF
! 1832: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1833: _ACEOF
! 1834:
! 1835:
! 1836: cat >>confdefs.h <<_ACEOF
! 1837: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1838: _ACEOF
! 1839:
! 1840:
! 1841: cat >>confdefs.h <<_ACEOF
! 1842: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1843: _ACEOF
! 1844:
! 1845:
! 1846: cat >>confdefs.h <<_ACEOF
! 1847: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1848: _ACEOF
! 1849:
! 1850:
! 1851: cat >>confdefs.h <<_ACEOF
! 1852: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1853: _ACEOF
! 1854:
! 1855:
! 1856: # Let the site file select an alternate cache file if it wants to.
! 1857: # Prefer an explicitly selected file to automatically selected ones.
! 1858: ac_site_file1=NONE
! 1859: ac_site_file2=NONE
! 1860: if test -n "$CONFIG_SITE"; then
! 1861: ac_site_file1=$CONFIG_SITE
! 1862: elif test "x$prefix" != xNONE; then
! 1863: ac_site_file1=$prefix/share/config.site
! 1864: ac_site_file2=$prefix/etc/config.site
! 1865: else
! 1866: ac_site_file1=$ac_default_prefix/share/config.site
! 1867: ac_site_file2=$ac_default_prefix/etc/config.site
! 1868: fi
! 1869: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1870: do
! 1871: test "x$ac_site_file" = xNONE && continue
! 1872: if test -r "$ac_site_file"; then
! 1873: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1874: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 1875: sed 's/^/| /' "$ac_site_file" >&5
! 1876: . "$ac_site_file"
! 1877: fi
! 1878: done
! 1879:
! 1880: if test -r "$cache_file"; then
! 1881: # Some versions of bash will fail to source /dev/null (special
! 1882: # files actually), so we avoid doing that.
! 1883: if test -f "$cache_file"; then
! 1884: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1885: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 1886: case $cache_file in
! 1887: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1888: *) . "./$cache_file";;
! 1889: esac
! 1890: fi
! 1891: else
! 1892: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1893: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 1894: >$cache_file
! 1895: fi
! 1896:
! 1897: # Check that the precious variables saved in the cache have kept the same
! 1898: # value.
! 1899: ac_cache_corrupted=false
! 1900: for ac_var in $ac_precious_vars; do
! 1901: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1902: eval ac_new_set=\$ac_env_${ac_var}_set
! 1903: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1904: eval ac_new_val=\$ac_env_${ac_var}_value
! 1905: case $ac_old_set,$ac_new_set in
! 1906: set,)
! 1907: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1908: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1909: ac_cache_corrupted=: ;;
! 1910: ,set)
! 1911: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1912: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1913: ac_cache_corrupted=: ;;
! 1914: ,);;
! 1915: *)
! 1916: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1917: # differences in whitespace do not lead to failure.
! 1918: ac_old_val_w=`echo x $ac_old_val`
! 1919: ac_new_val_w=`echo x $ac_new_val`
! 1920: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1921: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1922: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1923: ac_cache_corrupted=:
! 1924: else
! 1925: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1926: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1927: eval $ac_var=\$ac_old_val
! 1928: fi
! 1929: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 1930: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1931: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 1932: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 1933: fi;;
! 1934: esac
! 1935: # Pass precious variables to config.status.
! 1936: if test "$ac_new_set" = set; then
! 1937: case $ac_new_val in
! 1938: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1939: *) ac_arg=$ac_var=$ac_new_val ;;
! 1940: esac
! 1941: case " $ac_configure_args " in
! 1942: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1943: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1944: esac
! 1945: fi
! 1946: done
! 1947: if $ac_cache_corrupted; then
! 1948: { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 1949: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 1950: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1951: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1952: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1953: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1954: { (exit 1); exit 1; }; }
! 1955: fi
! 1956:
! 1957:
! 1958:
! 1959:
! 1960:
! 1961:
! 1962:
! 1963:
! 1964:
! 1965:
! 1966:
! 1967:
! 1968:
! 1969:
! 1970:
! 1971:
! 1972:
! 1973: ac_ext=c
! 1974: ac_cpp='$CPP $CPPFLAGS'
! 1975: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1976: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1977: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1978:
! 1979:
! 1980: ac_aux_dir=
! 1981: for ac_dir in build-aux "$srcdir"/build-aux; do
! 1982: if test -f "$ac_dir/install-sh"; then
! 1983: ac_aux_dir=$ac_dir
! 1984: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1985: break
! 1986: elif test -f "$ac_dir/install.sh"; then
! 1987: ac_aux_dir=$ac_dir
! 1988: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1989: break
! 1990: elif test -f "$ac_dir/shtool"; then
! 1991: ac_aux_dir=$ac_dir
! 1992: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1993: break
! 1994: fi
! 1995: done
! 1996: if test -z "$ac_aux_dir"; then
! 1997: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
! 1998: $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
! 1999: { (exit 1); exit 1; }; }
! 2000: fi
! 2001:
! 2002: # These three variables are undocumented and unsupported,
! 2003: # and are intended to be withdrawn in a future Autoconf release.
! 2004: # They can cause serious problems if a builder's source tree is in a directory
! 2005: # whose full name contains unusual characters.
! 2006: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2007: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2008: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2009:
! 2010:
! 2011: ac_config_headers="$ac_config_headers config.h"
! 2012:
! 2013: { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2014: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 2015: set x ${MAKE-make}
! 2016: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 2017: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
! 2018: $as_echo_n "(cached) " >&6
! 2019: else
! 2020: cat >conftest.make <<\_ACEOF
! 2021: SHELL = /bin/sh
! 2022: all:
! 2023: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 2024: _ACEOF
! 2025: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2026: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 2027: *@@@%%%=?*=@@@%%%*)
! 2028: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 2029: *)
! 2030: eval ac_cv_prog_make_${ac_make}_set=no;;
! 2031: esac
! 2032: rm -f conftest.make
! 2033: fi
! 2034: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 2035: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2036: $as_echo "yes" >&6; }
! 2037: SET_MAKE=
! 2038: else
! 2039: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2040: $as_echo "no" >&6; }
! 2041: SET_MAKE="MAKE=${MAKE-make}"
! 2042: fi
! 2043:
! 2044:
! 2045:
! 2046:
! 2047:
! 2048: ac_ext=c
! 2049: ac_cpp='$CPP $CPPFLAGS'
! 2050: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2051: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2052: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2053: if test -n "$ac_tool_prefix"; then
! 2054: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2055: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2056: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2057: $as_echo_n "checking for $ac_word... " >&6; }
! 2058: if test "${ac_cv_prog_CC+set}" = set; then
! 2059: $as_echo_n "(cached) " >&6
! 2060: else
! 2061: if test -n "$CC"; then
! 2062: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2063: else
! 2064: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2065: for as_dir in $PATH
! 2066: do
! 2067: IFS=$as_save_IFS
! 2068: test -z "$as_dir" && as_dir=.
! 2069: for ac_exec_ext in '' $ac_executable_extensions; do
! 2070: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2071: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2072: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2073: break 2
! 2074: fi
! 2075: done
! 2076: done
! 2077: IFS=$as_save_IFS
! 2078:
! 2079: fi
! 2080: fi
! 2081: CC=$ac_cv_prog_CC
! 2082: if test -n "$CC"; then
! 2083: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2084: $as_echo "$CC" >&6; }
! 2085: else
! 2086: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2087: $as_echo "no" >&6; }
! 2088: fi
! 2089:
! 2090:
! 2091: fi
! 2092: if test -z "$ac_cv_prog_CC"; then
! 2093: ac_ct_CC=$CC
! 2094: # Extract the first word of "gcc", so it can be a program name with args.
! 2095: set dummy gcc; ac_word=$2
! 2096: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2097: $as_echo_n "checking for $ac_word... " >&6; }
! 2098: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2099: $as_echo_n "(cached) " >&6
! 2100: else
! 2101: if test -n "$ac_ct_CC"; then
! 2102: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2103: else
! 2104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2105: for as_dir in $PATH
! 2106: do
! 2107: IFS=$as_save_IFS
! 2108: test -z "$as_dir" && as_dir=.
! 2109: for ac_exec_ext in '' $ac_executable_extensions; do
! 2110: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2111: ac_cv_prog_ac_ct_CC="gcc"
! 2112: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2113: break 2
! 2114: fi
! 2115: done
! 2116: done
! 2117: IFS=$as_save_IFS
! 2118:
! 2119: fi
! 2120: fi
! 2121: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2122: if test -n "$ac_ct_CC"; then
! 2123: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2124: $as_echo "$ac_ct_CC" >&6; }
! 2125: else
! 2126: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2127: $as_echo "no" >&6; }
! 2128: fi
! 2129:
! 2130: if test "x$ac_ct_CC" = x; then
! 2131: CC=""
! 2132: else
! 2133: case $cross_compiling:$ac_tool_warned in
! 2134: yes:)
! 2135: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2136: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2137: ac_tool_warned=yes ;;
! 2138: esac
! 2139: CC=$ac_ct_CC
! 2140: fi
! 2141: else
! 2142: CC="$ac_cv_prog_CC"
! 2143: fi
! 2144:
! 2145: if test -z "$CC"; then
! 2146: if test -n "$ac_tool_prefix"; then
! 2147: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2148: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2149: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2150: $as_echo_n "checking for $ac_word... " >&6; }
! 2151: if test "${ac_cv_prog_CC+set}" = set; then
! 2152: $as_echo_n "(cached) " >&6
! 2153: else
! 2154: if test -n "$CC"; then
! 2155: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2156: else
! 2157: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2158: for as_dir in $PATH
! 2159: do
! 2160: IFS=$as_save_IFS
! 2161: test -z "$as_dir" && as_dir=.
! 2162: for ac_exec_ext in '' $ac_executable_extensions; do
! 2163: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2164: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2165: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2166: break 2
! 2167: fi
! 2168: done
! 2169: done
! 2170: IFS=$as_save_IFS
! 2171:
! 2172: fi
! 2173: fi
! 2174: CC=$ac_cv_prog_CC
! 2175: if test -n "$CC"; then
! 2176: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2177: $as_echo "$CC" >&6; }
! 2178: else
! 2179: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2180: $as_echo "no" >&6; }
! 2181: fi
! 2182:
! 2183:
! 2184: fi
! 2185: fi
! 2186: if test -z "$CC"; then
! 2187: # Extract the first word of "cc", so it can be a program name with args.
! 2188: set dummy cc; ac_word=$2
! 2189: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2190: $as_echo_n "checking for $ac_word... " >&6; }
! 2191: if test "${ac_cv_prog_CC+set}" = set; then
! 2192: $as_echo_n "(cached) " >&6
! 2193: else
! 2194: if test -n "$CC"; then
! 2195: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2196: else
! 2197: ac_prog_rejected=no
! 2198: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2199: for as_dir in $PATH
! 2200: do
! 2201: IFS=$as_save_IFS
! 2202: test -z "$as_dir" && as_dir=.
! 2203: for ac_exec_ext in '' $ac_executable_extensions; do
! 2204: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2205: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2206: ac_prog_rejected=yes
! 2207: continue
! 2208: fi
! 2209: ac_cv_prog_CC="cc"
! 2210: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2211: break 2
! 2212: fi
! 2213: done
! 2214: done
! 2215: IFS=$as_save_IFS
! 2216:
! 2217: if test $ac_prog_rejected = yes; then
! 2218: # We found a bogon in the path, so make sure we never use it.
! 2219: set dummy $ac_cv_prog_CC
! 2220: shift
! 2221: if test $# != 0; then
! 2222: # We chose a different compiler from the bogus one.
! 2223: # However, it has the same basename, so the bogon will be chosen
! 2224: # first if we set CC to just the basename; use the full file name.
! 2225: shift
! 2226: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2227: fi
! 2228: fi
! 2229: fi
! 2230: fi
! 2231: CC=$ac_cv_prog_CC
! 2232: if test -n "$CC"; then
! 2233: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2234: $as_echo "$CC" >&6; }
! 2235: else
! 2236: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2237: $as_echo "no" >&6; }
! 2238: fi
! 2239:
! 2240:
! 2241: fi
! 2242: if test -z "$CC"; then
! 2243: if test -n "$ac_tool_prefix"; then
! 2244: for ac_prog in cl.exe
! 2245: do
! 2246: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2247: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2248: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2249: $as_echo_n "checking for $ac_word... " >&6; }
! 2250: if test "${ac_cv_prog_CC+set}" = set; then
! 2251: $as_echo_n "(cached) " >&6
! 2252: else
! 2253: if test -n "$CC"; then
! 2254: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2255: else
! 2256: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2257: for as_dir in $PATH
! 2258: do
! 2259: IFS=$as_save_IFS
! 2260: test -z "$as_dir" && as_dir=.
! 2261: for ac_exec_ext in '' $ac_executable_extensions; do
! 2262: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2263: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2264: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2265: break 2
! 2266: fi
! 2267: done
! 2268: done
! 2269: IFS=$as_save_IFS
! 2270:
! 2271: fi
! 2272: fi
! 2273: CC=$ac_cv_prog_CC
! 2274: if test -n "$CC"; then
! 2275: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2276: $as_echo "$CC" >&6; }
! 2277: else
! 2278: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2279: $as_echo "no" >&6; }
! 2280: fi
! 2281:
! 2282:
! 2283: test -n "$CC" && break
! 2284: done
! 2285: fi
! 2286: if test -z "$CC"; then
! 2287: ac_ct_CC=$CC
! 2288: for ac_prog in cl.exe
! 2289: do
! 2290: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2291: set dummy $ac_prog; ac_word=$2
! 2292: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2293: $as_echo_n "checking for $ac_word... " >&6; }
! 2294: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2295: $as_echo_n "(cached) " >&6
! 2296: else
! 2297: if test -n "$ac_ct_CC"; then
! 2298: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2299: else
! 2300: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2301: for as_dir in $PATH
! 2302: do
! 2303: IFS=$as_save_IFS
! 2304: test -z "$as_dir" && as_dir=.
! 2305: for ac_exec_ext in '' $ac_executable_extensions; do
! 2306: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2307: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2308: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2309: break 2
! 2310: fi
! 2311: done
! 2312: done
! 2313: IFS=$as_save_IFS
! 2314:
! 2315: fi
! 2316: fi
! 2317: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2318: if test -n "$ac_ct_CC"; then
! 2319: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2320: $as_echo "$ac_ct_CC" >&6; }
! 2321: else
! 2322: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2323: $as_echo "no" >&6; }
! 2324: fi
! 2325:
! 2326:
! 2327: test -n "$ac_ct_CC" && break
! 2328: done
! 2329:
! 2330: if test "x$ac_ct_CC" = x; then
! 2331: CC=""
! 2332: else
! 2333: case $cross_compiling:$ac_tool_warned in
! 2334: yes:)
! 2335: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2336: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2337: ac_tool_warned=yes ;;
! 2338: esac
! 2339: CC=$ac_ct_CC
! 2340: fi
! 2341: fi
! 2342:
! 2343: fi
! 2344:
! 2345:
! 2346: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2347: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2348: { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2349: See \`config.log' for more details." >&5
! 2350: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2351: See \`config.log' for more details." >&2;}
! 2352: { (exit 1); exit 1; }; }; }
! 2353:
! 2354: # Provide some information about the compiler.
! 2355: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2356: set X $ac_compile
! 2357: ac_compiler=$2
! 2358: { (ac_try="$ac_compiler --version >&5"
! 2359: case "(($ac_try" in
! 2360: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2361: *) ac_try_echo=$ac_try;;
! 2362: esac
! 2363: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2364: $as_echo "$ac_try_echo") >&5
! 2365: (eval "$ac_compiler --version >&5") 2>&5
! 2366: ac_status=$?
! 2367: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2368: (exit $ac_status); }
! 2369: { (ac_try="$ac_compiler -v >&5"
! 2370: case "(($ac_try" in
! 2371: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2372: *) ac_try_echo=$ac_try;;
! 2373: esac
! 2374: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2375: $as_echo "$ac_try_echo") >&5
! 2376: (eval "$ac_compiler -v >&5") 2>&5
! 2377: ac_status=$?
! 2378: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2379: (exit $ac_status); }
! 2380: { (ac_try="$ac_compiler -V >&5"
! 2381: case "(($ac_try" in
! 2382: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2383: *) ac_try_echo=$ac_try;;
! 2384: esac
! 2385: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2386: $as_echo "$ac_try_echo") >&5
! 2387: (eval "$ac_compiler -V >&5") 2>&5
! 2388: ac_status=$?
! 2389: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2390: (exit $ac_status); }
! 2391:
! 2392: cat >conftest.$ac_ext <<_ACEOF
! 2393: /* confdefs.h. */
! 2394: _ACEOF
! 2395: cat confdefs.h >>conftest.$ac_ext
! 2396: cat >>conftest.$ac_ext <<_ACEOF
! 2397: /* end confdefs.h. */
! 2398:
! 2399: int
! 2400: main ()
! 2401: {
! 2402:
! 2403: ;
! 2404: return 0;
! 2405: }
! 2406: _ACEOF
! 2407: ac_clean_files_save=$ac_clean_files
! 2408: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2409: # Try to create an executable without -o first, disregard a.out.
! 2410: # It will help us diagnose broken compilers, and finding out an intuition
! 2411: # of exeext.
! 2412: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2413: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2414: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2415:
! 2416: # The possible output files:
! 2417: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2418:
! 2419: ac_rmfiles=
! 2420: for ac_file in $ac_files
! 2421: do
! 2422: case $ac_file in
! 2423: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2424: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2425: esac
! 2426: done
! 2427: rm -f $ac_rmfiles
! 2428:
! 2429: if { (ac_try="$ac_link_default"
! 2430: case "(($ac_try" in
! 2431: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2432: *) ac_try_echo=$ac_try;;
! 2433: esac
! 2434: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2435: $as_echo "$ac_try_echo") >&5
! 2436: (eval "$ac_link_default") 2>&5
! 2437: ac_status=$?
! 2438: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2439: (exit $ac_status); }; then
! 2440: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2441: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2442: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2443: # so that the user can short-circuit this test for compilers unknown to
! 2444: # Autoconf.
! 2445: for ac_file in $ac_files ''
! 2446: do
! 2447: test -f "$ac_file" || continue
! 2448: case $ac_file in
! 2449: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2450: ;;
! 2451: [ab].out )
! 2452: # We found the default executable, but exeext='' is most
! 2453: # certainly right.
! 2454: break;;
! 2455: *.* )
! 2456: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2457: then :; else
! 2458: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2459: fi
! 2460: # We set ac_cv_exeext here because the later test for it is not
! 2461: # safe: cross compilers may not add the suffix if given an `-o'
! 2462: # argument, so we may need to know it at that point already.
! 2463: # Even if this section looks crufty: it has the advantage of
! 2464: # actually working.
! 2465: break;;
! 2466: * )
! 2467: break;;
! 2468: esac
! 2469: done
! 2470: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2471:
! 2472: else
! 2473: ac_file=''
! 2474: fi
! 2475:
! 2476: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 2477: $as_echo "$ac_file" >&6; }
! 2478: if test -z "$ac_file"; then
! 2479: $as_echo "$as_me: failed program was:" >&5
! 2480: sed 's/^/| /' conftest.$ac_ext >&5
! 2481:
! 2482: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2483: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2484: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2485: See \`config.log' for more details." >&5
! 2486: $as_echo "$as_me: error: C compiler cannot create executables
! 2487: See \`config.log' for more details." >&2;}
! 2488: { (exit 77); exit 77; }; }; }
! 2489: fi
! 2490:
! 2491: ac_exeext=$ac_cv_exeext
! 2492:
! 2493: # Check that the compiler produces executables we can run. If not, either
! 2494: # the compiler is broken, or we cross compile.
! 2495: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2496: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2497: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2498: # If not cross compiling, check that we can run a simple program.
! 2499: if test "$cross_compiling" != yes; then
! 2500: if { ac_try='./$ac_file'
! 2501: { (case "(($ac_try" in
! 2502: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2503: *) ac_try_echo=$ac_try;;
! 2504: esac
! 2505: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2506: $as_echo "$ac_try_echo") >&5
! 2507: (eval "$ac_try") 2>&5
! 2508: ac_status=$?
! 2509: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2510: (exit $ac_status); }; }; then
! 2511: cross_compiling=no
! 2512: else
! 2513: if test "$cross_compiling" = maybe; then
! 2514: cross_compiling=yes
! 2515: else
! 2516: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2517: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2518: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2519: If you meant to cross compile, use \`--host'.
! 2520: See \`config.log' for more details." >&5
! 2521: $as_echo "$as_me: error: cannot run C compiled programs.
! 2522: If you meant to cross compile, use \`--host'.
! 2523: See \`config.log' for more details." >&2;}
! 2524: { (exit 1); exit 1; }; }; }
! 2525: fi
! 2526: fi
! 2527: fi
! 2528: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2529: $as_echo "yes" >&6; }
! 2530:
! 2531: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2532: ac_clean_files=$ac_clean_files_save
! 2533: # Check that the compiler produces executables we can run. If not, either
! 2534: # the compiler is broken, or we cross compile.
! 2535: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2536: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2537: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2538: $as_echo "$cross_compiling" >&6; }
! 2539:
! 2540: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2541: $as_echo_n "checking for suffix of executables... " >&6; }
! 2542: if { (ac_try="$ac_link"
! 2543: case "(($ac_try" in
! 2544: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2545: *) ac_try_echo=$ac_try;;
! 2546: esac
! 2547: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2548: $as_echo "$ac_try_echo") >&5
! 2549: (eval "$ac_link") 2>&5
! 2550: ac_status=$?
! 2551: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2552: (exit $ac_status); }; then
! 2553: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2554: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2555: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2556: # `rm'.
! 2557: for ac_file in conftest.exe conftest conftest.*; do
! 2558: test -f "$ac_file" || continue
! 2559: case $ac_file in
! 2560: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2561: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2562: break;;
! 2563: * ) break;;
! 2564: esac
! 2565: done
! 2566: else
! 2567: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2568: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2569: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2570: See \`config.log' for more details." >&5
! 2571: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2572: See \`config.log' for more details." >&2;}
! 2573: { (exit 1); exit 1; }; }; }
! 2574: fi
! 2575:
! 2576: rm -f conftest$ac_cv_exeext
! 2577: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2578: $as_echo "$ac_cv_exeext" >&6; }
! 2579:
! 2580: rm -f conftest.$ac_ext
! 2581: EXEEXT=$ac_cv_exeext
! 2582: ac_exeext=$EXEEXT
! 2583: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2584: $as_echo_n "checking for suffix of object files... " >&6; }
! 2585: if test "${ac_cv_objext+set}" = set; then
! 2586: $as_echo_n "(cached) " >&6
! 2587: else
! 2588: cat >conftest.$ac_ext <<_ACEOF
! 2589: /* confdefs.h. */
! 2590: _ACEOF
! 2591: cat confdefs.h >>conftest.$ac_ext
! 2592: cat >>conftest.$ac_ext <<_ACEOF
! 2593: /* end confdefs.h. */
! 2594:
! 2595: int
! 2596: main ()
! 2597: {
! 2598:
! 2599: ;
! 2600: return 0;
! 2601: }
! 2602: _ACEOF
! 2603: rm -f conftest.o conftest.obj
! 2604: if { (ac_try="$ac_compile"
! 2605: case "(($ac_try" in
! 2606: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2607: *) ac_try_echo=$ac_try;;
! 2608: esac
! 2609: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2610: $as_echo "$ac_try_echo") >&5
! 2611: (eval "$ac_compile") 2>&5
! 2612: ac_status=$?
! 2613: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2614: (exit $ac_status); }; then
! 2615: for ac_file in conftest.o conftest.obj conftest.*; do
! 2616: test -f "$ac_file" || continue;
! 2617: case $ac_file in
! 2618: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 2619: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2620: break;;
! 2621: esac
! 2622: done
! 2623: else
! 2624: $as_echo "$as_me: failed program was:" >&5
! 2625: sed 's/^/| /' conftest.$ac_ext >&5
! 2626:
! 2627: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2628: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2629: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2630: See \`config.log' for more details." >&5
! 2631: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2632: See \`config.log' for more details." >&2;}
! 2633: { (exit 1); exit 1; }; }; }
! 2634: fi
! 2635:
! 2636: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2637: fi
! 2638: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2639: $as_echo "$ac_cv_objext" >&6; }
! 2640: OBJEXT=$ac_cv_objext
! 2641: ac_objext=$OBJEXT
! 2642: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2643: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2644: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2645: $as_echo_n "(cached) " >&6
! 2646: else
! 2647: cat >conftest.$ac_ext <<_ACEOF
! 2648: /* confdefs.h. */
! 2649: _ACEOF
! 2650: cat confdefs.h >>conftest.$ac_ext
! 2651: cat >>conftest.$ac_ext <<_ACEOF
! 2652: /* end confdefs.h. */
! 2653:
! 2654: int
! 2655: main ()
! 2656: {
! 2657: #ifndef __GNUC__
! 2658: choke me
! 2659: #endif
! 2660:
! 2661: ;
! 2662: return 0;
! 2663: }
! 2664: _ACEOF
! 2665: rm -f conftest.$ac_objext
! 2666: if { (ac_try="$ac_compile"
! 2667: case "(($ac_try" in
! 2668: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2669: *) ac_try_echo=$ac_try;;
! 2670: esac
! 2671: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2672: $as_echo "$ac_try_echo") >&5
! 2673: (eval "$ac_compile") 2>conftest.er1
! 2674: ac_status=$?
! 2675: grep -v '^ *+' conftest.er1 >conftest.err
! 2676: rm -f conftest.er1
! 2677: cat conftest.err >&5
! 2678: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2679: (exit $ac_status); } && {
! 2680: test -z "$ac_c_werror_flag" ||
! 2681: test ! -s conftest.err
! 2682: } && test -s conftest.$ac_objext; then
! 2683: ac_compiler_gnu=yes
! 2684: else
! 2685: $as_echo "$as_me: failed program was:" >&5
! 2686: sed 's/^/| /' conftest.$ac_ext >&5
! 2687:
! 2688: ac_compiler_gnu=no
! 2689: fi
! 2690:
! 2691: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2692: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2693:
! 2694: fi
! 2695: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2696: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2697: if test $ac_compiler_gnu = yes; then
! 2698: GCC=yes
! 2699: else
! 2700: GCC=
! 2701: fi
! 2702: ac_test_CFLAGS=${CFLAGS+set}
! 2703: ac_save_CFLAGS=$CFLAGS
! 2704: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2705: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2706: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2707: $as_echo_n "(cached) " >&6
! 2708: else
! 2709: ac_save_c_werror_flag=$ac_c_werror_flag
! 2710: ac_c_werror_flag=yes
! 2711: ac_cv_prog_cc_g=no
! 2712: CFLAGS="-g"
! 2713: cat >conftest.$ac_ext <<_ACEOF
! 2714: /* confdefs.h. */
! 2715: _ACEOF
! 2716: cat confdefs.h >>conftest.$ac_ext
! 2717: cat >>conftest.$ac_ext <<_ACEOF
! 2718: /* end confdefs.h. */
! 2719:
! 2720: int
! 2721: main ()
! 2722: {
! 2723:
! 2724: ;
! 2725: return 0;
! 2726: }
! 2727: _ACEOF
! 2728: rm -f conftest.$ac_objext
! 2729: if { (ac_try="$ac_compile"
! 2730: case "(($ac_try" in
! 2731: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2732: *) ac_try_echo=$ac_try;;
! 2733: esac
! 2734: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2735: $as_echo "$ac_try_echo") >&5
! 2736: (eval "$ac_compile") 2>conftest.er1
! 2737: ac_status=$?
! 2738: grep -v '^ *+' conftest.er1 >conftest.err
! 2739: rm -f conftest.er1
! 2740: cat conftest.err >&5
! 2741: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2742: (exit $ac_status); } && {
! 2743: test -z "$ac_c_werror_flag" ||
! 2744: test ! -s conftest.err
! 2745: } && test -s conftest.$ac_objext; then
! 2746: ac_cv_prog_cc_g=yes
! 2747: else
! 2748: $as_echo "$as_me: failed program was:" >&5
! 2749: sed 's/^/| /' conftest.$ac_ext >&5
! 2750:
! 2751: CFLAGS=""
! 2752: cat >conftest.$ac_ext <<_ACEOF
! 2753: /* confdefs.h. */
! 2754: _ACEOF
! 2755: cat confdefs.h >>conftest.$ac_ext
! 2756: cat >>conftest.$ac_ext <<_ACEOF
! 2757: /* end confdefs.h. */
! 2758:
! 2759: int
! 2760: main ()
! 2761: {
! 2762:
! 2763: ;
! 2764: return 0;
! 2765: }
! 2766: _ACEOF
! 2767: rm -f conftest.$ac_objext
! 2768: if { (ac_try="$ac_compile"
! 2769: case "(($ac_try" in
! 2770: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2771: *) ac_try_echo=$ac_try;;
! 2772: esac
! 2773: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2774: $as_echo "$ac_try_echo") >&5
! 2775: (eval "$ac_compile") 2>conftest.er1
! 2776: ac_status=$?
! 2777: grep -v '^ *+' conftest.er1 >conftest.err
! 2778: rm -f conftest.er1
! 2779: cat conftest.err >&5
! 2780: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2781: (exit $ac_status); } && {
! 2782: test -z "$ac_c_werror_flag" ||
! 2783: test ! -s conftest.err
! 2784: } && test -s conftest.$ac_objext; then
! 2785: :
! 2786: else
! 2787: $as_echo "$as_me: failed program was:" >&5
! 2788: sed 's/^/| /' conftest.$ac_ext >&5
! 2789:
! 2790: ac_c_werror_flag=$ac_save_c_werror_flag
! 2791: CFLAGS="-g"
! 2792: cat >conftest.$ac_ext <<_ACEOF
! 2793: /* confdefs.h. */
! 2794: _ACEOF
! 2795: cat confdefs.h >>conftest.$ac_ext
! 2796: cat >>conftest.$ac_ext <<_ACEOF
! 2797: /* end confdefs.h. */
! 2798:
! 2799: int
! 2800: main ()
! 2801: {
! 2802:
! 2803: ;
! 2804: return 0;
! 2805: }
! 2806: _ACEOF
! 2807: rm -f conftest.$ac_objext
! 2808: if { (ac_try="$ac_compile"
! 2809: case "(($ac_try" in
! 2810: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2811: *) ac_try_echo=$ac_try;;
! 2812: esac
! 2813: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2814: $as_echo "$ac_try_echo") >&5
! 2815: (eval "$ac_compile") 2>conftest.er1
! 2816: ac_status=$?
! 2817: grep -v '^ *+' conftest.er1 >conftest.err
! 2818: rm -f conftest.er1
! 2819: cat conftest.err >&5
! 2820: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2821: (exit $ac_status); } && {
! 2822: test -z "$ac_c_werror_flag" ||
! 2823: test ! -s conftest.err
! 2824: } && test -s conftest.$ac_objext; then
! 2825: ac_cv_prog_cc_g=yes
! 2826: else
! 2827: $as_echo "$as_me: failed program was:" >&5
! 2828: sed 's/^/| /' conftest.$ac_ext >&5
! 2829:
! 2830:
! 2831: fi
! 2832:
! 2833: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2834: fi
! 2835:
! 2836: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2837: fi
! 2838:
! 2839: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2840: ac_c_werror_flag=$ac_save_c_werror_flag
! 2841: fi
! 2842: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2843: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 2844: if test "$ac_test_CFLAGS" = set; then
! 2845: CFLAGS=$ac_save_CFLAGS
! 2846: elif test $ac_cv_prog_cc_g = yes; then
! 2847: if test "$GCC" = yes; then
! 2848: CFLAGS="-g -O2"
! 2849: else
! 2850: CFLAGS="-g"
! 2851: fi
! 2852: else
! 2853: if test "$GCC" = yes; then
! 2854: CFLAGS="-O2"
! 2855: else
! 2856: CFLAGS=
! 2857: fi
! 2858: fi
! 2859: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 2860: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2861: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 2862: $as_echo_n "(cached) " >&6
! 2863: else
! 2864: ac_cv_prog_cc_c89=no
! 2865: ac_save_CC=$CC
! 2866: cat >conftest.$ac_ext <<_ACEOF
! 2867: /* confdefs.h. */
! 2868: _ACEOF
! 2869: cat confdefs.h >>conftest.$ac_ext
! 2870: cat >>conftest.$ac_ext <<_ACEOF
! 2871: /* end confdefs.h. */
! 2872: #include <stdarg.h>
! 2873: #include <stdio.h>
! 2874: #include <sys/types.h>
! 2875: #include <sys/stat.h>
! 2876: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2877: struct buf { int x; };
! 2878: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2879: static char *e (p, i)
! 2880: char **p;
! 2881: int i;
! 2882: {
! 2883: return p[i];
! 2884: }
! 2885: static char *f (char * (*g) (char **, int), char **p, ...)
! 2886: {
! 2887: char *s;
! 2888: va_list v;
! 2889: va_start (v,p);
! 2890: s = g (p, va_arg (v,int));
! 2891: va_end (v);
! 2892: return s;
! 2893: }
! 2894:
! 2895: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2896: function prototypes and stuff, but not '\xHH' hex character constants.
! 2897: These don't provoke an error unfortunately, instead are silently treated
! 2898: as 'x'. The following induces an error, until -std is added to get
! 2899: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2900: array size at least. It's necessary to write '\x00'==0 to get something
! 2901: that's true only with -std. */
! 2902: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2903:
! 2904: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2905: inside strings and character constants. */
! 2906: #define FOO(x) 'x'
! 2907: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2908:
! 2909: int test (int i, double x);
! 2910: struct s1 {int (*f) (int a);};
! 2911: struct s2 {int (*f) (double a);};
! 2912: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2913: int argc;
! 2914: char **argv;
! 2915: int
! 2916: main ()
! 2917: {
! 2918: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2919: ;
! 2920: return 0;
! 2921: }
! 2922: _ACEOF
! 2923: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2924: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2925: do
! 2926: CC="$ac_save_CC $ac_arg"
! 2927: rm -f conftest.$ac_objext
! 2928: if { (ac_try="$ac_compile"
! 2929: case "(($ac_try" in
! 2930: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2931: *) ac_try_echo=$ac_try;;
! 2932: esac
! 2933: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2934: $as_echo "$ac_try_echo") >&5
! 2935: (eval "$ac_compile") 2>conftest.er1
! 2936: ac_status=$?
! 2937: grep -v '^ *+' conftest.er1 >conftest.err
! 2938: rm -f conftest.er1
! 2939: cat conftest.err >&5
! 2940: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2941: (exit $ac_status); } && {
! 2942: test -z "$ac_c_werror_flag" ||
! 2943: test ! -s conftest.err
! 2944: } && test -s conftest.$ac_objext; then
! 2945: ac_cv_prog_cc_c89=$ac_arg
! 2946: else
! 2947: $as_echo "$as_me: failed program was:" >&5
! 2948: sed 's/^/| /' conftest.$ac_ext >&5
! 2949:
! 2950:
! 2951: fi
! 2952:
! 2953: rm -f core conftest.err conftest.$ac_objext
! 2954: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 2955: done
! 2956: rm -f conftest.$ac_ext
! 2957: CC=$ac_save_CC
! 2958:
! 2959: fi
! 2960: # AC_CACHE_VAL
! 2961: case "x$ac_cv_prog_cc_c89" in
! 2962: x)
! 2963: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 2964: $as_echo "none needed" >&6; } ;;
! 2965: xno)
! 2966: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 2967: $as_echo "unsupported" >&6; } ;;
! 2968: *)
! 2969: CC="$CC $ac_cv_prog_cc_c89"
! 2970: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 2971: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 2972: esac
! 2973:
! 2974:
! 2975: ac_ext=c
! 2976: ac_cpp='$CPP $CPPFLAGS'
! 2977: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2978: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2979: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2980:
! 2981: ac_ext=c
! 2982: ac_cpp='$CPP $CPPFLAGS'
! 2983: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2984: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2985: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2986: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 2987: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 2988: # On Suns, sometimes $CPP names a directory.
! 2989: if test -n "$CPP" && test -d "$CPP"; then
! 2990: CPP=
! 2991: fi
! 2992: if test -z "$CPP"; then
! 2993: if test "${ac_cv_prog_CPP+set}" = set; then
! 2994: $as_echo_n "(cached) " >&6
! 2995: else
! 2996: # Double quotes because CPP needs to be expanded
! 2997: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2998: do
! 2999: ac_preproc_ok=false
! 3000: for ac_c_preproc_warn_flag in '' yes
! 3001: do
! 3002: # Use a header file that comes with gcc, so configuring glibc
! 3003: # with a fresh cross-compiler works.
! 3004: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3005: # <limits.h> exists even on freestanding compilers.
! 3006: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3007: # not just through cpp. "Syntax error" is here to catch this case.
! 3008: cat >conftest.$ac_ext <<_ACEOF
! 3009: /* confdefs.h. */
! 3010: _ACEOF
! 3011: cat confdefs.h >>conftest.$ac_ext
! 3012: cat >>conftest.$ac_ext <<_ACEOF
! 3013: /* end confdefs.h. */
! 3014: #ifdef __STDC__
! 3015: # include <limits.h>
! 3016: #else
! 3017: # include <assert.h>
! 3018: #endif
! 3019: Syntax error
! 3020: _ACEOF
! 3021: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3022: case "(($ac_try" in
! 3023: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3024: *) ac_try_echo=$ac_try;;
! 3025: esac
! 3026: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3027: $as_echo "$ac_try_echo") >&5
! 3028: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3029: ac_status=$?
! 3030: grep -v '^ *+' conftest.er1 >conftest.err
! 3031: rm -f conftest.er1
! 3032: cat conftest.err >&5
! 3033: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3034: (exit $ac_status); } >/dev/null && {
! 3035: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3036: test ! -s conftest.err
! 3037: }; then
! 3038: :
! 3039: else
! 3040: $as_echo "$as_me: failed program was:" >&5
! 3041: sed 's/^/| /' conftest.$ac_ext >&5
! 3042:
! 3043: # Broken: fails on valid input.
! 3044: continue
! 3045: fi
! 3046:
! 3047: rm -f conftest.err conftest.$ac_ext
! 3048:
! 3049: # OK, works on sane cases. Now check whether nonexistent headers
! 3050: # can be detected and how.
! 3051: cat >conftest.$ac_ext <<_ACEOF
! 3052: /* confdefs.h. */
! 3053: _ACEOF
! 3054: cat confdefs.h >>conftest.$ac_ext
! 3055: cat >>conftest.$ac_ext <<_ACEOF
! 3056: /* end confdefs.h. */
! 3057: #include <ac_nonexistent.h>
! 3058: _ACEOF
! 3059: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3060: case "(($ac_try" in
! 3061: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3062: *) ac_try_echo=$ac_try;;
! 3063: esac
! 3064: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3065: $as_echo "$ac_try_echo") >&5
! 3066: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3067: ac_status=$?
! 3068: grep -v '^ *+' conftest.er1 >conftest.err
! 3069: rm -f conftest.er1
! 3070: cat conftest.err >&5
! 3071: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3072: (exit $ac_status); } >/dev/null && {
! 3073: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3074: test ! -s conftest.err
! 3075: }; then
! 3076: # Broken: success on invalid input.
! 3077: continue
! 3078: else
! 3079: $as_echo "$as_me: failed program was:" >&5
! 3080: sed 's/^/| /' conftest.$ac_ext >&5
! 3081:
! 3082: # Passes both tests.
! 3083: ac_preproc_ok=:
! 3084: break
! 3085: fi
! 3086:
! 3087: rm -f conftest.err conftest.$ac_ext
! 3088:
! 3089: done
! 3090: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3091: rm -f conftest.err conftest.$ac_ext
! 3092: if $ac_preproc_ok; then
! 3093: break
! 3094: fi
! 3095:
! 3096: done
! 3097: ac_cv_prog_CPP=$CPP
! 3098:
! 3099: fi
! 3100: CPP=$ac_cv_prog_CPP
! 3101: else
! 3102: ac_cv_prog_CPP=$CPP
! 3103: fi
! 3104: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
! 3105: $as_echo "$CPP" >&6; }
! 3106: ac_preproc_ok=false
! 3107: for ac_c_preproc_warn_flag in '' yes
! 3108: do
! 3109: # Use a header file that comes with gcc, so configuring glibc
! 3110: # with a fresh cross-compiler works.
! 3111: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3112: # <limits.h> exists even on freestanding compilers.
! 3113: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3114: # not just through cpp. "Syntax error" is here to catch this case.
! 3115: cat >conftest.$ac_ext <<_ACEOF
! 3116: /* confdefs.h. */
! 3117: _ACEOF
! 3118: cat confdefs.h >>conftest.$ac_ext
! 3119: cat >>conftest.$ac_ext <<_ACEOF
! 3120: /* end confdefs.h. */
! 3121: #ifdef __STDC__
! 3122: # include <limits.h>
! 3123: #else
! 3124: # include <assert.h>
! 3125: #endif
! 3126: Syntax error
! 3127: _ACEOF
! 3128: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3129: case "(($ac_try" in
! 3130: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3131: *) ac_try_echo=$ac_try;;
! 3132: esac
! 3133: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3134: $as_echo "$ac_try_echo") >&5
! 3135: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3136: ac_status=$?
! 3137: grep -v '^ *+' conftest.er1 >conftest.err
! 3138: rm -f conftest.er1
! 3139: cat conftest.err >&5
! 3140: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3141: (exit $ac_status); } >/dev/null && {
! 3142: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3143: test ! -s conftest.err
! 3144: }; then
! 3145: :
! 3146: else
! 3147: $as_echo "$as_me: failed program was:" >&5
! 3148: sed 's/^/| /' conftest.$ac_ext >&5
! 3149:
! 3150: # Broken: fails on valid input.
! 3151: continue
! 3152: fi
! 3153:
! 3154: rm -f conftest.err conftest.$ac_ext
! 3155:
! 3156: # OK, works on sane cases. Now check whether nonexistent headers
! 3157: # can be detected and how.
! 3158: cat >conftest.$ac_ext <<_ACEOF
! 3159: /* confdefs.h. */
! 3160: _ACEOF
! 3161: cat confdefs.h >>conftest.$ac_ext
! 3162: cat >>conftest.$ac_ext <<_ACEOF
! 3163: /* end confdefs.h. */
! 3164: #include <ac_nonexistent.h>
! 3165: _ACEOF
! 3166: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3167: case "(($ac_try" in
! 3168: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3169: *) ac_try_echo=$ac_try;;
! 3170: esac
! 3171: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3172: $as_echo "$ac_try_echo") >&5
! 3173: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3174: ac_status=$?
! 3175: grep -v '^ *+' conftest.er1 >conftest.err
! 3176: rm -f conftest.er1
! 3177: cat conftest.err >&5
! 3178: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3179: (exit $ac_status); } >/dev/null && {
! 3180: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3181: test ! -s conftest.err
! 3182: }; then
! 3183: # Broken: success on invalid input.
! 3184: continue
! 3185: else
! 3186: $as_echo "$as_me: failed program was:" >&5
! 3187: sed 's/^/| /' conftest.$ac_ext >&5
! 3188:
! 3189: # Passes both tests.
! 3190: ac_preproc_ok=:
! 3191: break
! 3192: fi
! 3193:
! 3194: rm -f conftest.err conftest.$ac_ext
! 3195:
! 3196: done
! 3197: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3198: rm -f conftest.err conftest.$ac_ext
! 3199: if $ac_preproc_ok; then
! 3200: :
! 3201: else
! 3202: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3203: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3204: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3205: See \`config.log' for more details." >&5
! 3206: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3207: See \`config.log' for more details." >&2;}
! 3208: { (exit 1); exit 1; }; }; }
! 3209: fi
! 3210:
! 3211: ac_ext=c
! 3212: ac_cpp='$CPP $CPPFLAGS'
! 3213: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3214: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3215: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3216:
! 3217: # Find a good install program. We prefer a C program (faster),
! 3218: # so one script is as good as another. But avoid the broken or
! 3219: # incompatible versions:
! 3220: # SysV /etc/install, /usr/sbin/install
! 3221: # SunOS /usr/etc/install
! 3222: # IRIX /sbin/install
! 3223: # AIX /bin/install
! 3224: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 3225: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 3226: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 3227: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 3228: # OS/2's system install, which has a completely different semantic
! 3229: # ./install, which can be erroneously created by make from ./install.sh.
! 3230: # Reject install programs that cannot install multiple files.
! 3231: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 3232: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 3233: if test -z "$INSTALL"; then
! 3234: if test "${ac_cv_path_install+set}" = set; then
! 3235: $as_echo_n "(cached) " >&6
! 3236: else
! 3237: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3238: for as_dir in $PATH
! 3239: do
! 3240: IFS=$as_save_IFS
! 3241: test -z "$as_dir" && as_dir=.
! 3242: # Account for people who put trailing slashes in PATH elements.
! 3243: case $as_dir/ in
! 3244: ./ | .// | /cC/* | \
! 3245: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 3246: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 3247: /usr/ucb/* ) ;;
! 3248: *)
! 3249: # OSF1 and SCO ODT 3.0 have their own names for install.
! 3250: # Don't use installbsd from OSF since it installs stuff as root
! 3251: # by default.
! 3252: for ac_prog in ginstall scoinst install; do
! 3253: for ac_exec_ext in '' $ac_executable_extensions; do
! 3254: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 3255: if test $ac_prog = install &&
! 3256: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 3257: # AIX install. It has an incompatible calling convention.
! 3258: :
! 3259: elif test $ac_prog = install &&
! 3260: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 3261: # program-specific install script used by HP pwplus--don't use.
! 3262: :
! 3263: else
! 3264: rm -rf conftest.one conftest.two conftest.dir
! 3265: echo one > conftest.one
! 3266: echo two > conftest.two
! 3267: mkdir conftest.dir
! 3268: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 3269: test -s conftest.one && test -s conftest.two &&
! 3270: test -s conftest.dir/conftest.one &&
! 3271: test -s conftest.dir/conftest.two
! 3272: then
! 3273: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 3274: break 3
! 3275: fi
! 3276: fi
! 3277: fi
! 3278: done
! 3279: done
! 3280: ;;
! 3281: esac
! 3282:
! 3283: done
! 3284: IFS=$as_save_IFS
! 3285:
! 3286: rm -rf conftest.one conftest.two conftest.dir
! 3287:
! 3288: fi
! 3289: if test "${ac_cv_path_install+set}" = set; then
! 3290: INSTALL=$ac_cv_path_install
! 3291: else
! 3292: # As a last resort, use the slow shell script. Don't cache a
! 3293: # value for INSTALL within a source directory, because that will
! 3294: # break other packages using the cache if that directory is
! 3295: # removed, or if the value is a relative name.
! 3296: INSTALL=$ac_install_sh
! 3297: fi
! 3298: fi
! 3299: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 3300: $as_echo "$INSTALL" >&6; }
! 3301:
! 3302: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 3303: # It thinks the first close brace ends the variable substitution.
! 3304: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 3305:
! 3306: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 3307:
! 3308: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 3309:
! 3310:
! 3311:
! 3312: # Make sure we can run config.sub.
! 3313: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 3314: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 3315: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 3316: { (exit 1); exit 1; }; }
! 3317:
! 3318: { $as_echo "$as_me:$LINENO: checking build system type" >&5
! 3319: $as_echo_n "checking build system type... " >&6; }
! 3320: if test "${ac_cv_build+set}" = set; then
! 3321: $as_echo_n "(cached) " >&6
! 3322: else
! 3323: ac_build_alias=$build_alias
! 3324: test "x$ac_build_alias" = x &&
! 3325: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 3326: test "x$ac_build_alias" = x &&
! 3327: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 3328: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 3329: { (exit 1); exit 1; }; }
! 3330: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 3331: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 3332: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 3333: { (exit 1); exit 1; }; }
! 3334:
! 3335: fi
! 3336: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 3337: $as_echo "$ac_cv_build" >&6; }
! 3338: case $ac_cv_build in
! 3339: *-*-*) ;;
! 3340: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 3341: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
! 3342: { (exit 1); exit 1; }; };;
! 3343: esac
! 3344: build=$ac_cv_build
! 3345: ac_save_IFS=$IFS; IFS='-'
! 3346: set x $ac_cv_build
! 3347: shift
! 3348: build_cpu=$1
! 3349: build_vendor=$2
! 3350: shift; shift
! 3351: # Remember, the first character of IFS is used to create $*,
! 3352: # except with old shells:
! 3353: build_os=$*
! 3354: IFS=$ac_save_IFS
! 3355: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 3356:
! 3357:
! 3358: { $as_echo "$as_me:$LINENO: checking host system type" >&5
! 3359: $as_echo_n "checking host system type... " >&6; }
! 3360: if test "${ac_cv_host+set}" = set; then
! 3361: $as_echo_n "(cached) " >&6
! 3362: else
! 3363: if test "x$host_alias" = x; then
! 3364: ac_cv_host=$ac_cv_build
! 3365: else
! 3366: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 3367: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 3368: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 3369: { (exit 1); exit 1; }; }
! 3370: fi
! 3371:
! 3372: fi
! 3373: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3374: $as_echo "$ac_cv_host" >&6; }
! 3375: case $ac_cv_host in
! 3376: *-*-*) ;;
! 3377: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 3378: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
! 3379: { (exit 1); exit 1; }; };;
! 3380: esac
! 3381: host=$ac_cv_host
! 3382: ac_save_IFS=$IFS; IFS='-'
! 3383: set x $ac_cv_host
! 3384: shift
! 3385: host_cpu=$1
! 3386: host_vendor=$2
! 3387: shift; shift
! 3388: # Remember, the first character of IFS is used to create $*,
! 3389: # except with old shells:
! 3390: host_os=$*
! 3391: IFS=$ac_save_IFS
! 3392: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 3393:
! 3394:
! 3395:
! 3396:
! 3397:
! 3398: { $as_echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5
! 3399: $as_echo_n "checking whether to activate relocatable installation... " >&6; }
! 3400: # Check whether --enable-relocatable was given.
! 3401: if test "${enable_relocatable+set}" = set; then
! 3402: enableval=$enable_relocatable; if test "$enableval" != no; then
! 3403: RELOCATABLE=yes
! 3404: else
! 3405: RELOCATABLE=no
! 3406: fi
! 3407:
! 3408: else
! 3409: RELOCATABLE=no
! 3410: fi
! 3411:
! 3412:
! 3413: { $as_echo "$as_me:$LINENO: result: $RELOCATABLE" >&5
! 3414: $as_echo "$RELOCATABLE" >&6; }
! 3415:
! 3416:
! 3417:
! 3418: if test "X$prefix" = "XNONE"; then
! 3419: reloc_final_prefix="$ac_default_prefix"
! 3420: else
! 3421: reloc_final_prefix="$prefix"
! 3422: fi
! 3423:
! 3424: cat >>confdefs.h <<_ACEOF
! 3425: #define INSTALLPREFIX "${reloc_final_prefix}"
! 3426: _ACEOF
! 3427:
! 3428: if test $RELOCATABLE = yes; then
! 3429:
! 3430: cat >>confdefs.h <<\_ACEOF
! 3431: #define ENABLE_RELOCATABLE 1
! 3432: _ACEOF
! 3433:
! 3434: fi
! 3435:
! 3436:
! 3437:
! 3438: if test $RELOCATABLE = yes; then
! 3439: case " $LIBOBJS " in
! 3440: *" relocatable.$ac_objext "* ) ;;
! 3441: *) LIBOBJS="$LIBOBJS relocatable.$ac_objext"
! 3442: ;;
! 3443: esac
! 3444:
! 3445: fi
! 3446:
! 3447:
! 3448:
! 3449:
! 3450:
! 3451:
! 3452: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 3453: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 3454: if test "${ac_cv_path_GREP+set}" = set; then
! 3455: $as_echo_n "(cached) " >&6
! 3456: else
! 3457: if test -z "$GREP"; then
! 3458: ac_path_GREP_found=false
! 3459: # Loop through the user's path and test for each of PROGNAME-LIST
! 3460: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3461: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3462: do
! 3463: IFS=$as_save_IFS
! 3464: test -z "$as_dir" && as_dir=.
! 3465: for ac_prog in grep ggrep; do
! 3466: for ac_exec_ext in '' $ac_executable_extensions; do
! 3467: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 3468: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 3469: # Check for GNU ac_path_GREP and select it if it is found.
! 3470: # Check for GNU $ac_path_GREP
! 3471: case `"$ac_path_GREP" --version 2>&1` in
! 3472: *GNU*)
! 3473: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 3474: *)
! 3475: ac_count=0
! 3476: $as_echo_n 0123456789 >"conftest.in"
! 3477: while :
! 3478: do
! 3479: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3480: mv "conftest.tmp" "conftest.in"
! 3481: cp "conftest.in" "conftest.nl"
! 3482: $as_echo 'GREP' >> "conftest.nl"
! 3483: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3484: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3485: ac_count=`expr $ac_count + 1`
! 3486: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 3487: # Best one so far, save it but keep looking for a better one
! 3488: ac_cv_path_GREP="$ac_path_GREP"
! 3489: ac_path_GREP_max=$ac_count
! 3490: fi
! 3491: # 10*(2^10) chars as input seems more than enough
! 3492: test $ac_count -gt 10 && break
! 3493: done
! 3494: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3495: esac
! 3496:
! 3497: $ac_path_GREP_found && break 3
! 3498: done
! 3499: done
! 3500: done
! 3501: IFS=$as_save_IFS
! 3502: if test -z "$ac_cv_path_GREP"; then
! 3503: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3504: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3505: { (exit 1); exit 1; }; }
! 3506: fi
! 3507: else
! 3508: ac_cv_path_GREP=$GREP
! 3509: fi
! 3510:
! 3511: fi
! 3512: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 3513: $as_echo "$ac_cv_path_GREP" >&6; }
! 3514: GREP="$ac_cv_path_GREP"
! 3515:
! 3516:
! 3517: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
! 3518: $as_echo_n "checking for egrep... " >&6; }
! 3519: if test "${ac_cv_path_EGREP+set}" = set; then
! 3520: $as_echo_n "(cached) " >&6
! 3521: else
! 3522: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3523: then ac_cv_path_EGREP="$GREP -E"
! 3524: else
! 3525: if test -z "$EGREP"; then
! 3526: ac_path_EGREP_found=false
! 3527: # Loop through the user's path and test for each of PROGNAME-LIST
! 3528: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3529: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3530: do
! 3531: IFS=$as_save_IFS
! 3532: test -z "$as_dir" && as_dir=.
! 3533: for ac_prog in egrep; do
! 3534: for ac_exec_ext in '' $ac_executable_extensions; do
! 3535: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 3536: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 3537: # Check for GNU ac_path_EGREP and select it if it is found.
! 3538: # Check for GNU $ac_path_EGREP
! 3539: case `"$ac_path_EGREP" --version 2>&1` in
! 3540: *GNU*)
! 3541: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 3542: *)
! 3543: ac_count=0
! 3544: $as_echo_n 0123456789 >"conftest.in"
! 3545: while :
! 3546: do
! 3547: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3548: mv "conftest.tmp" "conftest.in"
! 3549: cp "conftest.in" "conftest.nl"
! 3550: $as_echo 'EGREP' >> "conftest.nl"
! 3551: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3552: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3553: ac_count=`expr $ac_count + 1`
! 3554: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 3555: # Best one so far, save it but keep looking for a better one
! 3556: ac_cv_path_EGREP="$ac_path_EGREP"
! 3557: ac_path_EGREP_max=$ac_count
! 3558: fi
! 3559: # 10*(2^10) chars as input seems more than enough
! 3560: test $ac_count -gt 10 && break
! 3561: done
! 3562: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3563: esac
! 3564:
! 3565: $ac_path_EGREP_found && break 3
! 3566: done
! 3567: done
! 3568: done
! 3569: IFS=$as_save_IFS
! 3570: if test -z "$ac_cv_path_EGREP"; then
! 3571: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3572: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3573: { (exit 1); exit 1; }; }
! 3574: fi
! 3575: else
! 3576: ac_cv_path_EGREP=$EGREP
! 3577: fi
! 3578:
! 3579: fi
! 3580: fi
! 3581: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 3582: $as_echo "$ac_cv_path_EGREP" >&6; }
! 3583: EGREP="$ac_cv_path_EGREP"
! 3584:
! 3585:
! 3586: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3587: $as_echo_n "checking for ANSI C header files... " >&6; }
! 3588: if test "${ac_cv_header_stdc+set}" = set; then
! 3589: $as_echo_n "(cached) " >&6
! 3590: else
! 3591: cat >conftest.$ac_ext <<_ACEOF
! 3592: /* confdefs.h. */
! 3593: _ACEOF
! 3594: cat confdefs.h >>conftest.$ac_ext
! 3595: cat >>conftest.$ac_ext <<_ACEOF
! 3596: /* end confdefs.h. */
! 3597: #include <stdlib.h>
! 3598: #include <stdarg.h>
! 3599: #include <string.h>
! 3600: #include <float.h>
! 3601:
! 3602: int
! 3603: main ()
! 3604: {
! 3605:
! 3606: ;
! 3607: return 0;
! 3608: }
! 3609: _ACEOF
! 3610: rm -f conftest.$ac_objext
! 3611: if { (ac_try="$ac_compile"
! 3612: case "(($ac_try" in
! 3613: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3614: *) ac_try_echo=$ac_try;;
! 3615: esac
! 3616: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3617: $as_echo "$ac_try_echo") >&5
! 3618: (eval "$ac_compile") 2>conftest.er1
! 3619: ac_status=$?
! 3620: grep -v '^ *+' conftest.er1 >conftest.err
! 3621: rm -f conftest.er1
! 3622: cat conftest.err >&5
! 3623: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3624: (exit $ac_status); } && {
! 3625: test -z "$ac_c_werror_flag" ||
! 3626: test ! -s conftest.err
! 3627: } && test -s conftest.$ac_objext; then
! 3628: ac_cv_header_stdc=yes
! 3629: else
! 3630: $as_echo "$as_me: failed program was:" >&5
! 3631: sed 's/^/| /' conftest.$ac_ext >&5
! 3632:
! 3633: ac_cv_header_stdc=no
! 3634: fi
! 3635:
! 3636: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3637:
! 3638: if test $ac_cv_header_stdc = yes; then
! 3639: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3640: cat >conftest.$ac_ext <<_ACEOF
! 3641: /* confdefs.h. */
! 3642: _ACEOF
! 3643: cat confdefs.h >>conftest.$ac_ext
! 3644: cat >>conftest.$ac_ext <<_ACEOF
! 3645: /* end confdefs.h. */
! 3646: #include <string.h>
! 3647:
! 3648: _ACEOF
! 3649: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3650: $EGREP "memchr" >/dev/null 2>&1; then
! 3651: :
! 3652: else
! 3653: ac_cv_header_stdc=no
! 3654: fi
! 3655: rm -f conftest*
! 3656:
! 3657: fi
! 3658:
! 3659: if test $ac_cv_header_stdc = yes; then
! 3660: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3661: cat >conftest.$ac_ext <<_ACEOF
! 3662: /* confdefs.h. */
! 3663: _ACEOF
! 3664: cat confdefs.h >>conftest.$ac_ext
! 3665: cat >>conftest.$ac_ext <<_ACEOF
! 3666: /* end confdefs.h. */
! 3667: #include <stdlib.h>
! 3668:
! 3669: _ACEOF
! 3670: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3671: $EGREP "free" >/dev/null 2>&1; then
! 3672: :
! 3673: else
! 3674: ac_cv_header_stdc=no
! 3675: fi
! 3676: rm -f conftest*
! 3677:
! 3678: fi
! 3679:
! 3680: if test $ac_cv_header_stdc = yes; then
! 3681: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3682: if test "$cross_compiling" = yes; then
! 3683: :
! 3684: else
! 3685: cat >conftest.$ac_ext <<_ACEOF
! 3686: /* confdefs.h. */
! 3687: _ACEOF
! 3688: cat confdefs.h >>conftest.$ac_ext
! 3689: cat >>conftest.$ac_ext <<_ACEOF
! 3690: /* end confdefs.h. */
! 3691: #include <ctype.h>
! 3692: #include <stdlib.h>
! 3693: #if ((' ' & 0x0FF) == 0x020)
! 3694: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3695: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3696: #else
! 3697: # define ISLOWER(c) \
! 3698: (('a' <= (c) && (c) <= 'i') \
! 3699: || ('j' <= (c) && (c) <= 'r') \
! 3700: || ('s' <= (c) && (c) <= 'z'))
! 3701: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3702: #endif
! 3703:
! 3704: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3705: int
! 3706: main ()
! 3707: {
! 3708: int i;
! 3709: for (i = 0; i < 256; i++)
! 3710: if (XOR (islower (i), ISLOWER (i))
! 3711: || toupper (i) != TOUPPER (i))
! 3712: return 2;
! 3713: return 0;
! 3714: }
! 3715: _ACEOF
! 3716: rm -f conftest$ac_exeext
! 3717: if { (ac_try="$ac_link"
! 3718: case "(($ac_try" in
! 3719: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3720: *) ac_try_echo=$ac_try;;
! 3721: esac
! 3722: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3723: $as_echo "$ac_try_echo") >&5
! 3724: (eval "$ac_link") 2>&5
! 3725: ac_status=$?
! 3726: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3727: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3728: { (case "(($ac_try" in
! 3729: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3730: *) ac_try_echo=$ac_try;;
! 3731: esac
! 3732: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3733: $as_echo "$ac_try_echo") >&5
! 3734: (eval "$ac_try") 2>&5
! 3735: ac_status=$?
! 3736: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3737: (exit $ac_status); }; }; then
! 3738: :
! 3739: else
! 3740: $as_echo "$as_me: program exited with status $ac_status" >&5
! 3741: $as_echo "$as_me: failed program was:" >&5
! 3742: sed 's/^/| /' conftest.$ac_ext >&5
! 3743:
! 3744: ( exit $ac_status )
! 3745: ac_cv_header_stdc=no
! 3746: fi
! 3747: rm -rf conftest.dSYM
! 3748: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3749: fi
! 3750:
! 3751:
! 3752: fi
! 3753: fi
! 3754: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 3755: $as_echo "$ac_cv_header_stdc" >&6; }
! 3756: if test $ac_cv_header_stdc = yes; then
! 3757:
! 3758: cat >>confdefs.h <<\_ACEOF
! 3759: #define STDC_HEADERS 1
! 3760: _ACEOF
! 3761:
! 3762: fi
! 3763:
! 3764: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3765:
! 3766:
! 3767:
! 3768:
! 3769:
! 3770:
! 3771:
! 3772:
! 3773:
! 3774: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3775: inttypes.h stdint.h unistd.h
! 3776: do
! 3777: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3778: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3779: $as_echo_n "checking for $ac_header... " >&6; }
! 3780: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3781: $as_echo_n "(cached) " >&6
! 3782: else
! 3783: cat >conftest.$ac_ext <<_ACEOF
! 3784: /* confdefs.h. */
! 3785: _ACEOF
! 3786: cat confdefs.h >>conftest.$ac_ext
! 3787: cat >>conftest.$ac_ext <<_ACEOF
! 3788: /* end confdefs.h. */
! 3789: $ac_includes_default
! 3790:
! 3791: #include <$ac_header>
! 3792: _ACEOF
! 3793: rm -f conftest.$ac_objext
! 3794: if { (ac_try="$ac_compile"
! 3795: case "(($ac_try" in
! 3796: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3797: *) ac_try_echo=$ac_try;;
! 3798: esac
! 3799: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3800: $as_echo "$ac_try_echo") >&5
! 3801: (eval "$ac_compile") 2>conftest.er1
! 3802: ac_status=$?
! 3803: grep -v '^ *+' conftest.er1 >conftest.err
! 3804: rm -f conftest.er1
! 3805: cat conftest.err >&5
! 3806: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3807: (exit $ac_status); } && {
! 3808: test -z "$ac_c_werror_flag" ||
! 3809: test ! -s conftest.err
! 3810: } && test -s conftest.$ac_objext; then
! 3811: eval "$as_ac_Header=yes"
! 3812: else
! 3813: $as_echo "$as_me: failed program was:" >&5
! 3814: sed 's/^/| /' conftest.$ac_ext >&5
! 3815:
! 3816: eval "$as_ac_Header=no"
! 3817: fi
! 3818:
! 3819: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3820: fi
! 3821: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 3822: $as_echo "$as_val"'`
! 3823: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 3824: $as_echo "$ac_res" >&6; }
! 3825: as_val=`eval 'as_val=${'$as_ac_Header'}
! 3826: $as_echo "$as_val"'`
! 3827: if test "x$as_val" = x""yes; then
! 3828: cat >>confdefs.h <<_ACEOF
! 3829: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3830: _ACEOF
! 3831:
! 3832: fi
! 3833:
! 3834: done
! 3835:
! 3836:
! 3837:
! 3838: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 3839: { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
! 3840: $as_echo_n "checking for minix/config.h... " >&6; }
! 3841: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 3842: $as_echo_n "(cached) " >&6
! 3843: fi
! 3844: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
! 3845: $as_echo "$ac_cv_header_minix_config_h" >&6; }
! 3846: else
! 3847: # Is the header compilable?
! 3848: { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
! 3849: $as_echo_n "checking minix/config.h usability... " >&6; }
! 3850: cat >conftest.$ac_ext <<_ACEOF
! 3851: /* confdefs.h. */
! 3852: _ACEOF
! 3853: cat confdefs.h >>conftest.$ac_ext
! 3854: cat >>conftest.$ac_ext <<_ACEOF
! 3855: /* end confdefs.h. */
! 3856: $ac_includes_default
! 3857: #include <minix/config.h>
! 3858: _ACEOF
! 3859: rm -f conftest.$ac_objext
! 3860: if { (ac_try="$ac_compile"
! 3861: case "(($ac_try" in
! 3862: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3863: *) ac_try_echo=$ac_try;;
! 3864: esac
! 3865: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3866: $as_echo "$ac_try_echo") >&5
! 3867: (eval "$ac_compile") 2>conftest.er1
! 3868: ac_status=$?
! 3869: grep -v '^ *+' conftest.er1 >conftest.err
! 3870: rm -f conftest.er1
! 3871: cat conftest.err >&5
! 3872: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3873: (exit $ac_status); } && {
! 3874: test -z "$ac_c_werror_flag" ||
! 3875: test ! -s conftest.err
! 3876: } && test -s conftest.$ac_objext; then
! 3877: ac_header_compiler=yes
! 3878: else
! 3879: $as_echo "$as_me: failed program was:" >&5
! 3880: sed 's/^/| /' conftest.$ac_ext >&5
! 3881:
! 3882: ac_header_compiler=no
! 3883: fi
! 3884:
! 3885: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3886: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3887: $as_echo "$ac_header_compiler" >&6; }
! 3888:
! 3889: # Is the header present?
! 3890: { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
! 3891: $as_echo_n "checking minix/config.h presence... " >&6; }
! 3892: cat >conftest.$ac_ext <<_ACEOF
! 3893: /* confdefs.h. */
! 3894: _ACEOF
! 3895: cat confdefs.h >>conftest.$ac_ext
! 3896: cat >>conftest.$ac_ext <<_ACEOF
! 3897: /* end confdefs.h. */
! 3898: #include <minix/config.h>
! 3899: _ACEOF
! 3900: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3901: case "(($ac_try" in
! 3902: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3903: *) ac_try_echo=$ac_try;;
! 3904: esac
! 3905: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3906: $as_echo "$ac_try_echo") >&5
! 3907: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3908: ac_status=$?
! 3909: grep -v '^ *+' conftest.er1 >conftest.err
! 3910: rm -f conftest.er1
! 3911: cat conftest.err >&5
! 3912: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3913: (exit $ac_status); } >/dev/null && {
! 3914: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3915: test ! -s conftest.err
! 3916: }; then
! 3917: ac_header_preproc=yes
! 3918: else
! 3919: $as_echo "$as_me: failed program was:" >&5
! 3920: sed 's/^/| /' conftest.$ac_ext >&5
! 3921:
! 3922: ac_header_preproc=no
! 3923: fi
! 3924:
! 3925: rm -f conftest.err conftest.$ac_ext
! 3926: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3927: $as_echo "$ac_header_preproc" >&6; }
! 3928:
! 3929: # So? What about this header?
! 3930: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3931: yes:no: )
! 3932: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 3933: $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3934: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
! 3935: $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
! 3936: ac_header_preproc=yes
! 3937: ;;
! 3938: no:yes:* )
! 3939: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
! 3940: $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
! 3941: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
! 3942: $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
! 3943: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
! 3944: $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
! 3945: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
! 3946: $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 3947: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
! 3948: $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
! 3949: { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
! 3950: $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
! 3951:
! 3952: ;;
! 3953: esac
! 3954: { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
! 3955: $as_echo_n "checking for minix/config.h... " >&6; }
! 3956: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 3957: $as_echo_n "(cached) " >&6
! 3958: else
! 3959: ac_cv_header_minix_config_h=$ac_header_preproc
! 3960: fi
! 3961: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
! 3962: $as_echo "$ac_cv_header_minix_config_h" >&6; }
! 3963:
! 3964: fi
! 3965: if test "x$ac_cv_header_minix_config_h" = x""yes; then
! 3966: MINIX=yes
! 3967: else
! 3968: MINIX=
! 3969: fi
! 3970:
! 3971:
! 3972: if test "$MINIX" = yes; then
! 3973:
! 3974: cat >>confdefs.h <<\_ACEOF
! 3975: #define _POSIX_SOURCE 1
! 3976: _ACEOF
! 3977:
! 3978:
! 3979: cat >>confdefs.h <<\_ACEOF
! 3980: #define _POSIX_1_SOURCE 2
! 3981: _ACEOF
! 3982:
! 3983:
! 3984: cat >>confdefs.h <<\_ACEOF
! 3985: #define _MINIX 1
! 3986: _ACEOF
! 3987:
! 3988: fi
! 3989:
! 3990:
! 3991:
! 3992: { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
! 3993: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
! 3994: if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
! 3995: $as_echo_n "(cached) " >&6
! 3996: else
! 3997: cat >conftest.$ac_ext <<_ACEOF
! 3998: /* confdefs.h. */
! 3999: _ACEOF
! 4000: cat confdefs.h >>conftest.$ac_ext
! 4001: cat >>conftest.$ac_ext <<_ACEOF
! 4002: /* end confdefs.h. */
! 4003:
! 4004: # define __EXTENSIONS__ 1
! 4005: $ac_includes_default
! 4006: int
! 4007: main ()
! 4008: {
! 4009:
! 4010: ;
! 4011: return 0;
! 4012: }
! 4013: _ACEOF
! 4014: rm -f conftest.$ac_objext
! 4015: if { (ac_try="$ac_compile"
! 4016: case "(($ac_try" in
! 4017: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4018: *) ac_try_echo=$ac_try;;
! 4019: esac
! 4020: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4021: $as_echo "$ac_try_echo") >&5
! 4022: (eval "$ac_compile") 2>conftest.er1
! 4023: ac_status=$?
! 4024: grep -v '^ *+' conftest.er1 >conftest.err
! 4025: rm -f conftest.er1
! 4026: cat conftest.err >&5
! 4027: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4028: (exit $ac_status); } && {
! 4029: test -z "$ac_c_werror_flag" ||
! 4030: test ! -s conftest.err
! 4031: } && test -s conftest.$ac_objext; then
! 4032: ac_cv_safe_to_define___extensions__=yes
! 4033: else
! 4034: $as_echo "$as_me: failed program was:" >&5
! 4035: sed 's/^/| /' conftest.$ac_ext >&5
! 4036:
! 4037: ac_cv_safe_to_define___extensions__=no
! 4038: fi
! 4039:
! 4040: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4041: fi
! 4042: { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
! 4043: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
! 4044: test $ac_cv_safe_to_define___extensions__ = yes &&
! 4045: cat >>confdefs.h <<\_ACEOF
! 4046: #define __EXTENSIONS__ 1
! 4047: _ACEOF
! 4048:
! 4049: cat >>confdefs.h <<\_ACEOF
! 4050: #define _ALL_SOURCE 1
! 4051: _ACEOF
! 4052:
! 4053: cat >>confdefs.h <<\_ACEOF
! 4054: #define _GNU_SOURCE 1
! 4055: _ACEOF
! 4056:
! 4057: cat >>confdefs.h <<\_ACEOF
! 4058: #define _POSIX_PTHREAD_SEMANTICS 1
! 4059: _ACEOF
! 4060:
! 4061: cat >>confdefs.h <<\_ACEOF
! 4062: #define _TANDEM_SOURCE 1
! 4063: _ACEOF
! 4064:
! 4065:
! 4066:
! 4067:
! 4068:
! 4069:
! 4070:
! 4071:
! 4072: case `pwd` in
! 4073: *\ * | *\ *)
! 4074: { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 4075: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 4076: esac
! 4077:
! 4078:
! 4079:
! 4080: macro_version='2.2.6'
! 4081: macro_revision='1.3012'
! 4082:
! 4083:
! 4084:
! 4085:
! 4086:
! 4087:
! 4088:
! 4089:
! 4090:
! 4091:
! 4092:
! 4093:
! 4094:
! 4095: ltmain="$ac_aux_dir/ltmain.sh"
! 4096:
! 4097: { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 4098: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 4099: if test "${ac_cv_path_SED+set}" = set; then
! 4100: $as_echo_n "(cached) " >&6
! 4101: else
! 4102: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
! 4103: for ac_i in 1 2 3 4 5 6 7; do
! 4104: ac_script="$ac_script$as_nl$ac_script"
! 4105: done
! 4106: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
! 4107: $as_unset ac_script || ac_script=
! 4108: if test -z "$SED"; then
! 4109: ac_path_SED_found=false
! 4110: # Loop through the user's path and test for each of PROGNAME-LIST
! 4111: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4112: for as_dir in $PATH
! 4113: do
! 4114: IFS=$as_save_IFS
! 4115: test -z "$as_dir" && as_dir=.
! 4116: for ac_prog in sed gsed; do
! 4117: for ac_exec_ext in '' $ac_executable_extensions; do
! 4118: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
! 4119: { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
! 4120: # Check for GNU ac_path_SED and select it if it is found.
! 4121: # Check for GNU $ac_path_SED
! 4122: case `"$ac_path_SED" --version 2>&1` in
! 4123: *GNU*)
! 4124: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
! 4125: *)
! 4126: ac_count=0
! 4127: $as_echo_n 0123456789 >"conftest.in"
! 4128: while :
! 4129: do
! 4130: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4131: mv "conftest.tmp" "conftest.in"
! 4132: cp "conftest.in" "conftest.nl"
! 4133: $as_echo '' >> "conftest.nl"
! 4134: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4135: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4136: ac_count=`expr $ac_count + 1`
! 4137: if test $ac_count -gt ${ac_path_SED_max-0}; then
! 4138: # Best one so far, save it but keep looking for a better one
! 4139: ac_cv_path_SED="$ac_path_SED"
! 4140: ac_path_SED_max=$ac_count
! 4141: fi
! 4142: # 10*(2^10) chars as input seems more than enough
! 4143: test $ac_count -gt 10 && break
! 4144: done
! 4145: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4146: esac
! 4147:
! 4148: $ac_path_SED_found && break 3
! 4149: done
! 4150: done
! 4151: done
! 4152: IFS=$as_save_IFS
! 4153: if test -z "$ac_cv_path_SED"; then
! 4154: { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
! 4155: $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
! 4156: { (exit 1); exit 1; }; }
! 4157: fi
! 4158: else
! 4159: ac_cv_path_SED=$SED
! 4160: fi
! 4161:
! 4162: fi
! 4163: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
! 4164: $as_echo "$ac_cv_path_SED" >&6; }
! 4165: SED="$ac_cv_path_SED"
! 4166: rm -f conftest.sed
! 4167:
! 4168: test -z "$SED" && SED=sed
! 4169: Xsed="$SED -e 1s/^X//"
! 4170:
! 4171:
! 4172:
! 4173:
! 4174:
! 4175:
! 4176:
! 4177:
! 4178:
! 4179:
! 4180:
! 4181: { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
! 4182: $as_echo_n "checking for fgrep... " >&6; }
! 4183: if test "${ac_cv_path_FGREP+set}" = set; then
! 4184: $as_echo_n "(cached) " >&6
! 4185: else
! 4186: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
! 4187: then ac_cv_path_FGREP="$GREP -F"
! 4188: else
! 4189: if test -z "$FGREP"; then
! 4190: ac_path_FGREP_found=false
! 4191: # Loop through the user's path and test for each of PROGNAME-LIST
! 4192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4193: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4194: do
! 4195: IFS=$as_save_IFS
! 4196: test -z "$as_dir" && as_dir=.
! 4197: for ac_prog in fgrep; do
! 4198: for ac_exec_ext in '' $ac_executable_extensions; do
! 4199: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4200: { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
! 4201: # Check for GNU ac_path_FGREP and select it if it is found.
! 4202: # Check for GNU $ac_path_FGREP
! 4203: case `"$ac_path_FGREP" --version 2>&1` in
! 4204: *GNU*)
! 4205: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
! 4206: *)
! 4207: ac_count=0
! 4208: $as_echo_n 0123456789 >"conftest.in"
! 4209: while :
! 4210: do
! 4211: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4212: mv "conftest.tmp" "conftest.in"
! 4213: cp "conftest.in" "conftest.nl"
! 4214: $as_echo 'FGREP' >> "conftest.nl"
! 4215: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4216: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4217: ac_count=`expr $ac_count + 1`
! 4218: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
! 4219: # Best one so far, save it but keep looking for a better one
! 4220: ac_cv_path_FGREP="$ac_path_FGREP"
! 4221: ac_path_FGREP_max=$ac_count
! 4222: fi
! 4223: # 10*(2^10) chars as input seems more than enough
! 4224: test $ac_count -gt 10 && break
! 4225: done
! 4226: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4227: esac
! 4228:
! 4229: $ac_path_FGREP_found && break 3
! 4230: done
! 4231: done
! 4232: done
! 4233: IFS=$as_save_IFS
! 4234: if test -z "$ac_cv_path_FGREP"; then
! 4235: { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 4236: $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 4237: { (exit 1); exit 1; }; }
! 4238: fi
! 4239: else
! 4240: ac_cv_path_FGREP=$FGREP
! 4241: fi
! 4242:
! 4243: fi
! 4244: fi
! 4245: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
! 4246: $as_echo "$ac_cv_path_FGREP" >&6; }
! 4247: FGREP="$ac_cv_path_FGREP"
! 4248:
! 4249:
! 4250: test -z "$GREP" && GREP=grep
! 4251:
! 4252:
! 4253:
! 4254:
! 4255:
! 4256:
! 4257:
! 4258:
! 4259:
! 4260:
! 4261:
! 4262:
! 4263:
! 4264:
! 4265:
! 4266:
! 4267:
! 4268:
! 4269:
! 4270: # Check whether --with-gnu-ld was given.
! 4271: if test "${with_gnu_ld+set}" = set; then
! 4272: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 4273: else
! 4274: with_gnu_ld=no
! 4275: fi
! 4276:
! 4277: ac_prog=ld
! 4278: if test "$GCC" = yes; then
! 4279: # Check if gcc -print-prog-name=ld gives a path.
! 4280: { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 4281: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4282: case $host in
! 4283: *-*-mingw*)
! 4284: # gcc leaves a trailing carriage return which upsets mingw
! 4285: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4286: *)
! 4287: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4288: esac
! 4289: case $ac_prog in
! 4290: # Accept absolute paths.
! 4291: [\\/]* | ?:[\\/]*)
! 4292: re_direlt='/[^/][^/]*/\.\./'
! 4293: # Canonicalize the pathname of ld
! 4294: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 4295: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 4296: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 4297: done
! 4298: test -z "$LD" && LD="$ac_prog"
! 4299: ;;
! 4300: "")
! 4301: # If it fails, then pretend we aren't using GCC.
! 4302: ac_prog=ld
! 4303: ;;
! 4304: *)
! 4305: # If it is relative, then search for the first ld in PATH.
! 4306: with_gnu_ld=unknown
! 4307: ;;
! 4308: esac
! 4309: elif test "$with_gnu_ld" = yes; then
! 4310: { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
! 4311: $as_echo_n "checking for GNU ld... " >&6; }
! 4312: else
! 4313: { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 4314: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4315: fi
! 4316: if test "${lt_cv_path_LD+set}" = set; then
! 4317: $as_echo_n "(cached) " >&6
! 4318: else
! 4319: if test -z "$LD"; then
! 4320: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4321: for ac_dir in $PATH; do
! 4322: IFS="$lt_save_ifs"
! 4323: test -z "$ac_dir" && ac_dir=.
! 4324: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4325: lt_cv_path_LD="$ac_dir/$ac_prog"
! 4326: # Check to see if the program is GNU ld. I'd rather use --version,
! 4327: # but apparently some variants of GNU ld only accept -v.
! 4328: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4329: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4330: *GNU* | *'with BFD'*)
! 4331: test "$with_gnu_ld" != no && break
! 4332: ;;
! 4333: *)
! 4334: test "$with_gnu_ld" != yes && break
! 4335: ;;
! 4336: esac
! 4337: fi
! 4338: done
! 4339: IFS="$lt_save_ifs"
! 4340: else
! 4341: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 4342: fi
! 4343: fi
! 4344:
! 4345: LD="$lt_cv_path_LD"
! 4346: if test -n "$LD"; then
! 4347: { $as_echo "$as_me:$LINENO: result: $LD" >&5
! 4348: $as_echo "$LD" >&6; }
! 4349: else
! 4350: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4351: $as_echo "no" >&6; }
! 4352: fi
! 4353: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 4354: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 4355: { (exit 1); exit 1; }; }
! 4356: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 4357: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4358: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 4359: $as_echo_n "(cached) " >&6
! 4360: else
! 4361: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4362: case `$LD -v 2>&1 </dev/null` in
! 4363: *GNU* | *'with BFD'*)
! 4364: lt_cv_prog_gnu_ld=yes
! 4365: ;;
! 4366: *)
! 4367: lt_cv_prog_gnu_ld=no
! 4368: ;;
! 4369: esac
! 4370: fi
! 4371: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 4372: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4373: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4374:
! 4375:
! 4376:
! 4377:
! 4378:
! 4379:
! 4380:
! 4381:
! 4382:
! 4383: { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
! 4384: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
! 4385: if test "${lt_cv_path_NM+set}" = set; then
! 4386: $as_echo_n "(cached) " >&6
! 4387: else
! 4388: if test -n "$NM"; then
! 4389: # Let the user override the test.
! 4390: lt_cv_path_NM="$NM"
! 4391: else
! 4392: lt_nm_to_check="${ac_tool_prefix}nm"
! 4393: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 4394: lt_nm_to_check="$lt_nm_to_check nm"
! 4395: fi
! 4396: for lt_tmp_nm in $lt_nm_to_check; do
! 4397: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4398: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 4399: IFS="$lt_save_ifs"
! 4400: test -z "$ac_dir" && ac_dir=.
! 4401: tmp_nm="$ac_dir/$lt_tmp_nm"
! 4402: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 4403: # Check to see if the nm accepts a BSD-compat flag.
! 4404: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 4405: # nm: unknown option "B" ignored
! 4406: # Tru64's nm complains that /dev/null is an invalid object file
! 4407: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 4408: */dev/null* | *'Invalid file or object type'*)
! 4409: lt_cv_path_NM="$tmp_nm -B"
! 4410: break
! 4411: ;;
! 4412: *)
! 4413: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 4414: */dev/null*)
! 4415: lt_cv_path_NM="$tmp_nm -p"
! 4416: break
! 4417: ;;
! 4418: *)
! 4419: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 4420: continue # so that we can try to find one that supports BSD flags
! 4421: ;;
! 4422: esac
! 4423: ;;
! 4424: esac
! 4425: fi
! 4426: done
! 4427: IFS="$lt_save_ifs"
! 4428: done
! 4429: : ${lt_cv_path_NM=no}
! 4430: fi
! 4431: fi
! 4432: { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 4433: $as_echo "$lt_cv_path_NM" >&6; }
! 4434: if test "$lt_cv_path_NM" != "no"; then
! 4435: NM="$lt_cv_path_NM"
! 4436: else
! 4437: # Didn't find any BSD compatible name lister, look for dumpbin.
! 4438: if test -n "$ac_tool_prefix"; then
! 4439: for ac_prog in "dumpbin -symbols" "link -dump -symbols"
! 4440: do
! 4441: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4442: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4443: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4444: $as_echo_n "checking for $ac_word... " >&6; }
! 4445: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
! 4446: $as_echo_n "(cached) " >&6
! 4447: else
! 4448: if test -n "$DUMPBIN"; then
! 4449: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 4450: else
! 4451: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4452: for as_dir in $PATH
! 4453: do
! 4454: IFS=$as_save_IFS
! 4455: test -z "$as_dir" && as_dir=.
! 4456: for ac_exec_ext in '' $ac_executable_extensions; do
! 4457: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4458: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 4459: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4460: break 2
! 4461: fi
! 4462: done
! 4463: done
! 4464: IFS=$as_save_IFS
! 4465:
! 4466: fi
! 4467: fi
! 4468: DUMPBIN=$ac_cv_prog_DUMPBIN
! 4469: if test -n "$DUMPBIN"; then
! 4470: { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
! 4471: $as_echo "$DUMPBIN" >&6; }
! 4472: else
! 4473: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4474: $as_echo "no" >&6; }
! 4475: fi
! 4476:
! 4477:
! 4478: test -n "$DUMPBIN" && break
! 4479: done
! 4480: fi
! 4481: if test -z "$DUMPBIN"; then
! 4482: ac_ct_DUMPBIN=$DUMPBIN
! 4483: for ac_prog in "dumpbin -symbols" "link -dump -symbols"
! 4484: do
! 4485: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4486: set dummy $ac_prog; ac_word=$2
! 4487: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4488: $as_echo_n "checking for $ac_word... " >&6; }
! 4489: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
! 4490: $as_echo_n "(cached) " >&6
! 4491: else
! 4492: if test -n "$ac_ct_DUMPBIN"; then
! 4493: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 4494: else
! 4495: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4496: for as_dir in $PATH
! 4497: do
! 4498: IFS=$as_save_IFS
! 4499: test -z "$as_dir" && as_dir=.
! 4500: for ac_exec_ext in '' $ac_executable_extensions; do
! 4501: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4502: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 4503: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4504: break 2
! 4505: fi
! 4506: done
! 4507: done
! 4508: IFS=$as_save_IFS
! 4509:
! 4510: fi
! 4511: fi
! 4512: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4513: if test -n "$ac_ct_DUMPBIN"; then
! 4514: { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
! 4515: $as_echo "$ac_ct_DUMPBIN" >&6; }
! 4516: else
! 4517: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4518: $as_echo "no" >&6; }
! 4519: fi
! 4520:
! 4521:
! 4522: test -n "$ac_ct_DUMPBIN" && break
! 4523: done
! 4524:
! 4525: if test "x$ac_ct_DUMPBIN" = x; then
! 4526: DUMPBIN=":"
! 4527: else
! 4528: case $cross_compiling:$ac_tool_warned in
! 4529: yes:)
! 4530: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 4531: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 4532: ac_tool_warned=yes ;;
! 4533: esac
! 4534: DUMPBIN=$ac_ct_DUMPBIN
! 4535: fi
! 4536: fi
! 4537:
! 4538:
! 4539: if test "$DUMPBIN" != ":"; then
! 4540: NM="$DUMPBIN"
! 4541: fi
! 4542: fi
! 4543: test -z "$NM" && NM=nm
! 4544:
! 4545:
! 4546:
! 4547:
! 4548:
! 4549:
! 4550: { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
! 4551: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
! 4552: if test "${lt_cv_nm_interface+set}" = set; then
! 4553: $as_echo_n "(cached) " >&6
! 4554: else
! 4555: lt_cv_nm_interface="BSD nm"
! 4556: echo "int some_variable = 0;" > conftest.$ac_ext
! 4557: (eval echo "\"\$as_me:4557: $ac_compile\"" >&5)
! 4558: (eval "$ac_compile" 2>conftest.err)
! 4559: cat conftest.err >&5
! 4560: (eval echo "\"\$as_me:4560: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4561: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4562: cat conftest.err >&5
! 4563: (eval echo "\"\$as_me:4563: output\"" >&5)
! 4564: cat conftest.out >&5
! 4565: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4566: lt_cv_nm_interface="MS dumpbin"
! 4567: fi
! 4568: rm -f conftest*
! 4569: fi
! 4570: { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
! 4571: $as_echo "$lt_cv_nm_interface" >&6; }
! 4572:
! 4573: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 4574: $as_echo_n "checking whether ln -s works... " >&6; }
! 4575: LN_S=$as_ln_s
! 4576: if test "$LN_S" = "ln -s"; then
! 4577: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 4578: $as_echo "yes" >&6; }
! 4579: else
! 4580: { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 4581: $as_echo "no, using $LN_S" >&6; }
! 4582: fi
! 4583:
! 4584: # find the maximum length of command line arguments
! 4585: { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 4586: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 4587: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
! 4588: $as_echo_n "(cached) " >&6
! 4589: else
! 4590: i=0
! 4591: teststring="ABCD"
! 4592:
! 4593: case $build_os in
! 4594: msdosdjgpp*)
! 4595: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4596: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4597: # during glob expansion). Even if it were fixed, the result of this
! 4598: # check would be larger than it should be.
! 4599: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4600: ;;
! 4601:
! 4602: gnu*)
! 4603: # Under GNU Hurd, this test is not required because there is
! 4604: # no limit to the length of command line arguments.
! 4605: # Libtool will interpret -1 as no limit whatsoever
! 4606: lt_cv_sys_max_cmd_len=-1;
! 4607: ;;
! 4608:
! 4609: cygwin* | mingw* | cegcc*)
! 4610: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4611: # about 5 minutes as the teststring grows exponentially.
! 4612: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4613: # you end up with a "frozen" computer, even though with patience
! 4614: # the test eventually succeeds (with a max line length of 256k).
! 4615: # Instead, let's just punt: use the minimum linelength reported by
! 4616: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4617: lt_cv_sys_max_cmd_len=8192;
! 4618: ;;
! 4619:
! 4620: amigaos*)
! 4621: # On AmigaOS with pdksh, this test takes hours, literally.
! 4622: # So we just punt and use a minimum line length of 8192.
! 4623: lt_cv_sys_max_cmd_len=8192;
! 4624: ;;
! 4625:
! 4626: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 4627: # This has been around since 386BSD, at least. Likely further.
! 4628: if test -x /sbin/sysctl; then
! 4629: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4630: elif test -x /usr/sbin/sysctl; then
! 4631: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4632: else
! 4633: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4634: fi
! 4635: # And add a safety zone
! 4636: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4637: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4638: ;;
! 4639:
! 4640: interix*)
! 4641: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 4642: lt_cv_sys_max_cmd_len=196608
! 4643: ;;
! 4644:
! 4645: osf*)
! 4646: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 4647: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 4648: # nice to cause kernel panics so lets avoid the loop below.
! 4649: # First set a reasonable default.
! 4650: lt_cv_sys_max_cmd_len=16384
! 4651: #
! 4652: if test -x /sbin/sysconfig; then
! 4653: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 4654: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 4655: esac
! 4656: fi
! 4657: ;;
! 4658: sco3.2v5*)
! 4659: lt_cv_sys_max_cmd_len=102400
! 4660: ;;
! 4661: sysv5* | sco5v6* | sysv4.2uw2*)
! 4662: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 4663: if test -n "$kargmax"; then
! 4664: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 4665: else
! 4666: lt_cv_sys_max_cmd_len=32768
! 4667: fi
! 4668: ;;
! 4669: *)
! 4670: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 4671: if test -n "$lt_cv_sys_max_cmd_len"; then
! 4672: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4673: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4674: else
! 4675: # Make teststring a little bigger before we do anything with it.
! 4676: # a 1K string should be a reasonable start.
! 4677: for i in 1 2 3 4 5 6 7 8 ; do
! 4678: teststring=$teststring$teststring
! 4679: done
! 4680: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 4681: # If test is not a shell built-in, we'll probably end up computing a
! 4682: # maximum length that is only half of the actual maximum length, but
! 4683: # we can't tell.
! 4684: while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
! 4685: = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
! 4686: test $i != 17 # 1/2 MB should be enough
! 4687: do
! 4688: i=`expr $i + 1`
! 4689: teststring=$teststring$teststring
! 4690: done
! 4691: # Only check the string length outside the loop.
! 4692: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 4693: teststring=
! 4694: # Add a significant safety factor because C++ compilers can tack on
! 4695: # massive amounts of additional arguments before passing them to the
! 4696: # linker. It appears as though 1/2 is a usable value.
! 4697: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 4698: fi
! 4699: ;;
! 4700: esac
! 4701:
! 4702: fi
! 4703:
! 4704: if test -n $lt_cv_sys_max_cmd_len ; then
! 4705: { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 4706: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 4707: else
! 4708: { $as_echo "$as_me:$LINENO: result: none" >&5
! 4709: $as_echo "none" >&6; }
! 4710: fi
! 4711: max_cmd_len=$lt_cv_sys_max_cmd_len
! 4712:
! 4713:
! 4714:
! 4715:
! 4716:
! 4717:
! 4718: : ${CP="cp -f"}
! 4719: : ${MV="mv -f"}
! 4720: : ${RM="rm -f"}
! 4721:
! 4722: { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
! 4723: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
! 4724: # Try some XSI features
! 4725: xsi_shell=no
! 4726: ( _lt_dummy="a/b/c"
! 4727: test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
! 4728: = c,a/b,, \
! 4729: && eval 'test $(( 1 + 1 )) -eq 2 \
! 4730: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 4731: && xsi_shell=yes
! 4732: { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
! 4733: $as_echo "$xsi_shell" >&6; }
! 4734:
! 4735:
! 4736: { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
! 4737: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
! 4738: lt_shell_append=no
! 4739: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 4740: >/dev/null 2>&1 \
! 4741: && lt_shell_append=yes
! 4742: { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
! 4743: $as_echo "$lt_shell_append" >&6; }
! 4744:
! 4745:
! 4746: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 4747: lt_unset=unset
! 4748: else
! 4749: lt_unset=false
! 4750: fi
! 4751:
! 4752:
! 4753:
! 4754:
! 4755:
! 4756: # test EBCDIC or ASCII
! 4757: case `echo X|tr X '\101'` in
! 4758: A) # ASCII based system
! 4759: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 4760: lt_SP2NL='tr \040 \012'
! 4761: lt_NL2SP='tr \015\012 \040\040'
! 4762: ;;
! 4763: *) # EBCDIC based system
! 4764: lt_SP2NL='tr \100 \n'
! 4765: lt_NL2SP='tr \r\n \100\100'
! 4766: ;;
! 4767: esac
! 4768:
! 4769:
! 4770:
! 4771:
! 4772:
! 4773:
! 4774:
! 4775:
! 4776:
! 4777: { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4778: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 4779: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4780: $as_echo_n "(cached) " >&6
! 4781: else
! 4782: lt_cv_ld_reload_flag='-r'
! 4783: fi
! 4784: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4785: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 4786: reload_flag=$lt_cv_ld_reload_flag
! 4787: case $reload_flag in
! 4788: "" | " "*) ;;
! 4789: *) reload_flag=" $reload_flag" ;;
! 4790: esac
! 4791: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4792: case $host_os in
! 4793: darwin*)
! 4794: if test "$GCC" = yes; then
! 4795: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4796: else
! 4797: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4798: fi
! 4799: ;;
! 4800: esac
! 4801:
! 4802:
! 4803:
! 4804:
! 4805:
! 4806:
! 4807:
! 4808:
! 4809:
! 4810: if test -n "$ac_tool_prefix"; then
! 4811: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 4812: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 4813: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4814: $as_echo_n "checking for $ac_word... " >&6; }
! 4815: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 4816: $as_echo_n "(cached) " >&6
! 4817: else
! 4818: if test -n "$OBJDUMP"; then
! 4819: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 4820: else
! 4821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4822: for as_dir in $PATH
! 4823: do
! 4824: IFS=$as_save_IFS
! 4825: test -z "$as_dir" && as_dir=.
! 4826: for ac_exec_ext in '' $ac_executable_extensions; do
! 4827: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4828: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 4829: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4830: break 2
! 4831: fi
! 4832: done
! 4833: done
! 4834: IFS=$as_save_IFS
! 4835:
! 4836: fi
! 4837: fi
! 4838: OBJDUMP=$ac_cv_prog_OBJDUMP
! 4839: if test -n "$OBJDUMP"; then
! 4840: { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 4841: $as_echo "$OBJDUMP" >&6; }
! 4842: else
! 4843: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4844: $as_echo "no" >&6; }
! 4845: fi
! 4846:
! 4847:
! 4848: fi
! 4849: if test -z "$ac_cv_prog_OBJDUMP"; then
! 4850: ac_ct_OBJDUMP=$OBJDUMP
! 4851: # Extract the first word of "objdump", so it can be a program name with args.
! 4852: set dummy objdump; ac_word=$2
! 4853: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4854: $as_echo_n "checking for $ac_word... " >&6; }
! 4855: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 4856: $as_echo_n "(cached) " >&6
! 4857: else
! 4858: if test -n "$ac_ct_OBJDUMP"; then
! 4859: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 4860: else
! 4861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4862: for as_dir in $PATH
! 4863: do
! 4864: IFS=$as_save_IFS
! 4865: test -z "$as_dir" && as_dir=.
! 4866: for ac_exec_ext in '' $ac_executable_extensions; do
! 4867: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4868: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 4869: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4870: break 2
! 4871: fi
! 4872: done
! 4873: done
! 4874: IFS=$as_save_IFS
! 4875:
! 4876: fi
! 4877: fi
! 4878: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 4879: if test -n "$ac_ct_OBJDUMP"; then
! 4880: { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 4881: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 4882: else
! 4883: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4884: $as_echo "no" >&6; }
! 4885: fi
! 4886:
! 4887: if test "x$ac_ct_OBJDUMP" = x; then
! 4888: OBJDUMP="false"
! 4889: else
! 4890: case $cross_compiling:$ac_tool_warned in
! 4891: yes:)
! 4892: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 4893: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 4894: ac_tool_warned=yes ;;
! 4895: esac
! 4896: OBJDUMP=$ac_ct_OBJDUMP
! 4897: fi
! 4898: else
! 4899: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 4900: fi
! 4901:
! 4902: test -z "$OBJDUMP" && OBJDUMP=objdump
! 4903:
! 4904:
! 4905:
! 4906:
! 4907:
! 4908:
! 4909: { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4910: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 4911: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4912: $as_echo_n "(cached) " >&6
! 4913: else
! 4914: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4915: lt_cv_file_magic_test_file=
! 4916: lt_cv_deplibs_check_method='unknown'
! 4917: # Need to set the preceding variable on all platforms that support
! 4918: # interlibrary dependencies.
! 4919: # 'none' -- dependencies not supported.
! 4920: # `unknown' -- same as none, but documents that we really don't know.
! 4921: # 'pass_all' -- all dependencies passed with no checks.
! 4922: # 'test_compile' -- check by making test program.
! 4923: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4924: # which responds to the $file_magic_cmd with a given extended regex.
! 4925: # If you have `file' or equivalent on your system and you're not sure
! 4926: # whether `pass_all' will *always* work, you probably want this one.
! 4927:
! 4928: case $host_os in
! 4929: aix[4-9]*)
! 4930: lt_cv_deplibs_check_method=pass_all
! 4931: ;;
! 4932:
! 4933: beos*)
! 4934: lt_cv_deplibs_check_method=pass_all
! 4935: ;;
! 4936:
! 4937: bsdi[45]*)
! 4938: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4939: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4940: lt_cv_file_magic_test_file=/shlib/libc.so
! 4941: ;;
! 4942:
! 4943: cygwin*)
! 4944: # func_win32_libid is a shell function defined in ltmain.sh
! 4945: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4946: lt_cv_file_magic_cmd='func_win32_libid'
! 4947: ;;
! 4948:
! 4949: mingw* | pw32*)
! 4950: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4951: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4952: # unless we find 'file', for example because we are cross-compiling.
! 4953: if ( file / ) >/dev/null 2>&1; then
! 4954: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4955: lt_cv_file_magic_cmd='func_win32_libid'
! 4956: else
! 4957: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 4958: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4959: fi
! 4960: ;;
! 4961:
! 4962: cegcc)
! 4963: # use the weaker test based on 'objdump'. See mingw*.
! 4964: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 4965: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4966: ;;
! 4967:
! 4968: darwin* | rhapsody*)
! 4969: lt_cv_deplibs_check_method=pass_all
! 4970: ;;
! 4971:
! 4972: freebsd* | dragonfly*)
! 4973: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 4974: case $host_cpu in
! 4975: i*86 )
! 4976: # Not sure whether the presence of OpenBSD here was a mistake.
! 4977: # Let's accept both of them until this is cleared up.
! 4978: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 4979: lt_cv_file_magic_cmd=/usr/bin/file
! 4980: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 4981: ;;
! 4982: esac
! 4983: else
! 4984: lt_cv_deplibs_check_method=pass_all
! 4985: fi
! 4986: ;;
! 4987:
! 4988: gnu*)
! 4989: lt_cv_deplibs_check_method=pass_all
! 4990: ;;
! 4991:
! 4992: hpux10.20* | hpux11*)
! 4993: lt_cv_file_magic_cmd=/usr/bin/file
! 4994: case $host_cpu in
! 4995: ia64*)
! 4996: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4997: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4998: ;;
! 4999: hppa*64*)
! 5000: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
! 5001: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 5002: ;;
! 5003: *)
! 5004: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 5005: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 5006: ;;
! 5007: esac
! 5008: ;;
! 5009:
! 5010: interix[3-9]*)
! 5011: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 5012: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 5013: ;;
! 5014:
! 5015: irix5* | irix6* | nonstopux*)
! 5016: case $LD in
! 5017: *-32|*"-32 ") libmagic=32-bit;;
! 5018: *-n32|*"-n32 ") libmagic=N32;;
! 5019: *-64|*"-64 ") libmagic=64-bit;;
! 5020: *) libmagic=never-match;;
! 5021: esac
! 5022: lt_cv_deplibs_check_method=pass_all
! 5023: ;;
! 5024:
! 5025: # This must be Linux ELF.
! 5026: linux* | k*bsd*-gnu)
! 5027: lt_cv_deplibs_check_method=pass_all
! 5028: ;;
! 5029:
! 5030: netbsd*)
! 5031: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 5032: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5033: else
! 5034: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 5035: fi
! 5036: ;;
! 5037:
! 5038: newos6*)
! 5039: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 5040: lt_cv_file_magic_cmd=/usr/bin/file
! 5041: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 5042: ;;
! 5043:
! 5044: *nto* | *qnx*)
! 5045: lt_cv_deplibs_check_method=pass_all
! 5046: ;;
! 5047:
! 5048: openbsd*)
! 5049: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 5050: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 5051: else
! 5052: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5053: fi
! 5054: ;;
! 5055:
! 5056: osf3* | osf4* | osf5*)
! 5057: lt_cv_deplibs_check_method=pass_all
! 5058: ;;
! 5059:
! 5060: rdos*)
! 5061: lt_cv_deplibs_check_method=pass_all
! 5062: ;;
! 5063:
! 5064: solaris*)
! 5065: lt_cv_deplibs_check_method=pass_all
! 5066: ;;
! 5067:
! 5068: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 5069: lt_cv_deplibs_check_method=pass_all
! 5070: ;;
! 5071:
! 5072: sysv4 | sysv4.3*)
! 5073: case $host_vendor in
! 5074: motorola)
! 5075: 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]'
! 5076: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 5077: ;;
! 5078: ncr)
! 5079: lt_cv_deplibs_check_method=pass_all
! 5080: ;;
! 5081: sequent)
! 5082: lt_cv_file_magic_cmd='/bin/file'
! 5083: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 5084: ;;
! 5085: sni)
! 5086: lt_cv_file_magic_cmd='/bin/file'
! 5087: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 5088: lt_cv_file_magic_test_file=/lib/libc.so
! 5089: ;;
! 5090: siemens)
! 5091: lt_cv_deplibs_check_method=pass_all
! 5092: ;;
! 5093: pc)
! 5094: lt_cv_deplibs_check_method=pass_all
! 5095: ;;
! 5096: esac
! 5097: ;;
! 5098:
! 5099: tpf*)
! 5100: lt_cv_deplibs_check_method=pass_all
! 5101: ;;
! 5102: esac
! 5103:
! 5104: fi
! 5105: { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 5106: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 5107: file_magic_cmd=$lt_cv_file_magic_cmd
! 5108: deplibs_check_method=$lt_cv_deplibs_check_method
! 5109: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 5110:
! 5111:
! 5112:
! 5113:
! 5114:
! 5115:
! 5116:
! 5117:
! 5118:
! 5119:
! 5120:
! 5121:
! 5122: if test -n "$ac_tool_prefix"; then
! 5123: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 5124: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 5125: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5126: $as_echo_n "checking for $ac_word... " >&6; }
! 5127: if test "${ac_cv_prog_AR+set}" = set; then
! 5128: $as_echo_n "(cached) " >&6
! 5129: else
! 5130: if test -n "$AR"; then
! 5131: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5132: else
! 5133: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5134: for as_dir in $PATH
! 5135: do
! 5136: IFS=$as_save_IFS
! 5137: test -z "$as_dir" && as_dir=.
! 5138: for ac_exec_ext in '' $ac_executable_extensions; do
! 5139: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5140: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 5141: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5142: break 2
! 5143: fi
! 5144: done
! 5145: done
! 5146: IFS=$as_save_IFS
! 5147:
! 5148: fi
! 5149: fi
! 5150: AR=$ac_cv_prog_AR
! 5151: if test -n "$AR"; then
! 5152: { $as_echo "$as_me:$LINENO: result: $AR" >&5
! 5153: $as_echo "$AR" >&6; }
! 5154: else
! 5155: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5156: $as_echo "no" >&6; }
! 5157: fi
! 5158:
! 5159:
! 5160: fi
! 5161: if test -z "$ac_cv_prog_AR"; then
! 5162: ac_ct_AR=$AR
! 5163: # Extract the first word of "ar", so it can be a program name with args.
! 5164: set dummy ar; ac_word=$2
! 5165: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5166: $as_echo_n "checking for $ac_word... " >&6; }
! 5167: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
! 5168: $as_echo_n "(cached) " >&6
! 5169: else
! 5170: if test -n "$ac_ct_AR"; then
! 5171: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5172: else
! 5173: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5174: for as_dir in $PATH
! 5175: do
! 5176: IFS=$as_save_IFS
! 5177: test -z "$as_dir" && as_dir=.
! 5178: for ac_exec_ext in '' $ac_executable_extensions; do
! 5179: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5180: ac_cv_prog_ac_ct_AR="ar"
! 5181: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5182: break 2
! 5183: fi
! 5184: done
! 5185: done
! 5186: IFS=$as_save_IFS
! 5187:
! 5188: fi
! 5189: fi
! 5190: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5191: if test -n "$ac_ct_AR"; then
! 5192: { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 5193: $as_echo "$ac_ct_AR" >&6; }
! 5194: else
! 5195: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5196: $as_echo "no" >&6; }
! 5197: fi
! 5198:
! 5199: if test "x$ac_ct_AR" = x; then
! 5200: AR="false"
! 5201: else
! 5202: case $cross_compiling:$ac_tool_warned in
! 5203: yes:)
! 5204: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 5205: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5206: ac_tool_warned=yes ;;
! 5207: esac
! 5208: AR=$ac_ct_AR
! 5209: fi
! 5210: else
! 5211: AR="$ac_cv_prog_AR"
! 5212: fi
! 5213:
! 5214: test -z "$AR" && AR=ar
! 5215: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 5216:
! 5217:
! 5218:
! 5219:
! 5220:
! 5221:
! 5222:
! 5223:
! 5224:
! 5225:
! 5226:
! 5227: if test -n "$ac_tool_prefix"; then
! 5228: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5229: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5230: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5231: $as_echo_n "checking for $ac_word... " >&6; }
! 5232: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5233: $as_echo_n "(cached) " >&6
! 5234: else
! 5235: if test -n "$STRIP"; then
! 5236: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5237: else
! 5238: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5239: for as_dir in $PATH
! 5240: do
! 5241: IFS=$as_save_IFS
! 5242: test -z "$as_dir" && as_dir=.
! 5243: for ac_exec_ext in '' $ac_executable_extensions; do
! 5244: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5245: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5246: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5247: break 2
! 5248: fi
! 5249: done
! 5250: done
! 5251: IFS=$as_save_IFS
! 5252:
! 5253: fi
! 5254: fi
! 5255: STRIP=$ac_cv_prog_STRIP
! 5256: if test -n "$STRIP"; then
! 5257: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 5258: $as_echo "$STRIP" >&6; }
! 5259: else
! 5260: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5261: $as_echo "no" >&6; }
! 5262: fi
! 5263:
! 5264:
! 5265: fi
! 5266: if test -z "$ac_cv_prog_STRIP"; then
! 5267: ac_ct_STRIP=$STRIP
! 5268: # Extract the first word of "strip", so it can be a program name with args.
! 5269: set dummy strip; ac_word=$2
! 5270: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5271: $as_echo_n "checking for $ac_word... " >&6; }
! 5272: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 5273: $as_echo_n "(cached) " >&6
! 5274: else
! 5275: if test -n "$ac_ct_STRIP"; then
! 5276: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 5277: else
! 5278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5279: for as_dir in $PATH
! 5280: do
! 5281: IFS=$as_save_IFS
! 5282: test -z "$as_dir" && as_dir=.
! 5283: for ac_exec_ext in '' $ac_executable_extensions; do
! 5284: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5285: ac_cv_prog_ac_ct_STRIP="strip"
! 5286: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5287: break 2
! 5288: fi
! 5289: done
! 5290: done
! 5291: IFS=$as_save_IFS
! 5292:
! 5293: fi
! 5294: fi
! 5295: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5296: if test -n "$ac_ct_STRIP"; then
! 5297: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 5298: $as_echo "$ac_ct_STRIP" >&6; }
! 5299: else
! 5300: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5301: $as_echo "no" >&6; }
! 5302: fi
! 5303:
! 5304: if test "x$ac_ct_STRIP" = x; then
! 5305: STRIP=":"
! 5306: else
! 5307: case $cross_compiling:$ac_tool_warned in
! 5308: yes:)
! 5309: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 5310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5311: ac_tool_warned=yes ;;
! 5312: esac
! 5313: STRIP=$ac_ct_STRIP
! 5314: fi
! 5315: else
! 5316: STRIP="$ac_cv_prog_STRIP"
! 5317: fi
! 5318:
! 5319: test -z "$STRIP" && STRIP=:
! 5320:
! 5321:
! 5322:
! 5323:
! 5324:
! 5325:
! 5326: if test -n "$ac_tool_prefix"; then
! 5327: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5328: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5329: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5330: $as_echo_n "checking for $ac_word... " >&6; }
! 5331: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 5332: $as_echo_n "(cached) " >&6
! 5333: else
! 5334: if test -n "$RANLIB"; then
! 5335: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5336: else
! 5337: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5338: for as_dir in $PATH
! 5339: do
! 5340: IFS=$as_save_IFS
! 5341: test -z "$as_dir" && as_dir=.
! 5342: for ac_exec_ext in '' $ac_executable_extensions; do
! 5343: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5344: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5345: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5346: break 2
! 5347: fi
! 5348: done
! 5349: done
! 5350: IFS=$as_save_IFS
! 5351:
! 5352: fi
! 5353: fi
! 5354: RANLIB=$ac_cv_prog_RANLIB
! 5355: if test -n "$RANLIB"; then
! 5356: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5357: $as_echo "$RANLIB" >&6; }
! 5358: else
! 5359: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5360: $as_echo "no" >&6; }
! 5361: fi
! 5362:
! 5363:
! 5364: fi
! 5365: if test -z "$ac_cv_prog_RANLIB"; then
! 5366: ac_ct_RANLIB=$RANLIB
! 5367: # Extract the first word of "ranlib", so it can be a program name with args.
! 5368: set dummy ranlib; ac_word=$2
! 5369: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5370: $as_echo_n "checking for $ac_word... " >&6; }
! 5371: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5372: $as_echo_n "(cached) " >&6
! 5373: else
! 5374: if test -n "$ac_ct_RANLIB"; then
! 5375: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5376: else
! 5377: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5378: for as_dir in $PATH
! 5379: do
! 5380: IFS=$as_save_IFS
! 5381: test -z "$as_dir" && as_dir=.
! 5382: for ac_exec_ext in '' $ac_executable_extensions; do
! 5383: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5384: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5385: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5386: break 2
! 5387: fi
! 5388: done
! 5389: done
! 5390: IFS=$as_save_IFS
! 5391:
! 5392: fi
! 5393: fi
! 5394: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5395: if test -n "$ac_ct_RANLIB"; then
! 5396: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5397: $as_echo "$ac_ct_RANLIB" >&6; }
! 5398: else
! 5399: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5400: $as_echo "no" >&6; }
! 5401: fi
! 5402:
! 5403: if test "x$ac_ct_RANLIB" = x; then
! 5404: RANLIB=":"
! 5405: else
! 5406: case $cross_compiling:$ac_tool_warned in
! 5407: yes:)
! 5408: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 5409: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5410: ac_tool_warned=yes ;;
! 5411: esac
! 5412: RANLIB=$ac_ct_RANLIB
! 5413: fi
! 5414: else
! 5415: RANLIB="$ac_cv_prog_RANLIB"
! 5416: fi
! 5417:
! 5418: test -z "$RANLIB" && RANLIB=:
! 5419:
! 5420:
! 5421:
! 5422:
! 5423:
! 5424:
! 5425: # Determine commands to create old-style static archives.
! 5426: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 5427: old_postinstall_cmds='chmod 644 $oldlib'
! 5428: old_postuninstall_cmds=
! 5429:
! 5430: if test -n "$RANLIB"; then
! 5431: case $host_os in
! 5432: openbsd*)
! 5433: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 5434: ;;
! 5435: *)
! 5436: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 5437: ;;
! 5438: esac
! 5439: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 5440: fi
! 5441:
! 5442:
! 5443:
! 5444:
! 5445:
! 5446:
! 5447:
! 5448:
! 5449:
! 5450:
! 5451:
! 5452:
! 5453:
! 5454:
! 5455:
! 5456:
! 5457:
! 5458:
! 5459:
! 5460:
! 5461:
! 5462:
! 5463:
! 5464:
! 5465:
! 5466:
! 5467:
! 5468:
! 5469:
! 5470:
! 5471:
! 5472:
! 5473:
! 5474:
! 5475: # If no C compiler was specified, use CC.
! 5476: LTCC=${LTCC-"$CC"}
! 5477:
! 5478: # If no C compiler flags were specified, use CFLAGS.
! 5479: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 5480:
! 5481: # Allow CC to be a program name with arguments.
! 5482: compiler=$CC
! 5483:
! 5484:
! 5485: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5486: { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 5487: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 5488: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 5489: $as_echo_n "(cached) " >&6
! 5490: else
! 5491:
! 5492: # These are sane defaults that work on at least a few old systems.
! 5493: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 5494:
! 5495: # Character class describing NM global symbol codes.
! 5496: symcode='[BCDEGRST]'
! 5497:
! 5498: # Regexp to match symbols that can be accessed directly from C.
! 5499: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 5500:
! 5501: # Define system-specific variables.
! 5502: case $host_os in
! 5503: aix*)
! 5504: symcode='[BCDT]'
! 5505: ;;
! 5506: cygwin* | mingw* | pw32* | cegcc*)
! 5507: symcode='[ABCDGISTW]'
! 5508: ;;
! 5509: hpux*)
! 5510: if test "$host_cpu" = ia64; then
! 5511: symcode='[ABCDEGRST]'
! 5512: fi
! 5513: ;;
! 5514: irix* | nonstopux*)
! 5515: symcode='[BCDEGRST]'
! 5516: ;;
! 5517: osf*)
! 5518: symcode='[BCDEGQRST]'
! 5519: ;;
! 5520: solaris*)
! 5521: symcode='[BDRT]'
! 5522: ;;
! 5523: sco3.2v5*)
! 5524: symcode='[DT]'
! 5525: ;;
! 5526: sysv4.2uw2*)
! 5527: symcode='[DT]'
! 5528: ;;
! 5529: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5530: symcode='[ABDT]'
! 5531: ;;
! 5532: sysv4)
! 5533: symcode='[DFNSTU]'
! 5534: ;;
! 5535: esac
! 5536:
! 5537: # If we're using GNU nm, then use its standard symbol codes.
! 5538: case `$NM -V 2>&1` in
! 5539: *GNU* | *'with BFD'*)
! 5540: symcode='[ABCDGIRSTW]' ;;
! 5541: esac
! 5542:
! 5543: # Transform an extracted symbol line into a proper C declaration.
! 5544: # Some systems (esp. on ia64) link data and code symbols differently,
! 5545: # so use this general approach.
! 5546: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 5547:
! 5548: # Transform an extracted symbol line into symbol name and symbol address
! 5549: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 5550: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
! 5551:
! 5552: # Handle CRLF in mingw tool chain
! 5553: opt_cr=
! 5554: case $build_os in
! 5555: mingw*)
! 5556: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5557: ;;
! 5558: esac
! 5559:
! 5560: # Try without a prefix underscore, then with it.
! 5561: for ac_symprfx in "" "_"; do
! 5562:
! 5563: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5564: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 5565:
! 5566: # Write the raw and C identifiers.
! 5567: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 5568: # Fake it for dumpbin and say T for any non-static function
! 5569: # and D for any global variable.
! 5570: # Also find C++ and __fastcall symbols from MSVC++,
! 5571: # which start with @ or ?.
! 5572: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 5573: " {last_section=section; section=\$ 3};"\
! 5574: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 5575: " \$ 0!~/External *\|/{next};"\
! 5576: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 5577: " {if(hide[section]) next};"\
! 5578: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 5579: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 5580: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 5581: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 5582: " ' prfx=^$ac_symprfx"
! 5583: else
! 5584: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 5585: fi
! 5586:
! 5587: # Check to see that the pipe works correctly.
! 5588: pipe_works=no
! 5589:
! 5590: rm -f conftest*
! 5591: cat > conftest.$ac_ext <<_LT_EOF
! 5592: #ifdef __cplusplus
! 5593: extern "C" {
! 5594: #endif
! 5595: char nm_test_var;
! 5596: void nm_test_func(void);
! 5597: void nm_test_func(void){}
! 5598: #ifdef __cplusplus
! 5599: }
! 5600: #endif
! 5601: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5602: _LT_EOF
! 5603:
! 5604: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5605: (eval $ac_compile) 2>&5
! 5606: ac_status=$?
! 5607: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5608: (exit $ac_status); }; then
! 5609: # Now try to grab the symbols.
! 5610: nlist=conftest.nm
! 5611: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 5612: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 5613: ac_status=$?
! 5614: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5615: (exit $ac_status); } && test -s "$nlist"; then
! 5616: # Try sorting and uniquifying the output.
! 5617: if sort "$nlist" | uniq > "$nlist"T; then
! 5618: mv -f "$nlist"T "$nlist"
! 5619: else
! 5620: rm -f "$nlist"T
! 5621: fi
! 5622:
! 5623: # Make sure that we snagged all the symbols we need.
! 5624: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 5625: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 5626: cat <<_LT_EOF > conftest.$ac_ext
! 5627: #ifdef __cplusplus
! 5628: extern "C" {
! 5629: #endif
! 5630:
! 5631: _LT_EOF
! 5632: # Now generate the symbol file.
! 5633: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 5634:
! 5635: cat <<_LT_EOF >> conftest.$ac_ext
! 5636:
! 5637: /* The mapping between symbol names and symbols. */
! 5638: const struct {
! 5639: const char *name;
! 5640: void *address;
! 5641: }
! 5642: lt__PROGRAM__LTX_preloaded_symbols[] =
! 5643: {
! 5644: { "@PROGRAM@", (void *) 0 },
! 5645: _LT_EOF
! 5646: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 5647: cat <<\_LT_EOF >> conftest.$ac_ext
! 5648: {0, (void *) 0}
! 5649: };
! 5650:
! 5651: /* This works around a problem in FreeBSD linker */
! 5652: #ifdef FREEBSD_WORKAROUND
! 5653: static const void *lt_preloaded_setup() {
! 5654: return lt__PROGRAM__LTX_preloaded_symbols;
! 5655: }
! 5656: #endif
! 5657:
! 5658: #ifdef __cplusplus
! 5659: }
! 5660: #endif
! 5661: _LT_EOF
! 5662: # Now try linking the two files.
! 5663: mv conftest.$ac_objext conftstm.$ac_objext
! 5664: lt_save_LIBS="$LIBS"
! 5665: lt_save_CFLAGS="$CFLAGS"
! 5666: LIBS="conftstm.$ac_objext"
! 5667: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 5668: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5669: (eval $ac_link) 2>&5
! 5670: ac_status=$?
! 5671: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5672: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 5673: pipe_works=yes
! 5674: fi
! 5675: LIBS="$lt_save_LIBS"
! 5676: CFLAGS="$lt_save_CFLAGS"
! 5677: else
! 5678: echo "cannot find nm_test_func in $nlist" >&5
! 5679: fi
! 5680: else
! 5681: echo "cannot find nm_test_var in $nlist" >&5
! 5682: fi
! 5683: else
! 5684: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 5685: fi
! 5686: else
! 5687: echo "$progname: failed program was:" >&5
! 5688: cat conftest.$ac_ext >&5
! 5689: fi
! 5690: rm -rf conftest* conftst*
! 5691:
! 5692: # Do not use the global_symbol_pipe unless it works.
! 5693: if test "$pipe_works" = yes; then
! 5694: break
! 5695: else
! 5696: lt_cv_sys_global_symbol_pipe=
! 5697: fi
! 5698: done
! 5699:
! 5700: fi
! 5701:
! 5702: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 5703: lt_cv_sys_global_symbol_to_cdecl=
! 5704: fi
! 5705: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 5706: { $as_echo "$as_me:$LINENO: result: failed" >&5
! 5707: $as_echo "failed" >&6; }
! 5708: else
! 5709: { $as_echo "$as_me:$LINENO: result: ok" >&5
! 5710: $as_echo "ok" >&6; }
! 5711: fi
! 5712:
! 5713:
! 5714:
! 5715:
! 5716:
! 5717:
! 5718:
! 5719:
! 5720:
! 5721:
! 5722:
! 5723:
! 5724:
! 5725:
! 5726:
! 5727:
! 5728:
! 5729:
! 5730:
! 5731:
! 5732:
! 5733:
! 5734: # Check whether --enable-libtool-lock was given.
! 5735: if test "${enable_libtool_lock+set}" = set; then
! 5736: enableval=$enable_libtool_lock;
! 5737: fi
! 5738:
! 5739: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 5740:
! 5741: # Some flags need to be propagated to the compiler or linker for good
! 5742: # libtool support.
! 5743: case $host in
! 5744: ia64-*-hpux*)
! 5745: # Find out which ABI we are using.
! 5746: echo 'int i;' > conftest.$ac_ext
! 5747: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5748: (eval $ac_compile) 2>&5
! 5749: ac_status=$?
! 5750: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5751: (exit $ac_status); }; then
! 5752: case `/usr/bin/file conftest.$ac_objext` in
! 5753: *ELF-32*)
! 5754: HPUX_IA64_MODE="32"
! 5755: ;;
! 5756: *ELF-64*)
! 5757: HPUX_IA64_MODE="64"
! 5758: ;;
! 5759: esac
! 5760: fi
! 5761: rm -rf conftest*
! 5762: ;;
! 5763: *-*-irix6*)
! 5764: # Find out which ABI we are using.
! 5765: echo '#line 5765 "configure"' > conftest.$ac_ext
! 5766: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5767: (eval $ac_compile) 2>&5
! 5768: ac_status=$?
! 5769: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5770: (exit $ac_status); }; then
! 5771: if test "$lt_cv_prog_gnu_ld" = yes; then
! 5772: case `/usr/bin/file conftest.$ac_objext` in
! 5773: *32-bit*)
! 5774: LD="${LD-ld} -melf32bsmip"
! 5775: ;;
! 5776: *N32*)
! 5777: LD="${LD-ld} -melf32bmipn32"
! 5778: ;;
! 5779: *64-bit*)
! 5780: LD="${LD-ld} -melf64bmip"
! 5781: ;;
! 5782: esac
! 5783: else
! 5784: case `/usr/bin/file conftest.$ac_objext` in
! 5785: *32-bit*)
! 5786: LD="${LD-ld} -32"
! 5787: ;;
! 5788: *N32*)
! 5789: LD="${LD-ld} -n32"
! 5790: ;;
! 5791: *64-bit*)
! 5792: LD="${LD-ld} -64"
! 5793: ;;
! 5794: esac
! 5795: fi
! 5796: fi
! 5797: rm -rf conftest*
! 5798: ;;
! 5799:
! 5800: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 5801: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 5802: # Find out which ABI we are using.
! 5803: echo 'int i;' > conftest.$ac_ext
! 5804: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5805: (eval $ac_compile) 2>&5
! 5806: ac_status=$?
! 5807: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5808: (exit $ac_status); }; then
! 5809: case `/usr/bin/file conftest.o` in
! 5810: *32-bit*)
! 5811: case $host in
! 5812: x86_64-*kfreebsd*-gnu)
! 5813: LD="${LD-ld} -m elf_i386_fbsd"
! 5814: ;;
! 5815: x86_64-*linux*)
! 5816: LD="${LD-ld} -m elf_i386"
! 5817: ;;
! 5818: ppc64-*linux*|powerpc64-*linux*)
! 5819: LD="${LD-ld} -m elf32ppclinux"
! 5820: ;;
! 5821: s390x-*linux*)
! 5822: LD="${LD-ld} -m elf_s390"
! 5823: ;;
! 5824: sparc64-*linux*)
! 5825: LD="${LD-ld} -m elf32_sparc"
! 5826: ;;
! 5827: esac
! 5828: ;;
! 5829: *64-bit*)
! 5830: case $host in
! 5831: x86_64-*kfreebsd*-gnu)
! 5832: LD="${LD-ld} -m elf_x86_64_fbsd"
! 5833: ;;
! 5834: x86_64-*linux*)
! 5835: LD="${LD-ld} -m elf_x86_64"
! 5836: ;;
! 5837: ppc*-*linux*|powerpc*-*linux*)
! 5838: LD="${LD-ld} -m elf64ppc"
! 5839: ;;
! 5840: s390*-*linux*|s390*-*tpf*)
! 5841: LD="${LD-ld} -m elf64_s390"
! 5842: ;;
! 5843: sparc*-*linux*)
! 5844: LD="${LD-ld} -m elf64_sparc"
! 5845: ;;
! 5846: esac
! 5847: ;;
! 5848: esac
! 5849: fi
! 5850: rm -rf conftest*
! 5851: ;;
! 5852:
! 5853: *-*-sco3.2v5*)
! 5854: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5855: SAVE_CFLAGS="$CFLAGS"
! 5856: CFLAGS="$CFLAGS -belf"
! 5857: { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5858: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 5859: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 5860: $as_echo_n "(cached) " >&6
! 5861: else
! 5862: ac_ext=c
! 5863: ac_cpp='$CPP $CPPFLAGS'
! 5864: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5865: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5866: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5867:
! 5868: cat >conftest.$ac_ext <<_ACEOF
! 5869: /* confdefs.h. */
! 5870: _ACEOF
! 5871: cat confdefs.h >>conftest.$ac_ext
! 5872: cat >>conftest.$ac_ext <<_ACEOF
! 5873: /* end confdefs.h. */
! 5874:
! 5875: int
! 5876: main ()
! 5877: {
! 5878:
! 5879: ;
! 5880: return 0;
! 5881: }
! 5882: _ACEOF
! 5883: rm -f conftest.$ac_objext conftest$ac_exeext
! 5884: if { (ac_try="$ac_link"
! 5885: case "(($ac_try" in
! 5886: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5887: *) ac_try_echo=$ac_try;;
! 5888: esac
! 5889: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5890: $as_echo "$ac_try_echo") >&5
! 5891: (eval "$ac_link") 2>conftest.er1
! 5892: ac_status=$?
! 5893: grep -v '^ *+' conftest.er1 >conftest.err
! 5894: rm -f conftest.er1
! 5895: cat conftest.err >&5
! 5896: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5897: (exit $ac_status); } && {
! 5898: test -z "$ac_c_werror_flag" ||
! 5899: test ! -s conftest.err
! 5900: } && test -s conftest$ac_exeext && {
! 5901: test "$cross_compiling" = yes ||
! 5902: $as_test_x conftest$ac_exeext
! 5903: }; then
! 5904: lt_cv_cc_needs_belf=yes
! 5905: else
! 5906: $as_echo "$as_me: failed program was:" >&5
! 5907: sed 's/^/| /' conftest.$ac_ext >&5
! 5908:
! 5909: lt_cv_cc_needs_belf=no
! 5910: fi
! 5911:
! 5912: rm -rf conftest.dSYM
! 5913: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 5914: conftest$ac_exeext conftest.$ac_ext
! 5915: ac_ext=c
! 5916: ac_cpp='$CPP $CPPFLAGS'
! 5917: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5918: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5919: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5920:
! 5921: fi
! 5922: { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5923: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 5924: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5925: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5926: CFLAGS="$SAVE_CFLAGS"
! 5927: fi
! 5928: ;;
! 5929: sparc*-*solaris*)
! 5930: # Find out which ABI we are using.
! 5931: echo 'int i;' > conftest.$ac_ext
! 5932: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5933: (eval $ac_compile) 2>&5
! 5934: ac_status=$?
! 5935: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5936: (exit $ac_status); }; then
! 5937: case `/usr/bin/file conftest.o` in
! 5938: *64-bit*)
! 5939: case $lt_cv_prog_gnu_ld in
! 5940: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 5941: *)
! 5942: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 5943: LD="${LD-ld} -64"
! 5944: fi
! 5945: ;;
! 5946: esac
! 5947: ;;
! 5948: esac
! 5949: fi
! 5950: rm -rf conftest*
! 5951: ;;
! 5952: esac
! 5953:
! 5954: need_locks="$enable_libtool_lock"
! 5955:
! 5956:
! 5957: case $host_os in
! 5958: rhapsody* | darwin*)
! 5959: if test -n "$ac_tool_prefix"; then
! 5960: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 5961: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 5962: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5963: $as_echo_n "checking for $ac_word... " >&6; }
! 5964: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 5965: $as_echo_n "(cached) " >&6
! 5966: else
! 5967: if test -n "$DSYMUTIL"; then
! 5968: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 5969: else
! 5970: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5971: for as_dir in $PATH
! 5972: do
! 5973: IFS=$as_save_IFS
! 5974: test -z "$as_dir" && as_dir=.
! 5975: for ac_exec_ext in '' $ac_executable_extensions; do
! 5976: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5977: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 5978: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5979: break 2
! 5980: fi
! 5981: done
! 5982: done
! 5983: IFS=$as_save_IFS
! 5984:
! 5985: fi
! 5986: fi
! 5987: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 5988: if test -n "$DSYMUTIL"; then
! 5989: { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 5990: $as_echo "$DSYMUTIL" >&6; }
! 5991: else
! 5992: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5993: $as_echo "no" >&6; }
! 5994: fi
! 5995:
! 5996:
! 5997: fi
! 5998: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 5999: ac_ct_DSYMUTIL=$DSYMUTIL
! 6000: # Extract the first word of "dsymutil", so it can be a program name with args.
! 6001: set dummy dsymutil; ac_word=$2
! 6002: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6003: $as_echo_n "checking for $ac_word... " >&6; }
! 6004: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 6005: $as_echo_n "(cached) " >&6
! 6006: else
! 6007: if test -n "$ac_ct_DSYMUTIL"; then
! 6008: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 6009: else
! 6010: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6011: for as_dir in $PATH
! 6012: do
! 6013: IFS=$as_save_IFS
! 6014: test -z "$as_dir" && as_dir=.
! 6015: for ac_exec_ext in '' $ac_executable_extensions; do
! 6016: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6017: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 6018: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6019: break 2
! 6020: fi
! 6021: done
! 6022: done
! 6023: IFS=$as_save_IFS
! 6024:
! 6025: fi
! 6026: fi
! 6027: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 6028: if test -n "$ac_ct_DSYMUTIL"; then
! 6029: { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 6030: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 6031: else
! 6032: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6033: $as_echo "no" >&6; }
! 6034: fi
! 6035:
! 6036: if test "x$ac_ct_DSYMUTIL" = x; then
! 6037: DSYMUTIL=":"
! 6038: else
! 6039: case $cross_compiling:$ac_tool_warned in
! 6040: yes:)
! 6041: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6042: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6043: ac_tool_warned=yes ;;
! 6044: esac
! 6045: DSYMUTIL=$ac_ct_DSYMUTIL
! 6046: fi
! 6047: else
! 6048: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 6049: fi
! 6050:
! 6051: if test -n "$ac_tool_prefix"; then
! 6052: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 6053: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 6054: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6055: $as_echo_n "checking for $ac_word... " >&6; }
! 6056: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 6057: $as_echo_n "(cached) " >&6
! 6058: else
! 6059: if test -n "$NMEDIT"; then
! 6060: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 6061: else
! 6062: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6063: for as_dir in $PATH
! 6064: do
! 6065: IFS=$as_save_IFS
! 6066: test -z "$as_dir" && as_dir=.
! 6067: for ac_exec_ext in '' $ac_executable_extensions; do
! 6068: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6069: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 6070: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6071: break 2
! 6072: fi
! 6073: done
! 6074: done
! 6075: IFS=$as_save_IFS
! 6076:
! 6077: fi
! 6078: fi
! 6079: NMEDIT=$ac_cv_prog_NMEDIT
! 6080: if test -n "$NMEDIT"; then
! 6081: { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 6082: $as_echo "$NMEDIT" >&6; }
! 6083: else
! 6084: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6085: $as_echo "no" >&6; }
! 6086: fi
! 6087:
! 6088:
! 6089: fi
! 6090: if test -z "$ac_cv_prog_NMEDIT"; then
! 6091: ac_ct_NMEDIT=$NMEDIT
! 6092: # Extract the first word of "nmedit", so it can be a program name with args.
! 6093: set dummy nmedit; ac_word=$2
! 6094: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6095: $as_echo_n "checking for $ac_word... " >&6; }
! 6096: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 6097: $as_echo_n "(cached) " >&6
! 6098: else
! 6099: if test -n "$ac_ct_NMEDIT"; then
! 6100: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 6101: else
! 6102: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6103: for as_dir in $PATH
! 6104: do
! 6105: IFS=$as_save_IFS
! 6106: test -z "$as_dir" && as_dir=.
! 6107: for ac_exec_ext in '' $ac_executable_extensions; do
! 6108: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6109: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 6110: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6111: break 2
! 6112: fi
! 6113: done
! 6114: done
! 6115: IFS=$as_save_IFS
! 6116:
! 6117: fi
! 6118: fi
! 6119: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 6120: if test -n "$ac_ct_NMEDIT"; then
! 6121: { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 6122: $as_echo "$ac_ct_NMEDIT" >&6; }
! 6123: else
! 6124: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6125: $as_echo "no" >&6; }
! 6126: fi
! 6127:
! 6128: if test "x$ac_ct_NMEDIT" = x; then
! 6129: NMEDIT=":"
! 6130: else
! 6131: case $cross_compiling:$ac_tool_warned in
! 6132: yes:)
! 6133: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6134: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6135: ac_tool_warned=yes ;;
! 6136: esac
! 6137: NMEDIT=$ac_ct_NMEDIT
! 6138: fi
! 6139: else
! 6140: NMEDIT="$ac_cv_prog_NMEDIT"
! 6141: fi
! 6142:
! 6143: if test -n "$ac_tool_prefix"; then
! 6144: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 6145: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 6146: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6147: $as_echo_n "checking for $ac_word... " >&6; }
! 6148: if test "${ac_cv_prog_LIPO+set}" = set; then
! 6149: $as_echo_n "(cached) " >&6
! 6150: else
! 6151: if test -n "$LIPO"; then
! 6152: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 6153: else
! 6154: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6155: for as_dir in $PATH
! 6156: do
! 6157: IFS=$as_save_IFS
! 6158: test -z "$as_dir" && as_dir=.
! 6159: for ac_exec_ext in '' $ac_executable_extensions; do
! 6160: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6161: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 6162: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6163: break 2
! 6164: fi
! 6165: done
! 6166: done
! 6167: IFS=$as_save_IFS
! 6168:
! 6169: fi
! 6170: fi
! 6171: LIPO=$ac_cv_prog_LIPO
! 6172: if test -n "$LIPO"; then
! 6173: { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
! 6174: $as_echo "$LIPO" >&6; }
! 6175: else
! 6176: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6177: $as_echo "no" >&6; }
! 6178: fi
! 6179:
! 6180:
! 6181: fi
! 6182: if test -z "$ac_cv_prog_LIPO"; then
! 6183: ac_ct_LIPO=$LIPO
! 6184: # Extract the first word of "lipo", so it can be a program name with args.
! 6185: set dummy lipo; ac_word=$2
! 6186: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6187: $as_echo_n "checking for $ac_word... " >&6; }
! 6188: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
! 6189: $as_echo_n "(cached) " >&6
! 6190: else
! 6191: if test -n "$ac_ct_LIPO"; then
! 6192: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 6193: else
! 6194: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6195: for as_dir in $PATH
! 6196: do
! 6197: IFS=$as_save_IFS
! 6198: test -z "$as_dir" && as_dir=.
! 6199: for ac_exec_ext in '' $ac_executable_extensions; do
! 6200: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6201: ac_cv_prog_ac_ct_LIPO="lipo"
! 6202: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6203: break 2
! 6204: fi
! 6205: done
! 6206: done
! 6207: IFS=$as_save_IFS
! 6208:
! 6209: fi
! 6210: fi
! 6211: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 6212: if test -n "$ac_ct_LIPO"; then
! 6213: { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
! 6214: $as_echo "$ac_ct_LIPO" >&6; }
! 6215: else
! 6216: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6217: $as_echo "no" >&6; }
! 6218: fi
! 6219:
! 6220: if test "x$ac_ct_LIPO" = x; then
! 6221: LIPO=":"
! 6222: else
! 6223: case $cross_compiling:$ac_tool_warned in
! 6224: yes:)
! 6225: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6226: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6227: ac_tool_warned=yes ;;
! 6228: esac
! 6229: LIPO=$ac_ct_LIPO
! 6230: fi
! 6231: else
! 6232: LIPO="$ac_cv_prog_LIPO"
! 6233: fi
! 6234:
! 6235: if test -n "$ac_tool_prefix"; then
! 6236: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 6237: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 6238: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6239: $as_echo_n "checking for $ac_word... " >&6; }
! 6240: if test "${ac_cv_prog_OTOOL+set}" = set; then
! 6241: $as_echo_n "(cached) " >&6
! 6242: else
! 6243: if test -n "$OTOOL"; then
! 6244: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 6245: else
! 6246: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6247: for as_dir in $PATH
! 6248: do
! 6249: IFS=$as_save_IFS
! 6250: test -z "$as_dir" && as_dir=.
! 6251: for ac_exec_ext in '' $ac_executable_extensions; do
! 6252: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6253: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 6254: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6255: break 2
! 6256: fi
! 6257: done
! 6258: done
! 6259: IFS=$as_save_IFS
! 6260:
! 6261: fi
! 6262: fi
! 6263: OTOOL=$ac_cv_prog_OTOOL
! 6264: if test -n "$OTOOL"; then
! 6265: { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
! 6266: $as_echo "$OTOOL" >&6; }
! 6267: else
! 6268: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6269: $as_echo "no" >&6; }
! 6270: fi
! 6271:
! 6272:
! 6273: fi
! 6274: if test -z "$ac_cv_prog_OTOOL"; then
! 6275: ac_ct_OTOOL=$OTOOL
! 6276: # Extract the first word of "otool", so it can be a program name with args.
! 6277: set dummy otool; ac_word=$2
! 6278: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6279: $as_echo_n "checking for $ac_word... " >&6; }
! 6280: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
! 6281: $as_echo_n "(cached) " >&6
! 6282: else
! 6283: if test -n "$ac_ct_OTOOL"; then
! 6284: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 6285: else
! 6286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6287: for as_dir in $PATH
! 6288: do
! 6289: IFS=$as_save_IFS
! 6290: test -z "$as_dir" && as_dir=.
! 6291: for ac_exec_ext in '' $ac_executable_extensions; do
! 6292: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6293: ac_cv_prog_ac_ct_OTOOL="otool"
! 6294: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6295: break 2
! 6296: fi
! 6297: done
! 6298: done
! 6299: IFS=$as_save_IFS
! 6300:
! 6301: fi
! 6302: fi
! 6303: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 6304: if test -n "$ac_ct_OTOOL"; then
! 6305: { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
! 6306: $as_echo "$ac_ct_OTOOL" >&6; }
! 6307: else
! 6308: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6309: $as_echo "no" >&6; }
! 6310: fi
! 6311:
! 6312: if test "x$ac_ct_OTOOL" = x; then
! 6313: OTOOL=":"
! 6314: else
! 6315: case $cross_compiling:$ac_tool_warned in
! 6316: yes:)
! 6317: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6318: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6319: ac_tool_warned=yes ;;
! 6320: esac
! 6321: OTOOL=$ac_ct_OTOOL
! 6322: fi
! 6323: else
! 6324: OTOOL="$ac_cv_prog_OTOOL"
! 6325: fi
! 6326:
! 6327: if test -n "$ac_tool_prefix"; then
! 6328: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 6329: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 6330: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6331: $as_echo_n "checking for $ac_word... " >&6; }
! 6332: if test "${ac_cv_prog_OTOOL64+set}" = set; then
! 6333: $as_echo_n "(cached) " >&6
! 6334: else
! 6335: if test -n "$OTOOL64"; then
! 6336: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 6337: else
! 6338: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6339: for as_dir in $PATH
! 6340: do
! 6341: IFS=$as_save_IFS
! 6342: test -z "$as_dir" && as_dir=.
! 6343: for ac_exec_ext in '' $ac_executable_extensions; do
! 6344: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6345: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 6346: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6347: break 2
! 6348: fi
! 6349: done
! 6350: done
! 6351: IFS=$as_save_IFS
! 6352:
! 6353: fi
! 6354: fi
! 6355: OTOOL64=$ac_cv_prog_OTOOL64
! 6356: if test -n "$OTOOL64"; then
! 6357: { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
! 6358: $as_echo "$OTOOL64" >&6; }
! 6359: else
! 6360: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6361: $as_echo "no" >&6; }
! 6362: fi
! 6363:
! 6364:
! 6365: fi
! 6366: if test -z "$ac_cv_prog_OTOOL64"; then
! 6367: ac_ct_OTOOL64=$OTOOL64
! 6368: # Extract the first word of "otool64", so it can be a program name with args.
! 6369: set dummy otool64; ac_word=$2
! 6370: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6371: $as_echo_n "checking for $ac_word... " >&6; }
! 6372: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
! 6373: $as_echo_n "(cached) " >&6
! 6374: else
! 6375: if test -n "$ac_ct_OTOOL64"; then
! 6376: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 6377: else
! 6378: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6379: for as_dir in $PATH
! 6380: do
! 6381: IFS=$as_save_IFS
! 6382: test -z "$as_dir" && as_dir=.
! 6383: for ac_exec_ext in '' $ac_executable_extensions; do
! 6384: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6385: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 6386: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6387: break 2
! 6388: fi
! 6389: done
! 6390: done
! 6391: IFS=$as_save_IFS
! 6392:
! 6393: fi
! 6394: fi
! 6395: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 6396: if test -n "$ac_ct_OTOOL64"; then
! 6397: { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
! 6398: $as_echo "$ac_ct_OTOOL64" >&6; }
! 6399: else
! 6400: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6401: $as_echo "no" >&6; }
! 6402: fi
! 6403:
! 6404: if test "x$ac_ct_OTOOL64" = x; then
! 6405: OTOOL64=":"
! 6406: else
! 6407: case $cross_compiling:$ac_tool_warned in
! 6408: yes:)
! 6409: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6410: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6411: ac_tool_warned=yes ;;
! 6412: esac
! 6413: OTOOL64=$ac_ct_OTOOL64
! 6414: fi
! 6415: else
! 6416: OTOOL64="$ac_cv_prog_OTOOL64"
! 6417: fi
! 6418:
! 6419:
! 6420:
! 6421:
! 6422:
! 6423:
! 6424:
! 6425:
! 6426:
! 6427:
! 6428:
! 6429:
! 6430:
! 6431:
! 6432:
! 6433:
! 6434:
! 6435:
! 6436:
! 6437:
! 6438:
! 6439:
! 6440:
! 6441:
! 6442:
! 6443:
! 6444:
! 6445: { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 6446: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 6447: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 6448: $as_echo_n "(cached) " >&6
! 6449: else
! 6450: lt_cv_apple_cc_single_mod=no
! 6451: if test -z "${LT_MULTI_MODULE}"; then
! 6452: # By default we will add the -single_module flag. You can override
! 6453: # by either setting the environment variable LT_MULTI_MODULE
! 6454: # non-empty at configure time, or by adding -multi_module to the
! 6455: # link flags.
! 6456: rm -rf libconftest.dylib*
! 6457: echo "int foo(void){return 1;}" > conftest.c
! 6458: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6459: -dynamiclib -Wl,-single_module conftest.c" >&5
! 6460: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 6461: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 6462: _lt_result=$?
! 6463: if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
! 6464: lt_cv_apple_cc_single_mod=yes
! 6465: else
! 6466: cat conftest.err >&5
! 6467: fi
! 6468: rm -rf libconftest.dylib*
! 6469: rm -f conftest.*
! 6470: fi
! 6471: fi
! 6472: { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 6473: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 6474: { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 6475: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 6476: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 6477: $as_echo_n "(cached) " >&6
! 6478: else
! 6479: lt_cv_ld_exported_symbols_list=no
! 6480: save_LDFLAGS=$LDFLAGS
! 6481: echo "_main" > conftest.sym
! 6482: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 6483: cat >conftest.$ac_ext <<_ACEOF
! 6484: /* confdefs.h. */
! 6485: _ACEOF
! 6486: cat confdefs.h >>conftest.$ac_ext
! 6487: cat >>conftest.$ac_ext <<_ACEOF
! 6488: /* end confdefs.h. */
! 6489:
! 6490: int
! 6491: main ()
! 6492: {
! 6493:
! 6494: ;
! 6495: return 0;
! 6496: }
! 6497: _ACEOF
! 6498: rm -f conftest.$ac_objext conftest$ac_exeext
! 6499: if { (ac_try="$ac_link"
! 6500: case "(($ac_try" in
! 6501: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6502: *) ac_try_echo=$ac_try;;
! 6503: esac
! 6504: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6505: $as_echo "$ac_try_echo") >&5
! 6506: (eval "$ac_link") 2>conftest.er1
! 6507: ac_status=$?
! 6508: grep -v '^ *+' conftest.er1 >conftest.err
! 6509: rm -f conftest.er1
! 6510: cat conftest.err >&5
! 6511: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6512: (exit $ac_status); } && {
! 6513: test -z "$ac_c_werror_flag" ||
! 6514: test ! -s conftest.err
! 6515: } && test -s conftest$ac_exeext && {
! 6516: test "$cross_compiling" = yes ||
! 6517: $as_test_x conftest$ac_exeext
! 6518: }; then
! 6519: lt_cv_ld_exported_symbols_list=yes
! 6520: else
! 6521: $as_echo "$as_me: failed program was:" >&5
! 6522: sed 's/^/| /' conftest.$ac_ext >&5
! 6523:
! 6524: lt_cv_ld_exported_symbols_list=no
! 6525: fi
! 6526:
! 6527: rm -rf conftest.dSYM
! 6528: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 6529: conftest$ac_exeext conftest.$ac_ext
! 6530: LDFLAGS="$save_LDFLAGS"
! 6531:
! 6532: fi
! 6533: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 6534: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 6535: case $host_os in
! 6536: rhapsody* | darwin1.[012])
! 6537: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 6538: darwin1.*)
! 6539: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6540: darwin*) # darwin 5.x on
! 6541: # if running on 10.5 or later, the deployment target defaults
! 6542: # to the OS version, if on x86, and 10.4, the deployment
! 6543: # target defaults to 10.4. Don't you love it?
! 6544: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 6545: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 6546: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6547: 10.[012]*)
! 6548: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 6549: 10.*)
! 6550: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 6551: esac
! 6552: ;;
! 6553: esac
! 6554: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 6555: _lt_dar_single_mod='$single_module'
! 6556: fi
! 6557: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 6558: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 6559: else
! 6560: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 6561: fi
! 6562: if test "$DSYMUTIL" != ":"; then
! 6563: _lt_dsymutil='~$DSYMUTIL $lib || :'
! 6564: else
! 6565: _lt_dsymutil=
! 6566: fi
! 6567: ;;
! 6568: esac
! 6569:
! 6570:
! 6571: for ac_header in dlfcn.h
! 6572: do
! 6573: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6574: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6575: $as_echo_n "checking for $ac_header... " >&6; }
! 6576: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6577: $as_echo_n "(cached) " >&6
! 6578: else
! 6579: cat >conftest.$ac_ext <<_ACEOF
! 6580: /* confdefs.h. */
! 6581: _ACEOF
! 6582: cat confdefs.h >>conftest.$ac_ext
! 6583: cat >>conftest.$ac_ext <<_ACEOF
! 6584: /* end confdefs.h. */
! 6585: $ac_includes_default
! 6586:
! 6587: #include <$ac_header>
! 6588: _ACEOF
! 6589: rm -f conftest.$ac_objext
! 6590: if { (ac_try="$ac_compile"
! 6591: case "(($ac_try" in
! 6592: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6593: *) ac_try_echo=$ac_try;;
! 6594: esac
! 6595: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6596: $as_echo "$ac_try_echo") >&5
! 6597: (eval "$ac_compile") 2>conftest.er1
! 6598: ac_status=$?
! 6599: grep -v '^ *+' conftest.er1 >conftest.err
! 6600: rm -f conftest.er1
! 6601: cat conftest.err >&5
! 6602: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6603: (exit $ac_status); } && {
! 6604: test -z "$ac_c_werror_flag" ||
! 6605: test ! -s conftest.err
! 6606: } && test -s conftest.$ac_objext; then
! 6607: eval "$as_ac_Header=yes"
! 6608: else
! 6609: $as_echo "$as_me: failed program was:" >&5
! 6610: sed 's/^/| /' conftest.$ac_ext >&5
! 6611:
! 6612: eval "$as_ac_Header=no"
! 6613: fi
! 6614:
! 6615: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6616: fi
! 6617: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 6618: $as_echo "$as_val"'`
! 6619: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 6620: $as_echo "$ac_res" >&6; }
! 6621: as_val=`eval 'as_val=${'$as_ac_Header'}
! 6622: $as_echo "$as_val"'`
! 6623: if test "x$as_val" = x""yes; then
! 6624: cat >>confdefs.h <<_ACEOF
! 6625: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 6626: _ACEOF
! 6627:
! 6628: fi
! 6629:
! 6630: done
! 6631:
! 6632:
! 6633:
! 6634: # Set options
! 6635: enable_win32_dll=yes
! 6636:
! 6637: case $host in
! 6638: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
! 6639: if test -n "$ac_tool_prefix"; then
! 6640: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
! 6641: set dummy ${ac_tool_prefix}as; ac_word=$2
! 6642: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6643: $as_echo_n "checking for $ac_word... " >&6; }
! 6644: if test "${ac_cv_prog_AS+set}" = set; then
! 6645: $as_echo_n "(cached) " >&6
! 6646: else
! 6647: if test -n "$AS"; then
! 6648: ac_cv_prog_AS="$AS" # Let the user override the test.
! 6649: else
! 6650: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6651: for as_dir in $PATH
! 6652: do
! 6653: IFS=$as_save_IFS
! 6654: test -z "$as_dir" && as_dir=.
! 6655: for ac_exec_ext in '' $ac_executable_extensions; do
! 6656: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6657: ac_cv_prog_AS="${ac_tool_prefix}as"
! 6658: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6659: break 2
! 6660: fi
! 6661: done
! 6662: done
! 6663: IFS=$as_save_IFS
! 6664:
! 6665: fi
! 6666: fi
! 6667: AS=$ac_cv_prog_AS
! 6668: if test -n "$AS"; then
! 6669: { $as_echo "$as_me:$LINENO: result: $AS" >&5
! 6670: $as_echo "$AS" >&6; }
! 6671: else
! 6672: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6673: $as_echo "no" >&6; }
! 6674: fi
! 6675:
! 6676:
! 6677: fi
! 6678: if test -z "$ac_cv_prog_AS"; then
! 6679: ac_ct_AS=$AS
! 6680: # Extract the first word of "as", so it can be a program name with args.
! 6681: set dummy as; ac_word=$2
! 6682: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6683: $as_echo_n "checking for $ac_word... " >&6; }
! 6684: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
! 6685: $as_echo_n "(cached) " >&6
! 6686: else
! 6687: if test -n "$ac_ct_AS"; then
! 6688: ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
! 6689: else
! 6690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6691: for as_dir in $PATH
! 6692: do
! 6693: IFS=$as_save_IFS
! 6694: test -z "$as_dir" && as_dir=.
! 6695: for ac_exec_ext in '' $ac_executable_extensions; do
! 6696: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6697: ac_cv_prog_ac_ct_AS="as"
! 6698: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6699: break 2
! 6700: fi
! 6701: done
! 6702: done
! 6703: IFS=$as_save_IFS
! 6704:
! 6705: fi
! 6706: fi
! 6707: ac_ct_AS=$ac_cv_prog_ac_ct_AS
! 6708: if test -n "$ac_ct_AS"; then
! 6709: { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
! 6710: $as_echo "$ac_ct_AS" >&6; }
! 6711: else
! 6712: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6713: $as_echo "no" >&6; }
! 6714: fi
! 6715:
! 6716: if test "x$ac_ct_AS" = x; then
! 6717: AS="false"
! 6718: else
! 6719: case $cross_compiling:$ac_tool_warned in
! 6720: yes:)
! 6721: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6722: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6723: ac_tool_warned=yes ;;
! 6724: esac
! 6725: AS=$ac_ct_AS
! 6726: fi
! 6727: else
! 6728: AS="$ac_cv_prog_AS"
! 6729: fi
! 6730:
! 6731: if test -n "$ac_tool_prefix"; then
! 6732: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 6733: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 6734: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6735: $as_echo_n "checking for $ac_word... " >&6; }
! 6736: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
! 6737: $as_echo_n "(cached) " >&6
! 6738: else
! 6739: if test -n "$DLLTOOL"; then
! 6740: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 6741: else
! 6742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6743: for as_dir in $PATH
! 6744: do
! 6745: IFS=$as_save_IFS
! 6746: test -z "$as_dir" && as_dir=.
! 6747: for ac_exec_ext in '' $ac_executable_extensions; do
! 6748: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6749: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 6750: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6751: break 2
! 6752: fi
! 6753: done
! 6754: done
! 6755: IFS=$as_save_IFS
! 6756:
! 6757: fi
! 6758: fi
! 6759: DLLTOOL=$ac_cv_prog_DLLTOOL
! 6760: if test -n "$DLLTOOL"; then
! 6761: { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
! 6762: $as_echo "$DLLTOOL" >&6; }
! 6763: else
! 6764: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6765: $as_echo "no" >&6; }
! 6766: fi
! 6767:
! 6768:
! 6769: fi
! 6770: if test -z "$ac_cv_prog_DLLTOOL"; then
! 6771: ac_ct_DLLTOOL=$DLLTOOL
! 6772: # Extract the first word of "dlltool", so it can be a program name with args.
! 6773: set dummy dlltool; ac_word=$2
! 6774: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6775: $as_echo_n "checking for $ac_word... " >&6; }
! 6776: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
! 6777: $as_echo_n "(cached) " >&6
! 6778: else
! 6779: if test -n "$ac_ct_DLLTOOL"; then
! 6780: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 6781: else
! 6782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6783: for as_dir in $PATH
! 6784: do
! 6785: IFS=$as_save_IFS
! 6786: test -z "$as_dir" && as_dir=.
! 6787: for ac_exec_ext in '' $ac_executable_extensions; do
! 6788: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6789: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 6790: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6791: break 2
! 6792: fi
! 6793: done
! 6794: done
! 6795: IFS=$as_save_IFS
! 6796:
! 6797: fi
! 6798: fi
! 6799: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 6800: if test -n "$ac_ct_DLLTOOL"; then
! 6801: { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
! 6802: $as_echo "$ac_ct_DLLTOOL" >&6; }
! 6803: else
! 6804: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6805: $as_echo "no" >&6; }
! 6806: fi
! 6807:
! 6808: if test "x$ac_ct_DLLTOOL" = x; then
! 6809: DLLTOOL="false"
! 6810: else
! 6811: case $cross_compiling:$ac_tool_warned in
! 6812: yes:)
! 6813: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6814: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6815: ac_tool_warned=yes ;;
! 6816: esac
! 6817: DLLTOOL=$ac_ct_DLLTOOL
! 6818: fi
! 6819: else
! 6820: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 6821: fi
! 6822:
! 6823: if test -n "$ac_tool_prefix"; then
! 6824: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 6825: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 6826: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6827: $as_echo_n "checking for $ac_word... " >&6; }
! 6828: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
! 6829: $as_echo_n "(cached) " >&6
! 6830: else
! 6831: if test -n "$OBJDUMP"; then
! 6832: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 6833: else
! 6834: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6835: for as_dir in $PATH
! 6836: do
! 6837: IFS=$as_save_IFS
! 6838: test -z "$as_dir" && as_dir=.
! 6839: for ac_exec_ext in '' $ac_executable_extensions; do
! 6840: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6841: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 6842: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6843: break 2
! 6844: fi
! 6845: done
! 6846: done
! 6847: IFS=$as_save_IFS
! 6848:
! 6849: fi
! 6850: fi
! 6851: OBJDUMP=$ac_cv_prog_OBJDUMP
! 6852: if test -n "$OBJDUMP"; then
! 6853: { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
! 6854: $as_echo "$OBJDUMP" >&6; }
! 6855: else
! 6856: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6857: $as_echo "no" >&6; }
! 6858: fi
! 6859:
! 6860:
! 6861: fi
! 6862: if test -z "$ac_cv_prog_OBJDUMP"; then
! 6863: ac_ct_OBJDUMP=$OBJDUMP
! 6864: # Extract the first word of "objdump", so it can be a program name with args.
! 6865: set dummy objdump; ac_word=$2
! 6866: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6867: $as_echo_n "checking for $ac_word... " >&6; }
! 6868: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
! 6869: $as_echo_n "(cached) " >&6
! 6870: else
! 6871: if test -n "$ac_ct_OBJDUMP"; then
! 6872: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 6873: else
! 6874: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6875: for as_dir in $PATH
! 6876: do
! 6877: IFS=$as_save_IFS
! 6878: test -z "$as_dir" && as_dir=.
! 6879: for ac_exec_ext in '' $ac_executable_extensions; do
! 6880: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6881: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 6882: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6883: break 2
! 6884: fi
! 6885: done
! 6886: done
! 6887: IFS=$as_save_IFS
! 6888:
! 6889: fi
! 6890: fi
! 6891: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 6892: if test -n "$ac_ct_OBJDUMP"; then
! 6893: { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
! 6894: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 6895: else
! 6896: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6897: $as_echo "no" >&6; }
! 6898: fi
! 6899:
! 6900: if test "x$ac_ct_OBJDUMP" = x; then
! 6901: OBJDUMP="false"
! 6902: else
! 6903: case $cross_compiling:$ac_tool_warned in
! 6904: yes:)
! 6905: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6906: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6907: ac_tool_warned=yes ;;
! 6908: esac
! 6909: OBJDUMP=$ac_ct_OBJDUMP
! 6910: fi
! 6911: else
! 6912: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 6913: fi
! 6914:
! 6915: ;;
! 6916: esac
! 6917:
! 6918: test -z "$AS" && AS=as
! 6919:
! 6920:
! 6921:
! 6922:
! 6923:
! 6924: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 6925:
! 6926:
! 6927:
! 6928:
! 6929:
! 6930: test -z "$OBJDUMP" && OBJDUMP=objdump
! 6931:
! 6932:
! 6933:
! 6934:
! 6935:
! 6936:
! 6937:
! 6938: enable_dlopen=no
! 6939:
! 6940:
! 6941:
! 6942: # Check whether --enable-shared was given.
! 6943: if test "${enable_shared+set}" = set; then
! 6944: enableval=$enable_shared; p=${PACKAGE-default}
! 6945: case $enableval in
! 6946: yes) enable_shared=yes ;;
! 6947: no) enable_shared=no ;;
! 6948: *)
! 6949: enable_shared=no
! 6950: # Look at the argument we got. We use all the common list separators.
! 6951: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 6952: for pkg in $enableval; do
! 6953: IFS="$lt_save_ifs"
! 6954: if test "X$pkg" = "X$p"; then
! 6955: enable_shared=yes
! 6956: fi
! 6957: done
! 6958: IFS="$lt_save_ifs"
! 6959: ;;
! 6960: esac
! 6961: else
! 6962: enable_shared=yes
! 6963: fi
! 6964:
! 6965:
! 6966:
! 6967:
! 6968:
! 6969:
! 6970:
! 6971:
! 6972:
! 6973: # Check whether --enable-static was given.
! 6974: if test "${enable_static+set}" = set; then
! 6975: enableval=$enable_static; p=${PACKAGE-default}
! 6976: case $enableval in
! 6977: yes) enable_static=yes ;;
! 6978: no) enable_static=no ;;
! 6979: *)
! 6980: enable_static=no
! 6981: # Look at the argument we got. We use all the common list separators.
! 6982: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 6983: for pkg in $enableval; do
! 6984: IFS="$lt_save_ifs"
! 6985: if test "X$pkg" = "X$p"; then
! 6986: enable_static=yes
! 6987: fi
! 6988: done
! 6989: IFS="$lt_save_ifs"
! 6990: ;;
! 6991: esac
! 6992: else
! 6993: enable_static=yes
! 6994: fi
! 6995:
! 6996:
! 6997:
! 6998:
! 6999:
! 7000:
! 7001:
! 7002:
! 7003:
! 7004:
! 7005: # Check whether --with-pic was given.
! 7006: if test "${with_pic+set}" = set; then
! 7007: withval=$with_pic; pic_mode="$withval"
! 7008: else
! 7009: pic_mode=default
! 7010: fi
! 7011:
! 7012:
! 7013: test -z "$pic_mode" && pic_mode=default
! 7014:
! 7015:
! 7016:
! 7017:
! 7018:
! 7019:
! 7020:
! 7021: # Check whether --enable-fast-install was given.
! 7022: if test "${enable_fast_install+set}" = set; then
! 7023: enableval=$enable_fast_install; p=${PACKAGE-default}
! 7024: case $enableval in
! 7025: yes) enable_fast_install=yes ;;
! 7026: no) enable_fast_install=no ;;
! 7027: *)
! 7028: enable_fast_install=no
! 7029: # Look at the argument we got. We use all the common list separators.
! 7030: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 7031: for pkg in $enableval; do
! 7032: IFS="$lt_save_ifs"
! 7033: if test "X$pkg" = "X$p"; then
! 7034: enable_fast_install=yes
! 7035: fi
! 7036: done
! 7037: IFS="$lt_save_ifs"
! 7038: ;;
! 7039: esac
! 7040: else
! 7041: enable_fast_install=yes
! 7042: fi
! 7043:
! 7044:
! 7045:
! 7046:
! 7047:
! 7048:
! 7049:
! 7050:
! 7051:
! 7052:
! 7053:
! 7054: # This can be used to rebuild libtool when needed
! 7055: LIBTOOL_DEPS="$ltmain"
! 7056:
! 7057: # Always use our own libtool.
! 7058: LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
! 7059:
! 7060:
! 7061:
! 7062:
! 7063:
! 7064:
! 7065:
! 7066:
! 7067:
! 7068:
! 7069:
! 7070:
! 7071:
! 7072:
! 7073:
! 7074:
! 7075:
! 7076:
! 7077:
! 7078:
! 7079:
! 7080:
! 7081:
! 7082:
! 7083:
! 7084: test -z "$LN_S" && LN_S="ln -s"
! 7085:
! 7086:
! 7087:
! 7088:
! 7089:
! 7090:
! 7091:
! 7092:
! 7093:
! 7094:
! 7095:
! 7096:
! 7097:
! 7098:
! 7099: if test -n "${ZSH_VERSION+set}" ; then
! 7100: setopt NO_GLOB_SUBST
! 7101: fi
! 7102:
! 7103: { $as_echo "$as_me:$LINENO: checking for objdir" >&5
! 7104: $as_echo_n "checking for objdir... " >&6; }
! 7105: if test "${lt_cv_objdir+set}" = set; then
! 7106: $as_echo_n "(cached) " >&6
! 7107: else
! 7108: rm -f .libs 2>/dev/null
! 7109: mkdir .libs 2>/dev/null
! 7110: if test -d .libs; then
! 7111: lt_cv_objdir=.libs
! 7112: else
! 7113: # MS-DOS does not allow filenames that begin with a dot.
! 7114: lt_cv_objdir=_libs
! 7115: fi
! 7116: rmdir .libs 2>/dev/null
! 7117: fi
! 7118: { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 7119: $as_echo "$lt_cv_objdir" >&6; }
! 7120: objdir=$lt_cv_objdir
! 7121:
! 7122:
! 7123:
! 7124:
! 7125:
! 7126: cat >>confdefs.h <<_ACEOF
! 7127: #define LT_OBJDIR "$lt_cv_objdir/"
! 7128: _ACEOF
! 7129:
! 7130:
! 7131:
! 7132:
! 7133:
! 7134:
! 7135:
! 7136:
! 7137:
! 7138:
! 7139:
! 7140:
! 7141:
! 7142:
! 7143:
! 7144:
! 7145:
! 7146: case $host_os in
! 7147: aix3*)
! 7148: # AIX sometimes has problems with the GCC collect2 program. For some
! 7149: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7150: # vanish in a puff of smoke.
! 7151: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7152: COLLECT_NAMES=
! 7153: export COLLECT_NAMES
! 7154: fi
! 7155: ;;
! 7156: esac
! 7157:
! 7158: # Sed substitution that helps us do robust quoting. It backslashifies
! 7159: # metacharacters that are still active within double-quoted strings.
! 7160: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 7161:
! 7162: # Same as above, but do not quote variable references.
! 7163: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 7164:
! 7165: # Sed substitution to delay expansion of an escaped shell variable in a
! 7166: # double_quote_subst'ed string.
! 7167: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 7168:
! 7169: # Sed substitution to delay expansion of an escaped single quote.
! 7170: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 7171:
! 7172: # Sed substitution to avoid accidental globbing in evaled expressions
! 7173: no_glob_subst='s/\*/\\\*/g'
! 7174:
! 7175: # Global variables:
! 7176: ofile=libtool
! 7177: can_build_shared=yes
! 7178:
! 7179: # All known linkers require a `.a' archive for static linking (except MSVC,
! 7180: # which needs '.lib').
! 7181: libext=a
! 7182:
! 7183: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 7184:
! 7185: old_CC="$CC"
! 7186: old_CFLAGS="$CFLAGS"
! 7187:
! 7188: # Set sane defaults for various variables
! 7189: test -z "$CC" && CC=cc
! 7190: test -z "$LTCC" && LTCC=$CC
! 7191: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7192: test -z "$LD" && LD=ld
! 7193: test -z "$ac_objext" && ac_objext=o
! 7194:
! 7195: for cc_temp in $compiler""; do
! 7196: case $cc_temp in
! 7197: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7198: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7199: \-*) ;;
! 7200: *) break;;
! 7201: esac
! 7202: done
! 7203: cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 7204:
! 7205:
! 7206: # Only perform the check for file, if the check method requires it
! 7207: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7208: case $deplibs_check_method in
! 7209: file_magic*)
! 7210: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7211: { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7212: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 7213: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7214: $as_echo_n "(cached) " >&6
! 7215: else
! 7216: case $MAGIC_CMD in
! 7217: [\\/*] | ?:[\\/]*)
! 7218: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7219: ;;
! 7220: *)
! 7221: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7222: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7223: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7224: for ac_dir in $ac_dummy; do
! 7225: IFS="$lt_save_ifs"
! 7226: test -z "$ac_dir" && ac_dir=.
! 7227: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7228: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7229: if test -n "$file_magic_test_file"; then
! 7230: case $deplibs_check_method in
! 7231: "file_magic "*)
! 7232: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7233: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7234: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7235: $EGREP "$file_magic_regex" > /dev/null; then
! 7236: :
! 7237: else
! 7238: cat <<_LT_EOF 1>&2
! 7239:
! 7240: *** Warning: the command libtool uses to detect shared libraries,
! 7241: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7242: *** The result is that libtool may fail to recognize shared libraries
! 7243: *** as such. This will affect the creation of libtool libraries that
! 7244: *** depend on shared libraries, but programs linked with such libtool
! 7245: *** libraries will work regardless of this problem. Nevertheless, you
! 7246: *** may want to report the problem to your system manager and/or to
! 7247: *** bug-libtool@gnu.org
! 7248:
! 7249: _LT_EOF
! 7250: fi ;;
! 7251: esac
! 7252: fi
! 7253: break
! 7254: fi
! 7255: done
! 7256: IFS="$lt_save_ifs"
! 7257: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7258: ;;
! 7259: esac
! 7260: fi
! 7261:
! 7262: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7263: if test -n "$MAGIC_CMD"; then
! 7264: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7265: $as_echo "$MAGIC_CMD" >&6; }
! 7266: else
! 7267: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7268: $as_echo "no" >&6; }
! 7269: fi
! 7270:
! 7271:
! 7272:
! 7273:
! 7274:
! 7275: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7276: if test -n "$ac_tool_prefix"; then
! 7277: { $as_echo "$as_me:$LINENO: checking for file" >&5
! 7278: $as_echo_n "checking for file... " >&6; }
! 7279: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7280: $as_echo_n "(cached) " >&6
! 7281: else
! 7282: case $MAGIC_CMD in
! 7283: [\\/*] | ?:[\\/]*)
! 7284: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7285: ;;
! 7286: *)
! 7287: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7288: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7289: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7290: for ac_dir in $ac_dummy; do
! 7291: IFS="$lt_save_ifs"
! 7292: test -z "$ac_dir" && ac_dir=.
! 7293: if test -f $ac_dir/file; then
! 7294: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7295: if test -n "$file_magic_test_file"; then
! 7296: case $deplibs_check_method in
! 7297: "file_magic "*)
! 7298: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7299: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7300: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7301: $EGREP "$file_magic_regex" > /dev/null; then
! 7302: :
! 7303: else
! 7304: cat <<_LT_EOF 1>&2
! 7305:
! 7306: *** Warning: the command libtool uses to detect shared libraries,
! 7307: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7308: *** The result is that libtool may fail to recognize shared libraries
! 7309: *** as such. This will affect the creation of libtool libraries that
! 7310: *** depend on shared libraries, but programs linked with such libtool
! 7311: *** libraries will work regardless of this problem. Nevertheless, you
! 7312: *** may want to report the problem to your system manager and/or to
! 7313: *** bug-libtool@gnu.org
! 7314:
! 7315: _LT_EOF
! 7316: fi ;;
! 7317: esac
! 7318: fi
! 7319: break
! 7320: fi
! 7321: done
! 7322: IFS="$lt_save_ifs"
! 7323: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7324: ;;
! 7325: esac
! 7326: fi
! 7327:
! 7328: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7329: if test -n "$MAGIC_CMD"; then
! 7330: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7331: $as_echo "$MAGIC_CMD" >&6; }
! 7332: else
! 7333: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7334: $as_echo "no" >&6; }
! 7335: fi
! 7336:
! 7337:
! 7338: else
! 7339: MAGIC_CMD=:
! 7340: fi
! 7341: fi
! 7342:
! 7343: fi
! 7344: ;;
! 7345: esac
! 7346:
! 7347: # Use C for the default configuration in the libtool script
! 7348:
! 7349: lt_save_CC="$CC"
! 7350: ac_ext=c
! 7351: ac_cpp='$CPP $CPPFLAGS'
! 7352: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7353: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7354: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7355:
! 7356:
! 7357: # Source file extension for C test sources.
! 7358: ac_ext=c
! 7359:
! 7360: # Object file extension for compiled C test sources.
! 7361: objext=o
! 7362: objext=$objext
! 7363:
! 7364: # Code to be used in simple compile tests
! 7365: lt_simple_compile_test_code="int some_variable = 0;"
! 7366:
! 7367: # Code to be used in simple link tests
! 7368: lt_simple_link_test_code='int main(){return(0);}'
! 7369:
! 7370:
! 7371:
! 7372:
! 7373:
! 7374:
! 7375:
! 7376: # If no C compiler was specified, use CC.
! 7377: LTCC=${LTCC-"$CC"}
! 7378:
! 7379: # If no C compiler flags were specified, use CFLAGS.
! 7380: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 7381:
! 7382: # Allow CC to be a program name with arguments.
! 7383: compiler=$CC
! 7384:
! 7385: # Save the default compiler, since it gets overwritten when the other
! 7386: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 7387: compiler_DEFAULT=$CC
! 7388:
! 7389: # save warnings/boilerplate of simple test code
! 7390: ac_outfile=conftest.$ac_objext
! 7391: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7392: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7393: _lt_compiler_boilerplate=`cat conftest.err`
! 7394: $RM conftest*
! 7395:
! 7396: ac_outfile=conftest.$ac_objext
! 7397: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7398: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7399: _lt_linker_boilerplate=`cat conftest.err`
! 7400: $RM -r conftest*
! 7401:
! 7402:
! 7403: ## CAVEAT EMPTOR:
! 7404: ## There is no encapsulation within the following macros, do not change
! 7405: ## the running order or otherwise move them around unless you know exactly
! 7406: ## what you are doing...
! 7407: if test -n "$compiler"; then
! 7408:
! 7409: lt_prog_compiler_no_builtin_flag=
! 7410:
! 7411: if test "$GCC" = yes; then
! 7412: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 7413:
! 7414: { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7415: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 7416: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 7417: $as_echo_n "(cached) " >&6
! 7418: else
! 7419: lt_cv_prog_compiler_rtti_exceptions=no
! 7420: ac_outfile=conftest.$ac_objext
! 7421: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7422: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7423: # Insert the option either (1) after the last *FLAGS variable, or
! 7424: # (2) before a word containing "conftest.", or (3) at the end.
! 7425: # Note that $ac_compile itself does not contain backslashes and begins
! 7426: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7427: # The option is referenced via a variable to avoid confusing sed.
! 7428: lt_compile=`echo "$ac_compile" | $SED \
! 7429: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7430: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7431: -e 's:$: $lt_compiler_flag:'`
! 7432: (eval echo "\"\$as_me:7432: $lt_compile\"" >&5)
! 7433: (eval "$lt_compile" 2>conftest.err)
! 7434: ac_status=$?
! 7435: cat conftest.err >&5
! 7436: echo "$as_me:7436: \$? = $ac_status" >&5
! 7437: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7438: # The compiler can only warn and ignore the option if not recognized
! 7439: # So say no if there are warnings other than the usual output.
! 7440: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7441: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7442: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7443: lt_cv_prog_compiler_rtti_exceptions=yes
! 7444: fi
! 7445: fi
! 7446: $RM conftest*
! 7447:
! 7448: fi
! 7449: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7450: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 7451:
! 7452: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7453: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 7454: else
! 7455: :
! 7456: fi
! 7457:
! 7458: fi
! 7459:
! 7460:
! 7461:
! 7462:
! 7463:
! 7464:
! 7465: lt_prog_compiler_wl=
! 7466: lt_prog_compiler_pic=
! 7467: lt_prog_compiler_static=
! 7468:
! 7469: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 7470: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 7471:
! 7472: if test "$GCC" = yes; then
! 7473: lt_prog_compiler_wl='-Wl,'
! 7474: lt_prog_compiler_static='-static'
! 7475:
! 7476: case $host_os in
! 7477: aix*)
! 7478: # All AIX code is PIC.
! 7479: if test "$host_cpu" = ia64; then
! 7480: # AIX 5 now supports IA64 processor
! 7481: lt_prog_compiler_static='-Bstatic'
! 7482: fi
! 7483: ;;
! 7484:
! 7485: amigaos*)
! 7486: case $host_cpu in
! 7487: powerpc)
! 7488: # see comment about AmigaOS4 .so support
! 7489: lt_prog_compiler_pic='-fPIC'
! 7490: ;;
! 7491: m68k)
! 7492: # FIXME: we need at least 68020 code to build shared libraries, but
! 7493: # adding the `-m68020' flag to GCC prevents building anything better,
! 7494: # like `-m68040'.
! 7495: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7496: ;;
! 7497: esac
! 7498: ;;
! 7499:
! 7500: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7501: # PIC is the default for these OSes.
! 7502: ;;
! 7503:
! 7504: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7505: # This hack is so that the source file can tell whether it is being
! 7506: # built for inclusion in a dll (and should export symbols for example).
! 7507: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7508: # (--disable-auto-import) libraries
! 7509: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7510: ;;
! 7511:
! 7512: darwin* | rhapsody*)
! 7513: # PIC is the default on this platform
! 7514: # Common symbols not allowed in MH_DYLIB files
! 7515: lt_prog_compiler_pic='-fno-common'
! 7516: ;;
! 7517:
! 7518: hpux*)
! 7519: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 7520: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 7521: # sets the default TLS model and affects inlining.
! 7522: case $host_cpu in
! 7523: hppa*64*)
! 7524: # +Z the default
! 7525: ;;
! 7526: *)
! 7527: lt_prog_compiler_pic='-fPIC'
! 7528: ;;
! 7529: esac
! 7530: ;;
! 7531:
! 7532: interix[3-9]*)
! 7533: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7534: # Instead, we relocate shared libraries at runtime.
! 7535: ;;
! 7536:
! 7537: msdosdjgpp*)
! 7538: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7539: # on systems that don't support them.
! 7540: lt_prog_compiler_can_build_shared=no
! 7541: enable_shared=no
! 7542: ;;
! 7543:
! 7544: *nto* | *qnx*)
! 7545: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7546: # it will coredump.
! 7547: lt_prog_compiler_pic='-fPIC -shared'
! 7548: ;;
! 7549:
! 7550: sysv4*MP*)
! 7551: if test -d /usr/nec; then
! 7552: lt_prog_compiler_pic=-Kconform_pic
! 7553: fi
! 7554: ;;
! 7555:
! 7556: *)
! 7557: lt_prog_compiler_pic='-fPIC'
! 7558: ;;
! 7559: esac
! 7560: else
! 7561: # PORTME Check for flag to pass linker flags through the system compiler.
! 7562: case $host_os in
! 7563: aix*)
! 7564: lt_prog_compiler_wl='-Wl,'
! 7565: if test "$host_cpu" = ia64; then
! 7566: # AIX 5 now supports IA64 processor
! 7567: lt_prog_compiler_static='-Bstatic'
! 7568: else
! 7569: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 7570: fi
! 7571: ;;
! 7572:
! 7573: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 7574: # This hack is so that the source file can tell whether it is being
! 7575: # built for inclusion in a dll (and should export symbols for example).
! 7576: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7577: ;;
! 7578:
! 7579: hpux9* | hpux10* | hpux11*)
! 7580: lt_prog_compiler_wl='-Wl,'
! 7581: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7582: # not for PA HP-UX.
! 7583: case $host_cpu in
! 7584: hppa*64*|ia64*)
! 7585: # +Z the default
! 7586: ;;
! 7587: *)
! 7588: lt_prog_compiler_pic='+Z'
! 7589: ;;
! 7590: esac
! 7591: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 7592: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 7593: ;;
! 7594:
! 7595: irix5* | irix6* | nonstopux*)
! 7596: lt_prog_compiler_wl='-Wl,'
! 7597: # PIC (with -KPIC) is the default.
! 7598: lt_prog_compiler_static='-non_shared'
! 7599: ;;
! 7600:
! 7601: linux* | k*bsd*-gnu)
! 7602: case $cc_basename in
! 7603: # old Intel for x86_64 which still supported -KPIC.
! 7604: ecc*)
! 7605: lt_prog_compiler_wl='-Wl,'
! 7606: lt_prog_compiler_pic='-KPIC'
! 7607: lt_prog_compiler_static='-static'
! 7608: ;;
! 7609: # icc used to be incompatible with GCC.
! 7610: # ICC 10 doesn't accept -KPIC any more.
! 7611: icc* | ifort*)
! 7612: lt_prog_compiler_wl='-Wl,'
! 7613: lt_prog_compiler_pic='-fPIC'
! 7614: lt_prog_compiler_static='-static'
! 7615: ;;
! 7616: # Lahey Fortran 8.1.
! 7617: lf95*)
! 7618: lt_prog_compiler_wl='-Wl,'
! 7619: lt_prog_compiler_pic='--shared'
! 7620: lt_prog_compiler_static='--static'
! 7621: ;;
! 7622: pgcc* | pgf77* | pgf90* | pgf95*)
! 7623: # Portland Group compilers (*not* the Pentium gcc compiler,
! 7624: # which looks to be a dead project)
! 7625: lt_prog_compiler_wl='-Wl,'
! 7626: lt_prog_compiler_pic='-fpic'
! 7627: lt_prog_compiler_static='-Bstatic'
! 7628: ;;
! 7629: ccc*)
! 7630: lt_prog_compiler_wl='-Wl,'
! 7631: # All Alpha code is PIC.
! 7632: lt_prog_compiler_static='-non_shared'
! 7633: ;;
! 7634: xl*)
! 7635: # IBM XL C 8.0/Fortran 10.1 on PPC
! 7636: lt_prog_compiler_wl='-Wl,'
! 7637: lt_prog_compiler_pic='-qpic'
! 7638: lt_prog_compiler_static='-qstaticlink'
! 7639: ;;
! 7640: *)
! 7641: case `$CC -V 2>&1 | sed 5q` in
! 7642: *Sun\ C*)
! 7643: # Sun C 5.9
! 7644: lt_prog_compiler_pic='-KPIC'
! 7645: lt_prog_compiler_static='-Bstatic'
! 7646: lt_prog_compiler_wl='-Wl,'
! 7647: ;;
! 7648: *Sun\ F*)
! 7649: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 7650: lt_prog_compiler_pic='-KPIC'
! 7651: lt_prog_compiler_static='-Bstatic'
! 7652: lt_prog_compiler_wl=''
! 7653: ;;
! 7654: esac
! 7655: ;;
! 7656: esac
! 7657: ;;
! 7658:
! 7659: newsos6)
! 7660: lt_prog_compiler_pic='-KPIC'
! 7661: lt_prog_compiler_static='-Bstatic'
! 7662: ;;
! 7663:
! 7664: *nto* | *qnx*)
! 7665: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 7666: # it will coredump.
! 7667: lt_prog_compiler_pic='-fPIC -shared'
! 7668: ;;
! 7669:
! 7670: osf3* | osf4* | osf5*)
! 7671: lt_prog_compiler_wl='-Wl,'
! 7672: # All OSF/1 code is PIC.
! 7673: lt_prog_compiler_static='-non_shared'
! 7674: ;;
! 7675:
! 7676: rdos*)
! 7677: lt_prog_compiler_static='-non_shared'
! 7678: ;;
! 7679:
! 7680: solaris*)
! 7681: lt_prog_compiler_pic='-KPIC'
! 7682: lt_prog_compiler_static='-Bstatic'
! 7683: case $cc_basename in
! 7684: f77* | f90* | f95*)
! 7685: lt_prog_compiler_wl='-Qoption ld ';;
! 7686: *)
! 7687: lt_prog_compiler_wl='-Wl,';;
! 7688: esac
! 7689: ;;
! 7690:
! 7691: sunos4*)
! 7692: lt_prog_compiler_wl='-Qoption ld '
! 7693: lt_prog_compiler_pic='-PIC'
! 7694: lt_prog_compiler_static='-Bstatic'
! 7695: ;;
! 7696:
! 7697: sysv4 | sysv4.2uw2* | sysv4.3*)
! 7698: lt_prog_compiler_wl='-Wl,'
! 7699: lt_prog_compiler_pic='-KPIC'
! 7700: lt_prog_compiler_static='-Bstatic'
! 7701: ;;
! 7702:
! 7703: sysv4*MP*)
! 7704: if test -d /usr/nec ;then
! 7705: lt_prog_compiler_pic='-Kconform_pic'
! 7706: lt_prog_compiler_static='-Bstatic'
! 7707: fi
! 7708: ;;
! 7709:
! 7710: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 7711: lt_prog_compiler_wl='-Wl,'
! 7712: lt_prog_compiler_pic='-KPIC'
! 7713: lt_prog_compiler_static='-Bstatic'
! 7714: ;;
! 7715:
! 7716: unicos*)
! 7717: lt_prog_compiler_wl='-Wl,'
! 7718: lt_prog_compiler_can_build_shared=no
! 7719: ;;
! 7720:
! 7721: uts4*)
! 7722: lt_prog_compiler_pic='-pic'
! 7723: lt_prog_compiler_static='-Bstatic'
! 7724: ;;
! 7725:
! 7726: *)
! 7727: lt_prog_compiler_can_build_shared=no
! 7728: ;;
! 7729: esac
! 7730: fi
! 7731:
! 7732: case $host_os in
! 7733: # For platforms which do not support PIC, -DPIC is meaningless:
! 7734: *djgpp*)
! 7735: lt_prog_compiler_pic=
! 7736: ;;
! 7737: *)
! 7738: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 7739: ;;
! 7740: esac
! 7741: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
! 7742: $as_echo "$lt_prog_compiler_pic" >&6; }
! 7743:
! 7744:
! 7745:
! 7746:
! 7747:
! 7748:
! 7749: #
! 7750: # Check to make sure the PIC flag actually works.
! 7751: #
! 7752: if test -n "$lt_prog_compiler_pic"; then
! 7753: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 7754: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 7755: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
! 7756: $as_echo_n "(cached) " >&6
! 7757: else
! 7758: lt_cv_prog_compiler_pic_works=no
! 7759: ac_outfile=conftest.$ac_objext
! 7760: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7761: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 7762: # Insert the option either (1) after the last *FLAGS variable, or
! 7763: # (2) before a word containing "conftest.", or (3) at the end.
! 7764: # Note that $ac_compile itself does not contain backslashes and begins
! 7765: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7766: # The option is referenced via a variable to avoid confusing sed.
! 7767: lt_compile=`echo "$ac_compile" | $SED \
! 7768: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7769: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7770: -e 's:$: $lt_compiler_flag:'`
! 7771: (eval echo "\"\$as_me:7771: $lt_compile\"" >&5)
! 7772: (eval "$lt_compile" 2>conftest.err)
! 7773: ac_status=$?
! 7774: cat conftest.err >&5
! 7775: echo "$as_me:7775: \$? = $ac_status" >&5
! 7776: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7777: # The compiler can only warn and ignore the option if not recognized
! 7778: # So say no if there are warnings other than the usual output.
! 7779: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7780: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7781: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7782: lt_cv_prog_compiler_pic_works=yes
! 7783: fi
! 7784: fi
! 7785: $RM conftest*
! 7786:
! 7787: fi
! 7788: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 7789: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 7790:
! 7791: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 7792: case $lt_prog_compiler_pic in
! 7793: "" | " "*) ;;
! 7794: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 7795: esac
! 7796: else
! 7797: lt_prog_compiler_pic=
! 7798: lt_prog_compiler_can_build_shared=no
! 7799: fi
! 7800:
! 7801: fi
! 7802:
! 7803:
! 7804:
! 7805:
! 7806:
! 7807:
! 7808: #
! 7809: # Check to make sure the static flag actually works.
! 7810: #
! 7811: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 7812: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 7813: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 7814: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 7815: $as_echo_n "(cached) " >&6
! 7816: else
! 7817: lt_cv_prog_compiler_static_works=no
! 7818: save_LDFLAGS="$LDFLAGS"
! 7819: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 7820: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 7821: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 7822: # The linker can only warn and ignore the option if not recognized
! 7823: # So say no if there are warnings
! 7824: if test -s conftest.err; then
! 7825: # Append any errors to the config.log.
! 7826: cat conftest.err 1>&5
! 7827: $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 7828: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7829: if diff conftest.exp conftest.er2 >/dev/null; then
! 7830: lt_cv_prog_compiler_static_works=yes
! 7831: fi
! 7832: else
! 7833: lt_cv_prog_compiler_static_works=yes
! 7834: fi
! 7835: fi
! 7836: $RM -r conftest*
! 7837: LDFLAGS="$save_LDFLAGS"
! 7838:
! 7839: fi
! 7840: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 7841: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 7842:
! 7843: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 7844: :
! 7845: else
! 7846: lt_prog_compiler_static=
! 7847: fi
! 7848:
! 7849:
! 7850:
! 7851:
! 7852:
! 7853:
! 7854:
! 7855: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 7856: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 7857: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 7858: $as_echo_n "(cached) " >&6
! 7859: else
! 7860: lt_cv_prog_compiler_c_o=no
! 7861: $RM -r conftest 2>/dev/null
! 7862: mkdir conftest
! 7863: cd conftest
! 7864: mkdir out
! 7865: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7866:
! 7867: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 7868: # Insert the option either (1) after the last *FLAGS variable, or
! 7869: # (2) before a word containing "conftest.", or (3) at the end.
! 7870: # Note that $ac_compile itself does not contain backslashes and begins
! 7871: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7872: lt_compile=`echo "$ac_compile" | $SED \
! 7873: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7874: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7875: -e 's:$: $lt_compiler_flag:'`
! 7876: (eval echo "\"\$as_me:7876: $lt_compile\"" >&5)
! 7877: (eval "$lt_compile" 2>out/conftest.err)
! 7878: ac_status=$?
! 7879: cat out/conftest.err >&5
! 7880: echo "$as_me:7880: \$? = $ac_status" >&5
! 7881: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 7882: then
! 7883: # The compiler can only warn and ignore the option if not recognized
! 7884: # So say no if there are warnings
! 7885: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 7886: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 7887: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 7888: lt_cv_prog_compiler_c_o=yes
! 7889: fi
! 7890: fi
! 7891: chmod u+w . 2>&5
! 7892: $RM conftest*
! 7893: # SGI C++ compiler will create directory out/ii_files/ for
! 7894: # template instantiation
! 7895: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 7896: $RM out/* && rmdir out
! 7897: cd ..
! 7898: $RM -r conftest
! 7899: $RM conftest*
! 7900:
! 7901: fi
! 7902: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 7903: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 7904:
! 7905:
! 7906:
! 7907:
! 7908:
! 7909:
! 7910: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 7911: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 7912: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 7913: $as_echo_n "(cached) " >&6
! 7914: else
! 7915: lt_cv_prog_compiler_c_o=no
! 7916: $RM -r conftest 2>/dev/null
! 7917: mkdir conftest
! 7918: cd conftest
! 7919: mkdir out
! 7920: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7921:
! 7922: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 7923: # Insert the option either (1) after the last *FLAGS variable, or
! 7924: # (2) before a word containing "conftest.", or (3) at the end.
! 7925: # Note that $ac_compile itself does not contain backslashes and begins
! 7926: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7927: lt_compile=`echo "$ac_compile" | $SED \
! 7928: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7929: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7930: -e 's:$: $lt_compiler_flag:'`
! 7931: (eval echo "\"\$as_me:7931: $lt_compile\"" >&5)
! 7932: (eval "$lt_compile" 2>out/conftest.err)
! 7933: ac_status=$?
! 7934: cat out/conftest.err >&5
! 7935: echo "$as_me:7935: \$? = $ac_status" >&5
! 7936: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 7937: then
! 7938: # The compiler can only warn and ignore the option if not recognized
! 7939: # So say no if there are warnings
! 7940: $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 7941: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 7942: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 7943: lt_cv_prog_compiler_c_o=yes
! 7944: fi
! 7945: fi
! 7946: chmod u+w . 2>&5
! 7947: $RM conftest*
! 7948: # SGI C++ compiler will create directory out/ii_files/ for
! 7949: # template instantiation
! 7950: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 7951: $RM out/* && rmdir out
! 7952: cd ..
! 7953: $RM -r conftest
! 7954: $RM conftest*
! 7955:
! 7956: fi
! 7957: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 7958: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 7959:
! 7960:
! 7961:
! 7962:
! 7963: hard_links="nottested"
! 7964: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 7965: # do not overwrite the value of need_locks provided by the user
! 7966: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 7967: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 7968: hard_links=yes
! 7969: $RM conftest*
! 7970: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 7971: touch conftest.a
! 7972: ln conftest.a conftest.b 2>&5 || hard_links=no
! 7973: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 7974: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 7975: $as_echo "$hard_links" >&6; }
! 7976: if test "$hard_links" = no; then
! 7977: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 7978: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 7979: need_locks=warn
! 7980: fi
! 7981: else
! 7982: need_locks=no
! 7983: fi
! 7984:
! 7985:
! 7986:
! 7987:
! 7988:
! 7989:
! 7990: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 7991: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 7992:
! 7993: runpath_var=
! 7994: allow_undefined_flag=
! 7995: always_export_symbols=no
! 7996: archive_cmds=
! 7997: archive_expsym_cmds=
! 7998: compiler_needs_object=no
! 7999: enable_shared_with_static_runtimes=no
! 8000: export_dynamic_flag_spec=
! 8001: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8002: hardcode_automatic=no
! 8003: hardcode_direct=no
! 8004: hardcode_direct_absolute=no
! 8005: hardcode_libdir_flag_spec=
! 8006: hardcode_libdir_flag_spec_ld=
! 8007: hardcode_libdir_separator=
! 8008: hardcode_minus_L=no
! 8009: hardcode_shlibpath_var=unsupported
! 8010: inherit_rpath=no
! 8011: link_all_deplibs=unknown
! 8012: module_cmds=
! 8013: module_expsym_cmds=
! 8014: old_archive_from_new_cmds=
! 8015: old_archive_from_expsyms_cmds=
! 8016: thread_safe_flag_spec=
! 8017: whole_archive_flag_spec=
! 8018: # include_expsyms should be a list of space-separated symbols to be *always*
! 8019: # included in the symbol list
! 8020: include_expsyms=
! 8021: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8022: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8023: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8024: # as well as any symbol that contains `d'.
! 8025: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8026: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8027: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8028: # the symbol is explicitly referenced. Since portable code cannot
! 8029: # rely on this symbol name, it's probably fine to never include it in
! 8030: # preloaded symbol tables.
! 8031: # Exclude shared library initialization/finalization symbols.
! 8032: extract_expsyms_cmds=
! 8033:
! 8034: case $host_os in
! 8035: cygwin* | mingw* | pw32* | cegcc*)
! 8036: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8037: # When not using gcc, we currently assume that we are using
! 8038: # Microsoft Visual C++.
! 8039: if test "$GCC" != yes; then
! 8040: with_gnu_ld=no
! 8041: fi
! 8042: ;;
! 8043: interix*)
! 8044: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8045: with_gnu_ld=yes
! 8046: ;;
! 8047: openbsd*)
! 8048: with_gnu_ld=no
! 8049: ;;
! 8050: esac
! 8051:
! 8052: ld_shlibs=yes
! 8053: if test "$with_gnu_ld" = yes; then
! 8054: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8055: wlarc='${wl}'
! 8056:
! 8057: # Set some defaults for GNU ld with shared library support. These
! 8058: # are reset later if shared libraries are not supported. Putting them
! 8059: # here allows them to be overridden if necessary.
! 8060: runpath_var=LD_RUN_PATH
! 8061: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8062: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8063: # ancient GNU ld didn't support --whole-archive et. al.
! 8064: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 8065: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8066: else
! 8067: whole_archive_flag_spec=
! 8068: fi
! 8069: supports_anon_versioning=no
! 8070: case `$LD -v 2>&1` in
! 8071: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8072: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8073: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8074: *\ 2.11.*) ;; # other 2.11 versions
! 8075: *) supports_anon_versioning=yes ;;
! 8076: esac
! 8077:
! 8078: # See if GNU ld supports shared libraries.
! 8079: case $host_os in
! 8080: aix[3-9]*)
! 8081: # On AIX/PPC, the GNU linker is very broken
! 8082: if test "$host_cpu" != ia64; then
! 8083: ld_shlibs=no
! 8084: cat <<_LT_EOF 1>&2
! 8085:
! 8086: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 8087: *** to be unable to reliably create shared libraries on AIX.
! 8088: *** Therefore, libtool is disabling shared libraries support. If you
! 8089: *** really care for shared libraries, you may want to modify your PATH
! 8090: *** so that a non-GNU linker is found, and then restart.
! 8091:
! 8092: _LT_EOF
! 8093: fi
! 8094: ;;
! 8095:
! 8096: amigaos*)
! 8097: case $host_cpu in
! 8098: powerpc)
! 8099: # see comment about AmigaOS4 .so support
! 8100: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8101: archive_expsym_cmds=''
! 8102: ;;
! 8103: m68k)
! 8104: 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)'
! 8105: hardcode_libdir_flag_spec='-L$libdir'
! 8106: hardcode_minus_L=yes
! 8107: ;;
! 8108: esac
! 8109: ;;
! 8110:
! 8111: beos*)
! 8112: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8113: allow_undefined_flag=unsupported
! 8114: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8115: # support --undefined. This deserves some investigation. FIXME
! 8116: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8117: else
! 8118: ld_shlibs=no
! 8119: fi
! 8120: ;;
! 8121:
! 8122: cygwin* | mingw* | pw32* | cegcc*)
! 8123: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8124: # as there is no search path for DLLs.
! 8125: hardcode_libdir_flag_spec='-L$libdir'
! 8126: allow_undefined_flag=unsupported
! 8127: always_export_symbols=no
! 8128: enable_shared_with_static_runtimes=yes
! 8129: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 8130:
! 8131: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 8132: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8133: # If the export-symbols file already is a .def file (1st line
! 8134: # is EXPORTS), use it as is; otherwise, prepend...
! 8135: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8136: cp $export_symbols $output_objdir/$soname.def;
! 8137: else
! 8138: echo EXPORTS > $output_objdir/$soname.def;
! 8139: cat $export_symbols >> $output_objdir/$soname.def;
! 8140: fi~
! 8141: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8142: else
! 8143: ld_shlibs=no
! 8144: fi
! 8145: ;;
! 8146:
! 8147: interix[3-9]*)
! 8148: hardcode_direct=no
! 8149: hardcode_shlibpath_var=no
! 8150: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8151: export_dynamic_flag_spec='${wl}-E'
! 8152: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8153: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8154: # default) and relocated if they conflict, which is a slow very memory
! 8155: # consuming and fragmenting process. To avoid this, we pick a random,
! 8156: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8157: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8158: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8159: 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'
! 8160: ;;
! 8161:
! 8162: gnu* | linux* | tpf* | k*bsd*-gnu)
! 8163: tmp_diet=no
! 8164: if test "$host_os" = linux-dietlibc; then
! 8165: case $cc_basename in
! 8166: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 8167: esac
! 8168: fi
! 8169: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 8170: && test "$tmp_diet" = no
! 8171: then
! 8172: tmp_addflag=
! 8173: tmp_sharedflag='-shared'
! 8174: case $cc_basename,$host_cpu in
! 8175: pgcc*) # Portland Group C compiler
! 8176: whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8177: tmp_addflag=' $pic_flag'
! 8178: ;;
! 8179: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 8180: whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8181: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8182: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8183: tmp_addflag=' -i_dynamic' ;;
! 8184: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8185: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8186: ifc* | ifort*) # Intel Fortran compiler
! 8187: tmp_addflag=' -nofor_main' ;;
! 8188: lf95*) # Lahey Fortran 8.1
! 8189: whole_archive_flag_spec=
! 8190: tmp_sharedflag='--shared' ;;
! 8191: xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 8192: tmp_sharedflag='-qmkshrobj'
! 8193: tmp_addflag= ;;
! 8194: esac
! 8195: case `$CC -V 2>&1 | sed 5q` in
! 8196: *Sun\ C*) # Sun C 5.9
! 8197: whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
! 8198: compiler_needs_object=yes
! 8199: tmp_sharedflag='-G' ;;
! 8200: *Sun\ F*) # Sun Fortran 8.3
! 8201: tmp_sharedflag='-G' ;;
! 8202: esac
! 8203: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8204:
! 8205: if test "x$supports_anon_versioning" = xyes; then
! 8206: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8207: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8208: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8209: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8210: fi
! 8211:
! 8212: case $cc_basename in
! 8213: xlf*)
! 8214: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 8215: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 8216: hardcode_libdir_flag_spec=
! 8217: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 8218: archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
! 8219: if test "x$supports_anon_versioning" = xyes; then
! 8220: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 8221: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8222: echo "local: *; };" >> $output_objdir/$libname.ver~
! 8223: $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 8224: fi
! 8225: ;;
! 8226: esac
! 8227: else
! 8228: ld_shlibs=no
! 8229: fi
! 8230: ;;
! 8231:
! 8232: netbsd*)
! 8233: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8234: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8235: wlarc=
! 8236: else
! 8237: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8238: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8239: fi
! 8240: ;;
! 8241:
! 8242: solaris*)
! 8243: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 8244: ld_shlibs=no
! 8245: cat <<_LT_EOF 1>&2
! 8246:
! 8247: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8248: *** create shared libraries on Solaris systems. Therefore, libtool
! 8249: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8250: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8251: *** your PATH or compiler configuration so that the native linker is
! 8252: *** used, and then restart.
! 8253:
! 8254: _LT_EOF
! 8255: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8256: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8257: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8258: else
! 8259: ld_shlibs=no
! 8260: fi
! 8261: ;;
! 8262:
! 8263: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8264: case `$LD -v 2>&1` in
! 8265: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8266: ld_shlibs=no
! 8267: cat <<_LT_EOF 1>&2
! 8268:
! 8269: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8270: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8271: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8272: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8273: *** your PATH or compiler configuration so that the native linker is
! 8274: *** used, and then restart.
! 8275:
! 8276: _LT_EOF
! 8277: ;;
! 8278: *)
! 8279: # For security reasons, it is highly recommended that you always
! 8280: # use absolute paths for naming shared libraries, and exclude the
! 8281: # DT_RUNPATH tag from executables and libraries. But doing so
! 8282: # requires that you compile everything twice, which is a pain.
! 8283: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8284: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8285: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8286: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8287: else
! 8288: ld_shlibs=no
! 8289: fi
! 8290: ;;
! 8291: esac
! 8292: ;;
! 8293:
! 8294: sunos4*)
! 8295: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8296: wlarc=
! 8297: hardcode_direct=yes
! 8298: hardcode_shlibpath_var=no
! 8299: ;;
! 8300:
! 8301: *)
! 8302: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 8303: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8304: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8305: else
! 8306: ld_shlibs=no
! 8307: fi
! 8308: ;;
! 8309: esac
! 8310:
! 8311: if test "$ld_shlibs" = no; then
! 8312: runpath_var=
! 8313: hardcode_libdir_flag_spec=
! 8314: export_dynamic_flag_spec=
! 8315: whole_archive_flag_spec=
! 8316: fi
! 8317: else
! 8318: # PORTME fill in a description of your system's linker (not GNU ld)
! 8319: case $host_os in
! 8320: aix3*)
! 8321: allow_undefined_flag=unsupported
! 8322: always_export_symbols=yes
! 8323: 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'
! 8324: # Note: this linker hardcodes the directories in LIBPATH if there
! 8325: # are no directories specified by -L.
! 8326: hardcode_minus_L=yes
! 8327: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8328: # Neither direct hardcoding nor static linking is supported with a
! 8329: # broken collect2.
! 8330: hardcode_direct=unsupported
! 8331: fi
! 8332: ;;
! 8333:
! 8334: aix[4-9]*)
! 8335: if test "$host_cpu" = ia64; then
! 8336: # On IA64, the linker does run time linking by default, so we don't
! 8337: # have to do anything special.
! 8338: aix_use_runtimelinking=no
! 8339: exp_sym_flag='-Bexport'
! 8340: no_entry_flag=""
! 8341: else
! 8342: # If we're using GNU nm, then we don't want the "-C" option.
! 8343: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8344: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 8345: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 8346: else
! 8347: export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 8348: fi
! 8349: aix_use_runtimelinking=no
! 8350:
! 8351: # Test if we are trying to use run time linking or normal
! 8352: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8353: # need to do runtime linking.
! 8354: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8355: for ld_flag in $LDFLAGS; do
! 8356: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8357: aix_use_runtimelinking=yes
! 8358: break
! 8359: fi
! 8360: done
! 8361: ;;
! 8362: esac
! 8363:
! 8364: exp_sym_flag='-bexport'
! 8365: no_entry_flag='-bnoentry'
! 8366: fi
! 8367:
! 8368: # When large executables or shared objects are built, AIX ld can
! 8369: # have problems creating the table of contents. If linking a library
! 8370: # or program results in "error TOC overflow" add -mminimal-toc to
! 8371: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8372: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8373:
! 8374: archive_cmds=''
! 8375: hardcode_direct=yes
! 8376: hardcode_direct_absolute=yes
! 8377: hardcode_libdir_separator=':'
! 8378: link_all_deplibs=yes
! 8379: file_list_spec='${wl}-f,'
! 8380:
! 8381: if test "$GCC" = yes; then
! 8382: case $host_os in aix4.[012]|aix4.[012].*)
! 8383: # We only want to do this on AIX 4.2 and lower, the check
! 8384: # below for broken collect2 doesn't work under 4.3+
! 8385: collect2name=`${CC} -print-prog-name=collect2`
! 8386: if test -f "$collect2name" &&
! 8387: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 8388: then
! 8389: # We have reworked collect2
! 8390: :
! 8391: else
! 8392: # We have old collect2
! 8393: hardcode_direct=unsupported
! 8394: # It fails to find uninstalled libraries when the uninstalled
! 8395: # path is not listed in the libpath. Setting hardcode_minus_L
! 8396: # to unsupported forces relinking
! 8397: hardcode_minus_L=yes
! 8398: hardcode_libdir_flag_spec='-L$libdir'
! 8399: hardcode_libdir_separator=
! 8400: fi
! 8401: ;;
! 8402: esac
! 8403: shared_flag='-shared'
! 8404: if test "$aix_use_runtimelinking" = yes; then
! 8405: shared_flag="$shared_flag "'${wl}-G'
! 8406: fi
! 8407: else
! 8408: # not using gcc
! 8409: if test "$host_cpu" = ia64; then
! 8410: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8411: # chokes on -Wl,-G. The following line is correct:
! 8412: shared_flag='-G'
! 8413: else
! 8414: if test "$aix_use_runtimelinking" = yes; then
! 8415: shared_flag='${wl}-G'
! 8416: else
! 8417: shared_flag='${wl}-bM:SRE'
! 8418: fi
! 8419: fi
! 8420: fi
! 8421:
! 8422: export_dynamic_flag_spec='${wl}-bexpall'
! 8423: # It seems that -bexpall does not export symbols beginning with
! 8424: # underscore (_), so it is better to generate a list of symbols to export.
! 8425: always_export_symbols=yes
! 8426: if test "$aix_use_runtimelinking" = yes; then
! 8427: # Warning - without using the other runtime loading flags (-brtl),
! 8428: # -berok will link without error, but may produce a broken library.
! 8429: allow_undefined_flag='-berok'
! 8430: # Determine the default libpath from the value encoded in an
! 8431: # empty executable.
! 8432: cat >conftest.$ac_ext <<_ACEOF
! 8433: /* confdefs.h. */
! 8434: _ACEOF
! 8435: cat confdefs.h >>conftest.$ac_ext
! 8436: cat >>conftest.$ac_ext <<_ACEOF
! 8437: /* end confdefs.h. */
! 8438:
! 8439: int
! 8440: main ()
! 8441: {
! 8442:
! 8443: ;
! 8444: return 0;
! 8445: }
! 8446: _ACEOF
! 8447: rm -f conftest.$ac_objext conftest$ac_exeext
! 8448: if { (ac_try="$ac_link"
! 8449: case "(($ac_try" in
! 8450: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8451: *) ac_try_echo=$ac_try;;
! 8452: esac
! 8453: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8454: $as_echo "$ac_try_echo") >&5
! 8455: (eval "$ac_link") 2>conftest.er1
! 8456: ac_status=$?
! 8457: grep -v '^ *+' conftest.er1 >conftest.err
! 8458: rm -f conftest.er1
! 8459: cat conftest.err >&5
! 8460: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8461: (exit $ac_status); } && {
! 8462: test -z "$ac_c_werror_flag" ||
! 8463: test ! -s conftest.err
! 8464: } && test -s conftest$ac_exeext && {
! 8465: test "$cross_compiling" = yes ||
! 8466: $as_test_x conftest$ac_exeext
! 8467: }; then
! 8468:
! 8469: lt_aix_libpath_sed='
! 8470: /Import File Strings/,/^$/ {
! 8471: /^0/ {
! 8472: s/^0 *\(.*\)$/\1/
! 8473: p
! 8474: }
! 8475: }'
! 8476: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8477: # Check for a 64-bit object if we didn't find anything.
! 8478: if test -z "$aix_libpath"; then
! 8479: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8480: fi
! 8481: else
! 8482: $as_echo "$as_me: failed program was:" >&5
! 8483: sed 's/^/| /' conftest.$ac_ext >&5
! 8484:
! 8485:
! 8486: fi
! 8487:
! 8488: rm -rf conftest.dSYM
! 8489: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8490: conftest$ac_exeext conftest.$ac_ext
! 8491: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8492:
! 8493: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8494: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 8495: else
! 8496: if test "$host_cpu" = ia64; then
! 8497: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 8498: allow_undefined_flag="-z nodefs"
! 8499: 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"
! 8500: else
! 8501: # Determine the default libpath from the value encoded in an
! 8502: # empty executable.
! 8503: cat >conftest.$ac_ext <<_ACEOF
! 8504: /* confdefs.h. */
! 8505: _ACEOF
! 8506: cat confdefs.h >>conftest.$ac_ext
! 8507: cat >>conftest.$ac_ext <<_ACEOF
! 8508: /* end confdefs.h. */
! 8509:
! 8510: int
! 8511: main ()
! 8512: {
! 8513:
! 8514: ;
! 8515: return 0;
! 8516: }
! 8517: _ACEOF
! 8518: rm -f conftest.$ac_objext conftest$ac_exeext
! 8519: if { (ac_try="$ac_link"
! 8520: case "(($ac_try" in
! 8521: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8522: *) ac_try_echo=$ac_try;;
! 8523: esac
! 8524: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8525: $as_echo "$ac_try_echo") >&5
! 8526: (eval "$ac_link") 2>conftest.er1
! 8527: ac_status=$?
! 8528: grep -v '^ *+' conftest.er1 >conftest.err
! 8529: rm -f conftest.er1
! 8530: cat conftest.err >&5
! 8531: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8532: (exit $ac_status); } && {
! 8533: test -z "$ac_c_werror_flag" ||
! 8534: test ! -s conftest.err
! 8535: } && test -s conftest$ac_exeext && {
! 8536: test "$cross_compiling" = yes ||
! 8537: $as_test_x conftest$ac_exeext
! 8538: }; then
! 8539:
! 8540: lt_aix_libpath_sed='
! 8541: /Import File Strings/,/^$/ {
! 8542: /^0/ {
! 8543: s/^0 *\(.*\)$/\1/
! 8544: p
! 8545: }
! 8546: }'
! 8547: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8548: # Check for a 64-bit object if we didn't find anything.
! 8549: if test -z "$aix_libpath"; then
! 8550: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8551: fi
! 8552: else
! 8553: $as_echo "$as_me: failed program was:" >&5
! 8554: sed 's/^/| /' conftest.$ac_ext >&5
! 8555:
! 8556:
! 8557: fi
! 8558:
! 8559: rm -rf conftest.dSYM
! 8560: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8561: conftest$ac_exeext conftest.$ac_ext
! 8562: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8563:
! 8564: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8565: # Warning - without using the other run time loading flags,
! 8566: # -berok will link without error, but may produce a broken library.
! 8567: no_undefined_flag=' ${wl}-bernotok'
! 8568: allow_undefined_flag=' ${wl}-berok'
! 8569: # Exported symbols can be pulled into shared objects from archives
! 8570: whole_archive_flag_spec='$convenience'
! 8571: archive_cmds_need_lc=yes
! 8572: # This is similar to how AIX traditionally builds its shared libraries.
! 8573: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
! 8574: fi
! 8575: fi
! 8576: ;;
! 8577:
! 8578: amigaos*)
! 8579: case $host_cpu in
! 8580: powerpc)
! 8581: # see comment about AmigaOS4 .so support
! 8582: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8583: archive_expsym_cmds=''
! 8584: ;;
! 8585: m68k)
! 8586: 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)'
! 8587: hardcode_libdir_flag_spec='-L$libdir'
! 8588: hardcode_minus_L=yes
! 8589: ;;
! 8590: esac
! 8591: ;;
! 8592:
! 8593: bsdi[45]*)
! 8594: export_dynamic_flag_spec=-rdynamic
! 8595: ;;
! 8596:
! 8597: cygwin* | mingw* | pw32* | cegcc*)
! 8598: # When not using gcc, we currently assume that we are using
! 8599: # Microsoft Visual C++.
! 8600: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 8601: # no search path for DLLs.
! 8602: hardcode_libdir_flag_spec=' '
! 8603: allow_undefined_flag=unsupported
! 8604: # Tell ltmain to make .lib files, not .a files.
! 8605: libext=lib
! 8606: # Tell ltmain to make .dll files, not .so files.
! 8607: shrext_cmds=".dll"
! 8608: # FIXME: Setting linknames here is a bad hack.
! 8609: archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 8610: # The linker will automatically build a .lib file if we build a DLL.
! 8611: old_archive_from_new_cmds='true'
! 8612: # FIXME: Should let the user specify the lib program.
! 8613: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 8614: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 8615: enable_shared_with_static_runtimes=yes
! 8616: ;;
! 8617:
! 8618: darwin* | rhapsody*)
! 8619:
! 8620:
! 8621: archive_cmds_need_lc=no
! 8622: hardcode_direct=no
! 8623: hardcode_automatic=yes
! 8624: hardcode_shlibpath_var=unsupported
! 8625: whole_archive_flag_spec=''
! 8626: link_all_deplibs=yes
! 8627: allow_undefined_flag="$_lt_dar_allow_undefined"
! 8628: case $cc_basename in
! 8629: ifort*) _lt_dar_can_shared=yes ;;
! 8630: *) _lt_dar_can_shared=$GCC ;;
! 8631: esac
! 8632: if test "$_lt_dar_can_shared" = "yes"; then
! 8633: output_verbose_link_cmd=echo
! 8634: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 8635: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 8636: 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}"
! 8637: 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}"
! 8638:
! 8639: else
! 8640: ld_shlibs=no
! 8641: fi
! 8642:
! 8643: ;;
! 8644:
! 8645: dgux*)
! 8646: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8647: hardcode_libdir_flag_spec='-L$libdir'
! 8648: hardcode_shlibpath_var=no
! 8649: ;;
! 8650:
! 8651: freebsd1*)
! 8652: ld_shlibs=no
! 8653: ;;
! 8654:
! 8655: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 8656: # support. Future versions do this automatically, but an explicit c++rt0.o
! 8657: # does not break anything, and helps significantly (at the cost of a little
! 8658: # extra space).
! 8659: freebsd2.2*)
! 8660: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 8661: hardcode_libdir_flag_spec='-R$libdir'
! 8662: hardcode_direct=yes
! 8663: hardcode_shlibpath_var=no
! 8664: ;;
! 8665:
! 8666: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 8667: freebsd2*)
! 8668: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8669: hardcode_direct=yes
! 8670: hardcode_minus_L=yes
! 8671: hardcode_shlibpath_var=no
! 8672: ;;
! 8673:
! 8674: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 8675: freebsd* | dragonfly*)
! 8676: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 8677: hardcode_libdir_flag_spec='-R$libdir'
! 8678: hardcode_direct=yes
! 8679: hardcode_shlibpath_var=no
! 8680: ;;
! 8681:
! 8682: hpux9*)
! 8683: if test "$GCC" = yes; then
! 8684: archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 8685: else
! 8686: archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 8687: fi
! 8688: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8689: hardcode_libdir_separator=:
! 8690: hardcode_direct=yes
! 8691:
! 8692: # hardcode_minus_L: Not really in the search PATH,
! 8693: # but as the default location of the library.
! 8694: hardcode_minus_L=yes
! 8695: export_dynamic_flag_spec='${wl}-E'
! 8696: ;;
! 8697:
! 8698: hpux10*)
! 8699: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8700: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8701: else
! 8702: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 8703: fi
! 8704: if test "$with_gnu_ld" = no; then
! 8705: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8706: hardcode_libdir_flag_spec_ld='+b $libdir'
! 8707: hardcode_libdir_separator=:
! 8708: hardcode_direct=yes
! 8709: hardcode_direct_absolute=yes
! 8710: export_dynamic_flag_spec='${wl}-E'
! 8711: # hardcode_minus_L: Not really in the search PATH,
! 8712: # but as the default location of the library.
! 8713: hardcode_minus_L=yes
! 8714: fi
! 8715: ;;
! 8716:
! 8717: hpux11*)
! 8718: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8719: case $host_cpu in
! 8720: hppa*64*)
! 8721: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8722: ;;
! 8723: ia64*)
! 8724: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8725: ;;
! 8726: *)
! 8727: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8728: ;;
! 8729: esac
! 8730: else
! 8731: case $host_cpu in
! 8732: hppa*64*)
! 8733: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8734: ;;
! 8735: ia64*)
! 8736: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8737: ;;
! 8738: *)
! 8739: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8740: ;;
! 8741: esac
! 8742: fi
! 8743: if test "$with_gnu_ld" = no; then
! 8744: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8745: hardcode_libdir_separator=:
! 8746:
! 8747: case $host_cpu in
! 8748: hppa*64*|ia64*)
! 8749: hardcode_direct=no
! 8750: hardcode_shlibpath_var=no
! 8751: ;;
! 8752: *)
! 8753: hardcode_direct=yes
! 8754: hardcode_direct_absolute=yes
! 8755: export_dynamic_flag_spec='${wl}-E'
! 8756:
! 8757: # hardcode_minus_L: Not really in the search PATH,
! 8758: # but as the default location of the library.
! 8759: hardcode_minus_L=yes
! 8760: ;;
! 8761: esac
! 8762: fi
! 8763: ;;
! 8764:
! 8765: irix5* | irix6* | nonstopux*)
! 8766: if test "$GCC" = yes; then
! 8767: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8768: # Try to use the -exported_symbol ld option, if it does not
! 8769: # work, assume that -exports_file does not work either and
! 8770: # implicitly export all symbols.
! 8771: save_LDFLAGS="$LDFLAGS"
! 8772: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 8773: cat >conftest.$ac_ext <<_ACEOF
! 8774: int foo(void) {}
! 8775: _ACEOF
! 8776: rm -f conftest.$ac_objext conftest$ac_exeext
! 8777: if { (ac_try="$ac_link"
! 8778: case "(($ac_try" in
! 8779: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8780: *) ac_try_echo=$ac_try;;
! 8781: esac
! 8782: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8783: $as_echo "$ac_try_echo") >&5
! 8784: (eval "$ac_link") 2>conftest.er1
! 8785: ac_status=$?
! 8786: grep -v '^ *+' conftest.er1 >conftest.err
! 8787: rm -f conftest.er1
! 8788: cat conftest.err >&5
! 8789: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8790: (exit $ac_status); } && {
! 8791: test -z "$ac_c_werror_flag" ||
! 8792: test ! -s conftest.err
! 8793: } && test -s conftest$ac_exeext && {
! 8794: test "$cross_compiling" = yes ||
! 8795: $as_test_x conftest$ac_exeext
! 8796: }; then
! 8797: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
! 8798:
! 8799: else
! 8800: $as_echo "$as_me: failed program was:" >&5
! 8801: sed 's/^/| /' conftest.$ac_ext >&5
! 8802:
! 8803:
! 8804: fi
! 8805:
! 8806: rm -rf conftest.dSYM
! 8807: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8808: conftest$ac_exeext conftest.$ac_ext
! 8809: LDFLAGS="$save_LDFLAGS"
! 8810: else
! 8811: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8812: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
! 8813: fi
! 8814: archive_cmds_need_lc='no'
! 8815: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8816: hardcode_libdir_separator=:
! 8817: inherit_rpath=yes
! 8818: link_all_deplibs=yes
! 8819: ;;
! 8820:
! 8821: netbsd*)
! 8822: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 8823: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 8824: else
! 8825: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 8826: fi
! 8827: hardcode_libdir_flag_spec='-R$libdir'
! 8828: hardcode_direct=yes
! 8829: hardcode_shlibpath_var=no
! 8830: ;;
! 8831:
! 8832: newsos6)
! 8833: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8834: hardcode_direct=yes
! 8835: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8836: hardcode_libdir_separator=:
! 8837: hardcode_shlibpath_var=no
! 8838: ;;
! 8839:
! 8840: *nto* | *qnx*)
! 8841: ;;
! 8842:
! 8843: openbsd*)
! 8844: if test -f /usr/libexec/ld.so; then
! 8845: hardcode_direct=yes
! 8846: hardcode_shlibpath_var=no
! 8847: hardcode_direct_absolute=yes
! 8848: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 8849: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8850: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 8851: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8852: export_dynamic_flag_spec='${wl}-E'
! 8853: else
! 8854: case $host_os in
! 8855: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 8856: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8857: hardcode_libdir_flag_spec='-R$libdir'
! 8858: ;;
! 8859: *)
! 8860: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8861: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8862: ;;
! 8863: esac
! 8864: fi
! 8865: else
! 8866: ld_shlibs=no
! 8867: fi
! 8868: ;;
! 8869:
! 8870: os2*)
! 8871: hardcode_libdir_flag_spec='-L$libdir'
! 8872: hardcode_minus_L=yes
! 8873: allow_undefined_flag=unsupported
! 8874: archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
! 8875: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 8876: ;;
! 8877:
! 8878: osf3*)
! 8879: if test "$GCC" = yes; then
! 8880: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8881: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8882: else
! 8883: allow_undefined_flag=' -expect_unresolved \*'
! 8884: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8885: fi
! 8886: archive_cmds_need_lc='no'
! 8887: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8888: hardcode_libdir_separator=:
! 8889: ;;
! 8890:
! 8891: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 8892: if test "$GCC" = yes; then
! 8893: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8894: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8895: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8896: else
! 8897: allow_undefined_flag=' -expect_unresolved \*'
! 8898: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
! 8899: 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~
! 8900: $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
! 8901:
! 8902: # Both c and cxx compiler support -rpath directly
! 8903: hardcode_libdir_flag_spec='-rpath $libdir'
! 8904: fi
! 8905: archive_cmds_need_lc='no'
! 8906: hardcode_libdir_separator=:
! 8907: ;;
! 8908:
! 8909: solaris*)
! 8910: no_undefined_flag=' -z defs'
! 8911: if test "$GCC" = yes; then
! 8912: wlarc='${wl}'
! 8913: archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8914: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8915: $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 8916: else
! 8917: case `$CC -V 2>&1` in
! 8918: *"Compilers 5.0"*)
! 8919: wlarc=''
! 8920: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8921: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8922: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 8923: ;;
! 8924: *)
! 8925: wlarc='${wl}'
! 8926: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8927: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 8928: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 8929: ;;
! 8930: esac
! 8931: fi
! 8932: hardcode_libdir_flag_spec='-R$libdir'
! 8933: hardcode_shlibpath_var=no
! 8934: case $host_os in
! 8935: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 8936: *)
! 8937: # The compiler driver will combine and reorder linker options,
! 8938: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 8939: # but is careful enough not to reorder.
! 8940: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 8941: if test "$GCC" = yes; then
! 8942: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 8943: else
! 8944: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 8945: fi
! 8946: ;;
! 8947: esac
! 8948: link_all_deplibs=yes
! 8949: ;;
! 8950:
! 8951: sunos4*)
! 8952: if test "x$host_vendor" = xsequent; then
! 8953: # Use $CC to link under sequent, because it throws in some extra .o
! 8954: # files that make .init and .fini sections work.
! 8955: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8956: else
! 8957: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 8958: fi
! 8959: hardcode_libdir_flag_spec='-L$libdir'
! 8960: hardcode_direct=yes
! 8961: hardcode_minus_L=yes
! 8962: hardcode_shlibpath_var=no
! 8963: ;;
! 8964:
! 8965: sysv4)
! 8966: case $host_vendor in
! 8967: sni)
! 8968: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8969: hardcode_direct=yes # is this really true???
! 8970: ;;
! 8971: siemens)
! 8972: ## LD is ld it makes a PLAMLIB
! 8973: ## CC just makes a GrossModule.
! 8974: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 8975: reload_cmds='$CC -r -o $output$reload_objs'
! 8976: hardcode_direct=no
! 8977: ;;
! 8978: motorola)
! 8979: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8980: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 8981: ;;
! 8982: esac
! 8983: runpath_var='LD_RUN_PATH'
! 8984: hardcode_shlibpath_var=no
! 8985: ;;
! 8986:
! 8987: sysv4.3*)
! 8988: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8989: hardcode_shlibpath_var=no
! 8990: export_dynamic_flag_spec='-Bexport'
! 8991: ;;
! 8992:
! 8993: sysv4*MP*)
! 8994: if test -d /usr/nec; then
! 8995: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8996: hardcode_shlibpath_var=no
! 8997: runpath_var=LD_RUN_PATH
! 8998: hardcode_runpath_var=yes
! 8999: ld_shlibs=yes
! 9000: fi
! 9001: ;;
! 9002:
! 9003: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9004: no_undefined_flag='${wl}-z,text'
! 9005: archive_cmds_need_lc=no
! 9006: hardcode_shlibpath_var=no
! 9007: runpath_var='LD_RUN_PATH'
! 9008:
! 9009: if test "$GCC" = yes; then
! 9010: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9011: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9012: else
! 9013: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9014: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9015: fi
! 9016: ;;
! 9017:
! 9018: sysv5* | sco3.2v5* | sco5v6*)
! 9019: # Note: We can NOT use -z defs as we might desire, because we do not
! 9020: # link with -lc, and that would cause any symbols used from libc to
! 9021: # always be unresolved, which means just about no library would
! 9022: # ever link correctly. If we're not using GNU ld we use -z text
! 9023: # though, which does catch some bad symbols but isn't as heavy-handed
! 9024: # as -z defs.
! 9025: no_undefined_flag='${wl}-z,text'
! 9026: allow_undefined_flag='${wl}-z,nodefs'
! 9027: archive_cmds_need_lc=no
! 9028: hardcode_shlibpath_var=no
! 9029: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 9030: hardcode_libdir_separator=':'
! 9031: link_all_deplibs=yes
! 9032: export_dynamic_flag_spec='${wl}-Bexport'
! 9033: runpath_var='LD_RUN_PATH'
! 9034:
! 9035: if test "$GCC" = yes; then
! 9036: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9037: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9038: else
! 9039: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9040: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9041: fi
! 9042: ;;
! 9043:
! 9044: uts4*)
! 9045: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9046: hardcode_libdir_flag_spec='-L$libdir'
! 9047: hardcode_shlibpath_var=no
! 9048: ;;
! 9049:
! 9050: *)
! 9051: ld_shlibs=no
! 9052: ;;
! 9053: esac
! 9054:
! 9055: if test x$host_vendor = xsni; then
! 9056: case $host in
! 9057: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 9058: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9059: ;;
! 9060: esac
! 9061: fi
! 9062: fi
! 9063:
! 9064: { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9065: $as_echo "$ld_shlibs" >&6; }
! 9066: test "$ld_shlibs" = no && can_build_shared=no
! 9067:
! 9068: with_gnu_ld=$with_gnu_ld
! 9069:
! 9070:
! 9071:
! 9072:
! 9073:
! 9074:
! 9075:
! 9076:
! 9077:
! 9078:
! 9079:
! 9080:
! 9081:
! 9082:
! 9083:
! 9084: #
! 9085: # Do we need to explicitly link libc?
! 9086: #
! 9087: case "x$archive_cmds_need_lc" in
! 9088: x|xyes)
! 9089: # Assume -lc should be added
! 9090: archive_cmds_need_lc=yes
! 9091:
! 9092: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9093: case $archive_cmds in
! 9094: *'~'*)
! 9095: # FIXME: we may have to deal with multi-command sequences.
! 9096: ;;
! 9097: '$CC '*)
! 9098: # Test whether the compiler implicitly links with -lc since on some
! 9099: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9100: # to ld, don't add -lc before -lgcc.
! 9101: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9102: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 9103: $RM conftest*
! 9104: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9105:
! 9106: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9107: (eval $ac_compile) 2>&5
! 9108: ac_status=$?
! 9109: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9110: (exit $ac_status); } 2>conftest.err; then
! 9111: soname=conftest
! 9112: lib=conftest
! 9113: libobjs=conftest.$ac_objext
! 9114: deplibs=
! 9115: wl=$lt_prog_compiler_wl
! 9116: pic_flag=$lt_prog_compiler_pic
! 9117: compiler_flags=-v
! 9118: linker_flags=-v
! 9119: verstring=
! 9120: output_objdir=.
! 9121: libname=conftest
! 9122: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9123: allow_undefined_flag=
! 9124: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9125: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9126: ac_status=$?
! 9127: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9128: (exit $ac_status); }
! 9129: then
! 9130: archive_cmds_need_lc=no
! 9131: else
! 9132: archive_cmds_need_lc=yes
! 9133: fi
! 9134: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9135: else
! 9136: cat conftest.err 1>&5
! 9137: fi
! 9138: $RM conftest*
! 9139: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
! 9140: $as_echo "$archive_cmds_need_lc" >&6; }
! 9141: ;;
! 9142: esac
! 9143: fi
! 9144: ;;
! 9145: esac
! 9146:
! 9147:
! 9148:
! 9149:
! 9150:
! 9151:
! 9152:
! 9153:
! 9154:
! 9155:
! 9156:
! 9157:
! 9158:
! 9159:
! 9160:
! 9161:
! 9162:
! 9163:
! 9164:
! 9165:
! 9166:
! 9167:
! 9168:
! 9169:
! 9170:
! 9171:
! 9172:
! 9173:
! 9174:
! 9175:
! 9176:
! 9177:
! 9178:
! 9179:
! 9180:
! 9181:
! 9182:
! 9183:
! 9184:
! 9185:
! 9186:
! 9187:
! 9188:
! 9189:
! 9190:
! 9191:
! 9192:
! 9193:
! 9194:
! 9195:
! 9196:
! 9197:
! 9198:
! 9199:
! 9200:
! 9201:
! 9202:
! 9203:
! 9204:
! 9205:
! 9206:
! 9207:
! 9208:
! 9209:
! 9210:
! 9211:
! 9212:
! 9213:
! 9214:
! 9215:
! 9216:
! 9217:
! 9218:
! 9219:
! 9220:
! 9221:
! 9222:
! 9223:
! 9224:
! 9225:
! 9226:
! 9227:
! 9228:
! 9229:
! 9230:
! 9231:
! 9232:
! 9233:
! 9234:
! 9235:
! 9236:
! 9237:
! 9238:
! 9239:
! 9240:
! 9241:
! 9242:
! 9243:
! 9244:
! 9245:
! 9246:
! 9247:
! 9248:
! 9249:
! 9250:
! 9251:
! 9252:
! 9253:
! 9254:
! 9255:
! 9256:
! 9257:
! 9258:
! 9259:
! 9260:
! 9261:
! 9262:
! 9263:
! 9264:
! 9265:
! 9266:
! 9267:
! 9268:
! 9269:
! 9270:
! 9271:
! 9272:
! 9273:
! 9274:
! 9275:
! 9276:
! 9277:
! 9278:
! 9279:
! 9280:
! 9281:
! 9282:
! 9283:
! 9284:
! 9285:
! 9286:
! 9287:
! 9288:
! 9289:
! 9290:
! 9291:
! 9292:
! 9293:
! 9294:
! 9295:
! 9296:
! 9297:
! 9298:
! 9299:
! 9300:
! 9301:
! 9302:
! 9303: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9304: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 9305:
! 9306: if test "$GCC" = yes; then
! 9307: case $host_os in
! 9308: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9309: *) lt_awk_arg="/^libraries:/" ;;
! 9310: esac
! 9311: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9312: if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
! 9313: # if the path contains ";" then we assume it to be the separator
! 9314: # otherwise default to the standard path separator (i.e. ":") - it is
! 9315: # assumed that no part of a normal pathname contains ";" but that should
! 9316: # okay in the real world where ";" in dirpaths is itself problematic.
! 9317: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
! 9318: else
! 9319: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9320: fi
! 9321: # Ok, now we have the path, separated by spaces, we can step through it
! 9322: # and add multilib dir if necessary.
! 9323: lt_tmp_lt_search_path_spec=
! 9324: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9325: for lt_sys_path in $lt_search_path_spec; do
! 9326: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9327: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9328: else
! 9329: test -d "$lt_sys_path" && \
! 9330: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9331: fi
! 9332: done
! 9333: lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
! 9334: BEGIN {RS=" "; FS="/|\n";} {
! 9335: lt_foo="";
! 9336: lt_count=0;
! 9337: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9338: if ($lt_i != "" && $lt_i != ".") {
! 9339: if ($lt_i == "..") {
! 9340: lt_count++;
! 9341: } else {
! 9342: if (lt_count == 0) {
! 9343: lt_foo="/" $lt_i lt_foo;
! 9344: } else {
! 9345: lt_count--;
! 9346: }
! 9347: }
! 9348: }
! 9349: }
! 9350: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9351: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9352: }'`
! 9353: sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
! 9354: else
! 9355: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 9356: fi
! 9357: library_names_spec=
! 9358: libname_spec='lib$name'
! 9359: soname_spec=
! 9360: shrext_cmds=".so"
! 9361: postinstall_cmds=
! 9362: postuninstall_cmds=
! 9363: finish_cmds=
! 9364: finish_eval=
! 9365: shlibpath_var=
! 9366: shlibpath_overrides_runpath=unknown
! 9367: version_type=none
! 9368: dynamic_linker="$host_os ld.so"
! 9369: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 9370: need_lib_prefix=unknown
! 9371: hardcode_into_libs=no
! 9372:
! 9373: # when you set need_version to no, make sure it does not cause -set_version
! 9374: # flags to be left without arguments
! 9375: need_version=unknown
! 9376:
! 9377: case $host_os in
! 9378: aix3*)
! 9379: version_type=linux
! 9380: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 9381: shlibpath_var=LIBPATH
! 9382:
! 9383: # AIX 3 has no versioning support, so we append a major version to the name.
! 9384: soname_spec='${libname}${release}${shared_ext}$major'
! 9385: ;;
! 9386:
! 9387: aix[4-9]*)
! 9388: version_type=linux
! 9389: need_lib_prefix=no
! 9390: need_version=no
! 9391: hardcode_into_libs=yes
! 9392: if test "$host_cpu" = ia64; then
! 9393: # AIX 5 supports IA64
! 9394: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 9395: shlibpath_var=LD_LIBRARY_PATH
! 9396: else
! 9397: # With GCC up to 2.95.x, collect2 would create an import file
! 9398: # for dependence libraries. The import file would start with
! 9399: # the line `#! .'. This would cause the generated library to
! 9400: # depend on `.', always an invalid library. This was fixed in
! 9401: # development snapshots of GCC prior to 3.0.
! 9402: case $host_os in
! 9403: aix4 | aix4.[01] | aix4.[01].*)
! 9404: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 9405: echo ' yes '
! 9406: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 9407: :
! 9408: else
! 9409: can_build_shared=no
! 9410: fi
! 9411: ;;
! 9412: esac
! 9413: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 9414: # soname into executable. Probably we can add versioning support to
! 9415: # collect2, so additional links can be useful in future.
! 9416: if test "$aix_use_runtimelinking" = yes; then
! 9417: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 9418: # instead of lib<name>.a to let people know that these are not
! 9419: # typical AIX shared libraries.
! 9420: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9421: else
! 9422: # We preserve .a as extension for shared libraries through AIX4.2
! 9423: # and later when we are not doing run time linking.
! 9424: library_names_spec='${libname}${release}.a $libname.a'
! 9425: soname_spec='${libname}${release}${shared_ext}$major'
! 9426: fi
! 9427: shlibpath_var=LIBPATH
! 9428: fi
! 9429: ;;
! 9430:
! 9431: amigaos*)
! 9432: case $host_cpu in
! 9433: powerpc)
! 9434: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 9435: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 9436: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9437: ;;
! 9438: m68k)
! 9439: library_names_spec='$libname.ixlibrary $libname.a'
! 9440: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 9441: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
! 9442: ;;
! 9443: esac
! 9444: ;;
! 9445:
! 9446: beos*)
! 9447: library_names_spec='${libname}${shared_ext}'
! 9448: dynamic_linker="$host_os ld.so"
! 9449: shlibpath_var=LIBRARY_PATH
! 9450: ;;
! 9451:
! 9452: bsdi[45]*)
! 9453: version_type=linux
! 9454: need_version=no
! 9455: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9456: soname_spec='${libname}${release}${shared_ext}$major'
! 9457: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 9458: shlibpath_var=LD_LIBRARY_PATH
! 9459: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 9460: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 9461: # the default ld.so.conf also contains /usr/contrib/lib and
! 9462: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 9463: # libtool to hard-code these into programs
! 9464: ;;
! 9465:
! 9466: cygwin* | mingw* | pw32* | cegcc*)
! 9467: version_type=windows
! 9468: shrext_cmds=".dll"
! 9469: need_version=no
! 9470: need_lib_prefix=no
! 9471:
! 9472: case $GCC,$host_os in
! 9473: yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
! 9474: library_names_spec='$libname.dll.a'
! 9475: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9476: postinstall_cmds='base_file=`basename \${file}`~
! 9477: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 9478: dldir=$destdir/`dirname \$dlpath`~
! 9479: test -d \$dldir || mkdir -p \$dldir~
! 9480: $install_prog $dir/$dlname \$dldir/$dlname~
! 9481: chmod a+x \$dldir/$dlname~
! 9482: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 9483: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 9484: fi'
! 9485: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9486: dlpath=$dir/\$dldll~
! 9487: $RM \$dlpath'
! 9488: shlibpath_overrides_runpath=yes
! 9489:
! 9490: case $host_os in
! 9491: cygwin*)
! 9492: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 9493: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9494: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 9495: ;;
! 9496: mingw* | cegcc*)
! 9497: # MinGW DLLs use traditional 'lib' prefix
! 9498: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9499: sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9500: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 9501: # It is most probably a Windows format PATH printed by
! 9502: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 9503: # path with ; separators, and with drive letters. We can handle the
! 9504: # drive letters (cygwin fileutils understands them), so leave them,
! 9505: # especially as we might pass files found there to a mingw objdump,
! 9506: # which wouldn't understand a cygwinified path. Ahh.
! 9507: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 9508: else
! 9509: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9510: fi
! 9511: ;;
! 9512: pw32*)
! 9513: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 9514: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9515: ;;
! 9516: esac
! 9517: ;;
! 9518:
! 9519: *)
! 9520: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 9521: ;;
! 9522: esac
! 9523: dynamic_linker='Win32 ld.exe'
! 9524: # FIXME: first we should search . and the directory the executable is in
! 9525: shlibpath_var=PATH
! 9526: ;;
! 9527:
! 9528: darwin* | rhapsody*)
! 9529: dynamic_linker="$host_os dyld"
! 9530: version_type=darwin
! 9531: need_lib_prefix=no
! 9532: need_version=no
! 9533: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 9534: soname_spec='${libname}${release}${major}$shared_ext'
! 9535: shlibpath_overrides_runpath=yes
! 9536: shlibpath_var=DYLD_LIBRARY_PATH
! 9537: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 9538:
! 9539: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 9540: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 9541: ;;
! 9542:
! 9543: dgux*)
! 9544: version_type=linux
! 9545: need_lib_prefix=no
! 9546: need_version=no
! 9547: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 9548: soname_spec='${libname}${release}${shared_ext}$major'
! 9549: shlibpath_var=LD_LIBRARY_PATH
! 9550: ;;
! 9551:
! 9552: freebsd1*)
! 9553: dynamic_linker=no
! 9554: ;;
! 9555:
! 9556: freebsd* | dragonfly*)
! 9557: # DragonFly does not have aout. When/if they implement a new
! 9558: # versioning mechanism, adjust this.
! 9559: if test -x /usr/bin/objformat; then
! 9560: objformat=`/usr/bin/objformat`
! 9561: else
! 9562: case $host_os in
! 9563: freebsd[123]*) objformat=aout ;;
! 9564: *) objformat=elf ;;
! 9565: esac
! 9566: fi
! 9567: version_type=freebsd-$objformat
! 9568: case $version_type in
! 9569: freebsd-elf*)
! 9570: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9571: need_version=no
! 9572: need_lib_prefix=no
! 9573: ;;
! 9574: freebsd-*)
! 9575: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 9576: need_version=yes
! 9577: ;;
! 9578: esac
! 9579: shlibpath_var=LD_LIBRARY_PATH
! 9580: case $host_os in
! 9581: freebsd2*)
! 9582: shlibpath_overrides_runpath=yes
! 9583: ;;
! 9584: freebsd3.[01]* | freebsdelf3.[01]*)
! 9585: shlibpath_overrides_runpath=yes
! 9586: hardcode_into_libs=yes
! 9587: ;;
! 9588: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 9589: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 9590: shlibpath_overrides_runpath=no
! 9591: hardcode_into_libs=yes
! 9592: ;;
! 9593: *) # from 4.6 on, and DragonFly
! 9594: shlibpath_overrides_runpath=yes
! 9595: hardcode_into_libs=yes
! 9596: ;;
! 9597: esac
! 9598: ;;
! 9599:
! 9600: gnu*)
! 9601: version_type=linux
! 9602: need_lib_prefix=no
! 9603: need_version=no
! 9604: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 9605: soname_spec='${libname}${release}${shared_ext}$major'
! 9606: shlibpath_var=LD_LIBRARY_PATH
! 9607: hardcode_into_libs=yes
! 9608: ;;
! 9609:
! 9610: hpux9* | hpux10* | hpux11*)
! 9611: # Give a soname corresponding to the major version so that dld.sl refuses to
! 9612: # link against other versions.
! 9613: version_type=sunos
! 9614: need_lib_prefix=no
! 9615: need_version=no
! 9616: case $host_cpu in
! 9617: ia64*)
! 9618: shrext_cmds='.so'
! 9619: hardcode_into_libs=yes
! 9620: dynamic_linker="$host_os dld.so"
! 9621: shlibpath_var=LD_LIBRARY_PATH
! 9622: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9623: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9624: soname_spec='${libname}${release}${shared_ext}$major'
! 9625: if test "X$HPUX_IA64_MODE" = X32; then
! 9626: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 9627: else
! 9628: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 9629: fi
! 9630: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9631: ;;
! 9632: hppa*64*)
! 9633: shrext_cmds='.sl'
! 9634: hardcode_into_libs=yes
! 9635: dynamic_linker="$host_os dld.sl"
! 9636: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 9637: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9638: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9639: soname_spec='${libname}${release}${shared_ext}$major'
! 9640: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 9641: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9642: ;;
! 9643: *)
! 9644: shrext_cmds='.sl'
! 9645: dynamic_linker="$host_os dld.sl"
! 9646: shlibpath_var=SHLIB_PATH
! 9647: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 9648: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9649: soname_spec='${libname}${release}${shared_ext}$major'
! 9650: ;;
! 9651: esac
! 9652: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 9653: postinstall_cmds='chmod 555 $lib'
! 9654: ;;
! 9655:
! 9656: interix[3-9]*)
! 9657: version_type=linux
! 9658: need_lib_prefix=no
! 9659: need_version=no
! 9660: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9661: soname_spec='${libname}${release}${shared_ext}$major'
! 9662: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 9663: shlibpath_var=LD_LIBRARY_PATH
! 9664: shlibpath_overrides_runpath=no
! 9665: hardcode_into_libs=yes
! 9666: ;;
! 9667:
! 9668: irix5* | irix6* | nonstopux*)
! 9669: case $host_os in
! 9670: nonstopux*) version_type=nonstopux ;;
! 9671: *)
! 9672: if test "$lt_cv_prog_gnu_ld" = yes; then
! 9673: version_type=linux
! 9674: else
! 9675: version_type=irix
! 9676: fi ;;
! 9677: esac
! 9678: need_lib_prefix=no
! 9679: need_version=no
! 9680: soname_spec='${libname}${release}${shared_ext}$major'
! 9681: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9682: case $host_os in
! 9683: irix5* | nonstopux*)
! 9684: libsuff= shlibsuff=
! 9685: ;;
! 9686: *)
! 9687: case $LD in # libtool.m4 will add one of these switches to LD
! 9688: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 9689: libsuff= shlibsuff= libmagic=32-bit;;
! 9690: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 9691: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 9692: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 9693: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 9694: *) libsuff= shlibsuff= libmagic=never-match;;
! 9695: esac
! 9696: ;;
! 9697: esac
! 9698: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 9699: shlibpath_overrides_runpath=no
! 9700: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 9701: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 9702: hardcode_into_libs=yes
! 9703: ;;
! 9704:
! 9705: # No shared lib support for Linux oldld, aout, or coff.
! 9706: linux*oldld* | linux*aout* | linux*coff*)
! 9707: dynamic_linker=no
! 9708: ;;
! 9709:
! 9710: # This must be Linux ELF.
! 9711: linux* | k*bsd*-gnu)
! 9712: version_type=linux
! 9713: need_lib_prefix=no
! 9714: need_version=no
! 9715: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9716: soname_spec='${libname}${release}${shared_ext}$major'
! 9717: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 9718: shlibpath_var=LD_LIBRARY_PATH
! 9719: shlibpath_overrides_runpath=no
! 9720: # Some binutils ld are patched to set DT_RUNPATH
! 9721: save_LDFLAGS=$LDFLAGS
! 9722: save_libdir=$libdir
! 9723: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 9724: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 9725: cat >conftest.$ac_ext <<_ACEOF
! 9726: /* confdefs.h. */
! 9727: _ACEOF
! 9728: cat confdefs.h >>conftest.$ac_ext
! 9729: cat >>conftest.$ac_ext <<_ACEOF
! 9730: /* end confdefs.h. */
! 9731:
! 9732: int
! 9733: main ()
! 9734: {
! 9735:
! 9736: ;
! 9737: return 0;
! 9738: }
! 9739: _ACEOF
! 9740: rm -f conftest.$ac_objext conftest$ac_exeext
! 9741: if { (ac_try="$ac_link"
! 9742: case "(($ac_try" in
! 9743: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 9744: *) ac_try_echo=$ac_try;;
! 9745: esac
! 9746: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 9747: $as_echo "$ac_try_echo") >&5
! 9748: (eval "$ac_link") 2>conftest.er1
! 9749: ac_status=$?
! 9750: grep -v '^ *+' conftest.er1 >conftest.err
! 9751: rm -f conftest.er1
! 9752: cat conftest.err >&5
! 9753: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9754: (exit $ac_status); } && {
! 9755: test -z "$ac_c_werror_flag" ||
! 9756: test ! -s conftest.err
! 9757: } && test -s conftest$ac_exeext && {
! 9758: test "$cross_compiling" = yes ||
! 9759: $as_test_x conftest$ac_exeext
! 9760: }; then
! 9761: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
! 9762: shlibpath_overrides_runpath=yes
! 9763: fi
! 9764:
! 9765: else
! 9766: $as_echo "$as_me: failed program was:" >&5
! 9767: sed 's/^/| /' conftest.$ac_ext >&5
! 9768:
! 9769:
! 9770: fi
! 9771:
! 9772: rm -rf conftest.dSYM
! 9773: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 9774: conftest$ac_exeext conftest.$ac_ext
! 9775: LDFLAGS=$save_LDFLAGS
! 9776: libdir=$save_libdir
! 9777:
! 9778: # This implies no fast_install, which is unacceptable.
! 9779: # Some rework will be needed to allow for fast_install
! 9780: # before this can be enabled.
! 9781: hardcode_into_libs=yes
! 9782:
! 9783: # Append ld.so.conf contents to the search path
! 9784: if test -f /etc/ld.so.conf; then
! 9785: 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;/^$/d' | tr '\n' ' '`
! 9786: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 9787: fi
! 9788:
! 9789: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 9790: # powerpc, because MkLinux only supported shared libraries with the
! 9791: # GNU dynamic linker. Since this was broken with cross compilers,
! 9792: # most powerpc-linux boxes support dynamic linking these days and
! 9793: # people can always --disable-shared, the test was removed, and we
! 9794: # assume the GNU/Linux dynamic linker is in use.
! 9795: dynamic_linker='GNU/Linux ld.so'
! 9796: ;;
! 9797:
! 9798: netbsd*)
! 9799: version_type=sunos
! 9800: need_lib_prefix=no
! 9801: need_version=no
! 9802: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9803: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9804: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9805: dynamic_linker='NetBSD (a.out) ld.so'
! 9806: else
! 9807: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9808: soname_spec='${libname}${release}${shared_ext}$major'
! 9809: dynamic_linker='NetBSD ld.elf_so'
! 9810: fi
! 9811: shlibpath_var=LD_LIBRARY_PATH
! 9812: shlibpath_overrides_runpath=yes
! 9813: hardcode_into_libs=yes
! 9814: ;;
! 9815:
! 9816: newsos6)
! 9817: version_type=linux
! 9818: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9819: shlibpath_var=LD_LIBRARY_PATH
! 9820: shlibpath_overrides_runpath=yes
! 9821: ;;
! 9822:
! 9823: *nto* | *qnx*)
! 9824: version_type=qnx
! 9825: need_lib_prefix=no
! 9826: need_version=no
! 9827: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9828: soname_spec='${libname}${release}${shared_ext}$major'
! 9829: shlibpath_var=LD_LIBRARY_PATH
! 9830: shlibpath_overrides_runpath=no
! 9831: hardcode_into_libs=yes
! 9832: dynamic_linker='ldqnx.so'
! 9833: ;;
! 9834:
! 9835: openbsd*)
! 9836: version_type=sunos
! 9837: sys_lib_dlsearch_path_spec="/usr/lib"
! 9838: need_lib_prefix=no
! 9839: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 9840: case $host_os in
! 9841: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 9842: *) need_version=no ;;
! 9843: esac
! 9844: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9845: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9846: shlibpath_var=LD_LIBRARY_PATH
! 9847: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9848: case $host_os in
! 9849: openbsd2.[89] | openbsd2.[89].*)
! 9850: shlibpath_overrides_runpath=no
! 9851: ;;
! 9852: *)
! 9853: shlibpath_overrides_runpath=yes
! 9854: ;;
! 9855: esac
! 9856: else
! 9857: shlibpath_overrides_runpath=yes
! 9858: fi
! 9859: ;;
! 9860:
! 9861: os2*)
! 9862: libname_spec='$name'
! 9863: shrext_cmds=".dll"
! 9864: need_lib_prefix=no
! 9865: library_names_spec='$libname${shared_ext} $libname.a'
! 9866: dynamic_linker='OS/2 ld.exe'
! 9867: shlibpath_var=LIBPATH
! 9868: ;;
! 9869:
! 9870: osf3* | osf4* | osf5*)
! 9871: version_type=osf
! 9872: need_lib_prefix=no
! 9873: need_version=no
! 9874: soname_spec='${libname}${release}${shared_ext}$major'
! 9875: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9876: shlibpath_var=LD_LIBRARY_PATH
! 9877: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 9878: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 9879: ;;
! 9880:
! 9881: rdos*)
! 9882: dynamic_linker=no
! 9883: ;;
! 9884:
! 9885: solaris*)
! 9886: version_type=linux
! 9887: need_lib_prefix=no
! 9888: need_version=no
! 9889: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9890: soname_spec='${libname}${release}${shared_ext}$major'
! 9891: shlibpath_var=LD_LIBRARY_PATH
! 9892: shlibpath_overrides_runpath=yes
! 9893: hardcode_into_libs=yes
! 9894: # ldd complains unless libraries are executable
! 9895: postinstall_cmds='chmod +x $lib'
! 9896: ;;
! 9897:
! 9898: sunos4*)
! 9899: version_type=sunos
! 9900: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9901: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 9902: shlibpath_var=LD_LIBRARY_PATH
! 9903: shlibpath_overrides_runpath=yes
! 9904: if test "$with_gnu_ld" = yes; then
! 9905: need_lib_prefix=no
! 9906: fi
! 9907: need_version=yes
! 9908: ;;
! 9909:
! 9910: sysv4 | sysv4.3*)
! 9911: version_type=linux
! 9912: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9913: soname_spec='${libname}${release}${shared_ext}$major'
! 9914: shlibpath_var=LD_LIBRARY_PATH
! 9915: case $host_vendor in
! 9916: sni)
! 9917: shlibpath_overrides_runpath=no
! 9918: need_lib_prefix=no
! 9919: runpath_var=LD_RUN_PATH
! 9920: ;;
! 9921: siemens)
! 9922: need_lib_prefix=no
! 9923: ;;
! 9924: motorola)
! 9925: need_lib_prefix=no
! 9926: need_version=no
! 9927: shlibpath_overrides_runpath=no
! 9928: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 9929: ;;
! 9930: esac
! 9931: ;;
! 9932:
! 9933: sysv4*MP*)
! 9934: if test -d /usr/nec ;then
! 9935: version_type=linux
! 9936: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 9937: soname_spec='$libname${shared_ext}.$major'
! 9938: shlibpath_var=LD_LIBRARY_PATH
! 9939: fi
! 9940: ;;
! 9941:
! 9942: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 9943: version_type=freebsd-elf
! 9944: need_lib_prefix=no
! 9945: need_version=no
! 9946: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9947: soname_spec='${libname}${release}${shared_ext}$major'
! 9948: shlibpath_var=LD_LIBRARY_PATH
! 9949: shlibpath_overrides_runpath=yes
! 9950: hardcode_into_libs=yes
! 9951: if test "$with_gnu_ld" = yes; then
! 9952: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 9953: else
! 9954: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 9955: case $host_os in
! 9956: sco3.2v5*)
! 9957: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 9958: ;;
! 9959: esac
! 9960: fi
! 9961: sys_lib_dlsearch_path_spec='/usr/lib'
! 9962: ;;
! 9963:
! 9964: tpf*)
! 9965: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 9966: version_type=linux
! 9967: need_lib_prefix=no
! 9968: need_version=no
! 9969: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9970: shlibpath_var=LD_LIBRARY_PATH
! 9971: shlibpath_overrides_runpath=no
! 9972: hardcode_into_libs=yes
! 9973: ;;
! 9974:
! 9975: uts4*)
! 9976: version_type=linux
! 9977: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9978: soname_spec='${libname}${release}${shared_ext}$major'
! 9979: shlibpath_var=LD_LIBRARY_PATH
! 9980: ;;
! 9981:
! 9982: *)
! 9983: dynamic_linker=no
! 9984: ;;
! 9985: esac
! 9986: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 9987: $as_echo "$dynamic_linker" >&6; }
! 9988: test "$dynamic_linker" = no && can_build_shared=no
! 9989:
! 9990: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 9991: if test "$GCC" = yes; then
! 9992: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 9993: fi
! 9994:
! 9995: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 9996: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 9997: fi
! 9998: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 9999: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 10000: fi
! 10001:
! 10002:
! 10003:
! 10004:
! 10005:
! 10006:
! 10007:
! 10008:
! 10009:
! 10010:
! 10011:
! 10012:
! 10013:
! 10014:
! 10015:
! 10016:
! 10017:
! 10018:
! 10019:
! 10020:
! 10021:
! 10022:
! 10023:
! 10024:
! 10025:
! 10026:
! 10027:
! 10028:
! 10029:
! 10030:
! 10031:
! 10032:
! 10033:
! 10034:
! 10035:
! 10036:
! 10037:
! 10038:
! 10039:
! 10040:
! 10041:
! 10042:
! 10043:
! 10044:
! 10045:
! 10046:
! 10047:
! 10048:
! 10049:
! 10050:
! 10051:
! 10052:
! 10053:
! 10054:
! 10055:
! 10056:
! 10057:
! 10058:
! 10059:
! 10060:
! 10061:
! 10062:
! 10063:
! 10064:
! 10065:
! 10066:
! 10067:
! 10068:
! 10069:
! 10070:
! 10071:
! 10072:
! 10073:
! 10074:
! 10075:
! 10076:
! 10077:
! 10078:
! 10079:
! 10080:
! 10081:
! 10082:
! 10083:
! 10084:
! 10085:
! 10086:
! 10087:
! 10088: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 10089: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 10090: hardcode_action=
! 10091: if test -n "$hardcode_libdir_flag_spec" ||
! 10092: test -n "$runpath_var" ||
! 10093: test "X$hardcode_automatic" = "Xyes" ; then
! 10094:
! 10095: # We can hardcode non-existent directories.
! 10096: if test "$hardcode_direct" != no &&
! 10097: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 10098: # have to relink, otherwise we might link with an installed library
! 10099: # when we should be linking with a yet-to-be-installed one
! 10100: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 10101: test "$hardcode_minus_L" != no; then
! 10102: # Linking always hardcodes the temporary library directory.
! 10103: hardcode_action=relink
! 10104: else
! 10105: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 10106: hardcode_action=immediate
! 10107: fi
! 10108: else
! 10109: # We cannot hardcode anything, or else we can only hardcode existing
! 10110: # directories.
! 10111: hardcode_action=unsupported
! 10112: fi
! 10113: { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 10114: $as_echo "$hardcode_action" >&6; }
! 10115:
! 10116: if test "$hardcode_action" = relink ||
! 10117: test "$inherit_rpath" = yes; then
! 10118: # Fast installation is not supported
! 10119: enable_fast_install=no
! 10120: elif test "$shlibpath_overrides_runpath" = yes ||
! 10121: test "$enable_shared" = no; then
! 10122: # Fast installation is not necessary
! 10123: enable_fast_install=needless
! 10124: fi
! 10125:
! 10126:
! 10127:
! 10128:
! 10129:
! 10130:
! 10131: if test "x$enable_dlopen" != xyes; then
! 10132: enable_dlopen=unknown
! 10133: enable_dlopen_self=unknown
! 10134: enable_dlopen_self_static=unknown
! 10135: else
! 10136: lt_cv_dlopen=no
! 10137: lt_cv_dlopen_libs=
! 10138:
! 10139: case $host_os in
! 10140: beos*)
! 10141: lt_cv_dlopen="load_add_on"
! 10142: lt_cv_dlopen_libs=
! 10143: lt_cv_dlopen_self=yes
! 10144: ;;
! 10145:
! 10146: mingw* | pw32* | cegcc*)
! 10147: lt_cv_dlopen="LoadLibrary"
! 10148: lt_cv_dlopen_libs=
! 10149: ;;
! 10150:
! 10151: cygwin*)
! 10152: lt_cv_dlopen="dlopen"
! 10153: lt_cv_dlopen_libs=
! 10154: ;;
! 10155:
! 10156: darwin*)
! 10157: # if libdl is installed we need to link against it
! 10158: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10159: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10160: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10161: $as_echo_n "(cached) " >&6
! 10162: else
! 10163: ac_check_lib_save_LIBS=$LIBS
! 10164: LIBS="-ldl $LIBS"
! 10165: cat >conftest.$ac_ext <<_ACEOF
! 10166: /* confdefs.h. */
! 10167: _ACEOF
! 10168: cat confdefs.h >>conftest.$ac_ext
! 10169: cat >>conftest.$ac_ext <<_ACEOF
! 10170: /* end confdefs.h. */
! 10171:
! 10172: /* Override any GCC internal prototype to avoid an error.
! 10173: Use char because int might match the return type of a GCC
! 10174: builtin and then its argument prototype would still apply. */
! 10175: #ifdef __cplusplus
! 10176: extern "C"
! 10177: #endif
! 10178: char dlopen ();
! 10179: int
! 10180: main ()
! 10181: {
! 10182: return dlopen ();
! 10183: ;
! 10184: return 0;
! 10185: }
! 10186: _ACEOF
! 10187: rm -f conftest.$ac_objext conftest$ac_exeext
! 10188: if { (ac_try="$ac_link"
! 10189: case "(($ac_try" in
! 10190: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10191: *) ac_try_echo=$ac_try;;
! 10192: esac
! 10193: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10194: $as_echo "$ac_try_echo") >&5
! 10195: (eval "$ac_link") 2>conftest.er1
! 10196: ac_status=$?
! 10197: grep -v '^ *+' conftest.er1 >conftest.err
! 10198: rm -f conftest.er1
! 10199: cat conftest.err >&5
! 10200: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10201: (exit $ac_status); } && {
! 10202: test -z "$ac_c_werror_flag" ||
! 10203: test ! -s conftest.err
! 10204: } && test -s conftest$ac_exeext && {
! 10205: test "$cross_compiling" = yes ||
! 10206: $as_test_x conftest$ac_exeext
! 10207: }; then
! 10208: ac_cv_lib_dl_dlopen=yes
! 10209: else
! 10210: $as_echo "$as_me: failed program was:" >&5
! 10211: sed 's/^/| /' conftest.$ac_ext >&5
! 10212:
! 10213: ac_cv_lib_dl_dlopen=no
! 10214: fi
! 10215:
! 10216: rm -rf conftest.dSYM
! 10217: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10218: conftest$ac_exeext conftest.$ac_ext
! 10219: LIBS=$ac_check_lib_save_LIBS
! 10220: fi
! 10221: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10222: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10223: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 10224: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10225: else
! 10226:
! 10227: lt_cv_dlopen="dyld"
! 10228: lt_cv_dlopen_libs=
! 10229: lt_cv_dlopen_self=yes
! 10230:
! 10231: fi
! 10232:
! 10233: ;;
! 10234:
! 10235: *)
! 10236: { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
! 10237: $as_echo_n "checking for shl_load... " >&6; }
! 10238: if test "${ac_cv_func_shl_load+set}" = set; then
! 10239: $as_echo_n "(cached) " >&6
! 10240: else
! 10241: cat >conftest.$ac_ext <<_ACEOF
! 10242: /* confdefs.h. */
! 10243: _ACEOF
! 10244: cat confdefs.h >>conftest.$ac_ext
! 10245: cat >>conftest.$ac_ext <<_ACEOF
! 10246: /* end confdefs.h. */
! 10247: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 10248: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10249: #define shl_load innocuous_shl_load
! 10250:
! 10251: /* System header to define __stub macros and hopefully few prototypes,
! 10252: which can conflict with char shl_load (); below.
! 10253: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10254: <limits.h> exists even on freestanding compilers. */
! 10255:
! 10256: #ifdef __STDC__
! 10257: # include <limits.h>
! 10258: #else
! 10259: # include <assert.h>
! 10260: #endif
! 10261:
! 10262: #undef shl_load
! 10263:
! 10264: /* Override any GCC internal prototype to avoid an error.
! 10265: Use char because int might match the return type of a GCC
! 10266: builtin and then its argument prototype would still apply. */
! 10267: #ifdef __cplusplus
! 10268: extern "C"
! 10269: #endif
! 10270: char shl_load ();
! 10271: /* The GNU C library defines this for functions which it implements
! 10272: to always fail with ENOSYS. Some functions are actually named
! 10273: something starting with __ and the normal name is an alias. */
! 10274: #if defined __stub_shl_load || defined __stub___shl_load
! 10275: choke me
! 10276: #endif
! 10277:
! 10278: int
! 10279: main ()
! 10280: {
! 10281: return shl_load ();
! 10282: ;
! 10283: return 0;
! 10284: }
! 10285: _ACEOF
! 10286: rm -f conftest.$ac_objext conftest$ac_exeext
! 10287: if { (ac_try="$ac_link"
! 10288: case "(($ac_try" in
! 10289: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10290: *) ac_try_echo=$ac_try;;
! 10291: esac
! 10292: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10293: $as_echo "$ac_try_echo") >&5
! 10294: (eval "$ac_link") 2>conftest.er1
! 10295: ac_status=$?
! 10296: grep -v '^ *+' conftest.er1 >conftest.err
! 10297: rm -f conftest.er1
! 10298: cat conftest.err >&5
! 10299: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10300: (exit $ac_status); } && {
! 10301: test -z "$ac_c_werror_flag" ||
! 10302: test ! -s conftest.err
! 10303: } && test -s conftest$ac_exeext && {
! 10304: test "$cross_compiling" = yes ||
! 10305: $as_test_x conftest$ac_exeext
! 10306: }; then
! 10307: ac_cv_func_shl_load=yes
! 10308: else
! 10309: $as_echo "$as_me: failed program was:" >&5
! 10310: sed 's/^/| /' conftest.$ac_ext >&5
! 10311:
! 10312: ac_cv_func_shl_load=no
! 10313: fi
! 10314:
! 10315: rm -rf conftest.dSYM
! 10316: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10317: conftest$ac_exeext conftest.$ac_ext
! 10318: fi
! 10319: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 10320: $as_echo "$ac_cv_func_shl_load" >&6; }
! 10321: if test "x$ac_cv_func_shl_load" = x""yes; then
! 10322: lt_cv_dlopen="shl_load"
! 10323: else
! 10324: { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 10325: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 10326: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 10327: $as_echo_n "(cached) " >&6
! 10328: else
! 10329: ac_check_lib_save_LIBS=$LIBS
! 10330: LIBS="-ldld $LIBS"
! 10331: cat >conftest.$ac_ext <<_ACEOF
! 10332: /* confdefs.h. */
! 10333: _ACEOF
! 10334: cat confdefs.h >>conftest.$ac_ext
! 10335: cat >>conftest.$ac_ext <<_ACEOF
! 10336: /* end confdefs.h. */
! 10337:
! 10338: /* Override any GCC internal prototype to avoid an error.
! 10339: Use char because int might match the return type of a GCC
! 10340: builtin and then its argument prototype would still apply. */
! 10341: #ifdef __cplusplus
! 10342: extern "C"
! 10343: #endif
! 10344: char shl_load ();
! 10345: int
! 10346: main ()
! 10347: {
! 10348: return shl_load ();
! 10349: ;
! 10350: return 0;
! 10351: }
! 10352: _ACEOF
! 10353: rm -f conftest.$ac_objext conftest$ac_exeext
! 10354: if { (ac_try="$ac_link"
! 10355: case "(($ac_try" in
! 10356: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10357: *) ac_try_echo=$ac_try;;
! 10358: esac
! 10359: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10360: $as_echo "$ac_try_echo") >&5
! 10361: (eval "$ac_link") 2>conftest.er1
! 10362: ac_status=$?
! 10363: grep -v '^ *+' conftest.er1 >conftest.err
! 10364: rm -f conftest.er1
! 10365: cat conftest.err >&5
! 10366: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10367: (exit $ac_status); } && {
! 10368: test -z "$ac_c_werror_flag" ||
! 10369: test ! -s conftest.err
! 10370: } && test -s conftest$ac_exeext && {
! 10371: test "$cross_compiling" = yes ||
! 10372: $as_test_x conftest$ac_exeext
! 10373: }; then
! 10374: ac_cv_lib_dld_shl_load=yes
! 10375: else
! 10376: $as_echo "$as_me: failed program was:" >&5
! 10377: sed 's/^/| /' conftest.$ac_ext >&5
! 10378:
! 10379: ac_cv_lib_dld_shl_load=no
! 10380: fi
! 10381:
! 10382: rm -rf conftest.dSYM
! 10383: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10384: conftest$ac_exeext conftest.$ac_ext
! 10385: LIBS=$ac_check_lib_save_LIBS
! 10386: fi
! 10387: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 10388: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 10389: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
! 10390: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 10391: else
! 10392: { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
! 10393: $as_echo_n "checking for dlopen... " >&6; }
! 10394: if test "${ac_cv_func_dlopen+set}" = set; then
! 10395: $as_echo_n "(cached) " >&6
! 10396: else
! 10397: cat >conftest.$ac_ext <<_ACEOF
! 10398: /* confdefs.h. */
! 10399: _ACEOF
! 10400: cat confdefs.h >>conftest.$ac_ext
! 10401: cat >>conftest.$ac_ext <<_ACEOF
! 10402: /* end confdefs.h. */
! 10403: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 10404: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10405: #define dlopen innocuous_dlopen
! 10406:
! 10407: /* System header to define __stub macros and hopefully few prototypes,
! 10408: which can conflict with char dlopen (); below.
! 10409: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10410: <limits.h> exists even on freestanding compilers. */
! 10411:
! 10412: #ifdef __STDC__
! 10413: # include <limits.h>
! 10414: #else
! 10415: # include <assert.h>
! 10416: #endif
! 10417:
! 10418: #undef dlopen
! 10419:
! 10420: /* Override any GCC internal prototype to avoid an error.
! 10421: Use char because int might match the return type of a GCC
! 10422: builtin and then its argument prototype would still apply. */
! 10423: #ifdef __cplusplus
! 10424: extern "C"
! 10425: #endif
! 10426: char dlopen ();
! 10427: /* The GNU C library defines this for functions which it implements
! 10428: to always fail with ENOSYS. Some functions are actually named
! 10429: something starting with __ and the normal name is an alias. */
! 10430: #if defined __stub_dlopen || defined __stub___dlopen
! 10431: choke me
! 10432: #endif
! 10433:
! 10434: int
! 10435: main ()
! 10436: {
! 10437: return dlopen ();
! 10438: ;
! 10439: return 0;
! 10440: }
! 10441: _ACEOF
! 10442: rm -f conftest.$ac_objext conftest$ac_exeext
! 10443: if { (ac_try="$ac_link"
! 10444: case "(($ac_try" in
! 10445: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10446: *) ac_try_echo=$ac_try;;
! 10447: esac
! 10448: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10449: $as_echo "$ac_try_echo") >&5
! 10450: (eval "$ac_link") 2>conftest.er1
! 10451: ac_status=$?
! 10452: grep -v '^ *+' conftest.er1 >conftest.err
! 10453: rm -f conftest.er1
! 10454: cat conftest.err >&5
! 10455: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10456: (exit $ac_status); } && {
! 10457: test -z "$ac_c_werror_flag" ||
! 10458: test ! -s conftest.err
! 10459: } && test -s conftest$ac_exeext && {
! 10460: test "$cross_compiling" = yes ||
! 10461: $as_test_x conftest$ac_exeext
! 10462: }; then
! 10463: ac_cv_func_dlopen=yes
! 10464: else
! 10465: $as_echo "$as_me: failed program was:" >&5
! 10466: sed 's/^/| /' conftest.$ac_ext >&5
! 10467:
! 10468: ac_cv_func_dlopen=no
! 10469: fi
! 10470:
! 10471: rm -rf conftest.dSYM
! 10472: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10473: conftest$ac_exeext conftest.$ac_ext
! 10474: fi
! 10475: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 10476: $as_echo "$ac_cv_func_dlopen" >&6; }
! 10477: if test "x$ac_cv_func_dlopen" = x""yes; then
! 10478: lt_cv_dlopen="dlopen"
! 10479: else
! 10480: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10481: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10482: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10483: $as_echo_n "(cached) " >&6
! 10484: else
! 10485: ac_check_lib_save_LIBS=$LIBS
! 10486: LIBS="-ldl $LIBS"
! 10487: cat >conftest.$ac_ext <<_ACEOF
! 10488: /* confdefs.h. */
! 10489: _ACEOF
! 10490: cat confdefs.h >>conftest.$ac_ext
! 10491: cat >>conftest.$ac_ext <<_ACEOF
! 10492: /* end confdefs.h. */
! 10493:
! 10494: /* Override any GCC internal prototype to avoid an error.
! 10495: Use char because int might match the return type of a GCC
! 10496: builtin and then its argument prototype would still apply. */
! 10497: #ifdef __cplusplus
! 10498: extern "C"
! 10499: #endif
! 10500: char dlopen ();
! 10501: int
! 10502: main ()
! 10503: {
! 10504: return dlopen ();
! 10505: ;
! 10506: return 0;
! 10507: }
! 10508: _ACEOF
! 10509: rm -f conftest.$ac_objext conftest$ac_exeext
! 10510: if { (ac_try="$ac_link"
! 10511: case "(($ac_try" in
! 10512: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10513: *) ac_try_echo=$ac_try;;
! 10514: esac
! 10515: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10516: $as_echo "$ac_try_echo") >&5
! 10517: (eval "$ac_link") 2>conftest.er1
! 10518: ac_status=$?
! 10519: grep -v '^ *+' conftest.er1 >conftest.err
! 10520: rm -f conftest.er1
! 10521: cat conftest.err >&5
! 10522: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10523: (exit $ac_status); } && {
! 10524: test -z "$ac_c_werror_flag" ||
! 10525: test ! -s conftest.err
! 10526: } && test -s conftest$ac_exeext && {
! 10527: test "$cross_compiling" = yes ||
! 10528: $as_test_x conftest$ac_exeext
! 10529: }; then
! 10530: ac_cv_lib_dl_dlopen=yes
! 10531: else
! 10532: $as_echo "$as_me: failed program was:" >&5
! 10533: sed 's/^/| /' conftest.$ac_ext >&5
! 10534:
! 10535: ac_cv_lib_dl_dlopen=no
! 10536: fi
! 10537:
! 10538: rm -rf conftest.dSYM
! 10539: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10540: conftest$ac_exeext conftest.$ac_ext
! 10541: LIBS=$ac_check_lib_save_LIBS
! 10542: fi
! 10543: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10544: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10545: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 10546: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10547: else
! 10548: { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 10549: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 10550: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 10551: $as_echo_n "(cached) " >&6
! 10552: else
! 10553: ac_check_lib_save_LIBS=$LIBS
! 10554: LIBS="-lsvld $LIBS"
! 10555: cat >conftest.$ac_ext <<_ACEOF
! 10556: /* confdefs.h. */
! 10557: _ACEOF
! 10558: cat confdefs.h >>conftest.$ac_ext
! 10559: cat >>conftest.$ac_ext <<_ACEOF
! 10560: /* end confdefs.h. */
! 10561:
! 10562: /* Override any GCC internal prototype to avoid an error.
! 10563: Use char because int might match the return type of a GCC
! 10564: builtin and then its argument prototype would still apply. */
! 10565: #ifdef __cplusplus
! 10566: extern "C"
! 10567: #endif
! 10568: char dlopen ();
! 10569: int
! 10570: main ()
! 10571: {
! 10572: return dlopen ();
! 10573: ;
! 10574: return 0;
! 10575: }
! 10576: _ACEOF
! 10577: rm -f conftest.$ac_objext conftest$ac_exeext
! 10578: if { (ac_try="$ac_link"
! 10579: case "(($ac_try" in
! 10580: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10581: *) ac_try_echo=$ac_try;;
! 10582: esac
! 10583: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10584: $as_echo "$ac_try_echo") >&5
! 10585: (eval "$ac_link") 2>conftest.er1
! 10586: ac_status=$?
! 10587: grep -v '^ *+' conftest.er1 >conftest.err
! 10588: rm -f conftest.er1
! 10589: cat conftest.err >&5
! 10590: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10591: (exit $ac_status); } && {
! 10592: test -z "$ac_c_werror_flag" ||
! 10593: test ! -s conftest.err
! 10594: } && test -s conftest$ac_exeext && {
! 10595: test "$cross_compiling" = yes ||
! 10596: $as_test_x conftest$ac_exeext
! 10597: }; then
! 10598: ac_cv_lib_svld_dlopen=yes
! 10599: else
! 10600: $as_echo "$as_me: failed program was:" >&5
! 10601: sed 's/^/| /' conftest.$ac_ext >&5
! 10602:
! 10603: ac_cv_lib_svld_dlopen=no
! 10604: fi
! 10605:
! 10606: rm -rf conftest.dSYM
! 10607: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10608: conftest$ac_exeext conftest.$ac_ext
! 10609: LIBS=$ac_check_lib_save_LIBS
! 10610: fi
! 10611: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 10612: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 10613: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
! 10614: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 10615: else
! 10616: { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 10617: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 10618: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 10619: $as_echo_n "(cached) " >&6
! 10620: else
! 10621: ac_check_lib_save_LIBS=$LIBS
! 10622: LIBS="-ldld $LIBS"
! 10623: cat >conftest.$ac_ext <<_ACEOF
! 10624: /* confdefs.h. */
! 10625: _ACEOF
! 10626: cat confdefs.h >>conftest.$ac_ext
! 10627: cat >>conftest.$ac_ext <<_ACEOF
! 10628: /* end confdefs.h. */
! 10629:
! 10630: /* Override any GCC internal prototype to avoid an error.
! 10631: Use char because int might match the return type of a GCC
! 10632: builtin and then its argument prototype would still apply. */
! 10633: #ifdef __cplusplus
! 10634: extern "C"
! 10635: #endif
! 10636: char dld_link ();
! 10637: int
! 10638: main ()
! 10639: {
! 10640: return dld_link ();
! 10641: ;
! 10642: return 0;
! 10643: }
! 10644: _ACEOF
! 10645: rm -f conftest.$ac_objext conftest$ac_exeext
! 10646: if { (ac_try="$ac_link"
! 10647: case "(($ac_try" in
! 10648: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10649: *) ac_try_echo=$ac_try;;
! 10650: esac
! 10651: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10652: $as_echo "$ac_try_echo") >&5
! 10653: (eval "$ac_link") 2>conftest.er1
! 10654: ac_status=$?
! 10655: grep -v '^ *+' conftest.er1 >conftest.err
! 10656: rm -f conftest.er1
! 10657: cat conftest.err >&5
! 10658: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10659: (exit $ac_status); } && {
! 10660: test -z "$ac_c_werror_flag" ||
! 10661: test ! -s conftest.err
! 10662: } && test -s conftest$ac_exeext && {
! 10663: test "$cross_compiling" = yes ||
! 10664: $as_test_x conftest$ac_exeext
! 10665: }; then
! 10666: ac_cv_lib_dld_dld_link=yes
! 10667: else
! 10668: $as_echo "$as_me: failed program was:" >&5
! 10669: sed 's/^/| /' conftest.$ac_ext >&5
! 10670:
! 10671: ac_cv_lib_dld_dld_link=no
! 10672: fi
! 10673:
! 10674: rm -rf conftest.dSYM
! 10675: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10676: conftest$ac_exeext conftest.$ac_ext
! 10677: LIBS=$ac_check_lib_save_LIBS
! 10678: fi
! 10679: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 10680: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 10681: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
! 10682: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 10683: fi
! 10684:
! 10685:
! 10686: fi
! 10687:
! 10688:
! 10689: fi
! 10690:
! 10691:
! 10692: fi
! 10693:
! 10694:
! 10695: fi
! 10696:
! 10697:
! 10698: fi
! 10699:
! 10700: ;;
! 10701: esac
! 10702:
! 10703: if test "x$lt_cv_dlopen" != xno; then
! 10704: enable_dlopen=yes
! 10705: else
! 10706: enable_dlopen=no
! 10707: fi
! 10708:
! 10709: case $lt_cv_dlopen in
! 10710: dlopen)
! 10711: save_CPPFLAGS="$CPPFLAGS"
! 10712: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 10713:
! 10714: save_LDFLAGS="$LDFLAGS"
! 10715: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 10716:
! 10717: save_LIBS="$LIBS"
! 10718: LIBS="$lt_cv_dlopen_libs $LIBS"
! 10719:
! 10720: { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 10721: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 10722: if test "${lt_cv_dlopen_self+set}" = set; then
! 10723: $as_echo_n "(cached) " >&6
! 10724: else
! 10725: if test "$cross_compiling" = yes; then :
! 10726: lt_cv_dlopen_self=cross
! 10727: else
! 10728: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10729: lt_status=$lt_dlunknown
! 10730: cat > conftest.$ac_ext <<_LT_EOF
! 10731: #line 10731 "configure"
! 10732: #include "confdefs.h"
! 10733:
! 10734: #if HAVE_DLFCN_H
! 10735: #include <dlfcn.h>
! 10736: #endif
! 10737:
! 10738: #include <stdio.h>
! 10739:
! 10740: #ifdef RTLD_GLOBAL
! 10741: # define LT_DLGLOBAL RTLD_GLOBAL
! 10742: #else
! 10743: # ifdef DL_GLOBAL
! 10744: # define LT_DLGLOBAL DL_GLOBAL
! 10745: # else
! 10746: # define LT_DLGLOBAL 0
! 10747: # endif
! 10748: #endif
! 10749:
! 10750: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10751: find out it does not work in some platform. */
! 10752: #ifndef LT_DLLAZY_OR_NOW
! 10753: # ifdef RTLD_LAZY
! 10754: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10755: # else
! 10756: # ifdef DL_LAZY
! 10757: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10758: # else
! 10759: # ifdef RTLD_NOW
! 10760: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10761: # else
! 10762: # ifdef DL_NOW
! 10763: # define LT_DLLAZY_OR_NOW DL_NOW
! 10764: # else
! 10765: # define LT_DLLAZY_OR_NOW 0
! 10766: # endif
! 10767: # endif
! 10768: # endif
! 10769: # endif
! 10770: #endif
! 10771:
! 10772: void fnord() { int i=42;}
! 10773: int main ()
! 10774: {
! 10775: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10776: int status = $lt_dlunknown;
! 10777:
! 10778: if (self)
! 10779: {
! 10780: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10781: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10782: /* dlclose (self); */
! 10783: }
! 10784: else
! 10785: puts (dlerror ());
! 10786:
! 10787: return status;
! 10788: }
! 10789: _LT_EOF
! 10790: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10791: (eval $ac_link) 2>&5
! 10792: ac_status=$?
! 10793: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10794: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10795: (./conftest; exit; ) >&5 2>/dev/null
! 10796: lt_status=$?
! 10797: case x$lt_status in
! 10798: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 10799: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 10800: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 10801: esac
! 10802: else :
! 10803: # compilation failed
! 10804: lt_cv_dlopen_self=no
! 10805: fi
! 10806: fi
! 10807: rm -fr conftest*
! 10808:
! 10809:
! 10810: fi
! 10811: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 10812: $as_echo "$lt_cv_dlopen_self" >&6; }
! 10813:
! 10814: if test "x$lt_cv_dlopen_self" = xyes; then
! 10815: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 10816: { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 10817: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 10818: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 10819: $as_echo_n "(cached) " >&6
! 10820: else
! 10821: if test "$cross_compiling" = yes; then :
! 10822: lt_cv_dlopen_self_static=cross
! 10823: else
! 10824: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10825: lt_status=$lt_dlunknown
! 10826: cat > conftest.$ac_ext <<_LT_EOF
! 10827: #line 10827 "configure"
! 10828: #include "confdefs.h"
! 10829:
! 10830: #if HAVE_DLFCN_H
! 10831: #include <dlfcn.h>
! 10832: #endif
! 10833:
! 10834: #include <stdio.h>
! 10835:
! 10836: #ifdef RTLD_GLOBAL
! 10837: # define LT_DLGLOBAL RTLD_GLOBAL
! 10838: #else
! 10839: # ifdef DL_GLOBAL
! 10840: # define LT_DLGLOBAL DL_GLOBAL
! 10841: # else
! 10842: # define LT_DLGLOBAL 0
! 10843: # endif
! 10844: #endif
! 10845:
! 10846: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10847: find out it does not work in some platform. */
! 10848: #ifndef LT_DLLAZY_OR_NOW
! 10849: # ifdef RTLD_LAZY
! 10850: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10851: # else
! 10852: # ifdef DL_LAZY
! 10853: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10854: # else
! 10855: # ifdef RTLD_NOW
! 10856: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10857: # else
! 10858: # ifdef DL_NOW
! 10859: # define LT_DLLAZY_OR_NOW DL_NOW
! 10860: # else
! 10861: # define LT_DLLAZY_OR_NOW 0
! 10862: # endif
! 10863: # endif
! 10864: # endif
! 10865: # endif
! 10866: #endif
! 10867:
! 10868: void fnord() { int i=42;}
! 10869: int main ()
! 10870: {
! 10871: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10872: int status = $lt_dlunknown;
! 10873:
! 10874: if (self)
! 10875: {
! 10876: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10877: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10878: /* dlclose (self); */
! 10879: }
! 10880: else
! 10881: puts (dlerror ());
! 10882:
! 10883: return status;
! 10884: }
! 10885: _LT_EOF
! 10886: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10887: (eval $ac_link) 2>&5
! 10888: ac_status=$?
! 10889: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10890: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10891: (./conftest; exit; ) >&5 2>/dev/null
! 10892: lt_status=$?
! 10893: case x$lt_status in
! 10894: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 10895: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 10896: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 10897: esac
! 10898: else :
! 10899: # compilation failed
! 10900: lt_cv_dlopen_self_static=no
! 10901: fi
! 10902: fi
! 10903: rm -fr conftest*
! 10904:
! 10905:
! 10906: fi
! 10907: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 10908: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 10909: fi
! 10910:
! 10911: CPPFLAGS="$save_CPPFLAGS"
! 10912: LDFLAGS="$save_LDFLAGS"
! 10913: LIBS="$save_LIBS"
! 10914: ;;
! 10915: esac
! 10916:
! 10917: case $lt_cv_dlopen_self in
! 10918: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 10919: *) enable_dlopen_self=unknown ;;
! 10920: esac
! 10921:
! 10922: case $lt_cv_dlopen_self_static in
! 10923: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 10924: *) enable_dlopen_self_static=unknown ;;
! 10925: esac
! 10926: fi
! 10927:
! 10928:
! 10929:
! 10930:
! 10931:
! 10932:
! 10933:
! 10934:
! 10935:
! 10936:
! 10937:
! 10938:
! 10939:
! 10940:
! 10941:
! 10942:
! 10943:
! 10944: striplib=
! 10945: old_striplib=
! 10946: { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 10947: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 10948: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 10949: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 10950: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 10951: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 10952: $as_echo "yes" >&6; }
! 10953: else
! 10954: # FIXME - insert some real tests, host_os isn't really good enough
! 10955: case $host_os in
! 10956: darwin*)
! 10957: if test -n "$STRIP" ; then
! 10958: striplib="$STRIP -x"
! 10959: old_striplib="$STRIP -S"
! 10960: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 10961: $as_echo "yes" >&6; }
! 10962: else
! 10963: { $as_echo "$as_me:$LINENO: result: no" >&5
! 10964: $as_echo "no" >&6; }
! 10965: fi
! 10966: ;;
! 10967: *)
! 10968: { $as_echo "$as_me:$LINENO: result: no" >&5
! 10969: $as_echo "no" >&6; }
! 10970: ;;
! 10971: esac
! 10972: fi
! 10973:
! 10974:
! 10975:
! 10976:
! 10977:
! 10978:
! 10979:
! 10980:
! 10981:
! 10982:
! 10983:
! 10984:
! 10985: # Report which library types will actually be built
! 10986: { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 10987: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 10988: { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 10989: $as_echo "$can_build_shared" >&6; }
! 10990:
! 10991: { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 10992: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 10993: test "$can_build_shared" = "no" && enable_shared=no
! 10994:
! 10995: # On AIX, shared libraries and static libraries use the same namespace, and
! 10996: # are all built from PIC.
! 10997: case $host_os in
! 10998: aix3*)
! 10999: test "$enable_shared" = yes && enable_static=no
! 11000: if test -n "$RANLIB"; then
! 11001: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 11002: postinstall_cmds='$RANLIB $lib'
! 11003: fi
! 11004: ;;
! 11005:
! 11006: aix[4-9]*)
! 11007: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 11008: test "$enable_shared" = yes && enable_static=no
! 11009: fi
! 11010: ;;
! 11011: esac
! 11012: { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
! 11013: $as_echo "$enable_shared" >&6; }
! 11014:
! 11015: { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 11016: $as_echo_n "checking whether to build static libraries... " >&6; }
! 11017: # Make sure either enable_shared or enable_static is yes.
! 11018: test "$enable_shared" = yes || enable_static=yes
! 11019: { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
! 11020: $as_echo "$enable_static" >&6; }
! 11021:
! 11022:
! 11023:
! 11024:
! 11025: fi
! 11026: ac_ext=c
! 11027: ac_cpp='$CPP $CPPFLAGS'
! 11028: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11029: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11030: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11031:
! 11032: CC="$lt_save_CC"
! 11033:
! 11034:
! 11035:
! 11036:
! 11037:
! 11038:
! 11039:
! 11040:
! 11041:
! 11042:
! 11043:
! 11044:
! 11045:
! 11046: ac_config_commands="$ac_config_commands libtool"
! 11047:
! 11048:
! 11049:
! 11050:
! 11051: # Only expand once:
! 11052:
! 11053:
! 11054:
! 11055:
! 11056: CFLAG_VISIBILITY=
! 11057: HAVE_VISIBILITY=0
! 11058: if test -n "$GCC"; then
! 11059: { $as_echo "$as_me:$LINENO: checking for simple visibility declarations" >&5
! 11060: $as_echo_n "checking for simple visibility declarations... " >&6; }
! 11061: if test "${gl_cv_cc_visibility+set}" = set; then
! 11062: $as_echo_n "(cached) " >&6
! 11063: else
! 11064:
! 11065: gl_save_CFLAGS="$CFLAGS"
! 11066: CFLAGS="$CFLAGS -fvisibility=hidden"
! 11067: cat >conftest.$ac_ext <<_ACEOF
! 11068: /* confdefs.h. */
! 11069: _ACEOF
! 11070: cat confdefs.h >>conftest.$ac_ext
! 11071: cat >>conftest.$ac_ext <<_ACEOF
! 11072: /* end confdefs.h. */
! 11073: extern __attribute__((__visibility__("hidden"))) int hiddenvar;
! 11074: extern __attribute__((__visibility__("default"))) int exportedvar;
! 11075: extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
! 11076: extern __attribute__((__visibility__("default"))) int exportedfunc (void);
! 11077: int
! 11078: main ()
! 11079: {
! 11080:
! 11081: ;
! 11082: return 0;
! 11083: }
! 11084: _ACEOF
! 11085: rm -f conftest.$ac_objext
! 11086: if { (ac_try="$ac_compile"
! 11087: case "(($ac_try" in
! 11088: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11089: *) ac_try_echo=$ac_try;;
! 11090: esac
! 11091: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11092: $as_echo "$ac_try_echo") >&5
! 11093: (eval "$ac_compile") 2>conftest.er1
! 11094: ac_status=$?
! 11095: grep -v '^ *+' conftest.er1 >conftest.err
! 11096: rm -f conftest.er1
! 11097: cat conftest.err >&5
! 11098: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11099: (exit $ac_status); } && {
! 11100: test -z "$ac_c_werror_flag" ||
! 11101: test ! -s conftest.err
! 11102: } && test -s conftest.$ac_objext; then
! 11103: gl_cv_cc_visibility=yes
! 11104: else
! 11105: $as_echo "$as_me: failed program was:" >&5
! 11106: sed 's/^/| /' conftest.$ac_ext >&5
! 11107:
! 11108: gl_cv_cc_visibility=no
! 11109: fi
! 11110:
! 11111: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 11112: CFLAGS="$gl_save_CFLAGS"
! 11113: fi
! 11114:
! 11115: { $as_echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
! 11116: $as_echo "$gl_cv_cc_visibility" >&6; }
! 11117: if test $gl_cv_cc_visibility = yes; then
! 11118: CFLAG_VISIBILITY="-fvisibility=hidden"
! 11119: HAVE_VISIBILITY=1
! 11120: fi
! 11121: fi
! 11122:
! 11123:
! 11124:
! 11125: cat >>confdefs.h <<_ACEOF
! 11126: #define HAVE_VISIBILITY $HAVE_VISIBILITY
! 11127: _ACEOF
! 11128:
! 11129:
! 11130:
! 11131:
! 11132:
! 11133: { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
! 11134: $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
! 11135: if test "${am_cv_langinfo_codeset+set}" = set; then
! 11136: $as_echo_n "(cached) " >&6
! 11137: else
! 11138: cat >conftest.$ac_ext <<_ACEOF
! 11139: /* confdefs.h. */
! 11140: _ACEOF
! 11141: cat confdefs.h >>conftest.$ac_ext
! 11142: cat >>conftest.$ac_ext <<_ACEOF
! 11143: /* end confdefs.h. */
! 11144: #include <langinfo.h>
! 11145: int
! 11146: main ()
! 11147: {
! 11148: char* cs = nl_langinfo(CODESET);
! 11149: ;
! 11150: return 0;
! 11151: }
! 11152: _ACEOF
! 11153: rm -f conftest.$ac_objext conftest$ac_exeext
! 11154: if { (ac_try="$ac_link"
! 11155: case "(($ac_try" in
! 11156: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11157: *) ac_try_echo=$ac_try;;
! 11158: esac
! 11159: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11160: $as_echo "$ac_try_echo") >&5
! 11161: (eval "$ac_link") 2>conftest.er1
! 11162: ac_status=$?
! 11163: grep -v '^ *+' conftest.er1 >conftest.err
! 11164: rm -f conftest.er1
! 11165: cat conftest.err >&5
! 11166: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11167: (exit $ac_status); } && {
! 11168: test -z "$ac_c_werror_flag" ||
! 11169: test ! -s conftest.err
! 11170: } && test -s conftest$ac_exeext && {
! 11171: test "$cross_compiling" = yes ||
! 11172: $as_test_x conftest$ac_exeext
! 11173: }; then
! 11174: am_cv_langinfo_codeset=yes
! 11175: else
! 11176: $as_echo "$as_me: failed program was:" >&5
! 11177: sed 's/^/| /' conftest.$ac_ext >&5
! 11178:
! 11179: am_cv_langinfo_codeset=no
! 11180: fi
! 11181:
! 11182: rm -rf conftest.dSYM
! 11183: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11184: conftest$ac_exeext conftest.$ac_ext
! 11185:
! 11186: fi
! 11187: { $as_echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
! 11188: $as_echo "$am_cv_langinfo_codeset" >&6; }
! 11189: if test $am_cv_langinfo_codeset = yes; then
! 11190:
! 11191: cat >>confdefs.h <<\_ACEOF
! 11192: #define HAVE_LANGINFO_CODESET 1
! 11193: _ACEOF
! 11194:
! 11195: fi
! 11196:
! 11197:
! 11198: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
! 11199: $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
! 11200: if test "${ac_cv_gnu_library_2_1+set}" = set; then
! 11201: $as_echo_n "(cached) " >&6
! 11202: else
! 11203: cat >conftest.$ac_ext <<_ACEOF
! 11204: /* confdefs.h. */
! 11205: _ACEOF
! 11206: cat confdefs.h >>conftest.$ac_ext
! 11207: cat >>conftest.$ac_ext <<_ACEOF
! 11208: /* end confdefs.h. */
! 11209:
! 11210: #include <features.h>
! 11211: #ifdef __GNU_LIBRARY__
! 11212: #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
! 11213: Lucky GNU user
! 11214: #endif
! 11215: #endif
! 11216:
! 11217: _ACEOF
! 11218: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 11219: $EGREP "Lucky GNU user" >/dev/null 2>&1; then
! 11220: ac_cv_gnu_library_2_1=yes
! 11221: else
! 11222: ac_cv_gnu_library_2_1=no
! 11223: fi
! 11224: rm -f conftest*
! 11225:
! 11226:
! 11227:
! 11228: fi
! 11229: { $as_echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
! 11230: $as_echo "$ac_cv_gnu_library_2_1" >&6; }
! 11231:
! 11232: GLIBC21="$ac_cv_gnu_library_2_1"
! 11233:
! 11234:
! 11235:
! 11236: for ac_func in setlocale
! 11237: do
! 11238: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 11239: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 11240: $as_echo_n "checking for $ac_func... " >&6; }
! 11241: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 11242: $as_echo_n "(cached) " >&6
! 11243: else
! 11244: cat >conftest.$ac_ext <<_ACEOF
! 11245: /* confdefs.h. */
! 11246: _ACEOF
! 11247: cat confdefs.h >>conftest.$ac_ext
! 11248: cat >>conftest.$ac_ext <<_ACEOF
! 11249: /* end confdefs.h. */
! 11250: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 11251: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 11252: #define $ac_func innocuous_$ac_func
! 11253:
! 11254: /* System header to define __stub macros and hopefully few prototypes,
! 11255: which can conflict with char $ac_func (); below.
! 11256: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 11257: <limits.h> exists even on freestanding compilers. */
! 11258:
! 11259: #ifdef __STDC__
! 11260: # include <limits.h>
! 11261: #else
! 11262: # include <assert.h>
! 11263: #endif
! 11264:
! 11265: #undef $ac_func
! 11266:
! 11267: /* Override any GCC internal prototype to avoid an error.
! 11268: Use char because int might match the return type of a GCC
! 11269: builtin and then its argument prototype would still apply. */
! 11270: #ifdef __cplusplus
! 11271: extern "C"
! 11272: #endif
! 11273: char $ac_func ();
! 11274: /* The GNU C library defines this for functions which it implements
! 11275: to always fail with ENOSYS. Some functions are actually named
! 11276: something starting with __ and the normal name is an alias. */
! 11277: #if defined __stub_$ac_func || defined __stub___$ac_func
! 11278: choke me
! 11279: #endif
! 11280:
! 11281: int
! 11282: main ()
! 11283: {
! 11284: return $ac_func ();
! 11285: ;
! 11286: return 0;
! 11287: }
! 11288: _ACEOF
! 11289: rm -f conftest.$ac_objext conftest$ac_exeext
! 11290: if { (ac_try="$ac_link"
! 11291: case "(($ac_try" in
! 11292: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11293: *) ac_try_echo=$ac_try;;
! 11294: esac
! 11295: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11296: $as_echo "$ac_try_echo") >&5
! 11297: (eval "$ac_link") 2>conftest.er1
! 11298: ac_status=$?
! 11299: grep -v '^ *+' conftest.er1 >conftest.err
! 11300: rm -f conftest.er1
! 11301: cat conftest.err >&5
! 11302: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11303: (exit $ac_status); } && {
! 11304: test -z "$ac_c_werror_flag" ||
! 11305: test ! -s conftest.err
! 11306: } && test -s conftest$ac_exeext && {
! 11307: test "$cross_compiling" = yes ||
! 11308: $as_test_x conftest$ac_exeext
! 11309: }; then
! 11310: eval "$as_ac_var=yes"
! 11311: else
! 11312: $as_echo "$as_me: failed program was:" >&5
! 11313: sed 's/^/| /' conftest.$ac_ext >&5
! 11314:
! 11315: eval "$as_ac_var=no"
! 11316: fi
! 11317:
! 11318: rm -rf conftest.dSYM
! 11319: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11320: conftest$ac_exeext conftest.$ac_ext
! 11321: fi
! 11322: ac_res=`eval 'as_val=${'$as_ac_var'}
! 11323: $as_echo "$as_val"'`
! 11324: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 11325: $as_echo "$ac_res" >&6; }
! 11326: as_val=`eval 'as_val=${'$as_ac_var'}
! 11327: $as_echo "$as_val"'`
! 11328: if test "x$as_val" = x""yes; then
! 11329: cat >>confdefs.h <<_ACEOF
! 11330: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 11331: _ACEOF
! 11332:
! 11333: fi
! 11334: done
! 11335:
! 11336:
! 11337: ac_config_files="$ac_config_files Makefile"
! 11338:
! 11339: ac_config_files="$ac_config_files lib/Makefile"
! 11340:
! 11341: ac_config_files="$ac_config_files include/localcharset.h:include/localcharset.h.build.in"
! 11342:
! 11343: ac_config_files="$ac_config_files include/localcharset.h.inst:include/localcharset.h.in"
! 11344:
! 11345: cat >confcache <<\_ACEOF
! 11346: # This file is a shell script that caches the results of configure
! 11347: # tests run on this system so they can be shared between configure
! 11348: # scripts and configure runs, see configure's option --config-cache.
! 11349: # It is not useful on other systems. If it contains results you don't
! 11350: # want to keep, you may remove or edit it.
! 11351: #
! 11352: # config.status only pays attention to the cache file if you give it
! 11353: # the --recheck option to rerun configure.
! 11354: #
! 11355: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 11356: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 11357: # following values.
! 11358:
! 11359: _ACEOF
! 11360:
! 11361: # The following way of writing the cache mishandles newlines in values,
! 11362: # but we know of no workaround that is simple, portable, and efficient.
! 11363: # So, we kill variables containing newlines.
! 11364: # Ultrix sh set writes to stderr and can't be redirected directly,
! 11365: # and sets the high bit in the cache file unless we assign to the vars.
! 11366: (
! 11367: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 11368: eval ac_val=\$$ac_var
! 11369: case $ac_val in #(
! 11370: *${as_nl}*)
! 11371: case $ac_var in #(
! 11372: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 11373: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 11374: esac
! 11375: case $ac_var in #(
! 11376: _ | IFS | as_nl) ;; #(
! 11377: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 11378: *) $as_unset $ac_var ;;
! 11379: esac ;;
! 11380: esac
! 11381: done
! 11382:
! 11383: (set) 2>&1 |
! 11384: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 11385: *${as_nl}ac_space=\ *)
! 11386: # `set' does not quote correctly, so add quotes (double-quote
! 11387: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 11388: sed -n \
! 11389: "s/'/'\\\\''/g;
! 11390: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 11391: ;; #(
! 11392: *)
! 11393: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 11394: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 11395: ;;
! 11396: esac |
! 11397: sort
! 11398: ) |
! 11399: sed '
! 11400: /^ac_cv_env_/b end
! 11401: t clear
! 11402: :clear
! 11403: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 11404: t end
! 11405: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 11406: :end' >>confcache
! 11407: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 11408: if test -w "$cache_file"; then
! 11409: test "x$cache_file" != "x/dev/null" &&
! 11410: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 11411: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 11412: cat confcache >$cache_file
! 11413: else
! 11414: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 11415: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 11416: fi
! 11417: fi
! 11418: rm -f confcache
! 11419:
! 11420: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 11421: # Let make expand exec_prefix.
! 11422: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 11423:
! 11424: DEFS=-DHAVE_CONFIG_H
! 11425:
! 11426: ac_libobjs=
! 11427: ac_ltlibobjs=
! 11428: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 11429: # 1. Remove the extension, and $U if already installed.
! 11430: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 11431: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 11432: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 11433: # will be set to the directory where LIBOBJS objects are built.
! 11434: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 11435: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 11436: done
! 11437: LIBOBJS=$ac_libobjs
! 11438:
! 11439: LTLIBOBJS=$ac_ltlibobjs
! 11440:
! 11441:
! 11442:
! 11443: : ${CONFIG_STATUS=./config.status}
! 11444: ac_write_fail=0
! 11445: ac_clean_files_save=$ac_clean_files
! 11446: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 11447: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 11448: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 11449: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 11450: #! $SHELL
! 11451: # Generated by $as_me.
! 11452: # Run this file to recreate the current configuration.
! 11453: # Compiler output produced by configure, useful for debugging
! 11454: # configure, is in config.log if it exists.
! 11455:
! 11456: debug=false
! 11457: ac_cs_recheck=false
! 11458: ac_cs_silent=false
! 11459: SHELL=\${CONFIG_SHELL-$SHELL}
! 11460: _ACEOF
! 11461:
! 11462: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 11463: ## --------------------- ##
! 11464: ## M4sh Initialization. ##
! 11465: ## --------------------- ##
! 11466:
! 11467: # Be more Bourne compatible
! 11468: DUALCASE=1; export DUALCASE # for MKS sh
! 11469: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 11470: emulate sh
! 11471: NULLCMD=:
! 11472: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 11473: # is contrary to our usage. Disable this feature.
! 11474: alias -g '${1+"$@"}'='"$@"'
! 11475: setopt NO_GLOB_SUBST
! 11476: else
! 11477: case `(set -o) 2>/dev/null` in
! 11478: *posix*) set -o posix ;;
! 11479: esac
! 11480:
! 11481: fi
! 11482:
! 11483:
! 11484:
! 11485:
! 11486: # PATH needs CR
! 11487: # Avoid depending upon Character Ranges.
! 11488: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 11489: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 11490: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 11491: as_cr_digits='0123456789'
! 11492: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 11493:
! 11494: as_nl='
! 11495: '
! 11496: export as_nl
! 11497: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 11498: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 11499: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 11500: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 11501: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 11502: as_echo='printf %s\n'
! 11503: as_echo_n='printf %s'
! 11504: else
! 11505: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 11506: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 11507: as_echo_n='/usr/ucb/echo -n'
! 11508: else
! 11509: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 11510: as_echo_n_body='eval
! 11511: arg=$1;
! 11512: case $arg in
! 11513: *"$as_nl"*)
! 11514: expr "X$arg" : "X\\(.*\\)$as_nl";
! 11515: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 11516: esac;
! 11517: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 11518: '
! 11519: export as_echo_n_body
! 11520: as_echo_n='sh -c $as_echo_n_body as_echo'
! 11521: fi
! 11522: export as_echo_body
! 11523: as_echo='sh -c $as_echo_body as_echo'
! 11524: fi
! 11525:
! 11526: # The user is always right.
! 11527: if test "${PATH_SEPARATOR+set}" != set; then
! 11528: PATH_SEPARATOR=:
! 11529: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 11530: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 11531: PATH_SEPARATOR=';'
! 11532: }
! 11533: fi
! 11534:
! 11535: # Support unset when possible.
! 11536: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 11537: as_unset=unset
! 11538: else
! 11539: as_unset=false
! 11540: fi
! 11541:
! 11542:
! 11543: # IFS
! 11544: # We need space, tab and new line, in precisely that order. Quoting is
! 11545: # there to prevent editors from complaining about space-tab.
! 11546: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 11547: # splitting by setting IFS to empty value.)
! 11548: IFS=" "" $as_nl"
! 11549:
! 11550: # Find who we are. Look in the path if we contain no directory separator.
! 11551: case $0 in
! 11552: *[\\/]* ) as_myself=$0 ;;
! 11553: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 11554: for as_dir in $PATH
! 11555: do
! 11556: IFS=$as_save_IFS
! 11557: test -z "$as_dir" && as_dir=.
! 11558: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 11559: done
! 11560: IFS=$as_save_IFS
! 11561:
! 11562: ;;
! 11563: esac
! 11564: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 11565: # in which case we are not to be found in the path.
! 11566: if test "x$as_myself" = x; then
! 11567: as_myself=$0
! 11568: fi
! 11569: if test ! -f "$as_myself"; then
! 11570: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 11571: { (exit 1); exit 1; }
! 11572: fi
! 11573:
! 11574: # Work around bugs in pre-3.0 UWIN ksh.
! 11575: for as_var in ENV MAIL MAILPATH
! 11576: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 11577: done
! 11578: PS1='$ '
! 11579: PS2='> '
! 11580: PS4='+ '
! 11581:
! 11582: # NLS nuisances.
! 11583: LC_ALL=C
! 11584: export LC_ALL
! 11585: LANGUAGE=C
! 11586: export LANGUAGE
! 11587:
! 11588: # Required to use basename.
! 11589: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 11590: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 11591: as_expr=expr
! 11592: else
! 11593: as_expr=false
! 11594: fi
! 11595:
! 11596: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 11597: as_basename=basename
! 11598: else
! 11599: as_basename=false
! 11600: fi
! 11601:
! 11602:
! 11603: # Name of the executable.
! 11604: as_me=`$as_basename -- "$0" ||
! 11605: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 11606: X"$0" : 'X\(//\)$' \| \
! 11607: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 11608: $as_echo X/"$0" |
! 11609: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 11610: s//\1/
! 11611: q
! 11612: }
! 11613: /^X\/\(\/\/\)$/{
! 11614: s//\1/
! 11615: q
! 11616: }
! 11617: /^X\/\(\/\).*/{
! 11618: s//\1/
! 11619: q
! 11620: }
! 11621: s/.*/./; q'`
! 11622:
! 11623: # CDPATH.
! 11624: $as_unset CDPATH
! 11625:
! 11626:
! 11627:
! 11628: as_lineno_1=$LINENO
! 11629: as_lineno_2=$LINENO
! 11630: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 11631: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 11632:
! 11633: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 11634: # uniformly replaced by the line number. The first 'sed' inserts a
! 11635: # line-number line after each line using $LINENO; the second 'sed'
! 11636: # does the real work. The second script uses 'N' to pair each
! 11637: # line-number line with the line containing $LINENO, and appends
! 11638: # trailing '-' during substitution so that $LINENO is not a special
! 11639: # case at line end.
! 11640: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 11641: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 11642: # E. McMahon (1931-1989) for sed's syntax. :-)
! 11643: sed -n '
! 11644: p
! 11645: /[$]LINENO/=
! 11646: ' <$as_myself |
! 11647: sed '
! 11648: s/[$]LINENO.*/&-/
! 11649: t lineno
! 11650: b
! 11651: :lineno
! 11652: N
! 11653: :loop
! 11654: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 11655: t loop
! 11656: s/-\n.*//
! 11657: ' >$as_me.lineno &&
! 11658: chmod +x "$as_me.lineno" ||
! 11659: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 11660: { (exit 1); exit 1; }; }
! 11661:
! 11662: # Don't try to exec as it changes $[0], causing all sort of problems
! 11663: # (the dirname of $[0] is not the place where we might find the
! 11664: # original and so on. Autoconf is especially sensitive to this).
! 11665: . "./$as_me.lineno"
! 11666: # Exit status is that of the last command.
! 11667: exit
! 11668: }
! 11669:
! 11670:
! 11671: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 11672: as_dirname=dirname
! 11673: else
! 11674: as_dirname=false
! 11675: fi
! 11676:
! 11677: ECHO_C= ECHO_N= ECHO_T=
! 11678: case `echo -n x` in
! 11679: -n*)
! 11680: case `echo 'x\c'` in
! 11681: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 11682: *) ECHO_C='\c';;
! 11683: esac;;
! 11684: *)
! 11685: ECHO_N='-n';;
! 11686: esac
! 11687: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 11688: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 11689: as_expr=expr
! 11690: else
! 11691: as_expr=false
! 11692: fi
! 11693:
! 11694: rm -f conf$$ conf$$.exe conf$$.file
! 11695: if test -d conf$$.dir; then
! 11696: rm -f conf$$.dir/conf$$.file
! 11697: else
! 11698: rm -f conf$$.dir
! 11699: mkdir conf$$.dir 2>/dev/null
! 11700: fi
! 11701: if (echo >conf$$.file) 2>/dev/null; then
! 11702: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 11703: as_ln_s='ln -s'
! 11704: # ... but there are two gotchas:
! 11705: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 11706: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 11707: # In both cases, we have to default to `cp -p'.
! 11708: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 11709: as_ln_s='cp -p'
! 11710: elif ln conf$$.file conf$$ 2>/dev/null; then
! 11711: as_ln_s=ln
! 11712: else
! 11713: as_ln_s='cp -p'
! 11714: fi
! 11715: else
! 11716: as_ln_s='cp -p'
! 11717: fi
! 11718: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 11719: rmdir conf$$.dir 2>/dev/null
! 11720:
! 11721: if mkdir -p . 2>/dev/null; then
! 11722: as_mkdir_p=:
! 11723: else
! 11724: test -d ./-p && rmdir ./-p
! 11725: as_mkdir_p=false
! 11726: fi
! 11727:
! 11728: if test -x / >/dev/null 2>&1; then
! 11729: as_test_x='test -x'
! 11730: else
! 11731: if ls -dL / >/dev/null 2>&1; then
! 11732: as_ls_L_option=L
! 11733: else
! 11734: as_ls_L_option=
! 11735: fi
! 11736: as_test_x='
! 11737: eval sh -c '\''
! 11738: if test -d "$1"; then
! 11739: test -d "$1/.";
! 11740: else
! 11741: case $1 in
! 11742: -*)set "./$1";;
! 11743: esac;
! 11744: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 11745: ???[sx]*):;;*)false;;esac;fi
! 11746: '\'' sh
! 11747: '
! 11748: fi
! 11749: as_executable_p=$as_test_x
! 11750:
! 11751: # Sed expression to map a string onto a valid CPP name.
! 11752: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 11753:
! 11754: # Sed expression to map a string onto a valid variable name.
! 11755: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 11756:
! 11757:
! 11758: exec 6>&1
! 11759:
! 11760: # Save the log message, to keep $[0] and so on meaningful, and to
! 11761: # report actual input values of CONFIG_FILES etc. instead of their
! 11762: # values after options handling.
! 11763: ac_log="
! 11764: This file was extended by $as_me, which was
! 11765: generated by GNU Autoconf 2.63. Invocation command line was
! 11766:
! 11767: CONFIG_FILES = $CONFIG_FILES
! 11768: CONFIG_HEADERS = $CONFIG_HEADERS
! 11769: CONFIG_LINKS = $CONFIG_LINKS
! 11770: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 11771: $ $0 $@
! 11772:
! 11773: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 11774: "
! 11775:
! 11776: _ACEOF
! 11777:
! 11778: case $ac_config_files in *"
! 11779: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 11780: esac
! 11781:
! 11782: case $ac_config_headers in *"
! 11783: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 11784: esac
! 11785:
! 11786:
! 11787: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 11788: # Files that config.status was made for.
! 11789: config_files="$ac_config_files"
! 11790: config_headers="$ac_config_headers"
! 11791: config_commands="$ac_config_commands"
! 11792:
! 11793: _ACEOF
! 11794:
! 11795: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 11796: ac_cs_usage="\
! 11797: \`$as_me' instantiates files from templates according to the
! 11798: current configuration.
! 11799:
! 11800: Usage: $0 [OPTION]... [FILE]...
! 11801:
! 11802: -h, --help print this help, then exit
! 11803: -V, --version print version number and configuration settings, then exit
! 11804: -q, --quiet, --silent
! 11805: do not print progress messages
! 11806: -d, --debug don't remove temporary files
! 11807: --recheck update $as_me by reconfiguring in the same conditions
! 11808: --file=FILE[:TEMPLATE]
! 11809: instantiate the configuration file FILE
! 11810: --header=FILE[:TEMPLATE]
! 11811: instantiate the configuration header FILE
! 11812:
! 11813: Configuration files:
! 11814: $config_files
! 11815:
! 11816: Configuration headers:
! 11817: $config_headers
! 11818:
! 11819: Configuration commands:
! 11820: $config_commands
! 11821:
! 11822: Report bugs to <bug-autoconf@gnu.org>."
! 11823:
! 11824: _ACEOF
! 11825: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 11826: ac_cs_version="\\
! 11827: config.status
! 11828: configured by $0, generated by GNU Autoconf 2.63,
! 11829: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 11830:
! 11831: Copyright (C) 2008 Free Software Foundation, Inc.
! 11832: This config.status script is free software; the Free Software Foundation
! 11833: gives unlimited permission to copy, distribute and modify it."
! 11834:
! 11835: ac_pwd='$ac_pwd'
! 11836: srcdir='$srcdir'
! 11837: INSTALL='$INSTALL'
! 11838: test -n "\$AWK" || AWK=awk
! 11839: _ACEOF
! 11840:
! 11841: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 11842: # The default lists apply if the user does not specify any file.
! 11843: ac_need_defaults=:
! 11844: while test $# != 0
! 11845: do
! 11846: case $1 in
! 11847: --*=*)
! 11848: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 11849: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 11850: ac_shift=:
! 11851: ;;
! 11852: *)
! 11853: ac_option=$1
! 11854: ac_optarg=$2
! 11855: ac_shift=shift
! 11856: ;;
! 11857: esac
! 11858:
! 11859: case $ac_option in
! 11860: # Handling of the options.
! 11861: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 11862: ac_cs_recheck=: ;;
! 11863: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 11864: $as_echo "$ac_cs_version"; exit ;;
! 11865: --debug | --debu | --deb | --de | --d | -d )
! 11866: debug=: ;;
! 11867: --file | --fil | --fi | --f )
! 11868: $ac_shift
! 11869: case $ac_optarg in
! 11870: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 11871: esac
! 11872: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
! 11873: ac_need_defaults=false;;
! 11874: --header | --heade | --head | --hea )
! 11875: $ac_shift
! 11876: case $ac_optarg in
! 11877: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 11878: esac
! 11879: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
! 11880: ac_need_defaults=false;;
! 11881: --he | --h)
! 11882: # Conflict between --help and --header
! 11883: { $as_echo "$as_me: error: ambiguous option: $1
! 11884: Try \`$0 --help' for more information." >&2
! 11885: { (exit 1); exit 1; }; };;
! 11886: --help | --hel | -h )
! 11887: $as_echo "$ac_cs_usage"; exit ;;
! 11888: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 11889: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 11890: ac_cs_silent=: ;;
! 11891:
! 11892: # This is an error.
! 11893: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 11894: Try \`$0 --help' for more information." >&2
! 11895: { (exit 1); exit 1; }; } ;;
! 11896:
! 11897: *) ac_config_targets="$ac_config_targets $1"
! 11898: ac_need_defaults=false ;;
! 11899:
! 11900: esac
! 11901: shift
! 11902: done
! 11903:
! 11904: ac_configure_extra_args=
! 11905:
! 11906: if $ac_cs_silent; then
! 11907: exec 6>/dev/null
! 11908: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 11909: fi
! 11910:
! 11911: _ACEOF
! 11912: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 11913: if \$ac_cs_recheck; then
! 11914: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 11915: shift
! 11916: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 11917: CONFIG_SHELL='$SHELL'
! 11918: export CONFIG_SHELL
! 11919: exec "\$@"
! 11920: fi
! 11921:
! 11922: _ACEOF
! 11923: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 11924: exec 5>>config.log
! 11925: {
! 11926: echo
! 11927: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 11928: ## Running $as_me. ##
! 11929: _ASBOX
! 11930: $as_echo "$ac_log"
! 11931: } >&5
! 11932:
! 11933: _ACEOF
! 11934: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 11935: #
! 11936: # INIT-COMMANDS
! 11937: #
! 11938:
! 11939:
! 11940: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 11941: # if CDPATH is set.
! 11942: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 11943:
! 11944: sed_quote_subst='$sed_quote_subst'
! 11945: double_quote_subst='$double_quote_subst'
! 11946: delay_variable_subst='$delay_variable_subst'
! 11947: macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
! 11948: macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
! 11949: AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
! 11950: DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
! 11951: OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
! 11952: enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
! 11953: enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
! 11954: pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
! 11955: enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
! 11956: host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
! 11957: host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
! 11958: host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
! 11959: build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
! 11960: build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
! 11961: build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
! 11962: SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
! 11963: Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
! 11964: GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
! 11965: EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
! 11966: FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
! 11967: LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
! 11968: NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
! 11969: LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
! 11970: max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
! 11971: ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
! 11972: exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
! 11973: lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
! 11974: lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
! 11975: lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
! 11976: reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 11977: reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 11978: deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
! 11979: file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
! 11980: AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
! 11981: AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
! 11982: STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
! 11983: RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
! 11984: old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 11985: old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 11986: old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 11987: CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
! 11988: CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
! 11989: compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
! 11990: GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
! 11991: lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
! 11992: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
! 11993: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
! 11994: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
! 11995: objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
! 11996: SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
! 11997: ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
! 11998: MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
! 11999: lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12000: lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
! 12001: lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
! 12002: lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
! 12003: lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
! 12004: need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
! 12005: DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
! 12006: NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
! 12007: LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
! 12008: OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
! 12009: OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
! 12010: libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
! 12011: shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12012: extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12013: archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
! 12014: enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
! 12015: export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12016: whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12017: compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
! 12018: old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12019: old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12020: archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12021: archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12022: module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12023: module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12024: with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
! 12025: allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12026: no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
! 12027: hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12028: hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
! 12029: hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
! 12030: hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
! 12031: hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
! 12032: hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
! 12033: hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12034: hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
! 12035: inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
! 12036: link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
! 12037: fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
! 12038: always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
! 12039: export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12040: exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
! 12041: include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
! 12042: prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12043: file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12044: variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
! 12045: need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
! 12046: need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
! 12047: version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
! 12048: runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12049: shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
! 12050: shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
! 12051: libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12052: library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12053: soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12054: postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12055: postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12056: finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
! 12057: finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
! 12058: hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
! 12059: sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12060: sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
! 12061: hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
! 12062: enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
! 12063: enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
! 12064: enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
! 12065: old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
! 12066: striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
! 12067:
! 12068: LTCC='$LTCC'
! 12069: LTCFLAGS='$LTCFLAGS'
! 12070: compiler='$compiler_DEFAULT'
! 12071:
! 12072: # Quote evaled strings.
! 12073: for var in SED \
! 12074: GREP \
! 12075: EGREP \
! 12076: FGREP \
! 12077: LD \
! 12078: NM \
! 12079: LN_S \
! 12080: lt_SP2NL \
! 12081: lt_NL2SP \
! 12082: reload_flag \
! 12083: deplibs_check_method \
! 12084: file_magic_cmd \
! 12085: AR \
! 12086: AR_FLAGS \
! 12087: STRIP \
! 12088: RANLIB \
! 12089: CC \
! 12090: CFLAGS \
! 12091: compiler \
! 12092: lt_cv_sys_global_symbol_pipe \
! 12093: lt_cv_sys_global_symbol_to_cdecl \
! 12094: lt_cv_sys_global_symbol_to_c_name_address \
! 12095: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 12096: SHELL \
! 12097: ECHO \
! 12098: lt_prog_compiler_no_builtin_flag \
! 12099: lt_prog_compiler_wl \
! 12100: lt_prog_compiler_pic \
! 12101: lt_prog_compiler_static \
! 12102: lt_cv_prog_compiler_c_o \
! 12103: need_locks \
! 12104: DSYMUTIL \
! 12105: NMEDIT \
! 12106: LIPO \
! 12107: OTOOL \
! 12108: OTOOL64 \
! 12109: shrext_cmds \
! 12110: export_dynamic_flag_spec \
! 12111: whole_archive_flag_spec \
! 12112: compiler_needs_object \
! 12113: with_gnu_ld \
! 12114: allow_undefined_flag \
! 12115: no_undefined_flag \
! 12116: hardcode_libdir_flag_spec \
! 12117: hardcode_libdir_flag_spec_ld \
! 12118: hardcode_libdir_separator \
! 12119: fix_srcfile_path \
! 12120: exclude_expsyms \
! 12121: include_expsyms \
! 12122: file_list_spec \
! 12123: variables_saved_for_relink \
! 12124: libname_spec \
! 12125: library_names_spec \
! 12126: soname_spec \
! 12127: finish_eval \
! 12128: old_striplib \
! 12129: striplib; do
! 12130: case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
! 12131: *[\\\\\\\`\\"\\\$]*)
! 12132: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 12133: ;;
! 12134: *)
! 12135: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 12136: ;;
! 12137: esac
! 12138: done
! 12139:
! 12140: # Double-quote double-evaled strings.
! 12141: for var in reload_cmds \
! 12142: old_postinstall_cmds \
! 12143: old_postuninstall_cmds \
! 12144: old_archive_cmds \
! 12145: extract_expsyms_cmds \
! 12146: old_archive_from_new_cmds \
! 12147: old_archive_from_expsyms_cmds \
! 12148: archive_cmds \
! 12149: archive_expsym_cmds \
! 12150: module_cmds \
! 12151: module_expsym_cmds \
! 12152: export_symbols_cmds \
! 12153: prelink_cmds \
! 12154: postinstall_cmds \
! 12155: postuninstall_cmds \
! 12156: finish_cmds \
! 12157: sys_lib_search_path_spec \
! 12158: sys_lib_dlsearch_path_spec; do
! 12159: case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
! 12160: *[\\\\\\\`\\"\\\$]*)
! 12161: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 12162: ;;
! 12163: *)
! 12164: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 12165: ;;
! 12166: esac
! 12167: done
! 12168:
! 12169: # Fix-up fallback echo if it was mangled by the above quoting rules.
! 12170: case \$lt_ECHO in
! 12171: *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
! 12172: ;;
! 12173: esac
! 12174:
! 12175: ac_aux_dir='$ac_aux_dir'
! 12176: xsi_shell='$xsi_shell'
! 12177: lt_shell_append='$lt_shell_append'
! 12178:
! 12179: # See if we are running on zsh, and set the options which allow our
! 12180: # commands through without removal of \ escapes INIT.
! 12181: if test -n "\${ZSH_VERSION+set}" ; then
! 12182: setopt NO_GLOB_SUBST
! 12183: fi
! 12184:
! 12185:
! 12186: PACKAGE='$PACKAGE'
! 12187: VERSION='$VERSION'
! 12188: TIMESTAMP='$TIMESTAMP'
! 12189: RM='$RM'
! 12190: ofile='$ofile'
! 12191:
! 12192:
! 12193:
! 12194:
! 12195: _ACEOF
! 12196:
! 12197: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12198:
! 12199: # Handling of arguments.
! 12200: for ac_config_target in $ac_config_targets
! 12201: do
! 12202: case $ac_config_target in
! 12203: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 12204: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 12205: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 12206: "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
! 12207: "include/localcharset.h") CONFIG_FILES="$CONFIG_FILES include/localcharset.h:include/localcharset.h.build.in" ;;
! 12208: "include/localcharset.h.inst") CONFIG_FILES="$CONFIG_FILES include/localcharset.h.inst:include/localcharset.h.in" ;;
! 12209:
! 12210: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 12211: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 12212: { (exit 1); exit 1; }; };;
! 12213: esac
! 12214: done
! 12215:
! 12216:
! 12217: # If the user did not use the arguments to specify the items to instantiate,
! 12218: # then the envvar interface is used. Set only those that are not.
! 12219: # We use the long form for the default assignment because of an extremely
! 12220: # bizarre bug on SunOS 4.1.3.
! 12221: if $ac_need_defaults; then
! 12222: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 12223: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 12224: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 12225: fi
! 12226:
! 12227: # Have a temporary directory for convenience. Make it in the build tree
! 12228: # simply because there is no reason against having it here, and in addition,
! 12229: # creating and moving files from /tmp can sometimes cause problems.
! 12230: # Hook for its removal unless debugging.
! 12231: # Note that there is a small window in which the directory will not be cleaned:
! 12232: # after its creation but before its name has been assigned to `$tmp'.
! 12233: $debug ||
! 12234: {
! 12235: tmp=
! 12236: trap 'exit_status=$?
! 12237: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 12238: ' 0
! 12239: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 12240: }
! 12241: # Create a (secure) tmp directory for tmp files.
! 12242:
! 12243: {
! 12244: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 12245: test -n "$tmp" && test -d "$tmp"
! 12246: } ||
! 12247: {
! 12248: tmp=./conf$$-$RANDOM
! 12249: (umask 077 && mkdir "$tmp")
! 12250: } ||
! 12251: {
! 12252: $as_echo "$as_me: cannot create a temporary directory in ." >&2
! 12253: { (exit 1); exit 1; }
! 12254: }
! 12255:
! 12256: # Set up the scripts for CONFIG_FILES section.
! 12257: # No need to generate them if there are no CONFIG_FILES.
! 12258: # This happens for instance with `./config.status config.h'.
! 12259: if test -n "$CONFIG_FILES"; then
! 12260:
! 12261:
! 12262: ac_cr='
'
! 12263: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 12264: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 12265: ac_cs_awk_cr='\\r'
! 12266: else
! 12267: ac_cs_awk_cr=$ac_cr
! 12268: fi
! 12269:
! 12270: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 12271: _ACEOF
! 12272:
! 12273:
! 12274: {
! 12275: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 12276: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 12277: echo "_ACEOF"
! 12278: } >conf$$subs.sh ||
! 12279: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 12280: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 12281: { (exit 1); exit 1; }; }
! 12282: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 12283: ac_delim='%!_!# '
! 12284: for ac_last_try in false false false false false :; do
! 12285: . ./conf$$subs.sh ||
! 12286: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 12287: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 12288: { (exit 1); exit 1; }; }
! 12289:
! 12290: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 12291: if test $ac_delim_n = $ac_delim_num; then
! 12292: break
! 12293: elif $ac_last_try; then
! 12294: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 12295: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 12296: { (exit 1); exit 1; }; }
! 12297: else
! 12298: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 12299: fi
! 12300: done
! 12301: rm -f conf$$subs.sh
! 12302:
! 12303: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12304: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 12305: _ACEOF
! 12306: sed -n '
! 12307: h
! 12308: s/^/S["/; s/!.*/"]=/
! 12309: p
! 12310: g
! 12311: s/^[^!]*!//
! 12312: :repl
! 12313: t repl
! 12314: s/'"$ac_delim"'$//
! 12315: t delim
! 12316: :nl
! 12317: h
! 12318: s/\(.\{148\}\).*/\1/
! 12319: t more1
! 12320: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 12321: p
! 12322: n
! 12323: b repl
! 12324: :more1
! 12325: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 12326: p
! 12327: g
! 12328: s/.\{148\}//
! 12329: t nl
! 12330: :delim
! 12331: h
! 12332: s/\(.\{148\}\).*/\1/
! 12333: t more2
! 12334: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 12335: p
! 12336: b
! 12337: :more2
! 12338: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 12339: p
! 12340: g
! 12341: s/.\{148\}//
! 12342: t delim
! 12343: ' <conf$$subs.awk | sed '
! 12344: /^[^""]/{
! 12345: N
! 12346: s/\n//
! 12347: }
! 12348: ' >>$CONFIG_STATUS || ac_write_fail=1
! 12349: rm -f conf$$subs.awk
! 12350: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12351: _ACAWK
! 12352: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 12353: for (key in S) S_is_set[key] = 1
! 12354: FS = ""
! 12355:
! 12356: }
! 12357: {
! 12358: line = $ 0
! 12359: nfields = split(line, field, "@")
! 12360: substed = 0
! 12361: len = length(field[1])
! 12362: for (i = 2; i < nfields; i++) {
! 12363: key = field[i]
! 12364: keylen = length(key)
! 12365: if (S_is_set[key]) {
! 12366: value = S[key]
! 12367: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 12368: len += length(value) + length(field[++i])
! 12369: substed = 1
! 12370: } else
! 12371: len += 1 + keylen
! 12372: }
! 12373:
! 12374: print line
! 12375: }
! 12376:
! 12377: _ACAWK
! 12378: _ACEOF
! 12379: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12380: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 12381: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 12382: else
! 12383: cat
! 12384: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 12385: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 12386: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 12387: { (exit 1); exit 1; }; }
! 12388: _ACEOF
! 12389:
! 12390: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 12391: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 12392: # trailing colons and then remove the whole line if VPATH becomes empty
! 12393: # (actually we leave an empty line to preserve line numbers).
! 12394: if test "x$srcdir" = x.; then
! 12395: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 12396: s/:*\$(srcdir):*/:/
! 12397: s/:*\${srcdir}:*/:/
! 12398: s/:*@srcdir@:*/:/
! 12399: s/^\([^=]*=[ ]*\):*/\1/
! 12400: s/:*$//
! 12401: s/^[^=]*=[ ]*$//
! 12402: }'
! 12403: fi
! 12404:
! 12405: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12406: fi # test -n "$CONFIG_FILES"
! 12407:
! 12408: # Set up the scripts for CONFIG_HEADERS section.
! 12409: # No need to generate them if there are no CONFIG_HEADERS.
! 12410: # This happens for instance with `./config.status Makefile'.
! 12411: if test -n "$CONFIG_HEADERS"; then
! 12412: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 12413: BEGIN {
! 12414: _ACEOF
! 12415:
! 12416: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 12417: # here-document in config.status, that substitutes the proper values into
! 12418: # config.h.in to produce config.h.
! 12419:
! 12420: # Create a delimiter string that does not exist in confdefs.h, to ease
! 12421: # handling of long lines.
! 12422: ac_delim='%!_!# '
! 12423: for ac_last_try in false false :; do
! 12424: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 12425: if test -z "$ac_t"; then
! 12426: break
! 12427: elif $ac_last_try; then
! 12428: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
! 12429: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
! 12430: { (exit 1); exit 1; }; }
! 12431: else
! 12432: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 12433: fi
! 12434: done
! 12435:
! 12436: # For the awk script, D is an array of macro values keyed by name,
! 12437: # likewise P contains macro parameters if any. Preserve backslash
! 12438: # newline sequences.
! 12439:
! 12440: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 12441: sed -n '
! 12442: s/.\{148\}/&'"$ac_delim"'/g
! 12443: t rset
! 12444: :rset
! 12445: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 12446: t def
! 12447: d
! 12448: :def
! 12449: s/\\$//
! 12450: t bsnl
! 12451: s/["\\]/\\&/g
! 12452: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 12453: D["\1"]=" \3"/p
! 12454: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 12455: d
! 12456: :bsnl
! 12457: s/["\\]/\\&/g
! 12458: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 12459: D["\1"]=" \3\\\\\\n"\\/p
! 12460: t cont
! 12461: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 12462: t cont
! 12463: d
! 12464: :cont
! 12465: n
! 12466: s/.\{148\}/&'"$ac_delim"'/g
! 12467: t clear
! 12468: :clear
! 12469: s/\\$//
! 12470: t bsnlc
! 12471: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 12472: d
! 12473: :bsnlc
! 12474: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 12475: b cont
! 12476: ' <confdefs.h | sed '
! 12477: s/'"$ac_delim"'/"\\\
! 12478: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 12479:
! 12480: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12481: for (key in D) D_is_set[key] = 1
! 12482: FS = ""
! 12483: }
! 12484: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 12485: line = \$ 0
! 12486: split(line, arg, " ")
! 12487: if (arg[1] == "#") {
! 12488: defundef = arg[2]
! 12489: mac1 = arg[3]
! 12490: } else {
! 12491: defundef = substr(arg[1], 2)
! 12492: mac1 = arg[2]
! 12493: }
! 12494: split(mac1, mac2, "(") #)
! 12495: macro = mac2[1]
! 12496: prefix = substr(line, 1, index(line, defundef) - 1)
! 12497: if (D_is_set[macro]) {
! 12498: # Preserve the white space surrounding the "#".
! 12499: print prefix "define", macro P[macro] D[macro]
! 12500: next
! 12501: } else {
! 12502: # Replace #undef with comments. This is necessary, for example,
! 12503: # in the case of _POSIX_SOURCE, which is predefined and required
! 12504: # on some systems where configure will not decide to define it.
! 12505: if (defundef == "undef") {
! 12506: print "/*", prefix defundef, macro, "*/"
! 12507: next
! 12508: }
! 12509: }
! 12510: }
! 12511: { print }
! 12512: _ACAWK
! 12513: _ACEOF
! 12514: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12515: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
! 12516: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
! 12517: { (exit 1); exit 1; }; }
! 12518: fi # test -n "$CONFIG_HEADERS"
! 12519:
! 12520:
! 12521: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 12522: shift
! 12523: for ac_tag
! 12524: do
! 12525: case $ac_tag in
! 12526: :[FHLC]) ac_mode=$ac_tag; continue;;
! 12527: esac
! 12528: case $ac_mode$ac_tag in
! 12529: :[FHL]*:*);;
! 12530: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
! 12531: $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
! 12532: { (exit 1); exit 1; }; };;
! 12533: :[FH]-) ac_tag=-:-;;
! 12534: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 12535: esac
! 12536: ac_save_IFS=$IFS
! 12537: IFS=:
! 12538: set x $ac_tag
! 12539: IFS=$ac_save_IFS
! 12540: shift
! 12541: ac_file=$1
! 12542: shift
! 12543:
! 12544: case $ac_mode in
! 12545: :L) ac_source=$1;;
! 12546: :[FH])
! 12547: ac_file_inputs=
! 12548: for ac_f
! 12549: do
! 12550: case $ac_f in
! 12551: -) ac_f="$tmp/stdin";;
! 12552: *) # Look for the file first in the build tree, then in the source tree
! 12553: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 12554: # because $ac_f cannot contain `:'.
! 12555: test -f "$ac_f" ||
! 12556: case $ac_f in
! 12557: [\\/$]*) false;;
! 12558: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 12559: esac ||
! 12560: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 12561: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 12562: { (exit 1); exit 1; }; };;
! 12563: esac
! 12564: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 12565: ac_file_inputs="$ac_file_inputs '$ac_f'"
! 12566: done
! 12567:
! 12568: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 12569: # use $as_me), people would be surprised to read:
! 12570: # /* config.h. Generated by config.status. */
! 12571: configure_input='Generated from '`
! 12572: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 12573: `' by configure.'
! 12574: if test x"$ac_file" != x-; then
! 12575: configure_input="$ac_file. $configure_input"
! 12576: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 12577: $as_echo "$as_me: creating $ac_file" >&6;}
! 12578: fi
! 12579: # Neutralize special characters interpreted by sed in replacement strings.
! 12580: case $configure_input in #(
! 12581: *\&* | *\|* | *\\* )
! 12582: ac_sed_conf_input=`$as_echo "$configure_input" |
! 12583: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 12584: *) ac_sed_conf_input=$configure_input;;
! 12585: esac
! 12586:
! 12587: case $ac_tag in
! 12588: *:-:* | *:-) cat >"$tmp/stdin" \
! 12589: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 12590: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 12591: { (exit 1); exit 1; }; } ;;
! 12592: esac
! 12593: ;;
! 12594: esac
! 12595:
! 12596: ac_dir=`$as_dirname -- "$ac_file" ||
! 12597: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 12598: X"$ac_file" : 'X\(//\)[^/]' \| \
! 12599: X"$ac_file" : 'X\(//\)$' \| \
! 12600: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 12601: $as_echo X"$ac_file" |
! 12602: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 12603: s//\1/
! 12604: q
! 12605: }
! 12606: /^X\(\/\/\)[^/].*/{
! 12607: s//\1/
! 12608: q
! 12609: }
! 12610: /^X\(\/\/\)$/{
! 12611: s//\1/
! 12612: q
! 12613: }
! 12614: /^X\(\/\).*/{
! 12615: s//\1/
! 12616: q
! 12617: }
! 12618: s/.*/./; q'`
! 12619: { as_dir="$ac_dir"
! 12620: case $as_dir in #(
! 12621: -*) as_dir=./$as_dir;;
! 12622: esac
! 12623: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 12624: as_dirs=
! 12625: while :; do
! 12626: case $as_dir in #(
! 12627: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 12628: *) as_qdir=$as_dir;;
! 12629: esac
! 12630: as_dirs="'$as_qdir' $as_dirs"
! 12631: as_dir=`$as_dirname -- "$as_dir" ||
! 12632: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 12633: X"$as_dir" : 'X\(//\)[^/]' \| \
! 12634: X"$as_dir" : 'X\(//\)$' \| \
! 12635: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 12636: $as_echo X"$as_dir" |
! 12637: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 12638: s//\1/
! 12639: q
! 12640: }
! 12641: /^X\(\/\/\)[^/].*/{
! 12642: s//\1/
! 12643: q
! 12644: }
! 12645: /^X\(\/\/\)$/{
! 12646: s//\1/
! 12647: q
! 12648: }
! 12649: /^X\(\/\).*/{
! 12650: s//\1/
! 12651: q
! 12652: }
! 12653: s/.*/./; q'`
! 12654: test -d "$as_dir" && break
! 12655: done
! 12656: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 12657: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 12658: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 12659: { (exit 1); exit 1; }; }; }
! 12660: ac_builddir=.
! 12661:
! 12662: case "$ac_dir" in
! 12663: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 12664: *)
! 12665: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 12666: # A ".." for each directory in $ac_dir_suffix.
! 12667: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 12668: case $ac_top_builddir_sub in
! 12669: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 12670: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 12671: esac ;;
! 12672: esac
! 12673: ac_abs_top_builddir=$ac_pwd
! 12674: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 12675: # for backward compatibility:
! 12676: ac_top_builddir=$ac_top_build_prefix
! 12677:
! 12678: case $srcdir in
! 12679: .) # We are building in place.
! 12680: ac_srcdir=.
! 12681: ac_top_srcdir=$ac_top_builddir_sub
! 12682: ac_abs_top_srcdir=$ac_pwd ;;
! 12683: [\\/]* | ?:[\\/]* ) # Absolute name.
! 12684: ac_srcdir=$srcdir$ac_dir_suffix;
! 12685: ac_top_srcdir=$srcdir
! 12686: ac_abs_top_srcdir=$srcdir ;;
! 12687: *) # Relative name.
! 12688: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 12689: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 12690: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 12691: esac
! 12692: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 12693:
! 12694:
! 12695: case $ac_mode in
! 12696: :F)
! 12697: #
! 12698: # CONFIG_FILE
! 12699: #
! 12700:
! 12701: case $INSTALL in
! 12702: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 12703: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 12704: esac
! 12705: _ACEOF
! 12706:
! 12707: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12708: # If the template does not know about datarootdir, expand it.
! 12709: # FIXME: This hack should be removed a few years after 2.60.
! 12710: ac_datarootdir_hack=; ac_datarootdir_seen=
! 12711:
! 12712: ac_sed_dataroot='
! 12713: /datarootdir/ {
! 12714: p
! 12715: q
! 12716: }
! 12717: /@datadir@/p
! 12718: /@docdir@/p
! 12719: /@infodir@/p
! 12720: /@localedir@/p
! 12721: /@mandir@/p
! 12722: '
! 12723: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 12724: *datarootdir*) ac_datarootdir_seen=yes;;
! 12725: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 12726: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 12727: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 12728: _ACEOF
! 12729: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12730: ac_datarootdir_hack='
! 12731: s&@datadir@&$datadir&g
! 12732: s&@docdir@&$docdir&g
! 12733: s&@infodir@&$infodir&g
! 12734: s&@localedir@&$localedir&g
! 12735: s&@mandir@&$mandir&g
! 12736: s&\\\${datarootdir}&$datarootdir&g' ;;
! 12737: esac
! 12738: _ACEOF
! 12739:
! 12740: # Neutralize VPATH when `$srcdir' = `.'.
! 12741: # Shell code in configure.ac might set extrasub.
! 12742: # FIXME: do we really want to maintain this feature?
! 12743: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 12744: ac_sed_extra="$ac_vpsub
! 12745: $extrasub
! 12746: _ACEOF
! 12747: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 12748: :t
! 12749: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 12750: s|@configure_input@|$ac_sed_conf_input|;t t
! 12751: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 12752: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 12753: s&@srcdir@&$ac_srcdir&;t t
! 12754: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 12755: s&@top_srcdir@&$ac_top_srcdir&;t t
! 12756: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 12757: s&@builddir@&$ac_builddir&;t t
! 12758: s&@abs_builddir@&$ac_abs_builddir&;t t
! 12759: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 12760: s&@INSTALL@&$ac_INSTALL&;t t
! 12761: $ac_datarootdir_hack
! 12762: "
! 12763: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 12764: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 12765: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 12766: { (exit 1); exit 1; }; }
! 12767:
! 12768: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 12769: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 12770: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 12771: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 12772: which seems to be undefined. Please make sure it is defined." >&5
! 12773: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 12774: which seems to be undefined. Please make sure it is defined." >&2;}
! 12775:
! 12776: rm -f "$tmp/stdin"
! 12777: case $ac_file in
! 12778: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 12779: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 12780: esac \
! 12781: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 12782: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 12783: { (exit 1); exit 1; }; }
! 12784: ;;
! 12785: :H)
! 12786: #
! 12787: # CONFIG_HEADER
! 12788: #
! 12789: if test x"$ac_file" != x-; then
! 12790: {
! 12791: $as_echo "/* $configure_input */" \
! 12792: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 12793: } >"$tmp/config.h" \
! 12794: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 12795: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 12796: { (exit 1); exit 1; }; }
! 12797: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 12798: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 12799: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 12800: else
! 12801: rm -f "$ac_file"
! 12802: mv "$tmp/config.h" "$ac_file" \
! 12803: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 12804: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 12805: { (exit 1); exit 1; }; }
! 12806: fi
! 12807: else
! 12808: $as_echo "/* $configure_input */" \
! 12809: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 12810: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
! 12811: $as_echo "$as_me: error: could not create -" >&2;}
! 12812: { (exit 1); exit 1; }; }
! 12813: fi
! 12814: ;;
! 12815:
! 12816: :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
! 12817: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 12818: ;;
! 12819: esac
! 12820:
! 12821:
! 12822: case $ac_file$ac_mode in
! 12823: "libtool":C)
! 12824:
! 12825: # See if we are running on zsh, and set the options which allow our
! 12826: # commands through without removal of \ escapes.
! 12827: if test -n "${ZSH_VERSION+set}" ; then
! 12828: setopt NO_GLOB_SUBST
! 12829: fi
! 12830:
! 12831: cfgfile="${ofile}T"
! 12832: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 12833: $RM "$cfgfile"
! 12834:
! 12835: cat <<_LT_EOF >> "$cfgfile"
! 12836: #! $SHELL
! 12837:
! 12838: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 12839: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 12840: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 12841: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 12842: #
! 12843: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 12844: # 2006, 2007, 2008 Free Software Foundation, Inc.
! 12845: # Written by Gordon Matzigkeit, 1996
! 12846: #
! 12847: # This file is part of GNU Libtool.
! 12848: #
! 12849: # GNU Libtool is free software; you can redistribute it and/or
! 12850: # modify it under the terms of the GNU General Public License as
! 12851: # published by the Free Software Foundation; either version 2 of
! 12852: # the License, or (at your option) any later version.
! 12853: #
! 12854: # As a special exception to the GNU General Public License,
! 12855: # if you distribute this file as part of a program or library that
! 12856: # is built using GNU Libtool, you may include this file under the
! 12857: # same distribution terms that you use for the rest of that program.
! 12858: #
! 12859: # GNU Libtool is distributed in the hope that it will be useful,
! 12860: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 12861: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 12862: # GNU General Public License for more details.
! 12863: #
! 12864: # You should have received a copy of the GNU General Public License
! 12865: # along with GNU Libtool; see the file COPYING. If not, a copy
! 12866: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 12867: # obtained by writing to the Free Software Foundation, Inc.,
! 12868: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 12869:
! 12870:
! 12871: # The names of the tagged configurations supported by this script.
! 12872: available_tags=""
! 12873:
! 12874: # ### BEGIN LIBTOOL CONFIG
! 12875:
! 12876: # Which release of libtool.m4 was used?
! 12877: macro_version=$macro_version
! 12878: macro_revision=$macro_revision
! 12879:
! 12880: # Assembler program.
! 12881: AS=$AS
! 12882:
! 12883: # DLL creation program.
! 12884: DLLTOOL=$DLLTOOL
! 12885:
! 12886: # Object dumper program.
! 12887: OBJDUMP=$OBJDUMP
! 12888:
! 12889: # Whether or not to build shared libraries.
! 12890: build_libtool_libs=$enable_shared
! 12891:
! 12892: # Whether or not to build static libraries.
! 12893: build_old_libs=$enable_static
! 12894:
! 12895: # What type of objects to build.
! 12896: pic_mode=$pic_mode
! 12897:
! 12898: # Whether or not to optimize for fast installation.
! 12899: fast_install=$enable_fast_install
! 12900:
! 12901: # The host system.
! 12902: host_alias=$host_alias
! 12903: host=$host
! 12904: host_os=$host_os
! 12905:
! 12906: # The build system.
! 12907: build_alias=$build_alias
! 12908: build=$build
! 12909: build_os=$build_os
! 12910:
! 12911: # A sed program that does not truncate output.
! 12912: SED=$lt_SED
! 12913:
! 12914: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 12915: Xsed="\$SED -e 1s/^X//"
! 12916:
! 12917: # A grep program that handles long lines.
! 12918: GREP=$lt_GREP
! 12919:
! 12920: # An ERE matcher.
! 12921: EGREP=$lt_EGREP
! 12922:
! 12923: # A literal string matcher.
! 12924: FGREP=$lt_FGREP
! 12925:
! 12926: # A BSD- or MS-compatible name lister.
! 12927: NM=$lt_NM
! 12928:
! 12929: # Whether we need soft or hard links.
! 12930: LN_S=$lt_LN_S
! 12931:
! 12932: # What is the maximum length of a command?
! 12933: max_cmd_len=$max_cmd_len
! 12934:
! 12935: # Object file suffix (normally "o").
! 12936: objext=$ac_objext
! 12937:
! 12938: # Executable file suffix (normally "").
! 12939: exeext=$exeext
! 12940:
! 12941: # whether the shell understands "unset".
! 12942: lt_unset=$lt_unset
! 12943:
! 12944: # turn spaces into newlines.
! 12945: SP2NL=$lt_lt_SP2NL
! 12946:
! 12947: # turn newlines into spaces.
! 12948: NL2SP=$lt_lt_NL2SP
! 12949:
! 12950: # How to create reloadable object files.
! 12951: reload_flag=$lt_reload_flag
! 12952: reload_cmds=$lt_reload_cmds
! 12953:
! 12954: # Method to check whether dependent libraries are shared objects.
! 12955: deplibs_check_method=$lt_deplibs_check_method
! 12956:
! 12957: # Command to use when deplibs_check_method == "file_magic".
! 12958: file_magic_cmd=$lt_file_magic_cmd
! 12959:
! 12960: # The archiver.
! 12961: AR=$lt_AR
! 12962: AR_FLAGS=$lt_AR_FLAGS
! 12963:
! 12964: # A symbol stripping program.
! 12965: STRIP=$lt_STRIP
! 12966:
! 12967: # Commands used to install an old-style archive.
! 12968: RANLIB=$lt_RANLIB
! 12969: old_postinstall_cmds=$lt_old_postinstall_cmds
! 12970: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 12971:
! 12972: # A C compiler.
! 12973: LTCC=$lt_CC
! 12974:
! 12975: # LTCC compiler flags.
! 12976: LTCFLAGS=$lt_CFLAGS
! 12977:
! 12978: # Take the output of nm and produce a listing of raw symbols and C names.
! 12979: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 12980:
! 12981: # Transform the output of nm in a proper C declaration.
! 12982: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 12983:
! 12984: # Transform the output of nm in a C name address pair.
! 12985: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 12986:
! 12987: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 12988: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 12989:
! 12990: # The name of the directory that contains temporary libtool files.
! 12991: objdir=$objdir
! 12992:
! 12993: # Shell to use when invoking shell scripts.
! 12994: SHELL=$lt_SHELL
! 12995:
! 12996: # An echo program that does not interpret backslashes.
! 12997: ECHO=$lt_ECHO
! 12998:
! 12999: # Used to examine libraries when file_magic_cmd begins with "file".
! 13000: MAGIC_CMD=$MAGIC_CMD
! 13001:
! 13002: # Must we lock files when doing compilation?
! 13003: need_locks=$lt_need_locks
! 13004:
! 13005: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 13006: DSYMUTIL=$lt_DSYMUTIL
! 13007:
! 13008: # Tool to change global to local symbols on Mac OS X.
! 13009: NMEDIT=$lt_NMEDIT
! 13010:
! 13011: # Tool to manipulate fat objects and archives on Mac OS X.
! 13012: LIPO=$lt_LIPO
! 13013:
! 13014: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 13015: OTOOL=$lt_OTOOL
! 13016:
! 13017: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 13018: OTOOL64=$lt_OTOOL64
! 13019:
! 13020: # Old archive suffix (normally "a").
! 13021: libext=$libext
! 13022:
! 13023: # Shared library suffix (normally ".so").
! 13024: shrext_cmds=$lt_shrext_cmds
! 13025:
! 13026: # The commands to extract the exported symbol list from a shared archive.
! 13027: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 13028:
! 13029: # Variables whose values should be saved in libtool wrapper scripts and
! 13030: # restored at link time.
! 13031: variables_saved_for_relink=$lt_variables_saved_for_relink
! 13032:
! 13033: # Do we need the "lib" prefix for modules?
! 13034: need_lib_prefix=$need_lib_prefix
! 13035:
! 13036: # Do we need a version for libraries?
! 13037: need_version=$need_version
! 13038:
! 13039: # Library versioning type.
! 13040: version_type=$version_type
! 13041:
! 13042: # Shared library runtime path variable.
! 13043: runpath_var=$runpath_var
! 13044:
! 13045: # Shared library path variable.
! 13046: shlibpath_var=$shlibpath_var
! 13047:
! 13048: # Is shlibpath searched before the hard-coded library search path?
! 13049: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 13050:
! 13051: # Format of library name prefix.
! 13052: libname_spec=$lt_libname_spec
! 13053:
! 13054: # List of archive names. First name is the real one, the rest are links.
! 13055: # The last name is the one that the linker finds with -lNAME
! 13056: library_names_spec=$lt_library_names_spec
! 13057:
! 13058: # The coded name of the library, if different from the real name.
! 13059: soname_spec=$lt_soname_spec
! 13060:
! 13061: # Command to use after installation of a shared archive.
! 13062: postinstall_cmds=$lt_postinstall_cmds
! 13063:
! 13064: # Command to use after uninstallation of a shared archive.
! 13065: postuninstall_cmds=$lt_postuninstall_cmds
! 13066:
! 13067: # Commands used to finish a libtool library installation in a directory.
! 13068: finish_cmds=$lt_finish_cmds
! 13069:
! 13070: # As "finish_cmds", except a single script fragment to be evaled but
! 13071: # not shown.
! 13072: finish_eval=$lt_finish_eval
! 13073:
! 13074: # Whether we should hardcode library paths into libraries.
! 13075: hardcode_into_libs=$hardcode_into_libs
! 13076:
! 13077: # Compile-time system search path for libraries.
! 13078: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 13079:
! 13080: # Run-time system search path for libraries.
! 13081: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 13082:
! 13083: # Whether dlopen is supported.
! 13084: dlopen_support=$enable_dlopen
! 13085:
! 13086: # Whether dlopen of programs is supported.
! 13087: dlopen_self=$enable_dlopen_self
! 13088:
! 13089: # Whether dlopen of statically linked programs is supported.
! 13090: dlopen_self_static=$enable_dlopen_self_static
! 13091:
! 13092: # Commands to strip libraries.
! 13093: old_striplib=$lt_old_striplib
! 13094: striplib=$lt_striplib
! 13095:
! 13096:
! 13097: # The linker used to build libraries.
! 13098: LD=$lt_LD
! 13099:
! 13100: # Commands used to build an old-style archive.
! 13101: old_archive_cmds=$lt_old_archive_cmds
! 13102:
! 13103: # A language specific compiler.
! 13104: CC=$lt_compiler
! 13105:
! 13106: # Is the compiler the GNU compiler?
! 13107: with_gcc=$GCC
! 13108:
! 13109: # Compiler flag to turn off builtin functions.
! 13110: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 13111:
! 13112: # How to pass a linker flag through the compiler.
! 13113: wl=$lt_lt_prog_compiler_wl
! 13114:
! 13115: # Additional compiler flags for building library objects.
! 13116: pic_flag=$lt_lt_prog_compiler_pic
! 13117:
! 13118: # Compiler flag to prevent dynamic linking.
! 13119: link_static_flag=$lt_lt_prog_compiler_static
! 13120:
! 13121: # Does compiler simultaneously support -c and -o options?
! 13122: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 13123:
! 13124: # Whether or not to add -lc for building shared libraries.
! 13125: build_libtool_need_lc=$archive_cmds_need_lc
! 13126:
! 13127: # Whether or not to disallow shared libs when runtime libs are static.
! 13128: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 13129:
! 13130: # Compiler flag to allow reflexive dlopens.
! 13131: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 13132:
! 13133: # Compiler flag to generate shared objects directly from archives.
! 13134: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 13135:
! 13136: # Whether the compiler copes with passing no objects directly.
! 13137: compiler_needs_object=$lt_compiler_needs_object
! 13138:
! 13139: # Create an old-style archive from a shared archive.
! 13140: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 13141:
! 13142: # Create a temporary old-style archive to link instead of a shared archive.
! 13143: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 13144:
! 13145: # Commands used to build a shared archive.
! 13146: archive_cmds=$lt_archive_cmds
! 13147: archive_expsym_cmds=$lt_archive_expsym_cmds
! 13148:
! 13149: # Commands used to build a loadable module if different from building
! 13150: # a shared archive.
! 13151: module_cmds=$lt_module_cmds
! 13152: module_expsym_cmds=$lt_module_expsym_cmds
! 13153:
! 13154: # Whether we are building with GNU ld or not.
! 13155: with_gnu_ld=$lt_with_gnu_ld
! 13156:
! 13157: # Flag that allows shared libraries with undefined symbols to be built.
! 13158: allow_undefined_flag=$lt_allow_undefined_flag
! 13159:
! 13160: # Flag that enforces no undefined symbols.
! 13161: no_undefined_flag=$lt_no_undefined_flag
! 13162:
! 13163: # Flag to hardcode \$libdir into a binary during linking.
! 13164: # This must work even if \$libdir does not exist
! 13165: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 13166:
! 13167: # If ld is used when linking, flag to hardcode \$libdir into a binary
! 13168: # during linking. This must work even if \$libdir does not exist.
! 13169: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 13170:
! 13171: # Whether we need a single "-rpath" flag with a separated argument.
! 13172: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 13173:
! 13174: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 13175: # DIR into the resulting binary.
! 13176: hardcode_direct=$hardcode_direct
! 13177:
! 13178: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 13179: # DIR into the resulting binary and the resulting library dependency is
! 13180: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 13181: # library is relocated.
! 13182: hardcode_direct_absolute=$hardcode_direct_absolute
! 13183:
! 13184: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 13185: # into the resulting binary.
! 13186: hardcode_minus_L=$hardcode_minus_L
! 13187:
! 13188: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 13189: # into the resulting binary.
! 13190: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 13191:
! 13192: # Set to "yes" if building a shared library automatically hardcodes DIR
! 13193: # into the library and all subsequent libraries and executables linked
! 13194: # against it.
! 13195: hardcode_automatic=$hardcode_automatic
! 13196:
! 13197: # Set to yes if linker adds runtime paths of dependent libraries
! 13198: # to runtime path list.
! 13199: inherit_rpath=$inherit_rpath
! 13200:
! 13201: # Whether libtool must link a program against all its dependency libraries.
! 13202: link_all_deplibs=$link_all_deplibs
! 13203:
! 13204: # Fix the shell variable \$srcfile for the compiler.
! 13205: fix_srcfile_path=$lt_fix_srcfile_path
! 13206:
! 13207: # Set to "yes" if exported symbols are required.
! 13208: always_export_symbols=$always_export_symbols
! 13209:
! 13210: # The commands to list exported symbols.
! 13211: export_symbols_cmds=$lt_export_symbols_cmds
! 13212:
! 13213: # Symbols that should not be listed in the preloaded symbols.
! 13214: exclude_expsyms=$lt_exclude_expsyms
! 13215:
! 13216: # Symbols that must always be exported.
! 13217: include_expsyms=$lt_include_expsyms
! 13218:
! 13219: # Commands necessary for linking programs (against libraries) with templates.
! 13220: prelink_cmds=$lt_prelink_cmds
! 13221:
! 13222: # Specify filename containing input files.
! 13223: file_list_spec=$lt_file_list_spec
! 13224:
! 13225: # How to hardcode a shared library path into an executable.
! 13226: hardcode_action=$hardcode_action
! 13227:
! 13228: # ### END LIBTOOL CONFIG
! 13229:
! 13230: _LT_EOF
! 13231:
! 13232: case $host_os in
! 13233: aix3*)
! 13234: cat <<\_LT_EOF >> "$cfgfile"
! 13235: # AIX sometimes has problems with the GCC collect2 program. For some
! 13236: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 13237: # vanish in a puff of smoke.
! 13238: if test "X${COLLECT_NAMES+set}" != Xset; then
! 13239: COLLECT_NAMES=
! 13240: export COLLECT_NAMES
! 13241: fi
! 13242: _LT_EOF
! 13243: ;;
! 13244: esac
! 13245:
! 13246:
! 13247: ltmain="$ac_aux_dir/ltmain.sh"
! 13248:
! 13249:
! 13250: # We use sed instead of cat because bash on DJGPP gets confused if
! 13251: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 13252: # text mode, it properly converts lines to CR/LF. This bash problem
! 13253: # is reportedly fixed, but why not run on old versions too?
! 13254: sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
! 13255: || (rm -f "$cfgfile"; exit 1)
! 13256:
! 13257: case $xsi_shell in
! 13258: yes)
! 13259: cat << \_LT_EOF >> "$cfgfile"
! 13260:
! 13261: # func_dirname file append nondir_replacement
! 13262: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 13263: # otherwise set result to NONDIR_REPLACEMENT.
! 13264: func_dirname ()
! 13265: {
! 13266: case ${1} in
! 13267: */*) func_dirname_result="${1%/*}${2}" ;;
! 13268: * ) func_dirname_result="${3}" ;;
! 13269: esac
! 13270: }
! 13271:
! 13272: # func_basename file
! 13273: func_basename ()
! 13274: {
! 13275: func_basename_result="${1##*/}"
! 13276: }
! 13277:
! 13278: # func_dirname_and_basename file append nondir_replacement
! 13279: # perform func_basename and func_dirname in a single function
! 13280: # call:
! 13281: # dirname: Compute the dirname of FILE. If nonempty,
! 13282: # add APPEND to the result, otherwise set result
! 13283: # to NONDIR_REPLACEMENT.
! 13284: # value returned in "$func_dirname_result"
! 13285: # basename: Compute filename of FILE.
! 13286: # value retuned in "$func_basename_result"
! 13287: # Implementation must be kept synchronized with func_dirname
! 13288: # and func_basename. For efficiency, we do not delegate to
! 13289: # those functions but instead duplicate the functionality here.
! 13290: func_dirname_and_basename ()
! 13291: {
! 13292: case ${1} in
! 13293: */*) func_dirname_result="${1%/*}${2}" ;;
! 13294: * ) func_dirname_result="${3}" ;;
! 13295: esac
! 13296: func_basename_result="${1##*/}"
! 13297: }
! 13298:
! 13299: # func_stripname prefix suffix name
! 13300: # strip PREFIX and SUFFIX off of NAME.
! 13301: # PREFIX and SUFFIX must not contain globbing or regex special
! 13302: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 13303: # dot (in which case that matches only a dot).
! 13304: func_stripname ()
! 13305: {
! 13306: # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
! 13307: # positional parameters, so assign one to ordinary parameter first.
! 13308: func_stripname_result=${3}
! 13309: func_stripname_result=${func_stripname_result#"${1}"}
! 13310: func_stripname_result=${func_stripname_result%"${2}"}
! 13311: }
! 13312:
! 13313: # func_opt_split
! 13314: func_opt_split ()
! 13315: {
! 13316: func_opt_split_opt=${1%%=*}
! 13317: func_opt_split_arg=${1#*=}
! 13318: }
! 13319:
! 13320: # func_lo2o object
! 13321: func_lo2o ()
! 13322: {
! 13323: case ${1} in
! 13324: *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
! 13325: *) func_lo2o_result=${1} ;;
! 13326: esac
! 13327: }
! 13328:
! 13329: # func_xform libobj-or-source
! 13330: func_xform ()
! 13331: {
! 13332: func_xform_result=${1%.*}.lo
! 13333: }
! 13334:
! 13335: # func_arith arithmetic-term...
! 13336: func_arith ()
! 13337: {
! 13338: func_arith_result=$(( $* ))
! 13339: }
! 13340:
! 13341: # func_len string
! 13342: # STRING may not start with a hyphen.
! 13343: func_len ()
! 13344: {
! 13345: func_len_result=${#1}
! 13346: }
! 13347:
! 13348: _LT_EOF
! 13349: ;;
! 13350: *) # Bourne compatible functions.
! 13351: cat << \_LT_EOF >> "$cfgfile"
! 13352:
! 13353: # func_dirname file append nondir_replacement
! 13354: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 13355: # otherwise set result to NONDIR_REPLACEMENT.
! 13356: func_dirname ()
! 13357: {
! 13358: # Extract subdirectory from the argument.
! 13359: func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
! 13360: if test "X$func_dirname_result" = "X${1}"; then
! 13361: func_dirname_result="${3}"
! 13362: else
! 13363: func_dirname_result="$func_dirname_result${2}"
! 13364: fi
! 13365: }
! 13366:
! 13367: # func_basename file
! 13368: func_basename ()
! 13369: {
! 13370: func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
! 13371: }
! 13372:
! 13373:
! 13374: # func_stripname prefix suffix name
! 13375: # strip PREFIX and SUFFIX off of NAME.
! 13376: # PREFIX and SUFFIX must not contain globbing or regex special
! 13377: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 13378: # dot (in which case that matches only a dot).
! 13379: # func_strip_suffix prefix name
! 13380: func_stripname ()
! 13381: {
! 13382: case ${2} in
! 13383: .*) func_stripname_result=`$ECHO "X${3}" \
! 13384: | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
! 13385: *) func_stripname_result=`$ECHO "X${3}" \
! 13386: | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
! 13387: esac
! 13388: }
! 13389:
! 13390: # sed scripts:
! 13391: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
! 13392: my_sed_long_arg='1s/^-[^=]*=//'
! 13393:
! 13394: # func_opt_split
! 13395: func_opt_split ()
! 13396: {
! 13397: func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
! 13398: func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
! 13399: }
! 13400:
! 13401: # func_lo2o object
! 13402: func_lo2o ()
! 13403: {
! 13404: func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
! 13405: }
! 13406:
! 13407: # func_xform libobj-or-source
! 13408: func_xform ()
! 13409: {
! 13410: func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
! 13411: }
! 13412:
! 13413: # func_arith arithmetic-term...
! 13414: func_arith ()
! 13415: {
! 13416: func_arith_result=`expr "$@"`
! 13417: }
! 13418:
! 13419: # func_len string
! 13420: # STRING may not start with a hyphen.
! 13421: func_len ()
! 13422: {
! 13423: func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
! 13424: }
! 13425:
! 13426: _LT_EOF
! 13427: esac
! 13428:
! 13429: case $lt_shell_append in
! 13430: yes)
! 13431: cat << \_LT_EOF >> "$cfgfile"
! 13432:
! 13433: # func_append var value
! 13434: # Append VALUE to the end of shell variable VAR.
! 13435: func_append ()
! 13436: {
! 13437: eval "$1+=\$2"
! 13438: }
! 13439: _LT_EOF
! 13440: ;;
! 13441: *)
! 13442: cat << \_LT_EOF >> "$cfgfile"
! 13443:
! 13444: # func_append var value
! 13445: # Append VALUE to the end of shell variable VAR.
! 13446: func_append ()
! 13447: {
! 13448: eval "$1=\$$1\$2"
! 13449: }
! 13450:
! 13451: _LT_EOF
! 13452: ;;
! 13453: esac
! 13454:
! 13455:
! 13456: sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
! 13457: || (rm -f "$cfgfile"; exit 1)
! 13458:
! 13459: mv -f "$cfgfile" "$ofile" ||
! 13460: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 13461: chmod +x "$ofile"
! 13462:
! 13463: ;;
! 13464:
! 13465: esac
! 13466: done # for ac_tag
! 13467:
! 13468:
! 13469: { (exit 0); exit 0; }
! 13470: _ACEOF
! 13471: chmod +x $CONFIG_STATUS
! 13472: ac_clean_files=$ac_clean_files_save
! 13473:
! 13474: test $ac_write_fail = 0 ||
! 13475: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 13476: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 13477: { (exit 1); exit 1; }; }
! 13478:
! 13479:
! 13480: # configure is writing to config.log, and then calls config.status.
! 13481: # config.status does its own redirection, appending to config.log.
! 13482: # Unfortunately, on DOS this fails, as config.log is still kept open
! 13483: # by configure, so config.status won't be able to write to it; its
! 13484: # output is simply discarded. So we exec the FD to /dev/null,
! 13485: # effectively closing config.log, so it can be properly (re)opened and
! 13486: # appended to by config.status. When coming back to configure, we
! 13487: # need to make the FD available again.
! 13488: if test "$no_create" != yes; then
! 13489: ac_cs_success=:
! 13490: ac_config_status_args=
! 13491: test "$silent" = yes &&
! 13492: ac_config_status_args="$ac_config_status_args --quiet"
! 13493: exec 5>/dev/null
! 13494: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 13495: exec 5>>config.log
! 13496: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 13497: # would make configure fail if this is the last instruction.
! 13498: $ac_cs_success || { (exit 1); exit 1; }
! 13499: fi
! 13500: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 13501: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 13502: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 13503: fi
! 13504:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>