Annotation of embedaddon/dhcdrop/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 for "DHCP-dropper" "0.5".
! 4: #
! 5: # Report bugs to <"roma@ultranet.ru">.
! 6: #
! 7: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 8: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 9: # This configure script is free software; the Free Software Foundation
! 10: # gives unlimited permission to copy, distribute and modify it.
! 11: ## --------------------- ##
! 12: ## M4sh Initialization. ##
! 13: ## --------------------- ##
! 14:
! 15: # Be more Bourne compatible
! 16: DUALCASE=1; export DUALCASE # for MKS sh
! 17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 18: emulate sh
! 19: NULLCMD=:
! 20: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 21: # is contrary to our usage. Disable this feature.
! 22: alias -g '${1+"$@"}'='"$@"'
! 23: setopt NO_GLOB_SUBST
! 24: else
! 25: case `(set -o) 2>/dev/null` in
! 26: *posix*) set -o posix ;;
! 27: esac
! 28:
! 29: fi
! 30:
! 31:
! 32:
! 33:
! 34: # PATH needs CR
! 35: # Avoid depending upon Character Ranges.
! 36: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 37: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 38: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 39: as_cr_digits='0123456789'
! 40: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 41:
! 42: as_nl='
! 43: '
! 44: export as_nl
! 45: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 46: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 47: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 49: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 50: as_echo='printf %s\n'
! 51: as_echo_n='printf %s'
! 52: else
! 53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 55: as_echo_n='/usr/ucb/echo -n'
! 56: else
! 57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 58: as_echo_n_body='eval
! 59: arg=$1;
! 60: case $arg in
! 61: *"$as_nl"*)
! 62: expr "X$arg" : "X\\(.*\\)$as_nl";
! 63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 64: esac;
! 65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 66: '
! 67: export as_echo_n_body
! 68: as_echo_n='sh -c $as_echo_n_body as_echo'
! 69: fi
! 70: export as_echo_body
! 71: as_echo='sh -c $as_echo_body as_echo'
! 72: fi
! 73:
! 74: # The user is always right.
! 75: if test "${PATH_SEPARATOR+set}" != set; then
! 76: PATH_SEPARATOR=:
! 77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 79: PATH_SEPARATOR=';'
! 80: }
! 81: fi
! 82:
! 83: # Support unset when possible.
! 84: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 85: as_unset=unset
! 86: else
! 87: as_unset=false
! 88: fi
! 89:
! 90:
! 91: # IFS
! 92: # We need space, tab and new line, in precisely that order. Quoting is
! 93: # there to prevent editors from complaining about space-tab.
! 94: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 95: # splitting by setting IFS to empty value.)
! 96: IFS=" "" $as_nl"
! 97:
! 98: # Find who we are. Look in the path if we contain no directory separator.
! 99: case $0 in
! 100: *[\\/]* ) as_myself=$0 ;;
! 101: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 102: for as_dir in $PATH
! 103: do
! 104: IFS=$as_save_IFS
! 105: test -z "$as_dir" && as_dir=.
! 106: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 107: done
! 108: IFS=$as_save_IFS
! 109:
! 110: ;;
! 111: esac
! 112: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 113: # in which case we are not to be found in the path.
! 114: if test "x$as_myself" = x; then
! 115: as_myself=$0
! 116: fi
! 117: if test ! -f "$as_myself"; then
! 118: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 119: { (exit 1); exit 1; }
! 120: fi
! 121:
! 122: # Work around bugs in pre-3.0 UWIN ksh.
! 123: for as_var in ENV MAIL MAILPATH
! 124: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 125: done
! 126: PS1='$ '
! 127: PS2='> '
! 128: PS4='+ '
! 129:
! 130: # NLS nuisances.
! 131: LC_ALL=C
! 132: export LC_ALL
! 133: LANGUAGE=C
! 134: export LANGUAGE
! 135:
! 136: # Required to use basename.
! 137: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 138: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 139: as_expr=expr
! 140: else
! 141: as_expr=false
! 142: fi
! 143:
! 144: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 145: as_basename=basename
! 146: else
! 147: as_basename=false
! 148: fi
! 149:
! 150:
! 151: # Name of the executable.
! 152: as_me=`$as_basename -- "$0" ||
! 153: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 154: X"$0" : 'X\(//\)$' \| \
! 155: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 156: $as_echo X/"$0" |
! 157: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 158: s//\1/
! 159: q
! 160: }
! 161: /^X\/\(\/\/\)$/{
! 162: s//\1/
! 163: q
! 164: }
! 165: /^X\/\(\/\).*/{
! 166: s//\1/
! 167: q
! 168: }
! 169: s/.*/./; q'`
! 170:
! 171: # CDPATH.
! 172: $as_unset CDPATH
! 173:
! 174:
! 175: if test "x$CONFIG_SHELL" = x; then
! 176: if (eval ":") 2>/dev/null; then
! 177: as_have_required=yes
! 178: else
! 179: as_have_required=no
! 180: fi
! 181:
! 182: if test $as_have_required = yes && (eval ":
! 183: (as_func_return () {
! 184: (exit \$1)
! 185: }
! 186: as_func_success () {
! 187: as_func_return 0
! 188: }
! 189: as_func_failure () {
! 190: as_func_return 1
! 191: }
! 192: as_func_ret_success () {
! 193: return 0
! 194: }
! 195: as_func_ret_failure () {
! 196: return 1
! 197: }
! 198:
! 199: exitcode=0
! 200: if as_func_success; then
! 201: :
! 202: else
! 203: exitcode=1
! 204: echo as_func_success failed.
! 205: fi
! 206:
! 207: if as_func_failure; then
! 208: exitcode=1
! 209: echo as_func_failure succeeded.
! 210: fi
! 211:
! 212: if as_func_ret_success; then
! 213: :
! 214: else
! 215: exitcode=1
! 216: echo as_func_ret_success failed.
! 217: fi
! 218:
! 219: if as_func_ret_failure; then
! 220: exitcode=1
! 221: echo as_func_ret_failure succeeded.
! 222: fi
! 223:
! 224: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 225: :
! 226: else
! 227: exitcode=1
! 228: echo positional parameters were not saved.
! 229: fi
! 230:
! 231: test \$exitcode = 0) || { (exit 1); exit 1; }
! 232:
! 233: (
! 234: as_lineno_1=\$LINENO
! 235: as_lineno_2=\$LINENO
! 236: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
! 237: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
! 238: ") 2> /dev/null; then
! 239: :
! 240: else
! 241: as_candidate_shells=
! 242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 243: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 244: do
! 245: IFS=$as_save_IFS
! 246: test -z "$as_dir" && as_dir=.
! 247: case $as_dir in
! 248: /*)
! 249: for as_base in sh bash ksh sh5; do
! 250: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
! 251: done;;
! 252: esac
! 253: done
! 254: IFS=$as_save_IFS
! 255:
! 256:
! 257: for as_shell in $as_candidate_shells $SHELL; do
! 258: # Try only shells that exist, to save several forks.
! 259: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 260: { ("$as_shell") 2> /dev/null <<\_ASEOF
! 261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 262: emulate sh
! 263: NULLCMD=:
! 264: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 265: # is contrary to our usage. Disable this feature.
! 266: alias -g '${1+"$@"}'='"$@"'
! 267: setopt NO_GLOB_SUBST
! 268: else
! 269: case `(set -o) 2>/dev/null` in
! 270: *posix*) set -o posix ;;
! 271: esac
! 272:
! 273: fi
! 274:
! 275:
! 276: :
! 277: _ASEOF
! 278: }; then
! 279: CONFIG_SHELL=$as_shell
! 280: as_have_required=yes
! 281: if { "$as_shell" 2> /dev/null <<\_ASEOF
! 282: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 283: emulate sh
! 284: NULLCMD=:
! 285: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 286: # is contrary to our usage. Disable this feature.
! 287: alias -g '${1+"$@"}'='"$@"'
! 288: setopt NO_GLOB_SUBST
! 289: else
! 290: case `(set -o) 2>/dev/null` in
! 291: *posix*) set -o posix ;;
! 292: esac
! 293:
! 294: fi
! 295:
! 296:
! 297: :
! 298: (as_func_return () {
! 299: (exit $1)
! 300: }
! 301: as_func_success () {
! 302: as_func_return 0
! 303: }
! 304: as_func_failure () {
! 305: as_func_return 1
! 306: }
! 307: as_func_ret_success () {
! 308: return 0
! 309: }
! 310: as_func_ret_failure () {
! 311: return 1
! 312: }
! 313:
! 314: exitcode=0
! 315: if as_func_success; then
! 316: :
! 317: else
! 318: exitcode=1
! 319: echo as_func_success failed.
! 320: fi
! 321:
! 322: if as_func_failure; then
! 323: exitcode=1
! 324: echo as_func_failure succeeded.
! 325: fi
! 326:
! 327: if as_func_ret_success; then
! 328: :
! 329: else
! 330: exitcode=1
! 331: echo as_func_ret_success failed.
! 332: fi
! 333:
! 334: if as_func_ret_failure; then
! 335: exitcode=1
! 336: echo as_func_ret_failure succeeded.
! 337: fi
! 338:
! 339: if ( set x; as_func_ret_success y && test x = "$1" ); then
! 340: :
! 341: else
! 342: exitcode=1
! 343: echo positional parameters were not saved.
! 344: fi
! 345:
! 346: test $exitcode = 0) || { (exit 1); exit 1; }
! 347:
! 348: (
! 349: as_lineno_1=$LINENO
! 350: as_lineno_2=$LINENO
! 351: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 352: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
! 353:
! 354: _ASEOF
! 355: }; then
! 356: break
! 357: fi
! 358:
! 359: fi
! 360:
! 361: done
! 362:
! 363: if test "x$CONFIG_SHELL" != x; then
! 364: for as_var in BASH_ENV ENV
! 365: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 366: done
! 367: export CONFIG_SHELL
! 368: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 369: fi
! 370:
! 371:
! 372: if test $as_have_required = no; then
! 373: echo This script requires a shell more modern than all the
! 374: echo shells that I found on your system. Please install a
! 375: echo modern shell, or manually run the script under such a
! 376: echo shell if you do have one.
! 377: { (exit 1); exit 1; }
! 378: fi
! 379:
! 380:
! 381: fi
! 382:
! 383: fi
! 384:
! 385:
! 386:
! 387: (eval "as_func_return () {
! 388: (exit \$1)
! 389: }
! 390: as_func_success () {
! 391: as_func_return 0
! 392: }
! 393: as_func_failure () {
! 394: as_func_return 1
! 395: }
! 396: as_func_ret_success () {
! 397: return 0
! 398: }
! 399: as_func_ret_failure () {
! 400: return 1
! 401: }
! 402:
! 403: exitcode=0
! 404: if as_func_success; then
! 405: :
! 406: else
! 407: exitcode=1
! 408: echo as_func_success failed.
! 409: fi
! 410:
! 411: if as_func_failure; then
! 412: exitcode=1
! 413: echo as_func_failure succeeded.
! 414: fi
! 415:
! 416: if as_func_ret_success; then
! 417: :
! 418: else
! 419: exitcode=1
! 420: echo as_func_ret_success failed.
! 421: fi
! 422:
! 423: if as_func_ret_failure; then
! 424: exitcode=1
! 425: echo as_func_ret_failure succeeded.
! 426: fi
! 427:
! 428: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 429: :
! 430: else
! 431: exitcode=1
! 432: echo positional parameters were not saved.
! 433: fi
! 434:
! 435: test \$exitcode = 0") || {
! 436: echo No shell found that supports shell functions.
! 437: echo Please tell bug-autoconf@gnu.org about your system,
! 438: echo including any error possibly output before this message.
! 439: echo This can help us improve future autoconf versions.
! 440: echo Configuration will now proceed without shell functions.
! 441: }
! 442:
! 443:
! 444:
! 445: as_lineno_1=$LINENO
! 446: as_lineno_2=$LINENO
! 447: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 448: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 449:
! 450: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 451: # uniformly replaced by the line number. The first 'sed' inserts a
! 452: # line-number line after each line using $LINENO; the second 'sed'
! 453: # does the real work. The second script uses 'N' to pair each
! 454: # line-number line with the line containing $LINENO, and appends
! 455: # trailing '-' during substitution so that $LINENO is not a special
! 456: # case at line end.
! 457: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 458: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 459: # E. McMahon (1931-1989) for sed's syntax. :-)
! 460: sed -n '
! 461: p
! 462: /[$]LINENO/=
! 463: ' <$as_myself |
! 464: sed '
! 465: s/[$]LINENO.*/&-/
! 466: t lineno
! 467: b
! 468: :lineno
! 469: N
! 470: :loop
! 471: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 472: t loop
! 473: s/-\n.*//
! 474: ' >$as_me.lineno &&
! 475: chmod +x "$as_me.lineno" ||
! 476: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 477: { (exit 1); exit 1; }; }
! 478:
! 479: # Don't try to exec as it changes $[0], causing all sort of problems
! 480: # (the dirname of $[0] is not the place where we might find the
! 481: # original and so on. Autoconf is especially sensitive to this).
! 482: . "./$as_me.lineno"
! 483: # Exit status is that of the last command.
! 484: exit
! 485: }
! 486:
! 487:
! 488: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 489: as_dirname=dirname
! 490: else
! 491: as_dirname=false
! 492: fi
! 493:
! 494: ECHO_C= ECHO_N= ECHO_T=
! 495: case `echo -n x` in
! 496: -n*)
! 497: case `echo 'x\c'` in
! 498: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 499: *) ECHO_C='\c';;
! 500: esac;;
! 501: *)
! 502: ECHO_N='-n';;
! 503: esac
! 504: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 505: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 506: as_expr=expr
! 507: else
! 508: as_expr=false
! 509: fi
! 510:
! 511: rm -f conf$$ conf$$.exe conf$$.file
! 512: if test -d conf$$.dir; then
! 513: rm -f conf$$.dir/conf$$.file
! 514: else
! 515: rm -f conf$$.dir
! 516: mkdir conf$$.dir 2>/dev/null
! 517: fi
! 518: if (echo >conf$$.file) 2>/dev/null; then
! 519: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 520: as_ln_s='ln -s'
! 521: # ... but there are two gotchas:
! 522: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 523: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 524: # In both cases, we have to default to `cp -p'.
! 525: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 526: as_ln_s='cp -p'
! 527: elif ln conf$$.file conf$$ 2>/dev/null; then
! 528: as_ln_s=ln
! 529: else
! 530: as_ln_s='cp -p'
! 531: fi
! 532: else
! 533: as_ln_s='cp -p'
! 534: fi
! 535: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 536: rmdir conf$$.dir 2>/dev/null
! 537:
! 538: if mkdir -p . 2>/dev/null; then
! 539: as_mkdir_p=:
! 540: else
! 541: test -d ./-p && rmdir ./-p
! 542: as_mkdir_p=false
! 543: fi
! 544:
! 545: if test -x / >/dev/null 2>&1; then
! 546: as_test_x='test -x'
! 547: else
! 548: if ls -dL / >/dev/null 2>&1; then
! 549: as_ls_L_option=L
! 550: else
! 551: as_ls_L_option=
! 552: fi
! 553: as_test_x='
! 554: eval sh -c '\''
! 555: if test -d "$1"; then
! 556: test -d "$1/.";
! 557: else
! 558: case $1 in
! 559: -*)set "./$1";;
! 560: esac;
! 561: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 562: ???[sx]*):;;*)false;;esac;fi
! 563: '\'' sh
! 564: '
! 565: fi
! 566: as_executable_p=$as_test_x
! 567:
! 568: # Sed expression to map a string onto a valid CPP name.
! 569: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 570:
! 571: # Sed expression to map a string onto a valid variable name.
! 572: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 573:
! 574:
! 575:
! 576:
! 577: # Check that we are running under the correct shell.
! 578: SHELL=${CONFIG_SHELL-/bin/sh}
! 579:
! 580: case X$ECHO in
! 581: X*--fallback-echo)
! 582: # Remove one level of quotation (which was required for Make).
! 583: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 584: ;;
! 585: esac
! 586:
! 587: echo=${ECHO-echo}
! 588: if test "X$1" = X--no-reexec; then
! 589: # Discard the --no-reexec flag, and continue.
! 590: shift
! 591: elif test "X$1" = X--fallback-echo; then
! 592: # Avoid inline document here, it may be left over
! 593: :
! 594: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
! 595: # Yippee, $echo works!
! 596: :
! 597: else
! 598: # Restart under the correct shell.
! 599: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 600: fi
! 601:
! 602: if test "X$1" = X--fallback-echo; then
! 603: # used as fallback echo
! 604: shift
! 605: cat <<EOF
! 606: $*
! 607: EOF
! 608: exit 0
! 609: fi
! 610:
! 611: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 612: # if CDPATH is set.
! 613: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 614:
! 615: if test -z "$ECHO"; then
! 616: if test "X${echo_test_string+set}" != Xset; then
! 617: # find a string as large as possible, as long as the shell can cope with it
! 618: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 619: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 620: if (echo_test_string=`eval $cmd`) 2>/dev/null &&
! 621: echo_test_string=`eval $cmd` &&
! 622: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
! 623: then
! 624: break
! 625: fi
! 626: done
! 627: fi
! 628:
! 629: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 630: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 631: test "X$echo_testing_string" = "X$echo_test_string"; then
! 632: :
! 633: else
! 634: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 635: # backslashes. This makes it impossible to quote backslashes using
! 636: # echo "$something" | sed 's/\\/\\\\/g'
! 637: #
! 638: # So, first we look for a working echo in the user's PATH.
! 639:
! 640: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 641: for dir in $PATH /usr/ucb; do
! 642: IFS="$lt_save_ifs"
! 643: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 644: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 645: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 646: test "X$echo_testing_string" = "X$echo_test_string"; then
! 647: echo="$dir/echo"
! 648: break
! 649: fi
! 650: done
! 651: IFS="$lt_save_ifs"
! 652:
! 653: if test "X$echo" = Xecho; then
! 654: # We didn't find a better echo, so look for alternatives.
! 655: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
! 656: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
! 657: test "X$echo_testing_string" = "X$echo_test_string"; then
! 658: # This shell has a builtin print -r that does the trick.
! 659: echo='print -r'
! 660: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
! 661: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 662: # If we have ksh, try running configure again with it.
! 663: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 664: export ORIGINAL_CONFIG_SHELL
! 665: CONFIG_SHELL=/bin/ksh
! 666: export CONFIG_SHELL
! 667: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 668: else
! 669: # Try using printf.
! 670: echo='printf %s\n'
! 671: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 672: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 673: test "X$echo_testing_string" = "X$echo_test_string"; then
! 674: # Cool, printf works
! 675: :
! 676: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 677: test "X$echo_testing_string" = 'X\t' &&
! 678: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 679: test "X$echo_testing_string" = "X$echo_test_string"; then
! 680: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 681: export CONFIG_SHELL
! 682: SHELL="$CONFIG_SHELL"
! 683: export SHELL
! 684: echo="$CONFIG_SHELL $0 --fallback-echo"
! 685: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 686: test "X$echo_testing_string" = 'X\t' &&
! 687: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 688: test "X$echo_testing_string" = "X$echo_test_string"; then
! 689: echo="$CONFIG_SHELL $0 --fallback-echo"
! 690: else
! 691: # maybe with a smaller string...
! 692: prev=:
! 693:
! 694: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 695: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
! 696: then
! 697: break
! 698: fi
! 699: prev="$cmd"
! 700: done
! 701:
! 702: if test "$prev" != 'sed 50q "$0"'; then
! 703: echo_test_string=`eval $prev`
! 704: export echo_test_string
! 705: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 706: else
! 707: # Oops. We lost completely, so just stick with echo.
! 708: echo=echo
! 709: fi
! 710: fi
! 711: fi
! 712: fi
! 713: fi
! 714: fi
! 715:
! 716: # Copy echo and quote the copy suitably for passing to libtool from
! 717: # the Makefile, instead of quoting the original, which is used later.
! 718: ECHO=$echo
! 719: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 720: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 721: fi
! 722:
! 723:
! 724:
! 725:
! 726: tagnames=${tagnames+${tagnames},}CXX
! 727:
! 728: tagnames=${tagnames+${tagnames},}F77
! 729:
! 730: exec 7<&0 </dev/null 6>&1
! 731:
! 732: # Name of the host.
! 733: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 734: # so uname gets run too.
! 735: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 736:
! 737: #
! 738: # Initializations.
! 739: #
! 740: ac_default_prefix=/usr/local
! 741: ac_clean_files=
! 742: ac_config_libobj_dir=.
! 743: LIBOBJS=
! 744: cross_compiling=no
! 745: subdirs=
! 746: MFLAGS=
! 747: MAKEFLAGS=
! 748: SHELL=${CONFIG_SHELL-/bin/sh}
! 749:
! 750: # Identity of this package.
! 751: PACKAGE_NAME='"DHCP-dropper"'
! 752: PACKAGE_TARNAME='-dhcp-dropper-'
! 753: PACKAGE_VERSION='"0.5"'
! 754: PACKAGE_STRING='"DHCP-dropper" "0.5"'
! 755: PACKAGE_BUGREPORT='"roma@ultranet.ru"'
! 756:
! 757: ac_unique_file="src/dhcp.h"
! 758: # Factoring default headers for most tests.
! 759: ac_includes_default="\
! 760: #include <stdio.h>
! 761: #ifdef HAVE_SYS_TYPES_H
! 762: # include <sys/types.h>
! 763: #endif
! 764: #ifdef HAVE_SYS_STAT_H
! 765: # include <sys/stat.h>
! 766: #endif
! 767: #ifdef STDC_HEADERS
! 768: # include <stdlib.h>
! 769: # include <stddef.h>
! 770: #else
! 771: # ifdef HAVE_STDLIB_H
! 772: # include <stdlib.h>
! 773: # endif
! 774: #endif
! 775: #ifdef HAVE_STRING_H
! 776: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 777: # include <memory.h>
! 778: # endif
! 779: # include <string.h>
! 780: #endif
! 781: #ifdef HAVE_STRINGS_H
! 782: # include <strings.h>
! 783: #endif
! 784: #ifdef HAVE_INTTYPES_H
! 785: # include <inttypes.h>
! 786: #endif
! 787: #ifdef HAVE_STDINT_H
! 788: # include <stdint.h>
! 789: #endif
! 790: #ifdef HAVE_UNISTD_H
! 791: # include <unistd.h>
! 792: #endif"
! 793:
! 794: ac_subst_vars='LTLIBOBJS
! 795: LIBOBJS
! 796: LIBTOOL
! 797: ac_ct_F77
! 798: FFLAGS
! 799: F77
! 800: CXXCPP
! 801: am__fastdepCXX_FALSE
! 802: am__fastdepCXX_TRUE
! 803: CXXDEPMODE
! 804: ac_ct_CXX
! 805: CXXFLAGS
! 806: CXX
! 807: CPP
! 808: NMEDIT
! 809: DSYMUTIL
! 810: RANLIB
! 811: AR
! 812: ECHO
! 813: LN_S
! 814: EGREP
! 815: GREP
! 816: SED
! 817: am__fastdepCC_FALSE
! 818: am__fastdepCC_TRUE
! 819: CCDEPMODE
! 820: AMDEPBACKSLASH
! 821: AMDEP_FALSE
! 822: AMDEP_TRUE
! 823: am__quote
! 824: am__include
! 825: DEPDIR
! 826: OBJEXT
! 827: EXEEXT
! 828: ac_ct_CC
! 829: CPPFLAGS
! 830: LDFLAGS
! 831: CFLAGS
! 832: CC
! 833: ENABLE_STATIC_BUILD_FALSE
! 834: ENABLE_STATIC_BUILD_TRUE
! 835: am__untar
! 836: am__tar
! 837: AMTAR
! 838: am__leading_dot
! 839: SET_MAKE
! 840: AWK
! 841: mkdir_p
! 842: MKDIR_P
! 843: INSTALL_STRIP_PROGRAM
! 844: STRIP
! 845: install_sh
! 846: MAKEINFO
! 847: AUTOHEADER
! 848: AUTOMAKE
! 849: AUTOCONF
! 850: ACLOCAL
! 851: VERSION
! 852: PACKAGE
! 853: CYGPATH_W
! 854: am__isrc
! 855: INSTALL_DATA
! 856: INSTALL_SCRIPT
! 857: INSTALL_PROGRAM
! 858: target_os
! 859: target_vendor
! 860: target_cpu
! 861: target
! 862: host_os
! 863: host_vendor
! 864: host_cpu
! 865: host
! 866: build_os
! 867: build_vendor
! 868: build_cpu
! 869: build
! 870: target_alias
! 871: host_alias
! 872: build_alias
! 873: LIBS
! 874: ECHO_T
! 875: ECHO_N
! 876: ECHO_C
! 877: DEFS
! 878: mandir
! 879: localedir
! 880: libdir
! 881: psdir
! 882: pdfdir
! 883: dvidir
! 884: htmldir
! 885: infodir
! 886: docdir
! 887: oldincludedir
! 888: includedir
! 889: localstatedir
! 890: sharedstatedir
! 891: sysconfdir
! 892: datadir
! 893: datarootdir
! 894: libexecdir
! 895: sbindir
! 896: bindir
! 897: program_transform_name
! 898: prefix
! 899: exec_prefix
! 900: PACKAGE_BUGREPORT
! 901: PACKAGE_STRING
! 902: PACKAGE_VERSION
! 903: PACKAGE_TARNAME
! 904: PACKAGE_NAME
! 905: PATH_SEPARATOR
! 906: SHELL'
! 907: ac_subst_files=''
! 908: ac_user_opts='
! 909: enable_option_checking
! 910: enable_static_build
! 911: enable_dependency_tracking
! 912: enable_shared
! 913: enable_static
! 914: enable_fast_install
! 915: with_gnu_ld
! 916: enable_libtool_lock
! 917: with_pic
! 918: with_tags
! 919: '
! 920: ac_precious_vars='build_alias
! 921: host_alias
! 922: target_alias
! 923: CC
! 924: CFLAGS
! 925: LDFLAGS
! 926: LIBS
! 927: CPPFLAGS
! 928: CPP
! 929: CXX
! 930: CXXFLAGS
! 931: CCC
! 932: CXXCPP
! 933: F77
! 934: FFLAGS'
! 935:
! 936:
! 937: # Initialize some variables set by options.
! 938: ac_init_help=
! 939: ac_init_version=false
! 940: ac_unrecognized_opts=
! 941: ac_unrecognized_sep=
! 942: # The variables have the same names as the options, with
! 943: # dashes changed to underlines.
! 944: cache_file=/dev/null
! 945: exec_prefix=NONE
! 946: no_create=
! 947: no_recursion=
! 948: prefix=NONE
! 949: program_prefix=NONE
! 950: program_suffix=NONE
! 951: program_transform_name=s,x,x,
! 952: silent=
! 953: site=
! 954: srcdir=
! 955: verbose=
! 956: x_includes=NONE
! 957: x_libraries=NONE
! 958:
! 959: # Installation directory options.
! 960: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 961: # and all the variables that are supposed to be based on exec_prefix
! 962: # by default will actually change.
! 963: # Use braces instead of parens because sh, perl, etc. also accept them.
! 964: # (The list follows the same order as the GNU Coding Standards.)
! 965: bindir='${exec_prefix}/bin'
! 966: sbindir='${exec_prefix}/sbin'
! 967: libexecdir='${exec_prefix}/libexec'
! 968: datarootdir='${prefix}/share'
! 969: datadir='${datarootdir}'
! 970: sysconfdir='${prefix}/etc'
! 971: sharedstatedir='${prefix}/com'
! 972: localstatedir='${prefix}/var'
! 973: includedir='${prefix}/include'
! 974: oldincludedir='/usr/include'
! 975: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 976: infodir='${datarootdir}/info'
! 977: htmldir='${docdir}'
! 978: dvidir='${docdir}'
! 979: pdfdir='${docdir}'
! 980: psdir='${docdir}'
! 981: libdir='${exec_prefix}/lib'
! 982: localedir='${datarootdir}/locale'
! 983: mandir='${datarootdir}/man'
! 984:
! 985: ac_prev=
! 986: ac_dashdash=
! 987: for ac_option
! 988: do
! 989: # If the previous option needs an argument, assign it.
! 990: if test -n "$ac_prev"; then
! 991: eval $ac_prev=\$ac_option
! 992: ac_prev=
! 993: continue
! 994: fi
! 995:
! 996: case $ac_option in
! 997: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 998: *) ac_optarg=yes ;;
! 999: esac
! 1000:
! 1001: # Accept the important Cygnus configure options, so we can diagnose typos.
! 1002:
! 1003: case $ac_dashdash$ac_option in
! 1004: --)
! 1005: ac_dashdash=yes ;;
! 1006:
! 1007: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 1008: ac_prev=bindir ;;
! 1009: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 1010: bindir=$ac_optarg ;;
! 1011:
! 1012: -build | --build | --buil | --bui | --bu)
! 1013: ac_prev=build_alias ;;
! 1014: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 1015: build_alias=$ac_optarg ;;
! 1016:
! 1017: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 1018: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 1019: ac_prev=cache_file ;;
! 1020: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 1021: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 1022: cache_file=$ac_optarg ;;
! 1023:
! 1024: --config-cache | -C)
! 1025: cache_file=config.cache ;;
! 1026:
! 1027: -datadir | --datadir | --datadi | --datad)
! 1028: ac_prev=datadir ;;
! 1029: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 1030: datadir=$ac_optarg ;;
! 1031:
! 1032: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 1033: | --dataroo | --dataro | --datar)
! 1034: ac_prev=datarootdir ;;
! 1035: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 1036: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 1037: datarootdir=$ac_optarg ;;
! 1038:
! 1039: -disable-* | --disable-*)
! 1040: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 1041: # Reject names that are not valid shell variable names.
! 1042: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1043: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1044: { (exit 1); exit 1; }; }
! 1045: ac_useropt_orig=$ac_useropt
! 1046: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1047: case $ac_user_opts in
! 1048: *"
! 1049: "enable_$ac_useropt"
! 1050: "*) ;;
! 1051: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 1052: ac_unrecognized_sep=', ';;
! 1053: esac
! 1054: eval enable_$ac_useropt=no ;;
! 1055:
! 1056: -docdir | --docdir | --docdi | --doc | --do)
! 1057: ac_prev=docdir ;;
! 1058: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 1059: docdir=$ac_optarg ;;
! 1060:
! 1061: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 1062: ac_prev=dvidir ;;
! 1063: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 1064: dvidir=$ac_optarg ;;
! 1065:
! 1066: -enable-* | --enable-*)
! 1067: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 1068: # Reject names that are not valid shell variable names.
! 1069: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1070: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1071: { (exit 1); exit 1; }; }
! 1072: ac_useropt_orig=$ac_useropt
! 1073: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1074: case $ac_user_opts in
! 1075: *"
! 1076: "enable_$ac_useropt"
! 1077: "*) ;;
! 1078: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 1079: ac_unrecognized_sep=', ';;
! 1080: esac
! 1081: eval enable_$ac_useropt=\$ac_optarg ;;
! 1082:
! 1083: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 1084: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 1085: | --exec | --exe | --ex)
! 1086: ac_prev=exec_prefix ;;
! 1087: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1088: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1089: | --exec=* | --exe=* | --ex=*)
! 1090: exec_prefix=$ac_optarg ;;
! 1091:
! 1092: -gas | --gas | --ga | --g)
! 1093: # Obsolete; use --with-gas.
! 1094: with_gas=yes ;;
! 1095:
! 1096: -help | --help | --hel | --he | -h)
! 1097: ac_init_help=long ;;
! 1098: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1099: ac_init_help=recursive ;;
! 1100: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1101: ac_init_help=short ;;
! 1102:
! 1103: -host | --host | --hos | --ho)
! 1104: ac_prev=host_alias ;;
! 1105: -host=* | --host=* | --hos=* | --ho=*)
! 1106: host_alias=$ac_optarg ;;
! 1107:
! 1108: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1109: ac_prev=htmldir ;;
! 1110: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1111: | --ht=*)
! 1112: htmldir=$ac_optarg ;;
! 1113:
! 1114: -includedir | --includedir | --includedi | --included | --include \
! 1115: | --includ | --inclu | --incl | --inc)
! 1116: ac_prev=includedir ;;
! 1117: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1118: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1119: includedir=$ac_optarg ;;
! 1120:
! 1121: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1122: ac_prev=infodir ;;
! 1123: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1124: infodir=$ac_optarg ;;
! 1125:
! 1126: -libdir | --libdir | --libdi | --libd)
! 1127: ac_prev=libdir ;;
! 1128: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1129: libdir=$ac_optarg ;;
! 1130:
! 1131: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1132: | --libexe | --libex | --libe)
! 1133: ac_prev=libexecdir ;;
! 1134: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1135: | --libexe=* | --libex=* | --libe=*)
! 1136: libexecdir=$ac_optarg ;;
! 1137:
! 1138: -localedir | --localedir | --localedi | --localed | --locale)
! 1139: ac_prev=localedir ;;
! 1140: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1141: localedir=$ac_optarg ;;
! 1142:
! 1143: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1144: | --localstate | --localstat | --localsta | --localst | --locals)
! 1145: ac_prev=localstatedir ;;
! 1146: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1147: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1148: localstatedir=$ac_optarg ;;
! 1149:
! 1150: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1151: ac_prev=mandir ;;
! 1152: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1153: mandir=$ac_optarg ;;
! 1154:
! 1155: -nfp | --nfp | --nf)
! 1156: # Obsolete; use --without-fp.
! 1157: with_fp=no ;;
! 1158:
! 1159: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1160: | --no-cr | --no-c | -n)
! 1161: no_create=yes ;;
! 1162:
! 1163: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1164: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1165: no_recursion=yes ;;
! 1166:
! 1167: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1168: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1169: | --oldin | --oldi | --old | --ol | --o)
! 1170: ac_prev=oldincludedir ;;
! 1171: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1172: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1173: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1174: oldincludedir=$ac_optarg ;;
! 1175:
! 1176: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1177: ac_prev=prefix ;;
! 1178: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1179: prefix=$ac_optarg ;;
! 1180:
! 1181: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1182: | --program-pre | --program-pr | --program-p)
! 1183: ac_prev=program_prefix ;;
! 1184: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1185: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1186: program_prefix=$ac_optarg ;;
! 1187:
! 1188: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1189: | --program-suf | --program-su | --program-s)
! 1190: ac_prev=program_suffix ;;
! 1191: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1192: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1193: program_suffix=$ac_optarg ;;
! 1194:
! 1195: -program-transform-name | --program-transform-name \
! 1196: | --program-transform-nam | --program-transform-na \
! 1197: | --program-transform-n | --program-transform- \
! 1198: | --program-transform | --program-transfor \
! 1199: | --program-transfo | --program-transf \
! 1200: | --program-trans | --program-tran \
! 1201: | --progr-tra | --program-tr | --program-t)
! 1202: ac_prev=program_transform_name ;;
! 1203: -program-transform-name=* | --program-transform-name=* \
! 1204: | --program-transform-nam=* | --program-transform-na=* \
! 1205: | --program-transform-n=* | --program-transform-=* \
! 1206: | --program-transform=* | --program-transfor=* \
! 1207: | --program-transfo=* | --program-transf=* \
! 1208: | --program-trans=* | --program-tran=* \
! 1209: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1210: program_transform_name=$ac_optarg ;;
! 1211:
! 1212: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1213: ac_prev=pdfdir ;;
! 1214: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1215: pdfdir=$ac_optarg ;;
! 1216:
! 1217: -psdir | --psdir | --psdi | --psd | --ps)
! 1218: ac_prev=psdir ;;
! 1219: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1220: psdir=$ac_optarg ;;
! 1221:
! 1222: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1223: | -silent | --silent | --silen | --sile | --sil)
! 1224: silent=yes ;;
! 1225:
! 1226: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1227: ac_prev=sbindir ;;
! 1228: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1229: | --sbi=* | --sb=*)
! 1230: sbindir=$ac_optarg ;;
! 1231:
! 1232: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1233: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1234: | --sharedst | --shareds | --shared | --share | --shar \
! 1235: | --sha | --sh)
! 1236: ac_prev=sharedstatedir ;;
! 1237: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1238: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1239: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1240: | --sha=* | --sh=*)
! 1241: sharedstatedir=$ac_optarg ;;
! 1242:
! 1243: -site | --site | --sit)
! 1244: ac_prev=site ;;
! 1245: -site=* | --site=* | --sit=*)
! 1246: site=$ac_optarg ;;
! 1247:
! 1248: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1249: ac_prev=srcdir ;;
! 1250: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1251: srcdir=$ac_optarg ;;
! 1252:
! 1253: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1254: | --syscon | --sysco | --sysc | --sys | --sy)
! 1255: ac_prev=sysconfdir ;;
! 1256: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1257: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1258: sysconfdir=$ac_optarg ;;
! 1259:
! 1260: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1261: ac_prev=target_alias ;;
! 1262: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1263: target_alias=$ac_optarg ;;
! 1264:
! 1265: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1266: verbose=yes ;;
! 1267:
! 1268: -version | --version | --versio | --versi | --vers | -V)
! 1269: ac_init_version=: ;;
! 1270:
! 1271: -with-* | --with-*)
! 1272: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1273: # Reject names that are not valid shell variable names.
! 1274: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1275: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1276: { (exit 1); exit 1; }; }
! 1277: ac_useropt_orig=$ac_useropt
! 1278: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1279: case $ac_user_opts in
! 1280: *"
! 1281: "with_$ac_useropt"
! 1282: "*) ;;
! 1283: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1284: ac_unrecognized_sep=', ';;
! 1285: esac
! 1286: eval with_$ac_useropt=\$ac_optarg ;;
! 1287:
! 1288: -without-* | --without-*)
! 1289: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1290: # Reject names that are not valid shell variable names.
! 1291: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1292: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1293: { (exit 1); exit 1; }; }
! 1294: ac_useropt_orig=$ac_useropt
! 1295: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1296: case $ac_user_opts in
! 1297: *"
! 1298: "with_$ac_useropt"
! 1299: "*) ;;
! 1300: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1301: ac_unrecognized_sep=', ';;
! 1302: esac
! 1303: eval with_$ac_useropt=no ;;
! 1304:
! 1305: --x)
! 1306: # Obsolete; use --with-x.
! 1307: with_x=yes ;;
! 1308:
! 1309: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1310: | --x-incl | --x-inc | --x-in | --x-i)
! 1311: ac_prev=x_includes ;;
! 1312: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1313: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1314: x_includes=$ac_optarg ;;
! 1315:
! 1316: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1317: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1318: ac_prev=x_libraries ;;
! 1319: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1320: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1321: x_libraries=$ac_optarg ;;
! 1322:
! 1323: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
! 1324: Try \`$0 --help' for more information." >&2
! 1325: { (exit 1); exit 1; }; }
! 1326: ;;
! 1327:
! 1328: *=*)
! 1329: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1330: # Reject names that are not valid shell variable names.
! 1331: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1332: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1333: { (exit 1); exit 1; }; }
! 1334: eval $ac_envvar=\$ac_optarg
! 1335: export $ac_envvar ;;
! 1336:
! 1337: *)
! 1338: # FIXME: should be removed in autoconf 3.0.
! 1339: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1340: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1341: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1342: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1343: ;;
! 1344:
! 1345: esac
! 1346: done
! 1347:
! 1348: if test -n "$ac_prev"; then
! 1349: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1350: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
! 1351: { (exit 1); exit 1; }; }
! 1352: fi
! 1353:
! 1354: if test -n "$ac_unrecognized_opts"; then
! 1355: case $enable_option_checking in
! 1356: no) ;;
! 1357: fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
! 1358: { (exit 1); exit 1; }; } ;;
! 1359: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1360: esac
! 1361: fi
! 1362:
! 1363: # Check all directory arguments for consistency.
! 1364: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1365: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1366: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1367: libdir localedir mandir
! 1368: do
! 1369: eval ac_val=\$$ac_var
! 1370: # Remove trailing slashes.
! 1371: case $ac_val in
! 1372: */ )
! 1373: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1374: eval $ac_var=\$ac_val;;
! 1375: esac
! 1376: # Be sure to have absolute directory names.
! 1377: case $ac_val in
! 1378: [\\/$]* | ?:[\\/]* ) continue;;
! 1379: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1380: esac
! 1381: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1382: { (exit 1); exit 1; }; }
! 1383: done
! 1384:
! 1385: # There might be people who depend on the old broken behavior: `$host'
! 1386: # used to hold the argument of --host etc.
! 1387: # FIXME: To remove some day.
! 1388: build=$build_alias
! 1389: host=$host_alias
! 1390: target=$target_alias
! 1391:
! 1392: # FIXME: To remove some day.
! 1393: if test "x$host_alias" != x; then
! 1394: if test "x$build_alias" = x; then
! 1395: cross_compiling=maybe
! 1396: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1397: If a cross compiler is detected then cross compile mode will be used." >&2
! 1398: elif test "x$build_alias" != "x$host_alias"; then
! 1399: cross_compiling=yes
! 1400: fi
! 1401: fi
! 1402:
! 1403: ac_tool_prefix=
! 1404: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1405:
! 1406: test "$silent" = yes && exec 6>/dev/null
! 1407:
! 1408:
! 1409: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1410: ac_ls_di=`ls -di .` &&
! 1411: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1412: { $as_echo "$as_me: error: working directory cannot be determined" >&2
! 1413: { (exit 1); exit 1; }; }
! 1414: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1415: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1416: { (exit 1); exit 1; }; }
! 1417:
! 1418:
! 1419: # Find the source files, if location was not specified.
! 1420: if test -z "$srcdir"; then
! 1421: ac_srcdir_defaulted=yes
! 1422: # Try the directory containing this script, then the parent directory.
! 1423: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1424: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1425: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1426: X"$as_myself" : 'X\(//\)$' \| \
! 1427: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1428: $as_echo X"$as_myself" |
! 1429: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1430: s//\1/
! 1431: q
! 1432: }
! 1433: /^X\(\/\/\)[^/].*/{
! 1434: s//\1/
! 1435: q
! 1436: }
! 1437: /^X\(\/\/\)$/{
! 1438: s//\1/
! 1439: q
! 1440: }
! 1441: /^X\(\/\).*/{
! 1442: s//\1/
! 1443: q
! 1444: }
! 1445: s/.*/./; q'`
! 1446: srcdir=$ac_confdir
! 1447: if test ! -r "$srcdir/$ac_unique_file"; then
! 1448: srcdir=..
! 1449: fi
! 1450: else
! 1451: ac_srcdir_defaulted=no
! 1452: fi
! 1453: if test ! -r "$srcdir/$ac_unique_file"; then
! 1454: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1455: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1456: { (exit 1); exit 1; }; }
! 1457: fi
! 1458: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1459: ac_abs_confdir=`(
! 1460: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1461: { (exit 1); exit 1; }; }
! 1462: pwd)`
! 1463: # When building in place, set srcdir=.
! 1464: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1465: srcdir=.
! 1466: fi
! 1467: # Remove unnecessary trailing slashes from srcdir.
! 1468: # Double slashes in file names in object file debugging info
! 1469: # mess up M-x gdb in Emacs.
! 1470: case $srcdir in
! 1471: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1472: esac
! 1473: for ac_var in $ac_precious_vars; do
! 1474: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1475: eval ac_env_${ac_var}_value=\$${ac_var}
! 1476: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1477: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1478: done
! 1479:
! 1480: #
! 1481: # Report the --help message.
! 1482: #
! 1483: if test "$ac_init_help" = "long"; then
! 1484: # Omit some internal or obsolete options to make the list less imposing.
! 1485: # This message is too long to be a string in the A/UX 3.1 sh.
! 1486: cat <<_ACEOF
! 1487: \`configure' configures "DHCP-dropper" "0.5" to adapt to many kinds of systems.
! 1488:
! 1489: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1490:
! 1491: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1492: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1493:
! 1494: Defaults for the options are specified in brackets.
! 1495:
! 1496: Configuration:
! 1497: -h, --help display this help and exit
! 1498: --help=short display options specific to this package
! 1499: --help=recursive display the short help of all the included packages
! 1500: -V, --version display version information and exit
! 1501: -q, --quiet, --silent do not print \`checking...' messages
! 1502: --cache-file=FILE cache test results in FILE [disabled]
! 1503: -C, --config-cache alias for \`--cache-file=config.cache'
! 1504: -n, --no-create do not create output files
! 1505: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1506:
! 1507: Installation directories:
! 1508: --prefix=PREFIX install architecture-independent files in PREFIX
! 1509: [$ac_default_prefix]
! 1510: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1511: [PREFIX]
! 1512:
! 1513: By default, \`make install' will install all the files in
! 1514: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1515: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1516: for instance \`--prefix=\$HOME'.
! 1517:
! 1518: For better control, use the options below.
! 1519:
! 1520: Fine tuning of the installation directories:
! 1521: --bindir=DIR user executables [EPREFIX/bin]
! 1522: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1523: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1524: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1525: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1526: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1527: --libdir=DIR object code libraries [EPREFIX/lib]
! 1528: --includedir=DIR C header files [PREFIX/include]
! 1529: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1530: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1531: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1532: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1533: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1534: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1535: --docdir=DIR documentation root [DATAROOTDIR/doc/-dhcp-dropper-]
! 1536: --htmldir=DIR html documentation [DOCDIR]
! 1537: --dvidir=DIR dvi documentation [DOCDIR]
! 1538: --pdfdir=DIR pdf documentation [DOCDIR]
! 1539: --psdir=DIR ps documentation [DOCDIR]
! 1540: _ACEOF
! 1541:
! 1542: cat <<\_ACEOF
! 1543:
! 1544: Program names:
! 1545: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1546: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1547: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1548:
! 1549: System types:
! 1550: --build=BUILD configure for building on BUILD [guessed]
! 1551: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1552: --target=TARGET configure for building compilers for TARGET [HOST]
! 1553: _ACEOF
! 1554: fi
! 1555:
! 1556: if test -n "$ac_init_help"; then
! 1557: case $ac_init_help in
! 1558: short | recursive ) echo "Configuration of "DHCP-dropper" "0.5":";;
! 1559: esac
! 1560: cat <<\_ACEOF
! 1561:
! 1562: Optional Features:
! 1563: --disable-option-checking ignore unrecognized --enable/--with options
! 1564: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1565: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1566: --enable-static-build enable static build of program
! 1567: --disable-dependency-tracking speeds up one-time build
! 1568: --enable-dependency-tracking do not reject slow dependency extractors
! 1569: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1570: --enable-static[=PKGS] build static libraries [default=yes]
! 1571: --enable-fast-install[=PKGS]
! 1572: optimize for fast installation [default=yes]
! 1573: --disable-libtool-lock avoid locking (might break parallel builds)
! 1574:
! 1575: Optional Packages:
! 1576: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1577: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1578: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1579: --with-pic try to use only PIC/non-PIC objects [default=use
! 1580: both]
! 1581: --with-tags[=TAGS] include additional configurations [automatic]
! 1582:
! 1583: Some influential environment variables:
! 1584: CC C compiler command
! 1585: CFLAGS C compiler flags
! 1586: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1587: nonstandard directory <lib dir>
! 1588: LIBS libraries to pass to the linker, e.g. -l<library>
! 1589: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1590: you have headers in a nonstandard directory <include dir>
! 1591: CPP C preprocessor
! 1592: CXX C++ compiler command
! 1593: CXXFLAGS C++ compiler flags
! 1594: CXXCPP C++ preprocessor
! 1595: F77 Fortran 77 compiler command
! 1596: FFLAGS Fortran 77 compiler flags
! 1597:
! 1598: Use these variables to override the choices made by `configure' or to help
! 1599: it to find libraries and programs with nonstandard names/locations.
! 1600:
! 1601: Report bugs to <"roma@ultranet.ru">.
! 1602: _ACEOF
! 1603: ac_status=$?
! 1604: fi
! 1605:
! 1606: if test "$ac_init_help" = "recursive"; then
! 1607: # If there are subdirs, report their specific --help.
! 1608: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1609: test -d "$ac_dir" ||
! 1610: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1611: continue
! 1612: ac_builddir=.
! 1613:
! 1614: case "$ac_dir" in
! 1615: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1616: *)
! 1617: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1618: # A ".." for each directory in $ac_dir_suffix.
! 1619: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1620: case $ac_top_builddir_sub in
! 1621: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1622: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1623: esac ;;
! 1624: esac
! 1625: ac_abs_top_builddir=$ac_pwd
! 1626: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1627: # for backward compatibility:
! 1628: ac_top_builddir=$ac_top_build_prefix
! 1629:
! 1630: case $srcdir in
! 1631: .) # We are building in place.
! 1632: ac_srcdir=.
! 1633: ac_top_srcdir=$ac_top_builddir_sub
! 1634: ac_abs_top_srcdir=$ac_pwd ;;
! 1635: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1636: ac_srcdir=$srcdir$ac_dir_suffix;
! 1637: ac_top_srcdir=$srcdir
! 1638: ac_abs_top_srcdir=$srcdir ;;
! 1639: *) # Relative name.
! 1640: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1641: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1642: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1643: esac
! 1644: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1645:
! 1646: cd "$ac_dir" || { ac_status=$?; continue; }
! 1647: # Check for guested configure.
! 1648: if test -f "$ac_srcdir/configure.gnu"; then
! 1649: echo &&
! 1650: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1651: elif test -f "$ac_srcdir/configure"; then
! 1652: echo &&
! 1653: $SHELL "$ac_srcdir/configure" --help=recursive
! 1654: else
! 1655: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1656: fi || ac_status=$?
! 1657: cd "$ac_pwd" || { ac_status=$?; break; }
! 1658: done
! 1659: fi
! 1660:
! 1661: test -n "$ac_init_help" && exit $ac_status
! 1662: if $ac_init_version; then
! 1663: cat <<\_ACEOF
! 1664: "DHCP-dropper" configure "0.5"
! 1665: generated by GNU Autoconf 2.63
! 1666:
! 1667: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1668: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 1669: This configure script is free software; the Free Software Foundation
! 1670: gives unlimited permission to copy, distribute and modify it.
! 1671: _ACEOF
! 1672: exit
! 1673: fi
! 1674: cat >config.log <<_ACEOF
! 1675: This file contains any messages produced by compilers while
! 1676: running configure, to aid debugging if configure makes a mistake.
! 1677:
! 1678: It was created by "DHCP-dropper" $as_me "0.5", which was
! 1679: generated by GNU Autoconf 2.63. Invocation command line was
! 1680:
! 1681: $ $0 $@
! 1682:
! 1683: _ACEOF
! 1684: exec 5>>config.log
! 1685: {
! 1686: cat <<_ASUNAME
! 1687: ## --------- ##
! 1688: ## Platform. ##
! 1689: ## --------- ##
! 1690:
! 1691: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1692: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1693: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1694: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1695: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1696:
! 1697: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1698: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1699:
! 1700: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1701: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1702: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1703: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1704: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1705: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1706: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1707:
! 1708: _ASUNAME
! 1709:
! 1710: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1711: for as_dir in $PATH
! 1712: do
! 1713: IFS=$as_save_IFS
! 1714: test -z "$as_dir" && as_dir=.
! 1715: $as_echo "PATH: $as_dir"
! 1716: done
! 1717: IFS=$as_save_IFS
! 1718:
! 1719: } >&5
! 1720:
! 1721: cat >&5 <<_ACEOF
! 1722:
! 1723:
! 1724: ## ----------- ##
! 1725: ## Core tests. ##
! 1726: ## ----------- ##
! 1727:
! 1728: _ACEOF
! 1729:
! 1730:
! 1731: # Keep a trace of the command line.
! 1732: # Strip out --no-create and --no-recursion so they do not pile up.
! 1733: # Strip out --silent because we don't want to record it for future runs.
! 1734: # Also quote any args containing shell meta-characters.
! 1735: # Make two passes to allow for proper duplicate-argument suppression.
! 1736: ac_configure_args=
! 1737: ac_configure_args0=
! 1738: ac_configure_args1=
! 1739: ac_must_keep_next=false
! 1740: for ac_pass in 1 2
! 1741: do
! 1742: for ac_arg
! 1743: do
! 1744: case $ac_arg in
! 1745: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1746: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1747: | -silent | --silent | --silen | --sile | --sil)
! 1748: continue ;;
! 1749: *\'*)
! 1750: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1751: esac
! 1752: case $ac_pass in
! 1753: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1754: 2)
! 1755: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1756: if test $ac_must_keep_next = true; then
! 1757: ac_must_keep_next=false # Got value, back to normal.
! 1758: else
! 1759: case $ac_arg in
! 1760: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1761: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1762: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1763: | -with-* | --with-* | -without-* | --without-* | --x)
! 1764: case "$ac_configure_args0 " in
! 1765: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1766: esac
! 1767: ;;
! 1768: -* ) ac_must_keep_next=true ;;
! 1769: esac
! 1770: fi
! 1771: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1772: ;;
! 1773: esac
! 1774: done
! 1775: done
! 1776: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1777: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1778:
! 1779: # When interrupted or exit'd, cleanup temporary files, and complete
! 1780: # config.log. We remove comments because anyway the quotes in there
! 1781: # would cause problems or look ugly.
! 1782: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1783: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1784: trap 'exit_status=$?
! 1785: # Save into config.log some information that might help in debugging.
! 1786: {
! 1787: echo
! 1788:
! 1789: cat <<\_ASBOX
! 1790: ## ---------------- ##
! 1791: ## Cache variables. ##
! 1792: ## ---------------- ##
! 1793: _ASBOX
! 1794: echo
! 1795: # The following way of writing the cache mishandles newlines in values,
! 1796: (
! 1797: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1798: eval ac_val=\$$ac_var
! 1799: case $ac_val in #(
! 1800: *${as_nl}*)
! 1801: case $ac_var in #(
! 1802: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 1803: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 1804: esac
! 1805: case $ac_var in #(
! 1806: _ | IFS | as_nl) ;; #(
! 1807: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1808: *) $as_unset $ac_var ;;
! 1809: esac ;;
! 1810: esac
! 1811: done
! 1812: (set) 2>&1 |
! 1813: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1814: *${as_nl}ac_space=\ *)
! 1815: sed -n \
! 1816: "s/'\''/'\''\\\\'\'''\''/g;
! 1817: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1818: ;; #(
! 1819: *)
! 1820: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1821: ;;
! 1822: esac |
! 1823: sort
! 1824: )
! 1825: echo
! 1826:
! 1827: cat <<\_ASBOX
! 1828: ## ----------------- ##
! 1829: ## Output variables. ##
! 1830: ## ----------------- ##
! 1831: _ASBOX
! 1832: echo
! 1833: for ac_var in $ac_subst_vars
! 1834: do
! 1835: eval ac_val=\$$ac_var
! 1836: case $ac_val in
! 1837: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1838: esac
! 1839: $as_echo "$ac_var='\''$ac_val'\''"
! 1840: done | sort
! 1841: echo
! 1842:
! 1843: if test -n "$ac_subst_files"; then
! 1844: cat <<\_ASBOX
! 1845: ## ------------------- ##
! 1846: ## File substitutions. ##
! 1847: ## ------------------- ##
! 1848: _ASBOX
! 1849: echo
! 1850: for ac_var in $ac_subst_files
! 1851: do
! 1852: eval ac_val=\$$ac_var
! 1853: case $ac_val in
! 1854: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1855: esac
! 1856: $as_echo "$ac_var='\''$ac_val'\''"
! 1857: done | sort
! 1858: echo
! 1859: fi
! 1860:
! 1861: if test -s confdefs.h; then
! 1862: cat <<\_ASBOX
! 1863: ## ----------- ##
! 1864: ## confdefs.h. ##
! 1865: ## ----------- ##
! 1866: _ASBOX
! 1867: echo
! 1868: cat confdefs.h
! 1869: echo
! 1870: fi
! 1871: test "$ac_signal" != 0 &&
! 1872: $as_echo "$as_me: caught signal $ac_signal"
! 1873: $as_echo "$as_me: exit $exit_status"
! 1874: } >&5
! 1875: rm -f core *.core core.conftest.* &&
! 1876: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1877: exit $exit_status
! 1878: ' 0
! 1879: for ac_signal in 1 2 13 15; do
! 1880: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1881: done
! 1882: ac_signal=0
! 1883:
! 1884: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1885: rm -f -r conftest* confdefs.h
! 1886:
! 1887: # Predefined preprocessor variables.
! 1888:
! 1889: cat >>confdefs.h <<_ACEOF
! 1890: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1891: _ACEOF
! 1892:
! 1893:
! 1894: cat >>confdefs.h <<_ACEOF
! 1895: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1896: _ACEOF
! 1897:
! 1898:
! 1899: cat >>confdefs.h <<_ACEOF
! 1900: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1901: _ACEOF
! 1902:
! 1903:
! 1904: cat >>confdefs.h <<_ACEOF
! 1905: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1906: _ACEOF
! 1907:
! 1908:
! 1909: cat >>confdefs.h <<_ACEOF
! 1910: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1911: _ACEOF
! 1912:
! 1913:
! 1914: # Let the site file select an alternate cache file if it wants to.
! 1915: # Prefer an explicitly selected file to automatically selected ones.
! 1916: ac_site_file1=NONE
! 1917: ac_site_file2=NONE
! 1918: if test -n "$CONFIG_SITE"; then
! 1919: ac_site_file1=$CONFIG_SITE
! 1920: elif test "x$prefix" != xNONE; then
! 1921: ac_site_file1=$prefix/share/config.site
! 1922: ac_site_file2=$prefix/etc/config.site
! 1923: else
! 1924: ac_site_file1=$ac_default_prefix/share/config.site
! 1925: ac_site_file2=$ac_default_prefix/etc/config.site
! 1926: fi
! 1927: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1928: do
! 1929: test "x$ac_site_file" = xNONE && continue
! 1930: if test -r "$ac_site_file"; then
! 1931: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1932: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 1933: sed 's/^/| /' "$ac_site_file" >&5
! 1934: . "$ac_site_file"
! 1935: fi
! 1936: done
! 1937:
! 1938: if test -r "$cache_file"; then
! 1939: # Some versions of bash will fail to source /dev/null (special
! 1940: # files actually), so we avoid doing that.
! 1941: if test -f "$cache_file"; then
! 1942: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1943: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 1944: case $cache_file in
! 1945: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1946: *) . "./$cache_file";;
! 1947: esac
! 1948: fi
! 1949: else
! 1950: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1951: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 1952: >$cache_file
! 1953: fi
! 1954:
! 1955: # Check that the precious variables saved in the cache have kept the same
! 1956: # value.
! 1957: ac_cache_corrupted=false
! 1958: for ac_var in $ac_precious_vars; do
! 1959: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1960: eval ac_new_set=\$ac_env_${ac_var}_set
! 1961: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1962: eval ac_new_val=\$ac_env_${ac_var}_value
! 1963: case $ac_old_set,$ac_new_set in
! 1964: set,)
! 1965: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1966: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1967: ac_cache_corrupted=: ;;
! 1968: ,set)
! 1969: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1970: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1971: ac_cache_corrupted=: ;;
! 1972: ,);;
! 1973: *)
! 1974: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1975: # differences in whitespace do not lead to failure.
! 1976: ac_old_val_w=`echo x $ac_old_val`
! 1977: ac_new_val_w=`echo x $ac_new_val`
! 1978: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1979: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1980: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1981: ac_cache_corrupted=:
! 1982: else
! 1983: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1984: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1985: eval $ac_var=\$ac_old_val
! 1986: fi
! 1987: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 1988: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1989: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 1990: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 1991: fi;;
! 1992: esac
! 1993: # Pass precious variables to config.status.
! 1994: if test "$ac_new_set" = set; then
! 1995: case $ac_new_val in
! 1996: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1997: *) ac_arg=$ac_var=$ac_new_val ;;
! 1998: esac
! 1999: case " $ac_configure_args " in
! 2000: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2001: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 2002: esac
! 2003: fi
! 2004: done
! 2005: if $ac_cache_corrupted; then
! 2006: { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2007: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2008: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 2009: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2010: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 2011: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 2012: { (exit 1); exit 1; }; }
! 2013: fi
! 2014:
! 2015:
! 2016:
! 2017:
! 2018:
! 2019:
! 2020:
! 2021:
! 2022:
! 2023:
! 2024:
! 2025:
! 2026:
! 2027:
! 2028:
! 2029:
! 2030:
! 2031:
! 2032:
! 2033:
! 2034:
! 2035:
! 2036:
! 2037:
! 2038:
! 2039: ac_ext=c
! 2040: ac_cpp='$CPP $CPPFLAGS'
! 2041: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2042: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2043: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2044:
! 2045:
! 2046: ac_aux_dir=
! 2047: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 2048: if test -f "$ac_dir/install-sh"; then
! 2049: ac_aux_dir=$ac_dir
! 2050: ac_install_sh="$ac_aux_dir/install-sh -c"
! 2051: break
! 2052: elif test -f "$ac_dir/install.sh"; then
! 2053: ac_aux_dir=$ac_dir
! 2054: ac_install_sh="$ac_aux_dir/install.sh -c"
! 2055: break
! 2056: elif test -f "$ac_dir/shtool"; then
! 2057: ac_aux_dir=$ac_dir
! 2058: ac_install_sh="$ac_aux_dir/shtool install -c"
! 2059: break
! 2060: fi
! 2061: done
! 2062: if test -z "$ac_aux_dir"; then
! 2063: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 2064: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
! 2065: { (exit 1); exit 1; }; }
! 2066: fi
! 2067:
! 2068: # These three variables are undocumented and unsupported,
! 2069: # and are intended to be withdrawn in a future Autoconf release.
! 2070: # They can cause serious problems if a builder's source tree is in a directory
! 2071: # whose full name contains unusual characters.
! 2072: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2073: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2074: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2075:
! 2076:
! 2077: # Make sure we can run config.sub.
! 2078: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 2079: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 2080: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 2081: { (exit 1); exit 1; }; }
! 2082:
! 2083: { $as_echo "$as_me:$LINENO: checking build system type" >&5
! 2084: $as_echo_n "checking build system type... " >&6; }
! 2085: if test "${ac_cv_build+set}" = set; then
! 2086: $as_echo_n "(cached) " >&6
! 2087: else
! 2088: ac_build_alias=$build_alias
! 2089: test "x$ac_build_alias" = x &&
! 2090: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 2091: test "x$ac_build_alias" = x &&
! 2092: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 2093: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 2094: { (exit 1); exit 1; }; }
! 2095: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 2096: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 2097: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 2098: { (exit 1); exit 1; }; }
! 2099:
! 2100: fi
! 2101: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 2102: $as_echo "$ac_cv_build" >&6; }
! 2103: case $ac_cv_build in
! 2104: *-*-*) ;;
! 2105: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 2106: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
! 2107: { (exit 1); exit 1; }; };;
! 2108: esac
! 2109: build=$ac_cv_build
! 2110: ac_save_IFS=$IFS; IFS='-'
! 2111: set x $ac_cv_build
! 2112: shift
! 2113: build_cpu=$1
! 2114: build_vendor=$2
! 2115: shift; shift
! 2116: # Remember, the first character of IFS is used to create $*,
! 2117: # except with old shells:
! 2118: build_os=$*
! 2119: IFS=$ac_save_IFS
! 2120: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 2121:
! 2122:
! 2123: { $as_echo "$as_me:$LINENO: checking host system type" >&5
! 2124: $as_echo_n "checking host system type... " >&6; }
! 2125: if test "${ac_cv_host+set}" = set; then
! 2126: $as_echo_n "(cached) " >&6
! 2127: else
! 2128: if test "x$host_alias" = x; then
! 2129: ac_cv_host=$ac_cv_build
! 2130: else
! 2131: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 2132: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 2133: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 2134: { (exit 1); exit 1; }; }
! 2135: fi
! 2136:
! 2137: fi
! 2138: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 2139: $as_echo "$ac_cv_host" >&6; }
! 2140: case $ac_cv_host in
! 2141: *-*-*) ;;
! 2142: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 2143: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
! 2144: { (exit 1); exit 1; }; };;
! 2145: esac
! 2146: host=$ac_cv_host
! 2147: ac_save_IFS=$IFS; IFS='-'
! 2148: set x $ac_cv_host
! 2149: shift
! 2150: host_cpu=$1
! 2151: host_vendor=$2
! 2152: shift; shift
! 2153: # Remember, the first character of IFS is used to create $*,
! 2154: # except with old shells:
! 2155: host_os=$*
! 2156: IFS=$ac_save_IFS
! 2157: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 2158:
! 2159:
! 2160: { $as_echo "$as_me:$LINENO: checking target system type" >&5
! 2161: $as_echo_n "checking target system type... " >&6; }
! 2162: if test "${ac_cv_target+set}" = set; then
! 2163: $as_echo_n "(cached) " >&6
! 2164: else
! 2165: if test "x$target_alias" = x; then
! 2166: ac_cv_target=$ac_cv_host
! 2167: else
! 2168: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 2169: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
! 2170: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
! 2171: { (exit 1); exit 1; }; }
! 2172: fi
! 2173:
! 2174: fi
! 2175: { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
! 2176: $as_echo "$ac_cv_target" >&6; }
! 2177: case $ac_cv_target in
! 2178: *-*-*) ;;
! 2179: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
! 2180: $as_echo "$as_me: error: invalid value of canonical target" >&2;}
! 2181: { (exit 1); exit 1; }; };;
! 2182: esac
! 2183: target=$ac_cv_target
! 2184: ac_save_IFS=$IFS; IFS='-'
! 2185: set x $ac_cv_target
! 2186: shift
! 2187: target_cpu=$1
! 2188: target_vendor=$2
! 2189: shift; shift
! 2190: # Remember, the first character of IFS is used to create $*,
! 2191: # except with old shells:
! 2192: target_os=$*
! 2193: IFS=$ac_save_IFS
! 2194: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 2195:
! 2196:
! 2197: # The aliases save the names the user supplied, while $host etc.
! 2198: # will get canonicalized.
! 2199: test -n "$target_alias" &&
! 2200: test "$program_prefix$program_suffix$program_transform_name" = \
! 2201: NONENONEs,x,x, &&
! 2202: program_prefix=${target_alias}-
! 2203:
! 2204: ac_config_headers="$ac_config_headers config.h"
! 2205:
! 2206:
! 2207: am__api_version='1.10'
! 2208:
! 2209: # Find a good install program. We prefer a C program (faster),
! 2210: # so one script is as good as another. But avoid the broken or
! 2211: # incompatible versions:
! 2212: # SysV /etc/install, /usr/sbin/install
! 2213: # SunOS /usr/etc/install
! 2214: # IRIX /sbin/install
! 2215: # AIX /bin/install
! 2216: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2217: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2218: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2219: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2220: # OS/2's system install, which has a completely different semantic
! 2221: # ./install, which can be erroneously created by make from ./install.sh.
! 2222: # Reject install programs that cannot install multiple files.
! 2223: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 2224: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2225: if test -z "$INSTALL"; then
! 2226: if test "${ac_cv_path_install+set}" = set; then
! 2227: $as_echo_n "(cached) " >&6
! 2228: else
! 2229: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2230: for as_dir in $PATH
! 2231: do
! 2232: IFS=$as_save_IFS
! 2233: test -z "$as_dir" && as_dir=.
! 2234: # Account for people who put trailing slashes in PATH elements.
! 2235: case $as_dir/ in
! 2236: ./ | .// | /cC/* | \
! 2237: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2238: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 2239: /usr/ucb/* ) ;;
! 2240: *)
! 2241: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2242: # Don't use installbsd from OSF since it installs stuff as root
! 2243: # by default.
! 2244: for ac_prog in ginstall scoinst install; do
! 2245: for ac_exec_ext in '' $ac_executable_extensions; do
! 2246: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 2247: if test $ac_prog = install &&
! 2248: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2249: # AIX install. It has an incompatible calling convention.
! 2250: :
! 2251: elif test $ac_prog = install &&
! 2252: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2253: # program-specific install script used by HP pwplus--don't use.
! 2254: :
! 2255: else
! 2256: rm -rf conftest.one conftest.two conftest.dir
! 2257: echo one > conftest.one
! 2258: echo two > conftest.two
! 2259: mkdir conftest.dir
! 2260: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2261: test -s conftest.one && test -s conftest.two &&
! 2262: test -s conftest.dir/conftest.one &&
! 2263: test -s conftest.dir/conftest.two
! 2264: then
! 2265: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2266: break 3
! 2267: fi
! 2268: fi
! 2269: fi
! 2270: done
! 2271: done
! 2272: ;;
! 2273: esac
! 2274:
! 2275: done
! 2276: IFS=$as_save_IFS
! 2277:
! 2278: rm -rf conftest.one conftest.two conftest.dir
! 2279:
! 2280: fi
! 2281: if test "${ac_cv_path_install+set}" = set; then
! 2282: INSTALL=$ac_cv_path_install
! 2283: else
! 2284: # As a last resort, use the slow shell script. Don't cache a
! 2285: # value for INSTALL within a source directory, because that will
! 2286: # break other packages using the cache if that directory is
! 2287: # removed, or if the value is a relative name.
! 2288: INSTALL=$ac_install_sh
! 2289: fi
! 2290: fi
! 2291: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 2292: $as_echo "$INSTALL" >&6; }
! 2293:
! 2294: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2295: # It thinks the first close brace ends the variable substitution.
! 2296: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2297:
! 2298: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2299:
! 2300: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2301:
! 2302: { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 2303: $as_echo_n "checking whether build environment is sane... " >&6; }
! 2304: # Just in case
! 2305: sleep 1
! 2306: echo timestamp > conftest.file
! 2307: # Do `set' in a subshell so we don't clobber the current shell's
! 2308: # arguments. Must try -L first in case configure is actually a
! 2309: # symlink; some systems play weird games with the mod time of symlinks
! 2310: # (eg FreeBSD returns the mod time of the symlink's containing
! 2311: # directory).
! 2312: if (
! 2313: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 2314: if test "$*" = "X"; then
! 2315: # -L didn't work.
! 2316: set X `ls -t $srcdir/configure conftest.file`
! 2317: fi
! 2318: rm -f conftest.file
! 2319: if test "$*" != "X $srcdir/configure conftest.file" \
! 2320: && test "$*" != "X conftest.file $srcdir/configure"; then
! 2321:
! 2322: # If neither matched, then we have a broken ls. This can happen
! 2323: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 2324: # broken ls alias from the environment. This has actually
! 2325: # happened. Such a system could not be considered "sane".
! 2326: { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 2327: alias in your environment" >&5
! 2328: $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 2329: alias in your environment" >&2;}
! 2330: { (exit 1); exit 1; }; }
! 2331: fi
! 2332:
! 2333: test "$2" = conftest.file
! 2334: )
! 2335: then
! 2336: # Ok.
! 2337: :
! 2338: else
! 2339: { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 2340: Check your system clock" >&5
! 2341: $as_echo "$as_me: error: newly created file is older than distributed files!
! 2342: Check your system clock" >&2;}
! 2343: { (exit 1); exit 1; }; }
! 2344: fi
! 2345: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2346: $as_echo "yes" >&6; }
! 2347: test "$program_prefix" != NONE &&
! 2348: program_transform_name="s&^&$program_prefix&;$program_transform_name"
! 2349: # Use a double $ so make ignores it.
! 2350: test "$program_suffix" != NONE &&
! 2351: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
! 2352: # Double any \ or $.
! 2353: # By default was `s,x,x', remove it if useless.
! 2354: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
! 2355: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
! 2356:
! 2357: # expand $ac_aux_dir to an absolute path
! 2358: am_aux_dir=`cd $ac_aux_dir && pwd`
! 2359:
! 2360: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 2361: # Use eval to expand $SHELL
! 2362: if eval "$MISSING --run true"; then
! 2363: am_missing_run="$MISSING --run "
! 2364: else
! 2365: am_missing_run=
! 2366: { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 2367: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 2368: fi
! 2369:
! 2370: { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
! 2371: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
! 2372: if test -z "$MKDIR_P"; then
! 2373: if test "${ac_cv_path_mkdir+set}" = set; then
! 2374: $as_echo_n "(cached) " >&6
! 2375: else
! 2376: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2377: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
! 2378: do
! 2379: IFS=$as_save_IFS
! 2380: test -z "$as_dir" && as_dir=.
! 2381: for ac_prog in mkdir gmkdir; do
! 2382: for ac_exec_ext in '' $ac_executable_extensions; do
! 2383: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
! 2384: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
! 2385: 'mkdir (GNU coreutils) '* | \
! 2386: 'mkdir (coreutils) '* | \
! 2387: 'mkdir (fileutils) '4.1*)
! 2388: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
! 2389: break 3;;
! 2390: esac
! 2391: done
! 2392: done
! 2393: done
! 2394: IFS=$as_save_IFS
! 2395:
! 2396: fi
! 2397:
! 2398: if test "${ac_cv_path_mkdir+set}" = set; then
! 2399: MKDIR_P="$ac_cv_path_mkdir -p"
! 2400: else
! 2401: # As a last resort, use the slow shell script. Don't cache a
! 2402: # value for MKDIR_P within a source directory, because that will
! 2403: # break other packages using the cache if that directory is
! 2404: # removed, or if the value is a relative name.
! 2405: test -d ./--version && rmdir ./--version
! 2406: MKDIR_P="$ac_install_sh -d"
! 2407: fi
! 2408: fi
! 2409: { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
! 2410: $as_echo "$MKDIR_P" >&6; }
! 2411:
! 2412: mkdir_p="$MKDIR_P"
! 2413: case $mkdir_p in
! 2414: [\\/$]* | ?:[\\/]*) ;;
! 2415: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
! 2416: esac
! 2417:
! 2418: for ac_prog in gawk mawk nawk awk
! 2419: do
! 2420: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2421: set dummy $ac_prog; ac_word=$2
! 2422: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2423: $as_echo_n "checking for $ac_word... " >&6; }
! 2424: if test "${ac_cv_prog_AWK+set}" = set; then
! 2425: $as_echo_n "(cached) " >&6
! 2426: else
! 2427: if test -n "$AWK"; then
! 2428: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 2429: else
! 2430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2431: for as_dir in $PATH
! 2432: do
! 2433: IFS=$as_save_IFS
! 2434: test -z "$as_dir" && as_dir=.
! 2435: for ac_exec_ext in '' $ac_executable_extensions; do
! 2436: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2437: ac_cv_prog_AWK="$ac_prog"
! 2438: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2439: break 2
! 2440: fi
! 2441: done
! 2442: done
! 2443: IFS=$as_save_IFS
! 2444:
! 2445: fi
! 2446: fi
! 2447: AWK=$ac_cv_prog_AWK
! 2448: if test -n "$AWK"; then
! 2449: { $as_echo "$as_me:$LINENO: result: $AWK" >&5
! 2450: $as_echo "$AWK" >&6; }
! 2451: else
! 2452: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2453: $as_echo "no" >&6; }
! 2454: fi
! 2455:
! 2456:
! 2457: test -n "$AWK" && break
! 2458: done
! 2459:
! 2460: { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2461: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 2462: set x ${MAKE-make}
! 2463: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 2464: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
! 2465: $as_echo_n "(cached) " >&6
! 2466: else
! 2467: cat >conftest.make <<\_ACEOF
! 2468: SHELL = /bin/sh
! 2469: all:
! 2470: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 2471: _ACEOF
! 2472: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2473: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 2474: *@@@%%%=?*=@@@%%%*)
! 2475: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 2476: *)
! 2477: eval ac_cv_prog_make_${ac_make}_set=no;;
! 2478: esac
! 2479: rm -f conftest.make
! 2480: fi
! 2481: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 2482: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2483: $as_echo "yes" >&6; }
! 2484: SET_MAKE=
! 2485: else
! 2486: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2487: $as_echo "no" >&6; }
! 2488: SET_MAKE="MAKE=${MAKE-make}"
! 2489: fi
! 2490:
! 2491: rm -rf .tst 2>/dev/null
! 2492: mkdir .tst 2>/dev/null
! 2493: if test -d .tst; then
! 2494: am__leading_dot=.
! 2495: else
! 2496: am__leading_dot=_
! 2497: fi
! 2498: rmdir .tst 2>/dev/null
! 2499:
! 2500: if test "`cd $srcdir && pwd`" != "`pwd`"; then
! 2501: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
! 2502: # is not polluted with repeated "-I."
! 2503: am__isrc=' -I$(srcdir)'
! 2504: # test to see if srcdir already configured
! 2505: if test -f $srcdir/config.status; then
! 2506: { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 2507: $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 2508: { (exit 1); exit 1; }; }
! 2509: fi
! 2510: fi
! 2511:
! 2512: # test whether we have cygpath
! 2513: if test -z "$CYGPATH_W"; then
! 2514: if (cygpath --version) >/dev/null 2>/dev/null; then
! 2515: CYGPATH_W='cygpath -w'
! 2516: else
! 2517: CYGPATH_W=echo
! 2518: fi
! 2519: fi
! 2520:
! 2521:
! 2522: # Define the identity of the package.
! 2523: PACKAGE=dhcdrop
! 2524: VERSION="0.5"
! 2525:
! 2526:
! 2527: cat >>confdefs.h <<_ACEOF
! 2528: #define PACKAGE "$PACKAGE"
! 2529: _ACEOF
! 2530:
! 2531:
! 2532: cat >>confdefs.h <<_ACEOF
! 2533: #define VERSION "$VERSION"
! 2534: _ACEOF
! 2535:
! 2536: # Some tools Automake needs.
! 2537:
! 2538: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 2539:
! 2540:
! 2541: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 2542:
! 2543:
! 2544: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 2545:
! 2546:
! 2547: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 2548:
! 2549:
! 2550: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 2551:
! 2552: install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
! 2553:
! 2554: # Installed binaries are usually stripped using `strip' when the user
! 2555: # run `make install-strip'. However `strip' might not be the right
! 2556: # tool to use in cross-compilation environments, therefore Automake
! 2557: # will honor the `STRIP' environment variable to overrule this program.
! 2558: if test "$cross_compiling" != no; then
! 2559: if test -n "$ac_tool_prefix"; then
! 2560: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 2561: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 2562: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2563: $as_echo_n "checking for $ac_word... " >&6; }
! 2564: if test "${ac_cv_prog_STRIP+set}" = set; then
! 2565: $as_echo_n "(cached) " >&6
! 2566: else
! 2567: if test -n "$STRIP"; then
! 2568: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 2569: else
! 2570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2571: for as_dir in $PATH
! 2572: do
! 2573: IFS=$as_save_IFS
! 2574: test -z "$as_dir" && as_dir=.
! 2575: for ac_exec_ext in '' $ac_executable_extensions; do
! 2576: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2577: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 2578: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2579: break 2
! 2580: fi
! 2581: done
! 2582: done
! 2583: IFS=$as_save_IFS
! 2584:
! 2585: fi
! 2586: fi
! 2587: STRIP=$ac_cv_prog_STRIP
! 2588: if test -n "$STRIP"; then
! 2589: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 2590: $as_echo "$STRIP" >&6; }
! 2591: else
! 2592: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2593: $as_echo "no" >&6; }
! 2594: fi
! 2595:
! 2596:
! 2597: fi
! 2598: if test -z "$ac_cv_prog_STRIP"; then
! 2599: ac_ct_STRIP=$STRIP
! 2600: # Extract the first word of "strip", so it can be a program name with args.
! 2601: set dummy strip; ac_word=$2
! 2602: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2603: $as_echo_n "checking for $ac_word... " >&6; }
! 2604: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 2605: $as_echo_n "(cached) " >&6
! 2606: else
! 2607: if test -n "$ac_ct_STRIP"; then
! 2608: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 2609: else
! 2610: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2611: for as_dir in $PATH
! 2612: do
! 2613: IFS=$as_save_IFS
! 2614: test -z "$as_dir" && as_dir=.
! 2615: for ac_exec_ext in '' $ac_executable_extensions; do
! 2616: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2617: ac_cv_prog_ac_ct_STRIP="strip"
! 2618: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2619: break 2
! 2620: fi
! 2621: done
! 2622: done
! 2623: IFS=$as_save_IFS
! 2624:
! 2625: fi
! 2626: fi
! 2627: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 2628: if test -n "$ac_ct_STRIP"; then
! 2629: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 2630: $as_echo "$ac_ct_STRIP" >&6; }
! 2631: else
! 2632: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2633: $as_echo "no" >&6; }
! 2634: fi
! 2635:
! 2636: if test "x$ac_ct_STRIP" = x; then
! 2637: STRIP=":"
! 2638: else
! 2639: case $cross_compiling:$ac_tool_warned in
! 2640: yes:)
! 2641: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2642: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2643: ac_tool_warned=yes ;;
! 2644: esac
! 2645: STRIP=$ac_ct_STRIP
! 2646: fi
! 2647: else
! 2648: STRIP="$ac_cv_prog_STRIP"
! 2649: fi
! 2650:
! 2651: fi
! 2652: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
! 2653:
! 2654: # We need awk for the "check" target. The system "awk" is bad on
! 2655: # some platforms.
! 2656: # Always define AMTAR for backward compatibility.
! 2657:
! 2658: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 2659:
! 2660: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 2661:
! 2662:
! 2663:
! 2664:
! 2665:
! 2666: # Check whether --enable-static-build was given.
! 2667: if test "${enable_static_build+set}" = set; then
! 2668: enableval=$enable_static_build; ENABLE_STATIC_BUILD=yes
! 2669: fi
! 2670:
! 2671: if test x$ENABLE_STATIC_BUILD = xyes; then
! 2672: ENABLE_STATIC_BUILD_TRUE=
! 2673: ENABLE_STATIC_BUILD_FALSE='#'
! 2674: else
! 2675: ENABLE_STATIC_BUILD_TRUE='#'
! 2676: ENABLE_STATIC_BUILD_FALSE=
! 2677: fi
! 2678:
! 2679: # Checks for programs.
! 2680: ac_ext=c
! 2681: ac_cpp='$CPP $CPPFLAGS'
! 2682: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2683: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2684: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2685:
! 2686: ac_ext=c
! 2687: ac_cpp='$CPP $CPPFLAGS'
! 2688: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2689: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2690: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2691: if test -n "$ac_tool_prefix"; then
! 2692: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2693: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2694: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2695: $as_echo_n "checking for $ac_word... " >&6; }
! 2696: if test "${ac_cv_prog_CC+set}" = set; then
! 2697: $as_echo_n "(cached) " >&6
! 2698: else
! 2699: if test -n "$CC"; then
! 2700: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2701: else
! 2702: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2703: for as_dir in $PATH
! 2704: do
! 2705: IFS=$as_save_IFS
! 2706: test -z "$as_dir" && as_dir=.
! 2707: for ac_exec_ext in '' $ac_executable_extensions; do
! 2708: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2709: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2710: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2711: break 2
! 2712: fi
! 2713: done
! 2714: done
! 2715: IFS=$as_save_IFS
! 2716:
! 2717: fi
! 2718: fi
! 2719: CC=$ac_cv_prog_CC
! 2720: if test -n "$CC"; then
! 2721: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2722: $as_echo "$CC" >&6; }
! 2723: else
! 2724: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2725: $as_echo "no" >&6; }
! 2726: fi
! 2727:
! 2728:
! 2729: fi
! 2730: if test -z "$ac_cv_prog_CC"; then
! 2731: ac_ct_CC=$CC
! 2732: # Extract the first word of "gcc", so it can be a program name with args.
! 2733: set dummy gcc; ac_word=$2
! 2734: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2735: $as_echo_n "checking for $ac_word... " >&6; }
! 2736: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2737: $as_echo_n "(cached) " >&6
! 2738: else
! 2739: if test -n "$ac_ct_CC"; then
! 2740: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2741: else
! 2742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2743: for as_dir in $PATH
! 2744: do
! 2745: IFS=$as_save_IFS
! 2746: test -z "$as_dir" && as_dir=.
! 2747: for ac_exec_ext in '' $ac_executable_extensions; do
! 2748: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2749: ac_cv_prog_ac_ct_CC="gcc"
! 2750: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2751: break 2
! 2752: fi
! 2753: done
! 2754: done
! 2755: IFS=$as_save_IFS
! 2756:
! 2757: fi
! 2758: fi
! 2759: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2760: if test -n "$ac_ct_CC"; then
! 2761: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2762: $as_echo "$ac_ct_CC" >&6; }
! 2763: else
! 2764: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2765: $as_echo "no" >&6; }
! 2766: fi
! 2767:
! 2768: if test "x$ac_ct_CC" = x; then
! 2769: CC=""
! 2770: else
! 2771: case $cross_compiling:$ac_tool_warned in
! 2772: yes:)
! 2773: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2774: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2775: ac_tool_warned=yes ;;
! 2776: esac
! 2777: CC=$ac_ct_CC
! 2778: fi
! 2779: else
! 2780: CC="$ac_cv_prog_CC"
! 2781: fi
! 2782:
! 2783: if test -z "$CC"; then
! 2784: if test -n "$ac_tool_prefix"; then
! 2785: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2786: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2787: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2788: $as_echo_n "checking for $ac_word... " >&6; }
! 2789: if test "${ac_cv_prog_CC+set}" = set; then
! 2790: $as_echo_n "(cached) " >&6
! 2791: else
! 2792: if test -n "$CC"; then
! 2793: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2794: else
! 2795: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2796: for as_dir in $PATH
! 2797: do
! 2798: IFS=$as_save_IFS
! 2799: test -z "$as_dir" && as_dir=.
! 2800: for ac_exec_ext in '' $ac_executable_extensions; do
! 2801: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2802: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2803: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2804: break 2
! 2805: fi
! 2806: done
! 2807: done
! 2808: IFS=$as_save_IFS
! 2809:
! 2810: fi
! 2811: fi
! 2812: CC=$ac_cv_prog_CC
! 2813: if test -n "$CC"; then
! 2814: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2815: $as_echo "$CC" >&6; }
! 2816: else
! 2817: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2818: $as_echo "no" >&6; }
! 2819: fi
! 2820:
! 2821:
! 2822: fi
! 2823: fi
! 2824: if test -z "$CC"; then
! 2825: # Extract the first word of "cc", so it can be a program name with args.
! 2826: set dummy cc; ac_word=$2
! 2827: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2828: $as_echo_n "checking for $ac_word... " >&6; }
! 2829: if test "${ac_cv_prog_CC+set}" = set; then
! 2830: $as_echo_n "(cached) " >&6
! 2831: else
! 2832: if test -n "$CC"; then
! 2833: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2834: else
! 2835: ac_prog_rejected=no
! 2836: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2837: for as_dir in $PATH
! 2838: do
! 2839: IFS=$as_save_IFS
! 2840: test -z "$as_dir" && as_dir=.
! 2841: for ac_exec_ext in '' $ac_executable_extensions; do
! 2842: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2843: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2844: ac_prog_rejected=yes
! 2845: continue
! 2846: fi
! 2847: ac_cv_prog_CC="cc"
! 2848: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2849: break 2
! 2850: fi
! 2851: done
! 2852: done
! 2853: IFS=$as_save_IFS
! 2854:
! 2855: if test $ac_prog_rejected = yes; then
! 2856: # We found a bogon in the path, so make sure we never use it.
! 2857: set dummy $ac_cv_prog_CC
! 2858: shift
! 2859: if test $# != 0; then
! 2860: # We chose a different compiler from the bogus one.
! 2861: # However, it has the same basename, so the bogon will be chosen
! 2862: # first if we set CC to just the basename; use the full file name.
! 2863: shift
! 2864: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2865: fi
! 2866: fi
! 2867: fi
! 2868: fi
! 2869: CC=$ac_cv_prog_CC
! 2870: if test -n "$CC"; then
! 2871: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2872: $as_echo "$CC" >&6; }
! 2873: else
! 2874: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2875: $as_echo "no" >&6; }
! 2876: fi
! 2877:
! 2878:
! 2879: fi
! 2880: if test -z "$CC"; then
! 2881: if test -n "$ac_tool_prefix"; then
! 2882: for ac_prog in cl.exe
! 2883: do
! 2884: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2885: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2886: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2887: $as_echo_n "checking for $ac_word... " >&6; }
! 2888: if test "${ac_cv_prog_CC+set}" = set; then
! 2889: $as_echo_n "(cached) " >&6
! 2890: else
! 2891: if test -n "$CC"; then
! 2892: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2893: else
! 2894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2895: for as_dir in $PATH
! 2896: do
! 2897: IFS=$as_save_IFS
! 2898: test -z "$as_dir" && as_dir=.
! 2899: for ac_exec_ext in '' $ac_executable_extensions; do
! 2900: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2901: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2902: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2903: break 2
! 2904: fi
! 2905: done
! 2906: done
! 2907: IFS=$as_save_IFS
! 2908:
! 2909: fi
! 2910: fi
! 2911: CC=$ac_cv_prog_CC
! 2912: if test -n "$CC"; then
! 2913: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2914: $as_echo "$CC" >&6; }
! 2915: else
! 2916: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2917: $as_echo "no" >&6; }
! 2918: fi
! 2919:
! 2920:
! 2921: test -n "$CC" && break
! 2922: done
! 2923: fi
! 2924: if test -z "$CC"; then
! 2925: ac_ct_CC=$CC
! 2926: for ac_prog in cl.exe
! 2927: do
! 2928: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2929: set dummy $ac_prog; ac_word=$2
! 2930: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2931: $as_echo_n "checking for $ac_word... " >&6; }
! 2932: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2933: $as_echo_n "(cached) " >&6
! 2934: else
! 2935: if test -n "$ac_ct_CC"; then
! 2936: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2937: else
! 2938: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2939: for as_dir in $PATH
! 2940: do
! 2941: IFS=$as_save_IFS
! 2942: test -z "$as_dir" && as_dir=.
! 2943: for ac_exec_ext in '' $ac_executable_extensions; do
! 2944: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2945: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2946: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2947: break 2
! 2948: fi
! 2949: done
! 2950: done
! 2951: IFS=$as_save_IFS
! 2952:
! 2953: fi
! 2954: fi
! 2955: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2956: if test -n "$ac_ct_CC"; then
! 2957: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2958: $as_echo "$ac_ct_CC" >&6; }
! 2959: else
! 2960: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2961: $as_echo "no" >&6; }
! 2962: fi
! 2963:
! 2964:
! 2965: test -n "$ac_ct_CC" && break
! 2966: done
! 2967:
! 2968: if test "x$ac_ct_CC" = x; then
! 2969: CC=""
! 2970: else
! 2971: case $cross_compiling:$ac_tool_warned in
! 2972: yes:)
! 2973: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2974: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2975: ac_tool_warned=yes ;;
! 2976: esac
! 2977: CC=$ac_ct_CC
! 2978: fi
! 2979: fi
! 2980:
! 2981: fi
! 2982:
! 2983:
! 2984: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2985: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2986: { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2987: See \`config.log' for more details." >&5
! 2988: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2989: See \`config.log' for more details." >&2;}
! 2990: { (exit 1); exit 1; }; }; }
! 2991:
! 2992: # Provide some information about the compiler.
! 2993: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2994: set X $ac_compile
! 2995: ac_compiler=$2
! 2996: { (ac_try="$ac_compiler --version >&5"
! 2997: case "(($ac_try" in
! 2998: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2999: *) ac_try_echo=$ac_try;;
! 3000: esac
! 3001: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3002: $as_echo "$ac_try_echo") >&5
! 3003: (eval "$ac_compiler --version >&5") 2>&5
! 3004: ac_status=$?
! 3005: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3006: (exit $ac_status); }
! 3007: { (ac_try="$ac_compiler -v >&5"
! 3008: case "(($ac_try" in
! 3009: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3010: *) ac_try_echo=$ac_try;;
! 3011: esac
! 3012: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3013: $as_echo "$ac_try_echo") >&5
! 3014: (eval "$ac_compiler -v >&5") 2>&5
! 3015: ac_status=$?
! 3016: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3017: (exit $ac_status); }
! 3018: { (ac_try="$ac_compiler -V >&5"
! 3019: case "(($ac_try" in
! 3020: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3021: *) ac_try_echo=$ac_try;;
! 3022: esac
! 3023: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3024: $as_echo "$ac_try_echo") >&5
! 3025: (eval "$ac_compiler -V >&5") 2>&5
! 3026: ac_status=$?
! 3027: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3028: (exit $ac_status); }
! 3029:
! 3030: cat >conftest.$ac_ext <<_ACEOF
! 3031: /* confdefs.h. */
! 3032: _ACEOF
! 3033: cat confdefs.h >>conftest.$ac_ext
! 3034: cat >>conftest.$ac_ext <<_ACEOF
! 3035: /* end confdefs.h. */
! 3036:
! 3037: int
! 3038: main ()
! 3039: {
! 3040:
! 3041: ;
! 3042: return 0;
! 3043: }
! 3044: _ACEOF
! 3045: ac_clean_files_save=$ac_clean_files
! 3046: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 3047: # Try to create an executable without -o first, disregard a.out.
! 3048: # It will help us diagnose broken compilers, and finding out an intuition
! 3049: # of exeext.
! 3050: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 3051: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 3052: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 3053:
! 3054: # The possible output files:
! 3055: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 3056:
! 3057: ac_rmfiles=
! 3058: for ac_file in $ac_files
! 3059: do
! 3060: case $ac_file in
! 3061: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3062: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 3063: esac
! 3064: done
! 3065: rm -f $ac_rmfiles
! 3066:
! 3067: if { (ac_try="$ac_link_default"
! 3068: case "(($ac_try" in
! 3069: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3070: *) ac_try_echo=$ac_try;;
! 3071: esac
! 3072: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3073: $as_echo "$ac_try_echo") >&5
! 3074: (eval "$ac_link_default") 2>&5
! 3075: ac_status=$?
! 3076: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3077: (exit $ac_status); }; then
! 3078: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 3079: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 3080: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 3081: # so that the user can short-circuit this test for compilers unknown to
! 3082: # Autoconf.
! 3083: for ac_file in $ac_files ''
! 3084: do
! 3085: test -f "$ac_file" || continue
! 3086: case $ac_file in
! 3087: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 3088: ;;
! 3089: [ab].out )
! 3090: # We found the default executable, but exeext='' is most
! 3091: # certainly right.
! 3092: break;;
! 3093: *.* )
! 3094: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 3095: then :; else
! 3096: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3097: fi
! 3098: # We set ac_cv_exeext here because the later test for it is not
! 3099: # safe: cross compilers may not add the suffix if given an `-o'
! 3100: # argument, so we may need to know it at that point already.
! 3101: # Even if this section looks crufty: it has the advantage of
! 3102: # actually working.
! 3103: break;;
! 3104: * )
! 3105: break;;
! 3106: esac
! 3107: done
! 3108: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 3109:
! 3110: else
! 3111: ac_file=''
! 3112: fi
! 3113:
! 3114: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 3115: $as_echo "$ac_file" >&6; }
! 3116: if test -z "$ac_file"; then
! 3117: $as_echo "$as_me: failed program was:" >&5
! 3118: sed 's/^/| /' conftest.$ac_ext >&5
! 3119:
! 3120: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3121: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3122: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 3123: See \`config.log' for more details." >&5
! 3124: $as_echo "$as_me: error: C compiler cannot create executables
! 3125: See \`config.log' for more details." >&2;}
! 3126: { (exit 77); exit 77; }; }; }
! 3127: fi
! 3128:
! 3129: ac_exeext=$ac_cv_exeext
! 3130:
! 3131: # Check that the compiler produces executables we can run. If not, either
! 3132: # the compiler is broken, or we cross compile.
! 3133: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 3134: $as_echo_n "checking whether the C compiler works... " >&6; }
! 3135: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 3136: # If not cross compiling, check that we can run a simple program.
! 3137: if test "$cross_compiling" != yes; then
! 3138: if { ac_try='./$ac_file'
! 3139: { (case "(($ac_try" in
! 3140: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3141: *) ac_try_echo=$ac_try;;
! 3142: esac
! 3143: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3144: $as_echo "$ac_try_echo") >&5
! 3145: (eval "$ac_try") 2>&5
! 3146: ac_status=$?
! 3147: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3148: (exit $ac_status); }; }; then
! 3149: cross_compiling=no
! 3150: else
! 3151: if test "$cross_compiling" = maybe; then
! 3152: cross_compiling=yes
! 3153: else
! 3154: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3155: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3156: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 3157: If you meant to cross compile, use \`--host'.
! 3158: See \`config.log' for more details." >&5
! 3159: $as_echo "$as_me: error: cannot run C compiled programs.
! 3160: If you meant to cross compile, use \`--host'.
! 3161: See \`config.log' for more details." >&2;}
! 3162: { (exit 1); exit 1; }; }; }
! 3163: fi
! 3164: fi
! 3165: fi
! 3166: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 3167: $as_echo "yes" >&6; }
! 3168:
! 3169: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 3170: ac_clean_files=$ac_clean_files_save
! 3171: # Check that the compiler produces executables we can run. If not, either
! 3172: # the compiler is broken, or we cross compile.
! 3173: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 3174: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3175: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 3176: $as_echo "$cross_compiling" >&6; }
! 3177:
! 3178: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 3179: $as_echo_n "checking for suffix of executables... " >&6; }
! 3180: if { (ac_try="$ac_link"
! 3181: case "(($ac_try" in
! 3182: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3183: *) ac_try_echo=$ac_try;;
! 3184: esac
! 3185: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3186: $as_echo "$ac_try_echo") >&5
! 3187: (eval "$ac_link") 2>&5
! 3188: ac_status=$?
! 3189: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3190: (exit $ac_status); }; then
! 3191: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 3192: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 3193: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 3194: # `rm'.
! 3195: for ac_file in conftest.exe conftest conftest.*; do
! 3196: test -f "$ac_file" || continue
! 3197: case $ac_file in
! 3198: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3199: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3200: break;;
! 3201: * ) break;;
! 3202: esac
! 3203: done
! 3204: else
! 3205: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3206: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3207: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 3208: See \`config.log' for more details." >&5
! 3209: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 3210: See \`config.log' for more details." >&2;}
! 3211: { (exit 1); exit 1; }; }; }
! 3212: fi
! 3213:
! 3214: rm -f conftest$ac_cv_exeext
! 3215: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 3216: $as_echo "$ac_cv_exeext" >&6; }
! 3217:
! 3218: rm -f conftest.$ac_ext
! 3219: EXEEXT=$ac_cv_exeext
! 3220: ac_exeext=$EXEEXT
! 3221: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 3222: $as_echo_n "checking for suffix of object files... " >&6; }
! 3223: if test "${ac_cv_objext+set}" = set; then
! 3224: $as_echo_n "(cached) " >&6
! 3225: else
! 3226: cat >conftest.$ac_ext <<_ACEOF
! 3227: /* confdefs.h. */
! 3228: _ACEOF
! 3229: cat confdefs.h >>conftest.$ac_ext
! 3230: cat >>conftest.$ac_ext <<_ACEOF
! 3231: /* end confdefs.h. */
! 3232:
! 3233: int
! 3234: main ()
! 3235: {
! 3236:
! 3237: ;
! 3238: return 0;
! 3239: }
! 3240: _ACEOF
! 3241: rm -f conftest.o conftest.obj
! 3242: if { (ac_try="$ac_compile"
! 3243: case "(($ac_try" in
! 3244: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3245: *) ac_try_echo=$ac_try;;
! 3246: esac
! 3247: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3248: $as_echo "$ac_try_echo") >&5
! 3249: (eval "$ac_compile") 2>&5
! 3250: ac_status=$?
! 3251: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3252: (exit $ac_status); }; then
! 3253: for ac_file in conftest.o conftest.obj conftest.*; do
! 3254: test -f "$ac_file" || continue;
! 3255: case $ac_file in
! 3256: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 3257: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 3258: break;;
! 3259: esac
! 3260: done
! 3261: else
! 3262: $as_echo "$as_me: failed program was:" >&5
! 3263: sed 's/^/| /' conftest.$ac_ext >&5
! 3264:
! 3265: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3266: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3267: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 3268: See \`config.log' for more details." >&5
! 3269: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 3270: See \`config.log' for more details." >&2;}
! 3271: { (exit 1); exit 1; }; }; }
! 3272: fi
! 3273:
! 3274: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 3275: fi
! 3276: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 3277: $as_echo "$ac_cv_objext" >&6; }
! 3278: OBJEXT=$ac_cv_objext
! 3279: ac_objext=$OBJEXT
! 3280: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 3281: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 3282: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 3283: $as_echo_n "(cached) " >&6
! 3284: else
! 3285: cat >conftest.$ac_ext <<_ACEOF
! 3286: /* confdefs.h. */
! 3287: _ACEOF
! 3288: cat confdefs.h >>conftest.$ac_ext
! 3289: cat >>conftest.$ac_ext <<_ACEOF
! 3290: /* end confdefs.h. */
! 3291:
! 3292: int
! 3293: main ()
! 3294: {
! 3295: #ifndef __GNUC__
! 3296: choke me
! 3297: #endif
! 3298:
! 3299: ;
! 3300: return 0;
! 3301: }
! 3302: _ACEOF
! 3303: rm -f conftest.$ac_objext
! 3304: if { (ac_try="$ac_compile"
! 3305: case "(($ac_try" in
! 3306: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3307: *) ac_try_echo=$ac_try;;
! 3308: esac
! 3309: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3310: $as_echo "$ac_try_echo") >&5
! 3311: (eval "$ac_compile") 2>conftest.er1
! 3312: ac_status=$?
! 3313: grep -v '^ *+' conftest.er1 >conftest.err
! 3314: rm -f conftest.er1
! 3315: cat conftest.err >&5
! 3316: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3317: (exit $ac_status); } && {
! 3318: test -z "$ac_c_werror_flag" ||
! 3319: test ! -s conftest.err
! 3320: } && test -s conftest.$ac_objext; then
! 3321: ac_compiler_gnu=yes
! 3322: else
! 3323: $as_echo "$as_me: failed program was:" >&5
! 3324: sed 's/^/| /' conftest.$ac_ext >&5
! 3325:
! 3326: ac_compiler_gnu=no
! 3327: fi
! 3328:
! 3329: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3330: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 3331:
! 3332: fi
! 3333: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 3334: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 3335: if test $ac_compiler_gnu = yes; then
! 3336: GCC=yes
! 3337: else
! 3338: GCC=
! 3339: fi
! 3340: ac_test_CFLAGS=${CFLAGS+set}
! 3341: ac_save_CFLAGS=$CFLAGS
! 3342: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 3343: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 3344: if test "${ac_cv_prog_cc_g+set}" = set; then
! 3345: $as_echo_n "(cached) " >&6
! 3346: else
! 3347: ac_save_c_werror_flag=$ac_c_werror_flag
! 3348: ac_c_werror_flag=yes
! 3349: ac_cv_prog_cc_g=no
! 3350: CFLAGS="-g"
! 3351: cat >conftest.$ac_ext <<_ACEOF
! 3352: /* confdefs.h. */
! 3353: _ACEOF
! 3354: cat confdefs.h >>conftest.$ac_ext
! 3355: cat >>conftest.$ac_ext <<_ACEOF
! 3356: /* end confdefs.h. */
! 3357:
! 3358: int
! 3359: main ()
! 3360: {
! 3361:
! 3362: ;
! 3363: return 0;
! 3364: }
! 3365: _ACEOF
! 3366: rm -f conftest.$ac_objext
! 3367: if { (ac_try="$ac_compile"
! 3368: case "(($ac_try" in
! 3369: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3370: *) ac_try_echo=$ac_try;;
! 3371: esac
! 3372: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3373: $as_echo "$ac_try_echo") >&5
! 3374: (eval "$ac_compile") 2>conftest.er1
! 3375: ac_status=$?
! 3376: grep -v '^ *+' conftest.er1 >conftest.err
! 3377: rm -f conftest.er1
! 3378: cat conftest.err >&5
! 3379: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3380: (exit $ac_status); } && {
! 3381: test -z "$ac_c_werror_flag" ||
! 3382: test ! -s conftest.err
! 3383: } && test -s conftest.$ac_objext; then
! 3384: ac_cv_prog_cc_g=yes
! 3385: else
! 3386: $as_echo "$as_me: failed program was:" >&5
! 3387: sed 's/^/| /' conftest.$ac_ext >&5
! 3388:
! 3389: CFLAGS=""
! 3390: cat >conftest.$ac_ext <<_ACEOF
! 3391: /* confdefs.h. */
! 3392: _ACEOF
! 3393: cat confdefs.h >>conftest.$ac_ext
! 3394: cat >>conftest.$ac_ext <<_ACEOF
! 3395: /* end confdefs.h. */
! 3396:
! 3397: int
! 3398: main ()
! 3399: {
! 3400:
! 3401: ;
! 3402: return 0;
! 3403: }
! 3404: _ACEOF
! 3405: rm -f conftest.$ac_objext
! 3406: if { (ac_try="$ac_compile"
! 3407: case "(($ac_try" in
! 3408: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3409: *) ac_try_echo=$ac_try;;
! 3410: esac
! 3411: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3412: $as_echo "$ac_try_echo") >&5
! 3413: (eval "$ac_compile") 2>conftest.er1
! 3414: ac_status=$?
! 3415: grep -v '^ *+' conftest.er1 >conftest.err
! 3416: rm -f conftest.er1
! 3417: cat conftest.err >&5
! 3418: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3419: (exit $ac_status); } && {
! 3420: test -z "$ac_c_werror_flag" ||
! 3421: test ! -s conftest.err
! 3422: } && test -s conftest.$ac_objext; then
! 3423: :
! 3424: else
! 3425: $as_echo "$as_me: failed program was:" >&5
! 3426: sed 's/^/| /' conftest.$ac_ext >&5
! 3427:
! 3428: ac_c_werror_flag=$ac_save_c_werror_flag
! 3429: CFLAGS="-g"
! 3430: cat >conftest.$ac_ext <<_ACEOF
! 3431: /* confdefs.h. */
! 3432: _ACEOF
! 3433: cat confdefs.h >>conftest.$ac_ext
! 3434: cat >>conftest.$ac_ext <<_ACEOF
! 3435: /* end confdefs.h. */
! 3436:
! 3437: int
! 3438: main ()
! 3439: {
! 3440:
! 3441: ;
! 3442: return 0;
! 3443: }
! 3444: _ACEOF
! 3445: rm -f conftest.$ac_objext
! 3446: if { (ac_try="$ac_compile"
! 3447: case "(($ac_try" in
! 3448: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3449: *) ac_try_echo=$ac_try;;
! 3450: esac
! 3451: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3452: $as_echo "$ac_try_echo") >&5
! 3453: (eval "$ac_compile") 2>conftest.er1
! 3454: ac_status=$?
! 3455: grep -v '^ *+' conftest.er1 >conftest.err
! 3456: rm -f conftest.er1
! 3457: cat conftest.err >&5
! 3458: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3459: (exit $ac_status); } && {
! 3460: test -z "$ac_c_werror_flag" ||
! 3461: test ! -s conftest.err
! 3462: } && test -s conftest.$ac_objext; then
! 3463: ac_cv_prog_cc_g=yes
! 3464: else
! 3465: $as_echo "$as_me: failed program was:" >&5
! 3466: sed 's/^/| /' conftest.$ac_ext >&5
! 3467:
! 3468:
! 3469: fi
! 3470:
! 3471: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3472: fi
! 3473:
! 3474: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3475: fi
! 3476:
! 3477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3478: ac_c_werror_flag=$ac_save_c_werror_flag
! 3479: fi
! 3480: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 3481: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 3482: if test "$ac_test_CFLAGS" = set; then
! 3483: CFLAGS=$ac_save_CFLAGS
! 3484: elif test $ac_cv_prog_cc_g = yes; then
! 3485: if test "$GCC" = yes; then
! 3486: CFLAGS="-g -O2"
! 3487: else
! 3488: CFLAGS="-g"
! 3489: fi
! 3490: else
! 3491: if test "$GCC" = yes; then
! 3492: CFLAGS="-O2"
! 3493: else
! 3494: CFLAGS=
! 3495: fi
! 3496: fi
! 3497: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 3498: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 3499: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 3500: $as_echo_n "(cached) " >&6
! 3501: else
! 3502: ac_cv_prog_cc_c89=no
! 3503: ac_save_CC=$CC
! 3504: cat >conftest.$ac_ext <<_ACEOF
! 3505: /* confdefs.h. */
! 3506: _ACEOF
! 3507: cat confdefs.h >>conftest.$ac_ext
! 3508: cat >>conftest.$ac_ext <<_ACEOF
! 3509: /* end confdefs.h. */
! 3510: #include <stdarg.h>
! 3511: #include <stdio.h>
! 3512: #include <sys/types.h>
! 3513: #include <sys/stat.h>
! 3514: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3515: struct buf { int x; };
! 3516: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3517: static char *e (p, i)
! 3518: char **p;
! 3519: int i;
! 3520: {
! 3521: return p[i];
! 3522: }
! 3523: static char *f (char * (*g) (char **, int), char **p, ...)
! 3524: {
! 3525: char *s;
! 3526: va_list v;
! 3527: va_start (v,p);
! 3528: s = g (p, va_arg (v,int));
! 3529: va_end (v);
! 3530: return s;
! 3531: }
! 3532:
! 3533: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3534: function prototypes and stuff, but not '\xHH' hex character constants.
! 3535: These don't provoke an error unfortunately, instead are silently treated
! 3536: as 'x'. The following induces an error, until -std is added to get
! 3537: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3538: array size at least. It's necessary to write '\x00'==0 to get something
! 3539: that's true only with -std. */
! 3540: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3541:
! 3542: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3543: inside strings and character constants. */
! 3544: #define FOO(x) 'x'
! 3545: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3546:
! 3547: int test (int i, double x);
! 3548: struct s1 {int (*f) (int a);};
! 3549: struct s2 {int (*f) (double a);};
! 3550: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3551: int argc;
! 3552: char **argv;
! 3553: int
! 3554: main ()
! 3555: {
! 3556: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3557: ;
! 3558: return 0;
! 3559: }
! 3560: _ACEOF
! 3561: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3562: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3563: do
! 3564: CC="$ac_save_CC $ac_arg"
! 3565: rm -f conftest.$ac_objext
! 3566: if { (ac_try="$ac_compile"
! 3567: case "(($ac_try" in
! 3568: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3569: *) ac_try_echo=$ac_try;;
! 3570: esac
! 3571: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3572: $as_echo "$ac_try_echo") >&5
! 3573: (eval "$ac_compile") 2>conftest.er1
! 3574: ac_status=$?
! 3575: grep -v '^ *+' conftest.er1 >conftest.err
! 3576: rm -f conftest.er1
! 3577: cat conftest.err >&5
! 3578: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3579: (exit $ac_status); } && {
! 3580: test -z "$ac_c_werror_flag" ||
! 3581: test ! -s conftest.err
! 3582: } && test -s conftest.$ac_objext; then
! 3583: ac_cv_prog_cc_c89=$ac_arg
! 3584: else
! 3585: $as_echo "$as_me: failed program was:" >&5
! 3586: sed 's/^/| /' conftest.$ac_ext >&5
! 3587:
! 3588:
! 3589: fi
! 3590:
! 3591: rm -f core conftest.err conftest.$ac_objext
! 3592: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3593: done
! 3594: rm -f conftest.$ac_ext
! 3595: CC=$ac_save_CC
! 3596:
! 3597: fi
! 3598: # AC_CACHE_VAL
! 3599: case "x$ac_cv_prog_cc_c89" in
! 3600: x)
! 3601: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 3602: $as_echo "none needed" >&6; } ;;
! 3603: xno)
! 3604: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 3605: $as_echo "unsupported" >&6; } ;;
! 3606: *)
! 3607: CC="$CC $ac_cv_prog_cc_c89"
! 3608: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 3609: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 3610: esac
! 3611:
! 3612:
! 3613: ac_ext=c
! 3614: ac_cpp='$CPP $CPPFLAGS'
! 3615: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3616: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3617: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3618: DEPDIR="${am__leading_dot}deps"
! 3619:
! 3620: ac_config_commands="$ac_config_commands depfiles"
! 3621:
! 3622:
! 3623: am_make=${MAKE-make}
! 3624: cat > confinc << 'END'
! 3625: am__doit:
! 3626: @echo done
! 3627: .PHONY: am__doit
! 3628: END
! 3629: # If we don't find an include directive, just comment out the code.
! 3630: { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 3631: $as_echo_n "checking for style of include used by $am_make... " >&6; }
! 3632: am__include="#"
! 3633: am__quote=
! 3634: _am_result=none
! 3635: # First try GNU make style include.
! 3636: echo "include confinc" > confmf
! 3637: # We grep out `Entering directory' and `Leaving directory'
! 3638: # messages which can occur if `w' ends up in MAKEFLAGS.
! 3639: # In particular we don't look at `^make:' because GNU make might
! 3640: # be invoked under some other name (usually "gmake"), in which
! 3641: # case it prints its new name instead of `make'.
! 3642: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 3643: am__include=include
! 3644: am__quote=
! 3645: _am_result=GNU
! 3646: fi
! 3647: # Now try BSD make style include.
! 3648: if test "$am__include" = "#"; then
! 3649: echo '.include "confinc"' > confmf
! 3650: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 3651: am__include=.include
! 3652: am__quote="\""
! 3653: _am_result=BSD
! 3654: fi
! 3655: fi
! 3656:
! 3657:
! 3658: { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
! 3659: $as_echo "$_am_result" >&6; }
! 3660: rm -f confinc confmf
! 3661:
! 3662: # Check whether --enable-dependency-tracking was given.
! 3663: if test "${enable_dependency_tracking+set}" = set; then
! 3664: enableval=$enable_dependency_tracking;
! 3665: fi
! 3666:
! 3667: if test "x$enable_dependency_tracking" != xno; then
! 3668: am_depcomp="$ac_aux_dir/depcomp"
! 3669: AMDEPBACKSLASH='\'
! 3670: fi
! 3671: if test "x$enable_dependency_tracking" != xno; then
! 3672: AMDEP_TRUE=
! 3673: AMDEP_FALSE='#'
! 3674: else
! 3675: AMDEP_TRUE='#'
! 3676: AMDEP_FALSE=
! 3677: fi
! 3678:
! 3679:
! 3680:
! 3681: depcc="$CC" am_compiler_list=
! 3682:
! 3683: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 3684: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 3685: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 3686: $as_echo_n "(cached) " >&6
! 3687: else
! 3688: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 3689: # We make a subdir and do the tests there. Otherwise we can end up
! 3690: # making bogus files that we don't know about and never remove. For
! 3691: # instance it was reported that on HP-UX the gcc test will end up
! 3692: # making a dummy file named `D' -- because `-MD' means `put the output
! 3693: # in D'.
! 3694: mkdir conftest.dir
! 3695: # Copy depcomp to subdir because otherwise we won't find it if we're
! 3696: # using a relative directory.
! 3697: cp "$am_depcomp" conftest.dir
! 3698: cd conftest.dir
! 3699: # We will build objects and dependencies in a subdirectory because
! 3700: # it helps to detect inapplicable dependency modes. For instance
! 3701: # both Tru64's cc and ICC support -MD to output dependencies as a
! 3702: # side effect of compilation, but ICC will put the dependencies in
! 3703: # the current directory while Tru64 will put them in the object
! 3704: # directory.
! 3705: mkdir sub
! 3706:
! 3707: am_cv_CC_dependencies_compiler_type=none
! 3708: if test "$am_compiler_list" = ""; then
! 3709: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 3710: fi
! 3711: for depmode in $am_compiler_list; do
! 3712: # Setup a source with many dependencies, because some compilers
! 3713: # like to wrap large dependency lists on column 80 (with \), and
! 3714: # we should not choose a depcomp mode which is confused by this.
! 3715: #
! 3716: # We need to recreate these files for each test, as the compiler may
! 3717: # overwrite some of them when testing with obscure command lines.
! 3718: # This happens at least with the AIX C compiler.
! 3719: : > sub/conftest.c
! 3720: for i in 1 2 3 4 5 6; do
! 3721: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 3722: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 3723: # Solaris 8's {/usr,}/bin/sh.
! 3724: touch sub/conftst$i.h
! 3725: done
! 3726: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 3727:
! 3728: case $depmode in
! 3729: nosideeffect)
! 3730: # after this tag, mechanisms are not by side-effect, so they'll
! 3731: # only be used when explicitly requested
! 3732: if test "x$enable_dependency_tracking" = xyes; then
! 3733: continue
! 3734: else
! 3735: break
! 3736: fi
! 3737: ;;
! 3738: none) break ;;
! 3739: esac
! 3740: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 3741: # mode. It turns out that the SunPro C++ compiler does not properly
! 3742: # handle `-M -o', and we need to detect this.
! 3743: if depmode=$depmode \
! 3744: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 3745: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 3746: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 3747: >/dev/null 2>conftest.err &&
! 3748: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 3749: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 3750: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 3751: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 3752: # icc doesn't choke on unknown options, it will just issue warnings
! 3753: # or remarks (even with -Werror). So we grep stderr for any message
! 3754: # that says an option was ignored or not supported.
! 3755: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 3756: # icc: Command line warning: ignoring option '-M'; no argument required
! 3757: # The diagnosis changed in icc 8.0:
! 3758: # icc: Command line remark: option '-MP' not supported
! 3759: if (grep 'ignoring option' conftest.err ||
! 3760: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 3761: am_cv_CC_dependencies_compiler_type=$depmode
! 3762: break
! 3763: fi
! 3764: fi
! 3765: done
! 3766:
! 3767: cd ..
! 3768: rm -rf conftest.dir
! 3769: else
! 3770: am_cv_CC_dependencies_compiler_type=none
! 3771: fi
! 3772:
! 3773: fi
! 3774: { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3775: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
! 3776: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 3777:
! 3778: if
! 3779: test "x$enable_dependency_tracking" != xno \
! 3780: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 3781: am__fastdepCC_TRUE=
! 3782: am__fastdepCC_FALSE='#'
! 3783: else
! 3784: am__fastdepCC_TRUE='#'
! 3785: am__fastdepCC_FALSE=
! 3786: fi
! 3787:
! 3788:
! 3789: # Check whether --enable-shared was given.
! 3790: if test "${enable_shared+set}" = set; then
! 3791: enableval=$enable_shared; p=${PACKAGE-default}
! 3792: case $enableval in
! 3793: yes) enable_shared=yes ;;
! 3794: no) enable_shared=no ;;
! 3795: *)
! 3796: enable_shared=no
! 3797: # Look at the argument we got. We use all the common list separators.
! 3798: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3799: for pkg in $enableval; do
! 3800: IFS="$lt_save_ifs"
! 3801: if test "X$pkg" = "X$p"; then
! 3802: enable_shared=yes
! 3803: fi
! 3804: done
! 3805: IFS="$lt_save_ifs"
! 3806: ;;
! 3807: esac
! 3808: else
! 3809: enable_shared=yes
! 3810: fi
! 3811:
! 3812:
! 3813: # Check whether --enable-static was given.
! 3814: if test "${enable_static+set}" = set; then
! 3815: enableval=$enable_static; p=${PACKAGE-default}
! 3816: case $enableval in
! 3817: yes) enable_static=yes ;;
! 3818: no) enable_static=no ;;
! 3819: *)
! 3820: enable_static=no
! 3821: # Look at the argument we got. We use all the common list separators.
! 3822: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3823: for pkg in $enableval; do
! 3824: IFS="$lt_save_ifs"
! 3825: if test "X$pkg" = "X$p"; then
! 3826: enable_static=yes
! 3827: fi
! 3828: done
! 3829: IFS="$lt_save_ifs"
! 3830: ;;
! 3831: esac
! 3832: else
! 3833: enable_static=yes
! 3834: fi
! 3835:
! 3836:
! 3837: # Check whether --enable-fast-install was given.
! 3838: if test "${enable_fast_install+set}" = set; then
! 3839: enableval=$enable_fast_install; p=${PACKAGE-default}
! 3840: case $enableval in
! 3841: yes) enable_fast_install=yes ;;
! 3842: no) enable_fast_install=no ;;
! 3843: *)
! 3844: enable_fast_install=no
! 3845: # Look at the argument we got. We use all the common list separators.
! 3846: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3847: for pkg in $enableval; do
! 3848: IFS="$lt_save_ifs"
! 3849: if test "X$pkg" = "X$p"; then
! 3850: enable_fast_install=yes
! 3851: fi
! 3852: done
! 3853: IFS="$lt_save_ifs"
! 3854: ;;
! 3855: esac
! 3856: else
! 3857: enable_fast_install=yes
! 3858: fi
! 3859:
! 3860:
! 3861: { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3862: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 3863: if test "${lt_cv_path_SED+set}" = set; then
! 3864: $as_echo_n "(cached) " >&6
! 3865: else
! 3866: # Loop through the user's path and test for sed and gsed.
! 3867: # Then use that list of sed's as ones to test for truncation.
! 3868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3869: for as_dir in $PATH
! 3870: do
! 3871: IFS=$as_save_IFS
! 3872: test -z "$as_dir" && as_dir=.
! 3873: for lt_ac_prog in sed gsed; do
! 3874: for ac_exec_ext in '' $ac_executable_extensions; do
! 3875: if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
! 3876: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 3877: fi
! 3878: done
! 3879: done
! 3880: done
! 3881: IFS=$as_save_IFS
! 3882: lt_ac_max=0
! 3883: lt_ac_count=0
! 3884: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3885: # along with /bin/sed that truncates output.
! 3886: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 3887: test ! -f $lt_ac_sed && continue
! 3888: cat /dev/null > conftest.in
! 3889: lt_ac_count=0
! 3890: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 3891: # Check for GNU sed and select it if it is found.
! 3892: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 3893: lt_cv_path_SED=$lt_ac_sed
! 3894: break
! 3895: fi
! 3896: while true; do
! 3897: cat conftest.in conftest.in >conftest.tmp
! 3898: mv conftest.tmp conftest.in
! 3899: cp conftest.in conftest.nl
! 3900: echo >>conftest.nl
! 3901: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 3902: cmp -s conftest.out conftest.nl || break
! 3903: # 10000 chars as input seems more than enough
! 3904: test $lt_ac_count -gt 10 && break
! 3905: lt_ac_count=`expr $lt_ac_count + 1`
! 3906: if test $lt_ac_count -gt $lt_ac_max; then
! 3907: lt_ac_max=$lt_ac_count
! 3908: lt_cv_path_SED=$lt_ac_sed
! 3909: fi
! 3910: done
! 3911: done
! 3912:
! 3913: fi
! 3914:
! 3915: SED=$lt_cv_path_SED
! 3916:
! 3917: { $as_echo "$as_me:$LINENO: result: $SED" >&5
! 3918: $as_echo "$SED" >&6; }
! 3919:
! 3920: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 3921: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 3922: if test "${ac_cv_path_GREP+set}" = set; then
! 3923: $as_echo_n "(cached) " >&6
! 3924: else
! 3925: if test -z "$GREP"; then
! 3926: ac_path_GREP_found=false
! 3927: # Loop through the user's path and test for each of PROGNAME-LIST
! 3928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3929: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3930: do
! 3931: IFS=$as_save_IFS
! 3932: test -z "$as_dir" && as_dir=.
! 3933: for ac_prog in grep ggrep; do
! 3934: for ac_exec_ext in '' $ac_executable_extensions; do
! 3935: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 3936: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 3937: # Check for GNU ac_path_GREP and select it if it is found.
! 3938: # Check for GNU $ac_path_GREP
! 3939: case `"$ac_path_GREP" --version 2>&1` in
! 3940: *GNU*)
! 3941: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 3942: *)
! 3943: ac_count=0
! 3944: $as_echo_n 0123456789 >"conftest.in"
! 3945: while :
! 3946: do
! 3947: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3948: mv "conftest.tmp" "conftest.in"
! 3949: cp "conftest.in" "conftest.nl"
! 3950: $as_echo 'GREP' >> "conftest.nl"
! 3951: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3952: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3953: ac_count=`expr $ac_count + 1`
! 3954: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 3955: # Best one so far, save it but keep looking for a better one
! 3956: ac_cv_path_GREP="$ac_path_GREP"
! 3957: ac_path_GREP_max=$ac_count
! 3958: fi
! 3959: # 10*(2^10) chars as input seems more than enough
! 3960: test $ac_count -gt 10 && break
! 3961: done
! 3962: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3963: esac
! 3964:
! 3965: $ac_path_GREP_found && break 3
! 3966: done
! 3967: done
! 3968: done
! 3969: IFS=$as_save_IFS
! 3970: if test -z "$ac_cv_path_GREP"; then
! 3971: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3972: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3973: { (exit 1); exit 1; }; }
! 3974: fi
! 3975: else
! 3976: ac_cv_path_GREP=$GREP
! 3977: fi
! 3978:
! 3979: fi
! 3980: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 3981: $as_echo "$ac_cv_path_GREP" >&6; }
! 3982: GREP="$ac_cv_path_GREP"
! 3983:
! 3984:
! 3985: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
! 3986: $as_echo_n "checking for egrep... " >&6; }
! 3987: if test "${ac_cv_path_EGREP+set}" = set; then
! 3988: $as_echo_n "(cached) " >&6
! 3989: else
! 3990: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3991: then ac_cv_path_EGREP="$GREP -E"
! 3992: else
! 3993: if test -z "$EGREP"; then
! 3994: ac_path_EGREP_found=false
! 3995: # Loop through the user's path and test for each of PROGNAME-LIST
! 3996: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3997: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3998: do
! 3999: IFS=$as_save_IFS
! 4000: test -z "$as_dir" && as_dir=.
! 4001: for ac_prog in egrep; do
! 4002: for ac_exec_ext in '' $ac_executable_extensions; do
! 4003: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4004: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 4005: # Check for GNU ac_path_EGREP and select it if it is found.
! 4006: # Check for GNU $ac_path_EGREP
! 4007: case `"$ac_path_EGREP" --version 2>&1` in
! 4008: *GNU*)
! 4009: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 4010: *)
! 4011: ac_count=0
! 4012: $as_echo_n 0123456789 >"conftest.in"
! 4013: while :
! 4014: do
! 4015: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4016: mv "conftest.tmp" "conftest.in"
! 4017: cp "conftest.in" "conftest.nl"
! 4018: $as_echo 'EGREP' >> "conftest.nl"
! 4019: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4020: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4021: ac_count=`expr $ac_count + 1`
! 4022: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 4023: # Best one so far, save it but keep looking for a better one
! 4024: ac_cv_path_EGREP="$ac_path_EGREP"
! 4025: ac_path_EGREP_max=$ac_count
! 4026: fi
! 4027: # 10*(2^10) chars as input seems more than enough
! 4028: test $ac_count -gt 10 && break
! 4029: done
! 4030: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4031: esac
! 4032:
! 4033: $ac_path_EGREP_found && break 3
! 4034: done
! 4035: done
! 4036: done
! 4037: IFS=$as_save_IFS
! 4038: if test -z "$ac_cv_path_EGREP"; then
! 4039: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 4040: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 4041: { (exit 1); exit 1; }; }
! 4042: fi
! 4043: else
! 4044: ac_cv_path_EGREP=$EGREP
! 4045: fi
! 4046:
! 4047: fi
! 4048: fi
! 4049: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 4050: $as_echo "$ac_cv_path_EGREP" >&6; }
! 4051: EGREP="$ac_cv_path_EGREP"
! 4052:
! 4053:
! 4054:
! 4055: # Check whether --with-gnu-ld was given.
! 4056: if test "${with_gnu_ld+set}" = set; then
! 4057: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 4058: else
! 4059: with_gnu_ld=no
! 4060: fi
! 4061:
! 4062: ac_prog=ld
! 4063: if test "$GCC" = yes; then
! 4064: # Check if gcc -print-prog-name=ld gives a path.
! 4065: { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 4066: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4067: case $host in
! 4068: *-*-mingw*)
! 4069: # gcc leaves a trailing carriage return which upsets mingw
! 4070: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4071: *)
! 4072: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4073: esac
! 4074: case $ac_prog in
! 4075: # Accept absolute paths.
! 4076: [\\/]* | ?:[\\/]*)
! 4077: re_direlt='/[^/][^/]*/\.\./'
! 4078: # Canonicalize the pathname of ld
! 4079: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 4080: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 4081: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 4082: done
! 4083: test -z "$LD" && LD="$ac_prog"
! 4084: ;;
! 4085: "")
! 4086: # If it fails, then pretend we aren't using GCC.
! 4087: ac_prog=ld
! 4088: ;;
! 4089: *)
! 4090: # If it is relative, then search for the first ld in PATH.
! 4091: with_gnu_ld=unknown
! 4092: ;;
! 4093: esac
! 4094: elif test "$with_gnu_ld" = yes; then
! 4095: { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
! 4096: $as_echo_n "checking for GNU ld... " >&6; }
! 4097: else
! 4098: { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 4099: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4100: fi
! 4101: if test "${lt_cv_path_LD+set}" = set; then
! 4102: $as_echo_n "(cached) " >&6
! 4103: else
! 4104: if test -z "$LD"; then
! 4105: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4106: for ac_dir in $PATH; do
! 4107: IFS="$lt_save_ifs"
! 4108: test -z "$ac_dir" && ac_dir=.
! 4109: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4110: lt_cv_path_LD="$ac_dir/$ac_prog"
! 4111: # Check to see if the program is GNU ld. I'd rather use --version,
! 4112: # but apparently some variants of GNU ld only accept -v.
! 4113: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4114: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4115: *GNU* | *'with BFD'*)
! 4116: test "$with_gnu_ld" != no && break
! 4117: ;;
! 4118: *)
! 4119: test "$with_gnu_ld" != yes && break
! 4120: ;;
! 4121: esac
! 4122: fi
! 4123: done
! 4124: IFS="$lt_save_ifs"
! 4125: else
! 4126: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 4127: fi
! 4128: fi
! 4129:
! 4130: LD="$lt_cv_path_LD"
! 4131: if test -n "$LD"; then
! 4132: { $as_echo "$as_me:$LINENO: result: $LD" >&5
! 4133: $as_echo "$LD" >&6; }
! 4134: else
! 4135: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4136: $as_echo "no" >&6; }
! 4137: fi
! 4138: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 4139: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 4140: { (exit 1); exit 1; }; }
! 4141: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 4142: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4143: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 4144: $as_echo_n "(cached) " >&6
! 4145: else
! 4146: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4147: case `$LD -v 2>&1 </dev/null` in
! 4148: *GNU* | *'with BFD'*)
! 4149: lt_cv_prog_gnu_ld=yes
! 4150: ;;
! 4151: *)
! 4152: lt_cv_prog_gnu_ld=no
! 4153: ;;
! 4154: esac
! 4155: fi
! 4156: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 4157: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4158: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4159:
! 4160:
! 4161: { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4162: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 4163: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4164: $as_echo_n "(cached) " >&6
! 4165: else
! 4166: lt_cv_ld_reload_flag='-r'
! 4167: fi
! 4168: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4169: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 4170: reload_flag=$lt_cv_ld_reload_flag
! 4171: case $reload_flag in
! 4172: "" | " "*) ;;
! 4173: *) reload_flag=" $reload_flag" ;;
! 4174: esac
! 4175: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4176: case $host_os in
! 4177: darwin*)
! 4178: if test "$GCC" = yes; then
! 4179: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4180: else
! 4181: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4182: fi
! 4183: ;;
! 4184: esac
! 4185:
! 4186: { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 4187: $as_echo_n "checking for BSD-compatible nm... " >&6; }
! 4188: if test "${lt_cv_path_NM+set}" = set; then
! 4189: $as_echo_n "(cached) " >&6
! 4190: else
! 4191: if test -n "$NM"; then
! 4192: # Let the user override the test.
! 4193: lt_cv_path_NM="$NM"
! 4194: else
! 4195: lt_nm_to_check="${ac_tool_prefix}nm"
! 4196: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 4197: lt_nm_to_check="$lt_nm_to_check nm"
! 4198: fi
! 4199: for lt_tmp_nm in $lt_nm_to_check; do
! 4200: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4201: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 4202: IFS="$lt_save_ifs"
! 4203: test -z "$ac_dir" && ac_dir=.
! 4204: tmp_nm="$ac_dir/$lt_tmp_nm"
! 4205: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 4206: # Check to see if the nm accepts a BSD-compat flag.
! 4207: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 4208: # nm: unknown option "B" ignored
! 4209: # Tru64's nm complains that /dev/null is an invalid object file
! 4210: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 4211: */dev/null* | *'Invalid file or object type'*)
! 4212: lt_cv_path_NM="$tmp_nm -B"
! 4213: break
! 4214: ;;
! 4215: *)
! 4216: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 4217: */dev/null*)
! 4218: lt_cv_path_NM="$tmp_nm -p"
! 4219: break
! 4220: ;;
! 4221: *)
! 4222: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 4223: continue # so that we can try to find one that supports BSD flags
! 4224: ;;
! 4225: esac
! 4226: ;;
! 4227: esac
! 4228: fi
! 4229: done
! 4230: IFS="$lt_save_ifs"
! 4231: done
! 4232: test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
! 4233: fi
! 4234: fi
! 4235: { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 4236: $as_echo "$lt_cv_path_NM" >&6; }
! 4237: NM="$lt_cv_path_NM"
! 4238:
! 4239: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 4240: $as_echo_n "checking whether ln -s works... " >&6; }
! 4241: LN_S=$as_ln_s
! 4242: if test "$LN_S" = "ln -s"; then
! 4243: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 4244: $as_echo "yes" >&6; }
! 4245: else
! 4246: { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 4247: $as_echo "no, using $LN_S" >&6; }
! 4248: fi
! 4249:
! 4250: { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4251: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 4252: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4253: $as_echo_n "(cached) " >&6
! 4254: else
! 4255: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4256: lt_cv_file_magic_test_file=
! 4257: lt_cv_deplibs_check_method='unknown'
! 4258: # Need to set the preceding variable on all platforms that support
! 4259: # interlibrary dependencies.
! 4260: # 'none' -- dependencies not supported.
! 4261: # `unknown' -- same as none, but documents that we really don't know.
! 4262: # 'pass_all' -- all dependencies passed with no checks.
! 4263: # 'test_compile' -- check by making test program.
! 4264: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4265: # which responds to the $file_magic_cmd with a given extended regex.
! 4266: # If you have `file' or equivalent on your system and you're not sure
! 4267: # whether `pass_all' will *always* work, you probably want this one.
! 4268:
! 4269: case $host_os in
! 4270: aix[4-9]*)
! 4271: lt_cv_deplibs_check_method=pass_all
! 4272: ;;
! 4273:
! 4274: beos*)
! 4275: lt_cv_deplibs_check_method=pass_all
! 4276: ;;
! 4277:
! 4278: bsdi[45]*)
! 4279: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4280: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4281: lt_cv_file_magic_test_file=/shlib/libc.so
! 4282: ;;
! 4283:
! 4284: cygwin*)
! 4285: # func_win32_libid is a shell function defined in ltmain.sh
! 4286: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4287: lt_cv_file_magic_cmd='func_win32_libid'
! 4288: ;;
! 4289:
! 4290: mingw* | pw32*)
! 4291: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4292: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4293: # unless we find 'file', for example because we are cross-compiling.
! 4294: if ( file / ) >/dev/null 2>&1; then
! 4295: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4296: lt_cv_file_magic_cmd='func_win32_libid'
! 4297: else
! 4298: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 4299: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4300: fi
! 4301: ;;
! 4302:
! 4303: darwin* | rhapsody*)
! 4304: lt_cv_deplibs_check_method=pass_all
! 4305: ;;
! 4306:
! 4307: freebsd* | dragonfly*)
! 4308: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4309: case $host_cpu in
! 4310: i*86 )
! 4311: # Not sure whether the presence of OpenBSD here was a mistake.
! 4312: # Let's accept both of them until this is cleared up.
! 4313: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 4314: lt_cv_file_magic_cmd=/usr/bin/file
! 4315: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 4316: ;;
! 4317: esac
! 4318: else
! 4319: lt_cv_deplibs_check_method=pass_all
! 4320: fi
! 4321: ;;
! 4322:
! 4323: gnu*)
! 4324: lt_cv_deplibs_check_method=pass_all
! 4325: ;;
! 4326:
! 4327: hpux10.20* | hpux11*)
! 4328: lt_cv_file_magic_cmd=/usr/bin/file
! 4329: case $host_cpu in
! 4330: ia64*)
! 4331: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4332: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4333: ;;
! 4334: hppa*64*)
! 4335: 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]'
! 4336: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 4337: ;;
! 4338: *)
! 4339: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 4340: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 4341: ;;
! 4342: esac
! 4343: ;;
! 4344:
! 4345: interix[3-9]*)
! 4346: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 4347: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 4348: ;;
! 4349:
! 4350: irix5* | irix6* | nonstopux*)
! 4351: case $LD in
! 4352: *-32|*"-32 ") libmagic=32-bit;;
! 4353: *-n32|*"-n32 ") libmagic=N32;;
! 4354: *-64|*"-64 ") libmagic=64-bit;;
! 4355: *) libmagic=never-match;;
! 4356: esac
! 4357: lt_cv_deplibs_check_method=pass_all
! 4358: ;;
! 4359:
! 4360: # This must be Linux ELF.
! 4361: linux* | k*bsd*-gnu)
! 4362: lt_cv_deplibs_check_method=pass_all
! 4363: ;;
! 4364:
! 4365: netbsd*)
! 4366: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4367: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 4368: else
! 4369: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 4370: fi
! 4371: ;;
! 4372:
! 4373: newos6*)
! 4374: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 4375: lt_cv_file_magic_cmd=/usr/bin/file
! 4376: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 4377: ;;
! 4378:
! 4379: nto-qnx*)
! 4380: lt_cv_deplibs_check_method=unknown
! 4381: ;;
! 4382:
! 4383: openbsd*)
! 4384: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4385: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 4386: else
! 4387: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 4388: fi
! 4389: ;;
! 4390:
! 4391: osf3* | osf4* | osf5*)
! 4392: lt_cv_deplibs_check_method=pass_all
! 4393: ;;
! 4394:
! 4395: rdos*)
! 4396: lt_cv_deplibs_check_method=pass_all
! 4397: ;;
! 4398:
! 4399: solaris*)
! 4400: lt_cv_deplibs_check_method=pass_all
! 4401: ;;
! 4402:
! 4403: sysv4 | sysv4.3*)
! 4404: case $host_vendor in
! 4405: motorola)
! 4406: 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]'
! 4407: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 4408: ;;
! 4409: ncr)
! 4410: lt_cv_deplibs_check_method=pass_all
! 4411: ;;
! 4412: sequent)
! 4413: lt_cv_file_magic_cmd='/bin/file'
! 4414: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 4415: ;;
! 4416: sni)
! 4417: lt_cv_file_magic_cmd='/bin/file'
! 4418: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 4419: lt_cv_file_magic_test_file=/lib/libc.so
! 4420: ;;
! 4421: siemens)
! 4422: lt_cv_deplibs_check_method=pass_all
! 4423: ;;
! 4424: pc)
! 4425: lt_cv_deplibs_check_method=pass_all
! 4426: ;;
! 4427: esac
! 4428: ;;
! 4429:
! 4430: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 4431: lt_cv_deplibs_check_method=pass_all
! 4432: ;;
! 4433: esac
! 4434:
! 4435: fi
! 4436: { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 4437: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 4438: file_magic_cmd=$lt_cv_file_magic_cmd
! 4439: deplibs_check_method=$lt_cv_deplibs_check_method
! 4440: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 4441:
! 4442:
! 4443:
! 4444:
! 4445: # If no C compiler was specified, use CC.
! 4446: LTCC=${LTCC-"$CC"}
! 4447:
! 4448: # If no C compiler flags were specified, use CFLAGS.
! 4449: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 4450:
! 4451: # Allow CC to be a program name with arguments.
! 4452: compiler=$CC
! 4453:
! 4454:
! 4455: # Check whether --enable-libtool-lock was given.
! 4456: if test "${enable_libtool_lock+set}" = set; then
! 4457: enableval=$enable_libtool_lock;
! 4458: fi
! 4459:
! 4460: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 4461:
! 4462: # Some flags need to be propagated to the compiler or linker for good
! 4463: # libtool support.
! 4464: case $host in
! 4465: ia64-*-hpux*)
! 4466: # Find out which ABI we are using.
! 4467: echo 'int i;' > conftest.$ac_ext
! 4468: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4469: (eval $ac_compile) 2>&5
! 4470: ac_status=$?
! 4471: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4472: (exit $ac_status); }; then
! 4473: case `/usr/bin/file conftest.$ac_objext` in
! 4474: *ELF-32*)
! 4475: HPUX_IA64_MODE="32"
! 4476: ;;
! 4477: *ELF-64*)
! 4478: HPUX_IA64_MODE="64"
! 4479: ;;
! 4480: esac
! 4481: fi
! 4482: rm -rf conftest*
! 4483: ;;
! 4484: *-*-irix6*)
! 4485: # Find out which ABI we are using.
! 4486: echo '#line 4486 "configure"' > conftest.$ac_ext
! 4487: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4488: (eval $ac_compile) 2>&5
! 4489: ac_status=$?
! 4490: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4491: (exit $ac_status); }; then
! 4492: if test "$lt_cv_prog_gnu_ld" = yes; then
! 4493: case `/usr/bin/file conftest.$ac_objext` in
! 4494: *32-bit*)
! 4495: LD="${LD-ld} -melf32bsmip"
! 4496: ;;
! 4497: *N32*)
! 4498: LD="${LD-ld} -melf32bmipn32"
! 4499: ;;
! 4500: *64-bit*)
! 4501: LD="${LD-ld} -melf64bmip"
! 4502: ;;
! 4503: esac
! 4504: else
! 4505: case `/usr/bin/file conftest.$ac_objext` in
! 4506: *32-bit*)
! 4507: LD="${LD-ld} -32"
! 4508: ;;
! 4509: *N32*)
! 4510: LD="${LD-ld} -n32"
! 4511: ;;
! 4512: *64-bit*)
! 4513: LD="${LD-ld} -64"
! 4514: ;;
! 4515: esac
! 4516: fi
! 4517: fi
! 4518: rm -rf conftest*
! 4519: ;;
! 4520:
! 4521: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 4522: s390*-*linux*|sparc*-*linux*)
! 4523: # Find out which ABI we are using.
! 4524: echo 'int i;' > conftest.$ac_ext
! 4525: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4526: (eval $ac_compile) 2>&5
! 4527: ac_status=$?
! 4528: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4529: (exit $ac_status); }; then
! 4530: case `/usr/bin/file conftest.o` in
! 4531: *32-bit*)
! 4532: case $host in
! 4533: x86_64-*kfreebsd*-gnu)
! 4534: LD="${LD-ld} -m elf_i386_fbsd"
! 4535: ;;
! 4536: x86_64-*linux*)
! 4537: LD="${LD-ld} -m elf_i386"
! 4538: ;;
! 4539: ppc64-*linux*|powerpc64-*linux*)
! 4540: LD="${LD-ld} -m elf32ppclinux"
! 4541: ;;
! 4542: s390x-*linux*)
! 4543: LD="${LD-ld} -m elf_s390"
! 4544: ;;
! 4545: sparc64-*linux*)
! 4546: LD="${LD-ld} -m elf32_sparc"
! 4547: ;;
! 4548: esac
! 4549: ;;
! 4550: *64-bit*)
! 4551: case $host in
! 4552: x86_64-*kfreebsd*-gnu)
! 4553: LD="${LD-ld} -m elf_x86_64_fbsd"
! 4554: ;;
! 4555: x86_64-*linux*)
! 4556: LD="${LD-ld} -m elf_x86_64"
! 4557: ;;
! 4558: ppc*-*linux*|powerpc*-*linux*)
! 4559: LD="${LD-ld} -m elf64ppc"
! 4560: ;;
! 4561: s390*-*linux*)
! 4562: LD="${LD-ld} -m elf64_s390"
! 4563: ;;
! 4564: sparc*-*linux*)
! 4565: LD="${LD-ld} -m elf64_sparc"
! 4566: ;;
! 4567: esac
! 4568: ;;
! 4569: esac
! 4570: fi
! 4571: rm -rf conftest*
! 4572: ;;
! 4573:
! 4574: *-*-sco3.2v5*)
! 4575: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 4576: SAVE_CFLAGS="$CFLAGS"
! 4577: CFLAGS="$CFLAGS -belf"
! 4578: { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 4579: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 4580: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 4581: $as_echo_n "(cached) " >&6
! 4582: else
! 4583: ac_ext=c
! 4584: ac_cpp='$CPP $CPPFLAGS'
! 4585: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4586: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4587: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4588:
! 4589: cat >conftest.$ac_ext <<_ACEOF
! 4590: /* confdefs.h. */
! 4591: _ACEOF
! 4592: cat confdefs.h >>conftest.$ac_ext
! 4593: cat >>conftest.$ac_ext <<_ACEOF
! 4594: /* end confdefs.h. */
! 4595:
! 4596: int
! 4597: main ()
! 4598: {
! 4599:
! 4600: ;
! 4601: return 0;
! 4602: }
! 4603: _ACEOF
! 4604: rm -f conftest.$ac_objext conftest$ac_exeext
! 4605: if { (ac_try="$ac_link"
! 4606: case "(($ac_try" in
! 4607: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4608: *) ac_try_echo=$ac_try;;
! 4609: esac
! 4610: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4611: $as_echo "$ac_try_echo") >&5
! 4612: (eval "$ac_link") 2>conftest.er1
! 4613: ac_status=$?
! 4614: grep -v '^ *+' conftest.er1 >conftest.err
! 4615: rm -f conftest.er1
! 4616: cat conftest.err >&5
! 4617: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4618: (exit $ac_status); } && {
! 4619: test -z "$ac_c_werror_flag" ||
! 4620: test ! -s conftest.err
! 4621: } && test -s conftest$ac_exeext && {
! 4622: test "$cross_compiling" = yes ||
! 4623: $as_test_x conftest$ac_exeext
! 4624: }; then
! 4625: lt_cv_cc_needs_belf=yes
! 4626: else
! 4627: $as_echo "$as_me: failed program was:" >&5
! 4628: sed 's/^/| /' conftest.$ac_ext >&5
! 4629:
! 4630: lt_cv_cc_needs_belf=no
! 4631: fi
! 4632:
! 4633: rm -rf conftest.dSYM
! 4634: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 4635: conftest$ac_exeext conftest.$ac_ext
! 4636: ac_ext=c
! 4637: ac_cpp='$CPP $CPPFLAGS'
! 4638: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4639: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4640: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4641:
! 4642: fi
! 4643: { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 4644: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 4645: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 4646: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 4647: CFLAGS="$SAVE_CFLAGS"
! 4648: fi
! 4649: ;;
! 4650: sparc*-*solaris*)
! 4651: # Find out which ABI we are using.
! 4652: echo 'int i;' > conftest.$ac_ext
! 4653: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4654: (eval $ac_compile) 2>&5
! 4655: ac_status=$?
! 4656: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4657: (exit $ac_status); }; then
! 4658: case `/usr/bin/file conftest.o` in
! 4659: *64-bit*)
! 4660: case $lt_cv_prog_gnu_ld in
! 4661: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 4662: *)
! 4663: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 4664: LD="${LD-ld} -64"
! 4665: fi
! 4666: ;;
! 4667: esac
! 4668: ;;
! 4669: esac
! 4670: fi
! 4671: rm -rf conftest*
! 4672: ;;
! 4673:
! 4674:
! 4675: esac
! 4676:
! 4677: need_locks="$enable_libtool_lock"
! 4678:
! 4679:
! 4680: ac_ext=c
! 4681: ac_cpp='$CPP $CPPFLAGS'
! 4682: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4683: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4684: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4685: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 4686: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 4687: # On Suns, sometimes $CPP names a directory.
! 4688: if test -n "$CPP" && test -d "$CPP"; then
! 4689: CPP=
! 4690: fi
! 4691: if test -z "$CPP"; then
! 4692: if test "${ac_cv_prog_CPP+set}" = set; then
! 4693: $as_echo_n "(cached) " >&6
! 4694: else
! 4695: # Double quotes because CPP needs to be expanded
! 4696: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 4697: do
! 4698: ac_preproc_ok=false
! 4699: for ac_c_preproc_warn_flag in '' yes
! 4700: do
! 4701: # Use a header file that comes with gcc, so configuring glibc
! 4702: # with a fresh cross-compiler works.
! 4703: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4704: # <limits.h> exists even on freestanding compilers.
! 4705: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4706: # not just through cpp. "Syntax error" is here to catch this case.
! 4707: cat >conftest.$ac_ext <<_ACEOF
! 4708: /* confdefs.h. */
! 4709: _ACEOF
! 4710: cat confdefs.h >>conftest.$ac_ext
! 4711: cat >>conftest.$ac_ext <<_ACEOF
! 4712: /* end confdefs.h. */
! 4713: #ifdef __STDC__
! 4714: # include <limits.h>
! 4715: #else
! 4716: # include <assert.h>
! 4717: #endif
! 4718: Syntax error
! 4719: _ACEOF
! 4720: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4721: case "(($ac_try" in
! 4722: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4723: *) ac_try_echo=$ac_try;;
! 4724: esac
! 4725: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4726: $as_echo "$ac_try_echo") >&5
! 4727: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4728: ac_status=$?
! 4729: grep -v '^ *+' conftest.er1 >conftest.err
! 4730: rm -f conftest.er1
! 4731: cat conftest.err >&5
! 4732: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4733: (exit $ac_status); } >/dev/null && {
! 4734: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4735: test ! -s conftest.err
! 4736: }; then
! 4737: :
! 4738: else
! 4739: $as_echo "$as_me: failed program was:" >&5
! 4740: sed 's/^/| /' conftest.$ac_ext >&5
! 4741:
! 4742: # Broken: fails on valid input.
! 4743: continue
! 4744: fi
! 4745:
! 4746: rm -f conftest.err conftest.$ac_ext
! 4747:
! 4748: # OK, works on sane cases. Now check whether nonexistent headers
! 4749: # can be detected and how.
! 4750: cat >conftest.$ac_ext <<_ACEOF
! 4751: /* confdefs.h. */
! 4752: _ACEOF
! 4753: cat confdefs.h >>conftest.$ac_ext
! 4754: cat >>conftest.$ac_ext <<_ACEOF
! 4755: /* end confdefs.h. */
! 4756: #include <ac_nonexistent.h>
! 4757: _ACEOF
! 4758: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4759: case "(($ac_try" in
! 4760: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4761: *) ac_try_echo=$ac_try;;
! 4762: esac
! 4763: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4764: $as_echo "$ac_try_echo") >&5
! 4765: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4766: ac_status=$?
! 4767: grep -v '^ *+' conftest.er1 >conftest.err
! 4768: rm -f conftest.er1
! 4769: cat conftest.err >&5
! 4770: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4771: (exit $ac_status); } >/dev/null && {
! 4772: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4773: test ! -s conftest.err
! 4774: }; then
! 4775: # Broken: success on invalid input.
! 4776: continue
! 4777: else
! 4778: $as_echo "$as_me: failed program was:" >&5
! 4779: sed 's/^/| /' conftest.$ac_ext >&5
! 4780:
! 4781: # Passes both tests.
! 4782: ac_preproc_ok=:
! 4783: break
! 4784: fi
! 4785:
! 4786: rm -f conftest.err conftest.$ac_ext
! 4787:
! 4788: done
! 4789: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4790: rm -f conftest.err conftest.$ac_ext
! 4791: if $ac_preproc_ok; then
! 4792: break
! 4793: fi
! 4794:
! 4795: done
! 4796: ac_cv_prog_CPP=$CPP
! 4797:
! 4798: fi
! 4799: CPP=$ac_cv_prog_CPP
! 4800: else
! 4801: ac_cv_prog_CPP=$CPP
! 4802: fi
! 4803: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
! 4804: $as_echo "$CPP" >&6; }
! 4805: ac_preproc_ok=false
! 4806: for ac_c_preproc_warn_flag in '' yes
! 4807: do
! 4808: # Use a header file that comes with gcc, so configuring glibc
! 4809: # with a fresh cross-compiler works.
! 4810: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4811: # <limits.h> exists even on freestanding compilers.
! 4812: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4813: # not just through cpp. "Syntax error" is here to catch this case.
! 4814: cat >conftest.$ac_ext <<_ACEOF
! 4815: /* confdefs.h. */
! 4816: _ACEOF
! 4817: cat confdefs.h >>conftest.$ac_ext
! 4818: cat >>conftest.$ac_ext <<_ACEOF
! 4819: /* end confdefs.h. */
! 4820: #ifdef __STDC__
! 4821: # include <limits.h>
! 4822: #else
! 4823: # include <assert.h>
! 4824: #endif
! 4825: Syntax error
! 4826: _ACEOF
! 4827: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4828: case "(($ac_try" in
! 4829: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4830: *) ac_try_echo=$ac_try;;
! 4831: esac
! 4832: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4833: $as_echo "$ac_try_echo") >&5
! 4834: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4835: ac_status=$?
! 4836: grep -v '^ *+' conftest.er1 >conftest.err
! 4837: rm -f conftest.er1
! 4838: cat conftest.err >&5
! 4839: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4840: (exit $ac_status); } >/dev/null && {
! 4841: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4842: test ! -s conftest.err
! 4843: }; then
! 4844: :
! 4845: else
! 4846: $as_echo "$as_me: failed program was:" >&5
! 4847: sed 's/^/| /' conftest.$ac_ext >&5
! 4848:
! 4849: # Broken: fails on valid input.
! 4850: continue
! 4851: fi
! 4852:
! 4853: rm -f conftest.err conftest.$ac_ext
! 4854:
! 4855: # OK, works on sane cases. Now check whether nonexistent headers
! 4856: # can be detected and how.
! 4857: cat >conftest.$ac_ext <<_ACEOF
! 4858: /* confdefs.h. */
! 4859: _ACEOF
! 4860: cat confdefs.h >>conftest.$ac_ext
! 4861: cat >>conftest.$ac_ext <<_ACEOF
! 4862: /* end confdefs.h. */
! 4863: #include <ac_nonexistent.h>
! 4864: _ACEOF
! 4865: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4866: case "(($ac_try" in
! 4867: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4868: *) ac_try_echo=$ac_try;;
! 4869: esac
! 4870: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4871: $as_echo "$ac_try_echo") >&5
! 4872: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4873: ac_status=$?
! 4874: grep -v '^ *+' conftest.er1 >conftest.err
! 4875: rm -f conftest.er1
! 4876: cat conftest.err >&5
! 4877: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4878: (exit $ac_status); } >/dev/null && {
! 4879: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4880: test ! -s conftest.err
! 4881: }; then
! 4882: # Broken: success on invalid input.
! 4883: continue
! 4884: else
! 4885: $as_echo "$as_me: failed program was:" >&5
! 4886: sed 's/^/| /' conftest.$ac_ext >&5
! 4887:
! 4888: # Passes both tests.
! 4889: ac_preproc_ok=:
! 4890: break
! 4891: fi
! 4892:
! 4893: rm -f conftest.err conftest.$ac_ext
! 4894:
! 4895: done
! 4896: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4897: rm -f conftest.err conftest.$ac_ext
! 4898: if $ac_preproc_ok; then
! 4899: :
! 4900: else
! 4901: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 4902: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 4903: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 4904: See \`config.log' for more details." >&5
! 4905: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 4906: See \`config.log' for more details." >&2;}
! 4907: { (exit 1); exit 1; }; }; }
! 4908: fi
! 4909:
! 4910: ac_ext=c
! 4911: ac_cpp='$CPP $CPPFLAGS'
! 4912: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4913: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4914: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4915:
! 4916:
! 4917: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 4918: $as_echo_n "checking for ANSI C header files... " >&6; }
! 4919: if test "${ac_cv_header_stdc+set}" = set; then
! 4920: $as_echo_n "(cached) " >&6
! 4921: else
! 4922: cat >conftest.$ac_ext <<_ACEOF
! 4923: /* confdefs.h. */
! 4924: _ACEOF
! 4925: cat confdefs.h >>conftest.$ac_ext
! 4926: cat >>conftest.$ac_ext <<_ACEOF
! 4927: /* end confdefs.h. */
! 4928: #include <stdlib.h>
! 4929: #include <stdarg.h>
! 4930: #include <string.h>
! 4931: #include <float.h>
! 4932:
! 4933: int
! 4934: main ()
! 4935: {
! 4936:
! 4937: ;
! 4938: return 0;
! 4939: }
! 4940: _ACEOF
! 4941: rm -f conftest.$ac_objext
! 4942: if { (ac_try="$ac_compile"
! 4943: case "(($ac_try" in
! 4944: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4945: *) ac_try_echo=$ac_try;;
! 4946: esac
! 4947: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4948: $as_echo "$ac_try_echo") >&5
! 4949: (eval "$ac_compile") 2>conftest.er1
! 4950: ac_status=$?
! 4951: grep -v '^ *+' conftest.er1 >conftest.err
! 4952: rm -f conftest.er1
! 4953: cat conftest.err >&5
! 4954: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4955: (exit $ac_status); } && {
! 4956: test -z "$ac_c_werror_flag" ||
! 4957: test ! -s conftest.err
! 4958: } && test -s conftest.$ac_objext; then
! 4959: ac_cv_header_stdc=yes
! 4960: else
! 4961: $as_echo "$as_me: failed program was:" >&5
! 4962: sed 's/^/| /' conftest.$ac_ext >&5
! 4963:
! 4964: ac_cv_header_stdc=no
! 4965: fi
! 4966:
! 4967: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4968:
! 4969: if test $ac_cv_header_stdc = yes; then
! 4970: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 4971: cat >conftest.$ac_ext <<_ACEOF
! 4972: /* confdefs.h. */
! 4973: _ACEOF
! 4974: cat confdefs.h >>conftest.$ac_ext
! 4975: cat >>conftest.$ac_ext <<_ACEOF
! 4976: /* end confdefs.h. */
! 4977: #include <string.h>
! 4978:
! 4979: _ACEOF
! 4980: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4981: $EGREP "memchr" >/dev/null 2>&1; then
! 4982: :
! 4983: else
! 4984: ac_cv_header_stdc=no
! 4985: fi
! 4986: rm -f conftest*
! 4987:
! 4988: fi
! 4989:
! 4990: if test $ac_cv_header_stdc = yes; then
! 4991: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 4992: cat >conftest.$ac_ext <<_ACEOF
! 4993: /* confdefs.h. */
! 4994: _ACEOF
! 4995: cat confdefs.h >>conftest.$ac_ext
! 4996: cat >>conftest.$ac_ext <<_ACEOF
! 4997: /* end confdefs.h. */
! 4998: #include <stdlib.h>
! 4999:
! 5000: _ACEOF
! 5001: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 5002: $EGREP "free" >/dev/null 2>&1; then
! 5003: :
! 5004: else
! 5005: ac_cv_header_stdc=no
! 5006: fi
! 5007: rm -f conftest*
! 5008:
! 5009: fi
! 5010:
! 5011: if test $ac_cv_header_stdc = yes; then
! 5012: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 5013: if test "$cross_compiling" = yes; then
! 5014: :
! 5015: else
! 5016: cat >conftest.$ac_ext <<_ACEOF
! 5017: /* confdefs.h. */
! 5018: _ACEOF
! 5019: cat confdefs.h >>conftest.$ac_ext
! 5020: cat >>conftest.$ac_ext <<_ACEOF
! 5021: /* end confdefs.h. */
! 5022: #include <ctype.h>
! 5023: #include <stdlib.h>
! 5024: #if ((' ' & 0x0FF) == 0x020)
! 5025: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 5026: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 5027: #else
! 5028: # define ISLOWER(c) \
! 5029: (('a' <= (c) && (c) <= 'i') \
! 5030: || ('j' <= (c) && (c) <= 'r') \
! 5031: || ('s' <= (c) && (c) <= 'z'))
! 5032: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 5033: #endif
! 5034:
! 5035: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 5036: int
! 5037: main ()
! 5038: {
! 5039: int i;
! 5040: for (i = 0; i < 256; i++)
! 5041: if (XOR (islower (i), ISLOWER (i))
! 5042: || toupper (i) != TOUPPER (i))
! 5043: return 2;
! 5044: return 0;
! 5045: }
! 5046: _ACEOF
! 5047: rm -f conftest$ac_exeext
! 5048: if { (ac_try="$ac_link"
! 5049: case "(($ac_try" in
! 5050: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5051: *) ac_try_echo=$ac_try;;
! 5052: esac
! 5053: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5054: $as_echo "$ac_try_echo") >&5
! 5055: (eval "$ac_link") 2>&5
! 5056: ac_status=$?
! 5057: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5058: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 5059: { (case "(($ac_try" in
! 5060: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5061: *) ac_try_echo=$ac_try;;
! 5062: esac
! 5063: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5064: $as_echo "$ac_try_echo") >&5
! 5065: (eval "$ac_try") 2>&5
! 5066: ac_status=$?
! 5067: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5068: (exit $ac_status); }; }; then
! 5069: :
! 5070: else
! 5071: $as_echo "$as_me: program exited with status $ac_status" >&5
! 5072: $as_echo "$as_me: failed program was:" >&5
! 5073: sed 's/^/| /' conftest.$ac_ext >&5
! 5074:
! 5075: ( exit $ac_status )
! 5076: ac_cv_header_stdc=no
! 5077: fi
! 5078: rm -rf conftest.dSYM
! 5079: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 5080: fi
! 5081:
! 5082:
! 5083: fi
! 5084: fi
! 5085: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 5086: $as_echo "$ac_cv_header_stdc" >&6; }
! 5087: if test $ac_cv_header_stdc = yes; then
! 5088:
! 5089: cat >>confdefs.h <<\_ACEOF
! 5090: #define STDC_HEADERS 1
! 5091: _ACEOF
! 5092:
! 5093: fi
! 5094:
! 5095: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 5096:
! 5097:
! 5098:
! 5099:
! 5100:
! 5101:
! 5102:
! 5103:
! 5104:
! 5105: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 5106: inttypes.h stdint.h unistd.h
! 5107: do
! 5108: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5109: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5110: $as_echo_n "checking for $ac_header... " >&6; }
! 5111: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5112: $as_echo_n "(cached) " >&6
! 5113: else
! 5114: cat >conftest.$ac_ext <<_ACEOF
! 5115: /* confdefs.h. */
! 5116: _ACEOF
! 5117: cat confdefs.h >>conftest.$ac_ext
! 5118: cat >>conftest.$ac_ext <<_ACEOF
! 5119: /* end confdefs.h. */
! 5120: $ac_includes_default
! 5121:
! 5122: #include <$ac_header>
! 5123: _ACEOF
! 5124: rm -f conftest.$ac_objext
! 5125: if { (ac_try="$ac_compile"
! 5126: case "(($ac_try" in
! 5127: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5128: *) ac_try_echo=$ac_try;;
! 5129: esac
! 5130: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5131: $as_echo "$ac_try_echo") >&5
! 5132: (eval "$ac_compile") 2>conftest.er1
! 5133: ac_status=$?
! 5134: grep -v '^ *+' conftest.er1 >conftest.err
! 5135: rm -f conftest.er1
! 5136: cat conftest.err >&5
! 5137: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5138: (exit $ac_status); } && {
! 5139: test -z "$ac_c_werror_flag" ||
! 5140: test ! -s conftest.err
! 5141: } && test -s conftest.$ac_objext; then
! 5142: eval "$as_ac_Header=yes"
! 5143: else
! 5144: $as_echo "$as_me: failed program was:" >&5
! 5145: sed 's/^/| /' conftest.$ac_ext >&5
! 5146:
! 5147: eval "$as_ac_Header=no"
! 5148: fi
! 5149:
! 5150: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5151: fi
! 5152: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5153: $as_echo "$as_val"'`
! 5154: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5155: $as_echo "$ac_res" >&6; }
! 5156: as_val=`eval 'as_val=${'$as_ac_Header'}
! 5157: $as_echo "$as_val"'`
! 5158: if test "x$as_val" = x""yes; then
! 5159: cat >>confdefs.h <<_ACEOF
! 5160: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5161: _ACEOF
! 5162:
! 5163: fi
! 5164:
! 5165: done
! 5166:
! 5167:
! 5168:
! 5169: for ac_header in dlfcn.h
! 5170: do
! 5171: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5172: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5173: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5174: $as_echo_n "checking for $ac_header... " >&6; }
! 5175: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5176: $as_echo_n "(cached) " >&6
! 5177: fi
! 5178: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5179: $as_echo "$as_val"'`
! 5180: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5181: $as_echo "$ac_res" >&6; }
! 5182: else
! 5183: # Is the header compilable?
! 5184: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 5185: $as_echo_n "checking $ac_header usability... " >&6; }
! 5186: cat >conftest.$ac_ext <<_ACEOF
! 5187: /* confdefs.h. */
! 5188: _ACEOF
! 5189: cat confdefs.h >>conftest.$ac_ext
! 5190: cat >>conftest.$ac_ext <<_ACEOF
! 5191: /* end confdefs.h. */
! 5192: $ac_includes_default
! 5193: #include <$ac_header>
! 5194: _ACEOF
! 5195: rm -f conftest.$ac_objext
! 5196: if { (ac_try="$ac_compile"
! 5197: case "(($ac_try" in
! 5198: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5199: *) ac_try_echo=$ac_try;;
! 5200: esac
! 5201: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5202: $as_echo "$ac_try_echo") >&5
! 5203: (eval "$ac_compile") 2>conftest.er1
! 5204: ac_status=$?
! 5205: grep -v '^ *+' conftest.er1 >conftest.err
! 5206: rm -f conftest.er1
! 5207: cat conftest.err >&5
! 5208: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5209: (exit $ac_status); } && {
! 5210: test -z "$ac_c_werror_flag" ||
! 5211: test ! -s conftest.err
! 5212: } && test -s conftest.$ac_objext; then
! 5213: ac_header_compiler=yes
! 5214: else
! 5215: $as_echo "$as_me: failed program was:" >&5
! 5216: sed 's/^/| /' conftest.$ac_ext >&5
! 5217:
! 5218: ac_header_compiler=no
! 5219: fi
! 5220:
! 5221: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5222: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 5223: $as_echo "$ac_header_compiler" >&6; }
! 5224:
! 5225: # Is the header present?
! 5226: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 5227: $as_echo_n "checking $ac_header presence... " >&6; }
! 5228: cat >conftest.$ac_ext <<_ACEOF
! 5229: /* confdefs.h. */
! 5230: _ACEOF
! 5231: cat confdefs.h >>conftest.$ac_ext
! 5232: cat >>conftest.$ac_ext <<_ACEOF
! 5233: /* end confdefs.h. */
! 5234: #include <$ac_header>
! 5235: _ACEOF
! 5236: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5237: case "(($ac_try" in
! 5238: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5239: *) ac_try_echo=$ac_try;;
! 5240: esac
! 5241: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5242: $as_echo "$ac_try_echo") >&5
! 5243: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5244: ac_status=$?
! 5245: grep -v '^ *+' conftest.er1 >conftest.err
! 5246: rm -f conftest.er1
! 5247: cat conftest.err >&5
! 5248: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5249: (exit $ac_status); } >/dev/null && {
! 5250: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 5251: test ! -s conftest.err
! 5252: }; then
! 5253: ac_header_preproc=yes
! 5254: else
! 5255: $as_echo "$as_me: failed program was:" >&5
! 5256: sed 's/^/| /' conftest.$ac_ext >&5
! 5257:
! 5258: ac_header_preproc=no
! 5259: fi
! 5260:
! 5261: rm -f conftest.err conftest.$ac_ext
! 5262: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 5263: $as_echo "$ac_header_preproc" >&6; }
! 5264:
! 5265: # So? What about this header?
! 5266: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 5267: yes:no: )
! 5268: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 5269: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 5270: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 5271: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 5272: ac_header_preproc=yes
! 5273: ;;
! 5274: no:yes:* )
! 5275: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 5276: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 5277: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 5278: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 5279: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 5280: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 5281: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 5282: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 5283: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 5284: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 5285: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 5286: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 5287: ( cat <<\_ASBOX
! 5288: ## --------------------------------- ##
! 5289: ## Report this to "roma@ultranet.ru" ##
! 5290: ## --------------------------------- ##
! 5291: _ASBOX
! 5292: ) | sed "s/^/$as_me: WARNING: /" >&2
! 5293: ;;
! 5294: esac
! 5295: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5296: $as_echo_n "checking for $ac_header... " >&6; }
! 5297: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5298: $as_echo_n "(cached) " >&6
! 5299: else
! 5300: eval "$as_ac_Header=\$ac_header_preproc"
! 5301: fi
! 5302: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5303: $as_echo "$as_val"'`
! 5304: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5305: $as_echo "$ac_res" >&6; }
! 5306:
! 5307: fi
! 5308: as_val=`eval 'as_val=${'$as_ac_Header'}
! 5309: $as_echo "$as_val"'`
! 5310: if test "x$as_val" = x""yes; then
! 5311: cat >>confdefs.h <<_ACEOF
! 5312: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5313: _ACEOF
! 5314:
! 5315: fi
! 5316:
! 5317: done
! 5318:
! 5319: ac_ext=cpp
! 5320: ac_cpp='$CXXCPP $CPPFLAGS'
! 5321: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5322: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5323: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5324: if test -z "$CXX"; then
! 5325: if test -n "$CCC"; then
! 5326: CXX=$CCC
! 5327: else
! 5328: if test -n "$ac_tool_prefix"; then
! 5329: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
! 5330: do
! 5331: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5332: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5333: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5334: $as_echo_n "checking for $ac_word... " >&6; }
! 5335: if test "${ac_cv_prog_CXX+set}" = set; then
! 5336: $as_echo_n "(cached) " >&6
! 5337: else
! 5338: if test -n "$CXX"; then
! 5339: ac_cv_prog_CXX="$CXX" # Let the user override the test.
! 5340: else
! 5341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5342: for as_dir in $PATH
! 5343: do
! 5344: IFS=$as_save_IFS
! 5345: test -z "$as_dir" && as_dir=.
! 5346: for ac_exec_ext in '' $ac_executable_extensions; do
! 5347: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5348: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
! 5349: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5350: break 2
! 5351: fi
! 5352: done
! 5353: done
! 5354: IFS=$as_save_IFS
! 5355:
! 5356: fi
! 5357: fi
! 5358: CXX=$ac_cv_prog_CXX
! 5359: if test -n "$CXX"; then
! 5360: { $as_echo "$as_me:$LINENO: result: $CXX" >&5
! 5361: $as_echo "$CXX" >&6; }
! 5362: else
! 5363: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5364: $as_echo "no" >&6; }
! 5365: fi
! 5366:
! 5367:
! 5368: test -n "$CXX" && break
! 5369: done
! 5370: fi
! 5371: if test -z "$CXX"; then
! 5372: ac_ct_CXX=$CXX
! 5373: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
! 5374: do
! 5375: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5376: set dummy $ac_prog; ac_word=$2
! 5377: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5378: $as_echo_n "checking for $ac_word... " >&6; }
! 5379: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
! 5380: $as_echo_n "(cached) " >&6
! 5381: else
! 5382: if test -n "$ac_ct_CXX"; then
! 5383: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
! 5384: else
! 5385: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5386: for as_dir in $PATH
! 5387: do
! 5388: IFS=$as_save_IFS
! 5389: test -z "$as_dir" && as_dir=.
! 5390: for ac_exec_ext in '' $ac_executable_extensions; do
! 5391: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5392: ac_cv_prog_ac_ct_CXX="$ac_prog"
! 5393: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5394: break 2
! 5395: fi
! 5396: done
! 5397: done
! 5398: IFS=$as_save_IFS
! 5399:
! 5400: fi
! 5401: fi
! 5402: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
! 5403: if test -n "$ac_ct_CXX"; then
! 5404: { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
! 5405: $as_echo "$ac_ct_CXX" >&6; }
! 5406: else
! 5407: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5408: $as_echo "no" >&6; }
! 5409: fi
! 5410:
! 5411:
! 5412: test -n "$ac_ct_CXX" && break
! 5413: done
! 5414:
! 5415: if test "x$ac_ct_CXX" = x; then
! 5416: CXX="g++"
! 5417: else
! 5418: case $cross_compiling:$ac_tool_warned in
! 5419: yes:)
! 5420: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 5421: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5422: ac_tool_warned=yes ;;
! 5423: esac
! 5424: CXX=$ac_ct_CXX
! 5425: fi
! 5426: fi
! 5427:
! 5428: fi
! 5429: fi
! 5430: # Provide some information about the compiler.
! 5431: $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
! 5432: set X $ac_compile
! 5433: ac_compiler=$2
! 5434: { (ac_try="$ac_compiler --version >&5"
! 5435: case "(($ac_try" in
! 5436: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5437: *) ac_try_echo=$ac_try;;
! 5438: esac
! 5439: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5440: $as_echo "$ac_try_echo") >&5
! 5441: (eval "$ac_compiler --version >&5") 2>&5
! 5442: ac_status=$?
! 5443: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5444: (exit $ac_status); }
! 5445: { (ac_try="$ac_compiler -v >&5"
! 5446: case "(($ac_try" in
! 5447: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5448: *) ac_try_echo=$ac_try;;
! 5449: esac
! 5450: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5451: $as_echo "$ac_try_echo") >&5
! 5452: (eval "$ac_compiler -v >&5") 2>&5
! 5453: ac_status=$?
! 5454: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5455: (exit $ac_status); }
! 5456: { (ac_try="$ac_compiler -V >&5"
! 5457: case "(($ac_try" in
! 5458: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5459: *) ac_try_echo=$ac_try;;
! 5460: esac
! 5461: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5462: $as_echo "$ac_try_echo") >&5
! 5463: (eval "$ac_compiler -V >&5") 2>&5
! 5464: ac_status=$?
! 5465: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5466: (exit $ac_status); }
! 5467:
! 5468: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
! 5469: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
! 5470: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
! 5471: $as_echo_n "(cached) " >&6
! 5472: else
! 5473: cat >conftest.$ac_ext <<_ACEOF
! 5474: /* confdefs.h. */
! 5475: _ACEOF
! 5476: cat confdefs.h >>conftest.$ac_ext
! 5477: cat >>conftest.$ac_ext <<_ACEOF
! 5478: /* end confdefs.h. */
! 5479:
! 5480: int
! 5481: main ()
! 5482: {
! 5483: #ifndef __GNUC__
! 5484: choke me
! 5485: #endif
! 5486:
! 5487: ;
! 5488: return 0;
! 5489: }
! 5490: _ACEOF
! 5491: rm -f conftest.$ac_objext
! 5492: if { (ac_try="$ac_compile"
! 5493: case "(($ac_try" in
! 5494: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5495: *) ac_try_echo=$ac_try;;
! 5496: esac
! 5497: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5498: $as_echo "$ac_try_echo") >&5
! 5499: (eval "$ac_compile") 2>conftest.er1
! 5500: ac_status=$?
! 5501: grep -v '^ *+' conftest.er1 >conftest.err
! 5502: rm -f conftest.er1
! 5503: cat conftest.err >&5
! 5504: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5505: (exit $ac_status); } && {
! 5506: test -z "$ac_cxx_werror_flag" ||
! 5507: test ! -s conftest.err
! 5508: } && test -s conftest.$ac_objext; then
! 5509: ac_compiler_gnu=yes
! 5510: else
! 5511: $as_echo "$as_me: failed program was:" >&5
! 5512: sed 's/^/| /' conftest.$ac_ext >&5
! 5513:
! 5514: ac_compiler_gnu=no
! 5515: fi
! 5516:
! 5517: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5518: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
! 5519:
! 5520: fi
! 5521: { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
! 5522: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
! 5523: if test $ac_compiler_gnu = yes; then
! 5524: GXX=yes
! 5525: else
! 5526: GXX=
! 5527: fi
! 5528: ac_test_CXXFLAGS=${CXXFLAGS+set}
! 5529: ac_save_CXXFLAGS=$CXXFLAGS
! 5530: { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
! 5531: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
! 5532: if test "${ac_cv_prog_cxx_g+set}" = set; then
! 5533: $as_echo_n "(cached) " >&6
! 5534: else
! 5535: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
! 5536: ac_cxx_werror_flag=yes
! 5537: ac_cv_prog_cxx_g=no
! 5538: CXXFLAGS="-g"
! 5539: cat >conftest.$ac_ext <<_ACEOF
! 5540: /* confdefs.h. */
! 5541: _ACEOF
! 5542: cat confdefs.h >>conftest.$ac_ext
! 5543: cat >>conftest.$ac_ext <<_ACEOF
! 5544: /* end confdefs.h. */
! 5545:
! 5546: int
! 5547: main ()
! 5548: {
! 5549:
! 5550: ;
! 5551: return 0;
! 5552: }
! 5553: _ACEOF
! 5554: rm -f conftest.$ac_objext
! 5555: if { (ac_try="$ac_compile"
! 5556: case "(($ac_try" in
! 5557: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5558: *) ac_try_echo=$ac_try;;
! 5559: esac
! 5560: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5561: $as_echo "$ac_try_echo") >&5
! 5562: (eval "$ac_compile") 2>conftest.er1
! 5563: ac_status=$?
! 5564: grep -v '^ *+' conftest.er1 >conftest.err
! 5565: rm -f conftest.er1
! 5566: cat conftest.err >&5
! 5567: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5568: (exit $ac_status); } && {
! 5569: test -z "$ac_cxx_werror_flag" ||
! 5570: test ! -s conftest.err
! 5571: } && test -s conftest.$ac_objext; then
! 5572: ac_cv_prog_cxx_g=yes
! 5573: else
! 5574: $as_echo "$as_me: failed program was:" >&5
! 5575: sed 's/^/| /' conftest.$ac_ext >&5
! 5576:
! 5577: CXXFLAGS=""
! 5578: cat >conftest.$ac_ext <<_ACEOF
! 5579: /* confdefs.h. */
! 5580: _ACEOF
! 5581: cat confdefs.h >>conftest.$ac_ext
! 5582: cat >>conftest.$ac_ext <<_ACEOF
! 5583: /* end confdefs.h. */
! 5584:
! 5585: int
! 5586: main ()
! 5587: {
! 5588:
! 5589: ;
! 5590: return 0;
! 5591: }
! 5592: _ACEOF
! 5593: rm -f conftest.$ac_objext
! 5594: if { (ac_try="$ac_compile"
! 5595: case "(($ac_try" in
! 5596: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5597: *) ac_try_echo=$ac_try;;
! 5598: esac
! 5599: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5600: $as_echo "$ac_try_echo") >&5
! 5601: (eval "$ac_compile") 2>conftest.er1
! 5602: ac_status=$?
! 5603: grep -v '^ *+' conftest.er1 >conftest.err
! 5604: rm -f conftest.er1
! 5605: cat conftest.err >&5
! 5606: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5607: (exit $ac_status); } && {
! 5608: test -z "$ac_cxx_werror_flag" ||
! 5609: test ! -s conftest.err
! 5610: } && test -s conftest.$ac_objext; then
! 5611: :
! 5612: else
! 5613: $as_echo "$as_me: failed program was:" >&5
! 5614: sed 's/^/| /' conftest.$ac_ext >&5
! 5615:
! 5616: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
! 5617: CXXFLAGS="-g"
! 5618: cat >conftest.$ac_ext <<_ACEOF
! 5619: /* confdefs.h. */
! 5620: _ACEOF
! 5621: cat confdefs.h >>conftest.$ac_ext
! 5622: cat >>conftest.$ac_ext <<_ACEOF
! 5623: /* end confdefs.h. */
! 5624:
! 5625: int
! 5626: main ()
! 5627: {
! 5628:
! 5629: ;
! 5630: return 0;
! 5631: }
! 5632: _ACEOF
! 5633: rm -f conftest.$ac_objext
! 5634: if { (ac_try="$ac_compile"
! 5635: case "(($ac_try" in
! 5636: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5637: *) ac_try_echo=$ac_try;;
! 5638: esac
! 5639: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5640: $as_echo "$ac_try_echo") >&5
! 5641: (eval "$ac_compile") 2>conftest.er1
! 5642: ac_status=$?
! 5643: grep -v '^ *+' conftest.er1 >conftest.err
! 5644: rm -f conftest.er1
! 5645: cat conftest.err >&5
! 5646: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5647: (exit $ac_status); } && {
! 5648: test -z "$ac_cxx_werror_flag" ||
! 5649: test ! -s conftest.err
! 5650: } && test -s conftest.$ac_objext; then
! 5651: ac_cv_prog_cxx_g=yes
! 5652: else
! 5653: $as_echo "$as_me: failed program was:" >&5
! 5654: sed 's/^/| /' conftest.$ac_ext >&5
! 5655:
! 5656:
! 5657: fi
! 5658:
! 5659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5660: fi
! 5661:
! 5662: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5663: fi
! 5664:
! 5665: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5666: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
! 5667: fi
! 5668: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
! 5669: $as_echo "$ac_cv_prog_cxx_g" >&6; }
! 5670: if test "$ac_test_CXXFLAGS" = set; then
! 5671: CXXFLAGS=$ac_save_CXXFLAGS
! 5672: elif test $ac_cv_prog_cxx_g = yes; then
! 5673: if test "$GXX" = yes; then
! 5674: CXXFLAGS="-g -O2"
! 5675: else
! 5676: CXXFLAGS="-g"
! 5677: fi
! 5678: else
! 5679: if test "$GXX" = yes; then
! 5680: CXXFLAGS="-O2"
! 5681: else
! 5682: CXXFLAGS=
! 5683: fi
! 5684: fi
! 5685: ac_ext=cpp
! 5686: ac_cpp='$CXXCPP $CPPFLAGS'
! 5687: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5688: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5689: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5690:
! 5691: depcc="$CXX" am_compiler_list=
! 5692:
! 5693: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 5694: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 5695: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
! 5696: $as_echo_n "(cached) " >&6
! 5697: else
! 5698: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 5699: # We make a subdir and do the tests there. Otherwise we can end up
! 5700: # making bogus files that we don't know about and never remove. For
! 5701: # instance it was reported that on HP-UX the gcc test will end up
! 5702: # making a dummy file named `D' -- because `-MD' means `put the output
! 5703: # in D'.
! 5704: mkdir conftest.dir
! 5705: # Copy depcomp to subdir because otherwise we won't find it if we're
! 5706: # using a relative directory.
! 5707: cp "$am_depcomp" conftest.dir
! 5708: cd conftest.dir
! 5709: # We will build objects and dependencies in a subdirectory because
! 5710: # it helps to detect inapplicable dependency modes. For instance
! 5711: # both Tru64's cc and ICC support -MD to output dependencies as a
! 5712: # side effect of compilation, but ICC will put the dependencies in
! 5713: # the current directory while Tru64 will put them in the object
! 5714: # directory.
! 5715: mkdir sub
! 5716:
! 5717: am_cv_CXX_dependencies_compiler_type=none
! 5718: if test "$am_compiler_list" = ""; then
! 5719: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 5720: fi
! 5721: for depmode in $am_compiler_list; do
! 5722: # Setup a source with many dependencies, because some compilers
! 5723: # like to wrap large dependency lists on column 80 (with \), and
! 5724: # we should not choose a depcomp mode which is confused by this.
! 5725: #
! 5726: # We need to recreate these files for each test, as the compiler may
! 5727: # overwrite some of them when testing with obscure command lines.
! 5728: # This happens at least with the AIX C compiler.
! 5729: : > sub/conftest.c
! 5730: for i in 1 2 3 4 5 6; do
! 5731: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 5732: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 5733: # Solaris 8's {/usr,}/bin/sh.
! 5734: touch sub/conftst$i.h
! 5735: done
! 5736: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 5737:
! 5738: case $depmode in
! 5739: nosideeffect)
! 5740: # after this tag, mechanisms are not by side-effect, so they'll
! 5741: # only be used when explicitly requested
! 5742: if test "x$enable_dependency_tracking" = xyes; then
! 5743: continue
! 5744: else
! 5745: break
! 5746: fi
! 5747: ;;
! 5748: none) break ;;
! 5749: esac
! 5750: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 5751: # mode. It turns out that the SunPro C++ compiler does not properly
! 5752: # handle `-M -o', and we need to detect this.
! 5753: if depmode=$depmode \
! 5754: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 5755: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 5756: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 5757: >/dev/null 2>conftest.err &&
! 5758: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 5759: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 5760: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 5761: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 5762: # icc doesn't choke on unknown options, it will just issue warnings
! 5763: # or remarks (even with -Werror). So we grep stderr for any message
! 5764: # that says an option was ignored or not supported.
! 5765: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 5766: # icc: Command line warning: ignoring option '-M'; no argument required
! 5767: # The diagnosis changed in icc 8.0:
! 5768: # icc: Command line remark: option '-MP' not supported
! 5769: if (grep 'ignoring option' conftest.err ||
! 5770: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 5771: am_cv_CXX_dependencies_compiler_type=$depmode
! 5772: break
! 5773: fi
! 5774: fi
! 5775: done
! 5776:
! 5777: cd ..
! 5778: rm -rf conftest.dir
! 5779: else
! 5780: am_cv_CXX_dependencies_compiler_type=none
! 5781: fi
! 5782:
! 5783: fi
! 5784: { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
! 5785: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
! 5786: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
! 5787:
! 5788: if
! 5789: test "x$enable_dependency_tracking" != xno \
! 5790: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
! 5791: am__fastdepCXX_TRUE=
! 5792: am__fastdepCXX_FALSE='#'
! 5793: else
! 5794: am__fastdepCXX_TRUE='#'
! 5795: am__fastdepCXX_FALSE=
! 5796: fi
! 5797:
! 5798:
! 5799:
! 5800:
! 5801: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 5802: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 5803: (test "X$CXX" != "Xg++"))) ; then
! 5804: ac_ext=cpp
! 5805: ac_cpp='$CXXCPP $CPPFLAGS'
! 5806: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5807: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5808: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5809: { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 5810: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
! 5811: if test -z "$CXXCPP"; then
! 5812: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 5813: $as_echo_n "(cached) " >&6
! 5814: else
! 5815: # Double quotes because CXXCPP needs to be expanded
! 5816: for CXXCPP in "$CXX -E" "/lib/cpp"
! 5817: do
! 5818: ac_preproc_ok=false
! 5819: for ac_cxx_preproc_warn_flag in '' yes
! 5820: do
! 5821: # Use a header file that comes with gcc, so configuring glibc
! 5822: # with a fresh cross-compiler works.
! 5823: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5824: # <limits.h> exists even on freestanding compilers.
! 5825: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5826: # not just through cpp. "Syntax error" is here to catch this case.
! 5827: cat >conftest.$ac_ext <<_ACEOF
! 5828: /* confdefs.h. */
! 5829: _ACEOF
! 5830: cat confdefs.h >>conftest.$ac_ext
! 5831: cat >>conftest.$ac_ext <<_ACEOF
! 5832: /* end confdefs.h. */
! 5833: #ifdef __STDC__
! 5834: # include <limits.h>
! 5835: #else
! 5836: # include <assert.h>
! 5837: #endif
! 5838: Syntax error
! 5839: _ACEOF
! 5840: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5841: case "(($ac_try" in
! 5842: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5843: *) ac_try_echo=$ac_try;;
! 5844: esac
! 5845: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5846: $as_echo "$ac_try_echo") >&5
! 5847: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5848: ac_status=$?
! 5849: grep -v '^ *+' conftest.er1 >conftest.err
! 5850: rm -f conftest.er1
! 5851: cat conftest.err >&5
! 5852: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5853: (exit $ac_status); } >/dev/null && {
! 5854: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 5855: test ! -s conftest.err
! 5856: }; then
! 5857: :
! 5858: else
! 5859: $as_echo "$as_me: failed program was:" >&5
! 5860: sed 's/^/| /' conftest.$ac_ext >&5
! 5861:
! 5862: # Broken: fails on valid input.
! 5863: continue
! 5864: fi
! 5865:
! 5866: rm -f conftest.err conftest.$ac_ext
! 5867:
! 5868: # OK, works on sane cases. Now check whether nonexistent headers
! 5869: # can be detected and how.
! 5870: cat >conftest.$ac_ext <<_ACEOF
! 5871: /* confdefs.h. */
! 5872: _ACEOF
! 5873: cat confdefs.h >>conftest.$ac_ext
! 5874: cat >>conftest.$ac_ext <<_ACEOF
! 5875: /* end confdefs.h. */
! 5876: #include <ac_nonexistent.h>
! 5877: _ACEOF
! 5878: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5879: case "(($ac_try" in
! 5880: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5881: *) ac_try_echo=$ac_try;;
! 5882: esac
! 5883: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5884: $as_echo "$ac_try_echo") >&5
! 5885: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5886: ac_status=$?
! 5887: grep -v '^ *+' conftest.er1 >conftest.err
! 5888: rm -f conftest.er1
! 5889: cat conftest.err >&5
! 5890: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5891: (exit $ac_status); } >/dev/null && {
! 5892: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 5893: test ! -s conftest.err
! 5894: }; then
! 5895: # Broken: success on invalid input.
! 5896: continue
! 5897: else
! 5898: $as_echo "$as_me: failed program was:" >&5
! 5899: sed 's/^/| /' conftest.$ac_ext >&5
! 5900:
! 5901: # Passes both tests.
! 5902: ac_preproc_ok=:
! 5903: break
! 5904: fi
! 5905:
! 5906: rm -f conftest.err conftest.$ac_ext
! 5907:
! 5908: done
! 5909: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5910: rm -f conftest.err conftest.$ac_ext
! 5911: if $ac_preproc_ok; then
! 5912: break
! 5913: fi
! 5914:
! 5915: done
! 5916: ac_cv_prog_CXXCPP=$CXXCPP
! 5917:
! 5918: fi
! 5919: CXXCPP=$ac_cv_prog_CXXCPP
! 5920: else
! 5921: ac_cv_prog_CXXCPP=$CXXCPP
! 5922: fi
! 5923: { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 5924: $as_echo "$CXXCPP" >&6; }
! 5925: ac_preproc_ok=false
! 5926: for ac_cxx_preproc_warn_flag in '' yes
! 5927: do
! 5928: # Use a header file that comes with gcc, so configuring glibc
! 5929: # with a fresh cross-compiler works.
! 5930: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5931: # <limits.h> exists even on freestanding compilers.
! 5932: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5933: # not just through cpp. "Syntax error" is here to catch this case.
! 5934: cat >conftest.$ac_ext <<_ACEOF
! 5935: /* confdefs.h. */
! 5936: _ACEOF
! 5937: cat confdefs.h >>conftest.$ac_ext
! 5938: cat >>conftest.$ac_ext <<_ACEOF
! 5939: /* end confdefs.h. */
! 5940: #ifdef __STDC__
! 5941: # include <limits.h>
! 5942: #else
! 5943: # include <assert.h>
! 5944: #endif
! 5945: Syntax error
! 5946: _ACEOF
! 5947: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5948: case "(($ac_try" in
! 5949: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5950: *) ac_try_echo=$ac_try;;
! 5951: esac
! 5952: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5953: $as_echo "$ac_try_echo") >&5
! 5954: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5955: ac_status=$?
! 5956: grep -v '^ *+' conftest.er1 >conftest.err
! 5957: rm -f conftest.er1
! 5958: cat conftest.err >&5
! 5959: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5960: (exit $ac_status); } >/dev/null && {
! 5961: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 5962: test ! -s conftest.err
! 5963: }; then
! 5964: :
! 5965: else
! 5966: $as_echo "$as_me: failed program was:" >&5
! 5967: sed 's/^/| /' conftest.$ac_ext >&5
! 5968:
! 5969: # Broken: fails on valid input.
! 5970: continue
! 5971: fi
! 5972:
! 5973: rm -f conftest.err conftest.$ac_ext
! 5974:
! 5975: # OK, works on sane cases. Now check whether nonexistent headers
! 5976: # can be detected and how.
! 5977: cat >conftest.$ac_ext <<_ACEOF
! 5978: /* confdefs.h. */
! 5979: _ACEOF
! 5980: cat confdefs.h >>conftest.$ac_ext
! 5981: cat >>conftest.$ac_ext <<_ACEOF
! 5982: /* end confdefs.h. */
! 5983: #include <ac_nonexistent.h>
! 5984: _ACEOF
! 5985: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5986: case "(($ac_try" in
! 5987: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5988: *) ac_try_echo=$ac_try;;
! 5989: esac
! 5990: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5991: $as_echo "$ac_try_echo") >&5
! 5992: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5993: ac_status=$?
! 5994: grep -v '^ *+' conftest.er1 >conftest.err
! 5995: rm -f conftest.er1
! 5996: cat conftest.err >&5
! 5997: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5998: (exit $ac_status); } >/dev/null && {
! 5999: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 6000: test ! -s conftest.err
! 6001: }; then
! 6002: # Broken: success on invalid input.
! 6003: continue
! 6004: else
! 6005: $as_echo "$as_me: failed program was:" >&5
! 6006: sed 's/^/| /' conftest.$ac_ext >&5
! 6007:
! 6008: # Passes both tests.
! 6009: ac_preproc_ok=:
! 6010: break
! 6011: fi
! 6012:
! 6013: rm -f conftest.err conftest.$ac_ext
! 6014:
! 6015: done
! 6016: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6017: rm -f conftest.err conftest.$ac_ext
! 6018: if $ac_preproc_ok; then
! 6019: :
! 6020: else
! 6021: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 6022: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 6023: { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 6024: See \`config.log' for more details." >&5
! 6025: $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 6026: See \`config.log' for more details." >&2;}
! 6027: { (exit 1); exit 1; }; }; }
! 6028: fi
! 6029:
! 6030: ac_ext=cpp
! 6031: ac_cpp='$CXXCPP $CPPFLAGS'
! 6032: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6033: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6034: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 6035:
! 6036: fi
! 6037:
! 6038:
! 6039: ac_ext=f
! 6040: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 6041: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6042: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 6043: if test -n "$ac_tool_prefix"; then
! 6044: for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
! 6045: do
! 6046: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 6047: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 6048: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6049: $as_echo_n "checking for $ac_word... " >&6; }
! 6050: if test "${ac_cv_prog_F77+set}" = set; then
! 6051: $as_echo_n "(cached) " >&6
! 6052: else
! 6053: if test -n "$F77"; then
! 6054: ac_cv_prog_F77="$F77" # Let the user override the test.
! 6055: else
! 6056: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6057: for as_dir in $PATH
! 6058: do
! 6059: IFS=$as_save_IFS
! 6060: test -z "$as_dir" && as_dir=.
! 6061: for ac_exec_ext in '' $ac_executable_extensions; do
! 6062: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6063: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
! 6064: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6065: break 2
! 6066: fi
! 6067: done
! 6068: done
! 6069: IFS=$as_save_IFS
! 6070:
! 6071: fi
! 6072: fi
! 6073: F77=$ac_cv_prog_F77
! 6074: if test -n "$F77"; then
! 6075: { $as_echo "$as_me:$LINENO: result: $F77" >&5
! 6076: $as_echo "$F77" >&6; }
! 6077: else
! 6078: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6079: $as_echo "no" >&6; }
! 6080: fi
! 6081:
! 6082:
! 6083: test -n "$F77" && break
! 6084: done
! 6085: fi
! 6086: if test -z "$F77"; then
! 6087: ac_ct_F77=$F77
! 6088: for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
! 6089: do
! 6090: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 6091: set dummy $ac_prog; ac_word=$2
! 6092: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6093: $as_echo_n "checking for $ac_word... " >&6; }
! 6094: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
! 6095: $as_echo_n "(cached) " >&6
! 6096: else
! 6097: if test -n "$ac_ct_F77"; then
! 6098: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
! 6099: else
! 6100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6101: for as_dir in $PATH
! 6102: do
! 6103: IFS=$as_save_IFS
! 6104: test -z "$as_dir" && as_dir=.
! 6105: for ac_exec_ext in '' $ac_executable_extensions; do
! 6106: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6107: ac_cv_prog_ac_ct_F77="$ac_prog"
! 6108: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6109: break 2
! 6110: fi
! 6111: done
! 6112: done
! 6113: IFS=$as_save_IFS
! 6114:
! 6115: fi
! 6116: fi
! 6117: ac_ct_F77=$ac_cv_prog_ac_ct_F77
! 6118: if test -n "$ac_ct_F77"; then
! 6119: { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
! 6120: $as_echo "$ac_ct_F77" >&6; }
! 6121: else
! 6122: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6123: $as_echo "no" >&6; }
! 6124: fi
! 6125:
! 6126:
! 6127: test -n "$ac_ct_F77" && break
! 6128: done
! 6129:
! 6130: if test "x$ac_ct_F77" = x; then
! 6131: F77=""
! 6132: else
! 6133: case $cross_compiling:$ac_tool_warned in
! 6134: yes:)
! 6135: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6136: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6137: ac_tool_warned=yes ;;
! 6138: esac
! 6139: F77=$ac_ct_F77
! 6140: fi
! 6141: fi
! 6142:
! 6143:
! 6144: # Provide some information about the compiler.
! 6145: $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
! 6146: set X $ac_compile
! 6147: ac_compiler=$2
! 6148: { (ac_try="$ac_compiler --version >&5"
! 6149: case "(($ac_try" in
! 6150: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6151: *) ac_try_echo=$ac_try;;
! 6152: esac
! 6153: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6154: $as_echo "$ac_try_echo") >&5
! 6155: (eval "$ac_compiler --version >&5") 2>&5
! 6156: ac_status=$?
! 6157: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6158: (exit $ac_status); }
! 6159: { (ac_try="$ac_compiler -v >&5"
! 6160: case "(($ac_try" in
! 6161: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6162: *) ac_try_echo=$ac_try;;
! 6163: esac
! 6164: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6165: $as_echo "$ac_try_echo") >&5
! 6166: (eval "$ac_compiler -v >&5") 2>&5
! 6167: ac_status=$?
! 6168: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6169: (exit $ac_status); }
! 6170: { (ac_try="$ac_compiler -V >&5"
! 6171: case "(($ac_try" in
! 6172: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6173: *) ac_try_echo=$ac_try;;
! 6174: esac
! 6175: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6176: $as_echo "$ac_try_echo") >&5
! 6177: (eval "$ac_compiler -V >&5") 2>&5
! 6178: ac_status=$?
! 6179: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6180: (exit $ac_status); }
! 6181: rm -f a.out
! 6182:
! 6183: # If we don't use `.F' as extension, the preprocessor is not run on the
! 6184: # input file. (Note that this only needs to work for GNU compilers.)
! 6185: ac_save_ext=$ac_ext
! 6186: ac_ext=F
! 6187: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
! 6188: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
! 6189: if test "${ac_cv_f77_compiler_gnu+set}" = set; then
! 6190: $as_echo_n "(cached) " >&6
! 6191: else
! 6192: cat >conftest.$ac_ext <<_ACEOF
! 6193: program main
! 6194: #ifndef __GNUC__
! 6195: choke me
! 6196: #endif
! 6197:
! 6198: end
! 6199: _ACEOF
! 6200: rm -f conftest.$ac_objext
! 6201: if { (ac_try="$ac_compile"
! 6202: case "(($ac_try" in
! 6203: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6204: *) ac_try_echo=$ac_try;;
! 6205: esac
! 6206: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6207: $as_echo "$ac_try_echo") >&5
! 6208: (eval "$ac_compile") 2>conftest.er1
! 6209: ac_status=$?
! 6210: grep -v '^ *+' conftest.er1 >conftest.err
! 6211: rm -f conftest.er1
! 6212: cat conftest.err >&5
! 6213: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6214: (exit $ac_status); } && {
! 6215: test -z "$ac_f77_werror_flag" ||
! 6216: test ! -s conftest.err
! 6217: } && test -s conftest.$ac_objext; then
! 6218: ac_compiler_gnu=yes
! 6219: else
! 6220: $as_echo "$as_me: failed program was:" >&5
! 6221: sed 's/^/| /' conftest.$ac_ext >&5
! 6222:
! 6223: ac_compiler_gnu=no
! 6224: fi
! 6225:
! 6226: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6227: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
! 6228:
! 6229: fi
! 6230: { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
! 6231: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
! 6232: ac_ext=$ac_save_ext
! 6233: ac_test_FFLAGS=${FFLAGS+set}
! 6234: ac_save_FFLAGS=$FFLAGS
! 6235: FFLAGS=
! 6236: { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
! 6237: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
! 6238: if test "${ac_cv_prog_f77_g+set}" = set; then
! 6239: $as_echo_n "(cached) " >&6
! 6240: else
! 6241: FFLAGS=-g
! 6242: cat >conftest.$ac_ext <<_ACEOF
! 6243: program main
! 6244:
! 6245: end
! 6246: _ACEOF
! 6247: rm -f conftest.$ac_objext
! 6248: if { (ac_try="$ac_compile"
! 6249: case "(($ac_try" in
! 6250: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6251: *) ac_try_echo=$ac_try;;
! 6252: esac
! 6253: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6254: $as_echo "$ac_try_echo") >&5
! 6255: (eval "$ac_compile") 2>conftest.er1
! 6256: ac_status=$?
! 6257: grep -v '^ *+' conftest.er1 >conftest.err
! 6258: rm -f conftest.er1
! 6259: cat conftest.err >&5
! 6260: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6261: (exit $ac_status); } && {
! 6262: test -z "$ac_f77_werror_flag" ||
! 6263: test ! -s conftest.err
! 6264: } && test -s conftest.$ac_objext; then
! 6265: ac_cv_prog_f77_g=yes
! 6266: else
! 6267: $as_echo "$as_me: failed program was:" >&5
! 6268: sed 's/^/| /' conftest.$ac_ext >&5
! 6269:
! 6270: ac_cv_prog_f77_g=no
! 6271: fi
! 6272:
! 6273: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6274:
! 6275: fi
! 6276: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
! 6277: $as_echo "$ac_cv_prog_f77_g" >&6; }
! 6278: if test "$ac_test_FFLAGS" = set; then
! 6279: FFLAGS=$ac_save_FFLAGS
! 6280: elif test $ac_cv_prog_f77_g = yes; then
! 6281: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 6282: FFLAGS="-g -O2"
! 6283: else
! 6284: FFLAGS="-g"
! 6285: fi
! 6286: else
! 6287: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 6288: FFLAGS="-O2"
! 6289: else
! 6290: FFLAGS=
! 6291: fi
! 6292: fi
! 6293:
! 6294: if test $ac_compiler_gnu = yes; then
! 6295: G77=yes
! 6296: else
! 6297: G77=
! 6298: fi
! 6299: ac_ext=c
! 6300: ac_cpp='$CPP $CPPFLAGS'
! 6301: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6302: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6303: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6304:
! 6305:
! 6306:
! 6307: # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
! 6308: # find the maximum length of command line arguments
! 6309: { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 6310: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 6311: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
! 6312: $as_echo_n "(cached) " >&6
! 6313: else
! 6314: i=0
! 6315: teststring="ABCD"
! 6316:
! 6317: case $build_os in
! 6318: msdosdjgpp*)
! 6319: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 6320: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 6321: # during glob expansion). Even if it were fixed, the result of this
! 6322: # check would be larger than it should be.
! 6323: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 6324: ;;
! 6325:
! 6326: gnu*)
! 6327: # Under GNU Hurd, this test is not required because there is
! 6328: # no limit to the length of command line arguments.
! 6329: # Libtool will interpret -1 as no limit whatsoever
! 6330: lt_cv_sys_max_cmd_len=-1;
! 6331: ;;
! 6332:
! 6333: cygwin* | mingw*)
! 6334: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 6335: # about 5 minutes as the teststring grows exponentially.
! 6336: # Worse, since 9x/ME are not pre-emptively multitasking,
! 6337: # you end up with a "frozen" computer, even though with patience
! 6338: # the test eventually succeeds (with a max line length of 256k).
! 6339: # Instead, let's just punt: use the minimum linelength reported by
! 6340: # all of the supported platforms: 8192 (on NT/2K/XP).
! 6341: lt_cv_sys_max_cmd_len=8192;
! 6342: ;;
! 6343:
! 6344: amigaos*)
! 6345: # On AmigaOS with pdksh, this test takes hours, literally.
! 6346: # So we just punt and use a minimum line length of 8192.
! 6347: lt_cv_sys_max_cmd_len=8192;
! 6348: ;;
! 6349:
! 6350: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 6351: # This has been around since 386BSD, at least. Likely further.
! 6352: if test -x /sbin/sysctl; then
! 6353: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 6354: elif test -x /usr/sbin/sysctl; then
! 6355: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 6356: else
! 6357: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 6358: fi
! 6359: # And add a safety zone
! 6360: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6361: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6362: ;;
! 6363:
! 6364: interix*)
! 6365: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 6366: lt_cv_sys_max_cmd_len=196608
! 6367: ;;
! 6368:
! 6369: osf*)
! 6370: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 6371: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 6372: # nice to cause kernel panics so lets avoid the loop below.
! 6373: # First set a reasonable default.
! 6374: lt_cv_sys_max_cmd_len=16384
! 6375: #
! 6376: if test -x /sbin/sysconfig; then
! 6377: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 6378: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 6379: esac
! 6380: fi
! 6381: ;;
! 6382: sco3.2v5*)
! 6383: lt_cv_sys_max_cmd_len=102400
! 6384: ;;
! 6385: sysv5* | sco5v6* | sysv4.2uw2*)
! 6386: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 6387: if test -n "$kargmax"; then
! 6388: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 6389: else
! 6390: lt_cv_sys_max_cmd_len=32768
! 6391: fi
! 6392: ;;
! 6393: *)
! 6394: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 6395: if test -n "$lt_cv_sys_max_cmd_len"; then
! 6396: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6397: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6398: else
! 6399: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 6400: while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
! 6401: = "XX$teststring") >/dev/null 2>&1 &&
! 6402: new_result=`expr "X$teststring" : ".*" 2>&1` &&
! 6403: lt_cv_sys_max_cmd_len=$new_result &&
! 6404: test $i != 17 # 1/2 MB should be enough
! 6405: do
! 6406: i=`expr $i + 1`
! 6407: teststring=$teststring$teststring
! 6408: done
! 6409: teststring=
! 6410: # Add a significant safety factor because C++ compilers can tack on massive
! 6411: # amounts of additional arguments before passing them to the linker.
! 6412: # It appears as though 1/2 is a usable value.
! 6413: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 6414: fi
! 6415: ;;
! 6416: esac
! 6417:
! 6418: fi
! 6419:
! 6420: if test -n $lt_cv_sys_max_cmd_len ; then
! 6421: { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 6422: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 6423: else
! 6424: { $as_echo "$as_me:$LINENO: result: none" >&5
! 6425: $as_echo "none" >&6; }
! 6426: fi
! 6427:
! 6428:
! 6429:
! 6430:
! 6431:
! 6432: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 6433: { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 6434: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 6435: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 6436: $as_echo_n "(cached) " >&6
! 6437: else
! 6438:
! 6439: # These are sane defaults that work on at least a few old systems.
! 6440: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 6441:
! 6442: # Character class describing NM global symbol codes.
! 6443: symcode='[BCDEGRST]'
! 6444:
! 6445: # Regexp to match symbols that can be accessed directly from C.
! 6446: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 6447:
! 6448: # Transform an extracted symbol line into a proper C declaration
! 6449: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
! 6450:
! 6451: # Transform an extracted symbol line into symbol name and symbol address
! 6452: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
! 6453:
! 6454: # Define system-specific variables.
! 6455: case $host_os in
! 6456: aix*)
! 6457: symcode='[BCDT]'
! 6458: ;;
! 6459: cygwin* | mingw* | pw32*)
! 6460: symcode='[ABCDGISTW]'
! 6461: ;;
! 6462: hpux*) # Its linker distinguishes data from code symbols
! 6463: if test "$host_cpu" = ia64; then
! 6464: symcode='[ABCDEGRST]'
! 6465: fi
! 6466: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 6467: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
! 6468: ;;
! 6469: linux* | k*bsd*-gnu)
! 6470: if test "$host_cpu" = ia64; then
! 6471: symcode='[ABCDGIRSTW]'
! 6472: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 6473: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
! 6474: fi
! 6475: ;;
! 6476: irix* | nonstopux*)
! 6477: symcode='[BCDEGRST]'
! 6478: ;;
! 6479: osf*)
! 6480: symcode='[BCDEGQRST]'
! 6481: ;;
! 6482: solaris*)
! 6483: symcode='[BDRT]'
! 6484: ;;
! 6485: sco3.2v5*)
! 6486: symcode='[DT]'
! 6487: ;;
! 6488: sysv4.2uw2*)
! 6489: symcode='[DT]'
! 6490: ;;
! 6491: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 6492: symcode='[ABDT]'
! 6493: ;;
! 6494: sysv4)
! 6495: symcode='[DFNSTU]'
! 6496: ;;
! 6497: esac
! 6498:
! 6499: # Handle CRLF in mingw tool chain
! 6500: opt_cr=
! 6501: case $build_os in
! 6502: mingw*)
! 6503: opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 6504: ;;
! 6505: esac
! 6506:
! 6507: # If we're using GNU nm, then use its standard symbol codes.
! 6508: case `$NM -V 2>&1` in
! 6509: *GNU* | *'with BFD'*)
! 6510: symcode='[ABCDGIRSTW]' ;;
! 6511: esac
! 6512:
! 6513: # Try without a prefix undercore, then with it.
! 6514: for ac_symprfx in "" "_"; do
! 6515:
! 6516: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 6517: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 6518:
! 6519: # Write the raw and C identifiers.
! 6520: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 6521:
! 6522: # Check to see that the pipe works correctly.
! 6523: pipe_works=no
! 6524:
! 6525: rm -f conftest*
! 6526: cat > conftest.$ac_ext <<EOF
! 6527: #ifdef __cplusplus
! 6528: extern "C" {
! 6529: #endif
! 6530: char nm_test_var;
! 6531: void nm_test_func(){}
! 6532: #ifdef __cplusplus
! 6533: }
! 6534: #endif
! 6535: int main(){nm_test_var='a';nm_test_func();return(0);}
! 6536: EOF
! 6537:
! 6538: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6539: (eval $ac_compile) 2>&5
! 6540: ac_status=$?
! 6541: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6542: (exit $ac_status); }; then
! 6543: # Now try to grab the symbols.
! 6544: nlist=conftest.nm
! 6545: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 6546: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 6547: ac_status=$?
! 6548: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6549: (exit $ac_status); } && test -s "$nlist"; then
! 6550: # Try sorting and uniquifying the output.
! 6551: if sort "$nlist" | uniq > "$nlist"T; then
! 6552: mv -f "$nlist"T "$nlist"
! 6553: else
! 6554: rm -f "$nlist"T
! 6555: fi
! 6556:
! 6557: # Make sure that we snagged all the symbols we need.
! 6558: if grep ' nm_test_var$' "$nlist" >/dev/null; then
! 6559: if grep ' nm_test_func$' "$nlist" >/dev/null; then
! 6560: cat <<EOF > conftest.$ac_ext
! 6561: #ifdef __cplusplus
! 6562: extern "C" {
! 6563: #endif
! 6564:
! 6565: EOF
! 6566: # Now generate the symbol file.
! 6567: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
! 6568:
! 6569: cat <<EOF >> conftest.$ac_ext
! 6570: #if defined (__STDC__) && __STDC__
! 6571: # define lt_ptr_t void *
! 6572: #else
! 6573: # define lt_ptr_t char *
! 6574: # define const
! 6575: #endif
! 6576:
! 6577: /* The mapping between symbol names and symbols. */
! 6578: const struct {
! 6579: const char *name;
! 6580: lt_ptr_t address;
! 6581: }
! 6582: lt_preloaded_symbols[] =
! 6583: {
! 6584: EOF
! 6585: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
! 6586: cat <<\EOF >> conftest.$ac_ext
! 6587: {0, (lt_ptr_t) 0}
! 6588: };
! 6589:
! 6590: #ifdef __cplusplus
! 6591: }
! 6592: #endif
! 6593: EOF
! 6594: # Now try linking the two files.
! 6595: mv conftest.$ac_objext conftstm.$ac_objext
! 6596: lt_save_LIBS="$LIBS"
! 6597: lt_save_CFLAGS="$CFLAGS"
! 6598: LIBS="conftstm.$ac_objext"
! 6599: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 6600: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6601: (eval $ac_link) 2>&5
! 6602: ac_status=$?
! 6603: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6604: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 6605: pipe_works=yes
! 6606: fi
! 6607: LIBS="$lt_save_LIBS"
! 6608: CFLAGS="$lt_save_CFLAGS"
! 6609: else
! 6610: echo "cannot find nm_test_func in $nlist" >&5
! 6611: fi
! 6612: else
! 6613: echo "cannot find nm_test_var in $nlist" >&5
! 6614: fi
! 6615: else
! 6616: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 6617: fi
! 6618: else
! 6619: echo "$progname: failed program was:" >&5
! 6620: cat conftest.$ac_ext >&5
! 6621: fi
! 6622: rm -rf conftest* conftst*
! 6623:
! 6624: # Do not use the global_symbol_pipe unless it works.
! 6625: if test "$pipe_works" = yes; then
! 6626: break
! 6627: else
! 6628: lt_cv_sys_global_symbol_pipe=
! 6629: fi
! 6630: done
! 6631:
! 6632: fi
! 6633:
! 6634: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 6635: lt_cv_sys_global_symbol_to_cdecl=
! 6636: fi
! 6637: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 6638: { $as_echo "$as_me:$LINENO: result: failed" >&5
! 6639: $as_echo "failed" >&6; }
! 6640: else
! 6641: { $as_echo "$as_me:$LINENO: result: ok" >&5
! 6642: $as_echo "ok" >&6; }
! 6643: fi
! 6644:
! 6645: { $as_echo "$as_me:$LINENO: checking for objdir" >&5
! 6646: $as_echo_n "checking for objdir... " >&6; }
! 6647: if test "${lt_cv_objdir+set}" = set; then
! 6648: $as_echo_n "(cached) " >&6
! 6649: else
! 6650: rm -f .libs 2>/dev/null
! 6651: mkdir .libs 2>/dev/null
! 6652: if test -d .libs; then
! 6653: lt_cv_objdir=.libs
! 6654: else
! 6655: # MS-DOS does not allow filenames that begin with a dot.
! 6656: lt_cv_objdir=_libs
! 6657: fi
! 6658: rmdir .libs 2>/dev/null
! 6659: fi
! 6660: { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 6661: $as_echo "$lt_cv_objdir" >&6; }
! 6662: objdir=$lt_cv_objdir
! 6663:
! 6664:
! 6665:
! 6666:
! 6667:
! 6668: case $host_os in
! 6669: aix3*)
! 6670: # AIX sometimes has problems with the GCC collect2 program. For some
! 6671: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 6672: # vanish in a puff of smoke.
! 6673: if test "X${COLLECT_NAMES+set}" != Xset; then
! 6674: COLLECT_NAMES=
! 6675: export COLLECT_NAMES
! 6676: fi
! 6677: ;;
! 6678: esac
! 6679:
! 6680: # Sed substitution that helps us do robust quoting. It backslashifies
! 6681: # metacharacters that are still active within double-quoted strings.
! 6682: Xsed='sed -e 1s/^X//'
! 6683: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
! 6684:
! 6685: # Same as above, but do not quote variable references.
! 6686: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
! 6687:
! 6688: # Sed substitution to delay expansion of an escaped shell variable in a
! 6689: # double_quote_subst'ed string.
! 6690: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 6691:
! 6692: # Sed substitution to avoid accidental globbing in evaled expressions
! 6693: no_glob_subst='s/\*/\\\*/g'
! 6694:
! 6695: # Constants:
! 6696: rm="rm -f"
! 6697:
! 6698: # Global variables:
! 6699: default_ofile=libtool
! 6700: can_build_shared=yes
! 6701:
! 6702: # All known linkers require a `.a' archive for static linking (except MSVC,
! 6703: # which needs '.lib').
! 6704: libext=a
! 6705: ltmain="$ac_aux_dir/ltmain.sh"
! 6706: ofile="$default_ofile"
! 6707: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 6708:
! 6709: if test -n "$ac_tool_prefix"; then
! 6710: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 6711: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 6712: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6713: $as_echo_n "checking for $ac_word... " >&6; }
! 6714: if test "${ac_cv_prog_AR+set}" = set; then
! 6715: $as_echo_n "(cached) " >&6
! 6716: else
! 6717: if test -n "$AR"; then
! 6718: ac_cv_prog_AR="$AR" # Let the user override the test.
! 6719: else
! 6720: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6721: for as_dir in $PATH
! 6722: do
! 6723: IFS=$as_save_IFS
! 6724: test -z "$as_dir" && as_dir=.
! 6725: for ac_exec_ext in '' $ac_executable_extensions; do
! 6726: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6727: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 6728: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6729: break 2
! 6730: fi
! 6731: done
! 6732: done
! 6733: IFS=$as_save_IFS
! 6734:
! 6735: fi
! 6736: fi
! 6737: AR=$ac_cv_prog_AR
! 6738: if test -n "$AR"; then
! 6739: { $as_echo "$as_me:$LINENO: result: $AR" >&5
! 6740: $as_echo "$AR" >&6; }
! 6741: else
! 6742: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6743: $as_echo "no" >&6; }
! 6744: fi
! 6745:
! 6746:
! 6747: fi
! 6748: if test -z "$ac_cv_prog_AR"; then
! 6749: ac_ct_AR=$AR
! 6750: # Extract the first word of "ar", so it can be a program name with args.
! 6751: set dummy ar; ac_word=$2
! 6752: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6753: $as_echo_n "checking for $ac_word... " >&6; }
! 6754: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
! 6755: $as_echo_n "(cached) " >&6
! 6756: else
! 6757: if test -n "$ac_ct_AR"; then
! 6758: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 6759: else
! 6760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6761: for as_dir in $PATH
! 6762: do
! 6763: IFS=$as_save_IFS
! 6764: test -z "$as_dir" && as_dir=.
! 6765: for ac_exec_ext in '' $ac_executable_extensions; do
! 6766: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6767: ac_cv_prog_ac_ct_AR="ar"
! 6768: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6769: break 2
! 6770: fi
! 6771: done
! 6772: done
! 6773: IFS=$as_save_IFS
! 6774:
! 6775: fi
! 6776: fi
! 6777: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 6778: if test -n "$ac_ct_AR"; then
! 6779: { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 6780: $as_echo "$ac_ct_AR" >&6; }
! 6781: else
! 6782: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6783: $as_echo "no" >&6; }
! 6784: fi
! 6785:
! 6786: if test "x$ac_ct_AR" = x; then
! 6787: AR="false"
! 6788: else
! 6789: case $cross_compiling:$ac_tool_warned in
! 6790: yes:)
! 6791: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6792: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6793: ac_tool_warned=yes ;;
! 6794: esac
! 6795: AR=$ac_ct_AR
! 6796: fi
! 6797: else
! 6798: AR="$ac_cv_prog_AR"
! 6799: fi
! 6800:
! 6801: if test -n "$ac_tool_prefix"; then
! 6802: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 6803: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 6804: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6805: $as_echo_n "checking for $ac_word... " >&6; }
! 6806: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 6807: $as_echo_n "(cached) " >&6
! 6808: else
! 6809: if test -n "$RANLIB"; then
! 6810: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 6811: else
! 6812: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6813: for as_dir in $PATH
! 6814: do
! 6815: IFS=$as_save_IFS
! 6816: test -z "$as_dir" && as_dir=.
! 6817: for ac_exec_ext in '' $ac_executable_extensions; do
! 6818: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6819: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 6820: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6821: break 2
! 6822: fi
! 6823: done
! 6824: done
! 6825: IFS=$as_save_IFS
! 6826:
! 6827: fi
! 6828: fi
! 6829: RANLIB=$ac_cv_prog_RANLIB
! 6830: if test -n "$RANLIB"; then
! 6831: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 6832: $as_echo "$RANLIB" >&6; }
! 6833: else
! 6834: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6835: $as_echo "no" >&6; }
! 6836: fi
! 6837:
! 6838:
! 6839: fi
! 6840: if test -z "$ac_cv_prog_RANLIB"; then
! 6841: ac_ct_RANLIB=$RANLIB
! 6842: # Extract the first word of "ranlib", so it can be a program name with args.
! 6843: set dummy ranlib; ac_word=$2
! 6844: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6845: $as_echo_n "checking for $ac_word... " >&6; }
! 6846: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 6847: $as_echo_n "(cached) " >&6
! 6848: else
! 6849: if test -n "$ac_ct_RANLIB"; then
! 6850: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 6851: else
! 6852: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6853: for as_dir in $PATH
! 6854: do
! 6855: IFS=$as_save_IFS
! 6856: test -z "$as_dir" && as_dir=.
! 6857: for ac_exec_ext in '' $ac_executable_extensions; do
! 6858: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6859: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 6860: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6861: break 2
! 6862: fi
! 6863: done
! 6864: done
! 6865: IFS=$as_save_IFS
! 6866:
! 6867: fi
! 6868: fi
! 6869: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 6870: if test -n "$ac_ct_RANLIB"; then
! 6871: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 6872: $as_echo "$ac_ct_RANLIB" >&6; }
! 6873: else
! 6874: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6875: $as_echo "no" >&6; }
! 6876: fi
! 6877:
! 6878: if test "x$ac_ct_RANLIB" = x; then
! 6879: RANLIB=":"
! 6880: else
! 6881: case $cross_compiling:$ac_tool_warned in
! 6882: yes:)
! 6883: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6884: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6885: ac_tool_warned=yes ;;
! 6886: esac
! 6887: RANLIB=$ac_ct_RANLIB
! 6888: fi
! 6889: else
! 6890: RANLIB="$ac_cv_prog_RANLIB"
! 6891: fi
! 6892:
! 6893: if test -n "$ac_tool_prefix"; then
! 6894: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 6895: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 6896: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6897: $as_echo_n "checking for $ac_word... " >&6; }
! 6898: if test "${ac_cv_prog_STRIP+set}" = set; then
! 6899: $as_echo_n "(cached) " >&6
! 6900: else
! 6901: if test -n "$STRIP"; then
! 6902: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 6903: else
! 6904: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6905: for as_dir in $PATH
! 6906: do
! 6907: IFS=$as_save_IFS
! 6908: test -z "$as_dir" && as_dir=.
! 6909: for ac_exec_ext in '' $ac_executable_extensions; do
! 6910: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6911: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 6912: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6913: break 2
! 6914: fi
! 6915: done
! 6916: done
! 6917: IFS=$as_save_IFS
! 6918:
! 6919: fi
! 6920: fi
! 6921: STRIP=$ac_cv_prog_STRIP
! 6922: if test -n "$STRIP"; then
! 6923: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 6924: $as_echo "$STRIP" >&6; }
! 6925: else
! 6926: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6927: $as_echo "no" >&6; }
! 6928: fi
! 6929:
! 6930:
! 6931: fi
! 6932: if test -z "$ac_cv_prog_STRIP"; then
! 6933: ac_ct_STRIP=$STRIP
! 6934: # Extract the first word of "strip", so it can be a program name with args.
! 6935: set dummy strip; ac_word=$2
! 6936: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6937: $as_echo_n "checking for $ac_word... " >&6; }
! 6938: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 6939: $as_echo_n "(cached) " >&6
! 6940: else
! 6941: if test -n "$ac_ct_STRIP"; then
! 6942: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 6943: else
! 6944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6945: for as_dir in $PATH
! 6946: do
! 6947: IFS=$as_save_IFS
! 6948: test -z "$as_dir" && as_dir=.
! 6949: for ac_exec_ext in '' $ac_executable_extensions; do
! 6950: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6951: ac_cv_prog_ac_ct_STRIP="strip"
! 6952: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6953: break 2
! 6954: fi
! 6955: done
! 6956: done
! 6957: IFS=$as_save_IFS
! 6958:
! 6959: fi
! 6960: fi
! 6961: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 6962: if test -n "$ac_ct_STRIP"; then
! 6963: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 6964: $as_echo "$ac_ct_STRIP" >&6; }
! 6965: else
! 6966: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6967: $as_echo "no" >&6; }
! 6968: fi
! 6969:
! 6970: if test "x$ac_ct_STRIP" = x; then
! 6971: STRIP=":"
! 6972: else
! 6973: case $cross_compiling:$ac_tool_warned in
! 6974: yes:)
! 6975: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6976: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6977: ac_tool_warned=yes ;;
! 6978: esac
! 6979: STRIP=$ac_ct_STRIP
! 6980: fi
! 6981: else
! 6982: STRIP="$ac_cv_prog_STRIP"
! 6983: fi
! 6984:
! 6985:
! 6986: old_CC="$CC"
! 6987: old_CFLAGS="$CFLAGS"
! 6988:
! 6989: # Set sane defaults for various variables
! 6990: test -z "$AR" && AR=ar
! 6991: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 6992: test -z "$AS" && AS=as
! 6993: test -z "$CC" && CC=cc
! 6994: test -z "$LTCC" && LTCC=$CC
! 6995: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 6996: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 6997: test -z "$LD" && LD=ld
! 6998: test -z "$LN_S" && LN_S="ln -s"
! 6999: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7000: test -z "$NM" && NM=nm
! 7001: test -z "$SED" && SED=sed
! 7002: test -z "$OBJDUMP" && OBJDUMP=objdump
! 7003: test -z "$RANLIB" && RANLIB=:
! 7004: test -z "$STRIP" && STRIP=:
! 7005: test -z "$ac_objext" && ac_objext=o
! 7006:
! 7007: # Determine commands to create old-style static archives.
! 7008: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 7009: old_postinstall_cmds='chmod 644 $oldlib'
! 7010: old_postuninstall_cmds=
! 7011:
! 7012: if test -n "$RANLIB"; then
! 7013: case $host_os in
! 7014: openbsd*)
! 7015: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 7016: ;;
! 7017: *)
! 7018: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 7019: ;;
! 7020: esac
! 7021: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 7022: fi
! 7023:
! 7024: for cc_temp in $compiler""; do
! 7025: case $cc_temp in
! 7026: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7027: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7028: \-*) ;;
! 7029: *) break;;
! 7030: esac
! 7031: done
! 7032: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 7033:
! 7034:
! 7035: # Only perform the check for file, if the check method requires it
! 7036: case $deplibs_check_method in
! 7037: file_magic*)
! 7038: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7039: { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7040: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 7041: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7042: $as_echo_n "(cached) " >&6
! 7043: else
! 7044: case $MAGIC_CMD in
! 7045: [\\/*] | ?:[\\/]*)
! 7046: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7047: ;;
! 7048: *)
! 7049: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7050: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7051: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7052: for ac_dir in $ac_dummy; do
! 7053: IFS="$lt_save_ifs"
! 7054: test -z "$ac_dir" && ac_dir=.
! 7055: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7056: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7057: if test -n "$file_magic_test_file"; then
! 7058: case $deplibs_check_method in
! 7059: "file_magic "*)
! 7060: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7061: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7062: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7063: $EGREP "$file_magic_regex" > /dev/null; then
! 7064: :
! 7065: else
! 7066: cat <<EOF 1>&2
! 7067:
! 7068: *** Warning: the command libtool uses to detect shared libraries,
! 7069: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7070: *** The result is that libtool may fail to recognize shared libraries
! 7071: *** as such. This will affect the creation of libtool libraries that
! 7072: *** depend on shared libraries, but programs linked with such libtool
! 7073: *** libraries will work regardless of this problem. Nevertheless, you
! 7074: *** may want to report the problem to your system manager and/or to
! 7075: *** bug-libtool@gnu.org
! 7076:
! 7077: EOF
! 7078: fi ;;
! 7079: esac
! 7080: fi
! 7081: break
! 7082: fi
! 7083: done
! 7084: IFS="$lt_save_ifs"
! 7085: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7086: ;;
! 7087: esac
! 7088: fi
! 7089:
! 7090: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7091: if test -n "$MAGIC_CMD"; then
! 7092: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7093: $as_echo "$MAGIC_CMD" >&6; }
! 7094: else
! 7095: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7096: $as_echo "no" >&6; }
! 7097: fi
! 7098:
! 7099: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7100: if test -n "$ac_tool_prefix"; then
! 7101: { $as_echo "$as_me:$LINENO: checking for file" >&5
! 7102: $as_echo_n "checking for file... " >&6; }
! 7103: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7104: $as_echo_n "(cached) " >&6
! 7105: else
! 7106: case $MAGIC_CMD in
! 7107: [\\/*] | ?:[\\/]*)
! 7108: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7109: ;;
! 7110: *)
! 7111: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7112: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7113: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7114: for ac_dir in $ac_dummy; do
! 7115: IFS="$lt_save_ifs"
! 7116: test -z "$ac_dir" && ac_dir=.
! 7117: if test -f $ac_dir/file; then
! 7118: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7119: if test -n "$file_magic_test_file"; then
! 7120: case $deplibs_check_method in
! 7121: "file_magic "*)
! 7122: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7123: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7124: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7125: $EGREP "$file_magic_regex" > /dev/null; then
! 7126: :
! 7127: else
! 7128: cat <<EOF 1>&2
! 7129:
! 7130: *** Warning: the command libtool uses to detect shared libraries,
! 7131: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7132: *** The result is that libtool may fail to recognize shared libraries
! 7133: *** as such. This will affect the creation of libtool libraries that
! 7134: *** depend on shared libraries, but programs linked with such libtool
! 7135: *** libraries will work regardless of this problem. Nevertheless, you
! 7136: *** may want to report the problem to your system manager and/or to
! 7137: *** bug-libtool@gnu.org
! 7138:
! 7139: EOF
! 7140: fi ;;
! 7141: esac
! 7142: fi
! 7143: break
! 7144: fi
! 7145: done
! 7146: IFS="$lt_save_ifs"
! 7147: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7148: ;;
! 7149: esac
! 7150: fi
! 7151:
! 7152: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7153: if test -n "$MAGIC_CMD"; then
! 7154: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7155: $as_echo "$MAGIC_CMD" >&6; }
! 7156: else
! 7157: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7158: $as_echo "no" >&6; }
! 7159: fi
! 7160:
! 7161: else
! 7162: MAGIC_CMD=:
! 7163: fi
! 7164: fi
! 7165:
! 7166: fi
! 7167: ;;
! 7168: esac
! 7169:
! 7170:
! 7171: case $host_os in
! 7172: rhapsody* | darwin*)
! 7173: if test -n "$ac_tool_prefix"; then
! 7174: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 7175: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 7176: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7177: $as_echo_n "checking for $ac_word... " >&6; }
! 7178: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 7179: $as_echo_n "(cached) " >&6
! 7180: else
! 7181: if test -n "$DSYMUTIL"; then
! 7182: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 7183: else
! 7184: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7185: for as_dir in $PATH
! 7186: do
! 7187: IFS=$as_save_IFS
! 7188: test -z "$as_dir" && as_dir=.
! 7189: for ac_exec_ext in '' $ac_executable_extensions; do
! 7190: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7191: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 7192: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7193: break 2
! 7194: fi
! 7195: done
! 7196: done
! 7197: IFS=$as_save_IFS
! 7198:
! 7199: fi
! 7200: fi
! 7201: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 7202: if test -n "$DSYMUTIL"; then
! 7203: { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 7204: $as_echo "$DSYMUTIL" >&6; }
! 7205: else
! 7206: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7207: $as_echo "no" >&6; }
! 7208: fi
! 7209:
! 7210:
! 7211: fi
! 7212: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 7213: ac_ct_DSYMUTIL=$DSYMUTIL
! 7214: # Extract the first word of "dsymutil", so it can be a program name with args.
! 7215: set dummy dsymutil; ac_word=$2
! 7216: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7217: $as_echo_n "checking for $ac_word... " >&6; }
! 7218: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 7219: $as_echo_n "(cached) " >&6
! 7220: else
! 7221: if test -n "$ac_ct_DSYMUTIL"; then
! 7222: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 7223: else
! 7224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7225: for as_dir in $PATH
! 7226: do
! 7227: IFS=$as_save_IFS
! 7228: test -z "$as_dir" && as_dir=.
! 7229: for ac_exec_ext in '' $ac_executable_extensions; do
! 7230: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7231: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 7232: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7233: break 2
! 7234: fi
! 7235: done
! 7236: done
! 7237: IFS=$as_save_IFS
! 7238:
! 7239: fi
! 7240: fi
! 7241: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 7242: if test -n "$ac_ct_DSYMUTIL"; then
! 7243: { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 7244: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 7245: else
! 7246: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7247: $as_echo "no" >&6; }
! 7248: fi
! 7249:
! 7250: if test "x$ac_ct_DSYMUTIL" = x; then
! 7251: DSYMUTIL=":"
! 7252: else
! 7253: case $cross_compiling:$ac_tool_warned in
! 7254: yes:)
! 7255: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 7256: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7257: ac_tool_warned=yes ;;
! 7258: esac
! 7259: DSYMUTIL=$ac_ct_DSYMUTIL
! 7260: fi
! 7261: else
! 7262: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 7263: fi
! 7264:
! 7265: if test -n "$ac_tool_prefix"; then
! 7266: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 7267: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 7268: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7269: $as_echo_n "checking for $ac_word... " >&6; }
! 7270: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 7271: $as_echo_n "(cached) " >&6
! 7272: else
! 7273: if test -n "$NMEDIT"; then
! 7274: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 7275: else
! 7276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7277: for as_dir in $PATH
! 7278: do
! 7279: IFS=$as_save_IFS
! 7280: test -z "$as_dir" && as_dir=.
! 7281: for ac_exec_ext in '' $ac_executable_extensions; do
! 7282: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7283: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 7284: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7285: break 2
! 7286: fi
! 7287: done
! 7288: done
! 7289: IFS=$as_save_IFS
! 7290:
! 7291: fi
! 7292: fi
! 7293: NMEDIT=$ac_cv_prog_NMEDIT
! 7294: if test -n "$NMEDIT"; then
! 7295: { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 7296: $as_echo "$NMEDIT" >&6; }
! 7297: else
! 7298: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7299: $as_echo "no" >&6; }
! 7300: fi
! 7301:
! 7302:
! 7303: fi
! 7304: if test -z "$ac_cv_prog_NMEDIT"; then
! 7305: ac_ct_NMEDIT=$NMEDIT
! 7306: # Extract the first word of "nmedit", so it can be a program name with args.
! 7307: set dummy nmedit; ac_word=$2
! 7308: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7309: $as_echo_n "checking for $ac_word... " >&6; }
! 7310: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 7311: $as_echo_n "(cached) " >&6
! 7312: else
! 7313: if test -n "$ac_ct_NMEDIT"; then
! 7314: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 7315: else
! 7316: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7317: for as_dir in $PATH
! 7318: do
! 7319: IFS=$as_save_IFS
! 7320: test -z "$as_dir" && as_dir=.
! 7321: for ac_exec_ext in '' $ac_executable_extensions; do
! 7322: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7323: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 7324: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7325: break 2
! 7326: fi
! 7327: done
! 7328: done
! 7329: IFS=$as_save_IFS
! 7330:
! 7331: fi
! 7332: fi
! 7333: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 7334: if test -n "$ac_ct_NMEDIT"; then
! 7335: { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 7336: $as_echo "$ac_ct_NMEDIT" >&6; }
! 7337: else
! 7338: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7339: $as_echo "no" >&6; }
! 7340: fi
! 7341:
! 7342: if test "x$ac_ct_NMEDIT" = x; then
! 7343: NMEDIT=":"
! 7344: else
! 7345: case $cross_compiling:$ac_tool_warned in
! 7346: yes:)
! 7347: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 7348: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7349: ac_tool_warned=yes ;;
! 7350: esac
! 7351: NMEDIT=$ac_ct_NMEDIT
! 7352: fi
! 7353: else
! 7354: NMEDIT="$ac_cv_prog_NMEDIT"
! 7355: fi
! 7356:
! 7357:
! 7358: { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 7359: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 7360: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 7361: $as_echo_n "(cached) " >&6
! 7362: else
! 7363: lt_cv_apple_cc_single_mod=no
! 7364: if test -z "${LT_MULTI_MODULE}"; then
! 7365: # By default we will add the -single_module flag. You can override
! 7366: # by either setting the environment variable LT_MULTI_MODULE
! 7367: # non-empty at configure time, or by adding -multi_module to the
! 7368: # link flags.
! 7369: echo "int foo(void){return 1;}" > conftest.c
! 7370: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 7371: -dynamiclib ${wl}-single_module conftest.c
! 7372: if test -f libconftest.dylib; then
! 7373: lt_cv_apple_cc_single_mod=yes
! 7374: rm -rf libconftest.dylib*
! 7375: fi
! 7376: rm conftest.c
! 7377: fi
! 7378: fi
! 7379: { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 7380: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 7381: { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 7382: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 7383: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 7384: $as_echo_n "(cached) " >&6
! 7385: else
! 7386: lt_cv_ld_exported_symbols_list=no
! 7387: save_LDFLAGS=$LDFLAGS
! 7388: echo "_main" > conftest.sym
! 7389: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 7390: cat >conftest.$ac_ext <<_ACEOF
! 7391: /* confdefs.h. */
! 7392: _ACEOF
! 7393: cat confdefs.h >>conftest.$ac_ext
! 7394: cat >>conftest.$ac_ext <<_ACEOF
! 7395: /* end confdefs.h. */
! 7396:
! 7397: int
! 7398: main ()
! 7399: {
! 7400:
! 7401: ;
! 7402: return 0;
! 7403: }
! 7404: _ACEOF
! 7405: rm -f conftest.$ac_objext conftest$ac_exeext
! 7406: if { (ac_try="$ac_link"
! 7407: case "(($ac_try" in
! 7408: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7409: *) ac_try_echo=$ac_try;;
! 7410: esac
! 7411: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 7412: $as_echo "$ac_try_echo") >&5
! 7413: (eval "$ac_link") 2>conftest.er1
! 7414: ac_status=$?
! 7415: grep -v '^ *+' conftest.er1 >conftest.err
! 7416: rm -f conftest.er1
! 7417: cat conftest.err >&5
! 7418: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7419: (exit $ac_status); } && {
! 7420: test -z "$ac_c_werror_flag" ||
! 7421: test ! -s conftest.err
! 7422: } && test -s conftest$ac_exeext && {
! 7423: test "$cross_compiling" = yes ||
! 7424: $as_test_x conftest$ac_exeext
! 7425: }; then
! 7426: lt_cv_ld_exported_symbols_list=yes
! 7427: else
! 7428: $as_echo "$as_me: failed program was:" >&5
! 7429: sed 's/^/| /' conftest.$ac_ext >&5
! 7430:
! 7431: lt_cv_ld_exported_symbols_list=no
! 7432: fi
! 7433:
! 7434: rm -rf conftest.dSYM
! 7435: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7436: conftest$ac_exeext conftest.$ac_ext
! 7437: LDFLAGS="$save_LDFLAGS"
! 7438:
! 7439: fi
! 7440: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 7441: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 7442: case $host_os in
! 7443: rhapsody* | darwin1.[0123])
! 7444: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 7445: darwin1.*)
! 7446: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 7447: darwin*)
! 7448: # if running on 10.5 or later, the deployment target defaults
! 7449: # to the OS version, if on x86, and 10.4, the deployment
! 7450: # target defaults to 10.4. Don't you love it?
! 7451: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 7452: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 7453: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 7454: 10.[012]*)
! 7455: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 7456: 10.*)
! 7457: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 7458: esac
! 7459: ;;
! 7460: esac
! 7461: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 7462: _lt_dar_single_mod='$single_module'
! 7463: fi
! 7464: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 7465: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 7466: else
! 7467: _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
! 7468: fi
! 7469: if test "$DSYMUTIL" != ":"; then
! 7470: _lt_dsymutil="~$DSYMUTIL \$lib || :"
! 7471: else
! 7472: _lt_dsymutil=
! 7473: fi
! 7474: ;;
! 7475: esac
! 7476:
! 7477:
! 7478: enable_dlopen=no
! 7479: enable_win32_dll=no
! 7480:
! 7481: # Check whether --enable-libtool-lock was given.
! 7482: if test "${enable_libtool_lock+set}" = set; then
! 7483: enableval=$enable_libtool_lock;
! 7484: fi
! 7485:
! 7486: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 7487:
! 7488:
! 7489: # Check whether --with-pic was given.
! 7490: if test "${with_pic+set}" = set; then
! 7491: withval=$with_pic; pic_mode="$withval"
! 7492: else
! 7493: pic_mode=default
! 7494: fi
! 7495:
! 7496: test -z "$pic_mode" && pic_mode=default
! 7497:
! 7498: # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
! 7499: #
! 7500: # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
! 7501: # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
! 7502: # calls AC_LIBTOOL_CONFIG and creates libtool.
! 7503: #
! 7504: { $as_echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
! 7505: $as_echo_n "checking for correct ltmain.sh version... " >&6; }
! 7506: if test "x$ltmain" = "x" ; then
! 7507: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7508: $as_echo "no" >&6; }
! 7509: { { $as_echo "$as_me:$LINENO: error:
! 7510:
! 7511: *** [Gentoo] sanity check failed! ***
! 7512: *** \$ltmain is not defined, please check the patch for consistency! ***
! 7513: " >&5
! 7514: $as_echo "$as_me: error:
! 7515:
! 7516: *** [Gentoo] sanity check failed! ***
! 7517: *** \$ltmain is not defined, please check the patch for consistency! ***
! 7518: " >&2;}
! 7519: { (exit 1); exit 1; }; }
! 7520: fi
! 7521: gentoo_lt_version="1.5.26"
! 7522: gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
! 7523: if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
! 7524: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7525: $as_echo "no" >&6; }
! 7526: { { $as_echo "$as_me:$LINENO: error:
! 7527:
! 7528: *** [Gentoo] sanity check failed! ***
! 7529: *** libtool.m4 and ltmain.sh have a version mismatch! ***
! 7530: *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
! 7531:
! 7532: Please run:
! 7533:
! 7534: libtoolize --copy --force
! 7535:
! 7536: if appropriate, please contact the maintainer of this
! 7537: package (or your distribution) for help.
! 7538: " >&5
! 7539: $as_echo "$as_me: error:
! 7540:
! 7541: *** [Gentoo] sanity check failed! ***
! 7542: *** libtool.m4 and ltmain.sh have a version mismatch! ***
! 7543: *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
! 7544:
! 7545: Please run:
! 7546:
! 7547: libtoolize --copy --force
! 7548:
! 7549: if appropriate, please contact the maintainer of this
! 7550: package (or your distribution) for help.
! 7551: " >&2;}
! 7552: { (exit 1); exit 1; }; }
! 7553: else
! 7554: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 7555: $as_echo "yes" >&6; }
! 7556: fi
! 7557:
! 7558:
! 7559: # Use C for the default configuration in the libtool script
! 7560: tagname=
! 7561: lt_save_CC="$CC"
! 7562: ac_ext=c
! 7563: ac_cpp='$CPP $CPPFLAGS'
! 7564: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7565: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7566: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7567:
! 7568:
! 7569: # Source file extension for C test sources.
! 7570: ac_ext=c
! 7571:
! 7572: # Object file extension for compiled C test sources.
! 7573: objext=o
! 7574: objext=$objext
! 7575:
! 7576: # Code to be used in simple compile tests
! 7577: lt_simple_compile_test_code="int some_variable = 0;"
! 7578:
! 7579: # Code to be used in simple link tests
! 7580: lt_simple_link_test_code='int main(){return(0);}'
! 7581:
! 7582:
! 7583: # If no C compiler was specified, use CC.
! 7584: LTCC=${LTCC-"$CC"}
! 7585:
! 7586: # If no C compiler flags were specified, use CFLAGS.
! 7587: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 7588:
! 7589: # Allow CC to be a program name with arguments.
! 7590: compiler=$CC
! 7591:
! 7592:
! 7593: # save warnings/boilerplate of simple test code
! 7594: ac_outfile=conftest.$ac_objext
! 7595: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7596: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7597: _lt_compiler_boilerplate=`cat conftest.err`
! 7598: $rm conftest*
! 7599:
! 7600: ac_outfile=conftest.$ac_objext
! 7601: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7602: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7603: _lt_linker_boilerplate=`cat conftest.err`
! 7604: $rm -r conftest*
! 7605:
! 7606:
! 7607:
! 7608: lt_prog_compiler_no_builtin_flag=
! 7609:
! 7610: if test "$GCC" = yes; then
! 7611: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 7612:
! 7613:
! 7614: { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7615: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 7616: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 7617: $as_echo_n "(cached) " >&6
! 7618: else
! 7619: lt_cv_prog_compiler_rtti_exceptions=no
! 7620: ac_outfile=conftest.$ac_objext
! 7621: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7622: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7623: # Insert the option either (1) after the last *FLAGS variable, or
! 7624: # (2) before a word containing "conftest.", or (3) at the end.
! 7625: # Note that $ac_compile itself does not contain backslashes and begins
! 7626: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7627: # The option is referenced via a variable to avoid confusing sed.
! 7628: lt_compile=`echo "$ac_compile" | $SED \
! 7629: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7630: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7631: -e 's:$: $lt_compiler_flag:'`
! 7632: (eval echo "\"\$as_me:7632: $lt_compile\"" >&5)
! 7633: (eval "$lt_compile" 2>conftest.err)
! 7634: ac_status=$?
! 7635: cat conftest.err >&5
! 7636: echo "$as_me:7636: \$? = $ac_status" >&5
! 7637: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7638: # The compiler can only warn and ignore the option if not recognized
! 7639: # So say no if there are warnings other than the usual output.
! 7640: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7641: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7642: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7643: lt_cv_prog_compiler_rtti_exceptions=yes
! 7644: fi
! 7645: fi
! 7646: $rm conftest*
! 7647:
! 7648: fi
! 7649: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7650: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 7651:
! 7652: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7653: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 7654: else
! 7655: :
! 7656: fi
! 7657:
! 7658: fi
! 7659:
! 7660: lt_prog_compiler_wl=
! 7661: lt_prog_compiler_pic=
! 7662: lt_prog_compiler_static=
! 7663:
! 7664: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 7665: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 7666:
! 7667: if test "$GCC" = yes; then
! 7668: lt_prog_compiler_wl='-Wl,'
! 7669: lt_prog_compiler_static='-static'
! 7670:
! 7671: case $host_os in
! 7672: aix*)
! 7673: # All AIX code is PIC.
! 7674: if test "$host_cpu" = ia64; then
! 7675: # AIX 5 now supports IA64 processor
! 7676: lt_prog_compiler_static='-Bstatic'
! 7677: fi
! 7678: ;;
! 7679:
! 7680: amigaos*)
! 7681: # FIXME: we need at least 68020 code to build shared libraries, but
! 7682: # adding the `-m68020' flag to GCC prevents building anything better,
! 7683: # like `-m68040'.
! 7684: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7685: ;;
! 7686:
! 7687: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7688: # PIC is the default for these OSes.
! 7689: ;;
! 7690:
! 7691: mingw* | cygwin* | pw32* | os2*)
! 7692: # This hack is so that the source file can tell whether it is being
! 7693: # built for inclusion in a dll (and should export symbols for example).
! 7694: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7695: # (--disable-auto-import) libraries
! 7696: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7697: ;;
! 7698:
! 7699: darwin* | rhapsody*)
! 7700: # PIC is the default on this platform
! 7701: # Common symbols not allowed in MH_DYLIB files
! 7702: lt_prog_compiler_pic='-fno-common'
! 7703: ;;
! 7704:
! 7705: interix[3-9]*)
! 7706: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7707: # Instead, we relocate shared libraries at runtime.
! 7708: ;;
! 7709:
! 7710: msdosdjgpp*)
! 7711: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7712: # on systems that don't support them.
! 7713: lt_prog_compiler_can_build_shared=no
! 7714: enable_shared=no
! 7715: ;;
! 7716:
! 7717: sysv4*MP*)
! 7718: if test -d /usr/nec; then
! 7719: lt_prog_compiler_pic=-Kconform_pic
! 7720: fi
! 7721: ;;
! 7722:
! 7723: hpux*)
! 7724: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7725: # not for PA HP-UX.
! 7726: case $host_cpu in
! 7727: hppa*64*|ia64*)
! 7728: # +Z the default
! 7729: ;;
! 7730: *)
! 7731: lt_prog_compiler_pic='-fPIC'
! 7732: ;;
! 7733: esac
! 7734: ;;
! 7735:
! 7736: *)
! 7737: lt_prog_compiler_pic='-fPIC'
! 7738: ;;
! 7739: esac
! 7740: else
! 7741: # PORTME Check for flag to pass linker flags through the system compiler.
! 7742: case $host_os in
! 7743: aix*)
! 7744: lt_prog_compiler_wl='-Wl,'
! 7745: if test "$host_cpu" = ia64; then
! 7746: # AIX 5 now supports IA64 processor
! 7747: lt_prog_compiler_static='-Bstatic'
! 7748: else
! 7749: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 7750: fi
! 7751: ;;
! 7752: darwin*)
! 7753: # PIC is the default on this platform
! 7754: # Common symbols not allowed in MH_DYLIB files
! 7755: case $cc_basename in
! 7756: xlc*)
! 7757: lt_prog_compiler_pic='-qnocommon'
! 7758: lt_prog_compiler_wl='-Wl,'
! 7759: ;;
! 7760: esac
! 7761: ;;
! 7762:
! 7763: mingw* | cygwin* | pw32* | os2*)
! 7764: # This hack is so that the source file can tell whether it is being
! 7765: # built for inclusion in a dll (and should export symbols for example).
! 7766: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7767: ;;
! 7768:
! 7769: hpux9* | hpux10* | hpux11*)
! 7770: lt_prog_compiler_wl='-Wl,'
! 7771: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7772: # not for PA HP-UX.
! 7773: case $host_cpu in
! 7774: hppa*64*|ia64*)
! 7775: # +Z the default
! 7776: ;;
! 7777: *)
! 7778: lt_prog_compiler_pic='+Z'
! 7779: ;;
! 7780: esac
! 7781: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 7782: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 7783: ;;
! 7784:
! 7785: irix5* | irix6* | nonstopux*)
! 7786: lt_prog_compiler_wl='-Wl,'
! 7787: # PIC (with -KPIC) is the default.
! 7788: lt_prog_compiler_static='-non_shared'
! 7789: ;;
! 7790:
! 7791: newsos6)
! 7792: lt_prog_compiler_pic='-KPIC'
! 7793: lt_prog_compiler_static='-Bstatic'
! 7794: ;;
! 7795:
! 7796: linux* | k*bsd*-gnu)
! 7797: case $cc_basename in
! 7798: icc* | ecc*)
! 7799: lt_prog_compiler_wl='-Wl,'
! 7800: lt_prog_compiler_pic='-KPIC'
! 7801: lt_prog_compiler_static='-static'
! 7802: ;;
! 7803: pgcc* | pgf77* | pgf90* | pgf95*)
! 7804: # Portland Group compilers (*not* the Pentium gcc compiler,
! 7805: # which looks to be a dead project)
! 7806: lt_prog_compiler_wl='-Wl,'
! 7807: lt_prog_compiler_pic='-fpic'
! 7808: lt_prog_compiler_static='-Bstatic'
! 7809: ;;
! 7810: ccc*)
! 7811: lt_prog_compiler_wl='-Wl,'
! 7812: # All Alpha code is PIC.
! 7813: lt_prog_compiler_static='-non_shared'
! 7814: ;;
! 7815: *)
! 7816: case `$CC -V 2>&1 | sed 5q` in
! 7817: *Sun\ C*)
! 7818: # Sun C 5.9
! 7819: lt_prog_compiler_pic='-KPIC'
! 7820: lt_prog_compiler_static='-Bstatic'
! 7821: lt_prog_compiler_wl='-Wl,'
! 7822: ;;
! 7823: *Sun\ F*)
! 7824: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 7825: lt_prog_compiler_pic='-KPIC'
! 7826: lt_prog_compiler_static='-Bstatic'
! 7827: lt_prog_compiler_wl=''
! 7828: ;;
! 7829: esac
! 7830: ;;
! 7831: esac
! 7832: ;;
! 7833:
! 7834: osf3* | osf4* | osf5*)
! 7835: lt_prog_compiler_wl='-Wl,'
! 7836: # All OSF/1 code is PIC.
! 7837: lt_prog_compiler_static='-non_shared'
! 7838: ;;
! 7839:
! 7840: rdos*)
! 7841: lt_prog_compiler_static='-non_shared'
! 7842: ;;
! 7843:
! 7844: solaris*)
! 7845: lt_prog_compiler_pic='-KPIC'
! 7846: lt_prog_compiler_static='-Bstatic'
! 7847: case $cc_basename in
! 7848: f77* | f90* | f95*)
! 7849: lt_prog_compiler_wl='-Qoption ld ';;
! 7850: *)
! 7851: lt_prog_compiler_wl='-Wl,';;
! 7852: esac
! 7853: ;;
! 7854:
! 7855: sunos4*)
! 7856: lt_prog_compiler_wl='-Qoption ld '
! 7857: lt_prog_compiler_pic='-PIC'
! 7858: lt_prog_compiler_static='-Bstatic'
! 7859: ;;
! 7860:
! 7861: sysv4 | sysv4.2uw2* | sysv4.3*)
! 7862: lt_prog_compiler_wl='-Wl,'
! 7863: lt_prog_compiler_pic='-KPIC'
! 7864: lt_prog_compiler_static='-Bstatic'
! 7865: ;;
! 7866:
! 7867: sysv4*MP*)
! 7868: if test -d /usr/nec ;then
! 7869: lt_prog_compiler_pic='-Kconform_pic'
! 7870: lt_prog_compiler_static='-Bstatic'
! 7871: fi
! 7872: ;;
! 7873:
! 7874: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 7875: lt_prog_compiler_wl='-Wl,'
! 7876: lt_prog_compiler_pic='-KPIC'
! 7877: lt_prog_compiler_static='-Bstatic'
! 7878: ;;
! 7879:
! 7880: unicos*)
! 7881: lt_prog_compiler_wl='-Wl,'
! 7882: lt_prog_compiler_can_build_shared=no
! 7883: ;;
! 7884:
! 7885: uts4*)
! 7886: lt_prog_compiler_pic='-pic'
! 7887: lt_prog_compiler_static='-Bstatic'
! 7888: ;;
! 7889:
! 7890: *)
! 7891: lt_prog_compiler_can_build_shared=no
! 7892: ;;
! 7893: esac
! 7894: fi
! 7895:
! 7896: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
! 7897: $as_echo "$lt_prog_compiler_pic" >&6; }
! 7898:
! 7899: #
! 7900: # Check to make sure the PIC flag actually works.
! 7901: #
! 7902: if test -n "$lt_prog_compiler_pic"; then
! 7903:
! 7904: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 7905: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 7906: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
! 7907: $as_echo_n "(cached) " >&6
! 7908: else
! 7909: lt_cv_prog_compiler_pic_works=no
! 7910: ac_outfile=conftest.$ac_objext
! 7911: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7912: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 7913: # Insert the option either (1) after the last *FLAGS variable, or
! 7914: # (2) before a word containing "conftest.", or (3) at the end.
! 7915: # Note that $ac_compile itself does not contain backslashes and begins
! 7916: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7917: # The option is referenced via a variable to avoid confusing sed.
! 7918: lt_compile=`echo "$ac_compile" | $SED \
! 7919: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7920: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7921: -e 's:$: $lt_compiler_flag:'`
! 7922: (eval echo "\"\$as_me:7922: $lt_compile\"" >&5)
! 7923: (eval "$lt_compile" 2>conftest.err)
! 7924: ac_status=$?
! 7925: cat conftest.err >&5
! 7926: echo "$as_me:7926: \$? = $ac_status" >&5
! 7927: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7928: # The compiler can only warn and ignore the option if not recognized
! 7929: # So say no if there are warnings other than the usual output.
! 7930: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7931: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7932: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7933: lt_cv_prog_compiler_pic_works=yes
! 7934: fi
! 7935: fi
! 7936: $rm conftest*
! 7937:
! 7938: fi
! 7939: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 7940: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 7941:
! 7942: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 7943: case $lt_prog_compiler_pic in
! 7944: "" | " "*) ;;
! 7945: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 7946: esac
! 7947: else
! 7948: lt_prog_compiler_pic=
! 7949: lt_prog_compiler_can_build_shared=no
! 7950: fi
! 7951:
! 7952: fi
! 7953: case $host_os in
! 7954: # For platforms which do not support PIC, -DPIC is meaningless:
! 7955: *djgpp*)
! 7956: lt_prog_compiler_pic=
! 7957: ;;
! 7958: *)
! 7959: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 7960: ;;
! 7961: esac
! 7962:
! 7963: #
! 7964: # Check to make sure the static flag actually works.
! 7965: #
! 7966: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 7967: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 7968: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 7969: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 7970: $as_echo_n "(cached) " >&6
! 7971: else
! 7972: lt_cv_prog_compiler_static_works=no
! 7973: save_LDFLAGS="$LDFLAGS"
! 7974: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 7975: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 7976: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 7977: # The linker can only warn and ignore the option if not recognized
! 7978: # So say no if there are warnings
! 7979: if test -s conftest.err; then
! 7980: # Append any errors to the config.log.
! 7981: cat conftest.err 1>&5
! 7982: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 7983: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7984: if diff conftest.exp conftest.er2 >/dev/null; then
! 7985: lt_cv_prog_compiler_static_works=yes
! 7986: fi
! 7987: else
! 7988: lt_cv_prog_compiler_static_works=yes
! 7989: fi
! 7990: fi
! 7991: $rm -r conftest*
! 7992: LDFLAGS="$save_LDFLAGS"
! 7993:
! 7994: fi
! 7995: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 7996: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 7997:
! 7998: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 7999: :
! 8000: else
! 8001: lt_prog_compiler_static=
! 8002: fi
! 8003:
! 8004:
! 8005: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8006: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 8007: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8008: $as_echo_n "(cached) " >&6
! 8009: else
! 8010: lt_cv_prog_compiler_c_o=no
! 8011: $rm -r conftest 2>/dev/null
! 8012: mkdir conftest
! 8013: cd conftest
! 8014: mkdir out
! 8015: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8016:
! 8017: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8018: # Insert the option either (1) after the last *FLAGS variable, or
! 8019: # (2) before a word containing "conftest.", or (3) at the end.
! 8020: # Note that $ac_compile itself does not contain backslashes and begins
! 8021: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8022: lt_compile=`echo "$ac_compile" | $SED \
! 8023: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8024: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8025: -e 's:$: $lt_compiler_flag:'`
! 8026: (eval echo "\"\$as_me:8026: $lt_compile\"" >&5)
! 8027: (eval "$lt_compile" 2>out/conftest.err)
! 8028: ac_status=$?
! 8029: cat out/conftest.err >&5
! 8030: echo "$as_me:8030: \$? = $ac_status" >&5
! 8031: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8032: then
! 8033: # The compiler can only warn and ignore the option if not recognized
! 8034: # So say no if there are warnings
! 8035: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 8036: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8037: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8038: lt_cv_prog_compiler_c_o=yes
! 8039: fi
! 8040: fi
! 8041: chmod u+w . 2>&5
! 8042: $rm conftest*
! 8043: # SGI C++ compiler will create directory out/ii_files/ for
! 8044: # template instantiation
! 8045: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 8046: $rm out/* && rmdir out
! 8047: cd ..
! 8048: rmdir conftest
! 8049: $rm conftest*
! 8050:
! 8051: fi
! 8052: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8053: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 8054:
! 8055:
! 8056: hard_links="nottested"
! 8057: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8058: # do not overwrite the value of need_locks provided by the user
! 8059: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 8060: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 8061: hard_links=yes
! 8062: $rm conftest*
! 8063: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8064: touch conftest.a
! 8065: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8066: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8067: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 8068: $as_echo "$hard_links" >&6; }
! 8069: if test "$hard_links" = no; then
! 8070: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8071: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8072: need_locks=warn
! 8073: fi
! 8074: else
! 8075: need_locks=no
! 8076: fi
! 8077:
! 8078: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8079: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 8080:
! 8081: runpath_var=
! 8082: allow_undefined_flag=
! 8083: enable_shared_with_static_runtimes=no
! 8084: archive_cmds=
! 8085: archive_expsym_cmds=
! 8086: old_archive_From_new_cmds=
! 8087: old_archive_from_expsyms_cmds=
! 8088: export_dynamic_flag_spec=
! 8089: whole_archive_flag_spec=
! 8090: thread_safe_flag_spec=
! 8091: hardcode_libdir_flag_spec=
! 8092: hardcode_libdir_flag_spec_ld=
! 8093: hardcode_libdir_separator=
! 8094: hardcode_direct=no
! 8095: hardcode_minus_L=no
! 8096: hardcode_shlibpath_var=unsupported
! 8097: link_all_deplibs=unknown
! 8098: hardcode_automatic=no
! 8099: module_cmds=
! 8100: module_expsym_cmds=
! 8101: always_export_symbols=no
! 8102: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8103: # include_expsyms should be a list of space-separated symbols to be *always*
! 8104: # included in the symbol list
! 8105: include_expsyms=
! 8106: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8107: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8108: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8109: # as well as any symbol that contains `d'.
! 8110: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8111: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8112: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8113: # the symbol is explicitly referenced. Since portable code cannot
! 8114: # rely on this symbol name, it's probably fine to never include it in
! 8115: # preloaded symbol tables.
! 8116: # Exclude shared library initialization/finalization symbols.
! 8117: extract_expsyms_cmds=
! 8118: # Just being paranoid about ensuring that cc_basename is set.
! 8119: for cc_temp in $compiler""; do
! 8120: case $cc_temp in
! 8121: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 8122: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 8123: \-*) ;;
! 8124: *) break;;
! 8125: esac
! 8126: done
! 8127: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 8128:
! 8129: case $host_os in
! 8130: cygwin* | mingw* | pw32*)
! 8131: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8132: # When not using gcc, we currently assume that we are using
! 8133: # Microsoft Visual C++.
! 8134: if test "$GCC" != yes; then
! 8135: with_gnu_ld=no
! 8136: fi
! 8137: ;;
! 8138: interix*)
! 8139: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8140: with_gnu_ld=yes
! 8141: ;;
! 8142: openbsd*)
! 8143: with_gnu_ld=no
! 8144: ;;
! 8145: esac
! 8146:
! 8147: ld_shlibs=yes
! 8148: if test "$with_gnu_ld" = yes; then
! 8149: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8150: wlarc='${wl}'
! 8151:
! 8152: # Set some defaults for GNU ld with shared library support. These
! 8153: # are reset later if shared libraries are not supported. Putting them
! 8154: # here allows them to be overridden if necessary.
! 8155: runpath_var=LD_RUN_PATH
! 8156: hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
! 8157: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8158: # ancient GNU ld didn't support --whole-archive et. al.
! 8159: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 8160: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8161: else
! 8162: whole_archive_flag_spec=
! 8163: fi
! 8164: supports_anon_versioning=no
! 8165: case `$LD -v 2>/dev/null` in
! 8166: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8167: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8168: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8169: *\ 2.11.*) ;; # other 2.11 versions
! 8170: *) supports_anon_versioning=yes ;;
! 8171: esac
! 8172:
! 8173: # See if GNU ld supports shared libraries.
! 8174: case $host_os in
! 8175: aix[3-9]*)
! 8176: # On AIX/PPC, the GNU linker is very broken
! 8177: if test "$host_cpu" != ia64; then
! 8178: ld_shlibs=no
! 8179: cat <<EOF 1>&2
! 8180:
! 8181: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 8182: *** to be unable to reliably create shared libraries on AIX.
! 8183: *** Therefore, libtool is disabling shared libraries support. If you
! 8184: *** really care for shared libraries, you may want to modify your PATH
! 8185: *** so that a non-GNU linker is found, and then restart.
! 8186:
! 8187: EOF
! 8188: fi
! 8189: ;;
! 8190:
! 8191: amigaos*)
! 8192: 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)'
! 8193: hardcode_libdir_flag_spec='-L$libdir'
! 8194: hardcode_minus_L=yes
! 8195:
! 8196: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 8197: # that the semantics of dynamic libraries on AmigaOS, at least up
! 8198: # to version 4, is to share data among multiple programs linked
! 8199: # with the same dynamic library. Since this doesn't match the
! 8200: # behavior of shared libraries on other platforms, we can't use
! 8201: # them.
! 8202: ld_shlibs=no
! 8203: ;;
! 8204:
! 8205: beos*)
! 8206: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8207: allow_undefined_flag=unsupported
! 8208: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8209: # support --undefined. This deserves some investigation. FIXME
! 8210: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8211: else
! 8212: ld_shlibs=no
! 8213: fi
! 8214: ;;
! 8215:
! 8216: cygwin* | mingw* | pw32*)
! 8217: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8218: # as there is no search path for DLLs.
! 8219: hardcode_libdir_flag_spec='-L$libdir'
! 8220: allow_undefined_flag=unsupported
! 8221: always_export_symbols=no
! 8222: enable_shared_with_static_runtimes=yes
! 8223: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 8224:
! 8225: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 8226: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8227: # If the export-symbols file already is a .def file (1st line
! 8228: # is EXPORTS), use it as is; otherwise, prepend...
! 8229: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8230: cp $export_symbols $output_objdir/$soname.def;
! 8231: else
! 8232: echo EXPORTS > $output_objdir/$soname.def;
! 8233: cat $export_symbols >> $output_objdir/$soname.def;
! 8234: fi~
! 8235: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8236: else
! 8237: ld_shlibs=no
! 8238: fi
! 8239: ;;
! 8240:
! 8241: interix[3-9]*)
! 8242: hardcode_direct=no
! 8243: hardcode_shlibpath_var=no
! 8244: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8245: export_dynamic_flag_spec='${wl}-E'
! 8246: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8247: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8248: # default) and relocated if they conflict, which is a slow very memory
! 8249: # consuming and fragmenting process. To avoid this, we pick a random,
! 8250: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8251: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8252: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8253: 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'
! 8254: ;;
! 8255:
! 8256: gnu* | linux* | k*bsd*-gnu)
! 8257: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8258: tmp_addflag=
! 8259: case $cc_basename,$host_cpu in
! 8260: pgcc*) # Portland Group C compiler
! 8261: 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'
! 8262: tmp_addflag=' $pic_flag'
! 8263: ;;
! 8264: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 8265: 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'
! 8266: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8267: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8268: tmp_addflag=' -i_dynamic' ;;
! 8269: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8270: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8271: ifc* | ifort*) # Intel Fortran compiler
! 8272: tmp_addflag=' -nofor_main' ;;
! 8273: esac
! 8274: case `$CC -V 2>&1 | sed 5q` in
! 8275: *Sun\ C*) # Sun C 5.9
! 8276: 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'
! 8277: tmp_sharedflag='-G' ;;
! 8278: *Sun\ F*) # Sun Fortran 8.3
! 8279: tmp_sharedflag='-G' ;;
! 8280: *)
! 8281: tmp_sharedflag='-shared' ;;
! 8282: esac
! 8283: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8284:
! 8285: if test $supports_anon_versioning = yes; then
! 8286: archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
! 8287: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8288: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 8289: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8290: fi
! 8291: else
! 8292: ld_shlibs=no
! 8293: fi
! 8294: ;;
! 8295:
! 8296: netbsd*)
! 8297: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 8298: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8299: wlarc=
! 8300: else
! 8301: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8302: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8303: fi
! 8304: ;;
! 8305:
! 8306: solaris*)
! 8307: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 8308: ld_shlibs=no
! 8309: cat <<EOF 1>&2
! 8310:
! 8311: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8312: *** create shared libraries on Solaris systems. Therefore, libtool
! 8313: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8314: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8315: *** your PATH or compiler configuration so that the native linker is
! 8316: *** used, and then restart.
! 8317:
! 8318: EOF
! 8319: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8320: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8321: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8322: else
! 8323: ld_shlibs=no
! 8324: fi
! 8325: ;;
! 8326:
! 8327: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8328: case `$LD -v 2>&1` in
! 8329: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8330: ld_shlibs=no
! 8331: cat <<_LT_EOF 1>&2
! 8332:
! 8333: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8334: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8335: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8336: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8337: *** your PATH or compiler configuration so that the native linker is
! 8338: *** used, and then restart.
! 8339:
! 8340: _LT_EOF
! 8341: ;;
! 8342: *)
! 8343: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8344: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 8345: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 8346: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 8347: else
! 8348: ld_shlibs=no
! 8349: fi
! 8350: ;;
! 8351: esac
! 8352: ;;
! 8353:
! 8354: sunos4*)
! 8355: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8356: wlarc=
! 8357: hardcode_direct=yes
! 8358: hardcode_shlibpath_var=no
! 8359: ;;
! 8360:
! 8361: *)
! 8362: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8363: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8364: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8365: else
! 8366: ld_shlibs=no
! 8367: fi
! 8368: ;;
! 8369: esac
! 8370:
! 8371: if test "$ld_shlibs" = no; then
! 8372: runpath_var=
! 8373: hardcode_libdir_flag_spec=
! 8374: export_dynamic_flag_spec=
! 8375: whole_archive_flag_spec=
! 8376: fi
! 8377: else
! 8378: # PORTME fill in a description of your system's linker (not GNU ld)
! 8379: case $host_os in
! 8380: aix3*)
! 8381: allow_undefined_flag=unsupported
! 8382: always_export_symbols=yes
! 8383: 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'
! 8384: # Note: this linker hardcodes the directories in LIBPATH if there
! 8385: # are no directories specified by -L.
! 8386: hardcode_minus_L=yes
! 8387: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8388: # Neither direct hardcoding nor static linking is supported with a
! 8389: # broken collect2.
! 8390: hardcode_direct=unsupported
! 8391: fi
! 8392: ;;
! 8393:
! 8394: aix[4-9]*)
! 8395: if test "$host_cpu" = ia64; then
! 8396: # On IA64, the linker does run time linking by default, so we don't
! 8397: # have to do anything special.
! 8398: aix_use_runtimelinking=no
! 8399: exp_sym_flag='-Bexport'
! 8400: no_entry_flag=""
! 8401: else
! 8402: # If we're using GNU nm, then we don't want the "-C" option.
! 8403: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8404: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 8405: 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'
! 8406: else
! 8407: 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'
! 8408: fi
! 8409: aix_use_runtimelinking=no
! 8410:
! 8411: # Test if we are trying to use run time linking or normal
! 8412: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8413: # need to do runtime linking.
! 8414: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8415: for ld_flag in $LDFLAGS; do
! 8416: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8417: aix_use_runtimelinking=yes
! 8418: break
! 8419: fi
! 8420: done
! 8421: ;;
! 8422: esac
! 8423:
! 8424: exp_sym_flag='-bexport'
! 8425: no_entry_flag='-bnoentry'
! 8426: fi
! 8427:
! 8428: # When large executables or shared objects are built, AIX ld can
! 8429: # have problems creating the table of contents. If linking a library
! 8430: # or program results in "error TOC overflow" add -mminimal-toc to
! 8431: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8432: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8433:
! 8434: archive_cmds=''
! 8435: hardcode_direct=yes
! 8436: hardcode_libdir_separator=':'
! 8437: link_all_deplibs=yes
! 8438:
! 8439: if test "$GCC" = yes; then
! 8440: case $host_os in aix4.[012]|aix4.[012].*)
! 8441: # We only want to do this on AIX 4.2 and lower, the check
! 8442: # below for broken collect2 doesn't work under 4.3+
! 8443: collect2name=`${CC} -print-prog-name=collect2`
! 8444: if test -f "$collect2name" && \
! 8445: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 8446: then
! 8447: # We have reworked collect2
! 8448: :
! 8449: else
! 8450: # We have old collect2
! 8451: hardcode_direct=unsupported
! 8452: # It fails to find uninstalled libraries when the uninstalled
! 8453: # path is not listed in the libpath. Setting hardcode_minus_L
! 8454: # to unsupported forces relinking
! 8455: hardcode_minus_L=yes
! 8456: hardcode_libdir_flag_spec='-L$libdir'
! 8457: hardcode_libdir_separator=
! 8458: fi
! 8459: ;;
! 8460: esac
! 8461: shared_flag='-shared'
! 8462: if test "$aix_use_runtimelinking" = yes; then
! 8463: shared_flag="$shared_flag "'${wl}-G'
! 8464: fi
! 8465: else
! 8466: # not using gcc
! 8467: if test "$host_cpu" = ia64; then
! 8468: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8469: # chokes on -Wl,-G. The following line is correct:
! 8470: shared_flag='-G'
! 8471: else
! 8472: if test "$aix_use_runtimelinking" = yes; then
! 8473: shared_flag='${wl}-G'
! 8474: else
! 8475: shared_flag='${wl}-bM:SRE'
! 8476: fi
! 8477: fi
! 8478: fi
! 8479:
! 8480: # It seems that -bexpall does not export symbols beginning with
! 8481: # underscore (_), so it is better to generate a list of symbols to export.
! 8482: always_export_symbols=yes
! 8483: if test "$aix_use_runtimelinking" = yes; then
! 8484: # Warning - without using the other runtime loading flags (-brtl),
! 8485: # -berok will link without error, but may produce a broken library.
! 8486: allow_undefined_flag='-berok'
! 8487: # Determine the default libpath from the value encoded in an empty executable.
! 8488: cat >conftest.$ac_ext <<_ACEOF
! 8489: /* confdefs.h. */
! 8490: _ACEOF
! 8491: cat confdefs.h >>conftest.$ac_ext
! 8492: cat >>conftest.$ac_ext <<_ACEOF
! 8493: /* end confdefs.h. */
! 8494:
! 8495: int
! 8496: main ()
! 8497: {
! 8498:
! 8499: ;
! 8500: return 0;
! 8501: }
! 8502: _ACEOF
! 8503: rm -f conftest.$ac_objext conftest$ac_exeext
! 8504: if { (ac_try="$ac_link"
! 8505: case "(($ac_try" in
! 8506: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8507: *) ac_try_echo=$ac_try;;
! 8508: esac
! 8509: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8510: $as_echo "$ac_try_echo") >&5
! 8511: (eval "$ac_link") 2>conftest.er1
! 8512: ac_status=$?
! 8513: grep -v '^ *+' conftest.er1 >conftest.err
! 8514: rm -f conftest.er1
! 8515: cat conftest.err >&5
! 8516: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8517: (exit $ac_status); } && {
! 8518: test -z "$ac_c_werror_flag" ||
! 8519: test ! -s conftest.err
! 8520: } && test -s conftest$ac_exeext && {
! 8521: test "$cross_compiling" = yes ||
! 8522: $as_test_x conftest$ac_exeext
! 8523: }; then
! 8524:
! 8525: lt_aix_libpath_sed='
! 8526: /Import File Strings/,/^$/ {
! 8527: /^0/ {
! 8528: s/^0 *\(.*\)$/\1/
! 8529: p
! 8530: }
! 8531: }'
! 8532: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8533: # Check for a 64-bit object if we didn't find anything.
! 8534: if test -z "$aix_libpath"; then
! 8535: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8536: fi
! 8537: else
! 8538: $as_echo "$as_me: failed program was:" >&5
! 8539: sed 's/^/| /' conftest.$ac_ext >&5
! 8540:
! 8541:
! 8542: fi
! 8543:
! 8544: rm -rf conftest.dSYM
! 8545: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8546: conftest$ac_exeext conftest.$ac_ext
! 8547: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8548:
! 8549: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8550: 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 8551: else
! 8552: if test "$host_cpu" = ia64; then
! 8553: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 8554: allow_undefined_flag="-z nodefs"
! 8555: 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"
! 8556: else
! 8557: # Determine the default libpath from the value encoded in an empty executable.
! 8558: cat >conftest.$ac_ext <<_ACEOF
! 8559: /* confdefs.h. */
! 8560: _ACEOF
! 8561: cat confdefs.h >>conftest.$ac_ext
! 8562: cat >>conftest.$ac_ext <<_ACEOF
! 8563: /* end confdefs.h. */
! 8564:
! 8565: int
! 8566: main ()
! 8567: {
! 8568:
! 8569: ;
! 8570: return 0;
! 8571: }
! 8572: _ACEOF
! 8573: rm -f conftest.$ac_objext conftest$ac_exeext
! 8574: if { (ac_try="$ac_link"
! 8575: case "(($ac_try" in
! 8576: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8577: *) ac_try_echo=$ac_try;;
! 8578: esac
! 8579: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8580: $as_echo "$ac_try_echo") >&5
! 8581: (eval "$ac_link") 2>conftest.er1
! 8582: ac_status=$?
! 8583: grep -v '^ *+' conftest.er1 >conftest.err
! 8584: rm -f conftest.er1
! 8585: cat conftest.err >&5
! 8586: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8587: (exit $ac_status); } && {
! 8588: test -z "$ac_c_werror_flag" ||
! 8589: test ! -s conftest.err
! 8590: } && test -s conftest$ac_exeext && {
! 8591: test "$cross_compiling" = yes ||
! 8592: $as_test_x conftest$ac_exeext
! 8593: }; then
! 8594:
! 8595: lt_aix_libpath_sed='
! 8596: /Import File Strings/,/^$/ {
! 8597: /^0/ {
! 8598: s/^0 *\(.*\)$/\1/
! 8599: p
! 8600: }
! 8601: }'
! 8602: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8603: # Check for a 64-bit object if we didn't find anything.
! 8604: if test -z "$aix_libpath"; then
! 8605: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8606: fi
! 8607: else
! 8608: $as_echo "$as_me: failed program was:" >&5
! 8609: sed 's/^/| /' conftest.$ac_ext >&5
! 8610:
! 8611:
! 8612: fi
! 8613:
! 8614: rm -rf conftest.dSYM
! 8615: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8616: conftest$ac_exeext conftest.$ac_ext
! 8617: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8618:
! 8619: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8620: # Warning - without using the other run time loading flags,
! 8621: # -berok will link without error, but may produce a broken library.
! 8622: no_undefined_flag=' ${wl}-bernotok'
! 8623: allow_undefined_flag=' ${wl}-berok'
! 8624: # Exported symbols can be pulled into shared objects from archives
! 8625: whole_archive_flag_spec='$convenience'
! 8626: archive_cmds_need_lc=yes
! 8627: # This is similar to how AIX traditionally builds its shared libraries.
! 8628: 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'
! 8629: fi
! 8630: fi
! 8631: ;;
! 8632:
! 8633: amigaos*)
! 8634: 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)'
! 8635: hardcode_libdir_flag_spec='-L$libdir'
! 8636: hardcode_minus_L=yes
! 8637: # see comment about different semantics on the GNU ld section
! 8638: ld_shlibs=no
! 8639: ;;
! 8640:
! 8641: bsdi[45]*)
! 8642: export_dynamic_flag_spec=-rdynamic
! 8643: ;;
! 8644:
! 8645: cygwin* | mingw* | pw32*)
! 8646: # When not using gcc, we currently assume that we are using
! 8647: # Microsoft Visual C++.
! 8648: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 8649: # no search path for DLLs.
! 8650: hardcode_libdir_flag_spec=' '
! 8651: allow_undefined_flag=unsupported
! 8652: # Tell ltmain to make .lib files, not .a files.
! 8653: libext=lib
! 8654: # Tell ltmain to make .dll files, not .so files.
! 8655: shrext_cmds=".dll"
! 8656: # FIXME: Setting linknames here is a bad hack.
! 8657: archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 8658: # The linker will automatically build a .lib file if we build a DLL.
! 8659: old_archive_From_new_cmds='true'
! 8660: # FIXME: Should let the user specify the lib program.
! 8661: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 8662: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 8663: enable_shared_with_static_runtimes=yes
! 8664: ;;
! 8665:
! 8666: darwin* | rhapsody*)
! 8667: case $host_os in
! 8668: rhapsody* | darwin1.[012])
! 8669: allow_undefined_flag='${wl}-undefined ${wl}suppress'
! 8670: ;;
! 8671: *) # Darwin 1.3 on
! 8672: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 8673: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 8674: else
! 8675: case ${MACOSX_DEPLOYMENT_TARGET} in
! 8676: 10.[012])
! 8677: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 8678: ;;
! 8679: 10.*)
! 8680: allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
! 8681: ;;
! 8682: esac
! 8683: fi
! 8684: ;;
! 8685: esac
! 8686: archive_cmds_need_lc=no
! 8687: hardcode_direct=no
! 8688: hardcode_automatic=yes
! 8689: hardcode_shlibpath_var=unsupported
! 8690: whole_archive_flag_spec=''
! 8691: link_all_deplibs=yes
! 8692: if test "$GCC" = yes ; then
! 8693: output_verbose_link_cmd='echo'
! 8694: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 8695: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 8696: 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}"
! 8697: 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}"
! 8698: else
! 8699: case $cc_basename in
! 8700: xlc*)
! 8701: output_verbose_link_cmd='echo'
! 8702: archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 8703: module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 8704: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 8705: archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 8706: module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 8707: ;;
! 8708: *)
! 8709: ld_shlibs=no
! 8710: ;;
! 8711: esac
! 8712: fi
! 8713: ;;
! 8714:
! 8715: dgux*)
! 8716: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8717: hardcode_libdir_flag_spec='-L$libdir'
! 8718: hardcode_shlibpath_var=no
! 8719: ;;
! 8720:
! 8721: freebsd1*)
! 8722: ld_shlibs=no
! 8723: ;;
! 8724:
! 8725: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 8726: # support. Future versions do this automatically, but an explicit c++rt0.o
! 8727: # does not break anything, and helps significantly (at the cost of a little
! 8728: # extra space).
! 8729: freebsd2.2*)
! 8730: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 8731: hardcode_libdir_flag_spec='-R$libdir'
! 8732: hardcode_direct=yes
! 8733: hardcode_shlibpath_var=no
! 8734: ;;
! 8735:
! 8736: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 8737: freebsd2*)
! 8738: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8739: hardcode_direct=yes
! 8740: hardcode_minus_L=yes
! 8741: hardcode_shlibpath_var=no
! 8742: ;;
! 8743:
! 8744: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 8745: freebsd* | dragonfly*)
! 8746: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 8747: hardcode_libdir_flag_spec='-R$libdir'
! 8748: hardcode_direct=yes
! 8749: hardcode_shlibpath_var=no
! 8750: ;;
! 8751:
! 8752: hpux9*)
! 8753: if test "$GCC" = yes; then
! 8754: 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'
! 8755: else
! 8756: 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'
! 8757: fi
! 8758: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8759: hardcode_libdir_separator=:
! 8760: hardcode_direct=yes
! 8761:
! 8762: # hardcode_minus_L: Not really in the search PATH,
! 8763: # but as the default location of the library.
! 8764: hardcode_minus_L=yes
! 8765: export_dynamic_flag_spec='${wl}-E'
! 8766: ;;
! 8767:
! 8768: hpux10*)
! 8769: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8770: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8771: else
! 8772: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 8773: fi
! 8774: if test "$with_gnu_ld" = no; then
! 8775: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8776: hardcode_libdir_separator=:
! 8777:
! 8778: hardcode_direct=yes
! 8779: export_dynamic_flag_spec='${wl}-E'
! 8780:
! 8781: # hardcode_minus_L: Not really in the search PATH,
! 8782: # but as the default location of the library.
! 8783: hardcode_minus_L=yes
! 8784: fi
! 8785: ;;
! 8786:
! 8787: hpux11*)
! 8788: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8789: case $host_cpu in
! 8790: hppa*64*)
! 8791: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8792: ;;
! 8793: ia64*)
! 8794: archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8795: ;;
! 8796: *)
! 8797: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8798: ;;
! 8799: esac
! 8800: else
! 8801: case $host_cpu in
! 8802: hppa*64*)
! 8803: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8804: ;;
! 8805: ia64*)
! 8806: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8807: ;;
! 8808: *)
! 8809: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8810: ;;
! 8811: esac
! 8812: fi
! 8813: if test "$with_gnu_ld" = no; then
! 8814: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8815: hardcode_libdir_separator=:
! 8816:
! 8817: case $host_cpu in
! 8818: hppa*64*|ia64*)
! 8819: hardcode_libdir_flag_spec_ld='+b $libdir'
! 8820: hardcode_direct=no
! 8821: hardcode_shlibpath_var=no
! 8822: ;;
! 8823: *)
! 8824: hardcode_direct=yes
! 8825: export_dynamic_flag_spec='${wl}-E'
! 8826:
! 8827: # hardcode_minus_L: Not really in the search PATH,
! 8828: # but as the default location of the library.
! 8829: hardcode_minus_L=yes
! 8830: ;;
! 8831: esac
! 8832: fi
! 8833: ;;
! 8834:
! 8835: irix5* | irix6* | nonstopux*)
! 8836: if test "$GCC" = yes; then
! 8837: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8838: else
! 8839: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 8840: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 8841: fi
! 8842: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8843: hardcode_libdir_separator=:
! 8844: link_all_deplibs=yes
! 8845: ;;
! 8846:
! 8847: netbsd*)
! 8848: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 8849: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 8850: else
! 8851: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 8852: fi
! 8853: hardcode_libdir_flag_spec='-R$libdir'
! 8854: hardcode_direct=yes
! 8855: hardcode_shlibpath_var=no
! 8856: ;;
! 8857:
! 8858: newsos6)
! 8859: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8860: hardcode_direct=yes
! 8861: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8862: hardcode_libdir_separator=:
! 8863: hardcode_shlibpath_var=no
! 8864: ;;
! 8865:
! 8866: openbsd*)
! 8867: if test -f /usr/libexec/ld.so; then
! 8868: hardcode_direct=yes
! 8869: hardcode_shlibpath_var=no
! 8870: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 8871: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8872: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 8873: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8874: export_dynamic_flag_spec='${wl}-E'
! 8875: else
! 8876: case $host_os in
! 8877: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 8878: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8879: hardcode_libdir_flag_spec='-R$libdir'
! 8880: ;;
! 8881: *)
! 8882: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8883: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8884: ;;
! 8885: esac
! 8886: fi
! 8887: else
! 8888: ld_shlibs=no
! 8889: fi
! 8890: ;;
! 8891:
! 8892: os2*)
! 8893: hardcode_libdir_flag_spec='-L$libdir'
! 8894: hardcode_minus_L=yes
! 8895: allow_undefined_flag=unsupported
! 8896: 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'
! 8897: old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 8898: ;;
! 8899:
! 8900: osf3*)
! 8901: if test "$GCC" = yes; then
! 8902: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8903: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8904: else
! 8905: allow_undefined_flag=' -expect_unresolved \*'
! 8906: archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 8907: fi
! 8908: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8909: hardcode_libdir_separator=:
! 8910: ;;
! 8911:
! 8912: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 8913: if test "$GCC" = yes; then
! 8914: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8915: archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 8916: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8917: else
! 8918: allow_undefined_flag=' -expect_unresolved \*'
! 8919: archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 8920: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 8921: $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
! 8922:
! 8923: # Both c and cxx compiler support -rpath directly
! 8924: hardcode_libdir_flag_spec='-rpath $libdir'
! 8925: fi
! 8926: hardcode_libdir_separator=:
! 8927: ;;
! 8928:
! 8929: solaris*)
! 8930: no_undefined_flag=' -z text'
! 8931: if test "$GCC" = yes; then
! 8932: wlarc='${wl}'
! 8933: archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8934: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 8935: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 8936: else
! 8937: wlarc=''
! 8938: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8939: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 8940: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 8941: fi
! 8942: hardcode_libdir_flag_spec='-R$libdir'
! 8943: hardcode_shlibpath_var=no
! 8944: case $host_os in
! 8945: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 8946: *)
! 8947: # The compiler driver will combine and reorder linker options,
! 8948: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 8949: # but is careful enough not to reorder.
! 8950: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 8951: if test "$GCC" = yes; then
! 8952: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 8953: else
! 8954: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 8955: fi
! 8956: ;;
! 8957: esac
! 8958: link_all_deplibs=yes
! 8959: ;;
! 8960:
! 8961: sunos4*)
! 8962: if test "x$host_vendor" = xsequent; then
! 8963: # Use $CC to link under sequent, because it throws in some extra .o
! 8964: # files that make .init and .fini sections work.
! 8965: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8966: else
! 8967: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 8968: fi
! 8969: hardcode_libdir_flag_spec='-L$libdir'
! 8970: hardcode_direct=yes
! 8971: hardcode_minus_L=yes
! 8972: hardcode_shlibpath_var=no
! 8973: ;;
! 8974:
! 8975: sysv4)
! 8976: case $host_vendor in
! 8977: sni)
! 8978: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8979: hardcode_direct=yes # is this really true???
! 8980: ;;
! 8981: siemens)
! 8982: ## LD is ld it makes a PLAMLIB
! 8983: ## CC just makes a GrossModule.
! 8984: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 8985: reload_cmds='$CC -r -o $output$reload_objs'
! 8986: hardcode_direct=no
! 8987: ;;
! 8988: motorola)
! 8989: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8990: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 8991: ;;
! 8992: esac
! 8993: runpath_var='LD_RUN_PATH'
! 8994: hardcode_shlibpath_var=no
! 8995: ;;
! 8996:
! 8997: sysv4.3*)
! 8998: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8999: hardcode_shlibpath_var=no
! 9000: export_dynamic_flag_spec='-Bexport'
! 9001: ;;
! 9002:
! 9003: sysv4*MP*)
! 9004: if test -d /usr/nec; then
! 9005: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9006: hardcode_shlibpath_var=no
! 9007: runpath_var=LD_RUN_PATH
! 9008: hardcode_runpath_var=yes
! 9009: ld_shlibs=yes
! 9010: fi
! 9011: ;;
! 9012:
! 9013: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9014: no_undefined_flag='${wl}-z,text'
! 9015: archive_cmds_need_lc=no
! 9016: hardcode_shlibpath_var=no
! 9017: runpath_var='LD_RUN_PATH'
! 9018:
! 9019: if test "$GCC" = yes; then
! 9020: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9021: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9022: else
! 9023: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9024: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9025: fi
! 9026: ;;
! 9027:
! 9028: sysv5* | sco3.2v5* | sco5v6*)
! 9029: # Note: We can NOT use -z defs as we might desire, because we do not
! 9030: # link with -lc, and that would cause any symbols used from libc to
! 9031: # always be unresolved, which means just about no library would
! 9032: # ever link correctly. If we're not using GNU ld we use -z text
! 9033: # though, which does catch some bad symbols but isn't as heavy-handed
! 9034: # as -z defs.
! 9035: no_undefined_flag='${wl}-z,text'
! 9036: allow_undefined_flag='${wl}-z,nodefs'
! 9037: archive_cmds_need_lc=no
! 9038: hardcode_shlibpath_var=no
! 9039: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 9040: hardcode_libdir_separator=':'
! 9041: link_all_deplibs=yes
! 9042: export_dynamic_flag_spec='${wl}-Bexport'
! 9043: runpath_var='LD_RUN_PATH'
! 9044:
! 9045: if test "$GCC" = yes; then
! 9046: archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9047: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9048: else
! 9049: archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9050: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9051: fi
! 9052: ;;
! 9053:
! 9054: uts4*)
! 9055: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9056: hardcode_libdir_flag_spec='-L$libdir'
! 9057: hardcode_shlibpath_var=no
! 9058: ;;
! 9059:
! 9060: *)
! 9061: ld_shlibs=no
! 9062: ;;
! 9063: esac
! 9064: fi
! 9065:
! 9066: { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9067: $as_echo "$ld_shlibs" >&6; }
! 9068: test "$ld_shlibs" = no && can_build_shared=no
! 9069:
! 9070: #
! 9071: # Do we need to explicitly link libc?
! 9072: #
! 9073: case "x$archive_cmds_need_lc" in
! 9074: x|xyes)
! 9075: # Assume -lc should be added
! 9076: archive_cmds_need_lc=yes
! 9077:
! 9078: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9079: case $archive_cmds in
! 9080: *'~'*)
! 9081: # FIXME: we may have to deal with multi-command sequences.
! 9082: ;;
! 9083: '$CC '*)
! 9084: # Test whether the compiler implicitly links with -lc since on some
! 9085: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9086: # to ld, don't add -lc before -lgcc.
! 9087: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9088: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 9089: $rm conftest*
! 9090: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9091:
! 9092: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9093: (eval $ac_compile) 2>&5
! 9094: ac_status=$?
! 9095: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9096: (exit $ac_status); } 2>conftest.err; then
! 9097: soname=conftest
! 9098: lib=conftest
! 9099: libobjs=conftest.$ac_objext
! 9100: deplibs=
! 9101: wl=$lt_prog_compiler_wl
! 9102: pic_flag=$lt_prog_compiler_pic
! 9103: compiler_flags=-v
! 9104: linker_flags=-v
! 9105: verstring=
! 9106: output_objdir=.
! 9107: libname=conftest
! 9108: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9109: allow_undefined_flag=
! 9110: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9111: (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9112: ac_status=$?
! 9113: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9114: (exit $ac_status); }
! 9115: then
! 9116: archive_cmds_need_lc=no
! 9117: else
! 9118: archive_cmds_need_lc=yes
! 9119: fi
! 9120: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9121: else
! 9122: cat conftest.err 1>&5
! 9123: fi
! 9124: $rm conftest*
! 9125: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
! 9126: $as_echo "$archive_cmds_need_lc" >&6; }
! 9127: ;;
! 9128: esac
! 9129: fi
! 9130: ;;
! 9131: esac
! 9132:
! 9133: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9134: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 9135: library_names_spec=
! 9136: libname_spec='lib$name'
! 9137: soname_spec=
! 9138: shrext_cmds=".so"
! 9139: postinstall_cmds=
! 9140: postuninstall_cmds=
! 9141: finish_cmds=
! 9142: finish_eval=
! 9143: shlibpath_var=
! 9144: shlibpath_overrides_runpath=unknown
! 9145: version_type=none
! 9146: dynamic_linker="$host_os ld.so"
! 9147: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 9148:
! 9149: if test "$GCC" = yes; then
! 9150: case $host_os in
! 9151: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9152: *) lt_awk_arg="/^libraries:/" ;;
! 9153: esac
! 9154: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9155: if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
! 9156: # if the path contains ";" then we assume it to be the separator
! 9157: # otherwise default to the standard path separator (i.e. ":") - it is
! 9158: # assumed that no part of a normal pathname contains ";" but that should
! 9159: # okay in the real world where ";" in dirpaths is itself problematic.
! 9160: lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
! 9161: else
! 9162: lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9163: fi
! 9164: # Ok, now we have the path, separated by spaces, we can step through it
! 9165: # and add multilib dir if necessary.
! 9166: lt_tmp_lt_search_path_spec=
! 9167: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9168: for lt_sys_path in $lt_search_path_spec; do
! 9169: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9170: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9171: else
! 9172: test -d "$lt_sys_path" && \
! 9173: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9174: fi
! 9175: done
! 9176: lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
! 9177: BEGIN {RS=" "; FS="/|\n";} {
! 9178: lt_foo="";
! 9179: lt_count=0;
! 9180: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9181: if ($lt_i != "" && $lt_i != ".") {
! 9182: if ($lt_i == "..") {
! 9183: lt_count++;
! 9184: } else {
! 9185: if (lt_count == 0) {
! 9186: lt_foo="/" $lt_i lt_foo;
! 9187: } else {
! 9188: lt_count--;
! 9189: }
! 9190: }
! 9191: }
! 9192: }
! 9193: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9194: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9195: }'`
! 9196: sys_lib_search_path_spec=`echo $lt_search_path_spec`
! 9197: else
! 9198: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 9199: fi
! 9200: need_lib_prefix=unknown
! 9201: hardcode_into_libs=no
! 9202:
! 9203: # when you set need_version to no, make sure it does not cause -set_version
! 9204: # flags to be left without arguments
! 9205: need_version=unknown
! 9206:
! 9207: case $host_os in
! 9208: aix3*)
! 9209: version_type=linux
! 9210: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 9211: shlibpath_var=LIBPATH
! 9212:
! 9213: # AIX 3 has no versioning support, so we append a major version to the name.
! 9214: soname_spec='${libname}${release}${shared_ext}$major'
! 9215: ;;
! 9216:
! 9217: aix[4-9]*)
! 9218: version_type=linux
! 9219: need_lib_prefix=no
! 9220: need_version=no
! 9221: hardcode_into_libs=yes
! 9222: if test "$host_cpu" = ia64; then
! 9223: # AIX 5 supports IA64
! 9224: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 9225: shlibpath_var=LD_LIBRARY_PATH
! 9226: else
! 9227: # With GCC up to 2.95.x, collect2 would create an import file
! 9228: # for dependence libraries. The import file would start with
! 9229: # the line `#! .'. This would cause the generated library to
! 9230: # depend on `.', always an invalid library. This was fixed in
! 9231: # development snapshots of GCC prior to 3.0.
! 9232: case $host_os in
! 9233: aix4 | aix4.[01] | aix4.[01].*)
! 9234: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 9235: echo ' yes '
! 9236: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 9237: :
! 9238: else
! 9239: can_build_shared=no
! 9240: fi
! 9241: ;;
! 9242: esac
! 9243: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 9244: # soname into executable. Probably we can add versioning support to
! 9245: # collect2, so additional links can be useful in future.
! 9246: if test "$aix_use_runtimelinking" = yes; then
! 9247: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 9248: # instead of lib<name>.a to let people know that these are not
! 9249: # typical AIX shared libraries.
! 9250: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9251: else
! 9252: # We preserve .a as extension for shared libraries through AIX4.2
! 9253: # and later when we are not doing run time linking.
! 9254: library_names_spec='${libname}${release}.a $libname.a'
! 9255: soname_spec='${libname}${release}${shared_ext}$major'
! 9256: fi
! 9257: shlibpath_var=LIBPATH
! 9258: fi
! 9259: ;;
! 9260:
! 9261: amigaos*)
! 9262: library_names_spec='$libname.ixlibrary $libname.a'
! 9263: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 9264: 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'
! 9265: ;;
! 9266:
! 9267: beos*)
! 9268: library_names_spec='${libname}${shared_ext}'
! 9269: dynamic_linker="$host_os ld.so"
! 9270: shlibpath_var=LIBRARY_PATH
! 9271: ;;
! 9272:
! 9273: bsdi[45]*)
! 9274: version_type=linux
! 9275: need_version=no
! 9276: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9277: soname_spec='${libname}${release}${shared_ext}$major'
! 9278: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 9279: shlibpath_var=LD_LIBRARY_PATH
! 9280: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 9281: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 9282: # the default ld.so.conf also contains /usr/contrib/lib and
! 9283: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 9284: # libtool to hard-code these into programs
! 9285: ;;
! 9286:
! 9287: cygwin* | mingw* | pw32*)
! 9288: version_type=windows
! 9289: shrext_cmds=".dll"
! 9290: need_version=no
! 9291: need_lib_prefix=no
! 9292:
! 9293: case $GCC,$host_os in
! 9294: yes,cygwin* | yes,mingw* | yes,pw32*)
! 9295: library_names_spec='$libname.dll.a'
! 9296: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9297: postinstall_cmds='base_file=`basename \${file}`~
! 9298: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 9299: dldir=$destdir/`dirname \$dlpath`~
! 9300: test -d \$dldir || mkdir -p \$dldir~
! 9301: $install_prog $dir/$dlname \$dldir/$dlname~
! 9302: chmod a+x \$dldir/$dlname'
! 9303: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9304: dlpath=$dir/\$dldll~
! 9305: $rm \$dlpath'
! 9306: shlibpath_overrides_runpath=yes
! 9307:
! 9308: case $host_os in
! 9309: cygwin*)
! 9310: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 9311: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9312: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 9313: ;;
! 9314: mingw*)
! 9315: # MinGW DLLs use traditional 'lib' prefix
! 9316: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9317: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9318: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 9319: # It is most probably a Windows format PATH printed by
! 9320: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 9321: # path with ; separators, and with drive letters. We can handle the
! 9322: # drive letters (cygwin fileutils understands them), so leave them,
! 9323: # especially as we might pass files found there to a mingw objdump,
! 9324: # which wouldn't understand a cygwinified path. Ahh.
! 9325: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 9326: else
! 9327: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9328: fi
! 9329: ;;
! 9330: pw32*)
! 9331: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 9332: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9333: ;;
! 9334: esac
! 9335: ;;
! 9336:
! 9337: *)
! 9338: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 9339: ;;
! 9340: esac
! 9341: dynamic_linker='Win32 ld.exe'
! 9342: # FIXME: first we should search . and the directory the executable is in
! 9343: shlibpath_var=PATH
! 9344: ;;
! 9345:
! 9346: darwin* | rhapsody*)
! 9347: dynamic_linker="$host_os dyld"
! 9348: version_type=darwin
! 9349: need_lib_prefix=no
! 9350: need_version=no
! 9351: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 9352: soname_spec='${libname}${release}${major}$shared_ext'
! 9353: shlibpath_overrides_runpath=yes
! 9354: shlibpath_var=DYLD_LIBRARY_PATH
! 9355: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 9356:
! 9357: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 9358: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 9359: ;;
! 9360:
! 9361: dgux*)
! 9362: version_type=linux
! 9363: need_lib_prefix=no
! 9364: need_version=no
! 9365: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 9366: soname_spec='${libname}${release}${shared_ext}$major'
! 9367: shlibpath_var=LD_LIBRARY_PATH
! 9368: ;;
! 9369:
! 9370: freebsd1*)
! 9371: dynamic_linker=no
! 9372: ;;
! 9373:
! 9374: freebsd* | dragonfly*)
! 9375: # DragonFly does not have aout. When/if they implement a new
! 9376: # versioning mechanism, adjust this.
! 9377: if test -x /usr/bin/objformat; then
! 9378: objformat=`/usr/bin/objformat`
! 9379: else
! 9380: case $host_os in
! 9381: freebsd[123]*) objformat=aout ;;
! 9382: *) objformat=elf ;;
! 9383: esac
! 9384: fi
! 9385: # Handle Gentoo/FreeBSD as it was Linux
! 9386: case $host_vendor in
! 9387: gentoo)
! 9388: version_type=linux ;;
! 9389: *)
! 9390: version_type=freebsd-$objformat ;;
! 9391: esac
! 9392:
! 9393: case $version_type in
! 9394: freebsd-elf*)
! 9395: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9396: need_version=no
! 9397: need_lib_prefix=no
! 9398: ;;
! 9399: freebsd-*)
! 9400: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 9401: need_version=yes
! 9402: ;;
! 9403: linux)
! 9404: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9405: soname_spec='${libname}${release}${shared_ext}$major'
! 9406: need_lib_prefix=no
! 9407: need_version=no
! 9408: ;;
! 9409: esac
! 9410: shlibpath_var=LD_LIBRARY_PATH
! 9411: case $host_os in
! 9412: freebsd2*)
! 9413: shlibpath_overrides_runpath=yes
! 9414: ;;
! 9415: freebsd3.[01]* | freebsdelf3.[01]*)
! 9416: shlibpath_overrides_runpath=yes
! 9417: hardcode_into_libs=yes
! 9418: ;;
! 9419: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 9420: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 9421: shlibpath_overrides_runpath=no
! 9422: hardcode_into_libs=yes
! 9423: ;;
! 9424: *) # from 4.6 on, and DragonFly
! 9425: shlibpath_overrides_runpath=yes
! 9426: hardcode_into_libs=yes
! 9427: ;;
! 9428: esac
! 9429: ;;
! 9430:
! 9431: gnu*)
! 9432: version_type=linux
! 9433: need_lib_prefix=no
! 9434: need_version=no
! 9435: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 9436: soname_spec='${libname}${release}${shared_ext}$major'
! 9437: shlibpath_var=LD_LIBRARY_PATH
! 9438: hardcode_into_libs=yes
! 9439: ;;
! 9440:
! 9441: hpux9* | hpux10* | hpux11*)
! 9442: # Give a soname corresponding to the major version so that dld.sl refuses to
! 9443: # link against other versions.
! 9444: version_type=sunos
! 9445: need_lib_prefix=no
! 9446: need_version=no
! 9447: case $host_cpu in
! 9448: ia64*)
! 9449: shrext_cmds='.so'
! 9450: hardcode_into_libs=yes
! 9451: dynamic_linker="$host_os dld.so"
! 9452: shlibpath_var=LD_LIBRARY_PATH
! 9453: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9454: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9455: soname_spec='${libname}${release}${shared_ext}$major'
! 9456: if test "X$HPUX_IA64_MODE" = X32; then
! 9457: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 9458: else
! 9459: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 9460: fi
! 9461: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9462: ;;
! 9463: hppa*64*)
! 9464: shrext_cmds='.sl'
! 9465: hardcode_into_libs=yes
! 9466: dynamic_linker="$host_os dld.sl"
! 9467: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 9468: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9469: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9470: soname_spec='${libname}${release}${shared_ext}$major'
! 9471: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 9472: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9473: ;;
! 9474: *)
! 9475: shrext_cmds='.sl'
! 9476: dynamic_linker="$host_os dld.sl"
! 9477: shlibpath_var=SHLIB_PATH
! 9478: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 9479: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9480: soname_spec='${libname}${release}${shared_ext}$major'
! 9481: ;;
! 9482: esac
! 9483: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 9484: postinstall_cmds='chmod 555 $lib'
! 9485: ;;
! 9486:
! 9487: interix[3-9]*)
! 9488: version_type=linux
! 9489: need_lib_prefix=no
! 9490: need_version=no
! 9491: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9492: soname_spec='${libname}${release}${shared_ext}$major'
! 9493: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 9494: shlibpath_var=LD_LIBRARY_PATH
! 9495: shlibpath_overrides_runpath=no
! 9496: hardcode_into_libs=yes
! 9497: ;;
! 9498:
! 9499: irix5* | irix6* | nonstopux*)
! 9500: case $host_os in
! 9501: nonstopux*) version_type=nonstopux ;;
! 9502: *)
! 9503: if test "$lt_cv_prog_gnu_ld" = yes; then
! 9504: version_type=linux
! 9505: else
! 9506: version_type=irix
! 9507: fi ;;
! 9508: esac
! 9509: need_lib_prefix=no
! 9510: need_version=no
! 9511: soname_spec='${libname}${release}${shared_ext}$major'
! 9512: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9513: case $host_os in
! 9514: irix5* | nonstopux*)
! 9515: libsuff= shlibsuff=
! 9516: ;;
! 9517: *)
! 9518: case $LD in # libtool.m4 will add one of these switches to LD
! 9519: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 9520: libsuff= shlibsuff= libmagic=32-bit;;
! 9521: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 9522: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 9523: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 9524: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 9525: *) libsuff= shlibsuff= libmagic=never-match;;
! 9526: esac
! 9527: ;;
! 9528: esac
! 9529: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 9530: shlibpath_overrides_runpath=no
! 9531: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 9532: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 9533: hardcode_into_libs=yes
! 9534: ;;
! 9535:
! 9536: # No shared lib support for Linux oldld, aout, or coff.
! 9537: linux*oldld* | linux*aout* | linux*coff*)
! 9538: dynamic_linker=no
! 9539: ;;
! 9540:
! 9541: # This must be Linux ELF.
! 9542: linux* | k*bsd*-gnu)
! 9543: version_type=linux
! 9544: need_lib_prefix=no
! 9545: need_version=no
! 9546: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9547: soname_spec='${libname}${release}${shared_ext}$major'
! 9548: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 9549: shlibpath_var=LD_LIBRARY_PATH
! 9550: shlibpath_overrides_runpath=no
! 9551: # This implies no fast_install, which is unacceptable.
! 9552: # Some rework will be needed to allow for fast_install
! 9553: # before this can be enabled.
! 9554: hardcode_into_libs=yes
! 9555:
! 9556: # Append ld.so.conf contents to the search path
! 9557: if test -f /etc/ld.so.conf; then
! 9558: 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' ' '`
! 9559: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 9560: fi
! 9561:
! 9562: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 9563: # powerpc, because MkLinux only supported shared libraries with the
! 9564: # GNU dynamic linker. Since this was broken with cross compilers,
! 9565: # most powerpc-linux boxes support dynamic linking these days and
! 9566: # people can always --disable-shared, the test was removed, and we
! 9567: # assume the GNU/Linux dynamic linker is in use.
! 9568: dynamic_linker='GNU/Linux ld.so'
! 9569: ;;
! 9570:
! 9571: netbsd*)
! 9572: version_type=sunos
! 9573: need_lib_prefix=no
! 9574: need_version=no
! 9575: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 9576: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9577: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9578: dynamic_linker='NetBSD (a.out) ld.so'
! 9579: else
! 9580: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9581: soname_spec='${libname}${release}${shared_ext}$major'
! 9582: dynamic_linker='NetBSD ld.elf_so'
! 9583: fi
! 9584: shlibpath_var=LD_LIBRARY_PATH
! 9585: shlibpath_overrides_runpath=yes
! 9586: hardcode_into_libs=yes
! 9587: ;;
! 9588:
! 9589: newsos6)
! 9590: version_type=linux
! 9591: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9592: shlibpath_var=LD_LIBRARY_PATH
! 9593: shlibpath_overrides_runpath=yes
! 9594: ;;
! 9595:
! 9596: nto-qnx*)
! 9597: version_type=linux
! 9598: need_lib_prefix=no
! 9599: need_version=no
! 9600: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9601: soname_spec='${libname}${release}${shared_ext}$major'
! 9602: shlibpath_var=LD_LIBRARY_PATH
! 9603: shlibpath_overrides_runpath=yes
! 9604: ;;
! 9605:
! 9606: openbsd*)
! 9607: version_type=sunos
! 9608: sys_lib_dlsearch_path_spec="/usr/lib"
! 9609: need_lib_prefix=no
! 9610: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 9611: case $host_os in
! 9612: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 9613: *) need_version=no ;;
! 9614: esac
! 9615: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9616: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9617: shlibpath_var=LD_LIBRARY_PATH
! 9618: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9619: case $host_os in
! 9620: openbsd2.[89] | openbsd2.[89].*)
! 9621: shlibpath_overrides_runpath=no
! 9622: ;;
! 9623: *)
! 9624: shlibpath_overrides_runpath=yes
! 9625: ;;
! 9626: esac
! 9627: else
! 9628: shlibpath_overrides_runpath=yes
! 9629: fi
! 9630: ;;
! 9631:
! 9632: os2*)
! 9633: libname_spec='$name'
! 9634: shrext_cmds=".dll"
! 9635: need_lib_prefix=no
! 9636: library_names_spec='$libname${shared_ext} $libname.a'
! 9637: dynamic_linker='OS/2 ld.exe'
! 9638: shlibpath_var=LIBPATH
! 9639: ;;
! 9640:
! 9641: osf3* | osf4* | osf5*)
! 9642: version_type=osf
! 9643: need_lib_prefix=no
! 9644: need_version=no
! 9645: soname_spec='${libname}${release}${shared_ext}$major'
! 9646: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9647: shlibpath_var=LD_LIBRARY_PATH
! 9648: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 9649: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 9650: ;;
! 9651:
! 9652: rdos*)
! 9653: dynamic_linker=no
! 9654: ;;
! 9655:
! 9656: solaris*)
! 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: shlibpath_var=LD_LIBRARY_PATH
! 9663: shlibpath_overrides_runpath=yes
! 9664: hardcode_into_libs=yes
! 9665: # ldd complains unless libraries are executable
! 9666: postinstall_cmds='chmod +x $lib'
! 9667: ;;
! 9668:
! 9669: sunos4*)
! 9670: version_type=sunos
! 9671: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9672: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 9673: shlibpath_var=LD_LIBRARY_PATH
! 9674: shlibpath_overrides_runpath=yes
! 9675: if test "$with_gnu_ld" = yes; then
! 9676: need_lib_prefix=no
! 9677: fi
! 9678: need_version=yes
! 9679: ;;
! 9680:
! 9681: sysv4 | sysv4.3*)
! 9682: version_type=linux
! 9683: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9684: soname_spec='${libname}${release}${shared_ext}$major'
! 9685: shlibpath_var=LD_LIBRARY_PATH
! 9686: case $host_vendor in
! 9687: sni)
! 9688: shlibpath_overrides_runpath=no
! 9689: need_lib_prefix=no
! 9690: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9691: runpath_var=LD_RUN_PATH
! 9692: ;;
! 9693: siemens)
! 9694: need_lib_prefix=no
! 9695: ;;
! 9696: motorola)
! 9697: need_lib_prefix=no
! 9698: need_version=no
! 9699: shlibpath_overrides_runpath=no
! 9700: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 9701: ;;
! 9702: esac
! 9703: ;;
! 9704:
! 9705: sysv4*MP*)
! 9706: if test -d /usr/nec ;then
! 9707: version_type=linux
! 9708: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 9709: soname_spec='$libname${shared_ext}.$major'
! 9710: shlibpath_var=LD_LIBRARY_PATH
! 9711: fi
! 9712: ;;
! 9713:
! 9714: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 9715: version_type=freebsd-elf
! 9716: need_lib_prefix=no
! 9717: need_version=no
! 9718: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9719: soname_spec='${libname}${release}${shared_ext}$major'
! 9720: shlibpath_var=LD_LIBRARY_PATH
! 9721: hardcode_into_libs=yes
! 9722: if test "$with_gnu_ld" = yes; then
! 9723: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 9724: shlibpath_overrides_runpath=no
! 9725: else
! 9726: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 9727: shlibpath_overrides_runpath=yes
! 9728: case $host_os in
! 9729: sco3.2v5*)
! 9730: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 9731: ;;
! 9732: esac
! 9733: fi
! 9734: sys_lib_dlsearch_path_spec='/usr/lib'
! 9735: ;;
! 9736:
! 9737: uts4*)
! 9738: version_type=linux
! 9739: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9740: soname_spec='${libname}${release}${shared_ext}$major'
! 9741: shlibpath_var=LD_LIBRARY_PATH
! 9742: ;;
! 9743:
! 9744: *)
! 9745: dynamic_linker=no
! 9746: ;;
! 9747: esac
! 9748: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 9749: $as_echo "$dynamic_linker" >&6; }
! 9750: test "$dynamic_linker" = no && can_build_shared=no
! 9751:
! 9752: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 9753: $as_echo_n "(cached) " >&6
! 9754: else
! 9755: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 9756: fi
! 9757:
! 9758: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 9759: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 9760: $as_echo_n "(cached) " >&6
! 9761: else
! 9762: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 9763: fi
! 9764:
! 9765: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 9766:
! 9767: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 9768: if test "$GCC" = yes; then
! 9769: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 9770: fi
! 9771:
! 9772: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 9773: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 9774: hardcode_action=
! 9775: if test -n "$hardcode_libdir_flag_spec" || \
! 9776: test -n "$runpath_var" || \
! 9777: test "X$hardcode_automatic" = "Xyes" ; then
! 9778:
! 9779: # We can hardcode non-existant directories.
! 9780: if test "$hardcode_direct" != no &&
! 9781: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 9782: # have to relink, otherwise we might link with an installed library
! 9783: # when we should be linking with a yet-to-be-installed one
! 9784: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 9785: test "$hardcode_minus_L" != no; then
! 9786: # Linking always hardcodes the temporary library directory.
! 9787: hardcode_action=relink
! 9788: else
! 9789: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 9790: hardcode_action=immediate
! 9791: fi
! 9792: else
! 9793: # We cannot hardcode anything, or else we can only hardcode existing
! 9794: # directories.
! 9795: hardcode_action=unsupported
! 9796: fi
! 9797: { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 9798: $as_echo "$hardcode_action" >&6; }
! 9799:
! 9800: if test "$hardcode_action" = relink; then
! 9801: # Fast installation is not supported
! 9802: enable_fast_install=no
! 9803: elif test "$shlibpath_overrides_runpath" = yes ||
! 9804: test "$enable_shared" = no; then
! 9805: # Fast installation is not necessary
! 9806: enable_fast_install=needless
! 9807: fi
! 9808:
! 9809: striplib=
! 9810: old_striplib=
! 9811: { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 9812: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 9813: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
! 9814: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 9815: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 9816: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 9817: $as_echo "yes" >&6; }
! 9818: else
! 9819: # FIXME - insert some real tests, host_os isn't really good enough
! 9820: case $host_os in
! 9821: darwin*)
! 9822: if test -n "$STRIP" ; then
! 9823: striplib="$STRIP -x"
! 9824: old_striplib="$STRIP -S"
! 9825: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 9826: $as_echo "yes" >&6; }
! 9827: else
! 9828: { $as_echo "$as_me:$LINENO: result: no" >&5
! 9829: $as_echo "no" >&6; }
! 9830: fi
! 9831: ;;
! 9832: *)
! 9833: { $as_echo "$as_me:$LINENO: result: no" >&5
! 9834: $as_echo "no" >&6; }
! 9835: ;;
! 9836: esac
! 9837: fi
! 9838:
! 9839: if test "x$enable_dlopen" != xyes; then
! 9840: enable_dlopen=unknown
! 9841: enable_dlopen_self=unknown
! 9842: enable_dlopen_self_static=unknown
! 9843: else
! 9844: lt_cv_dlopen=no
! 9845: lt_cv_dlopen_libs=
! 9846:
! 9847: case $host_os in
! 9848: beos*)
! 9849: lt_cv_dlopen="load_add_on"
! 9850: lt_cv_dlopen_libs=
! 9851: lt_cv_dlopen_self=yes
! 9852: ;;
! 9853:
! 9854: mingw* | pw32*)
! 9855: lt_cv_dlopen="LoadLibrary"
! 9856: lt_cv_dlopen_libs=
! 9857: ;;
! 9858:
! 9859: cygwin*)
! 9860: lt_cv_dlopen="dlopen"
! 9861: lt_cv_dlopen_libs=
! 9862: ;;
! 9863:
! 9864: darwin*)
! 9865: # if libdl is installed we need to link against it
! 9866: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 9867: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 9868: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 9869: $as_echo_n "(cached) " >&6
! 9870: else
! 9871: ac_check_lib_save_LIBS=$LIBS
! 9872: LIBS="-ldl $LIBS"
! 9873: cat >conftest.$ac_ext <<_ACEOF
! 9874: /* confdefs.h. */
! 9875: _ACEOF
! 9876: cat confdefs.h >>conftest.$ac_ext
! 9877: cat >>conftest.$ac_ext <<_ACEOF
! 9878: /* end confdefs.h. */
! 9879:
! 9880: /* Override any GCC internal prototype to avoid an error.
! 9881: Use char because int might match the return type of a GCC
! 9882: builtin and then its argument prototype would still apply. */
! 9883: #ifdef __cplusplus
! 9884: extern "C"
! 9885: #endif
! 9886: char dlopen ();
! 9887: int
! 9888: main ()
! 9889: {
! 9890: return dlopen ();
! 9891: ;
! 9892: return 0;
! 9893: }
! 9894: _ACEOF
! 9895: rm -f conftest.$ac_objext conftest$ac_exeext
! 9896: if { (ac_try="$ac_link"
! 9897: case "(($ac_try" in
! 9898: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 9899: *) ac_try_echo=$ac_try;;
! 9900: esac
! 9901: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 9902: $as_echo "$ac_try_echo") >&5
! 9903: (eval "$ac_link") 2>conftest.er1
! 9904: ac_status=$?
! 9905: grep -v '^ *+' conftest.er1 >conftest.err
! 9906: rm -f conftest.er1
! 9907: cat conftest.err >&5
! 9908: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9909: (exit $ac_status); } && {
! 9910: test -z "$ac_c_werror_flag" ||
! 9911: test ! -s conftest.err
! 9912: } && test -s conftest$ac_exeext && {
! 9913: test "$cross_compiling" = yes ||
! 9914: $as_test_x conftest$ac_exeext
! 9915: }; then
! 9916: ac_cv_lib_dl_dlopen=yes
! 9917: else
! 9918: $as_echo "$as_me: failed program was:" >&5
! 9919: sed 's/^/| /' conftest.$ac_ext >&5
! 9920:
! 9921: ac_cv_lib_dl_dlopen=no
! 9922: fi
! 9923:
! 9924: rm -rf conftest.dSYM
! 9925: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 9926: conftest$ac_exeext conftest.$ac_ext
! 9927: LIBS=$ac_check_lib_save_LIBS
! 9928: fi
! 9929: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 9930: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 9931: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 9932: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 9933: else
! 9934:
! 9935: lt_cv_dlopen="dyld"
! 9936: lt_cv_dlopen_libs=
! 9937: lt_cv_dlopen_self=yes
! 9938:
! 9939: fi
! 9940:
! 9941: ;;
! 9942:
! 9943: *)
! 9944: { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
! 9945: $as_echo_n "checking for shl_load... " >&6; }
! 9946: if test "${ac_cv_func_shl_load+set}" = set; then
! 9947: $as_echo_n "(cached) " >&6
! 9948: else
! 9949: cat >conftest.$ac_ext <<_ACEOF
! 9950: /* confdefs.h. */
! 9951: _ACEOF
! 9952: cat confdefs.h >>conftest.$ac_ext
! 9953: cat >>conftest.$ac_ext <<_ACEOF
! 9954: /* end confdefs.h. */
! 9955: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 9956: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 9957: #define shl_load innocuous_shl_load
! 9958:
! 9959: /* System header to define __stub macros and hopefully few prototypes,
! 9960: which can conflict with char shl_load (); below.
! 9961: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 9962: <limits.h> exists even on freestanding compilers. */
! 9963:
! 9964: #ifdef __STDC__
! 9965: # include <limits.h>
! 9966: #else
! 9967: # include <assert.h>
! 9968: #endif
! 9969:
! 9970: #undef shl_load
! 9971:
! 9972: /* Override any GCC internal prototype to avoid an error.
! 9973: Use char because int might match the return type of a GCC
! 9974: builtin and then its argument prototype would still apply. */
! 9975: #ifdef __cplusplus
! 9976: extern "C"
! 9977: #endif
! 9978: char shl_load ();
! 9979: /* The GNU C library defines this for functions which it implements
! 9980: to always fail with ENOSYS. Some functions are actually named
! 9981: something starting with __ and the normal name is an alias. */
! 9982: #if defined __stub_shl_load || defined __stub___shl_load
! 9983: choke me
! 9984: #endif
! 9985:
! 9986: int
! 9987: main ()
! 9988: {
! 9989: return shl_load ();
! 9990: ;
! 9991: return 0;
! 9992: }
! 9993: _ACEOF
! 9994: rm -f conftest.$ac_objext conftest$ac_exeext
! 9995: if { (ac_try="$ac_link"
! 9996: case "(($ac_try" in
! 9997: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 9998: *) ac_try_echo=$ac_try;;
! 9999: esac
! 10000: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10001: $as_echo "$ac_try_echo") >&5
! 10002: (eval "$ac_link") 2>conftest.er1
! 10003: ac_status=$?
! 10004: grep -v '^ *+' conftest.er1 >conftest.err
! 10005: rm -f conftest.er1
! 10006: cat conftest.err >&5
! 10007: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10008: (exit $ac_status); } && {
! 10009: test -z "$ac_c_werror_flag" ||
! 10010: test ! -s conftest.err
! 10011: } && test -s conftest$ac_exeext && {
! 10012: test "$cross_compiling" = yes ||
! 10013: $as_test_x conftest$ac_exeext
! 10014: }; then
! 10015: ac_cv_func_shl_load=yes
! 10016: else
! 10017: $as_echo "$as_me: failed program was:" >&5
! 10018: sed 's/^/| /' conftest.$ac_ext >&5
! 10019:
! 10020: ac_cv_func_shl_load=no
! 10021: fi
! 10022:
! 10023: rm -rf conftest.dSYM
! 10024: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10025: conftest$ac_exeext conftest.$ac_ext
! 10026: fi
! 10027: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 10028: $as_echo "$ac_cv_func_shl_load" >&6; }
! 10029: if test "x$ac_cv_func_shl_load" = x""yes; then
! 10030: lt_cv_dlopen="shl_load"
! 10031: else
! 10032: { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 10033: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 10034: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 10035: $as_echo_n "(cached) " >&6
! 10036: else
! 10037: ac_check_lib_save_LIBS=$LIBS
! 10038: LIBS="-ldld $LIBS"
! 10039: cat >conftest.$ac_ext <<_ACEOF
! 10040: /* confdefs.h. */
! 10041: _ACEOF
! 10042: cat confdefs.h >>conftest.$ac_ext
! 10043: cat >>conftest.$ac_ext <<_ACEOF
! 10044: /* end confdefs.h. */
! 10045:
! 10046: /* Override any GCC internal prototype to avoid an error.
! 10047: Use char because int might match the return type of a GCC
! 10048: builtin and then its argument prototype would still apply. */
! 10049: #ifdef __cplusplus
! 10050: extern "C"
! 10051: #endif
! 10052: char shl_load ();
! 10053: int
! 10054: main ()
! 10055: {
! 10056: return shl_load ();
! 10057: ;
! 10058: return 0;
! 10059: }
! 10060: _ACEOF
! 10061: rm -f conftest.$ac_objext conftest$ac_exeext
! 10062: if { (ac_try="$ac_link"
! 10063: case "(($ac_try" in
! 10064: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10065: *) ac_try_echo=$ac_try;;
! 10066: esac
! 10067: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10068: $as_echo "$ac_try_echo") >&5
! 10069: (eval "$ac_link") 2>conftest.er1
! 10070: ac_status=$?
! 10071: grep -v '^ *+' conftest.er1 >conftest.err
! 10072: rm -f conftest.er1
! 10073: cat conftest.err >&5
! 10074: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10075: (exit $ac_status); } && {
! 10076: test -z "$ac_c_werror_flag" ||
! 10077: test ! -s conftest.err
! 10078: } && test -s conftest$ac_exeext && {
! 10079: test "$cross_compiling" = yes ||
! 10080: $as_test_x conftest$ac_exeext
! 10081: }; then
! 10082: ac_cv_lib_dld_shl_load=yes
! 10083: else
! 10084: $as_echo "$as_me: failed program was:" >&5
! 10085: sed 's/^/| /' conftest.$ac_ext >&5
! 10086:
! 10087: ac_cv_lib_dld_shl_load=no
! 10088: fi
! 10089:
! 10090: rm -rf conftest.dSYM
! 10091: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10092: conftest$ac_exeext conftest.$ac_ext
! 10093: LIBS=$ac_check_lib_save_LIBS
! 10094: fi
! 10095: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 10096: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 10097: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
! 10098: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 10099: else
! 10100: { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
! 10101: $as_echo_n "checking for dlopen... " >&6; }
! 10102: if test "${ac_cv_func_dlopen+set}" = set; then
! 10103: $as_echo_n "(cached) " >&6
! 10104: else
! 10105: cat >conftest.$ac_ext <<_ACEOF
! 10106: /* confdefs.h. */
! 10107: _ACEOF
! 10108: cat confdefs.h >>conftest.$ac_ext
! 10109: cat >>conftest.$ac_ext <<_ACEOF
! 10110: /* end confdefs.h. */
! 10111: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 10112: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10113: #define dlopen innocuous_dlopen
! 10114:
! 10115: /* System header to define __stub macros and hopefully few prototypes,
! 10116: which can conflict with char dlopen (); below.
! 10117: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10118: <limits.h> exists even on freestanding compilers. */
! 10119:
! 10120: #ifdef __STDC__
! 10121: # include <limits.h>
! 10122: #else
! 10123: # include <assert.h>
! 10124: #endif
! 10125:
! 10126: #undef dlopen
! 10127:
! 10128: /* Override any GCC internal prototype to avoid an error.
! 10129: Use char because int might match the return type of a GCC
! 10130: builtin and then its argument prototype would still apply. */
! 10131: #ifdef __cplusplus
! 10132: extern "C"
! 10133: #endif
! 10134: char dlopen ();
! 10135: /* The GNU C library defines this for functions which it implements
! 10136: to always fail with ENOSYS. Some functions are actually named
! 10137: something starting with __ and the normal name is an alias. */
! 10138: #if defined __stub_dlopen || defined __stub___dlopen
! 10139: choke me
! 10140: #endif
! 10141:
! 10142: int
! 10143: main ()
! 10144: {
! 10145: return dlopen ();
! 10146: ;
! 10147: return 0;
! 10148: }
! 10149: _ACEOF
! 10150: rm -f conftest.$ac_objext conftest$ac_exeext
! 10151: if { (ac_try="$ac_link"
! 10152: case "(($ac_try" in
! 10153: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10154: *) ac_try_echo=$ac_try;;
! 10155: esac
! 10156: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10157: $as_echo "$ac_try_echo") >&5
! 10158: (eval "$ac_link") 2>conftest.er1
! 10159: ac_status=$?
! 10160: grep -v '^ *+' conftest.er1 >conftest.err
! 10161: rm -f conftest.er1
! 10162: cat conftest.err >&5
! 10163: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10164: (exit $ac_status); } && {
! 10165: test -z "$ac_c_werror_flag" ||
! 10166: test ! -s conftest.err
! 10167: } && test -s conftest$ac_exeext && {
! 10168: test "$cross_compiling" = yes ||
! 10169: $as_test_x conftest$ac_exeext
! 10170: }; then
! 10171: ac_cv_func_dlopen=yes
! 10172: else
! 10173: $as_echo "$as_me: failed program was:" >&5
! 10174: sed 's/^/| /' conftest.$ac_ext >&5
! 10175:
! 10176: ac_cv_func_dlopen=no
! 10177: fi
! 10178:
! 10179: rm -rf conftest.dSYM
! 10180: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10181: conftest$ac_exeext conftest.$ac_ext
! 10182: fi
! 10183: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 10184: $as_echo "$ac_cv_func_dlopen" >&6; }
! 10185: if test "x$ac_cv_func_dlopen" = x""yes; then
! 10186: lt_cv_dlopen="dlopen"
! 10187: else
! 10188: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10189: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10190: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10191: $as_echo_n "(cached) " >&6
! 10192: else
! 10193: ac_check_lib_save_LIBS=$LIBS
! 10194: LIBS="-ldl $LIBS"
! 10195: cat >conftest.$ac_ext <<_ACEOF
! 10196: /* confdefs.h. */
! 10197: _ACEOF
! 10198: cat confdefs.h >>conftest.$ac_ext
! 10199: cat >>conftest.$ac_ext <<_ACEOF
! 10200: /* end confdefs.h. */
! 10201:
! 10202: /* Override any GCC internal prototype to avoid an error.
! 10203: Use char because int might match the return type of a GCC
! 10204: builtin and then its argument prototype would still apply. */
! 10205: #ifdef __cplusplus
! 10206: extern "C"
! 10207: #endif
! 10208: char dlopen ();
! 10209: int
! 10210: main ()
! 10211: {
! 10212: return dlopen ();
! 10213: ;
! 10214: return 0;
! 10215: }
! 10216: _ACEOF
! 10217: rm -f conftest.$ac_objext conftest$ac_exeext
! 10218: if { (ac_try="$ac_link"
! 10219: case "(($ac_try" in
! 10220: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10221: *) ac_try_echo=$ac_try;;
! 10222: esac
! 10223: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10224: $as_echo "$ac_try_echo") >&5
! 10225: (eval "$ac_link") 2>conftest.er1
! 10226: ac_status=$?
! 10227: grep -v '^ *+' conftest.er1 >conftest.err
! 10228: rm -f conftest.er1
! 10229: cat conftest.err >&5
! 10230: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10231: (exit $ac_status); } && {
! 10232: test -z "$ac_c_werror_flag" ||
! 10233: test ! -s conftest.err
! 10234: } && test -s conftest$ac_exeext && {
! 10235: test "$cross_compiling" = yes ||
! 10236: $as_test_x conftest$ac_exeext
! 10237: }; then
! 10238: ac_cv_lib_dl_dlopen=yes
! 10239: else
! 10240: $as_echo "$as_me: failed program was:" >&5
! 10241: sed 's/^/| /' conftest.$ac_ext >&5
! 10242:
! 10243: ac_cv_lib_dl_dlopen=no
! 10244: fi
! 10245:
! 10246: rm -rf conftest.dSYM
! 10247: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10248: conftest$ac_exeext conftest.$ac_ext
! 10249: LIBS=$ac_check_lib_save_LIBS
! 10250: fi
! 10251: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10252: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10253: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 10254: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10255: else
! 10256: { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 10257: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 10258: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 10259: $as_echo_n "(cached) " >&6
! 10260: else
! 10261: ac_check_lib_save_LIBS=$LIBS
! 10262: LIBS="-lsvld $LIBS"
! 10263: cat >conftest.$ac_ext <<_ACEOF
! 10264: /* confdefs.h. */
! 10265: _ACEOF
! 10266: cat confdefs.h >>conftest.$ac_ext
! 10267: cat >>conftest.$ac_ext <<_ACEOF
! 10268: /* end confdefs.h. */
! 10269:
! 10270: /* Override any GCC internal prototype to avoid an error.
! 10271: Use char because int might match the return type of a GCC
! 10272: builtin and then its argument prototype would still apply. */
! 10273: #ifdef __cplusplus
! 10274: extern "C"
! 10275: #endif
! 10276: char dlopen ();
! 10277: int
! 10278: main ()
! 10279: {
! 10280: return dlopen ();
! 10281: ;
! 10282: return 0;
! 10283: }
! 10284: _ACEOF
! 10285: rm -f conftest.$ac_objext conftest$ac_exeext
! 10286: if { (ac_try="$ac_link"
! 10287: case "(($ac_try" in
! 10288: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10289: *) ac_try_echo=$ac_try;;
! 10290: esac
! 10291: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10292: $as_echo "$ac_try_echo") >&5
! 10293: (eval "$ac_link") 2>conftest.er1
! 10294: ac_status=$?
! 10295: grep -v '^ *+' conftest.er1 >conftest.err
! 10296: rm -f conftest.er1
! 10297: cat conftest.err >&5
! 10298: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10299: (exit $ac_status); } && {
! 10300: test -z "$ac_c_werror_flag" ||
! 10301: test ! -s conftest.err
! 10302: } && test -s conftest$ac_exeext && {
! 10303: test "$cross_compiling" = yes ||
! 10304: $as_test_x conftest$ac_exeext
! 10305: }; then
! 10306: ac_cv_lib_svld_dlopen=yes
! 10307: else
! 10308: $as_echo "$as_me: failed program was:" >&5
! 10309: sed 's/^/| /' conftest.$ac_ext >&5
! 10310:
! 10311: ac_cv_lib_svld_dlopen=no
! 10312: fi
! 10313:
! 10314: rm -rf conftest.dSYM
! 10315: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10316: conftest$ac_exeext conftest.$ac_ext
! 10317: LIBS=$ac_check_lib_save_LIBS
! 10318: fi
! 10319: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 10320: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 10321: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
! 10322: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 10323: else
! 10324: { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 10325: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 10326: if test "${ac_cv_lib_dld_dld_link+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 dld_link ();
! 10345: int
! 10346: main ()
! 10347: {
! 10348: return dld_link ();
! 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_dld_link=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_dld_link=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_dld_link" >&5
! 10388: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 10389: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
! 10390: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 10391: fi
! 10392:
! 10393:
! 10394: fi
! 10395:
! 10396:
! 10397: fi
! 10398:
! 10399:
! 10400: fi
! 10401:
! 10402:
! 10403: fi
! 10404:
! 10405:
! 10406: fi
! 10407:
! 10408: ;;
! 10409: esac
! 10410:
! 10411: if test "x$lt_cv_dlopen" != xno; then
! 10412: enable_dlopen=yes
! 10413: else
! 10414: enable_dlopen=no
! 10415: fi
! 10416:
! 10417: case $lt_cv_dlopen in
! 10418: dlopen)
! 10419: save_CPPFLAGS="$CPPFLAGS"
! 10420: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 10421:
! 10422: save_LDFLAGS="$LDFLAGS"
! 10423: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 10424:
! 10425: save_LIBS="$LIBS"
! 10426: LIBS="$lt_cv_dlopen_libs $LIBS"
! 10427:
! 10428: { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 10429: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 10430: if test "${lt_cv_dlopen_self+set}" = set; then
! 10431: $as_echo_n "(cached) " >&6
! 10432: else
! 10433: if test "$cross_compiling" = yes; then :
! 10434: lt_cv_dlopen_self=cross
! 10435: else
! 10436: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10437: lt_status=$lt_dlunknown
! 10438: cat > conftest.$ac_ext <<EOF
! 10439: #line 10439 "configure"
! 10440: #include "confdefs.h"
! 10441:
! 10442: #if HAVE_DLFCN_H
! 10443: #include <dlfcn.h>
! 10444: #endif
! 10445:
! 10446: #include <stdio.h>
! 10447:
! 10448: #ifdef RTLD_GLOBAL
! 10449: # define LT_DLGLOBAL RTLD_GLOBAL
! 10450: #else
! 10451: # ifdef DL_GLOBAL
! 10452: # define LT_DLGLOBAL DL_GLOBAL
! 10453: # else
! 10454: # define LT_DLGLOBAL 0
! 10455: # endif
! 10456: #endif
! 10457:
! 10458: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10459: find out it does not work in some platform. */
! 10460: #ifndef LT_DLLAZY_OR_NOW
! 10461: # ifdef RTLD_LAZY
! 10462: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10463: # else
! 10464: # ifdef DL_LAZY
! 10465: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10466: # else
! 10467: # ifdef RTLD_NOW
! 10468: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10469: # else
! 10470: # ifdef DL_NOW
! 10471: # define LT_DLLAZY_OR_NOW DL_NOW
! 10472: # else
! 10473: # define LT_DLLAZY_OR_NOW 0
! 10474: # endif
! 10475: # endif
! 10476: # endif
! 10477: # endif
! 10478: #endif
! 10479:
! 10480: #ifdef __cplusplus
! 10481: extern "C" void exit (int);
! 10482: #endif
! 10483:
! 10484: void fnord() { int i=42;}
! 10485: int main ()
! 10486: {
! 10487: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10488: int status = $lt_dlunknown;
! 10489:
! 10490: if (self)
! 10491: {
! 10492: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10493: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10494: /* dlclose (self); */
! 10495: }
! 10496: else
! 10497: puts (dlerror ());
! 10498:
! 10499: exit (status);
! 10500: }
! 10501: EOF
! 10502: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10503: (eval $ac_link) 2>&5
! 10504: ac_status=$?
! 10505: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10506: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10507: (./conftest; exit; ) >&5 2>/dev/null
! 10508: lt_status=$?
! 10509: case x$lt_status in
! 10510: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 10511: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 10512: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 10513: esac
! 10514: else :
! 10515: # compilation failed
! 10516: lt_cv_dlopen_self=no
! 10517: fi
! 10518: fi
! 10519: rm -fr conftest*
! 10520:
! 10521:
! 10522: fi
! 10523: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 10524: $as_echo "$lt_cv_dlopen_self" >&6; }
! 10525:
! 10526: if test "x$lt_cv_dlopen_self" = xyes; then
! 10527: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 10528: { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 10529: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 10530: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 10531: $as_echo_n "(cached) " >&6
! 10532: else
! 10533: if test "$cross_compiling" = yes; then :
! 10534: lt_cv_dlopen_self_static=cross
! 10535: else
! 10536: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10537: lt_status=$lt_dlunknown
! 10538: cat > conftest.$ac_ext <<EOF
! 10539: #line 10539 "configure"
! 10540: #include "confdefs.h"
! 10541:
! 10542: #if HAVE_DLFCN_H
! 10543: #include <dlfcn.h>
! 10544: #endif
! 10545:
! 10546: #include <stdio.h>
! 10547:
! 10548: #ifdef RTLD_GLOBAL
! 10549: # define LT_DLGLOBAL RTLD_GLOBAL
! 10550: #else
! 10551: # ifdef DL_GLOBAL
! 10552: # define LT_DLGLOBAL DL_GLOBAL
! 10553: # else
! 10554: # define LT_DLGLOBAL 0
! 10555: # endif
! 10556: #endif
! 10557:
! 10558: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10559: find out it does not work in some platform. */
! 10560: #ifndef LT_DLLAZY_OR_NOW
! 10561: # ifdef RTLD_LAZY
! 10562: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10563: # else
! 10564: # ifdef DL_LAZY
! 10565: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10566: # else
! 10567: # ifdef RTLD_NOW
! 10568: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10569: # else
! 10570: # ifdef DL_NOW
! 10571: # define LT_DLLAZY_OR_NOW DL_NOW
! 10572: # else
! 10573: # define LT_DLLAZY_OR_NOW 0
! 10574: # endif
! 10575: # endif
! 10576: # endif
! 10577: # endif
! 10578: #endif
! 10579:
! 10580: #ifdef __cplusplus
! 10581: extern "C" void exit (int);
! 10582: #endif
! 10583:
! 10584: void fnord() { int i=42;}
! 10585: int main ()
! 10586: {
! 10587: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10588: int status = $lt_dlunknown;
! 10589:
! 10590: if (self)
! 10591: {
! 10592: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10593: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10594: /* dlclose (self); */
! 10595: }
! 10596: else
! 10597: puts (dlerror ());
! 10598:
! 10599: exit (status);
! 10600: }
! 10601: EOF
! 10602: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10603: (eval $ac_link) 2>&5
! 10604: ac_status=$?
! 10605: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10606: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10607: (./conftest; exit; ) >&5 2>/dev/null
! 10608: lt_status=$?
! 10609: case x$lt_status in
! 10610: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 10611: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 10612: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 10613: esac
! 10614: else :
! 10615: # compilation failed
! 10616: lt_cv_dlopen_self_static=no
! 10617: fi
! 10618: fi
! 10619: rm -fr conftest*
! 10620:
! 10621:
! 10622: fi
! 10623: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 10624: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 10625: fi
! 10626:
! 10627: CPPFLAGS="$save_CPPFLAGS"
! 10628: LDFLAGS="$save_LDFLAGS"
! 10629: LIBS="$save_LIBS"
! 10630: ;;
! 10631: esac
! 10632:
! 10633: case $lt_cv_dlopen_self in
! 10634: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 10635: *) enable_dlopen_self=unknown ;;
! 10636: esac
! 10637:
! 10638: case $lt_cv_dlopen_self_static in
! 10639: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 10640: *) enable_dlopen_self_static=unknown ;;
! 10641: esac
! 10642: fi
! 10643:
! 10644:
! 10645: # Report which library types will actually be built
! 10646: { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 10647: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 10648: { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 10649: $as_echo "$can_build_shared" >&6; }
! 10650:
! 10651: { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 10652: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 10653: test "$can_build_shared" = "no" && enable_shared=no
! 10654:
! 10655: # On AIX, shared libraries and static libraries use the same namespace, and
! 10656: # are all built from PIC.
! 10657: case $host_os in
! 10658: aix3*)
! 10659: test "$enable_shared" = yes && enable_static=no
! 10660: if test -n "$RANLIB"; then
! 10661: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 10662: postinstall_cmds='$RANLIB $lib'
! 10663: fi
! 10664: ;;
! 10665:
! 10666: aix[4-9]*)
! 10667: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 10668: test "$enable_shared" = yes && enable_static=no
! 10669: fi
! 10670: ;;
! 10671: esac
! 10672: { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
! 10673: $as_echo "$enable_shared" >&6; }
! 10674:
! 10675: { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 10676: $as_echo_n "checking whether to build static libraries... " >&6; }
! 10677: # Make sure either enable_shared or enable_static is yes.
! 10678: test "$enable_shared" = yes || enable_static=yes
! 10679: { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
! 10680: $as_echo "$enable_static" >&6; }
! 10681:
! 10682: # The else clause should only fire when bootstrapping the
! 10683: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 10684: # with your package, and you will get complaints that there are
! 10685: # no rules to generate ltmain.sh.
! 10686: if test -f "$ltmain"; then
! 10687: # See if we are running on zsh, and set the options which allow our commands through
! 10688: # without removal of \ escapes.
! 10689: if test -n "${ZSH_VERSION+set}" ; then
! 10690: setopt NO_GLOB_SUBST
! 10691: fi
! 10692: # Now quote all the things that may contain metacharacters while being
! 10693: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 10694: # variables and quote the copies for generation of the libtool script.
! 10695: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 10696: SED SHELL STRIP \
! 10697: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 10698: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 10699: deplibs_check_method reload_flag reload_cmds need_locks \
! 10700: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 10701: lt_cv_sys_global_symbol_to_c_name_address \
! 10702: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 10703: old_postinstall_cmds old_postuninstall_cmds \
! 10704: compiler \
! 10705: CC \
! 10706: LD \
! 10707: lt_prog_compiler_wl \
! 10708: lt_prog_compiler_pic \
! 10709: lt_prog_compiler_static \
! 10710: lt_prog_compiler_no_builtin_flag \
! 10711: export_dynamic_flag_spec \
! 10712: thread_safe_flag_spec \
! 10713: whole_archive_flag_spec \
! 10714: enable_shared_with_static_runtimes \
! 10715: old_archive_cmds \
! 10716: old_archive_from_new_cmds \
! 10717: predep_objects \
! 10718: postdep_objects \
! 10719: predeps \
! 10720: postdeps \
! 10721: compiler_lib_search_path \
! 10722: compiler_lib_search_dirs \
! 10723: archive_cmds \
! 10724: archive_expsym_cmds \
! 10725: postinstall_cmds \
! 10726: postuninstall_cmds \
! 10727: old_archive_from_expsyms_cmds \
! 10728: allow_undefined_flag \
! 10729: no_undefined_flag \
! 10730: export_symbols_cmds \
! 10731: hardcode_libdir_flag_spec \
! 10732: hardcode_libdir_flag_spec_ld \
! 10733: hardcode_libdir_separator \
! 10734: hardcode_automatic \
! 10735: module_cmds \
! 10736: module_expsym_cmds \
! 10737: lt_cv_prog_compiler_c_o \
! 10738: fix_srcfile_path \
! 10739: exclude_expsyms \
! 10740: include_expsyms; do
! 10741:
! 10742: case $var in
! 10743: old_archive_cmds | \
! 10744: old_archive_from_new_cmds | \
! 10745: archive_cmds | \
! 10746: archive_expsym_cmds | \
! 10747: module_cmds | \
! 10748: module_expsym_cmds | \
! 10749: old_archive_from_expsyms_cmds | \
! 10750: export_symbols_cmds | \
! 10751: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 10752: postinstall_cmds | postuninstall_cmds | \
! 10753: old_postinstall_cmds | old_postuninstall_cmds | \
! 10754: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 10755: # Double-quote double-evaled strings.
! 10756: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 10757: ;;
! 10758: *)
! 10759: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 10760: ;;
! 10761: esac
! 10762: done
! 10763:
! 10764: case $lt_echo in
! 10765: *'\$0 --fallback-echo"')
! 10766: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 10767: ;;
! 10768: esac
! 10769:
! 10770: cfgfile="${ofile}T"
! 10771: trap "$rm \"$cfgfile\"; exit 1" 1 2 15
! 10772: $rm -f "$cfgfile"
! 10773: { $as_echo "$as_me:$LINENO: creating $ofile" >&5
! 10774: $as_echo "$as_me: creating $ofile" >&6;}
! 10775:
! 10776: cat <<__EOF__ >> "$cfgfile"
! 10777: #! $SHELL
! 10778:
! 10779: # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 10780: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
! 10781: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 10782: #
! 10783: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
! 10784: # Free Software Foundation, Inc.
! 10785: #
! 10786: # This file is part of GNU Libtool:
! 10787: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
! 10788: #
! 10789: # This program is free software; you can redistribute it and/or modify
! 10790: # it under the terms of the GNU General Public License as published by
! 10791: # the Free Software Foundation; either version 2 of the License, or
! 10792: # (at your option) any later version.
! 10793: #
! 10794: # This program is distributed in the hope that it will be useful, but
! 10795: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 10796: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 10797: # General Public License for more details.
! 10798: #
! 10799: # You should have received a copy of the GNU General Public License
! 10800: # along with this program; if not, write to the Free Software
! 10801: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 10802: #
! 10803: # As a special exception to the GNU General Public License, if you
! 10804: # distribute this file as part of a program that contains a
! 10805: # configuration script generated by Autoconf, you may include it under
! 10806: # the same distribution terms that you use for the rest of that program.
! 10807:
! 10808: # A sed program that does not truncate output.
! 10809: SED=$lt_SED
! 10810:
! 10811: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 10812: Xsed="$SED -e 1s/^X//"
! 10813:
! 10814: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 10815: # if CDPATH is set.
! 10816: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 10817:
! 10818: # The names of the tagged configurations supported by this script.
! 10819: available_tags=
! 10820:
! 10821: # ### BEGIN LIBTOOL CONFIG
! 10822:
! 10823: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 10824:
! 10825: # Shell to use when invoking shell scripts.
! 10826: SHELL=$lt_SHELL
! 10827:
! 10828: # Whether or not to build shared libraries.
! 10829: build_libtool_libs=$enable_shared
! 10830:
! 10831: # Whether or not to build static libraries.
! 10832: build_old_libs=$enable_static
! 10833:
! 10834: # Whether or not to add -lc for building shared libraries.
! 10835: build_libtool_need_lc=$archive_cmds_need_lc
! 10836:
! 10837: # Whether or not to disallow shared libs when runtime libs are static
! 10838: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 10839:
! 10840: # Whether or not to optimize for fast installation.
! 10841: fast_install=$enable_fast_install
! 10842:
! 10843: # The host system.
! 10844: host_alias=$host_alias
! 10845: host=$host
! 10846: host_os=$host_os
! 10847:
! 10848: # The build system.
! 10849: build_alias=$build_alias
! 10850: build=$build
! 10851: build_os=$build_os
! 10852:
! 10853: # An echo program that does not interpret backslashes.
! 10854: echo=$lt_echo
! 10855:
! 10856: # The archiver.
! 10857: AR=$lt_AR
! 10858: AR_FLAGS=$lt_AR_FLAGS
! 10859:
! 10860: # A C compiler.
! 10861: LTCC=$lt_LTCC
! 10862:
! 10863: # LTCC compiler flags.
! 10864: LTCFLAGS=$lt_LTCFLAGS
! 10865:
! 10866: # A language-specific compiler.
! 10867: CC=$lt_compiler
! 10868:
! 10869: # Is the compiler the GNU C compiler?
! 10870: with_gcc=$GCC
! 10871:
! 10872: # An ERE matcher.
! 10873: EGREP=$lt_EGREP
! 10874:
! 10875: # The linker used to build libraries.
! 10876: LD=$lt_LD
! 10877:
! 10878: # Whether we need hard or soft links.
! 10879: LN_S=$lt_LN_S
! 10880:
! 10881: # A BSD-compatible nm program.
! 10882: NM=$lt_NM
! 10883:
! 10884: # A symbol stripping program
! 10885: STRIP=$lt_STRIP
! 10886:
! 10887: # Used to examine libraries when file_magic_cmd begins "file"
! 10888: MAGIC_CMD=$MAGIC_CMD
! 10889:
! 10890: # Used on cygwin: DLL creation program.
! 10891: DLLTOOL="$DLLTOOL"
! 10892:
! 10893: # Used on cygwin: object dumper.
! 10894: OBJDUMP="$OBJDUMP"
! 10895:
! 10896: # Used on cygwin: assembler.
! 10897: AS="$AS"
! 10898:
! 10899: # The name of the directory that contains temporary libtool files.
! 10900: objdir=$objdir
! 10901:
! 10902: # How to create reloadable object files.
! 10903: reload_flag=$lt_reload_flag
! 10904: reload_cmds=$lt_reload_cmds
! 10905:
! 10906: # How to pass a linker flag through the compiler.
! 10907: wl=$lt_lt_prog_compiler_wl
! 10908:
! 10909: # Object file suffix (normally "o").
! 10910: objext="$ac_objext"
! 10911:
! 10912: # Old archive suffix (normally "a").
! 10913: libext="$libext"
! 10914:
! 10915: # Shared library suffix (normally ".so").
! 10916: shrext_cmds='$shrext_cmds'
! 10917:
! 10918: # Executable file suffix (normally "").
! 10919: exeext="$exeext"
! 10920:
! 10921: # Additional compiler flags for building library objects.
! 10922: pic_flag=$lt_lt_prog_compiler_pic
! 10923: pic_mode=$pic_mode
! 10924:
! 10925: # What is the maximum length of a command?
! 10926: max_cmd_len=$lt_cv_sys_max_cmd_len
! 10927:
! 10928: # Does compiler simultaneously support -c and -o options?
! 10929: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 10930:
! 10931: # Must we lock files when doing compilation?
! 10932: need_locks=$lt_need_locks
! 10933:
! 10934: # Do we need the lib prefix for modules?
! 10935: need_lib_prefix=$need_lib_prefix
! 10936:
! 10937: # Do we need a version for libraries?
! 10938: need_version=$need_version
! 10939:
! 10940: # Whether dlopen is supported.
! 10941: dlopen_support=$enable_dlopen
! 10942:
! 10943: # Whether dlopen of programs is supported.
! 10944: dlopen_self=$enable_dlopen_self
! 10945:
! 10946: # Whether dlopen of statically linked programs is supported.
! 10947: dlopen_self_static=$enable_dlopen_self_static
! 10948:
! 10949: # Compiler flag to prevent dynamic linking.
! 10950: link_static_flag=$lt_lt_prog_compiler_static
! 10951:
! 10952: # Compiler flag to turn off builtin functions.
! 10953: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 10954:
! 10955: # Compiler flag to allow reflexive dlopens.
! 10956: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 10957:
! 10958: # Compiler flag to generate shared objects directly from archives.
! 10959: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 10960:
! 10961: # Compiler flag to generate thread-safe objects.
! 10962: thread_safe_flag_spec=$lt_thread_safe_flag_spec
! 10963:
! 10964: # Library versioning type.
! 10965: version_type=$version_type
! 10966:
! 10967: # Format of library name prefix.
! 10968: libname_spec=$lt_libname_spec
! 10969:
! 10970: # List of archive names. First name is the real one, the rest are links.
! 10971: # The last name is the one that the linker finds with -lNAME.
! 10972: library_names_spec=$lt_library_names_spec
! 10973:
! 10974: # The coded name of the library, if different from the real name.
! 10975: soname_spec=$lt_soname_spec
! 10976:
! 10977: # Commands used to build and install an old-style archive.
! 10978: RANLIB=$lt_RANLIB
! 10979: old_archive_cmds=$lt_old_archive_cmds
! 10980: old_postinstall_cmds=$lt_old_postinstall_cmds
! 10981: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 10982:
! 10983: # Create an old-style archive from a shared archive.
! 10984: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 10985:
! 10986: # Create a temporary old-style archive to link instead of a shared archive.
! 10987: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 10988:
! 10989: # Commands used to build and install a shared archive.
! 10990: archive_cmds=$lt_archive_cmds
! 10991: archive_expsym_cmds=$lt_archive_expsym_cmds
! 10992: postinstall_cmds=$lt_postinstall_cmds
! 10993: postuninstall_cmds=$lt_postuninstall_cmds
! 10994:
! 10995: # Commands used to build a loadable module (assumed same as above if empty)
! 10996: module_cmds=$lt_module_cmds
! 10997: module_expsym_cmds=$lt_module_expsym_cmds
! 10998:
! 10999: # Commands to strip libraries.
! 11000: old_striplib=$lt_old_striplib
! 11001: striplib=$lt_striplib
! 11002:
! 11003: # Dependencies to place before the objects being linked to create a
! 11004: # shared library.
! 11005: predep_objects=$lt_predep_objects
! 11006:
! 11007: # Dependencies to place after the objects being linked to create a
! 11008: # shared library.
! 11009: postdep_objects=$lt_postdep_objects
! 11010:
! 11011: # Dependencies to place before the objects being linked to create a
! 11012: # shared library.
! 11013: predeps=$lt_predeps
! 11014:
! 11015: # Dependencies to place after the objects being linked to create a
! 11016: # shared library.
! 11017: postdeps=$lt_postdeps
! 11018:
! 11019: # The directories searched by this compiler when creating a shared
! 11020: # library
! 11021: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
! 11022:
! 11023: # The library search path used internally by the compiler when linking
! 11024: # a shared library.
! 11025: compiler_lib_search_path=$lt_compiler_lib_search_path
! 11026:
! 11027: # Method to check whether dependent libraries are shared objects.
! 11028: deplibs_check_method=$lt_deplibs_check_method
! 11029:
! 11030: # Command to use when deplibs_check_method == file_magic.
! 11031: file_magic_cmd=$lt_file_magic_cmd
! 11032:
! 11033: # Flag that allows shared libraries with undefined symbols to be built.
! 11034: allow_undefined_flag=$lt_allow_undefined_flag
! 11035:
! 11036: # Flag that forces no undefined symbols.
! 11037: no_undefined_flag=$lt_no_undefined_flag
! 11038:
! 11039: # Commands used to finish a libtool library installation in a directory.
! 11040: finish_cmds=$lt_finish_cmds
! 11041:
! 11042: # Same as above, but a single script fragment to be evaled but not shown.
! 11043: finish_eval=$lt_finish_eval
! 11044:
! 11045: # Take the output of nm and produce a listing of raw symbols and C names.
! 11046: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 11047:
! 11048: # Transform the output of nm in a proper C declaration
! 11049: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 11050:
! 11051: # Transform the output of nm in a C name address pair
! 11052: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 11053:
! 11054: # This is the shared library runtime path variable.
! 11055: runpath_var=$runpath_var
! 11056:
! 11057: # This is the shared library path variable.
! 11058: shlibpath_var=$shlibpath_var
! 11059:
! 11060: # Is shlibpath searched before the hard-coded library search path?
! 11061: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 11062:
! 11063: # How to hardcode a shared library path into an executable.
! 11064: hardcode_action=$hardcode_action
! 11065:
! 11066: # Whether we should hardcode library paths into libraries.
! 11067: hardcode_into_libs=$hardcode_into_libs
! 11068:
! 11069: # Flag to hardcode \$libdir into a binary during linking.
! 11070: # This must work even if \$libdir does not exist.
! 11071: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 11072:
! 11073: # If ld is used when linking, flag to hardcode \$libdir into
! 11074: # a binary during linking. This must work even if \$libdir does
! 11075: # not exist.
! 11076: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 11077:
! 11078: # Whether we need a single -rpath flag with a separated argument.
! 11079: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 11080:
! 11081: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 11082: # resulting binary.
! 11083: hardcode_direct=$hardcode_direct
! 11084:
! 11085: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 11086: # resulting binary.
! 11087: hardcode_minus_L=$hardcode_minus_L
! 11088:
! 11089: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 11090: # the resulting binary.
! 11091: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 11092:
! 11093: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 11094: # and all subsequent libraries and executables linked against it.
! 11095: hardcode_automatic=$hardcode_automatic
! 11096:
! 11097: # Variables whose values should be saved in libtool wrapper scripts and
! 11098: # restored at relink time.
! 11099: variables_saved_for_relink="$variables_saved_for_relink"
! 11100:
! 11101: # Whether libtool must link a program against all its dependency libraries.
! 11102: link_all_deplibs=$link_all_deplibs
! 11103:
! 11104: # Compile-time system search path for libraries
! 11105: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 11106:
! 11107: # Run-time system search path for libraries
! 11108: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 11109:
! 11110: # Fix the shell variable \$srcfile for the compiler.
! 11111: fix_srcfile_path=$lt_fix_srcfile_path
! 11112:
! 11113: # Set to yes if exported symbols are required.
! 11114: always_export_symbols=$always_export_symbols
! 11115:
! 11116: # The commands to list exported symbols.
! 11117: export_symbols_cmds=$lt_export_symbols_cmds
! 11118:
! 11119: # The commands to extract the exported symbol list from a shared archive.
! 11120: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 11121:
! 11122: # Symbols that should not be listed in the preloaded symbols.
! 11123: exclude_expsyms=$lt_exclude_expsyms
! 11124:
! 11125: # Symbols that must always be exported.
! 11126: include_expsyms=$lt_include_expsyms
! 11127:
! 11128: # ### END LIBTOOL CONFIG
! 11129:
! 11130: __EOF__
! 11131:
! 11132:
! 11133: case $host_os in
! 11134: aix3*)
! 11135: cat <<\EOF >> "$cfgfile"
! 11136:
! 11137: # AIX sometimes has problems with the GCC collect2 program. For some
! 11138: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 11139: # vanish in a puff of smoke.
! 11140: if test "X${COLLECT_NAMES+set}" != Xset; then
! 11141: COLLECT_NAMES=
! 11142: export COLLECT_NAMES
! 11143: fi
! 11144: EOF
! 11145: ;;
! 11146: esac
! 11147:
! 11148: # We use sed instead of cat because bash on DJGPP gets confused if
! 11149: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 11150: # text mode, it properly converts lines to CR/LF. This bash problem
! 11151: # is reportedly fixed, but why not run on old versions too?
! 11152: sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
! 11153:
! 11154: mv -f "$cfgfile" "$ofile" || \
! 11155: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 11156: chmod +x "$ofile"
! 11157:
! 11158: else
! 11159: # If there is no Makefile yet, we rely on a make rule to execute
! 11160: # `config.status --recheck' to rerun these tests and create the
! 11161: # libtool script then.
! 11162: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 11163: if test -f "$ltmain_in"; then
! 11164: test -f Makefile && make "$ltmain"
! 11165: fi
! 11166: fi
! 11167:
! 11168:
! 11169: ac_ext=c
! 11170: ac_cpp='$CPP $CPPFLAGS'
! 11171: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11172: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11173: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11174:
! 11175: CC="$lt_save_CC"
! 11176:
! 11177:
! 11178: # Check whether --with-tags was given.
! 11179: if test "${with_tags+set}" = set; then
! 11180: withval=$with_tags; tagnames="$withval"
! 11181: fi
! 11182:
! 11183:
! 11184: if test -f "$ltmain" && test -n "$tagnames"; then
! 11185: if test ! -f "${ofile}"; then
! 11186: { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
! 11187: $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
! 11188: fi
! 11189:
! 11190: if test -z "$LTCC"; then
! 11191: eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
! 11192: if test -z "$LTCC"; then
! 11193: { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
! 11194: $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
! 11195: else
! 11196: { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
! 11197: $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
! 11198: fi
! 11199: fi
! 11200: if test -z "$LTCFLAGS"; then
! 11201: eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
! 11202: fi
! 11203:
! 11204: # Extract list of available tagged configurations in $ofile.
! 11205: # Note that this assumes the entire list is on one line.
! 11206: available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
! 11207:
! 11208: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 11209: for tagname in $tagnames; do
! 11210: IFS="$lt_save_ifs"
! 11211: # Check whether tagname contains only valid characters
! 11212: case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
! 11213: "") ;;
! 11214: *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
! 11215: $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
! 11216: { (exit 1); exit 1; }; }
! 11217: ;;
! 11218: esac
! 11219:
! 11220: if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
! 11221: then
! 11222: { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
! 11223: $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
! 11224: { (exit 1); exit 1; }; }
! 11225: fi
! 11226:
! 11227: # Update the list of available tags.
! 11228: if test -n "$tagname"; then
! 11229: echo appending configuration tag \"$tagname\" to $ofile
! 11230:
! 11231: case $tagname in
! 11232: CXX)
! 11233: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 11234: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 11235: (test "X$CXX" != "Xg++"))) ; then
! 11236: ac_ext=cpp
! 11237: ac_cpp='$CXXCPP $CPPFLAGS'
! 11238: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11239: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11240: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11241:
! 11242:
! 11243:
! 11244:
! 11245: archive_cmds_need_lc_CXX=no
! 11246: allow_undefined_flag_CXX=
! 11247: always_export_symbols_CXX=no
! 11248: archive_expsym_cmds_CXX=
! 11249: export_dynamic_flag_spec_CXX=
! 11250: hardcode_direct_CXX=no
! 11251: hardcode_libdir_flag_spec_CXX=
! 11252: hardcode_libdir_flag_spec_ld_CXX=
! 11253: hardcode_libdir_separator_CXX=
! 11254: hardcode_minus_L_CXX=no
! 11255: hardcode_shlibpath_var_CXX=unsupported
! 11256: hardcode_automatic_CXX=no
! 11257: module_cmds_CXX=
! 11258: module_expsym_cmds_CXX=
! 11259: link_all_deplibs_CXX=unknown
! 11260: old_archive_cmds_CXX=$old_archive_cmds
! 11261: no_undefined_flag_CXX=
! 11262: whole_archive_flag_spec_CXX=
! 11263: enable_shared_with_static_runtimes_CXX=no
! 11264:
! 11265: # Dependencies to place before and after the object being linked:
! 11266: predep_objects_CXX=
! 11267: postdep_objects_CXX=
! 11268: predeps_CXX=
! 11269: postdeps_CXX=
! 11270: compiler_lib_search_path_CXX=
! 11271: compiler_lib_search_dirs_CXX=
! 11272:
! 11273: # Source file extension for C++ test sources.
! 11274: ac_ext=cpp
! 11275:
! 11276: # Object file extension for compiled C++ test sources.
! 11277: objext=o
! 11278: objext_CXX=$objext
! 11279:
! 11280: # Code to be used in simple compile tests
! 11281: lt_simple_compile_test_code="int some_variable = 0;"
! 11282:
! 11283: # Code to be used in simple link tests
! 11284: lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
! 11285:
! 11286: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 11287:
! 11288: # If no C compiler was specified, use CC.
! 11289: LTCC=${LTCC-"$CC"}
! 11290:
! 11291: # If no C compiler flags were specified, use CFLAGS.
! 11292: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 11293:
! 11294: # Allow CC to be a program name with arguments.
! 11295: compiler=$CC
! 11296:
! 11297:
! 11298: # save warnings/boilerplate of simple test code
! 11299: ac_outfile=conftest.$ac_objext
! 11300: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 11301: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11302: _lt_compiler_boilerplate=`cat conftest.err`
! 11303: $rm conftest*
! 11304:
! 11305: ac_outfile=conftest.$ac_objext
! 11306: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 11307: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11308: _lt_linker_boilerplate=`cat conftest.err`
! 11309: $rm -r conftest*
! 11310:
! 11311:
! 11312: # Allow CC to be a program name with arguments.
! 11313: lt_save_CC=$CC
! 11314: lt_save_LD=$LD
! 11315: lt_save_GCC=$GCC
! 11316: GCC=$GXX
! 11317: lt_save_with_gnu_ld=$with_gnu_ld
! 11318: lt_save_path_LD=$lt_cv_path_LD
! 11319: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 11320: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 11321: else
! 11322: $as_unset lt_cv_prog_gnu_ld
! 11323: fi
! 11324: if test -n "${lt_cv_path_LDCXX+set}"; then
! 11325: lt_cv_path_LD=$lt_cv_path_LDCXX
! 11326: else
! 11327: $as_unset lt_cv_path_LD
! 11328: fi
! 11329: test -z "${LDCXX+set}" || LD=$LDCXX
! 11330: CC=${CXX-"c++"}
! 11331: compiler=$CC
! 11332: compiler_CXX=$CC
! 11333: for cc_temp in $compiler""; do
! 11334: case $cc_temp in
! 11335: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 11336: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 11337: \-*) ;;
! 11338: *) break;;
! 11339: esac
! 11340: done
! 11341: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 11342:
! 11343:
! 11344: # We don't want -fno-exception wen compiling C++ code, so set the
! 11345: # no_builtin_flag separately
! 11346: if test "$GXX" = yes; then
! 11347: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 11348: else
! 11349: lt_prog_compiler_no_builtin_flag_CXX=
! 11350: fi
! 11351:
! 11352: if test "$GXX" = yes; then
! 11353: # Set up default GNU C++ configuration
! 11354:
! 11355:
! 11356: # Check whether --with-gnu-ld was given.
! 11357: if test "${with_gnu_ld+set}" = set; then
! 11358: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 11359: else
! 11360: with_gnu_ld=no
! 11361: fi
! 11362:
! 11363: ac_prog=ld
! 11364: if test "$GCC" = yes; then
! 11365: # Check if gcc -print-prog-name=ld gives a path.
! 11366: { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 11367: $as_echo_n "checking for ld used by $CC... " >&6; }
! 11368: case $host in
! 11369: *-*-mingw*)
! 11370: # gcc leaves a trailing carriage return which upsets mingw
! 11371: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 11372: *)
! 11373: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 11374: esac
! 11375: case $ac_prog in
! 11376: # Accept absolute paths.
! 11377: [\\/]* | ?:[\\/]*)
! 11378: re_direlt='/[^/][^/]*/\.\./'
! 11379: # Canonicalize the pathname of ld
! 11380: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 11381: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 11382: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 11383: done
! 11384: test -z "$LD" && LD="$ac_prog"
! 11385: ;;
! 11386: "")
! 11387: # If it fails, then pretend we aren't using GCC.
! 11388: ac_prog=ld
! 11389: ;;
! 11390: *)
! 11391: # If it is relative, then search for the first ld in PATH.
! 11392: with_gnu_ld=unknown
! 11393: ;;
! 11394: esac
! 11395: elif test "$with_gnu_ld" = yes; then
! 11396: { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
! 11397: $as_echo_n "checking for GNU ld... " >&6; }
! 11398: else
! 11399: { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 11400: $as_echo_n "checking for non-GNU ld... " >&6; }
! 11401: fi
! 11402: if test "${lt_cv_path_LD+set}" = set; then
! 11403: $as_echo_n "(cached) " >&6
! 11404: else
! 11405: if test -z "$LD"; then
! 11406: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 11407: for ac_dir in $PATH; do
! 11408: IFS="$lt_save_ifs"
! 11409: test -z "$ac_dir" && ac_dir=.
! 11410: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 11411: lt_cv_path_LD="$ac_dir/$ac_prog"
! 11412: # Check to see if the program is GNU ld. I'd rather use --version,
! 11413: # but apparently some variants of GNU ld only accept -v.
! 11414: # Break only if it was the GNU/non-GNU ld that we prefer.
! 11415: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 11416: *GNU* | *'with BFD'*)
! 11417: test "$with_gnu_ld" != no && break
! 11418: ;;
! 11419: *)
! 11420: test "$with_gnu_ld" != yes && break
! 11421: ;;
! 11422: esac
! 11423: fi
! 11424: done
! 11425: IFS="$lt_save_ifs"
! 11426: else
! 11427: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 11428: fi
! 11429: fi
! 11430:
! 11431: LD="$lt_cv_path_LD"
! 11432: if test -n "$LD"; then
! 11433: { $as_echo "$as_me:$LINENO: result: $LD" >&5
! 11434: $as_echo "$LD" >&6; }
! 11435: else
! 11436: { $as_echo "$as_me:$LINENO: result: no" >&5
! 11437: $as_echo "no" >&6; }
! 11438: fi
! 11439: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 11440: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 11441: { (exit 1); exit 1; }; }
! 11442: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 11443: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 11444: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 11445: $as_echo_n "(cached) " >&6
! 11446: else
! 11447: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 11448: case `$LD -v 2>&1 </dev/null` in
! 11449: *GNU* | *'with BFD'*)
! 11450: lt_cv_prog_gnu_ld=yes
! 11451: ;;
! 11452: *)
! 11453: lt_cv_prog_gnu_ld=no
! 11454: ;;
! 11455: esac
! 11456: fi
! 11457: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 11458: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 11459: with_gnu_ld=$lt_cv_prog_gnu_ld
! 11460:
! 11461:
! 11462:
! 11463: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 11464: # archiving commands below assume that GNU ld is being used.
! 11465: if test "$with_gnu_ld" = yes; then
! 11466: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11467: archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 11468:
! 11469: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 11470: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 11471:
! 11472: # If archive_cmds runs LD, not CC, wlarc should be empty
! 11473: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 11474: # investigate it a little bit more. (MM)
! 11475: wlarc='${wl}'
! 11476:
! 11477: # ancient GNU ld didn't support --whole-archive et. al.
! 11478: if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
! 11479: grep 'no-whole-archive' > /dev/null; then
! 11480: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 11481: else
! 11482: whole_archive_flag_spec_CXX=
! 11483: fi
! 11484: else
! 11485: with_gnu_ld=no
! 11486: wlarc=
! 11487:
! 11488: # A generic and very simple default shared library creation
! 11489: # command for GNU C++ for the case where it uses the native
! 11490: # linker, instead of GNU ld. If possible, this setting should
! 11491: # overridden to take advantage of the native linker features on
! 11492: # the platform it is being used on.
! 11493: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 11494: fi
! 11495:
! 11496: # Commands to make compiler produce verbose output that lists
! 11497: # what "hidden" libraries, object files and flags are used when
! 11498: # linking a shared library.
! 11499: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 11500:
! 11501: else
! 11502: GXX=no
! 11503: with_gnu_ld=no
! 11504: wlarc=
! 11505: fi
! 11506:
! 11507: # PORTME: fill in a description of your system's C++ link characteristics
! 11508: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 11509: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 11510: ld_shlibs_CXX=yes
! 11511: case $host_os in
! 11512: aix3*)
! 11513: # FIXME: insert proper C++ library support
! 11514: ld_shlibs_CXX=no
! 11515: ;;
! 11516: aix[4-9]*)
! 11517: if test "$host_cpu" = ia64; then
! 11518: # On IA64, the linker does run time linking by default, so we don't
! 11519: # have to do anything special.
! 11520: aix_use_runtimelinking=no
! 11521: exp_sym_flag='-Bexport'
! 11522: no_entry_flag=""
! 11523: else
! 11524: aix_use_runtimelinking=no
! 11525:
! 11526: # Test if we are trying to use run time linking or normal
! 11527: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 11528: # need to do runtime linking.
! 11529: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 11530: for ld_flag in $LDFLAGS; do
! 11531: case $ld_flag in
! 11532: *-brtl*)
! 11533: aix_use_runtimelinking=yes
! 11534: break
! 11535: ;;
! 11536: esac
! 11537: done
! 11538: ;;
! 11539: esac
! 11540:
! 11541: exp_sym_flag='-bexport'
! 11542: no_entry_flag='-bnoentry'
! 11543: fi
! 11544:
! 11545: # When large executables or shared objects are built, AIX ld can
! 11546: # have problems creating the table of contents. If linking a library
! 11547: # or program results in "error TOC overflow" add -mminimal-toc to
! 11548: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 11549: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 11550:
! 11551: archive_cmds_CXX=''
! 11552: hardcode_direct_CXX=yes
! 11553: hardcode_libdir_separator_CXX=':'
! 11554: link_all_deplibs_CXX=yes
! 11555:
! 11556: if test "$GXX" = yes; then
! 11557: case $host_os in aix4.[012]|aix4.[012].*)
! 11558: # We only want to do this on AIX 4.2 and lower, the check
! 11559: # below for broken collect2 doesn't work under 4.3+
! 11560: collect2name=`${CC} -print-prog-name=collect2`
! 11561: if test -f "$collect2name" && \
! 11562: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 11563: then
! 11564: # We have reworked collect2
! 11565: :
! 11566: else
! 11567: # We have old collect2
! 11568: hardcode_direct_CXX=unsupported
! 11569: # It fails to find uninstalled libraries when the uninstalled
! 11570: # path is not listed in the libpath. Setting hardcode_minus_L
! 11571: # to unsupported forces relinking
! 11572: hardcode_minus_L_CXX=yes
! 11573: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 11574: hardcode_libdir_separator_CXX=
! 11575: fi
! 11576: ;;
! 11577: esac
! 11578: shared_flag='-shared'
! 11579: if test "$aix_use_runtimelinking" = yes; then
! 11580: shared_flag="$shared_flag "'${wl}-G'
! 11581: fi
! 11582: else
! 11583: # not using gcc
! 11584: if test "$host_cpu" = ia64; then
! 11585: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 11586: # chokes on -Wl,-G. The following line is correct:
! 11587: shared_flag='-G'
! 11588: else
! 11589: if test "$aix_use_runtimelinking" = yes; then
! 11590: shared_flag='${wl}-G'
! 11591: else
! 11592: shared_flag='${wl}-bM:SRE'
! 11593: fi
! 11594: fi
! 11595: fi
! 11596:
! 11597: # It seems that -bexpall does not export symbols beginning with
! 11598: # underscore (_), so it is better to generate a list of symbols to export.
! 11599: always_export_symbols_CXX=yes
! 11600: if test "$aix_use_runtimelinking" = yes; then
! 11601: # Warning - without using the other runtime loading flags (-brtl),
! 11602: # -berok will link without error, but may produce a broken library.
! 11603: allow_undefined_flag_CXX='-berok'
! 11604: # Determine the default libpath from the value encoded in an empty executable.
! 11605: cat >conftest.$ac_ext <<_ACEOF
! 11606: /* confdefs.h. */
! 11607: _ACEOF
! 11608: cat confdefs.h >>conftest.$ac_ext
! 11609: cat >>conftest.$ac_ext <<_ACEOF
! 11610: /* end confdefs.h. */
! 11611:
! 11612: int
! 11613: main ()
! 11614: {
! 11615:
! 11616: ;
! 11617: return 0;
! 11618: }
! 11619: _ACEOF
! 11620: rm -f conftest.$ac_objext conftest$ac_exeext
! 11621: if { (ac_try="$ac_link"
! 11622: case "(($ac_try" in
! 11623: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11624: *) ac_try_echo=$ac_try;;
! 11625: esac
! 11626: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11627: $as_echo "$ac_try_echo") >&5
! 11628: (eval "$ac_link") 2>conftest.er1
! 11629: ac_status=$?
! 11630: grep -v '^ *+' conftest.er1 >conftest.err
! 11631: rm -f conftest.er1
! 11632: cat conftest.err >&5
! 11633: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11634: (exit $ac_status); } && {
! 11635: test -z "$ac_cxx_werror_flag" ||
! 11636: test ! -s conftest.err
! 11637: } && test -s conftest$ac_exeext && {
! 11638: test "$cross_compiling" = yes ||
! 11639: $as_test_x conftest$ac_exeext
! 11640: }; then
! 11641:
! 11642: lt_aix_libpath_sed='
! 11643: /Import File Strings/,/^$/ {
! 11644: /^0/ {
! 11645: s/^0 *\(.*\)$/\1/
! 11646: p
! 11647: }
! 11648: }'
! 11649: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11650: # Check for a 64-bit object if we didn't find anything.
! 11651: if test -z "$aix_libpath"; then
! 11652: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11653: fi
! 11654: else
! 11655: $as_echo "$as_me: failed program was:" >&5
! 11656: sed 's/^/| /' conftest.$ac_ext >&5
! 11657:
! 11658:
! 11659: fi
! 11660:
! 11661: rm -rf conftest.dSYM
! 11662: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11663: conftest$ac_exeext conftest.$ac_ext
! 11664: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 11665:
! 11666: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11667:
! 11668: archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 11669: else
! 11670: if test "$host_cpu" = ia64; then
! 11671: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 11672: allow_undefined_flag_CXX="-z nodefs"
! 11673: archive_expsym_cmds_CXX="\$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"
! 11674: else
! 11675: # Determine the default libpath from the value encoded in an empty executable.
! 11676: cat >conftest.$ac_ext <<_ACEOF
! 11677: /* confdefs.h. */
! 11678: _ACEOF
! 11679: cat confdefs.h >>conftest.$ac_ext
! 11680: cat >>conftest.$ac_ext <<_ACEOF
! 11681: /* end confdefs.h. */
! 11682:
! 11683: int
! 11684: main ()
! 11685: {
! 11686:
! 11687: ;
! 11688: return 0;
! 11689: }
! 11690: _ACEOF
! 11691: rm -f conftest.$ac_objext conftest$ac_exeext
! 11692: if { (ac_try="$ac_link"
! 11693: case "(($ac_try" in
! 11694: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11695: *) ac_try_echo=$ac_try;;
! 11696: esac
! 11697: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11698: $as_echo "$ac_try_echo") >&5
! 11699: (eval "$ac_link") 2>conftest.er1
! 11700: ac_status=$?
! 11701: grep -v '^ *+' conftest.er1 >conftest.err
! 11702: rm -f conftest.er1
! 11703: cat conftest.err >&5
! 11704: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11705: (exit $ac_status); } && {
! 11706: test -z "$ac_cxx_werror_flag" ||
! 11707: test ! -s conftest.err
! 11708: } && test -s conftest$ac_exeext && {
! 11709: test "$cross_compiling" = yes ||
! 11710: $as_test_x conftest$ac_exeext
! 11711: }; then
! 11712:
! 11713: lt_aix_libpath_sed='
! 11714: /Import File Strings/,/^$/ {
! 11715: /^0/ {
! 11716: s/^0 *\(.*\)$/\1/
! 11717: p
! 11718: }
! 11719: }'
! 11720: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11721: # Check for a 64-bit object if we didn't find anything.
! 11722: if test -z "$aix_libpath"; then
! 11723: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11724: fi
! 11725: else
! 11726: $as_echo "$as_me: failed program was:" >&5
! 11727: sed 's/^/| /' conftest.$ac_ext >&5
! 11728:
! 11729:
! 11730: fi
! 11731:
! 11732: rm -rf conftest.dSYM
! 11733: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11734: conftest$ac_exeext conftest.$ac_ext
! 11735: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 11736:
! 11737: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11738: # Warning - without using the other run time loading flags,
! 11739: # -berok will link without error, but may produce a broken library.
! 11740: no_undefined_flag_CXX=' ${wl}-bernotok'
! 11741: allow_undefined_flag_CXX=' ${wl}-berok'
! 11742: # Exported symbols can be pulled into shared objects from archives
! 11743: whole_archive_flag_spec_CXX='$convenience'
! 11744: archive_cmds_need_lc_CXX=yes
! 11745: # This is similar to how AIX traditionally builds its shared libraries.
! 11746: archive_expsym_cmds_CXX="\$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'
! 11747: fi
! 11748: fi
! 11749: ;;
! 11750:
! 11751: beos*)
! 11752: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 11753: allow_undefined_flag_CXX=unsupported
! 11754: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 11755: # support --undefined. This deserves some investigation. FIXME
! 11756: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11757: else
! 11758: ld_shlibs_CXX=no
! 11759: fi
! 11760: ;;
! 11761:
! 11762: chorus*)
! 11763: case $cc_basename in
! 11764: *)
! 11765: # FIXME: insert proper C++ library support
! 11766: ld_shlibs_CXX=no
! 11767: ;;
! 11768: esac
! 11769: ;;
! 11770:
! 11771: cygwin* | mingw* | pw32*)
! 11772: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 11773: # as there is no search path for DLLs.
! 11774: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 11775: allow_undefined_flag_CXX=unsupported
! 11776: always_export_symbols_CXX=no
! 11777: enable_shared_with_static_runtimes_CXX=yes
! 11778:
! 11779: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 11780: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 11781: # If the export-symbols file already is a .def file (1st line
! 11782: # is EXPORTS), use it as is; otherwise, prepend...
! 11783: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 11784: cp $export_symbols $output_objdir/$soname.def;
! 11785: else
! 11786: echo EXPORTS > $output_objdir/$soname.def;
! 11787: cat $export_symbols >> $output_objdir/$soname.def;
! 11788: fi~
! 11789: $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 11790: else
! 11791: ld_shlibs_CXX=no
! 11792: fi
! 11793: ;;
! 11794: darwin* | rhapsody*)
! 11795: archive_cmds_need_lc_CXX=no
! 11796: hardcode_direct_CXX=no
! 11797: hardcode_automatic_CXX=yes
! 11798: hardcode_shlibpath_var_CXX=unsupported
! 11799: whole_archive_flag_spec_CXX=''
! 11800: link_all_deplibs_CXX=yes
! 11801: allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
! 11802: if test "$GXX" = yes ; then
! 11803: output_verbose_link_cmd='echo'
! 11804: archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 11805: module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 11806: archive_expsym_cmds_CXX="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}"
! 11807: module_expsym_cmds_CXX="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}"
! 11808: if test "$lt_cv_apple_cc_single_mod" != "yes"; then
! 11809: archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
! 11810: archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
! 11811: fi
! 11812: else
! 11813: case $cc_basename in
! 11814: xlc*)
! 11815: output_verbose_link_cmd='echo'
! 11816: archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 11817: module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 11818: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 11819: archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 11820: module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 11821: ;;
! 11822: *)
! 11823: ld_shlibs_CXX=no
! 11824: ;;
! 11825: esac
! 11826: fi
! 11827: ;;
! 11828:
! 11829: dgux*)
! 11830: case $cc_basename in
! 11831: ec++*)
! 11832: # FIXME: insert proper C++ library support
! 11833: ld_shlibs_CXX=no
! 11834: ;;
! 11835: ghcx*)
! 11836: # Green Hills C++ Compiler
! 11837: # FIXME: insert proper C++ library support
! 11838: ld_shlibs_CXX=no
! 11839: ;;
! 11840: *)
! 11841: # FIXME: insert proper C++ library support
! 11842: ld_shlibs_CXX=no
! 11843: ;;
! 11844: esac
! 11845: ;;
! 11846: freebsd[12]*)
! 11847: # C++ shared libraries reported to be fairly broken before switch to ELF
! 11848: ld_shlibs_CXX=no
! 11849: ;;
! 11850: freebsd-elf*)
! 11851: archive_cmds_need_lc_CXX=no
! 11852: ;;
! 11853: freebsd* | dragonfly*)
! 11854: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 11855: # conventions
! 11856: ld_shlibs_CXX=yes
! 11857: ;;
! 11858: gnu*)
! 11859: ;;
! 11860: hpux9*)
! 11861: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 11862: hardcode_libdir_separator_CXX=:
! 11863: export_dynamic_flag_spec_CXX='${wl}-E'
! 11864: hardcode_direct_CXX=yes
! 11865: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 11866: # but as the default
! 11867: # location of the library.
! 11868:
! 11869: case $cc_basename in
! 11870: CC*)
! 11871: # FIXME: insert proper C++ library support
! 11872: ld_shlibs_CXX=no
! 11873: ;;
! 11874: aCC*)
! 11875: archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 11876: # Commands to make compiler produce verbose output that lists
! 11877: # what "hidden" libraries, object files and flags are used when
! 11878: # linking a shared library.
! 11879: #
! 11880: # There doesn't appear to be a way to prevent this compiler from
! 11881: # explicitly linking system object files so we need to strip them
! 11882: # from the output so that they don't get included in the library
! 11883: # dependencies.
! 11884: output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 11885: ;;
! 11886: *)
! 11887: if test "$GXX" = yes; then
! 11888: archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 11889: else
! 11890: # FIXME: insert proper C++ library support
! 11891: ld_shlibs_CXX=no
! 11892: fi
! 11893: ;;
! 11894: esac
! 11895: ;;
! 11896: hpux10*|hpux11*)
! 11897: if test $with_gnu_ld = no; then
! 11898: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 11899: hardcode_libdir_separator_CXX=:
! 11900:
! 11901: case $host_cpu in
! 11902: hppa*64*|ia64*) ;;
! 11903: *)
! 11904: export_dynamic_flag_spec_CXX='${wl}-E'
! 11905: ;;
! 11906: esac
! 11907: fi
! 11908: case $host_cpu in
! 11909: hppa*64*|ia64*)
! 11910: hardcode_direct_CXX=no
! 11911: hardcode_shlibpath_var_CXX=no
! 11912: ;;
! 11913: *)
! 11914: hardcode_direct_CXX=yes
! 11915: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 11916: # but as the default
! 11917: # location of the library.
! 11918: ;;
! 11919: esac
! 11920:
! 11921: case $cc_basename in
! 11922: CC*)
! 11923: # FIXME: insert proper C++ library support
! 11924: ld_shlibs_CXX=no
! 11925: ;;
! 11926: aCC*)
! 11927: case $host_cpu in
! 11928: hppa*64*)
! 11929: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11930: ;;
! 11931: ia64*)
! 11932: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11933: ;;
! 11934: *)
! 11935: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11936: ;;
! 11937: esac
! 11938: # Commands to make compiler produce verbose output that lists
! 11939: # what "hidden" libraries, object files and flags are used when
! 11940: # linking a shared library.
! 11941: #
! 11942: # There doesn't appear to be a way to prevent this compiler from
! 11943: # explicitly linking system object files so we need to strip them
! 11944: # from the output so that they don't get included in the library
! 11945: # dependencies.
! 11946: output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 11947: ;;
! 11948: *)
! 11949: if test "$GXX" = yes; then
! 11950: if test $with_gnu_ld = no; then
! 11951: case $host_cpu in
! 11952: hppa*64*)
! 11953: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11954: ;;
! 11955: ia64*)
! 11956: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11957: ;;
! 11958: *)
! 11959: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11960: ;;
! 11961: esac
! 11962: fi
! 11963: else
! 11964: # FIXME: insert proper C++ library support
! 11965: ld_shlibs_CXX=no
! 11966: fi
! 11967: ;;
! 11968: esac
! 11969: ;;
! 11970: interix[3-9]*)
! 11971: hardcode_direct_CXX=no
! 11972: hardcode_shlibpath_var_CXX=no
! 11973: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 11974: export_dynamic_flag_spec_CXX='${wl}-E'
! 11975: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 11976: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 11977: # default) and relocated if they conflict, which is a slow very memory
! 11978: # consuming and fragmenting process. To avoid this, we pick a random,
! 11979: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 11980: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 11981: archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 11982: archive_expsym_cmds_CXX='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'
! 11983: ;;
! 11984: irix5* | irix6*)
! 11985: case $cc_basename in
! 11986: CC*)
! 11987: # SGI C++
! 11988: archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 11989:
! 11990: # Archives containing C++ object files must be created using
! 11991: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 11992: # necessary to make sure instantiated templates are included
! 11993: # in the archive.
! 11994: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 11995: ;;
! 11996: *)
! 11997: if test "$GXX" = yes; then
! 11998: if test "$with_gnu_ld" = no; then
! 11999: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 12000: else
! 12001: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
! 12002: fi
! 12003: fi
! 12004: link_all_deplibs_CXX=yes
! 12005: ;;
! 12006: esac
! 12007: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12008: hardcode_libdir_separator_CXX=:
! 12009: ;;
! 12010: linux* | k*bsd*-gnu)
! 12011: case $cc_basename in
! 12012: KCC*)
! 12013: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12014:
! 12015: # KCC will only create a shared library if the output file
! 12016: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12017: # to its proper name (with version) after linking.
! 12018: archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
! 12019: archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
! 12020: # Commands to make compiler produce verbose output that lists
! 12021: # what "hidden" libraries, object files and flags are used when
! 12022: # linking a shared library.
! 12023: #
! 12024: # There doesn't appear to be a way to prevent this compiler from
! 12025: # explicitly linking system object files so we need to strip them
! 12026: # from the output so that they don't get included in the library
! 12027: # dependencies.
! 12028: output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 12029:
! 12030: hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
! 12031: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12032:
! 12033: # Archives containing C++ object files must be created using
! 12034: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12035: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12036: ;;
! 12037: icpc*)
! 12038: # Intel C++
! 12039: with_gnu_ld=yes
! 12040: # version 8.0 and above of icpc choke on multiply defined symbols
! 12041: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 12042: # earlier do not add the objects themselves.
! 12043: case `$CC -V 2>&1` in
! 12044: *"Version 7."*)
! 12045: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12046: archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 12047: ;;
! 12048: *) # Version 8.0 or newer
! 12049: tmp_idyn=
! 12050: case $host_cpu in
! 12051: ia64*) tmp_idyn=' -i_dynamic';;
! 12052: esac
! 12053: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12054: archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 12055: ;;
! 12056: esac
! 12057: archive_cmds_need_lc_CXX=no
! 12058: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12059: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12060: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12061: ;;
! 12062: pgCC* | pgcpp*)
! 12063: # Portland Group C++ compiler
! 12064: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12065: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
! 12066:
! 12067: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 12068: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12069: whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
! 12070: ;;
! 12071: cxx*)
! 12072: # Compaq C++
! 12073: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12074: archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
! 12075:
! 12076: runpath_var=LD_RUN_PATH
! 12077: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12078: hardcode_libdir_separator_CXX=:
! 12079:
! 12080: # Commands to make compiler produce verbose output that lists
! 12081: # what "hidden" libraries, object files and flags are used when
! 12082: # linking a shared library.
! 12083: #
! 12084: # There doesn't appear to be a way to prevent this compiler from
! 12085: # explicitly linking system object files so we need to strip them
! 12086: # from the output so that they don't get included in the library
! 12087: # dependencies.
! 12088: output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 12089: ;;
! 12090: *)
! 12091: case `$CC -V 2>&1 | sed 5q` in
! 12092: *Sun\ C*)
! 12093: # Sun C++ 5.9
! 12094: no_undefined_flag_CXX=' -zdefs'
! 12095: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12096: archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
! 12097: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12098: whole_archive_flag_spec_CXX='${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'
! 12099:
! 12100: # Not sure whether something based on
! 12101: # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
! 12102: # would be better.
! 12103: output_verbose_link_cmd='echo'
! 12104:
! 12105: # Archives containing C++ object files must be created using
! 12106: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12107: # necessary to make sure instantiated templates are included
! 12108: # in the archive.
! 12109: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12110: ;;
! 12111: esac
! 12112: ;;
! 12113: esac
! 12114: ;;
! 12115: lynxos*)
! 12116: # FIXME: insert proper C++ library support
! 12117: ld_shlibs_CXX=no
! 12118: ;;
! 12119: m88k*)
! 12120: # FIXME: insert proper C++ library support
! 12121: ld_shlibs_CXX=no
! 12122: ;;
! 12123: mvs*)
! 12124: case $cc_basename in
! 12125: cxx*)
! 12126: # FIXME: insert proper C++ library support
! 12127: ld_shlibs_CXX=no
! 12128: ;;
! 12129: *)
! 12130: # FIXME: insert proper C++ library support
! 12131: ld_shlibs_CXX=no
! 12132: ;;
! 12133: esac
! 12134: ;;
! 12135: netbsd*)
! 12136: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 12137: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 12138: wlarc=
! 12139: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12140: hardcode_direct_CXX=yes
! 12141: hardcode_shlibpath_var_CXX=no
! 12142: fi
! 12143: # Workaround some broken pre-1.5 toolchains
! 12144: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 12145: ;;
! 12146: openbsd2*)
! 12147: # C++ shared libraries are fairly broken
! 12148: ld_shlibs_CXX=no
! 12149: ;;
! 12150: openbsd*)
! 12151: if test -f /usr/libexec/ld.so; then
! 12152: hardcode_direct_CXX=yes
! 12153: hardcode_shlibpath_var_CXX=no
! 12154: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 12155: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12156: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 12157: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 12158: export_dynamic_flag_spec_CXX='${wl}-E'
! 12159: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 12160: fi
! 12161: output_verbose_link_cmd='echo'
! 12162: else
! 12163: ld_shlibs_CXX=no
! 12164: fi
! 12165: ;;
! 12166: osf3*)
! 12167: case $cc_basename in
! 12168: KCC*)
! 12169: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12170:
! 12171: # KCC will only create a shared library if the output file
! 12172: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12173: # to its proper name (with version) after linking.
! 12174: archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
! 12175:
! 12176: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12177: hardcode_libdir_separator_CXX=:
! 12178:
! 12179: # Archives containing C++ object files must be created using
! 12180: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12181: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12182:
! 12183: ;;
! 12184: RCC*)
! 12185: # Rational C++ 2.4.1
! 12186: # FIXME: insert proper C++ library support
! 12187: ld_shlibs_CXX=no
! 12188: ;;
! 12189: cxx*)
! 12190: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12191: archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 12192:
! 12193: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12194: hardcode_libdir_separator_CXX=:
! 12195:
! 12196: # Commands to make compiler produce verbose output that lists
! 12197: # what "hidden" libraries, object files and flags are used when
! 12198: # linking a shared library.
! 12199: #
! 12200: # There doesn't appear to be a way to prevent this compiler from
! 12201: # explicitly linking system object files so we need to strip them
! 12202: # from the output so that they don't get included in the library
! 12203: # dependencies.
! 12204: output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 12205: ;;
! 12206: *)
! 12207: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12208: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12209: archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 12210:
! 12211: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12212: hardcode_libdir_separator_CXX=:
! 12213:
! 12214: # Commands to make compiler produce verbose output that lists
! 12215: # what "hidden" libraries, object files and flags are used when
! 12216: # linking a shared library.
! 12217: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 12218:
! 12219: else
! 12220: # FIXME: insert proper C++ library support
! 12221: ld_shlibs_CXX=no
! 12222: fi
! 12223: ;;
! 12224: esac
! 12225: ;;
! 12226: osf4* | osf5*)
! 12227: case $cc_basename in
! 12228: KCC*)
! 12229: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12230:
! 12231: # KCC will only create a shared library if the output file
! 12232: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12233: # to its proper name (with version) after linking.
! 12234: archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
! 12235:
! 12236: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12237: hardcode_libdir_separator_CXX=:
! 12238:
! 12239: # Archives containing C++ object files must be created using
! 12240: # the KAI C++ compiler.
! 12241: old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
! 12242: ;;
! 12243: RCC*)
! 12244: # Rational C++ 2.4.1
! 12245: # FIXME: insert proper C++ library support
! 12246: ld_shlibs_CXX=no
! 12247: ;;
! 12248: cxx*)
! 12249: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 12250: archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 12251: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 12252: echo "-hidden">> $lib.exp~
! 12253: $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
! 12254: $rm $lib.exp'
! 12255:
! 12256: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12257: hardcode_libdir_separator_CXX=:
! 12258:
! 12259: # Commands to make compiler produce verbose output that lists
! 12260: # what "hidden" libraries, object files and flags are used when
! 12261: # linking a shared library.
! 12262: #
! 12263: # There doesn't appear to be a way to prevent this compiler from
! 12264: # explicitly linking system object files so we need to strip them
! 12265: # from the output so that they don't get included in the library
! 12266: # dependencies.
! 12267: output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
! 12268: ;;
! 12269: *)
! 12270: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12271: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12272: archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 12273:
! 12274: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12275: hardcode_libdir_separator_CXX=:
! 12276:
! 12277: # Commands to make compiler produce verbose output that lists
! 12278: # what "hidden" libraries, object files and flags are used when
! 12279: # linking a shared library.
! 12280: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 12281:
! 12282: else
! 12283: # FIXME: insert proper C++ library support
! 12284: ld_shlibs_CXX=no
! 12285: fi
! 12286: ;;
! 12287: esac
! 12288: ;;
! 12289: psos*)
! 12290: # FIXME: insert proper C++ library support
! 12291: ld_shlibs_CXX=no
! 12292: ;;
! 12293: sunos4*)
! 12294: case $cc_basename in
! 12295: CC*)
! 12296: # Sun C++ 4.x
! 12297: # FIXME: insert proper C++ library support
! 12298: ld_shlibs_CXX=no
! 12299: ;;
! 12300: lcc*)
! 12301: # Lucid
! 12302: # FIXME: insert proper C++ library support
! 12303: ld_shlibs_CXX=no
! 12304: ;;
! 12305: *)
! 12306: # FIXME: insert proper C++ library support
! 12307: ld_shlibs_CXX=no
! 12308: ;;
! 12309: esac
! 12310: ;;
! 12311: solaris*)
! 12312: case $cc_basename in
! 12313: CC*)
! 12314: # Sun C++ 4.2, 5.x and Centerline C++
! 12315: archive_cmds_need_lc_CXX=yes
! 12316: no_undefined_flag_CXX=' -zdefs'
! 12317: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12318: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12319: $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 12320:
! 12321: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12322: hardcode_shlibpath_var_CXX=no
! 12323: case $host_os in
! 12324: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12325: *)
! 12326: # The compiler driver will combine and reorder linker options,
! 12327: # but understands `-z linker_flag'.
! 12328: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 12329: whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
! 12330: ;;
! 12331: esac
! 12332: link_all_deplibs_CXX=yes
! 12333:
! 12334: output_verbose_link_cmd='echo'
! 12335:
! 12336: # Archives containing C++ object files must be created using
! 12337: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12338: # necessary to make sure instantiated templates are included
! 12339: # in the archive.
! 12340: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12341: ;;
! 12342: gcx*)
! 12343: # Green Hills C++ Compiler
! 12344: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12345:
! 12346: # The C++ compiler must be used to create the archive.
! 12347: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 12348: ;;
! 12349: *)
! 12350: # GNU C++ compiler with Solaris linker
! 12351: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12352: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 12353: if $CC --version | grep -v '^2\.7' > /dev/null; then
! 12354: archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12355: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12356: $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 12357:
! 12358: # Commands to make compiler produce verbose output that lists
! 12359: # what "hidden" libraries, object files and flags are used when
! 12360: # linking a shared library.
! 12361: output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 12362: else
! 12363: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 12364: # platform.
! 12365: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12366: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12367: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 12368:
! 12369: # Commands to make compiler produce verbose output that lists
! 12370: # what "hidden" libraries, object files and flags are used when
! 12371: # linking a shared library.
! 12372: output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 12373: fi
! 12374:
! 12375: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 12376: case $host_os in
! 12377: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12378: *)
! 12379: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 12380: ;;
! 12381: esac
! 12382: fi
! 12383: ;;
! 12384: esac
! 12385: ;;
! 12386: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 12387: no_undefined_flag_CXX='${wl}-z,text'
! 12388: archive_cmds_need_lc_CXX=no
! 12389: hardcode_shlibpath_var_CXX=no
! 12390: runpath_var='LD_RUN_PATH'
! 12391:
! 12392: case $cc_basename in
! 12393: CC*)
! 12394: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12395: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12396: ;;
! 12397: *)
! 12398: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12399: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12400: ;;
! 12401: esac
! 12402: ;;
! 12403: sysv5* | sco3.2v5* | sco5v6*)
! 12404: # Note: We can NOT use -z defs as we might desire, because we do not
! 12405: # link with -lc, and that would cause any symbols used from libc to
! 12406: # always be unresolved, which means just about no library would
! 12407: # ever link correctly. If we're not using GNU ld we use -z text
! 12408: # though, which does catch some bad symbols but isn't as heavy-handed
! 12409: # as -z defs.
! 12410: # For security reasons, it is highly recommended that you always
! 12411: # use absolute paths for naming shared libraries, and exclude the
! 12412: # DT_RUNPATH tag from executables and libraries. But doing so
! 12413: # requires that you compile everything twice, which is a pain.
! 12414: # So that behaviour is only enabled if SCOABSPATH is set to a
! 12415: # non-empty value in the environment. Most likely only useful for
! 12416: # creating official distributions of packages.
! 12417: # This is a hack until libtool officially supports absolute path
! 12418: # names for shared libraries.
! 12419: no_undefined_flag_CXX='${wl}-z,text'
! 12420: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 12421: archive_cmds_need_lc_CXX=no
! 12422: hardcode_shlibpath_var_CXX=no
! 12423: hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 12424: hardcode_libdir_separator_CXX=':'
! 12425: link_all_deplibs_CXX=yes
! 12426: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 12427: runpath_var='LD_RUN_PATH'
! 12428:
! 12429: case $cc_basename in
! 12430: CC*)
! 12431: archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12432: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12433: ;;
! 12434: *)
! 12435: archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12436: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12437: ;;
! 12438: esac
! 12439: ;;
! 12440: tandem*)
! 12441: case $cc_basename in
! 12442: NCC*)
! 12443: # NonStop-UX NCC 3.20
! 12444: # FIXME: insert proper C++ library support
! 12445: ld_shlibs_CXX=no
! 12446: ;;
! 12447: *)
! 12448: # FIXME: insert proper C++ library support
! 12449: ld_shlibs_CXX=no
! 12450: ;;
! 12451: esac
! 12452: ;;
! 12453: vxworks*)
! 12454: # FIXME: insert proper C++ library support
! 12455: ld_shlibs_CXX=no
! 12456: ;;
! 12457: *)
! 12458: # FIXME: insert proper C++ library support
! 12459: ld_shlibs_CXX=no
! 12460: ;;
! 12461: esac
! 12462: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 12463: $as_echo "$ld_shlibs_CXX" >&6; }
! 12464: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 12465:
! 12466: GCC_CXX="$GXX"
! 12467: LD_CXX="$LD"
! 12468:
! 12469: cat > conftest.$ac_ext <<EOF
! 12470: class Foo
! 12471: {
! 12472: public:
! 12473: Foo (void) { a = 0; }
! 12474: private:
! 12475: int a;
! 12476: };
! 12477: EOF
! 12478:
! 12479: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 12480: (eval $ac_compile) 2>&5
! 12481: ac_status=$?
! 12482: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12483: (exit $ac_status); }; then
! 12484: # Parse the compiler output and extract the necessary
! 12485: # objects, libraries and library flags.
! 12486:
! 12487: # Sentinel used to keep track of whether or not we are before
! 12488: # the conftest object file.
! 12489: pre_test_object_deps_done=no
! 12490:
! 12491: # The `*' in the case matches for architectures that use `case' in
! 12492: # $output_verbose_cmd can trigger glob expansion during the loop
! 12493: # eval without this substitution.
! 12494: output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
! 12495:
! 12496: for p in `eval $output_verbose_link_cmd`; do
! 12497: case $p in
! 12498:
! 12499: -L* | -R* | -l*)
! 12500: # Some compilers place space between "-{L,R}" and the path.
! 12501: # Remove the space.
! 12502: if test $p = "-L" \
! 12503: || test $p = "-R"; then
! 12504: prev=$p
! 12505: continue
! 12506: else
! 12507: prev=
! 12508: fi
! 12509:
! 12510: if test "$pre_test_object_deps_done" = no; then
! 12511: case $p in
! 12512: -L* | -R*)
! 12513: # Internal compiler library paths should come after those
! 12514: # provided the user. The postdeps already come after the
! 12515: # user supplied libs so there is no need to process them.
! 12516: if test -z "$compiler_lib_search_path_CXX"; then
! 12517: compiler_lib_search_path_CXX="${prev}${p}"
! 12518: else
! 12519: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 12520: fi
! 12521: ;;
! 12522: # The "-l" case would never come before the object being
! 12523: # linked, so don't bother handling this case.
! 12524: esac
! 12525: else
! 12526: if test -z "$postdeps_CXX"; then
! 12527: postdeps_CXX="${prev}${p}"
! 12528: else
! 12529: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 12530: fi
! 12531: fi
! 12532: ;;
! 12533:
! 12534: *.$objext)
! 12535: # This assumes that the test object file only shows up
! 12536: # once in the compiler output.
! 12537: if test "$p" = "conftest.$objext"; then
! 12538: pre_test_object_deps_done=yes
! 12539: continue
! 12540: fi
! 12541:
! 12542: if test "$pre_test_object_deps_done" = no; then
! 12543: if test -z "$predep_objects_CXX"; then
! 12544: predep_objects_CXX="$p"
! 12545: else
! 12546: predep_objects_CXX="$predep_objects_CXX $p"
! 12547: fi
! 12548: else
! 12549: if test -z "$postdep_objects_CXX"; then
! 12550: postdep_objects_CXX="$p"
! 12551: else
! 12552: postdep_objects_CXX="$postdep_objects_CXX $p"
! 12553: fi
! 12554: fi
! 12555: ;;
! 12556:
! 12557: *) ;; # Ignore the rest.
! 12558:
! 12559: esac
! 12560: done
! 12561:
! 12562: # Clean up.
! 12563: rm -f a.out a.exe
! 12564: else
! 12565: echo "libtool.m4: error: problem compiling CXX test program"
! 12566: fi
! 12567:
! 12568: $rm -f confest.$objext
! 12569:
! 12570: compiler_lib_search_dirs_CXX=
! 12571: if test -n "$compiler_lib_search_path_CXX"; then
! 12572: compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
! 12573: fi
! 12574:
! 12575: # PORTME: override above test on systems where it is broken
! 12576: case $host_os in
! 12577: interix[3-9]*)
! 12578: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 12579: # hack all around it, let's just trust "g++" to DTRT.
! 12580: predep_objects_CXX=
! 12581: postdep_objects_CXX=
! 12582: postdeps_CXX=
! 12583: ;;
! 12584:
! 12585: linux*)
! 12586: case `$CC -V 2>&1 | sed 5q` in
! 12587: *Sun\ C*)
! 12588: # Sun C++ 5.9
! 12589: #
! 12590: # The more standards-conforming stlport4 library is
! 12591: # incompatible with the Cstd library. Avoid specifying
! 12592: # it if it's in CXXFLAGS. Ignore libCrun as
! 12593: # -library=stlport4 depends on it.
! 12594: case " $CXX $CXXFLAGS " in
! 12595: *" -library=stlport4 "*)
! 12596: solaris_use_stlport4=yes
! 12597: ;;
! 12598: esac
! 12599: if test "$solaris_use_stlport4" != yes; then
! 12600: postdeps_CXX='-library=Cstd -library=Crun'
! 12601: fi
! 12602: ;;
! 12603: esac
! 12604: ;;
! 12605:
! 12606: solaris*)
! 12607: case $cc_basename in
! 12608: CC*)
! 12609: # The more standards-conforming stlport4 library is
! 12610: # incompatible with the Cstd library. Avoid specifying
! 12611: # it if it's in CXXFLAGS. Ignore libCrun as
! 12612: # -library=stlport4 depends on it.
! 12613: case " $CXX $CXXFLAGS " in
! 12614: *" -library=stlport4 "*)
! 12615: solaris_use_stlport4=yes
! 12616: ;;
! 12617: esac
! 12618:
! 12619: # Adding this requires a known-good setup of shared libraries for
! 12620: # Sun compiler versions before 5.6, else PIC objects from an old
! 12621: # archive will be linked into the output, leading to subtle bugs.
! 12622: if test "$solaris_use_stlport4" != yes; then
! 12623: postdeps_CXX='-library=Cstd -library=Crun'
! 12624: fi
! 12625: ;;
! 12626: esac
! 12627: ;;
! 12628: esac
! 12629:
! 12630: case " $postdeps_CXX " in
! 12631: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 12632: esac
! 12633:
! 12634: lt_prog_compiler_wl_CXX=
! 12635: lt_prog_compiler_pic_CXX=
! 12636: lt_prog_compiler_static_CXX=
! 12637:
! 12638: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 12639: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 12640:
! 12641: # C++ specific cases for pic, static, wl, etc.
! 12642: if test "$GXX" = yes; then
! 12643: lt_prog_compiler_wl_CXX='-Wl,'
! 12644: lt_prog_compiler_static_CXX='-static'
! 12645:
! 12646: case $host_os in
! 12647: aix*)
! 12648: # All AIX code is PIC.
! 12649: if test "$host_cpu" = ia64; then
! 12650: # AIX 5 now supports IA64 processor
! 12651: lt_prog_compiler_static_CXX='-Bstatic'
! 12652: fi
! 12653: ;;
! 12654: amigaos*)
! 12655: # FIXME: we need at least 68020 code to build shared libraries, but
! 12656: # adding the `-m68020' flag to GCC prevents building anything better,
! 12657: # like `-m68040'.
! 12658: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 12659: ;;
! 12660: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 12661: # PIC is the default for these OSes.
! 12662: ;;
! 12663: mingw* | cygwin* | os2* | pw32*)
! 12664: # This hack is so that the source file can tell whether it is being
! 12665: # built for inclusion in a dll (and should export symbols for example).
! 12666: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 12667: # (--disable-auto-import) libraries
! 12668: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 12669: ;;
! 12670: darwin* | rhapsody*)
! 12671: # PIC is the default on this platform
! 12672: # Common symbols not allowed in MH_DYLIB files
! 12673: lt_prog_compiler_pic_CXX='-fno-common'
! 12674: ;;
! 12675: *djgpp*)
! 12676: # DJGPP does not support shared libraries at all
! 12677: lt_prog_compiler_pic_CXX=
! 12678: ;;
! 12679: interix[3-9]*)
! 12680: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 12681: # Instead, we relocate shared libraries at runtime.
! 12682: ;;
! 12683: sysv4*MP*)
! 12684: if test -d /usr/nec; then
! 12685: lt_prog_compiler_pic_CXX=-Kconform_pic
! 12686: fi
! 12687: ;;
! 12688: hpux*)
! 12689: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 12690: # not for PA HP-UX.
! 12691: case $host_cpu in
! 12692: hppa*64*|ia64*)
! 12693: ;;
! 12694: *)
! 12695: lt_prog_compiler_pic_CXX='-fPIC'
! 12696: ;;
! 12697: esac
! 12698: ;;
! 12699: *)
! 12700: lt_prog_compiler_pic_CXX='-fPIC'
! 12701: ;;
! 12702: esac
! 12703: else
! 12704: case $host_os in
! 12705: aix[4-9]*)
! 12706: # All AIX code is PIC.
! 12707: if test "$host_cpu" = ia64; then
! 12708: # AIX 5 now supports IA64 processor
! 12709: lt_prog_compiler_static_CXX='-Bstatic'
! 12710: else
! 12711: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 12712: fi
! 12713: ;;
! 12714: chorus*)
! 12715: case $cc_basename in
! 12716: cxch68*)
! 12717: # Green Hills C++ Compiler
! 12718: # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
! 12719: ;;
! 12720: esac
! 12721: ;;
! 12722: darwin*)
! 12723: # PIC is the default on this platform
! 12724: # Common symbols not allowed in MH_DYLIB files
! 12725: case $cc_basename in
! 12726: xlc*)
! 12727: lt_prog_compiler_pic_CXX='-qnocommon'
! 12728: lt_prog_compiler_wl_CXX='-Wl,'
! 12729: ;;
! 12730: esac
! 12731: ;;
! 12732: dgux*)
! 12733: case $cc_basename in
! 12734: ec++*)
! 12735: lt_prog_compiler_pic_CXX='-KPIC'
! 12736: ;;
! 12737: ghcx*)
! 12738: # Green Hills C++ Compiler
! 12739: lt_prog_compiler_pic_CXX='-pic'
! 12740: ;;
! 12741: *)
! 12742: ;;
! 12743: esac
! 12744: ;;
! 12745: freebsd* | dragonfly*)
! 12746: # FreeBSD uses GNU C++
! 12747: ;;
! 12748: hpux9* | hpux10* | hpux11*)
! 12749: case $cc_basename in
! 12750: CC*)
! 12751: lt_prog_compiler_wl_CXX='-Wl,'
! 12752: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 12753: if test "$host_cpu" != ia64; then
! 12754: lt_prog_compiler_pic_CXX='+Z'
! 12755: fi
! 12756: ;;
! 12757: aCC*)
! 12758: lt_prog_compiler_wl_CXX='-Wl,'
! 12759: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 12760: case $host_cpu in
! 12761: hppa*64*|ia64*)
! 12762: # +Z the default
! 12763: ;;
! 12764: *)
! 12765: lt_prog_compiler_pic_CXX='+Z'
! 12766: ;;
! 12767: esac
! 12768: ;;
! 12769: *)
! 12770: ;;
! 12771: esac
! 12772: ;;
! 12773: interix*)
! 12774: # This is c89, which is MS Visual C++ (no shared libs)
! 12775: # Anyone wants to do a port?
! 12776: ;;
! 12777: irix5* | irix6* | nonstopux*)
! 12778: case $cc_basename in
! 12779: CC*)
! 12780: lt_prog_compiler_wl_CXX='-Wl,'
! 12781: lt_prog_compiler_static_CXX='-non_shared'
! 12782: # CC pic flag -KPIC is the default.
! 12783: ;;
! 12784: *)
! 12785: ;;
! 12786: esac
! 12787: ;;
! 12788: linux* | k*bsd*-gnu)
! 12789: case $cc_basename in
! 12790: KCC*)
! 12791: # KAI C++ Compiler
! 12792: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 12793: lt_prog_compiler_pic_CXX='-fPIC'
! 12794: ;;
! 12795: icpc* | ecpc*)
! 12796: # Intel C++
! 12797: lt_prog_compiler_wl_CXX='-Wl,'
! 12798: lt_prog_compiler_pic_CXX='-KPIC'
! 12799: lt_prog_compiler_static_CXX='-static'
! 12800: ;;
! 12801: pgCC* | pgcpp*)
! 12802: # Portland Group C++ compiler.
! 12803: lt_prog_compiler_wl_CXX='-Wl,'
! 12804: lt_prog_compiler_pic_CXX='-fpic'
! 12805: lt_prog_compiler_static_CXX='-Bstatic'
! 12806: ;;
! 12807: cxx*)
! 12808: # Compaq C++
! 12809: # Make sure the PIC flag is empty. It appears that all Alpha
! 12810: # Linux and Compaq Tru64 Unix objects are PIC.
! 12811: lt_prog_compiler_pic_CXX=
! 12812: lt_prog_compiler_static_CXX='-non_shared'
! 12813: ;;
! 12814: *)
! 12815: case `$CC -V 2>&1 | sed 5q` in
! 12816: *Sun\ C*)
! 12817: # Sun C++ 5.9
! 12818: lt_prog_compiler_pic_CXX='-KPIC'
! 12819: lt_prog_compiler_static_CXX='-Bstatic'
! 12820: lt_prog_compiler_wl_CXX='-Qoption ld '
! 12821: ;;
! 12822: esac
! 12823: ;;
! 12824: esac
! 12825: ;;
! 12826: lynxos*)
! 12827: ;;
! 12828: m88k*)
! 12829: ;;
! 12830: mvs*)
! 12831: case $cc_basename in
! 12832: cxx*)
! 12833: lt_prog_compiler_pic_CXX='-W c,exportall'
! 12834: ;;
! 12835: *)
! 12836: ;;
! 12837: esac
! 12838: ;;
! 12839: netbsd*)
! 12840: ;;
! 12841: osf3* | osf4* | osf5*)
! 12842: case $cc_basename in
! 12843: KCC*)
! 12844: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 12845: ;;
! 12846: RCC*)
! 12847: # Rational C++ 2.4.1
! 12848: lt_prog_compiler_pic_CXX='-pic'
! 12849: ;;
! 12850: cxx*)
! 12851: # Digital/Compaq C++
! 12852: lt_prog_compiler_wl_CXX='-Wl,'
! 12853: # Make sure the PIC flag is empty. It appears that all Alpha
! 12854: # Linux and Compaq Tru64 Unix objects are PIC.
! 12855: lt_prog_compiler_pic_CXX=
! 12856: lt_prog_compiler_static_CXX='-non_shared'
! 12857: ;;
! 12858: *)
! 12859: ;;
! 12860: esac
! 12861: ;;
! 12862: psos*)
! 12863: ;;
! 12864: solaris*)
! 12865: case $cc_basename in
! 12866: CC*)
! 12867: # Sun C++ 4.2, 5.x and Centerline C++
! 12868: lt_prog_compiler_pic_CXX='-KPIC'
! 12869: lt_prog_compiler_static_CXX='-Bstatic'
! 12870: lt_prog_compiler_wl_CXX='-Qoption ld '
! 12871: ;;
! 12872: gcx*)
! 12873: # Green Hills C++ Compiler
! 12874: lt_prog_compiler_pic_CXX='-PIC'
! 12875: ;;
! 12876: *)
! 12877: ;;
! 12878: esac
! 12879: ;;
! 12880: sunos4*)
! 12881: case $cc_basename in
! 12882: CC*)
! 12883: # Sun C++ 4.x
! 12884: lt_prog_compiler_pic_CXX='-pic'
! 12885: lt_prog_compiler_static_CXX='-Bstatic'
! 12886: ;;
! 12887: lcc*)
! 12888: # Lucid
! 12889: lt_prog_compiler_pic_CXX='-pic'
! 12890: ;;
! 12891: *)
! 12892: ;;
! 12893: esac
! 12894: ;;
! 12895: tandem*)
! 12896: case $cc_basename in
! 12897: NCC*)
! 12898: # NonStop-UX NCC 3.20
! 12899: lt_prog_compiler_pic_CXX='-KPIC'
! 12900: ;;
! 12901: *)
! 12902: ;;
! 12903: esac
! 12904: ;;
! 12905: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 12906: case $cc_basename in
! 12907: CC*)
! 12908: lt_prog_compiler_wl_CXX='-Wl,'
! 12909: lt_prog_compiler_pic_CXX='-KPIC'
! 12910: lt_prog_compiler_static_CXX='-Bstatic'
! 12911: ;;
! 12912: esac
! 12913: ;;
! 12914: vxworks*)
! 12915: ;;
! 12916: *)
! 12917: lt_prog_compiler_can_build_shared_CXX=no
! 12918: ;;
! 12919: esac
! 12920: fi
! 12921:
! 12922: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
! 12923: $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
! 12924:
! 12925: #
! 12926: # Check to make sure the PIC flag actually works.
! 12927: #
! 12928: if test -n "$lt_prog_compiler_pic_CXX"; then
! 12929:
! 12930: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 12931: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
! 12932: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
! 12933: $as_echo_n "(cached) " >&6
! 12934: else
! 12935: lt_cv_prog_compiler_pic_works_CXX=no
! 12936: ac_outfile=conftest.$ac_objext
! 12937: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 12938: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 12939: # Insert the option either (1) after the last *FLAGS variable, or
! 12940: # (2) before a word containing "conftest.", or (3) at the end.
! 12941: # Note that $ac_compile itself does not contain backslashes and begins
! 12942: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 12943: # The option is referenced via a variable to avoid confusing sed.
! 12944: lt_compile=`echo "$ac_compile" | $SED \
! 12945: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 12946: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 12947: -e 's:$: $lt_compiler_flag:'`
! 12948: (eval echo "\"\$as_me:12948: $lt_compile\"" >&5)
! 12949: (eval "$lt_compile" 2>conftest.err)
! 12950: ac_status=$?
! 12951: cat conftest.err >&5
! 12952: echo "$as_me:12952: \$? = $ac_status" >&5
! 12953: if (exit $ac_status) && test -s "$ac_outfile"; then
! 12954: # The compiler can only warn and ignore the option if not recognized
! 12955: # So say no if there are warnings other than the usual output.
! 12956: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 12957: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 12958: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 12959: lt_cv_prog_compiler_pic_works_CXX=yes
! 12960: fi
! 12961: fi
! 12962: $rm conftest*
! 12963:
! 12964: fi
! 12965: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! 12966: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
! 12967:
! 12968: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
! 12969: case $lt_prog_compiler_pic_CXX in
! 12970: "" | " "*) ;;
! 12971: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 12972: esac
! 12973: else
! 12974: lt_prog_compiler_pic_CXX=
! 12975: lt_prog_compiler_can_build_shared_CXX=no
! 12976: fi
! 12977:
! 12978: fi
! 12979: case $host_os in
! 12980: # For platforms which do not support PIC, -DPIC is meaningless:
! 12981: *djgpp*)
! 12982: lt_prog_compiler_pic_CXX=
! 12983: ;;
! 12984: *)
! 12985: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 12986: ;;
! 12987: esac
! 12988:
! 12989: #
! 12990: # Check to make sure the static flag actually works.
! 12991: #
! 12992: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 12993: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 12994: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 12995: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
! 12996: $as_echo_n "(cached) " >&6
! 12997: else
! 12998: lt_cv_prog_compiler_static_works_CXX=no
! 12999: save_LDFLAGS="$LDFLAGS"
! 13000: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 13001: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 13002: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 13003: # The linker can only warn and ignore the option if not recognized
! 13004: # So say no if there are warnings
! 13005: if test -s conftest.err; then
! 13006: # Append any errors to the config.log.
! 13007: cat conftest.err 1>&5
! 13008: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 13009: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13010: if diff conftest.exp conftest.er2 >/dev/null; then
! 13011: lt_cv_prog_compiler_static_works_CXX=yes
! 13012: fi
! 13013: else
! 13014: lt_cv_prog_compiler_static_works_CXX=yes
! 13015: fi
! 13016: fi
! 13017: $rm -r conftest*
! 13018: LDFLAGS="$save_LDFLAGS"
! 13019:
! 13020: fi
! 13021: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! 13022: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
! 13023:
! 13024: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
! 13025: :
! 13026: else
! 13027: lt_prog_compiler_static_CXX=
! 13028: fi
! 13029:
! 13030:
! 13031: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 13032: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 13033: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 13034: $as_echo_n "(cached) " >&6
! 13035: else
! 13036: lt_cv_prog_compiler_c_o_CXX=no
! 13037: $rm -r conftest 2>/dev/null
! 13038: mkdir conftest
! 13039: cd conftest
! 13040: mkdir out
! 13041: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13042:
! 13043: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 13044: # Insert the option either (1) after the last *FLAGS variable, or
! 13045: # (2) before a word containing "conftest.", or (3) at the end.
! 13046: # Note that $ac_compile itself does not contain backslashes and begins
! 13047: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13048: lt_compile=`echo "$ac_compile" | $SED \
! 13049: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13050: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13051: -e 's:$: $lt_compiler_flag:'`
! 13052: (eval echo "\"\$as_me:13052: $lt_compile\"" >&5)
! 13053: (eval "$lt_compile" 2>out/conftest.err)
! 13054: ac_status=$?
! 13055: cat out/conftest.err >&5
! 13056: echo "$as_me:13056: \$? = $ac_status" >&5
! 13057: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 13058: then
! 13059: # The compiler can only warn and ignore the option if not recognized
! 13060: # So say no if there are warnings
! 13061: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 13062: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 13063: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 13064: lt_cv_prog_compiler_c_o_CXX=yes
! 13065: fi
! 13066: fi
! 13067: chmod u+w . 2>&5
! 13068: $rm conftest*
! 13069: # SGI C++ compiler will create directory out/ii_files/ for
! 13070: # template instantiation
! 13071: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 13072: $rm out/* && rmdir out
! 13073: cd ..
! 13074: rmdir conftest
! 13075: $rm conftest*
! 13076:
! 13077: fi
! 13078: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 13079: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
! 13080:
! 13081:
! 13082: hard_links="nottested"
! 13083: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 13084: # do not overwrite the value of need_locks provided by the user
! 13085: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 13086: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 13087: hard_links=yes
! 13088: $rm conftest*
! 13089: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13090: touch conftest.a
! 13091: ln conftest.a conftest.b 2>&5 || hard_links=no
! 13092: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13093: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 13094: $as_echo "$hard_links" >&6; }
! 13095: if test "$hard_links" = no; then
! 13096: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 13097: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 13098: need_locks=warn
! 13099: fi
! 13100: else
! 13101: need_locks=no
! 13102: fi
! 13103:
! 13104: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 13105: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 13106:
! 13107: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13108: case $host_os in
! 13109: aix[4-9]*)
! 13110: # If we're using GNU nm, then we don't want the "-C" option.
! 13111: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 13112: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 13113: export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 13114: else
! 13115: export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 13116: fi
! 13117: ;;
! 13118: pw32*)
! 13119: export_symbols_cmds_CXX="$ltdll_cmds"
! 13120: ;;
! 13121: cygwin* | mingw*)
! 13122: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 13123: ;;
! 13124: *)
! 13125: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13126: ;;
! 13127: esac
! 13128: exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 13129:
! 13130: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13131: $as_echo "$ld_shlibs_CXX" >&6; }
! 13132: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13133:
! 13134: #
! 13135: # Do we need to explicitly link libc?
! 13136: #
! 13137: case "x$archive_cmds_need_lc_CXX" in
! 13138: x|xyes)
! 13139: # Assume -lc should be added
! 13140: archive_cmds_need_lc_CXX=yes
! 13141:
! 13142: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 13143: case $archive_cmds_CXX in
! 13144: *'~'*)
! 13145: # FIXME: we may have to deal with multi-command sequences.
! 13146: ;;
! 13147: '$CC '*)
! 13148: # Test whether the compiler implicitly links with -lc since on some
! 13149: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 13150: # to ld, don't add -lc before -lgcc.
! 13151: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 13152: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 13153: $rm conftest*
! 13154: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13155:
! 13156: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13157: (eval $ac_compile) 2>&5
! 13158: ac_status=$?
! 13159: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13160: (exit $ac_status); } 2>conftest.err; then
! 13161: soname=conftest
! 13162: lib=conftest
! 13163: libobjs=conftest.$ac_objext
! 13164: deplibs=
! 13165: wl=$lt_prog_compiler_wl_CXX
! 13166: pic_flag=$lt_prog_compiler_pic_CXX
! 13167: compiler_flags=-v
! 13168: linker_flags=-v
! 13169: verstring=
! 13170: output_objdir=.
! 13171: libname=conftest
! 13172: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 13173: allow_undefined_flag_CXX=
! 13174: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 13175: (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 13176: ac_status=$?
! 13177: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13178: (exit $ac_status); }
! 13179: then
! 13180: archive_cmds_need_lc_CXX=no
! 13181: else
! 13182: archive_cmds_need_lc_CXX=yes
! 13183: fi
! 13184: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 13185: else
! 13186: cat conftest.err 1>&5
! 13187: fi
! 13188: $rm conftest*
! 13189: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
! 13190: $as_echo "$archive_cmds_need_lc_CXX" >&6; }
! 13191: ;;
! 13192: esac
! 13193: fi
! 13194: ;;
! 13195: esac
! 13196:
! 13197: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 13198: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 13199: library_names_spec=
! 13200: libname_spec='lib$name'
! 13201: soname_spec=
! 13202: shrext_cmds=".so"
! 13203: postinstall_cmds=
! 13204: postuninstall_cmds=
! 13205: finish_cmds=
! 13206: finish_eval=
! 13207: shlibpath_var=
! 13208: shlibpath_overrides_runpath=unknown
! 13209: version_type=none
! 13210: dynamic_linker="$host_os ld.so"
! 13211: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 13212:
! 13213: need_lib_prefix=unknown
! 13214: hardcode_into_libs=no
! 13215:
! 13216: # when you set need_version to no, make sure it does not cause -set_version
! 13217: # flags to be left without arguments
! 13218: need_version=unknown
! 13219:
! 13220: case $host_os in
! 13221: aix3*)
! 13222: version_type=linux
! 13223: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 13224: shlibpath_var=LIBPATH
! 13225:
! 13226: # AIX 3 has no versioning support, so we append a major version to the name.
! 13227: soname_spec='${libname}${release}${shared_ext}$major'
! 13228: ;;
! 13229:
! 13230: aix[4-9]*)
! 13231: version_type=linux
! 13232: need_lib_prefix=no
! 13233: need_version=no
! 13234: hardcode_into_libs=yes
! 13235: if test "$host_cpu" = ia64; then
! 13236: # AIX 5 supports IA64
! 13237: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 13238: shlibpath_var=LD_LIBRARY_PATH
! 13239: else
! 13240: # With GCC up to 2.95.x, collect2 would create an import file
! 13241: # for dependence libraries. The import file would start with
! 13242: # the line `#! .'. This would cause the generated library to
! 13243: # depend on `.', always an invalid library. This was fixed in
! 13244: # development snapshots of GCC prior to 3.0.
! 13245: case $host_os in
! 13246: aix4 | aix4.[01] | aix4.[01].*)
! 13247: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 13248: echo ' yes '
! 13249: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 13250: :
! 13251: else
! 13252: can_build_shared=no
! 13253: fi
! 13254: ;;
! 13255: esac
! 13256: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 13257: # soname into executable. Probably we can add versioning support to
! 13258: # collect2, so additional links can be useful in future.
! 13259: if test "$aix_use_runtimelinking" = yes; then
! 13260: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 13261: # instead of lib<name>.a to let people know that these are not
! 13262: # typical AIX shared libraries.
! 13263: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13264: else
! 13265: # We preserve .a as extension for shared libraries through AIX4.2
! 13266: # and later when we are not doing run time linking.
! 13267: library_names_spec='${libname}${release}.a $libname.a'
! 13268: soname_spec='${libname}${release}${shared_ext}$major'
! 13269: fi
! 13270: shlibpath_var=LIBPATH
! 13271: fi
! 13272: ;;
! 13273:
! 13274: amigaos*)
! 13275: library_names_spec='$libname.ixlibrary $libname.a'
! 13276: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 13277: 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'
! 13278: ;;
! 13279:
! 13280: beos*)
! 13281: library_names_spec='${libname}${shared_ext}'
! 13282: dynamic_linker="$host_os ld.so"
! 13283: shlibpath_var=LIBRARY_PATH
! 13284: ;;
! 13285:
! 13286: bsdi[45]*)
! 13287: version_type=linux
! 13288: need_version=no
! 13289: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13290: soname_spec='${libname}${release}${shared_ext}$major'
! 13291: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 13292: shlibpath_var=LD_LIBRARY_PATH
! 13293: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 13294: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 13295: # the default ld.so.conf also contains /usr/contrib/lib and
! 13296: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 13297: # libtool to hard-code these into programs
! 13298: ;;
! 13299:
! 13300: cygwin* | mingw* | pw32*)
! 13301: version_type=windows
! 13302: shrext_cmds=".dll"
! 13303: need_version=no
! 13304: need_lib_prefix=no
! 13305:
! 13306: case $GCC,$host_os in
! 13307: yes,cygwin* | yes,mingw* | yes,pw32*)
! 13308: library_names_spec='$libname.dll.a'
! 13309: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 13310: postinstall_cmds='base_file=`basename \${file}`~
! 13311: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 13312: dldir=$destdir/`dirname \$dlpath`~
! 13313: test -d \$dldir || mkdir -p \$dldir~
! 13314: $install_prog $dir/$dlname \$dldir/$dlname~
! 13315: chmod a+x \$dldir/$dlname'
! 13316: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 13317: dlpath=$dir/\$dldll~
! 13318: $rm \$dlpath'
! 13319: shlibpath_overrides_runpath=yes
! 13320:
! 13321: case $host_os in
! 13322: cygwin*)
! 13323: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 13324: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13325: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 13326: ;;
! 13327: mingw*)
! 13328: # MinGW DLLs use traditional 'lib' prefix
! 13329: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13330: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 13331: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 13332: # It is most probably a Windows format PATH printed by
! 13333: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 13334: # path with ; separators, and with drive letters. We can handle the
! 13335: # drive letters (cygwin fileutils understands them), so leave them,
! 13336: # especially as we might pass files found there to a mingw objdump,
! 13337: # which wouldn't understand a cygwinified path. Ahh.
! 13338: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 13339: else
! 13340: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 13341: fi
! 13342: ;;
! 13343: pw32*)
! 13344: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 13345: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13346: ;;
! 13347: esac
! 13348: ;;
! 13349:
! 13350: *)
! 13351: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 13352: ;;
! 13353: esac
! 13354: dynamic_linker='Win32 ld.exe'
! 13355: # FIXME: first we should search . and the directory the executable is in
! 13356: shlibpath_var=PATH
! 13357: ;;
! 13358:
! 13359: darwin* | rhapsody*)
! 13360: dynamic_linker="$host_os dyld"
! 13361: version_type=darwin
! 13362: need_lib_prefix=no
! 13363: need_version=no
! 13364: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 13365: soname_spec='${libname}${release}${major}$shared_ext'
! 13366: shlibpath_overrides_runpath=yes
! 13367: shlibpath_var=DYLD_LIBRARY_PATH
! 13368: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 13369:
! 13370: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 13371: ;;
! 13372:
! 13373: dgux*)
! 13374: version_type=linux
! 13375: need_lib_prefix=no
! 13376: need_version=no
! 13377: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 13378: soname_spec='${libname}${release}${shared_ext}$major'
! 13379: shlibpath_var=LD_LIBRARY_PATH
! 13380: ;;
! 13381:
! 13382: freebsd1*)
! 13383: dynamic_linker=no
! 13384: ;;
! 13385:
! 13386: freebsd* | dragonfly*)
! 13387: # DragonFly does not have aout. When/if they implement a new
! 13388: # versioning mechanism, adjust this.
! 13389: if test -x /usr/bin/objformat; then
! 13390: objformat=`/usr/bin/objformat`
! 13391: else
! 13392: case $host_os in
! 13393: freebsd[123]*) objformat=aout ;;
! 13394: *) objformat=elf ;;
! 13395: esac
! 13396: fi
! 13397: # Handle Gentoo/FreeBSD as it was Linux
! 13398: case $host_vendor in
! 13399: gentoo)
! 13400: version_type=linux ;;
! 13401: *)
! 13402: version_type=freebsd-$objformat ;;
! 13403: esac
! 13404:
! 13405: case $version_type in
! 13406: freebsd-elf*)
! 13407: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13408: need_version=no
! 13409: need_lib_prefix=no
! 13410: ;;
! 13411: freebsd-*)
! 13412: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 13413: need_version=yes
! 13414: ;;
! 13415: linux)
! 13416: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13417: soname_spec='${libname}${release}${shared_ext}$major'
! 13418: need_lib_prefix=no
! 13419: need_version=no
! 13420: ;;
! 13421: esac
! 13422: shlibpath_var=LD_LIBRARY_PATH
! 13423: case $host_os in
! 13424: freebsd2*)
! 13425: shlibpath_overrides_runpath=yes
! 13426: ;;
! 13427: freebsd3.[01]* | freebsdelf3.[01]*)
! 13428: shlibpath_overrides_runpath=yes
! 13429: hardcode_into_libs=yes
! 13430: ;;
! 13431: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 13432: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 13433: shlibpath_overrides_runpath=no
! 13434: hardcode_into_libs=yes
! 13435: ;;
! 13436: *) # from 4.6 on, and DragonFly
! 13437: shlibpath_overrides_runpath=yes
! 13438: hardcode_into_libs=yes
! 13439: ;;
! 13440: esac
! 13441: ;;
! 13442:
! 13443: gnu*)
! 13444: version_type=linux
! 13445: need_lib_prefix=no
! 13446: need_version=no
! 13447: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 13448: soname_spec='${libname}${release}${shared_ext}$major'
! 13449: shlibpath_var=LD_LIBRARY_PATH
! 13450: hardcode_into_libs=yes
! 13451: ;;
! 13452:
! 13453: hpux9* | hpux10* | hpux11*)
! 13454: # Give a soname corresponding to the major version so that dld.sl refuses to
! 13455: # link against other versions.
! 13456: version_type=sunos
! 13457: need_lib_prefix=no
! 13458: need_version=no
! 13459: case $host_cpu in
! 13460: ia64*)
! 13461: shrext_cmds='.so'
! 13462: hardcode_into_libs=yes
! 13463: dynamic_linker="$host_os dld.so"
! 13464: shlibpath_var=LD_LIBRARY_PATH
! 13465: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 13466: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13467: soname_spec='${libname}${release}${shared_ext}$major'
! 13468: if test "X$HPUX_IA64_MODE" = X32; then
! 13469: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 13470: else
! 13471: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 13472: fi
! 13473: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 13474: ;;
! 13475: hppa*64*)
! 13476: shrext_cmds='.sl'
! 13477: hardcode_into_libs=yes
! 13478: dynamic_linker="$host_os dld.sl"
! 13479: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 13480: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 13481: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13482: soname_spec='${libname}${release}${shared_ext}$major'
! 13483: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 13484: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 13485: ;;
! 13486: *)
! 13487: shrext_cmds='.sl'
! 13488: dynamic_linker="$host_os dld.sl"
! 13489: shlibpath_var=SHLIB_PATH
! 13490: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 13491: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13492: soname_spec='${libname}${release}${shared_ext}$major'
! 13493: ;;
! 13494: esac
! 13495: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 13496: postinstall_cmds='chmod 555 $lib'
! 13497: ;;
! 13498:
! 13499: interix[3-9]*)
! 13500: version_type=linux
! 13501: need_lib_prefix=no
! 13502: need_version=no
! 13503: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13504: soname_spec='${libname}${release}${shared_ext}$major'
! 13505: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 13506: shlibpath_var=LD_LIBRARY_PATH
! 13507: shlibpath_overrides_runpath=no
! 13508: hardcode_into_libs=yes
! 13509: ;;
! 13510:
! 13511: irix5* | irix6* | nonstopux*)
! 13512: case $host_os in
! 13513: nonstopux*) version_type=nonstopux ;;
! 13514: *)
! 13515: if test "$lt_cv_prog_gnu_ld" = yes; then
! 13516: version_type=linux
! 13517: else
! 13518: version_type=irix
! 13519: fi ;;
! 13520: esac
! 13521: need_lib_prefix=no
! 13522: need_version=no
! 13523: soname_spec='${libname}${release}${shared_ext}$major'
! 13524: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13525: case $host_os in
! 13526: irix5* | nonstopux*)
! 13527: libsuff= shlibsuff=
! 13528: ;;
! 13529: *)
! 13530: case $LD in # libtool.m4 will add one of these switches to LD
! 13531: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 13532: libsuff= shlibsuff= libmagic=32-bit;;
! 13533: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 13534: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 13535: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 13536: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 13537: *) libsuff= shlibsuff= libmagic=never-match;;
! 13538: esac
! 13539: ;;
! 13540: esac
! 13541: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 13542: shlibpath_overrides_runpath=no
! 13543: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 13544: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 13545: hardcode_into_libs=yes
! 13546: ;;
! 13547:
! 13548: # No shared lib support for Linux oldld, aout, or coff.
! 13549: linux*oldld* | linux*aout* | linux*coff*)
! 13550: dynamic_linker=no
! 13551: ;;
! 13552:
! 13553: # This must be Linux ELF.
! 13554: linux* | k*bsd*-gnu)
! 13555: version_type=linux
! 13556: need_lib_prefix=no
! 13557: need_version=no
! 13558: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13559: soname_spec='${libname}${release}${shared_ext}$major'
! 13560: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 13561: shlibpath_var=LD_LIBRARY_PATH
! 13562: shlibpath_overrides_runpath=no
! 13563: # This implies no fast_install, which is unacceptable.
! 13564: # Some rework will be needed to allow for fast_install
! 13565: # before this can be enabled.
! 13566: hardcode_into_libs=yes
! 13567:
! 13568: # Append ld.so.conf contents to the search path
! 13569: if test -f /etc/ld.so.conf; then
! 13570: 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' ' '`
! 13571: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 13572: fi
! 13573:
! 13574: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 13575: # powerpc, because MkLinux only supported shared libraries with the
! 13576: # GNU dynamic linker. Since this was broken with cross compilers,
! 13577: # most powerpc-linux boxes support dynamic linking these days and
! 13578: # people can always --disable-shared, the test was removed, and we
! 13579: # assume the GNU/Linux dynamic linker is in use.
! 13580: dynamic_linker='GNU/Linux ld.so'
! 13581: ;;
! 13582:
! 13583: netbsd*)
! 13584: version_type=sunos
! 13585: need_lib_prefix=no
! 13586: need_version=no
! 13587: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 13588: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13589: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 13590: dynamic_linker='NetBSD (a.out) ld.so'
! 13591: else
! 13592: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13593: soname_spec='${libname}${release}${shared_ext}$major'
! 13594: dynamic_linker='NetBSD ld.elf_so'
! 13595: fi
! 13596: shlibpath_var=LD_LIBRARY_PATH
! 13597: shlibpath_overrides_runpath=yes
! 13598: hardcode_into_libs=yes
! 13599: ;;
! 13600:
! 13601: newsos6)
! 13602: version_type=linux
! 13603: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13604: shlibpath_var=LD_LIBRARY_PATH
! 13605: shlibpath_overrides_runpath=yes
! 13606: ;;
! 13607:
! 13608: nto-qnx*)
! 13609: version_type=linux
! 13610: need_lib_prefix=no
! 13611: need_version=no
! 13612: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13613: soname_spec='${libname}${release}${shared_ext}$major'
! 13614: shlibpath_var=LD_LIBRARY_PATH
! 13615: shlibpath_overrides_runpath=yes
! 13616: ;;
! 13617:
! 13618: openbsd*)
! 13619: version_type=sunos
! 13620: sys_lib_dlsearch_path_spec="/usr/lib"
! 13621: need_lib_prefix=no
! 13622: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 13623: case $host_os in
! 13624: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 13625: *) need_version=no ;;
! 13626: esac
! 13627: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13628: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 13629: shlibpath_var=LD_LIBRARY_PATH
! 13630: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 13631: case $host_os in
! 13632: openbsd2.[89] | openbsd2.[89].*)
! 13633: shlibpath_overrides_runpath=no
! 13634: ;;
! 13635: *)
! 13636: shlibpath_overrides_runpath=yes
! 13637: ;;
! 13638: esac
! 13639: else
! 13640: shlibpath_overrides_runpath=yes
! 13641: fi
! 13642: ;;
! 13643:
! 13644: os2*)
! 13645: libname_spec='$name'
! 13646: shrext_cmds=".dll"
! 13647: need_lib_prefix=no
! 13648: library_names_spec='$libname${shared_ext} $libname.a'
! 13649: dynamic_linker='OS/2 ld.exe'
! 13650: shlibpath_var=LIBPATH
! 13651: ;;
! 13652:
! 13653: osf3* | osf4* | osf5*)
! 13654: version_type=osf
! 13655: need_lib_prefix=no
! 13656: need_version=no
! 13657: soname_spec='${libname}${release}${shared_ext}$major'
! 13658: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13659: shlibpath_var=LD_LIBRARY_PATH
! 13660: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 13661: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 13662: ;;
! 13663:
! 13664: rdos*)
! 13665: dynamic_linker=no
! 13666: ;;
! 13667:
! 13668: solaris*)
! 13669: version_type=linux
! 13670: need_lib_prefix=no
! 13671: need_version=no
! 13672: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13673: soname_spec='${libname}${release}${shared_ext}$major'
! 13674: shlibpath_var=LD_LIBRARY_PATH
! 13675: shlibpath_overrides_runpath=yes
! 13676: hardcode_into_libs=yes
! 13677: # ldd complains unless libraries are executable
! 13678: postinstall_cmds='chmod +x $lib'
! 13679: ;;
! 13680:
! 13681: sunos4*)
! 13682: version_type=sunos
! 13683: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13684: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 13685: shlibpath_var=LD_LIBRARY_PATH
! 13686: shlibpath_overrides_runpath=yes
! 13687: if test "$with_gnu_ld" = yes; then
! 13688: need_lib_prefix=no
! 13689: fi
! 13690: need_version=yes
! 13691: ;;
! 13692:
! 13693: sysv4 | sysv4.3*)
! 13694: version_type=linux
! 13695: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13696: soname_spec='${libname}${release}${shared_ext}$major'
! 13697: shlibpath_var=LD_LIBRARY_PATH
! 13698: case $host_vendor in
! 13699: sni)
! 13700: shlibpath_overrides_runpath=no
! 13701: need_lib_prefix=no
! 13702: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 13703: runpath_var=LD_RUN_PATH
! 13704: ;;
! 13705: siemens)
! 13706: need_lib_prefix=no
! 13707: ;;
! 13708: motorola)
! 13709: need_lib_prefix=no
! 13710: need_version=no
! 13711: shlibpath_overrides_runpath=no
! 13712: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 13713: ;;
! 13714: esac
! 13715: ;;
! 13716:
! 13717: sysv4*MP*)
! 13718: if test -d /usr/nec ;then
! 13719: version_type=linux
! 13720: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 13721: soname_spec='$libname${shared_ext}.$major'
! 13722: shlibpath_var=LD_LIBRARY_PATH
! 13723: fi
! 13724: ;;
! 13725:
! 13726: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 13727: version_type=freebsd-elf
! 13728: need_lib_prefix=no
! 13729: need_version=no
! 13730: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13731: soname_spec='${libname}${release}${shared_ext}$major'
! 13732: shlibpath_var=LD_LIBRARY_PATH
! 13733: hardcode_into_libs=yes
! 13734: if test "$with_gnu_ld" = yes; then
! 13735: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 13736: shlibpath_overrides_runpath=no
! 13737: else
! 13738: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 13739: shlibpath_overrides_runpath=yes
! 13740: case $host_os in
! 13741: sco3.2v5*)
! 13742: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 13743: ;;
! 13744: esac
! 13745: fi
! 13746: sys_lib_dlsearch_path_spec='/usr/lib'
! 13747: ;;
! 13748:
! 13749: uts4*)
! 13750: version_type=linux
! 13751: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13752: soname_spec='${libname}${release}${shared_ext}$major'
! 13753: shlibpath_var=LD_LIBRARY_PATH
! 13754: ;;
! 13755:
! 13756: *)
! 13757: dynamic_linker=no
! 13758: ;;
! 13759: esac
! 13760: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 13761: $as_echo "$dynamic_linker" >&6; }
! 13762: test "$dynamic_linker" = no && can_build_shared=no
! 13763:
! 13764: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 13765: $as_echo_n "(cached) " >&6
! 13766: else
! 13767: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 13768: fi
! 13769:
! 13770: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 13771: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 13772: $as_echo_n "(cached) " >&6
! 13773: else
! 13774: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 13775: fi
! 13776:
! 13777: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 13778:
! 13779: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 13780: if test "$GCC" = yes; then
! 13781: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 13782: fi
! 13783:
! 13784: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 13785: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 13786: hardcode_action_CXX=
! 13787: if test -n "$hardcode_libdir_flag_spec_CXX" || \
! 13788: test -n "$runpath_var_CXX" || \
! 13789: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 13790:
! 13791: # We can hardcode non-existant directories.
! 13792: if test "$hardcode_direct_CXX" != no &&
! 13793: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 13794: # have to relink, otherwise we might link with an installed library
! 13795: # when we should be linking with a yet-to-be-installed one
! 13796: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 13797: test "$hardcode_minus_L_CXX" != no; then
! 13798: # Linking always hardcodes the temporary library directory.
! 13799: hardcode_action_CXX=relink
! 13800: else
! 13801: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 13802: hardcode_action_CXX=immediate
! 13803: fi
! 13804: else
! 13805: # We cannot hardcode anything, or else we can only hardcode existing
! 13806: # directories.
! 13807: hardcode_action_CXX=unsupported
! 13808: fi
! 13809: { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 13810: $as_echo "$hardcode_action_CXX" >&6; }
! 13811:
! 13812: if test "$hardcode_action_CXX" = relink; then
! 13813: # Fast installation is not supported
! 13814: enable_fast_install=no
! 13815: elif test "$shlibpath_overrides_runpath" = yes ||
! 13816: test "$enable_shared" = no; then
! 13817: # Fast installation is not necessary
! 13818: enable_fast_install=needless
! 13819: fi
! 13820:
! 13821:
! 13822: # The else clause should only fire when bootstrapping the
! 13823: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 13824: # with your package, and you will get complaints that there are
! 13825: # no rules to generate ltmain.sh.
! 13826: if test -f "$ltmain"; then
! 13827: # See if we are running on zsh, and set the options which allow our commands through
! 13828: # without removal of \ escapes.
! 13829: if test -n "${ZSH_VERSION+set}" ; then
! 13830: setopt NO_GLOB_SUBST
! 13831: fi
! 13832: # Now quote all the things that may contain metacharacters while being
! 13833: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 13834: # variables and quote the copies for generation of the libtool script.
! 13835: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 13836: SED SHELL STRIP \
! 13837: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 13838: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 13839: deplibs_check_method reload_flag reload_cmds need_locks \
! 13840: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 13841: lt_cv_sys_global_symbol_to_c_name_address \
! 13842: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 13843: old_postinstall_cmds old_postuninstall_cmds \
! 13844: compiler_CXX \
! 13845: CC_CXX \
! 13846: LD_CXX \
! 13847: lt_prog_compiler_wl_CXX \
! 13848: lt_prog_compiler_pic_CXX \
! 13849: lt_prog_compiler_static_CXX \
! 13850: lt_prog_compiler_no_builtin_flag_CXX \
! 13851: export_dynamic_flag_spec_CXX \
! 13852: thread_safe_flag_spec_CXX \
! 13853: whole_archive_flag_spec_CXX \
! 13854: enable_shared_with_static_runtimes_CXX \
! 13855: old_archive_cmds_CXX \
! 13856: old_archive_from_new_cmds_CXX \
! 13857: predep_objects_CXX \
! 13858: postdep_objects_CXX \
! 13859: predeps_CXX \
! 13860: postdeps_CXX \
! 13861: compiler_lib_search_path_CXX \
! 13862: compiler_lib_search_dirs_CXX \
! 13863: archive_cmds_CXX \
! 13864: archive_expsym_cmds_CXX \
! 13865: postinstall_cmds_CXX \
! 13866: postuninstall_cmds_CXX \
! 13867: old_archive_from_expsyms_cmds_CXX \
! 13868: allow_undefined_flag_CXX \
! 13869: no_undefined_flag_CXX \
! 13870: export_symbols_cmds_CXX \
! 13871: hardcode_libdir_flag_spec_CXX \
! 13872: hardcode_libdir_flag_spec_ld_CXX \
! 13873: hardcode_libdir_separator_CXX \
! 13874: hardcode_automatic_CXX \
! 13875: module_cmds_CXX \
! 13876: module_expsym_cmds_CXX \
! 13877: lt_cv_prog_compiler_c_o_CXX \
! 13878: fix_srcfile_path_CXX \
! 13879: exclude_expsyms_CXX \
! 13880: include_expsyms_CXX; do
! 13881:
! 13882: case $var in
! 13883: old_archive_cmds_CXX | \
! 13884: old_archive_from_new_cmds_CXX | \
! 13885: archive_cmds_CXX | \
! 13886: archive_expsym_cmds_CXX | \
! 13887: module_cmds_CXX | \
! 13888: module_expsym_cmds_CXX | \
! 13889: old_archive_from_expsyms_cmds_CXX | \
! 13890: export_symbols_cmds_CXX | \
! 13891: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 13892: postinstall_cmds | postuninstall_cmds | \
! 13893: old_postinstall_cmds | old_postuninstall_cmds | \
! 13894: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 13895: # Double-quote double-evaled strings.
! 13896: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 13897: ;;
! 13898: *)
! 13899: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 13900: ;;
! 13901: esac
! 13902: done
! 13903:
! 13904: case $lt_echo in
! 13905: *'\$0 --fallback-echo"')
! 13906: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 13907: ;;
! 13908: esac
! 13909:
! 13910: cfgfile="$ofile"
! 13911:
! 13912: cat <<__EOF__ >> "$cfgfile"
! 13913: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 13914:
! 13915: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 13916:
! 13917: # Shell to use when invoking shell scripts.
! 13918: SHELL=$lt_SHELL
! 13919:
! 13920: # Whether or not to build shared libraries.
! 13921: build_libtool_libs=$enable_shared
! 13922:
! 13923: # Whether or not to build static libraries.
! 13924: build_old_libs=$enable_static
! 13925:
! 13926: # Whether or not to add -lc for building shared libraries.
! 13927: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 13928:
! 13929: # Whether or not to disallow shared libs when runtime libs are static
! 13930: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 13931:
! 13932: # Whether or not to optimize for fast installation.
! 13933: fast_install=$enable_fast_install
! 13934:
! 13935: # The host system.
! 13936: host_alias=$host_alias
! 13937: host=$host
! 13938: host_os=$host_os
! 13939:
! 13940: # The build system.
! 13941: build_alias=$build_alias
! 13942: build=$build
! 13943: build_os=$build_os
! 13944:
! 13945: # An echo program that does not interpret backslashes.
! 13946: echo=$lt_echo
! 13947:
! 13948: # The archiver.
! 13949: AR=$lt_AR
! 13950: AR_FLAGS=$lt_AR_FLAGS
! 13951:
! 13952: # A C compiler.
! 13953: LTCC=$lt_LTCC
! 13954:
! 13955: # LTCC compiler flags.
! 13956: LTCFLAGS=$lt_LTCFLAGS
! 13957:
! 13958: # A language-specific compiler.
! 13959: CC=$lt_compiler_CXX
! 13960:
! 13961: # Is the compiler the GNU C compiler?
! 13962: with_gcc=$GCC_CXX
! 13963:
! 13964: # An ERE matcher.
! 13965: EGREP=$lt_EGREP
! 13966:
! 13967: # The linker used to build libraries.
! 13968: LD=$lt_LD_CXX
! 13969:
! 13970: # Whether we need hard or soft links.
! 13971: LN_S=$lt_LN_S
! 13972:
! 13973: # A BSD-compatible nm program.
! 13974: NM=$lt_NM
! 13975:
! 13976: # A symbol stripping program
! 13977: STRIP=$lt_STRIP
! 13978:
! 13979: # Used to examine libraries when file_magic_cmd begins "file"
! 13980: MAGIC_CMD=$MAGIC_CMD
! 13981:
! 13982: # Used on cygwin: DLL creation program.
! 13983: DLLTOOL="$DLLTOOL"
! 13984:
! 13985: # Used on cygwin: object dumper.
! 13986: OBJDUMP="$OBJDUMP"
! 13987:
! 13988: # Used on cygwin: assembler.
! 13989: AS="$AS"
! 13990:
! 13991: # The name of the directory that contains temporary libtool files.
! 13992: objdir=$objdir
! 13993:
! 13994: # How to create reloadable object files.
! 13995: reload_flag=$lt_reload_flag
! 13996: reload_cmds=$lt_reload_cmds
! 13997:
! 13998: # How to pass a linker flag through the compiler.
! 13999: wl=$lt_lt_prog_compiler_wl_CXX
! 14000:
! 14001: # Object file suffix (normally "o").
! 14002: objext="$ac_objext"
! 14003:
! 14004: # Old archive suffix (normally "a").
! 14005: libext="$libext"
! 14006:
! 14007: # Shared library suffix (normally ".so").
! 14008: shrext_cmds='$shrext_cmds'
! 14009:
! 14010: # Executable file suffix (normally "").
! 14011: exeext="$exeext"
! 14012:
! 14013: # Additional compiler flags for building library objects.
! 14014: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 14015: pic_mode=$pic_mode
! 14016:
! 14017: # What is the maximum length of a command?
! 14018: max_cmd_len=$lt_cv_sys_max_cmd_len
! 14019:
! 14020: # Does compiler simultaneously support -c and -o options?
! 14021: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 14022:
! 14023: # Must we lock files when doing compilation?
! 14024: need_locks=$lt_need_locks
! 14025:
! 14026: # Do we need the lib prefix for modules?
! 14027: need_lib_prefix=$need_lib_prefix
! 14028:
! 14029: # Do we need a version for libraries?
! 14030: need_version=$need_version
! 14031:
! 14032: # Whether dlopen is supported.
! 14033: dlopen_support=$enable_dlopen
! 14034:
! 14035: # Whether dlopen of programs is supported.
! 14036: dlopen_self=$enable_dlopen_self
! 14037:
! 14038: # Whether dlopen of statically linked programs is supported.
! 14039: dlopen_self_static=$enable_dlopen_self_static
! 14040:
! 14041: # Compiler flag to prevent dynamic linking.
! 14042: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 14043:
! 14044: # Compiler flag to turn off builtin functions.
! 14045: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 14046:
! 14047: # Compiler flag to allow reflexive dlopens.
! 14048: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 14049:
! 14050: # Compiler flag to generate shared objects directly from archives.
! 14051: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 14052:
! 14053: # Compiler flag to generate thread-safe objects.
! 14054: thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
! 14055:
! 14056: # Library versioning type.
! 14057: version_type=$version_type
! 14058:
! 14059: # Format of library name prefix.
! 14060: libname_spec=$lt_libname_spec
! 14061:
! 14062: # List of archive names. First name is the real one, the rest are links.
! 14063: # The last name is the one that the linker finds with -lNAME.
! 14064: library_names_spec=$lt_library_names_spec
! 14065:
! 14066: # The coded name of the library, if different from the real name.
! 14067: soname_spec=$lt_soname_spec
! 14068:
! 14069: # Commands used to build and install an old-style archive.
! 14070: RANLIB=$lt_RANLIB
! 14071: old_archive_cmds=$lt_old_archive_cmds_CXX
! 14072: old_postinstall_cmds=$lt_old_postinstall_cmds
! 14073: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 14074:
! 14075: # Create an old-style archive from a shared archive.
! 14076: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 14077:
! 14078: # Create a temporary old-style archive to link instead of a shared archive.
! 14079: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 14080:
! 14081: # Commands used to build and install a shared archive.
! 14082: archive_cmds=$lt_archive_cmds_CXX
! 14083: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 14084: postinstall_cmds=$lt_postinstall_cmds
! 14085: postuninstall_cmds=$lt_postuninstall_cmds
! 14086:
! 14087: # Commands used to build a loadable module (assumed same as above if empty)
! 14088: module_cmds=$lt_module_cmds_CXX
! 14089: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 14090:
! 14091: # Commands to strip libraries.
! 14092: old_striplib=$lt_old_striplib
! 14093: striplib=$lt_striplib
! 14094:
! 14095: # Dependencies to place before the objects being linked to create a
! 14096: # shared library.
! 14097: predep_objects=$lt_predep_objects_CXX
! 14098:
! 14099: # Dependencies to place after the objects being linked to create a
! 14100: # shared library.
! 14101: postdep_objects=$lt_postdep_objects_CXX
! 14102:
! 14103: # Dependencies to place before the objects being linked to create a
! 14104: # shared library.
! 14105: predeps=$lt_predeps_CXX
! 14106:
! 14107: # Dependencies to place after the objects being linked to create a
! 14108: # shared library.
! 14109: postdeps=$lt_postdeps_CXX
! 14110:
! 14111: # The directories searched by this compiler when creating a shared
! 14112: # library
! 14113: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
! 14114:
! 14115: # The library search path used internally by the compiler when linking
! 14116: # a shared library.
! 14117: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
! 14118:
! 14119: # Method to check whether dependent libraries are shared objects.
! 14120: deplibs_check_method=$lt_deplibs_check_method
! 14121:
! 14122: # Command to use when deplibs_check_method == file_magic.
! 14123: file_magic_cmd=$lt_file_magic_cmd
! 14124:
! 14125: # Flag that allows shared libraries with undefined symbols to be built.
! 14126: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 14127:
! 14128: # Flag that forces no undefined symbols.
! 14129: no_undefined_flag=$lt_no_undefined_flag_CXX
! 14130:
! 14131: # Commands used to finish a libtool library installation in a directory.
! 14132: finish_cmds=$lt_finish_cmds
! 14133:
! 14134: # Same as above, but a single script fragment to be evaled but not shown.
! 14135: finish_eval=$lt_finish_eval
! 14136:
! 14137: # Take the output of nm and produce a listing of raw symbols and C names.
! 14138: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 14139:
! 14140: # Transform the output of nm in a proper C declaration
! 14141: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 14142:
! 14143: # Transform the output of nm in a C name address pair
! 14144: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 14145:
! 14146: # This is the shared library runtime path variable.
! 14147: runpath_var=$runpath_var
! 14148:
! 14149: # This is the shared library path variable.
! 14150: shlibpath_var=$shlibpath_var
! 14151:
! 14152: # Is shlibpath searched before the hard-coded library search path?
! 14153: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 14154:
! 14155: # How to hardcode a shared library path into an executable.
! 14156: hardcode_action=$hardcode_action_CXX
! 14157:
! 14158: # Whether we should hardcode library paths into libraries.
! 14159: hardcode_into_libs=$hardcode_into_libs
! 14160:
! 14161: # Flag to hardcode \$libdir into a binary during linking.
! 14162: # This must work even if \$libdir does not exist.
! 14163: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 14164:
! 14165: # If ld is used when linking, flag to hardcode \$libdir into
! 14166: # a binary during linking. This must work even if \$libdir does
! 14167: # not exist.
! 14168: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
! 14169:
! 14170: # Whether we need a single -rpath flag with a separated argument.
! 14171: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 14172:
! 14173: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 14174: # resulting binary.
! 14175: hardcode_direct=$hardcode_direct_CXX
! 14176:
! 14177: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 14178: # resulting binary.
! 14179: hardcode_minus_L=$hardcode_minus_L_CXX
! 14180:
! 14181: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 14182: # the resulting binary.
! 14183: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 14184:
! 14185: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 14186: # and all subsequent libraries and executables linked against it.
! 14187: hardcode_automatic=$hardcode_automatic_CXX
! 14188:
! 14189: # Variables whose values should be saved in libtool wrapper scripts and
! 14190: # restored at relink time.
! 14191: variables_saved_for_relink="$variables_saved_for_relink"
! 14192:
! 14193: # Whether libtool must link a program against all its dependency libraries.
! 14194: link_all_deplibs=$link_all_deplibs_CXX
! 14195:
! 14196: # Compile-time system search path for libraries
! 14197: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 14198:
! 14199: # Run-time system search path for libraries
! 14200: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 14201:
! 14202: # Fix the shell variable \$srcfile for the compiler.
! 14203: fix_srcfile_path=$lt_fix_srcfile_path
! 14204:
! 14205: # Set to yes if exported symbols are required.
! 14206: always_export_symbols=$always_export_symbols_CXX
! 14207:
! 14208: # The commands to list exported symbols.
! 14209: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 14210:
! 14211: # The commands to extract the exported symbol list from a shared archive.
! 14212: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 14213:
! 14214: # Symbols that should not be listed in the preloaded symbols.
! 14215: exclude_expsyms=$lt_exclude_expsyms_CXX
! 14216:
! 14217: # Symbols that must always be exported.
! 14218: include_expsyms=$lt_include_expsyms_CXX
! 14219:
! 14220: # ### END LIBTOOL TAG CONFIG: $tagname
! 14221:
! 14222: __EOF__
! 14223:
! 14224:
! 14225: else
! 14226: # If there is no Makefile yet, we rely on a make rule to execute
! 14227: # `config.status --recheck' to rerun these tests and create the
! 14228: # libtool script then.
! 14229: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 14230: if test -f "$ltmain_in"; then
! 14231: test -f Makefile && make "$ltmain"
! 14232: fi
! 14233: fi
! 14234:
! 14235:
! 14236: ac_ext=c
! 14237: ac_cpp='$CPP $CPPFLAGS'
! 14238: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 14239: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 14240: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 14241:
! 14242: CC=$lt_save_CC
! 14243: LDCXX=$LD
! 14244: LD=$lt_save_LD
! 14245: GCC=$lt_save_GCC
! 14246: with_gnu_ldcxx=$with_gnu_ld
! 14247: with_gnu_ld=$lt_save_with_gnu_ld
! 14248: lt_cv_path_LDCXX=$lt_cv_path_LD
! 14249: lt_cv_path_LD=$lt_save_path_LD
! 14250: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 14251: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 14252:
! 14253: else
! 14254: tagname=""
! 14255: fi
! 14256: ;;
! 14257:
! 14258: F77)
! 14259: if test -n "$F77" && test "X$F77" != "Xno"; then
! 14260:
! 14261: ac_ext=f
! 14262: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 14263: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 14264: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 14265:
! 14266:
! 14267: archive_cmds_need_lc_F77=no
! 14268: allow_undefined_flag_F77=
! 14269: always_export_symbols_F77=no
! 14270: archive_expsym_cmds_F77=
! 14271: export_dynamic_flag_spec_F77=
! 14272: hardcode_direct_F77=no
! 14273: hardcode_libdir_flag_spec_F77=
! 14274: hardcode_libdir_flag_spec_ld_F77=
! 14275: hardcode_libdir_separator_F77=
! 14276: hardcode_minus_L_F77=no
! 14277: hardcode_automatic_F77=no
! 14278: module_cmds_F77=
! 14279: module_expsym_cmds_F77=
! 14280: link_all_deplibs_F77=unknown
! 14281: old_archive_cmds_F77=$old_archive_cmds
! 14282: no_undefined_flag_F77=
! 14283: whole_archive_flag_spec_F77=
! 14284: enable_shared_with_static_runtimes_F77=no
! 14285:
! 14286: # Source file extension for f77 test sources.
! 14287: ac_ext=f
! 14288:
! 14289: # Object file extension for compiled f77 test sources.
! 14290: objext=o
! 14291: objext_F77=$objext
! 14292:
! 14293: # Code to be used in simple compile tests
! 14294: lt_simple_compile_test_code="\
! 14295: subroutine t
! 14296: return
! 14297: end
! 14298: "
! 14299:
! 14300: # Code to be used in simple link tests
! 14301: lt_simple_link_test_code="\
! 14302: program t
! 14303: end
! 14304: "
! 14305:
! 14306: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 14307:
! 14308: # If no C compiler was specified, use CC.
! 14309: LTCC=${LTCC-"$CC"}
! 14310:
! 14311: # If no C compiler flags were specified, use CFLAGS.
! 14312: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 14313:
! 14314: # Allow CC to be a program name with arguments.
! 14315: compiler=$CC
! 14316:
! 14317:
! 14318: # save warnings/boilerplate of simple test code
! 14319: ac_outfile=conftest.$ac_objext
! 14320: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 14321: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 14322: _lt_compiler_boilerplate=`cat conftest.err`
! 14323: $rm conftest*
! 14324:
! 14325: ac_outfile=conftest.$ac_objext
! 14326: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 14327: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 14328: _lt_linker_boilerplate=`cat conftest.err`
! 14329: $rm -r conftest*
! 14330:
! 14331:
! 14332: # Allow CC to be a program name with arguments.
! 14333: lt_save_CC="$CC"
! 14334: CC=${F77-"f77"}
! 14335: compiler=$CC
! 14336: compiler_F77=$CC
! 14337: for cc_temp in $compiler""; do
! 14338: case $cc_temp in
! 14339: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 14340: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 14341: \-*) ;;
! 14342: *) break;;
! 14343: esac
! 14344: done
! 14345: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 14346:
! 14347:
! 14348: { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 14349: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 14350: { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 14351: $as_echo "$can_build_shared" >&6; }
! 14352:
! 14353: { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 14354: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 14355: test "$can_build_shared" = "no" && enable_shared=no
! 14356:
! 14357: # On AIX, shared libraries and static libraries use the same namespace, and
! 14358: # are all built from PIC.
! 14359: case $host_os in
! 14360: aix3*)
! 14361: test "$enable_shared" = yes && enable_static=no
! 14362: if test -n "$RANLIB"; then
! 14363: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 14364: postinstall_cmds='$RANLIB $lib'
! 14365: fi
! 14366: ;;
! 14367: aix[4-9]*)
! 14368: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 14369: test "$enable_shared" = yes && enable_static=no
! 14370: fi
! 14371: ;;
! 14372: esac
! 14373: { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
! 14374: $as_echo "$enable_shared" >&6; }
! 14375:
! 14376: { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 14377: $as_echo_n "checking whether to build static libraries... " >&6; }
! 14378: # Make sure either enable_shared or enable_static is yes.
! 14379: test "$enable_shared" = yes || enable_static=yes
! 14380: { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
! 14381: $as_echo "$enable_static" >&6; }
! 14382:
! 14383: GCC_F77="$G77"
! 14384: LD_F77="$LD"
! 14385:
! 14386: lt_prog_compiler_wl_F77=
! 14387: lt_prog_compiler_pic_F77=
! 14388: lt_prog_compiler_static_F77=
! 14389:
! 14390: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 14391: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 14392:
! 14393: if test "$GCC" = yes; then
! 14394: lt_prog_compiler_wl_F77='-Wl,'
! 14395: lt_prog_compiler_static_F77='-static'
! 14396:
! 14397: case $host_os in
! 14398: aix*)
! 14399: # All AIX code is PIC.
! 14400: if test "$host_cpu" = ia64; then
! 14401: # AIX 5 now supports IA64 processor
! 14402: lt_prog_compiler_static_F77='-Bstatic'
! 14403: fi
! 14404: ;;
! 14405:
! 14406: amigaos*)
! 14407: # FIXME: we need at least 68020 code to build shared libraries, but
! 14408: # adding the `-m68020' flag to GCC prevents building anything better,
! 14409: # like `-m68040'.
! 14410: lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
! 14411: ;;
! 14412:
! 14413: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 14414: # PIC is the default for these OSes.
! 14415: ;;
! 14416:
! 14417: mingw* | cygwin* | pw32* | os2*)
! 14418: # This hack is so that the source file can tell whether it is being
! 14419: # built for inclusion in a dll (and should export symbols for example).
! 14420: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 14421: # (--disable-auto-import) libraries
! 14422: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 14423: ;;
! 14424:
! 14425: darwin* | rhapsody*)
! 14426: # PIC is the default on this platform
! 14427: # Common symbols not allowed in MH_DYLIB files
! 14428: lt_prog_compiler_pic_F77='-fno-common'
! 14429: ;;
! 14430:
! 14431: interix[3-9]*)
! 14432: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 14433: # Instead, we relocate shared libraries at runtime.
! 14434: ;;
! 14435:
! 14436: msdosdjgpp*)
! 14437: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 14438: # on systems that don't support them.
! 14439: lt_prog_compiler_can_build_shared_F77=no
! 14440: enable_shared=no
! 14441: ;;
! 14442:
! 14443: sysv4*MP*)
! 14444: if test -d /usr/nec; then
! 14445: lt_prog_compiler_pic_F77=-Kconform_pic
! 14446: fi
! 14447: ;;
! 14448:
! 14449: hpux*)
! 14450: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 14451: # not for PA HP-UX.
! 14452: case $host_cpu in
! 14453: hppa*64*|ia64*)
! 14454: # +Z the default
! 14455: ;;
! 14456: *)
! 14457: lt_prog_compiler_pic_F77='-fPIC'
! 14458: ;;
! 14459: esac
! 14460: ;;
! 14461:
! 14462: *)
! 14463: lt_prog_compiler_pic_F77='-fPIC'
! 14464: ;;
! 14465: esac
! 14466: else
! 14467: # PORTME Check for flag to pass linker flags through the system compiler.
! 14468: case $host_os in
! 14469: aix*)
! 14470: lt_prog_compiler_wl_F77='-Wl,'
! 14471: if test "$host_cpu" = ia64; then
! 14472: # AIX 5 now supports IA64 processor
! 14473: lt_prog_compiler_static_F77='-Bstatic'
! 14474: else
! 14475: lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
! 14476: fi
! 14477: ;;
! 14478: darwin*)
! 14479: # PIC is the default on this platform
! 14480: # Common symbols not allowed in MH_DYLIB files
! 14481: case $cc_basename in
! 14482: xlc*)
! 14483: lt_prog_compiler_pic_F77='-qnocommon'
! 14484: lt_prog_compiler_wl_F77='-Wl,'
! 14485: ;;
! 14486: esac
! 14487: ;;
! 14488:
! 14489: mingw* | cygwin* | pw32* | os2*)
! 14490: # This hack is so that the source file can tell whether it is being
! 14491: # built for inclusion in a dll (and should export symbols for example).
! 14492: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 14493: ;;
! 14494:
! 14495: hpux9* | hpux10* | hpux11*)
! 14496: lt_prog_compiler_wl_F77='-Wl,'
! 14497: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 14498: # not for PA HP-UX.
! 14499: case $host_cpu in
! 14500: hppa*64*|ia64*)
! 14501: # +Z the default
! 14502: ;;
! 14503: *)
! 14504: lt_prog_compiler_pic_F77='+Z'
! 14505: ;;
! 14506: esac
! 14507: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 14508: lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
! 14509: ;;
! 14510:
! 14511: irix5* | irix6* | nonstopux*)
! 14512: lt_prog_compiler_wl_F77='-Wl,'
! 14513: # PIC (with -KPIC) is the default.
! 14514: lt_prog_compiler_static_F77='-non_shared'
! 14515: ;;
! 14516:
! 14517: newsos6)
! 14518: lt_prog_compiler_pic_F77='-KPIC'
! 14519: lt_prog_compiler_static_F77='-Bstatic'
! 14520: ;;
! 14521:
! 14522: linux* | k*bsd*-gnu)
! 14523: case $cc_basename in
! 14524: icc* | ecc*)
! 14525: lt_prog_compiler_wl_F77='-Wl,'
! 14526: lt_prog_compiler_pic_F77='-KPIC'
! 14527: lt_prog_compiler_static_F77='-static'
! 14528: ;;
! 14529: pgcc* | pgf77* | pgf90* | pgf95*)
! 14530: # Portland Group compilers (*not* the Pentium gcc compiler,
! 14531: # which looks to be a dead project)
! 14532: lt_prog_compiler_wl_F77='-Wl,'
! 14533: lt_prog_compiler_pic_F77='-fpic'
! 14534: lt_prog_compiler_static_F77='-Bstatic'
! 14535: ;;
! 14536: ccc*)
! 14537: lt_prog_compiler_wl_F77='-Wl,'
! 14538: # All Alpha code is PIC.
! 14539: lt_prog_compiler_static_F77='-non_shared'
! 14540: ;;
! 14541: *)
! 14542: case `$CC -V 2>&1 | sed 5q` in
! 14543: *Sun\ C*)
! 14544: # Sun C 5.9
! 14545: lt_prog_compiler_pic_F77='-KPIC'
! 14546: lt_prog_compiler_static_F77='-Bstatic'
! 14547: lt_prog_compiler_wl_F77='-Wl,'
! 14548: ;;
! 14549: *Sun\ F*)
! 14550: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 14551: lt_prog_compiler_pic_F77='-KPIC'
! 14552: lt_prog_compiler_static_F77='-Bstatic'
! 14553: lt_prog_compiler_wl_F77=''
! 14554: ;;
! 14555: esac
! 14556: ;;
! 14557: esac
! 14558: ;;
! 14559:
! 14560: osf3* | osf4* | osf5*)
! 14561: lt_prog_compiler_wl_F77='-Wl,'
! 14562: # All OSF/1 code is PIC.
! 14563: lt_prog_compiler_static_F77='-non_shared'
! 14564: ;;
! 14565:
! 14566: rdos*)
! 14567: lt_prog_compiler_static_F77='-non_shared'
! 14568: ;;
! 14569:
! 14570: solaris*)
! 14571: lt_prog_compiler_pic_F77='-KPIC'
! 14572: lt_prog_compiler_static_F77='-Bstatic'
! 14573: case $cc_basename in
! 14574: f77* | f90* | f95*)
! 14575: lt_prog_compiler_wl_F77='-Qoption ld ';;
! 14576: *)
! 14577: lt_prog_compiler_wl_F77='-Wl,';;
! 14578: esac
! 14579: ;;
! 14580:
! 14581: sunos4*)
! 14582: lt_prog_compiler_wl_F77='-Qoption ld '
! 14583: lt_prog_compiler_pic_F77='-PIC'
! 14584: lt_prog_compiler_static_F77='-Bstatic'
! 14585: ;;
! 14586:
! 14587: sysv4 | sysv4.2uw2* | sysv4.3*)
! 14588: lt_prog_compiler_wl_F77='-Wl,'
! 14589: lt_prog_compiler_pic_F77='-KPIC'
! 14590: lt_prog_compiler_static_F77='-Bstatic'
! 14591: ;;
! 14592:
! 14593: sysv4*MP*)
! 14594: if test -d /usr/nec ;then
! 14595: lt_prog_compiler_pic_F77='-Kconform_pic'
! 14596: lt_prog_compiler_static_F77='-Bstatic'
! 14597: fi
! 14598: ;;
! 14599:
! 14600: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 14601: lt_prog_compiler_wl_F77='-Wl,'
! 14602: lt_prog_compiler_pic_F77='-KPIC'
! 14603: lt_prog_compiler_static_F77='-Bstatic'
! 14604: ;;
! 14605:
! 14606: unicos*)
! 14607: lt_prog_compiler_wl_F77='-Wl,'
! 14608: lt_prog_compiler_can_build_shared_F77=no
! 14609: ;;
! 14610:
! 14611: uts4*)
! 14612: lt_prog_compiler_pic_F77='-pic'
! 14613: lt_prog_compiler_static_F77='-Bstatic'
! 14614: ;;
! 14615:
! 14616: *)
! 14617: lt_prog_compiler_can_build_shared_F77=no
! 14618: ;;
! 14619: esac
! 14620: fi
! 14621:
! 14622: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
! 14623: $as_echo "$lt_prog_compiler_pic_F77" >&6; }
! 14624:
! 14625: #
! 14626: # Check to make sure the PIC flag actually works.
! 14627: #
! 14628: if test -n "$lt_prog_compiler_pic_F77"; then
! 14629:
! 14630: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
! 14631: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
! 14632: if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
! 14633: $as_echo_n "(cached) " >&6
! 14634: else
! 14635: lt_cv_prog_compiler_pic_works_F77=no
! 14636: ac_outfile=conftest.$ac_objext
! 14637: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14638: lt_compiler_flag="$lt_prog_compiler_pic_F77"
! 14639: # Insert the option either (1) after the last *FLAGS variable, or
! 14640: # (2) before a word containing "conftest.", or (3) at the end.
! 14641: # Note that $ac_compile itself does not contain backslashes and begins
! 14642: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14643: # The option is referenced via a variable to avoid confusing sed.
! 14644: lt_compile=`echo "$ac_compile" | $SED \
! 14645: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14646: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14647: -e 's:$: $lt_compiler_flag:'`
! 14648: (eval echo "\"\$as_me:14648: $lt_compile\"" >&5)
! 14649: (eval "$lt_compile" 2>conftest.err)
! 14650: ac_status=$?
! 14651: cat conftest.err >&5
! 14652: echo "$as_me:14652: \$? = $ac_status" >&5
! 14653: if (exit $ac_status) && test -s "$ac_outfile"; then
! 14654: # The compiler can only warn and ignore the option if not recognized
! 14655: # So say no if there are warnings other than the usual output.
! 14656: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 14657: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14658: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 14659: lt_cv_prog_compiler_pic_works_F77=yes
! 14660: fi
! 14661: fi
! 14662: $rm conftest*
! 14663:
! 14664: fi
! 14665: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
! 14666: $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
! 14667:
! 14668: if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
! 14669: case $lt_prog_compiler_pic_F77 in
! 14670: "" | " "*) ;;
! 14671: *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
! 14672: esac
! 14673: else
! 14674: lt_prog_compiler_pic_F77=
! 14675: lt_prog_compiler_can_build_shared_F77=no
! 14676: fi
! 14677:
! 14678: fi
! 14679: case $host_os in
! 14680: # For platforms which do not support PIC, -DPIC is meaningless:
! 14681: *djgpp*)
! 14682: lt_prog_compiler_pic_F77=
! 14683: ;;
! 14684: *)
! 14685: lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
! 14686: ;;
! 14687: esac
! 14688:
! 14689: #
! 14690: # Check to make sure the static flag actually works.
! 14691: #
! 14692: wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
! 14693: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 14694: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 14695: if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
! 14696: $as_echo_n "(cached) " >&6
! 14697: else
! 14698: lt_cv_prog_compiler_static_works_F77=no
! 14699: save_LDFLAGS="$LDFLAGS"
! 14700: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 14701: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 14702: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 14703: # The linker can only warn and ignore the option if not recognized
! 14704: # So say no if there are warnings
! 14705: if test -s conftest.err; then
! 14706: # Append any errors to the config.log.
! 14707: cat conftest.err 1>&5
! 14708: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 14709: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14710: if diff conftest.exp conftest.er2 >/dev/null; then
! 14711: lt_cv_prog_compiler_static_works_F77=yes
! 14712: fi
! 14713: else
! 14714: lt_cv_prog_compiler_static_works_F77=yes
! 14715: fi
! 14716: fi
! 14717: $rm -r conftest*
! 14718: LDFLAGS="$save_LDFLAGS"
! 14719:
! 14720: fi
! 14721: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
! 14722: $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
! 14723:
! 14724: if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
! 14725: :
! 14726: else
! 14727: lt_prog_compiler_static_F77=
! 14728: fi
! 14729:
! 14730:
! 14731: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14732: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 14733: if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
! 14734: $as_echo_n "(cached) " >&6
! 14735: else
! 14736: lt_cv_prog_compiler_c_o_F77=no
! 14737: $rm -r conftest 2>/dev/null
! 14738: mkdir conftest
! 14739: cd conftest
! 14740: mkdir out
! 14741: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14742:
! 14743: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14744: # Insert the option either (1) after the last *FLAGS variable, or
! 14745: # (2) before a word containing "conftest.", or (3) at the end.
! 14746: # Note that $ac_compile itself does not contain backslashes and begins
! 14747: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14748: lt_compile=`echo "$ac_compile" | $SED \
! 14749: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14750: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14751: -e 's:$: $lt_compiler_flag:'`
! 14752: (eval echo "\"\$as_me:14752: $lt_compile\"" >&5)
! 14753: (eval "$lt_compile" 2>out/conftest.err)
! 14754: ac_status=$?
! 14755: cat out/conftest.err >&5
! 14756: echo "$as_me:14756: \$? = $ac_status" >&5
! 14757: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14758: then
! 14759: # The compiler can only warn and ignore the option if not recognized
! 14760: # So say no if there are warnings
! 14761: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 14762: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14763: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14764: lt_cv_prog_compiler_c_o_F77=yes
! 14765: fi
! 14766: fi
! 14767: chmod u+w . 2>&5
! 14768: $rm conftest*
! 14769: # SGI C++ compiler will create directory out/ii_files/ for
! 14770: # template instantiation
! 14771: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 14772: $rm out/* && rmdir out
! 14773: cd ..
! 14774: rmdir conftest
! 14775: $rm conftest*
! 14776:
! 14777: fi
! 14778: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
! 14779: $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
! 14780:
! 14781:
! 14782: hard_links="nottested"
! 14783: if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
! 14784: # do not overwrite the value of need_locks provided by the user
! 14785: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 14786: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 14787: hard_links=yes
! 14788: $rm conftest*
! 14789: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14790: touch conftest.a
! 14791: ln conftest.a conftest.b 2>&5 || hard_links=no
! 14792: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14793: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 14794: $as_echo "$hard_links" >&6; }
! 14795: if test "$hard_links" = no; then
! 14796: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 14797: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 14798: need_locks=warn
! 14799: fi
! 14800: else
! 14801: need_locks=no
! 14802: fi
! 14803:
! 14804: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 14805: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 14806:
! 14807: runpath_var=
! 14808: allow_undefined_flag_F77=
! 14809: enable_shared_with_static_runtimes_F77=no
! 14810: archive_cmds_F77=
! 14811: archive_expsym_cmds_F77=
! 14812: old_archive_From_new_cmds_F77=
! 14813: old_archive_from_expsyms_cmds_F77=
! 14814: export_dynamic_flag_spec_F77=
! 14815: whole_archive_flag_spec_F77=
! 14816: thread_safe_flag_spec_F77=
! 14817: hardcode_libdir_flag_spec_F77=
! 14818: hardcode_libdir_flag_spec_ld_F77=
! 14819: hardcode_libdir_separator_F77=
! 14820: hardcode_direct_F77=no
! 14821: hardcode_minus_L_F77=no
! 14822: hardcode_shlibpath_var_F77=unsupported
! 14823: link_all_deplibs_F77=unknown
! 14824: hardcode_automatic_F77=no
! 14825: module_cmds_F77=
! 14826: module_expsym_cmds_F77=
! 14827: always_export_symbols_F77=no
! 14828: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14829: # include_expsyms should be a list of space-separated symbols to be *always*
! 14830: # included in the symbol list
! 14831: include_expsyms_F77=
! 14832: # exclude_expsyms can be an extended regexp of symbols to exclude
! 14833: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 14834: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 14835: # as well as any symbol that contains `d'.
! 14836: exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 14837: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 14838: # platforms (ab)use it in PIC code, but their linkers get confused if
! 14839: # the symbol is explicitly referenced. Since portable code cannot
! 14840: # rely on this symbol name, it's probably fine to never include it in
! 14841: # preloaded symbol tables.
! 14842: # Exclude shared library initialization/finalization symbols.
! 14843: extract_expsyms_cmds=
! 14844: # Just being paranoid about ensuring that cc_basename is set.
! 14845: for cc_temp in $compiler""; do
! 14846: case $cc_temp in
! 14847: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 14848: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 14849: \-*) ;;
! 14850: *) break;;
! 14851: esac
! 14852: done
! 14853: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 14854:
! 14855: case $host_os in
! 14856: cygwin* | mingw* | pw32*)
! 14857: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 14858: # When not using gcc, we currently assume that we are using
! 14859: # Microsoft Visual C++.
! 14860: if test "$GCC" != yes; then
! 14861: with_gnu_ld=no
! 14862: fi
! 14863: ;;
! 14864: interix*)
! 14865: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 14866: with_gnu_ld=yes
! 14867: ;;
! 14868: openbsd*)
! 14869: with_gnu_ld=no
! 14870: ;;
! 14871: esac
! 14872:
! 14873: ld_shlibs_F77=yes
! 14874: if test "$with_gnu_ld" = yes; then
! 14875: # If archive_cmds runs LD, not CC, wlarc should be empty
! 14876: wlarc='${wl}'
! 14877:
! 14878: # Set some defaults for GNU ld with shared library support. These
! 14879: # are reset later if shared libraries are not supported. Putting them
! 14880: # here allows them to be overridden if necessary.
! 14881: runpath_var=LD_RUN_PATH
! 14882: hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
! 14883: export_dynamic_flag_spec_F77='${wl}--export-dynamic'
! 14884: # ancient GNU ld didn't support --whole-archive et. al.
! 14885: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 14886: whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 14887: else
! 14888: whole_archive_flag_spec_F77=
! 14889: fi
! 14890: supports_anon_versioning=no
! 14891: case `$LD -v 2>/dev/null` in
! 14892: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 14893: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 14894: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 14895: *\ 2.11.*) ;; # other 2.11 versions
! 14896: *) supports_anon_versioning=yes ;;
! 14897: esac
! 14898:
! 14899: # See if GNU ld supports shared libraries.
! 14900: case $host_os in
! 14901: aix[3-9]*)
! 14902: # On AIX/PPC, the GNU linker is very broken
! 14903: if test "$host_cpu" != ia64; then
! 14904: ld_shlibs_F77=no
! 14905: cat <<EOF 1>&2
! 14906:
! 14907: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 14908: *** to be unable to reliably create shared libraries on AIX.
! 14909: *** Therefore, libtool is disabling shared libraries support. If you
! 14910: *** really care for shared libraries, you may want to modify your PATH
! 14911: *** so that a non-GNU linker is found, and then restart.
! 14912:
! 14913: EOF
! 14914: fi
! 14915: ;;
! 14916:
! 14917: amigaos*)
! 14918: archive_cmds_F77='$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)'
! 14919: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14920: hardcode_minus_L_F77=yes
! 14921:
! 14922: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 14923: # that the semantics of dynamic libraries on AmigaOS, at least up
! 14924: # to version 4, is to share data among multiple programs linked
! 14925: # with the same dynamic library. Since this doesn't match the
! 14926: # behavior of shared libraries on other platforms, we can't use
! 14927: # them.
! 14928: ld_shlibs_F77=no
! 14929: ;;
! 14930:
! 14931: beos*)
! 14932: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 14933: allow_undefined_flag_F77=unsupported
! 14934: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 14935: # support --undefined. This deserves some investigation. FIXME
! 14936: archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 14937: else
! 14938: ld_shlibs_F77=no
! 14939: fi
! 14940: ;;
! 14941:
! 14942: cygwin* | mingw* | pw32*)
! 14943: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
! 14944: # as there is no search path for DLLs.
! 14945: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14946: allow_undefined_flag_F77=unsupported
! 14947: always_export_symbols_F77=no
! 14948: enable_shared_with_static_runtimes_F77=yes
! 14949: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 14950:
! 14951: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 14952: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 14953: # If the export-symbols file already is a .def file (1st line
! 14954: # is EXPORTS), use it as is; otherwise, prepend...
! 14955: archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 14956: cp $export_symbols $output_objdir/$soname.def;
! 14957: else
! 14958: echo EXPORTS > $output_objdir/$soname.def;
! 14959: cat $export_symbols >> $output_objdir/$soname.def;
! 14960: fi~
! 14961: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 14962: else
! 14963: ld_shlibs_F77=no
! 14964: fi
! 14965: ;;
! 14966:
! 14967: interix[3-9]*)
! 14968: hardcode_direct_F77=no
! 14969: hardcode_shlibpath_var_F77=no
! 14970: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 14971: export_dynamic_flag_spec_F77='${wl}-E'
! 14972: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 14973: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 14974: # default) and relocated if they conflict, which is a slow very memory
! 14975: # consuming and fragmenting process. To avoid this, we pick a random,
! 14976: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 14977: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 14978: archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 14979: archive_expsym_cmds_F77='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'
! 14980: ;;
! 14981:
! 14982: gnu* | linux* | k*bsd*-gnu)
! 14983: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 14984: tmp_addflag=
! 14985: case $cc_basename,$host_cpu in
! 14986: pgcc*) # Portland Group C compiler
! 14987: whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
! 14988: tmp_addflag=' $pic_flag'
! 14989: ;;
! 14990: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 14991: whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
! 14992: tmp_addflag=' $pic_flag -Mnomain' ;;
! 14993: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 14994: tmp_addflag=' -i_dynamic' ;;
! 14995: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 14996: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 14997: ifc* | ifort*) # Intel Fortran compiler
! 14998: tmp_addflag=' -nofor_main' ;;
! 14999: esac
! 15000: case `$CC -V 2>&1 | sed 5q` in
! 15001: *Sun\ C*) # Sun C 5.9
! 15002: whole_archive_flag_spec_F77='${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'
! 15003: tmp_sharedflag='-G' ;;
! 15004: *Sun\ F*) # Sun Fortran 8.3
! 15005: tmp_sharedflag='-G' ;;
! 15006: *)
! 15007: tmp_sharedflag='-shared' ;;
! 15008: esac
! 15009: archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15010:
! 15011: if test $supports_anon_versioning = yes; then
! 15012: archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
! 15013: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 15014: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 15015: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 15016: fi
! 15017: else
! 15018: ld_shlibs_F77=no
! 15019: fi
! 15020: ;;
! 15021:
! 15022: netbsd*)
! 15023: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 15024: archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 15025: wlarc=
! 15026: else
! 15027: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15028: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15029: fi
! 15030: ;;
! 15031:
! 15032: solaris*)
! 15033: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 15034: ld_shlibs_F77=no
! 15035: cat <<EOF 1>&2
! 15036:
! 15037: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 15038: *** create shared libraries on Solaris systems. Therefore, libtool
! 15039: *** is disabling shared libraries support. We urge you to upgrade GNU
! 15040: *** binutils to release 2.9.1 or newer. Another option is to modify
! 15041: *** your PATH or compiler configuration so that the native linker is
! 15042: *** used, and then restart.
! 15043:
! 15044: EOF
! 15045: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15046: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15047: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15048: else
! 15049: ld_shlibs_F77=no
! 15050: fi
! 15051: ;;
! 15052:
! 15053: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 15054: case `$LD -v 2>&1` in
! 15055: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 15056: ld_shlibs_F77=no
! 15057: cat <<_LT_EOF 1>&2
! 15058:
! 15059: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 15060: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 15061: *** is disabling shared libraries support. We urge you to upgrade GNU
! 15062: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 15063: *** your PATH or compiler configuration so that the native linker is
! 15064: *** used, and then restart.
! 15065:
! 15066: _LT_EOF
! 15067: ;;
! 15068: *)
! 15069: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15070: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 15071: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 15072: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 15073: else
! 15074: ld_shlibs_F77=no
! 15075: fi
! 15076: ;;
! 15077: esac
! 15078: ;;
! 15079:
! 15080: sunos4*)
! 15081: archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15082: wlarc=
! 15083: hardcode_direct_F77=yes
! 15084: hardcode_shlibpath_var_F77=no
! 15085: ;;
! 15086:
! 15087: *)
! 15088: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15089: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15090: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15091: else
! 15092: ld_shlibs_F77=no
! 15093: fi
! 15094: ;;
! 15095: esac
! 15096:
! 15097: if test "$ld_shlibs_F77" = no; then
! 15098: runpath_var=
! 15099: hardcode_libdir_flag_spec_F77=
! 15100: export_dynamic_flag_spec_F77=
! 15101: whole_archive_flag_spec_F77=
! 15102: fi
! 15103: else
! 15104: # PORTME fill in a description of your system's linker (not GNU ld)
! 15105: case $host_os in
! 15106: aix3*)
! 15107: allow_undefined_flag_F77=unsupported
! 15108: always_export_symbols_F77=yes
! 15109: archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
! 15110: # Note: this linker hardcodes the directories in LIBPATH if there
! 15111: # are no directories specified by -L.
! 15112: hardcode_minus_L_F77=yes
! 15113: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 15114: # Neither direct hardcoding nor static linking is supported with a
! 15115: # broken collect2.
! 15116: hardcode_direct_F77=unsupported
! 15117: fi
! 15118: ;;
! 15119:
! 15120: aix[4-9]*)
! 15121: if test "$host_cpu" = ia64; then
! 15122: # On IA64, the linker does run time linking by default, so we don't
! 15123: # have to do anything special.
! 15124: aix_use_runtimelinking=no
! 15125: exp_sym_flag='-Bexport'
! 15126: no_entry_flag=""
! 15127: else
! 15128: # If we're using GNU nm, then we don't want the "-C" option.
! 15129: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 15130: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 15131: export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 15132: else
! 15133: export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 15134: fi
! 15135: aix_use_runtimelinking=no
! 15136:
! 15137: # Test if we are trying to use run time linking or normal
! 15138: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 15139: # need to do runtime linking.
! 15140: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 15141: for ld_flag in $LDFLAGS; do
! 15142: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 15143: aix_use_runtimelinking=yes
! 15144: break
! 15145: fi
! 15146: done
! 15147: ;;
! 15148: esac
! 15149:
! 15150: exp_sym_flag='-bexport'
! 15151: no_entry_flag='-bnoentry'
! 15152: fi
! 15153:
! 15154: # When large executables or shared objects are built, AIX ld can
! 15155: # have problems creating the table of contents. If linking a library
! 15156: # or program results in "error TOC overflow" add -mminimal-toc to
! 15157: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 15158: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 15159:
! 15160: archive_cmds_F77=''
! 15161: hardcode_direct_F77=yes
! 15162: hardcode_libdir_separator_F77=':'
! 15163: link_all_deplibs_F77=yes
! 15164:
! 15165: if test "$GCC" = yes; then
! 15166: case $host_os in aix4.[012]|aix4.[012].*)
! 15167: # We only want to do this on AIX 4.2 and lower, the check
! 15168: # below for broken collect2 doesn't work under 4.3+
! 15169: collect2name=`${CC} -print-prog-name=collect2`
! 15170: if test -f "$collect2name" && \
! 15171: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 15172: then
! 15173: # We have reworked collect2
! 15174: :
! 15175: else
! 15176: # We have old collect2
! 15177: hardcode_direct_F77=unsupported
! 15178: # It fails to find uninstalled libraries when the uninstalled
! 15179: # path is not listed in the libpath. Setting hardcode_minus_L
! 15180: # to unsupported forces relinking
! 15181: hardcode_minus_L_F77=yes
! 15182: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15183: hardcode_libdir_separator_F77=
! 15184: fi
! 15185: ;;
! 15186: esac
! 15187: shared_flag='-shared'
! 15188: if test "$aix_use_runtimelinking" = yes; then
! 15189: shared_flag="$shared_flag "'${wl}-G'
! 15190: fi
! 15191: else
! 15192: # not using gcc
! 15193: if test "$host_cpu" = ia64; then
! 15194: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 15195: # chokes on -Wl,-G. The following line is correct:
! 15196: shared_flag='-G'
! 15197: else
! 15198: if test "$aix_use_runtimelinking" = yes; then
! 15199: shared_flag='${wl}-G'
! 15200: else
! 15201: shared_flag='${wl}-bM:SRE'
! 15202: fi
! 15203: fi
! 15204: fi
! 15205:
! 15206: # It seems that -bexpall does not export symbols beginning with
! 15207: # underscore (_), so it is better to generate a list of symbols to export.
! 15208: always_export_symbols_F77=yes
! 15209: if test "$aix_use_runtimelinking" = yes; then
! 15210: # Warning - without using the other runtime loading flags (-brtl),
! 15211: # -berok will link without error, but may produce a broken library.
! 15212: allow_undefined_flag_F77='-berok'
! 15213: # Determine the default libpath from the value encoded in an empty executable.
! 15214: cat >conftest.$ac_ext <<_ACEOF
! 15215: program main
! 15216:
! 15217: end
! 15218: _ACEOF
! 15219: rm -f conftest.$ac_objext conftest$ac_exeext
! 15220: if { (ac_try="$ac_link"
! 15221: case "(($ac_try" in
! 15222: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 15223: *) ac_try_echo=$ac_try;;
! 15224: esac
! 15225: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 15226: $as_echo "$ac_try_echo") >&5
! 15227: (eval "$ac_link") 2>conftest.er1
! 15228: ac_status=$?
! 15229: grep -v '^ *+' conftest.er1 >conftest.err
! 15230: rm -f conftest.er1
! 15231: cat conftest.err >&5
! 15232: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15233: (exit $ac_status); } && {
! 15234: test -z "$ac_f77_werror_flag" ||
! 15235: test ! -s conftest.err
! 15236: } && test -s conftest$ac_exeext && {
! 15237: test "$cross_compiling" = yes ||
! 15238: $as_test_x conftest$ac_exeext
! 15239: }; then
! 15240:
! 15241: lt_aix_libpath_sed='
! 15242: /Import File Strings/,/^$/ {
! 15243: /^0/ {
! 15244: s/^0 *\(.*\)$/\1/
! 15245: p
! 15246: }
! 15247: }'
! 15248: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15249: # Check for a 64-bit object if we didn't find anything.
! 15250: if test -z "$aix_libpath"; then
! 15251: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15252: fi
! 15253: else
! 15254: $as_echo "$as_me: failed program was:" >&5
! 15255: sed 's/^/| /' conftest.$ac_ext >&5
! 15256:
! 15257:
! 15258: fi
! 15259:
! 15260: rm -rf conftest.dSYM
! 15261: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 15262: conftest$ac_exeext conftest.$ac_ext
! 15263: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 15264:
! 15265: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 15266: archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 15267: else
! 15268: if test "$host_cpu" = ia64; then
! 15269: hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
! 15270: allow_undefined_flag_F77="-z nodefs"
! 15271: archive_expsym_cmds_F77="\$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"
! 15272: else
! 15273: # Determine the default libpath from the value encoded in an empty executable.
! 15274: cat >conftest.$ac_ext <<_ACEOF
! 15275: program main
! 15276:
! 15277: end
! 15278: _ACEOF
! 15279: rm -f conftest.$ac_objext conftest$ac_exeext
! 15280: if { (ac_try="$ac_link"
! 15281: case "(($ac_try" in
! 15282: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 15283: *) ac_try_echo=$ac_try;;
! 15284: esac
! 15285: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 15286: $as_echo "$ac_try_echo") >&5
! 15287: (eval "$ac_link") 2>conftest.er1
! 15288: ac_status=$?
! 15289: grep -v '^ *+' conftest.er1 >conftest.err
! 15290: rm -f conftest.er1
! 15291: cat conftest.err >&5
! 15292: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15293: (exit $ac_status); } && {
! 15294: test -z "$ac_f77_werror_flag" ||
! 15295: test ! -s conftest.err
! 15296: } && test -s conftest$ac_exeext && {
! 15297: test "$cross_compiling" = yes ||
! 15298: $as_test_x conftest$ac_exeext
! 15299: }; then
! 15300:
! 15301: lt_aix_libpath_sed='
! 15302: /Import File Strings/,/^$/ {
! 15303: /^0/ {
! 15304: s/^0 *\(.*\)$/\1/
! 15305: p
! 15306: }
! 15307: }'
! 15308: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15309: # Check for a 64-bit object if we didn't find anything.
! 15310: if test -z "$aix_libpath"; then
! 15311: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15312: fi
! 15313: else
! 15314: $as_echo "$as_me: failed program was:" >&5
! 15315: sed 's/^/| /' conftest.$ac_ext >&5
! 15316:
! 15317:
! 15318: fi
! 15319:
! 15320: rm -rf conftest.dSYM
! 15321: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 15322: conftest$ac_exeext conftest.$ac_ext
! 15323: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 15324:
! 15325: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 15326: # Warning - without using the other run time loading flags,
! 15327: # -berok will link without error, but may produce a broken library.
! 15328: no_undefined_flag_F77=' ${wl}-bernotok'
! 15329: allow_undefined_flag_F77=' ${wl}-berok'
! 15330: # Exported symbols can be pulled into shared objects from archives
! 15331: whole_archive_flag_spec_F77='$convenience'
! 15332: archive_cmds_need_lc_F77=yes
! 15333: # This is similar to how AIX traditionally builds its shared libraries.
! 15334: archive_expsym_cmds_F77="\$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'
! 15335: fi
! 15336: fi
! 15337: ;;
! 15338:
! 15339: amigaos*)
! 15340: archive_cmds_F77='$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)'
! 15341: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15342: hardcode_minus_L_F77=yes
! 15343: # see comment about different semantics on the GNU ld section
! 15344: ld_shlibs_F77=no
! 15345: ;;
! 15346:
! 15347: bsdi[45]*)
! 15348: export_dynamic_flag_spec_F77=-rdynamic
! 15349: ;;
! 15350:
! 15351: cygwin* | mingw* | pw32*)
! 15352: # When not using gcc, we currently assume that we are using
! 15353: # Microsoft Visual C++.
! 15354: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 15355: # no search path for DLLs.
! 15356: hardcode_libdir_flag_spec_F77=' '
! 15357: allow_undefined_flag_F77=unsupported
! 15358: # Tell ltmain to make .lib files, not .a files.
! 15359: libext=lib
! 15360: # Tell ltmain to make .dll files, not .so files.
! 15361: shrext_cmds=".dll"
! 15362: # FIXME: Setting linknames here is a bad hack.
! 15363: archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 15364: # The linker will automatically build a .lib file if we build a DLL.
! 15365: old_archive_From_new_cmds_F77='true'
! 15366: # FIXME: Should let the user specify the lib program.
! 15367: old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 15368: fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
! 15369: enable_shared_with_static_runtimes_F77=yes
! 15370: ;;
! 15371:
! 15372: darwin* | rhapsody*)
! 15373: case $host_os in
! 15374: rhapsody* | darwin1.[012])
! 15375: allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
! 15376: ;;
! 15377: *) # Darwin 1.3 on
! 15378: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 15379: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 15380: else
! 15381: case ${MACOSX_DEPLOYMENT_TARGET} in
! 15382: 10.[012])
! 15383: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 15384: ;;
! 15385: 10.*)
! 15386: allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
! 15387: ;;
! 15388: esac
! 15389: fi
! 15390: ;;
! 15391: esac
! 15392: archive_cmds_need_lc_F77=no
! 15393: hardcode_direct_F77=no
! 15394: hardcode_automatic_F77=yes
! 15395: hardcode_shlibpath_var_F77=unsupported
! 15396: whole_archive_flag_spec_F77=''
! 15397: link_all_deplibs_F77=yes
! 15398: if test "$GCC" = yes ; then
! 15399: output_verbose_link_cmd='echo'
! 15400: archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 15401: module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 15402: archive_expsym_cmds_F77="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}"
! 15403: module_expsym_cmds_F77="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}"
! 15404: else
! 15405: case $cc_basename in
! 15406: xlc*)
! 15407: output_verbose_link_cmd='echo'
! 15408: archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 15409: module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 15410: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 15411: archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 15412: module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 15413: ;;
! 15414: *)
! 15415: ld_shlibs_F77=no
! 15416: ;;
! 15417: esac
! 15418: fi
! 15419: ;;
! 15420:
! 15421: dgux*)
! 15422: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15423: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15424: hardcode_shlibpath_var_F77=no
! 15425: ;;
! 15426:
! 15427: freebsd1*)
! 15428: ld_shlibs_F77=no
! 15429: ;;
! 15430:
! 15431: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 15432: # support. Future versions do this automatically, but an explicit c++rt0.o
! 15433: # does not break anything, and helps significantly (at the cost of a little
! 15434: # extra space).
! 15435: freebsd2.2*)
! 15436: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 15437: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15438: hardcode_direct_F77=yes
! 15439: hardcode_shlibpath_var_F77=no
! 15440: ;;
! 15441:
! 15442: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 15443: freebsd2*)
! 15444: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15445: hardcode_direct_F77=yes
! 15446: hardcode_minus_L_F77=yes
! 15447: hardcode_shlibpath_var_F77=no
! 15448: ;;
! 15449:
! 15450: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 15451: freebsd* | dragonfly*)
! 15452: archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 15453: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15454: hardcode_direct_F77=yes
! 15455: hardcode_shlibpath_var_F77=no
! 15456: ;;
! 15457:
! 15458: hpux9*)
! 15459: if test "$GCC" = yes; then
! 15460: archive_cmds_F77='$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'
! 15461: else
! 15462: archive_cmds_F77='$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'
! 15463: fi
! 15464: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15465: hardcode_libdir_separator_F77=:
! 15466: hardcode_direct_F77=yes
! 15467:
! 15468: # hardcode_minus_L: Not really in the search PATH,
! 15469: # but as the default location of the library.
! 15470: hardcode_minus_L_F77=yes
! 15471: export_dynamic_flag_spec_F77='${wl}-E'
! 15472: ;;
! 15473:
! 15474: hpux10*)
! 15475: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 15476: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15477: else
! 15478: archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 15479: fi
! 15480: if test "$with_gnu_ld" = no; then
! 15481: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15482: hardcode_libdir_separator_F77=:
! 15483:
! 15484: hardcode_direct_F77=yes
! 15485: export_dynamic_flag_spec_F77='${wl}-E'
! 15486:
! 15487: # hardcode_minus_L: Not really in the search PATH,
! 15488: # but as the default location of the library.
! 15489: hardcode_minus_L_F77=yes
! 15490: fi
! 15491: ;;
! 15492:
! 15493: hpux11*)
! 15494: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 15495: case $host_cpu in
! 15496: hppa*64*)
! 15497: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15498: ;;
! 15499: ia64*)
! 15500: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 15501: ;;
! 15502: *)
! 15503: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15504: ;;
! 15505: esac
! 15506: else
! 15507: case $host_cpu in
! 15508: hppa*64*)
! 15509: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15510: ;;
! 15511: ia64*)
! 15512: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 15513: ;;
! 15514: *)
! 15515: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15516: ;;
! 15517: esac
! 15518: fi
! 15519: if test "$with_gnu_ld" = no; then
! 15520: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15521: hardcode_libdir_separator_F77=:
! 15522:
! 15523: case $host_cpu in
! 15524: hppa*64*|ia64*)
! 15525: hardcode_libdir_flag_spec_ld_F77='+b $libdir'
! 15526: hardcode_direct_F77=no
! 15527: hardcode_shlibpath_var_F77=no
! 15528: ;;
! 15529: *)
! 15530: hardcode_direct_F77=yes
! 15531: export_dynamic_flag_spec_F77='${wl}-E'
! 15532:
! 15533: # hardcode_minus_L: Not really in the search PATH,
! 15534: # but as the default location of the library.
! 15535: hardcode_minus_L_F77=yes
! 15536: ;;
! 15537: esac
! 15538: fi
! 15539: ;;
! 15540:
! 15541: irix5* | irix6* | nonstopux*)
! 15542: if test "$GCC" = yes; then
! 15543: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 15544: else
! 15545: archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 15546: hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
! 15547: fi
! 15548: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15549: hardcode_libdir_separator_F77=:
! 15550: link_all_deplibs_F77=yes
! 15551: ;;
! 15552:
! 15553: netbsd*)
! 15554: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 15555: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 15556: else
! 15557: archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 15558: fi
! 15559: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15560: hardcode_direct_F77=yes
! 15561: hardcode_shlibpath_var_F77=no
! 15562: ;;
! 15563:
! 15564: newsos6)
! 15565: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15566: hardcode_direct_F77=yes
! 15567: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15568: hardcode_libdir_separator_F77=:
! 15569: hardcode_shlibpath_var_F77=no
! 15570: ;;
! 15571:
! 15572: openbsd*)
! 15573: if test -f /usr/libexec/ld.so; then
! 15574: hardcode_direct_F77=yes
! 15575: hardcode_shlibpath_var_F77=no
! 15576: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 15577: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 15578: archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 15579: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 15580: export_dynamic_flag_spec_F77='${wl}-E'
! 15581: else
! 15582: case $host_os in
! 15583: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 15584: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15585: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15586: ;;
! 15587: *)
! 15588: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 15589: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 15590: ;;
! 15591: esac
! 15592: fi
! 15593: else
! 15594: ld_shlibs_F77=no
! 15595: fi
! 15596: ;;
! 15597:
! 15598: os2*)
! 15599: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15600: hardcode_minus_L_F77=yes
! 15601: allow_undefined_flag_F77=unsupported
! 15602: archive_cmds_F77='$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'
! 15603: old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 15604: ;;
! 15605:
! 15606: osf3*)
! 15607: if test "$GCC" = yes; then
! 15608: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 15609: archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 15610: else
! 15611: allow_undefined_flag_F77=' -expect_unresolved \*'
! 15612: archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 15613: fi
! 15614: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15615: hardcode_libdir_separator_F77=:
! 15616: ;;
! 15617:
! 15618: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 15619: if test "$GCC" = yes; then
! 15620: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 15621: archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 15622: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15623: else
! 15624: allow_undefined_flag_F77=' -expect_unresolved \*'
! 15625: archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 15626: archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 15627: $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
! 15628:
! 15629: # Both c and cxx compiler support -rpath directly
! 15630: hardcode_libdir_flag_spec_F77='-rpath $libdir'
! 15631: fi
! 15632: hardcode_libdir_separator_F77=:
! 15633: ;;
! 15634:
! 15635: solaris*)
! 15636: no_undefined_flag_F77=' -z text'
! 15637: if test "$GCC" = yes; then
! 15638: wlarc='${wl}'
! 15639: archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15640: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 15641: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 15642: else
! 15643: wlarc=''
! 15644: archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15645: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 15646: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 15647: fi
! 15648: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15649: hardcode_shlibpath_var_F77=no
! 15650: case $host_os in
! 15651: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 15652: *)
! 15653: # The compiler driver will combine and reorder linker options,
! 15654: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 15655: # but is careful enough not to reorder.
! 15656: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 15657: if test "$GCC" = yes; then
! 15658: whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 15659: else
! 15660: whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
! 15661: fi
! 15662: ;;
! 15663: esac
! 15664: link_all_deplibs_F77=yes
! 15665: ;;
! 15666:
! 15667: sunos4*)
! 15668: if test "x$host_vendor" = xsequent; then
! 15669: # Use $CC to link under sequent, because it throws in some extra .o
! 15670: # files that make .init and .fini sections work.
! 15671: archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 15672: else
! 15673: archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 15674: fi
! 15675: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15676: hardcode_direct_F77=yes
! 15677: hardcode_minus_L_F77=yes
! 15678: hardcode_shlibpath_var_F77=no
! 15679: ;;
! 15680:
! 15681: sysv4)
! 15682: case $host_vendor in
! 15683: sni)
! 15684: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15685: hardcode_direct_F77=yes # is this really true???
! 15686: ;;
! 15687: siemens)
! 15688: ## LD is ld it makes a PLAMLIB
! 15689: ## CC just makes a GrossModule.
! 15690: archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 15691: reload_cmds_F77='$CC -r -o $output$reload_objs'
! 15692: hardcode_direct_F77=no
! 15693: ;;
! 15694: motorola)
! 15695: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15696: hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
! 15697: ;;
! 15698: esac
! 15699: runpath_var='LD_RUN_PATH'
! 15700: hardcode_shlibpath_var_F77=no
! 15701: ;;
! 15702:
! 15703: sysv4.3*)
! 15704: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15705: hardcode_shlibpath_var_F77=no
! 15706: export_dynamic_flag_spec_F77='-Bexport'
! 15707: ;;
! 15708:
! 15709: sysv4*MP*)
! 15710: if test -d /usr/nec; then
! 15711: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15712: hardcode_shlibpath_var_F77=no
! 15713: runpath_var=LD_RUN_PATH
! 15714: hardcode_runpath_var=yes
! 15715: ld_shlibs_F77=yes
! 15716: fi
! 15717: ;;
! 15718:
! 15719: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 15720: no_undefined_flag_F77='${wl}-z,text'
! 15721: archive_cmds_need_lc_F77=no
! 15722: hardcode_shlibpath_var_F77=no
! 15723: runpath_var='LD_RUN_PATH'
! 15724:
! 15725: if test "$GCC" = yes; then
! 15726: archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15727: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15728: else
! 15729: archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15730: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15731: fi
! 15732: ;;
! 15733:
! 15734: sysv5* | sco3.2v5* | sco5v6*)
! 15735: # Note: We can NOT use -z defs as we might desire, because we do not
! 15736: # link with -lc, and that would cause any symbols used from libc to
! 15737: # always be unresolved, which means just about no library would
! 15738: # ever link correctly. If we're not using GNU ld we use -z text
! 15739: # though, which does catch some bad symbols but isn't as heavy-handed
! 15740: # as -z defs.
! 15741: no_undefined_flag_F77='${wl}-z,text'
! 15742: allow_undefined_flag_F77='${wl}-z,nodefs'
! 15743: archive_cmds_need_lc_F77=no
! 15744: hardcode_shlibpath_var_F77=no
! 15745: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 15746: hardcode_libdir_separator_F77=':'
! 15747: link_all_deplibs_F77=yes
! 15748: export_dynamic_flag_spec_F77='${wl}-Bexport'
! 15749: runpath_var='LD_RUN_PATH'
! 15750:
! 15751: if test "$GCC" = yes; then
! 15752: archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15753: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15754: else
! 15755: archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15756: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15757: fi
! 15758: ;;
! 15759:
! 15760: uts4*)
! 15761: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15762: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15763: hardcode_shlibpath_var_F77=no
! 15764: ;;
! 15765:
! 15766: *)
! 15767: ld_shlibs_F77=no
! 15768: ;;
! 15769: esac
! 15770: fi
! 15771:
! 15772: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
! 15773: $as_echo "$ld_shlibs_F77" >&6; }
! 15774: test "$ld_shlibs_F77" = no && can_build_shared=no
! 15775:
! 15776: #
! 15777: # Do we need to explicitly link libc?
! 15778: #
! 15779: case "x$archive_cmds_need_lc_F77" in
! 15780: x|xyes)
! 15781: # Assume -lc should be added
! 15782: archive_cmds_need_lc_F77=yes
! 15783:
! 15784: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 15785: case $archive_cmds_F77 in
! 15786: *'~'*)
! 15787: # FIXME: we may have to deal with multi-command sequences.
! 15788: ;;
! 15789: '$CC '*)
! 15790: # Test whether the compiler implicitly links with -lc since on some
! 15791: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 15792: # to ld, don't add -lc before -lgcc.
! 15793: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 15794: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 15795: $rm conftest*
! 15796: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 15797:
! 15798: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 15799: (eval $ac_compile) 2>&5
! 15800: ac_status=$?
! 15801: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15802: (exit $ac_status); } 2>conftest.err; then
! 15803: soname=conftest
! 15804: lib=conftest
! 15805: libobjs=conftest.$ac_objext
! 15806: deplibs=
! 15807: wl=$lt_prog_compiler_wl_F77
! 15808: pic_flag=$lt_prog_compiler_pic_F77
! 15809: compiler_flags=-v
! 15810: linker_flags=-v
! 15811: verstring=
! 15812: output_objdir=.
! 15813: libname=conftest
! 15814: lt_save_allow_undefined_flag=$allow_undefined_flag_F77
! 15815: allow_undefined_flag_F77=
! 15816: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 15817: (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 15818: ac_status=$?
! 15819: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15820: (exit $ac_status); }
! 15821: then
! 15822: archive_cmds_need_lc_F77=no
! 15823: else
! 15824: archive_cmds_need_lc_F77=yes
! 15825: fi
! 15826: allow_undefined_flag_F77=$lt_save_allow_undefined_flag
! 15827: else
! 15828: cat conftest.err 1>&5
! 15829: fi
! 15830: $rm conftest*
! 15831: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
! 15832: $as_echo "$archive_cmds_need_lc_F77" >&6; }
! 15833: ;;
! 15834: esac
! 15835: fi
! 15836: ;;
! 15837: esac
! 15838:
! 15839: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 15840: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 15841: library_names_spec=
! 15842: libname_spec='lib$name'
! 15843: soname_spec=
! 15844: shrext_cmds=".so"
! 15845: postinstall_cmds=
! 15846: postuninstall_cmds=
! 15847: finish_cmds=
! 15848: finish_eval=
! 15849: shlibpath_var=
! 15850: shlibpath_overrides_runpath=unknown
! 15851: version_type=none
! 15852: dynamic_linker="$host_os ld.so"
! 15853: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 15854:
! 15855: need_lib_prefix=unknown
! 15856: hardcode_into_libs=no
! 15857:
! 15858: # when you set need_version to no, make sure it does not cause -set_version
! 15859: # flags to be left without arguments
! 15860: need_version=unknown
! 15861:
! 15862: case $host_os in
! 15863: aix3*)
! 15864: version_type=linux
! 15865: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 15866: shlibpath_var=LIBPATH
! 15867:
! 15868: # AIX 3 has no versioning support, so we append a major version to the name.
! 15869: soname_spec='${libname}${release}${shared_ext}$major'
! 15870: ;;
! 15871:
! 15872: aix[4-9]*)
! 15873: version_type=linux
! 15874: need_lib_prefix=no
! 15875: need_version=no
! 15876: hardcode_into_libs=yes
! 15877: if test "$host_cpu" = ia64; then
! 15878: # AIX 5 supports IA64
! 15879: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 15880: shlibpath_var=LD_LIBRARY_PATH
! 15881: else
! 15882: # With GCC up to 2.95.x, collect2 would create an import file
! 15883: # for dependence libraries. The import file would start with
! 15884: # the line `#! .'. This would cause the generated library to
! 15885: # depend on `.', always an invalid library. This was fixed in
! 15886: # development snapshots of GCC prior to 3.0.
! 15887: case $host_os in
! 15888: aix4 | aix4.[01] | aix4.[01].*)
! 15889: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 15890: echo ' yes '
! 15891: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 15892: :
! 15893: else
! 15894: can_build_shared=no
! 15895: fi
! 15896: ;;
! 15897: esac
! 15898: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 15899: # soname into executable. Probably we can add versioning support to
! 15900: # collect2, so additional links can be useful in future.
! 15901: if test "$aix_use_runtimelinking" = yes; then
! 15902: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 15903: # instead of lib<name>.a to let people know that these are not
! 15904: # typical AIX shared libraries.
! 15905: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15906: else
! 15907: # We preserve .a as extension for shared libraries through AIX4.2
! 15908: # and later when we are not doing run time linking.
! 15909: library_names_spec='${libname}${release}.a $libname.a'
! 15910: soname_spec='${libname}${release}${shared_ext}$major'
! 15911: fi
! 15912: shlibpath_var=LIBPATH
! 15913: fi
! 15914: ;;
! 15915:
! 15916: amigaos*)
! 15917: library_names_spec='$libname.ixlibrary $libname.a'
! 15918: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 15919: 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'
! 15920: ;;
! 15921:
! 15922: beos*)
! 15923: library_names_spec='${libname}${shared_ext}'
! 15924: dynamic_linker="$host_os ld.so"
! 15925: shlibpath_var=LIBRARY_PATH
! 15926: ;;
! 15927:
! 15928: bsdi[45]*)
! 15929: version_type=linux
! 15930: need_version=no
! 15931: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15932: soname_spec='${libname}${release}${shared_ext}$major'
! 15933: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 15934: shlibpath_var=LD_LIBRARY_PATH
! 15935: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 15936: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 15937: # the default ld.so.conf also contains /usr/contrib/lib and
! 15938: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 15939: # libtool to hard-code these into programs
! 15940: ;;
! 15941:
! 15942: cygwin* | mingw* | pw32*)
! 15943: version_type=windows
! 15944: shrext_cmds=".dll"
! 15945: need_version=no
! 15946: need_lib_prefix=no
! 15947:
! 15948: case $GCC,$host_os in
! 15949: yes,cygwin* | yes,mingw* | yes,pw32*)
! 15950: library_names_spec='$libname.dll.a'
! 15951: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 15952: postinstall_cmds='base_file=`basename \${file}`~
! 15953: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 15954: dldir=$destdir/`dirname \$dlpath`~
! 15955: test -d \$dldir || mkdir -p \$dldir~
! 15956: $install_prog $dir/$dlname \$dldir/$dlname~
! 15957: chmod a+x \$dldir/$dlname'
! 15958: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 15959: dlpath=$dir/\$dldll~
! 15960: $rm \$dlpath'
! 15961: shlibpath_overrides_runpath=yes
! 15962:
! 15963: case $host_os in
! 15964: cygwin*)
! 15965: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 15966: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15967: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 15968: ;;
! 15969: mingw*)
! 15970: # MinGW DLLs use traditional 'lib' prefix
! 15971: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15972: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 15973: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 15974: # It is most probably a Windows format PATH printed by
! 15975: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 15976: # path with ; separators, and with drive letters. We can handle the
! 15977: # drive letters (cygwin fileutils understands them), so leave them,
! 15978: # especially as we might pass files found there to a mingw objdump,
! 15979: # which wouldn't understand a cygwinified path. Ahh.
! 15980: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 15981: else
! 15982: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 15983: fi
! 15984: ;;
! 15985: pw32*)
! 15986: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 15987: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15988: ;;
! 15989: esac
! 15990: ;;
! 15991:
! 15992: *)
! 15993: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 15994: ;;
! 15995: esac
! 15996: dynamic_linker='Win32 ld.exe'
! 15997: # FIXME: first we should search . and the directory the executable is in
! 15998: shlibpath_var=PATH
! 15999: ;;
! 16000:
! 16001: darwin* | rhapsody*)
! 16002: dynamic_linker="$host_os dyld"
! 16003: version_type=darwin
! 16004: need_lib_prefix=no
! 16005: need_version=no
! 16006: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 16007: soname_spec='${libname}${release}${major}$shared_ext'
! 16008: shlibpath_overrides_runpath=yes
! 16009: shlibpath_var=DYLD_LIBRARY_PATH
! 16010: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 16011:
! 16012: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 16013: ;;
! 16014:
! 16015: dgux*)
! 16016: version_type=linux
! 16017: need_lib_prefix=no
! 16018: need_version=no
! 16019: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 16020: soname_spec='${libname}${release}${shared_ext}$major'
! 16021: shlibpath_var=LD_LIBRARY_PATH
! 16022: ;;
! 16023:
! 16024: freebsd1*)
! 16025: dynamic_linker=no
! 16026: ;;
! 16027:
! 16028: freebsd* | dragonfly*)
! 16029: # DragonFly does not have aout. When/if they implement a new
! 16030: # versioning mechanism, adjust this.
! 16031: if test -x /usr/bin/objformat; then
! 16032: objformat=`/usr/bin/objformat`
! 16033: else
! 16034: case $host_os in
! 16035: freebsd[123]*) objformat=aout ;;
! 16036: *) objformat=elf ;;
! 16037: esac
! 16038: fi
! 16039: # Handle Gentoo/FreeBSD as it was Linux
! 16040: case $host_vendor in
! 16041: gentoo)
! 16042: version_type=linux ;;
! 16043: *)
! 16044: version_type=freebsd-$objformat ;;
! 16045: esac
! 16046:
! 16047: case $version_type in
! 16048: freebsd-elf*)
! 16049: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16050: need_version=no
! 16051: need_lib_prefix=no
! 16052: ;;
! 16053: freebsd-*)
! 16054: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 16055: need_version=yes
! 16056: ;;
! 16057: linux)
! 16058: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16059: soname_spec='${libname}${release}${shared_ext}$major'
! 16060: need_lib_prefix=no
! 16061: need_version=no
! 16062: ;;
! 16063: esac
! 16064: shlibpath_var=LD_LIBRARY_PATH
! 16065: case $host_os in
! 16066: freebsd2*)
! 16067: shlibpath_overrides_runpath=yes
! 16068: ;;
! 16069: freebsd3.[01]* | freebsdelf3.[01]*)
! 16070: shlibpath_overrides_runpath=yes
! 16071: hardcode_into_libs=yes
! 16072: ;;
! 16073: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 16074: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 16075: shlibpath_overrides_runpath=no
! 16076: hardcode_into_libs=yes
! 16077: ;;
! 16078: *) # from 4.6 on, and DragonFly
! 16079: shlibpath_overrides_runpath=yes
! 16080: hardcode_into_libs=yes
! 16081: ;;
! 16082: esac
! 16083: ;;
! 16084:
! 16085: gnu*)
! 16086: version_type=linux
! 16087: need_lib_prefix=no
! 16088: need_version=no
! 16089: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 16090: soname_spec='${libname}${release}${shared_ext}$major'
! 16091: shlibpath_var=LD_LIBRARY_PATH
! 16092: hardcode_into_libs=yes
! 16093: ;;
! 16094:
! 16095: hpux9* | hpux10* | hpux11*)
! 16096: # Give a soname corresponding to the major version so that dld.sl refuses to
! 16097: # link against other versions.
! 16098: version_type=sunos
! 16099: need_lib_prefix=no
! 16100: need_version=no
! 16101: case $host_cpu in
! 16102: ia64*)
! 16103: shrext_cmds='.so'
! 16104: hardcode_into_libs=yes
! 16105: dynamic_linker="$host_os dld.so"
! 16106: shlibpath_var=LD_LIBRARY_PATH
! 16107: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 16108: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16109: soname_spec='${libname}${release}${shared_ext}$major'
! 16110: if test "X$HPUX_IA64_MODE" = X32; then
! 16111: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 16112: else
! 16113: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 16114: fi
! 16115: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 16116: ;;
! 16117: hppa*64*)
! 16118: shrext_cmds='.sl'
! 16119: hardcode_into_libs=yes
! 16120: dynamic_linker="$host_os dld.sl"
! 16121: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 16122: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 16123: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16124: soname_spec='${libname}${release}${shared_ext}$major'
! 16125: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 16126: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 16127: ;;
! 16128: *)
! 16129: shrext_cmds='.sl'
! 16130: dynamic_linker="$host_os dld.sl"
! 16131: shlibpath_var=SHLIB_PATH
! 16132: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 16133: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16134: soname_spec='${libname}${release}${shared_ext}$major'
! 16135: ;;
! 16136: esac
! 16137: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 16138: postinstall_cmds='chmod 555 $lib'
! 16139: ;;
! 16140:
! 16141: interix[3-9]*)
! 16142: version_type=linux
! 16143: need_lib_prefix=no
! 16144: need_version=no
! 16145: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16146: soname_spec='${libname}${release}${shared_ext}$major'
! 16147: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 16148: shlibpath_var=LD_LIBRARY_PATH
! 16149: shlibpath_overrides_runpath=no
! 16150: hardcode_into_libs=yes
! 16151: ;;
! 16152:
! 16153: irix5* | irix6* | nonstopux*)
! 16154: case $host_os in
! 16155: nonstopux*) version_type=nonstopux ;;
! 16156: *)
! 16157: if test "$lt_cv_prog_gnu_ld" = yes; then
! 16158: version_type=linux
! 16159: else
! 16160: version_type=irix
! 16161: fi ;;
! 16162: esac
! 16163: need_lib_prefix=no
! 16164: need_version=no
! 16165: soname_spec='${libname}${release}${shared_ext}$major'
! 16166: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16167: case $host_os in
! 16168: irix5* | nonstopux*)
! 16169: libsuff= shlibsuff=
! 16170: ;;
! 16171: *)
! 16172: case $LD in # libtool.m4 will add one of these switches to LD
! 16173: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 16174: libsuff= shlibsuff= libmagic=32-bit;;
! 16175: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 16176: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 16177: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 16178: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 16179: *) libsuff= shlibsuff= libmagic=never-match;;
! 16180: esac
! 16181: ;;
! 16182: esac
! 16183: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 16184: shlibpath_overrides_runpath=no
! 16185: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 16186: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 16187: hardcode_into_libs=yes
! 16188: ;;
! 16189:
! 16190: # No shared lib support for Linux oldld, aout, or coff.
! 16191: linux*oldld* | linux*aout* | linux*coff*)
! 16192: dynamic_linker=no
! 16193: ;;
! 16194:
! 16195: # This must be Linux ELF.
! 16196: linux* | k*bsd*-gnu)
! 16197: version_type=linux
! 16198: need_lib_prefix=no
! 16199: need_version=no
! 16200: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16201: soname_spec='${libname}${release}${shared_ext}$major'
! 16202: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 16203: shlibpath_var=LD_LIBRARY_PATH
! 16204: shlibpath_overrides_runpath=no
! 16205: # This implies no fast_install, which is unacceptable.
! 16206: # Some rework will be needed to allow for fast_install
! 16207: # before this can be enabled.
! 16208: hardcode_into_libs=yes
! 16209:
! 16210: # Append ld.so.conf contents to the search path
! 16211: if test -f /etc/ld.so.conf; then
! 16212: 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' ' '`
! 16213: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 16214: fi
! 16215:
! 16216: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 16217: # powerpc, because MkLinux only supported shared libraries with the
! 16218: # GNU dynamic linker. Since this was broken with cross compilers,
! 16219: # most powerpc-linux boxes support dynamic linking these days and
! 16220: # people can always --disable-shared, the test was removed, and we
! 16221: # assume the GNU/Linux dynamic linker is in use.
! 16222: dynamic_linker='GNU/Linux ld.so'
! 16223: ;;
! 16224:
! 16225: netbsd*)
! 16226: version_type=sunos
! 16227: need_lib_prefix=no
! 16228: need_version=no
! 16229: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 16230: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16231: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 16232: dynamic_linker='NetBSD (a.out) ld.so'
! 16233: else
! 16234: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16235: soname_spec='${libname}${release}${shared_ext}$major'
! 16236: dynamic_linker='NetBSD ld.elf_so'
! 16237: fi
! 16238: shlibpath_var=LD_LIBRARY_PATH
! 16239: shlibpath_overrides_runpath=yes
! 16240: hardcode_into_libs=yes
! 16241: ;;
! 16242:
! 16243: newsos6)
! 16244: version_type=linux
! 16245: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16246: shlibpath_var=LD_LIBRARY_PATH
! 16247: shlibpath_overrides_runpath=yes
! 16248: ;;
! 16249:
! 16250: nto-qnx*)
! 16251: version_type=linux
! 16252: need_lib_prefix=no
! 16253: need_version=no
! 16254: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16255: soname_spec='${libname}${release}${shared_ext}$major'
! 16256: shlibpath_var=LD_LIBRARY_PATH
! 16257: shlibpath_overrides_runpath=yes
! 16258: ;;
! 16259:
! 16260: openbsd*)
! 16261: version_type=sunos
! 16262: sys_lib_dlsearch_path_spec="/usr/lib"
! 16263: need_lib_prefix=no
! 16264: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 16265: case $host_os in
! 16266: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 16267: *) need_version=no ;;
! 16268: esac
! 16269: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16270: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 16271: shlibpath_var=LD_LIBRARY_PATH
! 16272: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 16273: case $host_os in
! 16274: openbsd2.[89] | openbsd2.[89].*)
! 16275: shlibpath_overrides_runpath=no
! 16276: ;;
! 16277: *)
! 16278: shlibpath_overrides_runpath=yes
! 16279: ;;
! 16280: esac
! 16281: else
! 16282: shlibpath_overrides_runpath=yes
! 16283: fi
! 16284: ;;
! 16285:
! 16286: os2*)
! 16287: libname_spec='$name'
! 16288: shrext_cmds=".dll"
! 16289: need_lib_prefix=no
! 16290: library_names_spec='$libname${shared_ext} $libname.a'
! 16291: dynamic_linker='OS/2 ld.exe'
! 16292: shlibpath_var=LIBPATH
! 16293: ;;
! 16294:
! 16295: osf3* | osf4* | osf5*)
! 16296: version_type=osf
! 16297: need_lib_prefix=no
! 16298: need_version=no
! 16299: soname_spec='${libname}${release}${shared_ext}$major'
! 16300: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16301: shlibpath_var=LD_LIBRARY_PATH
! 16302: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 16303: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 16304: ;;
! 16305:
! 16306: rdos*)
! 16307: dynamic_linker=no
! 16308: ;;
! 16309:
! 16310: solaris*)
! 16311: version_type=linux
! 16312: need_lib_prefix=no
! 16313: need_version=no
! 16314: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16315: soname_spec='${libname}${release}${shared_ext}$major'
! 16316: shlibpath_var=LD_LIBRARY_PATH
! 16317: shlibpath_overrides_runpath=yes
! 16318: hardcode_into_libs=yes
! 16319: # ldd complains unless libraries are executable
! 16320: postinstall_cmds='chmod +x $lib'
! 16321: ;;
! 16322:
! 16323: sunos4*)
! 16324: version_type=sunos
! 16325: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16326: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 16327: shlibpath_var=LD_LIBRARY_PATH
! 16328: shlibpath_overrides_runpath=yes
! 16329: if test "$with_gnu_ld" = yes; then
! 16330: need_lib_prefix=no
! 16331: fi
! 16332: need_version=yes
! 16333: ;;
! 16334:
! 16335: sysv4 | sysv4.3*)
! 16336: version_type=linux
! 16337: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16338: soname_spec='${libname}${release}${shared_ext}$major'
! 16339: shlibpath_var=LD_LIBRARY_PATH
! 16340: case $host_vendor in
! 16341: sni)
! 16342: shlibpath_overrides_runpath=no
! 16343: need_lib_prefix=no
! 16344: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 16345: runpath_var=LD_RUN_PATH
! 16346: ;;
! 16347: siemens)
! 16348: need_lib_prefix=no
! 16349: ;;
! 16350: motorola)
! 16351: need_lib_prefix=no
! 16352: need_version=no
! 16353: shlibpath_overrides_runpath=no
! 16354: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 16355: ;;
! 16356: esac
! 16357: ;;
! 16358:
! 16359: sysv4*MP*)
! 16360: if test -d /usr/nec ;then
! 16361: version_type=linux
! 16362: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 16363: soname_spec='$libname${shared_ext}.$major'
! 16364: shlibpath_var=LD_LIBRARY_PATH
! 16365: fi
! 16366: ;;
! 16367:
! 16368: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 16369: version_type=freebsd-elf
! 16370: need_lib_prefix=no
! 16371: need_version=no
! 16372: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16373: soname_spec='${libname}${release}${shared_ext}$major'
! 16374: shlibpath_var=LD_LIBRARY_PATH
! 16375: hardcode_into_libs=yes
! 16376: if test "$with_gnu_ld" = yes; then
! 16377: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 16378: shlibpath_overrides_runpath=no
! 16379: else
! 16380: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 16381: shlibpath_overrides_runpath=yes
! 16382: case $host_os in
! 16383: sco3.2v5*)
! 16384: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 16385: ;;
! 16386: esac
! 16387: fi
! 16388: sys_lib_dlsearch_path_spec='/usr/lib'
! 16389: ;;
! 16390:
! 16391: uts4*)
! 16392: version_type=linux
! 16393: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16394: soname_spec='${libname}${release}${shared_ext}$major'
! 16395: shlibpath_var=LD_LIBRARY_PATH
! 16396: ;;
! 16397:
! 16398: *)
! 16399: dynamic_linker=no
! 16400: ;;
! 16401: esac
! 16402: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 16403: $as_echo "$dynamic_linker" >&6; }
! 16404: test "$dynamic_linker" = no && can_build_shared=no
! 16405:
! 16406: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 16407: $as_echo_n "(cached) " >&6
! 16408: else
! 16409: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 16410: fi
! 16411:
! 16412: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 16413: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 16414: $as_echo_n "(cached) " >&6
! 16415: else
! 16416: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 16417: fi
! 16418:
! 16419: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 16420:
! 16421: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 16422: if test "$GCC" = yes; then
! 16423: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 16424: fi
! 16425:
! 16426: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 16427: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 16428: hardcode_action_F77=
! 16429: if test -n "$hardcode_libdir_flag_spec_F77" || \
! 16430: test -n "$runpath_var_F77" || \
! 16431: test "X$hardcode_automatic_F77" = "Xyes" ; then
! 16432:
! 16433: # We can hardcode non-existant directories.
! 16434: if test "$hardcode_direct_F77" != no &&
! 16435: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 16436: # have to relink, otherwise we might link with an installed library
! 16437: # when we should be linking with a yet-to-be-installed one
! 16438: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
! 16439: test "$hardcode_minus_L_F77" != no; then
! 16440: # Linking always hardcodes the temporary library directory.
! 16441: hardcode_action_F77=relink
! 16442: else
! 16443: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 16444: hardcode_action_F77=immediate
! 16445: fi
! 16446: else
! 16447: # We cannot hardcode anything, or else we can only hardcode existing
! 16448: # directories.
! 16449: hardcode_action_F77=unsupported
! 16450: fi
! 16451: { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
! 16452: $as_echo "$hardcode_action_F77" >&6; }
! 16453:
! 16454: if test "$hardcode_action_F77" = relink; then
! 16455: # Fast installation is not supported
! 16456: enable_fast_install=no
! 16457: elif test "$shlibpath_overrides_runpath" = yes ||
! 16458: test "$enable_shared" = no; then
! 16459: # Fast installation is not necessary
! 16460: enable_fast_install=needless
! 16461: fi
! 16462:
! 16463:
! 16464: # The else clause should only fire when bootstrapping the
! 16465: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 16466: # with your package, and you will get complaints that there are
! 16467: # no rules to generate ltmain.sh.
! 16468: if test -f "$ltmain"; then
! 16469: # See if we are running on zsh, and set the options which allow our commands through
! 16470: # without removal of \ escapes.
! 16471: if test -n "${ZSH_VERSION+set}" ; then
! 16472: setopt NO_GLOB_SUBST
! 16473: fi
! 16474: # Now quote all the things that may contain metacharacters while being
! 16475: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 16476: # variables and quote the copies for generation of the libtool script.
! 16477: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 16478: SED SHELL STRIP \
! 16479: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 16480: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 16481: deplibs_check_method reload_flag reload_cmds need_locks \
! 16482: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 16483: lt_cv_sys_global_symbol_to_c_name_address \
! 16484: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 16485: old_postinstall_cmds old_postuninstall_cmds \
! 16486: compiler_F77 \
! 16487: CC_F77 \
! 16488: LD_F77 \
! 16489: lt_prog_compiler_wl_F77 \
! 16490: lt_prog_compiler_pic_F77 \
! 16491: lt_prog_compiler_static_F77 \
! 16492: lt_prog_compiler_no_builtin_flag_F77 \
! 16493: export_dynamic_flag_spec_F77 \
! 16494: thread_safe_flag_spec_F77 \
! 16495: whole_archive_flag_spec_F77 \
! 16496: enable_shared_with_static_runtimes_F77 \
! 16497: old_archive_cmds_F77 \
! 16498: old_archive_from_new_cmds_F77 \
! 16499: predep_objects_F77 \
! 16500: postdep_objects_F77 \
! 16501: predeps_F77 \
! 16502: postdeps_F77 \
! 16503: compiler_lib_search_path_F77 \
! 16504: compiler_lib_search_dirs_F77 \
! 16505: archive_cmds_F77 \
! 16506: archive_expsym_cmds_F77 \
! 16507: postinstall_cmds_F77 \
! 16508: postuninstall_cmds_F77 \
! 16509: old_archive_from_expsyms_cmds_F77 \
! 16510: allow_undefined_flag_F77 \
! 16511: no_undefined_flag_F77 \
! 16512: export_symbols_cmds_F77 \
! 16513: hardcode_libdir_flag_spec_F77 \
! 16514: hardcode_libdir_flag_spec_ld_F77 \
! 16515: hardcode_libdir_separator_F77 \
! 16516: hardcode_automatic_F77 \
! 16517: module_cmds_F77 \
! 16518: module_expsym_cmds_F77 \
! 16519: lt_cv_prog_compiler_c_o_F77 \
! 16520: fix_srcfile_path_F77 \
! 16521: exclude_expsyms_F77 \
! 16522: include_expsyms_F77; do
! 16523:
! 16524: case $var in
! 16525: old_archive_cmds_F77 | \
! 16526: old_archive_from_new_cmds_F77 | \
! 16527: archive_cmds_F77 | \
! 16528: archive_expsym_cmds_F77 | \
! 16529: module_cmds_F77 | \
! 16530: module_expsym_cmds_F77 | \
! 16531: old_archive_from_expsyms_cmds_F77 | \
! 16532: export_symbols_cmds_F77 | \
! 16533: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 16534: postinstall_cmds | postuninstall_cmds | \
! 16535: old_postinstall_cmds | old_postuninstall_cmds | \
! 16536: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 16537: # Double-quote double-evaled strings.
! 16538: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 16539: ;;
! 16540: *)
! 16541: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 16542: ;;
! 16543: esac
! 16544: done
! 16545:
! 16546: case $lt_echo in
! 16547: *'\$0 --fallback-echo"')
! 16548: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 16549: ;;
! 16550: esac
! 16551:
! 16552: cfgfile="$ofile"
! 16553:
! 16554: cat <<__EOF__ >> "$cfgfile"
! 16555: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 16556:
! 16557: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 16558:
! 16559: # Shell to use when invoking shell scripts.
! 16560: SHELL=$lt_SHELL
! 16561:
! 16562: # Whether or not to build shared libraries.
! 16563: build_libtool_libs=$enable_shared
! 16564:
! 16565: # Whether or not to build static libraries.
! 16566: build_old_libs=$enable_static
! 16567:
! 16568: # Whether or not to add -lc for building shared libraries.
! 16569: build_libtool_need_lc=$archive_cmds_need_lc_F77
! 16570:
! 16571: # Whether or not to disallow shared libs when runtime libs are static
! 16572: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
! 16573:
! 16574: # Whether or not to optimize for fast installation.
! 16575: fast_install=$enable_fast_install
! 16576:
! 16577: # The host system.
! 16578: host_alias=$host_alias
! 16579: host=$host
! 16580: host_os=$host_os
! 16581:
! 16582: # The build system.
! 16583: build_alias=$build_alias
! 16584: build=$build
! 16585: build_os=$build_os
! 16586:
! 16587: # An echo program that does not interpret backslashes.
! 16588: echo=$lt_echo
! 16589:
! 16590: # The archiver.
! 16591: AR=$lt_AR
! 16592: AR_FLAGS=$lt_AR_FLAGS
! 16593:
! 16594: # A C compiler.
! 16595: LTCC=$lt_LTCC
! 16596:
! 16597: # LTCC compiler flags.
! 16598: LTCFLAGS=$lt_LTCFLAGS
! 16599:
! 16600: # A language-specific compiler.
! 16601: CC=$lt_compiler_F77
! 16602:
! 16603: # Is the compiler the GNU C compiler?
! 16604: with_gcc=$GCC_F77
! 16605:
! 16606: # An ERE matcher.
! 16607: EGREP=$lt_EGREP
! 16608:
! 16609: # The linker used to build libraries.
! 16610: LD=$lt_LD_F77
! 16611:
! 16612: # Whether we need hard or soft links.
! 16613: LN_S=$lt_LN_S
! 16614:
! 16615: # A BSD-compatible nm program.
! 16616: NM=$lt_NM
! 16617:
! 16618: # A symbol stripping program
! 16619: STRIP=$lt_STRIP
! 16620:
! 16621: # Used to examine libraries when file_magic_cmd begins "file"
! 16622: MAGIC_CMD=$MAGIC_CMD
! 16623:
! 16624: # Used on cygwin: DLL creation program.
! 16625: DLLTOOL="$DLLTOOL"
! 16626:
! 16627: # Used on cygwin: object dumper.
! 16628: OBJDUMP="$OBJDUMP"
! 16629:
! 16630: # Used on cygwin: assembler.
! 16631: AS="$AS"
! 16632:
! 16633: # The name of the directory that contains temporary libtool files.
! 16634: objdir=$objdir
! 16635:
! 16636: # How to create reloadable object files.
! 16637: reload_flag=$lt_reload_flag
! 16638: reload_cmds=$lt_reload_cmds
! 16639:
! 16640: # How to pass a linker flag through the compiler.
! 16641: wl=$lt_lt_prog_compiler_wl_F77
! 16642:
! 16643: # Object file suffix (normally "o").
! 16644: objext="$ac_objext"
! 16645:
! 16646: # Old archive suffix (normally "a").
! 16647: libext="$libext"
! 16648:
! 16649: # Shared library suffix (normally ".so").
! 16650: shrext_cmds='$shrext_cmds'
! 16651:
! 16652: # Executable file suffix (normally "").
! 16653: exeext="$exeext"
! 16654:
! 16655: # Additional compiler flags for building library objects.
! 16656: pic_flag=$lt_lt_prog_compiler_pic_F77
! 16657: pic_mode=$pic_mode
! 16658:
! 16659: # What is the maximum length of a command?
! 16660: max_cmd_len=$lt_cv_sys_max_cmd_len
! 16661:
! 16662: # Does compiler simultaneously support -c and -o options?
! 16663: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
! 16664:
! 16665: # Must we lock files when doing compilation?
! 16666: need_locks=$lt_need_locks
! 16667:
! 16668: # Do we need the lib prefix for modules?
! 16669: need_lib_prefix=$need_lib_prefix
! 16670:
! 16671: # Do we need a version for libraries?
! 16672: need_version=$need_version
! 16673:
! 16674: # Whether dlopen is supported.
! 16675: dlopen_support=$enable_dlopen
! 16676:
! 16677: # Whether dlopen of programs is supported.
! 16678: dlopen_self=$enable_dlopen_self
! 16679:
! 16680: # Whether dlopen of statically linked programs is supported.
! 16681: dlopen_self_static=$enable_dlopen_self_static
! 16682:
! 16683: # Compiler flag to prevent dynamic linking.
! 16684: link_static_flag=$lt_lt_prog_compiler_static_F77
! 16685:
! 16686: # Compiler flag to turn off builtin functions.
! 16687: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
! 16688:
! 16689: # Compiler flag to allow reflexive dlopens.
! 16690: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
! 16691:
! 16692: # Compiler flag to generate shared objects directly from archives.
! 16693: whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
! 16694:
! 16695: # Compiler flag to generate thread-safe objects.
! 16696: thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
! 16697:
! 16698: # Library versioning type.
! 16699: version_type=$version_type
! 16700:
! 16701: # Format of library name prefix.
! 16702: libname_spec=$lt_libname_spec
! 16703:
! 16704: # List of archive names. First name is the real one, the rest are links.
! 16705: # The last name is the one that the linker finds with -lNAME.
! 16706: library_names_spec=$lt_library_names_spec
! 16707:
! 16708: # The coded name of the library, if different from the real name.
! 16709: soname_spec=$lt_soname_spec
! 16710:
! 16711: # Commands used to build and install an old-style archive.
! 16712: RANLIB=$lt_RANLIB
! 16713: old_archive_cmds=$lt_old_archive_cmds_F77
! 16714: old_postinstall_cmds=$lt_old_postinstall_cmds
! 16715: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 16716:
! 16717: # Create an old-style archive from a shared archive.
! 16718: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
! 16719:
! 16720: # Create a temporary old-style archive to link instead of a shared archive.
! 16721: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
! 16722:
! 16723: # Commands used to build and install a shared archive.
! 16724: archive_cmds=$lt_archive_cmds_F77
! 16725: archive_expsym_cmds=$lt_archive_expsym_cmds_F77
! 16726: postinstall_cmds=$lt_postinstall_cmds
! 16727: postuninstall_cmds=$lt_postuninstall_cmds
! 16728:
! 16729: # Commands used to build a loadable module (assumed same as above if empty)
! 16730: module_cmds=$lt_module_cmds_F77
! 16731: module_expsym_cmds=$lt_module_expsym_cmds_F77
! 16732:
! 16733: # Commands to strip libraries.
! 16734: old_striplib=$lt_old_striplib
! 16735: striplib=$lt_striplib
! 16736:
! 16737: # Dependencies to place before the objects being linked to create a
! 16738: # shared library.
! 16739: predep_objects=$lt_predep_objects_F77
! 16740:
! 16741: # Dependencies to place after the objects being linked to create a
! 16742: # shared library.
! 16743: postdep_objects=$lt_postdep_objects_F77
! 16744:
! 16745: # Dependencies to place before the objects being linked to create a
! 16746: # shared library.
! 16747: predeps=$lt_predeps_F77
! 16748:
! 16749: # Dependencies to place after the objects being linked to create a
! 16750: # shared library.
! 16751: postdeps=$lt_postdeps_F77
! 16752:
! 16753: # The directories searched by this compiler when creating a shared
! 16754: # library
! 16755: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
! 16756:
! 16757: # The library search path used internally by the compiler when linking
! 16758: # a shared library.
! 16759: compiler_lib_search_path=$lt_compiler_lib_search_path_F77
! 16760:
! 16761: # Method to check whether dependent libraries are shared objects.
! 16762: deplibs_check_method=$lt_deplibs_check_method
! 16763:
! 16764: # Command to use when deplibs_check_method == file_magic.
! 16765: file_magic_cmd=$lt_file_magic_cmd
! 16766:
! 16767: # Flag that allows shared libraries with undefined symbols to be built.
! 16768: allow_undefined_flag=$lt_allow_undefined_flag_F77
! 16769:
! 16770: # Flag that forces no undefined symbols.
! 16771: no_undefined_flag=$lt_no_undefined_flag_F77
! 16772:
! 16773: # Commands used to finish a libtool library installation in a directory.
! 16774: finish_cmds=$lt_finish_cmds
! 16775:
! 16776: # Same as above, but a single script fragment to be evaled but not shown.
! 16777: finish_eval=$lt_finish_eval
! 16778:
! 16779: # Take the output of nm and produce a listing of raw symbols and C names.
! 16780: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 16781:
! 16782: # Transform the output of nm in a proper C declaration
! 16783: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 16784:
! 16785: # Transform the output of nm in a C name address pair
! 16786: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 16787:
! 16788: # This is the shared library runtime path variable.
! 16789: runpath_var=$runpath_var
! 16790:
! 16791: # This is the shared library path variable.
! 16792: shlibpath_var=$shlibpath_var
! 16793:
! 16794: # Is shlibpath searched before the hard-coded library search path?
! 16795: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 16796:
! 16797: # How to hardcode a shared library path into an executable.
! 16798: hardcode_action=$hardcode_action_F77
! 16799:
! 16800: # Whether we should hardcode library paths into libraries.
! 16801: hardcode_into_libs=$hardcode_into_libs
! 16802:
! 16803: # Flag to hardcode \$libdir into a binary during linking.
! 16804: # This must work even if \$libdir does not exist.
! 16805: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
! 16806:
! 16807: # If ld is used when linking, flag to hardcode \$libdir into
! 16808: # a binary during linking. This must work even if \$libdir does
! 16809: # not exist.
! 16810: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
! 16811:
! 16812: # Whether we need a single -rpath flag with a separated argument.
! 16813: hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
! 16814:
! 16815: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 16816: # resulting binary.
! 16817: hardcode_direct=$hardcode_direct_F77
! 16818:
! 16819: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 16820: # resulting binary.
! 16821: hardcode_minus_L=$hardcode_minus_L_F77
! 16822:
! 16823: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 16824: # the resulting binary.
! 16825: hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
! 16826:
! 16827: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 16828: # and all subsequent libraries and executables linked against it.
! 16829: hardcode_automatic=$hardcode_automatic_F77
! 16830:
! 16831: # Variables whose values should be saved in libtool wrapper scripts and
! 16832: # restored at relink time.
! 16833: variables_saved_for_relink="$variables_saved_for_relink"
! 16834:
! 16835: # Whether libtool must link a program against all its dependency libraries.
! 16836: link_all_deplibs=$link_all_deplibs_F77
! 16837:
! 16838: # Compile-time system search path for libraries
! 16839: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 16840:
! 16841: # Run-time system search path for libraries
! 16842: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 16843:
! 16844: # Fix the shell variable \$srcfile for the compiler.
! 16845: fix_srcfile_path=$lt_fix_srcfile_path
! 16846:
! 16847: # Set to yes if exported symbols are required.
! 16848: always_export_symbols=$always_export_symbols_F77
! 16849:
! 16850: # The commands to list exported symbols.
! 16851: export_symbols_cmds=$lt_export_symbols_cmds_F77
! 16852:
! 16853: # The commands to extract the exported symbol list from a shared archive.
! 16854: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 16855:
! 16856: # Symbols that should not be listed in the preloaded symbols.
! 16857: exclude_expsyms=$lt_exclude_expsyms_F77
! 16858:
! 16859: # Symbols that must always be exported.
! 16860: include_expsyms=$lt_include_expsyms_F77
! 16861:
! 16862: # ### END LIBTOOL TAG CONFIG: $tagname
! 16863:
! 16864: __EOF__
! 16865:
! 16866:
! 16867: else
! 16868: # If there is no Makefile yet, we rely on a make rule to execute
! 16869: # `config.status --recheck' to rerun these tests and create the
! 16870: # libtool script then.
! 16871: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 16872: if test -f "$ltmain_in"; then
! 16873: test -f Makefile && make "$ltmain"
! 16874: fi
! 16875: fi
! 16876:
! 16877:
! 16878: ac_ext=c
! 16879: ac_cpp='$CPP $CPPFLAGS'
! 16880: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 16881: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 16882: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 16883:
! 16884: CC="$lt_save_CC"
! 16885:
! 16886: else
! 16887: tagname=""
! 16888: fi
! 16889: ;;
! 16890:
! 16891: GCJ)
! 16892: if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
! 16893:
! 16894:
! 16895: # Source file extension for Java test sources.
! 16896: ac_ext=java
! 16897:
! 16898: # Object file extension for compiled Java test sources.
! 16899: objext=o
! 16900: objext_GCJ=$objext
! 16901:
! 16902: # Code to be used in simple compile tests
! 16903: lt_simple_compile_test_code="class foo {}"
! 16904:
! 16905: # Code to be used in simple link tests
! 16906: lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
! 16907:
! 16908: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 16909:
! 16910: # If no C compiler was specified, use CC.
! 16911: LTCC=${LTCC-"$CC"}
! 16912:
! 16913: # If no C compiler flags were specified, use CFLAGS.
! 16914: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 16915:
! 16916: # Allow CC to be a program name with arguments.
! 16917: compiler=$CC
! 16918:
! 16919:
! 16920: # save warnings/boilerplate of simple test code
! 16921: ac_outfile=conftest.$ac_objext
! 16922: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 16923: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 16924: _lt_compiler_boilerplate=`cat conftest.err`
! 16925: $rm conftest*
! 16926:
! 16927: ac_outfile=conftest.$ac_objext
! 16928: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 16929: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 16930: _lt_linker_boilerplate=`cat conftest.err`
! 16931: $rm -r conftest*
! 16932:
! 16933:
! 16934: # Allow CC to be a program name with arguments.
! 16935: lt_save_CC="$CC"
! 16936: CC=${GCJ-"gcj"}
! 16937: compiler=$CC
! 16938: compiler_GCJ=$CC
! 16939: for cc_temp in $compiler""; do
! 16940: case $cc_temp in
! 16941: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 16942: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 16943: \-*) ;;
! 16944: *) break;;
! 16945: esac
! 16946: done
! 16947: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 16948:
! 16949:
! 16950: # GCJ did not exist at the time GCC didn't implicitly link libc in.
! 16951: archive_cmds_need_lc_GCJ=no
! 16952:
! 16953: old_archive_cmds_GCJ=$old_archive_cmds
! 16954:
! 16955:
! 16956: lt_prog_compiler_no_builtin_flag_GCJ=
! 16957:
! 16958: if test "$GCC" = yes; then
! 16959: lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
! 16960:
! 16961:
! 16962: { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 16963: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 16964: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 16965: $as_echo_n "(cached) " >&6
! 16966: else
! 16967: lt_cv_prog_compiler_rtti_exceptions=no
! 16968: ac_outfile=conftest.$ac_objext
! 16969: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 16970: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 16971: # Insert the option either (1) after the last *FLAGS variable, or
! 16972: # (2) before a word containing "conftest.", or (3) at the end.
! 16973: # Note that $ac_compile itself does not contain backslashes and begins
! 16974: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 16975: # The option is referenced via a variable to avoid confusing sed.
! 16976: lt_compile=`echo "$ac_compile" | $SED \
! 16977: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 16978: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 16979: -e 's:$: $lt_compiler_flag:'`
! 16980: (eval echo "\"\$as_me:16980: $lt_compile\"" >&5)
! 16981: (eval "$lt_compile" 2>conftest.err)
! 16982: ac_status=$?
! 16983: cat conftest.err >&5
! 16984: echo "$as_me:16984: \$? = $ac_status" >&5
! 16985: if (exit $ac_status) && test -s "$ac_outfile"; then
! 16986: # The compiler can only warn and ignore the option if not recognized
! 16987: # So say no if there are warnings other than the usual output.
! 16988: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 16989: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 16990: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 16991: lt_cv_prog_compiler_rtti_exceptions=yes
! 16992: fi
! 16993: fi
! 16994: $rm conftest*
! 16995:
! 16996: fi
! 16997: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 16998: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 16999:
! 17000: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 17001: lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
! 17002: else
! 17003: :
! 17004: fi
! 17005:
! 17006: fi
! 17007:
! 17008: lt_prog_compiler_wl_GCJ=
! 17009: lt_prog_compiler_pic_GCJ=
! 17010: lt_prog_compiler_static_GCJ=
! 17011:
! 17012: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 17013: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 17014:
! 17015: if test "$GCC" = yes; then
! 17016: lt_prog_compiler_wl_GCJ='-Wl,'
! 17017: lt_prog_compiler_static_GCJ='-static'
! 17018:
! 17019: case $host_os in
! 17020: aix*)
! 17021: # All AIX code is PIC.
! 17022: if test "$host_cpu" = ia64; then
! 17023: # AIX 5 now supports IA64 processor
! 17024: lt_prog_compiler_static_GCJ='-Bstatic'
! 17025: fi
! 17026: ;;
! 17027:
! 17028: amigaos*)
! 17029: # FIXME: we need at least 68020 code to build shared libraries, but
! 17030: # adding the `-m68020' flag to GCC prevents building anything better,
! 17031: # like `-m68040'.
! 17032: lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
! 17033: ;;
! 17034:
! 17035: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 17036: # PIC is the default for these OSes.
! 17037: ;;
! 17038:
! 17039: mingw* | cygwin* | pw32* | os2*)
! 17040: # This hack is so that the source file can tell whether it is being
! 17041: # built for inclusion in a dll (and should export symbols for example).
! 17042: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 17043: # (--disable-auto-import) libraries
! 17044:
! 17045: ;;
! 17046:
! 17047: darwin* | rhapsody*)
! 17048: # PIC is the default on this platform
! 17049: # Common symbols not allowed in MH_DYLIB files
! 17050: lt_prog_compiler_pic_GCJ='-fno-common'
! 17051: ;;
! 17052:
! 17053: interix[3-9]*)
! 17054: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 17055: # Instead, we relocate shared libraries at runtime.
! 17056: ;;
! 17057:
! 17058: msdosdjgpp*)
! 17059: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 17060: # on systems that don't support them.
! 17061: lt_prog_compiler_can_build_shared_GCJ=no
! 17062: enable_shared=no
! 17063: ;;
! 17064:
! 17065: sysv4*MP*)
! 17066: if test -d /usr/nec; then
! 17067: lt_prog_compiler_pic_GCJ=-Kconform_pic
! 17068: fi
! 17069: ;;
! 17070:
! 17071: hpux*)
! 17072: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 17073: # not for PA HP-UX.
! 17074: case $host_cpu in
! 17075: hppa*64*|ia64*)
! 17076: # +Z the default
! 17077: ;;
! 17078: *)
! 17079: lt_prog_compiler_pic_GCJ='-fPIC'
! 17080: ;;
! 17081: esac
! 17082: ;;
! 17083:
! 17084: *)
! 17085: lt_prog_compiler_pic_GCJ='-fPIC'
! 17086: ;;
! 17087: esac
! 17088: else
! 17089: # PORTME Check for flag to pass linker flags through the system compiler.
! 17090: case $host_os in
! 17091: aix*)
! 17092: lt_prog_compiler_wl_GCJ='-Wl,'
! 17093: if test "$host_cpu" = ia64; then
! 17094: # AIX 5 now supports IA64 processor
! 17095: lt_prog_compiler_static_GCJ='-Bstatic'
! 17096: else
! 17097: lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
! 17098: fi
! 17099: ;;
! 17100: darwin*)
! 17101: # PIC is the default on this platform
! 17102: # Common symbols not allowed in MH_DYLIB files
! 17103: case $cc_basename in
! 17104: xlc*)
! 17105: lt_prog_compiler_pic_GCJ='-qnocommon'
! 17106: lt_prog_compiler_wl_GCJ='-Wl,'
! 17107: ;;
! 17108: esac
! 17109: ;;
! 17110:
! 17111: mingw* | cygwin* | pw32* | os2*)
! 17112: # This hack is so that the source file can tell whether it is being
! 17113: # built for inclusion in a dll (and should export symbols for example).
! 17114:
! 17115: ;;
! 17116:
! 17117: hpux9* | hpux10* | hpux11*)
! 17118: lt_prog_compiler_wl_GCJ='-Wl,'
! 17119: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 17120: # not for PA HP-UX.
! 17121: case $host_cpu in
! 17122: hppa*64*|ia64*)
! 17123: # +Z the default
! 17124: ;;
! 17125: *)
! 17126: lt_prog_compiler_pic_GCJ='+Z'
! 17127: ;;
! 17128: esac
! 17129: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 17130: lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
! 17131: ;;
! 17132:
! 17133: irix5* | irix6* | nonstopux*)
! 17134: lt_prog_compiler_wl_GCJ='-Wl,'
! 17135: # PIC (with -KPIC) is the default.
! 17136: lt_prog_compiler_static_GCJ='-non_shared'
! 17137: ;;
! 17138:
! 17139: newsos6)
! 17140: lt_prog_compiler_pic_GCJ='-KPIC'
! 17141: lt_prog_compiler_static_GCJ='-Bstatic'
! 17142: ;;
! 17143:
! 17144: linux* | k*bsd*-gnu)
! 17145: case $cc_basename in
! 17146: icc* | ecc*)
! 17147: lt_prog_compiler_wl_GCJ='-Wl,'
! 17148: lt_prog_compiler_pic_GCJ='-KPIC'
! 17149: lt_prog_compiler_static_GCJ='-static'
! 17150: ;;
! 17151: pgcc* | pgf77* | pgf90* | pgf95*)
! 17152: # Portland Group compilers (*not* the Pentium gcc compiler,
! 17153: # which looks to be a dead project)
! 17154: lt_prog_compiler_wl_GCJ='-Wl,'
! 17155: lt_prog_compiler_pic_GCJ='-fpic'
! 17156: lt_prog_compiler_static_GCJ='-Bstatic'
! 17157: ;;
! 17158: ccc*)
! 17159: lt_prog_compiler_wl_GCJ='-Wl,'
! 17160: # All Alpha code is PIC.
! 17161: lt_prog_compiler_static_GCJ='-non_shared'
! 17162: ;;
! 17163: *)
! 17164: case `$CC -V 2>&1 | sed 5q` in
! 17165: *Sun\ C*)
! 17166: # Sun C 5.9
! 17167: lt_prog_compiler_pic_GCJ='-KPIC'
! 17168: lt_prog_compiler_static_GCJ='-Bstatic'
! 17169: lt_prog_compiler_wl_GCJ='-Wl,'
! 17170: ;;
! 17171: *Sun\ F*)
! 17172: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 17173: lt_prog_compiler_pic_GCJ='-KPIC'
! 17174: lt_prog_compiler_static_GCJ='-Bstatic'
! 17175: lt_prog_compiler_wl_GCJ=''
! 17176: ;;
! 17177: esac
! 17178: ;;
! 17179: esac
! 17180: ;;
! 17181:
! 17182: osf3* | osf4* | osf5*)
! 17183: lt_prog_compiler_wl_GCJ='-Wl,'
! 17184: # All OSF/1 code is PIC.
! 17185: lt_prog_compiler_static_GCJ='-non_shared'
! 17186: ;;
! 17187:
! 17188: rdos*)
! 17189: lt_prog_compiler_static_GCJ='-non_shared'
! 17190: ;;
! 17191:
! 17192: solaris*)
! 17193: lt_prog_compiler_pic_GCJ='-KPIC'
! 17194: lt_prog_compiler_static_GCJ='-Bstatic'
! 17195: case $cc_basename in
! 17196: f77* | f90* | f95*)
! 17197: lt_prog_compiler_wl_GCJ='-Qoption ld ';;
! 17198: *)
! 17199: lt_prog_compiler_wl_GCJ='-Wl,';;
! 17200: esac
! 17201: ;;
! 17202:
! 17203: sunos4*)
! 17204: lt_prog_compiler_wl_GCJ='-Qoption ld '
! 17205: lt_prog_compiler_pic_GCJ='-PIC'
! 17206: lt_prog_compiler_static_GCJ='-Bstatic'
! 17207: ;;
! 17208:
! 17209: sysv4 | sysv4.2uw2* | sysv4.3*)
! 17210: lt_prog_compiler_wl_GCJ='-Wl,'
! 17211: lt_prog_compiler_pic_GCJ='-KPIC'
! 17212: lt_prog_compiler_static_GCJ='-Bstatic'
! 17213: ;;
! 17214:
! 17215: sysv4*MP*)
! 17216: if test -d /usr/nec ;then
! 17217: lt_prog_compiler_pic_GCJ='-Kconform_pic'
! 17218: lt_prog_compiler_static_GCJ='-Bstatic'
! 17219: fi
! 17220: ;;
! 17221:
! 17222: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 17223: lt_prog_compiler_wl_GCJ='-Wl,'
! 17224: lt_prog_compiler_pic_GCJ='-KPIC'
! 17225: lt_prog_compiler_static_GCJ='-Bstatic'
! 17226: ;;
! 17227:
! 17228: unicos*)
! 17229: lt_prog_compiler_wl_GCJ='-Wl,'
! 17230: lt_prog_compiler_can_build_shared_GCJ=no
! 17231: ;;
! 17232:
! 17233: uts4*)
! 17234: lt_prog_compiler_pic_GCJ='-pic'
! 17235: lt_prog_compiler_static_GCJ='-Bstatic'
! 17236: ;;
! 17237:
! 17238: *)
! 17239: lt_prog_compiler_can_build_shared_GCJ=no
! 17240: ;;
! 17241: esac
! 17242: fi
! 17243:
! 17244: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
! 17245: $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
! 17246:
! 17247: #
! 17248: # Check to make sure the PIC flag actually works.
! 17249: #
! 17250: if test -n "$lt_prog_compiler_pic_GCJ"; then
! 17251:
! 17252: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
! 17253: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
! 17254: if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
! 17255: $as_echo_n "(cached) " >&6
! 17256: else
! 17257: lt_cv_prog_compiler_pic_works_GCJ=no
! 17258: ac_outfile=conftest.$ac_objext
! 17259: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 17260: lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
! 17261: # Insert the option either (1) after the last *FLAGS variable, or
! 17262: # (2) before a word containing "conftest.", or (3) at the end.
! 17263: # Note that $ac_compile itself does not contain backslashes and begins
! 17264: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 17265: # The option is referenced via a variable to avoid confusing sed.
! 17266: lt_compile=`echo "$ac_compile" | $SED \
! 17267: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 17268: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 17269: -e 's:$: $lt_compiler_flag:'`
! 17270: (eval echo "\"\$as_me:17270: $lt_compile\"" >&5)
! 17271: (eval "$lt_compile" 2>conftest.err)
! 17272: ac_status=$?
! 17273: cat conftest.err >&5
! 17274: echo "$as_me:17274: \$? = $ac_status" >&5
! 17275: if (exit $ac_status) && test -s "$ac_outfile"; then
! 17276: # The compiler can only warn and ignore the option if not recognized
! 17277: # So say no if there are warnings other than the usual output.
! 17278: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 17279: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 17280: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 17281: lt_cv_prog_compiler_pic_works_GCJ=yes
! 17282: fi
! 17283: fi
! 17284: $rm conftest*
! 17285:
! 17286: fi
! 17287: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
! 17288: $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
! 17289:
! 17290: if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
! 17291: case $lt_prog_compiler_pic_GCJ in
! 17292: "" | " "*) ;;
! 17293: *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
! 17294: esac
! 17295: else
! 17296: lt_prog_compiler_pic_GCJ=
! 17297: lt_prog_compiler_can_build_shared_GCJ=no
! 17298: fi
! 17299:
! 17300: fi
! 17301: case $host_os in
! 17302: # For platforms which do not support PIC, -DPIC is meaningless:
! 17303: *djgpp*)
! 17304: lt_prog_compiler_pic_GCJ=
! 17305: ;;
! 17306: *)
! 17307: lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
! 17308: ;;
! 17309: esac
! 17310:
! 17311: #
! 17312: # Check to make sure the static flag actually works.
! 17313: #
! 17314: wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
! 17315: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 17316: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 17317: if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
! 17318: $as_echo_n "(cached) " >&6
! 17319: else
! 17320: lt_cv_prog_compiler_static_works_GCJ=no
! 17321: save_LDFLAGS="$LDFLAGS"
! 17322: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 17323: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 17324: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 17325: # The linker can only warn and ignore the option if not recognized
! 17326: # So say no if there are warnings
! 17327: if test -s conftest.err; then
! 17328: # Append any errors to the config.log.
! 17329: cat conftest.err 1>&5
! 17330: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 17331: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 17332: if diff conftest.exp conftest.er2 >/dev/null; then
! 17333: lt_cv_prog_compiler_static_works_GCJ=yes
! 17334: fi
! 17335: else
! 17336: lt_cv_prog_compiler_static_works_GCJ=yes
! 17337: fi
! 17338: fi
! 17339: $rm -r conftest*
! 17340: LDFLAGS="$save_LDFLAGS"
! 17341:
! 17342: fi
! 17343: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
! 17344: $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
! 17345:
! 17346: if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
! 17347: :
! 17348: else
! 17349: lt_prog_compiler_static_GCJ=
! 17350: fi
! 17351:
! 17352:
! 17353: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 17354: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 17355: if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
! 17356: $as_echo_n "(cached) " >&6
! 17357: else
! 17358: lt_cv_prog_compiler_c_o_GCJ=no
! 17359: $rm -r conftest 2>/dev/null
! 17360: mkdir conftest
! 17361: cd conftest
! 17362: mkdir out
! 17363: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 17364:
! 17365: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 17366: # Insert the option either (1) after the last *FLAGS variable, or
! 17367: # (2) before a word containing "conftest.", or (3) at the end.
! 17368: # Note that $ac_compile itself does not contain backslashes and begins
! 17369: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 17370: lt_compile=`echo "$ac_compile" | $SED \
! 17371: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 17372: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 17373: -e 's:$: $lt_compiler_flag:'`
! 17374: (eval echo "\"\$as_me:17374: $lt_compile\"" >&5)
! 17375: (eval "$lt_compile" 2>out/conftest.err)
! 17376: ac_status=$?
! 17377: cat out/conftest.err >&5
! 17378: echo "$as_me:17378: \$? = $ac_status" >&5
! 17379: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 17380: then
! 17381: # The compiler can only warn and ignore the option if not recognized
! 17382: # So say no if there are warnings
! 17383: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 17384: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 17385: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 17386: lt_cv_prog_compiler_c_o_GCJ=yes
! 17387: fi
! 17388: fi
! 17389: chmod u+w . 2>&5
! 17390: $rm conftest*
! 17391: # SGI C++ compiler will create directory out/ii_files/ for
! 17392: # template instantiation
! 17393: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 17394: $rm out/* && rmdir out
! 17395: cd ..
! 17396: rmdir conftest
! 17397: $rm conftest*
! 17398:
! 17399: fi
! 17400: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
! 17401: $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
! 17402:
! 17403:
! 17404: hard_links="nottested"
! 17405: if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
! 17406: # do not overwrite the value of need_locks provided by the user
! 17407: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 17408: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 17409: hard_links=yes
! 17410: $rm conftest*
! 17411: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 17412: touch conftest.a
! 17413: ln conftest.a conftest.b 2>&5 || hard_links=no
! 17414: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 17415: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 17416: $as_echo "$hard_links" >&6; }
! 17417: if test "$hard_links" = no; then
! 17418: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 17419: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 17420: need_locks=warn
! 17421: fi
! 17422: else
! 17423: need_locks=no
! 17424: fi
! 17425:
! 17426: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 17427: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 17428:
! 17429: runpath_var=
! 17430: allow_undefined_flag_GCJ=
! 17431: enable_shared_with_static_runtimes_GCJ=no
! 17432: archive_cmds_GCJ=
! 17433: archive_expsym_cmds_GCJ=
! 17434: old_archive_From_new_cmds_GCJ=
! 17435: old_archive_from_expsyms_cmds_GCJ=
! 17436: export_dynamic_flag_spec_GCJ=
! 17437: whole_archive_flag_spec_GCJ=
! 17438: thread_safe_flag_spec_GCJ=
! 17439: hardcode_libdir_flag_spec_GCJ=
! 17440: hardcode_libdir_flag_spec_ld_GCJ=
! 17441: hardcode_libdir_separator_GCJ=
! 17442: hardcode_direct_GCJ=no
! 17443: hardcode_minus_L_GCJ=no
! 17444: hardcode_shlibpath_var_GCJ=unsupported
! 17445: link_all_deplibs_GCJ=unknown
! 17446: hardcode_automatic_GCJ=no
! 17447: module_cmds_GCJ=
! 17448: module_expsym_cmds_GCJ=
! 17449: always_export_symbols_GCJ=no
! 17450: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 17451: # include_expsyms should be a list of space-separated symbols to be *always*
! 17452: # included in the symbol list
! 17453: include_expsyms_GCJ=
! 17454: # exclude_expsyms can be an extended regexp of symbols to exclude
! 17455: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 17456: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 17457: # as well as any symbol that contains `d'.
! 17458: exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 17459: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 17460: # platforms (ab)use it in PIC code, but their linkers get confused if
! 17461: # the symbol is explicitly referenced. Since portable code cannot
! 17462: # rely on this symbol name, it's probably fine to never include it in
! 17463: # preloaded symbol tables.
! 17464: # Exclude shared library initialization/finalization symbols.
! 17465: extract_expsyms_cmds=
! 17466: # Just being paranoid about ensuring that cc_basename is set.
! 17467: for cc_temp in $compiler""; do
! 17468: case $cc_temp in
! 17469: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 17470: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 17471: \-*) ;;
! 17472: *) break;;
! 17473: esac
! 17474: done
! 17475: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 17476:
! 17477: case $host_os in
! 17478: cygwin* | mingw* | pw32*)
! 17479: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 17480: # When not using gcc, we currently assume that we are using
! 17481: # Microsoft Visual C++.
! 17482: if test "$GCC" != yes; then
! 17483: with_gnu_ld=no
! 17484: fi
! 17485: ;;
! 17486: interix*)
! 17487: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 17488: with_gnu_ld=yes
! 17489: ;;
! 17490: openbsd*)
! 17491: with_gnu_ld=no
! 17492: ;;
! 17493: esac
! 17494:
! 17495: ld_shlibs_GCJ=yes
! 17496: if test "$with_gnu_ld" = yes; then
! 17497: # If archive_cmds runs LD, not CC, wlarc should be empty
! 17498: wlarc='${wl}'
! 17499:
! 17500: # Set some defaults for GNU ld with shared library support. These
! 17501: # are reset later if shared libraries are not supported. Putting them
! 17502: # here allows them to be overridden if necessary.
! 17503: runpath_var=LD_RUN_PATH
! 17504: hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
! 17505: export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
! 17506: # ancient GNU ld didn't support --whole-archive et. al.
! 17507: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 17508: whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 17509: else
! 17510: whole_archive_flag_spec_GCJ=
! 17511: fi
! 17512: supports_anon_versioning=no
! 17513: case `$LD -v 2>/dev/null` in
! 17514: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 17515: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 17516: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 17517: *\ 2.11.*) ;; # other 2.11 versions
! 17518: *) supports_anon_versioning=yes ;;
! 17519: esac
! 17520:
! 17521: # See if GNU ld supports shared libraries.
! 17522: case $host_os in
! 17523: aix[3-9]*)
! 17524: # On AIX/PPC, the GNU linker is very broken
! 17525: if test "$host_cpu" != ia64; then
! 17526: ld_shlibs_GCJ=no
! 17527: cat <<EOF 1>&2
! 17528:
! 17529: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 17530: *** to be unable to reliably create shared libraries on AIX.
! 17531: *** Therefore, libtool is disabling shared libraries support. If you
! 17532: *** really care for shared libraries, you may want to modify your PATH
! 17533: *** so that a non-GNU linker is found, and then restart.
! 17534:
! 17535: EOF
! 17536: fi
! 17537: ;;
! 17538:
! 17539: amigaos*)
! 17540: archive_cmds_GCJ='$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)'
! 17541: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17542: hardcode_minus_L_GCJ=yes
! 17543:
! 17544: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 17545: # that the semantics of dynamic libraries on AmigaOS, at least up
! 17546: # to version 4, is to share data among multiple programs linked
! 17547: # with the same dynamic library. Since this doesn't match the
! 17548: # behavior of shared libraries on other platforms, we can't use
! 17549: # them.
! 17550: ld_shlibs_GCJ=no
! 17551: ;;
! 17552:
! 17553: beos*)
! 17554: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17555: allow_undefined_flag_GCJ=unsupported
! 17556: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 17557: # support --undefined. This deserves some investigation. FIXME
! 17558: archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17559: else
! 17560: ld_shlibs_GCJ=no
! 17561: fi
! 17562: ;;
! 17563:
! 17564: cygwin* | mingw* | pw32*)
! 17565: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
! 17566: # as there is no search path for DLLs.
! 17567: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17568: allow_undefined_flag_GCJ=unsupported
! 17569: always_export_symbols_GCJ=no
! 17570: enable_shared_with_static_runtimes_GCJ=yes
! 17571: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 17572:
! 17573: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 17574: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 17575: # If the export-symbols file already is a .def file (1st line
! 17576: # is EXPORTS), use it as is; otherwise, prepend...
! 17577: archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 17578: cp $export_symbols $output_objdir/$soname.def;
! 17579: else
! 17580: echo EXPORTS > $output_objdir/$soname.def;
! 17581: cat $export_symbols >> $output_objdir/$soname.def;
! 17582: fi~
! 17583: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 17584: else
! 17585: ld_shlibs_GCJ=no
! 17586: fi
! 17587: ;;
! 17588:
! 17589: interix[3-9]*)
! 17590: hardcode_direct_GCJ=no
! 17591: hardcode_shlibpath_var_GCJ=no
! 17592: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 17593: export_dynamic_flag_spec_GCJ='${wl}-E'
! 17594: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 17595: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 17596: # default) and relocated if they conflict, which is a slow very memory
! 17597: # consuming and fragmenting process. To avoid this, we pick a random,
! 17598: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 17599: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 17600: archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 17601: archive_expsym_cmds_GCJ='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'
! 17602: ;;
! 17603:
! 17604: gnu* | linux* | k*bsd*-gnu)
! 17605: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17606: tmp_addflag=
! 17607: case $cc_basename,$host_cpu in
! 17608: pgcc*) # Portland Group C compiler
! 17609: whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
! 17610: tmp_addflag=' $pic_flag'
! 17611: ;;
! 17612: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 17613: whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
! 17614: tmp_addflag=' $pic_flag -Mnomain' ;;
! 17615: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 17616: tmp_addflag=' -i_dynamic' ;;
! 17617: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 17618: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 17619: ifc* | ifort*) # Intel Fortran compiler
! 17620: tmp_addflag=' -nofor_main' ;;
! 17621: esac
! 17622: case `$CC -V 2>&1 | sed 5q` in
! 17623: *Sun\ C*) # Sun C 5.9
! 17624: whole_archive_flag_spec_GCJ='${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'
! 17625: tmp_sharedflag='-G' ;;
! 17626: *Sun\ F*) # Sun Fortran 8.3
! 17627: tmp_sharedflag='-G' ;;
! 17628: *)
! 17629: tmp_sharedflag='-shared' ;;
! 17630: esac
! 17631: archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17632:
! 17633: if test $supports_anon_versioning = yes; then
! 17634: archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
! 17635: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 17636: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 17637: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 17638: fi
! 17639: else
! 17640: ld_shlibs_GCJ=no
! 17641: fi
! 17642: ;;
! 17643:
! 17644: netbsd*)
! 17645: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 17646: archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 17647: wlarc=
! 17648: else
! 17649: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17650: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17651: fi
! 17652: ;;
! 17653:
! 17654: solaris*)
! 17655: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 17656: ld_shlibs_GCJ=no
! 17657: cat <<EOF 1>&2
! 17658:
! 17659: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 17660: *** create shared libraries on Solaris systems. Therefore, libtool
! 17661: *** is disabling shared libraries support. We urge you to upgrade GNU
! 17662: *** binutils to release 2.9.1 or newer. Another option is to modify
! 17663: *** your PATH or compiler configuration so that the native linker is
! 17664: *** used, and then restart.
! 17665:
! 17666: EOF
! 17667: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17668: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17669: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17670: else
! 17671: ld_shlibs_GCJ=no
! 17672: fi
! 17673: ;;
! 17674:
! 17675: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 17676: case `$LD -v 2>&1` in
! 17677: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 17678: ld_shlibs_GCJ=no
! 17679: cat <<_LT_EOF 1>&2
! 17680:
! 17681: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 17682: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 17683: *** is disabling shared libraries support. We urge you to upgrade GNU
! 17684: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 17685: *** your PATH or compiler configuration so that the native linker is
! 17686: *** used, and then restart.
! 17687:
! 17688: _LT_EOF
! 17689: ;;
! 17690: *)
! 17691: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17692: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 17693: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 17694: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 17695: else
! 17696: ld_shlibs_GCJ=no
! 17697: fi
! 17698: ;;
! 17699: esac
! 17700: ;;
! 17701:
! 17702: sunos4*)
! 17703: archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 17704: wlarc=
! 17705: hardcode_direct_GCJ=yes
! 17706: hardcode_shlibpath_var_GCJ=no
! 17707: ;;
! 17708:
! 17709: *)
! 17710: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17711: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17712: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17713: else
! 17714: ld_shlibs_GCJ=no
! 17715: fi
! 17716: ;;
! 17717: esac
! 17718:
! 17719: if test "$ld_shlibs_GCJ" = no; then
! 17720: runpath_var=
! 17721: hardcode_libdir_flag_spec_GCJ=
! 17722: export_dynamic_flag_spec_GCJ=
! 17723: whole_archive_flag_spec_GCJ=
! 17724: fi
! 17725: else
! 17726: # PORTME fill in a description of your system's linker (not GNU ld)
! 17727: case $host_os in
! 17728: aix3*)
! 17729: allow_undefined_flag_GCJ=unsupported
! 17730: always_export_symbols_GCJ=yes
! 17731: archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
! 17732: # Note: this linker hardcodes the directories in LIBPATH if there
! 17733: # are no directories specified by -L.
! 17734: hardcode_minus_L_GCJ=yes
! 17735: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 17736: # Neither direct hardcoding nor static linking is supported with a
! 17737: # broken collect2.
! 17738: hardcode_direct_GCJ=unsupported
! 17739: fi
! 17740: ;;
! 17741:
! 17742: aix[4-9]*)
! 17743: if test "$host_cpu" = ia64; then
! 17744: # On IA64, the linker does run time linking by default, so we don't
! 17745: # have to do anything special.
! 17746: aix_use_runtimelinking=no
! 17747: exp_sym_flag='-Bexport'
! 17748: no_entry_flag=""
! 17749: else
! 17750: # If we're using GNU nm, then we don't want the "-C" option.
! 17751: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 17752: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 17753: export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 17754: else
! 17755: export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
! 17756: fi
! 17757: aix_use_runtimelinking=no
! 17758:
! 17759: # Test if we are trying to use run time linking or normal
! 17760: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 17761: # need to do runtime linking.
! 17762: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 17763: for ld_flag in $LDFLAGS; do
! 17764: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 17765: aix_use_runtimelinking=yes
! 17766: break
! 17767: fi
! 17768: done
! 17769: ;;
! 17770: esac
! 17771:
! 17772: exp_sym_flag='-bexport'
! 17773: no_entry_flag='-bnoentry'
! 17774: fi
! 17775:
! 17776: # When large executables or shared objects are built, AIX ld can
! 17777: # have problems creating the table of contents. If linking a library
! 17778: # or program results in "error TOC overflow" add -mminimal-toc to
! 17779: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 17780: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 17781:
! 17782: archive_cmds_GCJ=''
! 17783: hardcode_direct_GCJ=yes
! 17784: hardcode_libdir_separator_GCJ=':'
! 17785: link_all_deplibs_GCJ=yes
! 17786:
! 17787: if test "$GCC" = yes; then
! 17788: case $host_os in aix4.[012]|aix4.[012].*)
! 17789: # We only want to do this on AIX 4.2 and lower, the check
! 17790: # below for broken collect2 doesn't work under 4.3+
! 17791: collect2name=`${CC} -print-prog-name=collect2`
! 17792: if test -f "$collect2name" && \
! 17793: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 17794: then
! 17795: # We have reworked collect2
! 17796: :
! 17797: else
! 17798: # We have old collect2
! 17799: hardcode_direct_GCJ=unsupported
! 17800: # It fails to find uninstalled libraries when the uninstalled
! 17801: # path is not listed in the libpath. Setting hardcode_minus_L
! 17802: # to unsupported forces relinking
! 17803: hardcode_minus_L_GCJ=yes
! 17804: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17805: hardcode_libdir_separator_GCJ=
! 17806: fi
! 17807: ;;
! 17808: esac
! 17809: shared_flag='-shared'
! 17810: if test "$aix_use_runtimelinking" = yes; then
! 17811: shared_flag="$shared_flag "'${wl}-G'
! 17812: fi
! 17813: else
! 17814: # not using gcc
! 17815: if test "$host_cpu" = ia64; then
! 17816: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 17817: # chokes on -Wl,-G. The following line is correct:
! 17818: shared_flag='-G'
! 17819: else
! 17820: if test "$aix_use_runtimelinking" = yes; then
! 17821: shared_flag='${wl}-G'
! 17822: else
! 17823: shared_flag='${wl}-bM:SRE'
! 17824: fi
! 17825: fi
! 17826: fi
! 17827:
! 17828: # It seems that -bexpall does not export symbols beginning with
! 17829: # underscore (_), so it is better to generate a list of symbols to export.
! 17830: always_export_symbols_GCJ=yes
! 17831: if test "$aix_use_runtimelinking" = yes; then
! 17832: # Warning - without using the other runtime loading flags (-brtl),
! 17833: # -berok will link without error, but may produce a broken library.
! 17834: allow_undefined_flag_GCJ='-berok'
! 17835: # Determine the default libpath from the value encoded in an empty executable.
! 17836: cat >conftest.$ac_ext <<_ACEOF
! 17837: /* confdefs.h. */
! 17838: _ACEOF
! 17839: cat confdefs.h >>conftest.$ac_ext
! 17840: cat >>conftest.$ac_ext <<_ACEOF
! 17841: /* end confdefs.h. */
! 17842:
! 17843: int
! 17844: main ()
! 17845: {
! 17846:
! 17847: ;
! 17848: return 0;
! 17849: }
! 17850: _ACEOF
! 17851: rm -f conftest.$ac_objext conftest$ac_exeext
! 17852: if { (ac_try="$ac_link"
! 17853: case "(($ac_try" in
! 17854: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 17855: *) ac_try_echo=$ac_try;;
! 17856: esac
! 17857: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 17858: $as_echo "$ac_try_echo") >&5
! 17859: (eval "$ac_link") 2>conftest.er1
! 17860: ac_status=$?
! 17861: grep -v '^ *+' conftest.er1 >conftest.err
! 17862: rm -f conftest.er1
! 17863: cat conftest.err >&5
! 17864: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17865: (exit $ac_status); } && {
! 17866: test -z "$ac_c_werror_flag" ||
! 17867: test ! -s conftest.err
! 17868: } && test -s conftest$ac_exeext && {
! 17869: test "$cross_compiling" = yes ||
! 17870: $as_test_x conftest$ac_exeext
! 17871: }; then
! 17872:
! 17873: lt_aix_libpath_sed='
! 17874: /Import File Strings/,/^$/ {
! 17875: /^0/ {
! 17876: s/^0 *\(.*\)$/\1/
! 17877: p
! 17878: }
! 17879: }'
! 17880: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17881: # Check for a 64-bit object if we didn't find anything.
! 17882: if test -z "$aix_libpath"; then
! 17883: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17884: fi
! 17885: else
! 17886: $as_echo "$as_me: failed program was:" >&5
! 17887: sed 's/^/| /' conftest.$ac_ext >&5
! 17888:
! 17889:
! 17890: fi
! 17891:
! 17892: rm -rf conftest.dSYM
! 17893: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 17894: conftest$ac_exeext conftest.$ac_ext
! 17895: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 17896:
! 17897: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 17898: archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 17899: else
! 17900: if test "$host_cpu" = ia64; then
! 17901: hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
! 17902: allow_undefined_flag_GCJ="-z nodefs"
! 17903: archive_expsym_cmds_GCJ="\$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"
! 17904: else
! 17905: # Determine the default libpath from the value encoded in an empty executable.
! 17906: cat >conftest.$ac_ext <<_ACEOF
! 17907: /* confdefs.h. */
! 17908: _ACEOF
! 17909: cat confdefs.h >>conftest.$ac_ext
! 17910: cat >>conftest.$ac_ext <<_ACEOF
! 17911: /* end confdefs.h. */
! 17912:
! 17913: int
! 17914: main ()
! 17915: {
! 17916:
! 17917: ;
! 17918: return 0;
! 17919: }
! 17920: _ACEOF
! 17921: rm -f conftest.$ac_objext conftest$ac_exeext
! 17922: if { (ac_try="$ac_link"
! 17923: case "(($ac_try" in
! 17924: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 17925: *) ac_try_echo=$ac_try;;
! 17926: esac
! 17927: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 17928: $as_echo "$ac_try_echo") >&5
! 17929: (eval "$ac_link") 2>conftest.er1
! 17930: ac_status=$?
! 17931: grep -v '^ *+' conftest.er1 >conftest.err
! 17932: rm -f conftest.er1
! 17933: cat conftest.err >&5
! 17934: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17935: (exit $ac_status); } && {
! 17936: test -z "$ac_c_werror_flag" ||
! 17937: test ! -s conftest.err
! 17938: } && test -s conftest$ac_exeext && {
! 17939: test "$cross_compiling" = yes ||
! 17940: $as_test_x conftest$ac_exeext
! 17941: }; then
! 17942:
! 17943: lt_aix_libpath_sed='
! 17944: /Import File Strings/,/^$/ {
! 17945: /^0/ {
! 17946: s/^0 *\(.*\)$/\1/
! 17947: p
! 17948: }
! 17949: }'
! 17950: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17951: # Check for a 64-bit object if we didn't find anything.
! 17952: if test -z "$aix_libpath"; then
! 17953: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17954: fi
! 17955: else
! 17956: $as_echo "$as_me: failed program was:" >&5
! 17957: sed 's/^/| /' conftest.$ac_ext >&5
! 17958:
! 17959:
! 17960: fi
! 17961:
! 17962: rm -rf conftest.dSYM
! 17963: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 17964: conftest$ac_exeext conftest.$ac_ext
! 17965: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 17966:
! 17967: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 17968: # Warning - without using the other run time loading flags,
! 17969: # -berok will link without error, but may produce a broken library.
! 17970: no_undefined_flag_GCJ=' ${wl}-bernotok'
! 17971: allow_undefined_flag_GCJ=' ${wl}-berok'
! 17972: # Exported symbols can be pulled into shared objects from archives
! 17973: whole_archive_flag_spec_GCJ='$convenience'
! 17974: archive_cmds_need_lc_GCJ=yes
! 17975: # This is similar to how AIX traditionally builds its shared libraries.
! 17976: archive_expsym_cmds_GCJ="\$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'
! 17977: fi
! 17978: fi
! 17979: ;;
! 17980:
! 17981: amigaos*)
! 17982: archive_cmds_GCJ='$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)'
! 17983: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17984: hardcode_minus_L_GCJ=yes
! 17985: # see comment about different semantics on the GNU ld section
! 17986: ld_shlibs_GCJ=no
! 17987: ;;
! 17988:
! 17989: bsdi[45]*)
! 17990: export_dynamic_flag_spec_GCJ=-rdynamic
! 17991: ;;
! 17992:
! 17993: cygwin* | mingw* | pw32*)
! 17994: # When not using gcc, we currently assume that we are using
! 17995: # Microsoft Visual C++.
! 17996: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 17997: # no search path for DLLs.
! 17998: hardcode_libdir_flag_spec_GCJ=' '
! 17999: allow_undefined_flag_GCJ=unsupported
! 18000: # Tell ltmain to make .lib files, not .a files.
! 18001: libext=lib
! 18002: # Tell ltmain to make .dll files, not .so files.
! 18003: shrext_cmds=".dll"
! 18004: # FIXME: Setting linknames here is a bad hack.
! 18005: archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 18006: # The linker will automatically build a .lib file if we build a DLL.
! 18007: old_archive_From_new_cmds_GCJ='true'
! 18008: # FIXME: Should let the user specify the lib program.
! 18009: old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 18010: fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
! 18011: enable_shared_with_static_runtimes_GCJ=yes
! 18012: ;;
! 18013:
! 18014: darwin* | rhapsody*)
! 18015: case $host_os in
! 18016: rhapsody* | darwin1.[012])
! 18017: allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
! 18018: ;;
! 18019: *) # Darwin 1.3 on
! 18020: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 18021: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 18022: else
! 18023: case ${MACOSX_DEPLOYMENT_TARGET} in
! 18024: 10.[012])
! 18025: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 18026: ;;
! 18027: 10.*)
! 18028: allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
! 18029: ;;
! 18030: esac
! 18031: fi
! 18032: ;;
! 18033: esac
! 18034: archive_cmds_need_lc_GCJ=no
! 18035: hardcode_direct_GCJ=no
! 18036: hardcode_automatic_GCJ=yes
! 18037: hardcode_shlibpath_var_GCJ=unsupported
! 18038: whole_archive_flag_spec_GCJ=''
! 18039: link_all_deplibs_GCJ=yes
! 18040: if test "$GCC" = yes ; then
! 18041: output_verbose_link_cmd='echo'
! 18042: archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 18043: module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 18044: archive_expsym_cmds_GCJ="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}"
! 18045: module_expsym_cmds_GCJ="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}"
! 18046: else
! 18047: case $cc_basename in
! 18048: xlc*)
! 18049: output_verbose_link_cmd='echo'
! 18050: archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 18051: module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 18052: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 18053: archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 18054: module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 18055: ;;
! 18056: *)
! 18057: ld_shlibs_GCJ=no
! 18058: ;;
! 18059: esac
! 18060: fi
! 18061: ;;
! 18062:
! 18063: dgux*)
! 18064: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18065: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18066: hardcode_shlibpath_var_GCJ=no
! 18067: ;;
! 18068:
! 18069: freebsd1*)
! 18070: ld_shlibs_GCJ=no
! 18071: ;;
! 18072:
! 18073: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 18074: # support. Future versions do this automatically, but an explicit c++rt0.o
! 18075: # does not break anything, and helps significantly (at the cost of a little
! 18076: # extra space).
! 18077: freebsd2.2*)
! 18078: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 18079: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18080: hardcode_direct_GCJ=yes
! 18081: hardcode_shlibpath_var_GCJ=no
! 18082: ;;
! 18083:
! 18084: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 18085: freebsd2*)
! 18086: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 18087: hardcode_direct_GCJ=yes
! 18088: hardcode_minus_L_GCJ=yes
! 18089: hardcode_shlibpath_var_GCJ=no
! 18090: ;;
! 18091:
! 18092: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 18093: freebsd* | dragonfly*)
! 18094: archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 18095: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18096: hardcode_direct_GCJ=yes
! 18097: hardcode_shlibpath_var_GCJ=no
! 18098: ;;
! 18099:
! 18100: hpux9*)
! 18101: if test "$GCC" = yes; then
! 18102: archive_cmds_GCJ='$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'
! 18103: else
! 18104: archive_cmds_GCJ='$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'
! 18105: fi
! 18106: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18107: hardcode_libdir_separator_GCJ=:
! 18108: hardcode_direct_GCJ=yes
! 18109:
! 18110: # hardcode_minus_L: Not really in the search PATH,
! 18111: # but as the default location of the library.
! 18112: hardcode_minus_L_GCJ=yes
! 18113: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18114: ;;
! 18115:
! 18116: hpux10*)
! 18117: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 18118: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18119: else
! 18120: archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 18121: fi
! 18122: if test "$with_gnu_ld" = no; then
! 18123: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18124: hardcode_libdir_separator_GCJ=:
! 18125:
! 18126: hardcode_direct_GCJ=yes
! 18127: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18128:
! 18129: # hardcode_minus_L: Not really in the search PATH,
! 18130: # but as the default location of the library.
! 18131: hardcode_minus_L_GCJ=yes
! 18132: fi
! 18133: ;;
! 18134:
! 18135: hpux11*)
! 18136: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 18137: case $host_cpu in
! 18138: hppa*64*)
! 18139: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18140: ;;
! 18141: ia64*)
! 18142: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 18143: ;;
! 18144: *)
! 18145: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18146: ;;
! 18147: esac
! 18148: else
! 18149: case $host_cpu in
! 18150: hppa*64*)
! 18151: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18152: ;;
! 18153: ia64*)
! 18154: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 18155: ;;
! 18156: *)
! 18157: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18158: ;;
! 18159: esac
! 18160: fi
! 18161: if test "$with_gnu_ld" = no; then
! 18162: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18163: hardcode_libdir_separator_GCJ=:
! 18164:
! 18165: case $host_cpu in
! 18166: hppa*64*|ia64*)
! 18167: hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
! 18168: hardcode_direct_GCJ=no
! 18169: hardcode_shlibpath_var_GCJ=no
! 18170: ;;
! 18171: *)
! 18172: hardcode_direct_GCJ=yes
! 18173: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18174:
! 18175: # hardcode_minus_L: Not really in the search PATH,
! 18176: # but as the default location of the library.
! 18177: hardcode_minus_L_GCJ=yes
! 18178: ;;
! 18179: esac
! 18180: fi
! 18181: ;;
! 18182:
! 18183: irix5* | irix6* | nonstopux*)
! 18184: if test "$GCC" = yes; then
! 18185: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 18186: else
! 18187: archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 18188: hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
! 18189: fi
! 18190: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18191: hardcode_libdir_separator_GCJ=:
! 18192: link_all_deplibs_GCJ=yes
! 18193: ;;
! 18194:
! 18195: netbsd*)
! 18196: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 18197: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 18198: else
! 18199: archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 18200: fi
! 18201: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18202: hardcode_direct_GCJ=yes
! 18203: hardcode_shlibpath_var_GCJ=no
! 18204: ;;
! 18205:
! 18206: newsos6)
! 18207: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18208: hardcode_direct_GCJ=yes
! 18209: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18210: hardcode_libdir_separator_GCJ=:
! 18211: hardcode_shlibpath_var_GCJ=no
! 18212: ;;
! 18213:
! 18214: openbsd*)
! 18215: if test -f /usr/libexec/ld.so; then
! 18216: hardcode_direct_GCJ=yes
! 18217: hardcode_shlibpath_var_GCJ=no
! 18218: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 18219: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 18220: archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 18221: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 18222: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18223: else
! 18224: case $host_os in
! 18225: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 18226: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 18227: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18228: ;;
! 18229: *)
! 18230: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 18231: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 18232: ;;
! 18233: esac
! 18234: fi
! 18235: else
! 18236: ld_shlibs_GCJ=no
! 18237: fi
! 18238: ;;
! 18239:
! 18240: os2*)
! 18241: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18242: hardcode_minus_L_GCJ=yes
! 18243: allow_undefined_flag_GCJ=unsupported
! 18244: archive_cmds_GCJ='$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'
! 18245: old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 18246: ;;
! 18247:
! 18248: osf3*)
! 18249: if test "$GCC" = yes; then
! 18250: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 18251: archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 18252: else
! 18253: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 18254: archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 18255: fi
! 18256: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18257: hardcode_libdir_separator_GCJ=:
! 18258: ;;
! 18259:
! 18260: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 18261: if test "$GCC" = yes; then
! 18262: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 18263: archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
! 18264: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18265: else
! 18266: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 18267: archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
! 18268: archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 18269: $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
! 18270:
! 18271: # Both c and cxx compiler support -rpath directly
! 18272: hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
! 18273: fi
! 18274: hardcode_libdir_separator_GCJ=:
! 18275: ;;
! 18276:
! 18277: solaris*)
! 18278: no_undefined_flag_GCJ=' -z text'
! 18279: if test "$GCC" = yes; then
! 18280: wlarc='${wl}'
! 18281: archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18282: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 18283: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 18284: else
! 18285: wlarc=''
! 18286: archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18287: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 18288: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 18289: fi
! 18290: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18291: hardcode_shlibpath_var_GCJ=no
! 18292: case $host_os in
! 18293: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 18294: *)
! 18295: # The compiler driver will combine and reorder linker options,
! 18296: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 18297: # but is careful enough not to reorder.
! 18298: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 18299: if test "$GCC" = yes; then
! 18300: whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 18301: else
! 18302: whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
! 18303: fi
! 18304: ;;
! 18305: esac
! 18306: link_all_deplibs_GCJ=yes
! 18307: ;;
! 18308:
! 18309: sunos4*)
! 18310: if test "x$host_vendor" = xsequent; then
! 18311: # Use $CC to link under sequent, because it throws in some extra .o
! 18312: # files that make .init and .fini sections work.
! 18313: archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 18314: else
! 18315: archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 18316: fi
! 18317: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18318: hardcode_direct_GCJ=yes
! 18319: hardcode_minus_L_GCJ=yes
! 18320: hardcode_shlibpath_var_GCJ=no
! 18321: ;;
! 18322:
! 18323: sysv4)
! 18324: case $host_vendor in
! 18325: sni)
! 18326: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18327: hardcode_direct_GCJ=yes # is this really true???
! 18328: ;;
! 18329: siemens)
! 18330: ## LD is ld it makes a PLAMLIB
! 18331: ## CC just makes a GrossModule.
! 18332: archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 18333: reload_cmds_GCJ='$CC -r -o $output$reload_objs'
! 18334: hardcode_direct_GCJ=no
! 18335: ;;
! 18336: motorola)
! 18337: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18338: hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
! 18339: ;;
! 18340: esac
! 18341: runpath_var='LD_RUN_PATH'
! 18342: hardcode_shlibpath_var_GCJ=no
! 18343: ;;
! 18344:
! 18345: sysv4.3*)
! 18346: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18347: hardcode_shlibpath_var_GCJ=no
! 18348: export_dynamic_flag_spec_GCJ='-Bexport'
! 18349: ;;
! 18350:
! 18351: sysv4*MP*)
! 18352: if test -d /usr/nec; then
! 18353: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18354: hardcode_shlibpath_var_GCJ=no
! 18355: runpath_var=LD_RUN_PATH
! 18356: hardcode_runpath_var=yes
! 18357: ld_shlibs_GCJ=yes
! 18358: fi
! 18359: ;;
! 18360:
! 18361: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 18362: no_undefined_flag_GCJ='${wl}-z,text'
! 18363: archive_cmds_need_lc_GCJ=no
! 18364: hardcode_shlibpath_var_GCJ=no
! 18365: runpath_var='LD_RUN_PATH'
! 18366:
! 18367: if test "$GCC" = yes; then
! 18368: archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18369: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18370: else
! 18371: archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18372: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18373: fi
! 18374: ;;
! 18375:
! 18376: sysv5* | sco3.2v5* | sco5v6*)
! 18377: # Note: We can NOT use -z defs as we might desire, because we do not
! 18378: # link with -lc, and that would cause any symbols used from libc to
! 18379: # always be unresolved, which means just about no library would
! 18380: # ever link correctly. If we're not using GNU ld we use -z text
! 18381: # though, which does catch some bad symbols but isn't as heavy-handed
! 18382: # as -z defs.
! 18383: no_undefined_flag_GCJ='${wl}-z,text'
! 18384: allow_undefined_flag_GCJ='${wl}-z,nodefs'
! 18385: archive_cmds_need_lc_GCJ=no
! 18386: hardcode_shlibpath_var_GCJ=no
! 18387: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 18388: hardcode_libdir_separator_GCJ=':'
! 18389: link_all_deplibs_GCJ=yes
! 18390: export_dynamic_flag_spec_GCJ='${wl}-Bexport'
! 18391: runpath_var='LD_RUN_PATH'
! 18392:
! 18393: if test "$GCC" = yes; then
! 18394: archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18395: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18396: else
! 18397: archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18398: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18399: fi
! 18400: ;;
! 18401:
! 18402: uts4*)
! 18403: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18404: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18405: hardcode_shlibpath_var_GCJ=no
! 18406: ;;
! 18407:
! 18408: *)
! 18409: ld_shlibs_GCJ=no
! 18410: ;;
! 18411: esac
! 18412: fi
! 18413:
! 18414: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
! 18415: $as_echo "$ld_shlibs_GCJ" >&6; }
! 18416: test "$ld_shlibs_GCJ" = no && can_build_shared=no
! 18417:
! 18418: #
! 18419: # Do we need to explicitly link libc?
! 18420: #
! 18421: case "x$archive_cmds_need_lc_GCJ" in
! 18422: x|xyes)
! 18423: # Assume -lc should be added
! 18424: archive_cmds_need_lc_GCJ=yes
! 18425:
! 18426: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 18427: case $archive_cmds_GCJ in
! 18428: *'~'*)
! 18429: # FIXME: we may have to deal with multi-command sequences.
! 18430: ;;
! 18431: '$CC '*)
! 18432: # Test whether the compiler implicitly links with -lc since on some
! 18433: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 18434: # to ld, don't add -lc before -lgcc.
! 18435: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 18436: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 18437: $rm conftest*
! 18438: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 18439:
! 18440: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 18441: (eval $ac_compile) 2>&5
! 18442: ac_status=$?
! 18443: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18444: (exit $ac_status); } 2>conftest.err; then
! 18445: soname=conftest
! 18446: lib=conftest
! 18447: libobjs=conftest.$ac_objext
! 18448: deplibs=
! 18449: wl=$lt_prog_compiler_wl_GCJ
! 18450: pic_flag=$lt_prog_compiler_pic_GCJ
! 18451: compiler_flags=-v
! 18452: linker_flags=-v
! 18453: verstring=
! 18454: output_objdir=.
! 18455: libname=conftest
! 18456: lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
! 18457: allow_undefined_flag_GCJ=
! 18458: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 18459: (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 18460: ac_status=$?
! 18461: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18462: (exit $ac_status); }
! 18463: then
! 18464: archive_cmds_need_lc_GCJ=no
! 18465: else
! 18466: archive_cmds_need_lc_GCJ=yes
! 18467: fi
! 18468: allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
! 18469: else
! 18470: cat conftest.err 1>&5
! 18471: fi
! 18472: $rm conftest*
! 18473: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
! 18474: $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
! 18475: ;;
! 18476: esac
! 18477: fi
! 18478: ;;
! 18479: esac
! 18480:
! 18481: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 18482: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 18483: library_names_spec=
! 18484: libname_spec='lib$name'
! 18485: soname_spec=
! 18486: shrext_cmds=".so"
! 18487: postinstall_cmds=
! 18488: postuninstall_cmds=
! 18489: finish_cmds=
! 18490: finish_eval=
! 18491: shlibpath_var=
! 18492: shlibpath_overrides_runpath=unknown
! 18493: version_type=none
! 18494: dynamic_linker="$host_os ld.so"
! 18495: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 18496:
! 18497: need_lib_prefix=unknown
! 18498: hardcode_into_libs=no
! 18499:
! 18500: # when you set need_version to no, make sure it does not cause -set_version
! 18501: # flags to be left without arguments
! 18502: need_version=unknown
! 18503:
! 18504: case $host_os in
! 18505: aix3*)
! 18506: version_type=linux
! 18507: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 18508: shlibpath_var=LIBPATH
! 18509:
! 18510: # AIX 3 has no versioning support, so we append a major version to the name.
! 18511: soname_spec='${libname}${release}${shared_ext}$major'
! 18512: ;;
! 18513:
! 18514: aix[4-9]*)
! 18515: version_type=linux
! 18516: need_lib_prefix=no
! 18517: need_version=no
! 18518: hardcode_into_libs=yes
! 18519: if test "$host_cpu" = ia64; then
! 18520: # AIX 5 supports IA64
! 18521: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 18522: shlibpath_var=LD_LIBRARY_PATH
! 18523: else
! 18524: # With GCC up to 2.95.x, collect2 would create an import file
! 18525: # for dependence libraries. The import file would start with
! 18526: # the line `#! .'. This would cause the generated library to
! 18527: # depend on `.', always an invalid library. This was fixed in
! 18528: # development snapshots of GCC prior to 3.0.
! 18529: case $host_os in
! 18530: aix4 | aix4.[01] | aix4.[01].*)
! 18531: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 18532: echo ' yes '
! 18533: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 18534: :
! 18535: else
! 18536: can_build_shared=no
! 18537: fi
! 18538: ;;
! 18539: esac
! 18540: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 18541: # soname into executable. Probably we can add versioning support to
! 18542: # collect2, so additional links can be useful in future.
! 18543: if test "$aix_use_runtimelinking" = yes; then
! 18544: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 18545: # instead of lib<name>.a to let people know that these are not
! 18546: # typical AIX shared libraries.
! 18547: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18548: else
! 18549: # We preserve .a as extension for shared libraries through AIX4.2
! 18550: # and later when we are not doing run time linking.
! 18551: library_names_spec='${libname}${release}.a $libname.a'
! 18552: soname_spec='${libname}${release}${shared_ext}$major'
! 18553: fi
! 18554: shlibpath_var=LIBPATH
! 18555: fi
! 18556: ;;
! 18557:
! 18558: amigaos*)
! 18559: library_names_spec='$libname.ixlibrary $libname.a'
! 18560: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 18561: 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'
! 18562: ;;
! 18563:
! 18564: beos*)
! 18565: library_names_spec='${libname}${shared_ext}'
! 18566: dynamic_linker="$host_os ld.so"
! 18567: shlibpath_var=LIBRARY_PATH
! 18568: ;;
! 18569:
! 18570: bsdi[45]*)
! 18571: version_type=linux
! 18572: need_version=no
! 18573: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18574: soname_spec='${libname}${release}${shared_ext}$major'
! 18575: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 18576: shlibpath_var=LD_LIBRARY_PATH
! 18577: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 18578: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 18579: # the default ld.so.conf also contains /usr/contrib/lib and
! 18580: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 18581: # libtool to hard-code these into programs
! 18582: ;;
! 18583:
! 18584: cygwin* | mingw* | pw32*)
! 18585: version_type=windows
! 18586: shrext_cmds=".dll"
! 18587: need_version=no
! 18588: need_lib_prefix=no
! 18589:
! 18590: case $GCC,$host_os in
! 18591: yes,cygwin* | yes,mingw* | yes,pw32*)
! 18592: library_names_spec='$libname.dll.a'
! 18593: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 18594: postinstall_cmds='base_file=`basename \${file}`~
! 18595: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 18596: dldir=$destdir/`dirname \$dlpath`~
! 18597: test -d \$dldir || mkdir -p \$dldir~
! 18598: $install_prog $dir/$dlname \$dldir/$dlname~
! 18599: chmod a+x \$dldir/$dlname'
! 18600: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 18601: dlpath=$dir/\$dldll~
! 18602: $rm \$dlpath'
! 18603: shlibpath_overrides_runpath=yes
! 18604:
! 18605: case $host_os in
! 18606: cygwin*)
! 18607: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 18608: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18609: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 18610: ;;
! 18611: mingw*)
! 18612: # MinGW DLLs use traditional 'lib' prefix
! 18613: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18614: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 18615: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 18616: # It is most probably a Windows format PATH printed by
! 18617: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 18618: # path with ; separators, and with drive letters. We can handle the
! 18619: # drive letters (cygwin fileutils understands them), so leave them,
! 18620: # especially as we might pass files found there to a mingw objdump,
! 18621: # which wouldn't understand a cygwinified path. Ahh.
! 18622: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 18623: else
! 18624: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 18625: fi
! 18626: ;;
! 18627: pw32*)
! 18628: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 18629: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18630: ;;
! 18631: esac
! 18632: ;;
! 18633:
! 18634: *)
! 18635: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 18636: ;;
! 18637: esac
! 18638: dynamic_linker='Win32 ld.exe'
! 18639: # FIXME: first we should search . and the directory the executable is in
! 18640: shlibpath_var=PATH
! 18641: ;;
! 18642:
! 18643: darwin* | rhapsody*)
! 18644: dynamic_linker="$host_os dyld"
! 18645: version_type=darwin
! 18646: need_lib_prefix=no
! 18647: need_version=no
! 18648: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 18649: soname_spec='${libname}${release}${major}$shared_ext'
! 18650: shlibpath_overrides_runpath=yes
! 18651: shlibpath_var=DYLD_LIBRARY_PATH
! 18652: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 18653:
! 18654: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 18655: ;;
! 18656:
! 18657: dgux*)
! 18658: version_type=linux
! 18659: need_lib_prefix=no
! 18660: need_version=no
! 18661: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 18662: soname_spec='${libname}${release}${shared_ext}$major'
! 18663: shlibpath_var=LD_LIBRARY_PATH
! 18664: ;;
! 18665:
! 18666: freebsd1*)
! 18667: dynamic_linker=no
! 18668: ;;
! 18669:
! 18670: freebsd* | dragonfly*)
! 18671: # DragonFly does not have aout. When/if they implement a new
! 18672: # versioning mechanism, adjust this.
! 18673: if test -x /usr/bin/objformat; then
! 18674: objformat=`/usr/bin/objformat`
! 18675: else
! 18676: case $host_os in
! 18677: freebsd[123]*) objformat=aout ;;
! 18678: *) objformat=elf ;;
! 18679: esac
! 18680: fi
! 18681: # Handle Gentoo/FreeBSD as it was Linux
! 18682: case $host_vendor in
! 18683: gentoo)
! 18684: version_type=linux ;;
! 18685: *)
! 18686: version_type=freebsd-$objformat ;;
! 18687: esac
! 18688:
! 18689: case $version_type in
! 18690: freebsd-elf*)
! 18691: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 18692: need_version=no
! 18693: need_lib_prefix=no
! 18694: ;;
! 18695: freebsd-*)
! 18696: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 18697: need_version=yes
! 18698: ;;
! 18699: linux)
! 18700: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18701: soname_spec='${libname}${release}${shared_ext}$major'
! 18702: need_lib_prefix=no
! 18703: need_version=no
! 18704: ;;
! 18705: esac
! 18706: shlibpath_var=LD_LIBRARY_PATH
! 18707: case $host_os in
! 18708: freebsd2*)
! 18709: shlibpath_overrides_runpath=yes
! 18710: ;;
! 18711: freebsd3.[01]* | freebsdelf3.[01]*)
! 18712: shlibpath_overrides_runpath=yes
! 18713: hardcode_into_libs=yes
! 18714: ;;
! 18715: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 18716: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 18717: shlibpath_overrides_runpath=no
! 18718: hardcode_into_libs=yes
! 18719: ;;
! 18720: *) # from 4.6 on, and DragonFly
! 18721: shlibpath_overrides_runpath=yes
! 18722: hardcode_into_libs=yes
! 18723: ;;
! 18724: esac
! 18725: ;;
! 18726:
! 18727: gnu*)
! 18728: version_type=linux
! 18729: need_lib_prefix=no
! 18730: need_version=no
! 18731: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 18732: soname_spec='${libname}${release}${shared_ext}$major'
! 18733: shlibpath_var=LD_LIBRARY_PATH
! 18734: hardcode_into_libs=yes
! 18735: ;;
! 18736:
! 18737: hpux9* | hpux10* | hpux11*)
! 18738: # Give a soname corresponding to the major version so that dld.sl refuses to
! 18739: # link against other versions.
! 18740: version_type=sunos
! 18741: need_lib_prefix=no
! 18742: need_version=no
! 18743: case $host_cpu in
! 18744: ia64*)
! 18745: shrext_cmds='.so'
! 18746: hardcode_into_libs=yes
! 18747: dynamic_linker="$host_os dld.so"
! 18748: shlibpath_var=LD_LIBRARY_PATH
! 18749: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 18750: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18751: soname_spec='${libname}${release}${shared_ext}$major'
! 18752: if test "X$HPUX_IA64_MODE" = X32; then
! 18753: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 18754: else
! 18755: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 18756: fi
! 18757: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 18758: ;;
! 18759: hppa*64*)
! 18760: shrext_cmds='.sl'
! 18761: hardcode_into_libs=yes
! 18762: dynamic_linker="$host_os dld.sl"
! 18763: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 18764: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 18765: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18766: soname_spec='${libname}${release}${shared_ext}$major'
! 18767: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 18768: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 18769: ;;
! 18770: *)
! 18771: shrext_cmds='.sl'
! 18772: dynamic_linker="$host_os dld.sl"
! 18773: shlibpath_var=SHLIB_PATH
! 18774: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 18775: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18776: soname_spec='${libname}${release}${shared_ext}$major'
! 18777: ;;
! 18778: esac
! 18779: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 18780: postinstall_cmds='chmod 555 $lib'
! 18781: ;;
! 18782:
! 18783: interix[3-9]*)
! 18784: version_type=linux
! 18785: need_lib_prefix=no
! 18786: need_version=no
! 18787: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18788: soname_spec='${libname}${release}${shared_ext}$major'
! 18789: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 18790: shlibpath_var=LD_LIBRARY_PATH
! 18791: shlibpath_overrides_runpath=no
! 18792: hardcode_into_libs=yes
! 18793: ;;
! 18794:
! 18795: irix5* | irix6* | nonstopux*)
! 18796: case $host_os in
! 18797: nonstopux*) version_type=nonstopux ;;
! 18798: *)
! 18799: if test "$lt_cv_prog_gnu_ld" = yes; then
! 18800: version_type=linux
! 18801: else
! 18802: version_type=irix
! 18803: fi ;;
! 18804: esac
! 18805: need_lib_prefix=no
! 18806: need_version=no
! 18807: soname_spec='${libname}${release}${shared_ext}$major'
! 18808: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 18809: case $host_os in
! 18810: irix5* | nonstopux*)
! 18811: libsuff= shlibsuff=
! 18812: ;;
! 18813: *)
! 18814: case $LD in # libtool.m4 will add one of these switches to LD
! 18815: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 18816: libsuff= shlibsuff= libmagic=32-bit;;
! 18817: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 18818: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 18819: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 18820: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 18821: *) libsuff= shlibsuff= libmagic=never-match;;
! 18822: esac
! 18823: ;;
! 18824: esac
! 18825: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 18826: shlibpath_overrides_runpath=no
! 18827: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 18828: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 18829: hardcode_into_libs=yes
! 18830: ;;
! 18831:
! 18832: # No shared lib support for Linux oldld, aout, or coff.
! 18833: linux*oldld* | linux*aout* | linux*coff*)
! 18834: dynamic_linker=no
! 18835: ;;
! 18836:
! 18837: # This must be Linux ELF.
! 18838: linux* | k*bsd*-gnu)
! 18839: version_type=linux
! 18840: need_lib_prefix=no
! 18841: need_version=no
! 18842: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18843: soname_spec='${libname}${release}${shared_ext}$major'
! 18844: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 18845: shlibpath_var=LD_LIBRARY_PATH
! 18846: shlibpath_overrides_runpath=no
! 18847: # This implies no fast_install, which is unacceptable.
! 18848: # Some rework will be needed to allow for fast_install
! 18849: # before this can be enabled.
! 18850: hardcode_into_libs=yes
! 18851:
! 18852: # Append ld.so.conf contents to the search path
! 18853: if test -f /etc/ld.so.conf; then
! 18854: 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' ' '`
! 18855: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 18856: fi
! 18857:
! 18858: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 18859: # powerpc, because MkLinux only supported shared libraries with the
! 18860: # GNU dynamic linker. Since this was broken with cross compilers,
! 18861: # most powerpc-linux boxes support dynamic linking these days and
! 18862: # people can always --disable-shared, the test was removed, and we
! 18863: # assume the GNU/Linux dynamic linker is in use.
! 18864: dynamic_linker='GNU/Linux ld.so'
! 18865: ;;
! 18866:
! 18867: netbsd*)
! 18868: version_type=sunos
! 18869: need_lib_prefix=no
! 18870: need_version=no
! 18871: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 18872: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18873: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 18874: dynamic_linker='NetBSD (a.out) ld.so'
! 18875: else
! 18876: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18877: soname_spec='${libname}${release}${shared_ext}$major'
! 18878: dynamic_linker='NetBSD ld.elf_so'
! 18879: fi
! 18880: shlibpath_var=LD_LIBRARY_PATH
! 18881: shlibpath_overrides_runpath=yes
! 18882: hardcode_into_libs=yes
! 18883: ;;
! 18884:
! 18885: newsos6)
! 18886: version_type=linux
! 18887: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18888: shlibpath_var=LD_LIBRARY_PATH
! 18889: shlibpath_overrides_runpath=yes
! 18890: ;;
! 18891:
! 18892: nto-qnx*)
! 18893: version_type=linux
! 18894: need_lib_prefix=no
! 18895: need_version=no
! 18896: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18897: soname_spec='${libname}${release}${shared_ext}$major'
! 18898: shlibpath_var=LD_LIBRARY_PATH
! 18899: shlibpath_overrides_runpath=yes
! 18900: ;;
! 18901:
! 18902: openbsd*)
! 18903: version_type=sunos
! 18904: sys_lib_dlsearch_path_spec="/usr/lib"
! 18905: need_lib_prefix=no
! 18906: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 18907: case $host_os in
! 18908: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 18909: *) need_version=no ;;
! 18910: esac
! 18911: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18912: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 18913: shlibpath_var=LD_LIBRARY_PATH
! 18914: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 18915: case $host_os in
! 18916: openbsd2.[89] | openbsd2.[89].*)
! 18917: shlibpath_overrides_runpath=no
! 18918: ;;
! 18919: *)
! 18920: shlibpath_overrides_runpath=yes
! 18921: ;;
! 18922: esac
! 18923: else
! 18924: shlibpath_overrides_runpath=yes
! 18925: fi
! 18926: ;;
! 18927:
! 18928: os2*)
! 18929: libname_spec='$name'
! 18930: shrext_cmds=".dll"
! 18931: need_lib_prefix=no
! 18932: library_names_spec='$libname${shared_ext} $libname.a'
! 18933: dynamic_linker='OS/2 ld.exe'
! 18934: shlibpath_var=LIBPATH
! 18935: ;;
! 18936:
! 18937: osf3* | osf4* | osf5*)
! 18938: version_type=osf
! 18939: need_lib_prefix=no
! 18940: need_version=no
! 18941: soname_spec='${libname}${release}${shared_ext}$major'
! 18942: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18943: shlibpath_var=LD_LIBRARY_PATH
! 18944: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 18945: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 18946: ;;
! 18947:
! 18948: rdos*)
! 18949: dynamic_linker=no
! 18950: ;;
! 18951:
! 18952: solaris*)
! 18953: version_type=linux
! 18954: need_lib_prefix=no
! 18955: need_version=no
! 18956: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18957: soname_spec='${libname}${release}${shared_ext}$major'
! 18958: shlibpath_var=LD_LIBRARY_PATH
! 18959: shlibpath_overrides_runpath=yes
! 18960: hardcode_into_libs=yes
! 18961: # ldd complains unless libraries are executable
! 18962: postinstall_cmds='chmod +x $lib'
! 18963: ;;
! 18964:
! 18965: sunos4*)
! 18966: version_type=sunos
! 18967: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18968: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 18969: shlibpath_var=LD_LIBRARY_PATH
! 18970: shlibpath_overrides_runpath=yes
! 18971: if test "$with_gnu_ld" = yes; then
! 18972: need_lib_prefix=no
! 18973: fi
! 18974: need_version=yes
! 18975: ;;
! 18976:
! 18977: sysv4 | sysv4.3*)
! 18978: version_type=linux
! 18979: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18980: soname_spec='${libname}${release}${shared_ext}$major'
! 18981: shlibpath_var=LD_LIBRARY_PATH
! 18982: case $host_vendor in
! 18983: sni)
! 18984: shlibpath_overrides_runpath=no
! 18985: need_lib_prefix=no
! 18986: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 18987: runpath_var=LD_RUN_PATH
! 18988: ;;
! 18989: siemens)
! 18990: need_lib_prefix=no
! 18991: ;;
! 18992: motorola)
! 18993: need_lib_prefix=no
! 18994: need_version=no
! 18995: shlibpath_overrides_runpath=no
! 18996: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 18997: ;;
! 18998: esac
! 18999: ;;
! 19000:
! 19001: sysv4*MP*)
! 19002: if test -d /usr/nec ;then
! 19003: version_type=linux
! 19004: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 19005: soname_spec='$libname${shared_ext}.$major'
! 19006: shlibpath_var=LD_LIBRARY_PATH
! 19007: fi
! 19008: ;;
! 19009:
! 19010: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 19011: version_type=freebsd-elf
! 19012: need_lib_prefix=no
! 19013: need_version=no
! 19014: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 19015: soname_spec='${libname}${release}${shared_ext}$major'
! 19016: shlibpath_var=LD_LIBRARY_PATH
! 19017: hardcode_into_libs=yes
! 19018: if test "$with_gnu_ld" = yes; then
! 19019: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 19020: shlibpath_overrides_runpath=no
! 19021: else
! 19022: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 19023: shlibpath_overrides_runpath=yes
! 19024: case $host_os in
! 19025: sco3.2v5*)
! 19026: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 19027: ;;
! 19028: esac
! 19029: fi
! 19030: sys_lib_dlsearch_path_spec='/usr/lib'
! 19031: ;;
! 19032:
! 19033: uts4*)
! 19034: version_type=linux
! 19035: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 19036: soname_spec='${libname}${release}${shared_ext}$major'
! 19037: shlibpath_var=LD_LIBRARY_PATH
! 19038: ;;
! 19039:
! 19040: *)
! 19041: dynamic_linker=no
! 19042: ;;
! 19043: esac
! 19044: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 19045: $as_echo "$dynamic_linker" >&6; }
! 19046: test "$dynamic_linker" = no && can_build_shared=no
! 19047:
! 19048: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 19049: $as_echo_n "(cached) " >&6
! 19050: else
! 19051: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 19052: fi
! 19053:
! 19054: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 19055: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 19056: $as_echo_n "(cached) " >&6
! 19057: else
! 19058: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 19059: fi
! 19060:
! 19061: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 19062:
! 19063: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 19064: if test "$GCC" = yes; then
! 19065: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 19066: fi
! 19067:
! 19068: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 19069: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 19070: hardcode_action_GCJ=
! 19071: if test -n "$hardcode_libdir_flag_spec_GCJ" || \
! 19072: test -n "$runpath_var_GCJ" || \
! 19073: test "X$hardcode_automatic_GCJ" = "Xyes" ; then
! 19074:
! 19075: # We can hardcode non-existant directories.
! 19076: if test "$hardcode_direct_GCJ" != no &&
! 19077: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 19078: # have to relink, otherwise we might link with an installed library
! 19079: # when we should be linking with a yet-to-be-installed one
! 19080: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
! 19081: test "$hardcode_minus_L_GCJ" != no; then
! 19082: # Linking always hardcodes the temporary library directory.
! 19083: hardcode_action_GCJ=relink
! 19084: else
! 19085: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 19086: hardcode_action_GCJ=immediate
! 19087: fi
! 19088: else
! 19089: # We cannot hardcode anything, or else we can only hardcode existing
! 19090: # directories.
! 19091: hardcode_action_GCJ=unsupported
! 19092: fi
! 19093: { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
! 19094: $as_echo "$hardcode_action_GCJ" >&6; }
! 19095:
! 19096: if test "$hardcode_action_GCJ" = relink; then
! 19097: # Fast installation is not supported
! 19098: enable_fast_install=no
! 19099: elif test "$shlibpath_overrides_runpath" = yes ||
! 19100: test "$enable_shared" = no; then
! 19101: # Fast installation is not necessary
! 19102: enable_fast_install=needless
! 19103: fi
! 19104:
! 19105:
! 19106: # The else clause should only fire when bootstrapping the
! 19107: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 19108: # with your package, and you will get complaints that there are
! 19109: # no rules to generate ltmain.sh.
! 19110: if test -f "$ltmain"; then
! 19111: # See if we are running on zsh, and set the options which allow our commands through
! 19112: # without removal of \ escapes.
! 19113: if test -n "${ZSH_VERSION+set}" ; then
! 19114: setopt NO_GLOB_SUBST
! 19115: fi
! 19116: # Now quote all the things that may contain metacharacters while being
! 19117: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 19118: # variables and quote the copies for generation of the libtool script.
! 19119: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 19120: SED SHELL STRIP \
! 19121: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 19122: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 19123: deplibs_check_method reload_flag reload_cmds need_locks \
! 19124: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 19125: lt_cv_sys_global_symbol_to_c_name_address \
! 19126: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 19127: old_postinstall_cmds old_postuninstall_cmds \
! 19128: compiler_GCJ \
! 19129: CC_GCJ \
! 19130: LD_GCJ \
! 19131: lt_prog_compiler_wl_GCJ \
! 19132: lt_prog_compiler_pic_GCJ \
! 19133: lt_prog_compiler_static_GCJ \
! 19134: lt_prog_compiler_no_builtin_flag_GCJ \
! 19135: export_dynamic_flag_spec_GCJ \
! 19136: thread_safe_flag_spec_GCJ \
! 19137: whole_archive_flag_spec_GCJ \
! 19138: enable_shared_with_static_runtimes_GCJ \
! 19139: old_archive_cmds_GCJ \
! 19140: old_archive_from_new_cmds_GCJ \
! 19141: predep_objects_GCJ \
! 19142: postdep_objects_GCJ \
! 19143: predeps_GCJ \
! 19144: postdeps_GCJ \
! 19145: compiler_lib_search_path_GCJ \
! 19146: compiler_lib_search_dirs_GCJ \
! 19147: archive_cmds_GCJ \
! 19148: archive_expsym_cmds_GCJ \
! 19149: postinstall_cmds_GCJ \
! 19150: postuninstall_cmds_GCJ \
! 19151: old_archive_from_expsyms_cmds_GCJ \
! 19152: allow_undefined_flag_GCJ \
! 19153: no_undefined_flag_GCJ \
! 19154: export_symbols_cmds_GCJ \
! 19155: hardcode_libdir_flag_spec_GCJ \
! 19156: hardcode_libdir_flag_spec_ld_GCJ \
! 19157: hardcode_libdir_separator_GCJ \
! 19158: hardcode_automatic_GCJ \
! 19159: module_cmds_GCJ \
! 19160: module_expsym_cmds_GCJ \
! 19161: lt_cv_prog_compiler_c_o_GCJ \
! 19162: fix_srcfile_path_GCJ \
! 19163: exclude_expsyms_GCJ \
! 19164: include_expsyms_GCJ; do
! 19165:
! 19166: case $var in
! 19167: old_archive_cmds_GCJ | \
! 19168: old_archive_from_new_cmds_GCJ | \
! 19169: archive_cmds_GCJ | \
! 19170: archive_expsym_cmds_GCJ | \
! 19171: module_cmds_GCJ | \
! 19172: module_expsym_cmds_GCJ | \
! 19173: old_archive_from_expsyms_cmds_GCJ | \
! 19174: export_symbols_cmds_GCJ | \
! 19175: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 19176: postinstall_cmds | postuninstall_cmds | \
! 19177: old_postinstall_cmds | old_postuninstall_cmds | \
! 19178: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 19179: # Double-quote double-evaled strings.
! 19180: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 19181: ;;
! 19182: *)
! 19183: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 19184: ;;
! 19185: esac
! 19186: done
! 19187:
! 19188: case $lt_echo in
! 19189: *'\$0 --fallback-echo"')
! 19190: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 19191: ;;
! 19192: esac
! 19193:
! 19194: cfgfile="$ofile"
! 19195:
! 19196: cat <<__EOF__ >> "$cfgfile"
! 19197: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 19198:
! 19199: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19200:
! 19201: # Shell to use when invoking shell scripts.
! 19202: SHELL=$lt_SHELL
! 19203:
! 19204: # Whether or not to build shared libraries.
! 19205: build_libtool_libs=$enable_shared
! 19206:
! 19207: # Whether or not to build static libraries.
! 19208: build_old_libs=$enable_static
! 19209:
! 19210: # Whether or not to add -lc for building shared libraries.
! 19211: build_libtool_need_lc=$archive_cmds_need_lc_GCJ
! 19212:
! 19213: # Whether or not to disallow shared libs when runtime libs are static
! 19214: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
! 19215:
! 19216: # Whether or not to optimize for fast installation.
! 19217: fast_install=$enable_fast_install
! 19218:
! 19219: # The host system.
! 19220: host_alias=$host_alias
! 19221: host=$host
! 19222: host_os=$host_os
! 19223:
! 19224: # The build system.
! 19225: build_alias=$build_alias
! 19226: build=$build
! 19227: build_os=$build_os
! 19228:
! 19229: # An echo program that does not interpret backslashes.
! 19230: echo=$lt_echo
! 19231:
! 19232: # The archiver.
! 19233: AR=$lt_AR
! 19234: AR_FLAGS=$lt_AR_FLAGS
! 19235:
! 19236: # A C compiler.
! 19237: LTCC=$lt_LTCC
! 19238:
! 19239: # LTCC compiler flags.
! 19240: LTCFLAGS=$lt_LTCFLAGS
! 19241:
! 19242: # A language-specific compiler.
! 19243: CC=$lt_compiler_GCJ
! 19244:
! 19245: # Is the compiler the GNU C compiler?
! 19246: with_gcc=$GCC_GCJ
! 19247:
! 19248: # An ERE matcher.
! 19249: EGREP=$lt_EGREP
! 19250:
! 19251: # The linker used to build libraries.
! 19252: LD=$lt_LD_GCJ
! 19253:
! 19254: # Whether we need hard or soft links.
! 19255: LN_S=$lt_LN_S
! 19256:
! 19257: # A BSD-compatible nm program.
! 19258: NM=$lt_NM
! 19259:
! 19260: # A symbol stripping program
! 19261: STRIP=$lt_STRIP
! 19262:
! 19263: # Used to examine libraries when file_magic_cmd begins "file"
! 19264: MAGIC_CMD=$MAGIC_CMD
! 19265:
! 19266: # Used on cygwin: DLL creation program.
! 19267: DLLTOOL="$DLLTOOL"
! 19268:
! 19269: # Used on cygwin: object dumper.
! 19270: OBJDUMP="$OBJDUMP"
! 19271:
! 19272: # Used on cygwin: assembler.
! 19273: AS="$AS"
! 19274:
! 19275: # The name of the directory that contains temporary libtool files.
! 19276: objdir=$objdir
! 19277:
! 19278: # How to create reloadable object files.
! 19279: reload_flag=$lt_reload_flag
! 19280: reload_cmds=$lt_reload_cmds
! 19281:
! 19282: # How to pass a linker flag through the compiler.
! 19283: wl=$lt_lt_prog_compiler_wl_GCJ
! 19284:
! 19285: # Object file suffix (normally "o").
! 19286: objext="$ac_objext"
! 19287:
! 19288: # Old archive suffix (normally "a").
! 19289: libext="$libext"
! 19290:
! 19291: # Shared library suffix (normally ".so").
! 19292: shrext_cmds='$shrext_cmds'
! 19293:
! 19294: # Executable file suffix (normally "").
! 19295: exeext="$exeext"
! 19296:
! 19297: # Additional compiler flags for building library objects.
! 19298: pic_flag=$lt_lt_prog_compiler_pic_GCJ
! 19299: pic_mode=$pic_mode
! 19300:
! 19301: # What is the maximum length of a command?
! 19302: max_cmd_len=$lt_cv_sys_max_cmd_len
! 19303:
! 19304: # Does compiler simultaneously support -c and -o options?
! 19305: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
! 19306:
! 19307: # Must we lock files when doing compilation?
! 19308: need_locks=$lt_need_locks
! 19309:
! 19310: # Do we need the lib prefix for modules?
! 19311: need_lib_prefix=$need_lib_prefix
! 19312:
! 19313: # Do we need a version for libraries?
! 19314: need_version=$need_version
! 19315:
! 19316: # Whether dlopen is supported.
! 19317: dlopen_support=$enable_dlopen
! 19318:
! 19319: # Whether dlopen of programs is supported.
! 19320: dlopen_self=$enable_dlopen_self
! 19321:
! 19322: # Whether dlopen of statically linked programs is supported.
! 19323: dlopen_self_static=$enable_dlopen_self_static
! 19324:
! 19325: # Compiler flag to prevent dynamic linking.
! 19326: link_static_flag=$lt_lt_prog_compiler_static_GCJ
! 19327:
! 19328: # Compiler flag to turn off builtin functions.
! 19329: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
! 19330:
! 19331: # Compiler flag to allow reflexive dlopens.
! 19332: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
! 19333:
! 19334: # Compiler flag to generate shared objects directly from archives.
! 19335: whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
! 19336:
! 19337: # Compiler flag to generate thread-safe objects.
! 19338: thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
! 19339:
! 19340: # Library versioning type.
! 19341: version_type=$version_type
! 19342:
! 19343: # Format of library name prefix.
! 19344: libname_spec=$lt_libname_spec
! 19345:
! 19346: # List of archive names. First name is the real one, the rest are links.
! 19347: # The last name is the one that the linker finds with -lNAME.
! 19348: library_names_spec=$lt_library_names_spec
! 19349:
! 19350: # The coded name of the library, if different from the real name.
! 19351: soname_spec=$lt_soname_spec
! 19352:
! 19353: # Commands used to build and install an old-style archive.
! 19354: RANLIB=$lt_RANLIB
! 19355: old_archive_cmds=$lt_old_archive_cmds_GCJ
! 19356: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19357: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19358:
! 19359: # Create an old-style archive from a shared archive.
! 19360: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
! 19361:
! 19362: # Create a temporary old-style archive to link instead of a shared archive.
! 19363: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
! 19364:
! 19365: # Commands used to build and install a shared archive.
! 19366: archive_cmds=$lt_archive_cmds_GCJ
! 19367: archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
! 19368: postinstall_cmds=$lt_postinstall_cmds
! 19369: postuninstall_cmds=$lt_postuninstall_cmds
! 19370:
! 19371: # Commands used to build a loadable module (assumed same as above if empty)
! 19372: module_cmds=$lt_module_cmds_GCJ
! 19373: module_expsym_cmds=$lt_module_expsym_cmds_GCJ
! 19374:
! 19375: # Commands to strip libraries.
! 19376: old_striplib=$lt_old_striplib
! 19377: striplib=$lt_striplib
! 19378:
! 19379: # Dependencies to place before the objects being linked to create a
! 19380: # shared library.
! 19381: predep_objects=$lt_predep_objects_GCJ
! 19382:
! 19383: # Dependencies to place after the objects being linked to create a
! 19384: # shared library.
! 19385: postdep_objects=$lt_postdep_objects_GCJ
! 19386:
! 19387: # Dependencies to place before the objects being linked to create a
! 19388: # shared library.
! 19389: predeps=$lt_predeps_GCJ
! 19390:
! 19391: # Dependencies to place after the objects being linked to create a
! 19392: # shared library.
! 19393: postdeps=$lt_postdeps_GCJ
! 19394:
! 19395: # The directories searched by this compiler when creating a shared
! 19396: # library
! 19397: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
! 19398:
! 19399: # The library search path used internally by the compiler when linking
! 19400: # a shared library.
! 19401: compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
! 19402:
! 19403: # Method to check whether dependent libraries are shared objects.
! 19404: deplibs_check_method=$lt_deplibs_check_method
! 19405:
! 19406: # Command to use when deplibs_check_method == file_magic.
! 19407: file_magic_cmd=$lt_file_magic_cmd
! 19408:
! 19409: # Flag that allows shared libraries with undefined symbols to be built.
! 19410: allow_undefined_flag=$lt_allow_undefined_flag_GCJ
! 19411:
! 19412: # Flag that forces no undefined symbols.
! 19413: no_undefined_flag=$lt_no_undefined_flag_GCJ
! 19414:
! 19415: # Commands used to finish a libtool library installation in a directory.
! 19416: finish_cmds=$lt_finish_cmds
! 19417:
! 19418: # Same as above, but a single script fragment to be evaled but not shown.
! 19419: finish_eval=$lt_finish_eval
! 19420:
! 19421: # Take the output of nm and produce a listing of raw symbols and C names.
! 19422: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19423:
! 19424: # Transform the output of nm in a proper C declaration
! 19425: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19426:
! 19427: # Transform the output of nm in a C name address pair
! 19428: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19429:
! 19430: # This is the shared library runtime path variable.
! 19431: runpath_var=$runpath_var
! 19432:
! 19433: # This is the shared library path variable.
! 19434: shlibpath_var=$shlibpath_var
! 19435:
! 19436: # Is shlibpath searched before the hard-coded library search path?
! 19437: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19438:
! 19439: # How to hardcode a shared library path into an executable.
! 19440: hardcode_action=$hardcode_action_GCJ
! 19441:
! 19442: # Whether we should hardcode library paths into libraries.
! 19443: hardcode_into_libs=$hardcode_into_libs
! 19444:
! 19445: # Flag to hardcode \$libdir into a binary during linking.
! 19446: # This must work even if \$libdir does not exist.
! 19447: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
! 19448:
! 19449: # If ld is used when linking, flag to hardcode \$libdir into
! 19450: # a binary during linking. This must work even if \$libdir does
! 19451: # not exist.
! 19452: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
! 19453:
! 19454: # Whether we need a single -rpath flag with a separated argument.
! 19455: hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
! 19456:
! 19457: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 19458: # resulting binary.
! 19459: hardcode_direct=$hardcode_direct_GCJ
! 19460:
! 19461: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 19462: # resulting binary.
! 19463: hardcode_minus_L=$hardcode_minus_L_GCJ
! 19464:
! 19465: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 19466: # the resulting binary.
! 19467: hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
! 19468:
! 19469: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 19470: # and all subsequent libraries and executables linked against it.
! 19471: hardcode_automatic=$hardcode_automatic_GCJ
! 19472:
! 19473: # Variables whose values should be saved in libtool wrapper scripts and
! 19474: # restored at relink time.
! 19475: variables_saved_for_relink="$variables_saved_for_relink"
! 19476:
! 19477: # Whether libtool must link a program against all its dependency libraries.
! 19478: link_all_deplibs=$link_all_deplibs_GCJ
! 19479:
! 19480: # Compile-time system search path for libraries
! 19481: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19482:
! 19483: # Run-time system search path for libraries
! 19484: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19485:
! 19486: # Fix the shell variable \$srcfile for the compiler.
! 19487: fix_srcfile_path=$lt_fix_srcfile_path
! 19488:
! 19489: # Set to yes if exported symbols are required.
! 19490: always_export_symbols=$always_export_symbols_GCJ
! 19491:
! 19492: # The commands to list exported symbols.
! 19493: export_symbols_cmds=$lt_export_symbols_cmds_GCJ
! 19494:
! 19495: # The commands to extract the exported symbol list from a shared archive.
! 19496: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19497:
! 19498: # Symbols that should not be listed in the preloaded symbols.
! 19499: exclude_expsyms=$lt_exclude_expsyms_GCJ
! 19500:
! 19501: # Symbols that must always be exported.
! 19502: include_expsyms=$lt_include_expsyms_GCJ
! 19503:
! 19504: # ### END LIBTOOL TAG CONFIG: $tagname
! 19505:
! 19506: __EOF__
! 19507:
! 19508:
! 19509: else
! 19510: # If there is no Makefile yet, we rely on a make rule to execute
! 19511: # `config.status --recheck' to rerun these tests and create the
! 19512: # libtool script then.
! 19513: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 19514: if test -f "$ltmain_in"; then
! 19515: test -f Makefile && make "$ltmain"
! 19516: fi
! 19517: fi
! 19518:
! 19519:
! 19520: ac_ext=c
! 19521: ac_cpp='$CPP $CPPFLAGS'
! 19522: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 19523: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 19524: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 19525:
! 19526: CC="$lt_save_CC"
! 19527:
! 19528: else
! 19529: tagname=""
! 19530: fi
! 19531: ;;
! 19532:
! 19533: RC)
! 19534:
! 19535:
! 19536: # Source file extension for RC test sources.
! 19537: ac_ext=rc
! 19538:
! 19539: # Object file extension for compiled RC test sources.
! 19540: objext=o
! 19541: objext_RC=$objext
! 19542:
! 19543: # Code to be used in simple compile tests
! 19544: lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
! 19545:
! 19546: # Code to be used in simple link tests
! 19547: lt_simple_link_test_code="$lt_simple_compile_test_code"
! 19548:
! 19549: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 19550:
! 19551: # If no C compiler was specified, use CC.
! 19552: LTCC=${LTCC-"$CC"}
! 19553:
! 19554: # If no C compiler flags were specified, use CFLAGS.
! 19555: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 19556:
! 19557: # Allow CC to be a program name with arguments.
! 19558: compiler=$CC
! 19559:
! 19560:
! 19561: # save warnings/boilerplate of simple test code
! 19562: ac_outfile=conftest.$ac_objext
! 19563: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 19564: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 19565: _lt_compiler_boilerplate=`cat conftest.err`
! 19566: $rm conftest*
! 19567:
! 19568: ac_outfile=conftest.$ac_objext
! 19569: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 19570: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 19571: _lt_linker_boilerplate=`cat conftest.err`
! 19572: $rm -r conftest*
! 19573:
! 19574:
! 19575: # Allow CC to be a program name with arguments.
! 19576: lt_save_CC="$CC"
! 19577: CC=${RC-"windres"}
! 19578: compiler=$CC
! 19579: compiler_RC=$CC
! 19580: for cc_temp in $compiler""; do
! 19581: case $cc_temp in
! 19582: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 19583: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 19584: \-*) ;;
! 19585: *) break;;
! 19586: esac
! 19587: done
! 19588: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 19589:
! 19590: lt_cv_prog_compiler_c_o_RC=yes
! 19591:
! 19592: # The else clause should only fire when bootstrapping the
! 19593: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 19594: # with your package, and you will get complaints that there are
! 19595: # no rules to generate ltmain.sh.
! 19596: if test -f "$ltmain"; then
! 19597: # See if we are running on zsh, and set the options which allow our commands through
! 19598: # without removal of \ escapes.
! 19599: if test -n "${ZSH_VERSION+set}" ; then
! 19600: setopt NO_GLOB_SUBST
! 19601: fi
! 19602: # Now quote all the things that may contain metacharacters while being
! 19603: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 19604: # variables and quote the copies for generation of the libtool script.
! 19605: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 19606: SED SHELL STRIP \
! 19607: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 19608: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 19609: deplibs_check_method reload_flag reload_cmds need_locks \
! 19610: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 19611: lt_cv_sys_global_symbol_to_c_name_address \
! 19612: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 19613: old_postinstall_cmds old_postuninstall_cmds \
! 19614: compiler_RC \
! 19615: CC_RC \
! 19616: LD_RC \
! 19617: lt_prog_compiler_wl_RC \
! 19618: lt_prog_compiler_pic_RC \
! 19619: lt_prog_compiler_static_RC \
! 19620: lt_prog_compiler_no_builtin_flag_RC \
! 19621: export_dynamic_flag_spec_RC \
! 19622: thread_safe_flag_spec_RC \
! 19623: whole_archive_flag_spec_RC \
! 19624: enable_shared_with_static_runtimes_RC \
! 19625: old_archive_cmds_RC \
! 19626: old_archive_from_new_cmds_RC \
! 19627: predep_objects_RC \
! 19628: postdep_objects_RC \
! 19629: predeps_RC \
! 19630: postdeps_RC \
! 19631: compiler_lib_search_path_RC \
! 19632: compiler_lib_search_dirs_RC \
! 19633: archive_cmds_RC \
! 19634: archive_expsym_cmds_RC \
! 19635: postinstall_cmds_RC \
! 19636: postuninstall_cmds_RC \
! 19637: old_archive_from_expsyms_cmds_RC \
! 19638: allow_undefined_flag_RC \
! 19639: no_undefined_flag_RC \
! 19640: export_symbols_cmds_RC \
! 19641: hardcode_libdir_flag_spec_RC \
! 19642: hardcode_libdir_flag_spec_ld_RC \
! 19643: hardcode_libdir_separator_RC \
! 19644: hardcode_automatic_RC \
! 19645: module_cmds_RC \
! 19646: module_expsym_cmds_RC \
! 19647: lt_cv_prog_compiler_c_o_RC \
! 19648: fix_srcfile_path_RC \
! 19649: exclude_expsyms_RC \
! 19650: include_expsyms_RC; do
! 19651:
! 19652: case $var in
! 19653: old_archive_cmds_RC | \
! 19654: old_archive_from_new_cmds_RC | \
! 19655: archive_cmds_RC | \
! 19656: archive_expsym_cmds_RC | \
! 19657: module_cmds_RC | \
! 19658: module_expsym_cmds_RC | \
! 19659: old_archive_from_expsyms_cmds_RC | \
! 19660: export_symbols_cmds_RC | \
! 19661: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 19662: postinstall_cmds | postuninstall_cmds | \
! 19663: old_postinstall_cmds | old_postuninstall_cmds | \
! 19664: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 19665: # Double-quote double-evaled strings.
! 19666: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 19667: ;;
! 19668: *)
! 19669: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 19670: ;;
! 19671: esac
! 19672: done
! 19673:
! 19674: case $lt_echo in
! 19675: *'\$0 --fallback-echo"')
! 19676: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 19677: ;;
! 19678: esac
! 19679:
! 19680: cfgfile="$ofile"
! 19681:
! 19682: cat <<__EOF__ >> "$cfgfile"
! 19683: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 19684:
! 19685: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19686:
! 19687: # Shell to use when invoking shell scripts.
! 19688: SHELL=$lt_SHELL
! 19689:
! 19690: # Whether or not to build shared libraries.
! 19691: build_libtool_libs=$enable_shared
! 19692:
! 19693: # Whether or not to build static libraries.
! 19694: build_old_libs=$enable_static
! 19695:
! 19696: # Whether or not to add -lc for building shared libraries.
! 19697: build_libtool_need_lc=$archive_cmds_need_lc_RC
! 19698:
! 19699: # Whether or not to disallow shared libs when runtime libs are static
! 19700: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
! 19701:
! 19702: # Whether or not to optimize for fast installation.
! 19703: fast_install=$enable_fast_install
! 19704:
! 19705: # The host system.
! 19706: host_alias=$host_alias
! 19707: host=$host
! 19708: host_os=$host_os
! 19709:
! 19710: # The build system.
! 19711: build_alias=$build_alias
! 19712: build=$build
! 19713: build_os=$build_os
! 19714:
! 19715: # An echo program that does not interpret backslashes.
! 19716: echo=$lt_echo
! 19717:
! 19718: # The archiver.
! 19719: AR=$lt_AR
! 19720: AR_FLAGS=$lt_AR_FLAGS
! 19721:
! 19722: # A C compiler.
! 19723: LTCC=$lt_LTCC
! 19724:
! 19725: # LTCC compiler flags.
! 19726: LTCFLAGS=$lt_LTCFLAGS
! 19727:
! 19728: # A language-specific compiler.
! 19729: CC=$lt_compiler_RC
! 19730:
! 19731: # Is the compiler the GNU C compiler?
! 19732: with_gcc=$GCC_RC
! 19733:
! 19734: # An ERE matcher.
! 19735: EGREP=$lt_EGREP
! 19736:
! 19737: # The linker used to build libraries.
! 19738: LD=$lt_LD_RC
! 19739:
! 19740: # Whether we need hard or soft links.
! 19741: LN_S=$lt_LN_S
! 19742:
! 19743: # A BSD-compatible nm program.
! 19744: NM=$lt_NM
! 19745:
! 19746: # A symbol stripping program
! 19747: STRIP=$lt_STRIP
! 19748:
! 19749: # Used to examine libraries when file_magic_cmd begins "file"
! 19750: MAGIC_CMD=$MAGIC_CMD
! 19751:
! 19752: # Used on cygwin: DLL creation program.
! 19753: DLLTOOL="$DLLTOOL"
! 19754:
! 19755: # Used on cygwin: object dumper.
! 19756: OBJDUMP="$OBJDUMP"
! 19757:
! 19758: # Used on cygwin: assembler.
! 19759: AS="$AS"
! 19760:
! 19761: # The name of the directory that contains temporary libtool files.
! 19762: objdir=$objdir
! 19763:
! 19764: # How to create reloadable object files.
! 19765: reload_flag=$lt_reload_flag
! 19766: reload_cmds=$lt_reload_cmds
! 19767:
! 19768: # How to pass a linker flag through the compiler.
! 19769: wl=$lt_lt_prog_compiler_wl_RC
! 19770:
! 19771: # Object file suffix (normally "o").
! 19772: objext="$ac_objext"
! 19773:
! 19774: # Old archive suffix (normally "a").
! 19775: libext="$libext"
! 19776:
! 19777: # Shared library suffix (normally ".so").
! 19778: shrext_cmds='$shrext_cmds'
! 19779:
! 19780: # Executable file suffix (normally "").
! 19781: exeext="$exeext"
! 19782:
! 19783: # Additional compiler flags for building library objects.
! 19784: pic_flag=$lt_lt_prog_compiler_pic_RC
! 19785: pic_mode=$pic_mode
! 19786:
! 19787: # What is the maximum length of a command?
! 19788: max_cmd_len=$lt_cv_sys_max_cmd_len
! 19789:
! 19790: # Does compiler simultaneously support -c and -o options?
! 19791: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
! 19792:
! 19793: # Must we lock files when doing compilation?
! 19794: need_locks=$lt_need_locks
! 19795:
! 19796: # Do we need the lib prefix for modules?
! 19797: need_lib_prefix=$need_lib_prefix
! 19798:
! 19799: # Do we need a version for libraries?
! 19800: need_version=$need_version
! 19801:
! 19802: # Whether dlopen is supported.
! 19803: dlopen_support=$enable_dlopen
! 19804:
! 19805: # Whether dlopen of programs is supported.
! 19806: dlopen_self=$enable_dlopen_self
! 19807:
! 19808: # Whether dlopen of statically linked programs is supported.
! 19809: dlopen_self_static=$enable_dlopen_self_static
! 19810:
! 19811: # Compiler flag to prevent dynamic linking.
! 19812: link_static_flag=$lt_lt_prog_compiler_static_RC
! 19813:
! 19814: # Compiler flag to turn off builtin functions.
! 19815: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
! 19816:
! 19817: # Compiler flag to allow reflexive dlopens.
! 19818: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
! 19819:
! 19820: # Compiler flag to generate shared objects directly from archives.
! 19821: whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
! 19822:
! 19823: # Compiler flag to generate thread-safe objects.
! 19824: thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
! 19825:
! 19826: # Library versioning type.
! 19827: version_type=$version_type
! 19828:
! 19829: # Format of library name prefix.
! 19830: libname_spec=$lt_libname_spec
! 19831:
! 19832: # List of archive names. First name is the real one, the rest are links.
! 19833: # The last name is the one that the linker finds with -lNAME.
! 19834: library_names_spec=$lt_library_names_spec
! 19835:
! 19836: # The coded name of the library, if different from the real name.
! 19837: soname_spec=$lt_soname_spec
! 19838:
! 19839: # Commands used to build and install an old-style archive.
! 19840: RANLIB=$lt_RANLIB
! 19841: old_archive_cmds=$lt_old_archive_cmds_RC
! 19842: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19843: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19844:
! 19845: # Create an old-style archive from a shared archive.
! 19846: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
! 19847:
! 19848: # Create a temporary old-style archive to link instead of a shared archive.
! 19849: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
! 19850:
! 19851: # Commands used to build and install a shared archive.
! 19852: archive_cmds=$lt_archive_cmds_RC
! 19853: archive_expsym_cmds=$lt_archive_expsym_cmds_RC
! 19854: postinstall_cmds=$lt_postinstall_cmds
! 19855: postuninstall_cmds=$lt_postuninstall_cmds
! 19856:
! 19857: # Commands used to build a loadable module (assumed same as above if empty)
! 19858: module_cmds=$lt_module_cmds_RC
! 19859: module_expsym_cmds=$lt_module_expsym_cmds_RC
! 19860:
! 19861: # Commands to strip libraries.
! 19862: old_striplib=$lt_old_striplib
! 19863: striplib=$lt_striplib
! 19864:
! 19865: # Dependencies to place before the objects being linked to create a
! 19866: # shared library.
! 19867: predep_objects=$lt_predep_objects_RC
! 19868:
! 19869: # Dependencies to place after the objects being linked to create a
! 19870: # shared library.
! 19871: postdep_objects=$lt_postdep_objects_RC
! 19872:
! 19873: # Dependencies to place before the objects being linked to create a
! 19874: # shared library.
! 19875: predeps=$lt_predeps_RC
! 19876:
! 19877: # Dependencies to place after the objects being linked to create a
! 19878: # shared library.
! 19879: postdeps=$lt_postdeps_RC
! 19880:
! 19881: # The directories searched by this compiler when creating a shared
! 19882: # library
! 19883: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
! 19884:
! 19885: # The library search path used internally by the compiler when linking
! 19886: # a shared library.
! 19887: compiler_lib_search_path=$lt_compiler_lib_search_path_RC
! 19888:
! 19889: # Method to check whether dependent libraries are shared objects.
! 19890: deplibs_check_method=$lt_deplibs_check_method
! 19891:
! 19892: # Command to use when deplibs_check_method == file_magic.
! 19893: file_magic_cmd=$lt_file_magic_cmd
! 19894:
! 19895: # Flag that allows shared libraries with undefined symbols to be built.
! 19896: allow_undefined_flag=$lt_allow_undefined_flag_RC
! 19897:
! 19898: # Flag that forces no undefined symbols.
! 19899: no_undefined_flag=$lt_no_undefined_flag_RC
! 19900:
! 19901: # Commands used to finish a libtool library installation in a directory.
! 19902: finish_cmds=$lt_finish_cmds
! 19903:
! 19904: # Same as above, but a single script fragment to be evaled but not shown.
! 19905: finish_eval=$lt_finish_eval
! 19906:
! 19907: # Take the output of nm and produce a listing of raw symbols and C names.
! 19908: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19909:
! 19910: # Transform the output of nm in a proper C declaration
! 19911: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19912:
! 19913: # Transform the output of nm in a C name address pair
! 19914: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19915:
! 19916: # This is the shared library runtime path variable.
! 19917: runpath_var=$runpath_var
! 19918:
! 19919: # This is the shared library path variable.
! 19920: shlibpath_var=$shlibpath_var
! 19921:
! 19922: # Is shlibpath searched before the hard-coded library search path?
! 19923: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19924:
! 19925: # How to hardcode a shared library path into an executable.
! 19926: hardcode_action=$hardcode_action_RC
! 19927:
! 19928: # Whether we should hardcode library paths into libraries.
! 19929: hardcode_into_libs=$hardcode_into_libs
! 19930:
! 19931: # Flag to hardcode \$libdir into a binary during linking.
! 19932: # This must work even if \$libdir does not exist.
! 19933: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
! 19934:
! 19935: # If ld is used when linking, flag to hardcode \$libdir into
! 19936: # a binary during linking. This must work even if \$libdir does
! 19937: # not exist.
! 19938: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
! 19939:
! 19940: # Whether we need a single -rpath flag with a separated argument.
! 19941: hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
! 19942:
! 19943: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 19944: # resulting binary.
! 19945: hardcode_direct=$hardcode_direct_RC
! 19946:
! 19947: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 19948: # resulting binary.
! 19949: hardcode_minus_L=$hardcode_minus_L_RC
! 19950:
! 19951: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 19952: # the resulting binary.
! 19953: hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
! 19954:
! 19955: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 19956: # and all subsequent libraries and executables linked against it.
! 19957: hardcode_automatic=$hardcode_automatic_RC
! 19958:
! 19959: # Variables whose values should be saved in libtool wrapper scripts and
! 19960: # restored at relink time.
! 19961: variables_saved_for_relink="$variables_saved_for_relink"
! 19962:
! 19963: # Whether libtool must link a program against all its dependency libraries.
! 19964: link_all_deplibs=$link_all_deplibs_RC
! 19965:
! 19966: # Compile-time system search path for libraries
! 19967: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19968:
! 19969: # Run-time system search path for libraries
! 19970: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19971:
! 19972: # Fix the shell variable \$srcfile for the compiler.
! 19973: fix_srcfile_path=$lt_fix_srcfile_path
! 19974:
! 19975: # Set to yes if exported symbols are required.
! 19976: always_export_symbols=$always_export_symbols_RC
! 19977:
! 19978: # The commands to list exported symbols.
! 19979: export_symbols_cmds=$lt_export_symbols_cmds_RC
! 19980:
! 19981: # The commands to extract the exported symbol list from a shared archive.
! 19982: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19983:
! 19984: # Symbols that should not be listed in the preloaded symbols.
! 19985: exclude_expsyms=$lt_exclude_expsyms_RC
! 19986:
! 19987: # Symbols that must always be exported.
! 19988: include_expsyms=$lt_include_expsyms_RC
! 19989:
! 19990: # ### END LIBTOOL TAG CONFIG: $tagname
! 19991:
! 19992: __EOF__
! 19993:
! 19994:
! 19995: else
! 19996: # If there is no Makefile yet, we rely on a make rule to execute
! 19997: # `config.status --recheck' to rerun these tests and create the
! 19998: # libtool script then.
! 19999: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 20000: if test -f "$ltmain_in"; then
! 20001: test -f Makefile && make "$ltmain"
! 20002: fi
! 20003: fi
! 20004:
! 20005:
! 20006: ac_ext=c
! 20007: ac_cpp='$CPP $CPPFLAGS'
! 20008: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 20009: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 20010: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 20011:
! 20012: CC="$lt_save_CC"
! 20013:
! 20014: ;;
! 20015:
! 20016: *)
! 20017: { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
! 20018: $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
! 20019: { (exit 1); exit 1; }; }
! 20020: ;;
! 20021: esac
! 20022:
! 20023: # Append the new tag name to the list of available tags.
! 20024: if test -n "$tagname" ; then
! 20025: available_tags="$available_tags $tagname"
! 20026: fi
! 20027: fi
! 20028: done
! 20029: IFS="$lt_save_ifs"
! 20030:
! 20031: # Now substitute the updated list of available tags.
! 20032: if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
! 20033: mv "${ofile}T" "$ofile"
! 20034: chmod +x "$ofile"
! 20035: else
! 20036: rm -f "${ofile}T"
! 20037: { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
! 20038: $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
! 20039: { (exit 1); exit 1; }; }
! 20040: fi
! 20041: fi
! 20042:
! 20043:
! 20044:
! 20045: # This can be used to rebuild libtool when needed
! 20046: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
! 20047:
! 20048: # Always use our own libtool.
! 20049: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 20050:
! 20051: # Prevent multiple expansion
! 20052:
! 20053:
! 20054:
! 20055:
! 20056:
! 20057:
! 20058:
! 20059:
! 20060:
! 20061:
! 20062:
! 20063:
! 20064:
! 20065:
! 20066:
! 20067:
! 20068:
! 20069:
! 20070:
! 20071:
! 20072:
! 20073: # Checks for libraries.
! 20074: # FIXME: Replace `main' with a function in `-lpcap':
! 20075:
! 20076: { $as_echo "$as_me:$LINENO: checking for main in -lpcap" >&5
! 20077: $as_echo_n "checking for main in -lpcap... " >&6; }
! 20078: if test "${ac_cv_lib_pcap_main+set}" = set; then
! 20079: $as_echo_n "(cached) " >&6
! 20080: else
! 20081: ac_check_lib_save_LIBS=$LIBS
! 20082: LIBS="-lpcap $LIBS"
! 20083: cat >conftest.$ac_ext <<_ACEOF
! 20084: /* confdefs.h. */
! 20085: _ACEOF
! 20086: cat confdefs.h >>conftest.$ac_ext
! 20087: cat >>conftest.$ac_ext <<_ACEOF
! 20088: /* end confdefs.h. */
! 20089:
! 20090:
! 20091: int
! 20092: main ()
! 20093: {
! 20094: return main ();
! 20095: ;
! 20096: return 0;
! 20097: }
! 20098: _ACEOF
! 20099: rm -f conftest.$ac_objext conftest$ac_exeext
! 20100: if { (ac_try="$ac_link"
! 20101: case "(($ac_try" in
! 20102: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20103: *) ac_try_echo=$ac_try;;
! 20104: esac
! 20105: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20106: $as_echo "$ac_try_echo") >&5
! 20107: (eval "$ac_link") 2>conftest.er1
! 20108: ac_status=$?
! 20109: grep -v '^ *+' conftest.er1 >conftest.err
! 20110: rm -f conftest.er1
! 20111: cat conftest.err >&5
! 20112: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20113: (exit $ac_status); } && {
! 20114: test -z "$ac_c_werror_flag" ||
! 20115: test ! -s conftest.err
! 20116: } && test -s conftest$ac_exeext && {
! 20117: test "$cross_compiling" = yes ||
! 20118: $as_test_x conftest$ac_exeext
! 20119: }; then
! 20120: ac_cv_lib_pcap_main=yes
! 20121: else
! 20122: $as_echo "$as_me: failed program was:" >&5
! 20123: sed 's/^/| /' conftest.$ac_ext >&5
! 20124:
! 20125: ac_cv_lib_pcap_main=no
! 20126: fi
! 20127:
! 20128: rm -rf conftest.dSYM
! 20129: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 20130: conftest$ac_exeext conftest.$ac_ext
! 20131: LIBS=$ac_check_lib_save_LIBS
! 20132: fi
! 20133: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_main" >&5
! 20134: $as_echo "$ac_cv_lib_pcap_main" >&6; }
! 20135: if test "x$ac_cv_lib_pcap_main" = x""yes; then
! 20136: cat >>confdefs.h <<_ACEOF
! 20137: #define HAVE_LIBPCAP 1
! 20138: _ACEOF
! 20139:
! 20140: LIBS="-lpcap $LIBS"
! 20141:
! 20142: fi
! 20143:
! 20144:
! 20145: # Checks for header files.
! 20146: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 20147: $as_echo_n "checking for ANSI C header files... " >&6; }
! 20148: if test "${ac_cv_header_stdc+set}" = set; then
! 20149: $as_echo_n "(cached) " >&6
! 20150: else
! 20151: cat >conftest.$ac_ext <<_ACEOF
! 20152: /* confdefs.h. */
! 20153: _ACEOF
! 20154: cat confdefs.h >>conftest.$ac_ext
! 20155: cat >>conftest.$ac_ext <<_ACEOF
! 20156: /* end confdefs.h. */
! 20157: #include <stdlib.h>
! 20158: #include <stdarg.h>
! 20159: #include <string.h>
! 20160: #include <float.h>
! 20161:
! 20162: int
! 20163: main ()
! 20164: {
! 20165:
! 20166: ;
! 20167: return 0;
! 20168: }
! 20169: _ACEOF
! 20170: rm -f conftest.$ac_objext
! 20171: if { (ac_try="$ac_compile"
! 20172: case "(($ac_try" in
! 20173: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20174: *) ac_try_echo=$ac_try;;
! 20175: esac
! 20176: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20177: $as_echo "$ac_try_echo") >&5
! 20178: (eval "$ac_compile") 2>conftest.er1
! 20179: ac_status=$?
! 20180: grep -v '^ *+' conftest.er1 >conftest.err
! 20181: rm -f conftest.er1
! 20182: cat conftest.err >&5
! 20183: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20184: (exit $ac_status); } && {
! 20185: test -z "$ac_c_werror_flag" ||
! 20186: test ! -s conftest.err
! 20187: } && test -s conftest.$ac_objext; then
! 20188: ac_cv_header_stdc=yes
! 20189: else
! 20190: $as_echo "$as_me: failed program was:" >&5
! 20191: sed 's/^/| /' conftest.$ac_ext >&5
! 20192:
! 20193: ac_cv_header_stdc=no
! 20194: fi
! 20195:
! 20196: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20197:
! 20198: if test $ac_cv_header_stdc = yes; then
! 20199: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 20200: cat >conftest.$ac_ext <<_ACEOF
! 20201: /* confdefs.h. */
! 20202: _ACEOF
! 20203: cat confdefs.h >>conftest.$ac_ext
! 20204: cat >>conftest.$ac_ext <<_ACEOF
! 20205: /* end confdefs.h. */
! 20206: #include <string.h>
! 20207:
! 20208: _ACEOF
! 20209: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 20210: $EGREP "memchr" >/dev/null 2>&1; then
! 20211: :
! 20212: else
! 20213: ac_cv_header_stdc=no
! 20214: fi
! 20215: rm -f conftest*
! 20216:
! 20217: fi
! 20218:
! 20219: if test $ac_cv_header_stdc = yes; then
! 20220: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 20221: cat >conftest.$ac_ext <<_ACEOF
! 20222: /* confdefs.h. */
! 20223: _ACEOF
! 20224: cat confdefs.h >>conftest.$ac_ext
! 20225: cat >>conftest.$ac_ext <<_ACEOF
! 20226: /* end confdefs.h. */
! 20227: #include <stdlib.h>
! 20228:
! 20229: _ACEOF
! 20230: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 20231: $EGREP "free" >/dev/null 2>&1; then
! 20232: :
! 20233: else
! 20234: ac_cv_header_stdc=no
! 20235: fi
! 20236: rm -f conftest*
! 20237:
! 20238: fi
! 20239:
! 20240: if test $ac_cv_header_stdc = yes; then
! 20241: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 20242: if test "$cross_compiling" = yes; then
! 20243: :
! 20244: else
! 20245: cat >conftest.$ac_ext <<_ACEOF
! 20246: /* confdefs.h. */
! 20247: _ACEOF
! 20248: cat confdefs.h >>conftest.$ac_ext
! 20249: cat >>conftest.$ac_ext <<_ACEOF
! 20250: /* end confdefs.h. */
! 20251: #include <ctype.h>
! 20252: #include <stdlib.h>
! 20253: #if ((' ' & 0x0FF) == 0x020)
! 20254: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 20255: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 20256: #else
! 20257: # define ISLOWER(c) \
! 20258: (('a' <= (c) && (c) <= 'i') \
! 20259: || ('j' <= (c) && (c) <= 'r') \
! 20260: || ('s' <= (c) && (c) <= 'z'))
! 20261: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 20262: #endif
! 20263:
! 20264: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 20265: int
! 20266: main ()
! 20267: {
! 20268: int i;
! 20269: for (i = 0; i < 256; i++)
! 20270: if (XOR (islower (i), ISLOWER (i))
! 20271: || toupper (i) != TOUPPER (i))
! 20272: return 2;
! 20273: return 0;
! 20274: }
! 20275: _ACEOF
! 20276: rm -f conftest$ac_exeext
! 20277: if { (ac_try="$ac_link"
! 20278: case "(($ac_try" in
! 20279: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20280: *) ac_try_echo=$ac_try;;
! 20281: esac
! 20282: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20283: $as_echo "$ac_try_echo") >&5
! 20284: (eval "$ac_link") 2>&5
! 20285: ac_status=$?
! 20286: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20287: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 20288: { (case "(($ac_try" in
! 20289: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20290: *) ac_try_echo=$ac_try;;
! 20291: esac
! 20292: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20293: $as_echo "$ac_try_echo") >&5
! 20294: (eval "$ac_try") 2>&5
! 20295: ac_status=$?
! 20296: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20297: (exit $ac_status); }; }; then
! 20298: :
! 20299: else
! 20300: $as_echo "$as_me: program exited with status $ac_status" >&5
! 20301: $as_echo "$as_me: failed program was:" >&5
! 20302: sed 's/^/| /' conftest.$ac_ext >&5
! 20303:
! 20304: ( exit $ac_status )
! 20305: ac_cv_header_stdc=no
! 20306: fi
! 20307: rm -rf conftest.dSYM
! 20308: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 20309: fi
! 20310:
! 20311:
! 20312: fi
! 20313: fi
! 20314: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 20315: $as_echo "$ac_cv_header_stdc" >&6; }
! 20316: if test $ac_cv_header_stdc = yes; then
! 20317:
! 20318: cat >>confdefs.h <<\_ACEOF
! 20319: #define STDC_HEADERS 1
! 20320: _ACEOF
! 20321:
! 20322: fi
! 20323:
! 20324: { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
! 20325: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
! 20326: if test "${ac_cv_header_sys_wait_h+set}" = set; then
! 20327: $as_echo_n "(cached) " >&6
! 20328: else
! 20329: cat >conftest.$ac_ext <<_ACEOF
! 20330: /* confdefs.h. */
! 20331: _ACEOF
! 20332: cat confdefs.h >>conftest.$ac_ext
! 20333: cat >>conftest.$ac_ext <<_ACEOF
! 20334: /* end confdefs.h. */
! 20335: #include <sys/types.h>
! 20336: #include <sys/wait.h>
! 20337: #ifndef WEXITSTATUS
! 20338: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
! 20339: #endif
! 20340: #ifndef WIFEXITED
! 20341: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
! 20342: #endif
! 20343:
! 20344: int
! 20345: main ()
! 20346: {
! 20347: int s;
! 20348: wait (&s);
! 20349: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
! 20350: ;
! 20351: return 0;
! 20352: }
! 20353: _ACEOF
! 20354: rm -f conftest.$ac_objext
! 20355: if { (ac_try="$ac_compile"
! 20356: case "(($ac_try" in
! 20357: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20358: *) ac_try_echo=$ac_try;;
! 20359: esac
! 20360: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20361: $as_echo "$ac_try_echo") >&5
! 20362: (eval "$ac_compile") 2>conftest.er1
! 20363: ac_status=$?
! 20364: grep -v '^ *+' conftest.er1 >conftest.err
! 20365: rm -f conftest.er1
! 20366: cat conftest.err >&5
! 20367: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20368: (exit $ac_status); } && {
! 20369: test -z "$ac_c_werror_flag" ||
! 20370: test ! -s conftest.err
! 20371: } && test -s conftest.$ac_objext; then
! 20372: ac_cv_header_sys_wait_h=yes
! 20373: else
! 20374: $as_echo "$as_me: failed program was:" >&5
! 20375: sed 's/^/| /' conftest.$ac_ext >&5
! 20376:
! 20377: ac_cv_header_sys_wait_h=no
! 20378: fi
! 20379:
! 20380: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20381: fi
! 20382: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
! 20383: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
! 20384: if test $ac_cv_header_sys_wait_h = yes; then
! 20385:
! 20386: cat >>confdefs.h <<\_ACEOF
! 20387: #define HAVE_SYS_WAIT_H 1
! 20388: _ACEOF
! 20389:
! 20390: fi
! 20391:
! 20392:
! 20393:
! 20394:
! 20395:
! 20396:
! 20397:
! 20398:
! 20399:
! 20400:
! 20401:
! 20402:
! 20403:
! 20404: for ac_header in stdint.h stdio.h stdlib.h unistd.h errno.h string.h signal.h time.h arpa/inet.h \
! 20405: sys/wait.h sys/socket.h netinet/in.h
! 20406: do
! 20407: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 20408: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20409: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 20410: $as_echo_n "checking for $ac_header... " >&6; }
! 20411: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20412: $as_echo_n "(cached) " >&6
! 20413: fi
! 20414: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 20415: $as_echo "$as_val"'`
! 20416: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 20417: $as_echo "$ac_res" >&6; }
! 20418: else
! 20419: # Is the header compilable?
! 20420: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 20421: $as_echo_n "checking $ac_header usability... " >&6; }
! 20422: cat >conftest.$ac_ext <<_ACEOF
! 20423: /* confdefs.h. */
! 20424: _ACEOF
! 20425: cat confdefs.h >>conftest.$ac_ext
! 20426: cat >>conftest.$ac_ext <<_ACEOF
! 20427: /* end confdefs.h. */
! 20428: $ac_includes_default
! 20429: #include <$ac_header>
! 20430: _ACEOF
! 20431: rm -f conftest.$ac_objext
! 20432: if { (ac_try="$ac_compile"
! 20433: case "(($ac_try" in
! 20434: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20435: *) ac_try_echo=$ac_try;;
! 20436: esac
! 20437: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20438: $as_echo "$ac_try_echo") >&5
! 20439: (eval "$ac_compile") 2>conftest.er1
! 20440: ac_status=$?
! 20441: grep -v '^ *+' conftest.er1 >conftest.err
! 20442: rm -f conftest.er1
! 20443: cat conftest.err >&5
! 20444: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20445: (exit $ac_status); } && {
! 20446: test -z "$ac_c_werror_flag" ||
! 20447: test ! -s conftest.err
! 20448: } && test -s conftest.$ac_objext; then
! 20449: ac_header_compiler=yes
! 20450: else
! 20451: $as_echo "$as_me: failed program was:" >&5
! 20452: sed 's/^/| /' conftest.$ac_ext >&5
! 20453:
! 20454: ac_header_compiler=no
! 20455: fi
! 20456:
! 20457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20458: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 20459: $as_echo "$ac_header_compiler" >&6; }
! 20460:
! 20461: # Is the header present?
! 20462: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 20463: $as_echo_n "checking $ac_header presence... " >&6; }
! 20464: cat >conftest.$ac_ext <<_ACEOF
! 20465: /* confdefs.h. */
! 20466: _ACEOF
! 20467: cat confdefs.h >>conftest.$ac_ext
! 20468: cat >>conftest.$ac_ext <<_ACEOF
! 20469: /* end confdefs.h. */
! 20470: #include <$ac_header>
! 20471: _ACEOF
! 20472: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 20473: case "(($ac_try" in
! 20474: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20475: *) ac_try_echo=$ac_try;;
! 20476: esac
! 20477: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20478: $as_echo "$ac_try_echo") >&5
! 20479: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 20480: ac_status=$?
! 20481: grep -v '^ *+' conftest.er1 >conftest.err
! 20482: rm -f conftest.er1
! 20483: cat conftest.err >&5
! 20484: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20485: (exit $ac_status); } >/dev/null && {
! 20486: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 20487: test ! -s conftest.err
! 20488: }; then
! 20489: ac_header_preproc=yes
! 20490: else
! 20491: $as_echo "$as_me: failed program was:" >&5
! 20492: sed 's/^/| /' conftest.$ac_ext >&5
! 20493:
! 20494: ac_header_preproc=no
! 20495: fi
! 20496:
! 20497: rm -f conftest.err conftest.$ac_ext
! 20498: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 20499: $as_echo "$ac_header_preproc" >&6; }
! 20500:
! 20501: # So? What about this header?
! 20502: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 20503: yes:no: )
! 20504: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 20505: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 20506: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 20507: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 20508: ac_header_preproc=yes
! 20509: ;;
! 20510: no:yes:* )
! 20511: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 20512: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 20513: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 20514: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 20515: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 20516: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 20517: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 20518: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 20519: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 20520: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 20521: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 20522: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 20523: ( cat <<\_ASBOX
! 20524: ## --------------------------------- ##
! 20525: ## Report this to "roma@ultranet.ru" ##
! 20526: ## --------------------------------- ##
! 20527: _ASBOX
! 20528: ) | sed "s/^/$as_me: WARNING: /" >&2
! 20529: ;;
! 20530: esac
! 20531: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 20532: $as_echo_n "checking for $ac_header... " >&6; }
! 20533: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20534: $as_echo_n "(cached) " >&6
! 20535: else
! 20536: eval "$as_ac_Header=\$ac_header_preproc"
! 20537: fi
! 20538: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 20539: $as_echo "$as_val"'`
! 20540: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 20541: $as_echo "$ac_res" >&6; }
! 20542:
! 20543: fi
! 20544: as_val=`eval 'as_val=${'$as_ac_Header'}
! 20545: $as_echo "$as_val"'`
! 20546: if test "x$as_val" = x""yes; then
! 20547: cat >>confdefs.h <<_ACEOF
! 20548: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 20549: _ACEOF
! 20550:
! 20551: else
! 20552: { { $as_echo "$as_me:$LINENO: error: You need C devel package installed" >&5
! 20553: $as_echo "$as_me: error: You need C devel package installed" >&2;}
! 20554: { (exit 1); exit 1; }; }
! 20555: fi
! 20556:
! 20557: done
! 20558:
! 20559:
! 20560: for ac_header in pcap.h
! 20561: do
! 20562: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 20563: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20564: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 20565: $as_echo_n "checking for $ac_header... " >&6; }
! 20566: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20567: $as_echo_n "(cached) " >&6
! 20568: fi
! 20569: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 20570: $as_echo "$as_val"'`
! 20571: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 20572: $as_echo "$ac_res" >&6; }
! 20573: else
! 20574: # Is the header compilable?
! 20575: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 20576: $as_echo_n "checking $ac_header usability... " >&6; }
! 20577: cat >conftest.$ac_ext <<_ACEOF
! 20578: /* confdefs.h. */
! 20579: _ACEOF
! 20580: cat confdefs.h >>conftest.$ac_ext
! 20581: cat >>conftest.$ac_ext <<_ACEOF
! 20582: /* end confdefs.h. */
! 20583: $ac_includes_default
! 20584: #include <$ac_header>
! 20585: _ACEOF
! 20586: rm -f conftest.$ac_objext
! 20587: if { (ac_try="$ac_compile"
! 20588: case "(($ac_try" in
! 20589: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20590: *) ac_try_echo=$ac_try;;
! 20591: esac
! 20592: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20593: $as_echo "$ac_try_echo") >&5
! 20594: (eval "$ac_compile") 2>conftest.er1
! 20595: ac_status=$?
! 20596: grep -v '^ *+' conftest.er1 >conftest.err
! 20597: rm -f conftest.er1
! 20598: cat conftest.err >&5
! 20599: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20600: (exit $ac_status); } && {
! 20601: test -z "$ac_c_werror_flag" ||
! 20602: test ! -s conftest.err
! 20603: } && test -s conftest.$ac_objext; then
! 20604: ac_header_compiler=yes
! 20605: else
! 20606: $as_echo "$as_me: failed program was:" >&5
! 20607: sed 's/^/| /' conftest.$ac_ext >&5
! 20608:
! 20609: ac_header_compiler=no
! 20610: fi
! 20611:
! 20612: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20613: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 20614: $as_echo "$ac_header_compiler" >&6; }
! 20615:
! 20616: # Is the header present?
! 20617: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 20618: $as_echo_n "checking $ac_header presence... " >&6; }
! 20619: cat >conftest.$ac_ext <<_ACEOF
! 20620: /* confdefs.h. */
! 20621: _ACEOF
! 20622: cat confdefs.h >>conftest.$ac_ext
! 20623: cat >>conftest.$ac_ext <<_ACEOF
! 20624: /* end confdefs.h. */
! 20625: #include <$ac_header>
! 20626: _ACEOF
! 20627: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 20628: case "(($ac_try" in
! 20629: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20630: *) ac_try_echo=$ac_try;;
! 20631: esac
! 20632: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20633: $as_echo "$ac_try_echo") >&5
! 20634: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 20635: ac_status=$?
! 20636: grep -v '^ *+' conftest.er1 >conftest.err
! 20637: rm -f conftest.er1
! 20638: cat conftest.err >&5
! 20639: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20640: (exit $ac_status); } >/dev/null && {
! 20641: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 20642: test ! -s conftest.err
! 20643: }; then
! 20644: ac_header_preproc=yes
! 20645: else
! 20646: $as_echo "$as_me: failed program was:" >&5
! 20647: sed 's/^/| /' conftest.$ac_ext >&5
! 20648:
! 20649: ac_header_preproc=no
! 20650: fi
! 20651:
! 20652: rm -f conftest.err conftest.$ac_ext
! 20653: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 20654: $as_echo "$ac_header_preproc" >&6; }
! 20655:
! 20656: # So? What about this header?
! 20657: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 20658: yes:no: )
! 20659: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 20660: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 20661: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 20662: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 20663: ac_header_preproc=yes
! 20664: ;;
! 20665: no:yes:* )
! 20666: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 20667: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 20668: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 20669: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 20670: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 20671: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 20672: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 20673: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 20674: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 20675: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 20676: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 20677: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 20678: ( cat <<\_ASBOX
! 20679: ## --------------------------------- ##
! 20680: ## Report this to "roma@ultranet.ru" ##
! 20681: ## --------------------------------- ##
! 20682: _ASBOX
! 20683: ) | sed "s/^/$as_me: WARNING: /" >&2
! 20684: ;;
! 20685: esac
! 20686: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 20687: $as_echo_n "checking for $ac_header... " >&6; }
! 20688: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 20689: $as_echo_n "(cached) " >&6
! 20690: else
! 20691: eval "$as_ac_Header=\$ac_header_preproc"
! 20692: fi
! 20693: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 20694: $as_echo "$as_val"'`
! 20695: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 20696: $as_echo "$ac_res" >&6; }
! 20697:
! 20698: fi
! 20699: as_val=`eval 'as_val=${'$as_ac_Header'}
! 20700: $as_echo "$as_val"'`
! 20701: if test "x$as_val" = x""yes; then
! 20702: cat >>confdefs.h <<_ACEOF
! 20703: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 20704: _ACEOF
! 20705:
! 20706: else
! 20707: { { $as_echo "$as_me:$LINENO: error: You need libpcap devel package installed" >&5
! 20708: $as_echo "$as_me: error: You need libpcap devel package installed" >&2;}
! 20709: { (exit 1); exit 1; }; }
! 20710: fi
! 20711:
! 20712: done
! 20713:
! 20714:
! 20715: # Checks for typedefs, structures, and compiler characteristics.
! 20716: { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 20717: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
! 20718: if test "${ac_cv_c_const+set}" = set; then
! 20719: $as_echo_n "(cached) " >&6
! 20720: else
! 20721: cat >conftest.$ac_ext <<_ACEOF
! 20722: /* confdefs.h. */
! 20723: _ACEOF
! 20724: cat confdefs.h >>conftest.$ac_ext
! 20725: cat >>conftest.$ac_ext <<_ACEOF
! 20726: /* end confdefs.h. */
! 20727:
! 20728: int
! 20729: main ()
! 20730: {
! 20731: /* FIXME: Include the comments suggested by Paul. */
! 20732: #ifndef __cplusplus
! 20733: /* Ultrix mips cc rejects this. */
! 20734: typedef int charset[2];
! 20735: const charset cs;
! 20736: /* SunOS 4.1.1 cc rejects this. */
! 20737: char const *const *pcpcc;
! 20738: char **ppc;
! 20739: /* NEC SVR4.0.2 mips cc rejects this. */
! 20740: struct point {int x, y;};
! 20741: static struct point const zero = {0,0};
! 20742: /* AIX XL C 1.02.0.0 rejects this.
! 20743: It does not let you subtract one const X* pointer from another in
! 20744: an arm of an if-expression whose if-part is not a constant
! 20745: expression */
! 20746: const char *g = "string";
! 20747: pcpcc = &g + (g ? g-g : 0);
! 20748: /* HPUX 7.0 cc rejects these. */
! 20749: ++pcpcc;
! 20750: ppc = (char**) pcpcc;
! 20751: pcpcc = (char const *const *) ppc;
! 20752: { /* SCO 3.2v4 cc rejects this. */
! 20753: char *t;
! 20754: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 20755:
! 20756: *t++ = 0;
! 20757: if (s) return 0;
! 20758: }
! 20759: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 20760: int x[] = {25, 17};
! 20761: const int *foo = &x[0];
! 20762: ++foo;
! 20763: }
! 20764: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 20765: typedef const int *iptr;
! 20766: iptr p = 0;
! 20767: ++p;
! 20768: }
! 20769: { /* AIX XL C 1.02.0.0 rejects this saying
! 20770: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 20771: struct s { int j; const int *ap[3]; };
! 20772: struct s *b; b->j = 5;
! 20773: }
! 20774: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 20775: const int foo = 10;
! 20776: if (!foo) return 0;
! 20777: }
! 20778: return !cs[0] && !zero.x;
! 20779: #endif
! 20780:
! 20781: ;
! 20782: return 0;
! 20783: }
! 20784: _ACEOF
! 20785: rm -f conftest.$ac_objext
! 20786: if { (ac_try="$ac_compile"
! 20787: case "(($ac_try" in
! 20788: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20789: *) ac_try_echo=$ac_try;;
! 20790: esac
! 20791: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20792: $as_echo "$ac_try_echo") >&5
! 20793: (eval "$ac_compile") 2>conftest.er1
! 20794: ac_status=$?
! 20795: grep -v '^ *+' conftest.er1 >conftest.err
! 20796: rm -f conftest.er1
! 20797: cat conftest.err >&5
! 20798: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20799: (exit $ac_status); } && {
! 20800: test -z "$ac_c_werror_flag" ||
! 20801: test ! -s conftest.err
! 20802: } && test -s conftest.$ac_objext; then
! 20803: ac_cv_c_const=yes
! 20804: else
! 20805: $as_echo "$as_me: failed program was:" >&5
! 20806: sed 's/^/| /' conftest.$ac_ext >&5
! 20807:
! 20808: ac_cv_c_const=no
! 20809: fi
! 20810:
! 20811: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20812: fi
! 20813: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 20814: $as_echo "$ac_cv_c_const" >&6; }
! 20815: if test $ac_cv_c_const = no; then
! 20816:
! 20817: cat >>confdefs.h <<\_ACEOF
! 20818: #define const /**/
! 20819: _ACEOF
! 20820:
! 20821: fi
! 20822:
! 20823: { $as_echo "$as_me:$LINENO: checking for inline" >&5
! 20824: $as_echo_n "checking for inline... " >&6; }
! 20825: if test "${ac_cv_c_inline+set}" = set; then
! 20826: $as_echo_n "(cached) " >&6
! 20827: else
! 20828: ac_cv_c_inline=no
! 20829: for ac_kw in inline __inline__ __inline; do
! 20830: cat >conftest.$ac_ext <<_ACEOF
! 20831: /* confdefs.h. */
! 20832: _ACEOF
! 20833: cat confdefs.h >>conftest.$ac_ext
! 20834: cat >>conftest.$ac_ext <<_ACEOF
! 20835: /* end confdefs.h. */
! 20836: #ifndef __cplusplus
! 20837: typedef int foo_t;
! 20838: static $ac_kw foo_t static_foo () {return 0; }
! 20839: $ac_kw foo_t foo () {return 0; }
! 20840: #endif
! 20841:
! 20842: _ACEOF
! 20843: rm -f conftest.$ac_objext
! 20844: if { (ac_try="$ac_compile"
! 20845: case "(($ac_try" in
! 20846: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20847: *) ac_try_echo=$ac_try;;
! 20848: esac
! 20849: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20850: $as_echo "$ac_try_echo") >&5
! 20851: (eval "$ac_compile") 2>conftest.er1
! 20852: ac_status=$?
! 20853: grep -v '^ *+' conftest.er1 >conftest.err
! 20854: rm -f conftest.er1
! 20855: cat conftest.err >&5
! 20856: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20857: (exit $ac_status); } && {
! 20858: test -z "$ac_c_werror_flag" ||
! 20859: test ! -s conftest.err
! 20860: } && test -s conftest.$ac_objext; then
! 20861: ac_cv_c_inline=$ac_kw
! 20862: else
! 20863: $as_echo "$as_me: failed program was:" >&5
! 20864: sed 's/^/| /' conftest.$ac_ext >&5
! 20865:
! 20866:
! 20867: fi
! 20868:
! 20869: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20870: test "$ac_cv_c_inline" != no && break
! 20871: done
! 20872:
! 20873: fi
! 20874: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
! 20875: $as_echo "$ac_cv_c_inline" >&6; }
! 20876:
! 20877:
! 20878: case $ac_cv_c_inline in
! 20879: inline | yes) ;;
! 20880: *)
! 20881: case $ac_cv_c_inline in
! 20882: no) ac_val=;;
! 20883: *) ac_val=$ac_cv_c_inline;;
! 20884: esac
! 20885: cat >>confdefs.h <<_ACEOF
! 20886: #ifndef __cplusplus
! 20887: #define inline $ac_val
! 20888: #endif
! 20889: _ACEOF
! 20890: ;;
! 20891: esac
! 20892:
! 20893:
! 20894: { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
! 20895: $as_echo_n "checking for uint16_t... " >&6; }
! 20896: if test "${ac_cv_c_uint16_t+set}" = set; then
! 20897: $as_echo_n "(cached) " >&6
! 20898: else
! 20899: ac_cv_c_uint16_t=no
! 20900: for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
! 20901: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 20902: cat >conftest.$ac_ext <<_ACEOF
! 20903: /* confdefs.h. */
! 20904: _ACEOF
! 20905: cat confdefs.h >>conftest.$ac_ext
! 20906: cat >>conftest.$ac_ext <<_ACEOF
! 20907: /* end confdefs.h. */
! 20908: $ac_includes_default
! 20909: int
! 20910: main ()
! 20911: {
! 20912: static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
! 20913: test_array [0] = 0
! 20914:
! 20915: ;
! 20916: return 0;
! 20917: }
! 20918: _ACEOF
! 20919: rm -f conftest.$ac_objext
! 20920: if { (ac_try="$ac_compile"
! 20921: case "(($ac_try" in
! 20922: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20923: *) ac_try_echo=$ac_try;;
! 20924: esac
! 20925: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20926: $as_echo "$ac_try_echo") >&5
! 20927: (eval "$ac_compile") 2>conftest.er1
! 20928: ac_status=$?
! 20929: grep -v '^ *+' conftest.er1 >conftest.err
! 20930: rm -f conftest.er1
! 20931: cat conftest.err >&5
! 20932: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20933: (exit $ac_status); } && {
! 20934: test -z "$ac_c_werror_flag" ||
! 20935: test ! -s conftest.err
! 20936: } && test -s conftest.$ac_objext; then
! 20937: case $ac_type in
! 20938: uint16_t) ac_cv_c_uint16_t=yes ;;
! 20939: *) ac_cv_c_uint16_t=$ac_type ;;
! 20940: esac
! 20941:
! 20942: else
! 20943: $as_echo "$as_me: failed program was:" >&5
! 20944: sed 's/^/| /' conftest.$ac_ext >&5
! 20945:
! 20946:
! 20947: fi
! 20948:
! 20949: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20950: test "$ac_cv_c_uint16_t" != no && break
! 20951: done
! 20952: fi
! 20953: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
! 20954: $as_echo "$ac_cv_c_uint16_t" >&6; }
! 20955: case $ac_cv_c_uint16_t in #(
! 20956: no|yes) ;; #(
! 20957: *)
! 20958:
! 20959:
! 20960: cat >>confdefs.h <<_ACEOF
! 20961: #define uint16_t $ac_cv_c_uint16_t
! 20962: _ACEOF
! 20963: ;;
! 20964: esac
! 20965:
! 20966:
! 20967: { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
! 20968: $as_echo_n "checking for uint32_t... " >&6; }
! 20969: if test "${ac_cv_c_uint32_t+set}" = set; then
! 20970: $as_echo_n "(cached) " >&6
! 20971: else
! 20972: ac_cv_c_uint32_t=no
! 20973: for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
! 20974: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 20975: cat >conftest.$ac_ext <<_ACEOF
! 20976: /* confdefs.h. */
! 20977: _ACEOF
! 20978: cat confdefs.h >>conftest.$ac_ext
! 20979: cat >>conftest.$ac_ext <<_ACEOF
! 20980: /* end confdefs.h. */
! 20981: $ac_includes_default
! 20982: int
! 20983: main ()
! 20984: {
! 20985: static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
! 20986: test_array [0] = 0
! 20987:
! 20988: ;
! 20989: return 0;
! 20990: }
! 20991: _ACEOF
! 20992: rm -f conftest.$ac_objext
! 20993: if { (ac_try="$ac_compile"
! 20994: case "(($ac_try" in
! 20995: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20996: *) ac_try_echo=$ac_try;;
! 20997: esac
! 20998: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20999: $as_echo "$ac_try_echo") >&5
! 21000: (eval "$ac_compile") 2>conftest.er1
! 21001: ac_status=$?
! 21002: grep -v '^ *+' conftest.er1 >conftest.err
! 21003: rm -f conftest.er1
! 21004: cat conftest.err >&5
! 21005: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21006: (exit $ac_status); } && {
! 21007: test -z "$ac_c_werror_flag" ||
! 21008: test ! -s conftest.err
! 21009: } && test -s conftest.$ac_objext; then
! 21010: case $ac_type in
! 21011: uint32_t) ac_cv_c_uint32_t=yes ;;
! 21012: *) ac_cv_c_uint32_t=$ac_type ;;
! 21013: esac
! 21014:
! 21015: else
! 21016: $as_echo "$as_me: failed program was:" >&5
! 21017: sed 's/^/| /' conftest.$ac_ext >&5
! 21018:
! 21019:
! 21020: fi
! 21021:
! 21022: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21023: test "$ac_cv_c_uint32_t" != no && break
! 21024: done
! 21025: fi
! 21026: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
! 21027: $as_echo "$ac_cv_c_uint32_t" >&6; }
! 21028: case $ac_cv_c_uint32_t in #(
! 21029: no|yes) ;; #(
! 21030: *)
! 21031:
! 21032: cat >>confdefs.h <<\_ACEOF
! 21033: #define _UINT32_T 1
! 21034: _ACEOF
! 21035:
! 21036:
! 21037: cat >>confdefs.h <<_ACEOF
! 21038: #define uint32_t $ac_cv_c_uint32_t
! 21039: _ACEOF
! 21040: ;;
! 21041: esac
! 21042:
! 21043:
! 21044: { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
! 21045: $as_echo_n "checking for uint8_t... " >&6; }
! 21046: if test "${ac_cv_c_uint8_t+set}" = set; then
! 21047: $as_echo_n "(cached) " >&6
! 21048: else
! 21049: ac_cv_c_uint8_t=no
! 21050: for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
! 21051: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 21052: cat >conftest.$ac_ext <<_ACEOF
! 21053: /* confdefs.h. */
! 21054: _ACEOF
! 21055: cat confdefs.h >>conftest.$ac_ext
! 21056: cat >>conftest.$ac_ext <<_ACEOF
! 21057: /* end confdefs.h. */
! 21058: $ac_includes_default
! 21059: int
! 21060: main ()
! 21061: {
! 21062: static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
! 21063: test_array [0] = 0
! 21064:
! 21065: ;
! 21066: return 0;
! 21067: }
! 21068: _ACEOF
! 21069: rm -f conftest.$ac_objext
! 21070: if { (ac_try="$ac_compile"
! 21071: case "(($ac_try" in
! 21072: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21073: *) ac_try_echo=$ac_try;;
! 21074: esac
! 21075: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21076: $as_echo "$ac_try_echo") >&5
! 21077: (eval "$ac_compile") 2>conftest.er1
! 21078: ac_status=$?
! 21079: grep -v '^ *+' conftest.er1 >conftest.err
! 21080: rm -f conftest.er1
! 21081: cat conftest.err >&5
! 21082: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21083: (exit $ac_status); } && {
! 21084: test -z "$ac_c_werror_flag" ||
! 21085: test ! -s conftest.err
! 21086: } && test -s conftest.$ac_objext; then
! 21087: case $ac_type in
! 21088: uint8_t) ac_cv_c_uint8_t=yes ;;
! 21089: *) ac_cv_c_uint8_t=$ac_type ;;
! 21090: esac
! 21091:
! 21092: else
! 21093: $as_echo "$as_me: failed program was:" >&5
! 21094: sed 's/^/| /' conftest.$ac_ext >&5
! 21095:
! 21096:
! 21097: fi
! 21098:
! 21099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21100: test "$ac_cv_c_uint8_t" != no && break
! 21101: done
! 21102: fi
! 21103: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
! 21104: $as_echo "$ac_cv_c_uint8_t" >&6; }
! 21105: case $ac_cv_c_uint8_t in #(
! 21106: no|yes) ;; #(
! 21107: *)
! 21108:
! 21109: cat >>confdefs.h <<\_ACEOF
! 21110: #define _UINT8_T 1
! 21111: _ACEOF
! 21112:
! 21113:
! 21114: cat >>confdefs.h <<_ACEOF
! 21115: #define uint8_t $ac_cv_c_uint8_t
! 21116: _ACEOF
! 21117: ;;
! 21118: esac
! 21119:
! 21120:
! 21121: # Checks for library functions.
! 21122: { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
! 21123: $as_echo_n "checking for pid_t... " >&6; }
! 21124: if test "${ac_cv_type_pid_t+set}" = set; then
! 21125: $as_echo_n "(cached) " >&6
! 21126: else
! 21127: ac_cv_type_pid_t=no
! 21128: cat >conftest.$ac_ext <<_ACEOF
! 21129: /* confdefs.h. */
! 21130: _ACEOF
! 21131: cat confdefs.h >>conftest.$ac_ext
! 21132: cat >>conftest.$ac_ext <<_ACEOF
! 21133: /* end confdefs.h. */
! 21134: $ac_includes_default
! 21135: int
! 21136: main ()
! 21137: {
! 21138: if (sizeof (pid_t))
! 21139: return 0;
! 21140: ;
! 21141: return 0;
! 21142: }
! 21143: _ACEOF
! 21144: rm -f conftest.$ac_objext
! 21145: if { (ac_try="$ac_compile"
! 21146: case "(($ac_try" in
! 21147: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21148: *) ac_try_echo=$ac_try;;
! 21149: esac
! 21150: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21151: $as_echo "$ac_try_echo") >&5
! 21152: (eval "$ac_compile") 2>conftest.er1
! 21153: ac_status=$?
! 21154: grep -v '^ *+' conftest.er1 >conftest.err
! 21155: rm -f conftest.er1
! 21156: cat conftest.err >&5
! 21157: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21158: (exit $ac_status); } && {
! 21159: test -z "$ac_c_werror_flag" ||
! 21160: test ! -s conftest.err
! 21161: } && test -s conftest.$ac_objext; then
! 21162: cat >conftest.$ac_ext <<_ACEOF
! 21163: /* confdefs.h. */
! 21164: _ACEOF
! 21165: cat confdefs.h >>conftest.$ac_ext
! 21166: cat >>conftest.$ac_ext <<_ACEOF
! 21167: /* end confdefs.h. */
! 21168: $ac_includes_default
! 21169: int
! 21170: main ()
! 21171: {
! 21172: if (sizeof ((pid_t)))
! 21173: return 0;
! 21174: ;
! 21175: return 0;
! 21176: }
! 21177: _ACEOF
! 21178: rm -f conftest.$ac_objext
! 21179: if { (ac_try="$ac_compile"
! 21180: case "(($ac_try" in
! 21181: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21182: *) ac_try_echo=$ac_try;;
! 21183: esac
! 21184: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21185: $as_echo "$ac_try_echo") >&5
! 21186: (eval "$ac_compile") 2>conftest.er1
! 21187: ac_status=$?
! 21188: grep -v '^ *+' conftest.er1 >conftest.err
! 21189: rm -f conftest.er1
! 21190: cat conftest.err >&5
! 21191: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21192: (exit $ac_status); } && {
! 21193: test -z "$ac_c_werror_flag" ||
! 21194: test ! -s conftest.err
! 21195: } && test -s conftest.$ac_objext; then
! 21196: :
! 21197: else
! 21198: $as_echo "$as_me: failed program was:" >&5
! 21199: sed 's/^/| /' conftest.$ac_ext >&5
! 21200:
! 21201: ac_cv_type_pid_t=yes
! 21202: fi
! 21203:
! 21204: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21205: else
! 21206: $as_echo "$as_me: failed program was:" >&5
! 21207: sed 's/^/| /' conftest.$ac_ext >&5
! 21208:
! 21209:
! 21210: fi
! 21211:
! 21212: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21213: fi
! 21214: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
! 21215: $as_echo "$ac_cv_type_pid_t" >&6; }
! 21216: if test "x$ac_cv_type_pid_t" = x""yes; then
! 21217: :
! 21218: else
! 21219:
! 21220: cat >>confdefs.h <<_ACEOF
! 21221: #define pid_t int
! 21222: _ACEOF
! 21223:
! 21224: fi
! 21225:
! 21226:
! 21227: for ac_header in vfork.h
! 21228: do
! 21229: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 21230: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21231: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 21232: $as_echo_n "checking for $ac_header... " >&6; }
! 21233: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21234: $as_echo_n "(cached) " >&6
! 21235: fi
! 21236: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 21237: $as_echo "$as_val"'`
! 21238: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 21239: $as_echo "$ac_res" >&6; }
! 21240: else
! 21241: # Is the header compilable?
! 21242: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 21243: $as_echo_n "checking $ac_header usability... " >&6; }
! 21244: cat >conftest.$ac_ext <<_ACEOF
! 21245: /* confdefs.h. */
! 21246: _ACEOF
! 21247: cat confdefs.h >>conftest.$ac_ext
! 21248: cat >>conftest.$ac_ext <<_ACEOF
! 21249: /* end confdefs.h. */
! 21250: $ac_includes_default
! 21251: #include <$ac_header>
! 21252: _ACEOF
! 21253: rm -f conftest.$ac_objext
! 21254: if { (ac_try="$ac_compile"
! 21255: case "(($ac_try" in
! 21256: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21257: *) ac_try_echo=$ac_try;;
! 21258: esac
! 21259: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21260: $as_echo "$ac_try_echo") >&5
! 21261: (eval "$ac_compile") 2>conftest.er1
! 21262: ac_status=$?
! 21263: grep -v '^ *+' conftest.er1 >conftest.err
! 21264: rm -f conftest.er1
! 21265: cat conftest.err >&5
! 21266: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21267: (exit $ac_status); } && {
! 21268: test -z "$ac_c_werror_flag" ||
! 21269: test ! -s conftest.err
! 21270: } && test -s conftest.$ac_objext; then
! 21271: ac_header_compiler=yes
! 21272: else
! 21273: $as_echo "$as_me: failed program was:" >&5
! 21274: sed 's/^/| /' conftest.$ac_ext >&5
! 21275:
! 21276: ac_header_compiler=no
! 21277: fi
! 21278:
! 21279: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21280: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 21281: $as_echo "$ac_header_compiler" >&6; }
! 21282:
! 21283: # Is the header present?
! 21284: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 21285: $as_echo_n "checking $ac_header presence... " >&6; }
! 21286: cat >conftest.$ac_ext <<_ACEOF
! 21287: /* confdefs.h. */
! 21288: _ACEOF
! 21289: cat confdefs.h >>conftest.$ac_ext
! 21290: cat >>conftest.$ac_ext <<_ACEOF
! 21291: /* end confdefs.h. */
! 21292: #include <$ac_header>
! 21293: _ACEOF
! 21294: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 21295: case "(($ac_try" in
! 21296: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21297: *) ac_try_echo=$ac_try;;
! 21298: esac
! 21299: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21300: $as_echo "$ac_try_echo") >&5
! 21301: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 21302: ac_status=$?
! 21303: grep -v '^ *+' conftest.er1 >conftest.err
! 21304: rm -f conftest.er1
! 21305: cat conftest.err >&5
! 21306: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21307: (exit $ac_status); } >/dev/null && {
! 21308: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 21309: test ! -s conftest.err
! 21310: }; then
! 21311: ac_header_preproc=yes
! 21312: else
! 21313: $as_echo "$as_me: failed program was:" >&5
! 21314: sed 's/^/| /' conftest.$ac_ext >&5
! 21315:
! 21316: ac_header_preproc=no
! 21317: fi
! 21318:
! 21319: rm -f conftest.err conftest.$ac_ext
! 21320: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 21321: $as_echo "$ac_header_preproc" >&6; }
! 21322:
! 21323: # So? What about this header?
! 21324: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 21325: yes:no: )
! 21326: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 21327: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 21328: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 21329: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 21330: ac_header_preproc=yes
! 21331: ;;
! 21332: no:yes:* )
! 21333: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 21334: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 21335: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 21336: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 21337: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 21338: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 21339: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 21340: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 21341: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 21342: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 21343: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 21344: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 21345: ( cat <<\_ASBOX
! 21346: ## --------------------------------- ##
! 21347: ## Report this to "roma@ultranet.ru" ##
! 21348: ## --------------------------------- ##
! 21349: _ASBOX
! 21350: ) | sed "s/^/$as_me: WARNING: /" >&2
! 21351: ;;
! 21352: esac
! 21353: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 21354: $as_echo_n "checking for $ac_header... " >&6; }
! 21355: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21356: $as_echo_n "(cached) " >&6
! 21357: else
! 21358: eval "$as_ac_Header=\$ac_header_preproc"
! 21359: fi
! 21360: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 21361: $as_echo "$as_val"'`
! 21362: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 21363: $as_echo "$ac_res" >&6; }
! 21364:
! 21365: fi
! 21366: as_val=`eval 'as_val=${'$as_ac_Header'}
! 21367: $as_echo "$as_val"'`
! 21368: if test "x$as_val" = x""yes; then
! 21369: cat >>confdefs.h <<_ACEOF
! 21370: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 21371: _ACEOF
! 21372:
! 21373: fi
! 21374:
! 21375: done
! 21376:
! 21377:
! 21378:
! 21379: for ac_func in fork vfork
! 21380: do
! 21381: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 21382: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 21383: $as_echo_n "checking for $ac_func... " >&6; }
! 21384: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 21385: $as_echo_n "(cached) " >&6
! 21386: else
! 21387: cat >conftest.$ac_ext <<_ACEOF
! 21388: /* confdefs.h. */
! 21389: _ACEOF
! 21390: cat confdefs.h >>conftest.$ac_ext
! 21391: cat >>conftest.$ac_ext <<_ACEOF
! 21392: /* end confdefs.h. */
! 21393: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 21394: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 21395: #define $ac_func innocuous_$ac_func
! 21396:
! 21397: /* System header to define __stub macros and hopefully few prototypes,
! 21398: which can conflict with char $ac_func (); below.
! 21399: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 21400: <limits.h> exists even on freestanding compilers. */
! 21401:
! 21402: #ifdef __STDC__
! 21403: # include <limits.h>
! 21404: #else
! 21405: # include <assert.h>
! 21406: #endif
! 21407:
! 21408: #undef $ac_func
! 21409:
! 21410: /* Override any GCC internal prototype to avoid an error.
! 21411: Use char because int might match the return type of a GCC
! 21412: builtin and then its argument prototype would still apply. */
! 21413: #ifdef __cplusplus
! 21414: extern "C"
! 21415: #endif
! 21416: char $ac_func ();
! 21417: /* The GNU C library defines this for functions which it implements
! 21418: to always fail with ENOSYS. Some functions are actually named
! 21419: something starting with __ and the normal name is an alias. */
! 21420: #if defined __stub_$ac_func || defined __stub___$ac_func
! 21421: choke me
! 21422: #endif
! 21423:
! 21424: int
! 21425: main ()
! 21426: {
! 21427: return $ac_func ();
! 21428: ;
! 21429: return 0;
! 21430: }
! 21431: _ACEOF
! 21432: rm -f conftest.$ac_objext conftest$ac_exeext
! 21433: if { (ac_try="$ac_link"
! 21434: case "(($ac_try" in
! 21435: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21436: *) ac_try_echo=$ac_try;;
! 21437: esac
! 21438: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21439: $as_echo "$ac_try_echo") >&5
! 21440: (eval "$ac_link") 2>conftest.er1
! 21441: ac_status=$?
! 21442: grep -v '^ *+' conftest.er1 >conftest.err
! 21443: rm -f conftest.er1
! 21444: cat conftest.err >&5
! 21445: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21446: (exit $ac_status); } && {
! 21447: test -z "$ac_c_werror_flag" ||
! 21448: test ! -s conftest.err
! 21449: } && test -s conftest$ac_exeext && {
! 21450: test "$cross_compiling" = yes ||
! 21451: $as_test_x conftest$ac_exeext
! 21452: }; then
! 21453: eval "$as_ac_var=yes"
! 21454: else
! 21455: $as_echo "$as_me: failed program was:" >&5
! 21456: sed 's/^/| /' conftest.$ac_ext >&5
! 21457:
! 21458: eval "$as_ac_var=no"
! 21459: fi
! 21460:
! 21461: rm -rf conftest.dSYM
! 21462: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 21463: conftest$ac_exeext conftest.$ac_ext
! 21464: fi
! 21465: ac_res=`eval 'as_val=${'$as_ac_var'}
! 21466: $as_echo "$as_val"'`
! 21467: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 21468: $as_echo "$ac_res" >&6; }
! 21469: as_val=`eval 'as_val=${'$as_ac_var'}
! 21470: $as_echo "$as_val"'`
! 21471: if test "x$as_val" = x""yes; then
! 21472: cat >>confdefs.h <<_ACEOF
! 21473: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 21474: _ACEOF
! 21475:
! 21476: fi
! 21477: done
! 21478:
! 21479: if test "x$ac_cv_func_fork" = xyes; then
! 21480: { $as_echo "$as_me:$LINENO: checking for working fork" >&5
! 21481: $as_echo_n "checking for working fork... " >&6; }
! 21482: if test "${ac_cv_func_fork_works+set}" = set; then
! 21483: $as_echo_n "(cached) " >&6
! 21484: else
! 21485: if test "$cross_compiling" = yes; then
! 21486: ac_cv_func_fork_works=cross
! 21487: else
! 21488: cat >conftest.$ac_ext <<_ACEOF
! 21489: /* confdefs.h. */
! 21490: _ACEOF
! 21491: cat confdefs.h >>conftest.$ac_ext
! 21492: cat >>conftest.$ac_ext <<_ACEOF
! 21493: /* end confdefs.h. */
! 21494: $ac_includes_default
! 21495: int
! 21496: main ()
! 21497: {
! 21498:
! 21499: /* By Ruediger Kuhlmann. */
! 21500: return fork () < 0;
! 21501:
! 21502: ;
! 21503: return 0;
! 21504: }
! 21505: _ACEOF
! 21506: rm -f conftest$ac_exeext
! 21507: if { (ac_try="$ac_link"
! 21508: case "(($ac_try" in
! 21509: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21510: *) ac_try_echo=$ac_try;;
! 21511: esac
! 21512: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21513: $as_echo "$ac_try_echo") >&5
! 21514: (eval "$ac_link") 2>&5
! 21515: ac_status=$?
! 21516: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21517: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 21518: { (case "(($ac_try" in
! 21519: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21520: *) ac_try_echo=$ac_try;;
! 21521: esac
! 21522: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21523: $as_echo "$ac_try_echo") >&5
! 21524: (eval "$ac_try") 2>&5
! 21525: ac_status=$?
! 21526: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21527: (exit $ac_status); }; }; then
! 21528: ac_cv_func_fork_works=yes
! 21529: else
! 21530: $as_echo "$as_me: program exited with status $ac_status" >&5
! 21531: $as_echo "$as_me: failed program was:" >&5
! 21532: sed 's/^/| /' conftest.$ac_ext >&5
! 21533:
! 21534: ( exit $ac_status )
! 21535: ac_cv_func_fork_works=no
! 21536: fi
! 21537: rm -rf conftest.dSYM
! 21538: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 21539: fi
! 21540:
! 21541:
! 21542: fi
! 21543: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
! 21544: $as_echo "$ac_cv_func_fork_works" >&6; }
! 21545:
! 21546: else
! 21547: ac_cv_func_fork_works=$ac_cv_func_fork
! 21548: fi
! 21549: if test "x$ac_cv_func_fork_works" = xcross; then
! 21550: case $host in
! 21551: *-*-amigaos* | *-*-msdosdjgpp*)
! 21552: # Override, as these systems have only a dummy fork() stub
! 21553: ac_cv_func_fork_works=no
! 21554: ;;
! 21555: *)
! 21556: ac_cv_func_fork_works=yes
! 21557: ;;
! 21558: esac
! 21559: { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
! 21560: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
! 21561: fi
! 21562: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 21563: if test "x$ac_cv_func_vfork" = xyes; then
! 21564: { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
! 21565: $as_echo_n "checking for working vfork... " >&6; }
! 21566: if test "${ac_cv_func_vfork_works+set}" = set; then
! 21567: $as_echo_n "(cached) " >&6
! 21568: else
! 21569: if test "$cross_compiling" = yes; then
! 21570: ac_cv_func_vfork_works=cross
! 21571: else
! 21572: cat >conftest.$ac_ext <<_ACEOF
! 21573: /* confdefs.h. */
! 21574: _ACEOF
! 21575: cat confdefs.h >>conftest.$ac_ext
! 21576: cat >>conftest.$ac_ext <<_ACEOF
! 21577: /* end confdefs.h. */
! 21578: /* Thanks to Paul Eggert for this test. */
! 21579: $ac_includes_default
! 21580: #include <sys/wait.h>
! 21581: #ifdef HAVE_VFORK_H
! 21582: # include <vfork.h>
! 21583: #endif
! 21584: /* On some sparc systems, changes by the child to local and incoming
! 21585: argument registers are propagated back to the parent. The compiler
! 21586: is told about this with #include <vfork.h>, but some compilers
! 21587: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
! 21588: static variable whose address is put into a register that is
! 21589: clobbered by the vfork. */
! 21590: static void
! 21591: #ifdef __cplusplus
! 21592: sparc_address_test (int arg)
! 21593: # else
! 21594: sparc_address_test (arg) int arg;
! 21595: #endif
! 21596: {
! 21597: static pid_t child;
! 21598: if (!child) {
! 21599: child = vfork ();
! 21600: if (child < 0) {
! 21601: perror ("vfork");
! 21602: _exit(2);
! 21603: }
! 21604: if (!child) {
! 21605: arg = getpid();
! 21606: write(-1, "", 0);
! 21607: _exit (arg);
! 21608: }
! 21609: }
! 21610: }
! 21611:
! 21612: int
! 21613: main ()
! 21614: {
! 21615: pid_t parent = getpid ();
! 21616: pid_t child;
! 21617:
! 21618: sparc_address_test (0);
! 21619:
! 21620: child = vfork ();
! 21621:
! 21622: if (child == 0) {
! 21623: /* Here is another test for sparc vfork register problems. This
! 21624: test uses lots of local variables, at least as many local
! 21625: variables as main has allocated so far including compiler
! 21626: temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
! 21627: 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
! 21628: reuse the register of parent for one of the local variables,
! 21629: since it will think that parent can't possibly be used any more
! 21630: in this routine. Assigning to the local variable will thus
! 21631: munge parent in the parent process. */
! 21632: pid_t
! 21633: p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
! 21634: p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
! 21635: /* Convince the compiler that p..p7 are live; otherwise, it might
! 21636: use the same hardware register for all 8 local variables. */
! 21637: if (p != p1 || p != p2 || p != p3 || p != p4
! 21638: || p != p5 || p != p6 || p != p7)
! 21639: _exit(1);
! 21640:
! 21641: /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
! 21642: from child file descriptors. If the child closes a descriptor
! 21643: before it execs or exits, this munges the parent's descriptor
! 21644: as well. Test for this by closing stdout in the child. */
! 21645: _exit(close(fileno(stdout)) != 0);
! 21646: } else {
! 21647: int status;
! 21648: struct stat st;
! 21649:
! 21650: while (wait(&status) != child)
! 21651: ;
! 21652: return (
! 21653: /* Was there some problem with vforking? */
! 21654: child < 0
! 21655:
! 21656: /* Did the child fail? (This shouldn't happen.) */
! 21657: || status
! 21658:
! 21659: /* Did the vfork/compiler bug occur? */
! 21660: || parent != getpid()
! 21661:
! 21662: /* Did the file descriptor bug occur? */
! 21663: || fstat(fileno(stdout), &st) != 0
! 21664: );
! 21665: }
! 21666: }
! 21667: _ACEOF
! 21668: rm -f conftest$ac_exeext
! 21669: if { (ac_try="$ac_link"
! 21670: case "(($ac_try" in
! 21671: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21672: *) ac_try_echo=$ac_try;;
! 21673: esac
! 21674: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21675: $as_echo "$ac_try_echo") >&5
! 21676: (eval "$ac_link") 2>&5
! 21677: ac_status=$?
! 21678: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21679: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 21680: { (case "(($ac_try" in
! 21681: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21682: *) ac_try_echo=$ac_try;;
! 21683: esac
! 21684: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21685: $as_echo "$ac_try_echo") >&5
! 21686: (eval "$ac_try") 2>&5
! 21687: ac_status=$?
! 21688: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21689: (exit $ac_status); }; }; then
! 21690: ac_cv_func_vfork_works=yes
! 21691: else
! 21692: $as_echo "$as_me: program exited with status $ac_status" >&5
! 21693: $as_echo "$as_me: failed program was:" >&5
! 21694: sed 's/^/| /' conftest.$ac_ext >&5
! 21695:
! 21696: ( exit $ac_status )
! 21697: ac_cv_func_vfork_works=no
! 21698: fi
! 21699: rm -rf conftest.dSYM
! 21700: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 21701: fi
! 21702:
! 21703:
! 21704: fi
! 21705: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
! 21706: $as_echo "$ac_cv_func_vfork_works" >&6; }
! 21707:
! 21708: fi;
! 21709: if test "x$ac_cv_func_fork_works" = xcross; then
! 21710: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 21711: { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
! 21712: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
! 21713: fi
! 21714:
! 21715: if test "x$ac_cv_func_vfork_works" = xyes; then
! 21716:
! 21717: cat >>confdefs.h <<\_ACEOF
! 21718: #define HAVE_WORKING_VFORK 1
! 21719: _ACEOF
! 21720:
! 21721: else
! 21722:
! 21723: cat >>confdefs.h <<\_ACEOF
! 21724: #define vfork fork
! 21725: _ACEOF
! 21726:
! 21727: fi
! 21728: if test "x$ac_cv_func_fork_works" = xyes; then
! 21729:
! 21730: cat >>confdefs.h <<\_ACEOF
! 21731: #define HAVE_WORKING_FORK 1
! 21732: _ACEOF
! 21733:
! 21734: fi
! 21735:
! 21736:
! 21737: for ac_header in stdlib.h
! 21738: do
! 21739: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 21740: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21741: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 21742: $as_echo_n "checking for $ac_header... " >&6; }
! 21743: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21744: $as_echo_n "(cached) " >&6
! 21745: fi
! 21746: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 21747: $as_echo "$as_val"'`
! 21748: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 21749: $as_echo "$ac_res" >&6; }
! 21750: else
! 21751: # Is the header compilable?
! 21752: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 21753: $as_echo_n "checking $ac_header usability... " >&6; }
! 21754: cat >conftest.$ac_ext <<_ACEOF
! 21755: /* confdefs.h. */
! 21756: _ACEOF
! 21757: cat confdefs.h >>conftest.$ac_ext
! 21758: cat >>conftest.$ac_ext <<_ACEOF
! 21759: /* end confdefs.h. */
! 21760: $ac_includes_default
! 21761: #include <$ac_header>
! 21762: _ACEOF
! 21763: rm -f conftest.$ac_objext
! 21764: if { (ac_try="$ac_compile"
! 21765: case "(($ac_try" in
! 21766: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21767: *) ac_try_echo=$ac_try;;
! 21768: esac
! 21769: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21770: $as_echo "$ac_try_echo") >&5
! 21771: (eval "$ac_compile") 2>conftest.er1
! 21772: ac_status=$?
! 21773: grep -v '^ *+' conftest.er1 >conftest.err
! 21774: rm -f conftest.er1
! 21775: cat conftest.err >&5
! 21776: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21777: (exit $ac_status); } && {
! 21778: test -z "$ac_c_werror_flag" ||
! 21779: test ! -s conftest.err
! 21780: } && test -s conftest.$ac_objext; then
! 21781: ac_header_compiler=yes
! 21782: else
! 21783: $as_echo "$as_me: failed program was:" >&5
! 21784: sed 's/^/| /' conftest.$ac_ext >&5
! 21785:
! 21786: ac_header_compiler=no
! 21787: fi
! 21788:
! 21789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21790: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 21791: $as_echo "$ac_header_compiler" >&6; }
! 21792:
! 21793: # Is the header present?
! 21794: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 21795: $as_echo_n "checking $ac_header presence... " >&6; }
! 21796: cat >conftest.$ac_ext <<_ACEOF
! 21797: /* confdefs.h. */
! 21798: _ACEOF
! 21799: cat confdefs.h >>conftest.$ac_ext
! 21800: cat >>conftest.$ac_ext <<_ACEOF
! 21801: /* end confdefs.h. */
! 21802: #include <$ac_header>
! 21803: _ACEOF
! 21804: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 21805: case "(($ac_try" in
! 21806: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21807: *) ac_try_echo=$ac_try;;
! 21808: esac
! 21809: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21810: $as_echo "$ac_try_echo") >&5
! 21811: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 21812: ac_status=$?
! 21813: grep -v '^ *+' conftest.er1 >conftest.err
! 21814: rm -f conftest.er1
! 21815: cat conftest.err >&5
! 21816: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21817: (exit $ac_status); } >/dev/null && {
! 21818: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 21819: test ! -s conftest.err
! 21820: }; then
! 21821: ac_header_preproc=yes
! 21822: else
! 21823: $as_echo "$as_me: failed program was:" >&5
! 21824: sed 's/^/| /' conftest.$ac_ext >&5
! 21825:
! 21826: ac_header_preproc=no
! 21827: fi
! 21828:
! 21829: rm -f conftest.err conftest.$ac_ext
! 21830: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 21831: $as_echo "$ac_header_preproc" >&6; }
! 21832:
! 21833: # So? What about this header?
! 21834: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 21835: yes:no: )
! 21836: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 21837: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 21838: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 21839: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 21840: ac_header_preproc=yes
! 21841: ;;
! 21842: no:yes:* )
! 21843: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 21844: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 21845: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 21846: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 21847: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 21848: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 21849: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 21850: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 21851: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 21852: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 21853: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 21854: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 21855: ( cat <<\_ASBOX
! 21856: ## --------------------------------- ##
! 21857: ## Report this to "roma@ultranet.ru" ##
! 21858: ## --------------------------------- ##
! 21859: _ASBOX
! 21860: ) | sed "s/^/$as_me: WARNING: /" >&2
! 21861: ;;
! 21862: esac
! 21863: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 21864: $as_echo_n "checking for $ac_header... " >&6; }
! 21865: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 21866: $as_echo_n "(cached) " >&6
! 21867: else
! 21868: eval "$as_ac_Header=\$ac_header_preproc"
! 21869: fi
! 21870: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 21871: $as_echo "$as_val"'`
! 21872: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 21873: $as_echo "$ac_res" >&6; }
! 21874:
! 21875: fi
! 21876: as_val=`eval 'as_val=${'$as_ac_Header'}
! 21877: $as_echo "$as_val"'`
! 21878: if test "x$as_val" = x""yes; then
! 21879: cat >>confdefs.h <<_ACEOF
! 21880: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 21881: _ACEOF
! 21882:
! 21883: fi
! 21884:
! 21885: done
! 21886:
! 21887: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
! 21888: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
! 21889: if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
! 21890: $as_echo_n "(cached) " >&6
! 21891: else
! 21892: if test "$cross_compiling" = yes; then
! 21893: ac_cv_func_malloc_0_nonnull=no
! 21894: else
! 21895: cat >conftest.$ac_ext <<_ACEOF
! 21896: /* confdefs.h. */
! 21897: _ACEOF
! 21898: cat confdefs.h >>conftest.$ac_ext
! 21899: cat >>conftest.$ac_ext <<_ACEOF
! 21900: /* end confdefs.h. */
! 21901: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! 21902: # include <stdlib.h>
! 21903: #else
! 21904: char *malloc ();
! 21905: #endif
! 21906:
! 21907: int
! 21908: main ()
! 21909: {
! 21910: return ! malloc (0);
! 21911: ;
! 21912: return 0;
! 21913: }
! 21914: _ACEOF
! 21915: rm -f conftest$ac_exeext
! 21916: if { (ac_try="$ac_link"
! 21917: case "(($ac_try" in
! 21918: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21919: *) ac_try_echo=$ac_try;;
! 21920: esac
! 21921: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21922: $as_echo "$ac_try_echo") >&5
! 21923: (eval "$ac_link") 2>&5
! 21924: ac_status=$?
! 21925: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21926: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 21927: { (case "(($ac_try" in
! 21928: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21929: *) ac_try_echo=$ac_try;;
! 21930: esac
! 21931: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21932: $as_echo "$ac_try_echo") >&5
! 21933: (eval "$ac_try") 2>&5
! 21934: ac_status=$?
! 21935: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21936: (exit $ac_status); }; }; then
! 21937: ac_cv_func_malloc_0_nonnull=yes
! 21938: else
! 21939: $as_echo "$as_me: program exited with status $ac_status" >&5
! 21940: $as_echo "$as_me: failed program was:" >&5
! 21941: sed 's/^/| /' conftest.$ac_ext >&5
! 21942:
! 21943: ( exit $ac_status )
! 21944: ac_cv_func_malloc_0_nonnull=no
! 21945: fi
! 21946: rm -rf conftest.dSYM
! 21947: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 21948: fi
! 21949:
! 21950:
! 21951: fi
! 21952: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
! 21953: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
! 21954: if test $ac_cv_func_malloc_0_nonnull = yes; then
! 21955:
! 21956: cat >>confdefs.h <<\_ACEOF
! 21957: #define HAVE_MALLOC 1
! 21958: _ACEOF
! 21959:
! 21960: else
! 21961: cat >>confdefs.h <<\_ACEOF
! 21962: #define HAVE_MALLOC 0
! 21963: _ACEOF
! 21964:
! 21965: case " $LIBOBJS " in
! 21966: *" malloc.$ac_objext "* ) ;;
! 21967: *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
! 21968: ;;
! 21969: esac
! 21970:
! 21971:
! 21972: cat >>confdefs.h <<\_ACEOF
! 21973: #define malloc rpl_malloc
! 21974: _ACEOF
! 21975:
! 21976: fi
! 21977:
! 21978:
! 21979:
! 21980: { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
! 21981: $as_echo_n "checking for working memcmp... " >&6; }
! 21982: if test "${ac_cv_func_memcmp_working+set}" = set; then
! 21983: $as_echo_n "(cached) " >&6
! 21984: else
! 21985: if test "$cross_compiling" = yes; then
! 21986: ac_cv_func_memcmp_working=no
! 21987: else
! 21988: cat >conftest.$ac_ext <<_ACEOF
! 21989: /* confdefs.h. */
! 21990: _ACEOF
! 21991: cat confdefs.h >>conftest.$ac_ext
! 21992: cat >>conftest.$ac_ext <<_ACEOF
! 21993: /* end confdefs.h. */
! 21994: $ac_includes_default
! 21995: int
! 21996: main ()
! 21997: {
! 21998:
! 21999: /* Some versions of memcmp are not 8-bit clean. */
! 22000: char c0 = '\100', c1 = '\200', c2 = '\201';
! 22001: if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
! 22002: return 1;
! 22003:
! 22004: /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
! 22005: or more and with at least one buffer not starting on a 4-byte boundary.
! 22006: William Lewis provided this test program. */
! 22007: {
! 22008: char foo[21];
! 22009: char bar[21];
! 22010: int i;
! 22011: for (i = 0; i < 4; i++)
! 22012: {
! 22013: char *a = foo + i;
! 22014: char *b = bar + i;
! 22015: strcpy (a, "--------01111111");
! 22016: strcpy (b, "--------10000000");
! 22017: if (memcmp (a, b, 16) >= 0)
! 22018: return 1;
! 22019: }
! 22020: return 0;
! 22021: }
! 22022:
! 22023: ;
! 22024: return 0;
! 22025: }
! 22026: _ACEOF
! 22027: rm -f conftest$ac_exeext
! 22028: if { (ac_try="$ac_link"
! 22029: case "(($ac_try" in
! 22030: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 22031: *) ac_try_echo=$ac_try;;
! 22032: esac
! 22033: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 22034: $as_echo "$ac_try_echo") >&5
! 22035: (eval "$ac_link") 2>&5
! 22036: ac_status=$?
! 22037: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 22038: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 22039: { (case "(($ac_try" in
! 22040: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 22041: *) ac_try_echo=$ac_try;;
! 22042: esac
! 22043: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 22044: $as_echo "$ac_try_echo") >&5
! 22045: (eval "$ac_try") 2>&5
! 22046: ac_status=$?
! 22047: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 22048: (exit $ac_status); }; }; then
! 22049: ac_cv_func_memcmp_working=yes
! 22050: else
! 22051: $as_echo "$as_me: program exited with status $ac_status" >&5
! 22052: $as_echo "$as_me: failed program was:" >&5
! 22053: sed 's/^/| /' conftest.$ac_ext >&5
! 22054:
! 22055: ( exit $ac_status )
! 22056: ac_cv_func_memcmp_working=no
! 22057: fi
! 22058: rm -rf conftest.dSYM
! 22059: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 22060: fi
! 22061:
! 22062:
! 22063: fi
! 22064: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
! 22065: $as_echo "$ac_cv_func_memcmp_working" >&6; }
! 22066: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
! 22067: *" memcmp.$ac_objext "* ) ;;
! 22068: *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
! 22069: ;;
! 22070: esac
! 22071:
! 22072:
! 22073: { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
! 22074: $as_echo_n "checking return type of signal handlers... " >&6; }
! 22075: if test "${ac_cv_type_signal+set}" = set; then
! 22076: $as_echo_n "(cached) " >&6
! 22077: else
! 22078: cat >conftest.$ac_ext <<_ACEOF
! 22079: /* confdefs.h. */
! 22080: _ACEOF
! 22081: cat confdefs.h >>conftest.$ac_ext
! 22082: cat >>conftest.$ac_ext <<_ACEOF
! 22083: /* end confdefs.h. */
! 22084: #include <sys/types.h>
! 22085: #include <signal.h>
! 22086:
! 22087: int
! 22088: main ()
! 22089: {
! 22090: return *(signal (0, 0)) (0) == 1;
! 22091: ;
! 22092: return 0;
! 22093: }
! 22094: _ACEOF
! 22095: rm -f conftest.$ac_objext
! 22096: if { (ac_try="$ac_compile"
! 22097: case "(($ac_try" in
! 22098: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 22099: *) ac_try_echo=$ac_try;;
! 22100: esac
! 22101: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 22102: $as_echo "$ac_try_echo") >&5
! 22103: (eval "$ac_compile") 2>conftest.er1
! 22104: ac_status=$?
! 22105: grep -v '^ *+' conftest.er1 >conftest.err
! 22106: rm -f conftest.er1
! 22107: cat conftest.err >&5
! 22108: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 22109: (exit $ac_status); } && {
! 22110: test -z "$ac_c_werror_flag" ||
! 22111: test ! -s conftest.err
! 22112: } && test -s conftest.$ac_objext; then
! 22113: ac_cv_type_signal=int
! 22114: else
! 22115: $as_echo "$as_me: failed program was:" >&5
! 22116: sed 's/^/| /' conftest.$ac_ext >&5
! 22117:
! 22118: ac_cv_type_signal=void
! 22119: fi
! 22120:
! 22121: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 22122: fi
! 22123: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
! 22124: $as_echo "$ac_cv_type_signal" >&6; }
! 22125:
! 22126: cat >>confdefs.h <<_ACEOF
! 22127: #define RETSIGTYPE $ac_cv_type_signal
! 22128: _ACEOF
! 22129:
! 22130:
! 22131:
! 22132:
! 22133:
! 22134:
! 22135:
! 22136:
! 22137:
! 22138:
! 22139:
! 22140:
! 22141:
! 22142:
! 22143:
! 22144:
! 22145:
! 22146: for ac_func in bzero inet_ntoa memset pcap_open_live pcap_inject pcap_datalink pcap_setnonblock \
! 22147: pcap_close pcap_compile pcap_setfilter pcap_freecode pcap_findalldevs pcap_freealldevs \
! 22148: pcap_perror pcap_dispatch
! 22149: do
! 22150: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 22151: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 22152: $as_echo_n "checking for $ac_func... " >&6; }
! 22153: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 22154: $as_echo_n "(cached) " >&6
! 22155: else
! 22156: cat >conftest.$ac_ext <<_ACEOF
! 22157: /* confdefs.h. */
! 22158: _ACEOF
! 22159: cat confdefs.h >>conftest.$ac_ext
! 22160: cat >>conftest.$ac_ext <<_ACEOF
! 22161: /* end confdefs.h. */
! 22162: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 22163: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 22164: #define $ac_func innocuous_$ac_func
! 22165:
! 22166: /* System header to define __stub macros and hopefully few prototypes,
! 22167: which can conflict with char $ac_func (); below.
! 22168: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 22169: <limits.h> exists even on freestanding compilers. */
! 22170:
! 22171: #ifdef __STDC__
! 22172: # include <limits.h>
! 22173: #else
! 22174: # include <assert.h>
! 22175: #endif
! 22176:
! 22177: #undef $ac_func
! 22178:
! 22179: /* Override any GCC internal prototype to avoid an error.
! 22180: Use char because int might match the return type of a GCC
! 22181: builtin and then its argument prototype would still apply. */
! 22182: #ifdef __cplusplus
! 22183: extern "C"
! 22184: #endif
! 22185: char $ac_func ();
! 22186: /* The GNU C library defines this for functions which it implements
! 22187: to always fail with ENOSYS. Some functions are actually named
! 22188: something starting with __ and the normal name is an alias. */
! 22189: #if defined __stub_$ac_func || defined __stub___$ac_func
! 22190: choke me
! 22191: #endif
! 22192:
! 22193: int
! 22194: main ()
! 22195: {
! 22196: return $ac_func ();
! 22197: ;
! 22198: return 0;
! 22199: }
! 22200: _ACEOF
! 22201: rm -f conftest.$ac_objext conftest$ac_exeext
! 22202: if { (ac_try="$ac_link"
! 22203: case "(($ac_try" in
! 22204: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 22205: *) ac_try_echo=$ac_try;;
! 22206: esac
! 22207: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 22208: $as_echo "$ac_try_echo") >&5
! 22209: (eval "$ac_link") 2>conftest.er1
! 22210: ac_status=$?
! 22211: grep -v '^ *+' conftest.er1 >conftest.err
! 22212: rm -f conftest.er1
! 22213: cat conftest.err >&5
! 22214: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 22215: (exit $ac_status); } && {
! 22216: test -z "$ac_c_werror_flag" ||
! 22217: test ! -s conftest.err
! 22218: } && test -s conftest$ac_exeext && {
! 22219: test "$cross_compiling" = yes ||
! 22220: $as_test_x conftest$ac_exeext
! 22221: }; then
! 22222: eval "$as_ac_var=yes"
! 22223: else
! 22224: $as_echo "$as_me: failed program was:" >&5
! 22225: sed 's/^/| /' conftest.$ac_ext >&5
! 22226:
! 22227: eval "$as_ac_var=no"
! 22228: fi
! 22229:
! 22230: rm -rf conftest.dSYM
! 22231: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 22232: conftest$ac_exeext conftest.$ac_ext
! 22233: fi
! 22234: ac_res=`eval 'as_val=${'$as_ac_var'}
! 22235: $as_echo "$as_val"'`
! 22236: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 22237: $as_echo "$ac_res" >&6; }
! 22238: as_val=`eval 'as_val=${'$as_ac_var'}
! 22239: $as_echo "$as_val"'`
! 22240: if test "x$as_val" = x""yes; then
! 22241: cat >>confdefs.h <<_ACEOF
! 22242: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 22243: _ACEOF
! 22244:
! 22245: else
! 22246: { { $as_echo "$as_me:$LINENO: error: You need libpcap devel package installed" >&5
! 22247: $as_echo "$as_me: error: You need libpcap devel package installed" >&2;}
! 22248: { (exit 1); exit 1; }; }
! 22249: fi
! 22250: done
! 22251:
! 22252:
! 22253: ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile man/ru/Makefile"
! 22254:
! 22255: cat >confcache <<\_ACEOF
! 22256: # This file is a shell script that caches the results of configure
! 22257: # tests run on this system so they can be shared between configure
! 22258: # scripts and configure runs, see configure's option --config-cache.
! 22259: # It is not useful on other systems. If it contains results you don't
! 22260: # want to keep, you may remove or edit it.
! 22261: #
! 22262: # config.status only pays attention to the cache file if you give it
! 22263: # the --recheck option to rerun configure.
! 22264: #
! 22265: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 22266: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 22267: # following values.
! 22268:
! 22269: _ACEOF
! 22270:
! 22271: # The following way of writing the cache mishandles newlines in values,
! 22272: # but we know of no workaround that is simple, portable, and efficient.
! 22273: # So, we kill variables containing newlines.
! 22274: # Ultrix sh set writes to stderr and can't be redirected directly,
! 22275: # and sets the high bit in the cache file unless we assign to the vars.
! 22276: (
! 22277: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 22278: eval ac_val=\$$ac_var
! 22279: case $ac_val in #(
! 22280: *${as_nl}*)
! 22281: case $ac_var in #(
! 22282: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 22283: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 22284: esac
! 22285: case $ac_var in #(
! 22286: _ | IFS | as_nl) ;; #(
! 22287: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 22288: *) $as_unset $ac_var ;;
! 22289: esac ;;
! 22290: esac
! 22291: done
! 22292:
! 22293: (set) 2>&1 |
! 22294: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 22295: *${as_nl}ac_space=\ *)
! 22296: # `set' does not quote correctly, so add quotes (double-quote
! 22297: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 22298: sed -n \
! 22299: "s/'/'\\\\''/g;
! 22300: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 22301: ;; #(
! 22302: *)
! 22303: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 22304: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 22305: ;;
! 22306: esac |
! 22307: sort
! 22308: ) |
! 22309: sed '
! 22310: /^ac_cv_env_/b end
! 22311: t clear
! 22312: :clear
! 22313: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 22314: t end
! 22315: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 22316: :end' >>confcache
! 22317: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 22318: if test -w "$cache_file"; then
! 22319: test "x$cache_file" != "x/dev/null" &&
! 22320: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 22321: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 22322: cat confcache >$cache_file
! 22323: else
! 22324: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 22325: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 22326: fi
! 22327: fi
! 22328: rm -f confcache
! 22329:
! 22330: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 22331: # Let make expand exec_prefix.
! 22332: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 22333:
! 22334: DEFS=-DHAVE_CONFIG_H
! 22335:
! 22336: ac_libobjs=
! 22337: ac_ltlibobjs=
! 22338: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 22339: # 1. Remove the extension, and $U if already installed.
! 22340: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 22341: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 22342: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 22343: # will be set to the directory where LIBOBJS objects are built.
! 22344: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 22345: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 22346: done
! 22347: LIBOBJS=$ac_libobjs
! 22348:
! 22349: LTLIBOBJS=$ac_ltlibobjs
! 22350:
! 22351:
! 22352: if test -z "${ENABLE_STATIC_BUILD_TRUE}" && test -z "${ENABLE_STATIC_BUILD_FALSE}"; then
! 22353: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_STATIC_BUILD\" was never defined.
! 22354: Usually this means the macro was only invoked conditionally." >&5
! 22355: $as_echo "$as_me: error: conditional \"ENABLE_STATIC_BUILD\" was never defined.
! 22356: Usually this means the macro was only invoked conditionally." >&2;}
! 22357: { (exit 1); exit 1; }; }
! 22358: fi
! 22359: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 22360: { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 22361: Usually this means the macro was only invoked conditionally." >&5
! 22362: $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 22363: Usually this means the macro was only invoked conditionally." >&2;}
! 22364: { (exit 1); exit 1; }; }
! 22365: fi
! 22366: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 22367: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 22368: Usually this means the macro was only invoked conditionally." >&5
! 22369: $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 22370: Usually this means the macro was only invoked conditionally." >&2;}
! 22371: { (exit 1); exit 1; }; }
! 22372: fi
! 22373: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 22374: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 22375: Usually this means the macro was only invoked conditionally." >&5
! 22376: $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 22377: Usually this means the macro was only invoked conditionally." >&2;}
! 22378: { (exit 1); exit 1; }; }
! 22379: fi
! 22380:
! 22381: : ${CONFIG_STATUS=./config.status}
! 22382: ac_write_fail=0
! 22383: ac_clean_files_save=$ac_clean_files
! 22384: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 22385: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 22386: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 22387: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22388: #! $SHELL
! 22389: # Generated by $as_me.
! 22390: # Run this file to recreate the current configuration.
! 22391: # Compiler output produced by configure, useful for debugging
! 22392: # configure, is in config.log if it exists.
! 22393:
! 22394: debug=false
! 22395: ac_cs_recheck=false
! 22396: ac_cs_silent=false
! 22397: SHELL=\${CONFIG_SHELL-$SHELL}
! 22398: _ACEOF
! 22399:
! 22400: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22401: ## --------------------- ##
! 22402: ## M4sh Initialization. ##
! 22403: ## --------------------- ##
! 22404:
! 22405: # Be more Bourne compatible
! 22406: DUALCASE=1; export DUALCASE # for MKS sh
! 22407: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 22408: emulate sh
! 22409: NULLCMD=:
! 22410: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 22411: # is contrary to our usage. Disable this feature.
! 22412: alias -g '${1+"$@"}'='"$@"'
! 22413: setopt NO_GLOB_SUBST
! 22414: else
! 22415: case `(set -o) 2>/dev/null` in
! 22416: *posix*) set -o posix ;;
! 22417: esac
! 22418:
! 22419: fi
! 22420:
! 22421:
! 22422:
! 22423:
! 22424: # PATH needs CR
! 22425: # Avoid depending upon Character Ranges.
! 22426: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 22427: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 22428: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 22429: as_cr_digits='0123456789'
! 22430: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 22431:
! 22432: as_nl='
! 22433: '
! 22434: export as_nl
! 22435: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 22436: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 22437: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 22438: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 22439: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 22440: as_echo='printf %s\n'
! 22441: as_echo_n='printf %s'
! 22442: else
! 22443: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 22444: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 22445: as_echo_n='/usr/ucb/echo -n'
! 22446: else
! 22447: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 22448: as_echo_n_body='eval
! 22449: arg=$1;
! 22450: case $arg in
! 22451: *"$as_nl"*)
! 22452: expr "X$arg" : "X\\(.*\\)$as_nl";
! 22453: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 22454: esac;
! 22455: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 22456: '
! 22457: export as_echo_n_body
! 22458: as_echo_n='sh -c $as_echo_n_body as_echo'
! 22459: fi
! 22460: export as_echo_body
! 22461: as_echo='sh -c $as_echo_body as_echo'
! 22462: fi
! 22463:
! 22464: # The user is always right.
! 22465: if test "${PATH_SEPARATOR+set}" != set; then
! 22466: PATH_SEPARATOR=:
! 22467: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 22468: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 22469: PATH_SEPARATOR=';'
! 22470: }
! 22471: fi
! 22472:
! 22473: # Support unset when possible.
! 22474: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 22475: as_unset=unset
! 22476: else
! 22477: as_unset=false
! 22478: fi
! 22479:
! 22480:
! 22481: # IFS
! 22482: # We need space, tab and new line, in precisely that order. Quoting is
! 22483: # there to prevent editors from complaining about space-tab.
! 22484: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 22485: # splitting by setting IFS to empty value.)
! 22486: IFS=" "" $as_nl"
! 22487:
! 22488: # Find who we are. Look in the path if we contain no directory separator.
! 22489: case $0 in
! 22490: *[\\/]* ) as_myself=$0 ;;
! 22491: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 22492: for as_dir in $PATH
! 22493: do
! 22494: IFS=$as_save_IFS
! 22495: test -z "$as_dir" && as_dir=.
! 22496: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 22497: done
! 22498: IFS=$as_save_IFS
! 22499:
! 22500: ;;
! 22501: esac
! 22502: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 22503: # in which case we are not to be found in the path.
! 22504: if test "x$as_myself" = x; then
! 22505: as_myself=$0
! 22506: fi
! 22507: if test ! -f "$as_myself"; then
! 22508: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 22509: { (exit 1); exit 1; }
! 22510: fi
! 22511:
! 22512: # Work around bugs in pre-3.0 UWIN ksh.
! 22513: for as_var in ENV MAIL MAILPATH
! 22514: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 22515: done
! 22516: PS1='$ '
! 22517: PS2='> '
! 22518: PS4='+ '
! 22519:
! 22520: # NLS nuisances.
! 22521: LC_ALL=C
! 22522: export LC_ALL
! 22523: LANGUAGE=C
! 22524: export LANGUAGE
! 22525:
! 22526: # Required to use basename.
! 22527: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 22528: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 22529: as_expr=expr
! 22530: else
! 22531: as_expr=false
! 22532: fi
! 22533:
! 22534: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 22535: as_basename=basename
! 22536: else
! 22537: as_basename=false
! 22538: fi
! 22539:
! 22540:
! 22541: # Name of the executable.
! 22542: as_me=`$as_basename -- "$0" ||
! 22543: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 22544: X"$0" : 'X\(//\)$' \| \
! 22545: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 22546: $as_echo X/"$0" |
! 22547: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 22548: s//\1/
! 22549: q
! 22550: }
! 22551: /^X\/\(\/\/\)$/{
! 22552: s//\1/
! 22553: q
! 22554: }
! 22555: /^X\/\(\/\).*/{
! 22556: s//\1/
! 22557: q
! 22558: }
! 22559: s/.*/./; q'`
! 22560:
! 22561: # CDPATH.
! 22562: $as_unset CDPATH
! 22563:
! 22564:
! 22565:
! 22566: as_lineno_1=$LINENO
! 22567: as_lineno_2=$LINENO
! 22568: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 22569: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 22570:
! 22571: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 22572: # uniformly replaced by the line number. The first 'sed' inserts a
! 22573: # line-number line after each line using $LINENO; the second 'sed'
! 22574: # does the real work. The second script uses 'N' to pair each
! 22575: # line-number line with the line containing $LINENO, and appends
! 22576: # trailing '-' during substitution so that $LINENO is not a special
! 22577: # case at line end.
! 22578: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 22579: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 22580: # E. McMahon (1931-1989) for sed's syntax. :-)
! 22581: sed -n '
! 22582: p
! 22583: /[$]LINENO/=
! 22584: ' <$as_myself |
! 22585: sed '
! 22586: s/[$]LINENO.*/&-/
! 22587: t lineno
! 22588: b
! 22589: :lineno
! 22590: N
! 22591: :loop
! 22592: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 22593: t loop
! 22594: s/-\n.*//
! 22595: ' >$as_me.lineno &&
! 22596: chmod +x "$as_me.lineno" ||
! 22597: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 22598: { (exit 1); exit 1; }; }
! 22599:
! 22600: # Don't try to exec as it changes $[0], causing all sort of problems
! 22601: # (the dirname of $[0] is not the place where we might find the
! 22602: # original and so on. Autoconf is especially sensitive to this).
! 22603: . "./$as_me.lineno"
! 22604: # Exit status is that of the last command.
! 22605: exit
! 22606: }
! 22607:
! 22608:
! 22609: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 22610: as_dirname=dirname
! 22611: else
! 22612: as_dirname=false
! 22613: fi
! 22614:
! 22615: ECHO_C= ECHO_N= ECHO_T=
! 22616: case `echo -n x` in
! 22617: -n*)
! 22618: case `echo 'x\c'` in
! 22619: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 22620: *) ECHO_C='\c';;
! 22621: esac;;
! 22622: *)
! 22623: ECHO_N='-n';;
! 22624: esac
! 22625: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 22626: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 22627: as_expr=expr
! 22628: else
! 22629: as_expr=false
! 22630: fi
! 22631:
! 22632: rm -f conf$$ conf$$.exe conf$$.file
! 22633: if test -d conf$$.dir; then
! 22634: rm -f conf$$.dir/conf$$.file
! 22635: else
! 22636: rm -f conf$$.dir
! 22637: mkdir conf$$.dir 2>/dev/null
! 22638: fi
! 22639: if (echo >conf$$.file) 2>/dev/null; then
! 22640: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 22641: as_ln_s='ln -s'
! 22642: # ... but there are two gotchas:
! 22643: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 22644: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 22645: # In both cases, we have to default to `cp -p'.
! 22646: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 22647: as_ln_s='cp -p'
! 22648: elif ln conf$$.file conf$$ 2>/dev/null; then
! 22649: as_ln_s=ln
! 22650: else
! 22651: as_ln_s='cp -p'
! 22652: fi
! 22653: else
! 22654: as_ln_s='cp -p'
! 22655: fi
! 22656: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 22657: rmdir conf$$.dir 2>/dev/null
! 22658:
! 22659: if mkdir -p . 2>/dev/null; then
! 22660: as_mkdir_p=:
! 22661: else
! 22662: test -d ./-p && rmdir ./-p
! 22663: as_mkdir_p=false
! 22664: fi
! 22665:
! 22666: if test -x / >/dev/null 2>&1; then
! 22667: as_test_x='test -x'
! 22668: else
! 22669: if ls -dL / >/dev/null 2>&1; then
! 22670: as_ls_L_option=L
! 22671: else
! 22672: as_ls_L_option=
! 22673: fi
! 22674: as_test_x='
! 22675: eval sh -c '\''
! 22676: if test -d "$1"; then
! 22677: test -d "$1/.";
! 22678: else
! 22679: case $1 in
! 22680: -*)set "./$1";;
! 22681: esac;
! 22682: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 22683: ???[sx]*):;;*)false;;esac;fi
! 22684: '\'' sh
! 22685: '
! 22686: fi
! 22687: as_executable_p=$as_test_x
! 22688:
! 22689: # Sed expression to map a string onto a valid CPP name.
! 22690: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 22691:
! 22692: # Sed expression to map a string onto a valid variable name.
! 22693: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 22694:
! 22695:
! 22696: exec 6>&1
! 22697:
! 22698: # Save the log message, to keep $[0] and so on meaningful, and to
! 22699: # report actual input values of CONFIG_FILES etc. instead of their
! 22700: # values after options handling.
! 22701: ac_log="
! 22702: This file was extended by "DHCP-dropper" $as_me "0.5", which was
! 22703: generated by GNU Autoconf 2.63. Invocation command line was
! 22704:
! 22705: CONFIG_FILES = $CONFIG_FILES
! 22706: CONFIG_HEADERS = $CONFIG_HEADERS
! 22707: CONFIG_LINKS = $CONFIG_LINKS
! 22708: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 22709: $ $0 $@
! 22710:
! 22711: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 22712: "
! 22713:
! 22714: _ACEOF
! 22715:
! 22716: case $ac_config_files in *"
! 22717: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 22718: esac
! 22719:
! 22720: case $ac_config_headers in *"
! 22721: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 22722: esac
! 22723:
! 22724:
! 22725: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22726: # Files that config.status was made for.
! 22727: config_files="$ac_config_files"
! 22728: config_headers="$ac_config_headers"
! 22729: config_commands="$ac_config_commands"
! 22730:
! 22731: _ACEOF
! 22732:
! 22733: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22734: ac_cs_usage="\
! 22735: \`$as_me' instantiates files from templates according to the
! 22736: current configuration.
! 22737:
! 22738: Usage: $0 [OPTION]... [FILE]...
! 22739:
! 22740: -h, --help print this help, then exit
! 22741: -V, --version print version number and configuration settings, then exit
! 22742: -q, --quiet, --silent
! 22743: do not print progress messages
! 22744: -d, --debug don't remove temporary files
! 22745: --recheck update $as_me by reconfiguring in the same conditions
! 22746: --file=FILE[:TEMPLATE]
! 22747: instantiate the configuration file FILE
! 22748: --header=FILE[:TEMPLATE]
! 22749: instantiate the configuration header FILE
! 22750:
! 22751: Configuration files:
! 22752: $config_files
! 22753:
! 22754: Configuration headers:
! 22755: $config_headers
! 22756:
! 22757: Configuration commands:
! 22758: $config_commands
! 22759:
! 22760: Report bugs to <bug-autoconf@gnu.org>."
! 22761:
! 22762: _ACEOF
! 22763: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22764: ac_cs_version="\\
! 22765: "DHCP-dropper" config.status "0.5"
! 22766: configured by $0, generated by GNU Autoconf 2.63,
! 22767: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 22768:
! 22769: Copyright (C) 2008 Free Software Foundation, Inc.
! 22770: This config.status script is free software; the Free Software Foundation
! 22771: gives unlimited permission to copy, distribute and modify it."
! 22772:
! 22773: ac_pwd='$ac_pwd'
! 22774: srcdir='$srcdir'
! 22775: INSTALL='$INSTALL'
! 22776: MKDIR_P='$MKDIR_P'
! 22777: AWK='$AWK'
! 22778: test -n "\$AWK" || AWK=awk
! 22779: _ACEOF
! 22780:
! 22781: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22782: # The default lists apply if the user does not specify any file.
! 22783: ac_need_defaults=:
! 22784: while test $# != 0
! 22785: do
! 22786: case $1 in
! 22787: --*=*)
! 22788: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 22789: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 22790: ac_shift=:
! 22791: ;;
! 22792: *)
! 22793: ac_option=$1
! 22794: ac_optarg=$2
! 22795: ac_shift=shift
! 22796: ;;
! 22797: esac
! 22798:
! 22799: case $ac_option in
! 22800: # Handling of the options.
! 22801: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 22802: ac_cs_recheck=: ;;
! 22803: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 22804: $as_echo "$ac_cs_version"; exit ;;
! 22805: --debug | --debu | --deb | --de | --d | -d )
! 22806: debug=: ;;
! 22807: --file | --fil | --fi | --f )
! 22808: $ac_shift
! 22809: case $ac_optarg in
! 22810: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 22811: esac
! 22812: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
! 22813: ac_need_defaults=false;;
! 22814: --header | --heade | --head | --hea )
! 22815: $ac_shift
! 22816: case $ac_optarg in
! 22817: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 22818: esac
! 22819: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
! 22820: ac_need_defaults=false;;
! 22821: --he | --h)
! 22822: # Conflict between --help and --header
! 22823: { $as_echo "$as_me: error: ambiguous option: $1
! 22824: Try \`$0 --help' for more information." >&2
! 22825: { (exit 1); exit 1; }; };;
! 22826: --help | --hel | -h )
! 22827: $as_echo "$ac_cs_usage"; exit ;;
! 22828: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 22829: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 22830: ac_cs_silent=: ;;
! 22831:
! 22832: # This is an error.
! 22833: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 22834: Try \`$0 --help' for more information." >&2
! 22835: { (exit 1); exit 1; }; } ;;
! 22836:
! 22837: *) ac_config_targets="$ac_config_targets $1"
! 22838: ac_need_defaults=false ;;
! 22839:
! 22840: esac
! 22841: shift
! 22842: done
! 22843:
! 22844: ac_configure_extra_args=
! 22845:
! 22846: if $ac_cs_silent; then
! 22847: exec 6>/dev/null
! 22848: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 22849: fi
! 22850:
! 22851: _ACEOF
! 22852: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22853: if \$ac_cs_recheck; then
! 22854: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 22855: shift
! 22856: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 22857: CONFIG_SHELL='$SHELL'
! 22858: export CONFIG_SHELL
! 22859: exec "\$@"
! 22860: fi
! 22861:
! 22862: _ACEOF
! 22863: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22864: exec 5>>config.log
! 22865: {
! 22866: echo
! 22867: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 22868: ## Running $as_me. ##
! 22869: _ASBOX
! 22870: $as_echo "$ac_log"
! 22871: } >&5
! 22872:
! 22873: _ACEOF
! 22874: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22875: #
! 22876: # INIT-COMMANDS
! 22877: #
! 22878: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 22879:
! 22880: _ACEOF
! 22881:
! 22882: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22883:
! 22884: # Handling of arguments.
! 22885: for ac_config_target in $ac_config_targets
! 22886: do
! 22887: case $ac_config_target in
! 22888: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 22889: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 22890: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 22891: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 22892: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
! 22893: "man/ru/Makefile") CONFIG_FILES="$CONFIG_FILES man/ru/Makefile" ;;
! 22894:
! 22895: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 22896: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 22897: { (exit 1); exit 1; }; };;
! 22898: esac
! 22899: done
! 22900:
! 22901:
! 22902: # If the user did not use the arguments to specify the items to instantiate,
! 22903: # then the envvar interface is used. Set only those that are not.
! 22904: # We use the long form for the default assignment because of an extremely
! 22905: # bizarre bug on SunOS 4.1.3.
! 22906: if $ac_need_defaults; then
! 22907: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 22908: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 22909: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 22910: fi
! 22911:
! 22912: # Have a temporary directory for convenience. Make it in the build tree
! 22913: # simply because there is no reason against having it here, and in addition,
! 22914: # creating and moving files from /tmp can sometimes cause problems.
! 22915: # Hook for its removal unless debugging.
! 22916: # Note that there is a small window in which the directory will not be cleaned:
! 22917: # after its creation but before its name has been assigned to `$tmp'.
! 22918: $debug ||
! 22919: {
! 22920: tmp=
! 22921: trap 'exit_status=$?
! 22922: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 22923: ' 0
! 22924: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 22925: }
! 22926: # Create a (secure) tmp directory for tmp files.
! 22927:
! 22928: {
! 22929: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 22930: test -n "$tmp" && test -d "$tmp"
! 22931: } ||
! 22932: {
! 22933: tmp=./conf$$-$RANDOM
! 22934: (umask 077 && mkdir "$tmp")
! 22935: } ||
! 22936: {
! 22937: $as_echo "$as_me: cannot create a temporary directory in ." >&2
! 22938: { (exit 1); exit 1; }
! 22939: }
! 22940:
! 22941: # Set up the scripts for CONFIG_FILES section.
! 22942: # No need to generate them if there are no CONFIG_FILES.
! 22943: # This happens for instance with `./config.status config.h'.
! 22944: if test -n "$CONFIG_FILES"; then
! 22945:
! 22946:
! 22947: ac_cr='
'
! 22948: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 22949: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 22950: ac_cs_awk_cr='\\r'
! 22951: else
! 22952: ac_cs_awk_cr=$ac_cr
! 22953: fi
! 22954:
! 22955: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 22956: _ACEOF
! 22957:
! 22958:
! 22959: {
! 22960: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 22961: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 22962: echo "_ACEOF"
! 22963: } >conf$$subs.sh ||
! 22964: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22965: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22966: { (exit 1); exit 1; }; }
! 22967: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 22968: ac_delim='%!_!# '
! 22969: for ac_last_try in false false false false false :; do
! 22970: . ./conf$$subs.sh ||
! 22971: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22972: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22973: { (exit 1); exit 1; }; }
! 22974:
! 22975: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 22976: if test $ac_delim_n = $ac_delim_num; then
! 22977: break
! 22978: elif $ac_last_try; then
! 22979: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22980: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22981: { (exit 1); exit 1; }; }
! 22982: else
! 22983: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 22984: fi
! 22985: done
! 22986: rm -f conf$$subs.sh
! 22987:
! 22988: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22989: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 22990: _ACEOF
! 22991: sed -n '
! 22992: h
! 22993: s/^/S["/; s/!.*/"]=/
! 22994: p
! 22995: g
! 22996: s/^[^!]*!//
! 22997: :repl
! 22998: t repl
! 22999: s/'"$ac_delim"'$//
! 23000: t delim
! 23001: :nl
! 23002: h
! 23003: s/\(.\{148\}\).*/\1/
! 23004: t more1
! 23005: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 23006: p
! 23007: n
! 23008: b repl
! 23009: :more1
! 23010: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 23011: p
! 23012: g
! 23013: s/.\{148\}//
! 23014: t nl
! 23015: :delim
! 23016: h
! 23017: s/\(.\{148\}\).*/\1/
! 23018: t more2
! 23019: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 23020: p
! 23021: b
! 23022: :more2
! 23023: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 23024: p
! 23025: g
! 23026: s/.\{148\}//
! 23027: t delim
! 23028: ' <conf$$subs.awk | sed '
! 23029: /^[^""]/{
! 23030: N
! 23031: s/\n//
! 23032: }
! 23033: ' >>$CONFIG_STATUS || ac_write_fail=1
! 23034: rm -f conf$$subs.awk
! 23035: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 23036: _ACAWK
! 23037: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 23038: for (key in S) S_is_set[key] = 1
! 23039: FS = ""
! 23040:
! 23041: }
! 23042: {
! 23043: line = $ 0
! 23044: nfields = split(line, field, "@")
! 23045: substed = 0
! 23046: len = length(field[1])
! 23047: for (i = 2; i < nfields; i++) {
! 23048: key = field[i]
! 23049: keylen = length(key)
! 23050: if (S_is_set[key]) {
! 23051: value = S[key]
! 23052: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 23053: len += length(value) + length(field[++i])
! 23054: substed = 1
! 23055: } else
! 23056: len += 1 + keylen
! 23057: }
! 23058:
! 23059: print line
! 23060: }
! 23061:
! 23062: _ACAWK
! 23063: _ACEOF
! 23064: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 23065: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 23066: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 23067: else
! 23068: cat
! 23069: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 23070: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 23071: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 23072: { (exit 1); exit 1; }; }
! 23073: _ACEOF
! 23074:
! 23075: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 23076: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 23077: # trailing colons and then remove the whole line if VPATH becomes empty
! 23078: # (actually we leave an empty line to preserve line numbers).
! 23079: if test "x$srcdir" = x.; then
! 23080: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 23081: s/:*\$(srcdir):*/:/
! 23082: s/:*\${srcdir}:*/:/
! 23083: s/:*@srcdir@:*/:/
! 23084: s/^\([^=]*=[ ]*\):*/\1/
! 23085: s/:*$//
! 23086: s/^[^=]*=[ ]*$//
! 23087: }'
! 23088: fi
! 23089:
! 23090: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 23091: fi # test -n "$CONFIG_FILES"
! 23092:
! 23093: # Set up the scripts for CONFIG_HEADERS section.
! 23094: # No need to generate them if there are no CONFIG_HEADERS.
! 23095: # This happens for instance with `./config.status Makefile'.
! 23096: if test -n "$CONFIG_HEADERS"; then
! 23097: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 23098: BEGIN {
! 23099: _ACEOF
! 23100:
! 23101: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 23102: # here-document in config.status, that substitutes the proper values into
! 23103: # config.h.in to produce config.h.
! 23104:
! 23105: # Create a delimiter string that does not exist in confdefs.h, to ease
! 23106: # handling of long lines.
! 23107: ac_delim='%!_!# '
! 23108: for ac_last_try in false false :; do
! 23109: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 23110: if test -z "$ac_t"; then
! 23111: break
! 23112: elif $ac_last_try; then
! 23113: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
! 23114: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
! 23115: { (exit 1); exit 1; }; }
! 23116: else
! 23117: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 23118: fi
! 23119: done
! 23120:
! 23121: # For the awk script, D is an array of macro values keyed by name,
! 23122: # likewise P contains macro parameters if any. Preserve backslash
! 23123: # newline sequences.
! 23124:
! 23125: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 23126: sed -n '
! 23127: s/.\{148\}/&'"$ac_delim"'/g
! 23128: t rset
! 23129: :rset
! 23130: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 23131: t def
! 23132: d
! 23133: :def
! 23134: s/\\$//
! 23135: t bsnl
! 23136: s/["\\]/\\&/g
! 23137: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 23138: D["\1"]=" \3"/p
! 23139: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 23140: d
! 23141: :bsnl
! 23142: s/["\\]/\\&/g
! 23143: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 23144: D["\1"]=" \3\\\\\\n"\\/p
! 23145: t cont
! 23146: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 23147: t cont
! 23148: d
! 23149: :cont
! 23150: n
! 23151: s/.\{148\}/&'"$ac_delim"'/g
! 23152: t clear
! 23153: :clear
! 23154: s/\\$//
! 23155: t bsnlc
! 23156: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 23157: d
! 23158: :bsnlc
! 23159: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 23160: b cont
! 23161: ' <confdefs.h | sed '
! 23162: s/'"$ac_delim"'/"\\\
! 23163: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 23164:
! 23165: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 23166: for (key in D) D_is_set[key] = 1
! 23167: FS = ""
! 23168: }
! 23169: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 23170: line = \$ 0
! 23171: split(line, arg, " ")
! 23172: if (arg[1] == "#") {
! 23173: defundef = arg[2]
! 23174: mac1 = arg[3]
! 23175: } else {
! 23176: defundef = substr(arg[1], 2)
! 23177: mac1 = arg[2]
! 23178: }
! 23179: split(mac1, mac2, "(") #)
! 23180: macro = mac2[1]
! 23181: prefix = substr(line, 1, index(line, defundef) - 1)
! 23182: if (D_is_set[macro]) {
! 23183: # Preserve the white space surrounding the "#".
! 23184: print prefix "define", macro P[macro] D[macro]
! 23185: next
! 23186: } else {
! 23187: # Replace #undef with comments. This is necessary, for example,
! 23188: # in the case of _POSIX_SOURCE, which is predefined and required
! 23189: # on some systems where configure will not decide to define it.
! 23190: if (defundef == "undef") {
! 23191: print "/*", prefix defundef, macro, "*/"
! 23192: next
! 23193: }
! 23194: }
! 23195: }
! 23196: { print }
! 23197: _ACAWK
! 23198: _ACEOF
! 23199: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 23200: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
! 23201: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
! 23202: { (exit 1); exit 1; }; }
! 23203: fi # test -n "$CONFIG_HEADERS"
! 23204:
! 23205:
! 23206: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 23207: shift
! 23208: for ac_tag
! 23209: do
! 23210: case $ac_tag in
! 23211: :[FHLC]) ac_mode=$ac_tag; continue;;
! 23212: esac
! 23213: case $ac_mode$ac_tag in
! 23214: :[FHL]*:*);;
! 23215: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
! 23216: $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
! 23217: { (exit 1); exit 1; }; };;
! 23218: :[FH]-) ac_tag=-:-;;
! 23219: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 23220: esac
! 23221: ac_save_IFS=$IFS
! 23222: IFS=:
! 23223: set x $ac_tag
! 23224: IFS=$ac_save_IFS
! 23225: shift
! 23226: ac_file=$1
! 23227: shift
! 23228:
! 23229: case $ac_mode in
! 23230: :L) ac_source=$1;;
! 23231: :[FH])
! 23232: ac_file_inputs=
! 23233: for ac_f
! 23234: do
! 23235: case $ac_f in
! 23236: -) ac_f="$tmp/stdin";;
! 23237: *) # Look for the file first in the build tree, then in the source tree
! 23238: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 23239: # because $ac_f cannot contain `:'.
! 23240: test -f "$ac_f" ||
! 23241: case $ac_f in
! 23242: [\\/$]*) false;;
! 23243: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 23244: esac ||
! 23245: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 23246: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 23247: { (exit 1); exit 1; }; };;
! 23248: esac
! 23249: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 23250: ac_file_inputs="$ac_file_inputs '$ac_f'"
! 23251: done
! 23252:
! 23253: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 23254: # use $as_me), people would be surprised to read:
! 23255: # /* config.h. Generated by config.status. */
! 23256: configure_input='Generated from '`
! 23257: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 23258: `' by configure.'
! 23259: if test x"$ac_file" != x-; then
! 23260: configure_input="$ac_file. $configure_input"
! 23261: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 23262: $as_echo "$as_me: creating $ac_file" >&6;}
! 23263: fi
! 23264: # Neutralize special characters interpreted by sed in replacement strings.
! 23265: case $configure_input in #(
! 23266: *\&* | *\|* | *\\* )
! 23267: ac_sed_conf_input=`$as_echo "$configure_input" |
! 23268: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 23269: *) ac_sed_conf_input=$configure_input;;
! 23270: esac
! 23271:
! 23272: case $ac_tag in
! 23273: *:-:* | *:-) cat >"$tmp/stdin" \
! 23274: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 23275: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 23276: { (exit 1); exit 1; }; } ;;
! 23277: esac
! 23278: ;;
! 23279: esac
! 23280:
! 23281: ac_dir=`$as_dirname -- "$ac_file" ||
! 23282: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23283: X"$ac_file" : 'X\(//\)[^/]' \| \
! 23284: X"$ac_file" : 'X\(//\)$' \| \
! 23285: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 23286: $as_echo X"$ac_file" |
! 23287: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23288: s//\1/
! 23289: q
! 23290: }
! 23291: /^X\(\/\/\)[^/].*/{
! 23292: s//\1/
! 23293: q
! 23294: }
! 23295: /^X\(\/\/\)$/{
! 23296: s//\1/
! 23297: q
! 23298: }
! 23299: /^X\(\/\).*/{
! 23300: s//\1/
! 23301: q
! 23302: }
! 23303: s/.*/./; q'`
! 23304: { as_dir="$ac_dir"
! 23305: case $as_dir in #(
! 23306: -*) as_dir=./$as_dir;;
! 23307: esac
! 23308: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 23309: as_dirs=
! 23310: while :; do
! 23311: case $as_dir in #(
! 23312: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 23313: *) as_qdir=$as_dir;;
! 23314: esac
! 23315: as_dirs="'$as_qdir' $as_dirs"
! 23316: as_dir=`$as_dirname -- "$as_dir" ||
! 23317: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23318: X"$as_dir" : 'X\(//\)[^/]' \| \
! 23319: X"$as_dir" : 'X\(//\)$' \| \
! 23320: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 23321: $as_echo X"$as_dir" |
! 23322: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23323: s//\1/
! 23324: q
! 23325: }
! 23326: /^X\(\/\/\)[^/].*/{
! 23327: s//\1/
! 23328: q
! 23329: }
! 23330: /^X\(\/\/\)$/{
! 23331: s//\1/
! 23332: q
! 23333: }
! 23334: /^X\(\/\).*/{
! 23335: s//\1/
! 23336: q
! 23337: }
! 23338: s/.*/./; q'`
! 23339: test -d "$as_dir" && break
! 23340: done
! 23341: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 23342: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 23343: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 23344: { (exit 1); exit 1; }; }; }
! 23345: ac_builddir=.
! 23346:
! 23347: case "$ac_dir" in
! 23348: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 23349: *)
! 23350: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 23351: # A ".." for each directory in $ac_dir_suffix.
! 23352: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 23353: case $ac_top_builddir_sub in
! 23354: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 23355: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 23356: esac ;;
! 23357: esac
! 23358: ac_abs_top_builddir=$ac_pwd
! 23359: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 23360: # for backward compatibility:
! 23361: ac_top_builddir=$ac_top_build_prefix
! 23362:
! 23363: case $srcdir in
! 23364: .) # We are building in place.
! 23365: ac_srcdir=.
! 23366: ac_top_srcdir=$ac_top_builddir_sub
! 23367: ac_abs_top_srcdir=$ac_pwd ;;
! 23368: [\\/]* | ?:[\\/]* ) # Absolute name.
! 23369: ac_srcdir=$srcdir$ac_dir_suffix;
! 23370: ac_top_srcdir=$srcdir
! 23371: ac_abs_top_srcdir=$srcdir ;;
! 23372: *) # Relative name.
! 23373: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 23374: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 23375: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 23376: esac
! 23377: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 23378:
! 23379:
! 23380: case $ac_mode in
! 23381: :F)
! 23382: #
! 23383: # CONFIG_FILE
! 23384: #
! 23385:
! 23386: case $INSTALL in
! 23387: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 23388: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 23389: esac
! 23390: ac_MKDIR_P=$MKDIR_P
! 23391: case $MKDIR_P in
! 23392: [\\/$]* | ?:[\\/]* ) ;;
! 23393: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
! 23394: esac
! 23395: _ACEOF
! 23396:
! 23397: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 23398: # If the template does not know about datarootdir, expand it.
! 23399: # FIXME: This hack should be removed a few years after 2.60.
! 23400: ac_datarootdir_hack=; ac_datarootdir_seen=
! 23401:
! 23402: ac_sed_dataroot='
! 23403: /datarootdir/ {
! 23404: p
! 23405: q
! 23406: }
! 23407: /@datadir@/p
! 23408: /@docdir@/p
! 23409: /@infodir@/p
! 23410: /@localedir@/p
! 23411: /@mandir@/p
! 23412: '
! 23413: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 23414: *datarootdir*) ac_datarootdir_seen=yes;;
! 23415: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 23416: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 23417: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 23418: _ACEOF
! 23419: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 23420: ac_datarootdir_hack='
! 23421: s&@datadir@&$datadir&g
! 23422: s&@docdir@&$docdir&g
! 23423: s&@infodir@&$infodir&g
! 23424: s&@localedir@&$localedir&g
! 23425: s&@mandir@&$mandir&g
! 23426: s&\\\${datarootdir}&$datarootdir&g' ;;
! 23427: esac
! 23428: _ACEOF
! 23429:
! 23430: # Neutralize VPATH when `$srcdir' = `.'.
! 23431: # Shell code in configure.ac might set extrasub.
! 23432: # FIXME: do we really want to maintain this feature?
! 23433: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 23434: ac_sed_extra="$ac_vpsub
! 23435: $extrasub
! 23436: _ACEOF
! 23437: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 23438: :t
! 23439: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 23440: s|@configure_input@|$ac_sed_conf_input|;t t
! 23441: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 23442: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 23443: s&@srcdir@&$ac_srcdir&;t t
! 23444: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 23445: s&@top_srcdir@&$ac_top_srcdir&;t t
! 23446: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 23447: s&@builddir@&$ac_builddir&;t t
! 23448: s&@abs_builddir@&$ac_abs_builddir&;t t
! 23449: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 23450: s&@INSTALL@&$ac_INSTALL&;t t
! 23451: s&@MKDIR_P@&$ac_MKDIR_P&;t t
! 23452: $ac_datarootdir_hack
! 23453: "
! 23454: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 23455: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 23456: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 23457: { (exit 1); exit 1; }; }
! 23458:
! 23459: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 23460: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 23461: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 23462: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 23463: which seems to be undefined. Please make sure it is defined." >&5
! 23464: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 23465: which seems to be undefined. Please make sure it is defined." >&2;}
! 23466:
! 23467: rm -f "$tmp/stdin"
! 23468: case $ac_file in
! 23469: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 23470: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 23471: esac \
! 23472: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 23473: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 23474: { (exit 1); exit 1; }; }
! 23475: ;;
! 23476: :H)
! 23477: #
! 23478: # CONFIG_HEADER
! 23479: #
! 23480: if test x"$ac_file" != x-; then
! 23481: {
! 23482: $as_echo "/* $configure_input */" \
! 23483: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 23484: } >"$tmp/config.h" \
! 23485: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 23486: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 23487: { (exit 1); exit 1; }; }
! 23488: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 23489: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 23490: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 23491: else
! 23492: rm -f "$ac_file"
! 23493: mv "$tmp/config.h" "$ac_file" \
! 23494: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 23495: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 23496: { (exit 1); exit 1; }; }
! 23497: fi
! 23498: else
! 23499: $as_echo "/* $configure_input */" \
! 23500: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 23501: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
! 23502: $as_echo "$as_me: error: could not create -" >&2;}
! 23503: { (exit 1); exit 1; }; }
! 23504: fi
! 23505: # Compute "$ac_file"'s index in $config_headers.
! 23506: _am_arg="$ac_file"
! 23507: _am_stamp_count=1
! 23508: for _am_header in $config_headers :; do
! 23509: case $_am_header in
! 23510: $_am_arg | $_am_arg:* )
! 23511: break ;;
! 23512: * )
! 23513: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 23514: esac
! 23515: done
! 23516: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! 23517: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23518: X"$_am_arg" : 'X\(//\)[^/]' \| \
! 23519: X"$_am_arg" : 'X\(//\)$' \| \
! 23520: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! 23521: $as_echo X"$_am_arg" |
! 23522: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23523: s//\1/
! 23524: q
! 23525: }
! 23526: /^X\(\/\/\)[^/].*/{
! 23527: s//\1/
! 23528: q
! 23529: }
! 23530: /^X\(\/\/\)$/{
! 23531: s//\1/
! 23532: q
! 23533: }
! 23534: /^X\(\/\).*/{
! 23535: s//\1/
! 23536: q
! 23537: }
! 23538: s/.*/./; q'`/stamp-h$_am_stamp_count
! 23539: ;;
! 23540:
! 23541: :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
! 23542: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 23543: ;;
! 23544: esac
! 23545:
! 23546:
! 23547: case $ac_file$ac_mode in
! 23548: "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
! 23549: # are listed without --file. Let's play safe and only enable the eval
! 23550: # if we detect the quoting.
! 23551: case $CONFIG_FILES in
! 23552: *\'*) eval set x "$CONFIG_FILES" ;;
! 23553: *) set x $CONFIG_FILES ;;
! 23554: esac
! 23555: shift
! 23556: for mf
! 23557: do
! 23558: # Strip MF so we end up with the name of the file.
! 23559: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 23560: # Check whether this is an Automake generated Makefile or not.
! 23561: # We used to match only the files named `Makefile.in', but
! 23562: # some people rename them; so instead we look at the file content.
! 23563: # Grep'ing the first line is not enough: some people post-process
! 23564: # each Makefile.in and add a new line on top of each file to say so.
! 23565: # Grep'ing the whole file is not good either: AIX grep has a line
! 23566: # limit of 2048, but all sed's we know have understand at least 4000.
! 23567: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
! 23568: dirpart=`$as_dirname -- "$mf" ||
! 23569: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23570: X"$mf" : 'X\(//\)[^/]' \| \
! 23571: X"$mf" : 'X\(//\)$' \| \
! 23572: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 23573: $as_echo X"$mf" |
! 23574: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23575: s//\1/
! 23576: q
! 23577: }
! 23578: /^X\(\/\/\)[^/].*/{
! 23579: s//\1/
! 23580: q
! 23581: }
! 23582: /^X\(\/\/\)$/{
! 23583: s//\1/
! 23584: q
! 23585: }
! 23586: /^X\(\/\).*/{
! 23587: s//\1/
! 23588: q
! 23589: }
! 23590: s/.*/./; q'`
! 23591: else
! 23592: continue
! 23593: fi
! 23594: # Extract the definition of DEPDIR, am__include, and am__quote
! 23595: # from the Makefile without running `make'.
! 23596: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 23597: test -z "$DEPDIR" && continue
! 23598: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 23599: test -z "am__include" && continue
! 23600: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 23601: # When using ansi2knr, U may be empty or an underscore; expand it
! 23602: U=`sed -n 's/^U = //p' < "$mf"`
! 23603: # Find all dependency output files, they are included files with
! 23604: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 23605: # simplest approach to changing $(DEPDIR) to its actual value in the
! 23606: # expansion.
! 23607: for file in `sed -n "
! 23608: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 23609: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 23610: # Make sure the directory exists.
! 23611: test -f "$dirpart/$file" && continue
! 23612: fdir=`$as_dirname -- "$file" ||
! 23613: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23614: X"$file" : 'X\(//\)[^/]' \| \
! 23615: X"$file" : 'X\(//\)$' \| \
! 23616: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 23617: $as_echo X"$file" |
! 23618: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23619: s//\1/
! 23620: q
! 23621: }
! 23622: /^X\(\/\/\)[^/].*/{
! 23623: s//\1/
! 23624: q
! 23625: }
! 23626: /^X\(\/\/\)$/{
! 23627: s//\1/
! 23628: q
! 23629: }
! 23630: /^X\(\/\).*/{
! 23631: s//\1/
! 23632: q
! 23633: }
! 23634: s/.*/./; q'`
! 23635: { as_dir=$dirpart/$fdir
! 23636: case $as_dir in #(
! 23637: -*) as_dir=./$as_dir;;
! 23638: esac
! 23639: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 23640: as_dirs=
! 23641: while :; do
! 23642: case $as_dir in #(
! 23643: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 23644: *) as_qdir=$as_dir;;
! 23645: esac
! 23646: as_dirs="'$as_qdir' $as_dirs"
! 23647: as_dir=`$as_dirname -- "$as_dir" ||
! 23648: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23649: X"$as_dir" : 'X\(//\)[^/]' \| \
! 23650: X"$as_dir" : 'X\(//\)$' \| \
! 23651: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 23652: $as_echo X"$as_dir" |
! 23653: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23654: s//\1/
! 23655: q
! 23656: }
! 23657: /^X\(\/\/\)[^/].*/{
! 23658: s//\1/
! 23659: q
! 23660: }
! 23661: /^X\(\/\/\)$/{
! 23662: s//\1/
! 23663: q
! 23664: }
! 23665: /^X\(\/\).*/{
! 23666: s//\1/
! 23667: q
! 23668: }
! 23669: s/.*/./; q'`
! 23670: test -d "$as_dir" && break
! 23671: done
! 23672: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 23673: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 23674: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 23675: { (exit 1); exit 1; }; }; }
! 23676: # echo "creating $dirpart/$file"
! 23677: echo '# dummy' > "$dirpart/$file"
! 23678: done
! 23679: done
! 23680: ;;
! 23681:
! 23682: esac
! 23683: done # for ac_tag
! 23684:
! 23685:
! 23686: { (exit 0); exit 0; }
! 23687: _ACEOF
! 23688: chmod +x $CONFIG_STATUS
! 23689: ac_clean_files=$ac_clean_files_save
! 23690:
! 23691: test $ac_write_fail = 0 ||
! 23692: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 23693: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 23694: { (exit 1); exit 1; }; }
! 23695:
! 23696:
! 23697: # configure is writing to config.log, and then calls config.status.
! 23698: # config.status does its own redirection, appending to config.log.
! 23699: # Unfortunately, on DOS this fails, as config.log is still kept open
! 23700: # by configure, so config.status won't be able to write to it; its
! 23701: # output is simply discarded. So we exec the FD to /dev/null,
! 23702: # effectively closing config.log, so it can be properly (re)opened and
! 23703: # appended to by config.status. When coming back to configure, we
! 23704: # need to make the FD available again.
! 23705: if test "$no_create" != yes; then
! 23706: ac_cs_success=:
! 23707: ac_config_status_args=
! 23708: test "$silent" = yes &&
! 23709: ac_config_status_args="$ac_config_status_args --quiet"
! 23710: exec 5>/dev/null
! 23711: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 23712: exec 5>>config.log
! 23713: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 23714: # would make configure fail if this is the last instruction.
! 23715: $ac_cs_success || { (exit 1); exit 1; }
! 23716: fi
! 23717: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 23718: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 23719: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 23720: fi
! 23721:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>