Annotation of gpl/axl/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.63.
! 4: #
! 5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 7: # This configure script is free software; the Free Software Foundation
! 8: # gives unlimited permission to copy, distribute and modify it.
! 9: ## --------------------- ##
! 10: ## M4sh Initialization. ##
! 11: ## --------------------- ##
! 12:
! 13: # Be more Bourne compatible
! 14: DUALCASE=1; export DUALCASE # for MKS sh
! 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 16: emulate sh
! 17: NULLCMD=:
! 18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 19: # is contrary to our usage. Disable this feature.
! 20: alias -g '${1+"$@"}'='"$@"'
! 21: setopt NO_GLOB_SUBST
! 22: else
! 23: case `(set -o) 2>/dev/null` in
! 24: *posix*) set -o posix ;;
! 25: esac
! 26:
! 27: fi
! 28:
! 29:
! 30:
! 31:
! 32: # PATH needs CR
! 33: # Avoid depending upon Character Ranges.
! 34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 37: as_cr_digits='0123456789'
! 38: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 39:
! 40: as_nl='
! 41: '
! 42: export as_nl
! 43: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 44: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 46: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 47: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 48: as_echo='printf %s\n'
! 49: as_echo_n='printf %s'
! 50: else
! 51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 53: as_echo_n='/usr/ucb/echo -n'
! 54: else
! 55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 56: as_echo_n_body='eval
! 57: arg=$1;
! 58: case $arg in
! 59: *"$as_nl"*)
! 60: expr "X$arg" : "X\\(.*\\)$as_nl";
! 61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 62: esac;
! 63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 64: '
! 65: export as_echo_n_body
! 66: as_echo_n='sh -c $as_echo_n_body as_echo'
! 67: fi
! 68: export as_echo_body
! 69: as_echo='sh -c $as_echo_body as_echo'
! 70: fi
! 71:
! 72: # The user is always right.
! 73: if test "${PATH_SEPARATOR+set}" != set; then
! 74: PATH_SEPARATOR=:
! 75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 77: PATH_SEPARATOR=';'
! 78: }
! 79: fi
! 80:
! 81: # Support unset when possible.
! 82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 83: as_unset=unset
! 84: else
! 85: as_unset=false
! 86: fi
! 87:
! 88:
! 89: # IFS
! 90: # We need space, tab and new line, in precisely that order. Quoting is
! 91: # there to prevent editors from complaining about space-tab.
! 92: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 93: # splitting by setting IFS to empty value.)
! 94: IFS=" "" $as_nl"
! 95:
! 96: # Find who we are. Look in the path if we contain no directory separator.
! 97: case $0 in
! 98: *[\\/]* ) as_myself=$0 ;;
! 99: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 100: for as_dir in $PATH
! 101: do
! 102: IFS=$as_save_IFS
! 103: test -z "$as_dir" && as_dir=.
! 104: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 105: done
! 106: IFS=$as_save_IFS
! 107:
! 108: ;;
! 109: esac
! 110: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 111: # in which case we are not to be found in the path.
! 112: if test "x$as_myself" = x; then
! 113: as_myself=$0
! 114: fi
! 115: if test ! -f "$as_myself"; then
! 116: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 117: { (exit 1); exit 1; }
! 118: fi
! 119:
! 120: # Work around bugs in pre-3.0 UWIN ksh.
! 121: for as_var in ENV MAIL MAILPATH
! 122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 123: done
! 124: PS1='$ '
! 125: PS2='> '
! 126: PS4='+ '
! 127:
! 128: # NLS nuisances.
! 129: LC_ALL=C
! 130: export LC_ALL
! 131: LANGUAGE=C
! 132: export LANGUAGE
! 133:
! 134: # Required to use basename.
! 135: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 137: as_expr=expr
! 138: else
! 139: as_expr=false
! 140: fi
! 141:
! 142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 143: as_basename=basename
! 144: else
! 145: as_basename=false
! 146: fi
! 147:
! 148:
! 149: # Name of the executable.
! 150: as_me=`$as_basename -- "$0" ||
! 151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 152: X"$0" : 'X\(//\)$' \| \
! 153: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 154: $as_echo X/"$0" |
! 155: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 156: s//\1/
! 157: q
! 158: }
! 159: /^X\/\(\/\/\)$/{
! 160: s//\1/
! 161: q
! 162: }
! 163: /^X\/\(\/\).*/{
! 164: s//\1/
! 165: q
! 166: }
! 167: s/.*/./; q'`
! 168:
! 169: # CDPATH.
! 170: $as_unset CDPATH
! 171:
! 172:
! 173: if test "x$CONFIG_SHELL" = x; then
! 174: if (eval ":") 2>/dev/null; then
! 175: as_have_required=yes
! 176: else
! 177: as_have_required=no
! 178: fi
! 179:
! 180: if test $as_have_required = yes && (eval ":
! 181: (as_func_return () {
! 182: (exit \$1)
! 183: }
! 184: as_func_success () {
! 185: as_func_return 0
! 186: }
! 187: as_func_failure () {
! 188: as_func_return 1
! 189: }
! 190: as_func_ret_success () {
! 191: return 0
! 192: }
! 193: as_func_ret_failure () {
! 194: return 1
! 195: }
! 196:
! 197: exitcode=0
! 198: if as_func_success; then
! 199: :
! 200: else
! 201: exitcode=1
! 202: echo as_func_success failed.
! 203: fi
! 204:
! 205: if as_func_failure; then
! 206: exitcode=1
! 207: echo as_func_failure succeeded.
! 208: fi
! 209:
! 210: if as_func_ret_success; then
! 211: :
! 212: else
! 213: exitcode=1
! 214: echo as_func_ret_success failed.
! 215: fi
! 216:
! 217: if as_func_ret_failure; then
! 218: exitcode=1
! 219: echo as_func_ret_failure succeeded.
! 220: fi
! 221:
! 222: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 223: :
! 224: else
! 225: exitcode=1
! 226: echo positional parameters were not saved.
! 227: fi
! 228:
! 229: test \$exitcode = 0) || { (exit 1); exit 1; }
! 230:
! 231: (
! 232: as_lineno_1=\$LINENO
! 233: as_lineno_2=\$LINENO
! 234: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
! 235: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
! 236: ") 2> /dev/null; then
! 237: :
! 238: else
! 239: as_candidate_shells=
! 240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 241: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 242: do
! 243: IFS=$as_save_IFS
! 244: test -z "$as_dir" && as_dir=.
! 245: case $as_dir in
! 246: /*)
! 247: for as_base in sh bash ksh sh5; do
! 248: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
! 249: done;;
! 250: esac
! 251: done
! 252: IFS=$as_save_IFS
! 253:
! 254:
! 255: for as_shell in $as_candidate_shells $SHELL; do
! 256: # Try only shells that exist, to save several forks.
! 257: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 258: { ("$as_shell") 2> /dev/null <<\_ASEOF
! 259: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 260: emulate sh
! 261: NULLCMD=:
! 262: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 263: # is contrary to our usage. Disable this feature.
! 264: alias -g '${1+"$@"}'='"$@"'
! 265: setopt NO_GLOB_SUBST
! 266: else
! 267: case `(set -o) 2>/dev/null` in
! 268: *posix*) set -o posix ;;
! 269: esac
! 270:
! 271: fi
! 272:
! 273:
! 274: :
! 275: _ASEOF
! 276: }; then
! 277: CONFIG_SHELL=$as_shell
! 278: as_have_required=yes
! 279: if { "$as_shell" 2> /dev/null <<\_ASEOF
! 280: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 281: emulate sh
! 282: NULLCMD=:
! 283: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 284: # is contrary to our usage. Disable this feature.
! 285: alias -g '${1+"$@"}'='"$@"'
! 286: setopt NO_GLOB_SUBST
! 287: else
! 288: case `(set -o) 2>/dev/null` in
! 289: *posix*) set -o posix ;;
! 290: esac
! 291:
! 292: fi
! 293:
! 294:
! 295: :
! 296: (as_func_return () {
! 297: (exit $1)
! 298: }
! 299: as_func_success () {
! 300: as_func_return 0
! 301: }
! 302: as_func_failure () {
! 303: as_func_return 1
! 304: }
! 305: as_func_ret_success () {
! 306: return 0
! 307: }
! 308: as_func_ret_failure () {
! 309: return 1
! 310: }
! 311:
! 312: exitcode=0
! 313: if as_func_success; then
! 314: :
! 315: else
! 316: exitcode=1
! 317: echo as_func_success failed.
! 318: fi
! 319:
! 320: if as_func_failure; then
! 321: exitcode=1
! 322: echo as_func_failure succeeded.
! 323: fi
! 324:
! 325: if as_func_ret_success; then
! 326: :
! 327: else
! 328: exitcode=1
! 329: echo as_func_ret_success failed.
! 330: fi
! 331:
! 332: if as_func_ret_failure; then
! 333: exitcode=1
! 334: echo as_func_ret_failure succeeded.
! 335: fi
! 336:
! 337: if ( set x; as_func_ret_success y && test x = "$1" ); then
! 338: :
! 339: else
! 340: exitcode=1
! 341: echo positional parameters were not saved.
! 342: fi
! 343:
! 344: test $exitcode = 0) || { (exit 1); exit 1; }
! 345:
! 346: (
! 347: as_lineno_1=$LINENO
! 348: as_lineno_2=$LINENO
! 349: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 350: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
! 351:
! 352: _ASEOF
! 353: }; then
! 354: break
! 355: fi
! 356:
! 357: fi
! 358:
! 359: done
! 360:
! 361: if test "x$CONFIG_SHELL" != x; then
! 362: for as_var in BASH_ENV ENV
! 363: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 364: done
! 365: export CONFIG_SHELL
! 366: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 367: fi
! 368:
! 369:
! 370: if test $as_have_required = no; then
! 371: echo This script requires a shell more modern than all the
! 372: echo shells that I found on your system. Please install a
! 373: echo modern shell, or manually run the script under such a
! 374: echo shell if you do have one.
! 375: { (exit 1); exit 1; }
! 376: fi
! 377:
! 378:
! 379: fi
! 380:
! 381: fi
! 382:
! 383:
! 384:
! 385: (eval "as_func_return () {
! 386: (exit \$1)
! 387: }
! 388: as_func_success () {
! 389: as_func_return 0
! 390: }
! 391: as_func_failure () {
! 392: as_func_return 1
! 393: }
! 394: as_func_ret_success () {
! 395: return 0
! 396: }
! 397: as_func_ret_failure () {
! 398: return 1
! 399: }
! 400:
! 401: exitcode=0
! 402: if as_func_success; then
! 403: :
! 404: else
! 405: exitcode=1
! 406: echo as_func_success failed.
! 407: fi
! 408:
! 409: if as_func_failure; then
! 410: exitcode=1
! 411: echo as_func_failure succeeded.
! 412: fi
! 413:
! 414: if as_func_ret_success; then
! 415: :
! 416: else
! 417: exitcode=1
! 418: echo as_func_ret_success failed.
! 419: fi
! 420:
! 421: if as_func_ret_failure; then
! 422: exitcode=1
! 423: echo as_func_ret_failure succeeded.
! 424: fi
! 425:
! 426: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 427: :
! 428: else
! 429: exitcode=1
! 430: echo positional parameters were not saved.
! 431: fi
! 432:
! 433: test \$exitcode = 0") || {
! 434: echo No shell found that supports shell functions.
! 435: echo Please tell bug-autoconf@gnu.org about your system,
! 436: echo including any error possibly output before this message.
! 437: echo This can help us improve future autoconf versions.
! 438: echo Configuration will now proceed without shell functions.
! 439: }
! 440:
! 441:
! 442:
! 443: as_lineno_1=$LINENO
! 444: as_lineno_2=$LINENO
! 445: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 446: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 447:
! 448: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 449: # uniformly replaced by the line number. The first 'sed' inserts a
! 450: # line-number line after each line using $LINENO; the second 'sed'
! 451: # does the real work. The second script uses 'N' to pair each
! 452: # line-number line with the line containing $LINENO, and appends
! 453: # trailing '-' during substitution so that $LINENO is not a special
! 454: # case at line end.
! 455: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 456: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 457: # E. McMahon (1931-1989) for sed's syntax. :-)
! 458: sed -n '
! 459: p
! 460: /[$]LINENO/=
! 461: ' <$as_myself |
! 462: sed '
! 463: s/[$]LINENO.*/&-/
! 464: t lineno
! 465: b
! 466: :lineno
! 467: N
! 468: :loop
! 469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 470: t loop
! 471: s/-\n.*//
! 472: ' >$as_me.lineno &&
! 473: chmod +x "$as_me.lineno" ||
! 474: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 475: { (exit 1); exit 1; }; }
! 476:
! 477: # Don't try to exec as it changes $[0], causing all sort of problems
! 478: # (the dirname of $[0] is not the place where we might find the
! 479: # original and so on. Autoconf is especially sensitive to this).
! 480: . "./$as_me.lineno"
! 481: # Exit status is that of the last command.
! 482: exit
! 483: }
! 484:
! 485:
! 486: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 487: as_dirname=dirname
! 488: else
! 489: as_dirname=false
! 490: fi
! 491:
! 492: ECHO_C= ECHO_N= ECHO_T=
! 493: case `echo -n x` in
! 494: -n*)
! 495: case `echo 'x\c'` in
! 496: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 497: *) ECHO_C='\c';;
! 498: esac;;
! 499: *)
! 500: ECHO_N='-n';;
! 501: esac
! 502: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 503: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 504: as_expr=expr
! 505: else
! 506: as_expr=false
! 507: fi
! 508:
! 509: rm -f conf$$ conf$$.exe conf$$.file
! 510: if test -d conf$$.dir; then
! 511: rm -f conf$$.dir/conf$$.file
! 512: else
! 513: rm -f conf$$.dir
! 514: mkdir conf$$.dir 2>/dev/null
! 515: fi
! 516: if (echo >conf$$.file) 2>/dev/null; then
! 517: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 518: as_ln_s='ln -s'
! 519: # ... but there are two gotchas:
! 520: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 521: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 522: # In both cases, we have to default to `cp -p'.
! 523: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 524: as_ln_s='cp -p'
! 525: elif ln conf$$.file conf$$ 2>/dev/null; then
! 526: as_ln_s=ln
! 527: else
! 528: as_ln_s='cp -p'
! 529: fi
! 530: else
! 531: as_ln_s='cp -p'
! 532: fi
! 533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 534: rmdir conf$$.dir 2>/dev/null
! 535:
! 536: if mkdir -p . 2>/dev/null; then
! 537: as_mkdir_p=:
! 538: else
! 539: test -d ./-p && rmdir ./-p
! 540: as_mkdir_p=false
! 541: fi
! 542:
! 543: if test -x / >/dev/null 2>&1; then
! 544: as_test_x='test -x'
! 545: else
! 546: if ls -dL / >/dev/null 2>&1; then
! 547: as_ls_L_option=L
! 548: else
! 549: as_ls_L_option=
! 550: fi
! 551: as_test_x='
! 552: eval sh -c '\''
! 553: if test -d "$1"; then
! 554: test -d "$1/.";
! 555: else
! 556: case $1 in
! 557: -*)set "./$1";;
! 558: esac;
! 559: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 560: ???[sx]*):;;*)false;;esac;fi
! 561: '\'' sh
! 562: '
! 563: fi
! 564: as_executable_p=$as_test_x
! 565:
! 566: # Sed expression to map a string onto a valid CPP name.
! 567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 568:
! 569: # Sed expression to map a string onto a valid variable name.
! 570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 571:
! 572:
! 573:
! 574:
! 575: # Check that we are running under the correct shell.
! 576: SHELL=${CONFIG_SHELL-/bin/sh}
! 577:
! 578: case X$ECHO in
! 579: X*--fallback-echo)
! 580: # Remove one level of quotation (which was required for Make).
! 581: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 582: ;;
! 583: esac
! 584:
! 585: echo=${ECHO-echo}
! 586: if test "X$1" = X--no-reexec; then
! 587: # Discard the --no-reexec flag, and continue.
! 588: shift
! 589: elif test "X$1" = X--fallback-echo; then
! 590: # Avoid inline document here, it may be left over
! 591: :
! 592: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
! 593: # Yippee, $echo works!
! 594: :
! 595: else
! 596: # Restart under the correct shell.
! 597: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 598: fi
! 599:
! 600: if test "X$1" = X--fallback-echo; then
! 601: # used as fallback echo
! 602: shift
! 603: cat <<EOF
! 604: $*
! 605: EOF
! 606: exit 0
! 607: fi
! 608:
! 609: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 610: # if CDPATH is set.
! 611: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 612:
! 613: if test -z "$ECHO"; then
! 614: if test "X${echo_test_string+set}" != Xset; then
! 615: # find a string as large as possible, as long as the shell can cope with it
! 616: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 617: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 618: if (echo_test_string=`eval $cmd`) 2>/dev/null &&
! 619: echo_test_string=`eval $cmd` &&
! 620: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
! 621: then
! 622: break
! 623: fi
! 624: done
! 625: fi
! 626:
! 627: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 628: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 629: test "X$echo_testing_string" = "X$echo_test_string"; then
! 630: :
! 631: else
! 632: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 633: # backslashes. This makes it impossible to quote backslashes using
! 634: # echo "$something" | sed 's/\\/\\\\/g'
! 635: #
! 636: # So, first we look for a working echo in the user's PATH.
! 637:
! 638: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 639: for dir in $PATH /usr/ucb; do
! 640: IFS="$lt_save_ifs"
! 641: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 642: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 643: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 644: test "X$echo_testing_string" = "X$echo_test_string"; then
! 645: echo="$dir/echo"
! 646: break
! 647: fi
! 648: done
! 649: IFS="$lt_save_ifs"
! 650:
! 651: if test "X$echo" = Xecho; then
! 652: # We didn't find a better echo, so look for alternatives.
! 653: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
! 654: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
! 655: test "X$echo_testing_string" = "X$echo_test_string"; then
! 656: # This shell has a builtin print -r that does the trick.
! 657: echo='print -r'
! 658: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
! 659: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 660: # If we have ksh, try running configure again with it.
! 661: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 662: export ORIGINAL_CONFIG_SHELL
! 663: CONFIG_SHELL=/bin/ksh
! 664: export CONFIG_SHELL
! 665: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 666: else
! 667: # Try using printf.
! 668: echo='printf %s\n'
! 669: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 670: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 671: test "X$echo_testing_string" = "X$echo_test_string"; then
! 672: # Cool, printf works
! 673: :
! 674: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 675: test "X$echo_testing_string" = 'X\t' &&
! 676: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 677: test "X$echo_testing_string" = "X$echo_test_string"; then
! 678: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 679: export CONFIG_SHELL
! 680: SHELL="$CONFIG_SHELL"
! 681: export SHELL
! 682: echo="$CONFIG_SHELL $0 --fallback-echo"
! 683: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 684: test "X$echo_testing_string" = 'X\t' &&
! 685: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 686: test "X$echo_testing_string" = "X$echo_test_string"; then
! 687: echo="$CONFIG_SHELL $0 --fallback-echo"
! 688: else
! 689: # maybe with a smaller string...
! 690: prev=:
! 691:
! 692: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 693: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
! 694: then
! 695: break
! 696: fi
! 697: prev="$cmd"
! 698: done
! 699:
! 700: if test "$prev" != 'sed 50q "$0"'; then
! 701: echo_test_string=`eval $prev`
! 702: export echo_test_string
! 703: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 704: else
! 705: # Oops. We lost completely, so just stick with echo.
! 706: echo=echo
! 707: fi
! 708: fi
! 709: fi
! 710: fi
! 711: fi
! 712: fi
! 713:
! 714: # Copy echo and quote the copy suitably for passing to libtool from
! 715: # the Makefile, instead of quoting the original, which is used later.
! 716: ECHO=$echo
! 717: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 718: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 719: fi
! 720:
! 721:
! 722:
! 723:
! 724: tagnames=${tagnames+${tagnames},}CXX
! 725:
! 726: tagnames=${tagnames+${tagnames},}F77
! 727:
! 728: exec 7<&0 </dev/null 6>&1
! 729:
! 730: # Name of the host.
! 731: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 732: # so uname gets run too.
! 733: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 734:
! 735: #
! 736: # Initializations.
! 737: #
! 738: ac_default_prefix=/usr/local
! 739: ac_clean_files=
! 740: ac_config_libobj_dir=.
! 741: LIBOBJS=
! 742: cross_compiling=no
! 743: subdirs=
! 744: MFLAGS=
! 745: MAKEFLAGS=
! 746: SHELL=${CONFIG_SHELL-/bin/sh}
! 747:
! 748: # Identity of this package.
! 749: PACKAGE_NAME=
! 750: PACKAGE_TARNAME=
! 751: PACKAGE_VERSION=
! 752: PACKAGE_STRING=
! 753: PACKAGE_BUGREPORT=
! 754:
! 755: ac_unique_file="src/axl.h"
! 756: # Factoring default headers for most tests.
! 757: ac_includes_default="\
! 758: #include <stdio.h>
! 759: #ifdef HAVE_SYS_TYPES_H
! 760: # include <sys/types.h>
! 761: #endif
! 762: #ifdef HAVE_SYS_STAT_H
! 763: # include <sys/stat.h>
! 764: #endif
! 765: #ifdef STDC_HEADERS
! 766: # include <stdlib.h>
! 767: # include <stddef.h>
! 768: #else
! 769: # ifdef HAVE_STDLIB_H
! 770: # include <stdlib.h>
! 771: # endif
! 772: #endif
! 773: #ifdef HAVE_STRING_H
! 774: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 775: # include <memory.h>
! 776: # endif
! 777: # include <string.h>
! 778: #endif
! 779: #ifdef HAVE_STRINGS_H
! 780: # include <strings.h>
! 781: #endif
! 782: #ifdef HAVE_INTTYPES_H
! 783: # include <inttypes.h>
! 784: #endif
! 785: #ifdef HAVE_STDINT_H
! 786: # include <stdint.h>
! 787: #endif
! 788: #ifdef HAVE_UNISTD_H
! 789: # include <unistd.h>
! 790: #endif"
! 791:
! 792: ac_subst_vars='LTLIBOBJS
! 793: LIBOBJS
! 794: SHARED_EXTENSION
! 795: EXARG_FLAGS
! 796: ENABLE_AXL_BABEL_FALSE
! 797: ENABLE_AXL_BABEL_TRUE
! 798: ENABLE_AXL_KNIFE_FALSE
! 799: ENABLE_AXL_KNIFE_TRUE
! 800: ENABLE_AXL_LOG_FALSE
! 801: ENABLE_AXL_LOG_TRUE
! 802: ENABLE_AXL_NS_FALSE
! 803: ENABLE_AXL_NS_TRUE
! 804: ENABLE_AXL_TESTS_FALSE
! 805: ENABLE_AXL_TESTS_TRUE
! 806: ENABLE_AF_ARCH_DOC_FALSE
! 807: ENABLE_AF_ARCH_DOC_TRUE
! 808: DOXYGEN
! 809: ENABLE_PY_AXL_FALSE
! 810: ENABLE_PY_AXL_TRUE
! 811: PYTHON_LIBS
! 812: PYTHON_CFLAGS
! 813: PYTHON_INCLUDES
! 814: pkgpyexecdir
! 815: pyexecdir
! 816: pkgpythondir
! 817: pythondir
! 818: PYTHON_PLATFORM
! 819: PYTHON_EXEC_PREFIX
! 820: PYTHON_PREFIX
! 821: PYTHON_VERSION
! 822: PYTHON
! 823: LIBTOOL
! 824: ac_ct_F77
! 825: FFLAGS
! 826: F77
! 827: CXXCPP
! 828: am__fastdepCXX_FALSE
! 829: am__fastdepCXX_TRUE
! 830: CXXDEPMODE
! 831: ac_ct_CXX
! 832: CXXFLAGS
! 833: CXX
! 834: NMEDIT
! 835: DSYMUTIL
! 836: RANLIB
! 837: AR
! 838: ECHO
! 839: LN_S
! 840: SED
! 841: host_os
! 842: host_vendor
! 843: host_cpu
! 844: host
! 845: build_os
! 846: build_vendor
! 847: build_cpu
! 848: build
! 849: EGREP
! 850: GREP
! 851: CPP
! 852: am__fastdepCC_FALSE
! 853: am__fastdepCC_TRUE
! 854: CCDEPMODE
! 855: AMDEPBACKSLASH
! 856: AMDEP_FALSE
! 857: AMDEP_TRUE
! 858: am__quote
! 859: am__include
! 860: DEPDIR
! 861: OBJEXT
! 862: EXEEXT
! 863: ac_ct_CC
! 864: CPPFLAGS
! 865: LDFLAGS
! 866: CFLAGS
! 867: CC
! 868: MAINT
! 869: MAINTAINER_MODE_FALSE
! 870: MAINTAINER_MODE_TRUE
! 871: am__untar
! 872: am__tar
! 873: AMTAR
! 874: am__leading_dot
! 875: SET_MAKE
! 876: AWK
! 877: mkdir_p
! 878: INSTALL_STRIP_PROGRAM
! 879: STRIP
! 880: install_sh
! 881: MAKEINFO
! 882: AUTOHEADER
! 883: AUTOMAKE
! 884: AUTOCONF
! 885: ACLOCAL
! 886: VERSION
! 887: PACKAGE
! 888: CYGPATH_W
! 889: INSTALL_DATA
! 890: INSTALL_SCRIPT
! 891: INSTALL_PROGRAM
! 892: AXL_VERSION
! 893: target_alias
! 894: host_alias
! 895: build_alias
! 896: LIBS
! 897: ECHO_T
! 898: ECHO_N
! 899: ECHO_C
! 900: DEFS
! 901: mandir
! 902: localedir
! 903: libdir
! 904: psdir
! 905: pdfdir
! 906: dvidir
! 907: htmldir
! 908: infodir
! 909: docdir
! 910: oldincludedir
! 911: includedir
! 912: localstatedir
! 913: sharedstatedir
! 914: sysconfdir
! 915: datadir
! 916: datarootdir
! 917: libexecdir
! 918: sbindir
! 919: bindir
! 920: program_transform_name
! 921: prefix
! 922: exec_prefix
! 923: PACKAGE_BUGREPORT
! 924: PACKAGE_STRING
! 925: PACKAGE_VERSION
! 926: PACKAGE_TARNAME
! 927: PACKAGE_NAME
! 928: PATH_SEPARATOR
! 929: SHELL'
! 930: ac_subst_files=''
! 931: ac_user_opts='
! 932: enable_option_checking
! 933: enable_maintainer_mode
! 934: enable_dependency_tracking
! 935: enable_shared
! 936: enable_static
! 937: enable_fast_install
! 938: with_gnu_ld
! 939: enable_libtool_lock
! 940: with_pic
! 941: with_tags
! 942: enable_axl_doc
! 943: enable_axl_test
! 944: enable_axl_ns
! 945: enable_axl_log
! 946: enable_axl_knife
! 947: enable_axl_babel
! 948: '
! 949: ac_precious_vars='build_alias
! 950: host_alias
! 951: target_alias
! 952: CC
! 953: CFLAGS
! 954: LDFLAGS
! 955: LIBS
! 956: CPPFLAGS
! 957: CPP
! 958: CXX
! 959: CXXFLAGS
! 960: CCC
! 961: CXXCPP
! 962: F77
! 963: FFLAGS'
! 964:
! 965:
! 966: # Initialize some variables set by options.
! 967: ac_init_help=
! 968: ac_init_version=false
! 969: ac_unrecognized_opts=
! 970: ac_unrecognized_sep=
! 971: # The variables have the same names as the options, with
! 972: # dashes changed to underlines.
! 973: cache_file=/dev/null
! 974: exec_prefix=NONE
! 975: no_create=
! 976: no_recursion=
! 977: prefix=NONE
! 978: program_prefix=NONE
! 979: program_suffix=NONE
! 980: program_transform_name=s,x,x,
! 981: silent=
! 982: site=
! 983: srcdir=
! 984: verbose=
! 985: x_includes=NONE
! 986: x_libraries=NONE
! 987:
! 988: # Installation directory options.
! 989: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 990: # and all the variables that are supposed to be based on exec_prefix
! 991: # by default will actually change.
! 992: # Use braces instead of parens because sh, perl, etc. also accept them.
! 993: # (The list follows the same order as the GNU Coding Standards.)
! 994: bindir='${exec_prefix}/bin'
! 995: sbindir='${exec_prefix}/sbin'
! 996: libexecdir='${exec_prefix}/libexec'
! 997: datarootdir='${prefix}/share'
! 998: datadir='${datarootdir}'
! 999: sysconfdir='${prefix}/etc'
! 1000: sharedstatedir='${prefix}/com'
! 1001: localstatedir='${prefix}/var'
! 1002: includedir='${prefix}/include'
! 1003: oldincludedir='/usr/include'
! 1004: docdir='${datarootdir}/doc/${PACKAGE}'
! 1005: infodir='${datarootdir}/info'
! 1006: htmldir='${docdir}'
! 1007: dvidir='${docdir}'
! 1008: pdfdir='${docdir}'
! 1009: psdir='${docdir}'
! 1010: libdir='${exec_prefix}/lib'
! 1011: localedir='${datarootdir}/locale'
! 1012: mandir='${datarootdir}/man'
! 1013:
! 1014: ac_prev=
! 1015: ac_dashdash=
! 1016: for ac_option
! 1017: do
! 1018: # If the previous option needs an argument, assign it.
! 1019: if test -n "$ac_prev"; then
! 1020: eval $ac_prev=\$ac_option
! 1021: ac_prev=
! 1022: continue
! 1023: fi
! 1024:
! 1025: case $ac_option in
! 1026: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 1027: *) ac_optarg=yes ;;
! 1028: esac
! 1029:
! 1030: # Accept the important Cygnus configure options, so we can diagnose typos.
! 1031:
! 1032: case $ac_dashdash$ac_option in
! 1033: --)
! 1034: ac_dashdash=yes ;;
! 1035:
! 1036: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 1037: ac_prev=bindir ;;
! 1038: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 1039: bindir=$ac_optarg ;;
! 1040:
! 1041: -build | --build | --buil | --bui | --bu)
! 1042: ac_prev=build_alias ;;
! 1043: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 1044: build_alias=$ac_optarg ;;
! 1045:
! 1046: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 1047: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 1048: ac_prev=cache_file ;;
! 1049: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 1050: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 1051: cache_file=$ac_optarg ;;
! 1052:
! 1053: --config-cache | -C)
! 1054: cache_file=config.cache ;;
! 1055:
! 1056: -datadir | --datadir | --datadi | --datad)
! 1057: ac_prev=datadir ;;
! 1058: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 1059: datadir=$ac_optarg ;;
! 1060:
! 1061: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 1062: | --dataroo | --dataro | --datar)
! 1063: ac_prev=datarootdir ;;
! 1064: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 1065: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 1066: datarootdir=$ac_optarg ;;
! 1067:
! 1068: -disable-* | --disable-*)
! 1069: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 1070: # Reject names that are not valid shell variable names.
! 1071: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1072: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1073: { (exit 1); exit 1; }; }
! 1074: ac_useropt_orig=$ac_useropt
! 1075: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1076: case $ac_user_opts in
! 1077: *"
! 1078: "enable_$ac_useropt"
! 1079: "*) ;;
! 1080: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 1081: ac_unrecognized_sep=', ';;
! 1082: esac
! 1083: eval enable_$ac_useropt=no ;;
! 1084:
! 1085: -docdir | --docdir | --docdi | --doc | --do)
! 1086: ac_prev=docdir ;;
! 1087: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 1088: docdir=$ac_optarg ;;
! 1089:
! 1090: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 1091: ac_prev=dvidir ;;
! 1092: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 1093: dvidir=$ac_optarg ;;
! 1094:
! 1095: -enable-* | --enable-*)
! 1096: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 1097: # Reject names that are not valid shell variable names.
! 1098: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1099: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 1100: { (exit 1); exit 1; }; }
! 1101: ac_useropt_orig=$ac_useropt
! 1102: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1103: case $ac_user_opts in
! 1104: *"
! 1105: "enable_$ac_useropt"
! 1106: "*) ;;
! 1107: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 1108: ac_unrecognized_sep=', ';;
! 1109: esac
! 1110: eval enable_$ac_useropt=\$ac_optarg ;;
! 1111:
! 1112: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 1113: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 1114: | --exec | --exe | --ex)
! 1115: ac_prev=exec_prefix ;;
! 1116: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1117: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1118: | --exec=* | --exe=* | --ex=*)
! 1119: exec_prefix=$ac_optarg ;;
! 1120:
! 1121: -gas | --gas | --ga | --g)
! 1122: # Obsolete; use --with-gas.
! 1123: with_gas=yes ;;
! 1124:
! 1125: -help | --help | --hel | --he | -h)
! 1126: ac_init_help=long ;;
! 1127: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1128: ac_init_help=recursive ;;
! 1129: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1130: ac_init_help=short ;;
! 1131:
! 1132: -host | --host | --hos | --ho)
! 1133: ac_prev=host_alias ;;
! 1134: -host=* | --host=* | --hos=* | --ho=*)
! 1135: host_alias=$ac_optarg ;;
! 1136:
! 1137: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1138: ac_prev=htmldir ;;
! 1139: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1140: | --ht=*)
! 1141: htmldir=$ac_optarg ;;
! 1142:
! 1143: -includedir | --includedir | --includedi | --included | --include \
! 1144: | --includ | --inclu | --incl | --inc)
! 1145: ac_prev=includedir ;;
! 1146: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1147: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1148: includedir=$ac_optarg ;;
! 1149:
! 1150: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1151: ac_prev=infodir ;;
! 1152: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1153: infodir=$ac_optarg ;;
! 1154:
! 1155: -libdir | --libdir | --libdi | --libd)
! 1156: ac_prev=libdir ;;
! 1157: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1158: libdir=$ac_optarg ;;
! 1159:
! 1160: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1161: | --libexe | --libex | --libe)
! 1162: ac_prev=libexecdir ;;
! 1163: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1164: | --libexe=* | --libex=* | --libe=*)
! 1165: libexecdir=$ac_optarg ;;
! 1166:
! 1167: -localedir | --localedir | --localedi | --localed | --locale)
! 1168: ac_prev=localedir ;;
! 1169: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1170: localedir=$ac_optarg ;;
! 1171:
! 1172: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1173: | --localstate | --localstat | --localsta | --localst | --locals)
! 1174: ac_prev=localstatedir ;;
! 1175: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1176: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1177: localstatedir=$ac_optarg ;;
! 1178:
! 1179: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1180: ac_prev=mandir ;;
! 1181: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1182: mandir=$ac_optarg ;;
! 1183:
! 1184: -nfp | --nfp | --nf)
! 1185: # Obsolete; use --without-fp.
! 1186: with_fp=no ;;
! 1187:
! 1188: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1189: | --no-cr | --no-c | -n)
! 1190: no_create=yes ;;
! 1191:
! 1192: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1193: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1194: no_recursion=yes ;;
! 1195:
! 1196: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1197: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1198: | --oldin | --oldi | --old | --ol | --o)
! 1199: ac_prev=oldincludedir ;;
! 1200: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1201: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1202: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1203: oldincludedir=$ac_optarg ;;
! 1204:
! 1205: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1206: ac_prev=prefix ;;
! 1207: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1208: prefix=$ac_optarg ;;
! 1209:
! 1210: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1211: | --program-pre | --program-pr | --program-p)
! 1212: ac_prev=program_prefix ;;
! 1213: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1214: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1215: program_prefix=$ac_optarg ;;
! 1216:
! 1217: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1218: | --program-suf | --program-su | --program-s)
! 1219: ac_prev=program_suffix ;;
! 1220: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1221: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1222: program_suffix=$ac_optarg ;;
! 1223:
! 1224: -program-transform-name | --program-transform-name \
! 1225: | --program-transform-nam | --program-transform-na \
! 1226: | --program-transform-n | --program-transform- \
! 1227: | --program-transform | --program-transfor \
! 1228: | --program-transfo | --program-transf \
! 1229: | --program-trans | --program-tran \
! 1230: | --progr-tra | --program-tr | --program-t)
! 1231: ac_prev=program_transform_name ;;
! 1232: -program-transform-name=* | --program-transform-name=* \
! 1233: | --program-transform-nam=* | --program-transform-na=* \
! 1234: | --program-transform-n=* | --program-transform-=* \
! 1235: | --program-transform=* | --program-transfor=* \
! 1236: | --program-transfo=* | --program-transf=* \
! 1237: | --program-trans=* | --program-tran=* \
! 1238: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1239: program_transform_name=$ac_optarg ;;
! 1240:
! 1241: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1242: ac_prev=pdfdir ;;
! 1243: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1244: pdfdir=$ac_optarg ;;
! 1245:
! 1246: -psdir | --psdir | --psdi | --psd | --ps)
! 1247: ac_prev=psdir ;;
! 1248: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1249: psdir=$ac_optarg ;;
! 1250:
! 1251: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1252: | -silent | --silent | --silen | --sile | --sil)
! 1253: silent=yes ;;
! 1254:
! 1255: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1256: ac_prev=sbindir ;;
! 1257: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1258: | --sbi=* | --sb=*)
! 1259: sbindir=$ac_optarg ;;
! 1260:
! 1261: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1262: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1263: | --sharedst | --shareds | --shared | --share | --shar \
! 1264: | --sha | --sh)
! 1265: ac_prev=sharedstatedir ;;
! 1266: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1267: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1268: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1269: | --sha=* | --sh=*)
! 1270: sharedstatedir=$ac_optarg ;;
! 1271:
! 1272: -site | --site | --sit)
! 1273: ac_prev=site ;;
! 1274: -site=* | --site=* | --sit=*)
! 1275: site=$ac_optarg ;;
! 1276:
! 1277: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1278: ac_prev=srcdir ;;
! 1279: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1280: srcdir=$ac_optarg ;;
! 1281:
! 1282: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1283: | --syscon | --sysco | --sysc | --sys | --sy)
! 1284: ac_prev=sysconfdir ;;
! 1285: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1286: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1287: sysconfdir=$ac_optarg ;;
! 1288:
! 1289: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1290: ac_prev=target_alias ;;
! 1291: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1292: target_alias=$ac_optarg ;;
! 1293:
! 1294: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1295: verbose=yes ;;
! 1296:
! 1297: -version | --version | --versio | --versi | --vers | -V)
! 1298: ac_init_version=: ;;
! 1299:
! 1300: -with-* | --with-*)
! 1301: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1302: # Reject names that are not valid shell variable names.
! 1303: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1304: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1305: { (exit 1); exit 1; }; }
! 1306: ac_useropt_orig=$ac_useropt
! 1307: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1308: case $ac_user_opts in
! 1309: *"
! 1310: "with_$ac_useropt"
! 1311: "*) ;;
! 1312: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1313: ac_unrecognized_sep=', ';;
! 1314: esac
! 1315: eval with_$ac_useropt=\$ac_optarg ;;
! 1316:
! 1317: -without-* | --without-*)
! 1318: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1319: # Reject names that are not valid shell variable names.
! 1320: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1321: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1322: { (exit 1); exit 1; }; }
! 1323: ac_useropt_orig=$ac_useropt
! 1324: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1325: case $ac_user_opts in
! 1326: *"
! 1327: "with_$ac_useropt"
! 1328: "*) ;;
! 1329: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1330: ac_unrecognized_sep=', ';;
! 1331: esac
! 1332: eval with_$ac_useropt=no ;;
! 1333:
! 1334: --x)
! 1335: # Obsolete; use --with-x.
! 1336: with_x=yes ;;
! 1337:
! 1338: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1339: | --x-incl | --x-inc | --x-in | --x-i)
! 1340: ac_prev=x_includes ;;
! 1341: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1342: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1343: x_includes=$ac_optarg ;;
! 1344:
! 1345: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1346: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1347: ac_prev=x_libraries ;;
! 1348: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1349: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1350: x_libraries=$ac_optarg ;;
! 1351:
! 1352: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
! 1353: Try \`$0 --help' for more information." >&2
! 1354: { (exit 1); exit 1; }; }
! 1355: ;;
! 1356:
! 1357: *=*)
! 1358: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1359: # Reject names that are not valid shell variable names.
! 1360: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1361: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1362: { (exit 1); exit 1; }; }
! 1363: eval $ac_envvar=\$ac_optarg
! 1364: export $ac_envvar ;;
! 1365:
! 1366: *)
! 1367: # FIXME: should be removed in autoconf 3.0.
! 1368: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1369: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1370: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1371: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1372: ;;
! 1373:
! 1374: esac
! 1375: done
! 1376:
! 1377: if test -n "$ac_prev"; then
! 1378: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1379: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
! 1380: { (exit 1); exit 1; }; }
! 1381: fi
! 1382:
! 1383: if test -n "$ac_unrecognized_opts"; then
! 1384: case $enable_option_checking in
! 1385: no) ;;
! 1386: fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
! 1387: { (exit 1); exit 1; }; } ;;
! 1388: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1389: esac
! 1390: fi
! 1391:
! 1392: # Check all directory arguments for consistency.
! 1393: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1394: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1395: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1396: libdir localedir mandir
! 1397: do
! 1398: eval ac_val=\$$ac_var
! 1399: # Remove trailing slashes.
! 1400: case $ac_val in
! 1401: */ )
! 1402: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1403: eval $ac_var=\$ac_val;;
! 1404: esac
! 1405: # Be sure to have absolute directory names.
! 1406: case $ac_val in
! 1407: [\\/$]* | ?:[\\/]* ) continue;;
! 1408: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1409: esac
! 1410: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1411: { (exit 1); exit 1; }; }
! 1412: done
! 1413:
! 1414: # There might be people who depend on the old broken behavior: `$host'
! 1415: # used to hold the argument of --host etc.
! 1416: # FIXME: To remove some day.
! 1417: build=$build_alias
! 1418: host=$host_alias
! 1419: target=$target_alias
! 1420:
! 1421: # FIXME: To remove some day.
! 1422: if test "x$host_alias" != x; then
! 1423: if test "x$build_alias" = x; then
! 1424: cross_compiling=maybe
! 1425: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1426: If a cross compiler is detected then cross compile mode will be used." >&2
! 1427: elif test "x$build_alias" != "x$host_alias"; then
! 1428: cross_compiling=yes
! 1429: fi
! 1430: fi
! 1431:
! 1432: ac_tool_prefix=
! 1433: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1434:
! 1435: test "$silent" = yes && exec 6>/dev/null
! 1436:
! 1437:
! 1438: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1439: ac_ls_di=`ls -di .` &&
! 1440: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1441: { $as_echo "$as_me: error: working directory cannot be determined" >&2
! 1442: { (exit 1); exit 1; }; }
! 1443: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1444: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1445: { (exit 1); exit 1; }; }
! 1446:
! 1447:
! 1448: # Find the source files, if location was not specified.
! 1449: if test -z "$srcdir"; then
! 1450: ac_srcdir_defaulted=yes
! 1451: # Try the directory containing this script, then the parent directory.
! 1452: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1453: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1454: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1455: X"$as_myself" : 'X\(//\)$' \| \
! 1456: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1457: $as_echo X"$as_myself" |
! 1458: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1459: s//\1/
! 1460: q
! 1461: }
! 1462: /^X\(\/\/\)[^/].*/{
! 1463: s//\1/
! 1464: q
! 1465: }
! 1466: /^X\(\/\/\)$/{
! 1467: s//\1/
! 1468: q
! 1469: }
! 1470: /^X\(\/\).*/{
! 1471: s//\1/
! 1472: q
! 1473: }
! 1474: s/.*/./; q'`
! 1475: srcdir=$ac_confdir
! 1476: if test ! -r "$srcdir/$ac_unique_file"; then
! 1477: srcdir=..
! 1478: fi
! 1479: else
! 1480: ac_srcdir_defaulted=no
! 1481: fi
! 1482: if test ! -r "$srcdir/$ac_unique_file"; then
! 1483: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1484: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1485: { (exit 1); exit 1; }; }
! 1486: fi
! 1487: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1488: ac_abs_confdir=`(
! 1489: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1490: { (exit 1); exit 1; }; }
! 1491: pwd)`
! 1492: # When building in place, set srcdir=.
! 1493: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1494: srcdir=.
! 1495: fi
! 1496: # Remove unnecessary trailing slashes from srcdir.
! 1497: # Double slashes in file names in object file debugging info
! 1498: # mess up M-x gdb in Emacs.
! 1499: case $srcdir in
! 1500: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1501: esac
! 1502: for ac_var in $ac_precious_vars; do
! 1503: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1504: eval ac_env_${ac_var}_value=\$${ac_var}
! 1505: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1506: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1507: done
! 1508:
! 1509: #
! 1510: # Report the --help message.
! 1511: #
! 1512: if test "$ac_init_help" = "long"; then
! 1513: # Omit some internal or obsolete options to make the list less imposing.
! 1514: # This message is too long to be a string in the A/UX 3.1 sh.
! 1515: cat <<_ACEOF
! 1516: \`configure' configures this package to adapt to many kinds of systems.
! 1517:
! 1518: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1519:
! 1520: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1521: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1522:
! 1523: Defaults for the options are specified in brackets.
! 1524:
! 1525: Configuration:
! 1526: -h, --help display this help and exit
! 1527: --help=short display options specific to this package
! 1528: --help=recursive display the short help of all the included packages
! 1529: -V, --version display version information and exit
! 1530: -q, --quiet, --silent do not print \`checking...' messages
! 1531: --cache-file=FILE cache test results in FILE [disabled]
! 1532: -C, --config-cache alias for \`--cache-file=config.cache'
! 1533: -n, --no-create do not create output files
! 1534: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1535:
! 1536: Installation directories:
! 1537: --prefix=PREFIX install architecture-independent files in PREFIX
! 1538: [$ac_default_prefix]
! 1539: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1540: [PREFIX]
! 1541:
! 1542: By default, \`make install' will install all the files in
! 1543: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1544: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1545: for instance \`--prefix=\$HOME'.
! 1546:
! 1547: For better control, use the options below.
! 1548:
! 1549: Fine tuning of the installation directories:
! 1550: --bindir=DIR user executables [EPREFIX/bin]
! 1551: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1552: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1553: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1554: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1555: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1556: --libdir=DIR object code libraries [EPREFIX/lib]
! 1557: --includedir=DIR C header files [PREFIX/include]
! 1558: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1559: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1560: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1561: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1562: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1563: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1564: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1565: --htmldir=DIR html documentation [DOCDIR]
! 1566: --dvidir=DIR dvi documentation [DOCDIR]
! 1567: --pdfdir=DIR pdf documentation [DOCDIR]
! 1568: --psdir=DIR ps documentation [DOCDIR]
! 1569: _ACEOF
! 1570:
! 1571: cat <<\_ACEOF
! 1572:
! 1573: Program names:
! 1574: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1575: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1576: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1577:
! 1578: System types:
! 1579: --build=BUILD configure for building on BUILD [guessed]
! 1580: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1581: _ACEOF
! 1582: fi
! 1583:
! 1584: if test -n "$ac_init_help"; then
! 1585:
! 1586: cat <<\_ACEOF
! 1587:
! 1588: Optional Features:
! 1589: --disable-option-checking ignore unrecognized --enable/--with options
! 1590: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1591: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1592: --enable-maintainer-mode enable make rules and dependencies not useful
! 1593: (and sometimes confusing) to the casual installer
! 1594: --disable-dependency-tracking speeds up one-time build
! 1595: --enable-dependency-tracking do not reject slow dependency extractors
! 1596: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1597: --enable-static[=PKGS] build static libraries [default=yes]
! 1598: --enable-fast-install[=PKGS]
! 1599: optimize for fast installation [default=yes]
! 1600: --disable-libtool-lock avoid locking (might break parallel builds)
! 1601: --enable-axl-doc Enable building Axl documentation (doxygen required) default=yes
! 1602: --enable-axl-test Enable building Axl test executables default=yes
! 1603: --enable-axl-ns Enable building Axl Namespace support default=yes
! 1604: --enable-axl-log Enable building Axl with debug log support default=yes
! 1605: --enable-axl-knife Enable building Axl Knife tool default=yes
! 1606: --enable-axl-babel Enable building Axl Babel tool default=yes
! 1607:
! 1608: Optional Packages:
! 1609: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1610: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1611: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1612: --with-pic try to use only PIC/non-PIC objects [default=use
! 1613: both]
! 1614: --with-tags[=TAGS] include additional configurations [automatic]
! 1615:
! 1616: Some influential environment variables:
! 1617: CC C compiler command
! 1618: CFLAGS C compiler flags
! 1619: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1620: nonstandard directory <lib dir>
! 1621: LIBS libraries to pass to the linker, e.g. -l<library>
! 1622: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1623: you have headers in a nonstandard directory <include dir>
! 1624: CPP C preprocessor
! 1625: CXX C++ compiler command
! 1626: CXXFLAGS C++ compiler flags
! 1627: CXXCPP C++ preprocessor
! 1628: F77 Fortran 77 compiler command
! 1629: FFLAGS Fortran 77 compiler flags
! 1630:
! 1631: Use these variables to override the choices made by `configure' or to help
! 1632: it to find libraries and programs with nonstandard names/locations.
! 1633:
! 1634: _ACEOF
! 1635: ac_status=$?
! 1636: fi
! 1637:
! 1638: if test "$ac_init_help" = "recursive"; then
! 1639: # If there are subdirs, report their specific --help.
! 1640: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1641: test -d "$ac_dir" ||
! 1642: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1643: continue
! 1644: ac_builddir=.
! 1645:
! 1646: case "$ac_dir" in
! 1647: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1648: *)
! 1649: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1650: # A ".." for each directory in $ac_dir_suffix.
! 1651: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1652: case $ac_top_builddir_sub in
! 1653: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1654: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1655: esac ;;
! 1656: esac
! 1657: ac_abs_top_builddir=$ac_pwd
! 1658: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1659: # for backward compatibility:
! 1660: ac_top_builddir=$ac_top_build_prefix
! 1661:
! 1662: case $srcdir in
! 1663: .) # We are building in place.
! 1664: ac_srcdir=.
! 1665: ac_top_srcdir=$ac_top_builddir_sub
! 1666: ac_abs_top_srcdir=$ac_pwd ;;
! 1667: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1668: ac_srcdir=$srcdir$ac_dir_suffix;
! 1669: ac_top_srcdir=$srcdir
! 1670: ac_abs_top_srcdir=$srcdir ;;
! 1671: *) # Relative name.
! 1672: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1673: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1674: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1675: esac
! 1676: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1677:
! 1678: cd "$ac_dir" || { ac_status=$?; continue; }
! 1679: # Check for guested configure.
! 1680: if test -f "$ac_srcdir/configure.gnu"; then
! 1681: echo &&
! 1682: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1683: elif test -f "$ac_srcdir/configure"; then
! 1684: echo &&
! 1685: $SHELL "$ac_srcdir/configure" --help=recursive
! 1686: else
! 1687: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1688: fi || ac_status=$?
! 1689: cd "$ac_pwd" || { ac_status=$?; break; }
! 1690: done
! 1691: fi
! 1692:
! 1693: test -n "$ac_init_help" && exit $ac_status
! 1694: if $ac_init_version; then
! 1695: cat <<\_ACEOF
! 1696: configure
! 1697: generated by GNU Autoconf 2.63
! 1698:
! 1699: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1700: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 1701: This configure script is free software; the Free Software Foundation
! 1702: gives unlimited permission to copy, distribute and modify it.
! 1703: _ACEOF
! 1704: exit
! 1705: fi
! 1706: cat >config.log <<_ACEOF
! 1707: This file contains any messages produced by compilers while
! 1708: running configure, to aid debugging if configure makes a mistake.
! 1709:
! 1710: It was created by $as_me, which was
! 1711: generated by GNU Autoconf 2.63. Invocation command line was
! 1712:
! 1713: $ $0 $@
! 1714:
! 1715: _ACEOF
! 1716: exec 5>>config.log
! 1717: {
! 1718: cat <<_ASUNAME
! 1719: ## --------- ##
! 1720: ## Platform. ##
! 1721: ## --------- ##
! 1722:
! 1723: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1724: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1725: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1726: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1727: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1728:
! 1729: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1730: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1731:
! 1732: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1733: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1734: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1735: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1736: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1737: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1738: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1739:
! 1740: _ASUNAME
! 1741:
! 1742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1743: for as_dir in $PATH
! 1744: do
! 1745: IFS=$as_save_IFS
! 1746: test -z "$as_dir" && as_dir=.
! 1747: $as_echo "PATH: $as_dir"
! 1748: done
! 1749: IFS=$as_save_IFS
! 1750:
! 1751: } >&5
! 1752:
! 1753: cat >&5 <<_ACEOF
! 1754:
! 1755:
! 1756: ## ----------- ##
! 1757: ## Core tests. ##
! 1758: ## ----------- ##
! 1759:
! 1760: _ACEOF
! 1761:
! 1762:
! 1763: # Keep a trace of the command line.
! 1764: # Strip out --no-create and --no-recursion so they do not pile up.
! 1765: # Strip out --silent because we don't want to record it for future runs.
! 1766: # Also quote any args containing shell meta-characters.
! 1767: # Make two passes to allow for proper duplicate-argument suppression.
! 1768: ac_configure_args=
! 1769: ac_configure_args0=
! 1770: ac_configure_args1=
! 1771: ac_must_keep_next=false
! 1772: for ac_pass in 1 2
! 1773: do
! 1774: for ac_arg
! 1775: do
! 1776: case $ac_arg in
! 1777: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1778: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1779: | -silent | --silent | --silen | --sile | --sil)
! 1780: continue ;;
! 1781: *\'*)
! 1782: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1783: esac
! 1784: case $ac_pass in
! 1785: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1786: 2)
! 1787: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1788: if test $ac_must_keep_next = true; then
! 1789: ac_must_keep_next=false # Got value, back to normal.
! 1790: else
! 1791: case $ac_arg in
! 1792: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1793: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1794: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1795: | -with-* | --with-* | -without-* | --without-* | --x)
! 1796: case "$ac_configure_args0 " in
! 1797: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1798: esac
! 1799: ;;
! 1800: -* ) ac_must_keep_next=true ;;
! 1801: esac
! 1802: fi
! 1803: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1804: ;;
! 1805: esac
! 1806: done
! 1807: done
! 1808: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1809: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1810:
! 1811: # When interrupted or exit'd, cleanup temporary files, and complete
! 1812: # config.log. We remove comments because anyway the quotes in there
! 1813: # would cause problems or look ugly.
! 1814: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1815: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1816: trap 'exit_status=$?
! 1817: # Save into config.log some information that might help in debugging.
! 1818: {
! 1819: echo
! 1820:
! 1821: cat <<\_ASBOX
! 1822: ## ---------------- ##
! 1823: ## Cache variables. ##
! 1824: ## ---------------- ##
! 1825: _ASBOX
! 1826: echo
! 1827: # The following way of writing the cache mishandles newlines in values,
! 1828: (
! 1829: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1830: eval ac_val=\$$ac_var
! 1831: case $ac_val in #(
! 1832: *${as_nl}*)
! 1833: case $ac_var in #(
! 1834: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 1835: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 1836: esac
! 1837: case $ac_var in #(
! 1838: _ | IFS | as_nl) ;; #(
! 1839: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1840: *) $as_unset $ac_var ;;
! 1841: esac ;;
! 1842: esac
! 1843: done
! 1844: (set) 2>&1 |
! 1845: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1846: *${as_nl}ac_space=\ *)
! 1847: sed -n \
! 1848: "s/'\''/'\''\\\\'\'''\''/g;
! 1849: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1850: ;; #(
! 1851: *)
! 1852: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1853: ;;
! 1854: esac |
! 1855: sort
! 1856: )
! 1857: echo
! 1858:
! 1859: cat <<\_ASBOX
! 1860: ## ----------------- ##
! 1861: ## Output variables. ##
! 1862: ## ----------------- ##
! 1863: _ASBOX
! 1864: echo
! 1865: for ac_var in $ac_subst_vars
! 1866: do
! 1867: eval ac_val=\$$ac_var
! 1868: case $ac_val in
! 1869: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1870: esac
! 1871: $as_echo "$ac_var='\''$ac_val'\''"
! 1872: done | sort
! 1873: echo
! 1874:
! 1875: if test -n "$ac_subst_files"; then
! 1876: cat <<\_ASBOX
! 1877: ## ------------------- ##
! 1878: ## File substitutions. ##
! 1879: ## ------------------- ##
! 1880: _ASBOX
! 1881: echo
! 1882: for ac_var in $ac_subst_files
! 1883: do
! 1884: eval ac_val=\$$ac_var
! 1885: case $ac_val in
! 1886: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1887: esac
! 1888: $as_echo "$ac_var='\''$ac_val'\''"
! 1889: done | sort
! 1890: echo
! 1891: fi
! 1892:
! 1893: if test -s confdefs.h; then
! 1894: cat <<\_ASBOX
! 1895: ## ----------- ##
! 1896: ## confdefs.h. ##
! 1897: ## ----------- ##
! 1898: _ASBOX
! 1899: echo
! 1900: cat confdefs.h
! 1901: echo
! 1902: fi
! 1903: test "$ac_signal" != 0 &&
! 1904: $as_echo "$as_me: caught signal $ac_signal"
! 1905: $as_echo "$as_me: exit $exit_status"
! 1906: } >&5
! 1907: rm -f core *.core core.conftest.* &&
! 1908: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1909: exit $exit_status
! 1910: ' 0
! 1911: for ac_signal in 1 2 13 15; do
! 1912: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1913: done
! 1914: ac_signal=0
! 1915:
! 1916: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1917: rm -f -r conftest* confdefs.h
! 1918:
! 1919: # Predefined preprocessor variables.
! 1920:
! 1921: cat >>confdefs.h <<_ACEOF
! 1922: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1923: _ACEOF
! 1924:
! 1925:
! 1926: cat >>confdefs.h <<_ACEOF
! 1927: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1928: _ACEOF
! 1929:
! 1930:
! 1931: cat >>confdefs.h <<_ACEOF
! 1932: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1933: _ACEOF
! 1934:
! 1935:
! 1936: cat >>confdefs.h <<_ACEOF
! 1937: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1938: _ACEOF
! 1939:
! 1940:
! 1941: cat >>confdefs.h <<_ACEOF
! 1942: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1943: _ACEOF
! 1944:
! 1945:
! 1946: # Let the site file select an alternate cache file if it wants to.
! 1947: # Prefer an explicitly selected file to automatically selected ones.
! 1948: ac_site_file1=NONE
! 1949: ac_site_file2=NONE
! 1950: if test -n "$CONFIG_SITE"; then
! 1951: ac_site_file1=$CONFIG_SITE
! 1952: elif test "x$prefix" != xNONE; then
! 1953: ac_site_file1=$prefix/share/config.site
! 1954: ac_site_file2=$prefix/etc/config.site
! 1955: else
! 1956: ac_site_file1=$ac_default_prefix/share/config.site
! 1957: ac_site_file2=$ac_default_prefix/etc/config.site
! 1958: fi
! 1959: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1960: do
! 1961: test "x$ac_site_file" = xNONE && continue
! 1962: if test -r "$ac_site_file"; then
! 1963: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1964: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 1965: sed 's/^/| /' "$ac_site_file" >&5
! 1966: . "$ac_site_file"
! 1967: fi
! 1968: done
! 1969:
! 1970: if test -r "$cache_file"; then
! 1971: # Some versions of bash will fail to source /dev/null (special
! 1972: # files actually), so we avoid doing that.
! 1973: if test -f "$cache_file"; then
! 1974: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1975: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 1976: case $cache_file in
! 1977: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1978: *) . "./$cache_file";;
! 1979: esac
! 1980: fi
! 1981: else
! 1982: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1983: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 1984: >$cache_file
! 1985: fi
! 1986:
! 1987: # Check that the precious variables saved in the cache have kept the same
! 1988: # value.
! 1989: ac_cache_corrupted=false
! 1990: for ac_var in $ac_precious_vars; do
! 1991: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1992: eval ac_new_set=\$ac_env_${ac_var}_set
! 1993: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1994: eval ac_new_val=\$ac_env_${ac_var}_value
! 1995: case $ac_old_set,$ac_new_set in
! 1996: set,)
! 1997: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1998: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1999: ac_cache_corrupted=: ;;
! 2000: ,set)
! 2001: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 2002: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 2003: ac_cache_corrupted=: ;;
! 2004: ,);;
! 2005: *)
! 2006: if test "x$ac_old_val" != "x$ac_new_val"; then
! 2007: # differences in whitespace do not lead to failure.
! 2008: ac_old_val_w=`echo x $ac_old_val`
! 2009: ac_new_val_w=`echo x $ac_new_val`
! 2010: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 2011: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 2012: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 2013: ac_cache_corrupted=:
! 2014: else
! 2015: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 2016: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 2017: eval $ac_var=\$ac_old_val
! 2018: fi
! 2019: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 2020: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 2021: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 2022: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 2023: fi;;
! 2024: esac
! 2025: # Pass precious variables to config.status.
! 2026: if test "$ac_new_set" = set; then
! 2027: case $ac_new_val in
! 2028: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2029: *) ac_arg=$ac_var=$ac_new_val ;;
! 2030: esac
! 2031: case " $ac_configure_args " in
! 2032: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2033: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 2034: esac
! 2035: fi
! 2036: done
! 2037: if $ac_cache_corrupted; then
! 2038: { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2040: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 2041: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2042: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 2043: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 2044: { (exit 1); exit 1; }; }
! 2045: fi
! 2046:
! 2047:
! 2048:
! 2049:
! 2050:
! 2051:
! 2052:
! 2053:
! 2054:
! 2055:
! 2056:
! 2057:
! 2058:
! 2059:
! 2060:
! 2061:
! 2062:
! 2063: ac_ext=c
! 2064: ac_cpp='$CPP $CPPFLAGS'
! 2065: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2066: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2067: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2068:
! 2069:
! 2070:
! 2071: configure_dir=`dirname "$0"`
! 2072: AXL_VERSION=`cat $configure_dir/VERSION`
! 2073:
! 2074:
! 2075: ac_aux_dir=
! 2076: for ac_dir in . "$srcdir"/.; do
! 2077: if test -f "$ac_dir/install-sh"; then
! 2078: ac_aux_dir=$ac_dir
! 2079: ac_install_sh="$ac_aux_dir/install-sh -c"
! 2080: break
! 2081: elif test -f "$ac_dir/install.sh"; then
! 2082: ac_aux_dir=$ac_dir
! 2083: ac_install_sh="$ac_aux_dir/install.sh -c"
! 2084: break
! 2085: elif test -f "$ac_dir/shtool"; then
! 2086: ac_aux_dir=$ac_dir
! 2087: ac_install_sh="$ac_aux_dir/shtool install -c"
! 2088: break
! 2089: fi
! 2090: done
! 2091: if test -z "$ac_aux_dir"; then
! 2092: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
! 2093: $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
! 2094: { (exit 1); exit 1; }; }
! 2095: fi
! 2096:
! 2097: # These three variables are undocumented and unsupported,
! 2098: # and are intended to be withdrawn in a future Autoconf release.
! 2099: # They can cause serious problems if a builder's source tree is in a directory
! 2100: # whose full name contains unusual characters.
! 2101: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2102: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2103: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2104:
! 2105:
! 2106: am__api_version="1.9"
! 2107: # Find a good install program. We prefer a C program (faster),
! 2108: # so one script is as good as another. But avoid the broken or
! 2109: # incompatible versions:
! 2110: # SysV /etc/install, /usr/sbin/install
! 2111: # SunOS /usr/etc/install
! 2112: # IRIX /sbin/install
! 2113: # AIX /bin/install
! 2114: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2115: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2116: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2117: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2118: # OS/2's system install, which has a completely different semantic
! 2119: # ./install, which can be erroneously created by make from ./install.sh.
! 2120: # Reject install programs that cannot install multiple files.
! 2121: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 2122: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2123: if test -z "$INSTALL"; then
! 2124: if test "${ac_cv_path_install+set}" = set; then
! 2125: $as_echo_n "(cached) " >&6
! 2126: else
! 2127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2128: for as_dir in $PATH
! 2129: do
! 2130: IFS=$as_save_IFS
! 2131: test -z "$as_dir" && as_dir=.
! 2132: # Account for people who put trailing slashes in PATH elements.
! 2133: case $as_dir/ in
! 2134: ./ | .// | /cC/* | \
! 2135: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2136: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 2137: /usr/ucb/* ) ;;
! 2138: *)
! 2139: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2140: # Don't use installbsd from OSF since it installs stuff as root
! 2141: # by default.
! 2142: for ac_prog in ginstall scoinst install; do
! 2143: for ac_exec_ext in '' $ac_executable_extensions; do
! 2144: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 2145: if test $ac_prog = install &&
! 2146: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2147: # AIX install. It has an incompatible calling convention.
! 2148: :
! 2149: elif test $ac_prog = install &&
! 2150: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2151: # program-specific install script used by HP pwplus--don't use.
! 2152: :
! 2153: else
! 2154: rm -rf conftest.one conftest.two conftest.dir
! 2155: echo one > conftest.one
! 2156: echo two > conftest.two
! 2157: mkdir conftest.dir
! 2158: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2159: test -s conftest.one && test -s conftest.two &&
! 2160: test -s conftest.dir/conftest.one &&
! 2161: test -s conftest.dir/conftest.two
! 2162: then
! 2163: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2164: break 3
! 2165: fi
! 2166: fi
! 2167: fi
! 2168: done
! 2169: done
! 2170: ;;
! 2171: esac
! 2172:
! 2173: done
! 2174: IFS=$as_save_IFS
! 2175:
! 2176: rm -rf conftest.one conftest.two conftest.dir
! 2177:
! 2178: fi
! 2179: if test "${ac_cv_path_install+set}" = set; then
! 2180: INSTALL=$ac_cv_path_install
! 2181: else
! 2182: # As a last resort, use the slow shell script. Don't cache a
! 2183: # value for INSTALL within a source directory, because that will
! 2184: # break other packages using the cache if that directory is
! 2185: # removed, or if the value is a relative name.
! 2186: INSTALL=$ac_install_sh
! 2187: fi
! 2188: fi
! 2189: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 2190: $as_echo "$INSTALL" >&6; }
! 2191:
! 2192: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2193: # It thinks the first close brace ends the variable substitution.
! 2194: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2195:
! 2196: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2197:
! 2198: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2199:
! 2200: { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 2201: $as_echo_n "checking whether build environment is sane... " >&6; }
! 2202: # Just in case
! 2203: sleep 1
! 2204: echo timestamp > conftest.file
! 2205: # Do `set' in a subshell so we don't clobber the current shell's
! 2206: # arguments. Must try -L first in case configure is actually a
! 2207: # symlink; some systems play weird games with the mod time of symlinks
! 2208: # (eg FreeBSD returns the mod time of the symlink's containing
! 2209: # directory).
! 2210: if (
! 2211: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 2212: if test "$*" = "X"; then
! 2213: # -L didn't work.
! 2214: set X `ls -t $srcdir/configure conftest.file`
! 2215: fi
! 2216: rm -f conftest.file
! 2217: if test "$*" != "X $srcdir/configure conftest.file" \
! 2218: && test "$*" != "X conftest.file $srcdir/configure"; then
! 2219:
! 2220: # If neither matched, then we have a broken ls. This can happen
! 2221: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 2222: # broken ls alias from the environment. This has actually
! 2223: # happened. Such a system could not be considered "sane".
! 2224: { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 2225: alias in your environment" >&5
! 2226: $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 2227: alias in your environment" >&2;}
! 2228: { (exit 1); exit 1; }; }
! 2229: fi
! 2230:
! 2231: test "$2" = conftest.file
! 2232: )
! 2233: then
! 2234: # Ok.
! 2235: :
! 2236: else
! 2237: { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 2238: Check your system clock" >&5
! 2239: $as_echo "$as_me: error: newly created file is older than distributed files!
! 2240: Check your system clock" >&2;}
! 2241: { (exit 1); exit 1; }; }
! 2242: fi
! 2243: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2244: $as_echo "yes" >&6; }
! 2245: test "$program_prefix" != NONE &&
! 2246: program_transform_name="s&^&$program_prefix&;$program_transform_name"
! 2247: # Use a double $ so make ignores it.
! 2248: test "$program_suffix" != NONE &&
! 2249: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
! 2250: # Double any \ or $.
! 2251: # By default was `s,x,x', remove it if useless.
! 2252: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
! 2253: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
! 2254:
! 2255: # expand $ac_aux_dir to an absolute path
! 2256: am_aux_dir=`cd $ac_aux_dir && pwd`
! 2257:
! 2258: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 2259: # Use eval to expand $SHELL
! 2260: if eval "$MISSING --run true"; then
! 2261: am_missing_run="$MISSING --run "
! 2262: else
! 2263: am_missing_run=
! 2264: { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 2265: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 2266: fi
! 2267:
! 2268: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
! 2269: # We used to keeping the `.' as first argument, in order to
! 2270: # allow $(mkdir_p) to be used without argument. As in
! 2271: # $(mkdir_p) $(somedir)
! 2272: # where $(somedir) is conditionally defined. However this is wrong
! 2273: # for two reasons:
! 2274: # 1. if the package is installed by a user who cannot write `.'
! 2275: # make install will fail,
! 2276: # 2. the above comment should most certainly read
! 2277: # $(mkdir_p) $(DESTDIR)$(somedir)
! 2278: # so it does not work when $(somedir) is undefined and
! 2279: # $(DESTDIR) is not.
! 2280: # To support the latter case, we have to write
! 2281: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
! 2282: # so the `.' trick is pointless.
! 2283: mkdir_p='mkdir -p --'
! 2284: else
! 2285: # On NextStep and OpenStep, the `mkdir' command does not
! 2286: # recognize any option. It will interpret all options as
! 2287: # directories to create, and then abort because `.' already
! 2288: # exists.
! 2289: for d in ./-p ./--version;
! 2290: do
! 2291: test -d $d && rmdir $d
! 2292: done
! 2293: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
! 2294: if test -f "$ac_aux_dir/mkinstalldirs"; then
! 2295: mkdir_p='$(mkinstalldirs)'
! 2296: else
! 2297: mkdir_p='$(install_sh) -d'
! 2298: fi
! 2299: fi
! 2300:
! 2301: for ac_prog in gawk mawk nawk awk
! 2302: do
! 2303: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2304: set dummy $ac_prog; ac_word=$2
! 2305: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2306: $as_echo_n "checking for $ac_word... " >&6; }
! 2307: if test "${ac_cv_prog_AWK+set}" = set; then
! 2308: $as_echo_n "(cached) " >&6
! 2309: else
! 2310: if test -n "$AWK"; then
! 2311: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 2312: else
! 2313: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2314: for as_dir in $PATH
! 2315: do
! 2316: IFS=$as_save_IFS
! 2317: test -z "$as_dir" && as_dir=.
! 2318: for ac_exec_ext in '' $ac_executable_extensions; do
! 2319: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2320: ac_cv_prog_AWK="$ac_prog"
! 2321: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2322: break 2
! 2323: fi
! 2324: done
! 2325: done
! 2326: IFS=$as_save_IFS
! 2327:
! 2328: fi
! 2329: fi
! 2330: AWK=$ac_cv_prog_AWK
! 2331: if test -n "$AWK"; then
! 2332: { $as_echo "$as_me:$LINENO: result: $AWK" >&5
! 2333: $as_echo "$AWK" >&6; }
! 2334: else
! 2335: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2336: $as_echo "no" >&6; }
! 2337: fi
! 2338:
! 2339:
! 2340: test -n "$AWK" && break
! 2341: done
! 2342:
! 2343: { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2344: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
! 2345: set x ${MAKE-make}
! 2346: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 2347: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
! 2348: $as_echo_n "(cached) " >&6
! 2349: else
! 2350: cat >conftest.make <<\_ACEOF
! 2351: SHELL = /bin/sh
! 2352: all:
! 2353: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 2354: _ACEOF
! 2355: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2356: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 2357: *@@@%%%=?*=@@@%%%*)
! 2358: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 2359: *)
! 2360: eval ac_cv_prog_make_${ac_make}_set=no;;
! 2361: esac
! 2362: rm -f conftest.make
! 2363: fi
! 2364: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 2365: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2366: $as_echo "yes" >&6; }
! 2367: SET_MAKE=
! 2368: else
! 2369: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2370: $as_echo "no" >&6; }
! 2371: SET_MAKE="MAKE=${MAKE-make}"
! 2372: fi
! 2373:
! 2374: rm -rf .tst 2>/dev/null
! 2375: mkdir .tst 2>/dev/null
! 2376: if test -d .tst; then
! 2377: am__leading_dot=.
! 2378: else
! 2379: am__leading_dot=_
! 2380: fi
! 2381: rmdir .tst 2>/dev/null
! 2382:
! 2383: # test to see if srcdir already configured
! 2384: if test "`cd $srcdir && pwd`" != "`pwd`" &&
! 2385: test -f $srcdir/config.status; then
! 2386: { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 2387: $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 2388: { (exit 1); exit 1; }; }
! 2389: fi
! 2390:
! 2391: # test whether we have cygpath
! 2392: if test -z "$CYGPATH_W"; then
! 2393: if (cygpath --version) >/dev/null 2>/dev/null; then
! 2394: CYGPATH_W='cygpath -w'
! 2395: else
! 2396: CYGPATH_W=echo
! 2397: fi
! 2398: fi
! 2399:
! 2400:
! 2401: # Define the identity of the package.
! 2402: PACKAGE=axl
! 2403: VERSION=$AXL_VERSION
! 2404:
! 2405:
! 2406: cat >>confdefs.h <<_ACEOF
! 2407: #define PACKAGE "$PACKAGE"
! 2408: _ACEOF
! 2409:
! 2410:
! 2411: cat >>confdefs.h <<_ACEOF
! 2412: #define VERSION "$VERSION"
! 2413: _ACEOF
! 2414:
! 2415: # Some tools Automake needs.
! 2416:
! 2417: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 2418:
! 2419:
! 2420: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 2421:
! 2422:
! 2423: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 2424:
! 2425:
! 2426: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 2427:
! 2428:
! 2429: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 2430:
! 2431: install_sh=${install_sh-"$am_aux_dir/install-sh"}
! 2432:
! 2433: # Installed binaries are usually stripped using `strip' when the user
! 2434: # run `make install-strip'. However `strip' might not be the right
! 2435: # tool to use in cross-compilation environments, therefore Automake
! 2436: # will honor the `STRIP' environment variable to overrule this program.
! 2437: if test "$cross_compiling" != no; then
! 2438: if test -n "$ac_tool_prefix"; then
! 2439: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 2440: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 2441: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2442: $as_echo_n "checking for $ac_word... " >&6; }
! 2443: if test "${ac_cv_prog_STRIP+set}" = set; then
! 2444: $as_echo_n "(cached) " >&6
! 2445: else
! 2446: if test -n "$STRIP"; then
! 2447: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 2448: else
! 2449: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2450: for as_dir in $PATH
! 2451: do
! 2452: IFS=$as_save_IFS
! 2453: test -z "$as_dir" && as_dir=.
! 2454: for ac_exec_ext in '' $ac_executable_extensions; do
! 2455: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2456: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 2457: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2458: break 2
! 2459: fi
! 2460: done
! 2461: done
! 2462: IFS=$as_save_IFS
! 2463:
! 2464: fi
! 2465: fi
! 2466: STRIP=$ac_cv_prog_STRIP
! 2467: if test -n "$STRIP"; then
! 2468: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 2469: $as_echo "$STRIP" >&6; }
! 2470: else
! 2471: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2472: $as_echo "no" >&6; }
! 2473: fi
! 2474:
! 2475:
! 2476: fi
! 2477: if test -z "$ac_cv_prog_STRIP"; then
! 2478: ac_ct_STRIP=$STRIP
! 2479: # Extract the first word of "strip", so it can be a program name with args.
! 2480: set dummy strip; ac_word=$2
! 2481: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2482: $as_echo_n "checking for $ac_word... " >&6; }
! 2483: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 2484: $as_echo_n "(cached) " >&6
! 2485: else
! 2486: if test -n "$ac_ct_STRIP"; then
! 2487: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 2488: else
! 2489: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2490: for as_dir in $PATH
! 2491: do
! 2492: IFS=$as_save_IFS
! 2493: test -z "$as_dir" && as_dir=.
! 2494: for ac_exec_ext in '' $ac_executable_extensions; do
! 2495: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2496: ac_cv_prog_ac_ct_STRIP="strip"
! 2497: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2498: break 2
! 2499: fi
! 2500: done
! 2501: done
! 2502: IFS=$as_save_IFS
! 2503:
! 2504: fi
! 2505: fi
! 2506: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 2507: if test -n "$ac_ct_STRIP"; then
! 2508: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 2509: $as_echo "$ac_ct_STRIP" >&6; }
! 2510: else
! 2511: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2512: $as_echo "no" >&6; }
! 2513: fi
! 2514:
! 2515: if test "x$ac_ct_STRIP" = x; then
! 2516: STRIP=":"
! 2517: else
! 2518: case $cross_compiling:$ac_tool_warned in
! 2519: yes:)
! 2520: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2521: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2522: ac_tool_warned=yes ;;
! 2523: esac
! 2524: STRIP=$ac_ct_STRIP
! 2525: fi
! 2526: else
! 2527: STRIP="$ac_cv_prog_STRIP"
! 2528: fi
! 2529:
! 2530: fi
! 2531: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 2532:
! 2533: # We need awk for the "check" target. The system "awk" is bad on
! 2534: # some platforms.
! 2535: # Always define AMTAR for backward compatibility.
! 2536:
! 2537: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 2538:
! 2539: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 2540:
! 2541:
! 2542:
! 2543:
! 2544:
! 2545: ac_config_headers="$ac_config_headers config.h"
! 2546:
! 2547: { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
! 2548: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
! 2549: # Check whether --enable-maintainer-mode was given.
! 2550: if test "${enable_maintainer_mode+set}" = set; then
! 2551: enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
! 2552: else
! 2553: USE_MAINTAINER_MODE=no
! 2554: fi
! 2555:
! 2556: { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! 2557: $as_echo "$USE_MAINTAINER_MODE" >&6; }
! 2558:
! 2559:
! 2560: if test $USE_MAINTAINER_MODE = yes; then
! 2561: MAINTAINER_MODE_TRUE=
! 2562: MAINTAINER_MODE_FALSE='#'
! 2563: else
! 2564: MAINTAINER_MODE_TRUE='#'
! 2565: MAINTAINER_MODE_FALSE=
! 2566: fi
! 2567:
! 2568: MAINT=$MAINTAINER_MODE_TRUE
! 2569:
! 2570:
! 2571:
! 2572: ac_ext=c
! 2573: ac_cpp='$CPP $CPPFLAGS'
! 2574: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2575: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2576: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2577: if test -n "$ac_tool_prefix"; then
! 2578: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2579: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2580: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2581: $as_echo_n "checking for $ac_word... " >&6; }
! 2582: if test "${ac_cv_prog_CC+set}" = set; then
! 2583: $as_echo_n "(cached) " >&6
! 2584: else
! 2585: if test -n "$CC"; then
! 2586: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2587: else
! 2588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2589: for as_dir in $PATH
! 2590: do
! 2591: IFS=$as_save_IFS
! 2592: test -z "$as_dir" && as_dir=.
! 2593: for ac_exec_ext in '' $ac_executable_extensions; do
! 2594: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2595: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2596: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2597: break 2
! 2598: fi
! 2599: done
! 2600: done
! 2601: IFS=$as_save_IFS
! 2602:
! 2603: fi
! 2604: fi
! 2605: CC=$ac_cv_prog_CC
! 2606: if test -n "$CC"; then
! 2607: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2608: $as_echo "$CC" >&6; }
! 2609: else
! 2610: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2611: $as_echo "no" >&6; }
! 2612: fi
! 2613:
! 2614:
! 2615: fi
! 2616: if test -z "$ac_cv_prog_CC"; then
! 2617: ac_ct_CC=$CC
! 2618: # Extract the first word of "gcc", so it can be a program name with args.
! 2619: set dummy gcc; ac_word=$2
! 2620: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2621: $as_echo_n "checking for $ac_word... " >&6; }
! 2622: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2623: $as_echo_n "(cached) " >&6
! 2624: else
! 2625: if test -n "$ac_ct_CC"; then
! 2626: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2627: else
! 2628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2629: for as_dir in $PATH
! 2630: do
! 2631: IFS=$as_save_IFS
! 2632: test -z "$as_dir" && as_dir=.
! 2633: for ac_exec_ext in '' $ac_executable_extensions; do
! 2634: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2635: ac_cv_prog_ac_ct_CC="gcc"
! 2636: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2637: break 2
! 2638: fi
! 2639: done
! 2640: done
! 2641: IFS=$as_save_IFS
! 2642:
! 2643: fi
! 2644: fi
! 2645: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2646: if test -n "$ac_ct_CC"; then
! 2647: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2648: $as_echo "$ac_ct_CC" >&6; }
! 2649: else
! 2650: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2651: $as_echo "no" >&6; }
! 2652: fi
! 2653:
! 2654: if test "x$ac_ct_CC" = x; then
! 2655: CC=""
! 2656: else
! 2657: case $cross_compiling:$ac_tool_warned in
! 2658: yes:)
! 2659: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2660: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2661: ac_tool_warned=yes ;;
! 2662: esac
! 2663: CC=$ac_ct_CC
! 2664: fi
! 2665: else
! 2666: CC="$ac_cv_prog_CC"
! 2667: fi
! 2668:
! 2669: if test -z "$CC"; then
! 2670: if test -n "$ac_tool_prefix"; then
! 2671: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2672: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2673: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2674: $as_echo_n "checking for $ac_word... " >&6; }
! 2675: if test "${ac_cv_prog_CC+set}" = set; then
! 2676: $as_echo_n "(cached) " >&6
! 2677: else
! 2678: if test -n "$CC"; then
! 2679: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2680: else
! 2681: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2682: for as_dir in $PATH
! 2683: do
! 2684: IFS=$as_save_IFS
! 2685: test -z "$as_dir" && as_dir=.
! 2686: for ac_exec_ext in '' $ac_executable_extensions; do
! 2687: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2688: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2689: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2690: break 2
! 2691: fi
! 2692: done
! 2693: done
! 2694: IFS=$as_save_IFS
! 2695:
! 2696: fi
! 2697: fi
! 2698: CC=$ac_cv_prog_CC
! 2699: if test -n "$CC"; then
! 2700: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2701: $as_echo "$CC" >&6; }
! 2702: else
! 2703: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2704: $as_echo "no" >&6; }
! 2705: fi
! 2706:
! 2707:
! 2708: fi
! 2709: fi
! 2710: if test -z "$CC"; then
! 2711: # Extract the first word of "cc", so it can be a program name with args.
! 2712: set dummy cc; ac_word=$2
! 2713: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2714: $as_echo_n "checking for $ac_word... " >&6; }
! 2715: if test "${ac_cv_prog_CC+set}" = set; then
! 2716: $as_echo_n "(cached) " >&6
! 2717: else
! 2718: if test -n "$CC"; then
! 2719: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2720: else
! 2721: ac_prog_rejected=no
! 2722: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2723: for as_dir in $PATH
! 2724: do
! 2725: IFS=$as_save_IFS
! 2726: test -z "$as_dir" && as_dir=.
! 2727: for ac_exec_ext in '' $ac_executable_extensions; do
! 2728: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2729: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2730: ac_prog_rejected=yes
! 2731: continue
! 2732: fi
! 2733: ac_cv_prog_CC="cc"
! 2734: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2735: break 2
! 2736: fi
! 2737: done
! 2738: done
! 2739: IFS=$as_save_IFS
! 2740:
! 2741: if test $ac_prog_rejected = yes; then
! 2742: # We found a bogon in the path, so make sure we never use it.
! 2743: set dummy $ac_cv_prog_CC
! 2744: shift
! 2745: if test $# != 0; then
! 2746: # We chose a different compiler from the bogus one.
! 2747: # However, it has the same basename, so the bogon will be chosen
! 2748: # first if we set CC to just the basename; use the full file name.
! 2749: shift
! 2750: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2751: fi
! 2752: fi
! 2753: fi
! 2754: fi
! 2755: CC=$ac_cv_prog_CC
! 2756: if test -n "$CC"; then
! 2757: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2758: $as_echo "$CC" >&6; }
! 2759: else
! 2760: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2761: $as_echo "no" >&6; }
! 2762: fi
! 2763:
! 2764:
! 2765: fi
! 2766: if test -z "$CC"; then
! 2767: if test -n "$ac_tool_prefix"; then
! 2768: for ac_prog in cl.exe
! 2769: do
! 2770: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2771: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2772: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2773: $as_echo_n "checking for $ac_word... " >&6; }
! 2774: if test "${ac_cv_prog_CC+set}" = set; then
! 2775: $as_echo_n "(cached) " >&6
! 2776: else
! 2777: if test -n "$CC"; then
! 2778: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2779: else
! 2780: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2781: for as_dir in $PATH
! 2782: do
! 2783: IFS=$as_save_IFS
! 2784: test -z "$as_dir" && as_dir=.
! 2785: for ac_exec_ext in '' $ac_executable_extensions; do
! 2786: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2787: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2788: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2789: break 2
! 2790: fi
! 2791: done
! 2792: done
! 2793: IFS=$as_save_IFS
! 2794:
! 2795: fi
! 2796: fi
! 2797: CC=$ac_cv_prog_CC
! 2798: if test -n "$CC"; then
! 2799: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2800: $as_echo "$CC" >&6; }
! 2801: else
! 2802: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2803: $as_echo "no" >&6; }
! 2804: fi
! 2805:
! 2806:
! 2807: test -n "$CC" && break
! 2808: done
! 2809: fi
! 2810: if test -z "$CC"; then
! 2811: ac_ct_CC=$CC
! 2812: for ac_prog in cl.exe
! 2813: do
! 2814: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2815: set dummy $ac_prog; ac_word=$2
! 2816: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2817: $as_echo_n "checking for $ac_word... " >&6; }
! 2818: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2819: $as_echo_n "(cached) " >&6
! 2820: else
! 2821: if test -n "$ac_ct_CC"; then
! 2822: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2823: else
! 2824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2825: for as_dir in $PATH
! 2826: do
! 2827: IFS=$as_save_IFS
! 2828: test -z "$as_dir" && as_dir=.
! 2829: for ac_exec_ext in '' $ac_executable_extensions; do
! 2830: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2831: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2832: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2833: break 2
! 2834: fi
! 2835: done
! 2836: done
! 2837: IFS=$as_save_IFS
! 2838:
! 2839: fi
! 2840: fi
! 2841: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2842: if test -n "$ac_ct_CC"; then
! 2843: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2844: $as_echo "$ac_ct_CC" >&6; }
! 2845: else
! 2846: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2847: $as_echo "no" >&6; }
! 2848: fi
! 2849:
! 2850:
! 2851: test -n "$ac_ct_CC" && break
! 2852: done
! 2853:
! 2854: if test "x$ac_ct_CC" = x; then
! 2855: CC=""
! 2856: else
! 2857: case $cross_compiling:$ac_tool_warned in
! 2858: yes:)
! 2859: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2860: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2861: ac_tool_warned=yes ;;
! 2862: esac
! 2863: CC=$ac_ct_CC
! 2864: fi
! 2865: fi
! 2866:
! 2867: fi
! 2868:
! 2869:
! 2870: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2871: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2872: { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2873: See \`config.log' for more details." >&5
! 2874: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2875: See \`config.log' for more details." >&2;}
! 2876: { (exit 1); exit 1; }; }; }
! 2877:
! 2878: # Provide some information about the compiler.
! 2879: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2880: set X $ac_compile
! 2881: ac_compiler=$2
! 2882: { (ac_try="$ac_compiler --version >&5"
! 2883: case "(($ac_try" in
! 2884: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2885: *) ac_try_echo=$ac_try;;
! 2886: esac
! 2887: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2888: $as_echo "$ac_try_echo") >&5
! 2889: (eval "$ac_compiler --version >&5") 2>&5
! 2890: ac_status=$?
! 2891: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2892: (exit $ac_status); }
! 2893: { (ac_try="$ac_compiler -v >&5"
! 2894: case "(($ac_try" in
! 2895: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2896: *) ac_try_echo=$ac_try;;
! 2897: esac
! 2898: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2899: $as_echo "$ac_try_echo") >&5
! 2900: (eval "$ac_compiler -v >&5") 2>&5
! 2901: ac_status=$?
! 2902: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2903: (exit $ac_status); }
! 2904: { (ac_try="$ac_compiler -V >&5"
! 2905: case "(($ac_try" in
! 2906: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2907: *) ac_try_echo=$ac_try;;
! 2908: esac
! 2909: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2910: $as_echo "$ac_try_echo") >&5
! 2911: (eval "$ac_compiler -V >&5") 2>&5
! 2912: ac_status=$?
! 2913: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2914: (exit $ac_status); }
! 2915:
! 2916: cat >conftest.$ac_ext <<_ACEOF
! 2917: /* confdefs.h. */
! 2918: _ACEOF
! 2919: cat confdefs.h >>conftest.$ac_ext
! 2920: cat >>conftest.$ac_ext <<_ACEOF
! 2921: /* end confdefs.h. */
! 2922:
! 2923: int
! 2924: main ()
! 2925: {
! 2926:
! 2927: ;
! 2928: return 0;
! 2929: }
! 2930: _ACEOF
! 2931: ac_clean_files_save=$ac_clean_files
! 2932: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2933: # Try to create an executable without -o first, disregard a.out.
! 2934: # It will help us diagnose broken compilers, and finding out an intuition
! 2935: # of exeext.
! 2936: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2937: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2938: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2939:
! 2940: # The possible output files:
! 2941: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2942:
! 2943: ac_rmfiles=
! 2944: for ac_file in $ac_files
! 2945: do
! 2946: case $ac_file in
! 2947: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2948: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2949: esac
! 2950: done
! 2951: rm -f $ac_rmfiles
! 2952:
! 2953: if { (ac_try="$ac_link_default"
! 2954: case "(($ac_try" in
! 2955: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2956: *) ac_try_echo=$ac_try;;
! 2957: esac
! 2958: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2959: $as_echo "$ac_try_echo") >&5
! 2960: (eval "$ac_link_default") 2>&5
! 2961: ac_status=$?
! 2962: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2963: (exit $ac_status); }; then
! 2964: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2965: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2966: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2967: # so that the user can short-circuit this test for compilers unknown to
! 2968: # Autoconf.
! 2969: for ac_file in $ac_files ''
! 2970: do
! 2971: test -f "$ac_file" || continue
! 2972: case $ac_file in
! 2973: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2974: ;;
! 2975: [ab].out )
! 2976: # We found the default executable, but exeext='' is most
! 2977: # certainly right.
! 2978: break;;
! 2979: *.* )
! 2980: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2981: then :; else
! 2982: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2983: fi
! 2984: # We set ac_cv_exeext here because the later test for it is not
! 2985: # safe: cross compilers may not add the suffix if given an `-o'
! 2986: # argument, so we may need to know it at that point already.
! 2987: # Even if this section looks crufty: it has the advantage of
! 2988: # actually working.
! 2989: break;;
! 2990: * )
! 2991: break;;
! 2992: esac
! 2993: done
! 2994: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2995:
! 2996: else
! 2997: ac_file=''
! 2998: fi
! 2999:
! 3000: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 3001: $as_echo "$ac_file" >&6; }
! 3002: if test -z "$ac_file"; then
! 3003: $as_echo "$as_me: failed program was:" >&5
! 3004: sed 's/^/| /' conftest.$ac_ext >&5
! 3005:
! 3006: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3007: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3008: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 3009: See \`config.log' for more details." >&5
! 3010: $as_echo "$as_me: error: C compiler cannot create executables
! 3011: See \`config.log' for more details." >&2;}
! 3012: { (exit 77); exit 77; }; }; }
! 3013: fi
! 3014:
! 3015: ac_exeext=$ac_cv_exeext
! 3016:
! 3017: # Check that the compiler produces executables we can run. If not, either
! 3018: # the compiler is broken, or we cross compile.
! 3019: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 3020: $as_echo_n "checking whether the C compiler works... " >&6; }
! 3021: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 3022: # If not cross compiling, check that we can run a simple program.
! 3023: if test "$cross_compiling" != yes; then
! 3024: if { ac_try='./$ac_file'
! 3025: { (case "(($ac_try" in
! 3026: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3027: *) ac_try_echo=$ac_try;;
! 3028: esac
! 3029: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3030: $as_echo "$ac_try_echo") >&5
! 3031: (eval "$ac_try") 2>&5
! 3032: ac_status=$?
! 3033: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3034: (exit $ac_status); }; }; then
! 3035: cross_compiling=no
! 3036: else
! 3037: if test "$cross_compiling" = maybe; then
! 3038: cross_compiling=yes
! 3039: else
! 3040: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3041: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3042: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 3043: If you meant to cross compile, use \`--host'.
! 3044: See \`config.log' for more details." >&5
! 3045: $as_echo "$as_me: error: cannot run C compiled programs.
! 3046: If you meant to cross compile, use \`--host'.
! 3047: See \`config.log' for more details." >&2;}
! 3048: { (exit 1); exit 1; }; }; }
! 3049: fi
! 3050: fi
! 3051: fi
! 3052: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 3053: $as_echo "yes" >&6; }
! 3054:
! 3055: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 3056: ac_clean_files=$ac_clean_files_save
! 3057: # Check that the compiler produces executables we can run. If not, either
! 3058: # the compiler is broken, or we cross compile.
! 3059: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 3060: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3061: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 3062: $as_echo "$cross_compiling" >&6; }
! 3063:
! 3064: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 3065: $as_echo_n "checking for suffix of executables... " >&6; }
! 3066: if { (ac_try="$ac_link"
! 3067: case "(($ac_try" in
! 3068: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3069: *) ac_try_echo=$ac_try;;
! 3070: esac
! 3071: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3072: $as_echo "$ac_try_echo") >&5
! 3073: (eval "$ac_link") 2>&5
! 3074: ac_status=$?
! 3075: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3076: (exit $ac_status); }; then
! 3077: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 3078: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 3079: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 3080: # `rm'.
! 3081: for ac_file in conftest.exe conftest conftest.*; do
! 3082: test -f "$ac_file" || continue
! 3083: case $ac_file in
! 3084: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3085: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3086: break;;
! 3087: * ) break;;
! 3088: esac
! 3089: done
! 3090: else
! 3091: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3092: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3093: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 3094: See \`config.log' for more details." >&5
! 3095: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 3096: See \`config.log' for more details." >&2;}
! 3097: { (exit 1); exit 1; }; }; }
! 3098: fi
! 3099:
! 3100: rm -f conftest$ac_cv_exeext
! 3101: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 3102: $as_echo "$ac_cv_exeext" >&6; }
! 3103:
! 3104: rm -f conftest.$ac_ext
! 3105: EXEEXT=$ac_cv_exeext
! 3106: ac_exeext=$EXEEXT
! 3107: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 3108: $as_echo_n "checking for suffix of object files... " >&6; }
! 3109: if test "${ac_cv_objext+set}" = set; then
! 3110: $as_echo_n "(cached) " >&6
! 3111: else
! 3112: cat >conftest.$ac_ext <<_ACEOF
! 3113: /* confdefs.h. */
! 3114: _ACEOF
! 3115: cat confdefs.h >>conftest.$ac_ext
! 3116: cat >>conftest.$ac_ext <<_ACEOF
! 3117: /* end confdefs.h. */
! 3118:
! 3119: int
! 3120: main ()
! 3121: {
! 3122:
! 3123: ;
! 3124: return 0;
! 3125: }
! 3126: _ACEOF
! 3127: rm -f conftest.o conftest.obj
! 3128: if { (ac_try="$ac_compile"
! 3129: case "(($ac_try" in
! 3130: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3131: *) ac_try_echo=$ac_try;;
! 3132: esac
! 3133: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3134: $as_echo "$ac_try_echo") >&5
! 3135: (eval "$ac_compile") 2>&5
! 3136: ac_status=$?
! 3137: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3138: (exit $ac_status); }; then
! 3139: for ac_file in conftest.o conftest.obj conftest.*; do
! 3140: test -f "$ac_file" || continue;
! 3141: case $ac_file in
! 3142: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 3143: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 3144: break;;
! 3145: esac
! 3146: done
! 3147: else
! 3148: $as_echo "$as_me: failed program was:" >&5
! 3149: sed 's/^/| /' conftest.$ac_ext >&5
! 3150:
! 3151: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3152: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3153: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 3154: See \`config.log' for more details." >&5
! 3155: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 3156: See \`config.log' for more details." >&2;}
! 3157: { (exit 1); exit 1; }; }; }
! 3158: fi
! 3159:
! 3160: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 3161: fi
! 3162: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 3163: $as_echo "$ac_cv_objext" >&6; }
! 3164: OBJEXT=$ac_cv_objext
! 3165: ac_objext=$OBJEXT
! 3166: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 3167: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 3168: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 3169: $as_echo_n "(cached) " >&6
! 3170: else
! 3171: cat >conftest.$ac_ext <<_ACEOF
! 3172: /* confdefs.h. */
! 3173: _ACEOF
! 3174: cat confdefs.h >>conftest.$ac_ext
! 3175: cat >>conftest.$ac_ext <<_ACEOF
! 3176: /* end confdefs.h. */
! 3177:
! 3178: int
! 3179: main ()
! 3180: {
! 3181: #ifndef __GNUC__
! 3182: choke me
! 3183: #endif
! 3184:
! 3185: ;
! 3186: return 0;
! 3187: }
! 3188: _ACEOF
! 3189: rm -f conftest.$ac_objext
! 3190: if { (ac_try="$ac_compile"
! 3191: case "(($ac_try" in
! 3192: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3193: *) ac_try_echo=$ac_try;;
! 3194: esac
! 3195: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3196: $as_echo "$ac_try_echo") >&5
! 3197: (eval "$ac_compile") 2>conftest.er1
! 3198: ac_status=$?
! 3199: grep -v '^ *+' conftest.er1 >conftest.err
! 3200: rm -f conftest.er1
! 3201: cat conftest.err >&5
! 3202: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3203: (exit $ac_status); } && {
! 3204: test -z "$ac_c_werror_flag" ||
! 3205: test ! -s conftest.err
! 3206: } && test -s conftest.$ac_objext; then
! 3207: ac_compiler_gnu=yes
! 3208: else
! 3209: $as_echo "$as_me: failed program was:" >&5
! 3210: sed 's/^/| /' conftest.$ac_ext >&5
! 3211:
! 3212: ac_compiler_gnu=no
! 3213: fi
! 3214:
! 3215: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3216: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 3217:
! 3218: fi
! 3219: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 3220: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 3221: if test $ac_compiler_gnu = yes; then
! 3222: GCC=yes
! 3223: else
! 3224: GCC=
! 3225: fi
! 3226: ac_test_CFLAGS=${CFLAGS+set}
! 3227: ac_save_CFLAGS=$CFLAGS
! 3228: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 3229: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 3230: if test "${ac_cv_prog_cc_g+set}" = set; then
! 3231: $as_echo_n "(cached) " >&6
! 3232: else
! 3233: ac_save_c_werror_flag=$ac_c_werror_flag
! 3234: ac_c_werror_flag=yes
! 3235: ac_cv_prog_cc_g=no
! 3236: CFLAGS="-g"
! 3237: cat >conftest.$ac_ext <<_ACEOF
! 3238: /* confdefs.h. */
! 3239: _ACEOF
! 3240: cat confdefs.h >>conftest.$ac_ext
! 3241: cat >>conftest.$ac_ext <<_ACEOF
! 3242: /* end confdefs.h. */
! 3243:
! 3244: int
! 3245: main ()
! 3246: {
! 3247:
! 3248: ;
! 3249: return 0;
! 3250: }
! 3251: _ACEOF
! 3252: rm -f conftest.$ac_objext
! 3253: if { (ac_try="$ac_compile"
! 3254: case "(($ac_try" in
! 3255: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3256: *) ac_try_echo=$ac_try;;
! 3257: esac
! 3258: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3259: $as_echo "$ac_try_echo") >&5
! 3260: (eval "$ac_compile") 2>conftest.er1
! 3261: ac_status=$?
! 3262: grep -v '^ *+' conftest.er1 >conftest.err
! 3263: rm -f conftest.er1
! 3264: cat conftest.err >&5
! 3265: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3266: (exit $ac_status); } && {
! 3267: test -z "$ac_c_werror_flag" ||
! 3268: test ! -s conftest.err
! 3269: } && test -s conftest.$ac_objext; then
! 3270: ac_cv_prog_cc_g=yes
! 3271: else
! 3272: $as_echo "$as_me: failed program was:" >&5
! 3273: sed 's/^/| /' conftest.$ac_ext >&5
! 3274:
! 3275: CFLAGS=""
! 3276: cat >conftest.$ac_ext <<_ACEOF
! 3277: /* confdefs.h. */
! 3278: _ACEOF
! 3279: cat confdefs.h >>conftest.$ac_ext
! 3280: cat >>conftest.$ac_ext <<_ACEOF
! 3281: /* end confdefs.h. */
! 3282:
! 3283: int
! 3284: main ()
! 3285: {
! 3286:
! 3287: ;
! 3288: return 0;
! 3289: }
! 3290: _ACEOF
! 3291: rm -f conftest.$ac_objext
! 3292: if { (ac_try="$ac_compile"
! 3293: case "(($ac_try" in
! 3294: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3295: *) ac_try_echo=$ac_try;;
! 3296: esac
! 3297: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3298: $as_echo "$ac_try_echo") >&5
! 3299: (eval "$ac_compile") 2>conftest.er1
! 3300: ac_status=$?
! 3301: grep -v '^ *+' conftest.er1 >conftest.err
! 3302: rm -f conftest.er1
! 3303: cat conftest.err >&5
! 3304: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3305: (exit $ac_status); } && {
! 3306: test -z "$ac_c_werror_flag" ||
! 3307: test ! -s conftest.err
! 3308: } && test -s conftest.$ac_objext; then
! 3309: :
! 3310: else
! 3311: $as_echo "$as_me: failed program was:" >&5
! 3312: sed 's/^/| /' conftest.$ac_ext >&5
! 3313:
! 3314: ac_c_werror_flag=$ac_save_c_werror_flag
! 3315: CFLAGS="-g"
! 3316: cat >conftest.$ac_ext <<_ACEOF
! 3317: /* confdefs.h. */
! 3318: _ACEOF
! 3319: cat confdefs.h >>conftest.$ac_ext
! 3320: cat >>conftest.$ac_ext <<_ACEOF
! 3321: /* end confdefs.h. */
! 3322:
! 3323: int
! 3324: main ()
! 3325: {
! 3326:
! 3327: ;
! 3328: return 0;
! 3329: }
! 3330: _ACEOF
! 3331: rm -f conftest.$ac_objext
! 3332: if { (ac_try="$ac_compile"
! 3333: case "(($ac_try" in
! 3334: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3335: *) ac_try_echo=$ac_try;;
! 3336: esac
! 3337: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3338: $as_echo "$ac_try_echo") >&5
! 3339: (eval "$ac_compile") 2>conftest.er1
! 3340: ac_status=$?
! 3341: grep -v '^ *+' conftest.er1 >conftest.err
! 3342: rm -f conftest.er1
! 3343: cat conftest.err >&5
! 3344: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3345: (exit $ac_status); } && {
! 3346: test -z "$ac_c_werror_flag" ||
! 3347: test ! -s conftest.err
! 3348: } && test -s conftest.$ac_objext; then
! 3349: ac_cv_prog_cc_g=yes
! 3350: else
! 3351: $as_echo "$as_me: failed program was:" >&5
! 3352: sed 's/^/| /' conftest.$ac_ext >&5
! 3353:
! 3354:
! 3355: fi
! 3356:
! 3357: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3358: fi
! 3359:
! 3360: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3361: fi
! 3362:
! 3363: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3364: ac_c_werror_flag=$ac_save_c_werror_flag
! 3365: fi
! 3366: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 3367: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 3368: if test "$ac_test_CFLAGS" = set; then
! 3369: CFLAGS=$ac_save_CFLAGS
! 3370: elif test $ac_cv_prog_cc_g = yes; then
! 3371: if test "$GCC" = yes; then
! 3372: CFLAGS="-g -O2"
! 3373: else
! 3374: CFLAGS="-g"
! 3375: fi
! 3376: else
! 3377: if test "$GCC" = yes; then
! 3378: CFLAGS="-O2"
! 3379: else
! 3380: CFLAGS=
! 3381: fi
! 3382: fi
! 3383: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 3384: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 3385: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 3386: $as_echo_n "(cached) " >&6
! 3387: else
! 3388: ac_cv_prog_cc_c89=no
! 3389: ac_save_CC=$CC
! 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: #include <stdarg.h>
! 3397: #include <stdio.h>
! 3398: #include <sys/types.h>
! 3399: #include <sys/stat.h>
! 3400: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3401: struct buf { int x; };
! 3402: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3403: static char *e (p, i)
! 3404: char **p;
! 3405: int i;
! 3406: {
! 3407: return p[i];
! 3408: }
! 3409: static char *f (char * (*g) (char **, int), char **p, ...)
! 3410: {
! 3411: char *s;
! 3412: va_list v;
! 3413: va_start (v,p);
! 3414: s = g (p, va_arg (v,int));
! 3415: va_end (v);
! 3416: return s;
! 3417: }
! 3418:
! 3419: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3420: function prototypes and stuff, but not '\xHH' hex character constants.
! 3421: These don't provoke an error unfortunately, instead are silently treated
! 3422: as 'x'. The following induces an error, until -std is added to get
! 3423: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3424: array size at least. It's necessary to write '\x00'==0 to get something
! 3425: that's true only with -std. */
! 3426: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3427:
! 3428: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3429: inside strings and character constants. */
! 3430: #define FOO(x) 'x'
! 3431: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3432:
! 3433: int test (int i, double x);
! 3434: struct s1 {int (*f) (int a);};
! 3435: struct s2 {int (*f) (double a);};
! 3436: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3437: int argc;
! 3438: char **argv;
! 3439: int
! 3440: main ()
! 3441: {
! 3442: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3443: ;
! 3444: return 0;
! 3445: }
! 3446: _ACEOF
! 3447: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3448: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3449: do
! 3450: CC="$ac_save_CC $ac_arg"
! 3451: rm -f conftest.$ac_objext
! 3452: if { (ac_try="$ac_compile"
! 3453: case "(($ac_try" in
! 3454: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3455: *) ac_try_echo=$ac_try;;
! 3456: esac
! 3457: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3458: $as_echo "$ac_try_echo") >&5
! 3459: (eval "$ac_compile") 2>conftest.er1
! 3460: ac_status=$?
! 3461: grep -v '^ *+' conftest.er1 >conftest.err
! 3462: rm -f conftest.er1
! 3463: cat conftest.err >&5
! 3464: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3465: (exit $ac_status); } && {
! 3466: test -z "$ac_c_werror_flag" ||
! 3467: test ! -s conftest.err
! 3468: } && test -s conftest.$ac_objext; then
! 3469: ac_cv_prog_cc_c89=$ac_arg
! 3470: else
! 3471: $as_echo "$as_me: failed program was:" >&5
! 3472: sed 's/^/| /' conftest.$ac_ext >&5
! 3473:
! 3474:
! 3475: fi
! 3476:
! 3477: rm -f core conftest.err conftest.$ac_objext
! 3478: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3479: done
! 3480: rm -f conftest.$ac_ext
! 3481: CC=$ac_save_CC
! 3482:
! 3483: fi
! 3484: # AC_CACHE_VAL
! 3485: case "x$ac_cv_prog_cc_c89" in
! 3486: x)
! 3487: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 3488: $as_echo "none needed" >&6; } ;;
! 3489: xno)
! 3490: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 3491: $as_echo "unsupported" >&6; } ;;
! 3492: *)
! 3493: CC="$CC $ac_cv_prog_cc_c89"
! 3494: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 3495: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 3496: esac
! 3497:
! 3498:
! 3499: ac_ext=c
! 3500: ac_cpp='$CPP $CPPFLAGS'
! 3501: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3502: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3503: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3504: DEPDIR="${am__leading_dot}deps"
! 3505:
! 3506: ac_config_commands="$ac_config_commands depfiles"
! 3507:
! 3508:
! 3509: am_make=${MAKE-make}
! 3510: cat > confinc << 'END'
! 3511: am__doit:
! 3512: @echo done
! 3513: .PHONY: am__doit
! 3514: END
! 3515: # If we don't find an include directive, just comment out the code.
! 3516: { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 3517: $as_echo_n "checking for style of include used by $am_make... " >&6; }
! 3518: am__include="#"
! 3519: am__quote=
! 3520: _am_result=none
! 3521: # First try GNU make style include.
! 3522: echo "include confinc" > confmf
! 3523: # We grep out `Entering directory' and `Leaving directory'
! 3524: # messages which can occur if `w' ends up in MAKEFLAGS.
! 3525: # In particular we don't look at `^make:' because GNU make might
! 3526: # be invoked under some other name (usually "gmake"), in which
! 3527: # case it prints its new name instead of `make'.
! 3528: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 3529: am__include=include
! 3530: am__quote=
! 3531: _am_result=GNU
! 3532: fi
! 3533: # Now try BSD make style include.
! 3534: if test "$am__include" = "#"; then
! 3535: echo '.include "confinc"' > confmf
! 3536: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 3537: am__include=.include
! 3538: am__quote="\""
! 3539: _am_result=BSD
! 3540: fi
! 3541: fi
! 3542:
! 3543:
! 3544: { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
! 3545: $as_echo "$_am_result" >&6; }
! 3546: rm -f confinc confmf
! 3547:
! 3548: # Check whether --enable-dependency-tracking was given.
! 3549: if test "${enable_dependency_tracking+set}" = set; then
! 3550: enableval=$enable_dependency_tracking;
! 3551: fi
! 3552:
! 3553: if test "x$enable_dependency_tracking" != xno; then
! 3554: am_depcomp="$ac_aux_dir/depcomp"
! 3555: AMDEPBACKSLASH='\'
! 3556: fi
! 3557:
! 3558:
! 3559: if test "x$enable_dependency_tracking" != xno; then
! 3560: AMDEP_TRUE=
! 3561: AMDEP_FALSE='#'
! 3562: else
! 3563: AMDEP_TRUE='#'
! 3564: AMDEP_FALSE=
! 3565: fi
! 3566:
! 3567:
! 3568:
! 3569:
! 3570: depcc="$CC" am_compiler_list=
! 3571:
! 3572: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 3573: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 3574: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 3575: $as_echo_n "(cached) " >&6
! 3576: else
! 3577: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 3578: # We make a subdir and do the tests there. Otherwise we can end up
! 3579: # making bogus files that we don't know about and never remove. For
! 3580: # instance it was reported that on HP-UX the gcc test will end up
! 3581: # making a dummy file named `D' -- because `-MD' means `put the output
! 3582: # in D'.
! 3583: mkdir conftest.dir
! 3584: # Copy depcomp to subdir because otherwise we won't find it if we're
! 3585: # using a relative directory.
! 3586: cp "$am_depcomp" conftest.dir
! 3587: cd conftest.dir
! 3588: # We will build objects and dependencies in a subdirectory because
! 3589: # it helps to detect inapplicable dependency modes. For instance
! 3590: # both Tru64's cc and ICC support -MD to output dependencies as a
! 3591: # side effect of compilation, but ICC will put the dependencies in
! 3592: # the current directory while Tru64 will put them in the object
! 3593: # directory.
! 3594: mkdir sub
! 3595:
! 3596: am_cv_CC_dependencies_compiler_type=none
! 3597: if test "$am_compiler_list" = ""; then
! 3598: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 3599: fi
! 3600: for depmode in $am_compiler_list; do
! 3601: # Setup a source with many dependencies, because some compilers
! 3602: # like to wrap large dependency lists on column 80 (with \), and
! 3603: # we should not choose a depcomp mode which is confused by this.
! 3604: #
! 3605: # We need to recreate these files for each test, as the compiler may
! 3606: # overwrite some of them when testing with obscure command lines.
! 3607: # This happens at least with the AIX C compiler.
! 3608: : > sub/conftest.c
! 3609: for i in 1 2 3 4 5 6; do
! 3610: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 3611: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 3612: # Solaris 8's {/usr,}/bin/sh.
! 3613: touch sub/conftst$i.h
! 3614: done
! 3615: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 3616:
! 3617: case $depmode in
! 3618: nosideeffect)
! 3619: # after this tag, mechanisms are not by side-effect, so they'll
! 3620: # only be used when explicitly requested
! 3621: if test "x$enable_dependency_tracking" = xyes; then
! 3622: continue
! 3623: else
! 3624: break
! 3625: fi
! 3626: ;;
! 3627: none) break ;;
! 3628: esac
! 3629: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 3630: # mode. It turns out that the SunPro C++ compiler does not properly
! 3631: # handle `-M -o', and we need to detect this.
! 3632: if depmode=$depmode \
! 3633: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 3634: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 3635: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 3636: >/dev/null 2>conftest.err &&
! 3637: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 3638: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 3639: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 3640: # icc doesn't choke on unknown options, it will just issue warnings
! 3641: # or remarks (even with -Werror). So we grep stderr for any message
! 3642: # that says an option was ignored or not supported.
! 3643: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 3644: # icc: Command line warning: ignoring option '-M'; no argument required
! 3645: # The diagnosis changed in icc 8.0:
! 3646: # icc: Command line remark: option '-MP' not supported
! 3647: if (grep 'ignoring option' conftest.err ||
! 3648: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 3649: am_cv_CC_dependencies_compiler_type=$depmode
! 3650: break
! 3651: fi
! 3652: fi
! 3653: done
! 3654:
! 3655: cd ..
! 3656: rm -rf conftest.dir
! 3657: else
! 3658: am_cv_CC_dependencies_compiler_type=none
! 3659: fi
! 3660:
! 3661: fi
! 3662: { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3663: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
! 3664: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 3665:
! 3666:
! 3667:
! 3668: if
! 3669: test "x$enable_dependency_tracking" != xno \
! 3670: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 3671: am__fastdepCC_TRUE=
! 3672: am__fastdepCC_FALSE='#'
! 3673: else
! 3674: am__fastdepCC_TRUE='#'
! 3675: am__fastdepCC_FALSE=
! 3676: fi
! 3677:
! 3678:
! 3679:
! 3680: { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
! 3681: $as_echo_n "checking for library containing strerror... " >&6; }
! 3682: if test "${ac_cv_search_strerror+set}" = set; then
! 3683: $as_echo_n "(cached) " >&6
! 3684: else
! 3685: ac_func_search_save_LIBS=$LIBS
! 3686: cat >conftest.$ac_ext <<_ACEOF
! 3687: /* confdefs.h. */
! 3688: _ACEOF
! 3689: cat confdefs.h >>conftest.$ac_ext
! 3690: cat >>conftest.$ac_ext <<_ACEOF
! 3691: /* end confdefs.h. */
! 3692:
! 3693: /* Override any GCC internal prototype to avoid an error.
! 3694: Use char because int might match the return type of a GCC
! 3695: builtin and then its argument prototype would still apply. */
! 3696: #ifdef __cplusplus
! 3697: extern "C"
! 3698: #endif
! 3699: char strerror ();
! 3700: int
! 3701: main ()
! 3702: {
! 3703: return strerror ();
! 3704: ;
! 3705: return 0;
! 3706: }
! 3707: _ACEOF
! 3708: for ac_lib in '' cposix; do
! 3709: if test -z "$ac_lib"; then
! 3710: ac_res="none required"
! 3711: else
! 3712: ac_res=-l$ac_lib
! 3713: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 3714: fi
! 3715: rm -f conftest.$ac_objext conftest$ac_exeext
! 3716: if { (ac_try="$ac_link"
! 3717: case "(($ac_try" in
! 3718: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3719: *) ac_try_echo=$ac_try;;
! 3720: esac
! 3721: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3722: $as_echo "$ac_try_echo") >&5
! 3723: (eval "$ac_link") 2>conftest.er1
! 3724: ac_status=$?
! 3725: grep -v '^ *+' conftest.er1 >conftest.err
! 3726: rm -f conftest.er1
! 3727: cat conftest.err >&5
! 3728: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3729: (exit $ac_status); } && {
! 3730: test -z "$ac_c_werror_flag" ||
! 3731: test ! -s conftest.err
! 3732: } && test -s conftest$ac_exeext && {
! 3733: test "$cross_compiling" = yes ||
! 3734: $as_test_x conftest$ac_exeext
! 3735: }; then
! 3736: ac_cv_search_strerror=$ac_res
! 3737: else
! 3738: $as_echo "$as_me: failed program was:" >&5
! 3739: sed 's/^/| /' conftest.$ac_ext >&5
! 3740:
! 3741:
! 3742: fi
! 3743:
! 3744: rm -rf conftest.dSYM
! 3745: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 3746: conftest$ac_exeext
! 3747: if test "${ac_cv_search_strerror+set}" = set; then
! 3748: break
! 3749: fi
! 3750: done
! 3751: if test "${ac_cv_search_strerror+set}" = set; then
! 3752: :
! 3753: else
! 3754: ac_cv_search_strerror=no
! 3755: fi
! 3756: rm conftest.$ac_ext
! 3757: LIBS=$ac_func_search_save_LIBS
! 3758: fi
! 3759: { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
! 3760: $as_echo "$ac_cv_search_strerror" >&6; }
! 3761: ac_res=$ac_cv_search_strerror
! 3762: if test "$ac_res" != no; then
! 3763: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 3764:
! 3765: fi
! 3766:
! 3767: ac_ext=c
! 3768: ac_cpp='$CPP $CPPFLAGS'
! 3769: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3770: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3771: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3772: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3773: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 3774: # On Suns, sometimes $CPP names a directory.
! 3775: if test -n "$CPP" && test -d "$CPP"; then
! 3776: CPP=
! 3777: fi
! 3778: if test -z "$CPP"; then
! 3779: if test "${ac_cv_prog_CPP+set}" = set; then
! 3780: $as_echo_n "(cached) " >&6
! 3781: else
! 3782: # Double quotes because CPP needs to be expanded
! 3783: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3784: do
! 3785: ac_preproc_ok=false
! 3786: for ac_c_preproc_warn_flag in '' yes
! 3787: do
! 3788: # Use a header file that comes with gcc, so configuring glibc
! 3789: # with a fresh cross-compiler works.
! 3790: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3791: # <limits.h> exists even on freestanding compilers.
! 3792: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3793: # not just through cpp. "Syntax error" is here to catch this case.
! 3794: cat >conftest.$ac_ext <<_ACEOF
! 3795: /* confdefs.h. */
! 3796: _ACEOF
! 3797: cat confdefs.h >>conftest.$ac_ext
! 3798: cat >>conftest.$ac_ext <<_ACEOF
! 3799: /* end confdefs.h. */
! 3800: #ifdef __STDC__
! 3801: # include <limits.h>
! 3802: #else
! 3803: # include <assert.h>
! 3804: #endif
! 3805: Syntax error
! 3806: _ACEOF
! 3807: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3808: case "(($ac_try" in
! 3809: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3810: *) ac_try_echo=$ac_try;;
! 3811: esac
! 3812: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3813: $as_echo "$ac_try_echo") >&5
! 3814: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3815: ac_status=$?
! 3816: grep -v '^ *+' conftest.er1 >conftest.err
! 3817: rm -f conftest.er1
! 3818: cat conftest.err >&5
! 3819: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3820: (exit $ac_status); } >/dev/null && {
! 3821: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3822: test ! -s conftest.err
! 3823: }; then
! 3824: :
! 3825: else
! 3826: $as_echo "$as_me: failed program was:" >&5
! 3827: sed 's/^/| /' conftest.$ac_ext >&5
! 3828:
! 3829: # Broken: fails on valid input.
! 3830: continue
! 3831: fi
! 3832:
! 3833: rm -f conftest.err conftest.$ac_ext
! 3834:
! 3835: # OK, works on sane cases. Now check whether nonexistent headers
! 3836: # can be detected and how.
! 3837: cat >conftest.$ac_ext <<_ACEOF
! 3838: /* confdefs.h. */
! 3839: _ACEOF
! 3840: cat confdefs.h >>conftest.$ac_ext
! 3841: cat >>conftest.$ac_ext <<_ACEOF
! 3842: /* end confdefs.h. */
! 3843: #include <ac_nonexistent.h>
! 3844: _ACEOF
! 3845: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3846: case "(($ac_try" in
! 3847: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3848: *) ac_try_echo=$ac_try;;
! 3849: esac
! 3850: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3851: $as_echo "$ac_try_echo") >&5
! 3852: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3853: ac_status=$?
! 3854: grep -v '^ *+' conftest.er1 >conftest.err
! 3855: rm -f conftest.er1
! 3856: cat conftest.err >&5
! 3857: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3858: (exit $ac_status); } >/dev/null && {
! 3859: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3860: test ! -s conftest.err
! 3861: }; then
! 3862: # Broken: success on invalid input.
! 3863: continue
! 3864: else
! 3865: $as_echo "$as_me: failed program was:" >&5
! 3866: sed 's/^/| /' conftest.$ac_ext >&5
! 3867:
! 3868: # Passes both tests.
! 3869: ac_preproc_ok=:
! 3870: break
! 3871: fi
! 3872:
! 3873: rm -f conftest.err conftest.$ac_ext
! 3874:
! 3875: done
! 3876: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3877: rm -f conftest.err conftest.$ac_ext
! 3878: if $ac_preproc_ok; then
! 3879: break
! 3880: fi
! 3881:
! 3882: done
! 3883: ac_cv_prog_CPP=$CPP
! 3884:
! 3885: fi
! 3886: CPP=$ac_cv_prog_CPP
! 3887: else
! 3888: ac_cv_prog_CPP=$CPP
! 3889: fi
! 3890: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
! 3891: $as_echo "$CPP" >&6; }
! 3892: ac_preproc_ok=false
! 3893: for ac_c_preproc_warn_flag in '' yes
! 3894: do
! 3895: # Use a header file that comes with gcc, so configuring glibc
! 3896: # with a fresh cross-compiler works.
! 3897: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3898: # <limits.h> exists even on freestanding compilers.
! 3899: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3900: # not just through cpp. "Syntax error" is here to catch this case.
! 3901: cat >conftest.$ac_ext <<_ACEOF
! 3902: /* confdefs.h. */
! 3903: _ACEOF
! 3904: cat confdefs.h >>conftest.$ac_ext
! 3905: cat >>conftest.$ac_ext <<_ACEOF
! 3906: /* end confdefs.h. */
! 3907: #ifdef __STDC__
! 3908: # include <limits.h>
! 3909: #else
! 3910: # include <assert.h>
! 3911: #endif
! 3912: Syntax error
! 3913: _ACEOF
! 3914: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3915: case "(($ac_try" in
! 3916: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3917: *) ac_try_echo=$ac_try;;
! 3918: esac
! 3919: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3920: $as_echo "$ac_try_echo") >&5
! 3921: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3922: ac_status=$?
! 3923: grep -v '^ *+' conftest.er1 >conftest.err
! 3924: rm -f conftest.er1
! 3925: cat conftest.err >&5
! 3926: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3927: (exit $ac_status); } >/dev/null && {
! 3928: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3929: test ! -s conftest.err
! 3930: }; then
! 3931: :
! 3932: else
! 3933: $as_echo "$as_me: failed program was:" >&5
! 3934: sed 's/^/| /' conftest.$ac_ext >&5
! 3935:
! 3936: # Broken: fails on valid input.
! 3937: continue
! 3938: fi
! 3939:
! 3940: rm -f conftest.err conftest.$ac_ext
! 3941:
! 3942: # OK, works on sane cases. Now check whether nonexistent headers
! 3943: # can be detected and how.
! 3944: cat >conftest.$ac_ext <<_ACEOF
! 3945: /* confdefs.h. */
! 3946: _ACEOF
! 3947: cat confdefs.h >>conftest.$ac_ext
! 3948: cat >>conftest.$ac_ext <<_ACEOF
! 3949: /* end confdefs.h. */
! 3950: #include <ac_nonexistent.h>
! 3951: _ACEOF
! 3952: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3953: case "(($ac_try" in
! 3954: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3955: *) ac_try_echo=$ac_try;;
! 3956: esac
! 3957: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3958: $as_echo "$ac_try_echo") >&5
! 3959: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3960: ac_status=$?
! 3961: grep -v '^ *+' conftest.er1 >conftest.err
! 3962: rm -f conftest.er1
! 3963: cat conftest.err >&5
! 3964: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3965: (exit $ac_status); } >/dev/null && {
! 3966: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3967: test ! -s conftest.err
! 3968: }; then
! 3969: # Broken: success on invalid input.
! 3970: continue
! 3971: else
! 3972: $as_echo "$as_me: failed program was:" >&5
! 3973: sed 's/^/| /' conftest.$ac_ext >&5
! 3974:
! 3975: # Passes both tests.
! 3976: ac_preproc_ok=:
! 3977: break
! 3978: fi
! 3979:
! 3980: rm -f conftest.err conftest.$ac_ext
! 3981:
! 3982: done
! 3983: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3984: rm -f conftest.err conftest.$ac_ext
! 3985: if $ac_preproc_ok; then
! 3986: :
! 3987: else
! 3988: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 3989: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3990: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3991: See \`config.log' for more details." >&5
! 3992: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3993: See \`config.log' for more details." >&2;}
! 3994: { (exit 1); exit 1; }; }; }
! 3995: fi
! 3996:
! 3997: ac_ext=c
! 3998: ac_cpp='$CPP $CPPFLAGS'
! 3999: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4000: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4001: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4002:
! 4003:
! 4004: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 4005: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 4006: if test "${ac_cv_path_GREP+set}" = set; then
! 4007: $as_echo_n "(cached) " >&6
! 4008: else
! 4009: if test -z "$GREP"; then
! 4010: ac_path_GREP_found=false
! 4011: # Loop through the user's path and test for each of PROGNAME-LIST
! 4012: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4013: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4014: do
! 4015: IFS=$as_save_IFS
! 4016: test -z "$as_dir" && as_dir=.
! 4017: for ac_prog in grep ggrep; do
! 4018: for ac_exec_ext in '' $ac_executable_extensions; do
! 4019: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 4020: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 4021: # Check for GNU ac_path_GREP and select it if it is found.
! 4022: # Check for GNU $ac_path_GREP
! 4023: case `"$ac_path_GREP" --version 2>&1` in
! 4024: *GNU*)
! 4025: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 4026: *)
! 4027: ac_count=0
! 4028: $as_echo_n 0123456789 >"conftest.in"
! 4029: while :
! 4030: do
! 4031: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4032: mv "conftest.tmp" "conftest.in"
! 4033: cp "conftest.in" "conftest.nl"
! 4034: $as_echo 'GREP' >> "conftest.nl"
! 4035: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4036: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4037: ac_count=`expr $ac_count + 1`
! 4038: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 4039: # Best one so far, save it but keep looking for a better one
! 4040: ac_cv_path_GREP="$ac_path_GREP"
! 4041: ac_path_GREP_max=$ac_count
! 4042: fi
! 4043: # 10*(2^10) chars as input seems more than enough
! 4044: test $ac_count -gt 10 && break
! 4045: done
! 4046: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4047: esac
! 4048:
! 4049: $ac_path_GREP_found && break 3
! 4050: done
! 4051: done
! 4052: done
! 4053: IFS=$as_save_IFS
! 4054: if test -z "$ac_cv_path_GREP"; then
! 4055: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 4056: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 4057: { (exit 1); exit 1; }; }
! 4058: fi
! 4059: else
! 4060: ac_cv_path_GREP=$GREP
! 4061: fi
! 4062:
! 4063: fi
! 4064: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 4065: $as_echo "$ac_cv_path_GREP" >&6; }
! 4066: GREP="$ac_cv_path_GREP"
! 4067:
! 4068:
! 4069: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
! 4070: $as_echo_n "checking for egrep... " >&6; }
! 4071: if test "${ac_cv_path_EGREP+set}" = set; then
! 4072: $as_echo_n "(cached) " >&6
! 4073: else
! 4074: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 4075: then ac_cv_path_EGREP="$GREP -E"
! 4076: else
! 4077: if test -z "$EGREP"; then
! 4078: ac_path_EGREP_found=false
! 4079: # Loop through the user's path and test for each of PROGNAME-LIST
! 4080: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4081: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4082: do
! 4083: IFS=$as_save_IFS
! 4084: test -z "$as_dir" && as_dir=.
! 4085: for ac_prog in egrep; do
! 4086: for ac_exec_ext in '' $ac_executable_extensions; do
! 4087: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4088: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 4089: # Check for GNU ac_path_EGREP and select it if it is found.
! 4090: # Check for GNU $ac_path_EGREP
! 4091: case `"$ac_path_EGREP" --version 2>&1` in
! 4092: *GNU*)
! 4093: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 4094: *)
! 4095: ac_count=0
! 4096: $as_echo_n 0123456789 >"conftest.in"
! 4097: while :
! 4098: do
! 4099: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4100: mv "conftest.tmp" "conftest.in"
! 4101: cp "conftest.in" "conftest.nl"
! 4102: $as_echo 'EGREP' >> "conftest.nl"
! 4103: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4104: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4105: ac_count=`expr $ac_count + 1`
! 4106: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 4107: # Best one so far, save it but keep looking for a better one
! 4108: ac_cv_path_EGREP="$ac_path_EGREP"
! 4109: ac_path_EGREP_max=$ac_count
! 4110: fi
! 4111: # 10*(2^10) chars as input seems more than enough
! 4112: test $ac_count -gt 10 && break
! 4113: done
! 4114: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4115: esac
! 4116:
! 4117: $ac_path_EGREP_found && break 3
! 4118: done
! 4119: done
! 4120: done
! 4121: IFS=$as_save_IFS
! 4122: if test -z "$ac_cv_path_EGREP"; then
! 4123: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 4124: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 4125: { (exit 1); exit 1; }; }
! 4126: fi
! 4127: else
! 4128: ac_cv_path_EGREP=$EGREP
! 4129: fi
! 4130:
! 4131: fi
! 4132: fi
! 4133: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 4134: $as_echo "$ac_cv_path_EGREP" >&6; }
! 4135: EGREP="$ac_cv_path_EGREP"
! 4136:
! 4137:
! 4138: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 4139: $as_echo_n "checking for ANSI C header files... " >&6; }
! 4140: if test "${ac_cv_header_stdc+set}" = set; then
! 4141: $as_echo_n "(cached) " >&6
! 4142: else
! 4143: cat >conftest.$ac_ext <<_ACEOF
! 4144: /* confdefs.h. */
! 4145: _ACEOF
! 4146: cat confdefs.h >>conftest.$ac_ext
! 4147: cat >>conftest.$ac_ext <<_ACEOF
! 4148: /* end confdefs.h. */
! 4149: #include <stdlib.h>
! 4150: #include <stdarg.h>
! 4151: #include <string.h>
! 4152: #include <float.h>
! 4153:
! 4154: int
! 4155: main ()
! 4156: {
! 4157:
! 4158: ;
! 4159: return 0;
! 4160: }
! 4161: _ACEOF
! 4162: rm -f conftest.$ac_objext
! 4163: if { (ac_try="$ac_compile"
! 4164: case "(($ac_try" in
! 4165: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4166: *) ac_try_echo=$ac_try;;
! 4167: esac
! 4168: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4169: $as_echo "$ac_try_echo") >&5
! 4170: (eval "$ac_compile") 2>conftest.er1
! 4171: ac_status=$?
! 4172: grep -v '^ *+' conftest.er1 >conftest.err
! 4173: rm -f conftest.er1
! 4174: cat conftest.err >&5
! 4175: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4176: (exit $ac_status); } && {
! 4177: test -z "$ac_c_werror_flag" ||
! 4178: test ! -s conftest.err
! 4179: } && test -s conftest.$ac_objext; then
! 4180: ac_cv_header_stdc=yes
! 4181: else
! 4182: $as_echo "$as_me: failed program was:" >&5
! 4183: sed 's/^/| /' conftest.$ac_ext >&5
! 4184:
! 4185: ac_cv_header_stdc=no
! 4186: fi
! 4187:
! 4188: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4189:
! 4190: if test $ac_cv_header_stdc = yes; then
! 4191: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 4192: cat >conftest.$ac_ext <<_ACEOF
! 4193: /* confdefs.h. */
! 4194: _ACEOF
! 4195: cat confdefs.h >>conftest.$ac_ext
! 4196: cat >>conftest.$ac_ext <<_ACEOF
! 4197: /* end confdefs.h. */
! 4198: #include <string.h>
! 4199:
! 4200: _ACEOF
! 4201: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4202: $EGREP "memchr" >/dev/null 2>&1; then
! 4203: :
! 4204: else
! 4205: ac_cv_header_stdc=no
! 4206: fi
! 4207: rm -f conftest*
! 4208:
! 4209: fi
! 4210:
! 4211: if test $ac_cv_header_stdc = yes; then
! 4212: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 4213: cat >conftest.$ac_ext <<_ACEOF
! 4214: /* confdefs.h. */
! 4215: _ACEOF
! 4216: cat confdefs.h >>conftest.$ac_ext
! 4217: cat >>conftest.$ac_ext <<_ACEOF
! 4218: /* end confdefs.h. */
! 4219: #include <stdlib.h>
! 4220:
! 4221: _ACEOF
! 4222: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4223: $EGREP "free" >/dev/null 2>&1; then
! 4224: :
! 4225: else
! 4226: ac_cv_header_stdc=no
! 4227: fi
! 4228: rm -f conftest*
! 4229:
! 4230: fi
! 4231:
! 4232: if test $ac_cv_header_stdc = yes; then
! 4233: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 4234: if test "$cross_compiling" = yes; then
! 4235: :
! 4236: else
! 4237: cat >conftest.$ac_ext <<_ACEOF
! 4238: /* confdefs.h. */
! 4239: _ACEOF
! 4240: cat confdefs.h >>conftest.$ac_ext
! 4241: cat >>conftest.$ac_ext <<_ACEOF
! 4242: /* end confdefs.h. */
! 4243: #include <ctype.h>
! 4244: #include <stdlib.h>
! 4245: #if ((' ' & 0x0FF) == 0x020)
! 4246: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 4247: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 4248: #else
! 4249: # define ISLOWER(c) \
! 4250: (('a' <= (c) && (c) <= 'i') \
! 4251: || ('j' <= (c) && (c) <= 'r') \
! 4252: || ('s' <= (c) && (c) <= 'z'))
! 4253: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 4254: #endif
! 4255:
! 4256: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 4257: int
! 4258: main ()
! 4259: {
! 4260: int i;
! 4261: for (i = 0; i < 256; i++)
! 4262: if (XOR (islower (i), ISLOWER (i))
! 4263: || toupper (i) != TOUPPER (i))
! 4264: return 2;
! 4265: return 0;
! 4266: }
! 4267: _ACEOF
! 4268: rm -f conftest$ac_exeext
! 4269: if { (ac_try="$ac_link"
! 4270: case "(($ac_try" in
! 4271: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4272: *) ac_try_echo=$ac_try;;
! 4273: esac
! 4274: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4275: $as_echo "$ac_try_echo") >&5
! 4276: (eval "$ac_link") 2>&5
! 4277: ac_status=$?
! 4278: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4279: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4280: { (case "(($ac_try" in
! 4281: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4282: *) ac_try_echo=$ac_try;;
! 4283: esac
! 4284: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4285: $as_echo "$ac_try_echo") >&5
! 4286: (eval "$ac_try") 2>&5
! 4287: ac_status=$?
! 4288: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4289: (exit $ac_status); }; }; then
! 4290: :
! 4291: else
! 4292: $as_echo "$as_me: program exited with status $ac_status" >&5
! 4293: $as_echo "$as_me: failed program was:" >&5
! 4294: sed 's/^/| /' conftest.$ac_ext >&5
! 4295:
! 4296: ( exit $ac_status )
! 4297: ac_cv_header_stdc=no
! 4298: fi
! 4299: rm -rf conftest.dSYM
! 4300: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4301: fi
! 4302:
! 4303:
! 4304: fi
! 4305: fi
! 4306: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 4307: $as_echo "$ac_cv_header_stdc" >&6; }
! 4308: if test $ac_cv_header_stdc = yes; then
! 4309:
! 4310: cat >>confdefs.h <<\_ACEOF
! 4311: #define STDC_HEADERS 1
! 4312: _ACEOF
! 4313:
! 4314: fi
! 4315:
! 4316: # Check whether --enable-shared was given.
! 4317: if test "${enable_shared+set}" = set; then
! 4318: enableval=$enable_shared; p=${PACKAGE-default}
! 4319: case $enableval in
! 4320: yes) enable_shared=yes ;;
! 4321: no) enable_shared=no ;;
! 4322: *)
! 4323: enable_shared=no
! 4324: # Look at the argument we got. We use all the common list separators.
! 4325: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 4326: for pkg in $enableval; do
! 4327: IFS="$lt_save_ifs"
! 4328: if test "X$pkg" = "X$p"; then
! 4329: enable_shared=yes
! 4330: fi
! 4331: done
! 4332: IFS="$lt_save_ifs"
! 4333: ;;
! 4334: esac
! 4335: else
! 4336: enable_shared=yes
! 4337: fi
! 4338:
! 4339:
! 4340: # Check whether --enable-static was given.
! 4341: if test "${enable_static+set}" = set; then
! 4342: enableval=$enable_static; p=${PACKAGE-default}
! 4343: case $enableval in
! 4344: yes) enable_static=yes ;;
! 4345: no) enable_static=no ;;
! 4346: *)
! 4347: enable_static=no
! 4348: # Look at the argument we got. We use all the common list separators.
! 4349: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 4350: for pkg in $enableval; do
! 4351: IFS="$lt_save_ifs"
! 4352: if test "X$pkg" = "X$p"; then
! 4353: enable_static=yes
! 4354: fi
! 4355: done
! 4356: IFS="$lt_save_ifs"
! 4357: ;;
! 4358: esac
! 4359: else
! 4360: enable_static=yes
! 4361: fi
! 4362:
! 4363:
! 4364: # Check whether --enable-fast-install was given.
! 4365: if test "${enable_fast_install+set}" = set; then
! 4366: enableval=$enable_fast_install; p=${PACKAGE-default}
! 4367: case $enableval in
! 4368: yes) enable_fast_install=yes ;;
! 4369: no) enable_fast_install=no ;;
! 4370: *)
! 4371: enable_fast_install=no
! 4372: # Look at the argument we got. We use all the common list separators.
! 4373: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 4374: for pkg in $enableval; do
! 4375: IFS="$lt_save_ifs"
! 4376: if test "X$pkg" = "X$p"; then
! 4377: enable_fast_install=yes
! 4378: fi
! 4379: done
! 4380: IFS="$lt_save_ifs"
! 4381: ;;
! 4382: esac
! 4383: else
! 4384: enable_fast_install=yes
! 4385: fi
! 4386:
! 4387:
! 4388: # Make sure we can run config.sub.
! 4389: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 4390: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 4391: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 4392: { (exit 1); exit 1; }; }
! 4393:
! 4394: { $as_echo "$as_me:$LINENO: checking build system type" >&5
! 4395: $as_echo_n "checking build system type... " >&6; }
! 4396: if test "${ac_cv_build+set}" = set; then
! 4397: $as_echo_n "(cached) " >&6
! 4398: else
! 4399: ac_build_alias=$build_alias
! 4400: test "x$ac_build_alias" = x &&
! 4401: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 4402: test "x$ac_build_alias" = x &&
! 4403: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 4404: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 4405: { (exit 1); exit 1; }; }
! 4406: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 4407: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 4408: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 4409: { (exit 1); exit 1; }; }
! 4410:
! 4411: fi
! 4412: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 4413: $as_echo "$ac_cv_build" >&6; }
! 4414: case $ac_cv_build in
! 4415: *-*-*) ;;
! 4416: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 4417: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
! 4418: { (exit 1); exit 1; }; };;
! 4419: esac
! 4420: build=$ac_cv_build
! 4421: ac_save_IFS=$IFS; IFS='-'
! 4422: set x $ac_cv_build
! 4423: shift
! 4424: build_cpu=$1
! 4425: build_vendor=$2
! 4426: shift; shift
! 4427: # Remember, the first character of IFS is used to create $*,
! 4428: # except with old shells:
! 4429: build_os=$*
! 4430: IFS=$ac_save_IFS
! 4431: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 4432:
! 4433:
! 4434: { $as_echo "$as_me:$LINENO: checking host system type" >&5
! 4435: $as_echo_n "checking host system type... " >&6; }
! 4436: if test "${ac_cv_host+set}" = set; then
! 4437: $as_echo_n "(cached) " >&6
! 4438: else
! 4439: if test "x$host_alias" = x; then
! 4440: ac_cv_host=$ac_cv_build
! 4441: else
! 4442: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 4443: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 4444: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 4445: { (exit 1); exit 1; }; }
! 4446: fi
! 4447:
! 4448: fi
! 4449: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 4450: $as_echo "$ac_cv_host" >&6; }
! 4451: case $ac_cv_host in
! 4452: *-*-*) ;;
! 4453: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 4454: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
! 4455: { (exit 1); exit 1; }; };;
! 4456: esac
! 4457: host=$ac_cv_host
! 4458: ac_save_IFS=$IFS; IFS='-'
! 4459: set x $ac_cv_host
! 4460: shift
! 4461: host_cpu=$1
! 4462: host_vendor=$2
! 4463: shift; shift
! 4464: # Remember, the first character of IFS is used to create $*,
! 4465: # except with old shells:
! 4466: host_os=$*
! 4467: IFS=$ac_save_IFS
! 4468: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 4469:
! 4470:
! 4471: { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 4472: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 4473: if test "${lt_cv_path_SED+set}" = set; then
! 4474: $as_echo_n "(cached) " >&6
! 4475: else
! 4476: # Loop through the user's path and test for sed and gsed.
! 4477: # Then use that list of sed's as ones to test for truncation.
! 4478: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4479: for as_dir in $PATH
! 4480: do
! 4481: IFS=$as_save_IFS
! 4482: test -z "$as_dir" && as_dir=.
! 4483: for lt_ac_prog in sed gsed; do
! 4484: for ac_exec_ext in '' $ac_executable_extensions; do
! 4485: if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
! 4486: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 4487: fi
! 4488: done
! 4489: done
! 4490: done
! 4491: IFS=$as_save_IFS
! 4492: lt_ac_max=0
! 4493: lt_ac_count=0
! 4494: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 4495: # along with /bin/sed that truncates output.
! 4496: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 4497: test ! -f $lt_ac_sed && continue
! 4498: cat /dev/null > conftest.in
! 4499: lt_ac_count=0
! 4500: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 4501: # Check for GNU sed and select it if it is found.
! 4502: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 4503: lt_cv_path_SED=$lt_ac_sed
! 4504: break
! 4505: fi
! 4506: while true; do
! 4507: cat conftest.in conftest.in >conftest.tmp
! 4508: mv conftest.tmp conftest.in
! 4509: cp conftest.in conftest.nl
! 4510: echo >>conftest.nl
! 4511: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 4512: cmp -s conftest.out conftest.nl || break
! 4513: # 10000 chars as input seems more than enough
! 4514: test $lt_ac_count -gt 10 && break
! 4515: lt_ac_count=`expr $lt_ac_count + 1`
! 4516: if test $lt_ac_count -gt $lt_ac_max; then
! 4517: lt_ac_max=$lt_ac_count
! 4518: lt_cv_path_SED=$lt_ac_sed
! 4519: fi
! 4520: done
! 4521: done
! 4522:
! 4523: fi
! 4524:
! 4525: SED=$lt_cv_path_SED
! 4526:
! 4527: { $as_echo "$as_me:$LINENO: result: $SED" >&5
! 4528: $as_echo "$SED" >&6; }
! 4529:
! 4530:
! 4531: # Check whether --with-gnu-ld was given.
! 4532: if test "${with_gnu_ld+set}" = set; then
! 4533: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 4534: else
! 4535: with_gnu_ld=no
! 4536: fi
! 4537:
! 4538: ac_prog=ld
! 4539: if test "$GCC" = yes; then
! 4540: # Check if gcc -print-prog-name=ld gives a path.
! 4541: { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 4542: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4543: case $host in
! 4544: *-*-mingw*)
! 4545: # gcc leaves a trailing carriage return which upsets mingw
! 4546: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4547: *)
! 4548: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4549: esac
! 4550: case $ac_prog in
! 4551: # Accept absolute paths.
! 4552: [\\/]* | ?:[\\/]*)
! 4553: re_direlt='/[^/][^/]*/\.\./'
! 4554: # Canonicalize the pathname of ld
! 4555: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 4556: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 4557: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 4558: done
! 4559: test -z "$LD" && LD="$ac_prog"
! 4560: ;;
! 4561: "")
! 4562: # If it fails, then pretend we aren't using GCC.
! 4563: ac_prog=ld
! 4564: ;;
! 4565: *)
! 4566: # If it is relative, then search for the first ld in PATH.
! 4567: with_gnu_ld=unknown
! 4568: ;;
! 4569: esac
! 4570: elif test "$with_gnu_ld" = yes; then
! 4571: { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
! 4572: $as_echo_n "checking for GNU ld... " >&6; }
! 4573: else
! 4574: { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 4575: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4576: fi
! 4577: if test "${lt_cv_path_LD+set}" = set; then
! 4578: $as_echo_n "(cached) " >&6
! 4579: else
! 4580: if test -z "$LD"; then
! 4581: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4582: for ac_dir in $PATH; do
! 4583: IFS="$lt_save_ifs"
! 4584: test -z "$ac_dir" && ac_dir=.
! 4585: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4586: lt_cv_path_LD="$ac_dir/$ac_prog"
! 4587: # Check to see if the program is GNU ld. I'd rather use --version,
! 4588: # but apparently some variants of GNU ld only accept -v.
! 4589: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4590: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4591: *GNU* | *'with BFD'*)
! 4592: test "$with_gnu_ld" != no && break
! 4593: ;;
! 4594: *)
! 4595: test "$with_gnu_ld" != yes && break
! 4596: ;;
! 4597: esac
! 4598: fi
! 4599: done
! 4600: IFS="$lt_save_ifs"
! 4601: else
! 4602: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 4603: fi
! 4604: fi
! 4605:
! 4606: LD="$lt_cv_path_LD"
! 4607: if test -n "$LD"; then
! 4608: { $as_echo "$as_me:$LINENO: result: $LD" >&5
! 4609: $as_echo "$LD" >&6; }
! 4610: else
! 4611: { $as_echo "$as_me:$LINENO: result: no" >&5
! 4612: $as_echo "no" >&6; }
! 4613: fi
! 4614: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 4615: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 4616: { (exit 1); exit 1; }; }
! 4617: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 4618: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4619: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 4620: $as_echo_n "(cached) " >&6
! 4621: else
! 4622: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4623: case `$LD -v 2>&1 </dev/null` in
! 4624: *GNU* | *'with BFD'*)
! 4625: lt_cv_prog_gnu_ld=yes
! 4626: ;;
! 4627: *)
! 4628: lt_cv_prog_gnu_ld=no
! 4629: ;;
! 4630: esac
! 4631: fi
! 4632: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 4633: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4634: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4635:
! 4636:
! 4637: { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 4638: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 4639: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 4640: $as_echo_n "(cached) " >&6
! 4641: else
! 4642: lt_cv_ld_reload_flag='-r'
! 4643: fi
! 4644: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 4645: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 4646: reload_flag=$lt_cv_ld_reload_flag
! 4647: case $reload_flag in
! 4648: "" | " "*) ;;
! 4649: *) reload_flag=" $reload_flag" ;;
! 4650: esac
! 4651: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4652: case $host_os in
! 4653: darwin*)
! 4654: if test "$GCC" = yes; then
! 4655: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 4656: else
! 4657: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 4658: fi
! 4659: ;;
! 4660: esac
! 4661:
! 4662: { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 4663: $as_echo_n "checking for BSD-compatible nm... " >&6; }
! 4664: if test "${lt_cv_path_NM+set}" = set; then
! 4665: $as_echo_n "(cached) " >&6
! 4666: else
! 4667: if test -n "$NM"; then
! 4668: # Let the user override the test.
! 4669: lt_cv_path_NM="$NM"
! 4670: else
! 4671: lt_nm_to_check="${ac_tool_prefix}nm"
! 4672: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 4673: lt_nm_to_check="$lt_nm_to_check nm"
! 4674: fi
! 4675: for lt_tmp_nm in $lt_nm_to_check; do
! 4676: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 4677: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 4678: IFS="$lt_save_ifs"
! 4679: test -z "$ac_dir" && ac_dir=.
! 4680: tmp_nm="$ac_dir/$lt_tmp_nm"
! 4681: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 4682: # Check to see if the nm accepts a BSD-compat flag.
! 4683: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 4684: # nm: unknown option "B" ignored
! 4685: # Tru64's nm complains that /dev/null is an invalid object file
! 4686: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 4687: */dev/null* | *'Invalid file or object type'*)
! 4688: lt_cv_path_NM="$tmp_nm -B"
! 4689: break
! 4690: ;;
! 4691: *)
! 4692: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 4693: */dev/null*)
! 4694: lt_cv_path_NM="$tmp_nm -p"
! 4695: break
! 4696: ;;
! 4697: *)
! 4698: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 4699: continue # so that we can try to find one that supports BSD flags
! 4700: ;;
! 4701: esac
! 4702: ;;
! 4703: esac
! 4704: fi
! 4705: done
! 4706: IFS="$lt_save_ifs"
! 4707: done
! 4708: test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
! 4709: fi
! 4710: fi
! 4711: { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 4712: $as_echo "$lt_cv_path_NM" >&6; }
! 4713: NM="$lt_cv_path_NM"
! 4714:
! 4715: { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 4716: $as_echo_n "checking whether ln -s works... " >&6; }
! 4717: LN_S=$as_ln_s
! 4718: if test "$LN_S" = "ln -s"; then
! 4719: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 4720: $as_echo "yes" >&6; }
! 4721: else
! 4722: { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 4723: $as_echo "no, using $LN_S" >&6; }
! 4724: fi
! 4725:
! 4726: { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! 4727: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 4728: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4729: $as_echo_n "(cached) " >&6
! 4730: else
! 4731: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4732: lt_cv_file_magic_test_file=
! 4733: lt_cv_deplibs_check_method='unknown'
! 4734: # Need to set the preceding variable on all platforms that support
! 4735: # interlibrary dependencies.
! 4736: # 'none' -- dependencies not supported.
! 4737: # `unknown' -- same as none, but documents that we really don't know.
! 4738: # 'pass_all' -- all dependencies passed with no checks.
! 4739: # 'test_compile' -- check by making test program.
! 4740: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4741: # which responds to the $file_magic_cmd with a given extended regex.
! 4742: # If you have `file' or equivalent on your system and you're not sure
! 4743: # whether `pass_all' will *always* work, you probably want this one.
! 4744:
! 4745: case $host_os in
! 4746: aix[4-9]*)
! 4747: lt_cv_deplibs_check_method=pass_all
! 4748: ;;
! 4749:
! 4750: beos*)
! 4751: lt_cv_deplibs_check_method=pass_all
! 4752: ;;
! 4753:
! 4754: bsdi[45]*)
! 4755: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4756: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4757: lt_cv_file_magic_test_file=/shlib/libc.so
! 4758: ;;
! 4759:
! 4760: cygwin*)
! 4761: # func_win32_libid is a shell function defined in ltmain.sh
! 4762: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4763: lt_cv_file_magic_cmd='func_win32_libid'
! 4764: ;;
! 4765:
! 4766: mingw* | pw32*)
! 4767: # Base MSYS/MinGW do not provide the 'file' command needed by
! 4768: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 4769: # unless we find 'file', for example because we are cross-compiling.
! 4770: if ( file / ) >/dev/null 2>&1; then
! 4771: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 4772: lt_cv_file_magic_cmd='func_win32_libid'
! 4773: else
! 4774: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 4775: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4776: fi
! 4777: ;;
! 4778:
! 4779: darwin* | rhapsody*)
! 4780: lt_cv_deplibs_check_method=pass_all
! 4781: ;;
! 4782:
! 4783: freebsd* | dragonfly*)
! 4784: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4785: case $host_cpu in
! 4786: i*86 )
! 4787: # Not sure whether the presence of OpenBSD here was a mistake.
! 4788: # Let's accept both of them until this is cleared up.
! 4789: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 4790: lt_cv_file_magic_cmd=/usr/bin/file
! 4791: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 4792: ;;
! 4793: esac
! 4794: else
! 4795: lt_cv_deplibs_check_method=pass_all
! 4796: fi
! 4797: ;;
! 4798:
! 4799: gnu*)
! 4800: lt_cv_deplibs_check_method=pass_all
! 4801: ;;
! 4802:
! 4803: hpux10.20* | hpux11*)
! 4804: lt_cv_file_magic_cmd=/usr/bin/file
! 4805: case $host_cpu in
! 4806: ia64*)
! 4807: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 4808: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 4809: ;;
! 4810: hppa*64*)
! 4811: 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]'
! 4812: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 4813: ;;
! 4814: *)
! 4815: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 4816: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 4817: ;;
! 4818: esac
! 4819: ;;
! 4820:
! 4821: interix[3-9]*)
! 4822: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 4823: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 4824: ;;
! 4825:
! 4826: irix5* | irix6* | nonstopux*)
! 4827: case $LD in
! 4828: *-32|*"-32 ") libmagic=32-bit;;
! 4829: *-n32|*"-n32 ") libmagic=N32;;
! 4830: *-64|*"-64 ") libmagic=64-bit;;
! 4831: *) libmagic=never-match;;
! 4832: esac
! 4833: lt_cv_deplibs_check_method=pass_all
! 4834: ;;
! 4835:
! 4836: # This must be Linux ELF.
! 4837: linux* | k*bsd*-gnu)
! 4838: lt_cv_deplibs_check_method=pass_all
! 4839: ;;
! 4840:
! 4841: netbsd* | netbsdelf*-gnu)
! 4842: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4843: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 4844: else
! 4845: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 4846: fi
! 4847: ;;
! 4848:
! 4849: newos6*)
! 4850: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 4851: lt_cv_file_magic_cmd=/usr/bin/file
! 4852: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 4853: ;;
! 4854:
! 4855: nto-qnx*)
! 4856: lt_cv_deplibs_check_method=unknown
! 4857: ;;
! 4858:
! 4859: openbsd*)
! 4860: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4861: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 4862: else
! 4863: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 4864: fi
! 4865: ;;
! 4866:
! 4867: osf3* | osf4* | osf5*)
! 4868: lt_cv_deplibs_check_method=pass_all
! 4869: ;;
! 4870:
! 4871: rdos*)
! 4872: lt_cv_deplibs_check_method=pass_all
! 4873: ;;
! 4874:
! 4875: solaris*)
! 4876: lt_cv_deplibs_check_method=pass_all
! 4877: ;;
! 4878:
! 4879: sysv4 | sysv4.3*)
! 4880: case $host_vendor in
! 4881: motorola)
! 4882: 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]'
! 4883: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 4884: ;;
! 4885: ncr)
! 4886: lt_cv_deplibs_check_method=pass_all
! 4887: ;;
! 4888: sequent)
! 4889: lt_cv_file_magic_cmd='/bin/file'
! 4890: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 4891: ;;
! 4892: sni)
! 4893: lt_cv_file_magic_cmd='/bin/file'
! 4894: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 4895: lt_cv_file_magic_test_file=/lib/libc.so
! 4896: ;;
! 4897: siemens)
! 4898: lt_cv_deplibs_check_method=pass_all
! 4899: ;;
! 4900: pc)
! 4901: lt_cv_deplibs_check_method=pass_all
! 4902: ;;
! 4903: esac
! 4904: ;;
! 4905:
! 4906: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 4907: lt_cv_deplibs_check_method=pass_all
! 4908: ;;
! 4909: esac
! 4910:
! 4911: fi
! 4912: { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 4913: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 4914: file_magic_cmd=$lt_cv_file_magic_cmd
! 4915: deplibs_check_method=$lt_cv_deplibs_check_method
! 4916: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 4917:
! 4918:
! 4919:
! 4920:
! 4921: # If no C compiler was specified, use CC.
! 4922: LTCC=${LTCC-"$CC"}
! 4923:
! 4924: # If no C compiler flags were specified, use CFLAGS.
! 4925: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 4926:
! 4927: # Allow CC to be a program name with arguments.
! 4928: compiler=$CC
! 4929:
! 4930: # Check whether --enable-libtool-lock was given.
! 4931: if test "${enable_libtool_lock+set}" = set; then
! 4932: enableval=$enable_libtool_lock;
! 4933: fi
! 4934:
! 4935: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 4936:
! 4937: # Some flags need to be propagated to the compiler or linker for good
! 4938: # libtool support.
! 4939: case $host in
! 4940: ia64-*-hpux*)
! 4941: # Find out which ABI we are using.
! 4942: echo 'int i;' > conftest.$ac_ext
! 4943: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4944: (eval $ac_compile) 2>&5
! 4945: ac_status=$?
! 4946: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4947: (exit $ac_status); }; then
! 4948: case `/usr/bin/file conftest.$ac_objext` in
! 4949: *ELF-32*)
! 4950: HPUX_IA64_MODE="32"
! 4951: ;;
! 4952: *ELF-64*)
! 4953: HPUX_IA64_MODE="64"
! 4954: ;;
! 4955: esac
! 4956: fi
! 4957: rm -rf conftest*
! 4958: ;;
! 4959: *-*-irix6*)
! 4960: # Find out which ABI we are using.
! 4961: echo '#line 4961 "configure"' > conftest.$ac_ext
! 4962: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4963: (eval $ac_compile) 2>&5
! 4964: ac_status=$?
! 4965: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4966: (exit $ac_status); }; then
! 4967: if test "$lt_cv_prog_gnu_ld" = yes; then
! 4968: case `/usr/bin/file conftest.$ac_objext` in
! 4969: *32-bit*)
! 4970: LD="${LD-ld} -melf32bsmip"
! 4971: ;;
! 4972: *N32*)
! 4973: LD="${LD-ld} -melf32bmipn32"
! 4974: ;;
! 4975: *64-bit*)
! 4976: LD="${LD-ld} -melf64bmip"
! 4977: ;;
! 4978: esac
! 4979: else
! 4980: case `/usr/bin/file conftest.$ac_objext` in
! 4981: *32-bit*)
! 4982: LD="${LD-ld} -32"
! 4983: ;;
! 4984: *N32*)
! 4985: LD="${LD-ld} -n32"
! 4986: ;;
! 4987: *64-bit*)
! 4988: LD="${LD-ld} -64"
! 4989: ;;
! 4990: esac
! 4991: fi
! 4992: fi
! 4993: rm -rf conftest*
! 4994: ;;
! 4995:
! 4996: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 4997: s390*-*linux*|sparc*-*linux*)
! 4998: # Find out which ABI we are using.
! 4999: echo 'int i;' > conftest.$ac_ext
! 5000: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5001: (eval $ac_compile) 2>&5
! 5002: ac_status=$?
! 5003: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5004: (exit $ac_status); }; then
! 5005: case `/usr/bin/file conftest.o` in
! 5006: *32-bit*)
! 5007: case $host in
! 5008: x86_64-*kfreebsd*-gnu)
! 5009: LD="${LD-ld} -m elf_i386_fbsd"
! 5010: ;;
! 5011: x86_64-*linux*)
! 5012: LD="${LD-ld} -m elf_i386"
! 5013: ;;
! 5014: ppc64-*linux*|powerpc64-*linux*)
! 5015: LD="${LD-ld} -m elf32ppclinux"
! 5016: ;;
! 5017: s390x-*linux*)
! 5018: LD="${LD-ld} -m elf_s390"
! 5019: ;;
! 5020: sparc64-*linux*)
! 5021: LD="${LD-ld} -m elf32_sparc"
! 5022: ;;
! 5023: esac
! 5024: ;;
! 5025: *64-bit*)
! 5026: case $host in
! 5027: x86_64-*kfreebsd*-gnu)
! 5028: LD="${LD-ld} -m elf_x86_64_fbsd"
! 5029: ;;
! 5030: x86_64-*linux*)
! 5031: LD="${LD-ld} -m elf_x86_64"
! 5032: ;;
! 5033: ppc*-*linux*|powerpc*-*linux*)
! 5034: LD="${LD-ld} -m elf64ppc"
! 5035: ;;
! 5036: s390*-*linux*)
! 5037: LD="${LD-ld} -m elf64_s390"
! 5038: ;;
! 5039: sparc*-*linux*)
! 5040: LD="${LD-ld} -m elf64_sparc"
! 5041: ;;
! 5042: esac
! 5043: ;;
! 5044: esac
! 5045: fi
! 5046: rm -rf conftest*
! 5047: ;;
! 5048:
! 5049: *-*-sco3.2v5*)
! 5050: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5051: SAVE_CFLAGS="$CFLAGS"
! 5052: CFLAGS="$CFLAGS -belf"
! 5053: { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5054: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 5055: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 5056: $as_echo_n "(cached) " >&6
! 5057: else
! 5058: ac_ext=c
! 5059: ac_cpp='$CPP $CPPFLAGS'
! 5060: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5061: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5062: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5063:
! 5064: cat >conftest.$ac_ext <<_ACEOF
! 5065: /* confdefs.h. */
! 5066: _ACEOF
! 5067: cat confdefs.h >>conftest.$ac_ext
! 5068: cat >>conftest.$ac_ext <<_ACEOF
! 5069: /* end confdefs.h. */
! 5070:
! 5071: int
! 5072: main ()
! 5073: {
! 5074:
! 5075: ;
! 5076: return 0;
! 5077: }
! 5078: _ACEOF
! 5079: rm -f conftest.$ac_objext conftest$ac_exeext
! 5080: if { (ac_try="$ac_link"
! 5081: case "(($ac_try" in
! 5082: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5083: *) ac_try_echo=$ac_try;;
! 5084: esac
! 5085: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5086: $as_echo "$ac_try_echo") >&5
! 5087: (eval "$ac_link") 2>conftest.er1
! 5088: ac_status=$?
! 5089: grep -v '^ *+' conftest.er1 >conftest.err
! 5090: rm -f conftest.er1
! 5091: cat conftest.err >&5
! 5092: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5093: (exit $ac_status); } && {
! 5094: test -z "$ac_c_werror_flag" ||
! 5095: test ! -s conftest.err
! 5096: } && test -s conftest$ac_exeext && {
! 5097: test "$cross_compiling" = yes ||
! 5098: $as_test_x conftest$ac_exeext
! 5099: }; then
! 5100: lt_cv_cc_needs_belf=yes
! 5101: else
! 5102: $as_echo "$as_me: failed program was:" >&5
! 5103: sed 's/^/| /' conftest.$ac_ext >&5
! 5104:
! 5105: lt_cv_cc_needs_belf=no
! 5106: fi
! 5107:
! 5108: rm -rf conftest.dSYM
! 5109: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 5110: conftest$ac_exeext conftest.$ac_ext
! 5111: ac_ext=c
! 5112: ac_cpp='$CPP $CPPFLAGS'
! 5113: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5114: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5115: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5116:
! 5117: fi
! 5118: { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5119: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 5120: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5121: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5122: CFLAGS="$SAVE_CFLAGS"
! 5123: fi
! 5124: ;;
! 5125: sparc*-*solaris*)
! 5126: # Find out which ABI we are using.
! 5127: echo 'int i;' > conftest.$ac_ext
! 5128: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5129: (eval $ac_compile) 2>&5
! 5130: ac_status=$?
! 5131: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5132: (exit $ac_status); }; then
! 5133: case `/usr/bin/file conftest.o` in
! 5134: *64-bit*)
! 5135: case $lt_cv_prog_gnu_ld in
! 5136: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 5137: *)
! 5138: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 5139: LD="${LD-ld} -64"
! 5140: fi
! 5141: ;;
! 5142: esac
! 5143: ;;
! 5144: esac
! 5145: fi
! 5146: rm -rf conftest*
! 5147: ;;
! 5148:
! 5149:
! 5150: esac
! 5151:
! 5152: need_locks="$enable_libtool_lock"
! 5153:
! 5154:
! 5155: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 5156:
! 5157:
! 5158:
! 5159:
! 5160:
! 5161:
! 5162:
! 5163:
! 5164:
! 5165: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 5166: inttypes.h stdint.h unistd.h
! 5167: do
! 5168: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5169: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5170: $as_echo_n "checking for $ac_header... " >&6; }
! 5171: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5172: $as_echo_n "(cached) " >&6
! 5173: else
! 5174: cat >conftest.$ac_ext <<_ACEOF
! 5175: /* confdefs.h. */
! 5176: _ACEOF
! 5177: cat confdefs.h >>conftest.$ac_ext
! 5178: cat >>conftest.$ac_ext <<_ACEOF
! 5179: /* end confdefs.h. */
! 5180: $ac_includes_default
! 5181:
! 5182: #include <$ac_header>
! 5183: _ACEOF
! 5184: rm -f conftest.$ac_objext
! 5185: if { (ac_try="$ac_compile"
! 5186: case "(($ac_try" in
! 5187: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5188: *) ac_try_echo=$ac_try;;
! 5189: esac
! 5190: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5191: $as_echo "$ac_try_echo") >&5
! 5192: (eval "$ac_compile") 2>conftest.er1
! 5193: ac_status=$?
! 5194: grep -v '^ *+' conftest.er1 >conftest.err
! 5195: rm -f conftest.er1
! 5196: cat conftest.err >&5
! 5197: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5198: (exit $ac_status); } && {
! 5199: test -z "$ac_c_werror_flag" ||
! 5200: test ! -s conftest.err
! 5201: } && test -s conftest.$ac_objext; then
! 5202: eval "$as_ac_Header=yes"
! 5203: else
! 5204: $as_echo "$as_me: failed program was:" >&5
! 5205: sed 's/^/| /' conftest.$ac_ext >&5
! 5206:
! 5207: eval "$as_ac_Header=no"
! 5208: fi
! 5209:
! 5210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5211: fi
! 5212: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5213: $as_echo "$as_val"'`
! 5214: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5215: $as_echo "$ac_res" >&6; }
! 5216: as_val=`eval 'as_val=${'$as_ac_Header'}
! 5217: $as_echo "$as_val"'`
! 5218: if test "x$as_val" = x""yes; then
! 5219: cat >>confdefs.h <<_ACEOF
! 5220: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5221: _ACEOF
! 5222:
! 5223: fi
! 5224:
! 5225: done
! 5226:
! 5227:
! 5228:
! 5229: for ac_header in dlfcn.h
! 5230: do
! 5231: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5232: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5233: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5234: $as_echo_n "checking for $ac_header... " >&6; }
! 5235: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5236: $as_echo_n "(cached) " >&6
! 5237: fi
! 5238: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5239: $as_echo "$as_val"'`
! 5240: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5241: $as_echo "$ac_res" >&6; }
! 5242: else
! 5243: # Is the header compilable?
! 5244: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 5245: $as_echo_n "checking $ac_header usability... " >&6; }
! 5246: cat >conftest.$ac_ext <<_ACEOF
! 5247: /* confdefs.h. */
! 5248: _ACEOF
! 5249: cat confdefs.h >>conftest.$ac_ext
! 5250: cat >>conftest.$ac_ext <<_ACEOF
! 5251: /* end confdefs.h. */
! 5252: $ac_includes_default
! 5253: #include <$ac_header>
! 5254: _ACEOF
! 5255: rm -f conftest.$ac_objext
! 5256: if { (ac_try="$ac_compile"
! 5257: case "(($ac_try" in
! 5258: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5259: *) ac_try_echo=$ac_try;;
! 5260: esac
! 5261: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5262: $as_echo "$ac_try_echo") >&5
! 5263: (eval "$ac_compile") 2>conftest.er1
! 5264: ac_status=$?
! 5265: grep -v '^ *+' conftest.er1 >conftest.err
! 5266: rm -f conftest.er1
! 5267: cat conftest.err >&5
! 5268: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5269: (exit $ac_status); } && {
! 5270: test -z "$ac_c_werror_flag" ||
! 5271: test ! -s conftest.err
! 5272: } && test -s conftest.$ac_objext; then
! 5273: ac_header_compiler=yes
! 5274: else
! 5275: $as_echo "$as_me: failed program was:" >&5
! 5276: sed 's/^/| /' conftest.$ac_ext >&5
! 5277:
! 5278: ac_header_compiler=no
! 5279: fi
! 5280:
! 5281: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5282: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 5283: $as_echo "$ac_header_compiler" >&6; }
! 5284:
! 5285: # Is the header present?
! 5286: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 5287: $as_echo_n "checking $ac_header presence... " >&6; }
! 5288: cat >conftest.$ac_ext <<_ACEOF
! 5289: /* confdefs.h. */
! 5290: _ACEOF
! 5291: cat confdefs.h >>conftest.$ac_ext
! 5292: cat >>conftest.$ac_ext <<_ACEOF
! 5293: /* end confdefs.h. */
! 5294: #include <$ac_header>
! 5295: _ACEOF
! 5296: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5297: case "(($ac_try" in
! 5298: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5299: *) ac_try_echo=$ac_try;;
! 5300: esac
! 5301: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5302: $as_echo "$ac_try_echo") >&5
! 5303: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5304: ac_status=$?
! 5305: grep -v '^ *+' conftest.er1 >conftest.err
! 5306: rm -f conftest.er1
! 5307: cat conftest.err >&5
! 5308: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5309: (exit $ac_status); } >/dev/null && {
! 5310: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 5311: test ! -s conftest.err
! 5312: }; then
! 5313: ac_header_preproc=yes
! 5314: else
! 5315: $as_echo "$as_me: failed program was:" >&5
! 5316: sed 's/^/| /' conftest.$ac_ext >&5
! 5317:
! 5318: ac_header_preproc=no
! 5319: fi
! 5320:
! 5321: rm -f conftest.err conftest.$ac_ext
! 5322: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 5323: $as_echo "$ac_header_preproc" >&6; }
! 5324:
! 5325: # So? What about this header?
! 5326: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 5327: yes:no: )
! 5328: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 5329: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 5330: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 5331: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 5332: ac_header_preproc=yes
! 5333: ;;
! 5334: no:yes:* )
! 5335: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 5336: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 5337: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 5338: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 5339: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 5340: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 5341: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 5342: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 5343: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 5344: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 5345: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 5346: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 5347:
! 5348: ;;
! 5349: esac
! 5350: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5351: $as_echo_n "checking for $ac_header... " >&6; }
! 5352: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5353: $as_echo_n "(cached) " >&6
! 5354: else
! 5355: eval "$as_ac_Header=\$ac_header_preproc"
! 5356: fi
! 5357: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5358: $as_echo "$as_val"'`
! 5359: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5360: $as_echo "$ac_res" >&6; }
! 5361:
! 5362: fi
! 5363: as_val=`eval 'as_val=${'$as_ac_Header'}
! 5364: $as_echo "$as_val"'`
! 5365: if test "x$as_val" = x""yes; then
! 5366: cat >>confdefs.h <<_ACEOF
! 5367: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5368: _ACEOF
! 5369:
! 5370: fi
! 5371:
! 5372: done
! 5373:
! 5374: ac_ext=cpp
! 5375: ac_cpp='$CXXCPP $CPPFLAGS'
! 5376: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5377: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5378: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5379: if test -z "$CXX"; then
! 5380: if test -n "$CCC"; then
! 5381: CXX=$CCC
! 5382: else
! 5383: if test -n "$ac_tool_prefix"; then
! 5384: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
! 5385: do
! 5386: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5387: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5388: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5389: $as_echo_n "checking for $ac_word... " >&6; }
! 5390: if test "${ac_cv_prog_CXX+set}" = set; then
! 5391: $as_echo_n "(cached) " >&6
! 5392: else
! 5393: if test -n "$CXX"; then
! 5394: ac_cv_prog_CXX="$CXX" # Let the user override the test.
! 5395: else
! 5396: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5397: for as_dir in $PATH
! 5398: do
! 5399: IFS=$as_save_IFS
! 5400: test -z "$as_dir" && as_dir=.
! 5401: for ac_exec_ext in '' $ac_executable_extensions; do
! 5402: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5403: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
! 5404: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5405: break 2
! 5406: fi
! 5407: done
! 5408: done
! 5409: IFS=$as_save_IFS
! 5410:
! 5411: fi
! 5412: fi
! 5413: CXX=$ac_cv_prog_CXX
! 5414: if test -n "$CXX"; then
! 5415: { $as_echo "$as_me:$LINENO: result: $CXX" >&5
! 5416: $as_echo "$CXX" >&6; }
! 5417: else
! 5418: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5419: $as_echo "no" >&6; }
! 5420: fi
! 5421:
! 5422:
! 5423: test -n "$CXX" && break
! 5424: done
! 5425: fi
! 5426: if test -z "$CXX"; then
! 5427: ac_ct_CXX=$CXX
! 5428: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
! 5429: do
! 5430: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5431: set dummy $ac_prog; ac_word=$2
! 5432: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5433: $as_echo_n "checking for $ac_word... " >&6; }
! 5434: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
! 5435: $as_echo_n "(cached) " >&6
! 5436: else
! 5437: if test -n "$ac_ct_CXX"; then
! 5438: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
! 5439: else
! 5440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5441: for as_dir in $PATH
! 5442: do
! 5443: IFS=$as_save_IFS
! 5444: test -z "$as_dir" && as_dir=.
! 5445: for ac_exec_ext in '' $ac_executable_extensions; do
! 5446: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5447: ac_cv_prog_ac_ct_CXX="$ac_prog"
! 5448: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5449: break 2
! 5450: fi
! 5451: done
! 5452: done
! 5453: IFS=$as_save_IFS
! 5454:
! 5455: fi
! 5456: fi
! 5457: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
! 5458: if test -n "$ac_ct_CXX"; then
! 5459: { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
! 5460: $as_echo "$ac_ct_CXX" >&6; }
! 5461: else
! 5462: { $as_echo "$as_me:$LINENO: result: no" >&5
! 5463: $as_echo "no" >&6; }
! 5464: fi
! 5465:
! 5466:
! 5467: test -n "$ac_ct_CXX" && break
! 5468: done
! 5469:
! 5470: if test "x$ac_ct_CXX" = x; then
! 5471: CXX="g++"
! 5472: else
! 5473: case $cross_compiling:$ac_tool_warned in
! 5474: yes:)
! 5475: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 5476: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5477: ac_tool_warned=yes ;;
! 5478: esac
! 5479: CXX=$ac_ct_CXX
! 5480: fi
! 5481: fi
! 5482:
! 5483: fi
! 5484: fi
! 5485: # Provide some information about the compiler.
! 5486: $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
! 5487: set X $ac_compile
! 5488: ac_compiler=$2
! 5489: { (ac_try="$ac_compiler --version >&5"
! 5490: case "(($ac_try" in
! 5491: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5492: *) ac_try_echo=$ac_try;;
! 5493: esac
! 5494: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5495: $as_echo "$ac_try_echo") >&5
! 5496: (eval "$ac_compiler --version >&5") 2>&5
! 5497: ac_status=$?
! 5498: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5499: (exit $ac_status); }
! 5500: { (ac_try="$ac_compiler -v >&5"
! 5501: case "(($ac_try" in
! 5502: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5503: *) ac_try_echo=$ac_try;;
! 5504: esac
! 5505: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5506: $as_echo "$ac_try_echo") >&5
! 5507: (eval "$ac_compiler -v >&5") 2>&5
! 5508: ac_status=$?
! 5509: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5510: (exit $ac_status); }
! 5511: { (ac_try="$ac_compiler -V >&5"
! 5512: case "(($ac_try" in
! 5513: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5514: *) ac_try_echo=$ac_try;;
! 5515: esac
! 5516: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5517: $as_echo "$ac_try_echo") >&5
! 5518: (eval "$ac_compiler -V >&5") 2>&5
! 5519: ac_status=$?
! 5520: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5521: (exit $ac_status); }
! 5522:
! 5523: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
! 5524: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
! 5525: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
! 5526: $as_echo_n "(cached) " >&6
! 5527: else
! 5528: cat >conftest.$ac_ext <<_ACEOF
! 5529: /* confdefs.h. */
! 5530: _ACEOF
! 5531: cat confdefs.h >>conftest.$ac_ext
! 5532: cat >>conftest.$ac_ext <<_ACEOF
! 5533: /* end confdefs.h. */
! 5534:
! 5535: int
! 5536: main ()
! 5537: {
! 5538: #ifndef __GNUC__
! 5539: choke me
! 5540: #endif
! 5541:
! 5542: ;
! 5543: return 0;
! 5544: }
! 5545: _ACEOF
! 5546: rm -f conftest.$ac_objext
! 5547: if { (ac_try="$ac_compile"
! 5548: case "(($ac_try" in
! 5549: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5550: *) ac_try_echo=$ac_try;;
! 5551: esac
! 5552: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5553: $as_echo "$ac_try_echo") >&5
! 5554: (eval "$ac_compile") 2>conftest.er1
! 5555: ac_status=$?
! 5556: grep -v '^ *+' conftest.er1 >conftest.err
! 5557: rm -f conftest.er1
! 5558: cat conftest.err >&5
! 5559: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5560: (exit $ac_status); } && {
! 5561: test -z "$ac_cxx_werror_flag" ||
! 5562: test ! -s conftest.err
! 5563: } && test -s conftest.$ac_objext; then
! 5564: ac_compiler_gnu=yes
! 5565: else
! 5566: $as_echo "$as_me: failed program was:" >&5
! 5567: sed 's/^/| /' conftest.$ac_ext >&5
! 5568:
! 5569: ac_compiler_gnu=no
! 5570: fi
! 5571:
! 5572: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5573: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
! 5574:
! 5575: fi
! 5576: { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
! 5577: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
! 5578: if test $ac_compiler_gnu = yes; then
! 5579: GXX=yes
! 5580: else
! 5581: GXX=
! 5582: fi
! 5583: ac_test_CXXFLAGS=${CXXFLAGS+set}
! 5584: ac_save_CXXFLAGS=$CXXFLAGS
! 5585: { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
! 5586: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
! 5587: if test "${ac_cv_prog_cxx_g+set}" = set; then
! 5588: $as_echo_n "(cached) " >&6
! 5589: else
! 5590: ac_save_cxx_werror_flag=$ac_cxx_werror_flag
! 5591: ac_cxx_werror_flag=yes
! 5592: ac_cv_prog_cxx_g=no
! 5593: CXXFLAGS="-g"
! 5594: cat >conftest.$ac_ext <<_ACEOF
! 5595: /* confdefs.h. */
! 5596: _ACEOF
! 5597: cat confdefs.h >>conftest.$ac_ext
! 5598: cat >>conftest.$ac_ext <<_ACEOF
! 5599: /* end confdefs.h. */
! 5600:
! 5601: int
! 5602: main ()
! 5603: {
! 5604:
! 5605: ;
! 5606: return 0;
! 5607: }
! 5608: _ACEOF
! 5609: rm -f conftest.$ac_objext
! 5610: if { (ac_try="$ac_compile"
! 5611: case "(($ac_try" in
! 5612: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5613: *) ac_try_echo=$ac_try;;
! 5614: esac
! 5615: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5616: $as_echo "$ac_try_echo") >&5
! 5617: (eval "$ac_compile") 2>conftest.er1
! 5618: ac_status=$?
! 5619: grep -v '^ *+' conftest.er1 >conftest.err
! 5620: rm -f conftest.er1
! 5621: cat conftest.err >&5
! 5622: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5623: (exit $ac_status); } && {
! 5624: test -z "$ac_cxx_werror_flag" ||
! 5625: test ! -s conftest.err
! 5626: } && test -s conftest.$ac_objext; then
! 5627: ac_cv_prog_cxx_g=yes
! 5628: else
! 5629: $as_echo "$as_me: failed program was:" >&5
! 5630: sed 's/^/| /' conftest.$ac_ext >&5
! 5631:
! 5632: CXXFLAGS=""
! 5633: cat >conftest.$ac_ext <<_ACEOF
! 5634: /* confdefs.h. */
! 5635: _ACEOF
! 5636: cat confdefs.h >>conftest.$ac_ext
! 5637: cat >>conftest.$ac_ext <<_ACEOF
! 5638: /* end confdefs.h. */
! 5639:
! 5640: int
! 5641: main ()
! 5642: {
! 5643:
! 5644: ;
! 5645: return 0;
! 5646: }
! 5647: _ACEOF
! 5648: rm -f conftest.$ac_objext
! 5649: if { (ac_try="$ac_compile"
! 5650: case "(($ac_try" in
! 5651: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5652: *) ac_try_echo=$ac_try;;
! 5653: esac
! 5654: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5655: $as_echo "$ac_try_echo") >&5
! 5656: (eval "$ac_compile") 2>conftest.er1
! 5657: ac_status=$?
! 5658: grep -v '^ *+' conftest.er1 >conftest.err
! 5659: rm -f conftest.er1
! 5660: cat conftest.err >&5
! 5661: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5662: (exit $ac_status); } && {
! 5663: test -z "$ac_cxx_werror_flag" ||
! 5664: test ! -s conftest.err
! 5665: } && test -s conftest.$ac_objext; then
! 5666: :
! 5667: else
! 5668: $as_echo "$as_me: failed program was:" >&5
! 5669: sed 's/^/| /' conftest.$ac_ext >&5
! 5670:
! 5671: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
! 5672: CXXFLAGS="-g"
! 5673: cat >conftest.$ac_ext <<_ACEOF
! 5674: /* confdefs.h. */
! 5675: _ACEOF
! 5676: cat confdefs.h >>conftest.$ac_ext
! 5677: cat >>conftest.$ac_ext <<_ACEOF
! 5678: /* end confdefs.h. */
! 5679:
! 5680: int
! 5681: main ()
! 5682: {
! 5683:
! 5684: ;
! 5685: return 0;
! 5686: }
! 5687: _ACEOF
! 5688: rm -f conftest.$ac_objext
! 5689: if { (ac_try="$ac_compile"
! 5690: case "(($ac_try" in
! 5691: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5692: *) ac_try_echo=$ac_try;;
! 5693: esac
! 5694: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5695: $as_echo "$ac_try_echo") >&5
! 5696: (eval "$ac_compile") 2>conftest.er1
! 5697: ac_status=$?
! 5698: grep -v '^ *+' conftest.er1 >conftest.err
! 5699: rm -f conftest.er1
! 5700: cat conftest.err >&5
! 5701: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5702: (exit $ac_status); } && {
! 5703: test -z "$ac_cxx_werror_flag" ||
! 5704: test ! -s conftest.err
! 5705: } && test -s conftest.$ac_objext; then
! 5706: ac_cv_prog_cxx_g=yes
! 5707: else
! 5708: $as_echo "$as_me: failed program was:" >&5
! 5709: sed 's/^/| /' conftest.$ac_ext >&5
! 5710:
! 5711:
! 5712: fi
! 5713:
! 5714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5715: fi
! 5716:
! 5717: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5718: fi
! 5719:
! 5720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5721: ac_cxx_werror_flag=$ac_save_cxx_werror_flag
! 5722: fi
! 5723: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
! 5724: $as_echo "$ac_cv_prog_cxx_g" >&6; }
! 5725: if test "$ac_test_CXXFLAGS" = set; then
! 5726: CXXFLAGS=$ac_save_CXXFLAGS
! 5727: elif test $ac_cv_prog_cxx_g = yes; then
! 5728: if test "$GXX" = yes; then
! 5729: CXXFLAGS="-g -O2"
! 5730: else
! 5731: CXXFLAGS="-g"
! 5732: fi
! 5733: else
! 5734: if test "$GXX" = yes; then
! 5735: CXXFLAGS="-O2"
! 5736: else
! 5737: CXXFLAGS=
! 5738: fi
! 5739: fi
! 5740: ac_ext=cpp
! 5741: ac_cpp='$CXXCPP $CPPFLAGS'
! 5742: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5743: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5744: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5745:
! 5746: depcc="$CXX" am_compiler_list=
! 5747:
! 5748: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 5749: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 5750: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
! 5751: $as_echo_n "(cached) " >&6
! 5752: else
! 5753: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 5754: # We make a subdir and do the tests there. Otherwise we can end up
! 5755: # making bogus files that we don't know about and never remove. For
! 5756: # instance it was reported that on HP-UX the gcc test will end up
! 5757: # making a dummy file named `D' -- because `-MD' means `put the output
! 5758: # in D'.
! 5759: mkdir conftest.dir
! 5760: # Copy depcomp to subdir because otherwise we won't find it if we're
! 5761: # using a relative directory.
! 5762: cp "$am_depcomp" conftest.dir
! 5763: cd conftest.dir
! 5764: # We will build objects and dependencies in a subdirectory because
! 5765: # it helps to detect inapplicable dependency modes. For instance
! 5766: # both Tru64's cc and ICC support -MD to output dependencies as a
! 5767: # side effect of compilation, but ICC will put the dependencies in
! 5768: # the current directory while Tru64 will put them in the object
! 5769: # directory.
! 5770: mkdir sub
! 5771:
! 5772: am_cv_CXX_dependencies_compiler_type=none
! 5773: if test "$am_compiler_list" = ""; then
! 5774: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 5775: fi
! 5776: for depmode in $am_compiler_list; do
! 5777: # Setup a source with many dependencies, because some compilers
! 5778: # like to wrap large dependency lists on column 80 (with \), and
! 5779: # we should not choose a depcomp mode which is confused by this.
! 5780: #
! 5781: # We need to recreate these files for each test, as the compiler may
! 5782: # overwrite some of them when testing with obscure command lines.
! 5783: # This happens at least with the AIX C compiler.
! 5784: : > sub/conftest.c
! 5785: for i in 1 2 3 4 5 6; do
! 5786: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 5787: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 5788: # Solaris 8's {/usr,}/bin/sh.
! 5789: touch sub/conftst$i.h
! 5790: done
! 5791: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 5792:
! 5793: case $depmode in
! 5794: nosideeffect)
! 5795: # after this tag, mechanisms are not by side-effect, so they'll
! 5796: # only be used when explicitly requested
! 5797: if test "x$enable_dependency_tracking" = xyes; then
! 5798: continue
! 5799: else
! 5800: break
! 5801: fi
! 5802: ;;
! 5803: none) break ;;
! 5804: esac
! 5805: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 5806: # mode. It turns out that the SunPro C++ compiler does not properly
! 5807: # handle `-M -o', and we need to detect this.
! 5808: if depmode=$depmode \
! 5809: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 5810: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 5811: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 5812: >/dev/null 2>conftest.err &&
! 5813: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 5814: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 5815: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 5816: # icc doesn't choke on unknown options, it will just issue warnings
! 5817: # or remarks (even with -Werror). So we grep stderr for any message
! 5818: # that says an option was ignored or not supported.
! 5819: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 5820: # icc: Command line warning: ignoring option '-M'; no argument required
! 5821: # The diagnosis changed in icc 8.0:
! 5822: # icc: Command line remark: option '-MP' not supported
! 5823: if (grep 'ignoring option' conftest.err ||
! 5824: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 5825: am_cv_CXX_dependencies_compiler_type=$depmode
! 5826: break
! 5827: fi
! 5828: fi
! 5829: done
! 5830:
! 5831: cd ..
! 5832: rm -rf conftest.dir
! 5833: else
! 5834: am_cv_CXX_dependencies_compiler_type=none
! 5835: fi
! 5836:
! 5837: fi
! 5838: { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
! 5839: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
! 5840: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
! 5841:
! 5842:
! 5843:
! 5844: if
! 5845: test "x$enable_dependency_tracking" != xno \
! 5846: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
! 5847: am__fastdepCXX_TRUE=
! 5848: am__fastdepCXX_FALSE='#'
! 5849: else
! 5850: am__fastdepCXX_TRUE='#'
! 5851: am__fastdepCXX_FALSE=
! 5852: fi
! 5853:
! 5854:
! 5855:
! 5856:
! 5857: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 5858: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 5859: (test "X$CXX" != "Xg++"))) ; then
! 5860: ac_ext=cpp
! 5861: ac_cpp='$CXXCPP $CPPFLAGS'
! 5862: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5863: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5864: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5865: { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 5866: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
! 5867: if test -z "$CXXCPP"; then
! 5868: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 5869: $as_echo_n "(cached) " >&6
! 5870: else
! 5871: # Double quotes because CXXCPP needs to be expanded
! 5872: for CXXCPP in "$CXX -E" "/lib/cpp"
! 5873: do
! 5874: ac_preproc_ok=false
! 5875: for ac_cxx_preproc_warn_flag in '' yes
! 5876: do
! 5877: # Use a header file that comes with gcc, so configuring glibc
! 5878: # with a fresh cross-compiler works.
! 5879: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5880: # <limits.h> exists even on freestanding compilers.
! 5881: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5882: # not just through cpp. "Syntax error" is here to catch this case.
! 5883: cat >conftest.$ac_ext <<_ACEOF
! 5884: /* confdefs.h. */
! 5885: _ACEOF
! 5886: cat confdefs.h >>conftest.$ac_ext
! 5887: cat >>conftest.$ac_ext <<_ACEOF
! 5888: /* end confdefs.h. */
! 5889: #ifdef __STDC__
! 5890: # include <limits.h>
! 5891: #else
! 5892: # include <assert.h>
! 5893: #endif
! 5894: Syntax error
! 5895: _ACEOF
! 5896: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5897: case "(($ac_try" in
! 5898: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5899: *) ac_try_echo=$ac_try;;
! 5900: esac
! 5901: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5902: $as_echo "$ac_try_echo") >&5
! 5903: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5904: ac_status=$?
! 5905: grep -v '^ *+' conftest.er1 >conftest.err
! 5906: rm -f conftest.er1
! 5907: cat conftest.err >&5
! 5908: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5909: (exit $ac_status); } >/dev/null && {
! 5910: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 5911: test ! -s conftest.err
! 5912: }; then
! 5913: :
! 5914: else
! 5915: $as_echo "$as_me: failed program was:" >&5
! 5916: sed 's/^/| /' conftest.$ac_ext >&5
! 5917:
! 5918: # Broken: fails on valid input.
! 5919: continue
! 5920: fi
! 5921:
! 5922: rm -f conftest.err conftest.$ac_ext
! 5923:
! 5924: # OK, works on sane cases. Now check whether nonexistent headers
! 5925: # can be detected and how.
! 5926: cat >conftest.$ac_ext <<_ACEOF
! 5927: /* confdefs.h. */
! 5928: _ACEOF
! 5929: cat confdefs.h >>conftest.$ac_ext
! 5930: cat >>conftest.$ac_ext <<_ACEOF
! 5931: /* end confdefs.h. */
! 5932: #include <ac_nonexistent.h>
! 5933: _ACEOF
! 5934: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5935: case "(($ac_try" in
! 5936: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5937: *) ac_try_echo=$ac_try;;
! 5938: esac
! 5939: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5940: $as_echo "$ac_try_echo") >&5
! 5941: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5942: ac_status=$?
! 5943: grep -v '^ *+' conftest.er1 >conftest.err
! 5944: rm -f conftest.er1
! 5945: cat conftest.err >&5
! 5946: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5947: (exit $ac_status); } >/dev/null && {
! 5948: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 5949: test ! -s conftest.err
! 5950: }; then
! 5951: # Broken: success on invalid input.
! 5952: continue
! 5953: else
! 5954: $as_echo "$as_me: failed program was:" >&5
! 5955: sed 's/^/| /' conftest.$ac_ext >&5
! 5956:
! 5957: # Passes both tests.
! 5958: ac_preproc_ok=:
! 5959: break
! 5960: fi
! 5961:
! 5962: rm -f conftest.err conftest.$ac_ext
! 5963:
! 5964: done
! 5965: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5966: rm -f conftest.err conftest.$ac_ext
! 5967: if $ac_preproc_ok; then
! 5968: break
! 5969: fi
! 5970:
! 5971: done
! 5972: ac_cv_prog_CXXCPP=$CXXCPP
! 5973:
! 5974: fi
! 5975: CXXCPP=$ac_cv_prog_CXXCPP
! 5976: else
! 5977: ac_cv_prog_CXXCPP=$CXXCPP
! 5978: fi
! 5979: { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 5980: $as_echo "$CXXCPP" >&6; }
! 5981: ac_preproc_ok=false
! 5982: for ac_cxx_preproc_warn_flag in '' yes
! 5983: do
! 5984: # Use a header file that comes with gcc, so configuring glibc
! 5985: # with a fresh cross-compiler works.
! 5986: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5987: # <limits.h> exists even on freestanding compilers.
! 5988: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5989: # not just through cpp. "Syntax error" is here to catch this case.
! 5990: cat >conftest.$ac_ext <<_ACEOF
! 5991: /* confdefs.h. */
! 5992: _ACEOF
! 5993: cat confdefs.h >>conftest.$ac_ext
! 5994: cat >>conftest.$ac_ext <<_ACEOF
! 5995: /* end confdefs.h. */
! 5996: #ifdef __STDC__
! 5997: # include <limits.h>
! 5998: #else
! 5999: # include <assert.h>
! 6000: #endif
! 6001: Syntax error
! 6002: _ACEOF
! 6003: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6004: case "(($ac_try" in
! 6005: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6006: *) ac_try_echo=$ac_try;;
! 6007: esac
! 6008: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6009: $as_echo "$ac_try_echo") >&5
! 6010: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6011: ac_status=$?
! 6012: grep -v '^ *+' conftest.er1 >conftest.err
! 6013: rm -f conftest.er1
! 6014: cat conftest.err >&5
! 6015: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6016: (exit $ac_status); } >/dev/null && {
! 6017: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 6018: test ! -s conftest.err
! 6019: }; then
! 6020: :
! 6021: else
! 6022: $as_echo "$as_me: failed program was:" >&5
! 6023: sed 's/^/| /' conftest.$ac_ext >&5
! 6024:
! 6025: # Broken: fails on valid input.
! 6026: continue
! 6027: fi
! 6028:
! 6029: rm -f conftest.err conftest.$ac_ext
! 6030:
! 6031: # OK, works on sane cases. Now check whether nonexistent headers
! 6032: # can be detected and how.
! 6033: cat >conftest.$ac_ext <<_ACEOF
! 6034: /* confdefs.h. */
! 6035: _ACEOF
! 6036: cat confdefs.h >>conftest.$ac_ext
! 6037: cat >>conftest.$ac_ext <<_ACEOF
! 6038: /* end confdefs.h. */
! 6039: #include <ac_nonexistent.h>
! 6040: _ACEOF
! 6041: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6042: case "(($ac_try" in
! 6043: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6044: *) ac_try_echo=$ac_try;;
! 6045: esac
! 6046: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6047: $as_echo "$ac_try_echo") >&5
! 6048: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6049: ac_status=$?
! 6050: grep -v '^ *+' conftest.er1 >conftest.err
! 6051: rm -f conftest.er1
! 6052: cat conftest.err >&5
! 6053: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6054: (exit $ac_status); } >/dev/null && {
! 6055: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
! 6056: test ! -s conftest.err
! 6057: }; then
! 6058: # Broken: success on invalid input.
! 6059: continue
! 6060: else
! 6061: $as_echo "$as_me: failed program was:" >&5
! 6062: sed 's/^/| /' conftest.$ac_ext >&5
! 6063:
! 6064: # Passes both tests.
! 6065: ac_preproc_ok=:
! 6066: break
! 6067: fi
! 6068:
! 6069: rm -f conftest.err conftest.$ac_ext
! 6070:
! 6071: done
! 6072: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 6073: rm -f conftest.err conftest.$ac_ext
! 6074: if $ac_preproc_ok; then
! 6075: :
! 6076: else
! 6077: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 6078: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 6079: { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 6080: See \`config.log' for more details." >&5
! 6081: $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 6082: See \`config.log' for more details." >&2;}
! 6083: { (exit 1); exit 1; }; }; }
! 6084: fi
! 6085:
! 6086: ac_ext=cpp
! 6087: ac_cpp='$CXXCPP $CPPFLAGS'
! 6088: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6089: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6090: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 6091:
! 6092: fi
! 6093:
! 6094:
! 6095: ac_ext=f
! 6096: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 6097: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6098: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 6099: if test -n "$ac_tool_prefix"; then
! 6100: 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
! 6101: do
! 6102: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 6103: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 6104: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6105: $as_echo_n "checking for $ac_word... " >&6; }
! 6106: if test "${ac_cv_prog_F77+set}" = set; then
! 6107: $as_echo_n "(cached) " >&6
! 6108: else
! 6109: if test -n "$F77"; then
! 6110: ac_cv_prog_F77="$F77" # Let the user override the test.
! 6111: else
! 6112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6113: for as_dir in $PATH
! 6114: do
! 6115: IFS=$as_save_IFS
! 6116: test -z "$as_dir" && as_dir=.
! 6117: for ac_exec_ext in '' $ac_executable_extensions; do
! 6118: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6119: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
! 6120: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6121: break 2
! 6122: fi
! 6123: done
! 6124: done
! 6125: IFS=$as_save_IFS
! 6126:
! 6127: fi
! 6128: fi
! 6129: F77=$ac_cv_prog_F77
! 6130: if test -n "$F77"; then
! 6131: { $as_echo "$as_me:$LINENO: result: $F77" >&5
! 6132: $as_echo "$F77" >&6; }
! 6133: else
! 6134: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6135: $as_echo "no" >&6; }
! 6136: fi
! 6137:
! 6138:
! 6139: test -n "$F77" && break
! 6140: done
! 6141: fi
! 6142: if test -z "$F77"; then
! 6143: ac_ct_F77=$F77
! 6144: 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
! 6145: do
! 6146: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 6147: set dummy $ac_prog; ac_word=$2
! 6148: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6149: $as_echo_n "checking for $ac_word... " >&6; }
! 6150: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
! 6151: $as_echo_n "(cached) " >&6
! 6152: else
! 6153: if test -n "$ac_ct_F77"; then
! 6154: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
! 6155: else
! 6156: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6157: for as_dir in $PATH
! 6158: do
! 6159: IFS=$as_save_IFS
! 6160: test -z "$as_dir" && as_dir=.
! 6161: for ac_exec_ext in '' $ac_executable_extensions; do
! 6162: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6163: ac_cv_prog_ac_ct_F77="$ac_prog"
! 6164: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6165: break 2
! 6166: fi
! 6167: done
! 6168: done
! 6169: IFS=$as_save_IFS
! 6170:
! 6171: fi
! 6172: fi
! 6173: ac_ct_F77=$ac_cv_prog_ac_ct_F77
! 6174: if test -n "$ac_ct_F77"; then
! 6175: { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
! 6176: $as_echo "$ac_ct_F77" >&6; }
! 6177: else
! 6178: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6179: $as_echo "no" >&6; }
! 6180: fi
! 6181:
! 6182:
! 6183: test -n "$ac_ct_F77" && break
! 6184: done
! 6185:
! 6186: if test "x$ac_ct_F77" = x; then
! 6187: F77=""
! 6188: else
! 6189: case $cross_compiling:$ac_tool_warned in
! 6190: yes:)
! 6191: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6192: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6193: ac_tool_warned=yes ;;
! 6194: esac
! 6195: F77=$ac_ct_F77
! 6196: fi
! 6197: fi
! 6198:
! 6199:
! 6200: # Provide some information about the compiler.
! 6201: $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
! 6202: set X $ac_compile
! 6203: ac_compiler=$2
! 6204: { (ac_try="$ac_compiler --version >&5"
! 6205: case "(($ac_try" in
! 6206: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6207: *) ac_try_echo=$ac_try;;
! 6208: esac
! 6209: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6210: $as_echo "$ac_try_echo") >&5
! 6211: (eval "$ac_compiler --version >&5") 2>&5
! 6212: ac_status=$?
! 6213: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6214: (exit $ac_status); }
! 6215: { (ac_try="$ac_compiler -v >&5"
! 6216: case "(($ac_try" in
! 6217: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6218: *) ac_try_echo=$ac_try;;
! 6219: esac
! 6220: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6221: $as_echo "$ac_try_echo") >&5
! 6222: (eval "$ac_compiler -v >&5") 2>&5
! 6223: ac_status=$?
! 6224: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6225: (exit $ac_status); }
! 6226: { (ac_try="$ac_compiler -V >&5"
! 6227: case "(($ac_try" in
! 6228: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6229: *) ac_try_echo=$ac_try;;
! 6230: esac
! 6231: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6232: $as_echo "$ac_try_echo") >&5
! 6233: (eval "$ac_compiler -V >&5") 2>&5
! 6234: ac_status=$?
! 6235: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6236: (exit $ac_status); }
! 6237: rm -f a.out
! 6238:
! 6239: # If we don't use `.F' as extension, the preprocessor is not run on the
! 6240: # input file. (Note that this only needs to work for GNU compilers.)
! 6241: ac_save_ext=$ac_ext
! 6242: ac_ext=F
! 6243: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
! 6244: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
! 6245: if test "${ac_cv_f77_compiler_gnu+set}" = set; then
! 6246: $as_echo_n "(cached) " >&6
! 6247: else
! 6248: cat >conftest.$ac_ext <<_ACEOF
! 6249: program main
! 6250: #ifndef __GNUC__
! 6251: choke me
! 6252: #endif
! 6253:
! 6254: end
! 6255: _ACEOF
! 6256: rm -f conftest.$ac_objext
! 6257: if { (ac_try="$ac_compile"
! 6258: case "(($ac_try" in
! 6259: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6260: *) ac_try_echo=$ac_try;;
! 6261: esac
! 6262: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6263: $as_echo "$ac_try_echo") >&5
! 6264: (eval "$ac_compile") 2>conftest.er1
! 6265: ac_status=$?
! 6266: grep -v '^ *+' conftest.er1 >conftest.err
! 6267: rm -f conftest.er1
! 6268: cat conftest.err >&5
! 6269: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6270: (exit $ac_status); } && {
! 6271: test -z "$ac_f77_werror_flag" ||
! 6272: test ! -s conftest.err
! 6273: } && test -s conftest.$ac_objext; then
! 6274: ac_compiler_gnu=yes
! 6275: else
! 6276: $as_echo "$as_me: failed program was:" >&5
! 6277: sed 's/^/| /' conftest.$ac_ext >&5
! 6278:
! 6279: ac_compiler_gnu=no
! 6280: fi
! 6281:
! 6282: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6283: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
! 6284:
! 6285: fi
! 6286: { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
! 6287: $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
! 6288: ac_ext=$ac_save_ext
! 6289: ac_test_FFLAGS=${FFLAGS+set}
! 6290: ac_save_FFLAGS=$FFLAGS
! 6291: FFLAGS=
! 6292: { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
! 6293: $as_echo_n "checking whether $F77 accepts -g... " >&6; }
! 6294: if test "${ac_cv_prog_f77_g+set}" = set; then
! 6295: $as_echo_n "(cached) " >&6
! 6296: else
! 6297: FFLAGS=-g
! 6298: cat >conftest.$ac_ext <<_ACEOF
! 6299: program main
! 6300:
! 6301: end
! 6302: _ACEOF
! 6303: rm -f conftest.$ac_objext
! 6304: if { (ac_try="$ac_compile"
! 6305: case "(($ac_try" in
! 6306: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6307: *) ac_try_echo=$ac_try;;
! 6308: esac
! 6309: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 6310: $as_echo "$ac_try_echo") >&5
! 6311: (eval "$ac_compile") 2>conftest.er1
! 6312: ac_status=$?
! 6313: grep -v '^ *+' conftest.er1 >conftest.err
! 6314: rm -f conftest.er1
! 6315: cat conftest.err >&5
! 6316: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6317: (exit $ac_status); } && {
! 6318: test -z "$ac_f77_werror_flag" ||
! 6319: test ! -s conftest.err
! 6320: } && test -s conftest.$ac_objext; then
! 6321: ac_cv_prog_f77_g=yes
! 6322: else
! 6323: $as_echo "$as_me: failed program was:" >&5
! 6324: sed 's/^/| /' conftest.$ac_ext >&5
! 6325:
! 6326: ac_cv_prog_f77_g=no
! 6327: fi
! 6328:
! 6329: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6330:
! 6331: fi
! 6332: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
! 6333: $as_echo "$ac_cv_prog_f77_g" >&6; }
! 6334: if test "$ac_test_FFLAGS" = set; then
! 6335: FFLAGS=$ac_save_FFLAGS
! 6336: elif test $ac_cv_prog_f77_g = yes; then
! 6337: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 6338: FFLAGS="-g -O2"
! 6339: else
! 6340: FFLAGS="-g"
! 6341: fi
! 6342: else
! 6343: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 6344: FFLAGS="-O2"
! 6345: else
! 6346: FFLAGS=
! 6347: fi
! 6348: fi
! 6349:
! 6350: if test $ac_compiler_gnu = yes; then
! 6351: G77=yes
! 6352: else
! 6353: G77=
! 6354: fi
! 6355: ac_ext=c
! 6356: ac_cpp='$CPP $CPPFLAGS'
! 6357: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6358: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6359: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6360:
! 6361:
! 6362:
! 6363: # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
! 6364: # find the maximum length of command line arguments
! 6365: { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 6366: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 6367: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
! 6368: $as_echo_n "(cached) " >&6
! 6369: else
! 6370: i=0
! 6371: teststring="ABCD"
! 6372:
! 6373: case $build_os in
! 6374: msdosdjgpp*)
! 6375: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 6376: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 6377: # during glob expansion). Even if it were fixed, the result of this
! 6378: # check would be larger than it should be.
! 6379: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 6380: ;;
! 6381:
! 6382: gnu*)
! 6383: # Under GNU Hurd, this test is not required because there is
! 6384: # no limit to the length of command line arguments.
! 6385: # Libtool will interpret -1 as no limit whatsoever
! 6386: lt_cv_sys_max_cmd_len=-1;
! 6387: ;;
! 6388:
! 6389: cygwin* | mingw*)
! 6390: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 6391: # about 5 minutes as the teststring grows exponentially.
! 6392: # Worse, since 9x/ME are not pre-emptively multitasking,
! 6393: # you end up with a "frozen" computer, even though with patience
! 6394: # the test eventually succeeds (with a max line length of 256k).
! 6395: # Instead, let's just punt: use the minimum linelength reported by
! 6396: # all of the supported platforms: 8192 (on NT/2K/XP).
! 6397: lt_cv_sys_max_cmd_len=8192;
! 6398: ;;
! 6399:
! 6400: amigaos*)
! 6401: # On AmigaOS with pdksh, this test takes hours, literally.
! 6402: # So we just punt and use a minimum line length of 8192.
! 6403: lt_cv_sys_max_cmd_len=8192;
! 6404: ;;
! 6405:
! 6406: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 6407: # This has been around since 386BSD, at least. Likely further.
! 6408: if test -x /sbin/sysctl; then
! 6409: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 6410: elif test -x /usr/sbin/sysctl; then
! 6411: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 6412: else
! 6413: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 6414: fi
! 6415: # And add a safety zone
! 6416: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6417: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6418: ;;
! 6419:
! 6420: interix*)
! 6421: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 6422: lt_cv_sys_max_cmd_len=196608
! 6423: ;;
! 6424:
! 6425: osf*)
! 6426: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 6427: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 6428: # nice to cause kernel panics so lets avoid the loop below.
! 6429: # First set a reasonable default.
! 6430: lt_cv_sys_max_cmd_len=16384
! 6431: #
! 6432: if test -x /sbin/sysconfig; then
! 6433: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 6434: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 6435: esac
! 6436: fi
! 6437: ;;
! 6438: sco3.2v5*)
! 6439: lt_cv_sys_max_cmd_len=102400
! 6440: ;;
! 6441: sysv5* | sco5v6* | sysv4.2uw2*)
! 6442: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 6443: if test -n "$kargmax"; then
! 6444: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 6445: else
! 6446: lt_cv_sys_max_cmd_len=32768
! 6447: fi
! 6448: ;;
! 6449: *)
! 6450: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 6451: if test -n "$lt_cv_sys_max_cmd_len"; then
! 6452: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6453: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6454: else
! 6455: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 6456: while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
! 6457: = "XX$teststring") >/dev/null 2>&1 &&
! 6458: new_result=`expr "X$teststring" : ".*" 2>&1` &&
! 6459: lt_cv_sys_max_cmd_len=$new_result &&
! 6460: test $i != 17 # 1/2 MB should be enough
! 6461: do
! 6462: i=`expr $i + 1`
! 6463: teststring=$teststring$teststring
! 6464: done
! 6465: teststring=
! 6466: # Add a significant safety factor because C++ compilers can tack on massive
! 6467: # amounts of additional arguments before passing them to the linker.
! 6468: # It appears as though 1/2 is a usable value.
! 6469: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 6470: fi
! 6471: ;;
! 6472: esac
! 6473:
! 6474: fi
! 6475:
! 6476: if test -n $lt_cv_sys_max_cmd_len ; then
! 6477: { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 6478: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 6479: else
! 6480: { $as_echo "$as_me:$LINENO: result: none" >&5
! 6481: $as_echo "none" >&6; }
! 6482: fi
! 6483:
! 6484:
! 6485:
! 6486:
! 6487:
! 6488: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 6489: { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 6490: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 6491: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 6492: $as_echo_n "(cached) " >&6
! 6493: else
! 6494:
! 6495: # These are sane defaults that work on at least a few old systems.
! 6496: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 6497:
! 6498: # Character class describing NM global symbol codes.
! 6499: symcode='[BCDEGRST]'
! 6500:
! 6501: # Regexp to match symbols that can be accessed directly from C.
! 6502: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 6503:
! 6504: # Transform an extracted symbol line into a proper C declaration
! 6505: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
! 6506:
! 6507: # Transform an extracted symbol line into symbol name and symbol address
! 6508: 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'"
! 6509:
! 6510: # Define system-specific variables.
! 6511: case $host_os in
! 6512: aix*)
! 6513: symcode='[BCDT]'
! 6514: ;;
! 6515: cygwin* | mingw* | pw32*)
! 6516: symcode='[ABCDGISTW]'
! 6517: ;;
! 6518: hpux*) # Its linker distinguishes data from code symbols
! 6519: if test "$host_cpu" = ia64; then
! 6520: symcode='[ABCDEGRST]'
! 6521: fi
! 6522: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 6523: 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'"
! 6524: ;;
! 6525: linux* | k*bsd*-gnu)
! 6526: if test "$host_cpu" = ia64; then
! 6527: symcode='[ABCDGIRSTW]'
! 6528: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 6529: 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'"
! 6530: fi
! 6531: ;;
! 6532: irix* | nonstopux*)
! 6533: symcode='[BCDEGRST]'
! 6534: ;;
! 6535: osf*)
! 6536: symcode='[BCDEGQRST]'
! 6537: ;;
! 6538: solaris*)
! 6539: symcode='[BDRT]'
! 6540: ;;
! 6541: sco3.2v5*)
! 6542: symcode='[DT]'
! 6543: ;;
! 6544: sysv4.2uw2*)
! 6545: symcode='[DT]'
! 6546: ;;
! 6547: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 6548: symcode='[ABDT]'
! 6549: ;;
! 6550: sysv4)
! 6551: symcode='[DFNSTU]'
! 6552: ;;
! 6553: esac
! 6554:
! 6555: # Handle CRLF in mingw tool chain
! 6556: opt_cr=
! 6557: case $build_os in
! 6558: mingw*)
! 6559: opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 6560: ;;
! 6561: esac
! 6562:
! 6563: # If we're using GNU nm, then use its standard symbol codes.
! 6564: case `$NM -V 2>&1` in
! 6565: *GNU* | *'with BFD'*)
! 6566: symcode='[ABCDGIRSTW]' ;;
! 6567: esac
! 6568:
! 6569: # Try without a prefix undercore, then with it.
! 6570: for ac_symprfx in "" "_"; do
! 6571:
! 6572: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 6573: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 6574:
! 6575: # Write the raw and C identifiers.
! 6576: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 6577:
! 6578: # Check to see that the pipe works correctly.
! 6579: pipe_works=no
! 6580:
! 6581: rm -f conftest*
! 6582: cat > conftest.$ac_ext <<EOF
! 6583: #ifdef __cplusplus
! 6584: extern "C" {
! 6585: #endif
! 6586: char nm_test_var;
! 6587: void nm_test_func(){}
! 6588: #ifdef __cplusplus
! 6589: }
! 6590: #endif
! 6591: int main(){nm_test_var='a';nm_test_func();return(0);}
! 6592: EOF
! 6593:
! 6594: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6595: (eval $ac_compile) 2>&5
! 6596: ac_status=$?
! 6597: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6598: (exit $ac_status); }; then
! 6599: # Now try to grab the symbols.
! 6600: nlist=conftest.nm
! 6601: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 6602: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 6603: ac_status=$?
! 6604: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6605: (exit $ac_status); } && test -s "$nlist"; then
! 6606: # Try sorting and uniquifying the output.
! 6607: if sort "$nlist" | uniq > "$nlist"T; then
! 6608: mv -f "$nlist"T "$nlist"
! 6609: else
! 6610: rm -f "$nlist"T
! 6611: fi
! 6612:
! 6613: # Make sure that we snagged all the symbols we need.
! 6614: if grep ' nm_test_var$' "$nlist" >/dev/null; then
! 6615: if grep ' nm_test_func$' "$nlist" >/dev/null; then
! 6616: cat <<EOF > conftest.$ac_ext
! 6617: #ifdef __cplusplus
! 6618: extern "C" {
! 6619: #endif
! 6620:
! 6621: EOF
! 6622: # Now generate the symbol file.
! 6623: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
! 6624:
! 6625: cat <<EOF >> conftest.$ac_ext
! 6626: #if defined (__STDC__) && __STDC__
! 6627: # define lt_ptr_t void *
! 6628: #else
! 6629: # define lt_ptr_t char *
! 6630: # define const
! 6631: #endif
! 6632:
! 6633: /* The mapping between symbol names and symbols. */
! 6634: const struct {
! 6635: const char *name;
! 6636: lt_ptr_t address;
! 6637: }
! 6638: lt_preloaded_symbols[] =
! 6639: {
! 6640: EOF
! 6641: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
! 6642: cat <<\EOF >> conftest.$ac_ext
! 6643: {0, (lt_ptr_t) 0}
! 6644: };
! 6645:
! 6646: #ifdef __cplusplus
! 6647: }
! 6648: #endif
! 6649: EOF
! 6650: # Now try linking the two files.
! 6651: mv conftest.$ac_objext conftstm.$ac_objext
! 6652: lt_save_LIBS="$LIBS"
! 6653: lt_save_CFLAGS="$CFLAGS"
! 6654: LIBS="conftstm.$ac_objext"
! 6655: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 6656: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6657: (eval $ac_link) 2>&5
! 6658: ac_status=$?
! 6659: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6660: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 6661: pipe_works=yes
! 6662: fi
! 6663: LIBS="$lt_save_LIBS"
! 6664: CFLAGS="$lt_save_CFLAGS"
! 6665: else
! 6666: echo "cannot find nm_test_func in $nlist" >&5
! 6667: fi
! 6668: else
! 6669: echo "cannot find nm_test_var in $nlist" >&5
! 6670: fi
! 6671: else
! 6672: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 6673: fi
! 6674: else
! 6675: echo "$progname: failed program was:" >&5
! 6676: cat conftest.$ac_ext >&5
! 6677: fi
! 6678: rm -rf conftest* conftst*
! 6679:
! 6680: # Do not use the global_symbol_pipe unless it works.
! 6681: if test "$pipe_works" = yes; then
! 6682: break
! 6683: else
! 6684: lt_cv_sys_global_symbol_pipe=
! 6685: fi
! 6686: done
! 6687:
! 6688: fi
! 6689:
! 6690: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 6691: lt_cv_sys_global_symbol_to_cdecl=
! 6692: fi
! 6693: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 6694: { $as_echo "$as_me:$LINENO: result: failed" >&5
! 6695: $as_echo "failed" >&6; }
! 6696: else
! 6697: { $as_echo "$as_me:$LINENO: result: ok" >&5
! 6698: $as_echo "ok" >&6; }
! 6699: fi
! 6700:
! 6701: { $as_echo "$as_me:$LINENO: checking for objdir" >&5
! 6702: $as_echo_n "checking for objdir... " >&6; }
! 6703: if test "${lt_cv_objdir+set}" = set; then
! 6704: $as_echo_n "(cached) " >&6
! 6705: else
! 6706: rm -f .libs 2>/dev/null
! 6707: mkdir .libs 2>/dev/null
! 6708: if test -d .libs; then
! 6709: lt_cv_objdir=.libs
! 6710: else
! 6711: # MS-DOS does not allow filenames that begin with a dot.
! 6712: lt_cv_objdir=_libs
! 6713: fi
! 6714: rmdir .libs 2>/dev/null
! 6715: fi
! 6716: { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 6717: $as_echo "$lt_cv_objdir" >&6; }
! 6718: objdir=$lt_cv_objdir
! 6719:
! 6720:
! 6721:
! 6722:
! 6723:
! 6724: case $host_os in
! 6725: aix3*)
! 6726: # AIX sometimes has problems with the GCC collect2 program. For some
! 6727: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 6728: # vanish in a puff of smoke.
! 6729: if test "X${COLLECT_NAMES+set}" != Xset; then
! 6730: COLLECT_NAMES=
! 6731: export COLLECT_NAMES
! 6732: fi
! 6733: ;;
! 6734: esac
! 6735:
! 6736: # Sed substitution that helps us do robust quoting. It backslashifies
! 6737: # metacharacters that are still active within double-quoted strings.
! 6738: Xsed='sed -e 1s/^X//'
! 6739: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
! 6740:
! 6741: # Same as above, but do not quote variable references.
! 6742: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
! 6743:
! 6744: # Sed substitution to delay expansion of an escaped shell variable in a
! 6745: # double_quote_subst'ed string.
! 6746: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 6747:
! 6748: # Sed substitution to avoid accidental globbing in evaled expressions
! 6749: no_glob_subst='s/\*/\\\*/g'
! 6750:
! 6751: # Constants:
! 6752: rm="rm -f"
! 6753:
! 6754: # Global variables:
! 6755: default_ofile=libtool
! 6756: can_build_shared=yes
! 6757:
! 6758: # All known linkers require a `.a' archive for static linking (except MSVC,
! 6759: # which needs '.lib').
! 6760: libext=a
! 6761: ltmain="$ac_aux_dir/ltmain.sh"
! 6762: ofile="$default_ofile"
! 6763: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 6764:
! 6765: if test -n "$ac_tool_prefix"; then
! 6766: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 6767: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 6768: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6769: $as_echo_n "checking for $ac_word... " >&6; }
! 6770: if test "${ac_cv_prog_AR+set}" = set; then
! 6771: $as_echo_n "(cached) " >&6
! 6772: else
! 6773: if test -n "$AR"; then
! 6774: ac_cv_prog_AR="$AR" # Let the user override the test.
! 6775: else
! 6776: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6777: for as_dir in $PATH
! 6778: do
! 6779: IFS=$as_save_IFS
! 6780: test -z "$as_dir" && as_dir=.
! 6781: for ac_exec_ext in '' $ac_executable_extensions; do
! 6782: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6783: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 6784: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6785: break 2
! 6786: fi
! 6787: done
! 6788: done
! 6789: IFS=$as_save_IFS
! 6790:
! 6791: fi
! 6792: fi
! 6793: AR=$ac_cv_prog_AR
! 6794: if test -n "$AR"; then
! 6795: { $as_echo "$as_me:$LINENO: result: $AR" >&5
! 6796: $as_echo "$AR" >&6; }
! 6797: else
! 6798: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6799: $as_echo "no" >&6; }
! 6800: fi
! 6801:
! 6802:
! 6803: fi
! 6804: if test -z "$ac_cv_prog_AR"; then
! 6805: ac_ct_AR=$AR
! 6806: # Extract the first word of "ar", so it can be a program name with args.
! 6807: set dummy ar; ac_word=$2
! 6808: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6809: $as_echo_n "checking for $ac_word... " >&6; }
! 6810: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
! 6811: $as_echo_n "(cached) " >&6
! 6812: else
! 6813: if test -n "$ac_ct_AR"; then
! 6814: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 6815: else
! 6816: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6817: for as_dir in $PATH
! 6818: do
! 6819: IFS=$as_save_IFS
! 6820: test -z "$as_dir" && as_dir=.
! 6821: for ac_exec_ext in '' $ac_executable_extensions; do
! 6822: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6823: ac_cv_prog_ac_ct_AR="ar"
! 6824: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6825: break 2
! 6826: fi
! 6827: done
! 6828: done
! 6829: IFS=$as_save_IFS
! 6830:
! 6831: fi
! 6832: fi
! 6833: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 6834: if test -n "$ac_ct_AR"; then
! 6835: { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 6836: $as_echo "$ac_ct_AR" >&6; }
! 6837: else
! 6838: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6839: $as_echo "no" >&6; }
! 6840: fi
! 6841:
! 6842: if test "x$ac_ct_AR" = x; then
! 6843: AR="false"
! 6844: else
! 6845: case $cross_compiling:$ac_tool_warned in
! 6846: yes:)
! 6847: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6848: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6849: ac_tool_warned=yes ;;
! 6850: esac
! 6851: AR=$ac_ct_AR
! 6852: fi
! 6853: else
! 6854: AR="$ac_cv_prog_AR"
! 6855: fi
! 6856:
! 6857: if test -n "$ac_tool_prefix"; then
! 6858: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 6859: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 6860: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6861: $as_echo_n "checking for $ac_word... " >&6; }
! 6862: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 6863: $as_echo_n "(cached) " >&6
! 6864: else
! 6865: if test -n "$RANLIB"; then
! 6866: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 6867: else
! 6868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6869: for as_dir in $PATH
! 6870: do
! 6871: IFS=$as_save_IFS
! 6872: test -z "$as_dir" && as_dir=.
! 6873: for ac_exec_ext in '' $ac_executable_extensions; do
! 6874: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6875: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 6876: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6877: break 2
! 6878: fi
! 6879: done
! 6880: done
! 6881: IFS=$as_save_IFS
! 6882:
! 6883: fi
! 6884: fi
! 6885: RANLIB=$ac_cv_prog_RANLIB
! 6886: if test -n "$RANLIB"; then
! 6887: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 6888: $as_echo "$RANLIB" >&6; }
! 6889: else
! 6890: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6891: $as_echo "no" >&6; }
! 6892: fi
! 6893:
! 6894:
! 6895: fi
! 6896: if test -z "$ac_cv_prog_RANLIB"; then
! 6897: ac_ct_RANLIB=$RANLIB
! 6898: # Extract the first word of "ranlib", so it can be a program name with args.
! 6899: set dummy ranlib; ac_word=$2
! 6900: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6901: $as_echo_n "checking for $ac_word... " >&6; }
! 6902: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 6903: $as_echo_n "(cached) " >&6
! 6904: else
! 6905: if test -n "$ac_ct_RANLIB"; then
! 6906: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 6907: else
! 6908: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6909: for as_dir in $PATH
! 6910: do
! 6911: IFS=$as_save_IFS
! 6912: test -z "$as_dir" && as_dir=.
! 6913: for ac_exec_ext in '' $ac_executable_extensions; do
! 6914: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6915: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 6916: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6917: break 2
! 6918: fi
! 6919: done
! 6920: done
! 6921: IFS=$as_save_IFS
! 6922:
! 6923: fi
! 6924: fi
! 6925: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 6926: if test -n "$ac_ct_RANLIB"; then
! 6927: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 6928: $as_echo "$ac_ct_RANLIB" >&6; }
! 6929: else
! 6930: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6931: $as_echo "no" >&6; }
! 6932: fi
! 6933:
! 6934: if test "x$ac_ct_RANLIB" = x; then
! 6935: RANLIB=":"
! 6936: else
! 6937: case $cross_compiling:$ac_tool_warned in
! 6938: yes:)
! 6939: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 6940: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6941: ac_tool_warned=yes ;;
! 6942: esac
! 6943: RANLIB=$ac_ct_RANLIB
! 6944: fi
! 6945: else
! 6946: RANLIB="$ac_cv_prog_RANLIB"
! 6947: fi
! 6948:
! 6949: if test -n "$ac_tool_prefix"; then
! 6950: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 6951: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 6952: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6953: $as_echo_n "checking for $ac_word... " >&6; }
! 6954: if test "${ac_cv_prog_STRIP+set}" = set; then
! 6955: $as_echo_n "(cached) " >&6
! 6956: else
! 6957: if test -n "$STRIP"; then
! 6958: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 6959: else
! 6960: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6961: for as_dir in $PATH
! 6962: do
! 6963: IFS=$as_save_IFS
! 6964: test -z "$as_dir" && as_dir=.
! 6965: for ac_exec_ext in '' $ac_executable_extensions; do
! 6966: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6967: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 6968: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6969: break 2
! 6970: fi
! 6971: done
! 6972: done
! 6973: IFS=$as_save_IFS
! 6974:
! 6975: fi
! 6976: fi
! 6977: STRIP=$ac_cv_prog_STRIP
! 6978: if test -n "$STRIP"; then
! 6979: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
! 6980: $as_echo "$STRIP" >&6; }
! 6981: else
! 6982: { $as_echo "$as_me:$LINENO: result: no" >&5
! 6983: $as_echo "no" >&6; }
! 6984: fi
! 6985:
! 6986:
! 6987: fi
! 6988: if test -z "$ac_cv_prog_STRIP"; then
! 6989: ac_ct_STRIP=$STRIP
! 6990: # Extract the first word of "strip", so it can be a program name with args.
! 6991: set dummy strip; ac_word=$2
! 6992: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6993: $as_echo_n "checking for $ac_word... " >&6; }
! 6994: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 6995: $as_echo_n "(cached) " >&6
! 6996: else
! 6997: if test -n "$ac_ct_STRIP"; then
! 6998: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 6999: else
! 7000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7001: for as_dir in $PATH
! 7002: do
! 7003: IFS=$as_save_IFS
! 7004: test -z "$as_dir" && as_dir=.
! 7005: for ac_exec_ext in '' $ac_executable_extensions; do
! 7006: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7007: ac_cv_prog_ac_ct_STRIP="strip"
! 7008: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7009: break 2
! 7010: fi
! 7011: done
! 7012: done
! 7013: IFS=$as_save_IFS
! 7014:
! 7015: fi
! 7016: fi
! 7017: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 7018: if test -n "$ac_ct_STRIP"; then
! 7019: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 7020: $as_echo "$ac_ct_STRIP" >&6; }
! 7021: else
! 7022: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7023: $as_echo "no" >&6; }
! 7024: fi
! 7025:
! 7026: if test "x$ac_ct_STRIP" = x; then
! 7027: STRIP=":"
! 7028: else
! 7029: case $cross_compiling:$ac_tool_warned in
! 7030: yes:)
! 7031: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 7032: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7033: ac_tool_warned=yes ;;
! 7034: esac
! 7035: STRIP=$ac_ct_STRIP
! 7036: fi
! 7037: else
! 7038: STRIP="$ac_cv_prog_STRIP"
! 7039: fi
! 7040:
! 7041:
! 7042: old_CC="$CC"
! 7043: old_CFLAGS="$CFLAGS"
! 7044:
! 7045: # Set sane defaults for various variables
! 7046: test -z "$AR" && AR=ar
! 7047: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 7048: test -z "$AS" && AS=as
! 7049: test -z "$CC" && CC=cc
! 7050: test -z "$LTCC" && LTCC=$CC
! 7051: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 7052: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 7053: test -z "$LD" && LD=ld
! 7054: test -z "$LN_S" && LN_S="ln -s"
! 7055: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 7056: test -z "$NM" && NM=nm
! 7057: test -z "$SED" && SED=sed
! 7058: test -z "$OBJDUMP" && OBJDUMP=objdump
! 7059: test -z "$RANLIB" && RANLIB=:
! 7060: test -z "$STRIP" && STRIP=:
! 7061: test -z "$ac_objext" && ac_objext=o
! 7062:
! 7063: # Determine commands to create old-style static archives.
! 7064: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 7065: old_postinstall_cmds='chmod 644 $oldlib'
! 7066: old_postuninstall_cmds=
! 7067:
! 7068: if test -n "$RANLIB"; then
! 7069: case $host_os in
! 7070: openbsd*)
! 7071: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 7072: ;;
! 7073: *)
! 7074: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 7075: ;;
! 7076: esac
! 7077: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 7078: fi
! 7079:
! 7080: for cc_temp in $compiler""; do
! 7081: case $cc_temp in
! 7082: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 7083: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 7084: \-*) ;;
! 7085: *) break;;
! 7086: esac
! 7087: done
! 7088: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 7089:
! 7090:
! 7091: # Only perform the check for file, if the check method requires it
! 7092: case $deplibs_check_method in
! 7093: file_magic*)
! 7094: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 7095: { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 7096: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 7097: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7098: $as_echo_n "(cached) " >&6
! 7099: else
! 7100: case $MAGIC_CMD in
! 7101: [\\/*] | ?:[\\/]*)
! 7102: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7103: ;;
! 7104: *)
! 7105: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7106: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7107: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7108: for ac_dir in $ac_dummy; do
! 7109: IFS="$lt_save_ifs"
! 7110: test -z "$ac_dir" && ac_dir=.
! 7111: if test -f $ac_dir/${ac_tool_prefix}file; then
! 7112: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 7113: if test -n "$file_magic_test_file"; then
! 7114: case $deplibs_check_method in
! 7115: "file_magic "*)
! 7116: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7117: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7118: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7119: $EGREP "$file_magic_regex" > /dev/null; then
! 7120: :
! 7121: else
! 7122: cat <<EOF 1>&2
! 7123:
! 7124: *** Warning: the command libtool uses to detect shared libraries,
! 7125: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7126: *** The result is that libtool may fail to recognize shared libraries
! 7127: *** as such. This will affect the creation of libtool libraries that
! 7128: *** depend on shared libraries, but programs linked with such libtool
! 7129: *** libraries will work regardless of this problem. Nevertheless, you
! 7130: *** may want to report the problem to your system manager and/or to
! 7131: *** bug-libtool@gnu.org
! 7132:
! 7133: EOF
! 7134: fi ;;
! 7135: esac
! 7136: fi
! 7137: break
! 7138: fi
! 7139: done
! 7140: IFS="$lt_save_ifs"
! 7141: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7142: ;;
! 7143: esac
! 7144: fi
! 7145:
! 7146: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7147: if test -n "$MAGIC_CMD"; then
! 7148: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7149: $as_echo "$MAGIC_CMD" >&6; }
! 7150: else
! 7151: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7152: $as_echo "no" >&6; }
! 7153: fi
! 7154:
! 7155: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 7156: if test -n "$ac_tool_prefix"; then
! 7157: { $as_echo "$as_me:$LINENO: checking for file" >&5
! 7158: $as_echo_n "checking for file... " >&6; }
! 7159: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 7160: $as_echo_n "(cached) " >&6
! 7161: else
! 7162: case $MAGIC_CMD in
! 7163: [\\/*] | ?:[\\/]*)
! 7164: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 7165: ;;
! 7166: *)
! 7167: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 7168: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 7169: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 7170: for ac_dir in $ac_dummy; do
! 7171: IFS="$lt_save_ifs"
! 7172: test -z "$ac_dir" && ac_dir=.
! 7173: if test -f $ac_dir/file; then
! 7174: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 7175: if test -n "$file_magic_test_file"; then
! 7176: case $deplibs_check_method in
! 7177: "file_magic "*)
! 7178: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 7179: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7180: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 7181: $EGREP "$file_magic_regex" > /dev/null; then
! 7182: :
! 7183: else
! 7184: cat <<EOF 1>&2
! 7185:
! 7186: *** Warning: the command libtool uses to detect shared libraries,
! 7187: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 7188: *** The result is that libtool may fail to recognize shared libraries
! 7189: *** as such. This will affect the creation of libtool libraries that
! 7190: *** depend on shared libraries, but programs linked with such libtool
! 7191: *** libraries will work regardless of this problem. Nevertheless, you
! 7192: *** may want to report the problem to your system manager and/or to
! 7193: *** bug-libtool@gnu.org
! 7194:
! 7195: EOF
! 7196: fi ;;
! 7197: esac
! 7198: fi
! 7199: break
! 7200: fi
! 7201: done
! 7202: IFS="$lt_save_ifs"
! 7203: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 7204: ;;
! 7205: esac
! 7206: fi
! 7207:
! 7208: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 7209: if test -n "$MAGIC_CMD"; then
! 7210: { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 7211: $as_echo "$MAGIC_CMD" >&6; }
! 7212: else
! 7213: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7214: $as_echo "no" >&6; }
! 7215: fi
! 7216:
! 7217: else
! 7218: MAGIC_CMD=:
! 7219: fi
! 7220: fi
! 7221:
! 7222: fi
! 7223: ;;
! 7224: esac
! 7225:
! 7226:
! 7227: case $host_os in
! 7228: rhapsody* | darwin*)
! 7229: if test -n "$ac_tool_prefix"; then
! 7230: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 7231: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 7232: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7233: $as_echo_n "checking for $ac_word... " >&6; }
! 7234: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
! 7235: $as_echo_n "(cached) " >&6
! 7236: else
! 7237: if test -n "$DSYMUTIL"; then
! 7238: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 7239: else
! 7240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7241: for as_dir in $PATH
! 7242: do
! 7243: IFS=$as_save_IFS
! 7244: test -z "$as_dir" && as_dir=.
! 7245: for ac_exec_ext in '' $ac_executable_extensions; do
! 7246: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7247: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 7248: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7249: break 2
! 7250: fi
! 7251: done
! 7252: done
! 7253: IFS=$as_save_IFS
! 7254:
! 7255: fi
! 7256: fi
! 7257: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 7258: if test -n "$DSYMUTIL"; then
! 7259: { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
! 7260: $as_echo "$DSYMUTIL" >&6; }
! 7261: else
! 7262: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7263: $as_echo "no" >&6; }
! 7264: fi
! 7265:
! 7266:
! 7267: fi
! 7268: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 7269: ac_ct_DSYMUTIL=$DSYMUTIL
! 7270: # Extract the first word of "dsymutil", so it can be a program name with args.
! 7271: set dummy dsymutil; ac_word=$2
! 7272: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7273: $as_echo_n "checking for $ac_word... " >&6; }
! 7274: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
! 7275: $as_echo_n "(cached) " >&6
! 7276: else
! 7277: if test -n "$ac_ct_DSYMUTIL"; then
! 7278: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 7279: else
! 7280: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7281: for as_dir in $PATH
! 7282: do
! 7283: IFS=$as_save_IFS
! 7284: test -z "$as_dir" && as_dir=.
! 7285: for ac_exec_ext in '' $ac_executable_extensions; do
! 7286: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7287: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 7288: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7289: break 2
! 7290: fi
! 7291: done
! 7292: done
! 7293: IFS=$as_save_IFS
! 7294:
! 7295: fi
! 7296: fi
! 7297: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 7298: if test -n "$ac_ct_DSYMUTIL"; then
! 7299: { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
! 7300: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 7301: else
! 7302: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7303: $as_echo "no" >&6; }
! 7304: fi
! 7305:
! 7306: if test "x$ac_ct_DSYMUTIL" = x; then
! 7307: DSYMUTIL=":"
! 7308: else
! 7309: case $cross_compiling:$ac_tool_warned in
! 7310: yes:)
! 7311: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 7312: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7313: ac_tool_warned=yes ;;
! 7314: esac
! 7315: DSYMUTIL=$ac_ct_DSYMUTIL
! 7316: fi
! 7317: else
! 7318: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 7319: fi
! 7320:
! 7321: if test -n "$ac_tool_prefix"; then
! 7322: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 7323: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 7324: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7325: $as_echo_n "checking for $ac_word... " >&6; }
! 7326: if test "${ac_cv_prog_NMEDIT+set}" = set; then
! 7327: $as_echo_n "(cached) " >&6
! 7328: else
! 7329: if test -n "$NMEDIT"; then
! 7330: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 7331: else
! 7332: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7333: for as_dir in $PATH
! 7334: do
! 7335: IFS=$as_save_IFS
! 7336: test -z "$as_dir" && as_dir=.
! 7337: for ac_exec_ext in '' $ac_executable_extensions; do
! 7338: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7339: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 7340: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7341: break 2
! 7342: fi
! 7343: done
! 7344: done
! 7345: IFS=$as_save_IFS
! 7346:
! 7347: fi
! 7348: fi
! 7349: NMEDIT=$ac_cv_prog_NMEDIT
! 7350: if test -n "$NMEDIT"; then
! 7351: { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
! 7352: $as_echo "$NMEDIT" >&6; }
! 7353: else
! 7354: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7355: $as_echo "no" >&6; }
! 7356: fi
! 7357:
! 7358:
! 7359: fi
! 7360: if test -z "$ac_cv_prog_NMEDIT"; then
! 7361: ac_ct_NMEDIT=$NMEDIT
! 7362: # Extract the first word of "nmedit", so it can be a program name with args.
! 7363: set dummy nmedit; ac_word=$2
! 7364: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 7365: $as_echo_n "checking for $ac_word... " >&6; }
! 7366: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
! 7367: $as_echo_n "(cached) " >&6
! 7368: else
! 7369: if test -n "$ac_ct_NMEDIT"; then
! 7370: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 7371: else
! 7372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7373: for as_dir in $PATH
! 7374: do
! 7375: IFS=$as_save_IFS
! 7376: test -z "$as_dir" && as_dir=.
! 7377: for ac_exec_ext in '' $ac_executable_extensions; do
! 7378: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7379: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 7380: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7381: break 2
! 7382: fi
! 7383: done
! 7384: done
! 7385: IFS=$as_save_IFS
! 7386:
! 7387: fi
! 7388: fi
! 7389: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 7390: if test -n "$ac_ct_NMEDIT"; then
! 7391: { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
! 7392: $as_echo "$ac_ct_NMEDIT" >&6; }
! 7393: else
! 7394: { $as_echo "$as_me:$LINENO: result: no" >&5
! 7395: $as_echo "no" >&6; }
! 7396: fi
! 7397:
! 7398: if test "x$ac_ct_NMEDIT" = x; then
! 7399: NMEDIT=":"
! 7400: else
! 7401: case $cross_compiling:$ac_tool_warned in
! 7402: yes:)
! 7403: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 7404: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7405: ac_tool_warned=yes ;;
! 7406: esac
! 7407: NMEDIT=$ac_ct_NMEDIT
! 7408: fi
! 7409: else
! 7410: NMEDIT="$ac_cv_prog_NMEDIT"
! 7411: fi
! 7412:
! 7413:
! 7414: { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
! 7415: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 7416: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
! 7417: $as_echo_n "(cached) " >&6
! 7418: else
! 7419: lt_cv_apple_cc_single_mod=no
! 7420: if test -z "${LT_MULTI_MODULE}"; then
! 7421: # By default we will add the -single_module flag. You can override
! 7422: # by either setting the environment variable LT_MULTI_MODULE
! 7423: # non-empty at configure time, or by adding -multi_module to the
! 7424: # link flags.
! 7425: echo "int foo(void){return 1;}" > conftest.c
! 7426: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 7427: -dynamiclib ${wl}-single_module conftest.c
! 7428: if test -f libconftest.dylib; then
! 7429: lt_cv_apple_cc_single_mod=yes
! 7430: rm -rf libconftest.dylib*
! 7431: fi
! 7432: rm conftest.c
! 7433: fi
! 7434: fi
! 7435: { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
! 7436: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 7437: { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
! 7438: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 7439: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
! 7440: $as_echo_n "(cached) " >&6
! 7441: else
! 7442: lt_cv_ld_exported_symbols_list=no
! 7443: save_LDFLAGS=$LDFLAGS
! 7444: echo "_main" > conftest.sym
! 7445: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 7446: cat >conftest.$ac_ext <<_ACEOF
! 7447: /* confdefs.h. */
! 7448: _ACEOF
! 7449: cat confdefs.h >>conftest.$ac_ext
! 7450: cat >>conftest.$ac_ext <<_ACEOF
! 7451: /* end confdefs.h. */
! 7452:
! 7453: int
! 7454: main ()
! 7455: {
! 7456:
! 7457: ;
! 7458: return 0;
! 7459: }
! 7460: _ACEOF
! 7461: rm -f conftest.$ac_objext conftest$ac_exeext
! 7462: if { (ac_try="$ac_link"
! 7463: case "(($ac_try" in
! 7464: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7465: *) ac_try_echo=$ac_try;;
! 7466: esac
! 7467: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 7468: $as_echo "$ac_try_echo") >&5
! 7469: (eval "$ac_link") 2>conftest.er1
! 7470: ac_status=$?
! 7471: grep -v '^ *+' conftest.er1 >conftest.err
! 7472: rm -f conftest.er1
! 7473: cat conftest.err >&5
! 7474: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7475: (exit $ac_status); } && {
! 7476: test -z "$ac_c_werror_flag" ||
! 7477: test ! -s conftest.err
! 7478: } && test -s conftest$ac_exeext && {
! 7479: test "$cross_compiling" = yes ||
! 7480: $as_test_x conftest$ac_exeext
! 7481: }; then
! 7482: lt_cv_ld_exported_symbols_list=yes
! 7483: else
! 7484: $as_echo "$as_me: failed program was:" >&5
! 7485: sed 's/^/| /' conftest.$ac_ext >&5
! 7486:
! 7487: lt_cv_ld_exported_symbols_list=no
! 7488: fi
! 7489:
! 7490: rm -rf conftest.dSYM
! 7491: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7492: conftest$ac_exeext conftest.$ac_ext
! 7493: LDFLAGS="$save_LDFLAGS"
! 7494:
! 7495: fi
! 7496: { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
! 7497: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 7498: case $host_os in
! 7499: rhapsody* | darwin1.[0123])
! 7500: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 7501: darwin1.*)
! 7502: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 7503: darwin*)
! 7504: # if running on 10.5 or later, the deployment target defaults
! 7505: # to the OS version, if on x86, and 10.4, the deployment
! 7506: # target defaults to 10.4. Don't you love it?
! 7507: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 7508: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 7509: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 7510: 10.[012]*)
! 7511: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 7512: 10.*)
! 7513: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 7514: esac
! 7515: ;;
! 7516: esac
! 7517: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 7518: _lt_dar_single_mod='$single_module'
! 7519: fi
! 7520: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 7521: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 7522: else
! 7523: _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
! 7524: fi
! 7525: if test "$DSYMUTIL" != ":"; then
! 7526: _lt_dsymutil="~$DSYMUTIL \$lib || :"
! 7527: else
! 7528: _lt_dsymutil=
! 7529: fi
! 7530: ;;
! 7531: esac
! 7532:
! 7533:
! 7534: enable_dlopen=no
! 7535: enable_win32_dll=no
! 7536:
! 7537: # Check whether --enable-libtool-lock was given.
! 7538: if test "${enable_libtool_lock+set}" = set; then
! 7539: enableval=$enable_libtool_lock;
! 7540: fi
! 7541:
! 7542: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 7543:
! 7544:
! 7545: # Check whether --with-pic was given.
! 7546: if test "${with_pic+set}" = set; then
! 7547: withval=$with_pic; pic_mode="$withval"
! 7548: else
! 7549: pic_mode=default
! 7550: fi
! 7551:
! 7552: test -z "$pic_mode" && pic_mode=default
! 7553:
! 7554: # Use C for the default configuration in the libtool script
! 7555: tagname=
! 7556: lt_save_CC="$CC"
! 7557: ac_ext=c
! 7558: ac_cpp='$CPP $CPPFLAGS'
! 7559: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7560: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7561: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7562:
! 7563:
! 7564: # Source file extension for C test sources.
! 7565: ac_ext=c
! 7566:
! 7567: # Object file extension for compiled C test sources.
! 7568: objext=o
! 7569: objext=$objext
! 7570:
! 7571: # Code to be used in simple compile tests
! 7572: lt_simple_compile_test_code="int some_variable = 0;"
! 7573:
! 7574: # Code to be used in simple link tests
! 7575: lt_simple_link_test_code='int main(){return(0);}'
! 7576:
! 7577:
! 7578: # If no C compiler was specified, use CC.
! 7579: LTCC=${LTCC-"$CC"}
! 7580:
! 7581: # If no C compiler flags were specified, use CFLAGS.
! 7582: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 7583:
! 7584: # Allow CC to be a program name with arguments.
! 7585: compiler=$CC
! 7586:
! 7587:
! 7588: # save warnings/boilerplate of simple test code
! 7589: ac_outfile=conftest.$ac_objext
! 7590: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 7591: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7592: _lt_compiler_boilerplate=`cat conftest.err`
! 7593: $rm conftest*
! 7594:
! 7595: ac_outfile=conftest.$ac_objext
! 7596: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 7597: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 7598: _lt_linker_boilerplate=`cat conftest.err`
! 7599: $rm -r conftest*
! 7600:
! 7601:
! 7602:
! 7603: lt_prog_compiler_no_builtin_flag=
! 7604:
! 7605: if test "$GCC" = yes; then
! 7606: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 7607:
! 7608:
! 7609: { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 7610: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 7611: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 7612: $as_echo_n "(cached) " >&6
! 7613: else
! 7614: lt_cv_prog_compiler_rtti_exceptions=no
! 7615: ac_outfile=conftest.$ac_objext
! 7616: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7617: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 7618: # Insert the option either (1) after the last *FLAGS variable, or
! 7619: # (2) before a word containing "conftest.", or (3) at the end.
! 7620: # Note that $ac_compile itself does not contain backslashes and begins
! 7621: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7622: # The option is referenced via a variable to avoid confusing sed.
! 7623: lt_compile=`echo "$ac_compile" | $SED \
! 7624: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7625: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7626: -e 's:$: $lt_compiler_flag:'`
! 7627: (eval echo "\"\$as_me:7627: $lt_compile\"" >&5)
! 7628: (eval "$lt_compile" 2>conftest.err)
! 7629: ac_status=$?
! 7630: cat conftest.err >&5
! 7631: echo "$as_me:7631: \$? = $ac_status" >&5
! 7632: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7633: # The compiler can only warn and ignore the option if not recognized
! 7634: # So say no if there are warnings other than the usual output.
! 7635: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7636: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7637: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7638: lt_cv_prog_compiler_rtti_exceptions=yes
! 7639: fi
! 7640: fi
! 7641: $rm conftest*
! 7642:
! 7643: fi
! 7644: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 7645: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 7646:
! 7647: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 7648: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 7649: else
! 7650: :
! 7651: fi
! 7652:
! 7653: fi
! 7654:
! 7655: lt_prog_compiler_wl=
! 7656: lt_prog_compiler_pic=
! 7657: lt_prog_compiler_static=
! 7658:
! 7659: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 7660: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 7661:
! 7662: if test "$GCC" = yes; then
! 7663: lt_prog_compiler_wl='-Wl,'
! 7664: lt_prog_compiler_static='-static'
! 7665:
! 7666: case $host_os in
! 7667: aix*)
! 7668: # All AIX code is PIC.
! 7669: if test "$host_cpu" = ia64; then
! 7670: # AIX 5 now supports IA64 processor
! 7671: lt_prog_compiler_static='-Bstatic'
! 7672: fi
! 7673: ;;
! 7674:
! 7675: amigaos*)
! 7676: # FIXME: we need at least 68020 code to build shared libraries, but
! 7677: # adding the `-m68020' flag to GCC prevents building anything better,
! 7678: # like `-m68040'.
! 7679: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 7680: ;;
! 7681:
! 7682: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 7683: # PIC is the default for these OSes.
! 7684: ;;
! 7685:
! 7686: mingw* | cygwin* | pw32* | os2*)
! 7687: # This hack is so that the source file can tell whether it is being
! 7688: # built for inclusion in a dll (and should export symbols for example).
! 7689: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 7690: # (--disable-auto-import) libraries
! 7691: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7692: ;;
! 7693:
! 7694: darwin* | rhapsody*)
! 7695: # PIC is the default on this platform
! 7696: # Common symbols not allowed in MH_DYLIB files
! 7697: lt_prog_compiler_pic='-fno-common'
! 7698: ;;
! 7699:
! 7700: interix[3-9]*)
! 7701: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 7702: # Instead, we relocate shared libraries at runtime.
! 7703: ;;
! 7704:
! 7705: msdosdjgpp*)
! 7706: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 7707: # on systems that don't support them.
! 7708: lt_prog_compiler_can_build_shared=no
! 7709: enable_shared=no
! 7710: ;;
! 7711:
! 7712: sysv4*MP*)
! 7713: if test -d /usr/nec; then
! 7714: lt_prog_compiler_pic=-Kconform_pic
! 7715: fi
! 7716: ;;
! 7717:
! 7718: hpux*)
! 7719: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7720: # not for PA HP-UX.
! 7721: case $host_cpu in
! 7722: hppa*64*|ia64*)
! 7723: # +Z the default
! 7724: ;;
! 7725: *)
! 7726: lt_prog_compiler_pic='-fPIC'
! 7727: ;;
! 7728: esac
! 7729: ;;
! 7730:
! 7731: *)
! 7732: lt_prog_compiler_pic='-fPIC'
! 7733: ;;
! 7734: esac
! 7735: else
! 7736: # PORTME Check for flag to pass linker flags through the system compiler.
! 7737: case $host_os in
! 7738: aix*)
! 7739: lt_prog_compiler_wl='-Wl,'
! 7740: if test "$host_cpu" = ia64; then
! 7741: # AIX 5 now supports IA64 processor
! 7742: lt_prog_compiler_static='-Bstatic'
! 7743: else
! 7744: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 7745: fi
! 7746: ;;
! 7747: darwin*)
! 7748: # PIC is the default on this platform
! 7749: # Common symbols not allowed in MH_DYLIB files
! 7750: case $cc_basename in
! 7751: xlc*)
! 7752: lt_prog_compiler_pic='-qnocommon'
! 7753: lt_prog_compiler_wl='-Wl,'
! 7754: ;;
! 7755: esac
! 7756: ;;
! 7757:
! 7758: mingw* | cygwin* | pw32* | os2*)
! 7759: # This hack is so that the source file can tell whether it is being
! 7760: # built for inclusion in a dll (and should export symbols for example).
! 7761: lt_prog_compiler_pic='-DDLL_EXPORT'
! 7762: ;;
! 7763:
! 7764: hpux9* | hpux10* | hpux11*)
! 7765: lt_prog_compiler_wl='-Wl,'
! 7766: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 7767: # not for PA HP-UX.
! 7768: case $host_cpu in
! 7769: hppa*64*|ia64*)
! 7770: # +Z the default
! 7771: ;;
! 7772: *)
! 7773: lt_prog_compiler_pic='+Z'
! 7774: ;;
! 7775: esac
! 7776: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 7777: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 7778: ;;
! 7779:
! 7780: irix5* | irix6* | nonstopux*)
! 7781: lt_prog_compiler_wl='-Wl,'
! 7782: # PIC (with -KPIC) is the default.
! 7783: lt_prog_compiler_static='-non_shared'
! 7784: ;;
! 7785:
! 7786: newsos6)
! 7787: lt_prog_compiler_pic='-KPIC'
! 7788: lt_prog_compiler_static='-Bstatic'
! 7789: ;;
! 7790:
! 7791: linux* | k*bsd*-gnu)
! 7792: case $cc_basename in
! 7793: icc* | ecc*)
! 7794: lt_prog_compiler_wl='-Wl,'
! 7795: lt_prog_compiler_pic='-KPIC'
! 7796: lt_prog_compiler_static='-static'
! 7797: ;;
! 7798: pgcc* | pgf77* | pgf90* | pgf95*)
! 7799: # Portland Group compilers (*not* the Pentium gcc compiler,
! 7800: # which looks to be a dead project)
! 7801: lt_prog_compiler_wl='-Wl,'
! 7802: lt_prog_compiler_pic='-fpic'
! 7803: lt_prog_compiler_static='-Bstatic'
! 7804: ;;
! 7805: ccc*)
! 7806: lt_prog_compiler_wl='-Wl,'
! 7807: # All Alpha code is PIC.
! 7808: lt_prog_compiler_static='-non_shared'
! 7809: ;;
! 7810: *)
! 7811: case `$CC -V 2>&1 | sed 5q` in
! 7812: *Sun\ C*)
! 7813: # Sun C 5.9
! 7814: lt_prog_compiler_pic='-KPIC'
! 7815: lt_prog_compiler_static='-Bstatic'
! 7816: lt_prog_compiler_wl='-Wl,'
! 7817: ;;
! 7818: *Sun\ F*)
! 7819: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 7820: lt_prog_compiler_pic='-KPIC'
! 7821: lt_prog_compiler_static='-Bstatic'
! 7822: lt_prog_compiler_wl=''
! 7823: ;;
! 7824: esac
! 7825: ;;
! 7826: esac
! 7827: ;;
! 7828:
! 7829: osf3* | osf4* | osf5*)
! 7830: lt_prog_compiler_wl='-Wl,'
! 7831: # All OSF/1 code is PIC.
! 7832: lt_prog_compiler_static='-non_shared'
! 7833: ;;
! 7834:
! 7835: rdos*)
! 7836: lt_prog_compiler_static='-non_shared'
! 7837: ;;
! 7838:
! 7839: solaris*)
! 7840: lt_prog_compiler_pic='-KPIC'
! 7841: lt_prog_compiler_static='-Bstatic'
! 7842: case $cc_basename in
! 7843: f77* | f90* | f95*)
! 7844: lt_prog_compiler_wl='-Qoption ld ';;
! 7845: *)
! 7846: lt_prog_compiler_wl='-Wl,';;
! 7847: esac
! 7848: ;;
! 7849:
! 7850: sunos4*)
! 7851: lt_prog_compiler_wl='-Qoption ld '
! 7852: lt_prog_compiler_pic='-PIC'
! 7853: lt_prog_compiler_static='-Bstatic'
! 7854: ;;
! 7855:
! 7856: sysv4 | sysv4.2uw2* | sysv4.3*)
! 7857: lt_prog_compiler_wl='-Wl,'
! 7858: lt_prog_compiler_pic='-KPIC'
! 7859: lt_prog_compiler_static='-Bstatic'
! 7860: ;;
! 7861:
! 7862: sysv4*MP*)
! 7863: if test -d /usr/nec ;then
! 7864: lt_prog_compiler_pic='-Kconform_pic'
! 7865: lt_prog_compiler_static='-Bstatic'
! 7866: fi
! 7867: ;;
! 7868:
! 7869: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 7870: lt_prog_compiler_wl='-Wl,'
! 7871: lt_prog_compiler_pic='-KPIC'
! 7872: lt_prog_compiler_static='-Bstatic'
! 7873: ;;
! 7874:
! 7875: unicos*)
! 7876: lt_prog_compiler_wl='-Wl,'
! 7877: lt_prog_compiler_can_build_shared=no
! 7878: ;;
! 7879:
! 7880: uts4*)
! 7881: lt_prog_compiler_pic='-pic'
! 7882: lt_prog_compiler_static='-Bstatic'
! 7883: ;;
! 7884:
! 7885: *)
! 7886: lt_prog_compiler_can_build_shared=no
! 7887: ;;
! 7888: esac
! 7889: fi
! 7890:
! 7891: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
! 7892: $as_echo "$lt_prog_compiler_pic" >&6; }
! 7893:
! 7894: #
! 7895: # Check to make sure the PIC flag actually works.
! 7896: #
! 7897: if test -n "$lt_prog_compiler_pic"; then
! 7898:
! 7899: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 7900: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 7901: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
! 7902: $as_echo_n "(cached) " >&6
! 7903: else
! 7904: lt_cv_prog_compiler_pic_works=no
! 7905: ac_outfile=conftest.$ac_objext
! 7906: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7907: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 7908: # Insert the option either (1) after the last *FLAGS variable, or
! 7909: # (2) before a word containing "conftest.", or (3) at the end.
! 7910: # Note that $ac_compile itself does not contain backslashes and begins
! 7911: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 7912: # The option is referenced via a variable to avoid confusing sed.
! 7913: lt_compile=`echo "$ac_compile" | $SED \
! 7914: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 7915: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 7916: -e 's:$: $lt_compiler_flag:'`
! 7917: (eval echo "\"\$as_me:7917: $lt_compile\"" >&5)
! 7918: (eval "$lt_compile" 2>conftest.err)
! 7919: ac_status=$?
! 7920: cat conftest.err >&5
! 7921: echo "$as_me:7921: \$? = $ac_status" >&5
! 7922: if (exit $ac_status) && test -s "$ac_outfile"; then
! 7923: # The compiler can only warn and ignore the option if not recognized
! 7924: # So say no if there are warnings other than the usual output.
! 7925: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 7926: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7927: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 7928: lt_cv_prog_compiler_pic_works=yes
! 7929: fi
! 7930: fi
! 7931: $rm conftest*
! 7932:
! 7933: fi
! 7934: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! 7935: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 7936:
! 7937: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 7938: case $lt_prog_compiler_pic in
! 7939: "" | " "*) ;;
! 7940: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 7941: esac
! 7942: else
! 7943: lt_prog_compiler_pic=
! 7944: lt_prog_compiler_can_build_shared=no
! 7945: fi
! 7946:
! 7947: fi
! 7948: case $host_os in
! 7949: # For platforms which do not support PIC, -DPIC is meaningless:
! 7950: *djgpp*)
! 7951: lt_prog_compiler_pic=
! 7952: ;;
! 7953: *)
! 7954: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 7955: ;;
! 7956: esac
! 7957:
! 7958: #
! 7959: # Check to make sure the static flag actually works.
! 7960: #
! 7961: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 7962: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 7963: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 7964: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
! 7965: $as_echo_n "(cached) " >&6
! 7966: else
! 7967: lt_cv_prog_compiler_static_works=no
! 7968: save_LDFLAGS="$LDFLAGS"
! 7969: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 7970: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 7971: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 7972: # The linker can only warn and ignore the option if not recognized
! 7973: # So say no if there are warnings
! 7974: if test -s conftest.err; then
! 7975: # Append any errors to the config.log.
! 7976: cat conftest.err 1>&5
! 7977: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 7978: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 7979: if diff conftest.exp conftest.er2 >/dev/null; then
! 7980: lt_cv_prog_compiler_static_works=yes
! 7981: fi
! 7982: else
! 7983: lt_cv_prog_compiler_static_works=yes
! 7984: fi
! 7985: fi
! 7986: $rm -r conftest*
! 7987: LDFLAGS="$save_LDFLAGS"
! 7988:
! 7989: fi
! 7990: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! 7991: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 7992:
! 7993: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 7994: :
! 7995: else
! 7996: lt_prog_compiler_static=
! 7997: fi
! 7998:
! 7999:
! 8000: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8001: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 8002: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 8003: $as_echo_n "(cached) " >&6
! 8004: else
! 8005: lt_cv_prog_compiler_c_o=no
! 8006: $rm -r conftest 2>/dev/null
! 8007: mkdir conftest
! 8008: cd conftest
! 8009: mkdir out
! 8010: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8011:
! 8012: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8013: # Insert the option either (1) after the last *FLAGS variable, or
! 8014: # (2) before a word containing "conftest.", or (3) at the end.
! 8015: # Note that $ac_compile itself does not contain backslashes and begins
! 8016: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8017: lt_compile=`echo "$ac_compile" | $SED \
! 8018: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8019: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8020: -e 's:$: $lt_compiler_flag:'`
! 8021: (eval echo "\"\$as_me:8021: $lt_compile\"" >&5)
! 8022: (eval "$lt_compile" 2>out/conftest.err)
! 8023: ac_status=$?
! 8024: cat out/conftest.err >&5
! 8025: echo "$as_me:8025: \$? = $ac_status" >&5
! 8026: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8027: then
! 8028: # The compiler can only warn and ignore the option if not recognized
! 8029: # So say no if there are warnings
! 8030: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 8031: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8032: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8033: lt_cv_prog_compiler_c_o=yes
! 8034: fi
! 8035: fi
! 8036: chmod u+w . 2>&5
! 8037: $rm conftest*
! 8038: # SGI C++ compiler will create directory out/ii_files/ for
! 8039: # template instantiation
! 8040: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 8041: $rm out/* && rmdir out
! 8042: cd ..
! 8043: rmdir conftest
! 8044: $rm conftest*
! 8045:
! 8046: fi
! 8047: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 8048: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 8049:
! 8050:
! 8051: hard_links="nottested"
! 8052: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 8053: # do not overwrite the value of need_locks provided by the user
! 8054: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 8055: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 8056: hard_links=yes
! 8057: $rm conftest*
! 8058: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8059: touch conftest.a
! 8060: ln conftest.a conftest.b 2>&5 || hard_links=no
! 8061: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 8062: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 8063: $as_echo "$hard_links" >&6; }
! 8064: if test "$hard_links" = no; then
! 8065: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 8066: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 8067: need_locks=warn
! 8068: fi
! 8069: else
! 8070: need_locks=no
! 8071: fi
! 8072:
! 8073: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 8074: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 8075:
! 8076: runpath_var=
! 8077: allow_undefined_flag=
! 8078: enable_shared_with_static_runtimes=no
! 8079: archive_cmds=
! 8080: archive_expsym_cmds=
! 8081: old_archive_From_new_cmds=
! 8082: old_archive_from_expsyms_cmds=
! 8083: export_dynamic_flag_spec=
! 8084: whole_archive_flag_spec=
! 8085: thread_safe_flag_spec=
! 8086: hardcode_libdir_flag_spec=
! 8087: hardcode_libdir_flag_spec_ld=
! 8088: hardcode_libdir_separator=
! 8089: hardcode_direct=no
! 8090: hardcode_minus_L=no
! 8091: hardcode_shlibpath_var=unsupported
! 8092: link_all_deplibs=unknown
! 8093: hardcode_automatic=no
! 8094: module_cmds=
! 8095: module_expsym_cmds=
! 8096: always_export_symbols=no
! 8097: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 8098: # include_expsyms should be a list of space-separated symbols to be *always*
! 8099: # included in the symbol list
! 8100: include_expsyms=
! 8101: # exclude_expsyms can be an extended regexp of symbols to exclude
! 8102: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 8103: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 8104: # as well as any symbol that contains `d'.
! 8105: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 8106: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 8107: # platforms (ab)use it in PIC code, but their linkers get confused if
! 8108: # the symbol is explicitly referenced. Since portable code cannot
! 8109: # rely on this symbol name, it's probably fine to never include it in
! 8110: # preloaded symbol tables.
! 8111: # Exclude shared library initialization/finalization symbols.
! 8112: extract_expsyms_cmds=
! 8113: # Just being paranoid about ensuring that cc_basename is set.
! 8114: for cc_temp in $compiler""; do
! 8115: case $cc_temp in
! 8116: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 8117: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 8118: \-*) ;;
! 8119: *) break;;
! 8120: esac
! 8121: done
! 8122: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 8123:
! 8124: case $host_os in
! 8125: cygwin* | mingw* | pw32*)
! 8126: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 8127: # When not using gcc, we currently assume that we are using
! 8128: # Microsoft Visual C++.
! 8129: if test "$GCC" != yes; then
! 8130: with_gnu_ld=no
! 8131: fi
! 8132: ;;
! 8133: interix*)
! 8134: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 8135: with_gnu_ld=yes
! 8136: ;;
! 8137: openbsd*)
! 8138: with_gnu_ld=no
! 8139: ;;
! 8140: esac
! 8141:
! 8142: ld_shlibs=yes
! 8143: if test "$with_gnu_ld" = yes; then
! 8144: # If archive_cmds runs LD, not CC, wlarc should be empty
! 8145: wlarc='${wl}'
! 8146:
! 8147: # Set some defaults for GNU ld with shared library support. These
! 8148: # are reset later if shared libraries are not supported. Putting them
! 8149: # here allows them to be overridden if necessary.
! 8150: runpath_var=LD_RUN_PATH
! 8151: hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
! 8152: export_dynamic_flag_spec='${wl}--export-dynamic'
! 8153: # ancient GNU ld didn't support --whole-archive et. al.
! 8154: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 8155: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 8156: else
! 8157: whole_archive_flag_spec=
! 8158: fi
! 8159: supports_anon_versioning=no
! 8160: case `$LD -v 2>/dev/null` in
! 8161: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 8162: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 8163: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 8164: *\ 2.11.*) ;; # other 2.11 versions
! 8165: *) supports_anon_versioning=yes ;;
! 8166: esac
! 8167:
! 8168: # See if GNU ld supports shared libraries.
! 8169: case $host_os in
! 8170: aix[3-9]*)
! 8171: # On AIX/PPC, the GNU linker is very broken
! 8172: if test "$host_cpu" != ia64; then
! 8173: ld_shlibs=no
! 8174: cat <<EOF 1>&2
! 8175:
! 8176: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 8177: *** to be unable to reliably create shared libraries on AIX.
! 8178: *** Therefore, libtool is disabling shared libraries support. If you
! 8179: *** really care for shared libraries, you may want to modify your PATH
! 8180: *** so that a non-GNU linker is found, and then restart.
! 8181:
! 8182: EOF
! 8183: fi
! 8184: ;;
! 8185:
! 8186: amigaos*)
! 8187: 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)'
! 8188: hardcode_libdir_flag_spec='-L$libdir'
! 8189: hardcode_minus_L=yes
! 8190:
! 8191: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 8192: # that the semantics of dynamic libraries on AmigaOS, at least up
! 8193: # to version 4, is to share data among multiple programs linked
! 8194: # with the same dynamic library. Since this doesn't match the
! 8195: # behavior of shared libraries on other platforms, we can't use
! 8196: # them.
! 8197: ld_shlibs=no
! 8198: ;;
! 8199:
! 8200: beos*)
! 8201: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8202: allow_undefined_flag=unsupported
! 8203: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 8204: # support --undefined. This deserves some investigation. FIXME
! 8205: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8206: else
! 8207: ld_shlibs=no
! 8208: fi
! 8209: ;;
! 8210:
! 8211: cygwin* | mingw* | pw32*)
! 8212: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 8213: # as there is no search path for DLLs.
! 8214: hardcode_libdir_flag_spec='-L$libdir'
! 8215: allow_undefined_flag=unsupported
! 8216: always_export_symbols=no
! 8217: enable_shared_with_static_runtimes=yes
! 8218: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 8219:
! 8220: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 8221: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8222: # If the export-symbols file already is a .def file (1st line
! 8223: # is EXPORTS), use it as is; otherwise, prepend...
! 8224: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 8225: cp $export_symbols $output_objdir/$soname.def;
! 8226: else
! 8227: echo EXPORTS > $output_objdir/$soname.def;
! 8228: cat $export_symbols >> $output_objdir/$soname.def;
! 8229: fi~
! 8230: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 8231: else
! 8232: ld_shlibs=no
! 8233: fi
! 8234: ;;
! 8235:
! 8236: interix[3-9]*)
! 8237: hardcode_direct=no
! 8238: hardcode_shlibpath_var=no
! 8239: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8240: export_dynamic_flag_spec='${wl}-E'
! 8241: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 8242: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 8243: # default) and relocated if they conflict, which is a slow very memory
! 8244: # consuming and fragmenting process. To avoid this, we pick a random,
! 8245: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 8246: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 8247: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 8248: 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'
! 8249: ;;
! 8250:
! 8251: gnu* | linux* | k*bsd*-gnu)
! 8252: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8253: tmp_addflag=
! 8254: case $cc_basename,$host_cpu in
! 8255: pgcc*) # Portland Group C compiler
! 8256: 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'
! 8257: tmp_addflag=' $pic_flag'
! 8258: ;;
! 8259: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 8260: 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'
! 8261: tmp_addflag=' $pic_flag -Mnomain' ;;
! 8262: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 8263: tmp_addflag=' -i_dynamic' ;;
! 8264: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 8265: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 8266: ifc* | ifort*) # Intel Fortran compiler
! 8267: tmp_addflag=' -nofor_main' ;;
! 8268: esac
! 8269: case `$CC -V 2>&1 | sed 5q` in
! 8270: *Sun\ C*) # Sun C 5.9
! 8271: 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'
! 8272: tmp_sharedflag='-G' ;;
! 8273: *Sun\ F*) # Sun Fortran 8.3
! 8274: tmp_sharedflag='-G' ;;
! 8275: *)
! 8276: tmp_sharedflag='-shared' ;;
! 8277: esac
! 8278: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8279:
! 8280: if test $supports_anon_versioning = yes; then
! 8281: archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
! 8282: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 8283: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 8284: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 8285: fi
! 8286: link_all_deplibs=no
! 8287: else
! 8288: ld_shlibs=no
! 8289: fi
! 8290: ;;
! 8291:
! 8292: netbsd* | netbsdelf*-gnu)
! 8293: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 8294: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 8295: wlarc=
! 8296: else
! 8297: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8298: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8299: fi
! 8300: ;;
! 8301:
! 8302: solaris*)
! 8303: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 8304: ld_shlibs=no
! 8305: cat <<EOF 1>&2
! 8306:
! 8307: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 8308: *** create shared libraries on Solaris systems. Therefore, libtool
! 8309: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8310: *** binutils to release 2.9.1 or newer. Another option is to modify
! 8311: *** your PATH or compiler configuration so that the native linker is
! 8312: *** used, and then restart.
! 8313:
! 8314: EOF
! 8315: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8316: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8317: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8318: else
! 8319: ld_shlibs=no
! 8320: fi
! 8321: ;;
! 8322:
! 8323: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 8324: case `$LD -v 2>&1` in
! 8325: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 8326: ld_shlibs=no
! 8327: cat <<_LT_EOF 1>&2
! 8328:
! 8329: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 8330: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 8331: *** is disabling shared libraries support. We urge you to upgrade GNU
! 8332: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 8333: *** your PATH or compiler configuration so that the native linker is
! 8334: *** used, and then restart.
! 8335:
! 8336: _LT_EOF
! 8337: ;;
! 8338: *)
! 8339: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8340: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 8341: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 8342: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 8343: else
! 8344: ld_shlibs=no
! 8345: fi
! 8346: ;;
! 8347: esac
! 8348: ;;
! 8349:
! 8350: sunos4*)
! 8351: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8352: wlarc=
! 8353: hardcode_direct=yes
! 8354: hardcode_shlibpath_var=no
! 8355: ;;
! 8356:
! 8357: *)
! 8358: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 8359: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 8360: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 8361: else
! 8362: ld_shlibs=no
! 8363: fi
! 8364: ;;
! 8365: esac
! 8366:
! 8367: if test "$ld_shlibs" = no; then
! 8368: runpath_var=
! 8369: hardcode_libdir_flag_spec=
! 8370: export_dynamic_flag_spec=
! 8371: whole_archive_flag_spec=
! 8372: fi
! 8373: else
! 8374: # PORTME fill in a description of your system's linker (not GNU ld)
! 8375: case $host_os in
! 8376: aix3*)
! 8377: allow_undefined_flag=unsupported
! 8378: always_export_symbols=yes
! 8379: 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'
! 8380: # Note: this linker hardcodes the directories in LIBPATH if there
! 8381: # are no directories specified by -L.
! 8382: hardcode_minus_L=yes
! 8383: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 8384: # Neither direct hardcoding nor static linking is supported with a
! 8385: # broken collect2.
! 8386: hardcode_direct=unsupported
! 8387: fi
! 8388: ;;
! 8389:
! 8390: aix[4-9]*)
! 8391: if test "$host_cpu" = ia64; then
! 8392: # On IA64, the linker does run time linking by default, so we don't
! 8393: # have to do anything special.
! 8394: aix_use_runtimelinking=no
! 8395: exp_sym_flag='-Bexport'
! 8396: no_entry_flag=""
! 8397: else
! 8398: # If we're using GNU nm, then we don't want the "-C" option.
! 8399: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 8400: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 8401: 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'
! 8402: else
! 8403: 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'
! 8404: fi
! 8405: aix_use_runtimelinking=no
! 8406:
! 8407: # Test if we are trying to use run time linking or normal
! 8408: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 8409: # need to do runtime linking.
! 8410: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 8411: for ld_flag in $LDFLAGS; do
! 8412: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 8413: aix_use_runtimelinking=yes
! 8414: break
! 8415: fi
! 8416: done
! 8417: ;;
! 8418: esac
! 8419:
! 8420: exp_sym_flag='-bexport'
! 8421: no_entry_flag='-bnoentry'
! 8422: fi
! 8423:
! 8424: # When large executables or shared objects are built, AIX ld can
! 8425: # have problems creating the table of contents. If linking a library
! 8426: # or program results in "error TOC overflow" add -mminimal-toc to
! 8427: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 8428: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 8429:
! 8430: archive_cmds=''
! 8431: hardcode_direct=yes
! 8432: hardcode_libdir_separator=':'
! 8433: link_all_deplibs=yes
! 8434:
! 8435: if test "$GCC" = yes; then
! 8436: case $host_os in aix4.[012]|aix4.[012].*)
! 8437: # We only want to do this on AIX 4.2 and lower, the check
! 8438: # below for broken collect2 doesn't work under 4.3+
! 8439: collect2name=`${CC} -print-prog-name=collect2`
! 8440: if test -f "$collect2name" && \
! 8441: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 8442: then
! 8443: # We have reworked collect2
! 8444: :
! 8445: else
! 8446: # We have old collect2
! 8447: hardcode_direct=unsupported
! 8448: # It fails to find uninstalled libraries when the uninstalled
! 8449: # path is not listed in the libpath. Setting hardcode_minus_L
! 8450: # to unsupported forces relinking
! 8451: hardcode_minus_L=yes
! 8452: hardcode_libdir_flag_spec='-L$libdir'
! 8453: hardcode_libdir_separator=
! 8454: fi
! 8455: ;;
! 8456: esac
! 8457: shared_flag='-shared'
! 8458: if test "$aix_use_runtimelinking" = yes; then
! 8459: shared_flag="$shared_flag "'${wl}-G'
! 8460: fi
! 8461: else
! 8462: # not using gcc
! 8463: if test "$host_cpu" = ia64; then
! 8464: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 8465: # chokes on -Wl,-G. The following line is correct:
! 8466: shared_flag='-G'
! 8467: else
! 8468: if test "$aix_use_runtimelinking" = yes; then
! 8469: shared_flag='${wl}-G'
! 8470: else
! 8471: shared_flag='${wl}-bM:SRE'
! 8472: fi
! 8473: fi
! 8474: fi
! 8475:
! 8476: # It seems that -bexpall does not export symbols beginning with
! 8477: # underscore (_), so it is better to generate a list of symbols to export.
! 8478: always_export_symbols=yes
! 8479: if test "$aix_use_runtimelinking" = yes; then
! 8480: # Warning - without using the other runtime loading flags (-brtl),
! 8481: # -berok will link without error, but may produce a broken library.
! 8482: allow_undefined_flag='-berok'
! 8483: # Determine the default libpath from the value encoded in an empty executable.
! 8484: cat >conftest.$ac_ext <<_ACEOF
! 8485: /* confdefs.h. */
! 8486: _ACEOF
! 8487: cat confdefs.h >>conftest.$ac_ext
! 8488: cat >>conftest.$ac_ext <<_ACEOF
! 8489: /* end confdefs.h. */
! 8490:
! 8491: int
! 8492: main ()
! 8493: {
! 8494:
! 8495: ;
! 8496: return 0;
! 8497: }
! 8498: _ACEOF
! 8499: rm -f conftest.$ac_objext conftest$ac_exeext
! 8500: if { (ac_try="$ac_link"
! 8501: case "(($ac_try" in
! 8502: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8503: *) ac_try_echo=$ac_try;;
! 8504: esac
! 8505: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8506: $as_echo "$ac_try_echo") >&5
! 8507: (eval "$ac_link") 2>conftest.er1
! 8508: ac_status=$?
! 8509: grep -v '^ *+' conftest.er1 >conftest.err
! 8510: rm -f conftest.er1
! 8511: cat conftest.err >&5
! 8512: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8513: (exit $ac_status); } && {
! 8514: test -z "$ac_c_werror_flag" ||
! 8515: test ! -s conftest.err
! 8516: } && test -s conftest$ac_exeext && {
! 8517: test "$cross_compiling" = yes ||
! 8518: $as_test_x conftest$ac_exeext
! 8519: }; then
! 8520:
! 8521: lt_aix_libpath_sed='
! 8522: /Import File Strings/,/^$/ {
! 8523: /^0/ {
! 8524: s/^0 *\(.*\)$/\1/
! 8525: p
! 8526: }
! 8527: }'
! 8528: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8529: # Check for a 64-bit object if we didn't find anything.
! 8530: if test -z "$aix_libpath"; then
! 8531: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8532: fi
! 8533: else
! 8534: $as_echo "$as_me: failed program was:" >&5
! 8535: sed 's/^/| /' conftest.$ac_ext >&5
! 8536:
! 8537:
! 8538: fi
! 8539:
! 8540: rm -rf conftest.dSYM
! 8541: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8542: conftest$ac_exeext conftest.$ac_ext
! 8543: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8544:
! 8545: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8546: 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"
! 8547: else
! 8548: if test "$host_cpu" = ia64; then
! 8549: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 8550: allow_undefined_flag="-z nodefs"
! 8551: 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"
! 8552: else
! 8553: # Determine the default libpath from the value encoded in an empty executable.
! 8554: cat >conftest.$ac_ext <<_ACEOF
! 8555: /* confdefs.h. */
! 8556: _ACEOF
! 8557: cat confdefs.h >>conftest.$ac_ext
! 8558: cat >>conftest.$ac_ext <<_ACEOF
! 8559: /* end confdefs.h. */
! 8560:
! 8561: int
! 8562: main ()
! 8563: {
! 8564:
! 8565: ;
! 8566: return 0;
! 8567: }
! 8568: _ACEOF
! 8569: rm -f conftest.$ac_objext conftest$ac_exeext
! 8570: if { (ac_try="$ac_link"
! 8571: case "(($ac_try" in
! 8572: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8573: *) ac_try_echo=$ac_try;;
! 8574: esac
! 8575: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 8576: $as_echo "$ac_try_echo") >&5
! 8577: (eval "$ac_link") 2>conftest.er1
! 8578: ac_status=$?
! 8579: grep -v '^ *+' conftest.er1 >conftest.err
! 8580: rm -f conftest.er1
! 8581: cat conftest.err >&5
! 8582: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8583: (exit $ac_status); } && {
! 8584: test -z "$ac_c_werror_flag" ||
! 8585: test ! -s conftest.err
! 8586: } && test -s conftest$ac_exeext && {
! 8587: test "$cross_compiling" = yes ||
! 8588: $as_test_x conftest$ac_exeext
! 8589: }; then
! 8590:
! 8591: lt_aix_libpath_sed='
! 8592: /Import File Strings/,/^$/ {
! 8593: /^0/ {
! 8594: s/^0 *\(.*\)$/\1/
! 8595: p
! 8596: }
! 8597: }'
! 8598: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8599: # Check for a 64-bit object if we didn't find anything.
! 8600: if test -z "$aix_libpath"; then
! 8601: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 8602: fi
! 8603: else
! 8604: $as_echo "$as_me: failed program was:" >&5
! 8605: sed 's/^/| /' conftest.$ac_ext >&5
! 8606:
! 8607:
! 8608: fi
! 8609:
! 8610: rm -rf conftest.dSYM
! 8611: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 8612: conftest$ac_exeext conftest.$ac_ext
! 8613: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 8614:
! 8615: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 8616: # Warning - without using the other run time loading flags,
! 8617: # -berok will link without error, but may produce a broken library.
! 8618: no_undefined_flag=' ${wl}-bernotok'
! 8619: allow_undefined_flag=' ${wl}-berok'
! 8620: # Exported symbols can be pulled into shared objects from archives
! 8621: whole_archive_flag_spec='$convenience'
! 8622: archive_cmds_need_lc=yes
! 8623: # This is similar to how AIX traditionally builds its shared libraries.
! 8624: 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'
! 8625: fi
! 8626: fi
! 8627: ;;
! 8628:
! 8629: amigaos*)
! 8630: 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)'
! 8631: hardcode_libdir_flag_spec='-L$libdir'
! 8632: hardcode_minus_L=yes
! 8633: # see comment about different semantics on the GNU ld section
! 8634: ld_shlibs=no
! 8635: ;;
! 8636:
! 8637: bsdi[45]*)
! 8638: export_dynamic_flag_spec=-rdynamic
! 8639: ;;
! 8640:
! 8641: cygwin* | mingw* | pw32*)
! 8642: # When not using gcc, we currently assume that we are using
! 8643: # Microsoft Visual C++.
! 8644: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 8645: # no search path for DLLs.
! 8646: hardcode_libdir_flag_spec=' '
! 8647: allow_undefined_flag=unsupported
! 8648: # Tell ltmain to make .lib files, not .a files.
! 8649: libext=lib
! 8650: # Tell ltmain to make .dll files, not .so files.
! 8651: shrext_cmds=".dll"
! 8652: # FIXME: Setting linknames here is a bad hack.
! 8653: archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 8654: # The linker will automatically build a .lib file if we build a DLL.
! 8655: old_archive_From_new_cmds='true'
! 8656: # FIXME: Should let the user specify the lib program.
! 8657: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 8658: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 8659: enable_shared_with_static_runtimes=yes
! 8660: ;;
! 8661:
! 8662: darwin* | rhapsody*)
! 8663: case $host_os in
! 8664: rhapsody* | darwin1.[012])
! 8665: allow_undefined_flag='${wl}-undefined ${wl}suppress'
! 8666: ;;
! 8667: *) # Darwin 1.3 on
! 8668: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 8669: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 8670: else
! 8671: case ${MACOSX_DEPLOYMENT_TARGET} in
! 8672: 10.[012])
! 8673: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 8674: ;;
! 8675: 10.*)
! 8676: allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
! 8677: ;;
! 8678: esac
! 8679: fi
! 8680: ;;
! 8681: esac
! 8682: archive_cmds_need_lc=no
! 8683: hardcode_direct=no
! 8684: hardcode_automatic=yes
! 8685: hardcode_shlibpath_var=unsupported
! 8686: whole_archive_flag_spec=''
! 8687: link_all_deplibs=yes
! 8688: if test "$GCC" = yes ; then
! 8689: output_verbose_link_cmd='echo'
! 8690: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 8691: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 8692: 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}"
! 8693: 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}"
! 8694: else
! 8695: case $cc_basename in
! 8696: xlc*)
! 8697: output_verbose_link_cmd='echo'
! 8698: archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 8699: module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 8700: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 8701: 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}'
! 8702: 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}'
! 8703: ;;
! 8704: *)
! 8705: ld_shlibs=no
! 8706: ;;
! 8707: esac
! 8708: fi
! 8709: ;;
! 8710:
! 8711: dgux*)
! 8712: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8713: hardcode_libdir_flag_spec='-L$libdir'
! 8714: hardcode_shlibpath_var=no
! 8715: ;;
! 8716:
! 8717: freebsd1*)
! 8718: ld_shlibs=no
! 8719: ;;
! 8720:
! 8721: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 8722: # support. Future versions do this automatically, but an explicit c++rt0.o
! 8723: # does not break anything, and helps significantly (at the cost of a little
! 8724: # extra space).
! 8725: freebsd2.2*)
! 8726: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 8727: hardcode_libdir_flag_spec='-R$libdir'
! 8728: hardcode_direct=yes
! 8729: hardcode_shlibpath_var=no
! 8730: ;;
! 8731:
! 8732: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 8733: freebsd2*)
! 8734: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8735: hardcode_direct=yes
! 8736: hardcode_minus_L=yes
! 8737: hardcode_shlibpath_var=no
! 8738: ;;
! 8739:
! 8740: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 8741: freebsd* | dragonfly*)
! 8742: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 8743: hardcode_libdir_flag_spec='-R$libdir'
! 8744: hardcode_direct=yes
! 8745: hardcode_shlibpath_var=no
! 8746: ;;
! 8747:
! 8748: hpux9*)
! 8749: if test "$GCC" = yes; then
! 8750: 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'
! 8751: else
! 8752: 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'
! 8753: fi
! 8754: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8755: hardcode_libdir_separator=:
! 8756: hardcode_direct=yes
! 8757:
! 8758: # hardcode_minus_L: Not really in the search PATH,
! 8759: # but as the default location of the library.
! 8760: hardcode_minus_L=yes
! 8761: export_dynamic_flag_spec='${wl}-E'
! 8762: ;;
! 8763:
! 8764: hpux10*)
! 8765: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8766: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8767: else
! 8768: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 8769: fi
! 8770: if test "$with_gnu_ld" = no; then
! 8771: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8772: hardcode_libdir_separator=:
! 8773:
! 8774: hardcode_direct=yes
! 8775: export_dynamic_flag_spec='${wl}-E'
! 8776:
! 8777: # hardcode_minus_L: Not really in the search PATH,
! 8778: # but as the default location of the library.
! 8779: hardcode_minus_L=yes
! 8780: fi
! 8781: ;;
! 8782:
! 8783: hpux11*)
! 8784: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 8785: case $host_cpu in
! 8786: hppa*64*)
! 8787: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8788: ;;
! 8789: ia64*)
! 8790: archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8791: ;;
! 8792: *)
! 8793: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8794: ;;
! 8795: esac
! 8796: else
! 8797: case $host_cpu in
! 8798: hppa*64*)
! 8799: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8800: ;;
! 8801: ia64*)
! 8802: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 8803: ;;
! 8804: *)
! 8805: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 8806: ;;
! 8807: esac
! 8808: fi
! 8809: if test "$with_gnu_ld" = no; then
! 8810: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 8811: hardcode_libdir_separator=:
! 8812:
! 8813: case $host_cpu in
! 8814: hppa*64*|ia64*)
! 8815: hardcode_libdir_flag_spec_ld='+b $libdir'
! 8816: hardcode_direct=no
! 8817: hardcode_shlibpath_var=no
! 8818: ;;
! 8819: *)
! 8820: hardcode_direct=yes
! 8821: export_dynamic_flag_spec='${wl}-E'
! 8822:
! 8823: # hardcode_minus_L: Not really in the search PATH,
! 8824: # but as the default location of the library.
! 8825: hardcode_minus_L=yes
! 8826: ;;
! 8827: esac
! 8828: fi
! 8829: ;;
! 8830:
! 8831: irix5* | irix6* | nonstopux*)
! 8832: if test "$GCC" = yes; then
! 8833: 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'
! 8834: else
! 8835: 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'
! 8836: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 8837: fi
! 8838: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8839: hardcode_libdir_separator=:
! 8840: link_all_deplibs=yes
! 8841: ;;
! 8842:
! 8843: netbsd* | netbsdelf*-gnu)
! 8844: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 8845: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 8846: else
! 8847: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 8848: fi
! 8849: hardcode_libdir_flag_spec='-R$libdir'
! 8850: hardcode_direct=yes
! 8851: hardcode_shlibpath_var=no
! 8852: ;;
! 8853:
! 8854: newsos6)
! 8855: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8856: hardcode_direct=yes
! 8857: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8858: hardcode_libdir_separator=:
! 8859: hardcode_shlibpath_var=no
! 8860: ;;
! 8861:
! 8862: openbsd*)
! 8863: if test -f /usr/libexec/ld.so; then
! 8864: hardcode_direct=yes
! 8865: hardcode_shlibpath_var=no
! 8866: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 8867: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8868: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 8869: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8870: export_dynamic_flag_spec='${wl}-E'
! 8871: else
! 8872: case $host_os in
! 8873: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 8874: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 8875: hardcode_libdir_flag_spec='-R$libdir'
! 8876: ;;
! 8877: *)
! 8878: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 8879: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 8880: ;;
! 8881: esac
! 8882: fi
! 8883: else
! 8884: ld_shlibs=no
! 8885: fi
! 8886: ;;
! 8887:
! 8888: os2*)
! 8889: hardcode_libdir_flag_spec='-L$libdir'
! 8890: hardcode_minus_L=yes
! 8891: allow_undefined_flag=unsupported
! 8892: 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'
! 8893: old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 8894: ;;
! 8895:
! 8896: osf3*)
! 8897: if test "$GCC" = yes; then
! 8898: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8899: 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'
! 8900: else
! 8901: allow_undefined_flag=' -expect_unresolved \*'
! 8902: 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'
! 8903: fi
! 8904: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8905: hardcode_libdir_separator=:
! 8906: ;;
! 8907:
! 8908: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 8909: if test "$GCC" = yes; then
! 8910: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 8911: 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'
! 8912: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 8913: else
! 8914: allow_undefined_flag=' -expect_unresolved \*'
! 8915: 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'
! 8916: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 8917: $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'
! 8918:
! 8919: # Both c and cxx compiler support -rpath directly
! 8920: hardcode_libdir_flag_spec='-rpath $libdir'
! 8921: fi
! 8922: hardcode_libdir_separator=:
! 8923: ;;
! 8924:
! 8925: solaris*)
! 8926: no_undefined_flag=' -z text'
! 8927: if test "$GCC" = yes; then
! 8928: wlarc='${wl}'
! 8929: archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 8930: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 8931: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 8932: else
! 8933: wlarc=''
! 8934: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8935: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 8936: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 8937: fi
! 8938: hardcode_libdir_flag_spec='-R$libdir'
! 8939: hardcode_shlibpath_var=no
! 8940: case $host_os in
! 8941: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 8942: *)
! 8943: # The compiler driver will combine and reorder linker options,
! 8944: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 8945: # but is careful enough not to reorder.
! 8946: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 8947: if test "$GCC" = yes; then
! 8948: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 8949: else
! 8950: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 8951: fi
! 8952: ;;
! 8953: esac
! 8954: link_all_deplibs=yes
! 8955: ;;
! 8956:
! 8957: sunos4*)
! 8958: if test "x$host_vendor" = xsequent; then
! 8959: # Use $CC to link under sequent, because it throws in some extra .o
! 8960: # files that make .init and .fini sections work.
! 8961: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 8962: else
! 8963: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 8964: fi
! 8965: hardcode_libdir_flag_spec='-L$libdir'
! 8966: hardcode_direct=yes
! 8967: hardcode_minus_L=yes
! 8968: hardcode_shlibpath_var=no
! 8969: ;;
! 8970:
! 8971: sysv4)
! 8972: case $host_vendor in
! 8973: sni)
! 8974: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8975: hardcode_direct=yes # is this really true???
! 8976: ;;
! 8977: siemens)
! 8978: ## LD is ld it makes a PLAMLIB
! 8979: ## CC just makes a GrossModule.
! 8980: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 8981: reload_cmds='$CC -r -o $output$reload_objs'
! 8982: hardcode_direct=no
! 8983: ;;
! 8984: motorola)
! 8985: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8986: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 8987: ;;
! 8988: esac
! 8989: runpath_var='LD_RUN_PATH'
! 8990: hardcode_shlibpath_var=no
! 8991: ;;
! 8992:
! 8993: sysv4.3*)
! 8994: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 8995: hardcode_shlibpath_var=no
! 8996: export_dynamic_flag_spec='-Bexport'
! 8997: ;;
! 8998:
! 8999: sysv4*MP*)
! 9000: if test -d /usr/nec; then
! 9001: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9002: hardcode_shlibpath_var=no
! 9003: runpath_var=LD_RUN_PATH
! 9004: hardcode_runpath_var=yes
! 9005: ld_shlibs=yes
! 9006: fi
! 9007: ;;
! 9008:
! 9009: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 9010: no_undefined_flag='${wl}-z,text'
! 9011: archive_cmds_need_lc=no
! 9012: hardcode_shlibpath_var=no
! 9013: runpath_var='LD_RUN_PATH'
! 9014:
! 9015: if test "$GCC" = yes; then
! 9016: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9017: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9018: else
! 9019: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9020: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9021: fi
! 9022: ;;
! 9023:
! 9024: sysv5* | sco3.2v5* | sco5v6*)
! 9025: # Note: We can NOT use -z defs as we might desire, because we do not
! 9026: # link with -lc, and that would cause any symbols used from libc to
! 9027: # always be unresolved, which means just about no library would
! 9028: # ever link correctly. If we're not using GNU ld we use -z text
! 9029: # though, which does catch some bad symbols but isn't as heavy-handed
! 9030: # as -z defs.
! 9031: no_undefined_flag='${wl}-z,text'
! 9032: allow_undefined_flag='${wl}-z,nodefs'
! 9033: archive_cmds_need_lc=no
! 9034: hardcode_shlibpath_var=no
! 9035: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 9036: hardcode_libdir_separator=':'
! 9037: link_all_deplibs=yes
! 9038: export_dynamic_flag_spec='${wl}-Bexport'
! 9039: runpath_var='LD_RUN_PATH'
! 9040:
! 9041: if test "$GCC" = yes; then
! 9042: archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9043: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9044: else
! 9045: archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9046: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9047: fi
! 9048: ;;
! 9049:
! 9050: uts4*)
! 9051: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9052: hardcode_libdir_flag_spec='-L$libdir'
! 9053: hardcode_shlibpath_var=no
! 9054: ;;
! 9055:
! 9056: *)
! 9057: ld_shlibs=no
! 9058: ;;
! 9059: esac
! 9060: fi
! 9061:
! 9062: { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 9063: $as_echo "$ld_shlibs" >&6; }
! 9064: test "$ld_shlibs" = no && can_build_shared=no
! 9065:
! 9066: #
! 9067: # Do we need to explicitly link libc?
! 9068: #
! 9069: case "x$archive_cmds_need_lc" in
! 9070: x|xyes)
! 9071: # Assume -lc should be added
! 9072: archive_cmds_need_lc=yes
! 9073:
! 9074: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 9075: case $archive_cmds in
! 9076: *'~'*)
! 9077: # FIXME: we may have to deal with multi-command sequences.
! 9078: ;;
! 9079: '$CC '*)
! 9080: # Test whether the compiler implicitly links with -lc since on some
! 9081: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 9082: # to ld, don't add -lc before -lgcc.
! 9083: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 9084: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 9085: $rm conftest*
! 9086: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9087:
! 9088: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9089: (eval $ac_compile) 2>&5
! 9090: ac_status=$?
! 9091: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9092: (exit $ac_status); } 2>conftest.err; then
! 9093: soname=conftest
! 9094: lib=conftest
! 9095: libobjs=conftest.$ac_objext
! 9096: deplibs=
! 9097: wl=$lt_prog_compiler_wl
! 9098: pic_flag=$lt_prog_compiler_pic
! 9099: compiler_flags=-v
! 9100: linker_flags=-v
! 9101: verstring=
! 9102: output_objdir=.
! 9103: libname=conftest
! 9104: lt_save_allow_undefined_flag=$allow_undefined_flag
! 9105: allow_undefined_flag=
! 9106: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 9107: (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 9108: ac_status=$?
! 9109: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9110: (exit $ac_status); }
! 9111: then
! 9112: archive_cmds_need_lc=no
! 9113: else
! 9114: archive_cmds_need_lc=yes
! 9115: fi
! 9116: allow_undefined_flag=$lt_save_allow_undefined_flag
! 9117: else
! 9118: cat conftest.err 1>&5
! 9119: fi
! 9120: $rm conftest*
! 9121: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
! 9122: $as_echo "$archive_cmds_need_lc" >&6; }
! 9123: ;;
! 9124: esac
! 9125: fi
! 9126: ;;
! 9127: esac
! 9128:
! 9129: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 9130: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 9131: library_names_spec=
! 9132: libname_spec='lib$name'
! 9133: soname_spec=
! 9134: shrext_cmds=".so"
! 9135: postinstall_cmds=
! 9136: postuninstall_cmds=
! 9137: finish_cmds=
! 9138: finish_eval=
! 9139: shlibpath_var=
! 9140: shlibpath_overrides_runpath=unknown
! 9141: version_type=none
! 9142: dynamic_linker="$host_os ld.so"
! 9143: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 9144:
! 9145: if test "$GCC" = yes; then
! 9146: case $host_os in
! 9147: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 9148: *) lt_awk_arg="/^libraries:/" ;;
! 9149: esac
! 9150: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9151: if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
! 9152: # if the path contains ";" then we assume it to be the separator
! 9153: # otherwise default to the standard path separator (i.e. ":") - it is
! 9154: # assumed that no part of a normal pathname contains ";" but that should
! 9155: # okay in the real world where ";" in dirpaths is itself problematic.
! 9156: lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
! 9157: else
! 9158: lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9159: fi
! 9160: # Ok, now we have the path, separated by spaces, we can step through it
! 9161: # and add multilib dir if necessary.
! 9162: lt_tmp_lt_search_path_spec=
! 9163: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 9164: for lt_sys_path in $lt_search_path_spec; do
! 9165: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 9166: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 9167: else
! 9168: test -d "$lt_sys_path" && \
! 9169: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 9170: fi
! 9171: done
! 9172: lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
! 9173: BEGIN {RS=" "; FS="/|\n";} {
! 9174: lt_foo="";
! 9175: lt_count=0;
! 9176: for (lt_i = NF; lt_i > 0; lt_i--) {
! 9177: if ($lt_i != "" && $lt_i != ".") {
! 9178: if ($lt_i == "..") {
! 9179: lt_count++;
! 9180: } else {
! 9181: if (lt_count == 0) {
! 9182: lt_foo="/" $lt_i lt_foo;
! 9183: } else {
! 9184: lt_count--;
! 9185: }
! 9186: }
! 9187: }
! 9188: }
! 9189: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 9190: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 9191: }'`
! 9192: sys_lib_search_path_spec=`echo $lt_search_path_spec`
! 9193: else
! 9194: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 9195: fi
! 9196: need_lib_prefix=unknown
! 9197: hardcode_into_libs=no
! 9198:
! 9199: # when you set need_version to no, make sure it does not cause -set_version
! 9200: # flags to be left without arguments
! 9201: need_version=unknown
! 9202:
! 9203: case $host_os in
! 9204: aix3*)
! 9205: version_type=linux
! 9206: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 9207: shlibpath_var=LIBPATH
! 9208:
! 9209: # AIX 3 has no versioning support, so we append a major version to the name.
! 9210: soname_spec='${libname}${release}${shared_ext}$major'
! 9211: ;;
! 9212:
! 9213: aix[4-9]*)
! 9214: version_type=linux
! 9215: need_lib_prefix=no
! 9216: need_version=no
! 9217: hardcode_into_libs=yes
! 9218: if test "$host_cpu" = ia64; then
! 9219: # AIX 5 supports IA64
! 9220: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 9221: shlibpath_var=LD_LIBRARY_PATH
! 9222: else
! 9223: # With GCC up to 2.95.x, collect2 would create an import file
! 9224: # for dependence libraries. The import file would start with
! 9225: # the line `#! .'. This would cause the generated library to
! 9226: # depend on `.', always an invalid library. This was fixed in
! 9227: # development snapshots of GCC prior to 3.0.
! 9228: case $host_os in
! 9229: aix4 | aix4.[01] | aix4.[01].*)
! 9230: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 9231: echo ' yes '
! 9232: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 9233: :
! 9234: else
! 9235: can_build_shared=no
! 9236: fi
! 9237: ;;
! 9238: esac
! 9239: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 9240: # soname into executable. Probably we can add versioning support to
! 9241: # collect2, so additional links can be useful in future.
! 9242: if test "$aix_use_runtimelinking" = yes; then
! 9243: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 9244: # instead of lib<name>.a to let people know that these are not
! 9245: # typical AIX shared libraries.
! 9246: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9247: else
! 9248: # We preserve .a as extension for shared libraries through AIX4.2
! 9249: # and later when we are not doing run time linking.
! 9250: library_names_spec='${libname}${release}.a $libname.a'
! 9251: soname_spec='${libname}${release}${shared_ext}$major'
! 9252: fi
! 9253: shlibpath_var=LIBPATH
! 9254: fi
! 9255: ;;
! 9256:
! 9257: amigaos*)
! 9258: library_names_spec='$libname.ixlibrary $libname.a'
! 9259: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 9260: 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'
! 9261: ;;
! 9262:
! 9263: beos*)
! 9264: library_names_spec='${libname}${shared_ext}'
! 9265: dynamic_linker="$host_os ld.so"
! 9266: shlibpath_var=LIBRARY_PATH
! 9267: ;;
! 9268:
! 9269: bsdi[45]*)
! 9270: version_type=linux
! 9271: need_version=no
! 9272: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9273: soname_spec='${libname}${release}${shared_ext}$major'
! 9274: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 9275: shlibpath_var=LD_LIBRARY_PATH
! 9276: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 9277: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 9278: # the default ld.so.conf also contains /usr/contrib/lib and
! 9279: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 9280: # libtool to hard-code these into programs
! 9281: ;;
! 9282:
! 9283: cygwin* | mingw* | pw32*)
! 9284: version_type=windows
! 9285: shrext_cmds=".dll"
! 9286: need_version=no
! 9287: need_lib_prefix=no
! 9288:
! 9289: case $GCC,$host_os in
! 9290: yes,cygwin* | yes,mingw* | yes,pw32*)
! 9291: library_names_spec='$libname.dll.a'
! 9292: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 9293: postinstall_cmds='base_file=`basename \${file}`~
! 9294: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 9295: dldir=$destdir/`dirname \$dlpath`~
! 9296: test -d \$dldir || mkdir -p \$dldir~
! 9297: $install_prog $dir/$dlname \$dldir/$dlname~
! 9298: chmod a+x \$dldir/$dlname'
! 9299: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 9300: dlpath=$dir/\$dldll~
! 9301: $rm \$dlpath'
! 9302: shlibpath_overrides_runpath=yes
! 9303:
! 9304: case $host_os in
! 9305: cygwin*)
! 9306: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 9307: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9308: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 9309: ;;
! 9310: mingw*)
! 9311: # MinGW DLLs use traditional 'lib' prefix
! 9312: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9313: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 9314: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 9315: # It is most probably a Windows format PATH printed by
! 9316: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 9317: # path with ; separators, and with drive letters. We can handle the
! 9318: # drive letters (cygwin fileutils understands them), so leave them,
! 9319: # especially as we might pass files found there to a mingw objdump,
! 9320: # which wouldn't understand a cygwinified path. Ahh.
! 9321: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 9322: else
! 9323: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 9324: fi
! 9325: ;;
! 9326: pw32*)
! 9327: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 9328: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 9329: ;;
! 9330: esac
! 9331: ;;
! 9332:
! 9333: *)
! 9334: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 9335: ;;
! 9336: esac
! 9337: dynamic_linker='Win32 ld.exe'
! 9338: # FIXME: first we should search . and the directory the executable is in
! 9339: shlibpath_var=PATH
! 9340: ;;
! 9341:
! 9342: darwin* | rhapsody*)
! 9343: dynamic_linker="$host_os dyld"
! 9344: version_type=darwin
! 9345: need_lib_prefix=no
! 9346: need_version=no
! 9347: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 9348: soname_spec='${libname}${release}${major}$shared_ext'
! 9349: shlibpath_overrides_runpath=yes
! 9350: shlibpath_var=DYLD_LIBRARY_PATH
! 9351: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 9352:
! 9353: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 9354: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 9355: ;;
! 9356:
! 9357: dgux*)
! 9358: version_type=linux
! 9359: need_lib_prefix=no
! 9360: need_version=no
! 9361: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 9362: soname_spec='${libname}${release}${shared_ext}$major'
! 9363: shlibpath_var=LD_LIBRARY_PATH
! 9364: ;;
! 9365:
! 9366: freebsd1*)
! 9367: dynamic_linker=no
! 9368: ;;
! 9369:
! 9370: freebsd* | dragonfly*)
! 9371: # DragonFly does not have aout. When/if they implement a new
! 9372: # versioning mechanism, adjust this.
! 9373: if test -x /usr/bin/objformat; then
! 9374: objformat=`/usr/bin/objformat`
! 9375: else
! 9376: case $host_os in
! 9377: freebsd[123]*) objformat=aout ;;
! 9378: *) objformat=elf ;;
! 9379: esac
! 9380: fi
! 9381: version_type=freebsd-$objformat
! 9382: case $version_type in
! 9383: freebsd-elf*)
! 9384: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9385: need_version=no
! 9386: need_lib_prefix=no
! 9387: ;;
! 9388: freebsd-*)
! 9389: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 9390: need_version=yes
! 9391: ;;
! 9392: esac
! 9393: shlibpath_var=LD_LIBRARY_PATH
! 9394: case $host_os in
! 9395: freebsd2*)
! 9396: shlibpath_overrides_runpath=yes
! 9397: ;;
! 9398: freebsd3.[01]* | freebsdelf3.[01]*)
! 9399: shlibpath_overrides_runpath=yes
! 9400: hardcode_into_libs=yes
! 9401: ;;
! 9402: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 9403: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 9404: shlibpath_overrides_runpath=no
! 9405: hardcode_into_libs=yes
! 9406: ;;
! 9407: *) # from 4.6 on, and DragonFly
! 9408: shlibpath_overrides_runpath=yes
! 9409: hardcode_into_libs=yes
! 9410: ;;
! 9411: esac
! 9412: ;;
! 9413:
! 9414: gnu*)
! 9415: version_type=linux
! 9416: need_lib_prefix=no
! 9417: need_version=no
! 9418: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 9419: soname_spec='${libname}${release}${shared_ext}$major'
! 9420: shlibpath_var=LD_LIBRARY_PATH
! 9421: hardcode_into_libs=yes
! 9422: ;;
! 9423:
! 9424: hpux9* | hpux10* | hpux11*)
! 9425: # Give a soname corresponding to the major version so that dld.sl refuses to
! 9426: # link against other versions.
! 9427: version_type=sunos
! 9428: need_lib_prefix=no
! 9429: need_version=no
! 9430: case $host_cpu in
! 9431: ia64*)
! 9432: shrext_cmds='.so'
! 9433: hardcode_into_libs=yes
! 9434: dynamic_linker="$host_os dld.so"
! 9435: shlibpath_var=LD_LIBRARY_PATH
! 9436: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9437: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9438: soname_spec='${libname}${release}${shared_ext}$major'
! 9439: if test "X$HPUX_IA64_MODE" = X32; then
! 9440: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 9441: else
! 9442: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 9443: fi
! 9444: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9445: ;;
! 9446: hppa*64*)
! 9447: shrext_cmds='.sl'
! 9448: hardcode_into_libs=yes
! 9449: dynamic_linker="$host_os dld.sl"
! 9450: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 9451: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 9452: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9453: soname_spec='${libname}${release}${shared_ext}$major'
! 9454: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 9455: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 9456: ;;
! 9457: *)
! 9458: shrext_cmds='.sl'
! 9459: dynamic_linker="$host_os dld.sl"
! 9460: shlibpath_var=SHLIB_PATH
! 9461: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 9462: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9463: soname_spec='${libname}${release}${shared_ext}$major'
! 9464: ;;
! 9465: esac
! 9466: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 9467: postinstall_cmds='chmod 555 $lib'
! 9468: ;;
! 9469:
! 9470: interix[3-9]*)
! 9471: version_type=linux
! 9472: need_lib_prefix=no
! 9473: need_version=no
! 9474: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9475: soname_spec='${libname}${release}${shared_ext}$major'
! 9476: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 9477: shlibpath_var=LD_LIBRARY_PATH
! 9478: shlibpath_overrides_runpath=no
! 9479: hardcode_into_libs=yes
! 9480: ;;
! 9481:
! 9482: irix5* | irix6* | nonstopux*)
! 9483: case $host_os in
! 9484: nonstopux*) version_type=nonstopux ;;
! 9485: *)
! 9486: if test "$lt_cv_prog_gnu_ld" = yes; then
! 9487: version_type=linux
! 9488: else
! 9489: version_type=irix
! 9490: fi ;;
! 9491: esac
! 9492: need_lib_prefix=no
! 9493: need_version=no
! 9494: soname_spec='${libname}${release}${shared_ext}$major'
! 9495: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9496: case $host_os in
! 9497: irix5* | nonstopux*)
! 9498: libsuff= shlibsuff=
! 9499: ;;
! 9500: *)
! 9501: case $LD in # libtool.m4 will add one of these switches to LD
! 9502: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 9503: libsuff= shlibsuff= libmagic=32-bit;;
! 9504: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 9505: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 9506: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 9507: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 9508: *) libsuff= shlibsuff= libmagic=never-match;;
! 9509: esac
! 9510: ;;
! 9511: esac
! 9512: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 9513: shlibpath_overrides_runpath=no
! 9514: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 9515: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 9516: hardcode_into_libs=yes
! 9517: ;;
! 9518:
! 9519: # No shared lib support for Linux oldld, aout, or coff.
! 9520: linux*oldld* | linux*aout* | linux*coff*)
! 9521: dynamic_linker=no
! 9522: ;;
! 9523:
! 9524: # This must be Linux ELF.
! 9525: linux* | k*bsd*-gnu)
! 9526: version_type=linux
! 9527: need_lib_prefix=no
! 9528: need_version=no
! 9529: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9530: soname_spec='${libname}${release}${shared_ext}$major'
! 9531: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 9532: shlibpath_var=LD_LIBRARY_PATH
! 9533: shlibpath_overrides_runpath=no
! 9534: # This implies no fast_install, which is unacceptable.
! 9535: # Some rework will be needed to allow for fast_install
! 9536: # before this can be enabled.
! 9537: hardcode_into_libs=yes
! 9538:
! 9539: # Append ld.so.conf contents to the search path
! 9540: if test -f /etc/ld.so.conf; then
! 9541: 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' ' '`
! 9542: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 9543: fi
! 9544:
! 9545: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 9546: # powerpc, because MkLinux only supported shared libraries with the
! 9547: # GNU dynamic linker. Since this was broken with cross compilers,
! 9548: # most powerpc-linux boxes support dynamic linking these days and
! 9549: # people can always --disable-shared, the test was removed, and we
! 9550: # assume the GNU/Linux dynamic linker is in use.
! 9551: dynamic_linker='GNU/Linux ld.so'
! 9552: ;;
! 9553:
! 9554: netbsdelf*-gnu)
! 9555: version_type=linux
! 9556: need_lib_prefix=no
! 9557: need_version=no
! 9558: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9559: soname_spec='${libname}${release}${shared_ext}$major'
! 9560: shlibpath_var=LD_LIBRARY_PATH
! 9561: shlibpath_overrides_runpath=no
! 9562: hardcode_into_libs=yes
! 9563: dynamic_linker='NetBSD ld.elf_so'
! 9564: ;;
! 9565:
! 9566: netbsd*)
! 9567: version_type=sunos
! 9568: need_lib_prefix=no
! 9569: need_version=no
! 9570: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 9571: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9572: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9573: dynamic_linker='NetBSD (a.out) ld.so'
! 9574: else
! 9575: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 9576: soname_spec='${libname}${release}${shared_ext}$major'
! 9577: dynamic_linker='NetBSD ld.elf_so'
! 9578: fi
! 9579: shlibpath_var=LD_LIBRARY_PATH
! 9580: shlibpath_overrides_runpath=yes
! 9581: hardcode_into_libs=yes
! 9582: ;;
! 9583:
! 9584: newsos6)
! 9585: version_type=linux
! 9586: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9587: shlibpath_var=LD_LIBRARY_PATH
! 9588: shlibpath_overrides_runpath=yes
! 9589: ;;
! 9590:
! 9591: nto-qnx*)
! 9592: version_type=linux
! 9593: need_lib_prefix=no
! 9594: need_version=no
! 9595: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9596: soname_spec='${libname}${release}${shared_ext}$major'
! 9597: shlibpath_var=LD_LIBRARY_PATH
! 9598: shlibpath_overrides_runpath=yes
! 9599: ;;
! 9600:
! 9601: openbsd*)
! 9602: version_type=sunos
! 9603: sys_lib_dlsearch_path_spec="/usr/lib"
! 9604: need_lib_prefix=no
! 9605: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 9606: case $host_os in
! 9607: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 9608: *) need_version=no ;;
! 9609: esac
! 9610: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9611: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 9612: shlibpath_var=LD_LIBRARY_PATH
! 9613: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 9614: case $host_os in
! 9615: openbsd2.[89] | openbsd2.[89].*)
! 9616: shlibpath_overrides_runpath=no
! 9617: ;;
! 9618: *)
! 9619: shlibpath_overrides_runpath=yes
! 9620: ;;
! 9621: esac
! 9622: else
! 9623: shlibpath_overrides_runpath=yes
! 9624: fi
! 9625: ;;
! 9626:
! 9627: os2*)
! 9628: libname_spec='$name'
! 9629: shrext_cmds=".dll"
! 9630: need_lib_prefix=no
! 9631: library_names_spec='$libname${shared_ext} $libname.a'
! 9632: dynamic_linker='OS/2 ld.exe'
! 9633: shlibpath_var=LIBPATH
! 9634: ;;
! 9635:
! 9636: osf3* | osf4* | osf5*)
! 9637: version_type=osf
! 9638: need_lib_prefix=no
! 9639: need_version=no
! 9640: soname_spec='${libname}${release}${shared_ext}$major'
! 9641: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9642: shlibpath_var=LD_LIBRARY_PATH
! 9643: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 9644: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 9645: ;;
! 9646:
! 9647: rdos*)
! 9648: dynamic_linker=no
! 9649: ;;
! 9650:
! 9651: solaris*)
! 9652: version_type=linux
! 9653: need_lib_prefix=no
! 9654: need_version=no
! 9655: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9656: soname_spec='${libname}${release}${shared_ext}$major'
! 9657: shlibpath_var=LD_LIBRARY_PATH
! 9658: shlibpath_overrides_runpath=yes
! 9659: hardcode_into_libs=yes
! 9660: # ldd complains unless libraries are executable
! 9661: postinstall_cmds='chmod +x $lib'
! 9662: ;;
! 9663:
! 9664: sunos4*)
! 9665: version_type=sunos
! 9666: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 9667: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 9668: shlibpath_var=LD_LIBRARY_PATH
! 9669: shlibpath_overrides_runpath=yes
! 9670: if test "$with_gnu_ld" = yes; then
! 9671: need_lib_prefix=no
! 9672: fi
! 9673: need_version=yes
! 9674: ;;
! 9675:
! 9676: sysv4 | sysv4.3*)
! 9677: version_type=linux
! 9678: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9679: soname_spec='${libname}${release}${shared_ext}$major'
! 9680: shlibpath_var=LD_LIBRARY_PATH
! 9681: case $host_vendor in
! 9682: sni)
! 9683: shlibpath_overrides_runpath=no
! 9684: need_lib_prefix=no
! 9685: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 9686: runpath_var=LD_RUN_PATH
! 9687: ;;
! 9688: siemens)
! 9689: need_lib_prefix=no
! 9690: ;;
! 9691: motorola)
! 9692: need_lib_prefix=no
! 9693: need_version=no
! 9694: shlibpath_overrides_runpath=no
! 9695: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 9696: ;;
! 9697: esac
! 9698: ;;
! 9699:
! 9700: sysv4*MP*)
! 9701: if test -d /usr/nec ;then
! 9702: version_type=linux
! 9703: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 9704: soname_spec='$libname${shared_ext}.$major'
! 9705: shlibpath_var=LD_LIBRARY_PATH
! 9706: fi
! 9707: ;;
! 9708:
! 9709: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 9710: version_type=freebsd-elf
! 9711: need_lib_prefix=no
! 9712: need_version=no
! 9713: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 9714: soname_spec='${libname}${release}${shared_ext}$major'
! 9715: shlibpath_var=LD_LIBRARY_PATH
! 9716: hardcode_into_libs=yes
! 9717: if test "$with_gnu_ld" = yes; then
! 9718: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 9719: shlibpath_overrides_runpath=no
! 9720: else
! 9721: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 9722: shlibpath_overrides_runpath=yes
! 9723: case $host_os in
! 9724: sco3.2v5*)
! 9725: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 9726: ;;
! 9727: esac
! 9728: fi
! 9729: sys_lib_dlsearch_path_spec='/usr/lib'
! 9730: ;;
! 9731:
! 9732: uts4*)
! 9733: version_type=linux
! 9734: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 9735: soname_spec='${libname}${release}${shared_ext}$major'
! 9736: shlibpath_var=LD_LIBRARY_PATH
! 9737: ;;
! 9738:
! 9739: *)
! 9740: dynamic_linker=no
! 9741: ;;
! 9742: esac
! 9743: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 9744: $as_echo "$dynamic_linker" >&6; }
! 9745: test "$dynamic_linker" = no && can_build_shared=no
! 9746:
! 9747: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 9748: $as_echo_n "(cached) " >&6
! 9749: else
! 9750: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 9751: fi
! 9752:
! 9753: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 9754: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 9755: $as_echo_n "(cached) " >&6
! 9756: else
! 9757: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 9758: fi
! 9759:
! 9760: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 9761:
! 9762: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 9763: if test "$GCC" = yes; then
! 9764: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 9765: fi
! 9766:
! 9767: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 9768: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 9769: hardcode_action=
! 9770: if test -n "$hardcode_libdir_flag_spec" || \
! 9771: test -n "$runpath_var" || \
! 9772: test "X$hardcode_automatic" = "Xyes" ; then
! 9773:
! 9774: # We can hardcode non-existant directories.
! 9775: if test "$hardcode_direct" != no &&
! 9776: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 9777: # have to relink, otherwise we might link with an installed library
! 9778: # when we should be linking with a yet-to-be-installed one
! 9779: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 9780: test "$hardcode_minus_L" != no; then
! 9781: # Linking always hardcodes the temporary library directory.
! 9782: hardcode_action=relink
! 9783: else
! 9784: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 9785: hardcode_action=immediate
! 9786: fi
! 9787: else
! 9788: # We cannot hardcode anything, or else we can only hardcode existing
! 9789: # directories.
! 9790: hardcode_action=unsupported
! 9791: fi
! 9792: { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 9793: $as_echo "$hardcode_action" >&6; }
! 9794:
! 9795: if test "$hardcode_action" = relink; then
! 9796: # Fast installation is not supported
! 9797: enable_fast_install=no
! 9798: elif test "$shlibpath_overrides_runpath" = yes ||
! 9799: test "$enable_shared" = no; then
! 9800: # Fast installation is not necessary
! 9801: enable_fast_install=needless
! 9802: fi
! 9803:
! 9804: striplib=
! 9805: old_striplib=
! 9806: { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 9807: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 9808: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
! 9809: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 9810: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 9811: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 9812: $as_echo "yes" >&6; }
! 9813: else
! 9814: # FIXME - insert some real tests, host_os isn't really good enough
! 9815: case $host_os in
! 9816: darwin*)
! 9817: if test -n "$STRIP" ; then
! 9818: striplib="$STRIP -x"
! 9819: old_striplib="$STRIP -S"
! 9820: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 9821: $as_echo "yes" >&6; }
! 9822: else
! 9823: { $as_echo "$as_me:$LINENO: result: no" >&5
! 9824: $as_echo "no" >&6; }
! 9825: fi
! 9826: ;;
! 9827: *)
! 9828: { $as_echo "$as_me:$LINENO: result: no" >&5
! 9829: $as_echo "no" >&6; }
! 9830: ;;
! 9831: esac
! 9832: fi
! 9833:
! 9834: if test "x$enable_dlopen" != xyes; then
! 9835: enable_dlopen=unknown
! 9836: enable_dlopen_self=unknown
! 9837: enable_dlopen_self_static=unknown
! 9838: else
! 9839: lt_cv_dlopen=no
! 9840: lt_cv_dlopen_libs=
! 9841:
! 9842: case $host_os in
! 9843: beos*)
! 9844: lt_cv_dlopen="load_add_on"
! 9845: lt_cv_dlopen_libs=
! 9846: lt_cv_dlopen_self=yes
! 9847: ;;
! 9848:
! 9849: mingw* | pw32*)
! 9850: lt_cv_dlopen="LoadLibrary"
! 9851: lt_cv_dlopen_libs=
! 9852: ;;
! 9853:
! 9854: cygwin*)
! 9855: lt_cv_dlopen="dlopen"
! 9856: lt_cv_dlopen_libs=
! 9857: ;;
! 9858:
! 9859: darwin*)
! 9860: # if libdl is installed we need to link against it
! 9861: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 9862: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 9863: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 9864: $as_echo_n "(cached) " >&6
! 9865: else
! 9866: ac_check_lib_save_LIBS=$LIBS
! 9867: LIBS="-ldl $LIBS"
! 9868: cat >conftest.$ac_ext <<_ACEOF
! 9869: /* confdefs.h. */
! 9870: _ACEOF
! 9871: cat confdefs.h >>conftest.$ac_ext
! 9872: cat >>conftest.$ac_ext <<_ACEOF
! 9873: /* end confdefs.h. */
! 9874:
! 9875: /* Override any GCC internal prototype to avoid an error.
! 9876: Use char because int might match the return type of a GCC
! 9877: builtin and then its argument prototype would still apply. */
! 9878: #ifdef __cplusplus
! 9879: extern "C"
! 9880: #endif
! 9881: char dlopen ();
! 9882: int
! 9883: main ()
! 9884: {
! 9885: return dlopen ();
! 9886: ;
! 9887: return 0;
! 9888: }
! 9889: _ACEOF
! 9890: rm -f conftest.$ac_objext conftest$ac_exeext
! 9891: if { (ac_try="$ac_link"
! 9892: case "(($ac_try" in
! 9893: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 9894: *) ac_try_echo=$ac_try;;
! 9895: esac
! 9896: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 9897: $as_echo "$ac_try_echo") >&5
! 9898: (eval "$ac_link") 2>conftest.er1
! 9899: ac_status=$?
! 9900: grep -v '^ *+' conftest.er1 >conftest.err
! 9901: rm -f conftest.er1
! 9902: cat conftest.err >&5
! 9903: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9904: (exit $ac_status); } && {
! 9905: test -z "$ac_c_werror_flag" ||
! 9906: test ! -s conftest.err
! 9907: } && test -s conftest$ac_exeext && {
! 9908: test "$cross_compiling" = yes ||
! 9909: $as_test_x conftest$ac_exeext
! 9910: }; then
! 9911: ac_cv_lib_dl_dlopen=yes
! 9912: else
! 9913: $as_echo "$as_me: failed program was:" >&5
! 9914: sed 's/^/| /' conftest.$ac_ext >&5
! 9915:
! 9916: ac_cv_lib_dl_dlopen=no
! 9917: fi
! 9918:
! 9919: rm -rf conftest.dSYM
! 9920: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 9921: conftest$ac_exeext conftest.$ac_ext
! 9922: LIBS=$ac_check_lib_save_LIBS
! 9923: fi
! 9924: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 9925: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 9926: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 9927: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 9928: else
! 9929:
! 9930: lt_cv_dlopen="dyld"
! 9931: lt_cv_dlopen_libs=
! 9932: lt_cv_dlopen_self=yes
! 9933:
! 9934: fi
! 9935:
! 9936: ;;
! 9937:
! 9938: *)
! 9939: { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
! 9940: $as_echo_n "checking for shl_load... " >&6; }
! 9941: if test "${ac_cv_func_shl_load+set}" = set; then
! 9942: $as_echo_n "(cached) " >&6
! 9943: else
! 9944: cat >conftest.$ac_ext <<_ACEOF
! 9945: /* confdefs.h. */
! 9946: _ACEOF
! 9947: cat confdefs.h >>conftest.$ac_ext
! 9948: cat >>conftest.$ac_ext <<_ACEOF
! 9949: /* end confdefs.h. */
! 9950: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 9951: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 9952: #define shl_load innocuous_shl_load
! 9953:
! 9954: /* System header to define __stub macros and hopefully few prototypes,
! 9955: which can conflict with char shl_load (); below.
! 9956: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 9957: <limits.h> exists even on freestanding compilers. */
! 9958:
! 9959: #ifdef __STDC__
! 9960: # include <limits.h>
! 9961: #else
! 9962: # include <assert.h>
! 9963: #endif
! 9964:
! 9965: #undef shl_load
! 9966:
! 9967: /* Override any GCC internal prototype to avoid an error.
! 9968: Use char because int might match the return type of a GCC
! 9969: builtin and then its argument prototype would still apply. */
! 9970: #ifdef __cplusplus
! 9971: extern "C"
! 9972: #endif
! 9973: char shl_load ();
! 9974: /* The GNU C library defines this for functions which it implements
! 9975: to always fail with ENOSYS. Some functions are actually named
! 9976: something starting with __ and the normal name is an alias. */
! 9977: #if defined __stub_shl_load || defined __stub___shl_load
! 9978: choke me
! 9979: #endif
! 9980:
! 9981: int
! 9982: main ()
! 9983: {
! 9984: return shl_load ();
! 9985: ;
! 9986: return 0;
! 9987: }
! 9988: _ACEOF
! 9989: rm -f conftest.$ac_objext conftest$ac_exeext
! 9990: if { (ac_try="$ac_link"
! 9991: case "(($ac_try" in
! 9992: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 9993: *) ac_try_echo=$ac_try;;
! 9994: esac
! 9995: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 9996: $as_echo "$ac_try_echo") >&5
! 9997: (eval "$ac_link") 2>conftest.er1
! 9998: ac_status=$?
! 9999: grep -v '^ *+' conftest.er1 >conftest.err
! 10000: rm -f conftest.er1
! 10001: cat conftest.err >&5
! 10002: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10003: (exit $ac_status); } && {
! 10004: test -z "$ac_c_werror_flag" ||
! 10005: test ! -s conftest.err
! 10006: } && test -s conftest$ac_exeext && {
! 10007: test "$cross_compiling" = yes ||
! 10008: $as_test_x conftest$ac_exeext
! 10009: }; then
! 10010: ac_cv_func_shl_load=yes
! 10011: else
! 10012: $as_echo "$as_me: failed program was:" >&5
! 10013: sed 's/^/| /' conftest.$ac_ext >&5
! 10014:
! 10015: ac_cv_func_shl_load=no
! 10016: fi
! 10017:
! 10018: rm -rf conftest.dSYM
! 10019: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10020: conftest$ac_exeext conftest.$ac_ext
! 10021: fi
! 10022: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 10023: $as_echo "$ac_cv_func_shl_load" >&6; }
! 10024: if test "x$ac_cv_func_shl_load" = x""yes; then
! 10025: lt_cv_dlopen="shl_load"
! 10026: else
! 10027: { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 10028: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 10029: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 10030: $as_echo_n "(cached) " >&6
! 10031: else
! 10032: ac_check_lib_save_LIBS=$LIBS
! 10033: LIBS="-ldld $LIBS"
! 10034: cat >conftest.$ac_ext <<_ACEOF
! 10035: /* confdefs.h. */
! 10036: _ACEOF
! 10037: cat confdefs.h >>conftest.$ac_ext
! 10038: cat >>conftest.$ac_ext <<_ACEOF
! 10039: /* end confdefs.h. */
! 10040:
! 10041: /* Override any GCC internal prototype to avoid an error.
! 10042: Use char because int might match the return type of a GCC
! 10043: builtin and then its argument prototype would still apply. */
! 10044: #ifdef __cplusplus
! 10045: extern "C"
! 10046: #endif
! 10047: char shl_load ();
! 10048: int
! 10049: main ()
! 10050: {
! 10051: return shl_load ();
! 10052: ;
! 10053: return 0;
! 10054: }
! 10055: _ACEOF
! 10056: rm -f conftest.$ac_objext conftest$ac_exeext
! 10057: if { (ac_try="$ac_link"
! 10058: case "(($ac_try" in
! 10059: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10060: *) ac_try_echo=$ac_try;;
! 10061: esac
! 10062: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10063: $as_echo "$ac_try_echo") >&5
! 10064: (eval "$ac_link") 2>conftest.er1
! 10065: ac_status=$?
! 10066: grep -v '^ *+' conftest.er1 >conftest.err
! 10067: rm -f conftest.er1
! 10068: cat conftest.err >&5
! 10069: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10070: (exit $ac_status); } && {
! 10071: test -z "$ac_c_werror_flag" ||
! 10072: test ! -s conftest.err
! 10073: } && test -s conftest$ac_exeext && {
! 10074: test "$cross_compiling" = yes ||
! 10075: $as_test_x conftest$ac_exeext
! 10076: }; then
! 10077: ac_cv_lib_dld_shl_load=yes
! 10078: else
! 10079: $as_echo "$as_me: failed program was:" >&5
! 10080: sed 's/^/| /' conftest.$ac_ext >&5
! 10081:
! 10082: ac_cv_lib_dld_shl_load=no
! 10083: fi
! 10084:
! 10085: rm -rf conftest.dSYM
! 10086: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10087: conftest$ac_exeext conftest.$ac_ext
! 10088: LIBS=$ac_check_lib_save_LIBS
! 10089: fi
! 10090: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 10091: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 10092: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
! 10093: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 10094: else
! 10095: { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
! 10096: $as_echo_n "checking for dlopen... " >&6; }
! 10097: if test "${ac_cv_func_dlopen+set}" = set; then
! 10098: $as_echo_n "(cached) " >&6
! 10099: else
! 10100: cat >conftest.$ac_ext <<_ACEOF
! 10101: /* confdefs.h. */
! 10102: _ACEOF
! 10103: cat confdefs.h >>conftest.$ac_ext
! 10104: cat >>conftest.$ac_ext <<_ACEOF
! 10105: /* end confdefs.h. */
! 10106: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 10107: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 10108: #define dlopen innocuous_dlopen
! 10109:
! 10110: /* System header to define __stub macros and hopefully few prototypes,
! 10111: which can conflict with char dlopen (); below.
! 10112: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10113: <limits.h> exists even on freestanding compilers. */
! 10114:
! 10115: #ifdef __STDC__
! 10116: # include <limits.h>
! 10117: #else
! 10118: # include <assert.h>
! 10119: #endif
! 10120:
! 10121: #undef dlopen
! 10122:
! 10123: /* Override any GCC internal prototype to avoid an error.
! 10124: Use char because int might match the return type of a GCC
! 10125: builtin and then its argument prototype would still apply. */
! 10126: #ifdef __cplusplus
! 10127: extern "C"
! 10128: #endif
! 10129: char dlopen ();
! 10130: /* The GNU C library defines this for functions which it implements
! 10131: to always fail with ENOSYS. Some functions are actually named
! 10132: something starting with __ and the normal name is an alias. */
! 10133: #if defined __stub_dlopen || defined __stub___dlopen
! 10134: choke me
! 10135: #endif
! 10136:
! 10137: int
! 10138: main ()
! 10139: {
! 10140: return dlopen ();
! 10141: ;
! 10142: return 0;
! 10143: }
! 10144: _ACEOF
! 10145: rm -f conftest.$ac_objext conftest$ac_exeext
! 10146: if { (ac_try="$ac_link"
! 10147: case "(($ac_try" in
! 10148: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10149: *) ac_try_echo=$ac_try;;
! 10150: esac
! 10151: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10152: $as_echo "$ac_try_echo") >&5
! 10153: (eval "$ac_link") 2>conftest.er1
! 10154: ac_status=$?
! 10155: grep -v '^ *+' conftest.er1 >conftest.err
! 10156: rm -f conftest.er1
! 10157: cat conftest.err >&5
! 10158: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10159: (exit $ac_status); } && {
! 10160: test -z "$ac_c_werror_flag" ||
! 10161: test ! -s conftest.err
! 10162: } && test -s conftest$ac_exeext && {
! 10163: test "$cross_compiling" = yes ||
! 10164: $as_test_x conftest$ac_exeext
! 10165: }; then
! 10166: ac_cv_func_dlopen=yes
! 10167: else
! 10168: $as_echo "$as_me: failed program was:" >&5
! 10169: sed 's/^/| /' conftest.$ac_ext >&5
! 10170:
! 10171: ac_cv_func_dlopen=no
! 10172: fi
! 10173:
! 10174: rm -rf conftest.dSYM
! 10175: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10176: conftest$ac_exeext conftest.$ac_ext
! 10177: fi
! 10178: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 10179: $as_echo "$ac_cv_func_dlopen" >&6; }
! 10180: if test "x$ac_cv_func_dlopen" = x""yes; then
! 10181: lt_cv_dlopen="dlopen"
! 10182: else
! 10183: { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 10184: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 10185: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 10186: $as_echo_n "(cached) " >&6
! 10187: else
! 10188: ac_check_lib_save_LIBS=$LIBS
! 10189: LIBS="-ldl $LIBS"
! 10190: cat >conftest.$ac_ext <<_ACEOF
! 10191: /* confdefs.h. */
! 10192: _ACEOF
! 10193: cat confdefs.h >>conftest.$ac_ext
! 10194: cat >>conftest.$ac_ext <<_ACEOF
! 10195: /* end confdefs.h. */
! 10196:
! 10197: /* Override any GCC internal prototype to avoid an error.
! 10198: Use char because int might match the return type of a GCC
! 10199: builtin and then its argument prototype would still apply. */
! 10200: #ifdef __cplusplus
! 10201: extern "C"
! 10202: #endif
! 10203: char dlopen ();
! 10204: int
! 10205: main ()
! 10206: {
! 10207: return dlopen ();
! 10208: ;
! 10209: return 0;
! 10210: }
! 10211: _ACEOF
! 10212: rm -f conftest.$ac_objext conftest$ac_exeext
! 10213: if { (ac_try="$ac_link"
! 10214: case "(($ac_try" in
! 10215: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10216: *) ac_try_echo=$ac_try;;
! 10217: esac
! 10218: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10219: $as_echo "$ac_try_echo") >&5
! 10220: (eval "$ac_link") 2>conftest.er1
! 10221: ac_status=$?
! 10222: grep -v '^ *+' conftest.er1 >conftest.err
! 10223: rm -f conftest.er1
! 10224: cat conftest.err >&5
! 10225: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10226: (exit $ac_status); } && {
! 10227: test -z "$ac_c_werror_flag" ||
! 10228: test ! -s conftest.err
! 10229: } && test -s conftest$ac_exeext && {
! 10230: test "$cross_compiling" = yes ||
! 10231: $as_test_x conftest$ac_exeext
! 10232: }; then
! 10233: ac_cv_lib_dl_dlopen=yes
! 10234: else
! 10235: $as_echo "$as_me: failed program was:" >&5
! 10236: sed 's/^/| /' conftest.$ac_ext >&5
! 10237:
! 10238: ac_cv_lib_dl_dlopen=no
! 10239: fi
! 10240:
! 10241: rm -rf conftest.dSYM
! 10242: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10243: conftest$ac_exeext conftest.$ac_ext
! 10244: LIBS=$ac_check_lib_save_LIBS
! 10245: fi
! 10246: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 10247: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 10248: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
! 10249: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 10250: else
! 10251: { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 10252: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 10253: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 10254: $as_echo_n "(cached) " >&6
! 10255: else
! 10256: ac_check_lib_save_LIBS=$LIBS
! 10257: LIBS="-lsvld $LIBS"
! 10258: cat >conftest.$ac_ext <<_ACEOF
! 10259: /* confdefs.h. */
! 10260: _ACEOF
! 10261: cat confdefs.h >>conftest.$ac_ext
! 10262: cat >>conftest.$ac_ext <<_ACEOF
! 10263: /* end confdefs.h. */
! 10264:
! 10265: /* Override any GCC internal prototype to avoid an error.
! 10266: Use char because int might match the return type of a GCC
! 10267: builtin and then its argument prototype would still apply. */
! 10268: #ifdef __cplusplus
! 10269: extern "C"
! 10270: #endif
! 10271: char dlopen ();
! 10272: int
! 10273: main ()
! 10274: {
! 10275: return dlopen ();
! 10276: ;
! 10277: return 0;
! 10278: }
! 10279: _ACEOF
! 10280: rm -f conftest.$ac_objext conftest$ac_exeext
! 10281: if { (ac_try="$ac_link"
! 10282: case "(($ac_try" in
! 10283: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10284: *) ac_try_echo=$ac_try;;
! 10285: esac
! 10286: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10287: $as_echo "$ac_try_echo") >&5
! 10288: (eval "$ac_link") 2>conftest.er1
! 10289: ac_status=$?
! 10290: grep -v '^ *+' conftest.er1 >conftest.err
! 10291: rm -f conftest.er1
! 10292: cat conftest.err >&5
! 10293: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10294: (exit $ac_status); } && {
! 10295: test -z "$ac_c_werror_flag" ||
! 10296: test ! -s conftest.err
! 10297: } && test -s conftest$ac_exeext && {
! 10298: test "$cross_compiling" = yes ||
! 10299: $as_test_x conftest$ac_exeext
! 10300: }; then
! 10301: ac_cv_lib_svld_dlopen=yes
! 10302: else
! 10303: $as_echo "$as_me: failed program was:" >&5
! 10304: sed 's/^/| /' conftest.$ac_ext >&5
! 10305:
! 10306: ac_cv_lib_svld_dlopen=no
! 10307: fi
! 10308:
! 10309: rm -rf conftest.dSYM
! 10310: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10311: conftest$ac_exeext conftest.$ac_ext
! 10312: LIBS=$ac_check_lib_save_LIBS
! 10313: fi
! 10314: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 10315: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 10316: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
! 10317: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 10318: else
! 10319: { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 10320: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 10321: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 10322: $as_echo_n "(cached) " >&6
! 10323: else
! 10324: ac_check_lib_save_LIBS=$LIBS
! 10325: LIBS="-ldld $LIBS"
! 10326: cat >conftest.$ac_ext <<_ACEOF
! 10327: /* confdefs.h. */
! 10328: _ACEOF
! 10329: cat confdefs.h >>conftest.$ac_ext
! 10330: cat >>conftest.$ac_ext <<_ACEOF
! 10331: /* end confdefs.h. */
! 10332:
! 10333: /* Override any GCC internal prototype to avoid an error.
! 10334: Use char because int might match the return type of a GCC
! 10335: builtin and then its argument prototype would still apply. */
! 10336: #ifdef __cplusplus
! 10337: extern "C"
! 10338: #endif
! 10339: char dld_link ();
! 10340: int
! 10341: main ()
! 10342: {
! 10343: return dld_link ();
! 10344: ;
! 10345: return 0;
! 10346: }
! 10347: _ACEOF
! 10348: rm -f conftest.$ac_objext conftest$ac_exeext
! 10349: if { (ac_try="$ac_link"
! 10350: case "(($ac_try" in
! 10351: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 10352: *) ac_try_echo=$ac_try;;
! 10353: esac
! 10354: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 10355: $as_echo "$ac_try_echo") >&5
! 10356: (eval "$ac_link") 2>conftest.er1
! 10357: ac_status=$?
! 10358: grep -v '^ *+' conftest.er1 >conftest.err
! 10359: rm -f conftest.er1
! 10360: cat conftest.err >&5
! 10361: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10362: (exit $ac_status); } && {
! 10363: test -z "$ac_c_werror_flag" ||
! 10364: test ! -s conftest.err
! 10365: } && test -s conftest$ac_exeext && {
! 10366: test "$cross_compiling" = yes ||
! 10367: $as_test_x conftest$ac_exeext
! 10368: }; then
! 10369: ac_cv_lib_dld_dld_link=yes
! 10370: else
! 10371: $as_echo "$as_me: failed program was:" >&5
! 10372: sed 's/^/| /' conftest.$ac_ext >&5
! 10373:
! 10374: ac_cv_lib_dld_dld_link=no
! 10375: fi
! 10376:
! 10377: rm -rf conftest.dSYM
! 10378: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 10379: conftest$ac_exeext conftest.$ac_ext
! 10380: LIBS=$ac_check_lib_save_LIBS
! 10381: fi
! 10382: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 10383: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 10384: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
! 10385: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 10386: fi
! 10387:
! 10388:
! 10389: fi
! 10390:
! 10391:
! 10392: fi
! 10393:
! 10394:
! 10395: fi
! 10396:
! 10397:
! 10398: fi
! 10399:
! 10400:
! 10401: fi
! 10402:
! 10403: ;;
! 10404: esac
! 10405:
! 10406: if test "x$lt_cv_dlopen" != xno; then
! 10407: enable_dlopen=yes
! 10408: else
! 10409: enable_dlopen=no
! 10410: fi
! 10411:
! 10412: case $lt_cv_dlopen in
! 10413: dlopen)
! 10414: save_CPPFLAGS="$CPPFLAGS"
! 10415: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 10416:
! 10417: save_LDFLAGS="$LDFLAGS"
! 10418: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 10419:
! 10420: save_LIBS="$LIBS"
! 10421: LIBS="$lt_cv_dlopen_libs $LIBS"
! 10422:
! 10423: { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 10424: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 10425: if test "${lt_cv_dlopen_self+set}" = set; then
! 10426: $as_echo_n "(cached) " >&6
! 10427: else
! 10428: if test "$cross_compiling" = yes; then :
! 10429: lt_cv_dlopen_self=cross
! 10430: else
! 10431: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10432: lt_status=$lt_dlunknown
! 10433: cat > conftest.$ac_ext <<EOF
! 10434: #line 10434 "configure"
! 10435: #include "confdefs.h"
! 10436:
! 10437: #if HAVE_DLFCN_H
! 10438: #include <dlfcn.h>
! 10439: #endif
! 10440:
! 10441: #include <stdio.h>
! 10442:
! 10443: #ifdef RTLD_GLOBAL
! 10444: # define LT_DLGLOBAL RTLD_GLOBAL
! 10445: #else
! 10446: # ifdef DL_GLOBAL
! 10447: # define LT_DLGLOBAL DL_GLOBAL
! 10448: # else
! 10449: # define LT_DLGLOBAL 0
! 10450: # endif
! 10451: #endif
! 10452:
! 10453: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10454: find out it does not work in some platform. */
! 10455: #ifndef LT_DLLAZY_OR_NOW
! 10456: # ifdef RTLD_LAZY
! 10457: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10458: # else
! 10459: # ifdef DL_LAZY
! 10460: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10461: # else
! 10462: # ifdef RTLD_NOW
! 10463: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10464: # else
! 10465: # ifdef DL_NOW
! 10466: # define LT_DLLAZY_OR_NOW DL_NOW
! 10467: # else
! 10468: # define LT_DLLAZY_OR_NOW 0
! 10469: # endif
! 10470: # endif
! 10471: # endif
! 10472: # endif
! 10473: #endif
! 10474:
! 10475: #ifdef __cplusplus
! 10476: extern "C" void exit (int);
! 10477: #endif
! 10478:
! 10479: void fnord() { int i=42;}
! 10480: int main ()
! 10481: {
! 10482: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10483: int status = $lt_dlunknown;
! 10484:
! 10485: if (self)
! 10486: {
! 10487: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10488: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10489: /* dlclose (self); */
! 10490: }
! 10491: else
! 10492: puts (dlerror ());
! 10493:
! 10494: exit (status);
! 10495: }
! 10496: EOF
! 10497: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10498: (eval $ac_link) 2>&5
! 10499: ac_status=$?
! 10500: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10501: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10502: (./conftest; exit; ) >&5 2>/dev/null
! 10503: lt_status=$?
! 10504: case x$lt_status in
! 10505: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 10506: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 10507: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 10508: esac
! 10509: else :
! 10510: # compilation failed
! 10511: lt_cv_dlopen_self=no
! 10512: fi
! 10513: fi
! 10514: rm -fr conftest*
! 10515:
! 10516:
! 10517: fi
! 10518: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 10519: $as_echo "$lt_cv_dlopen_self" >&6; }
! 10520:
! 10521: if test "x$lt_cv_dlopen_self" = xyes; then
! 10522: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 10523: { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 10524: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 10525: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 10526: $as_echo_n "(cached) " >&6
! 10527: else
! 10528: if test "$cross_compiling" = yes; then :
! 10529: lt_cv_dlopen_self_static=cross
! 10530: else
! 10531: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 10532: lt_status=$lt_dlunknown
! 10533: cat > conftest.$ac_ext <<EOF
! 10534: #line 10534 "configure"
! 10535: #include "confdefs.h"
! 10536:
! 10537: #if HAVE_DLFCN_H
! 10538: #include <dlfcn.h>
! 10539: #endif
! 10540:
! 10541: #include <stdio.h>
! 10542:
! 10543: #ifdef RTLD_GLOBAL
! 10544: # define LT_DLGLOBAL RTLD_GLOBAL
! 10545: #else
! 10546: # ifdef DL_GLOBAL
! 10547: # define LT_DLGLOBAL DL_GLOBAL
! 10548: # else
! 10549: # define LT_DLGLOBAL 0
! 10550: # endif
! 10551: #endif
! 10552:
! 10553: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 10554: find out it does not work in some platform. */
! 10555: #ifndef LT_DLLAZY_OR_NOW
! 10556: # ifdef RTLD_LAZY
! 10557: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 10558: # else
! 10559: # ifdef DL_LAZY
! 10560: # define LT_DLLAZY_OR_NOW DL_LAZY
! 10561: # else
! 10562: # ifdef RTLD_NOW
! 10563: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 10564: # else
! 10565: # ifdef DL_NOW
! 10566: # define LT_DLLAZY_OR_NOW DL_NOW
! 10567: # else
! 10568: # define LT_DLLAZY_OR_NOW 0
! 10569: # endif
! 10570: # endif
! 10571: # endif
! 10572: # endif
! 10573: #endif
! 10574:
! 10575: #ifdef __cplusplus
! 10576: extern "C" void exit (int);
! 10577: #endif
! 10578:
! 10579: void fnord() { int i=42;}
! 10580: int main ()
! 10581: {
! 10582: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 10583: int status = $lt_dlunknown;
! 10584:
! 10585: if (self)
! 10586: {
! 10587: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 10588: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 10589: /* dlclose (self); */
! 10590: }
! 10591: else
! 10592: puts (dlerror ());
! 10593:
! 10594: exit (status);
! 10595: }
! 10596: EOF
! 10597: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10598: (eval $ac_link) 2>&5
! 10599: ac_status=$?
! 10600: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10601: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 10602: (./conftest; exit; ) >&5 2>/dev/null
! 10603: lt_status=$?
! 10604: case x$lt_status in
! 10605: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 10606: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 10607: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 10608: esac
! 10609: else :
! 10610: # compilation failed
! 10611: lt_cv_dlopen_self_static=no
! 10612: fi
! 10613: fi
! 10614: rm -fr conftest*
! 10615:
! 10616:
! 10617: fi
! 10618: { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 10619: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 10620: fi
! 10621:
! 10622: CPPFLAGS="$save_CPPFLAGS"
! 10623: LDFLAGS="$save_LDFLAGS"
! 10624: LIBS="$save_LIBS"
! 10625: ;;
! 10626: esac
! 10627:
! 10628: case $lt_cv_dlopen_self in
! 10629: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 10630: *) enable_dlopen_self=unknown ;;
! 10631: esac
! 10632:
! 10633: case $lt_cv_dlopen_self_static in
! 10634: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 10635: *) enable_dlopen_self_static=unknown ;;
! 10636: esac
! 10637: fi
! 10638:
! 10639:
! 10640: # Report which library types will actually be built
! 10641: { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 10642: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 10643: { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 10644: $as_echo "$can_build_shared" >&6; }
! 10645:
! 10646: { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 10647: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 10648: test "$can_build_shared" = "no" && enable_shared=no
! 10649:
! 10650: # On AIX, shared libraries and static libraries use the same namespace, and
! 10651: # are all built from PIC.
! 10652: case $host_os in
! 10653: aix3*)
! 10654: test "$enable_shared" = yes && enable_static=no
! 10655: if test -n "$RANLIB"; then
! 10656: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 10657: postinstall_cmds='$RANLIB $lib'
! 10658: fi
! 10659: ;;
! 10660:
! 10661: aix[4-9]*)
! 10662: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 10663: test "$enable_shared" = yes && enable_static=no
! 10664: fi
! 10665: ;;
! 10666: esac
! 10667: { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
! 10668: $as_echo "$enable_shared" >&6; }
! 10669:
! 10670: { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 10671: $as_echo_n "checking whether to build static libraries... " >&6; }
! 10672: # Make sure either enable_shared or enable_static is yes.
! 10673: test "$enable_shared" = yes || enable_static=yes
! 10674: { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
! 10675: $as_echo "$enable_static" >&6; }
! 10676:
! 10677: # The else clause should only fire when bootstrapping the
! 10678: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 10679: # with your package, and you will get complaints that there are
! 10680: # no rules to generate ltmain.sh.
! 10681: if test -f "$ltmain"; then
! 10682: # See if we are running on zsh, and set the options which allow our commands through
! 10683: # without removal of \ escapes.
! 10684: if test -n "${ZSH_VERSION+set}" ; then
! 10685: setopt NO_GLOB_SUBST
! 10686: fi
! 10687: # Now quote all the things that may contain metacharacters while being
! 10688: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 10689: # variables and quote the copies for generation of the libtool script.
! 10690: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 10691: SED SHELL STRIP \
! 10692: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 10693: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 10694: deplibs_check_method reload_flag reload_cmds need_locks \
! 10695: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 10696: lt_cv_sys_global_symbol_to_c_name_address \
! 10697: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 10698: old_postinstall_cmds old_postuninstall_cmds \
! 10699: compiler \
! 10700: CC \
! 10701: LD \
! 10702: lt_prog_compiler_wl \
! 10703: lt_prog_compiler_pic \
! 10704: lt_prog_compiler_static \
! 10705: lt_prog_compiler_no_builtin_flag \
! 10706: export_dynamic_flag_spec \
! 10707: thread_safe_flag_spec \
! 10708: whole_archive_flag_spec \
! 10709: enable_shared_with_static_runtimes \
! 10710: old_archive_cmds \
! 10711: old_archive_from_new_cmds \
! 10712: predep_objects \
! 10713: postdep_objects \
! 10714: predeps \
! 10715: postdeps \
! 10716: compiler_lib_search_path \
! 10717: compiler_lib_search_dirs \
! 10718: archive_cmds \
! 10719: archive_expsym_cmds \
! 10720: postinstall_cmds \
! 10721: postuninstall_cmds \
! 10722: old_archive_from_expsyms_cmds \
! 10723: allow_undefined_flag \
! 10724: no_undefined_flag \
! 10725: export_symbols_cmds \
! 10726: hardcode_libdir_flag_spec \
! 10727: hardcode_libdir_flag_spec_ld \
! 10728: hardcode_libdir_separator \
! 10729: hardcode_automatic \
! 10730: module_cmds \
! 10731: module_expsym_cmds \
! 10732: lt_cv_prog_compiler_c_o \
! 10733: fix_srcfile_path \
! 10734: exclude_expsyms \
! 10735: include_expsyms; do
! 10736:
! 10737: case $var in
! 10738: old_archive_cmds | \
! 10739: old_archive_from_new_cmds | \
! 10740: archive_cmds | \
! 10741: archive_expsym_cmds | \
! 10742: module_cmds | \
! 10743: module_expsym_cmds | \
! 10744: old_archive_from_expsyms_cmds | \
! 10745: export_symbols_cmds | \
! 10746: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 10747: postinstall_cmds | postuninstall_cmds | \
! 10748: old_postinstall_cmds | old_postuninstall_cmds | \
! 10749: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 10750: # Double-quote double-evaled strings.
! 10751: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 10752: ;;
! 10753: *)
! 10754: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 10755: ;;
! 10756: esac
! 10757: done
! 10758:
! 10759: case $lt_echo in
! 10760: *'\$0 --fallback-echo"')
! 10761: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 10762: ;;
! 10763: esac
! 10764:
! 10765: cfgfile="${ofile}T"
! 10766: trap "$rm \"$cfgfile\"; exit 1" 1 2 15
! 10767: $rm -f "$cfgfile"
! 10768: { $as_echo "$as_me:$LINENO: creating $ofile" >&5
! 10769: $as_echo "$as_me: creating $ofile" >&6;}
! 10770:
! 10771: cat <<__EOF__ >> "$cfgfile"
! 10772: #! $SHELL
! 10773:
! 10774: # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 10775: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
! 10776: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 10777: #
! 10778: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
! 10779: # Free Software Foundation, Inc.
! 10780: #
! 10781: # This file is part of GNU Libtool:
! 10782: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
! 10783: #
! 10784: # This program is free software; you can redistribute it and/or modify
! 10785: # it under the terms of the GNU General Public License as published by
! 10786: # the Free Software Foundation; either version 2 of the License, or
! 10787: # (at your option) any later version.
! 10788: #
! 10789: # This program is distributed in the hope that it will be useful, but
! 10790: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 10791: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 10792: # General Public License for more details.
! 10793: #
! 10794: # You should have received a copy of the GNU General Public License
! 10795: # along with this program; if not, write to the Free Software
! 10796: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 10797: #
! 10798: # As a special exception to the GNU General Public License, if you
! 10799: # distribute this file as part of a program that contains a
! 10800: # configuration script generated by Autoconf, you may include it under
! 10801: # the same distribution terms that you use for the rest of that program.
! 10802:
! 10803: # A sed program that does not truncate output.
! 10804: SED=$lt_SED
! 10805:
! 10806: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 10807: Xsed="$SED -e 1s/^X//"
! 10808:
! 10809: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 10810: # if CDPATH is set.
! 10811: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 10812:
! 10813: # The names of the tagged configurations supported by this script.
! 10814: available_tags=
! 10815:
! 10816: # ### BEGIN LIBTOOL CONFIG
! 10817:
! 10818: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 10819:
! 10820: # Shell to use when invoking shell scripts.
! 10821: SHELL=$lt_SHELL
! 10822:
! 10823: # Whether or not to build shared libraries.
! 10824: build_libtool_libs=$enable_shared
! 10825:
! 10826: # Whether or not to build static libraries.
! 10827: build_old_libs=$enable_static
! 10828:
! 10829: # Whether or not to add -lc for building shared libraries.
! 10830: build_libtool_need_lc=$archive_cmds_need_lc
! 10831:
! 10832: # Whether or not to disallow shared libs when runtime libs are static
! 10833: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 10834:
! 10835: # Whether or not to optimize for fast installation.
! 10836: fast_install=$enable_fast_install
! 10837:
! 10838: # The host system.
! 10839: host_alias=$host_alias
! 10840: host=$host
! 10841: host_os=$host_os
! 10842:
! 10843: # The build system.
! 10844: build_alias=$build_alias
! 10845: build=$build
! 10846: build_os=$build_os
! 10847:
! 10848: # An echo program that does not interpret backslashes.
! 10849: echo=$lt_echo
! 10850:
! 10851: # The archiver.
! 10852: AR=$lt_AR
! 10853: AR_FLAGS=$lt_AR_FLAGS
! 10854:
! 10855: # A C compiler.
! 10856: LTCC=$lt_LTCC
! 10857:
! 10858: # LTCC compiler flags.
! 10859: LTCFLAGS=$lt_LTCFLAGS
! 10860:
! 10861: # A language-specific compiler.
! 10862: CC=$lt_compiler
! 10863:
! 10864: # Is the compiler the GNU C compiler?
! 10865: with_gcc=$GCC
! 10866:
! 10867: # An ERE matcher.
! 10868: EGREP=$lt_EGREP
! 10869:
! 10870: # The linker used to build libraries.
! 10871: LD=$lt_LD
! 10872:
! 10873: # Whether we need hard or soft links.
! 10874: LN_S=$lt_LN_S
! 10875:
! 10876: # A BSD-compatible nm program.
! 10877: NM=$lt_NM
! 10878:
! 10879: # A symbol stripping program
! 10880: STRIP=$lt_STRIP
! 10881:
! 10882: # Used to examine libraries when file_magic_cmd begins "file"
! 10883: MAGIC_CMD=$MAGIC_CMD
! 10884:
! 10885: # Used on cygwin: DLL creation program.
! 10886: DLLTOOL="$DLLTOOL"
! 10887:
! 10888: # Used on cygwin: object dumper.
! 10889: OBJDUMP="$OBJDUMP"
! 10890:
! 10891: # Used on cygwin: assembler.
! 10892: AS="$AS"
! 10893:
! 10894: # The name of the directory that contains temporary libtool files.
! 10895: objdir=$objdir
! 10896:
! 10897: # How to create reloadable object files.
! 10898: reload_flag=$lt_reload_flag
! 10899: reload_cmds=$lt_reload_cmds
! 10900:
! 10901: # How to pass a linker flag through the compiler.
! 10902: wl=$lt_lt_prog_compiler_wl
! 10903:
! 10904: # Object file suffix (normally "o").
! 10905: objext="$ac_objext"
! 10906:
! 10907: # Old archive suffix (normally "a").
! 10908: libext="$libext"
! 10909:
! 10910: # Shared library suffix (normally ".so").
! 10911: shrext_cmds='$shrext_cmds'
! 10912:
! 10913: # Executable file suffix (normally "").
! 10914: exeext="$exeext"
! 10915:
! 10916: # Additional compiler flags for building library objects.
! 10917: pic_flag=$lt_lt_prog_compiler_pic
! 10918: pic_mode=$pic_mode
! 10919:
! 10920: # What is the maximum length of a command?
! 10921: max_cmd_len=$lt_cv_sys_max_cmd_len
! 10922:
! 10923: # Does compiler simultaneously support -c and -o options?
! 10924: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 10925:
! 10926: # Must we lock files when doing compilation?
! 10927: need_locks=$lt_need_locks
! 10928:
! 10929: # Do we need the lib prefix for modules?
! 10930: need_lib_prefix=$need_lib_prefix
! 10931:
! 10932: # Do we need a version for libraries?
! 10933: need_version=$need_version
! 10934:
! 10935: # Whether dlopen is supported.
! 10936: dlopen_support=$enable_dlopen
! 10937:
! 10938: # Whether dlopen of programs is supported.
! 10939: dlopen_self=$enable_dlopen_self
! 10940:
! 10941: # Whether dlopen of statically linked programs is supported.
! 10942: dlopen_self_static=$enable_dlopen_self_static
! 10943:
! 10944: # Compiler flag to prevent dynamic linking.
! 10945: link_static_flag=$lt_lt_prog_compiler_static
! 10946:
! 10947: # Compiler flag to turn off builtin functions.
! 10948: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 10949:
! 10950: # Compiler flag to allow reflexive dlopens.
! 10951: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 10952:
! 10953: # Compiler flag to generate shared objects directly from archives.
! 10954: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 10955:
! 10956: # Compiler flag to generate thread-safe objects.
! 10957: thread_safe_flag_spec=$lt_thread_safe_flag_spec
! 10958:
! 10959: # Library versioning type.
! 10960: version_type=$version_type
! 10961:
! 10962: # Format of library name prefix.
! 10963: libname_spec=$lt_libname_spec
! 10964:
! 10965: # List of archive names. First name is the real one, the rest are links.
! 10966: # The last name is the one that the linker finds with -lNAME.
! 10967: library_names_spec=$lt_library_names_spec
! 10968:
! 10969: # The coded name of the library, if different from the real name.
! 10970: soname_spec=$lt_soname_spec
! 10971:
! 10972: # Commands used to build and install an old-style archive.
! 10973: RANLIB=$lt_RANLIB
! 10974: old_archive_cmds=$lt_old_archive_cmds
! 10975: old_postinstall_cmds=$lt_old_postinstall_cmds
! 10976: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 10977:
! 10978: # Create an old-style archive from a shared archive.
! 10979: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 10980:
! 10981: # Create a temporary old-style archive to link instead of a shared archive.
! 10982: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 10983:
! 10984: # Commands used to build and install a shared archive.
! 10985: archive_cmds=$lt_archive_cmds
! 10986: archive_expsym_cmds=$lt_archive_expsym_cmds
! 10987: postinstall_cmds=$lt_postinstall_cmds
! 10988: postuninstall_cmds=$lt_postuninstall_cmds
! 10989:
! 10990: # Commands used to build a loadable module (assumed same as above if empty)
! 10991: module_cmds=$lt_module_cmds
! 10992: module_expsym_cmds=$lt_module_expsym_cmds
! 10993:
! 10994: # Commands to strip libraries.
! 10995: old_striplib=$lt_old_striplib
! 10996: striplib=$lt_striplib
! 10997:
! 10998: # Dependencies to place before the objects being linked to create a
! 10999: # shared library.
! 11000: predep_objects=$lt_predep_objects
! 11001:
! 11002: # Dependencies to place after the objects being linked to create a
! 11003: # shared library.
! 11004: postdep_objects=$lt_postdep_objects
! 11005:
! 11006: # Dependencies to place before the objects being linked to create a
! 11007: # shared library.
! 11008: predeps=$lt_predeps
! 11009:
! 11010: # Dependencies to place after the objects being linked to create a
! 11011: # shared library.
! 11012: postdeps=$lt_postdeps
! 11013:
! 11014: # The directories searched by this compiler when creating a shared
! 11015: # library
! 11016: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
! 11017:
! 11018: # The library search path used internally by the compiler when linking
! 11019: # a shared library.
! 11020: compiler_lib_search_path=$lt_compiler_lib_search_path
! 11021:
! 11022: # Method to check whether dependent libraries are shared objects.
! 11023: deplibs_check_method=$lt_deplibs_check_method
! 11024:
! 11025: # Command to use when deplibs_check_method == file_magic.
! 11026: file_magic_cmd=$lt_file_magic_cmd
! 11027:
! 11028: # Flag that allows shared libraries with undefined symbols to be built.
! 11029: allow_undefined_flag=$lt_allow_undefined_flag
! 11030:
! 11031: # Flag that forces no undefined symbols.
! 11032: no_undefined_flag=$lt_no_undefined_flag
! 11033:
! 11034: # Commands used to finish a libtool library installation in a directory.
! 11035: finish_cmds=$lt_finish_cmds
! 11036:
! 11037: # Same as above, but a single script fragment to be evaled but not shown.
! 11038: finish_eval=$lt_finish_eval
! 11039:
! 11040: # Take the output of nm and produce a listing of raw symbols and C names.
! 11041: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 11042:
! 11043: # Transform the output of nm in a proper C declaration
! 11044: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 11045:
! 11046: # Transform the output of nm in a C name address pair
! 11047: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 11048:
! 11049: # This is the shared library runtime path variable.
! 11050: runpath_var=$runpath_var
! 11051:
! 11052: # This is the shared library path variable.
! 11053: shlibpath_var=$shlibpath_var
! 11054:
! 11055: # Is shlibpath searched before the hard-coded library search path?
! 11056: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 11057:
! 11058: # How to hardcode a shared library path into an executable.
! 11059: hardcode_action=$hardcode_action
! 11060:
! 11061: # Whether we should hardcode library paths into libraries.
! 11062: hardcode_into_libs=$hardcode_into_libs
! 11063:
! 11064: # Flag to hardcode \$libdir into a binary during linking.
! 11065: # This must work even if \$libdir does not exist.
! 11066: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 11067:
! 11068: # If ld is used when linking, flag to hardcode \$libdir into
! 11069: # a binary during linking. This must work even if \$libdir does
! 11070: # not exist.
! 11071: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 11072:
! 11073: # Whether we need a single -rpath flag with a separated argument.
! 11074: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 11075:
! 11076: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 11077: # resulting binary.
! 11078: hardcode_direct=$hardcode_direct
! 11079:
! 11080: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 11081: # resulting binary.
! 11082: hardcode_minus_L=$hardcode_minus_L
! 11083:
! 11084: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 11085: # the resulting binary.
! 11086: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 11087:
! 11088: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 11089: # and all subsequent libraries and executables linked against it.
! 11090: hardcode_automatic=$hardcode_automatic
! 11091:
! 11092: # Variables whose values should be saved in libtool wrapper scripts and
! 11093: # restored at relink time.
! 11094: variables_saved_for_relink="$variables_saved_for_relink"
! 11095:
! 11096: # Whether libtool must link a program against all its dependency libraries.
! 11097: link_all_deplibs=$link_all_deplibs
! 11098:
! 11099: # Compile-time system search path for libraries
! 11100: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 11101:
! 11102: # Run-time system search path for libraries
! 11103: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 11104:
! 11105: # Fix the shell variable \$srcfile for the compiler.
! 11106: fix_srcfile_path=$lt_fix_srcfile_path
! 11107:
! 11108: # Set to yes if exported symbols are required.
! 11109: always_export_symbols=$always_export_symbols
! 11110:
! 11111: # The commands to list exported symbols.
! 11112: export_symbols_cmds=$lt_export_symbols_cmds
! 11113:
! 11114: # The commands to extract the exported symbol list from a shared archive.
! 11115: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 11116:
! 11117: # Symbols that should not be listed in the preloaded symbols.
! 11118: exclude_expsyms=$lt_exclude_expsyms
! 11119:
! 11120: # Symbols that must always be exported.
! 11121: include_expsyms=$lt_include_expsyms
! 11122:
! 11123: # ### END LIBTOOL CONFIG
! 11124:
! 11125: __EOF__
! 11126:
! 11127:
! 11128: case $host_os in
! 11129: aix3*)
! 11130: cat <<\EOF >> "$cfgfile"
! 11131:
! 11132: # AIX sometimes has problems with the GCC collect2 program. For some
! 11133: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 11134: # vanish in a puff of smoke.
! 11135: if test "X${COLLECT_NAMES+set}" != Xset; then
! 11136: COLLECT_NAMES=
! 11137: export COLLECT_NAMES
! 11138: fi
! 11139: EOF
! 11140: ;;
! 11141: esac
! 11142:
! 11143: # We use sed instead of cat because bash on DJGPP gets confused if
! 11144: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 11145: # text mode, it properly converts lines to CR/LF. This bash problem
! 11146: # is reportedly fixed, but why not run on old versions too?
! 11147: sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
! 11148:
! 11149: mv -f "$cfgfile" "$ofile" || \
! 11150: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 11151: chmod +x "$ofile"
! 11152:
! 11153: else
! 11154: # If there is no Makefile yet, we rely on a make rule to execute
! 11155: # `config.status --recheck' to rerun these tests and create the
! 11156: # libtool script then.
! 11157: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 11158: if test -f "$ltmain_in"; then
! 11159: test -f Makefile && make "$ltmain"
! 11160: fi
! 11161: fi
! 11162:
! 11163:
! 11164: ac_ext=c
! 11165: ac_cpp='$CPP $CPPFLAGS'
! 11166: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11167: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11168: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 11169:
! 11170: CC="$lt_save_CC"
! 11171:
! 11172:
! 11173: # Check whether --with-tags was given.
! 11174: if test "${with_tags+set}" = set; then
! 11175: withval=$with_tags; tagnames="$withval"
! 11176: fi
! 11177:
! 11178:
! 11179: if test -f "$ltmain" && test -n "$tagnames"; then
! 11180: if test ! -f "${ofile}"; then
! 11181: { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
! 11182: $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
! 11183: fi
! 11184:
! 11185: if test -z "$LTCC"; then
! 11186: eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
! 11187: if test -z "$LTCC"; then
! 11188: { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
! 11189: $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
! 11190: else
! 11191: { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
! 11192: $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
! 11193: fi
! 11194: fi
! 11195: if test -z "$LTCFLAGS"; then
! 11196: eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
! 11197: fi
! 11198:
! 11199: # Extract list of available tagged configurations in $ofile.
! 11200: # Note that this assumes the entire list is on one line.
! 11201: available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
! 11202:
! 11203: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 11204: for tagname in $tagnames; do
! 11205: IFS="$lt_save_ifs"
! 11206: # Check whether tagname contains only valid characters
! 11207: case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
! 11208: "") ;;
! 11209: *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
! 11210: $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
! 11211: { (exit 1); exit 1; }; }
! 11212: ;;
! 11213: esac
! 11214:
! 11215: if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
! 11216: then
! 11217: { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
! 11218: $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
! 11219: { (exit 1); exit 1; }; }
! 11220: fi
! 11221:
! 11222: # Update the list of available tags.
! 11223: if test -n "$tagname"; then
! 11224: echo appending configuration tag \"$tagname\" to $ofile
! 11225:
! 11226: case $tagname in
! 11227: CXX)
! 11228: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 11229: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 11230: (test "X$CXX" != "Xg++"))) ; then
! 11231: ac_ext=cpp
! 11232: ac_cpp='$CXXCPP $CPPFLAGS'
! 11233: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 11234: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 11235: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 11236:
! 11237:
! 11238:
! 11239:
! 11240: archive_cmds_need_lc_CXX=no
! 11241: allow_undefined_flag_CXX=
! 11242: always_export_symbols_CXX=no
! 11243: archive_expsym_cmds_CXX=
! 11244: export_dynamic_flag_spec_CXX=
! 11245: hardcode_direct_CXX=no
! 11246: hardcode_libdir_flag_spec_CXX=
! 11247: hardcode_libdir_flag_spec_ld_CXX=
! 11248: hardcode_libdir_separator_CXX=
! 11249: hardcode_minus_L_CXX=no
! 11250: hardcode_shlibpath_var_CXX=unsupported
! 11251: hardcode_automatic_CXX=no
! 11252: module_cmds_CXX=
! 11253: module_expsym_cmds_CXX=
! 11254: link_all_deplibs_CXX=unknown
! 11255: old_archive_cmds_CXX=$old_archive_cmds
! 11256: no_undefined_flag_CXX=
! 11257: whole_archive_flag_spec_CXX=
! 11258: enable_shared_with_static_runtimes_CXX=no
! 11259:
! 11260: # Dependencies to place before and after the object being linked:
! 11261: predep_objects_CXX=
! 11262: postdep_objects_CXX=
! 11263: predeps_CXX=
! 11264: postdeps_CXX=
! 11265: compiler_lib_search_path_CXX=
! 11266: compiler_lib_search_dirs_CXX=
! 11267:
! 11268: # Source file extension for C++ test sources.
! 11269: ac_ext=cpp
! 11270:
! 11271: # Object file extension for compiled C++ test sources.
! 11272: objext=o
! 11273: objext_CXX=$objext
! 11274:
! 11275: # Code to be used in simple compile tests
! 11276: lt_simple_compile_test_code="int some_variable = 0;"
! 11277:
! 11278: # Code to be used in simple link tests
! 11279: lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
! 11280:
! 11281: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 11282:
! 11283: # If no C compiler was specified, use CC.
! 11284: LTCC=${LTCC-"$CC"}
! 11285:
! 11286: # If no C compiler flags were specified, use CFLAGS.
! 11287: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 11288:
! 11289: # Allow CC to be a program name with arguments.
! 11290: compiler=$CC
! 11291:
! 11292:
! 11293: # save warnings/boilerplate of simple test code
! 11294: ac_outfile=conftest.$ac_objext
! 11295: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 11296: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11297: _lt_compiler_boilerplate=`cat conftest.err`
! 11298: $rm conftest*
! 11299:
! 11300: ac_outfile=conftest.$ac_objext
! 11301: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 11302: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 11303: _lt_linker_boilerplate=`cat conftest.err`
! 11304: $rm -r conftest*
! 11305:
! 11306:
! 11307: # Allow CC to be a program name with arguments.
! 11308: lt_save_CC=$CC
! 11309: lt_save_LD=$LD
! 11310: lt_save_GCC=$GCC
! 11311: GCC=$GXX
! 11312: lt_save_with_gnu_ld=$with_gnu_ld
! 11313: lt_save_path_LD=$lt_cv_path_LD
! 11314: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 11315: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 11316: else
! 11317: $as_unset lt_cv_prog_gnu_ld
! 11318: fi
! 11319: if test -n "${lt_cv_path_LDCXX+set}"; then
! 11320: lt_cv_path_LD=$lt_cv_path_LDCXX
! 11321: else
! 11322: $as_unset lt_cv_path_LD
! 11323: fi
! 11324: test -z "${LDCXX+set}" || LD=$LDCXX
! 11325: CC=${CXX-"c++"}
! 11326: compiler=$CC
! 11327: compiler_CXX=$CC
! 11328: for cc_temp in $compiler""; do
! 11329: case $cc_temp in
! 11330: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 11331: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 11332: \-*) ;;
! 11333: *) break;;
! 11334: esac
! 11335: done
! 11336: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 11337:
! 11338:
! 11339: # We don't want -fno-exception wen compiling C++ code, so set the
! 11340: # no_builtin_flag separately
! 11341: if test "$GXX" = yes; then
! 11342: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 11343: else
! 11344: lt_prog_compiler_no_builtin_flag_CXX=
! 11345: fi
! 11346:
! 11347: if test "$GXX" = yes; then
! 11348: # Set up default GNU C++ configuration
! 11349:
! 11350:
! 11351: # Check whether --with-gnu-ld was given.
! 11352: if test "${with_gnu_ld+set}" = set; then
! 11353: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 11354: else
! 11355: with_gnu_ld=no
! 11356: fi
! 11357:
! 11358: ac_prog=ld
! 11359: if test "$GCC" = yes; then
! 11360: # Check if gcc -print-prog-name=ld gives a path.
! 11361: { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 11362: $as_echo_n "checking for ld used by $CC... " >&6; }
! 11363: case $host in
! 11364: *-*-mingw*)
! 11365: # gcc leaves a trailing carriage return which upsets mingw
! 11366: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 11367: *)
! 11368: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 11369: esac
! 11370: case $ac_prog in
! 11371: # Accept absolute paths.
! 11372: [\\/]* | ?:[\\/]*)
! 11373: re_direlt='/[^/][^/]*/\.\./'
! 11374: # Canonicalize the pathname of ld
! 11375: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 11376: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 11377: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 11378: done
! 11379: test -z "$LD" && LD="$ac_prog"
! 11380: ;;
! 11381: "")
! 11382: # If it fails, then pretend we aren't using GCC.
! 11383: ac_prog=ld
! 11384: ;;
! 11385: *)
! 11386: # If it is relative, then search for the first ld in PATH.
! 11387: with_gnu_ld=unknown
! 11388: ;;
! 11389: esac
! 11390: elif test "$with_gnu_ld" = yes; then
! 11391: { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
! 11392: $as_echo_n "checking for GNU ld... " >&6; }
! 11393: else
! 11394: { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 11395: $as_echo_n "checking for non-GNU ld... " >&6; }
! 11396: fi
! 11397: if test "${lt_cv_path_LD+set}" = set; then
! 11398: $as_echo_n "(cached) " >&6
! 11399: else
! 11400: if test -z "$LD"; then
! 11401: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 11402: for ac_dir in $PATH; do
! 11403: IFS="$lt_save_ifs"
! 11404: test -z "$ac_dir" && ac_dir=.
! 11405: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 11406: lt_cv_path_LD="$ac_dir/$ac_prog"
! 11407: # Check to see if the program is GNU ld. I'd rather use --version,
! 11408: # but apparently some variants of GNU ld only accept -v.
! 11409: # Break only if it was the GNU/non-GNU ld that we prefer.
! 11410: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 11411: *GNU* | *'with BFD'*)
! 11412: test "$with_gnu_ld" != no && break
! 11413: ;;
! 11414: *)
! 11415: test "$with_gnu_ld" != yes && break
! 11416: ;;
! 11417: esac
! 11418: fi
! 11419: done
! 11420: IFS="$lt_save_ifs"
! 11421: else
! 11422: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 11423: fi
! 11424: fi
! 11425:
! 11426: LD="$lt_cv_path_LD"
! 11427: if test -n "$LD"; then
! 11428: { $as_echo "$as_me:$LINENO: result: $LD" >&5
! 11429: $as_echo "$LD" >&6; }
! 11430: else
! 11431: { $as_echo "$as_me:$LINENO: result: no" >&5
! 11432: $as_echo "no" >&6; }
! 11433: fi
! 11434: test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 11435: $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 11436: { (exit 1); exit 1; }; }
! 11437: { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 11438: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 11439: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 11440: $as_echo_n "(cached) " >&6
! 11441: else
! 11442: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 11443: case `$LD -v 2>&1 </dev/null` in
! 11444: *GNU* | *'with BFD'*)
! 11445: lt_cv_prog_gnu_ld=yes
! 11446: ;;
! 11447: *)
! 11448: lt_cv_prog_gnu_ld=no
! 11449: ;;
! 11450: esac
! 11451: fi
! 11452: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 11453: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 11454: with_gnu_ld=$lt_cv_prog_gnu_ld
! 11455:
! 11456:
! 11457:
! 11458: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 11459: # archiving commands below assume that GNU ld is being used.
! 11460: if test "$with_gnu_ld" = yes; then
! 11461: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11462: 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'
! 11463:
! 11464: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 11465: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 11466:
! 11467: # If archive_cmds runs LD, not CC, wlarc should be empty
! 11468: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 11469: # investigate it a little bit more. (MM)
! 11470: wlarc='${wl}'
! 11471:
! 11472: # ancient GNU ld didn't support --whole-archive et. al.
! 11473: if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
! 11474: grep 'no-whole-archive' > /dev/null; then
! 11475: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 11476: else
! 11477: whole_archive_flag_spec_CXX=
! 11478: fi
! 11479: else
! 11480: with_gnu_ld=no
! 11481: wlarc=
! 11482:
! 11483: # A generic and very simple default shared library creation
! 11484: # command for GNU C++ for the case where it uses the native
! 11485: # linker, instead of GNU ld. If possible, this setting should
! 11486: # overridden to take advantage of the native linker features on
! 11487: # the platform it is being used on.
! 11488: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 11489: fi
! 11490:
! 11491: # Commands to make compiler produce verbose output that lists
! 11492: # what "hidden" libraries, object files and flags are used when
! 11493: # linking a shared library.
! 11494: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 11495:
! 11496: else
! 11497: GXX=no
! 11498: with_gnu_ld=no
! 11499: wlarc=
! 11500: fi
! 11501:
! 11502: # PORTME: fill in a description of your system's C++ link characteristics
! 11503: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 11504: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 11505: ld_shlibs_CXX=yes
! 11506: case $host_os in
! 11507: aix3*)
! 11508: # FIXME: insert proper C++ library support
! 11509: ld_shlibs_CXX=no
! 11510: ;;
! 11511: aix[4-9]*)
! 11512: if test "$host_cpu" = ia64; then
! 11513: # On IA64, the linker does run time linking by default, so we don't
! 11514: # have to do anything special.
! 11515: aix_use_runtimelinking=no
! 11516: exp_sym_flag='-Bexport'
! 11517: no_entry_flag=""
! 11518: else
! 11519: aix_use_runtimelinking=no
! 11520:
! 11521: # Test if we are trying to use run time linking or normal
! 11522: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 11523: # need to do runtime linking.
! 11524: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 11525: for ld_flag in $LDFLAGS; do
! 11526: case $ld_flag in
! 11527: *-brtl*)
! 11528: aix_use_runtimelinking=yes
! 11529: break
! 11530: ;;
! 11531: esac
! 11532: done
! 11533: ;;
! 11534: esac
! 11535:
! 11536: exp_sym_flag='-bexport'
! 11537: no_entry_flag='-bnoentry'
! 11538: fi
! 11539:
! 11540: # When large executables or shared objects are built, AIX ld can
! 11541: # have problems creating the table of contents. If linking a library
! 11542: # or program results in "error TOC overflow" add -mminimal-toc to
! 11543: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 11544: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 11545:
! 11546: archive_cmds_CXX=''
! 11547: hardcode_direct_CXX=yes
! 11548: hardcode_libdir_separator_CXX=':'
! 11549: link_all_deplibs_CXX=yes
! 11550:
! 11551: if test "$GXX" = yes; then
! 11552: case $host_os in aix4.[012]|aix4.[012].*)
! 11553: # We only want to do this on AIX 4.2 and lower, the check
! 11554: # below for broken collect2 doesn't work under 4.3+
! 11555: collect2name=`${CC} -print-prog-name=collect2`
! 11556: if test -f "$collect2name" && \
! 11557: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 11558: then
! 11559: # We have reworked collect2
! 11560: :
! 11561: else
! 11562: # We have old collect2
! 11563: hardcode_direct_CXX=unsupported
! 11564: # It fails to find uninstalled libraries when the uninstalled
! 11565: # path is not listed in the libpath. Setting hardcode_minus_L
! 11566: # to unsupported forces relinking
! 11567: hardcode_minus_L_CXX=yes
! 11568: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 11569: hardcode_libdir_separator_CXX=
! 11570: fi
! 11571: ;;
! 11572: esac
! 11573: shared_flag='-shared'
! 11574: if test "$aix_use_runtimelinking" = yes; then
! 11575: shared_flag="$shared_flag "'${wl}-G'
! 11576: fi
! 11577: else
! 11578: # not using gcc
! 11579: if test "$host_cpu" = ia64; then
! 11580: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 11581: # chokes on -Wl,-G. The following line is correct:
! 11582: shared_flag='-G'
! 11583: else
! 11584: if test "$aix_use_runtimelinking" = yes; then
! 11585: shared_flag='${wl}-G'
! 11586: else
! 11587: shared_flag='${wl}-bM:SRE'
! 11588: fi
! 11589: fi
! 11590: fi
! 11591:
! 11592: # It seems that -bexpall does not export symbols beginning with
! 11593: # underscore (_), so it is better to generate a list of symbols to export.
! 11594: always_export_symbols_CXX=yes
! 11595: if test "$aix_use_runtimelinking" = yes; then
! 11596: # Warning - without using the other runtime loading flags (-brtl),
! 11597: # -berok will link without error, but may produce a broken library.
! 11598: allow_undefined_flag_CXX='-berok'
! 11599: # Determine the default libpath from the value encoded in an empty executable.
! 11600: cat >conftest.$ac_ext <<_ACEOF
! 11601: /* confdefs.h. */
! 11602: _ACEOF
! 11603: cat confdefs.h >>conftest.$ac_ext
! 11604: cat >>conftest.$ac_ext <<_ACEOF
! 11605: /* end confdefs.h. */
! 11606:
! 11607: int
! 11608: main ()
! 11609: {
! 11610:
! 11611: ;
! 11612: return 0;
! 11613: }
! 11614: _ACEOF
! 11615: rm -f conftest.$ac_objext conftest$ac_exeext
! 11616: if { (ac_try="$ac_link"
! 11617: case "(($ac_try" in
! 11618: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11619: *) ac_try_echo=$ac_try;;
! 11620: esac
! 11621: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11622: $as_echo "$ac_try_echo") >&5
! 11623: (eval "$ac_link") 2>conftest.er1
! 11624: ac_status=$?
! 11625: grep -v '^ *+' conftest.er1 >conftest.err
! 11626: rm -f conftest.er1
! 11627: cat conftest.err >&5
! 11628: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11629: (exit $ac_status); } && {
! 11630: test -z "$ac_cxx_werror_flag" ||
! 11631: test ! -s conftest.err
! 11632: } && test -s conftest$ac_exeext && {
! 11633: test "$cross_compiling" = yes ||
! 11634: $as_test_x conftest$ac_exeext
! 11635: }; then
! 11636:
! 11637: lt_aix_libpath_sed='
! 11638: /Import File Strings/,/^$/ {
! 11639: /^0/ {
! 11640: s/^0 *\(.*\)$/\1/
! 11641: p
! 11642: }
! 11643: }'
! 11644: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11645: # Check for a 64-bit object if we didn't find anything.
! 11646: if test -z "$aix_libpath"; then
! 11647: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11648: fi
! 11649: else
! 11650: $as_echo "$as_me: failed program was:" >&5
! 11651: sed 's/^/| /' conftest.$ac_ext >&5
! 11652:
! 11653:
! 11654: fi
! 11655:
! 11656: rm -rf conftest.dSYM
! 11657: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11658: conftest$ac_exeext conftest.$ac_ext
! 11659: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 11660:
! 11661: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11662:
! 11663: 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"
! 11664: else
! 11665: if test "$host_cpu" = ia64; then
! 11666: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 11667: allow_undefined_flag_CXX="-z nodefs"
! 11668: 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"
! 11669: else
! 11670: # Determine the default libpath from the value encoded in an empty executable.
! 11671: cat >conftest.$ac_ext <<_ACEOF
! 11672: /* confdefs.h. */
! 11673: _ACEOF
! 11674: cat confdefs.h >>conftest.$ac_ext
! 11675: cat >>conftest.$ac_ext <<_ACEOF
! 11676: /* end confdefs.h. */
! 11677:
! 11678: int
! 11679: main ()
! 11680: {
! 11681:
! 11682: ;
! 11683: return 0;
! 11684: }
! 11685: _ACEOF
! 11686: rm -f conftest.$ac_objext conftest$ac_exeext
! 11687: if { (ac_try="$ac_link"
! 11688: case "(($ac_try" in
! 11689: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 11690: *) ac_try_echo=$ac_try;;
! 11691: esac
! 11692: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 11693: $as_echo "$ac_try_echo") >&5
! 11694: (eval "$ac_link") 2>conftest.er1
! 11695: ac_status=$?
! 11696: grep -v '^ *+' conftest.er1 >conftest.err
! 11697: rm -f conftest.er1
! 11698: cat conftest.err >&5
! 11699: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11700: (exit $ac_status); } && {
! 11701: test -z "$ac_cxx_werror_flag" ||
! 11702: test ! -s conftest.err
! 11703: } && test -s conftest$ac_exeext && {
! 11704: test "$cross_compiling" = yes ||
! 11705: $as_test_x conftest$ac_exeext
! 11706: }; then
! 11707:
! 11708: lt_aix_libpath_sed='
! 11709: /Import File Strings/,/^$/ {
! 11710: /^0/ {
! 11711: s/^0 *\(.*\)$/\1/
! 11712: p
! 11713: }
! 11714: }'
! 11715: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11716: # Check for a 64-bit object if we didn't find anything.
! 11717: if test -z "$aix_libpath"; then
! 11718: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11719: fi
! 11720: else
! 11721: $as_echo "$as_me: failed program was:" >&5
! 11722: sed 's/^/| /' conftest.$ac_ext >&5
! 11723:
! 11724:
! 11725: fi
! 11726:
! 11727: rm -rf conftest.dSYM
! 11728: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 11729: conftest$ac_exeext conftest.$ac_ext
! 11730: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 11731:
! 11732: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11733: # Warning - without using the other run time loading flags,
! 11734: # -berok will link without error, but may produce a broken library.
! 11735: no_undefined_flag_CXX=' ${wl}-bernotok'
! 11736: allow_undefined_flag_CXX=' ${wl}-berok'
! 11737: # Exported symbols can be pulled into shared objects from archives
! 11738: whole_archive_flag_spec_CXX='$convenience'
! 11739: archive_cmds_need_lc_CXX=yes
! 11740: # This is similar to how AIX traditionally builds its shared libraries.
! 11741: 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'
! 11742: fi
! 11743: fi
! 11744: ;;
! 11745:
! 11746: beos*)
! 11747: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 11748: allow_undefined_flag_CXX=unsupported
! 11749: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 11750: # support --undefined. This deserves some investigation. FIXME
! 11751: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11752: else
! 11753: ld_shlibs_CXX=no
! 11754: fi
! 11755: ;;
! 11756:
! 11757: chorus*)
! 11758: case $cc_basename in
! 11759: *)
! 11760: # FIXME: insert proper C++ library support
! 11761: ld_shlibs_CXX=no
! 11762: ;;
! 11763: esac
! 11764: ;;
! 11765:
! 11766: cygwin* | mingw* | pw32*)
! 11767: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 11768: # as there is no search path for DLLs.
! 11769: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 11770: allow_undefined_flag_CXX=unsupported
! 11771: always_export_symbols_CXX=no
! 11772: enable_shared_with_static_runtimes_CXX=yes
! 11773:
! 11774: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 11775: 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'
! 11776: # If the export-symbols file already is a .def file (1st line
! 11777: # is EXPORTS), use it as is; otherwise, prepend...
! 11778: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 11779: cp $export_symbols $output_objdir/$soname.def;
! 11780: else
! 11781: echo EXPORTS > $output_objdir/$soname.def;
! 11782: cat $export_symbols >> $output_objdir/$soname.def;
! 11783: fi~
! 11784: $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'
! 11785: else
! 11786: ld_shlibs_CXX=no
! 11787: fi
! 11788: ;;
! 11789: darwin* | rhapsody*)
! 11790: archive_cmds_need_lc_CXX=no
! 11791: hardcode_direct_CXX=no
! 11792: hardcode_automatic_CXX=yes
! 11793: hardcode_shlibpath_var_CXX=unsupported
! 11794: whole_archive_flag_spec_CXX=''
! 11795: link_all_deplibs_CXX=yes
! 11796: allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
! 11797: if test "$GXX" = yes ; then
! 11798: output_verbose_link_cmd='echo'
! 11799: 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}"
! 11800: module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 11801: 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}"
! 11802: 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}"
! 11803: if test "$lt_cv_apple_cc_single_mod" != "yes"; then
! 11804: 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}"
! 11805: 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}"
! 11806: fi
! 11807: else
! 11808: case $cc_basename in
! 11809: xlc*)
! 11810: output_verbose_link_cmd='echo'
! 11811: 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'
! 11812: module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 11813: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 11814: 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}'
! 11815: 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}'
! 11816: ;;
! 11817: *)
! 11818: ld_shlibs_CXX=no
! 11819: ;;
! 11820: esac
! 11821: fi
! 11822: ;;
! 11823:
! 11824: dgux*)
! 11825: case $cc_basename in
! 11826: ec++*)
! 11827: # FIXME: insert proper C++ library support
! 11828: ld_shlibs_CXX=no
! 11829: ;;
! 11830: ghcx*)
! 11831: # Green Hills C++ Compiler
! 11832: # FIXME: insert proper C++ library support
! 11833: ld_shlibs_CXX=no
! 11834: ;;
! 11835: *)
! 11836: # FIXME: insert proper C++ library support
! 11837: ld_shlibs_CXX=no
! 11838: ;;
! 11839: esac
! 11840: ;;
! 11841: freebsd[12]*)
! 11842: # C++ shared libraries reported to be fairly broken before switch to ELF
! 11843: ld_shlibs_CXX=no
! 11844: ;;
! 11845: freebsd-elf*)
! 11846: archive_cmds_need_lc_CXX=no
! 11847: ;;
! 11848: freebsd* | dragonfly*)
! 11849: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 11850: # conventions
! 11851: ld_shlibs_CXX=yes
! 11852: ;;
! 11853: gnu*)
! 11854: ;;
! 11855: hpux9*)
! 11856: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 11857: hardcode_libdir_separator_CXX=:
! 11858: export_dynamic_flag_spec_CXX='${wl}-E'
! 11859: hardcode_direct_CXX=yes
! 11860: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 11861: # but as the default
! 11862: # location of the library.
! 11863:
! 11864: case $cc_basename in
! 11865: CC*)
! 11866: # FIXME: insert proper C++ library support
! 11867: ld_shlibs_CXX=no
! 11868: ;;
! 11869: aCC*)
! 11870: 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'
! 11871: # Commands to make compiler produce verbose output that lists
! 11872: # what "hidden" libraries, object files and flags are used when
! 11873: # linking a shared library.
! 11874: #
! 11875: # There doesn't appear to be a way to prevent this compiler from
! 11876: # explicitly linking system object files so we need to strip them
! 11877: # from the output so that they don't get included in the library
! 11878: # dependencies.
! 11879: 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'
! 11880: ;;
! 11881: *)
! 11882: if test "$GXX" = yes; then
! 11883: 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'
! 11884: else
! 11885: # FIXME: insert proper C++ library support
! 11886: ld_shlibs_CXX=no
! 11887: fi
! 11888: ;;
! 11889: esac
! 11890: ;;
! 11891: hpux10*|hpux11*)
! 11892: if test $with_gnu_ld = no; then
! 11893: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 11894: hardcode_libdir_separator_CXX=:
! 11895:
! 11896: case $host_cpu in
! 11897: hppa*64*|ia64*) ;;
! 11898: *)
! 11899: export_dynamic_flag_spec_CXX='${wl}-E'
! 11900: ;;
! 11901: esac
! 11902: fi
! 11903: case $host_cpu in
! 11904: hppa*64*|ia64*)
! 11905: hardcode_direct_CXX=no
! 11906: hardcode_shlibpath_var_CXX=no
! 11907: ;;
! 11908: *)
! 11909: hardcode_direct_CXX=yes
! 11910: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 11911: # but as the default
! 11912: # location of the library.
! 11913: ;;
! 11914: esac
! 11915:
! 11916: case $cc_basename in
! 11917: CC*)
! 11918: # FIXME: insert proper C++ library support
! 11919: ld_shlibs_CXX=no
! 11920: ;;
! 11921: aCC*)
! 11922: case $host_cpu in
! 11923: hppa*64*)
! 11924: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11925: ;;
! 11926: ia64*)
! 11927: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11928: ;;
! 11929: *)
! 11930: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11931: ;;
! 11932: esac
! 11933: # Commands to make compiler produce verbose output that lists
! 11934: # what "hidden" libraries, object files and flags are used when
! 11935: # linking a shared library.
! 11936: #
! 11937: # There doesn't appear to be a way to prevent this compiler from
! 11938: # explicitly linking system object files so we need to strip them
! 11939: # from the output so that they don't get included in the library
! 11940: # dependencies.
! 11941: 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'
! 11942: ;;
! 11943: *)
! 11944: if test "$GXX" = yes; then
! 11945: if test $with_gnu_ld = no; then
! 11946: case $host_cpu in
! 11947: hppa*64*)
! 11948: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11949: ;;
! 11950: ia64*)
! 11951: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 11952: ;;
! 11953: *)
! 11954: 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'
! 11955: ;;
! 11956: esac
! 11957: fi
! 11958: else
! 11959: # FIXME: insert proper C++ library support
! 11960: ld_shlibs_CXX=no
! 11961: fi
! 11962: ;;
! 11963: esac
! 11964: ;;
! 11965: interix[3-9]*)
! 11966: hardcode_direct_CXX=no
! 11967: hardcode_shlibpath_var_CXX=no
! 11968: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 11969: export_dynamic_flag_spec_CXX='${wl}-E'
! 11970: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 11971: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 11972: # default) and relocated if they conflict, which is a slow very memory
! 11973: # consuming and fragmenting process. To avoid this, we pick a random,
! 11974: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 11975: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 11976: 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'
! 11977: 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'
! 11978: ;;
! 11979: irix5* | irix6*)
! 11980: case $cc_basename in
! 11981: CC*)
! 11982: # SGI C++
! 11983: 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'
! 11984:
! 11985: # Archives containing C++ object files must be created using
! 11986: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 11987: # necessary to make sure instantiated templates are included
! 11988: # in the archive.
! 11989: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 11990: ;;
! 11991: *)
! 11992: if test "$GXX" = yes; then
! 11993: if test "$with_gnu_ld" = no; then
! 11994: 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'
! 11995: else
! 11996: 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'
! 11997: fi
! 11998: fi
! 11999: link_all_deplibs_CXX=yes
! 12000: ;;
! 12001: esac
! 12002: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12003: hardcode_libdir_separator_CXX=:
! 12004: ;;
! 12005: linux* | k*bsd*-gnu)
! 12006: case $cc_basename in
! 12007: KCC*)
! 12008: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12009:
! 12010: # KCC will only create a shared library if the output file
! 12011: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12012: # to its proper name (with version) after linking.
! 12013: 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'
! 12014: 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'
! 12015: # Commands to make compiler produce verbose output that lists
! 12016: # what "hidden" libraries, object files and flags are used when
! 12017: # linking a shared library.
! 12018: #
! 12019: # There doesn't appear to be a way to prevent this compiler from
! 12020: # explicitly linking system object files so we need to strip them
! 12021: # from the output so that they don't get included in the library
! 12022: # dependencies.
! 12023: 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'
! 12024:
! 12025: hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
! 12026: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12027:
! 12028: # Archives containing C++ object files must be created using
! 12029: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12030: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12031: ;;
! 12032: icpc*)
! 12033: # Intel C++
! 12034: with_gnu_ld=yes
! 12035: # version 8.0 and above of icpc choke on multiply defined symbols
! 12036: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 12037: # earlier do not add the objects themselves.
! 12038: case `$CC -V 2>&1` in
! 12039: *"Version 7."*)
! 12040: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12041: 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'
! 12042: ;;
! 12043: *) # Version 8.0 or newer
! 12044: tmp_idyn=
! 12045: case $host_cpu in
! 12046: ia64*) tmp_idyn=' -i_dynamic';;
! 12047: esac
! 12048: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12049: 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'
! 12050: ;;
! 12051: esac
! 12052: archive_cmds_need_lc_CXX=no
! 12053: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12054: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12055: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 12056: ;;
! 12057: pgCC* | pgcpp*)
! 12058: # Portland Group C++ compiler
! 12059: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 12060: 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'
! 12061:
! 12062: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 12063: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 12064: 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'
! 12065: ;;
! 12066: cxx*)
! 12067: # Compaq C++
! 12068: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 12069: 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'
! 12070:
! 12071: runpath_var=LD_RUN_PATH
! 12072: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12073: hardcode_libdir_separator_CXX=:
! 12074:
! 12075: # Commands to make compiler produce verbose output that lists
! 12076: # what "hidden" libraries, object files and flags are used when
! 12077: # linking a shared library.
! 12078: #
! 12079: # There doesn't appear to be a way to prevent this compiler from
! 12080: # explicitly linking system object files so we need to strip them
! 12081: # from the output so that they don't get included in the library
! 12082: # dependencies.
! 12083: 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'
! 12084: ;;
! 12085: *)
! 12086: case `$CC -V 2>&1 | sed 5q` in
! 12087: *Sun\ C*)
! 12088: # Sun C++ 5.9
! 12089: no_undefined_flag_CXX=' -zdefs'
! 12090: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12091: 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'
! 12092: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12093: 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'
! 12094:
! 12095: # Not sure whether something based on
! 12096: # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
! 12097: # would be better.
! 12098: output_verbose_link_cmd='echo'
! 12099:
! 12100: # Archives containing C++ object files must be created using
! 12101: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12102: # necessary to make sure instantiated templates are included
! 12103: # in the archive.
! 12104: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12105: ;;
! 12106: esac
! 12107: ;;
! 12108: esac
! 12109: ;;
! 12110: lynxos*)
! 12111: # FIXME: insert proper C++ library support
! 12112: ld_shlibs_CXX=no
! 12113: ;;
! 12114: m88k*)
! 12115: # FIXME: insert proper C++ library support
! 12116: ld_shlibs_CXX=no
! 12117: ;;
! 12118: mvs*)
! 12119: case $cc_basename in
! 12120: cxx*)
! 12121: # FIXME: insert proper C++ library support
! 12122: ld_shlibs_CXX=no
! 12123: ;;
! 12124: *)
! 12125: # FIXME: insert proper C++ library support
! 12126: ld_shlibs_CXX=no
! 12127: ;;
! 12128: esac
! 12129: ;;
! 12130: netbsd* | netbsdelf*-gnu)
! 12131: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 12132: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 12133: wlarc=
! 12134: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12135: hardcode_direct_CXX=yes
! 12136: hardcode_shlibpath_var_CXX=no
! 12137: fi
! 12138: # Workaround some broken pre-1.5 toolchains
! 12139: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 12140: ;;
! 12141: openbsd2*)
! 12142: # C++ shared libraries are fairly broken
! 12143: ld_shlibs_CXX=no
! 12144: ;;
! 12145: openbsd*)
! 12146: if test -f /usr/libexec/ld.so; then
! 12147: hardcode_direct_CXX=yes
! 12148: hardcode_shlibpath_var_CXX=no
! 12149: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 12150: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12151: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 12152: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 12153: export_dynamic_flag_spec_CXX='${wl}-E'
! 12154: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 12155: fi
! 12156: output_verbose_link_cmd='echo'
! 12157: else
! 12158: ld_shlibs_CXX=no
! 12159: fi
! 12160: ;;
! 12161: osf3*)
! 12162: case $cc_basename in
! 12163: KCC*)
! 12164: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12165:
! 12166: # KCC will only create a shared library if the output file
! 12167: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12168: # to its proper name (with version) after linking.
! 12169: 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'
! 12170:
! 12171: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12172: hardcode_libdir_separator_CXX=:
! 12173:
! 12174: # Archives containing C++ object files must be created using
! 12175: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 12176: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 12177:
! 12178: ;;
! 12179: RCC*)
! 12180: # Rational C++ 2.4.1
! 12181: # FIXME: insert proper C++ library support
! 12182: ld_shlibs_CXX=no
! 12183: ;;
! 12184: cxx*)
! 12185: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12186: 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'
! 12187:
! 12188: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12189: hardcode_libdir_separator_CXX=:
! 12190:
! 12191: # Commands to make compiler produce verbose output that lists
! 12192: # what "hidden" libraries, object files and flags are used when
! 12193: # linking a shared library.
! 12194: #
! 12195: # There doesn't appear to be a way to prevent this compiler from
! 12196: # explicitly linking system object files so we need to strip them
! 12197: # from the output so that they don't get included in the library
! 12198: # dependencies.
! 12199: 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'
! 12200: ;;
! 12201: *)
! 12202: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12203: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12204: 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'
! 12205:
! 12206: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12207: hardcode_libdir_separator_CXX=:
! 12208:
! 12209: # Commands to make compiler produce verbose output that lists
! 12210: # what "hidden" libraries, object files and flags are used when
! 12211: # linking a shared library.
! 12212: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 12213:
! 12214: else
! 12215: # FIXME: insert proper C++ library support
! 12216: ld_shlibs_CXX=no
! 12217: fi
! 12218: ;;
! 12219: esac
! 12220: ;;
! 12221: osf4* | osf5*)
! 12222: case $cc_basename in
! 12223: KCC*)
! 12224: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 12225:
! 12226: # KCC will only create a shared library if the output file
! 12227: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 12228: # to its proper name (with version) after linking.
! 12229: 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'
! 12230:
! 12231: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 12232: hardcode_libdir_separator_CXX=:
! 12233:
! 12234: # Archives containing C++ object files must be created using
! 12235: # the KAI C++ compiler.
! 12236: old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
! 12237: ;;
! 12238: RCC*)
! 12239: # Rational C++ 2.4.1
! 12240: # FIXME: insert proper C++ library support
! 12241: ld_shlibs_CXX=no
! 12242: ;;
! 12243: cxx*)
! 12244: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 12245: 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'
! 12246: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 12247: echo "-hidden">> $lib.exp~
! 12248: $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~
! 12249: $rm $lib.exp'
! 12250:
! 12251: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 12252: hardcode_libdir_separator_CXX=:
! 12253:
! 12254: # Commands to make compiler produce verbose output that lists
! 12255: # what "hidden" libraries, object files and flags are used when
! 12256: # linking a shared library.
! 12257: #
! 12258: # There doesn't appear to be a way to prevent this compiler from
! 12259: # explicitly linking system object files so we need to strip them
! 12260: # from the output so that they don't get included in the library
! 12261: # dependencies.
! 12262: 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'
! 12263: ;;
! 12264: *)
! 12265: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12266: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 12267: 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'
! 12268:
! 12269: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 12270: hardcode_libdir_separator_CXX=:
! 12271:
! 12272: # Commands to make compiler produce verbose output that lists
! 12273: # what "hidden" libraries, object files and flags are used when
! 12274: # linking a shared library.
! 12275: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 12276:
! 12277: else
! 12278: # FIXME: insert proper C++ library support
! 12279: ld_shlibs_CXX=no
! 12280: fi
! 12281: ;;
! 12282: esac
! 12283: ;;
! 12284: psos*)
! 12285: # FIXME: insert proper C++ library support
! 12286: ld_shlibs_CXX=no
! 12287: ;;
! 12288: sunos4*)
! 12289: case $cc_basename in
! 12290: CC*)
! 12291: # Sun C++ 4.x
! 12292: # FIXME: insert proper C++ library support
! 12293: ld_shlibs_CXX=no
! 12294: ;;
! 12295: lcc*)
! 12296: # Lucid
! 12297: # FIXME: insert proper C++ library support
! 12298: ld_shlibs_CXX=no
! 12299: ;;
! 12300: *)
! 12301: # FIXME: insert proper C++ library support
! 12302: ld_shlibs_CXX=no
! 12303: ;;
! 12304: esac
! 12305: ;;
! 12306: solaris*)
! 12307: case $cc_basename in
! 12308: CC*)
! 12309: # Sun C++ 4.2, 5.x and Centerline C++
! 12310: archive_cmds_need_lc_CXX=yes
! 12311: no_undefined_flag_CXX=' -zdefs'
! 12312: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 12313: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12314: $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'
! 12315:
! 12316: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 12317: hardcode_shlibpath_var_CXX=no
! 12318: case $host_os in
! 12319: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12320: *)
! 12321: # The compiler driver will combine and reorder linker options,
! 12322: # but understands `-z linker_flag'.
! 12323: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 12324: whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
! 12325: ;;
! 12326: esac
! 12327: link_all_deplibs_CXX=yes
! 12328:
! 12329: output_verbose_link_cmd='echo'
! 12330:
! 12331: # Archives containing C++ object files must be created using
! 12332: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 12333: # necessary to make sure instantiated templates are included
! 12334: # in the archive.
! 12335: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 12336: ;;
! 12337: gcx*)
! 12338: # Green Hills C++ Compiler
! 12339: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12340:
! 12341: # The C++ compiler must be used to create the archive.
! 12342: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 12343: ;;
! 12344: *)
! 12345: # GNU C++ compiler with Solaris linker
! 12346: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 12347: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 12348: if $CC --version | grep -v '^2\.7' > /dev/null; then
! 12349: archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12350: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12351: $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 12352:
! 12353: # Commands to make compiler produce verbose output that lists
! 12354: # what "hidden" libraries, object files and flags are used when
! 12355: # linking a shared library.
! 12356: output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 12357: else
! 12358: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 12359: # platform.
! 12360: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 12361: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 12362: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 12363:
! 12364: # Commands to make compiler produce verbose output that lists
! 12365: # what "hidden" libraries, object files and flags are used when
! 12366: # linking a shared library.
! 12367: output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 12368: fi
! 12369:
! 12370: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 12371: case $host_os in
! 12372: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 12373: *)
! 12374: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 12375: ;;
! 12376: esac
! 12377: fi
! 12378: ;;
! 12379: esac
! 12380: ;;
! 12381: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 12382: no_undefined_flag_CXX='${wl}-z,text'
! 12383: archive_cmds_need_lc_CXX=no
! 12384: hardcode_shlibpath_var_CXX=no
! 12385: runpath_var='LD_RUN_PATH'
! 12386:
! 12387: case $cc_basename in
! 12388: CC*)
! 12389: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12390: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12391: ;;
! 12392: *)
! 12393: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12394: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12395: ;;
! 12396: esac
! 12397: ;;
! 12398: sysv5* | sco3.2v5* | sco5v6*)
! 12399: # Note: We can NOT use -z defs as we might desire, because we do not
! 12400: # link with -lc, and that would cause any symbols used from libc to
! 12401: # always be unresolved, which means just about no library would
! 12402: # ever link correctly. If we're not using GNU ld we use -z text
! 12403: # though, which does catch some bad symbols but isn't as heavy-handed
! 12404: # as -z defs.
! 12405: # For security reasons, it is highly recommended that you always
! 12406: # use absolute paths for naming shared libraries, and exclude the
! 12407: # DT_RUNPATH tag from executables and libraries. But doing so
! 12408: # requires that you compile everything twice, which is a pain.
! 12409: # So that behaviour is only enabled if SCOABSPATH is set to a
! 12410: # non-empty value in the environment. Most likely only useful for
! 12411: # creating official distributions of packages.
! 12412: # This is a hack until libtool officially supports absolute path
! 12413: # names for shared libraries.
! 12414: no_undefined_flag_CXX='${wl}-z,text'
! 12415: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 12416: archive_cmds_need_lc_CXX=no
! 12417: hardcode_shlibpath_var_CXX=no
! 12418: hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 12419: hardcode_libdir_separator_CXX=':'
! 12420: link_all_deplibs_CXX=yes
! 12421: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 12422: runpath_var='LD_RUN_PATH'
! 12423:
! 12424: case $cc_basename in
! 12425: CC*)
! 12426: archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12427: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12428: ;;
! 12429: *)
! 12430: archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12431: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 12432: ;;
! 12433: esac
! 12434: ;;
! 12435: tandem*)
! 12436: case $cc_basename in
! 12437: NCC*)
! 12438: # NonStop-UX NCC 3.20
! 12439: # FIXME: insert proper C++ library support
! 12440: ld_shlibs_CXX=no
! 12441: ;;
! 12442: *)
! 12443: # FIXME: insert proper C++ library support
! 12444: ld_shlibs_CXX=no
! 12445: ;;
! 12446: esac
! 12447: ;;
! 12448: vxworks*)
! 12449: # FIXME: insert proper C++ library support
! 12450: ld_shlibs_CXX=no
! 12451: ;;
! 12452: *)
! 12453: # FIXME: insert proper C++ library support
! 12454: ld_shlibs_CXX=no
! 12455: ;;
! 12456: esac
! 12457: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 12458: $as_echo "$ld_shlibs_CXX" >&6; }
! 12459: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 12460:
! 12461: GCC_CXX="$GXX"
! 12462: LD_CXX="$LD"
! 12463:
! 12464: cat > conftest.$ac_ext <<EOF
! 12465: class Foo
! 12466: {
! 12467: public:
! 12468: Foo (void) { a = 0; }
! 12469: private:
! 12470: int a;
! 12471: };
! 12472: EOF
! 12473:
! 12474: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 12475: (eval $ac_compile) 2>&5
! 12476: ac_status=$?
! 12477: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12478: (exit $ac_status); }; then
! 12479: # Parse the compiler output and extract the necessary
! 12480: # objects, libraries and library flags.
! 12481:
! 12482: # Sentinel used to keep track of whether or not we are before
! 12483: # the conftest object file.
! 12484: pre_test_object_deps_done=no
! 12485:
! 12486: # The `*' in the case matches for architectures that use `case' in
! 12487: # $output_verbose_cmd can trigger glob expansion during the loop
! 12488: # eval without this substitution.
! 12489: output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
! 12490:
! 12491: for p in `eval $output_verbose_link_cmd`; do
! 12492: case $p in
! 12493:
! 12494: -L* | -R* | -l*)
! 12495: # Some compilers place space between "-{L,R}" and the path.
! 12496: # Remove the space.
! 12497: if test $p = "-L" \
! 12498: || test $p = "-R"; then
! 12499: prev=$p
! 12500: continue
! 12501: else
! 12502: prev=
! 12503: fi
! 12504:
! 12505: if test "$pre_test_object_deps_done" = no; then
! 12506: case $p in
! 12507: -L* | -R*)
! 12508: # Internal compiler library paths should come after those
! 12509: # provided the user. The postdeps already come after the
! 12510: # user supplied libs so there is no need to process them.
! 12511: if test -z "$compiler_lib_search_path_CXX"; then
! 12512: compiler_lib_search_path_CXX="${prev}${p}"
! 12513: else
! 12514: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 12515: fi
! 12516: ;;
! 12517: # The "-l" case would never come before the object being
! 12518: # linked, so don't bother handling this case.
! 12519: esac
! 12520: else
! 12521: if test -z "$postdeps_CXX"; then
! 12522: postdeps_CXX="${prev}${p}"
! 12523: else
! 12524: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 12525: fi
! 12526: fi
! 12527: ;;
! 12528:
! 12529: *.$objext)
! 12530: # This assumes that the test object file only shows up
! 12531: # once in the compiler output.
! 12532: if test "$p" = "conftest.$objext"; then
! 12533: pre_test_object_deps_done=yes
! 12534: continue
! 12535: fi
! 12536:
! 12537: if test "$pre_test_object_deps_done" = no; then
! 12538: if test -z "$predep_objects_CXX"; then
! 12539: predep_objects_CXX="$p"
! 12540: else
! 12541: predep_objects_CXX="$predep_objects_CXX $p"
! 12542: fi
! 12543: else
! 12544: if test -z "$postdep_objects_CXX"; then
! 12545: postdep_objects_CXX="$p"
! 12546: else
! 12547: postdep_objects_CXX="$postdep_objects_CXX $p"
! 12548: fi
! 12549: fi
! 12550: ;;
! 12551:
! 12552: *) ;; # Ignore the rest.
! 12553:
! 12554: esac
! 12555: done
! 12556:
! 12557: # Clean up.
! 12558: rm -f a.out a.exe
! 12559: else
! 12560: echo "libtool.m4: error: problem compiling CXX test program"
! 12561: fi
! 12562:
! 12563: $rm -f confest.$objext
! 12564:
! 12565: compiler_lib_search_dirs_CXX=
! 12566: if test -n "$compiler_lib_search_path_CXX"; then
! 12567: compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
! 12568: fi
! 12569:
! 12570: # PORTME: override above test on systems where it is broken
! 12571: case $host_os in
! 12572: interix[3-9]*)
! 12573: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 12574: # hack all around it, let's just trust "g++" to DTRT.
! 12575: predep_objects_CXX=
! 12576: postdep_objects_CXX=
! 12577: postdeps_CXX=
! 12578: ;;
! 12579:
! 12580: linux*)
! 12581: case `$CC -V 2>&1 | sed 5q` in
! 12582: *Sun\ C*)
! 12583: # Sun C++ 5.9
! 12584: #
! 12585: # The more standards-conforming stlport4 library is
! 12586: # incompatible with the Cstd library. Avoid specifying
! 12587: # it if it's in CXXFLAGS. Ignore libCrun as
! 12588: # -library=stlport4 depends on it.
! 12589: case " $CXX $CXXFLAGS " in
! 12590: *" -library=stlport4 "*)
! 12591: solaris_use_stlport4=yes
! 12592: ;;
! 12593: esac
! 12594: if test "$solaris_use_stlport4" != yes; then
! 12595: postdeps_CXX='-library=Cstd -library=Crun'
! 12596: fi
! 12597: ;;
! 12598: esac
! 12599: ;;
! 12600:
! 12601: solaris*)
! 12602: case $cc_basename in
! 12603: CC*)
! 12604: # The more standards-conforming stlport4 library is
! 12605: # incompatible with the Cstd library. Avoid specifying
! 12606: # it if it's in CXXFLAGS. Ignore libCrun as
! 12607: # -library=stlport4 depends on it.
! 12608: case " $CXX $CXXFLAGS " in
! 12609: *" -library=stlport4 "*)
! 12610: solaris_use_stlport4=yes
! 12611: ;;
! 12612: esac
! 12613:
! 12614: # Adding this requires a known-good setup of shared libraries for
! 12615: # Sun compiler versions before 5.6, else PIC objects from an old
! 12616: # archive will be linked into the output, leading to subtle bugs.
! 12617: if test "$solaris_use_stlport4" != yes; then
! 12618: postdeps_CXX='-library=Cstd -library=Crun'
! 12619: fi
! 12620: ;;
! 12621: esac
! 12622: ;;
! 12623: esac
! 12624:
! 12625: case " $postdeps_CXX " in
! 12626: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 12627: esac
! 12628:
! 12629: lt_prog_compiler_wl_CXX=
! 12630: lt_prog_compiler_pic_CXX=
! 12631: lt_prog_compiler_static_CXX=
! 12632:
! 12633: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 12634: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 12635:
! 12636: # C++ specific cases for pic, static, wl, etc.
! 12637: if test "$GXX" = yes; then
! 12638: lt_prog_compiler_wl_CXX='-Wl,'
! 12639: lt_prog_compiler_static_CXX='-static'
! 12640:
! 12641: case $host_os in
! 12642: aix*)
! 12643: # All AIX code is PIC.
! 12644: if test "$host_cpu" = ia64; then
! 12645: # AIX 5 now supports IA64 processor
! 12646: lt_prog_compiler_static_CXX='-Bstatic'
! 12647: fi
! 12648: ;;
! 12649: amigaos*)
! 12650: # FIXME: we need at least 68020 code to build shared libraries, but
! 12651: # adding the `-m68020' flag to GCC prevents building anything better,
! 12652: # like `-m68040'.
! 12653: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 12654: ;;
! 12655: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 12656: # PIC is the default for these OSes.
! 12657: ;;
! 12658: mingw* | cygwin* | os2* | pw32*)
! 12659: # This hack is so that the source file can tell whether it is being
! 12660: # built for inclusion in a dll (and should export symbols for example).
! 12661: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 12662: # (--disable-auto-import) libraries
! 12663: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 12664: ;;
! 12665: darwin* | rhapsody*)
! 12666: # PIC is the default on this platform
! 12667: # Common symbols not allowed in MH_DYLIB files
! 12668: lt_prog_compiler_pic_CXX='-fno-common'
! 12669: ;;
! 12670: *djgpp*)
! 12671: # DJGPP does not support shared libraries at all
! 12672: lt_prog_compiler_pic_CXX=
! 12673: ;;
! 12674: interix[3-9]*)
! 12675: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 12676: # Instead, we relocate shared libraries at runtime.
! 12677: ;;
! 12678: sysv4*MP*)
! 12679: if test -d /usr/nec; then
! 12680: lt_prog_compiler_pic_CXX=-Kconform_pic
! 12681: fi
! 12682: ;;
! 12683: hpux*)
! 12684: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 12685: # not for PA HP-UX.
! 12686: case $host_cpu in
! 12687: hppa*64*|ia64*)
! 12688: ;;
! 12689: *)
! 12690: lt_prog_compiler_pic_CXX='-fPIC'
! 12691: ;;
! 12692: esac
! 12693: ;;
! 12694: *)
! 12695: lt_prog_compiler_pic_CXX='-fPIC'
! 12696: ;;
! 12697: esac
! 12698: else
! 12699: case $host_os in
! 12700: aix[4-9]*)
! 12701: # All AIX code is PIC.
! 12702: if test "$host_cpu" = ia64; then
! 12703: # AIX 5 now supports IA64 processor
! 12704: lt_prog_compiler_static_CXX='-Bstatic'
! 12705: else
! 12706: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 12707: fi
! 12708: ;;
! 12709: chorus*)
! 12710: case $cc_basename in
! 12711: cxch68*)
! 12712: # Green Hills C++ Compiler
! 12713: # _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"
! 12714: ;;
! 12715: esac
! 12716: ;;
! 12717: darwin*)
! 12718: # PIC is the default on this platform
! 12719: # Common symbols not allowed in MH_DYLIB files
! 12720: case $cc_basename in
! 12721: xlc*)
! 12722: lt_prog_compiler_pic_CXX='-qnocommon'
! 12723: lt_prog_compiler_wl_CXX='-Wl,'
! 12724: ;;
! 12725: esac
! 12726: ;;
! 12727: dgux*)
! 12728: case $cc_basename in
! 12729: ec++*)
! 12730: lt_prog_compiler_pic_CXX='-KPIC'
! 12731: ;;
! 12732: ghcx*)
! 12733: # Green Hills C++ Compiler
! 12734: lt_prog_compiler_pic_CXX='-pic'
! 12735: ;;
! 12736: *)
! 12737: ;;
! 12738: esac
! 12739: ;;
! 12740: freebsd* | dragonfly*)
! 12741: # FreeBSD uses GNU C++
! 12742: ;;
! 12743: hpux9* | hpux10* | hpux11*)
! 12744: case $cc_basename in
! 12745: CC*)
! 12746: lt_prog_compiler_wl_CXX='-Wl,'
! 12747: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 12748: if test "$host_cpu" != ia64; then
! 12749: lt_prog_compiler_pic_CXX='+Z'
! 12750: fi
! 12751: ;;
! 12752: aCC*)
! 12753: lt_prog_compiler_wl_CXX='-Wl,'
! 12754: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 12755: case $host_cpu in
! 12756: hppa*64*|ia64*)
! 12757: # +Z the default
! 12758: ;;
! 12759: *)
! 12760: lt_prog_compiler_pic_CXX='+Z'
! 12761: ;;
! 12762: esac
! 12763: ;;
! 12764: *)
! 12765: ;;
! 12766: esac
! 12767: ;;
! 12768: interix*)
! 12769: # This is c89, which is MS Visual C++ (no shared libs)
! 12770: # Anyone wants to do a port?
! 12771: ;;
! 12772: irix5* | irix6* | nonstopux*)
! 12773: case $cc_basename in
! 12774: CC*)
! 12775: lt_prog_compiler_wl_CXX='-Wl,'
! 12776: lt_prog_compiler_static_CXX='-non_shared'
! 12777: # CC pic flag -KPIC is the default.
! 12778: ;;
! 12779: *)
! 12780: ;;
! 12781: esac
! 12782: ;;
! 12783: linux* | k*bsd*-gnu)
! 12784: case $cc_basename in
! 12785: KCC*)
! 12786: # KAI C++ Compiler
! 12787: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 12788: lt_prog_compiler_pic_CXX='-fPIC'
! 12789: ;;
! 12790: icpc* | ecpc*)
! 12791: # Intel C++
! 12792: lt_prog_compiler_wl_CXX='-Wl,'
! 12793: lt_prog_compiler_pic_CXX='-KPIC'
! 12794: lt_prog_compiler_static_CXX='-static'
! 12795: ;;
! 12796: pgCC* | pgcpp*)
! 12797: # Portland Group C++ compiler.
! 12798: lt_prog_compiler_wl_CXX='-Wl,'
! 12799: lt_prog_compiler_pic_CXX='-fpic'
! 12800: lt_prog_compiler_static_CXX='-Bstatic'
! 12801: ;;
! 12802: cxx*)
! 12803: # Compaq C++
! 12804: # Make sure the PIC flag is empty. It appears that all Alpha
! 12805: # Linux and Compaq Tru64 Unix objects are PIC.
! 12806: lt_prog_compiler_pic_CXX=
! 12807: lt_prog_compiler_static_CXX='-non_shared'
! 12808: ;;
! 12809: *)
! 12810: case `$CC -V 2>&1 | sed 5q` in
! 12811: *Sun\ C*)
! 12812: # Sun C++ 5.9
! 12813: lt_prog_compiler_pic_CXX='-KPIC'
! 12814: lt_prog_compiler_static_CXX='-Bstatic'
! 12815: lt_prog_compiler_wl_CXX='-Qoption ld '
! 12816: ;;
! 12817: esac
! 12818: ;;
! 12819: esac
! 12820: ;;
! 12821: lynxos*)
! 12822: ;;
! 12823: m88k*)
! 12824: ;;
! 12825: mvs*)
! 12826: case $cc_basename in
! 12827: cxx*)
! 12828: lt_prog_compiler_pic_CXX='-W c,exportall'
! 12829: ;;
! 12830: *)
! 12831: ;;
! 12832: esac
! 12833: ;;
! 12834: netbsd* | netbsdelf*-gnu)
! 12835: ;;
! 12836: osf3* | osf4* | osf5*)
! 12837: case $cc_basename in
! 12838: KCC*)
! 12839: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 12840: ;;
! 12841: RCC*)
! 12842: # Rational C++ 2.4.1
! 12843: lt_prog_compiler_pic_CXX='-pic'
! 12844: ;;
! 12845: cxx*)
! 12846: # Digital/Compaq C++
! 12847: lt_prog_compiler_wl_CXX='-Wl,'
! 12848: # Make sure the PIC flag is empty. It appears that all Alpha
! 12849: # Linux and Compaq Tru64 Unix objects are PIC.
! 12850: lt_prog_compiler_pic_CXX=
! 12851: lt_prog_compiler_static_CXX='-non_shared'
! 12852: ;;
! 12853: *)
! 12854: ;;
! 12855: esac
! 12856: ;;
! 12857: psos*)
! 12858: ;;
! 12859: solaris*)
! 12860: case $cc_basename in
! 12861: CC*)
! 12862: # Sun C++ 4.2, 5.x and Centerline C++
! 12863: lt_prog_compiler_pic_CXX='-KPIC'
! 12864: lt_prog_compiler_static_CXX='-Bstatic'
! 12865: lt_prog_compiler_wl_CXX='-Qoption ld '
! 12866: ;;
! 12867: gcx*)
! 12868: # Green Hills C++ Compiler
! 12869: lt_prog_compiler_pic_CXX='-PIC'
! 12870: ;;
! 12871: *)
! 12872: ;;
! 12873: esac
! 12874: ;;
! 12875: sunos4*)
! 12876: case $cc_basename in
! 12877: CC*)
! 12878: # Sun C++ 4.x
! 12879: lt_prog_compiler_pic_CXX='-pic'
! 12880: lt_prog_compiler_static_CXX='-Bstatic'
! 12881: ;;
! 12882: lcc*)
! 12883: # Lucid
! 12884: lt_prog_compiler_pic_CXX='-pic'
! 12885: ;;
! 12886: *)
! 12887: ;;
! 12888: esac
! 12889: ;;
! 12890: tandem*)
! 12891: case $cc_basename in
! 12892: NCC*)
! 12893: # NonStop-UX NCC 3.20
! 12894: lt_prog_compiler_pic_CXX='-KPIC'
! 12895: ;;
! 12896: *)
! 12897: ;;
! 12898: esac
! 12899: ;;
! 12900: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 12901: case $cc_basename in
! 12902: CC*)
! 12903: lt_prog_compiler_wl_CXX='-Wl,'
! 12904: lt_prog_compiler_pic_CXX='-KPIC'
! 12905: lt_prog_compiler_static_CXX='-Bstatic'
! 12906: ;;
! 12907: esac
! 12908: ;;
! 12909: vxworks*)
! 12910: ;;
! 12911: *)
! 12912: lt_prog_compiler_can_build_shared_CXX=no
! 12913: ;;
! 12914: esac
! 12915: fi
! 12916:
! 12917: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
! 12918: $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
! 12919:
! 12920: #
! 12921: # Check to make sure the PIC flag actually works.
! 12922: #
! 12923: if test -n "$lt_prog_compiler_pic_CXX"; then
! 12924:
! 12925: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 12926: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
! 12927: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
! 12928: $as_echo_n "(cached) " >&6
! 12929: else
! 12930: lt_cv_prog_compiler_pic_works_CXX=no
! 12931: ac_outfile=conftest.$ac_objext
! 12932: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 12933: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 12934: # Insert the option either (1) after the last *FLAGS variable, or
! 12935: # (2) before a word containing "conftest.", or (3) at the end.
! 12936: # Note that $ac_compile itself does not contain backslashes and begins
! 12937: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 12938: # The option is referenced via a variable to avoid confusing sed.
! 12939: lt_compile=`echo "$ac_compile" | $SED \
! 12940: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 12941: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 12942: -e 's:$: $lt_compiler_flag:'`
! 12943: (eval echo "\"\$as_me:12943: $lt_compile\"" >&5)
! 12944: (eval "$lt_compile" 2>conftest.err)
! 12945: ac_status=$?
! 12946: cat conftest.err >&5
! 12947: echo "$as_me:12947: \$? = $ac_status" >&5
! 12948: if (exit $ac_status) && test -s "$ac_outfile"; then
! 12949: # The compiler can only warn and ignore the option if not recognized
! 12950: # So say no if there are warnings other than the usual output.
! 12951: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 12952: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 12953: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 12954: lt_cv_prog_compiler_pic_works_CXX=yes
! 12955: fi
! 12956: fi
! 12957: $rm conftest*
! 12958:
! 12959: fi
! 12960: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! 12961: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
! 12962:
! 12963: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
! 12964: case $lt_prog_compiler_pic_CXX in
! 12965: "" | " "*) ;;
! 12966: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 12967: esac
! 12968: else
! 12969: lt_prog_compiler_pic_CXX=
! 12970: lt_prog_compiler_can_build_shared_CXX=no
! 12971: fi
! 12972:
! 12973: fi
! 12974: case $host_os in
! 12975: # For platforms which do not support PIC, -DPIC is meaningless:
! 12976: *djgpp*)
! 12977: lt_prog_compiler_pic_CXX=
! 12978: ;;
! 12979: *)
! 12980: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 12981: ;;
! 12982: esac
! 12983:
! 12984: #
! 12985: # Check to make sure the static flag actually works.
! 12986: #
! 12987: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 12988: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 12989: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 12990: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
! 12991: $as_echo_n "(cached) " >&6
! 12992: else
! 12993: lt_cv_prog_compiler_static_works_CXX=no
! 12994: save_LDFLAGS="$LDFLAGS"
! 12995: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 12996: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 12997: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 12998: # The linker can only warn and ignore the option if not recognized
! 12999: # So say no if there are warnings
! 13000: if test -s conftest.err; then
! 13001: # Append any errors to the config.log.
! 13002: cat conftest.err 1>&5
! 13003: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 13004: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13005: if diff conftest.exp conftest.er2 >/dev/null; then
! 13006: lt_cv_prog_compiler_static_works_CXX=yes
! 13007: fi
! 13008: else
! 13009: lt_cv_prog_compiler_static_works_CXX=yes
! 13010: fi
! 13011: fi
! 13012: $rm -r conftest*
! 13013: LDFLAGS="$save_LDFLAGS"
! 13014:
! 13015: fi
! 13016: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! 13017: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
! 13018:
! 13019: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
! 13020: :
! 13021: else
! 13022: lt_prog_compiler_static_CXX=
! 13023: fi
! 13024:
! 13025:
! 13026: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 13027: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 13028: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 13029: $as_echo_n "(cached) " >&6
! 13030: else
! 13031: lt_cv_prog_compiler_c_o_CXX=no
! 13032: $rm -r conftest 2>/dev/null
! 13033: mkdir conftest
! 13034: cd conftest
! 13035: mkdir out
! 13036: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13037:
! 13038: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 13039: # Insert the option either (1) after the last *FLAGS variable, or
! 13040: # (2) before a word containing "conftest.", or (3) at the end.
! 13041: # Note that $ac_compile itself does not contain backslashes and begins
! 13042: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13043: lt_compile=`echo "$ac_compile" | $SED \
! 13044: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13045: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13046: -e 's:$: $lt_compiler_flag:'`
! 13047: (eval echo "\"\$as_me:13047: $lt_compile\"" >&5)
! 13048: (eval "$lt_compile" 2>out/conftest.err)
! 13049: ac_status=$?
! 13050: cat out/conftest.err >&5
! 13051: echo "$as_me:13051: \$? = $ac_status" >&5
! 13052: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 13053: then
! 13054: # The compiler can only warn and ignore the option if not recognized
! 13055: # So say no if there are warnings
! 13056: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 13057: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 13058: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 13059: lt_cv_prog_compiler_c_o_CXX=yes
! 13060: fi
! 13061: fi
! 13062: chmod u+w . 2>&5
! 13063: $rm conftest*
! 13064: # SGI C++ compiler will create directory out/ii_files/ for
! 13065: # template instantiation
! 13066: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 13067: $rm out/* && rmdir out
! 13068: cd ..
! 13069: rmdir conftest
! 13070: $rm conftest*
! 13071:
! 13072: fi
! 13073: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 13074: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
! 13075:
! 13076:
! 13077: hard_links="nottested"
! 13078: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 13079: # do not overwrite the value of need_locks provided by the user
! 13080: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 13081: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 13082: hard_links=yes
! 13083: $rm conftest*
! 13084: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13085: touch conftest.a
! 13086: ln conftest.a conftest.b 2>&5 || hard_links=no
! 13087: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13088: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 13089: $as_echo "$hard_links" >&6; }
! 13090: if test "$hard_links" = no; then
! 13091: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 13092: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 13093: need_locks=warn
! 13094: fi
! 13095: else
! 13096: need_locks=no
! 13097: fi
! 13098:
! 13099: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 13100: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 13101:
! 13102: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13103: case $host_os in
! 13104: aix[4-9]*)
! 13105: # If we're using GNU nm, then we don't want the "-C" option.
! 13106: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 13107: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 13108: 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'
! 13109: else
! 13110: 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'
! 13111: fi
! 13112: ;;
! 13113: pw32*)
! 13114: export_symbols_cmds_CXX="$ltdll_cmds"
! 13115: ;;
! 13116: cygwin* | mingw*)
! 13117: 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'
! 13118: ;;
! 13119: linux* | k*bsd*-gnu)
! 13120: link_all_deplibs_CXX=no
! 13121: ;;
! 13122: *)
! 13123: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13124: ;;
! 13125: esac
! 13126: exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 13127:
! 13128: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 13129: $as_echo "$ld_shlibs_CXX" >&6; }
! 13130: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 13131:
! 13132: #
! 13133: # Do we need to explicitly link libc?
! 13134: #
! 13135: case "x$archive_cmds_need_lc_CXX" in
! 13136: x|xyes)
! 13137: # Assume -lc should be added
! 13138: archive_cmds_need_lc_CXX=yes
! 13139:
! 13140: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 13141: case $archive_cmds_CXX in
! 13142: *'~'*)
! 13143: # FIXME: we may have to deal with multi-command sequences.
! 13144: ;;
! 13145: '$CC '*)
! 13146: # Test whether the compiler implicitly links with -lc since on some
! 13147: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 13148: # to ld, don't add -lc before -lgcc.
! 13149: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 13150: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 13151: $rm conftest*
! 13152: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13153:
! 13154: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 13155: (eval $ac_compile) 2>&5
! 13156: ac_status=$?
! 13157: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13158: (exit $ac_status); } 2>conftest.err; then
! 13159: soname=conftest
! 13160: lib=conftest
! 13161: libobjs=conftest.$ac_objext
! 13162: deplibs=
! 13163: wl=$lt_prog_compiler_wl_CXX
! 13164: pic_flag=$lt_prog_compiler_pic_CXX
! 13165: compiler_flags=-v
! 13166: linker_flags=-v
! 13167: verstring=
! 13168: output_objdir=.
! 13169: libname=conftest
! 13170: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 13171: allow_undefined_flag_CXX=
! 13172: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 13173: (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 13174: ac_status=$?
! 13175: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13176: (exit $ac_status); }
! 13177: then
! 13178: archive_cmds_need_lc_CXX=no
! 13179: else
! 13180: archive_cmds_need_lc_CXX=yes
! 13181: fi
! 13182: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 13183: else
! 13184: cat conftest.err 1>&5
! 13185: fi
! 13186: $rm conftest*
! 13187: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
! 13188: $as_echo "$archive_cmds_need_lc_CXX" >&6; }
! 13189: ;;
! 13190: esac
! 13191: fi
! 13192: ;;
! 13193: esac
! 13194:
! 13195: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 13196: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 13197: library_names_spec=
! 13198: libname_spec='lib$name'
! 13199: soname_spec=
! 13200: shrext_cmds=".so"
! 13201: postinstall_cmds=
! 13202: postuninstall_cmds=
! 13203: finish_cmds=
! 13204: finish_eval=
! 13205: shlibpath_var=
! 13206: shlibpath_overrides_runpath=unknown
! 13207: version_type=none
! 13208: dynamic_linker="$host_os ld.so"
! 13209: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 13210:
! 13211: need_lib_prefix=unknown
! 13212: hardcode_into_libs=no
! 13213:
! 13214: # when you set need_version to no, make sure it does not cause -set_version
! 13215: # flags to be left without arguments
! 13216: need_version=unknown
! 13217:
! 13218: case $host_os in
! 13219: aix3*)
! 13220: version_type=linux
! 13221: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 13222: shlibpath_var=LIBPATH
! 13223:
! 13224: # AIX 3 has no versioning support, so we append a major version to the name.
! 13225: soname_spec='${libname}${release}${shared_ext}$major'
! 13226: ;;
! 13227:
! 13228: aix[4-9]*)
! 13229: version_type=linux
! 13230: need_lib_prefix=no
! 13231: need_version=no
! 13232: hardcode_into_libs=yes
! 13233: if test "$host_cpu" = ia64; then
! 13234: # AIX 5 supports IA64
! 13235: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 13236: shlibpath_var=LD_LIBRARY_PATH
! 13237: else
! 13238: # With GCC up to 2.95.x, collect2 would create an import file
! 13239: # for dependence libraries. The import file would start with
! 13240: # the line `#! .'. This would cause the generated library to
! 13241: # depend on `.', always an invalid library. This was fixed in
! 13242: # development snapshots of GCC prior to 3.0.
! 13243: case $host_os in
! 13244: aix4 | aix4.[01] | aix4.[01].*)
! 13245: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 13246: echo ' yes '
! 13247: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 13248: :
! 13249: else
! 13250: can_build_shared=no
! 13251: fi
! 13252: ;;
! 13253: esac
! 13254: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 13255: # soname into executable. Probably we can add versioning support to
! 13256: # collect2, so additional links can be useful in future.
! 13257: if test "$aix_use_runtimelinking" = yes; then
! 13258: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 13259: # instead of lib<name>.a to let people know that these are not
! 13260: # typical AIX shared libraries.
! 13261: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13262: else
! 13263: # We preserve .a as extension for shared libraries through AIX4.2
! 13264: # and later when we are not doing run time linking.
! 13265: library_names_spec='${libname}${release}.a $libname.a'
! 13266: soname_spec='${libname}${release}${shared_ext}$major'
! 13267: fi
! 13268: shlibpath_var=LIBPATH
! 13269: fi
! 13270: ;;
! 13271:
! 13272: amigaos*)
! 13273: library_names_spec='$libname.ixlibrary $libname.a'
! 13274: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 13275: 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'
! 13276: ;;
! 13277:
! 13278: beos*)
! 13279: library_names_spec='${libname}${shared_ext}'
! 13280: dynamic_linker="$host_os ld.so"
! 13281: shlibpath_var=LIBRARY_PATH
! 13282: ;;
! 13283:
! 13284: bsdi[45]*)
! 13285: version_type=linux
! 13286: need_version=no
! 13287: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13288: soname_spec='${libname}${release}${shared_ext}$major'
! 13289: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 13290: shlibpath_var=LD_LIBRARY_PATH
! 13291: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 13292: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 13293: # the default ld.so.conf also contains /usr/contrib/lib and
! 13294: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 13295: # libtool to hard-code these into programs
! 13296: ;;
! 13297:
! 13298: cygwin* | mingw* | pw32*)
! 13299: version_type=windows
! 13300: shrext_cmds=".dll"
! 13301: need_version=no
! 13302: need_lib_prefix=no
! 13303:
! 13304: case $GCC,$host_os in
! 13305: yes,cygwin* | yes,mingw* | yes,pw32*)
! 13306: library_names_spec='$libname.dll.a'
! 13307: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 13308: postinstall_cmds='base_file=`basename \${file}`~
! 13309: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 13310: dldir=$destdir/`dirname \$dlpath`~
! 13311: test -d \$dldir || mkdir -p \$dldir~
! 13312: $install_prog $dir/$dlname \$dldir/$dlname~
! 13313: chmod a+x \$dldir/$dlname'
! 13314: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 13315: dlpath=$dir/\$dldll~
! 13316: $rm \$dlpath'
! 13317: shlibpath_overrides_runpath=yes
! 13318:
! 13319: case $host_os in
! 13320: cygwin*)
! 13321: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 13322: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13323: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 13324: ;;
! 13325: mingw*)
! 13326: # MinGW DLLs use traditional 'lib' prefix
! 13327: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13328: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 13329: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 13330: # It is most probably a Windows format PATH printed by
! 13331: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 13332: # path with ; separators, and with drive letters. We can handle the
! 13333: # drive letters (cygwin fileutils understands them), so leave them,
! 13334: # especially as we might pass files found there to a mingw objdump,
! 13335: # which wouldn't understand a cygwinified path. Ahh.
! 13336: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 13337: else
! 13338: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 13339: fi
! 13340: ;;
! 13341: pw32*)
! 13342: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 13343: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 13344: ;;
! 13345: esac
! 13346: ;;
! 13347:
! 13348: *)
! 13349: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 13350: ;;
! 13351: esac
! 13352: dynamic_linker='Win32 ld.exe'
! 13353: # FIXME: first we should search . and the directory the executable is in
! 13354: shlibpath_var=PATH
! 13355: ;;
! 13356:
! 13357: darwin* | rhapsody*)
! 13358: dynamic_linker="$host_os dyld"
! 13359: version_type=darwin
! 13360: need_lib_prefix=no
! 13361: need_version=no
! 13362: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 13363: soname_spec='${libname}${release}${major}$shared_ext'
! 13364: shlibpath_overrides_runpath=yes
! 13365: shlibpath_var=DYLD_LIBRARY_PATH
! 13366: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 13367:
! 13368: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 13369: ;;
! 13370:
! 13371: dgux*)
! 13372: version_type=linux
! 13373: need_lib_prefix=no
! 13374: need_version=no
! 13375: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 13376: soname_spec='${libname}${release}${shared_ext}$major'
! 13377: shlibpath_var=LD_LIBRARY_PATH
! 13378: ;;
! 13379:
! 13380: freebsd1*)
! 13381: dynamic_linker=no
! 13382: ;;
! 13383:
! 13384: freebsd* | dragonfly*)
! 13385: # DragonFly does not have aout. When/if they implement a new
! 13386: # versioning mechanism, adjust this.
! 13387: if test -x /usr/bin/objformat; then
! 13388: objformat=`/usr/bin/objformat`
! 13389: else
! 13390: case $host_os in
! 13391: freebsd[123]*) objformat=aout ;;
! 13392: *) objformat=elf ;;
! 13393: esac
! 13394: fi
! 13395: version_type=freebsd-$objformat
! 13396: case $version_type in
! 13397: freebsd-elf*)
! 13398: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13399: need_version=no
! 13400: need_lib_prefix=no
! 13401: ;;
! 13402: freebsd-*)
! 13403: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 13404: need_version=yes
! 13405: ;;
! 13406: esac
! 13407: shlibpath_var=LD_LIBRARY_PATH
! 13408: case $host_os in
! 13409: freebsd2*)
! 13410: shlibpath_overrides_runpath=yes
! 13411: ;;
! 13412: freebsd3.[01]* | freebsdelf3.[01]*)
! 13413: shlibpath_overrides_runpath=yes
! 13414: hardcode_into_libs=yes
! 13415: ;;
! 13416: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 13417: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 13418: shlibpath_overrides_runpath=no
! 13419: hardcode_into_libs=yes
! 13420: ;;
! 13421: *) # from 4.6 on, and DragonFly
! 13422: shlibpath_overrides_runpath=yes
! 13423: hardcode_into_libs=yes
! 13424: ;;
! 13425: esac
! 13426: ;;
! 13427:
! 13428: gnu*)
! 13429: version_type=linux
! 13430: need_lib_prefix=no
! 13431: need_version=no
! 13432: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 13433: soname_spec='${libname}${release}${shared_ext}$major'
! 13434: shlibpath_var=LD_LIBRARY_PATH
! 13435: hardcode_into_libs=yes
! 13436: ;;
! 13437:
! 13438: hpux9* | hpux10* | hpux11*)
! 13439: # Give a soname corresponding to the major version so that dld.sl refuses to
! 13440: # link against other versions.
! 13441: version_type=sunos
! 13442: need_lib_prefix=no
! 13443: need_version=no
! 13444: case $host_cpu in
! 13445: ia64*)
! 13446: shrext_cmds='.so'
! 13447: hardcode_into_libs=yes
! 13448: dynamic_linker="$host_os dld.so"
! 13449: shlibpath_var=LD_LIBRARY_PATH
! 13450: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 13451: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13452: soname_spec='${libname}${release}${shared_ext}$major'
! 13453: if test "X$HPUX_IA64_MODE" = X32; then
! 13454: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 13455: else
! 13456: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 13457: fi
! 13458: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 13459: ;;
! 13460: hppa*64*)
! 13461: shrext_cmds='.sl'
! 13462: hardcode_into_libs=yes
! 13463: dynamic_linker="$host_os dld.sl"
! 13464: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 13469: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 13470: ;;
! 13471: *)
! 13472: shrext_cmds='.sl'
! 13473: dynamic_linker="$host_os dld.sl"
! 13474: shlibpath_var=SHLIB_PATH
! 13475: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 13476: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13477: soname_spec='${libname}${release}${shared_ext}$major'
! 13478: ;;
! 13479: esac
! 13480: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 13481: postinstall_cmds='chmod 555 $lib'
! 13482: ;;
! 13483:
! 13484: interix[3-9]*)
! 13485: version_type=linux
! 13486: need_lib_prefix=no
! 13487: need_version=no
! 13488: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13489: soname_spec='${libname}${release}${shared_ext}$major'
! 13490: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 13491: shlibpath_var=LD_LIBRARY_PATH
! 13492: shlibpath_overrides_runpath=no
! 13493: hardcode_into_libs=yes
! 13494: ;;
! 13495:
! 13496: irix5* | irix6* | nonstopux*)
! 13497: case $host_os in
! 13498: nonstopux*) version_type=nonstopux ;;
! 13499: *)
! 13500: if test "$lt_cv_prog_gnu_ld" = yes; then
! 13501: version_type=linux
! 13502: else
! 13503: version_type=irix
! 13504: fi ;;
! 13505: esac
! 13506: need_lib_prefix=no
! 13507: need_version=no
! 13508: soname_spec='${libname}${release}${shared_ext}$major'
! 13509: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13510: case $host_os in
! 13511: irix5* | nonstopux*)
! 13512: libsuff= shlibsuff=
! 13513: ;;
! 13514: *)
! 13515: case $LD in # libtool.m4 will add one of these switches to LD
! 13516: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 13517: libsuff= shlibsuff= libmagic=32-bit;;
! 13518: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 13519: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 13520: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 13521: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 13522: *) libsuff= shlibsuff= libmagic=never-match;;
! 13523: esac
! 13524: ;;
! 13525: esac
! 13526: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 13527: shlibpath_overrides_runpath=no
! 13528: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 13529: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 13530: hardcode_into_libs=yes
! 13531: ;;
! 13532:
! 13533: # No shared lib support for Linux oldld, aout, or coff.
! 13534: linux*oldld* | linux*aout* | linux*coff*)
! 13535: dynamic_linker=no
! 13536: ;;
! 13537:
! 13538: # This must be Linux ELF.
! 13539: linux* | k*bsd*-gnu)
! 13540: version_type=linux
! 13541: need_lib_prefix=no
! 13542: need_version=no
! 13543: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13544: soname_spec='${libname}${release}${shared_ext}$major'
! 13545: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 13546: shlibpath_var=LD_LIBRARY_PATH
! 13547: shlibpath_overrides_runpath=no
! 13548: # This implies no fast_install, which is unacceptable.
! 13549: # Some rework will be needed to allow for fast_install
! 13550: # before this can be enabled.
! 13551: hardcode_into_libs=yes
! 13552:
! 13553: # Append ld.so.conf contents to the search path
! 13554: if test -f /etc/ld.so.conf; then
! 13555: 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' ' '`
! 13556: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 13557: fi
! 13558:
! 13559: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 13560: # powerpc, because MkLinux only supported shared libraries with the
! 13561: # GNU dynamic linker. Since this was broken with cross compilers,
! 13562: # most powerpc-linux boxes support dynamic linking these days and
! 13563: # people can always --disable-shared, the test was removed, and we
! 13564: # assume the GNU/Linux dynamic linker is in use.
! 13565: dynamic_linker='GNU/Linux ld.so'
! 13566: ;;
! 13567:
! 13568: netbsdelf*-gnu)
! 13569: version_type=linux
! 13570: need_lib_prefix=no
! 13571: need_version=no
! 13572: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13573: soname_spec='${libname}${release}${shared_ext}$major'
! 13574: shlibpath_var=LD_LIBRARY_PATH
! 13575: shlibpath_overrides_runpath=no
! 13576: hardcode_into_libs=yes
! 13577: dynamic_linker='NetBSD ld.elf_so'
! 13578: ;;
! 13579:
! 13580: netbsd*)
! 13581: version_type=sunos
! 13582: need_lib_prefix=no
! 13583: need_version=no
! 13584: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 13585: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13586: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 13587: dynamic_linker='NetBSD (a.out) ld.so'
! 13588: else
! 13589: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 13590: soname_spec='${libname}${release}${shared_ext}$major'
! 13591: dynamic_linker='NetBSD ld.elf_so'
! 13592: fi
! 13593: shlibpath_var=LD_LIBRARY_PATH
! 13594: shlibpath_overrides_runpath=yes
! 13595: hardcode_into_libs=yes
! 13596: ;;
! 13597:
! 13598: newsos6)
! 13599: version_type=linux
! 13600: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13601: shlibpath_var=LD_LIBRARY_PATH
! 13602: shlibpath_overrides_runpath=yes
! 13603: ;;
! 13604:
! 13605: nto-qnx*)
! 13606: version_type=linux
! 13607: need_lib_prefix=no
! 13608: need_version=no
! 13609: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13610: soname_spec='${libname}${release}${shared_ext}$major'
! 13611: shlibpath_var=LD_LIBRARY_PATH
! 13612: shlibpath_overrides_runpath=yes
! 13613: ;;
! 13614:
! 13615: openbsd*)
! 13616: version_type=sunos
! 13617: sys_lib_dlsearch_path_spec="/usr/lib"
! 13618: need_lib_prefix=no
! 13619: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 13620: case $host_os in
! 13621: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 13622: *) need_version=no ;;
! 13623: esac
! 13624: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13625: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 13626: shlibpath_var=LD_LIBRARY_PATH
! 13627: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 13628: case $host_os in
! 13629: openbsd2.[89] | openbsd2.[89].*)
! 13630: shlibpath_overrides_runpath=no
! 13631: ;;
! 13632: *)
! 13633: shlibpath_overrides_runpath=yes
! 13634: ;;
! 13635: esac
! 13636: else
! 13637: shlibpath_overrides_runpath=yes
! 13638: fi
! 13639: ;;
! 13640:
! 13641: os2*)
! 13642: libname_spec='$name'
! 13643: shrext_cmds=".dll"
! 13644: need_lib_prefix=no
! 13645: library_names_spec='$libname${shared_ext} $libname.a'
! 13646: dynamic_linker='OS/2 ld.exe'
! 13647: shlibpath_var=LIBPATH
! 13648: ;;
! 13649:
! 13650: osf3* | osf4* | osf5*)
! 13651: version_type=osf
! 13652: need_lib_prefix=no
! 13653: need_version=no
! 13654: soname_spec='${libname}${release}${shared_ext}$major'
! 13655: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13656: shlibpath_var=LD_LIBRARY_PATH
! 13657: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 13658: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 13659: ;;
! 13660:
! 13661: rdos*)
! 13662: dynamic_linker=no
! 13663: ;;
! 13664:
! 13665: solaris*)
! 13666: version_type=linux
! 13667: need_lib_prefix=no
! 13668: need_version=no
! 13669: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13670: soname_spec='${libname}${release}${shared_ext}$major'
! 13671: shlibpath_var=LD_LIBRARY_PATH
! 13672: shlibpath_overrides_runpath=yes
! 13673: hardcode_into_libs=yes
! 13674: # ldd complains unless libraries are executable
! 13675: postinstall_cmds='chmod +x $lib'
! 13676: ;;
! 13677:
! 13678: sunos4*)
! 13679: version_type=sunos
! 13680: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 13681: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 13682: shlibpath_var=LD_LIBRARY_PATH
! 13683: shlibpath_overrides_runpath=yes
! 13684: if test "$with_gnu_ld" = yes; then
! 13685: need_lib_prefix=no
! 13686: fi
! 13687: need_version=yes
! 13688: ;;
! 13689:
! 13690: sysv4 | sysv4.3*)
! 13691: version_type=linux
! 13692: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13693: soname_spec='${libname}${release}${shared_ext}$major'
! 13694: shlibpath_var=LD_LIBRARY_PATH
! 13695: case $host_vendor in
! 13696: sni)
! 13697: shlibpath_overrides_runpath=no
! 13698: need_lib_prefix=no
! 13699: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 13700: runpath_var=LD_RUN_PATH
! 13701: ;;
! 13702: siemens)
! 13703: need_lib_prefix=no
! 13704: ;;
! 13705: motorola)
! 13706: need_lib_prefix=no
! 13707: need_version=no
! 13708: shlibpath_overrides_runpath=no
! 13709: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 13710: ;;
! 13711: esac
! 13712: ;;
! 13713:
! 13714: sysv4*MP*)
! 13715: if test -d /usr/nec ;then
! 13716: version_type=linux
! 13717: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 13718: soname_spec='$libname${shared_ext}.$major'
! 13719: shlibpath_var=LD_LIBRARY_PATH
! 13720: fi
! 13721: ;;
! 13722:
! 13723: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 13724: version_type=freebsd-elf
! 13725: need_lib_prefix=no
! 13726: need_version=no
! 13727: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 13728: soname_spec='${libname}${release}${shared_ext}$major'
! 13729: shlibpath_var=LD_LIBRARY_PATH
! 13730: hardcode_into_libs=yes
! 13731: if test "$with_gnu_ld" = yes; then
! 13732: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 13733: shlibpath_overrides_runpath=no
! 13734: else
! 13735: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 13736: shlibpath_overrides_runpath=yes
! 13737: case $host_os in
! 13738: sco3.2v5*)
! 13739: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 13740: ;;
! 13741: esac
! 13742: fi
! 13743: sys_lib_dlsearch_path_spec='/usr/lib'
! 13744: ;;
! 13745:
! 13746: uts4*)
! 13747: version_type=linux
! 13748: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 13749: soname_spec='${libname}${release}${shared_ext}$major'
! 13750: shlibpath_var=LD_LIBRARY_PATH
! 13751: ;;
! 13752:
! 13753: *)
! 13754: dynamic_linker=no
! 13755: ;;
! 13756: esac
! 13757: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 13758: $as_echo "$dynamic_linker" >&6; }
! 13759: test "$dynamic_linker" = no && can_build_shared=no
! 13760:
! 13761: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 13762: $as_echo_n "(cached) " >&6
! 13763: else
! 13764: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 13765: fi
! 13766:
! 13767: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 13768: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 13769: $as_echo_n "(cached) " >&6
! 13770: else
! 13771: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 13772: fi
! 13773:
! 13774: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 13775:
! 13776: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 13777: if test "$GCC" = yes; then
! 13778: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 13779: fi
! 13780:
! 13781: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 13782: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 13783: hardcode_action_CXX=
! 13784: if test -n "$hardcode_libdir_flag_spec_CXX" || \
! 13785: test -n "$runpath_var_CXX" || \
! 13786: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 13787:
! 13788: # We can hardcode non-existant directories.
! 13789: if test "$hardcode_direct_CXX" != no &&
! 13790: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 13791: # have to relink, otherwise we might link with an installed library
! 13792: # when we should be linking with a yet-to-be-installed one
! 13793: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 13794: test "$hardcode_minus_L_CXX" != no; then
! 13795: # Linking always hardcodes the temporary library directory.
! 13796: hardcode_action_CXX=relink
! 13797: else
! 13798: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 13799: hardcode_action_CXX=immediate
! 13800: fi
! 13801: else
! 13802: # We cannot hardcode anything, or else we can only hardcode existing
! 13803: # directories.
! 13804: hardcode_action_CXX=unsupported
! 13805: fi
! 13806: { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 13807: $as_echo "$hardcode_action_CXX" >&6; }
! 13808:
! 13809: if test "$hardcode_action_CXX" = relink; then
! 13810: # Fast installation is not supported
! 13811: enable_fast_install=no
! 13812: elif test "$shlibpath_overrides_runpath" = yes ||
! 13813: test "$enable_shared" = no; then
! 13814: # Fast installation is not necessary
! 13815: enable_fast_install=needless
! 13816: fi
! 13817:
! 13818:
! 13819: # The else clause should only fire when bootstrapping the
! 13820: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 13821: # with your package, and you will get complaints that there are
! 13822: # no rules to generate ltmain.sh.
! 13823: if test -f "$ltmain"; then
! 13824: # See if we are running on zsh, and set the options which allow our commands through
! 13825: # without removal of \ escapes.
! 13826: if test -n "${ZSH_VERSION+set}" ; then
! 13827: setopt NO_GLOB_SUBST
! 13828: fi
! 13829: # Now quote all the things that may contain metacharacters while being
! 13830: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 13831: # variables and quote the copies for generation of the libtool script.
! 13832: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 13833: SED SHELL STRIP \
! 13834: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 13835: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 13836: deplibs_check_method reload_flag reload_cmds need_locks \
! 13837: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 13838: lt_cv_sys_global_symbol_to_c_name_address \
! 13839: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 13840: old_postinstall_cmds old_postuninstall_cmds \
! 13841: compiler_CXX \
! 13842: CC_CXX \
! 13843: LD_CXX \
! 13844: lt_prog_compiler_wl_CXX \
! 13845: lt_prog_compiler_pic_CXX \
! 13846: lt_prog_compiler_static_CXX \
! 13847: lt_prog_compiler_no_builtin_flag_CXX \
! 13848: export_dynamic_flag_spec_CXX \
! 13849: thread_safe_flag_spec_CXX \
! 13850: whole_archive_flag_spec_CXX \
! 13851: enable_shared_with_static_runtimes_CXX \
! 13852: old_archive_cmds_CXX \
! 13853: old_archive_from_new_cmds_CXX \
! 13854: predep_objects_CXX \
! 13855: postdep_objects_CXX \
! 13856: predeps_CXX \
! 13857: postdeps_CXX \
! 13858: compiler_lib_search_path_CXX \
! 13859: compiler_lib_search_dirs_CXX \
! 13860: archive_cmds_CXX \
! 13861: archive_expsym_cmds_CXX \
! 13862: postinstall_cmds_CXX \
! 13863: postuninstall_cmds_CXX \
! 13864: old_archive_from_expsyms_cmds_CXX \
! 13865: allow_undefined_flag_CXX \
! 13866: no_undefined_flag_CXX \
! 13867: export_symbols_cmds_CXX \
! 13868: hardcode_libdir_flag_spec_CXX \
! 13869: hardcode_libdir_flag_spec_ld_CXX \
! 13870: hardcode_libdir_separator_CXX \
! 13871: hardcode_automatic_CXX \
! 13872: module_cmds_CXX \
! 13873: module_expsym_cmds_CXX \
! 13874: lt_cv_prog_compiler_c_o_CXX \
! 13875: fix_srcfile_path_CXX \
! 13876: exclude_expsyms_CXX \
! 13877: include_expsyms_CXX; do
! 13878:
! 13879: case $var in
! 13880: old_archive_cmds_CXX | \
! 13881: old_archive_from_new_cmds_CXX | \
! 13882: archive_cmds_CXX | \
! 13883: archive_expsym_cmds_CXX | \
! 13884: module_cmds_CXX | \
! 13885: module_expsym_cmds_CXX | \
! 13886: old_archive_from_expsyms_cmds_CXX | \
! 13887: export_symbols_cmds_CXX | \
! 13888: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 13889: postinstall_cmds | postuninstall_cmds | \
! 13890: old_postinstall_cmds | old_postuninstall_cmds | \
! 13891: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 13892: # Double-quote double-evaled strings.
! 13893: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 13894: ;;
! 13895: *)
! 13896: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 13897: ;;
! 13898: esac
! 13899: done
! 13900:
! 13901: case $lt_echo in
! 13902: *'\$0 --fallback-echo"')
! 13903: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 13904: ;;
! 13905: esac
! 13906:
! 13907: cfgfile="$ofile"
! 13908:
! 13909: cat <<__EOF__ >> "$cfgfile"
! 13910: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 13911:
! 13912: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 13913:
! 13914: # Shell to use when invoking shell scripts.
! 13915: SHELL=$lt_SHELL
! 13916:
! 13917: # Whether or not to build shared libraries.
! 13918: build_libtool_libs=$enable_shared
! 13919:
! 13920: # Whether or not to build static libraries.
! 13921: build_old_libs=$enable_static
! 13922:
! 13923: # Whether or not to add -lc for building shared libraries.
! 13924: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 13925:
! 13926: # Whether or not to disallow shared libs when runtime libs are static
! 13927: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 13928:
! 13929: # Whether or not to optimize for fast installation.
! 13930: fast_install=$enable_fast_install
! 13931:
! 13932: # The host system.
! 13933: host_alias=$host_alias
! 13934: host=$host
! 13935: host_os=$host_os
! 13936:
! 13937: # The build system.
! 13938: build_alias=$build_alias
! 13939: build=$build
! 13940: build_os=$build_os
! 13941:
! 13942: # An echo program that does not interpret backslashes.
! 13943: echo=$lt_echo
! 13944:
! 13945: # The archiver.
! 13946: AR=$lt_AR
! 13947: AR_FLAGS=$lt_AR_FLAGS
! 13948:
! 13949: # A C compiler.
! 13950: LTCC=$lt_LTCC
! 13951:
! 13952: # LTCC compiler flags.
! 13953: LTCFLAGS=$lt_LTCFLAGS
! 13954:
! 13955: # A language-specific compiler.
! 13956: CC=$lt_compiler_CXX
! 13957:
! 13958: # Is the compiler the GNU C compiler?
! 13959: with_gcc=$GCC_CXX
! 13960:
! 13961: # An ERE matcher.
! 13962: EGREP=$lt_EGREP
! 13963:
! 13964: # The linker used to build libraries.
! 13965: LD=$lt_LD_CXX
! 13966:
! 13967: # Whether we need hard or soft links.
! 13968: LN_S=$lt_LN_S
! 13969:
! 13970: # A BSD-compatible nm program.
! 13971: NM=$lt_NM
! 13972:
! 13973: # A symbol stripping program
! 13974: STRIP=$lt_STRIP
! 13975:
! 13976: # Used to examine libraries when file_magic_cmd begins "file"
! 13977: MAGIC_CMD=$MAGIC_CMD
! 13978:
! 13979: # Used on cygwin: DLL creation program.
! 13980: DLLTOOL="$DLLTOOL"
! 13981:
! 13982: # Used on cygwin: object dumper.
! 13983: OBJDUMP="$OBJDUMP"
! 13984:
! 13985: # Used on cygwin: assembler.
! 13986: AS="$AS"
! 13987:
! 13988: # The name of the directory that contains temporary libtool files.
! 13989: objdir=$objdir
! 13990:
! 13991: # How to create reloadable object files.
! 13992: reload_flag=$lt_reload_flag
! 13993: reload_cmds=$lt_reload_cmds
! 13994:
! 13995: # How to pass a linker flag through the compiler.
! 13996: wl=$lt_lt_prog_compiler_wl_CXX
! 13997:
! 13998: # Object file suffix (normally "o").
! 13999: objext="$ac_objext"
! 14000:
! 14001: # Old archive suffix (normally "a").
! 14002: libext="$libext"
! 14003:
! 14004: # Shared library suffix (normally ".so").
! 14005: shrext_cmds='$shrext_cmds'
! 14006:
! 14007: # Executable file suffix (normally "").
! 14008: exeext="$exeext"
! 14009:
! 14010: # Additional compiler flags for building library objects.
! 14011: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 14012: pic_mode=$pic_mode
! 14013:
! 14014: # What is the maximum length of a command?
! 14015: max_cmd_len=$lt_cv_sys_max_cmd_len
! 14016:
! 14017: # Does compiler simultaneously support -c and -o options?
! 14018: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 14019:
! 14020: # Must we lock files when doing compilation?
! 14021: need_locks=$lt_need_locks
! 14022:
! 14023: # Do we need the lib prefix for modules?
! 14024: need_lib_prefix=$need_lib_prefix
! 14025:
! 14026: # Do we need a version for libraries?
! 14027: need_version=$need_version
! 14028:
! 14029: # Whether dlopen is supported.
! 14030: dlopen_support=$enable_dlopen
! 14031:
! 14032: # Whether dlopen of programs is supported.
! 14033: dlopen_self=$enable_dlopen_self
! 14034:
! 14035: # Whether dlopen of statically linked programs is supported.
! 14036: dlopen_self_static=$enable_dlopen_self_static
! 14037:
! 14038: # Compiler flag to prevent dynamic linking.
! 14039: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 14040:
! 14041: # Compiler flag to turn off builtin functions.
! 14042: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 14043:
! 14044: # Compiler flag to allow reflexive dlopens.
! 14045: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 14046:
! 14047: # Compiler flag to generate shared objects directly from archives.
! 14048: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 14049:
! 14050: # Compiler flag to generate thread-safe objects.
! 14051: thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
! 14052:
! 14053: # Library versioning type.
! 14054: version_type=$version_type
! 14055:
! 14056: # Format of library name prefix.
! 14057: libname_spec=$lt_libname_spec
! 14058:
! 14059: # List of archive names. First name is the real one, the rest are links.
! 14060: # The last name is the one that the linker finds with -lNAME.
! 14061: library_names_spec=$lt_library_names_spec
! 14062:
! 14063: # The coded name of the library, if different from the real name.
! 14064: soname_spec=$lt_soname_spec
! 14065:
! 14066: # Commands used to build and install an old-style archive.
! 14067: RANLIB=$lt_RANLIB
! 14068: old_archive_cmds=$lt_old_archive_cmds_CXX
! 14069: old_postinstall_cmds=$lt_old_postinstall_cmds
! 14070: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 14071:
! 14072: # Create an old-style archive from a shared archive.
! 14073: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 14074:
! 14075: # Create a temporary old-style archive to link instead of a shared archive.
! 14076: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 14077:
! 14078: # Commands used to build and install a shared archive.
! 14079: archive_cmds=$lt_archive_cmds_CXX
! 14080: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 14081: postinstall_cmds=$lt_postinstall_cmds
! 14082: postuninstall_cmds=$lt_postuninstall_cmds
! 14083:
! 14084: # Commands used to build a loadable module (assumed same as above if empty)
! 14085: module_cmds=$lt_module_cmds_CXX
! 14086: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 14087:
! 14088: # Commands to strip libraries.
! 14089: old_striplib=$lt_old_striplib
! 14090: striplib=$lt_striplib
! 14091:
! 14092: # Dependencies to place before the objects being linked to create a
! 14093: # shared library.
! 14094: predep_objects=$lt_predep_objects_CXX
! 14095:
! 14096: # Dependencies to place after the objects being linked to create a
! 14097: # shared library.
! 14098: postdep_objects=$lt_postdep_objects_CXX
! 14099:
! 14100: # Dependencies to place before the objects being linked to create a
! 14101: # shared library.
! 14102: predeps=$lt_predeps_CXX
! 14103:
! 14104: # Dependencies to place after the objects being linked to create a
! 14105: # shared library.
! 14106: postdeps=$lt_postdeps_CXX
! 14107:
! 14108: # The directories searched by this compiler when creating a shared
! 14109: # library
! 14110: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
! 14111:
! 14112: # The library search path used internally by the compiler when linking
! 14113: # a shared library.
! 14114: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
! 14115:
! 14116: # Method to check whether dependent libraries are shared objects.
! 14117: deplibs_check_method=$lt_deplibs_check_method
! 14118:
! 14119: # Command to use when deplibs_check_method == file_magic.
! 14120: file_magic_cmd=$lt_file_magic_cmd
! 14121:
! 14122: # Flag that allows shared libraries with undefined symbols to be built.
! 14123: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 14124:
! 14125: # Flag that forces no undefined symbols.
! 14126: no_undefined_flag=$lt_no_undefined_flag_CXX
! 14127:
! 14128: # Commands used to finish a libtool library installation in a directory.
! 14129: finish_cmds=$lt_finish_cmds
! 14130:
! 14131: # Same as above, but a single script fragment to be evaled but not shown.
! 14132: finish_eval=$lt_finish_eval
! 14133:
! 14134: # Take the output of nm and produce a listing of raw symbols and C names.
! 14135: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 14136:
! 14137: # Transform the output of nm in a proper C declaration
! 14138: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 14139:
! 14140: # Transform the output of nm in a C name address pair
! 14141: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 14142:
! 14143: # This is the shared library runtime path variable.
! 14144: runpath_var=$runpath_var
! 14145:
! 14146: # This is the shared library path variable.
! 14147: shlibpath_var=$shlibpath_var
! 14148:
! 14149: # Is shlibpath searched before the hard-coded library search path?
! 14150: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 14151:
! 14152: # How to hardcode a shared library path into an executable.
! 14153: hardcode_action=$hardcode_action_CXX
! 14154:
! 14155: # Whether we should hardcode library paths into libraries.
! 14156: hardcode_into_libs=$hardcode_into_libs
! 14157:
! 14158: # Flag to hardcode \$libdir into a binary during linking.
! 14159: # This must work even if \$libdir does not exist.
! 14160: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 14161:
! 14162: # If ld is used when linking, flag to hardcode \$libdir into
! 14163: # a binary during linking. This must work even if \$libdir does
! 14164: # not exist.
! 14165: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
! 14166:
! 14167: # Whether we need a single -rpath flag with a separated argument.
! 14168: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 14169:
! 14170: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 14171: # resulting binary.
! 14172: hardcode_direct=$hardcode_direct_CXX
! 14173:
! 14174: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 14175: # resulting binary.
! 14176: hardcode_minus_L=$hardcode_minus_L_CXX
! 14177:
! 14178: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 14179: # the resulting binary.
! 14180: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 14181:
! 14182: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 14183: # and all subsequent libraries and executables linked against it.
! 14184: hardcode_automatic=$hardcode_automatic_CXX
! 14185:
! 14186: # Variables whose values should be saved in libtool wrapper scripts and
! 14187: # restored at relink time.
! 14188: variables_saved_for_relink="$variables_saved_for_relink"
! 14189:
! 14190: # Whether libtool must link a program against all its dependency libraries.
! 14191: link_all_deplibs=$link_all_deplibs_CXX
! 14192:
! 14193: # Compile-time system search path for libraries
! 14194: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 14195:
! 14196: # Run-time system search path for libraries
! 14197: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 14198:
! 14199: # Fix the shell variable \$srcfile for the compiler.
! 14200: fix_srcfile_path=$lt_fix_srcfile_path
! 14201:
! 14202: # Set to yes if exported symbols are required.
! 14203: always_export_symbols=$always_export_symbols_CXX
! 14204:
! 14205: # The commands to list exported symbols.
! 14206: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 14207:
! 14208: # The commands to extract the exported symbol list from a shared archive.
! 14209: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 14210:
! 14211: # Symbols that should not be listed in the preloaded symbols.
! 14212: exclude_expsyms=$lt_exclude_expsyms_CXX
! 14213:
! 14214: # Symbols that must always be exported.
! 14215: include_expsyms=$lt_include_expsyms_CXX
! 14216:
! 14217: # ### END LIBTOOL TAG CONFIG: $tagname
! 14218:
! 14219: __EOF__
! 14220:
! 14221:
! 14222: else
! 14223: # If there is no Makefile yet, we rely on a make rule to execute
! 14224: # `config.status --recheck' to rerun these tests and create the
! 14225: # libtool script then.
! 14226: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 14227: if test -f "$ltmain_in"; then
! 14228: test -f Makefile && make "$ltmain"
! 14229: fi
! 14230: fi
! 14231:
! 14232:
! 14233: ac_ext=c
! 14234: ac_cpp='$CPP $CPPFLAGS'
! 14235: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 14236: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 14237: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 14238:
! 14239: CC=$lt_save_CC
! 14240: LDCXX=$LD
! 14241: LD=$lt_save_LD
! 14242: GCC=$lt_save_GCC
! 14243: with_gnu_ldcxx=$with_gnu_ld
! 14244: with_gnu_ld=$lt_save_with_gnu_ld
! 14245: lt_cv_path_LDCXX=$lt_cv_path_LD
! 14246: lt_cv_path_LD=$lt_save_path_LD
! 14247: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 14248: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 14249:
! 14250: else
! 14251: tagname=""
! 14252: fi
! 14253: ;;
! 14254:
! 14255: F77)
! 14256: if test -n "$F77" && test "X$F77" != "Xno"; then
! 14257:
! 14258: ac_ext=f
! 14259: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 14260: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 14261: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 14262:
! 14263:
! 14264: archive_cmds_need_lc_F77=no
! 14265: allow_undefined_flag_F77=
! 14266: always_export_symbols_F77=no
! 14267: archive_expsym_cmds_F77=
! 14268: export_dynamic_flag_spec_F77=
! 14269: hardcode_direct_F77=no
! 14270: hardcode_libdir_flag_spec_F77=
! 14271: hardcode_libdir_flag_spec_ld_F77=
! 14272: hardcode_libdir_separator_F77=
! 14273: hardcode_minus_L_F77=no
! 14274: hardcode_automatic_F77=no
! 14275: module_cmds_F77=
! 14276: module_expsym_cmds_F77=
! 14277: link_all_deplibs_F77=unknown
! 14278: old_archive_cmds_F77=$old_archive_cmds
! 14279: no_undefined_flag_F77=
! 14280: whole_archive_flag_spec_F77=
! 14281: enable_shared_with_static_runtimes_F77=no
! 14282:
! 14283: # Source file extension for f77 test sources.
! 14284: ac_ext=f
! 14285:
! 14286: # Object file extension for compiled f77 test sources.
! 14287: objext=o
! 14288: objext_F77=$objext
! 14289:
! 14290: # Code to be used in simple compile tests
! 14291: lt_simple_compile_test_code="\
! 14292: subroutine t
! 14293: return
! 14294: end
! 14295: "
! 14296:
! 14297: # Code to be used in simple link tests
! 14298: lt_simple_link_test_code="\
! 14299: program t
! 14300: end
! 14301: "
! 14302:
! 14303: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 14304:
! 14305: # If no C compiler was specified, use CC.
! 14306: LTCC=${LTCC-"$CC"}
! 14307:
! 14308: # If no C compiler flags were specified, use CFLAGS.
! 14309: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 14310:
! 14311: # Allow CC to be a program name with arguments.
! 14312: compiler=$CC
! 14313:
! 14314:
! 14315: # save warnings/boilerplate of simple test code
! 14316: ac_outfile=conftest.$ac_objext
! 14317: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 14318: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 14319: _lt_compiler_boilerplate=`cat conftest.err`
! 14320: $rm conftest*
! 14321:
! 14322: ac_outfile=conftest.$ac_objext
! 14323: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 14324: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 14325: _lt_linker_boilerplate=`cat conftest.err`
! 14326: $rm -r conftest*
! 14327:
! 14328:
! 14329: # Allow CC to be a program name with arguments.
! 14330: lt_save_CC="$CC"
! 14331: CC=${F77-"f77"}
! 14332: compiler=$CC
! 14333: compiler_F77=$CC
! 14334: for cc_temp in $compiler""; do
! 14335: case $cc_temp in
! 14336: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 14337: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 14338: \-*) ;;
! 14339: *) break;;
! 14340: esac
! 14341: done
! 14342: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 14343:
! 14344:
! 14345: { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 14346: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 14347: { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 14348: $as_echo "$can_build_shared" >&6; }
! 14349:
! 14350: { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 14351: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 14352: test "$can_build_shared" = "no" && enable_shared=no
! 14353:
! 14354: # On AIX, shared libraries and static libraries use the same namespace, and
! 14355: # are all built from PIC.
! 14356: case $host_os in
! 14357: aix3*)
! 14358: test "$enable_shared" = yes && enable_static=no
! 14359: if test -n "$RANLIB"; then
! 14360: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 14361: postinstall_cmds='$RANLIB $lib'
! 14362: fi
! 14363: ;;
! 14364: aix[4-9]*)
! 14365: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 14366: test "$enable_shared" = yes && enable_static=no
! 14367: fi
! 14368: ;;
! 14369: esac
! 14370: { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
! 14371: $as_echo "$enable_shared" >&6; }
! 14372:
! 14373: { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 14374: $as_echo_n "checking whether to build static libraries... " >&6; }
! 14375: # Make sure either enable_shared or enable_static is yes.
! 14376: test "$enable_shared" = yes || enable_static=yes
! 14377: { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
! 14378: $as_echo "$enable_static" >&6; }
! 14379:
! 14380: GCC_F77="$G77"
! 14381: LD_F77="$LD"
! 14382:
! 14383: lt_prog_compiler_wl_F77=
! 14384: lt_prog_compiler_pic_F77=
! 14385: lt_prog_compiler_static_F77=
! 14386:
! 14387: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 14388: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 14389:
! 14390: if test "$GCC" = yes; then
! 14391: lt_prog_compiler_wl_F77='-Wl,'
! 14392: lt_prog_compiler_static_F77='-static'
! 14393:
! 14394: case $host_os in
! 14395: aix*)
! 14396: # All AIX code is PIC.
! 14397: if test "$host_cpu" = ia64; then
! 14398: # AIX 5 now supports IA64 processor
! 14399: lt_prog_compiler_static_F77='-Bstatic'
! 14400: fi
! 14401: ;;
! 14402:
! 14403: amigaos*)
! 14404: # FIXME: we need at least 68020 code to build shared libraries, but
! 14405: # adding the `-m68020' flag to GCC prevents building anything better,
! 14406: # like `-m68040'.
! 14407: lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
! 14408: ;;
! 14409:
! 14410: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 14411: # PIC is the default for these OSes.
! 14412: ;;
! 14413:
! 14414: mingw* | cygwin* | pw32* | os2*)
! 14415: # This hack is so that the source file can tell whether it is being
! 14416: # built for inclusion in a dll (and should export symbols for example).
! 14417: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 14418: # (--disable-auto-import) libraries
! 14419: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 14420: ;;
! 14421:
! 14422: darwin* | rhapsody*)
! 14423: # PIC is the default on this platform
! 14424: # Common symbols not allowed in MH_DYLIB files
! 14425: lt_prog_compiler_pic_F77='-fno-common'
! 14426: ;;
! 14427:
! 14428: interix[3-9]*)
! 14429: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 14430: # Instead, we relocate shared libraries at runtime.
! 14431: ;;
! 14432:
! 14433: msdosdjgpp*)
! 14434: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 14435: # on systems that don't support them.
! 14436: lt_prog_compiler_can_build_shared_F77=no
! 14437: enable_shared=no
! 14438: ;;
! 14439:
! 14440: sysv4*MP*)
! 14441: if test -d /usr/nec; then
! 14442: lt_prog_compiler_pic_F77=-Kconform_pic
! 14443: fi
! 14444: ;;
! 14445:
! 14446: hpux*)
! 14447: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 14448: # not for PA HP-UX.
! 14449: case $host_cpu in
! 14450: hppa*64*|ia64*)
! 14451: # +Z the default
! 14452: ;;
! 14453: *)
! 14454: lt_prog_compiler_pic_F77='-fPIC'
! 14455: ;;
! 14456: esac
! 14457: ;;
! 14458:
! 14459: *)
! 14460: lt_prog_compiler_pic_F77='-fPIC'
! 14461: ;;
! 14462: esac
! 14463: else
! 14464: # PORTME Check for flag to pass linker flags through the system compiler.
! 14465: case $host_os in
! 14466: aix*)
! 14467: lt_prog_compiler_wl_F77='-Wl,'
! 14468: if test "$host_cpu" = ia64; then
! 14469: # AIX 5 now supports IA64 processor
! 14470: lt_prog_compiler_static_F77='-Bstatic'
! 14471: else
! 14472: lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
! 14473: fi
! 14474: ;;
! 14475: darwin*)
! 14476: # PIC is the default on this platform
! 14477: # Common symbols not allowed in MH_DYLIB files
! 14478: case $cc_basename in
! 14479: xlc*)
! 14480: lt_prog_compiler_pic_F77='-qnocommon'
! 14481: lt_prog_compiler_wl_F77='-Wl,'
! 14482: ;;
! 14483: esac
! 14484: ;;
! 14485:
! 14486: mingw* | cygwin* | pw32* | os2*)
! 14487: # This hack is so that the source file can tell whether it is being
! 14488: # built for inclusion in a dll (and should export symbols for example).
! 14489: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 14490: ;;
! 14491:
! 14492: hpux9* | hpux10* | hpux11*)
! 14493: lt_prog_compiler_wl_F77='-Wl,'
! 14494: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 14495: # not for PA HP-UX.
! 14496: case $host_cpu in
! 14497: hppa*64*|ia64*)
! 14498: # +Z the default
! 14499: ;;
! 14500: *)
! 14501: lt_prog_compiler_pic_F77='+Z'
! 14502: ;;
! 14503: esac
! 14504: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 14505: lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
! 14506: ;;
! 14507:
! 14508: irix5* | irix6* | nonstopux*)
! 14509: lt_prog_compiler_wl_F77='-Wl,'
! 14510: # PIC (with -KPIC) is the default.
! 14511: lt_prog_compiler_static_F77='-non_shared'
! 14512: ;;
! 14513:
! 14514: newsos6)
! 14515: lt_prog_compiler_pic_F77='-KPIC'
! 14516: lt_prog_compiler_static_F77='-Bstatic'
! 14517: ;;
! 14518:
! 14519: linux* | k*bsd*-gnu)
! 14520: case $cc_basename in
! 14521: icc* | ecc*)
! 14522: lt_prog_compiler_wl_F77='-Wl,'
! 14523: lt_prog_compiler_pic_F77='-KPIC'
! 14524: lt_prog_compiler_static_F77='-static'
! 14525: ;;
! 14526: pgcc* | pgf77* | pgf90* | pgf95*)
! 14527: # Portland Group compilers (*not* the Pentium gcc compiler,
! 14528: # which looks to be a dead project)
! 14529: lt_prog_compiler_wl_F77='-Wl,'
! 14530: lt_prog_compiler_pic_F77='-fpic'
! 14531: lt_prog_compiler_static_F77='-Bstatic'
! 14532: ;;
! 14533: ccc*)
! 14534: lt_prog_compiler_wl_F77='-Wl,'
! 14535: # All Alpha code is PIC.
! 14536: lt_prog_compiler_static_F77='-non_shared'
! 14537: ;;
! 14538: *)
! 14539: case `$CC -V 2>&1 | sed 5q` in
! 14540: *Sun\ C*)
! 14541: # Sun C 5.9
! 14542: lt_prog_compiler_pic_F77='-KPIC'
! 14543: lt_prog_compiler_static_F77='-Bstatic'
! 14544: lt_prog_compiler_wl_F77='-Wl,'
! 14545: ;;
! 14546: *Sun\ F*)
! 14547: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 14548: lt_prog_compiler_pic_F77='-KPIC'
! 14549: lt_prog_compiler_static_F77='-Bstatic'
! 14550: lt_prog_compiler_wl_F77=''
! 14551: ;;
! 14552: esac
! 14553: ;;
! 14554: esac
! 14555: ;;
! 14556:
! 14557: osf3* | osf4* | osf5*)
! 14558: lt_prog_compiler_wl_F77='-Wl,'
! 14559: # All OSF/1 code is PIC.
! 14560: lt_prog_compiler_static_F77='-non_shared'
! 14561: ;;
! 14562:
! 14563: rdos*)
! 14564: lt_prog_compiler_static_F77='-non_shared'
! 14565: ;;
! 14566:
! 14567: solaris*)
! 14568: lt_prog_compiler_pic_F77='-KPIC'
! 14569: lt_prog_compiler_static_F77='-Bstatic'
! 14570: case $cc_basename in
! 14571: f77* | f90* | f95*)
! 14572: lt_prog_compiler_wl_F77='-Qoption ld ';;
! 14573: *)
! 14574: lt_prog_compiler_wl_F77='-Wl,';;
! 14575: esac
! 14576: ;;
! 14577:
! 14578: sunos4*)
! 14579: lt_prog_compiler_wl_F77='-Qoption ld '
! 14580: lt_prog_compiler_pic_F77='-PIC'
! 14581: lt_prog_compiler_static_F77='-Bstatic'
! 14582: ;;
! 14583:
! 14584: sysv4 | sysv4.2uw2* | sysv4.3*)
! 14585: lt_prog_compiler_wl_F77='-Wl,'
! 14586: lt_prog_compiler_pic_F77='-KPIC'
! 14587: lt_prog_compiler_static_F77='-Bstatic'
! 14588: ;;
! 14589:
! 14590: sysv4*MP*)
! 14591: if test -d /usr/nec ;then
! 14592: lt_prog_compiler_pic_F77='-Kconform_pic'
! 14593: lt_prog_compiler_static_F77='-Bstatic'
! 14594: fi
! 14595: ;;
! 14596:
! 14597: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 14598: lt_prog_compiler_wl_F77='-Wl,'
! 14599: lt_prog_compiler_pic_F77='-KPIC'
! 14600: lt_prog_compiler_static_F77='-Bstatic'
! 14601: ;;
! 14602:
! 14603: unicos*)
! 14604: lt_prog_compiler_wl_F77='-Wl,'
! 14605: lt_prog_compiler_can_build_shared_F77=no
! 14606: ;;
! 14607:
! 14608: uts4*)
! 14609: lt_prog_compiler_pic_F77='-pic'
! 14610: lt_prog_compiler_static_F77='-Bstatic'
! 14611: ;;
! 14612:
! 14613: *)
! 14614: lt_prog_compiler_can_build_shared_F77=no
! 14615: ;;
! 14616: esac
! 14617: fi
! 14618:
! 14619: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
! 14620: $as_echo "$lt_prog_compiler_pic_F77" >&6; }
! 14621:
! 14622: #
! 14623: # Check to make sure the PIC flag actually works.
! 14624: #
! 14625: if test -n "$lt_prog_compiler_pic_F77"; then
! 14626:
! 14627: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
! 14628: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
! 14629: if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
! 14630: $as_echo_n "(cached) " >&6
! 14631: else
! 14632: lt_cv_prog_compiler_pic_works_F77=no
! 14633: ac_outfile=conftest.$ac_objext
! 14634: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14635: lt_compiler_flag="$lt_prog_compiler_pic_F77"
! 14636: # Insert the option either (1) after the last *FLAGS variable, or
! 14637: # (2) before a word containing "conftest.", or (3) at the end.
! 14638: # Note that $ac_compile itself does not contain backslashes and begins
! 14639: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14640: # The option is referenced via a variable to avoid confusing sed.
! 14641: lt_compile=`echo "$ac_compile" | $SED \
! 14642: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14643: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14644: -e 's:$: $lt_compiler_flag:'`
! 14645: (eval echo "\"\$as_me:14645: $lt_compile\"" >&5)
! 14646: (eval "$lt_compile" 2>conftest.err)
! 14647: ac_status=$?
! 14648: cat conftest.err >&5
! 14649: echo "$as_me:14649: \$? = $ac_status" >&5
! 14650: if (exit $ac_status) && test -s "$ac_outfile"; then
! 14651: # The compiler can only warn and ignore the option if not recognized
! 14652: # So say no if there are warnings other than the usual output.
! 14653: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 14654: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14655: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 14656: lt_cv_prog_compiler_pic_works_F77=yes
! 14657: fi
! 14658: fi
! 14659: $rm conftest*
! 14660:
! 14661: fi
! 14662: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
! 14663: $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
! 14664:
! 14665: if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
! 14666: case $lt_prog_compiler_pic_F77 in
! 14667: "" | " "*) ;;
! 14668: *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
! 14669: esac
! 14670: else
! 14671: lt_prog_compiler_pic_F77=
! 14672: lt_prog_compiler_can_build_shared_F77=no
! 14673: fi
! 14674:
! 14675: fi
! 14676: case $host_os in
! 14677: # For platforms which do not support PIC, -DPIC is meaningless:
! 14678: *djgpp*)
! 14679: lt_prog_compiler_pic_F77=
! 14680: ;;
! 14681: *)
! 14682: lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
! 14683: ;;
! 14684: esac
! 14685:
! 14686: #
! 14687: # Check to make sure the static flag actually works.
! 14688: #
! 14689: wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
! 14690: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 14691: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 14692: if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
! 14693: $as_echo_n "(cached) " >&6
! 14694: else
! 14695: lt_cv_prog_compiler_static_works_F77=no
! 14696: save_LDFLAGS="$LDFLAGS"
! 14697: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 14698: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 14699: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 14700: # The linker can only warn and ignore the option if not recognized
! 14701: # So say no if there are warnings
! 14702: if test -s conftest.err; then
! 14703: # Append any errors to the config.log.
! 14704: cat conftest.err 1>&5
! 14705: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 14706: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 14707: if diff conftest.exp conftest.er2 >/dev/null; then
! 14708: lt_cv_prog_compiler_static_works_F77=yes
! 14709: fi
! 14710: else
! 14711: lt_cv_prog_compiler_static_works_F77=yes
! 14712: fi
! 14713: fi
! 14714: $rm -r conftest*
! 14715: LDFLAGS="$save_LDFLAGS"
! 14716:
! 14717: fi
! 14718: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
! 14719: $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
! 14720:
! 14721: if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
! 14722: :
! 14723: else
! 14724: lt_prog_compiler_static_F77=
! 14725: fi
! 14726:
! 14727:
! 14728: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 14729: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 14730: if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
! 14731: $as_echo_n "(cached) " >&6
! 14732: else
! 14733: lt_cv_prog_compiler_c_o_F77=no
! 14734: $rm -r conftest 2>/dev/null
! 14735: mkdir conftest
! 14736: cd conftest
! 14737: mkdir out
! 14738: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14739:
! 14740: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 14741: # Insert the option either (1) after the last *FLAGS variable, or
! 14742: # (2) before a word containing "conftest.", or (3) at the end.
! 14743: # Note that $ac_compile itself does not contain backslashes and begins
! 14744: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 14745: lt_compile=`echo "$ac_compile" | $SED \
! 14746: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 14747: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 14748: -e 's:$: $lt_compiler_flag:'`
! 14749: (eval echo "\"\$as_me:14749: $lt_compile\"" >&5)
! 14750: (eval "$lt_compile" 2>out/conftest.err)
! 14751: ac_status=$?
! 14752: cat out/conftest.err >&5
! 14753: echo "$as_me:14753: \$? = $ac_status" >&5
! 14754: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 14755: then
! 14756: # The compiler can only warn and ignore the option if not recognized
! 14757: # So say no if there are warnings
! 14758: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 14759: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 14760: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 14761: lt_cv_prog_compiler_c_o_F77=yes
! 14762: fi
! 14763: fi
! 14764: chmod u+w . 2>&5
! 14765: $rm conftest*
! 14766: # SGI C++ compiler will create directory out/ii_files/ for
! 14767: # template instantiation
! 14768: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 14769: $rm out/* && rmdir out
! 14770: cd ..
! 14771: rmdir conftest
! 14772: $rm conftest*
! 14773:
! 14774: fi
! 14775: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
! 14776: $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
! 14777:
! 14778:
! 14779: hard_links="nottested"
! 14780: if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
! 14781: # do not overwrite the value of need_locks provided by the user
! 14782: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 14783: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 14784: hard_links=yes
! 14785: $rm conftest*
! 14786: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14787: touch conftest.a
! 14788: ln conftest.a conftest.b 2>&5 || hard_links=no
! 14789: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 14790: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 14791: $as_echo "$hard_links" >&6; }
! 14792: if test "$hard_links" = no; then
! 14793: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 14794: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 14795: need_locks=warn
! 14796: fi
! 14797: else
! 14798: need_locks=no
! 14799: fi
! 14800:
! 14801: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 14802: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 14803:
! 14804: runpath_var=
! 14805: allow_undefined_flag_F77=
! 14806: enable_shared_with_static_runtimes_F77=no
! 14807: archive_cmds_F77=
! 14808: archive_expsym_cmds_F77=
! 14809: old_archive_From_new_cmds_F77=
! 14810: old_archive_from_expsyms_cmds_F77=
! 14811: export_dynamic_flag_spec_F77=
! 14812: whole_archive_flag_spec_F77=
! 14813: thread_safe_flag_spec_F77=
! 14814: hardcode_libdir_flag_spec_F77=
! 14815: hardcode_libdir_flag_spec_ld_F77=
! 14816: hardcode_libdir_separator_F77=
! 14817: hardcode_direct_F77=no
! 14818: hardcode_minus_L_F77=no
! 14819: hardcode_shlibpath_var_F77=unsupported
! 14820: link_all_deplibs_F77=unknown
! 14821: hardcode_automatic_F77=no
! 14822: module_cmds_F77=
! 14823: module_expsym_cmds_F77=
! 14824: always_export_symbols_F77=no
! 14825: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 14826: # include_expsyms should be a list of space-separated symbols to be *always*
! 14827: # included in the symbol list
! 14828: include_expsyms_F77=
! 14829: # exclude_expsyms can be an extended regexp of symbols to exclude
! 14830: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 14831: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 14832: # as well as any symbol that contains `d'.
! 14833: exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 14834: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 14835: # platforms (ab)use it in PIC code, but their linkers get confused if
! 14836: # the symbol is explicitly referenced. Since portable code cannot
! 14837: # rely on this symbol name, it's probably fine to never include it in
! 14838: # preloaded symbol tables.
! 14839: # Exclude shared library initialization/finalization symbols.
! 14840: extract_expsyms_cmds=
! 14841: # Just being paranoid about ensuring that cc_basename is set.
! 14842: for cc_temp in $compiler""; do
! 14843: case $cc_temp in
! 14844: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 14845: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 14846: \-*) ;;
! 14847: *) break;;
! 14848: esac
! 14849: done
! 14850: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 14851:
! 14852: case $host_os in
! 14853: cygwin* | mingw* | pw32*)
! 14854: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 14855: # When not using gcc, we currently assume that we are using
! 14856: # Microsoft Visual C++.
! 14857: if test "$GCC" != yes; then
! 14858: with_gnu_ld=no
! 14859: fi
! 14860: ;;
! 14861: interix*)
! 14862: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 14863: with_gnu_ld=yes
! 14864: ;;
! 14865: openbsd*)
! 14866: with_gnu_ld=no
! 14867: ;;
! 14868: esac
! 14869:
! 14870: ld_shlibs_F77=yes
! 14871: if test "$with_gnu_ld" = yes; then
! 14872: # If archive_cmds runs LD, not CC, wlarc should be empty
! 14873: wlarc='${wl}'
! 14874:
! 14875: # Set some defaults for GNU ld with shared library support. These
! 14876: # are reset later if shared libraries are not supported. Putting them
! 14877: # here allows them to be overridden if necessary.
! 14878: runpath_var=LD_RUN_PATH
! 14879: hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
! 14880: export_dynamic_flag_spec_F77='${wl}--export-dynamic'
! 14881: # ancient GNU ld didn't support --whole-archive et. al.
! 14882: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 14883: whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 14884: else
! 14885: whole_archive_flag_spec_F77=
! 14886: fi
! 14887: supports_anon_versioning=no
! 14888: case `$LD -v 2>/dev/null` in
! 14889: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 14890: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 14891: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 14892: *\ 2.11.*) ;; # other 2.11 versions
! 14893: *) supports_anon_versioning=yes ;;
! 14894: esac
! 14895:
! 14896: # See if GNU ld supports shared libraries.
! 14897: case $host_os in
! 14898: aix[3-9]*)
! 14899: # On AIX/PPC, the GNU linker is very broken
! 14900: if test "$host_cpu" != ia64; then
! 14901: ld_shlibs_F77=no
! 14902: cat <<EOF 1>&2
! 14903:
! 14904: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 14905: *** to be unable to reliably create shared libraries on AIX.
! 14906: *** Therefore, libtool is disabling shared libraries support. If you
! 14907: *** really care for shared libraries, you may want to modify your PATH
! 14908: *** so that a non-GNU linker is found, and then restart.
! 14909:
! 14910: EOF
! 14911: fi
! 14912: ;;
! 14913:
! 14914: amigaos*)
! 14915: 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)'
! 14916: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14917: hardcode_minus_L_F77=yes
! 14918:
! 14919: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 14920: # that the semantics of dynamic libraries on AmigaOS, at least up
! 14921: # to version 4, is to share data among multiple programs linked
! 14922: # with the same dynamic library. Since this doesn't match the
! 14923: # behavior of shared libraries on other platforms, we can't use
! 14924: # them.
! 14925: ld_shlibs_F77=no
! 14926: ;;
! 14927:
! 14928: beos*)
! 14929: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 14930: allow_undefined_flag_F77=unsupported
! 14931: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 14932: # support --undefined. This deserves some investigation. FIXME
! 14933: archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 14934: else
! 14935: ld_shlibs_F77=no
! 14936: fi
! 14937: ;;
! 14938:
! 14939: cygwin* | mingw* | pw32*)
! 14940: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
! 14941: # as there is no search path for DLLs.
! 14942: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14943: allow_undefined_flag_F77=unsupported
! 14944: always_export_symbols_F77=no
! 14945: enable_shared_with_static_runtimes_F77=yes
! 14946: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 14947:
! 14948: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 14949: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 14950: # If the export-symbols file already is a .def file (1st line
! 14951: # is EXPORTS), use it as is; otherwise, prepend...
! 14952: archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 14953: cp $export_symbols $output_objdir/$soname.def;
! 14954: else
! 14955: echo EXPORTS > $output_objdir/$soname.def;
! 14956: cat $export_symbols >> $output_objdir/$soname.def;
! 14957: fi~
! 14958: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 14959: else
! 14960: ld_shlibs_F77=no
! 14961: fi
! 14962: ;;
! 14963:
! 14964: interix[3-9]*)
! 14965: hardcode_direct_F77=no
! 14966: hardcode_shlibpath_var_F77=no
! 14967: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 14968: export_dynamic_flag_spec_F77='${wl}-E'
! 14969: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 14970: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 14971: # default) and relocated if they conflict, which is a slow very memory
! 14972: # consuming and fragmenting process. To avoid this, we pick a random,
! 14973: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 14974: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 14975: 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'
! 14976: 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'
! 14977: ;;
! 14978:
! 14979: gnu* | linux* | k*bsd*-gnu)
! 14980: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 14981: tmp_addflag=
! 14982: case $cc_basename,$host_cpu in
! 14983: pgcc*) # Portland Group C compiler
! 14984: 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'
! 14985: tmp_addflag=' $pic_flag'
! 14986: ;;
! 14987: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 14988: 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'
! 14989: tmp_addflag=' $pic_flag -Mnomain' ;;
! 14990: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 14991: tmp_addflag=' -i_dynamic' ;;
! 14992: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 14993: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 14994: ifc* | ifort*) # Intel Fortran compiler
! 14995: tmp_addflag=' -nofor_main' ;;
! 14996: esac
! 14997: case `$CC -V 2>&1 | sed 5q` in
! 14998: *Sun\ C*) # Sun C 5.9
! 14999: 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'
! 15000: tmp_sharedflag='-G' ;;
! 15001: *Sun\ F*) # Sun Fortran 8.3
! 15002: tmp_sharedflag='-G' ;;
! 15003: *)
! 15004: tmp_sharedflag='-shared' ;;
! 15005: esac
! 15006: archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15007:
! 15008: if test $supports_anon_versioning = yes; then
! 15009: archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
! 15010: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 15011: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 15012: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 15013: fi
! 15014: link_all_deplibs_F77=no
! 15015: else
! 15016: ld_shlibs_F77=no
! 15017: fi
! 15018: ;;
! 15019:
! 15020: netbsd* | netbsdelf*-gnu)
! 15021: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 15022: archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 15023: wlarc=
! 15024: else
! 15025: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15026: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15027: fi
! 15028: ;;
! 15029:
! 15030: solaris*)
! 15031: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 15032: ld_shlibs_F77=no
! 15033: cat <<EOF 1>&2
! 15034:
! 15035: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 15036: *** create shared libraries on Solaris systems. Therefore, libtool
! 15037: *** is disabling shared libraries support. We urge you to upgrade GNU
! 15038: *** binutils to release 2.9.1 or newer. Another option is to modify
! 15039: *** your PATH or compiler configuration so that the native linker is
! 15040: *** used, and then restart.
! 15041:
! 15042: EOF
! 15043: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15044: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15045: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15046: else
! 15047: ld_shlibs_F77=no
! 15048: fi
! 15049: ;;
! 15050:
! 15051: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 15052: case `$LD -v 2>&1` in
! 15053: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 15054: ld_shlibs_F77=no
! 15055: cat <<_LT_EOF 1>&2
! 15056:
! 15057: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 15058: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 15059: *** is disabling shared libraries support. We urge you to upgrade GNU
! 15060: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 15061: *** your PATH or compiler configuration so that the native linker is
! 15062: *** used, and then restart.
! 15063:
! 15064: _LT_EOF
! 15065: ;;
! 15066: *)
! 15067: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15068: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 15069: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 15070: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 15071: else
! 15072: ld_shlibs_F77=no
! 15073: fi
! 15074: ;;
! 15075: esac
! 15076: ;;
! 15077:
! 15078: sunos4*)
! 15079: archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15080: wlarc=
! 15081: hardcode_direct_F77=yes
! 15082: hardcode_shlibpath_var_F77=no
! 15083: ;;
! 15084:
! 15085: *)
! 15086: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 15087: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 15088: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 15089: else
! 15090: ld_shlibs_F77=no
! 15091: fi
! 15092: ;;
! 15093: esac
! 15094:
! 15095: if test "$ld_shlibs_F77" = no; then
! 15096: runpath_var=
! 15097: hardcode_libdir_flag_spec_F77=
! 15098: export_dynamic_flag_spec_F77=
! 15099: whole_archive_flag_spec_F77=
! 15100: fi
! 15101: else
! 15102: # PORTME fill in a description of your system's linker (not GNU ld)
! 15103: case $host_os in
! 15104: aix3*)
! 15105: allow_undefined_flag_F77=unsupported
! 15106: always_export_symbols_F77=yes
! 15107: 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'
! 15108: # Note: this linker hardcodes the directories in LIBPATH if there
! 15109: # are no directories specified by -L.
! 15110: hardcode_minus_L_F77=yes
! 15111: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 15112: # Neither direct hardcoding nor static linking is supported with a
! 15113: # broken collect2.
! 15114: hardcode_direct_F77=unsupported
! 15115: fi
! 15116: ;;
! 15117:
! 15118: aix[4-9]*)
! 15119: if test "$host_cpu" = ia64; then
! 15120: # On IA64, the linker does run time linking by default, so we don't
! 15121: # have to do anything special.
! 15122: aix_use_runtimelinking=no
! 15123: exp_sym_flag='-Bexport'
! 15124: no_entry_flag=""
! 15125: else
! 15126: # If we're using GNU nm, then we don't want the "-C" option.
! 15127: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 15128: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 15129: 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'
! 15130: else
! 15131: 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'
! 15132: fi
! 15133: aix_use_runtimelinking=no
! 15134:
! 15135: # Test if we are trying to use run time linking or normal
! 15136: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 15137: # need to do runtime linking.
! 15138: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 15139: for ld_flag in $LDFLAGS; do
! 15140: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 15141: aix_use_runtimelinking=yes
! 15142: break
! 15143: fi
! 15144: done
! 15145: ;;
! 15146: esac
! 15147:
! 15148: exp_sym_flag='-bexport'
! 15149: no_entry_flag='-bnoentry'
! 15150: fi
! 15151:
! 15152: # When large executables or shared objects are built, AIX ld can
! 15153: # have problems creating the table of contents. If linking a library
! 15154: # or program results in "error TOC overflow" add -mminimal-toc to
! 15155: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 15156: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 15157:
! 15158: archive_cmds_F77=''
! 15159: hardcode_direct_F77=yes
! 15160: hardcode_libdir_separator_F77=':'
! 15161: link_all_deplibs_F77=yes
! 15162:
! 15163: if test "$GCC" = yes; then
! 15164: case $host_os in aix4.[012]|aix4.[012].*)
! 15165: # We only want to do this on AIX 4.2 and lower, the check
! 15166: # below for broken collect2 doesn't work under 4.3+
! 15167: collect2name=`${CC} -print-prog-name=collect2`
! 15168: if test -f "$collect2name" && \
! 15169: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 15170: then
! 15171: # We have reworked collect2
! 15172: :
! 15173: else
! 15174: # We have old collect2
! 15175: hardcode_direct_F77=unsupported
! 15176: # It fails to find uninstalled libraries when the uninstalled
! 15177: # path is not listed in the libpath. Setting hardcode_minus_L
! 15178: # to unsupported forces relinking
! 15179: hardcode_minus_L_F77=yes
! 15180: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15181: hardcode_libdir_separator_F77=
! 15182: fi
! 15183: ;;
! 15184: esac
! 15185: shared_flag='-shared'
! 15186: if test "$aix_use_runtimelinking" = yes; then
! 15187: shared_flag="$shared_flag "'${wl}-G'
! 15188: fi
! 15189: else
! 15190: # not using gcc
! 15191: if test "$host_cpu" = ia64; then
! 15192: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 15193: # chokes on -Wl,-G. The following line is correct:
! 15194: shared_flag='-G'
! 15195: else
! 15196: if test "$aix_use_runtimelinking" = yes; then
! 15197: shared_flag='${wl}-G'
! 15198: else
! 15199: shared_flag='${wl}-bM:SRE'
! 15200: fi
! 15201: fi
! 15202: fi
! 15203:
! 15204: # It seems that -bexpall does not export symbols beginning with
! 15205: # underscore (_), so it is better to generate a list of symbols to export.
! 15206: always_export_symbols_F77=yes
! 15207: if test "$aix_use_runtimelinking" = yes; then
! 15208: # Warning - without using the other runtime loading flags (-brtl),
! 15209: # -berok will link without error, but may produce a broken library.
! 15210: allow_undefined_flag_F77='-berok'
! 15211: # Determine the default libpath from the value encoded in an empty executable.
! 15212: cat >conftest.$ac_ext <<_ACEOF
! 15213: program main
! 15214:
! 15215: end
! 15216: _ACEOF
! 15217: rm -f conftest.$ac_objext conftest$ac_exeext
! 15218: if { (ac_try="$ac_link"
! 15219: case "(($ac_try" in
! 15220: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 15221: *) ac_try_echo=$ac_try;;
! 15222: esac
! 15223: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 15224: $as_echo "$ac_try_echo") >&5
! 15225: (eval "$ac_link") 2>conftest.er1
! 15226: ac_status=$?
! 15227: grep -v '^ *+' conftest.er1 >conftest.err
! 15228: rm -f conftest.er1
! 15229: cat conftest.err >&5
! 15230: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15231: (exit $ac_status); } && {
! 15232: test -z "$ac_f77_werror_flag" ||
! 15233: test ! -s conftest.err
! 15234: } && test -s conftest$ac_exeext && {
! 15235: test "$cross_compiling" = yes ||
! 15236: $as_test_x conftest$ac_exeext
! 15237: }; then
! 15238:
! 15239: lt_aix_libpath_sed='
! 15240: /Import File Strings/,/^$/ {
! 15241: /^0/ {
! 15242: s/^0 *\(.*\)$/\1/
! 15243: p
! 15244: }
! 15245: }'
! 15246: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15247: # Check for a 64-bit object if we didn't find anything.
! 15248: if test -z "$aix_libpath"; then
! 15249: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15250: fi
! 15251: else
! 15252: $as_echo "$as_me: failed program was:" >&5
! 15253: sed 's/^/| /' conftest.$ac_ext >&5
! 15254:
! 15255:
! 15256: fi
! 15257:
! 15258: rm -rf conftest.dSYM
! 15259: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 15260: conftest$ac_exeext conftest.$ac_ext
! 15261: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 15262:
! 15263: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 15264: 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"
! 15265: else
! 15266: if test "$host_cpu" = ia64; then
! 15267: hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
! 15268: allow_undefined_flag_F77="-z nodefs"
! 15269: 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"
! 15270: else
! 15271: # Determine the default libpath from the value encoded in an empty executable.
! 15272: cat >conftest.$ac_ext <<_ACEOF
! 15273: program main
! 15274:
! 15275: end
! 15276: _ACEOF
! 15277: rm -f conftest.$ac_objext conftest$ac_exeext
! 15278: if { (ac_try="$ac_link"
! 15279: case "(($ac_try" in
! 15280: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 15281: *) ac_try_echo=$ac_try;;
! 15282: esac
! 15283: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 15284: $as_echo "$ac_try_echo") >&5
! 15285: (eval "$ac_link") 2>conftest.er1
! 15286: ac_status=$?
! 15287: grep -v '^ *+' conftest.er1 >conftest.err
! 15288: rm -f conftest.er1
! 15289: cat conftest.err >&5
! 15290: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15291: (exit $ac_status); } && {
! 15292: test -z "$ac_f77_werror_flag" ||
! 15293: test ! -s conftest.err
! 15294: } && test -s conftest$ac_exeext && {
! 15295: test "$cross_compiling" = yes ||
! 15296: $as_test_x conftest$ac_exeext
! 15297: }; then
! 15298:
! 15299: lt_aix_libpath_sed='
! 15300: /Import File Strings/,/^$/ {
! 15301: /^0/ {
! 15302: s/^0 *\(.*\)$/\1/
! 15303: p
! 15304: }
! 15305: }'
! 15306: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15307: # Check for a 64-bit object if we didn't find anything.
! 15308: if test -z "$aix_libpath"; then
! 15309: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 15310: fi
! 15311: else
! 15312: $as_echo "$as_me: failed program was:" >&5
! 15313: sed 's/^/| /' conftest.$ac_ext >&5
! 15314:
! 15315:
! 15316: fi
! 15317:
! 15318: rm -rf conftest.dSYM
! 15319: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 15320: conftest$ac_exeext conftest.$ac_ext
! 15321: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 15322:
! 15323: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 15324: # Warning - without using the other run time loading flags,
! 15325: # -berok will link without error, but may produce a broken library.
! 15326: no_undefined_flag_F77=' ${wl}-bernotok'
! 15327: allow_undefined_flag_F77=' ${wl}-berok'
! 15328: # Exported symbols can be pulled into shared objects from archives
! 15329: whole_archive_flag_spec_F77='$convenience'
! 15330: archive_cmds_need_lc_F77=yes
! 15331: # This is similar to how AIX traditionally builds its shared libraries.
! 15332: 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'
! 15333: fi
! 15334: fi
! 15335: ;;
! 15336:
! 15337: amigaos*)
! 15338: 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)'
! 15339: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15340: hardcode_minus_L_F77=yes
! 15341: # see comment about different semantics on the GNU ld section
! 15342: ld_shlibs_F77=no
! 15343: ;;
! 15344:
! 15345: bsdi[45]*)
! 15346: export_dynamic_flag_spec_F77=-rdynamic
! 15347: ;;
! 15348:
! 15349: cygwin* | mingw* | pw32*)
! 15350: # When not using gcc, we currently assume that we are using
! 15351: # Microsoft Visual C++.
! 15352: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 15353: # no search path for DLLs.
! 15354: hardcode_libdir_flag_spec_F77=' '
! 15355: allow_undefined_flag_F77=unsupported
! 15356: # Tell ltmain to make .lib files, not .a files.
! 15357: libext=lib
! 15358: # Tell ltmain to make .dll files, not .so files.
! 15359: shrext_cmds=".dll"
! 15360: # FIXME: Setting linknames here is a bad hack.
! 15361: archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 15362: # The linker will automatically build a .lib file if we build a DLL.
! 15363: old_archive_From_new_cmds_F77='true'
! 15364: # FIXME: Should let the user specify the lib program.
! 15365: old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 15366: fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
! 15367: enable_shared_with_static_runtimes_F77=yes
! 15368: ;;
! 15369:
! 15370: darwin* | rhapsody*)
! 15371: case $host_os in
! 15372: rhapsody* | darwin1.[012])
! 15373: allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
! 15374: ;;
! 15375: *) # Darwin 1.3 on
! 15376: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 15377: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 15378: else
! 15379: case ${MACOSX_DEPLOYMENT_TARGET} in
! 15380: 10.[012])
! 15381: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 15382: ;;
! 15383: 10.*)
! 15384: allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
! 15385: ;;
! 15386: esac
! 15387: fi
! 15388: ;;
! 15389: esac
! 15390: archive_cmds_need_lc_F77=no
! 15391: hardcode_direct_F77=no
! 15392: hardcode_automatic_F77=yes
! 15393: hardcode_shlibpath_var_F77=unsupported
! 15394: whole_archive_flag_spec_F77=''
! 15395: link_all_deplibs_F77=yes
! 15396: if test "$GCC" = yes ; then
! 15397: output_verbose_link_cmd='echo'
! 15398: 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}"
! 15399: module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 15400: 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}"
! 15401: 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}"
! 15402: else
! 15403: case $cc_basename in
! 15404: xlc*)
! 15405: output_verbose_link_cmd='echo'
! 15406: archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 15407: module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 15408: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 15409: 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}'
! 15410: 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}'
! 15411: ;;
! 15412: *)
! 15413: ld_shlibs_F77=no
! 15414: ;;
! 15415: esac
! 15416: fi
! 15417: ;;
! 15418:
! 15419: dgux*)
! 15420: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15421: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15422: hardcode_shlibpath_var_F77=no
! 15423: ;;
! 15424:
! 15425: freebsd1*)
! 15426: ld_shlibs_F77=no
! 15427: ;;
! 15428:
! 15429: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 15430: # support. Future versions do this automatically, but an explicit c++rt0.o
! 15431: # does not break anything, and helps significantly (at the cost of a little
! 15432: # extra space).
! 15433: freebsd2.2*)
! 15434: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 15435: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15436: hardcode_direct_F77=yes
! 15437: hardcode_shlibpath_var_F77=no
! 15438: ;;
! 15439:
! 15440: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 15441: freebsd2*)
! 15442: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15443: hardcode_direct_F77=yes
! 15444: hardcode_minus_L_F77=yes
! 15445: hardcode_shlibpath_var_F77=no
! 15446: ;;
! 15447:
! 15448: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 15449: freebsd* | dragonfly*)
! 15450: archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 15451: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15452: hardcode_direct_F77=yes
! 15453: hardcode_shlibpath_var_F77=no
! 15454: ;;
! 15455:
! 15456: hpux9*)
! 15457: if test "$GCC" = yes; then
! 15458: 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'
! 15459: else
! 15460: 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'
! 15461: fi
! 15462: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15463: hardcode_libdir_separator_F77=:
! 15464: hardcode_direct_F77=yes
! 15465:
! 15466: # hardcode_minus_L: Not really in the search PATH,
! 15467: # but as the default location of the library.
! 15468: hardcode_minus_L_F77=yes
! 15469: export_dynamic_flag_spec_F77='${wl}-E'
! 15470: ;;
! 15471:
! 15472: hpux10*)
! 15473: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 15474: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15475: else
! 15476: archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 15477: fi
! 15478: if test "$with_gnu_ld" = no; then
! 15479: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15480: hardcode_libdir_separator_F77=:
! 15481:
! 15482: hardcode_direct_F77=yes
! 15483: export_dynamic_flag_spec_F77='${wl}-E'
! 15484:
! 15485: # hardcode_minus_L: Not really in the search PATH,
! 15486: # but as the default location of the library.
! 15487: hardcode_minus_L_F77=yes
! 15488: fi
! 15489: ;;
! 15490:
! 15491: hpux11*)
! 15492: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 15493: case $host_cpu in
! 15494: hppa*64*)
! 15495: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15496: ;;
! 15497: ia64*)
! 15498: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 15499: ;;
! 15500: *)
! 15501: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15502: ;;
! 15503: esac
! 15504: else
! 15505: case $host_cpu in
! 15506: hppa*64*)
! 15507: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15508: ;;
! 15509: ia64*)
! 15510: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 15511: ;;
! 15512: *)
! 15513: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 15514: ;;
! 15515: esac
! 15516: fi
! 15517: if test "$with_gnu_ld" = no; then
! 15518: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 15519: hardcode_libdir_separator_F77=:
! 15520:
! 15521: case $host_cpu in
! 15522: hppa*64*|ia64*)
! 15523: hardcode_libdir_flag_spec_ld_F77='+b $libdir'
! 15524: hardcode_direct_F77=no
! 15525: hardcode_shlibpath_var_F77=no
! 15526: ;;
! 15527: *)
! 15528: hardcode_direct_F77=yes
! 15529: export_dynamic_flag_spec_F77='${wl}-E'
! 15530:
! 15531: # hardcode_minus_L: Not really in the search PATH,
! 15532: # but as the default location of the library.
! 15533: hardcode_minus_L_F77=yes
! 15534: ;;
! 15535: esac
! 15536: fi
! 15537: ;;
! 15538:
! 15539: irix5* | irix6* | nonstopux*)
! 15540: if test "$GCC" = yes; then
! 15541: 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'
! 15542: else
! 15543: 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'
! 15544: hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
! 15545: fi
! 15546: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15547: hardcode_libdir_separator_F77=:
! 15548: link_all_deplibs_F77=yes
! 15549: ;;
! 15550:
! 15551: netbsd* | netbsdelf*-gnu)
! 15552: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 15553: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 15554: else
! 15555: archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 15556: fi
! 15557: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15558: hardcode_direct_F77=yes
! 15559: hardcode_shlibpath_var_F77=no
! 15560: ;;
! 15561:
! 15562: newsos6)
! 15563: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15564: hardcode_direct_F77=yes
! 15565: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15566: hardcode_libdir_separator_F77=:
! 15567: hardcode_shlibpath_var_F77=no
! 15568: ;;
! 15569:
! 15570: openbsd*)
! 15571: if test -f /usr/libexec/ld.so; then
! 15572: hardcode_direct_F77=yes
! 15573: hardcode_shlibpath_var_F77=no
! 15574: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 15575: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 15576: archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 15577: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 15578: export_dynamic_flag_spec_F77='${wl}-E'
! 15579: else
! 15580: case $host_os in
! 15581: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 15582: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 15583: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15584: ;;
! 15585: *)
! 15586: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 15587: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 15588: ;;
! 15589: esac
! 15590: fi
! 15591: else
! 15592: ld_shlibs_F77=no
! 15593: fi
! 15594: ;;
! 15595:
! 15596: os2*)
! 15597: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15598: hardcode_minus_L_F77=yes
! 15599: allow_undefined_flag_F77=unsupported
! 15600: 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'
! 15601: old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 15602: ;;
! 15603:
! 15604: osf3*)
! 15605: if test "$GCC" = yes; then
! 15606: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 15607: 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'
! 15608: else
! 15609: allow_undefined_flag_F77=' -expect_unresolved \*'
! 15610: 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'
! 15611: fi
! 15612: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15613: hardcode_libdir_separator_F77=:
! 15614: ;;
! 15615:
! 15616: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 15617: if test "$GCC" = yes; then
! 15618: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 15619: 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'
! 15620: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 15621: else
! 15622: allow_undefined_flag_F77=' -expect_unresolved \*'
! 15623: 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'
! 15624: 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~
! 15625: $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'
! 15626:
! 15627: # Both c and cxx compiler support -rpath directly
! 15628: hardcode_libdir_flag_spec_F77='-rpath $libdir'
! 15629: fi
! 15630: hardcode_libdir_separator_F77=:
! 15631: ;;
! 15632:
! 15633: solaris*)
! 15634: no_undefined_flag_F77=' -z text'
! 15635: if test "$GCC" = yes; then
! 15636: wlarc='${wl}'
! 15637: archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15638: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 15639: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 15640: else
! 15641: wlarc=''
! 15642: archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15643: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 15644: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 15645: fi
! 15646: hardcode_libdir_flag_spec_F77='-R$libdir'
! 15647: hardcode_shlibpath_var_F77=no
! 15648: case $host_os in
! 15649: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 15650: *)
! 15651: # The compiler driver will combine and reorder linker options,
! 15652: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 15653: # but is careful enough not to reorder.
! 15654: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 15655: if test "$GCC" = yes; then
! 15656: whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 15657: else
! 15658: whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
! 15659: fi
! 15660: ;;
! 15661: esac
! 15662: link_all_deplibs_F77=yes
! 15663: ;;
! 15664:
! 15665: sunos4*)
! 15666: if test "x$host_vendor" = xsequent; then
! 15667: # Use $CC to link under sequent, because it throws in some extra .o
! 15668: # files that make .init and .fini sections work.
! 15669: archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 15670: else
! 15671: archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 15672: fi
! 15673: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15674: hardcode_direct_F77=yes
! 15675: hardcode_minus_L_F77=yes
! 15676: hardcode_shlibpath_var_F77=no
! 15677: ;;
! 15678:
! 15679: sysv4)
! 15680: case $host_vendor in
! 15681: sni)
! 15682: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15683: hardcode_direct_F77=yes # is this really true???
! 15684: ;;
! 15685: siemens)
! 15686: ## LD is ld it makes a PLAMLIB
! 15687: ## CC just makes a GrossModule.
! 15688: archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 15689: reload_cmds_F77='$CC -r -o $output$reload_objs'
! 15690: hardcode_direct_F77=no
! 15691: ;;
! 15692: motorola)
! 15693: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15694: hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
! 15695: ;;
! 15696: esac
! 15697: runpath_var='LD_RUN_PATH'
! 15698: hardcode_shlibpath_var_F77=no
! 15699: ;;
! 15700:
! 15701: sysv4.3*)
! 15702: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15703: hardcode_shlibpath_var_F77=no
! 15704: export_dynamic_flag_spec_F77='-Bexport'
! 15705: ;;
! 15706:
! 15707: sysv4*MP*)
! 15708: if test -d /usr/nec; then
! 15709: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15710: hardcode_shlibpath_var_F77=no
! 15711: runpath_var=LD_RUN_PATH
! 15712: hardcode_runpath_var=yes
! 15713: ld_shlibs_F77=yes
! 15714: fi
! 15715: ;;
! 15716:
! 15717: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 15718: no_undefined_flag_F77='${wl}-z,text'
! 15719: archive_cmds_need_lc_F77=no
! 15720: hardcode_shlibpath_var_F77=no
! 15721: runpath_var='LD_RUN_PATH'
! 15722:
! 15723: if test "$GCC" = yes; then
! 15724: archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15725: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15726: else
! 15727: archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15728: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15729: fi
! 15730: ;;
! 15731:
! 15732: sysv5* | sco3.2v5* | sco5v6*)
! 15733: # Note: We can NOT use -z defs as we might desire, because we do not
! 15734: # link with -lc, and that would cause any symbols used from libc to
! 15735: # always be unresolved, which means just about no library would
! 15736: # ever link correctly. If we're not using GNU ld we use -z text
! 15737: # though, which does catch some bad symbols but isn't as heavy-handed
! 15738: # as -z defs.
! 15739: no_undefined_flag_F77='${wl}-z,text'
! 15740: allow_undefined_flag_F77='${wl}-z,nodefs'
! 15741: archive_cmds_need_lc_F77=no
! 15742: hardcode_shlibpath_var_F77=no
! 15743: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 15744: hardcode_libdir_separator_F77=':'
! 15745: link_all_deplibs_F77=yes
! 15746: export_dynamic_flag_spec_F77='${wl}-Bexport'
! 15747: runpath_var='LD_RUN_PATH'
! 15748:
! 15749: if test "$GCC" = yes; then
! 15750: archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15751: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15752: else
! 15753: archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15754: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 15755: fi
! 15756: ;;
! 15757:
! 15758: uts4*)
! 15759: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 15760: hardcode_libdir_flag_spec_F77='-L$libdir'
! 15761: hardcode_shlibpath_var_F77=no
! 15762: ;;
! 15763:
! 15764: *)
! 15765: ld_shlibs_F77=no
! 15766: ;;
! 15767: esac
! 15768: fi
! 15769:
! 15770: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
! 15771: $as_echo "$ld_shlibs_F77" >&6; }
! 15772: test "$ld_shlibs_F77" = no && can_build_shared=no
! 15773:
! 15774: #
! 15775: # Do we need to explicitly link libc?
! 15776: #
! 15777: case "x$archive_cmds_need_lc_F77" in
! 15778: x|xyes)
! 15779: # Assume -lc should be added
! 15780: archive_cmds_need_lc_F77=yes
! 15781:
! 15782: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 15783: case $archive_cmds_F77 in
! 15784: *'~'*)
! 15785: # FIXME: we may have to deal with multi-command sequences.
! 15786: ;;
! 15787: '$CC '*)
! 15788: # Test whether the compiler implicitly links with -lc since on some
! 15789: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 15790: # to ld, don't add -lc before -lgcc.
! 15791: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 15792: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 15793: $rm conftest*
! 15794: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 15795:
! 15796: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 15797: (eval $ac_compile) 2>&5
! 15798: ac_status=$?
! 15799: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15800: (exit $ac_status); } 2>conftest.err; then
! 15801: soname=conftest
! 15802: lib=conftest
! 15803: libobjs=conftest.$ac_objext
! 15804: deplibs=
! 15805: wl=$lt_prog_compiler_wl_F77
! 15806: pic_flag=$lt_prog_compiler_pic_F77
! 15807: compiler_flags=-v
! 15808: linker_flags=-v
! 15809: verstring=
! 15810: output_objdir=.
! 15811: libname=conftest
! 15812: lt_save_allow_undefined_flag=$allow_undefined_flag_F77
! 15813: allow_undefined_flag_F77=
! 15814: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 15815: (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 15816: ac_status=$?
! 15817: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15818: (exit $ac_status); }
! 15819: then
! 15820: archive_cmds_need_lc_F77=no
! 15821: else
! 15822: archive_cmds_need_lc_F77=yes
! 15823: fi
! 15824: allow_undefined_flag_F77=$lt_save_allow_undefined_flag
! 15825: else
! 15826: cat conftest.err 1>&5
! 15827: fi
! 15828: $rm conftest*
! 15829: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
! 15830: $as_echo "$archive_cmds_need_lc_F77" >&6; }
! 15831: ;;
! 15832: esac
! 15833: fi
! 15834: ;;
! 15835: esac
! 15836:
! 15837: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 15838: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 15839: library_names_spec=
! 15840: libname_spec='lib$name'
! 15841: soname_spec=
! 15842: shrext_cmds=".so"
! 15843: postinstall_cmds=
! 15844: postuninstall_cmds=
! 15845: finish_cmds=
! 15846: finish_eval=
! 15847: shlibpath_var=
! 15848: shlibpath_overrides_runpath=unknown
! 15849: version_type=none
! 15850: dynamic_linker="$host_os ld.so"
! 15851: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 15852:
! 15853: need_lib_prefix=unknown
! 15854: hardcode_into_libs=no
! 15855:
! 15856: # when you set need_version to no, make sure it does not cause -set_version
! 15857: # flags to be left without arguments
! 15858: need_version=unknown
! 15859:
! 15860: case $host_os in
! 15861: aix3*)
! 15862: version_type=linux
! 15863: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 15864: shlibpath_var=LIBPATH
! 15865:
! 15866: # AIX 3 has no versioning support, so we append a major version to the name.
! 15867: soname_spec='${libname}${release}${shared_ext}$major'
! 15868: ;;
! 15869:
! 15870: aix[4-9]*)
! 15871: version_type=linux
! 15872: need_lib_prefix=no
! 15873: need_version=no
! 15874: hardcode_into_libs=yes
! 15875: if test "$host_cpu" = ia64; then
! 15876: # AIX 5 supports IA64
! 15877: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 15878: shlibpath_var=LD_LIBRARY_PATH
! 15879: else
! 15880: # With GCC up to 2.95.x, collect2 would create an import file
! 15881: # for dependence libraries. The import file would start with
! 15882: # the line `#! .'. This would cause the generated library to
! 15883: # depend on `.', always an invalid library. This was fixed in
! 15884: # development snapshots of GCC prior to 3.0.
! 15885: case $host_os in
! 15886: aix4 | aix4.[01] | aix4.[01].*)
! 15887: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 15888: echo ' yes '
! 15889: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 15890: :
! 15891: else
! 15892: can_build_shared=no
! 15893: fi
! 15894: ;;
! 15895: esac
! 15896: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 15897: # soname into executable. Probably we can add versioning support to
! 15898: # collect2, so additional links can be useful in future.
! 15899: if test "$aix_use_runtimelinking" = yes; then
! 15900: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 15901: # instead of lib<name>.a to let people know that these are not
! 15902: # typical AIX shared libraries.
! 15903: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15904: else
! 15905: # We preserve .a as extension for shared libraries through AIX4.2
! 15906: # and later when we are not doing run time linking.
! 15907: library_names_spec='${libname}${release}.a $libname.a'
! 15908: soname_spec='${libname}${release}${shared_ext}$major'
! 15909: fi
! 15910: shlibpath_var=LIBPATH
! 15911: fi
! 15912: ;;
! 15913:
! 15914: amigaos*)
! 15915: library_names_spec='$libname.ixlibrary $libname.a'
! 15916: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 15917: 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'
! 15918: ;;
! 15919:
! 15920: beos*)
! 15921: library_names_spec='${libname}${shared_ext}'
! 15922: dynamic_linker="$host_os ld.so"
! 15923: shlibpath_var=LIBRARY_PATH
! 15924: ;;
! 15925:
! 15926: bsdi[45]*)
! 15927: version_type=linux
! 15928: need_version=no
! 15929: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 15930: soname_spec='${libname}${release}${shared_ext}$major'
! 15931: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 15932: shlibpath_var=LD_LIBRARY_PATH
! 15933: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 15934: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 15935: # the default ld.so.conf also contains /usr/contrib/lib and
! 15936: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 15937: # libtool to hard-code these into programs
! 15938: ;;
! 15939:
! 15940: cygwin* | mingw* | pw32*)
! 15941: version_type=windows
! 15942: shrext_cmds=".dll"
! 15943: need_version=no
! 15944: need_lib_prefix=no
! 15945:
! 15946: case $GCC,$host_os in
! 15947: yes,cygwin* | yes,mingw* | yes,pw32*)
! 15948: library_names_spec='$libname.dll.a'
! 15949: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 15950: postinstall_cmds='base_file=`basename \${file}`~
! 15951: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 15952: dldir=$destdir/`dirname \$dlpath`~
! 15953: test -d \$dldir || mkdir -p \$dldir~
! 15954: $install_prog $dir/$dlname \$dldir/$dlname~
! 15955: chmod a+x \$dldir/$dlname'
! 15956: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 15957: dlpath=$dir/\$dldll~
! 15958: $rm \$dlpath'
! 15959: shlibpath_overrides_runpath=yes
! 15960:
! 15961: case $host_os in
! 15962: cygwin*)
! 15963: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 15964: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15965: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 15966: ;;
! 15967: mingw*)
! 15968: # MinGW DLLs use traditional 'lib' prefix
! 15969: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15970: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 15971: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 15972: # It is most probably a Windows format PATH printed by
! 15973: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 15974: # path with ; separators, and with drive letters. We can handle the
! 15975: # drive letters (cygwin fileutils understands them), so leave them,
! 15976: # especially as we might pass files found there to a mingw objdump,
! 15977: # which wouldn't understand a cygwinified path. Ahh.
! 15978: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 15979: else
! 15980: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 15981: fi
! 15982: ;;
! 15983: pw32*)
! 15984: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 15985: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 15986: ;;
! 15987: esac
! 15988: ;;
! 15989:
! 15990: *)
! 15991: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 15992: ;;
! 15993: esac
! 15994: dynamic_linker='Win32 ld.exe'
! 15995: # FIXME: first we should search . and the directory the executable is in
! 15996: shlibpath_var=PATH
! 15997: ;;
! 15998:
! 15999: darwin* | rhapsody*)
! 16000: dynamic_linker="$host_os dyld"
! 16001: version_type=darwin
! 16002: need_lib_prefix=no
! 16003: need_version=no
! 16004: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 16005: soname_spec='${libname}${release}${major}$shared_ext'
! 16006: shlibpath_overrides_runpath=yes
! 16007: shlibpath_var=DYLD_LIBRARY_PATH
! 16008: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 16009:
! 16010: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 16011: ;;
! 16012:
! 16013: dgux*)
! 16014: version_type=linux
! 16015: need_lib_prefix=no
! 16016: need_version=no
! 16017: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 16018: soname_spec='${libname}${release}${shared_ext}$major'
! 16019: shlibpath_var=LD_LIBRARY_PATH
! 16020: ;;
! 16021:
! 16022: freebsd1*)
! 16023: dynamic_linker=no
! 16024: ;;
! 16025:
! 16026: freebsd* | dragonfly*)
! 16027: # DragonFly does not have aout. When/if they implement a new
! 16028: # versioning mechanism, adjust this.
! 16029: if test -x /usr/bin/objformat; then
! 16030: objformat=`/usr/bin/objformat`
! 16031: else
! 16032: case $host_os in
! 16033: freebsd[123]*) objformat=aout ;;
! 16034: *) objformat=elf ;;
! 16035: esac
! 16036: fi
! 16037: version_type=freebsd-$objformat
! 16038: case $version_type in
! 16039: freebsd-elf*)
! 16040: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16041: need_version=no
! 16042: need_lib_prefix=no
! 16043: ;;
! 16044: freebsd-*)
! 16045: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 16046: need_version=yes
! 16047: ;;
! 16048: esac
! 16049: shlibpath_var=LD_LIBRARY_PATH
! 16050: case $host_os in
! 16051: freebsd2*)
! 16052: shlibpath_overrides_runpath=yes
! 16053: ;;
! 16054: freebsd3.[01]* | freebsdelf3.[01]*)
! 16055: shlibpath_overrides_runpath=yes
! 16056: hardcode_into_libs=yes
! 16057: ;;
! 16058: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 16059: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 16060: shlibpath_overrides_runpath=no
! 16061: hardcode_into_libs=yes
! 16062: ;;
! 16063: *) # from 4.6 on, and DragonFly
! 16064: shlibpath_overrides_runpath=yes
! 16065: hardcode_into_libs=yes
! 16066: ;;
! 16067: esac
! 16068: ;;
! 16069:
! 16070: gnu*)
! 16071: version_type=linux
! 16072: need_lib_prefix=no
! 16073: need_version=no
! 16074: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 16075: soname_spec='${libname}${release}${shared_ext}$major'
! 16076: shlibpath_var=LD_LIBRARY_PATH
! 16077: hardcode_into_libs=yes
! 16078: ;;
! 16079:
! 16080: hpux9* | hpux10* | hpux11*)
! 16081: # Give a soname corresponding to the major version so that dld.sl refuses to
! 16082: # link against other versions.
! 16083: version_type=sunos
! 16084: need_lib_prefix=no
! 16085: need_version=no
! 16086: case $host_cpu in
! 16087: ia64*)
! 16088: shrext_cmds='.so'
! 16089: hardcode_into_libs=yes
! 16090: dynamic_linker="$host_os dld.so"
! 16091: shlibpath_var=LD_LIBRARY_PATH
! 16092: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 16093: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16094: soname_spec='${libname}${release}${shared_ext}$major'
! 16095: if test "X$HPUX_IA64_MODE" = X32; then
! 16096: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 16097: else
! 16098: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 16099: fi
! 16100: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 16101: ;;
! 16102: hppa*64*)
! 16103: shrext_cmds='.sl'
! 16104: hardcode_into_libs=yes
! 16105: dynamic_linker="$host_os dld.sl"
! 16106: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 16111: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 16112: ;;
! 16113: *)
! 16114: shrext_cmds='.sl'
! 16115: dynamic_linker="$host_os dld.sl"
! 16116: shlibpath_var=SHLIB_PATH
! 16117: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 16118: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16119: soname_spec='${libname}${release}${shared_ext}$major'
! 16120: ;;
! 16121: esac
! 16122: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 16123: postinstall_cmds='chmod 555 $lib'
! 16124: ;;
! 16125:
! 16126: interix[3-9]*)
! 16127: version_type=linux
! 16128: need_lib_prefix=no
! 16129: need_version=no
! 16130: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16131: soname_spec='${libname}${release}${shared_ext}$major'
! 16132: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 16133: shlibpath_var=LD_LIBRARY_PATH
! 16134: shlibpath_overrides_runpath=no
! 16135: hardcode_into_libs=yes
! 16136: ;;
! 16137:
! 16138: irix5* | irix6* | nonstopux*)
! 16139: case $host_os in
! 16140: nonstopux*) version_type=nonstopux ;;
! 16141: *)
! 16142: if test "$lt_cv_prog_gnu_ld" = yes; then
! 16143: version_type=linux
! 16144: else
! 16145: version_type=irix
! 16146: fi ;;
! 16147: esac
! 16148: need_lib_prefix=no
! 16149: need_version=no
! 16150: soname_spec='${libname}${release}${shared_ext}$major'
! 16151: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16152: case $host_os in
! 16153: irix5* | nonstopux*)
! 16154: libsuff= shlibsuff=
! 16155: ;;
! 16156: *)
! 16157: case $LD in # libtool.m4 will add one of these switches to LD
! 16158: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 16159: libsuff= shlibsuff= libmagic=32-bit;;
! 16160: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 16161: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 16162: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 16163: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 16164: *) libsuff= shlibsuff= libmagic=never-match;;
! 16165: esac
! 16166: ;;
! 16167: esac
! 16168: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 16169: shlibpath_overrides_runpath=no
! 16170: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 16171: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 16172: hardcode_into_libs=yes
! 16173: ;;
! 16174:
! 16175: # No shared lib support for Linux oldld, aout, or coff.
! 16176: linux*oldld* | linux*aout* | linux*coff*)
! 16177: dynamic_linker=no
! 16178: ;;
! 16179:
! 16180: # This must be Linux ELF.
! 16181: linux* | k*bsd*-gnu)
! 16182: version_type=linux
! 16183: need_lib_prefix=no
! 16184: need_version=no
! 16185: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16186: soname_spec='${libname}${release}${shared_ext}$major'
! 16187: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 16188: shlibpath_var=LD_LIBRARY_PATH
! 16189: shlibpath_overrides_runpath=no
! 16190: # This implies no fast_install, which is unacceptable.
! 16191: # Some rework will be needed to allow for fast_install
! 16192: # before this can be enabled.
! 16193: hardcode_into_libs=yes
! 16194:
! 16195: # Append ld.so.conf contents to the search path
! 16196: if test -f /etc/ld.so.conf; then
! 16197: 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' ' '`
! 16198: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 16199: fi
! 16200:
! 16201: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 16202: # powerpc, because MkLinux only supported shared libraries with the
! 16203: # GNU dynamic linker. Since this was broken with cross compilers,
! 16204: # most powerpc-linux boxes support dynamic linking these days and
! 16205: # people can always --disable-shared, the test was removed, and we
! 16206: # assume the GNU/Linux dynamic linker is in use.
! 16207: dynamic_linker='GNU/Linux ld.so'
! 16208: ;;
! 16209:
! 16210: netbsdelf*-gnu)
! 16211: version_type=linux
! 16212: need_lib_prefix=no
! 16213: need_version=no
! 16214: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16215: soname_spec='${libname}${release}${shared_ext}$major'
! 16216: shlibpath_var=LD_LIBRARY_PATH
! 16217: shlibpath_overrides_runpath=no
! 16218: hardcode_into_libs=yes
! 16219: dynamic_linker='NetBSD ld.elf_so'
! 16220: ;;
! 16221:
! 16222: netbsd*)
! 16223: version_type=sunos
! 16224: need_lib_prefix=no
! 16225: need_version=no
! 16226: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 16227: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16228: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 16229: dynamic_linker='NetBSD (a.out) ld.so'
! 16230: else
! 16231: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 16232: soname_spec='${libname}${release}${shared_ext}$major'
! 16233: dynamic_linker='NetBSD ld.elf_so'
! 16234: fi
! 16235: shlibpath_var=LD_LIBRARY_PATH
! 16236: shlibpath_overrides_runpath=yes
! 16237: hardcode_into_libs=yes
! 16238: ;;
! 16239:
! 16240: newsos6)
! 16241: version_type=linux
! 16242: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16243: shlibpath_var=LD_LIBRARY_PATH
! 16244: shlibpath_overrides_runpath=yes
! 16245: ;;
! 16246:
! 16247: nto-qnx*)
! 16248: version_type=linux
! 16249: need_lib_prefix=no
! 16250: need_version=no
! 16251: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16252: soname_spec='${libname}${release}${shared_ext}$major'
! 16253: shlibpath_var=LD_LIBRARY_PATH
! 16254: shlibpath_overrides_runpath=yes
! 16255: ;;
! 16256:
! 16257: openbsd*)
! 16258: version_type=sunos
! 16259: sys_lib_dlsearch_path_spec="/usr/lib"
! 16260: need_lib_prefix=no
! 16261: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 16262: case $host_os in
! 16263: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 16264: *) need_version=no ;;
! 16265: esac
! 16266: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16267: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 16268: shlibpath_var=LD_LIBRARY_PATH
! 16269: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 16270: case $host_os in
! 16271: openbsd2.[89] | openbsd2.[89].*)
! 16272: shlibpath_overrides_runpath=no
! 16273: ;;
! 16274: *)
! 16275: shlibpath_overrides_runpath=yes
! 16276: ;;
! 16277: esac
! 16278: else
! 16279: shlibpath_overrides_runpath=yes
! 16280: fi
! 16281: ;;
! 16282:
! 16283: os2*)
! 16284: libname_spec='$name'
! 16285: shrext_cmds=".dll"
! 16286: need_lib_prefix=no
! 16287: library_names_spec='$libname${shared_ext} $libname.a'
! 16288: dynamic_linker='OS/2 ld.exe'
! 16289: shlibpath_var=LIBPATH
! 16290: ;;
! 16291:
! 16292: osf3* | osf4* | osf5*)
! 16293: version_type=osf
! 16294: need_lib_prefix=no
! 16295: need_version=no
! 16296: soname_spec='${libname}${release}${shared_ext}$major'
! 16297: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16298: shlibpath_var=LD_LIBRARY_PATH
! 16299: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 16300: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 16301: ;;
! 16302:
! 16303: rdos*)
! 16304: dynamic_linker=no
! 16305: ;;
! 16306:
! 16307: solaris*)
! 16308: version_type=linux
! 16309: need_lib_prefix=no
! 16310: need_version=no
! 16311: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16312: soname_spec='${libname}${release}${shared_ext}$major'
! 16313: shlibpath_var=LD_LIBRARY_PATH
! 16314: shlibpath_overrides_runpath=yes
! 16315: hardcode_into_libs=yes
! 16316: # ldd complains unless libraries are executable
! 16317: postinstall_cmds='chmod +x $lib'
! 16318: ;;
! 16319:
! 16320: sunos4*)
! 16321: version_type=sunos
! 16322: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 16323: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 16324: shlibpath_var=LD_LIBRARY_PATH
! 16325: shlibpath_overrides_runpath=yes
! 16326: if test "$with_gnu_ld" = yes; then
! 16327: need_lib_prefix=no
! 16328: fi
! 16329: need_version=yes
! 16330: ;;
! 16331:
! 16332: sysv4 | sysv4.3*)
! 16333: version_type=linux
! 16334: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16335: soname_spec='${libname}${release}${shared_ext}$major'
! 16336: shlibpath_var=LD_LIBRARY_PATH
! 16337: case $host_vendor in
! 16338: sni)
! 16339: shlibpath_overrides_runpath=no
! 16340: need_lib_prefix=no
! 16341: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 16342: runpath_var=LD_RUN_PATH
! 16343: ;;
! 16344: siemens)
! 16345: need_lib_prefix=no
! 16346: ;;
! 16347: motorola)
! 16348: need_lib_prefix=no
! 16349: need_version=no
! 16350: shlibpath_overrides_runpath=no
! 16351: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 16352: ;;
! 16353: esac
! 16354: ;;
! 16355:
! 16356: sysv4*MP*)
! 16357: if test -d /usr/nec ;then
! 16358: version_type=linux
! 16359: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 16360: soname_spec='$libname${shared_ext}.$major'
! 16361: shlibpath_var=LD_LIBRARY_PATH
! 16362: fi
! 16363: ;;
! 16364:
! 16365: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 16366: version_type=freebsd-elf
! 16367: need_lib_prefix=no
! 16368: need_version=no
! 16369: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 16370: soname_spec='${libname}${release}${shared_ext}$major'
! 16371: shlibpath_var=LD_LIBRARY_PATH
! 16372: hardcode_into_libs=yes
! 16373: if test "$with_gnu_ld" = yes; then
! 16374: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 16375: shlibpath_overrides_runpath=no
! 16376: else
! 16377: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 16378: shlibpath_overrides_runpath=yes
! 16379: case $host_os in
! 16380: sco3.2v5*)
! 16381: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 16382: ;;
! 16383: esac
! 16384: fi
! 16385: sys_lib_dlsearch_path_spec='/usr/lib'
! 16386: ;;
! 16387:
! 16388: uts4*)
! 16389: version_type=linux
! 16390: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 16391: soname_spec='${libname}${release}${shared_ext}$major'
! 16392: shlibpath_var=LD_LIBRARY_PATH
! 16393: ;;
! 16394:
! 16395: *)
! 16396: dynamic_linker=no
! 16397: ;;
! 16398: esac
! 16399: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 16400: $as_echo "$dynamic_linker" >&6; }
! 16401: test "$dynamic_linker" = no && can_build_shared=no
! 16402:
! 16403: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 16404: $as_echo_n "(cached) " >&6
! 16405: else
! 16406: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 16407: fi
! 16408:
! 16409: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 16410: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 16411: $as_echo_n "(cached) " >&6
! 16412: else
! 16413: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 16414: fi
! 16415:
! 16416: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 16417:
! 16418: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 16419: if test "$GCC" = yes; then
! 16420: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 16421: fi
! 16422:
! 16423: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 16424: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 16425: hardcode_action_F77=
! 16426: if test -n "$hardcode_libdir_flag_spec_F77" || \
! 16427: test -n "$runpath_var_F77" || \
! 16428: test "X$hardcode_automatic_F77" = "Xyes" ; then
! 16429:
! 16430: # We can hardcode non-existant directories.
! 16431: if test "$hardcode_direct_F77" != no &&
! 16432: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 16433: # have to relink, otherwise we might link with an installed library
! 16434: # when we should be linking with a yet-to-be-installed one
! 16435: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
! 16436: test "$hardcode_minus_L_F77" != no; then
! 16437: # Linking always hardcodes the temporary library directory.
! 16438: hardcode_action_F77=relink
! 16439: else
! 16440: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 16441: hardcode_action_F77=immediate
! 16442: fi
! 16443: else
! 16444: # We cannot hardcode anything, or else we can only hardcode existing
! 16445: # directories.
! 16446: hardcode_action_F77=unsupported
! 16447: fi
! 16448: { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
! 16449: $as_echo "$hardcode_action_F77" >&6; }
! 16450:
! 16451: if test "$hardcode_action_F77" = relink; then
! 16452: # Fast installation is not supported
! 16453: enable_fast_install=no
! 16454: elif test "$shlibpath_overrides_runpath" = yes ||
! 16455: test "$enable_shared" = no; then
! 16456: # Fast installation is not necessary
! 16457: enable_fast_install=needless
! 16458: fi
! 16459:
! 16460:
! 16461: # The else clause should only fire when bootstrapping the
! 16462: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 16463: # with your package, and you will get complaints that there are
! 16464: # no rules to generate ltmain.sh.
! 16465: if test -f "$ltmain"; then
! 16466: # See if we are running on zsh, and set the options which allow our commands through
! 16467: # without removal of \ escapes.
! 16468: if test -n "${ZSH_VERSION+set}" ; then
! 16469: setopt NO_GLOB_SUBST
! 16470: fi
! 16471: # Now quote all the things that may contain metacharacters while being
! 16472: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 16473: # variables and quote the copies for generation of the libtool script.
! 16474: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 16475: SED SHELL STRIP \
! 16476: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 16477: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 16478: deplibs_check_method reload_flag reload_cmds need_locks \
! 16479: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 16480: lt_cv_sys_global_symbol_to_c_name_address \
! 16481: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 16482: old_postinstall_cmds old_postuninstall_cmds \
! 16483: compiler_F77 \
! 16484: CC_F77 \
! 16485: LD_F77 \
! 16486: lt_prog_compiler_wl_F77 \
! 16487: lt_prog_compiler_pic_F77 \
! 16488: lt_prog_compiler_static_F77 \
! 16489: lt_prog_compiler_no_builtin_flag_F77 \
! 16490: export_dynamic_flag_spec_F77 \
! 16491: thread_safe_flag_spec_F77 \
! 16492: whole_archive_flag_spec_F77 \
! 16493: enable_shared_with_static_runtimes_F77 \
! 16494: old_archive_cmds_F77 \
! 16495: old_archive_from_new_cmds_F77 \
! 16496: predep_objects_F77 \
! 16497: postdep_objects_F77 \
! 16498: predeps_F77 \
! 16499: postdeps_F77 \
! 16500: compiler_lib_search_path_F77 \
! 16501: compiler_lib_search_dirs_F77 \
! 16502: archive_cmds_F77 \
! 16503: archive_expsym_cmds_F77 \
! 16504: postinstall_cmds_F77 \
! 16505: postuninstall_cmds_F77 \
! 16506: old_archive_from_expsyms_cmds_F77 \
! 16507: allow_undefined_flag_F77 \
! 16508: no_undefined_flag_F77 \
! 16509: export_symbols_cmds_F77 \
! 16510: hardcode_libdir_flag_spec_F77 \
! 16511: hardcode_libdir_flag_spec_ld_F77 \
! 16512: hardcode_libdir_separator_F77 \
! 16513: hardcode_automatic_F77 \
! 16514: module_cmds_F77 \
! 16515: module_expsym_cmds_F77 \
! 16516: lt_cv_prog_compiler_c_o_F77 \
! 16517: fix_srcfile_path_F77 \
! 16518: exclude_expsyms_F77 \
! 16519: include_expsyms_F77; do
! 16520:
! 16521: case $var in
! 16522: old_archive_cmds_F77 | \
! 16523: old_archive_from_new_cmds_F77 | \
! 16524: archive_cmds_F77 | \
! 16525: archive_expsym_cmds_F77 | \
! 16526: module_cmds_F77 | \
! 16527: module_expsym_cmds_F77 | \
! 16528: old_archive_from_expsyms_cmds_F77 | \
! 16529: export_symbols_cmds_F77 | \
! 16530: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 16531: postinstall_cmds | postuninstall_cmds | \
! 16532: old_postinstall_cmds | old_postuninstall_cmds | \
! 16533: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 16534: # Double-quote double-evaled strings.
! 16535: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 16536: ;;
! 16537: *)
! 16538: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 16539: ;;
! 16540: esac
! 16541: done
! 16542:
! 16543: case $lt_echo in
! 16544: *'\$0 --fallback-echo"')
! 16545: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 16546: ;;
! 16547: esac
! 16548:
! 16549: cfgfile="$ofile"
! 16550:
! 16551: cat <<__EOF__ >> "$cfgfile"
! 16552: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 16553:
! 16554: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 16555:
! 16556: # Shell to use when invoking shell scripts.
! 16557: SHELL=$lt_SHELL
! 16558:
! 16559: # Whether or not to build shared libraries.
! 16560: build_libtool_libs=$enable_shared
! 16561:
! 16562: # Whether or not to build static libraries.
! 16563: build_old_libs=$enable_static
! 16564:
! 16565: # Whether or not to add -lc for building shared libraries.
! 16566: build_libtool_need_lc=$archive_cmds_need_lc_F77
! 16567:
! 16568: # Whether or not to disallow shared libs when runtime libs are static
! 16569: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
! 16570:
! 16571: # Whether or not to optimize for fast installation.
! 16572: fast_install=$enable_fast_install
! 16573:
! 16574: # The host system.
! 16575: host_alias=$host_alias
! 16576: host=$host
! 16577: host_os=$host_os
! 16578:
! 16579: # The build system.
! 16580: build_alias=$build_alias
! 16581: build=$build
! 16582: build_os=$build_os
! 16583:
! 16584: # An echo program that does not interpret backslashes.
! 16585: echo=$lt_echo
! 16586:
! 16587: # The archiver.
! 16588: AR=$lt_AR
! 16589: AR_FLAGS=$lt_AR_FLAGS
! 16590:
! 16591: # A C compiler.
! 16592: LTCC=$lt_LTCC
! 16593:
! 16594: # LTCC compiler flags.
! 16595: LTCFLAGS=$lt_LTCFLAGS
! 16596:
! 16597: # A language-specific compiler.
! 16598: CC=$lt_compiler_F77
! 16599:
! 16600: # Is the compiler the GNU C compiler?
! 16601: with_gcc=$GCC_F77
! 16602:
! 16603: # An ERE matcher.
! 16604: EGREP=$lt_EGREP
! 16605:
! 16606: # The linker used to build libraries.
! 16607: LD=$lt_LD_F77
! 16608:
! 16609: # Whether we need hard or soft links.
! 16610: LN_S=$lt_LN_S
! 16611:
! 16612: # A BSD-compatible nm program.
! 16613: NM=$lt_NM
! 16614:
! 16615: # A symbol stripping program
! 16616: STRIP=$lt_STRIP
! 16617:
! 16618: # Used to examine libraries when file_magic_cmd begins "file"
! 16619: MAGIC_CMD=$MAGIC_CMD
! 16620:
! 16621: # Used on cygwin: DLL creation program.
! 16622: DLLTOOL="$DLLTOOL"
! 16623:
! 16624: # Used on cygwin: object dumper.
! 16625: OBJDUMP="$OBJDUMP"
! 16626:
! 16627: # Used on cygwin: assembler.
! 16628: AS="$AS"
! 16629:
! 16630: # The name of the directory that contains temporary libtool files.
! 16631: objdir=$objdir
! 16632:
! 16633: # How to create reloadable object files.
! 16634: reload_flag=$lt_reload_flag
! 16635: reload_cmds=$lt_reload_cmds
! 16636:
! 16637: # How to pass a linker flag through the compiler.
! 16638: wl=$lt_lt_prog_compiler_wl_F77
! 16639:
! 16640: # Object file suffix (normally "o").
! 16641: objext="$ac_objext"
! 16642:
! 16643: # Old archive suffix (normally "a").
! 16644: libext="$libext"
! 16645:
! 16646: # Shared library suffix (normally ".so").
! 16647: shrext_cmds='$shrext_cmds'
! 16648:
! 16649: # Executable file suffix (normally "").
! 16650: exeext="$exeext"
! 16651:
! 16652: # Additional compiler flags for building library objects.
! 16653: pic_flag=$lt_lt_prog_compiler_pic_F77
! 16654: pic_mode=$pic_mode
! 16655:
! 16656: # What is the maximum length of a command?
! 16657: max_cmd_len=$lt_cv_sys_max_cmd_len
! 16658:
! 16659: # Does compiler simultaneously support -c and -o options?
! 16660: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
! 16661:
! 16662: # Must we lock files when doing compilation?
! 16663: need_locks=$lt_need_locks
! 16664:
! 16665: # Do we need the lib prefix for modules?
! 16666: need_lib_prefix=$need_lib_prefix
! 16667:
! 16668: # Do we need a version for libraries?
! 16669: need_version=$need_version
! 16670:
! 16671: # Whether dlopen is supported.
! 16672: dlopen_support=$enable_dlopen
! 16673:
! 16674: # Whether dlopen of programs is supported.
! 16675: dlopen_self=$enable_dlopen_self
! 16676:
! 16677: # Whether dlopen of statically linked programs is supported.
! 16678: dlopen_self_static=$enable_dlopen_self_static
! 16679:
! 16680: # Compiler flag to prevent dynamic linking.
! 16681: link_static_flag=$lt_lt_prog_compiler_static_F77
! 16682:
! 16683: # Compiler flag to turn off builtin functions.
! 16684: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
! 16685:
! 16686: # Compiler flag to allow reflexive dlopens.
! 16687: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
! 16688:
! 16689: # Compiler flag to generate shared objects directly from archives.
! 16690: whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
! 16691:
! 16692: # Compiler flag to generate thread-safe objects.
! 16693: thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
! 16694:
! 16695: # Library versioning type.
! 16696: version_type=$version_type
! 16697:
! 16698: # Format of library name prefix.
! 16699: libname_spec=$lt_libname_spec
! 16700:
! 16701: # List of archive names. First name is the real one, the rest are links.
! 16702: # The last name is the one that the linker finds with -lNAME.
! 16703: library_names_spec=$lt_library_names_spec
! 16704:
! 16705: # The coded name of the library, if different from the real name.
! 16706: soname_spec=$lt_soname_spec
! 16707:
! 16708: # Commands used to build and install an old-style archive.
! 16709: RANLIB=$lt_RANLIB
! 16710: old_archive_cmds=$lt_old_archive_cmds_F77
! 16711: old_postinstall_cmds=$lt_old_postinstall_cmds
! 16712: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 16713:
! 16714: # Create an old-style archive from a shared archive.
! 16715: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
! 16716:
! 16717: # Create a temporary old-style archive to link instead of a shared archive.
! 16718: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
! 16719:
! 16720: # Commands used to build and install a shared archive.
! 16721: archive_cmds=$lt_archive_cmds_F77
! 16722: archive_expsym_cmds=$lt_archive_expsym_cmds_F77
! 16723: postinstall_cmds=$lt_postinstall_cmds
! 16724: postuninstall_cmds=$lt_postuninstall_cmds
! 16725:
! 16726: # Commands used to build a loadable module (assumed same as above if empty)
! 16727: module_cmds=$lt_module_cmds_F77
! 16728: module_expsym_cmds=$lt_module_expsym_cmds_F77
! 16729:
! 16730: # Commands to strip libraries.
! 16731: old_striplib=$lt_old_striplib
! 16732: striplib=$lt_striplib
! 16733:
! 16734: # Dependencies to place before the objects being linked to create a
! 16735: # shared library.
! 16736: predep_objects=$lt_predep_objects_F77
! 16737:
! 16738: # Dependencies to place after the objects being linked to create a
! 16739: # shared library.
! 16740: postdep_objects=$lt_postdep_objects_F77
! 16741:
! 16742: # Dependencies to place before the objects being linked to create a
! 16743: # shared library.
! 16744: predeps=$lt_predeps_F77
! 16745:
! 16746: # Dependencies to place after the objects being linked to create a
! 16747: # shared library.
! 16748: postdeps=$lt_postdeps_F77
! 16749:
! 16750: # The directories searched by this compiler when creating a shared
! 16751: # library
! 16752: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
! 16753:
! 16754: # The library search path used internally by the compiler when linking
! 16755: # a shared library.
! 16756: compiler_lib_search_path=$lt_compiler_lib_search_path_F77
! 16757:
! 16758: # Method to check whether dependent libraries are shared objects.
! 16759: deplibs_check_method=$lt_deplibs_check_method
! 16760:
! 16761: # Command to use when deplibs_check_method == file_magic.
! 16762: file_magic_cmd=$lt_file_magic_cmd
! 16763:
! 16764: # Flag that allows shared libraries with undefined symbols to be built.
! 16765: allow_undefined_flag=$lt_allow_undefined_flag_F77
! 16766:
! 16767: # Flag that forces no undefined symbols.
! 16768: no_undefined_flag=$lt_no_undefined_flag_F77
! 16769:
! 16770: # Commands used to finish a libtool library installation in a directory.
! 16771: finish_cmds=$lt_finish_cmds
! 16772:
! 16773: # Same as above, but a single script fragment to be evaled but not shown.
! 16774: finish_eval=$lt_finish_eval
! 16775:
! 16776: # Take the output of nm and produce a listing of raw symbols and C names.
! 16777: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 16778:
! 16779: # Transform the output of nm in a proper C declaration
! 16780: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 16781:
! 16782: # Transform the output of nm in a C name address pair
! 16783: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 16784:
! 16785: # This is the shared library runtime path variable.
! 16786: runpath_var=$runpath_var
! 16787:
! 16788: # This is the shared library path variable.
! 16789: shlibpath_var=$shlibpath_var
! 16790:
! 16791: # Is shlibpath searched before the hard-coded library search path?
! 16792: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 16793:
! 16794: # How to hardcode a shared library path into an executable.
! 16795: hardcode_action=$hardcode_action_F77
! 16796:
! 16797: # Whether we should hardcode library paths into libraries.
! 16798: hardcode_into_libs=$hardcode_into_libs
! 16799:
! 16800: # Flag to hardcode \$libdir into a binary during linking.
! 16801: # This must work even if \$libdir does not exist.
! 16802: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
! 16803:
! 16804: # If ld is used when linking, flag to hardcode \$libdir into
! 16805: # a binary during linking. This must work even if \$libdir does
! 16806: # not exist.
! 16807: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
! 16808:
! 16809: # Whether we need a single -rpath flag with a separated argument.
! 16810: hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
! 16811:
! 16812: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 16813: # resulting binary.
! 16814: hardcode_direct=$hardcode_direct_F77
! 16815:
! 16816: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 16817: # resulting binary.
! 16818: hardcode_minus_L=$hardcode_minus_L_F77
! 16819:
! 16820: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 16821: # the resulting binary.
! 16822: hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
! 16823:
! 16824: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 16825: # and all subsequent libraries and executables linked against it.
! 16826: hardcode_automatic=$hardcode_automatic_F77
! 16827:
! 16828: # Variables whose values should be saved in libtool wrapper scripts and
! 16829: # restored at relink time.
! 16830: variables_saved_for_relink="$variables_saved_for_relink"
! 16831:
! 16832: # Whether libtool must link a program against all its dependency libraries.
! 16833: link_all_deplibs=$link_all_deplibs_F77
! 16834:
! 16835: # Compile-time system search path for libraries
! 16836: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 16837:
! 16838: # Run-time system search path for libraries
! 16839: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 16840:
! 16841: # Fix the shell variable \$srcfile for the compiler.
! 16842: fix_srcfile_path=$lt_fix_srcfile_path
! 16843:
! 16844: # Set to yes if exported symbols are required.
! 16845: always_export_symbols=$always_export_symbols_F77
! 16846:
! 16847: # The commands to list exported symbols.
! 16848: export_symbols_cmds=$lt_export_symbols_cmds_F77
! 16849:
! 16850: # The commands to extract the exported symbol list from a shared archive.
! 16851: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 16852:
! 16853: # Symbols that should not be listed in the preloaded symbols.
! 16854: exclude_expsyms=$lt_exclude_expsyms_F77
! 16855:
! 16856: # Symbols that must always be exported.
! 16857: include_expsyms=$lt_include_expsyms_F77
! 16858:
! 16859: # ### END LIBTOOL TAG CONFIG: $tagname
! 16860:
! 16861: __EOF__
! 16862:
! 16863:
! 16864: else
! 16865: # If there is no Makefile yet, we rely on a make rule to execute
! 16866: # `config.status --recheck' to rerun these tests and create the
! 16867: # libtool script then.
! 16868: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 16869: if test -f "$ltmain_in"; then
! 16870: test -f Makefile && make "$ltmain"
! 16871: fi
! 16872: fi
! 16873:
! 16874:
! 16875: ac_ext=c
! 16876: ac_cpp='$CPP $CPPFLAGS'
! 16877: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 16878: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 16879: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 16880:
! 16881: CC="$lt_save_CC"
! 16882:
! 16883: else
! 16884: tagname=""
! 16885: fi
! 16886: ;;
! 16887:
! 16888: GCJ)
! 16889: if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
! 16890:
! 16891:
! 16892: # Source file extension for Java test sources.
! 16893: ac_ext=java
! 16894:
! 16895: # Object file extension for compiled Java test sources.
! 16896: objext=o
! 16897: objext_GCJ=$objext
! 16898:
! 16899: # Code to be used in simple compile tests
! 16900: lt_simple_compile_test_code="class foo {}"
! 16901:
! 16902: # Code to be used in simple link tests
! 16903: lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
! 16904:
! 16905: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 16906:
! 16907: # If no C compiler was specified, use CC.
! 16908: LTCC=${LTCC-"$CC"}
! 16909:
! 16910: # If no C compiler flags were specified, use CFLAGS.
! 16911: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 16912:
! 16913: # Allow CC to be a program name with arguments.
! 16914: compiler=$CC
! 16915:
! 16916:
! 16917: # save warnings/boilerplate of simple test code
! 16918: ac_outfile=conftest.$ac_objext
! 16919: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 16920: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 16921: _lt_compiler_boilerplate=`cat conftest.err`
! 16922: $rm conftest*
! 16923:
! 16924: ac_outfile=conftest.$ac_objext
! 16925: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 16926: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 16927: _lt_linker_boilerplate=`cat conftest.err`
! 16928: $rm -r conftest*
! 16929:
! 16930:
! 16931: # Allow CC to be a program name with arguments.
! 16932: lt_save_CC="$CC"
! 16933: CC=${GCJ-"gcj"}
! 16934: compiler=$CC
! 16935: compiler_GCJ=$CC
! 16936: for cc_temp in $compiler""; do
! 16937: case $cc_temp in
! 16938: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 16939: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 16940: \-*) ;;
! 16941: *) break;;
! 16942: esac
! 16943: done
! 16944: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 16945:
! 16946:
! 16947: # GCJ did not exist at the time GCC didn't implicitly link libc in.
! 16948: archive_cmds_need_lc_GCJ=no
! 16949:
! 16950: old_archive_cmds_GCJ=$old_archive_cmds
! 16951:
! 16952:
! 16953: lt_prog_compiler_no_builtin_flag_GCJ=
! 16954:
! 16955: if test "$GCC" = yes; then
! 16956: lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
! 16957:
! 16958:
! 16959: { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 16960: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 16961: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 16962: $as_echo_n "(cached) " >&6
! 16963: else
! 16964: lt_cv_prog_compiler_rtti_exceptions=no
! 16965: ac_outfile=conftest.$ac_objext
! 16966: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 16967: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 16968: # Insert the option either (1) after the last *FLAGS variable, or
! 16969: # (2) before a word containing "conftest.", or (3) at the end.
! 16970: # Note that $ac_compile itself does not contain backslashes and begins
! 16971: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 16972: # The option is referenced via a variable to avoid confusing sed.
! 16973: lt_compile=`echo "$ac_compile" | $SED \
! 16974: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 16975: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 16976: -e 's:$: $lt_compiler_flag:'`
! 16977: (eval echo "\"\$as_me:16977: $lt_compile\"" >&5)
! 16978: (eval "$lt_compile" 2>conftest.err)
! 16979: ac_status=$?
! 16980: cat conftest.err >&5
! 16981: echo "$as_me:16981: \$? = $ac_status" >&5
! 16982: if (exit $ac_status) && test -s "$ac_outfile"; then
! 16983: # The compiler can only warn and ignore the option if not recognized
! 16984: # So say no if there are warnings other than the usual output.
! 16985: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 16986: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 16987: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 16988: lt_cv_prog_compiler_rtti_exceptions=yes
! 16989: fi
! 16990: fi
! 16991: $rm conftest*
! 16992:
! 16993: fi
! 16994: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 16995: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 16996:
! 16997: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 16998: lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
! 16999: else
! 17000: :
! 17001: fi
! 17002:
! 17003: fi
! 17004:
! 17005: lt_prog_compiler_wl_GCJ=
! 17006: lt_prog_compiler_pic_GCJ=
! 17007: lt_prog_compiler_static_GCJ=
! 17008:
! 17009: { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 17010: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 17011:
! 17012: if test "$GCC" = yes; then
! 17013: lt_prog_compiler_wl_GCJ='-Wl,'
! 17014: lt_prog_compiler_static_GCJ='-static'
! 17015:
! 17016: case $host_os in
! 17017: aix*)
! 17018: # All AIX code is PIC.
! 17019: if test "$host_cpu" = ia64; then
! 17020: # AIX 5 now supports IA64 processor
! 17021: lt_prog_compiler_static_GCJ='-Bstatic'
! 17022: fi
! 17023: ;;
! 17024:
! 17025: amigaos*)
! 17026: # FIXME: we need at least 68020 code to build shared libraries, but
! 17027: # adding the `-m68020' flag to GCC prevents building anything better,
! 17028: # like `-m68040'.
! 17029: lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
! 17030: ;;
! 17031:
! 17032: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 17033: # PIC is the default for these OSes.
! 17034: ;;
! 17035:
! 17036: mingw* | cygwin* | pw32* | os2*)
! 17037: # This hack is so that the source file can tell whether it is being
! 17038: # built for inclusion in a dll (and should export symbols for example).
! 17039: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 17040: # (--disable-auto-import) libraries
! 17041:
! 17042: ;;
! 17043:
! 17044: darwin* | rhapsody*)
! 17045: # PIC is the default on this platform
! 17046: # Common symbols not allowed in MH_DYLIB files
! 17047: lt_prog_compiler_pic_GCJ='-fno-common'
! 17048: ;;
! 17049:
! 17050: interix[3-9]*)
! 17051: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 17052: # Instead, we relocate shared libraries at runtime.
! 17053: ;;
! 17054:
! 17055: msdosdjgpp*)
! 17056: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 17057: # on systems that don't support them.
! 17058: lt_prog_compiler_can_build_shared_GCJ=no
! 17059: enable_shared=no
! 17060: ;;
! 17061:
! 17062: sysv4*MP*)
! 17063: if test -d /usr/nec; then
! 17064: lt_prog_compiler_pic_GCJ=-Kconform_pic
! 17065: fi
! 17066: ;;
! 17067:
! 17068: hpux*)
! 17069: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 17070: # not for PA HP-UX.
! 17071: case $host_cpu in
! 17072: hppa*64*|ia64*)
! 17073: # +Z the default
! 17074: ;;
! 17075: *)
! 17076: lt_prog_compiler_pic_GCJ='-fPIC'
! 17077: ;;
! 17078: esac
! 17079: ;;
! 17080:
! 17081: *)
! 17082: lt_prog_compiler_pic_GCJ='-fPIC'
! 17083: ;;
! 17084: esac
! 17085: else
! 17086: # PORTME Check for flag to pass linker flags through the system compiler.
! 17087: case $host_os in
! 17088: aix*)
! 17089: lt_prog_compiler_wl_GCJ='-Wl,'
! 17090: if test "$host_cpu" = ia64; then
! 17091: # AIX 5 now supports IA64 processor
! 17092: lt_prog_compiler_static_GCJ='-Bstatic'
! 17093: else
! 17094: lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
! 17095: fi
! 17096: ;;
! 17097: darwin*)
! 17098: # PIC is the default on this platform
! 17099: # Common symbols not allowed in MH_DYLIB files
! 17100: case $cc_basename in
! 17101: xlc*)
! 17102: lt_prog_compiler_pic_GCJ='-qnocommon'
! 17103: lt_prog_compiler_wl_GCJ='-Wl,'
! 17104: ;;
! 17105: esac
! 17106: ;;
! 17107:
! 17108: mingw* | cygwin* | pw32* | os2*)
! 17109: # This hack is so that the source file can tell whether it is being
! 17110: # built for inclusion in a dll (and should export symbols for example).
! 17111:
! 17112: ;;
! 17113:
! 17114: hpux9* | hpux10* | hpux11*)
! 17115: lt_prog_compiler_wl_GCJ='-Wl,'
! 17116: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 17117: # not for PA HP-UX.
! 17118: case $host_cpu in
! 17119: hppa*64*|ia64*)
! 17120: # +Z the default
! 17121: ;;
! 17122: *)
! 17123: lt_prog_compiler_pic_GCJ='+Z'
! 17124: ;;
! 17125: esac
! 17126: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 17127: lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
! 17128: ;;
! 17129:
! 17130: irix5* | irix6* | nonstopux*)
! 17131: lt_prog_compiler_wl_GCJ='-Wl,'
! 17132: # PIC (with -KPIC) is the default.
! 17133: lt_prog_compiler_static_GCJ='-non_shared'
! 17134: ;;
! 17135:
! 17136: newsos6)
! 17137: lt_prog_compiler_pic_GCJ='-KPIC'
! 17138: lt_prog_compiler_static_GCJ='-Bstatic'
! 17139: ;;
! 17140:
! 17141: linux* | k*bsd*-gnu)
! 17142: case $cc_basename in
! 17143: icc* | ecc*)
! 17144: lt_prog_compiler_wl_GCJ='-Wl,'
! 17145: lt_prog_compiler_pic_GCJ='-KPIC'
! 17146: lt_prog_compiler_static_GCJ='-static'
! 17147: ;;
! 17148: pgcc* | pgf77* | pgf90* | pgf95*)
! 17149: # Portland Group compilers (*not* the Pentium gcc compiler,
! 17150: # which looks to be a dead project)
! 17151: lt_prog_compiler_wl_GCJ='-Wl,'
! 17152: lt_prog_compiler_pic_GCJ='-fpic'
! 17153: lt_prog_compiler_static_GCJ='-Bstatic'
! 17154: ;;
! 17155: ccc*)
! 17156: lt_prog_compiler_wl_GCJ='-Wl,'
! 17157: # All Alpha code is PIC.
! 17158: lt_prog_compiler_static_GCJ='-non_shared'
! 17159: ;;
! 17160: *)
! 17161: case `$CC -V 2>&1 | sed 5q` in
! 17162: *Sun\ C*)
! 17163: # Sun C 5.9
! 17164: lt_prog_compiler_pic_GCJ='-KPIC'
! 17165: lt_prog_compiler_static_GCJ='-Bstatic'
! 17166: lt_prog_compiler_wl_GCJ='-Wl,'
! 17167: ;;
! 17168: *Sun\ F*)
! 17169: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 17170: lt_prog_compiler_pic_GCJ='-KPIC'
! 17171: lt_prog_compiler_static_GCJ='-Bstatic'
! 17172: lt_prog_compiler_wl_GCJ=''
! 17173: ;;
! 17174: esac
! 17175: ;;
! 17176: esac
! 17177: ;;
! 17178:
! 17179: osf3* | osf4* | osf5*)
! 17180: lt_prog_compiler_wl_GCJ='-Wl,'
! 17181: # All OSF/1 code is PIC.
! 17182: lt_prog_compiler_static_GCJ='-non_shared'
! 17183: ;;
! 17184:
! 17185: rdos*)
! 17186: lt_prog_compiler_static_GCJ='-non_shared'
! 17187: ;;
! 17188:
! 17189: solaris*)
! 17190: lt_prog_compiler_pic_GCJ='-KPIC'
! 17191: lt_prog_compiler_static_GCJ='-Bstatic'
! 17192: case $cc_basename in
! 17193: f77* | f90* | f95*)
! 17194: lt_prog_compiler_wl_GCJ='-Qoption ld ';;
! 17195: *)
! 17196: lt_prog_compiler_wl_GCJ='-Wl,';;
! 17197: esac
! 17198: ;;
! 17199:
! 17200: sunos4*)
! 17201: lt_prog_compiler_wl_GCJ='-Qoption ld '
! 17202: lt_prog_compiler_pic_GCJ='-PIC'
! 17203: lt_prog_compiler_static_GCJ='-Bstatic'
! 17204: ;;
! 17205:
! 17206: sysv4 | sysv4.2uw2* | sysv4.3*)
! 17207: lt_prog_compiler_wl_GCJ='-Wl,'
! 17208: lt_prog_compiler_pic_GCJ='-KPIC'
! 17209: lt_prog_compiler_static_GCJ='-Bstatic'
! 17210: ;;
! 17211:
! 17212: sysv4*MP*)
! 17213: if test -d /usr/nec ;then
! 17214: lt_prog_compiler_pic_GCJ='-Kconform_pic'
! 17215: lt_prog_compiler_static_GCJ='-Bstatic'
! 17216: fi
! 17217: ;;
! 17218:
! 17219: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 17220: lt_prog_compiler_wl_GCJ='-Wl,'
! 17221: lt_prog_compiler_pic_GCJ='-KPIC'
! 17222: lt_prog_compiler_static_GCJ='-Bstatic'
! 17223: ;;
! 17224:
! 17225: unicos*)
! 17226: lt_prog_compiler_wl_GCJ='-Wl,'
! 17227: lt_prog_compiler_can_build_shared_GCJ=no
! 17228: ;;
! 17229:
! 17230: uts4*)
! 17231: lt_prog_compiler_pic_GCJ='-pic'
! 17232: lt_prog_compiler_static_GCJ='-Bstatic'
! 17233: ;;
! 17234:
! 17235: *)
! 17236: lt_prog_compiler_can_build_shared_GCJ=no
! 17237: ;;
! 17238: esac
! 17239: fi
! 17240:
! 17241: { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
! 17242: $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
! 17243:
! 17244: #
! 17245: # Check to make sure the PIC flag actually works.
! 17246: #
! 17247: if test -n "$lt_prog_compiler_pic_GCJ"; then
! 17248:
! 17249: { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
! 17250: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
! 17251: if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
! 17252: $as_echo_n "(cached) " >&6
! 17253: else
! 17254: lt_cv_prog_compiler_pic_works_GCJ=no
! 17255: ac_outfile=conftest.$ac_objext
! 17256: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 17257: lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
! 17258: # Insert the option either (1) after the last *FLAGS variable, or
! 17259: # (2) before a word containing "conftest.", or (3) at the end.
! 17260: # Note that $ac_compile itself does not contain backslashes and begins
! 17261: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 17262: # The option is referenced via a variable to avoid confusing sed.
! 17263: lt_compile=`echo "$ac_compile" | $SED \
! 17264: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 17265: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 17266: -e 's:$: $lt_compiler_flag:'`
! 17267: (eval echo "\"\$as_me:17267: $lt_compile\"" >&5)
! 17268: (eval "$lt_compile" 2>conftest.err)
! 17269: ac_status=$?
! 17270: cat conftest.err >&5
! 17271: echo "$as_me:17271: \$? = $ac_status" >&5
! 17272: if (exit $ac_status) && test -s "$ac_outfile"; then
! 17273: # The compiler can only warn and ignore the option if not recognized
! 17274: # So say no if there are warnings other than the usual output.
! 17275: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 17276: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 17277: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 17278: lt_cv_prog_compiler_pic_works_GCJ=yes
! 17279: fi
! 17280: fi
! 17281: $rm conftest*
! 17282:
! 17283: fi
! 17284: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
! 17285: $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
! 17286:
! 17287: if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
! 17288: case $lt_prog_compiler_pic_GCJ in
! 17289: "" | " "*) ;;
! 17290: *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
! 17291: esac
! 17292: else
! 17293: lt_prog_compiler_pic_GCJ=
! 17294: lt_prog_compiler_can_build_shared_GCJ=no
! 17295: fi
! 17296:
! 17297: fi
! 17298: case $host_os in
! 17299: # For platforms which do not support PIC, -DPIC is meaningless:
! 17300: *djgpp*)
! 17301: lt_prog_compiler_pic_GCJ=
! 17302: ;;
! 17303: *)
! 17304: lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
! 17305: ;;
! 17306: esac
! 17307:
! 17308: #
! 17309: # Check to make sure the static flag actually works.
! 17310: #
! 17311: wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
! 17312: { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 17313: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 17314: if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
! 17315: $as_echo_n "(cached) " >&6
! 17316: else
! 17317: lt_cv_prog_compiler_static_works_GCJ=no
! 17318: save_LDFLAGS="$LDFLAGS"
! 17319: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 17320: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 17321: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 17322: # The linker can only warn and ignore the option if not recognized
! 17323: # So say no if there are warnings
! 17324: if test -s conftest.err; then
! 17325: # Append any errors to the config.log.
! 17326: cat conftest.err 1>&5
! 17327: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 17328: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 17329: if diff conftest.exp conftest.er2 >/dev/null; then
! 17330: lt_cv_prog_compiler_static_works_GCJ=yes
! 17331: fi
! 17332: else
! 17333: lt_cv_prog_compiler_static_works_GCJ=yes
! 17334: fi
! 17335: fi
! 17336: $rm -r conftest*
! 17337: LDFLAGS="$save_LDFLAGS"
! 17338:
! 17339: fi
! 17340: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
! 17341: $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
! 17342:
! 17343: if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
! 17344: :
! 17345: else
! 17346: lt_prog_compiler_static_GCJ=
! 17347: fi
! 17348:
! 17349:
! 17350: { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 17351: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 17352: if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
! 17353: $as_echo_n "(cached) " >&6
! 17354: else
! 17355: lt_cv_prog_compiler_c_o_GCJ=no
! 17356: $rm -r conftest 2>/dev/null
! 17357: mkdir conftest
! 17358: cd conftest
! 17359: mkdir out
! 17360: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 17361:
! 17362: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 17363: # Insert the option either (1) after the last *FLAGS variable, or
! 17364: # (2) before a word containing "conftest.", or (3) at the end.
! 17365: # Note that $ac_compile itself does not contain backslashes and begins
! 17366: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 17367: lt_compile=`echo "$ac_compile" | $SED \
! 17368: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 17369: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 17370: -e 's:$: $lt_compiler_flag:'`
! 17371: (eval echo "\"\$as_me:17371: $lt_compile\"" >&5)
! 17372: (eval "$lt_compile" 2>out/conftest.err)
! 17373: ac_status=$?
! 17374: cat out/conftest.err >&5
! 17375: echo "$as_me:17375: \$? = $ac_status" >&5
! 17376: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 17377: then
! 17378: # The compiler can only warn and ignore the option if not recognized
! 17379: # So say no if there are warnings
! 17380: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 17381: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 17382: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 17383: lt_cv_prog_compiler_c_o_GCJ=yes
! 17384: fi
! 17385: fi
! 17386: chmod u+w . 2>&5
! 17387: $rm conftest*
! 17388: # SGI C++ compiler will create directory out/ii_files/ for
! 17389: # template instantiation
! 17390: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 17391: $rm out/* && rmdir out
! 17392: cd ..
! 17393: rmdir conftest
! 17394: $rm conftest*
! 17395:
! 17396: fi
! 17397: { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
! 17398: $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
! 17399:
! 17400:
! 17401: hard_links="nottested"
! 17402: if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
! 17403: # do not overwrite the value of need_locks provided by the user
! 17404: { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 17405: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 17406: hard_links=yes
! 17407: $rm conftest*
! 17408: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 17409: touch conftest.a
! 17410: ln conftest.a conftest.b 2>&5 || hard_links=no
! 17411: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 17412: { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
! 17413: $as_echo "$hard_links" >&6; }
! 17414: if test "$hard_links" = no; then
! 17415: { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 17416: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 17417: need_locks=warn
! 17418: fi
! 17419: else
! 17420: need_locks=no
! 17421: fi
! 17422:
! 17423: { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 17424: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 17425:
! 17426: runpath_var=
! 17427: allow_undefined_flag_GCJ=
! 17428: enable_shared_with_static_runtimes_GCJ=no
! 17429: archive_cmds_GCJ=
! 17430: archive_expsym_cmds_GCJ=
! 17431: old_archive_From_new_cmds_GCJ=
! 17432: old_archive_from_expsyms_cmds_GCJ=
! 17433: export_dynamic_flag_spec_GCJ=
! 17434: whole_archive_flag_spec_GCJ=
! 17435: thread_safe_flag_spec_GCJ=
! 17436: hardcode_libdir_flag_spec_GCJ=
! 17437: hardcode_libdir_flag_spec_ld_GCJ=
! 17438: hardcode_libdir_separator_GCJ=
! 17439: hardcode_direct_GCJ=no
! 17440: hardcode_minus_L_GCJ=no
! 17441: hardcode_shlibpath_var_GCJ=unsupported
! 17442: link_all_deplibs_GCJ=unknown
! 17443: hardcode_automatic_GCJ=no
! 17444: module_cmds_GCJ=
! 17445: module_expsym_cmds_GCJ=
! 17446: always_export_symbols_GCJ=no
! 17447: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 17448: # include_expsyms should be a list of space-separated symbols to be *always*
! 17449: # included in the symbol list
! 17450: include_expsyms_GCJ=
! 17451: # exclude_expsyms can be an extended regexp of symbols to exclude
! 17452: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 17453: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 17454: # as well as any symbol that contains `d'.
! 17455: exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 17456: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 17457: # platforms (ab)use it in PIC code, but their linkers get confused if
! 17458: # the symbol is explicitly referenced. Since portable code cannot
! 17459: # rely on this symbol name, it's probably fine to never include it in
! 17460: # preloaded symbol tables.
! 17461: # Exclude shared library initialization/finalization symbols.
! 17462: extract_expsyms_cmds=
! 17463: # Just being paranoid about ensuring that cc_basename is set.
! 17464: for cc_temp in $compiler""; do
! 17465: case $cc_temp in
! 17466: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 17467: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 17468: \-*) ;;
! 17469: *) break;;
! 17470: esac
! 17471: done
! 17472: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 17473:
! 17474: case $host_os in
! 17475: cygwin* | mingw* | pw32*)
! 17476: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 17477: # When not using gcc, we currently assume that we are using
! 17478: # Microsoft Visual C++.
! 17479: if test "$GCC" != yes; then
! 17480: with_gnu_ld=no
! 17481: fi
! 17482: ;;
! 17483: interix*)
! 17484: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 17485: with_gnu_ld=yes
! 17486: ;;
! 17487: openbsd*)
! 17488: with_gnu_ld=no
! 17489: ;;
! 17490: esac
! 17491:
! 17492: ld_shlibs_GCJ=yes
! 17493: if test "$with_gnu_ld" = yes; then
! 17494: # If archive_cmds runs LD, not CC, wlarc should be empty
! 17495: wlarc='${wl}'
! 17496:
! 17497: # Set some defaults for GNU ld with shared library support. These
! 17498: # are reset later if shared libraries are not supported. Putting them
! 17499: # here allows them to be overridden if necessary.
! 17500: runpath_var=LD_RUN_PATH
! 17501: hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
! 17502: export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
! 17503: # ancient GNU ld didn't support --whole-archive et. al.
! 17504: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 17505: whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 17506: else
! 17507: whole_archive_flag_spec_GCJ=
! 17508: fi
! 17509: supports_anon_versioning=no
! 17510: case `$LD -v 2>/dev/null` in
! 17511: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 17512: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 17513: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 17514: *\ 2.11.*) ;; # other 2.11 versions
! 17515: *) supports_anon_versioning=yes ;;
! 17516: esac
! 17517:
! 17518: # See if GNU ld supports shared libraries.
! 17519: case $host_os in
! 17520: aix[3-9]*)
! 17521: # On AIX/PPC, the GNU linker is very broken
! 17522: if test "$host_cpu" != ia64; then
! 17523: ld_shlibs_GCJ=no
! 17524: cat <<EOF 1>&2
! 17525:
! 17526: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 17527: *** to be unable to reliably create shared libraries on AIX.
! 17528: *** Therefore, libtool is disabling shared libraries support. If you
! 17529: *** really care for shared libraries, you may want to modify your PATH
! 17530: *** so that a non-GNU linker is found, and then restart.
! 17531:
! 17532: EOF
! 17533: fi
! 17534: ;;
! 17535:
! 17536: amigaos*)
! 17537: 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)'
! 17538: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17539: hardcode_minus_L_GCJ=yes
! 17540:
! 17541: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 17542: # that the semantics of dynamic libraries on AmigaOS, at least up
! 17543: # to version 4, is to share data among multiple programs linked
! 17544: # with the same dynamic library. Since this doesn't match the
! 17545: # behavior of shared libraries on other platforms, we can't use
! 17546: # them.
! 17547: ld_shlibs_GCJ=no
! 17548: ;;
! 17549:
! 17550: beos*)
! 17551: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17552: allow_undefined_flag_GCJ=unsupported
! 17553: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 17554: # support --undefined. This deserves some investigation. FIXME
! 17555: archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17556: else
! 17557: ld_shlibs_GCJ=no
! 17558: fi
! 17559: ;;
! 17560:
! 17561: cygwin* | mingw* | pw32*)
! 17562: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
! 17563: # as there is no search path for DLLs.
! 17564: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17565: allow_undefined_flag_GCJ=unsupported
! 17566: always_export_symbols_GCJ=no
! 17567: enable_shared_with_static_runtimes_GCJ=yes
! 17568: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 17569:
! 17570: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 17571: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 17572: # If the export-symbols file already is a .def file (1st line
! 17573: # is EXPORTS), use it as is; otherwise, prepend...
! 17574: archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 17575: cp $export_symbols $output_objdir/$soname.def;
! 17576: else
! 17577: echo EXPORTS > $output_objdir/$soname.def;
! 17578: cat $export_symbols >> $output_objdir/$soname.def;
! 17579: fi~
! 17580: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 17581: else
! 17582: ld_shlibs_GCJ=no
! 17583: fi
! 17584: ;;
! 17585:
! 17586: interix[3-9]*)
! 17587: hardcode_direct_GCJ=no
! 17588: hardcode_shlibpath_var_GCJ=no
! 17589: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 17590: export_dynamic_flag_spec_GCJ='${wl}-E'
! 17591: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 17592: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 17593: # default) and relocated if they conflict, which is a slow very memory
! 17594: # consuming and fragmenting process. To avoid this, we pick a random,
! 17595: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 17596: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 17597: 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'
! 17598: 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'
! 17599: ;;
! 17600:
! 17601: gnu* | linux* | k*bsd*-gnu)
! 17602: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17603: tmp_addflag=
! 17604: case $cc_basename,$host_cpu in
! 17605: pgcc*) # Portland Group C compiler
! 17606: 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'
! 17607: tmp_addflag=' $pic_flag'
! 17608: ;;
! 17609: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 17610: 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'
! 17611: tmp_addflag=' $pic_flag -Mnomain' ;;
! 17612: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 17613: tmp_addflag=' -i_dynamic' ;;
! 17614: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 17615: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 17616: ifc* | ifort*) # Intel Fortran compiler
! 17617: tmp_addflag=' -nofor_main' ;;
! 17618: esac
! 17619: case `$CC -V 2>&1 | sed 5q` in
! 17620: *Sun\ C*) # Sun C 5.9
! 17621: 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'
! 17622: tmp_sharedflag='-G' ;;
! 17623: *Sun\ F*) # Sun Fortran 8.3
! 17624: tmp_sharedflag='-G' ;;
! 17625: *)
! 17626: tmp_sharedflag='-shared' ;;
! 17627: esac
! 17628: archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17629:
! 17630: if test $supports_anon_versioning = yes; then
! 17631: archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
! 17632: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 17633: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 17634: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 17635: fi
! 17636: link_all_deplibs_GCJ=no
! 17637: else
! 17638: ld_shlibs_GCJ=no
! 17639: fi
! 17640: ;;
! 17641:
! 17642: netbsd* | netbsdelf*-gnu)
! 17643: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 17644: archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 17645: wlarc=
! 17646: else
! 17647: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17648: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17649: fi
! 17650: ;;
! 17651:
! 17652: solaris*)
! 17653: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 17654: ld_shlibs_GCJ=no
! 17655: cat <<EOF 1>&2
! 17656:
! 17657: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 17658: *** create shared libraries on Solaris systems. Therefore, libtool
! 17659: *** is disabling shared libraries support. We urge you to upgrade GNU
! 17660: *** binutils to release 2.9.1 or newer. Another option is to modify
! 17661: *** your PATH or compiler configuration so that the native linker is
! 17662: *** used, and then restart.
! 17663:
! 17664: EOF
! 17665: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17666: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17667: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17668: else
! 17669: ld_shlibs_GCJ=no
! 17670: fi
! 17671: ;;
! 17672:
! 17673: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 17674: case `$LD -v 2>&1` in
! 17675: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 17676: ld_shlibs_GCJ=no
! 17677: cat <<_LT_EOF 1>&2
! 17678:
! 17679: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 17680: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 17681: *** is disabling shared libraries support. We urge you to upgrade GNU
! 17682: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 17683: *** your PATH or compiler configuration so that the native linker is
! 17684: *** used, and then restart.
! 17685:
! 17686: _LT_EOF
! 17687: ;;
! 17688: *)
! 17689: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17690: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 17691: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 17692: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 17693: else
! 17694: ld_shlibs_GCJ=no
! 17695: fi
! 17696: ;;
! 17697: esac
! 17698: ;;
! 17699:
! 17700: sunos4*)
! 17701: archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 17702: wlarc=
! 17703: hardcode_direct_GCJ=yes
! 17704: hardcode_shlibpath_var_GCJ=no
! 17705: ;;
! 17706:
! 17707: *)
! 17708: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 17709: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 17710: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 17711: else
! 17712: ld_shlibs_GCJ=no
! 17713: fi
! 17714: ;;
! 17715: esac
! 17716:
! 17717: if test "$ld_shlibs_GCJ" = no; then
! 17718: runpath_var=
! 17719: hardcode_libdir_flag_spec_GCJ=
! 17720: export_dynamic_flag_spec_GCJ=
! 17721: whole_archive_flag_spec_GCJ=
! 17722: fi
! 17723: else
! 17724: # PORTME fill in a description of your system's linker (not GNU ld)
! 17725: case $host_os in
! 17726: aix3*)
! 17727: allow_undefined_flag_GCJ=unsupported
! 17728: always_export_symbols_GCJ=yes
! 17729: 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'
! 17730: # Note: this linker hardcodes the directories in LIBPATH if there
! 17731: # are no directories specified by -L.
! 17732: hardcode_minus_L_GCJ=yes
! 17733: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 17734: # Neither direct hardcoding nor static linking is supported with a
! 17735: # broken collect2.
! 17736: hardcode_direct_GCJ=unsupported
! 17737: fi
! 17738: ;;
! 17739:
! 17740: aix[4-9]*)
! 17741: if test "$host_cpu" = ia64; then
! 17742: # On IA64, the linker does run time linking by default, so we don't
! 17743: # have to do anything special.
! 17744: aix_use_runtimelinking=no
! 17745: exp_sym_flag='-Bexport'
! 17746: no_entry_flag=""
! 17747: else
! 17748: # If we're using GNU nm, then we don't want the "-C" option.
! 17749: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 17750: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 17751: 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'
! 17752: else
! 17753: 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'
! 17754: fi
! 17755: aix_use_runtimelinking=no
! 17756:
! 17757: # Test if we are trying to use run time linking or normal
! 17758: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 17759: # need to do runtime linking.
! 17760: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 17761: for ld_flag in $LDFLAGS; do
! 17762: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 17763: aix_use_runtimelinking=yes
! 17764: break
! 17765: fi
! 17766: done
! 17767: ;;
! 17768: esac
! 17769:
! 17770: exp_sym_flag='-bexport'
! 17771: no_entry_flag='-bnoentry'
! 17772: fi
! 17773:
! 17774: # When large executables or shared objects are built, AIX ld can
! 17775: # have problems creating the table of contents. If linking a library
! 17776: # or program results in "error TOC overflow" add -mminimal-toc to
! 17777: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 17778: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 17779:
! 17780: archive_cmds_GCJ=''
! 17781: hardcode_direct_GCJ=yes
! 17782: hardcode_libdir_separator_GCJ=':'
! 17783: link_all_deplibs_GCJ=yes
! 17784:
! 17785: if test "$GCC" = yes; then
! 17786: case $host_os in aix4.[012]|aix4.[012].*)
! 17787: # We only want to do this on AIX 4.2 and lower, the check
! 17788: # below for broken collect2 doesn't work under 4.3+
! 17789: collect2name=`${CC} -print-prog-name=collect2`
! 17790: if test -f "$collect2name" && \
! 17791: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 17792: then
! 17793: # We have reworked collect2
! 17794: :
! 17795: else
! 17796: # We have old collect2
! 17797: hardcode_direct_GCJ=unsupported
! 17798: # It fails to find uninstalled libraries when the uninstalled
! 17799: # path is not listed in the libpath. Setting hardcode_minus_L
! 17800: # to unsupported forces relinking
! 17801: hardcode_minus_L_GCJ=yes
! 17802: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17803: hardcode_libdir_separator_GCJ=
! 17804: fi
! 17805: ;;
! 17806: esac
! 17807: shared_flag='-shared'
! 17808: if test "$aix_use_runtimelinking" = yes; then
! 17809: shared_flag="$shared_flag "'${wl}-G'
! 17810: fi
! 17811: else
! 17812: # not using gcc
! 17813: if test "$host_cpu" = ia64; then
! 17814: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 17815: # chokes on -Wl,-G. The following line is correct:
! 17816: shared_flag='-G'
! 17817: else
! 17818: if test "$aix_use_runtimelinking" = yes; then
! 17819: shared_flag='${wl}-G'
! 17820: else
! 17821: shared_flag='${wl}-bM:SRE'
! 17822: fi
! 17823: fi
! 17824: fi
! 17825:
! 17826: # It seems that -bexpall does not export symbols beginning with
! 17827: # underscore (_), so it is better to generate a list of symbols to export.
! 17828: always_export_symbols_GCJ=yes
! 17829: if test "$aix_use_runtimelinking" = yes; then
! 17830: # Warning - without using the other runtime loading flags (-brtl),
! 17831: # -berok will link without error, but may produce a broken library.
! 17832: allow_undefined_flag_GCJ='-berok'
! 17833: # Determine the default libpath from the value encoded in an empty executable.
! 17834: cat >conftest.$ac_ext <<_ACEOF
! 17835: /* confdefs.h. */
! 17836: _ACEOF
! 17837: cat confdefs.h >>conftest.$ac_ext
! 17838: cat >>conftest.$ac_ext <<_ACEOF
! 17839: /* end confdefs.h. */
! 17840:
! 17841: int
! 17842: main ()
! 17843: {
! 17844:
! 17845: ;
! 17846: return 0;
! 17847: }
! 17848: _ACEOF
! 17849: rm -f conftest.$ac_objext conftest$ac_exeext
! 17850: if { (ac_try="$ac_link"
! 17851: case "(($ac_try" in
! 17852: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 17853: *) ac_try_echo=$ac_try;;
! 17854: esac
! 17855: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 17856: $as_echo "$ac_try_echo") >&5
! 17857: (eval "$ac_link") 2>conftest.er1
! 17858: ac_status=$?
! 17859: grep -v '^ *+' conftest.er1 >conftest.err
! 17860: rm -f conftest.er1
! 17861: cat conftest.err >&5
! 17862: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17863: (exit $ac_status); } && {
! 17864: test -z "$ac_c_werror_flag" ||
! 17865: test ! -s conftest.err
! 17866: } && test -s conftest$ac_exeext && {
! 17867: test "$cross_compiling" = yes ||
! 17868: $as_test_x conftest$ac_exeext
! 17869: }; then
! 17870:
! 17871: lt_aix_libpath_sed='
! 17872: /Import File Strings/,/^$/ {
! 17873: /^0/ {
! 17874: s/^0 *\(.*\)$/\1/
! 17875: p
! 17876: }
! 17877: }'
! 17878: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17879: # Check for a 64-bit object if we didn't find anything.
! 17880: if test -z "$aix_libpath"; then
! 17881: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17882: fi
! 17883: else
! 17884: $as_echo "$as_me: failed program was:" >&5
! 17885: sed 's/^/| /' conftest.$ac_ext >&5
! 17886:
! 17887:
! 17888: fi
! 17889:
! 17890: rm -rf conftest.dSYM
! 17891: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 17892: conftest$ac_exeext conftest.$ac_ext
! 17893: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 17894:
! 17895: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 17896: 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"
! 17897: else
! 17898: if test "$host_cpu" = ia64; then
! 17899: hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
! 17900: allow_undefined_flag_GCJ="-z nodefs"
! 17901: 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"
! 17902: else
! 17903: # Determine the default libpath from the value encoded in an empty executable.
! 17904: cat >conftest.$ac_ext <<_ACEOF
! 17905: /* confdefs.h. */
! 17906: _ACEOF
! 17907: cat confdefs.h >>conftest.$ac_ext
! 17908: cat >>conftest.$ac_ext <<_ACEOF
! 17909: /* end confdefs.h. */
! 17910:
! 17911: int
! 17912: main ()
! 17913: {
! 17914:
! 17915: ;
! 17916: return 0;
! 17917: }
! 17918: _ACEOF
! 17919: rm -f conftest.$ac_objext conftest$ac_exeext
! 17920: if { (ac_try="$ac_link"
! 17921: case "(($ac_try" in
! 17922: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 17923: *) ac_try_echo=$ac_try;;
! 17924: esac
! 17925: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 17926: $as_echo "$ac_try_echo") >&5
! 17927: (eval "$ac_link") 2>conftest.er1
! 17928: ac_status=$?
! 17929: grep -v '^ *+' conftest.er1 >conftest.err
! 17930: rm -f conftest.er1
! 17931: cat conftest.err >&5
! 17932: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17933: (exit $ac_status); } && {
! 17934: test -z "$ac_c_werror_flag" ||
! 17935: test ! -s conftest.err
! 17936: } && test -s conftest$ac_exeext && {
! 17937: test "$cross_compiling" = yes ||
! 17938: $as_test_x conftest$ac_exeext
! 17939: }; then
! 17940:
! 17941: lt_aix_libpath_sed='
! 17942: /Import File Strings/,/^$/ {
! 17943: /^0/ {
! 17944: s/^0 *\(.*\)$/\1/
! 17945: p
! 17946: }
! 17947: }'
! 17948: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17949: # Check for a 64-bit object if we didn't find anything.
! 17950: if test -z "$aix_libpath"; then
! 17951: aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 17952: fi
! 17953: else
! 17954: $as_echo "$as_me: failed program was:" >&5
! 17955: sed 's/^/| /' conftest.$ac_ext >&5
! 17956:
! 17957:
! 17958: fi
! 17959:
! 17960: rm -rf conftest.dSYM
! 17961: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 17962: conftest$ac_exeext conftest.$ac_ext
! 17963: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 17964:
! 17965: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 17966: # Warning - without using the other run time loading flags,
! 17967: # -berok will link without error, but may produce a broken library.
! 17968: no_undefined_flag_GCJ=' ${wl}-bernotok'
! 17969: allow_undefined_flag_GCJ=' ${wl}-berok'
! 17970: # Exported symbols can be pulled into shared objects from archives
! 17971: whole_archive_flag_spec_GCJ='$convenience'
! 17972: archive_cmds_need_lc_GCJ=yes
! 17973: # This is similar to how AIX traditionally builds its shared libraries.
! 17974: 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'
! 17975: fi
! 17976: fi
! 17977: ;;
! 17978:
! 17979: amigaos*)
! 17980: 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)'
! 17981: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 17982: hardcode_minus_L_GCJ=yes
! 17983: # see comment about different semantics on the GNU ld section
! 17984: ld_shlibs_GCJ=no
! 17985: ;;
! 17986:
! 17987: bsdi[45]*)
! 17988: export_dynamic_flag_spec_GCJ=-rdynamic
! 17989: ;;
! 17990:
! 17991: cygwin* | mingw* | pw32*)
! 17992: # When not using gcc, we currently assume that we are using
! 17993: # Microsoft Visual C++.
! 17994: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 17995: # no search path for DLLs.
! 17996: hardcode_libdir_flag_spec_GCJ=' '
! 17997: allow_undefined_flag_GCJ=unsupported
! 17998: # Tell ltmain to make .lib files, not .a files.
! 17999: libext=lib
! 18000: # Tell ltmain to make .dll files, not .so files.
! 18001: shrext_cmds=".dll"
! 18002: # FIXME: Setting linknames here is a bad hack.
! 18003: archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 18004: # The linker will automatically build a .lib file if we build a DLL.
! 18005: old_archive_From_new_cmds_GCJ='true'
! 18006: # FIXME: Should let the user specify the lib program.
! 18007: old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 18008: fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
! 18009: enable_shared_with_static_runtimes_GCJ=yes
! 18010: ;;
! 18011:
! 18012: darwin* | rhapsody*)
! 18013: case $host_os in
! 18014: rhapsody* | darwin1.[012])
! 18015: allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
! 18016: ;;
! 18017: *) # Darwin 1.3 on
! 18018: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 18019: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 18020: else
! 18021: case ${MACOSX_DEPLOYMENT_TARGET} in
! 18022: 10.[012])
! 18023: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 18024: ;;
! 18025: 10.*)
! 18026: allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
! 18027: ;;
! 18028: esac
! 18029: fi
! 18030: ;;
! 18031: esac
! 18032: archive_cmds_need_lc_GCJ=no
! 18033: hardcode_direct_GCJ=no
! 18034: hardcode_automatic_GCJ=yes
! 18035: hardcode_shlibpath_var_GCJ=unsupported
! 18036: whole_archive_flag_spec_GCJ=''
! 18037: link_all_deplibs_GCJ=yes
! 18038: if test "$GCC" = yes ; then
! 18039: output_verbose_link_cmd='echo'
! 18040: 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}"
! 18041: module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 18042: 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}"
! 18043: 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}"
! 18044: else
! 18045: case $cc_basename in
! 18046: xlc*)
! 18047: output_verbose_link_cmd='echo'
! 18048: archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
! 18049: module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 18050: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 18051: 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}'
! 18052: 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}'
! 18053: ;;
! 18054: *)
! 18055: ld_shlibs_GCJ=no
! 18056: ;;
! 18057: esac
! 18058: fi
! 18059: ;;
! 18060:
! 18061: dgux*)
! 18062: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18063: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18064: hardcode_shlibpath_var_GCJ=no
! 18065: ;;
! 18066:
! 18067: freebsd1*)
! 18068: ld_shlibs_GCJ=no
! 18069: ;;
! 18070:
! 18071: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 18072: # support. Future versions do this automatically, but an explicit c++rt0.o
! 18073: # does not break anything, and helps significantly (at the cost of a little
! 18074: # extra space).
! 18075: freebsd2.2*)
! 18076: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 18077: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18078: hardcode_direct_GCJ=yes
! 18079: hardcode_shlibpath_var_GCJ=no
! 18080: ;;
! 18081:
! 18082: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 18083: freebsd2*)
! 18084: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 18085: hardcode_direct_GCJ=yes
! 18086: hardcode_minus_L_GCJ=yes
! 18087: hardcode_shlibpath_var_GCJ=no
! 18088: ;;
! 18089:
! 18090: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 18091: freebsd* | dragonfly*)
! 18092: archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 18093: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18094: hardcode_direct_GCJ=yes
! 18095: hardcode_shlibpath_var_GCJ=no
! 18096: ;;
! 18097:
! 18098: hpux9*)
! 18099: if test "$GCC" = yes; then
! 18100: 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'
! 18101: else
! 18102: 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'
! 18103: fi
! 18104: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18105: hardcode_libdir_separator_GCJ=:
! 18106: hardcode_direct_GCJ=yes
! 18107:
! 18108: # hardcode_minus_L: Not really in the search PATH,
! 18109: # but as the default location of the library.
! 18110: hardcode_minus_L_GCJ=yes
! 18111: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18112: ;;
! 18113:
! 18114: hpux10*)
! 18115: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 18116: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18117: else
! 18118: archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 18119: fi
! 18120: if test "$with_gnu_ld" = no; then
! 18121: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18122: hardcode_libdir_separator_GCJ=:
! 18123:
! 18124: hardcode_direct_GCJ=yes
! 18125: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18126:
! 18127: # hardcode_minus_L: Not really in the search PATH,
! 18128: # but as the default location of the library.
! 18129: hardcode_minus_L_GCJ=yes
! 18130: fi
! 18131: ;;
! 18132:
! 18133: hpux11*)
! 18134: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 18135: case $host_cpu in
! 18136: hppa*64*)
! 18137: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18138: ;;
! 18139: ia64*)
! 18140: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 18141: ;;
! 18142: *)
! 18143: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18144: ;;
! 18145: esac
! 18146: else
! 18147: case $host_cpu in
! 18148: hppa*64*)
! 18149: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18150: ;;
! 18151: ia64*)
! 18152: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 18153: ;;
! 18154: *)
! 18155: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 18156: ;;
! 18157: esac
! 18158: fi
! 18159: if test "$with_gnu_ld" = no; then
! 18160: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 18161: hardcode_libdir_separator_GCJ=:
! 18162:
! 18163: case $host_cpu in
! 18164: hppa*64*|ia64*)
! 18165: hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
! 18166: hardcode_direct_GCJ=no
! 18167: hardcode_shlibpath_var_GCJ=no
! 18168: ;;
! 18169: *)
! 18170: hardcode_direct_GCJ=yes
! 18171: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18172:
! 18173: # hardcode_minus_L: Not really in the search PATH,
! 18174: # but as the default location of the library.
! 18175: hardcode_minus_L_GCJ=yes
! 18176: ;;
! 18177: esac
! 18178: fi
! 18179: ;;
! 18180:
! 18181: irix5* | irix6* | nonstopux*)
! 18182: if test "$GCC" = yes; then
! 18183: 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'
! 18184: else
! 18185: 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'
! 18186: hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
! 18187: fi
! 18188: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18189: hardcode_libdir_separator_GCJ=:
! 18190: link_all_deplibs_GCJ=yes
! 18191: ;;
! 18192:
! 18193: netbsd* | netbsdelf*-gnu)
! 18194: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 18195: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 18196: else
! 18197: archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 18198: fi
! 18199: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18200: hardcode_direct_GCJ=yes
! 18201: hardcode_shlibpath_var_GCJ=no
! 18202: ;;
! 18203:
! 18204: newsos6)
! 18205: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18206: hardcode_direct_GCJ=yes
! 18207: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18208: hardcode_libdir_separator_GCJ=:
! 18209: hardcode_shlibpath_var_GCJ=no
! 18210: ;;
! 18211:
! 18212: openbsd*)
! 18213: if test -f /usr/libexec/ld.so; then
! 18214: hardcode_direct_GCJ=yes
! 18215: hardcode_shlibpath_var_GCJ=no
! 18216: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 18217: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 18218: archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 18219: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 18220: export_dynamic_flag_spec_GCJ='${wl}-E'
! 18221: else
! 18222: case $host_os in
! 18223: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 18224: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 18225: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18226: ;;
! 18227: *)
! 18228: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 18229: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 18230: ;;
! 18231: esac
! 18232: fi
! 18233: else
! 18234: ld_shlibs_GCJ=no
! 18235: fi
! 18236: ;;
! 18237:
! 18238: os2*)
! 18239: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18240: hardcode_minus_L_GCJ=yes
! 18241: allow_undefined_flag_GCJ=unsupported
! 18242: 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'
! 18243: old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 18244: ;;
! 18245:
! 18246: osf3*)
! 18247: if test "$GCC" = yes; then
! 18248: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 18249: 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'
! 18250: else
! 18251: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 18252: 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'
! 18253: fi
! 18254: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18255: hardcode_libdir_separator_GCJ=:
! 18256: ;;
! 18257:
! 18258: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 18259: if test "$GCC" = yes; then
! 18260: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 18261: 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'
! 18262: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 18263: else
! 18264: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 18265: 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'
! 18266: 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~
! 18267: $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'
! 18268:
! 18269: # Both c and cxx compiler support -rpath directly
! 18270: hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
! 18271: fi
! 18272: hardcode_libdir_separator_GCJ=:
! 18273: ;;
! 18274:
! 18275: solaris*)
! 18276: no_undefined_flag_GCJ=' -z text'
! 18277: if test "$GCC" = yes; then
! 18278: wlarc='${wl}'
! 18279: archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18280: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 18281: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 18282: else
! 18283: wlarc=''
! 18284: archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18285: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 18286: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 18287: fi
! 18288: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 18289: hardcode_shlibpath_var_GCJ=no
! 18290: case $host_os in
! 18291: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 18292: *)
! 18293: # The compiler driver will combine and reorder linker options,
! 18294: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 18295: # but is careful enough not to reorder.
! 18296: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 18297: if test "$GCC" = yes; then
! 18298: whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 18299: else
! 18300: whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
! 18301: fi
! 18302: ;;
! 18303: esac
! 18304: link_all_deplibs_GCJ=yes
! 18305: ;;
! 18306:
! 18307: sunos4*)
! 18308: if test "x$host_vendor" = xsequent; then
! 18309: # Use $CC to link under sequent, because it throws in some extra .o
! 18310: # files that make .init and .fini sections work.
! 18311: archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 18312: else
! 18313: archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 18314: fi
! 18315: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18316: hardcode_direct_GCJ=yes
! 18317: hardcode_minus_L_GCJ=yes
! 18318: hardcode_shlibpath_var_GCJ=no
! 18319: ;;
! 18320:
! 18321: sysv4)
! 18322: case $host_vendor in
! 18323: sni)
! 18324: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18325: hardcode_direct_GCJ=yes # is this really true???
! 18326: ;;
! 18327: siemens)
! 18328: ## LD is ld it makes a PLAMLIB
! 18329: ## CC just makes a GrossModule.
! 18330: archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 18331: reload_cmds_GCJ='$CC -r -o $output$reload_objs'
! 18332: hardcode_direct_GCJ=no
! 18333: ;;
! 18334: motorola)
! 18335: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18336: hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
! 18337: ;;
! 18338: esac
! 18339: runpath_var='LD_RUN_PATH'
! 18340: hardcode_shlibpath_var_GCJ=no
! 18341: ;;
! 18342:
! 18343: sysv4.3*)
! 18344: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18345: hardcode_shlibpath_var_GCJ=no
! 18346: export_dynamic_flag_spec_GCJ='-Bexport'
! 18347: ;;
! 18348:
! 18349: sysv4*MP*)
! 18350: if test -d /usr/nec; then
! 18351: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18352: hardcode_shlibpath_var_GCJ=no
! 18353: runpath_var=LD_RUN_PATH
! 18354: hardcode_runpath_var=yes
! 18355: ld_shlibs_GCJ=yes
! 18356: fi
! 18357: ;;
! 18358:
! 18359: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 18360: no_undefined_flag_GCJ='${wl}-z,text'
! 18361: archive_cmds_need_lc_GCJ=no
! 18362: hardcode_shlibpath_var_GCJ=no
! 18363: runpath_var='LD_RUN_PATH'
! 18364:
! 18365: if test "$GCC" = yes; then
! 18366: archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18367: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18368: else
! 18369: archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18370: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18371: fi
! 18372: ;;
! 18373:
! 18374: sysv5* | sco3.2v5* | sco5v6*)
! 18375: # Note: We can NOT use -z defs as we might desire, because we do not
! 18376: # link with -lc, and that would cause any symbols used from libc to
! 18377: # always be unresolved, which means just about no library would
! 18378: # ever link correctly. If we're not using GNU ld we use -z text
! 18379: # though, which does catch some bad symbols but isn't as heavy-handed
! 18380: # as -z defs.
! 18381: no_undefined_flag_GCJ='${wl}-z,text'
! 18382: allow_undefined_flag_GCJ='${wl}-z,nodefs'
! 18383: archive_cmds_need_lc_GCJ=no
! 18384: hardcode_shlibpath_var_GCJ=no
! 18385: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 18386: hardcode_libdir_separator_GCJ=':'
! 18387: link_all_deplibs_GCJ=yes
! 18388: export_dynamic_flag_spec_GCJ='${wl}-Bexport'
! 18389: runpath_var='LD_RUN_PATH'
! 18390:
! 18391: if test "$GCC" = yes; then
! 18392: archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18393: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18394: else
! 18395: archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18396: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 18397: fi
! 18398: ;;
! 18399:
! 18400: uts4*)
! 18401: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 18402: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 18403: hardcode_shlibpath_var_GCJ=no
! 18404: ;;
! 18405:
! 18406: *)
! 18407: ld_shlibs_GCJ=no
! 18408: ;;
! 18409: esac
! 18410: fi
! 18411:
! 18412: { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
! 18413: $as_echo "$ld_shlibs_GCJ" >&6; }
! 18414: test "$ld_shlibs_GCJ" = no && can_build_shared=no
! 18415:
! 18416: #
! 18417: # Do we need to explicitly link libc?
! 18418: #
! 18419: case "x$archive_cmds_need_lc_GCJ" in
! 18420: x|xyes)
! 18421: # Assume -lc should be added
! 18422: archive_cmds_need_lc_GCJ=yes
! 18423:
! 18424: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 18425: case $archive_cmds_GCJ in
! 18426: *'~'*)
! 18427: # FIXME: we may have to deal with multi-command sequences.
! 18428: ;;
! 18429: '$CC '*)
! 18430: # Test whether the compiler implicitly links with -lc since on some
! 18431: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 18432: # to ld, don't add -lc before -lgcc.
! 18433: { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 18434: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 18435: $rm conftest*
! 18436: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 18437:
! 18438: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 18439: (eval $ac_compile) 2>&5
! 18440: ac_status=$?
! 18441: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18442: (exit $ac_status); } 2>conftest.err; then
! 18443: soname=conftest
! 18444: lib=conftest
! 18445: libobjs=conftest.$ac_objext
! 18446: deplibs=
! 18447: wl=$lt_prog_compiler_wl_GCJ
! 18448: pic_flag=$lt_prog_compiler_pic_GCJ
! 18449: compiler_flags=-v
! 18450: linker_flags=-v
! 18451: verstring=
! 18452: output_objdir=.
! 18453: libname=conftest
! 18454: lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
! 18455: allow_undefined_flag_GCJ=
! 18456: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 18457: (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 18458: ac_status=$?
! 18459: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18460: (exit $ac_status); }
! 18461: then
! 18462: archive_cmds_need_lc_GCJ=no
! 18463: else
! 18464: archive_cmds_need_lc_GCJ=yes
! 18465: fi
! 18466: allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
! 18467: else
! 18468: cat conftest.err 1>&5
! 18469: fi
! 18470: $rm conftest*
! 18471: { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
! 18472: $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
! 18473: ;;
! 18474: esac
! 18475: fi
! 18476: ;;
! 18477: esac
! 18478:
! 18479: { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 18480: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 18481: library_names_spec=
! 18482: libname_spec='lib$name'
! 18483: soname_spec=
! 18484: shrext_cmds=".so"
! 18485: postinstall_cmds=
! 18486: postuninstall_cmds=
! 18487: finish_cmds=
! 18488: finish_eval=
! 18489: shlibpath_var=
! 18490: shlibpath_overrides_runpath=unknown
! 18491: version_type=none
! 18492: dynamic_linker="$host_os ld.so"
! 18493: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 18494:
! 18495: need_lib_prefix=unknown
! 18496: hardcode_into_libs=no
! 18497:
! 18498: # when you set need_version to no, make sure it does not cause -set_version
! 18499: # flags to be left without arguments
! 18500: need_version=unknown
! 18501:
! 18502: case $host_os in
! 18503: aix3*)
! 18504: version_type=linux
! 18505: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 18506: shlibpath_var=LIBPATH
! 18507:
! 18508: # AIX 3 has no versioning support, so we append a major version to the name.
! 18509: soname_spec='${libname}${release}${shared_ext}$major'
! 18510: ;;
! 18511:
! 18512: aix[4-9]*)
! 18513: version_type=linux
! 18514: need_lib_prefix=no
! 18515: need_version=no
! 18516: hardcode_into_libs=yes
! 18517: if test "$host_cpu" = ia64; then
! 18518: # AIX 5 supports IA64
! 18519: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 18520: shlibpath_var=LD_LIBRARY_PATH
! 18521: else
! 18522: # With GCC up to 2.95.x, collect2 would create an import file
! 18523: # for dependence libraries. The import file would start with
! 18524: # the line `#! .'. This would cause the generated library to
! 18525: # depend on `.', always an invalid library. This was fixed in
! 18526: # development snapshots of GCC prior to 3.0.
! 18527: case $host_os in
! 18528: aix4 | aix4.[01] | aix4.[01].*)
! 18529: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 18530: echo ' yes '
! 18531: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 18532: :
! 18533: else
! 18534: can_build_shared=no
! 18535: fi
! 18536: ;;
! 18537: esac
! 18538: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 18539: # soname into executable. Probably we can add versioning support to
! 18540: # collect2, so additional links can be useful in future.
! 18541: if test "$aix_use_runtimelinking" = yes; then
! 18542: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 18543: # instead of lib<name>.a to let people know that these are not
! 18544: # typical AIX shared libraries.
! 18545: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18546: else
! 18547: # We preserve .a as extension for shared libraries through AIX4.2
! 18548: # and later when we are not doing run time linking.
! 18549: library_names_spec='${libname}${release}.a $libname.a'
! 18550: soname_spec='${libname}${release}${shared_ext}$major'
! 18551: fi
! 18552: shlibpath_var=LIBPATH
! 18553: fi
! 18554: ;;
! 18555:
! 18556: amigaos*)
! 18557: library_names_spec='$libname.ixlibrary $libname.a'
! 18558: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 18559: 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'
! 18560: ;;
! 18561:
! 18562: beos*)
! 18563: library_names_spec='${libname}${shared_ext}'
! 18564: dynamic_linker="$host_os ld.so"
! 18565: shlibpath_var=LIBRARY_PATH
! 18566: ;;
! 18567:
! 18568: bsdi[45]*)
! 18569: version_type=linux
! 18570: need_version=no
! 18571: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18572: soname_spec='${libname}${release}${shared_ext}$major'
! 18573: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 18574: shlibpath_var=LD_LIBRARY_PATH
! 18575: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 18576: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 18577: # the default ld.so.conf also contains /usr/contrib/lib and
! 18578: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 18579: # libtool to hard-code these into programs
! 18580: ;;
! 18581:
! 18582: cygwin* | mingw* | pw32*)
! 18583: version_type=windows
! 18584: shrext_cmds=".dll"
! 18585: need_version=no
! 18586: need_lib_prefix=no
! 18587:
! 18588: case $GCC,$host_os in
! 18589: yes,cygwin* | yes,mingw* | yes,pw32*)
! 18590: library_names_spec='$libname.dll.a'
! 18591: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 18592: postinstall_cmds='base_file=`basename \${file}`~
! 18593: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 18594: dldir=$destdir/`dirname \$dlpath`~
! 18595: test -d \$dldir || mkdir -p \$dldir~
! 18596: $install_prog $dir/$dlname \$dldir/$dlname~
! 18597: chmod a+x \$dldir/$dlname'
! 18598: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 18599: dlpath=$dir/\$dldll~
! 18600: $rm \$dlpath'
! 18601: shlibpath_overrides_runpath=yes
! 18602:
! 18603: case $host_os in
! 18604: cygwin*)
! 18605: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 18606: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18607: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 18608: ;;
! 18609: mingw*)
! 18610: # MinGW DLLs use traditional 'lib' prefix
! 18611: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18612: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 18613: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 18614: # It is most probably a Windows format PATH printed by
! 18615: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 18616: # path with ; separators, and with drive letters. We can handle the
! 18617: # drive letters (cygwin fileutils understands them), so leave them,
! 18618: # especially as we might pass files found there to a mingw objdump,
! 18619: # which wouldn't understand a cygwinified path. Ahh.
! 18620: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 18621: else
! 18622: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 18623: fi
! 18624: ;;
! 18625: pw32*)
! 18626: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 18627: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 18628: ;;
! 18629: esac
! 18630: ;;
! 18631:
! 18632: *)
! 18633: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 18634: ;;
! 18635: esac
! 18636: dynamic_linker='Win32 ld.exe'
! 18637: # FIXME: first we should search . and the directory the executable is in
! 18638: shlibpath_var=PATH
! 18639: ;;
! 18640:
! 18641: darwin* | rhapsody*)
! 18642: dynamic_linker="$host_os dyld"
! 18643: version_type=darwin
! 18644: need_lib_prefix=no
! 18645: need_version=no
! 18646: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 18647: soname_spec='${libname}${release}${major}$shared_ext'
! 18648: shlibpath_overrides_runpath=yes
! 18649: shlibpath_var=DYLD_LIBRARY_PATH
! 18650: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 18651:
! 18652: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 18653: ;;
! 18654:
! 18655: dgux*)
! 18656: version_type=linux
! 18657: need_lib_prefix=no
! 18658: need_version=no
! 18659: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 18660: soname_spec='${libname}${release}${shared_ext}$major'
! 18661: shlibpath_var=LD_LIBRARY_PATH
! 18662: ;;
! 18663:
! 18664: freebsd1*)
! 18665: dynamic_linker=no
! 18666: ;;
! 18667:
! 18668: freebsd* | dragonfly*)
! 18669: # DragonFly does not have aout. When/if they implement a new
! 18670: # versioning mechanism, adjust this.
! 18671: if test -x /usr/bin/objformat; then
! 18672: objformat=`/usr/bin/objformat`
! 18673: else
! 18674: case $host_os in
! 18675: freebsd[123]*) objformat=aout ;;
! 18676: *) objformat=elf ;;
! 18677: esac
! 18678: fi
! 18679: version_type=freebsd-$objformat
! 18680: case $version_type in
! 18681: freebsd-elf*)
! 18682: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 18683: need_version=no
! 18684: need_lib_prefix=no
! 18685: ;;
! 18686: freebsd-*)
! 18687: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 18688: need_version=yes
! 18689: ;;
! 18690: esac
! 18691: shlibpath_var=LD_LIBRARY_PATH
! 18692: case $host_os in
! 18693: freebsd2*)
! 18694: shlibpath_overrides_runpath=yes
! 18695: ;;
! 18696: freebsd3.[01]* | freebsdelf3.[01]*)
! 18697: shlibpath_overrides_runpath=yes
! 18698: hardcode_into_libs=yes
! 18699: ;;
! 18700: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 18701: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 18702: shlibpath_overrides_runpath=no
! 18703: hardcode_into_libs=yes
! 18704: ;;
! 18705: *) # from 4.6 on, and DragonFly
! 18706: shlibpath_overrides_runpath=yes
! 18707: hardcode_into_libs=yes
! 18708: ;;
! 18709: esac
! 18710: ;;
! 18711:
! 18712: gnu*)
! 18713: version_type=linux
! 18714: need_lib_prefix=no
! 18715: need_version=no
! 18716: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 18717: soname_spec='${libname}${release}${shared_ext}$major'
! 18718: shlibpath_var=LD_LIBRARY_PATH
! 18719: hardcode_into_libs=yes
! 18720: ;;
! 18721:
! 18722: hpux9* | hpux10* | hpux11*)
! 18723: # Give a soname corresponding to the major version so that dld.sl refuses to
! 18724: # link against other versions.
! 18725: version_type=sunos
! 18726: need_lib_prefix=no
! 18727: need_version=no
! 18728: case $host_cpu in
! 18729: ia64*)
! 18730: shrext_cmds='.so'
! 18731: hardcode_into_libs=yes
! 18732: dynamic_linker="$host_os dld.so"
! 18733: shlibpath_var=LD_LIBRARY_PATH
! 18734: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 18735: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18736: soname_spec='${libname}${release}${shared_ext}$major'
! 18737: if test "X$HPUX_IA64_MODE" = X32; then
! 18738: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 18739: else
! 18740: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 18741: fi
! 18742: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 18743: ;;
! 18744: hppa*64*)
! 18745: shrext_cmds='.sl'
! 18746: hardcode_into_libs=yes
! 18747: dynamic_linker="$host_os dld.sl"
! 18748: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 18753: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 18754: ;;
! 18755: *)
! 18756: shrext_cmds='.sl'
! 18757: dynamic_linker="$host_os dld.sl"
! 18758: shlibpath_var=SHLIB_PATH
! 18759: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 18760: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18761: soname_spec='${libname}${release}${shared_ext}$major'
! 18762: ;;
! 18763: esac
! 18764: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 18765: postinstall_cmds='chmod 555 $lib'
! 18766: ;;
! 18767:
! 18768: interix[3-9]*)
! 18769: version_type=linux
! 18770: need_lib_prefix=no
! 18771: need_version=no
! 18772: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18773: soname_spec='${libname}${release}${shared_ext}$major'
! 18774: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 18775: shlibpath_var=LD_LIBRARY_PATH
! 18776: shlibpath_overrides_runpath=no
! 18777: hardcode_into_libs=yes
! 18778: ;;
! 18779:
! 18780: irix5* | irix6* | nonstopux*)
! 18781: case $host_os in
! 18782: nonstopux*) version_type=nonstopux ;;
! 18783: *)
! 18784: if test "$lt_cv_prog_gnu_ld" = yes; then
! 18785: version_type=linux
! 18786: else
! 18787: version_type=irix
! 18788: fi ;;
! 18789: esac
! 18790: need_lib_prefix=no
! 18791: need_version=no
! 18792: soname_spec='${libname}${release}${shared_ext}$major'
! 18793: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 18794: case $host_os in
! 18795: irix5* | nonstopux*)
! 18796: libsuff= shlibsuff=
! 18797: ;;
! 18798: *)
! 18799: case $LD in # libtool.m4 will add one of these switches to LD
! 18800: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 18801: libsuff= shlibsuff= libmagic=32-bit;;
! 18802: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 18803: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 18804: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 18805: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 18806: *) libsuff= shlibsuff= libmagic=never-match;;
! 18807: esac
! 18808: ;;
! 18809: esac
! 18810: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 18811: shlibpath_overrides_runpath=no
! 18812: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 18813: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 18814: hardcode_into_libs=yes
! 18815: ;;
! 18816:
! 18817: # No shared lib support for Linux oldld, aout, or coff.
! 18818: linux*oldld* | linux*aout* | linux*coff*)
! 18819: dynamic_linker=no
! 18820: ;;
! 18821:
! 18822: # This must be Linux ELF.
! 18823: linux* | k*bsd*-gnu)
! 18824: version_type=linux
! 18825: need_lib_prefix=no
! 18826: need_version=no
! 18827: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18828: soname_spec='${libname}${release}${shared_ext}$major'
! 18829: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 18830: shlibpath_var=LD_LIBRARY_PATH
! 18831: shlibpath_overrides_runpath=no
! 18832: # This implies no fast_install, which is unacceptable.
! 18833: # Some rework will be needed to allow for fast_install
! 18834: # before this can be enabled.
! 18835: hardcode_into_libs=yes
! 18836:
! 18837: # Append ld.so.conf contents to the search path
! 18838: if test -f /etc/ld.so.conf; then
! 18839: 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' ' '`
! 18840: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 18841: fi
! 18842:
! 18843: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 18844: # powerpc, because MkLinux only supported shared libraries with the
! 18845: # GNU dynamic linker. Since this was broken with cross compilers,
! 18846: # most powerpc-linux boxes support dynamic linking these days and
! 18847: # people can always --disable-shared, the test was removed, and we
! 18848: # assume the GNU/Linux dynamic linker is in use.
! 18849: dynamic_linker='GNU/Linux ld.so'
! 18850: ;;
! 18851:
! 18852: netbsdelf*-gnu)
! 18853: version_type=linux
! 18854: need_lib_prefix=no
! 18855: need_version=no
! 18856: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18857: soname_spec='${libname}${release}${shared_ext}$major'
! 18858: shlibpath_var=LD_LIBRARY_PATH
! 18859: shlibpath_overrides_runpath=no
! 18860: hardcode_into_libs=yes
! 18861: dynamic_linker='NetBSD ld.elf_so'
! 18862: ;;
! 18863:
! 18864: netbsd*)
! 18865: version_type=sunos
! 18866: need_lib_prefix=no
! 18867: need_version=no
! 18868: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 18869: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18870: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 18871: dynamic_linker='NetBSD (a.out) ld.so'
! 18872: else
! 18873: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 18874: soname_spec='${libname}${release}${shared_ext}$major'
! 18875: dynamic_linker='NetBSD ld.elf_so'
! 18876: fi
! 18877: shlibpath_var=LD_LIBRARY_PATH
! 18878: shlibpath_overrides_runpath=yes
! 18879: hardcode_into_libs=yes
! 18880: ;;
! 18881:
! 18882: newsos6)
! 18883: version_type=linux
! 18884: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18885: shlibpath_var=LD_LIBRARY_PATH
! 18886: shlibpath_overrides_runpath=yes
! 18887: ;;
! 18888:
! 18889: nto-qnx*)
! 18890: version_type=linux
! 18891: need_lib_prefix=no
! 18892: need_version=no
! 18893: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18894: soname_spec='${libname}${release}${shared_ext}$major'
! 18895: shlibpath_var=LD_LIBRARY_PATH
! 18896: shlibpath_overrides_runpath=yes
! 18897: ;;
! 18898:
! 18899: openbsd*)
! 18900: version_type=sunos
! 18901: sys_lib_dlsearch_path_spec="/usr/lib"
! 18902: need_lib_prefix=no
! 18903: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 18904: case $host_os in
! 18905: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 18906: *) need_version=no ;;
! 18907: esac
! 18908: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18909: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 18910: shlibpath_var=LD_LIBRARY_PATH
! 18911: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 18912: case $host_os in
! 18913: openbsd2.[89] | openbsd2.[89].*)
! 18914: shlibpath_overrides_runpath=no
! 18915: ;;
! 18916: *)
! 18917: shlibpath_overrides_runpath=yes
! 18918: ;;
! 18919: esac
! 18920: else
! 18921: shlibpath_overrides_runpath=yes
! 18922: fi
! 18923: ;;
! 18924:
! 18925: os2*)
! 18926: libname_spec='$name'
! 18927: shrext_cmds=".dll"
! 18928: need_lib_prefix=no
! 18929: library_names_spec='$libname${shared_ext} $libname.a'
! 18930: dynamic_linker='OS/2 ld.exe'
! 18931: shlibpath_var=LIBPATH
! 18932: ;;
! 18933:
! 18934: osf3* | osf4* | osf5*)
! 18935: version_type=osf
! 18936: need_lib_prefix=no
! 18937: need_version=no
! 18938: soname_spec='${libname}${release}${shared_ext}$major'
! 18939: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18940: shlibpath_var=LD_LIBRARY_PATH
! 18941: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 18942: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 18943: ;;
! 18944:
! 18945: rdos*)
! 18946: dynamic_linker=no
! 18947: ;;
! 18948:
! 18949: solaris*)
! 18950: version_type=linux
! 18951: need_lib_prefix=no
! 18952: need_version=no
! 18953: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18954: soname_spec='${libname}${release}${shared_ext}$major'
! 18955: shlibpath_var=LD_LIBRARY_PATH
! 18956: shlibpath_overrides_runpath=yes
! 18957: hardcode_into_libs=yes
! 18958: # ldd complains unless libraries are executable
! 18959: postinstall_cmds='chmod +x $lib'
! 18960: ;;
! 18961:
! 18962: sunos4*)
! 18963: version_type=sunos
! 18964: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 18965: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 18966: shlibpath_var=LD_LIBRARY_PATH
! 18967: shlibpath_overrides_runpath=yes
! 18968: if test "$with_gnu_ld" = yes; then
! 18969: need_lib_prefix=no
! 18970: fi
! 18971: need_version=yes
! 18972: ;;
! 18973:
! 18974: sysv4 | sysv4.3*)
! 18975: version_type=linux
! 18976: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 18977: soname_spec='${libname}${release}${shared_ext}$major'
! 18978: shlibpath_var=LD_LIBRARY_PATH
! 18979: case $host_vendor in
! 18980: sni)
! 18981: shlibpath_overrides_runpath=no
! 18982: need_lib_prefix=no
! 18983: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 18984: runpath_var=LD_RUN_PATH
! 18985: ;;
! 18986: siemens)
! 18987: need_lib_prefix=no
! 18988: ;;
! 18989: motorola)
! 18990: need_lib_prefix=no
! 18991: need_version=no
! 18992: shlibpath_overrides_runpath=no
! 18993: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 18994: ;;
! 18995: esac
! 18996: ;;
! 18997:
! 18998: sysv4*MP*)
! 18999: if test -d /usr/nec ;then
! 19000: version_type=linux
! 19001: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 19002: soname_spec='$libname${shared_ext}.$major'
! 19003: shlibpath_var=LD_LIBRARY_PATH
! 19004: fi
! 19005: ;;
! 19006:
! 19007: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 19008: version_type=freebsd-elf
! 19009: need_lib_prefix=no
! 19010: need_version=no
! 19011: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 19012: soname_spec='${libname}${release}${shared_ext}$major'
! 19013: shlibpath_var=LD_LIBRARY_PATH
! 19014: hardcode_into_libs=yes
! 19015: if test "$with_gnu_ld" = yes; then
! 19016: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 19017: shlibpath_overrides_runpath=no
! 19018: else
! 19019: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 19020: shlibpath_overrides_runpath=yes
! 19021: case $host_os in
! 19022: sco3.2v5*)
! 19023: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 19024: ;;
! 19025: esac
! 19026: fi
! 19027: sys_lib_dlsearch_path_spec='/usr/lib'
! 19028: ;;
! 19029:
! 19030: uts4*)
! 19031: version_type=linux
! 19032: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 19033: soname_spec='${libname}${release}${shared_ext}$major'
! 19034: shlibpath_var=LD_LIBRARY_PATH
! 19035: ;;
! 19036:
! 19037: *)
! 19038: dynamic_linker=no
! 19039: ;;
! 19040: esac
! 19041: { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 19042: $as_echo "$dynamic_linker" >&6; }
! 19043: test "$dynamic_linker" = no && can_build_shared=no
! 19044:
! 19045: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 19046: $as_echo_n "(cached) " >&6
! 19047: else
! 19048: lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
! 19049: fi
! 19050:
! 19051: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 19052: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 19053: $as_echo_n "(cached) " >&6
! 19054: else
! 19055: lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
! 19056: fi
! 19057:
! 19058: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 19059:
! 19060: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 19061: if test "$GCC" = yes; then
! 19062: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 19063: fi
! 19064:
! 19065: { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 19066: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 19067: hardcode_action_GCJ=
! 19068: if test -n "$hardcode_libdir_flag_spec_GCJ" || \
! 19069: test -n "$runpath_var_GCJ" || \
! 19070: test "X$hardcode_automatic_GCJ" = "Xyes" ; then
! 19071:
! 19072: # We can hardcode non-existant directories.
! 19073: if test "$hardcode_direct_GCJ" != no &&
! 19074: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 19075: # have to relink, otherwise we might link with an installed library
! 19076: # when we should be linking with a yet-to-be-installed one
! 19077: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
! 19078: test "$hardcode_minus_L_GCJ" != no; then
! 19079: # Linking always hardcodes the temporary library directory.
! 19080: hardcode_action_GCJ=relink
! 19081: else
! 19082: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 19083: hardcode_action_GCJ=immediate
! 19084: fi
! 19085: else
! 19086: # We cannot hardcode anything, or else we can only hardcode existing
! 19087: # directories.
! 19088: hardcode_action_GCJ=unsupported
! 19089: fi
! 19090: { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
! 19091: $as_echo "$hardcode_action_GCJ" >&6; }
! 19092:
! 19093: if test "$hardcode_action_GCJ" = relink; then
! 19094: # Fast installation is not supported
! 19095: enable_fast_install=no
! 19096: elif test "$shlibpath_overrides_runpath" = yes ||
! 19097: test "$enable_shared" = no; then
! 19098: # Fast installation is not necessary
! 19099: enable_fast_install=needless
! 19100: fi
! 19101:
! 19102:
! 19103: # The else clause should only fire when bootstrapping the
! 19104: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 19105: # with your package, and you will get complaints that there are
! 19106: # no rules to generate ltmain.sh.
! 19107: if test -f "$ltmain"; then
! 19108: # See if we are running on zsh, and set the options which allow our commands through
! 19109: # without removal of \ escapes.
! 19110: if test -n "${ZSH_VERSION+set}" ; then
! 19111: setopt NO_GLOB_SUBST
! 19112: fi
! 19113: # Now quote all the things that may contain metacharacters while being
! 19114: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 19115: # variables and quote the copies for generation of the libtool script.
! 19116: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 19117: SED SHELL STRIP \
! 19118: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 19119: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 19120: deplibs_check_method reload_flag reload_cmds need_locks \
! 19121: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 19122: lt_cv_sys_global_symbol_to_c_name_address \
! 19123: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 19124: old_postinstall_cmds old_postuninstall_cmds \
! 19125: compiler_GCJ \
! 19126: CC_GCJ \
! 19127: LD_GCJ \
! 19128: lt_prog_compiler_wl_GCJ \
! 19129: lt_prog_compiler_pic_GCJ \
! 19130: lt_prog_compiler_static_GCJ \
! 19131: lt_prog_compiler_no_builtin_flag_GCJ \
! 19132: export_dynamic_flag_spec_GCJ \
! 19133: thread_safe_flag_spec_GCJ \
! 19134: whole_archive_flag_spec_GCJ \
! 19135: enable_shared_with_static_runtimes_GCJ \
! 19136: old_archive_cmds_GCJ \
! 19137: old_archive_from_new_cmds_GCJ \
! 19138: predep_objects_GCJ \
! 19139: postdep_objects_GCJ \
! 19140: predeps_GCJ \
! 19141: postdeps_GCJ \
! 19142: compiler_lib_search_path_GCJ \
! 19143: compiler_lib_search_dirs_GCJ \
! 19144: archive_cmds_GCJ \
! 19145: archive_expsym_cmds_GCJ \
! 19146: postinstall_cmds_GCJ \
! 19147: postuninstall_cmds_GCJ \
! 19148: old_archive_from_expsyms_cmds_GCJ \
! 19149: allow_undefined_flag_GCJ \
! 19150: no_undefined_flag_GCJ \
! 19151: export_symbols_cmds_GCJ \
! 19152: hardcode_libdir_flag_spec_GCJ \
! 19153: hardcode_libdir_flag_spec_ld_GCJ \
! 19154: hardcode_libdir_separator_GCJ \
! 19155: hardcode_automatic_GCJ \
! 19156: module_cmds_GCJ \
! 19157: module_expsym_cmds_GCJ \
! 19158: lt_cv_prog_compiler_c_o_GCJ \
! 19159: fix_srcfile_path_GCJ \
! 19160: exclude_expsyms_GCJ \
! 19161: include_expsyms_GCJ; do
! 19162:
! 19163: case $var in
! 19164: old_archive_cmds_GCJ | \
! 19165: old_archive_from_new_cmds_GCJ | \
! 19166: archive_cmds_GCJ | \
! 19167: archive_expsym_cmds_GCJ | \
! 19168: module_cmds_GCJ | \
! 19169: module_expsym_cmds_GCJ | \
! 19170: old_archive_from_expsyms_cmds_GCJ | \
! 19171: export_symbols_cmds_GCJ | \
! 19172: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 19173: postinstall_cmds | postuninstall_cmds | \
! 19174: old_postinstall_cmds | old_postuninstall_cmds | \
! 19175: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 19176: # Double-quote double-evaled strings.
! 19177: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 19178: ;;
! 19179: *)
! 19180: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 19181: ;;
! 19182: esac
! 19183: done
! 19184:
! 19185: case $lt_echo in
! 19186: *'\$0 --fallback-echo"')
! 19187: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 19188: ;;
! 19189: esac
! 19190:
! 19191: cfgfile="$ofile"
! 19192:
! 19193: cat <<__EOF__ >> "$cfgfile"
! 19194: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 19195:
! 19196: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19197:
! 19198: # Shell to use when invoking shell scripts.
! 19199: SHELL=$lt_SHELL
! 19200:
! 19201: # Whether or not to build shared libraries.
! 19202: build_libtool_libs=$enable_shared
! 19203:
! 19204: # Whether or not to build static libraries.
! 19205: build_old_libs=$enable_static
! 19206:
! 19207: # Whether or not to add -lc for building shared libraries.
! 19208: build_libtool_need_lc=$archive_cmds_need_lc_GCJ
! 19209:
! 19210: # Whether or not to disallow shared libs when runtime libs are static
! 19211: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
! 19212:
! 19213: # Whether or not to optimize for fast installation.
! 19214: fast_install=$enable_fast_install
! 19215:
! 19216: # The host system.
! 19217: host_alias=$host_alias
! 19218: host=$host
! 19219: host_os=$host_os
! 19220:
! 19221: # The build system.
! 19222: build_alias=$build_alias
! 19223: build=$build
! 19224: build_os=$build_os
! 19225:
! 19226: # An echo program that does not interpret backslashes.
! 19227: echo=$lt_echo
! 19228:
! 19229: # The archiver.
! 19230: AR=$lt_AR
! 19231: AR_FLAGS=$lt_AR_FLAGS
! 19232:
! 19233: # A C compiler.
! 19234: LTCC=$lt_LTCC
! 19235:
! 19236: # LTCC compiler flags.
! 19237: LTCFLAGS=$lt_LTCFLAGS
! 19238:
! 19239: # A language-specific compiler.
! 19240: CC=$lt_compiler_GCJ
! 19241:
! 19242: # Is the compiler the GNU C compiler?
! 19243: with_gcc=$GCC_GCJ
! 19244:
! 19245: # An ERE matcher.
! 19246: EGREP=$lt_EGREP
! 19247:
! 19248: # The linker used to build libraries.
! 19249: LD=$lt_LD_GCJ
! 19250:
! 19251: # Whether we need hard or soft links.
! 19252: LN_S=$lt_LN_S
! 19253:
! 19254: # A BSD-compatible nm program.
! 19255: NM=$lt_NM
! 19256:
! 19257: # A symbol stripping program
! 19258: STRIP=$lt_STRIP
! 19259:
! 19260: # Used to examine libraries when file_magic_cmd begins "file"
! 19261: MAGIC_CMD=$MAGIC_CMD
! 19262:
! 19263: # Used on cygwin: DLL creation program.
! 19264: DLLTOOL="$DLLTOOL"
! 19265:
! 19266: # Used on cygwin: object dumper.
! 19267: OBJDUMP="$OBJDUMP"
! 19268:
! 19269: # Used on cygwin: assembler.
! 19270: AS="$AS"
! 19271:
! 19272: # The name of the directory that contains temporary libtool files.
! 19273: objdir=$objdir
! 19274:
! 19275: # How to create reloadable object files.
! 19276: reload_flag=$lt_reload_flag
! 19277: reload_cmds=$lt_reload_cmds
! 19278:
! 19279: # How to pass a linker flag through the compiler.
! 19280: wl=$lt_lt_prog_compiler_wl_GCJ
! 19281:
! 19282: # Object file suffix (normally "o").
! 19283: objext="$ac_objext"
! 19284:
! 19285: # Old archive suffix (normally "a").
! 19286: libext="$libext"
! 19287:
! 19288: # Shared library suffix (normally ".so").
! 19289: shrext_cmds='$shrext_cmds'
! 19290:
! 19291: # Executable file suffix (normally "").
! 19292: exeext="$exeext"
! 19293:
! 19294: # Additional compiler flags for building library objects.
! 19295: pic_flag=$lt_lt_prog_compiler_pic_GCJ
! 19296: pic_mode=$pic_mode
! 19297:
! 19298: # What is the maximum length of a command?
! 19299: max_cmd_len=$lt_cv_sys_max_cmd_len
! 19300:
! 19301: # Does compiler simultaneously support -c and -o options?
! 19302: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
! 19303:
! 19304: # Must we lock files when doing compilation?
! 19305: need_locks=$lt_need_locks
! 19306:
! 19307: # Do we need the lib prefix for modules?
! 19308: need_lib_prefix=$need_lib_prefix
! 19309:
! 19310: # Do we need a version for libraries?
! 19311: need_version=$need_version
! 19312:
! 19313: # Whether dlopen is supported.
! 19314: dlopen_support=$enable_dlopen
! 19315:
! 19316: # Whether dlopen of programs is supported.
! 19317: dlopen_self=$enable_dlopen_self
! 19318:
! 19319: # Whether dlopen of statically linked programs is supported.
! 19320: dlopen_self_static=$enable_dlopen_self_static
! 19321:
! 19322: # Compiler flag to prevent dynamic linking.
! 19323: link_static_flag=$lt_lt_prog_compiler_static_GCJ
! 19324:
! 19325: # Compiler flag to turn off builtin functions.
! 19326: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
! 19327:
! 19328: # Compiler flag to allow reflexive dlopens.
! 19329: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
! 19330:
! 19331: # Compiler flag to generate shared objects directly from archives.
! 19332: whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
! 19333:
! 19334: # Compiler flag to generate thread-safe objects.
! 19335: thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
! 19336:
! 19337: # Library versioning type.
! 19338: version_type=$version_type
! 19339:
! 19340: # Format of library name prefix.
! 19341: libname_spec=$lt_libname_spec
! 19342:
! 19343: # List of archive names. First name is the real one, the rest are links.
! 19344: # The last name is the one that the linker finds with -lNAME.
! 19345: library_names_spec=$lt_library_names_spec
! 19346:
! 19347: # The coded name of the library, if different from the real name.
! 19348: soname_spec=$lt_soname_spec
! 19349:
! 19350: # Commands used to build and install an old-style archive.
! 19351: RANLIB=$lt_RANLIB
! 19352: old_archive_cmds=$lt_old_archive_cmds_GCJ
! 19353: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19354: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19355:
! 19356: # Create an old-style archive from a shared archive.
! 19357: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
! 19358:
! 19359: # Create a temporary old-style archive to link instead of a shared archive.
! 19360: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
! 19361:
! 19362: # Commands used to build and install a shared archive.
! 19363: archive_cmds=$lt_archive_cmds_GCJ
! 19364: archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
! 19365: postinstall_cmds=$lt_postinstall_cmds
! 19366: postuninstall_cmds=$lt_postuninstall_cmds
! 19367:
! 19368: # Commands used to build a loadable module (assumed same as above if empty)
! 19369: module_cmds=$lt_module_cmds_GCJ
! 19370: module_expsym_cmds=$lt_module_expsym_cmds_GCJ
! 19371:
! 19372: # Commands to strip libraries.
! 19373: old_striplib=$lt_old_striplib
! 19374: striplib=$lt_striplib
! 19375:
! 19376: # Dependencies to place before the objects being linked to create a
! 19377: # shared library.
! 19378: predep_objects=$lt_predep_objects_GCJ
! 19379:
! 19380: # Dependencies to place after the objects being linked to create a
! 19381: # shared library.
! 19382: postdep_objects=$lt_postdep_objects_GCJ
! 19383:
! 19384: # Dependencies to place before the objects being linked to create a
! 19385: # shared library.
! 19386: predeps=$lt_predeps_GCJ
! 19387:
! 19388: # Dependencies to place after the objects being linked to create a
! 19389: # shared library.
! 19390: postdeps=$lt_postdeps_GCJ
! 19391:
! 19392: # The directories searched by this compiler when creating a shared
! 19393: # library
! 19394: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
! 19395:
! 19396: # The library search path used internally by the compiler when linking
! 19397: # a shared library.
! 19398: compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
! 19399:
! 19400: # Method to check whether dependent libraries are shared objects.
! 19401: deplibs_check_method=$lt_deplibs_check_method
! 19402:
! 19403: # Command to use when deplibs_check_method == file_magic.
! 19404: file_magic_cmd=$lt_file_magic_cmd
! 19405:
! 19406: # Flag that allows shared libraries with undefined symbols to be built.
! 19407: allow_undefined_flag=$lt_allow_undefined_flag_GCJ
! 19408:
! 19409: # Flag that forces no undefined symbols.
! 19410: no_undefined_flag=$lt_no_undefined_flag_GCJ
! 19411:
! 19412: # Commands used to finish a libtool library installation in a directory.
! 19413: finish_cmds=$lt_finish_cmds
! 19414:
! 19415: # Same as above, but a single script fragment to be evaled but not shown.
! 19416: finish_eval=$lt_finish_eval
! 19417:
! 19418: # Take the output of nm and produce a listing of raw symbols and C names.
! 19419: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19420:
! 19421: # Transform the output of nm in a proper C declaration
! 19422: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19423:
! 19424: # Transform the output of nm in a C name address pair
! 19425: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19426:
! 19427: # This is the shared library runtime path variable.
! 19428: runpath_var=$runpath_var
! 19429:
! 19430: # This is the shared library path variable.
! 19431: shlibpath_var=$shlibpath_var
! 19432:
! 19433: # Is shlibpath searched before the hard-coded library search path?
! 19434: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19435:
! 19436: # How to hardcode a shared library path into an executable.
! 19437: hardcode_action=$hardcode_action_GCJ
! 19438:
! 19439: # Whether we should hardcode library paths into libraries.
! 19440: hardcode_into_libs=$hardcode_into_libs
! 19441:
! 19442: # Flag to hardcode \$libdir into a binary during linking.
! 19443: # This must work even if \$libdir does not exist.
! 19444: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
! 19445:
! 19446: # If ld is used when linking, flag to hardcode \$libdir into
! 19447: # a binary during linking. This must work even if \$libdir does
! 19448: # not exist.
! 19449: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
! 19450:
! 19451: # Whether we need a single -rpath flag with a separated argument.
! 19452: hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
! 19453:
! 19454: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 19455: # resulting binary.
! 19456: hardcode_direct=$hardcode_direct_GCJ
! 19457:
! 19458: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 19459: # resulting binary.
! 19460: hardcode_minus_L=$hardcode_minus_L_GCJ
! 19461:
! 19462: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 19463: # the resulting binary.
! 19464: hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
! 19465:
! 19466: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 19467: # and all subsequent libraries and executables linked against it.
! 19468: hardcode_automatic=$hardcode_automatic_GCJ
! 19469:
! 19470: # Variables whose values should be saved in libtool wrapper scripts and
! 19471: # restored at relink time.
! 19472: variables_saved_for_relink="$variables_saved_for_relink"
! 19473:
! 19474: # Whether libtool must link a program against all its dependency libraries.
! 19475: link_all_deplibs=$link_all_deplibs_GCJ
! 19476:
! 19477: # Compile-time system search path for libraries
! 19478: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19479:
! 19480: # Run-time system search path for libraries
! 19481: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19482:
! 19483: # Fix the shell variable \$srcfile for the compiler.
! 19484: fix_srcfile_path=$lt_fix_srcfile_path
! 19485:
! 19486: # Set to yes if exported symbols are required.
! 19487: always_export_symbols=$always_export_symbols_GCJ
! 19488:
! 19489: # The commands to list exported symbols.
! 19490: export_symbols_cmds=$lt_export_symbols_cmds_GCJ
! 19491:
! 19492: # The commands to extract the exported symbol list from a shared archive.
! 19493: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19494:
! 19495: # Symbols that should not be listed in the preloaded symbols.
! 19496: exclude_expsyms=$lt_exclude_expsyms_GCJ
! 19497:
! 19498: # Symbols that must always be exported.
! 19499: include_expsyms=$lt_include_expsyms_GCJ
! 19500:
! 19501: # ### END LIBTOOL TAG CONFIG: $tagname
! 19502:
! 19503: __EOF__
! 19504:
! 19505:
! 19506: else
! 19507: # If there is no Makefile yet, we rely on a make rule to execute
! 19508: # `config.status --recheck' to rerun these tests and create the
! 19509: # libtool script then.
! 19510: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 19511: if test -f "$ltmain_in"; then
! 19512: test -f Makefile && make "$ltmain"
! 19513: fi
! 19514: fi
! 19515:
! 19516:
! 19517: ac_ext=c
! 19518: ac_cpp='$CPP $CPPFLAGS'
! 19519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 19520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 19521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 19522:
! 19523: CC="$lt_save_CC"
! 19524:
! 19525: else
! 19526: tagname=""
! 19527: fi
! 19528: ;;
! 19529:
! 19530: RC)
! 19531:
! 19532:
! 19533: # Source file extension for RC test sources.
! 19534: ac_ext=rc
! 19535:
! 19536: # Object file extension for compiled RC test sources.
! 19537: objext=o
! 19538: objext_RC=$objext
! 19539:
! 19540: # Code to be used in simple compile tests
! 19541: lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
! 19542:
! 19543: # Code to be used in simple link tests
! 19544: lt_simple_link_test_code="$lt_simple_compile_test_code"
! 19545:
! 19546: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 19547:
! 19548: # If no C compiler was specified, use CC.
! 19549: LTCC=${LTCC-"$CC"}
! 19550:
! 19551: # If no C compiler flags were specified, use CFLAGS.
! 19552: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 19553:
! 19554: # Allow CC to be a program name with arguments.
! 19555: compiler=$CC
! 19556:
! 19557:
! 19558: # save warnings/boilerplate of simple test code
! 19559: ac_outfile=conftest.$ac_objext
! 19560: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 19561: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 19562: _lt_compiler_boilerplate=`cat conftest.err`
! 19563: $rm conftest*
! 19564:
! 19565: ac_outfile=conftest.$ac_objext
! 19566: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 19567: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 19568: _lt_linker_boilerplate=`cat conftest.err`
! 19569: $rm -r conftest*
! 19570:
! 19571:
! 19572: # Allow CC to be a program name with arguments.
! 19573: lt_save_CC="$CC"
! 19574: CC=${RC-"windres"}
! 19575: compiler=$CC
! 19576: compiler_RC=$CC
! 19577: for cc_temp in $compiler""; do
! 19578: case $cc_temp in
! 19579: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 19580: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 19581: \-*) ;;
! 19582: *) break;;
! 19583: esac
! 19584: done
! 19585: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 19586:
! 19587: lt_cv_prog_compiler_c_o_RC=yes
! 19588:
! 19589: # The else clause should only fire when bootstrapping the
! 19590: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 19591: # with your package, and you will get complaints that there are
! 19592: # no rules to generate ltmain.sh.
! 19593: if test -f "$ltmain"; then
! 19594: # See if we are running on zsh, and set the options which allow our commands through
! 19595: # without removal of \ escapes.
! 19596: if test -n "${ZSH_VERSION+set}" ; then
! 19597: setopt NO_GLOB_SUBST
! 19598: fi
! 19599: # Now quote all the things that may contain metacharacters while being
! 19600: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 19601: # variables and quote the copies for generation of the libtool script.
! 19602: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 19603: SED SHELL STRIP \
! 19604: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 19605: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 19606: deplibs_check_method reload_flag reload_cmds need_locks \
! 19607: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 19608: lt_cv_sys_global_symbol_to_c_name_address \
! 19609: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 19610: old_postinstall_cmds old_postuninstall_cmds \
! 19611: compiler_RC \
! 19612: CC_RC \
! 19613: LD_RC \
! 19614: lt_prog_compiler_wl_RC \
! 19615: lt_prog_compiler_pic_RC \
! 19616: lt_prog_compiler_static_RC \
! 19617: lt_prog_compiler_no_builtin_flag_RC \
! 19618: export_dynamic_flag_spec_RC \
! 19619: thread_safe_flag_spec_RC \
! 19620: whole_archive_flag_spec_RC \
! 19621: enable_shared_with_static_runtimes_RC \
! 19622: old_archive_cmds_RC \
! 19623: old_archive_from_new_cmds_RC \
! 19624: predep_objects_RC \
! 19625: postdep_objects_RC \
! 19626: predeps_RC \
! 19627: postdeps_RC \
! 19628: compiler_lib_search_path_RC \
! 19629: compiler_lib_search_dirs_RC \
! 19630: archive_cmds_RC \
! 19631: archive_expsym_cmds_RC \
! 19632: postinstall_cmds_RC \
! 19633: postuninstall_cmds_RC \
! 19634: old_archive_from_expsyms_cmds_RC \
! 19635: allow_undefined_flag_RC \
! 19636: no_undefined_flag_RC \
! 19637: export_symbols_cmds_RC \
! 19638: hardcode_libdir_flag_spec_RC \
! 19639: hardcode_libdir_flag_spec_ld_RC \
! 19640: hardcode_libdir_separator_RC \
! 19641: hardcode_automatic_RC \
! 19642: module_cmds_RC \
! 19643: module_expsym_cmds_RC \
! 19644: lt_cv_prog_compiler_c_o_RC \
! 19645: fix_srcfile_path_RC \
! 19646: exclude_expsyms_RC \
! 19647: include_expsyms_RC; do
! 19648:
! 19649: case $var in
! 19650: old_archive_cmds_RC | \
! 19651: old_archive_from_new_cmds_RC | \
! 19652: archive_cmds_RC | \
! 19653: archive_expsym_cmds_RC | \
! 19654: module_cmds_RC | \
! 19655: module_expsym_cmds_RC | \
! 19656: old_archive_from_expsyms_cmds_RC | \
! 19657: export_symbols_cmds_RC | \
! 19658: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 19659: postinstall_cmds | postuninstall_cmds | \
! 19660: old_postinstall_cmds | old_postuninstall_cmds | \
! 19661: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 19662: # Double-quote double-evaled strings.
! 19663: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 19664: ;;
! 19665: *)
! 19666: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 19667: ;;
! 19668: esac
! 19669: done
! 19670:
! 19671: case $lt_echo in
! 19672: *'\$0 --fallback-echo"')
! 19673: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 19674: ;;
! 19675: esac
! 19676:
! 19677: cfgfile="$ofile"
! 19678:
! 19679: cat <<__EOF__ >> "$cfgfile"
! 19680: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 19681:
! 19682: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 19683:
! 19684: # Shell to use when invoking shell scripts.
! 19685: SHELL=$lt_SHELL
! 19686:
! 19687: # Whether or not to build shared libraries.
! 19688: build_libtool_libs=$enable_shared
! 19689:
! 19690: # Whether or not to build static libraries.
! 19691: build_old_libs=$enable_static
! 19692:
! 19693: # Whether or not to add -lc for building shared libraries.
! 19694: build_libtool_need_lc=$archive_cmds_need_lc_RC
! 19695:
! 19696: # Whether or not to disallow shared libs when runtime libs are static
! 19697: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
! 19698:
! 19699: # Whether or not to optimize for fast installation.
! 19700: fast_install=$enable_fast_install
! 19701:
! 19702: # The host system.
! 19703: host_alias=$host_alias
! 19704: host=$host
! 19705: host_os=$host_os
! 19706:
! 19707: # The build system.
! 19708: build_alias=$build_alias
! 19709: build=$build
! 19710: build_os=$build_os
! 19711:
! 19712: # An echo program that does not interpret backslashes.
! 19713: echo=$lt_echo
! 19714:
! 19715: # The archiver.
! 19716: AR=$lt_AR
! 19717: AR_FLAGS=$lt_AR_FLAGS
! 19718:
! 19719: # A C compiler.
! 19720: LTCC=$lt_LTCC
! 19721:
! 19722: # LTCC compiler flags.
! 19723: LTCFLAGS=$lt_LTCFLAGS
! 19724:
! 19725: # A language-specific compiler.
! 19726: CC=$lt_compiler_RC
! 19727:
! 19728: # Is the compiler the GNU C compiler?
! 19729: with_gcc=$GCC_RC
! 19730:
! 19731: # An ERE matcher.
! 19732: EGREP=$lt_EGREP
! 19733:
! 19734: # The linker used to build libraries.
! 19735: LD=$lt_LD_RC
! 19736:
! 19737: # Whether we need hard or soft links.
! 19738: LN_S=$lt_LN_S
! 19739:
! 19740: # A BSD-compatible nm program.
! 19741: NM=$lt_NM
! 19742:
! 19743: # A symbol stripping program
! 19744: STRIP=$lt_STRIP
! 19745:
! 19746: # Used to examine libraries when file_magic_cmd begins "file"
! 19747: MAGIC_CMD=$MAGIC_CMD
! 19748:
! 19749: # Used on cygwin: DLL creation program.
! 19750: DLLTOOL="$DLLTOOL"
! 19751:
! 19752: # Used on cygwin: object dumper.
! 19753: OBJDUMP="$OBJDUMP"
! 19754:
! 19755: # Used on cygwin: assembler.
! 19756: AS="$AS"
! 19757:
! 19758: # The name of the directory that contains temporary libtool files.
! 19759: objdir=$objdir
! 19760:
! 19761: # How to create reloadable object files.
! 19762: reload_flag=$lt_reload_flag
! 19763: reload_cmds=$lt_reload_cmds
! 19764:
! 19765: # How to pass a linker flag through the compiler.
! 19766: wl=$lt_lt_prog_compiler_wl_RC
! 19767:
! 19768: # Object file suffix (normally "o").
! 19769: objext="$ac_objext"
! 19770:
! 19771: # Old archive suffix (normally "a").
! 19772: libext="$libext"
! 19773:
! 19774: # Shared library suffix (normally ".so").
! 19775: shrext_cmds='$shrext_cmds'
! 19776:
! 19777: # Executable file suffix (normally "").
! 19778: exeext="$exeext"
! 19779:
! 19780: # Additional compiler flags for building library objects.
! 19781: pic_flag=$lt_lt_prog_compiler_pic_RC
! 19782: pic_mode=$pic_mode
! 19783:
! 19784: # What is the maximum length of a command?
! 19785: max_cmd_len=$lt_cv_sys_max_cmd_len
! 19786:
! 19787: # Does compiler simultaneously support -c and -o options?
! 19788: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
! 19789:
! 19790: # Must we lock files when doing compilation?
! 19791: need_locks=$lt_need_locks
! 19792:
! 19793: # Do we need the lib prefix for modules?
! 19794: need_lib_prefix=$need_lib_prefix
! 19795:
! 19796: # Do we need a version for libraries?
! 19797: need_version=$need_version
! 19798:
! 19799: # Whether dlopen is supported.
! 19800: dlopen_support=$enable_dlopen
! 19801:
! 19802: # Whether dlopen of programs is supported.
! 19803: dlopen_self=$enable_dlopen_self
! 19804:
! 19805: # Whether dlopen of statically linked programs is supported.
! 19806: dlopen_self_static=$enable_dlopen_self_static
! 19807:
! 19808: # Compiler flag to prevent dynamic linking.
! 19809: link_static_flag=$lt_lt_prog_compiler_static_RC
! 19810:
! 19811: # Compiler flag to turn off builtin functions.
! 19812: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
! 19813:
! 19814: # Compiler flag to allow reflexive dlopens.
! 19815: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
! 19816:
! 19817: # Compiler flag to generate shared objects directly from archives.
! 19818: whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
! 19819:
! 19820: # Compiler flag to generate thread-safe objects.
! 19821: thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
! 19822:
! 19823: # Library versioning type.
! 19824: version_type=$version_type
! 19825:
! 19826: # Format of library name prefix.
! 19827: libname_spec=$lt_libname_spec
! 19828:
! 19829: # List of archive names. First name is the real one, the rest are links.
! 19830: # The last name is the one that the linker finds with -lNAME.
! 19831: library_names_spec=$lt_library_names_spec
! 19832:
! 19833: # The coded name of the library, if different from the real name.
! 19834: soname_spec=$lt_soname_spec
! 19835:
! 19836: # Commands used to build and install an old-style archive.
! 19837: RANLIB=$lt_RANLIB
! 19838: old_archive_cmds=$lt_old_archive_cmds_RC
! 19839: old_postinstall_cmds=$lt_old_postinstall_cmds
! 19840: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 19841:
! 19842: # Create an old-style archive from a shared archive.
! 19843: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
! 19844:
! 19845: # Create a temporary old-style archive to link instead of a shared archive.
! 19846: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
! 19847:
! 19848: # Commands used to build and install a shared archive.
! 19849: archive_cmds=$lt_archive_cmds_RC
! 19850: archive_expsym_cmds=$lt_archive_expsym_cmds_RC
! 19851: postinstall_cmds=$lt_postinstall_cmds
! 19852: postuninstall_cmds=$lt_postuninstall_cmds
! 19853:
! 19854: # Commands used to build a loadable module (assumed same as above if empty)
! 19855: module_cmds=$lt_module_cmds_RC
! 19856: module_expsym_cmds=$lt_module_expsym_cmds_RC
! 19857:
! 19858: # Commands to strip libraries.
! 19859: old_striplib=$lt_old_striplib
! 19860: striplib=$lt_striplib
! 19861:
! 19862: # Dependencies to place before the objects being linked to create a
! 19863: # shared library.
! 19864: predep_objects=$lt_predep_objects_RC
! 19865:
! 19866: # Dependencies to place after the objects being linked to create a
! 19867: # shared library.
! 19868: postdep_objects=$lt_postdep_objects_RC
! 19869:
! 19870: # Dependencies to place before the objects being linked to create a
! 19871: # shared library.
! 19872: predeps=$lt_predeps_RC
! 19873:
! 19874: # Dependencies to place after the objects being linked to create a
! 19875: # shared library.
! 19876: postdeps=$lt_postdeps_RC
! 19877:
! 19878: # The directories searched by this compiler when creating a shared
! 19879: # library
! 19880: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
! 19881:
! 19882: # The library search path used internally by the compiler when linking
! 19883: # a shared library.
! 19884: compiler_lib_search_path=$lt_compiler_lib_search_path_RC
! 19885:
! 19886: # Method to check whether dependent libraries are shared objects.
! 19887: deplibs_check_method=$lt_deplibs_check_method
! 19888:
! 19889: # Command to use when deplibs_check_method == file_magic.
! 19890: file_magic_cmd=$lt_file_magic_cmd
! 19891:
! 19892: # Flag that allows shared libraries with undefined symbols to be built.
! 19893: allow_undefined_flag=$lt_allow_undefined_flag_RC
! 19894:
! 19895: # Flag that forces no undefined symbols.
! 19896: no_undefined_flag=$lt_no_undefined_flag_RC
! 19897:
! 19898: # Commands used to finish a libtool library installation in a directory.
! 19899: finish_cmds=$lt_finish_cmds
! 19900:
! 19901: # Same as above, but a single script fragment to be evaled but not shown.
! 19902: finish_eval=$lt_finish_eval
! 19903:
! 19904: # Take the output of nm and produce a listing of raw symbols and C names.
! 19905: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 19906:
! 19907: # Transform the output of nm in a proper C declaration
! 19908: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 19909:
! 19910: # Transform the output of nm in a C name address pair
! 19911: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 19912:
! 19913: # This is the shared library runtime path variable.
! 19914: runpath_var=$runpath_var
! 19915:
! 19916: # This is the shared library path variable.
! 19917: shlibpath_var=$shlibpath_var
! 19918:
! 19919: # Is shlibpath searched before the hard-coded library search path?
! 19920: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 19921:
! 19922: # How to hardcode a shared library path into an executable.
! 19923: hardcode_action=$hardcode_action_RC
! 19924:
! 19925: # Whether we should hardcode library paths into libraries.
! 19926: hardcode_into_libs=$hardcode_into_libs
! 19927:
! 19928: # Flag to hardcode \$libdir into a binary during linking.
! 19929: # This must work even if \$libdir does not exist.
! 19930: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
! 19931:
! 19932: # If ld is used when linking, flag to hardcode \$libdir into
! 19933: # a binary during linking. This must work even if \$libdir does
! 19934: # not exist.
! 19935: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
! 19936:
! 19937: # Whether we need a single -rpath flag with a separated argument.
! 19938: hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
! 19939:
! 19940: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 19941: # resulting binary.
! 19942: hardcode_direct=$hardcode_direct_RC
! 19943:
! 19944: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 19945: # resulting binary.
! 19946: hardcode_minus_L=$hardcode_minus_L_RC
! 19947:
! 19948: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 19949: # the resulting binary.
! 19950: hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
! 19951:
! 19952: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 19953: # and all subsequent libraries and executables linked against it.
! 19954: hardcode_automatic=$hardcode_automatic_RC
! 19955:
! 19956: # Variables whose values should be saved in libtool wrapper scripts and
! 19957: # restored at relink time.
! 19958: variables_saved_for_relink="$variables_saved_for_relink"
! 19959:
! 19960: # Whether libtool must link a program against all its dependency libraries.
! 19961: link_all_deplibs=$link_all_deplibs_RC
! 19962:
! 19963: # Compile-time system search path for libraries
! 19964: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 19965:
! 19966: # Run-time system search path for libraries
! 19967: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 19968:
! 19969: # Fix the shell variable \$srcfile for the compiler.
! 19970: fix_srcfile_path=$lt_fix_srcfile_path
! 19971:
! 19972: # Set to yes if exported symbols are required.
! 19973: always_export_symbols=$always_export_symbols_RC
! 19974:
! 19975: # The commands to list exported symbols.
! 19976: export_symbols_cmds=$lt_export_symbols_cmds_RC
! 19977:
! 19978: # The commands to extract the exported symbol list from a shared archive.
! 19979: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 19980:
! 19981: # Symbols that should not be listed in the preloaded symbols.
! 19982: exclude_expsyms=$lt_exclude_expsyms_RC
! 19983:
! 19984: # Symbols that must always be exported.
! 19985: include_expsyms=$lt_include_expsyms_RC
! 19986:
! 19987: # ### END LIBTOOL TAG CONFIG: $tagname
! 19988:
! 19989: __EOF__
! 19990:
! 19991:
! 19992: else
! 19993: # If there is no Makefile yet, we rely on a make rule to execute
! 19994: # `config.status --recheck' to rerun these tests and create the
! 19995: # libtool script then.
! 19996: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 19997: if test -f "$ltmain_in"; then
! 19998: test -f Makefile && make "$ltmain"
! 19999: fi
! 20000: fi
! 20001:
! 20002:
! 20003: ac_ext=c
! 20004: ac_cpp='$CPP $CPPFLAGS'
! 20005: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 20006: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 20007: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 20008:
! 20009: CC="$lt_save_CC"
! 20010:
! 20011: ;;
! 20012:
! 20013: *)
! 20014: { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
! 20015: $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
! 20016: { (exit 1); exit 1; }; }
! 20017: ;;
! 20018: esac
! 20019:
! 20020: # Append the new tag name to the list of available tags.
! 20021: if test -n "$tagname" ; then
! 20022: available_tags="$available_tags $tagname"
! 20023: fi
! 20024: fi
! 20025: done
! 20026: IFS="$lt_save_ifs"
! 20027:
! 20028: # Now substitute the updated list of available tags.
! 20029: if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
! 20030: mv "${ofile}T" "$ofile"
! 20031: chmod +x "$ofile"
! 20032: else
! 20033: rm -f "${ofile}T"
! 20034: { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
! 20035: $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
! 20036: { (exit 1); exit 1; }; }
! 20037: fi
! 20038: fi
! 20039:
! 20040:
! 20041:
! 20042: # This can be used to rebuild libtool when needed
! 20043: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
! 20044:
! 20045: # Always use our own libtool.
! 20046: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 20047:
! 20048: # Prevent multiple expansion
! 20049:
! 20050:
! 20051:
! 20052:
! 20053:
! 20054:
! 20055:
! 20056:
! 20057:
! 20058:
! 20059:
! 20060:
! 20061:
! 20062:
! 20063:
! 20064:
! 20065:
! 20066:
! 20067:
! 20068:
! 20069:
! 20070: # check type sizes
! 20071: # The cast to long int works around a bug in the HP C Compiler
! 20072: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 20073: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 20074: # This bug is HP SR number 8606223364.
! 20075: { $as_echo "$as_me:$LINENO: checking size of long" >&5
! 20076: $as_echo_n "checking size of long... " >&6; }
! 20077: if test "${ac_cv_sizeof_long+set}" = set; then
! 20078: $as_echo_n "(cached) " >&6
! 20079: else
! 20080: if test "$cross_compiling" = yes; then
! 20081: # Depending upon the size, compute the lo and hi bounds.
! 20082: cat >conftest.$ac_ext <<_ACEOF
! 20083: /* confdefs.h. */
! 20084: _ACEOF
! 20085: cat confdefs.h >>conftest.$ac_ext
! 20086: cat >>conftest.$ac_ext <<_ACEOF
! 20087: /* end confdefs.h. */
! 20088: $ac_includes_default
! 20089: int
! 20090: main ()
! 20091: {
! 20092: static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
! 20093: test_array [0] = 0
! 20094:
! 20095: ;
! 20096: return 0;
! 20097: }
! 20098: _ACEOF
! 20099: rm -f conftest.$ac_objext
! 20100: if { (ac_try="$ac_compile"
! 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_compile") 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_objext; then
! 20117: ac_lo=0 ac_mid=0
! 20118: while :; do
! 20119: cat >conftest.$ac_ext <<_ACEOF
! 20120: /* confdefs.h. */
! 20121: _ACEOF
! 20122: cat confdefs.h >>conftest.$ac_ext
! 20123: cat >>conftest.$ac_ext <<_ACEOF
! 20124: /* end confdefs.h. */
! 20125: $ac_includes_default
! 20126: int
! 20127: main ()
! 20128: {
! 20129: static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
! 20130: test_array [0] = 0
! 20131:
! 20132: ;
! 20133: return 0;
! 20134: }
! 20135: _ACEOF
! 20136: rm -f conftest.$ac_objext
! 20137: if { (ac_try="$ac_compile"
! 20138: case "(($ac_try" in
! 20139: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20140: *) ac_try_echo=$ac_try;;
! 20141: esac
! 20142: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20143: $as_echo "$ac_try_echo") >&5
! 20144: (eval "$ac_compile") 2>conftest.er1
! 20145: ac_status=$?
! 20146: grep -v '^ *+' conftest.er1 >conftest.err
! 20147: rm -f conftest.er1
! 20148: cat conftest.err >&5
! 20149: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20150: (exit $ac_status); } && {
! 20151: test -z "$ac_c_werror_flag" ||
! 20152: test ! -s conftest.err
! 20153: } && test -s conftest.$ac_objext; then
! 20154: ac_hi=$ac_mid; break
! 20155: else
! 20156: $as_echo "$as_me: failed program was:" >&5
! 20157: sed 's/^/| /' conftest.$ac_ext >&5
! 20158:
! 20159: ac_lo=`expr $ac_mid + 1`
! 20160: if test $ac_lo -le $ac_mid; then
! 20161: ac_lo= ac_hi=
! 20162: break
! 20163: fi
! 20164: ac_mid=`expr 2 '*' $ac_mid + 1`
! 20165: fi
! 20166:
! 20167: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20168: done
! 20169: else
! 20170: $as_echo "$as_me: failed program was:" >&5
! 20171: sed 's/^/| /' conftest.$ac_ext >&5
! 20172:
! 20173: cat >conftest.$ac_ext <<_ACEOF
! 20174: /* confdefs.h. */
! 20175: _ACEOF
! 20176: cat confdefs.h >>conftest.$ac_ext
! 20177: cat >>conftest.$ac_ext <<_ACEOF
! 20178: /* end confdefs.h. */
! 20179: $ac_includes_default
! 20180: int
! 20181: main ()
! 20182: {
! 20183: static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
! 20184: test_array [0] = 0
! 20185:
! 20186: ;
! 20187: return 0;
! 20188: }
! 20189: _ACEOF
! 20190: rm -f conftest.$ac_objext
! 20191: if { (ac_try="$ac_compile"
! 20192: case "(($ac_try" in
! 20193: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20194: *) ac_try_echo=$ac_try;;
! 20195: esac
! 20196: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20197: $as_echo "$ac_try_echo") >&5
! 20198: (eval "$ac_compile") 2>conftest.er1
! 20199: ac_status=$?
! 20200: grep -v '^ *+' conftest.er1 >conftest.err
! 20201: rm -f conftest.er1
! 20202: cat conftest.err >&5
! 20203: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20204: (exit $ac_status); } && {
! 20205: test -z "$ac_c_werror_flag" ||
! 20206: test ! -s conftest.err
! 20207: } && test -s conftest.$ac_objext; then
! 20208: ac_hi=-1 ac_mid=-1
! 20209: while :; do
! 20210: cat >conftest.$ac_ext <<_ACEOF
! 20211: /* confdefs.h. */
! 20212: _ACEOF
! 20213: cat confdefs.h >>conftest.$ac_ext
! 20214: cat >>conftest.$ac_ext <<_ACEOF
! 20215: /* end confdefs.h. */
! 20216: $ac_includes_default
! 20217: int
! 20218: main ()
! 20219: {
! 20220: static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
! 20221: test_array [0] = 0
! 20222:
! 20223: ;
! 20224: return 0;
! 20225: }
! 20226: _ACEOF
! 20227: rm -f conftest.$ac_objext
! 20228: if { (ac_try="$ac_compile"
! 20229: case "(($ac_try" in
! 20230: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20231: *) ac_try_echo=$ac_try;;
! 20232: esac
! 20233: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20234: $as_echo "$ac_try_echo") >&5
! 20235: (eval "$ac_compile") 2>conftest.er1
! 20236: ac_status=$?
! 20237: grep -v '^ *+' conftest.er1 >conftest.err
! 20238: rm -f conftest.er1
! 20239: cat conftest.err >&5
! 20240: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20241: (exit $ac_status); } && {
! 20242: test -z "$ac_c_werror_flag" ||
! 20243: test ! -s conftest.err
! 20244: } && test -s conftest.$ac_objext; then
! 20245: ac_lo=$ac_mid; break
! 20246: else
! 20247: $as_echo "$as_me: failed program was:" >&5
! 20248: sed 's/^/| /' conftest.$ac_ext >&5
! 20249:
! 20250: ac_hi=`expr '(' $ac_mid ')' - 1`
! 20251: if test $ac_mid -le $ac_hi; then
! 20252: ac_lo= ac_hi=
! 20253: break
! 20254: fi
! 20255: ac_mid=`expr 2 '*' $ac_mid`
! 20256: fi
! 20257:
! 20258: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20259: done
! 20260: else
! 20261: $as_echo "$as_me: failed program was:" >&5
! 20262: sed 's/^/| /' conftest.$ac_ext >&5
! 20263:
! 20264: ac_lo= ac_hi=
! 20265: fi
! 20266:
! 20267: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20268: fi
! 20269:
! 20270: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20271: # Binary search between lo and hi bounds.
! 20272: while test "x$ac_lo" != "x$ac_hi"; do
! 20273: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 20274: cat >conftest.$ac_ext <<_ACEOF
! 20275: /* confdefs.h. */
! 20276: _ACEOF
! 20277: cat confdefs.h >>conftest.$ac_ext
! 20278: cat >>conftest.$ac_ext <<_ACEOF
! 20279: /* end confdefs.h. */
! 20280: $ac_includes_default
! 20281: int
! 20282: main ()
! 20283: {
! 20284: static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
! 20285: test_array [0] = 0
! 20286:
! 20287: ;
! 20288: return 0;
! 20289: }
! 20290: _ACEOF
! 20291: rm -f conftest.$ac_objext
! 20292: if { (ac_try="$ac_compile"
! 20293: case "(($ac_try" in
! 20294: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20295: *) ac_try_echo=$ac_try;;
! 20296: esac
! 20297: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20298: $as_echo "$ac_try_echo") >&5
! 20299: (eval "$ac_compile") 2>conftest.er1
! 20300: ac_status=$?
! 20301: grep -v '^ *+' conftest.er1 >conftest.err
! 20302: rm -f conftest.er1
! 20303: cat conftest.err >&5
! 20304: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20305: (exit $ac_status); } && {
! 20306: test -z "$ac_c_werror_flag" ||
! 20307: test ! -s conftest.err
! 20308: } && test -s conftest.$ac_objext; then
! 20309: ac_hi=$ac_mid
! 20310: else
! 20311: $as_echo "$as_me: failed program was:" >&5
! 20312: sed 's/^/| /' conftest.$ac_ext >&5
! 20313:
! 20314: ac_lo=`expr '(' $ac_mid ')' + 1`
! 20315: fi
! 20316:
! 20317: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20318: done
! 20319: case $ac_lo in
! 20320: ?*) ac_cv_sizeof_long=$ac_lo;;
! 20321: '') if test "$ac_cv_type_long" = yes; then
! 20322: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 20323: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 20324: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
! 20325: See \`config.log' for more details." >&5
! 20326: $as_echo "$as_me: error: cannot compute sizeof (long)
! 20327: See \`config.log' for more details." >&2;}
! 20328: { (exit 77); exit 77; }; }; }
! 20329: else
! 20330: ac_cv_sizeof_long=0
! 20331: fi ;;
! 20332: esac
! 20333: else
! 20334: cat >conftest.$ac_ext <<_ACEOF
! 20335: /* confdefs.h. */
! 20336: _ACEOF
! 20337: cat confdefs.h >>conftest.$ac_ext
! 20338: cat >>conftest.$ac_ext <<_ACEOF
! 20339: /* end confdefs.h. */
! 20340: $ac_includes_default
! 20341: static long int longval () { return (long int) (sizeof (long)); }
! 20342: static unsigned long int ulongval () { return (long int) (sizeof (long)); }
! 20343: #include <stdio.h>
! 20344: #include <stdlib.h>
! 20345: int
! 20346: main ()
! 20347: {
! 20348:
! 20349: FILE *f = fopen ("conftest.val", "w");
! 20350: if (! f)
! 20351: return 1;
! 20352: if (((long int) (sizeof (long))) < 0)
! 20353: {
! 20354: long int i = longval ();
! 20355: if (i != ((long int) (sizeof (long))))
! 20356: return 1;
! 20357: fprintf (f, "%ld", i);
! 20358: }
! 20359: else
! 20360: {
! 20361: unsigned long int i = ulongval ();
! 20362: if (i != ((long int) (sizeof (long))))
! 20363: return 1;
! 20364: fprintf (f, "%lu", i);
! 20365: }
! 20366: /* Do not output a trailing newline, as this causes \r\n confusion
! 20367: on some platforms. */
! 20368: return ferror (f) || fclose (f) != 0;
! 20369:
! 20370: ;
! 20371: return 0;
! 20372: }
! 20373: _ACEOF
! 20374: rm -f conftest$ac_exeext
! 20375: if { (ac_try="$ac_link"
! 20376: case "(($ac_try" in
! 20377: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20378: *) ac_try_echo=$ac_try;;
! 20379: esac
! 20380: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20381: $as_echo "$ac_try_echo") >&5
! 20382: (eval "$ac_link") 2>&5
! 20383: ac_status=$?
! 20384: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20385: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 20386: { (case "(($ac_try" in
! 20387: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20388: *) ac_try_echo=$ac_try;;
! 20389: esac
! 20390: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20391: $as_echo "$ac_try_echo") >&5
! 20392: (eval "$ac_try") 2>&5
! 20393: ac_status=$?
! 20394: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20395: (exit $ac_status); }; }; then
! 20396: ac_cv_sizeof_long=`cat conftest.val`
! 20397: else
! 20398: $as_echo "$as_me: program exited with status $ac_status" >&5
! 20399: $as_echo "$as_me: failed program was:" >&5
! 20400: sed 's/^/| /' conftest.$ac_ext >&5
! 20401:
! 20402: ( exit $ac_status )
! 20403: if test "$ac_cv_type_long" = yes; then
! 20404: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 20405: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 20406: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
! 20407: See \`config.log' for more details." >&5
! 20408: $as_echo "$as_me: error: cannot compute sizeof (long)
! 20409: See \`config.log' for more details." >&2;}
! 20410: { (exit 77); exit 77; }; }; }
! 20411: else
! 20412: ac_cv_sizeof_long=0
! 20413: fi
! 20414: fi
! 20415: rm -rf conftest.dSYM
! 20416: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 20417: fi
! 20418: rm -f conftest.val
! 20419: fi
! 20420: { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
! 20421: $as_echo "$ac_cv_sizeof_long" >&6; }
! 20422:
! 20423:
! 20424:
! 20425: cat >>confdefs.h <<_ACEOF
! 20426: #define SIZEOF_LONG $ac_cv_sizeof_long
! 20427: _ACEOF
! 20428:
! 20429:
! 20430: # The cast to long int works around a bug in the HP C Compiler
! 20431: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 20432: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 20433: # This bug is HP SR number 8606223364.
! 20434: { $as_echo "$as_me:$LINENO: checking size of int" >&5
! 20435: $as_echo_n "checking size of int... " >&6; }
! 20436: if test "${ac_cv_sizeof_int+set}" = set; then
! 20437: $as_echo_n "(cached) " >&6
! 20438: else
! 20439: if test "$cross_compiling" = yes; then
! 20440: # Depending upon the size, compute the lo and hi bounds.
! 20441: cat >conftest.$ac_ext <<_ACEOF
! 20442: /* confdefs.h. */
! 20443: _ACEOF
! 20444: cat confdefs.h >>conftest.$ac_ext
! 20445: cat >>conftest.$ac_ext <<_ACEOF
! 20446: /* end confdefs.h. */
! 20447: $ac_includes_default
! 20448: int
! 20449: main ()
! 20450: {
! 20451: static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
! 20452: test_array [0] = 0
! 20453:
! 20454: ;
! 20455: return 0;
! 20456: }
! 20457: _ACEOF
! 20458: rm -f conftest.$ac_objext
! 20459: if { (ac_try="$ac_compile"
! 20460: case "(($ac_try" in
! 20461: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20462: *) ac_try_echo=$ac_try;;
! 20463: esac
! 20464: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20465: $as_echo "$ac_try_echo") >&5
! 20466: (eval "$ac_compile") 2>conftest.er1
! 20467: ac_status=$?
! 20468: grep -v '^ *+' conftest.er1 >conftest.err
! 20469: rm -f conftest.er1
! 20470: cat conftest.err >&5
! 20471: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20472: (exit $ac_status); } && {
! 20473: test -z "$ac_c_werror_flag" ||
! 20474: test ! -s conftest.err
! 20475: } && test -s conftest.$ac_objext; then
! 20476: ac_lo=0 ac_mid=0
! 20477: while :; do
! 20478: cat >conftest.$ac_ext <<_ACEOF
! 20479: /* confdefs.h. */
! 20480: _ACEOF
! 20481: cat confdefs.h >>conftest.$ac_ext
! 20482: cat >>conftest.$ac_ext <<_ACEOF
! 20483: /* end confdefs.h. */
! 20484: $ac_includes_default
! 20485: int
! 20486: main ()
! 20487: {
! 20488: static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
! 20489: test_array [0] = 0
! 20490:
! 20491: ;
! 20492: return 0;
! 20493: }
! 20494: _ACEOF
! 20495: rm -f conftest.$ac_objext
! 20496: if { (ac_try="$ac_compile"
! 20497: case "(($ac_try" in
! 20498: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20499: *) ac_try_echo=$ac_try;;
! 20500: esac
! 20501: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20502: $as_echo "$ac_try_echo") >&5
! 20503: (eval "$ac_compile") 2>conftest.er1
! 20504: ac_status=$?
! 20505: grep -v '^ *+' conftest.er1 >conftest.err
! 20506: rm -f conftest.er1
! 20507: cat conftest.err >&5
! 20508: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20509: (exit $ac_status); } && {
! 20510: test -z "$ac_c_werror_flag" ||
! 20511: test ! -s conftest.err
! 20512: } && test -s conftest.$ac_objext; then
! 20513: ac_hi=$ac_mid; break
! 20514: else
! 20515: $as_echo "$as_me: failed program was:" >&5
! 20516: sed 's/^/| /' conftest.$ac_ext >&5
! 20517:
! 20518: ac_lo=`expr $ac_mid + 1`
! 20519: if test $ac_lo -le $ac_mid; then
! 20520: ac_lo= ac_hi=
! 20521: break
! 20522: fi
! 20523: ac_mid=`expr 2 '*' $ac_mid + 1`
! 20524: fi
! 20525:
! 20526: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20527: done
! 20528: else
! 20529: $as_echo "$as_me: failed program was:" >&5
! 20530: sed 's/^/| /' conftest.$ac_ext >&5
! 20531:
! 20532: cat >conftest.$ac_ext <<_ACEOF
! 20533: /* confdefs.h. */
! 20534: _ACEOF
! 20535: cat confdefs.h >>conftest.$ac_ext
! 20536: cat >>conftest.$ac_ext <<_ACEOF
! 20537: /* end confdefs.h. */
! 20538: $ac_includes_default
! 20539: int
! 20540: main ()
! 20541: {
! 20542: static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
! 20543: test_array [0] = 0
! 20544:
! 20545: ;
! 20546: return 0;
! 20547: }
! 20548: _ACEOF
! 20549: rm -f conftest.$ac_objext
! 20550: if { (ac_try="$ac_compile"
! 20551: case "(($ac_try" in
! 20552: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20553: *) ac_try_echo=$ac_try;;
! 20554: esac
! 20555: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20556: $as_echo "$ac_try_echo") >&5
! 20557: (eval "$ac_compile") 2>conftest.er1
! 20558: ac_status=$?
! 20559: grep -v '^ *+' conftest.er1 >conftest.err
! 20560: rm -f conftest.er1
! 20561: cat conftest.err >&5
! 20562: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20563: (exit $ac_status); } && {
! 20564: test -z "$ac_c_werror_flag" ||
! 20565: test ! -s conftest.err
! 20566: } && test -s conftest.$ac_objext; then
! 20567: ac_hi=-1 ac_mid=-1
! 20568: while :; do
! 20569: cat >conftest.$ac_ext <<_ACEOF
! 20570: /* confdefs.h. */
! 20571: _ACEOF
! 20572: cat confdefs.h >>conftest.$ac_ext
! 20573: cat >>conftest.$ac_ext <<_ACEOF
! 20574: /* end confdefs.h. */
! 20575: $ac_includes_default
! 20576: int
! 20577: main ()
! 20578: {
! 20579: static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
! 20580: test_array [0] = 0
! 20581:
! 20582: ;
! 20583: return 0;
! 20584: }
! 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_lo=$ac_mid; break
! 20605: else
! 20606: $as_echo "$as_me: failed program was:" >&5
! 20607: sed 's/^/| /' conftest.$ac_ext >&5
! 20608:
! 20609: ac_hi=`expr '(' $ac_mid ')' - 1`
! 20610: if test $ac_mid -le $ac_hi; then
! 20611: ac_lo= ac_hi=
! 20612: break
! 20613: fi
! 20614: ac_mid=`expr 2 '*' $ac_mid`
! 20615: fi
! 20616:
! 20617: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20618: done
! 20619: else
! 20620: $as_echo "$as_me: failed program was:" >&5
! 20621: sed 's/^/| /' conftest.$ac_ext >&5
! 20622:
! 20623: ac_lo= ac_hi=
! 20624: fi
! 20625:
! 20626: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20627: fi
! 20628:
! 20629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20630: # Binary search between lo and hi bounds.
! 20631: while test "x$ac_lo" != "x$ac_hi"; do
! 20632: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 20633: cat >conftest.$ac_ext <<_ACEOF
! 20634: /* confdefs.h. */
! 20635: _ACEOF
! 20636: cat confdefs.h >>conftest.$ac_ext
! 20637: cat >>conftest.$ac_ext <<_ACEOF
! 20638: /* end confdefs.h. */
! 20639: $ac_includes_default
! 20640: int
! 20641: main ()
! 20642: {
! 20643: static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
! 20644: test_array [0] = 0
! 20645:
! 20646: ;
! 20647: return 0;
! 20648: }
! 20649: _ACEOF
! 20650: rm -f conftest.$ac_objext
! 20651: if { (ac_try="$ac_compile"
! 20652: case "(($ac_try" in
! 20653: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20654: *) ac_try_echo=$ac_try;;
! 20655: esac
! 20656: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20657: $as_echo "$ac_try_echo") >&5
! 20658: (eval "$ac_compile") 2>conftest.er1
! 20659: ac_status=$?
! 20660: grep -v '^ *+' conftest.er1 >conftest.err
! 20661: rm -f conftest.er1
! 20662: cat conftest.err >&5
! 20663: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20664: (exit $ac_status); } && {
! 20665: test -z "$ac_c_werror_flag" ||
! 20666: test ! -s conftest.err
! 20667: } && test -s conftest.$ac_objext; then
! 20668: ac_hi=$ac_mid
! 20669: else
! 20670: $as_echo "$as_me: failed program was:" >&5
! 20671: sed 's/^/| /' conftest.$ac_ext >&5
! 20672:
! 20673: ac_lo=`expr '(' $ac_mid ')' + 1`
! 20674: fi
! 20675:
! 20676: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20677: done
! 20678: case $ac_lo in
! 20679: ?*) ac_cv_sizeof_int=$ac_lo;;
! 20680: '') if test "$ac_cv_type_int" = yes; then
! 20681: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 20682: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 20683: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
! 20684: See \`config.log' for more details." >&5
! 20685: $as_echo "$as_me: error: cannot compute sizeof (int)
! 20686: See \`config.log' for more details." >&2;}
! 20687: { (exit 77); exit 77; }; }; }
! 20688: else
! 20689: ac_cv_sizeof_int=0
! 20690: fi ;;
! 20691: esac
! 20692: else
! 20693: cat >conftest.$ac_ext <<_ACEOF
! 20694: /* confdefs.h. */
! 20695: _ACEOF
! 20696: cat confdefs.h >>conftest.$ac_ext
! 20697: cat >>conftest.$ac_ext <<_ACEOF
! 20698: /* end confdefs.h. */
! 20699: $ac_includes_default
! 20700: static long int longval () { return (long int) (sizeof (int)); }
! 20701: static unsigned long int ulongval () { return (long int) (sizeof (int)); }
! 20702: #include <stdio.h>
! 20703: #include <stdlib.h>
! 20704: int
! 20705: main ()
! 20706: {
! 20707:
! 20708: FILE *f = fopen ("conftest.val", "w");
! 20709: if (! f)
! 20710: return 1;
! 20711: if (((long int) (sizeof (int))) < 0)
! 20712: {
! 20713: long int i = longval ();
! 20714: if (i != ((long int) (sizeof (int))))
! 20715: return 1;
! 20716: fprintf (f, "%ld", i);
! 20717: }
! 20718: else
! 20719: {
! 20720: unsigned long int i = ulongval ();
! 20721: if (i != ((long int) (sizeof (int))))
! 20722: return 1;
! 20723: fprintf (f, "%lu", i);
! 20724: }
! 20725: /* Do not output a trailing newline, as this causes \r\n confusion
! 20726: on some platforms. */
! 20727: return ferror (f) || fclose (f) != 0;
! 20728:
! 20729: ;
! 20730: return 0;
! 20731: }
! 20732: _ACEOF
! 20733: rm -f conftest$ac_exeext
! 20734: if { (ac_try="$ac_link"
! 20735: case "(($ac_try" in
! 20736: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20737: *) ac_try_echo=$ac_try;;
! 20738: esac
! 20739: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20740: $as_echo "$ac_try_echo") >&5
! 20741: (eval "$ac_link") 2>&5
! 20742: ac_status=$?
! 20743: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20744: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 20745: { (case "(($ac_try" in
! 20746: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20747: *) ac_try_echo=$ac_try;;
! 20748: esac
! 20749: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20750: $as_echo "$ac_try_echo") >&5
! 20751: (eval "$ac_try") 2>&5
! 20752: ac_status=$?
! 20753: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20754: (exit $ac_status); }; }; then
! 20755: ac_cv_sizeof_int=`cat conftest.val`
! 20756: else
! 20757: $as_echo "$as_me: program exited with status $ac_status" >&5
! 20758: $as_echo "$as_me: failed program was:" >&5
! 20759: sed 's/^/| /' conftest.$ac_ext >&5
! 20760:
! 20761: ( exit $ac_status )
! 20762: if test "$ac_cv_type_int" = yes; then
! 20763: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 20764: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 20765: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
! 20766: See \`config.log' for more details." >&5
! 20767: $as_echo "$as_me: error: cannot compute sizeof (int)
! 20768: See \`config.log' for more details." >&2;}
! 20769: { (exit 77); exit 77; }; }; }
! 20770: else
! 20771: ac_cv_sizeof_int=0
! 20772: fi
! 20773: fi
! 20774: rm -rf conftest.dSYM
! 20775: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 20776: fi
! 20777: rm -f conftest.val
! 20778: fi
! 20779: { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
! 20780: $as_echo "$ac_cv_sizeof_int" >&6; }
! 20781:
! 20782:
! 20783:
! 20784: cat >>confdefs.h <<_ACEOF
! 20785: #define SIZEOF_INT $ac_cv_sizeof_int
! 20786: _ACEOF
! 20787:
! 20788:
! 20789: # The cast to long int works around a bug in the HP C Compiler
! 20790: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 20791: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 20792: # This bug is HP SR number 8606223364.
! 20793: { $as_echo "$as_me:$LINENO: checking size of void *" >&5
! 20794: $as_echo_n "checking size of void *... " >&6; }
! 20795: if test "${ac_cv_sizeof_void_p+set}" = set; then
! 20796: $as_echo_n "(cached) " >&6
! 20797: else
! 20798: if test "$cross_compiling" = yes; then
! 20799: # Depending upon the size, compute the lo and hi bounds.
! 20800: cat >conftest.$ac_ext <<_ACEOF
! 20801: /* confdefs.h. */
! 20802: _ACEOF
! 20803: cat confdefs.h >>conftest.$ac_ext
! 20804: cat >>conftest.$ac_ext <<_ACEOF
! 20805: /* end confdefs.h. */
! 20806: $ac_includes_default
! 20807: int
! 20808: main ()
! 20809: {
! 20810: static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
! 20811: test_array [0] = 0
! 20812:
! 20813: ;
! 20814: return 0;
! 20815: }
! 20816: _ACEOF
! 20817: rm -f conftest.$ac_objext
! 20818: if { (ac_try="$ac_compile"
! 20819: case "(($ac_try" in
! 20820: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20821: *) ac_try_echo=$ac_try;;
! 20822: esac
! 20823: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20824: $as_echo "$ac_try_echo") >&5
! 20825: (eval "$ac_compile") 2>conftest.er1
! 20826: ac_status=$?
! 20827: grep -v '^ *+' conftest.er1 >conftest.err
! 20828: rm -f conftest.er1
! 20829: cat conftest.err >&5
! 20830: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20831: (exit $ac_status); } && {
! 20832: test -z "$ac_c_werror_flag" ||
! 20833: test ! -s conftest.err
! 20834: } && test -s conftest.$ac_objext; then
! 20835: ac_lo=0 ac_mid=0
! 20836: while :; do
! 20837: cat >conftest.$ac_ext <<_ACEOF
! 20838: /* confdefs.h. */
! 20839: _ACEOF
! 20840: cat confdefs.h >>conftest.$ac_ext
! 20841: cat >>conftest.$ac_ext <<_ACEOF
! 20842: /* end confdefs.h. */
! 20843: $ac_includes_default
! 20844: int
! 20845: main ()
! 20846: {
! 20847: static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
! 20848: test_array [0] = 0
! 20849:
! 20850: ;
! 20851: return 0;
! 20852: }
! 20853: _ACEOF
! 20854: rm -f conftest.$ac_objext
! 20855: if { (ac_try="$ac_compile"
! 20856: case "(($ac_try" in
! 20857: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20858: *) ac_try_echo=$ac_try;;
! 20859: esac
! 20860: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20861: $as_echo "$ac_try_echo") >&5
! 20862: (eval "$ac_compile") 2>conftest.er1
! 20863: ac_status=$?
! 20864: grep -v '^ *+' conftest.er1 >conftest.err
! 20865: rm -f conftest.er1
! 20866: cat conftest.err >&5
! 20867: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20868: (exit $ac_status); } && {
! 20869: test -z "$ac_c_werror_flag" ||
! 20870: test ! -s conftest.err
! 20871: } && test -s conftest.$ac_objext; then
! 20872: ac_hi=$ac_mid; break
! 20873: else
! 20874: $as_echo "$as_me: failed program was:" >&5
! 20875: sed 's/^/| /' conftest.$ac_ext >&5
! 20876:
! 20877: ac_lo=`expr $ac_mid + 1`
! 20878: if test $ac_lo -le $ac_mid; then
! 20879: ac_lo= ac_hi=
! 20880: break
! 20881: fi
! 20882: ac_mid=`expr 2 '*' $ac_mid + 1`
! 20883: fi
! 20884:
! 20885: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20886: done
! 20887: else
! 20888: $as_echo "$as_me: failed program was:" >&5
! 20889: sed 's/^/| /' conftest.$ac_ext >&5
! 20890:
! 20891: cat >conftest.$ac_ext <<_ACEOF
! 20892: /* confdefs.h. */
! 20893: _ACEOF
! 20894: cat confdefs.h >>conftest.$ac_ext
! 20895: cat >>conftest.$ac_ext <<_ACEOF
! 20896: /* end confdefs.h. */
! 20897: $ac_includes_default
! 20898: int
! 20899: main ()
! 20900: {
! 20901: static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
! 20902: test_array [0] = 0
! 20903:
! 20904: ;
! 20905: return 0;
! 20906: }
! 20907: _ACEOF
! 20908: rm -f conftest.$ac_objext
! 20909: if { (ac_try="$ac_compile"
! 20910: case "(($ac_try" in
! 20911: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20912: *) ac_try_echo=$ac_try;;
! 20913: esac
! 20914: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20915: $as_echo "$ac_try_echo") >&5
! 20916: (eval "$ac_compile") 2>conftest.er1
! 20917: ac_status=$?
! 20918: grep -v '^ *+' conftest.er1 >conftest.err
! 20919: rm -f conftest.er1
! 20920: cat conftest.err >&5
! 20921: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20922: (exit $ac_status); } && {
! 20923: test -z "$ac_c_werror_flag" ||
! 20924: test ! -s conftest.err
! 20925: } && test -s conftest.$ac_objext; then
! 20926: ac_hi=-1 ac_mid=-1
! 20927: while :; do
! 20928: cat >conftest.$ac_ext <<_ACEOF
! 20929: /* confdefs.h. */
! 20930: _ACEOF
! 20931: cat confdefs.h >>conftest.$ac_ext
! 20932: cat >>conftest.$ac_ext <<_ACEOF
! 20933: /* end confdefs.h. */
! 20934: $ac_includes_default
! 20935: int
! 20936: main ()
! 20937: {
! 20938: static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
! 20939: test_array [0] = 0
! 20940:
! 20941: ;
! 20942: return 0;
! 20943: }
! 20944: _ACEOF
! 20945: rm -f conftest.$ac_objext
! 20946: if { (ac_try="$ac_compile"
! 20947: case "(($ac_try" in
! 20948: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 20949: *) ac_try_echo=$ac_try;;
! 20950: esac
! 20951: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 20952: $as_echo "$ac_try_echo") >&5
! 20953: (eval "$ac_compile") 2>conftest.er1
! 20954: ac_status=$?
! 20955: grep -v '^ *+' conftest.er1 >conftest.err
! 20956: rm -f conftest.er1
! 20957: cat conftest.err >&5
! 20958: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20959: (exit $ac_status); } && {
! 20960: test -z "$ac_c_werror_flag" ||
! 20961: test ! -s conftest.err
! 20962: } && test -s conftest.$ac_objext; then
! 20963: ac_lo=$ac_mid; break
! 20964: else
! 20965: $as_echo "$as_me: failed program was:" >&5
! 20966: sed 's/^/| /' conftest.$ac_ext >&5
! 20967:
! 20968: ac_hi=`expr '(' $ac_mid ')' - 1`
! 20969: if test $ac_mid -le $ac_hi; then
! 20970: ac_lo= ac_hi=
! 20971: break
! 20972: fi
! 20973: ac_mid=`expr 2 '*' $ac_mid`
! 20974: fi
! 20975:
! 20976: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20977: done
! 20978: else
! 20979: $as_echo "$as_me: failed program was:" >&5
! 20980: sed 's/^/| /' conftest.$ac_ext >&5
! 20981:
! 20982: ac_lo= ac_hi=
! 20983: fi
! 20984:
! 20985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20986: fi
! 20987:
! 20988: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 20989: # Binary search between lo and hi bounds.
! 20990: while test "x$ac_lo" != "x$ac_hi"; do
! 20991: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 20992: cat >conftest.$ac_ext <<_ACEOF
! 20993: /* confdefs.h. */
! 20994: _ACEOF
! 20995: cat confdefs.h >>conftest.$ac_ext
! 20996: cat >>conftest.$ac_ext <<_ACEOF
! 20997: /* end confdefs.h. */
! 20998: $ac_includes_default
! 20999: int
! 21000: main ()
! 21001: {
! 21002: static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
! 21003: test_array [0] = 0
! 21004:
! 21005: ;
! 21006: return 0;
! 21007: }
! 21008: _ACEOF
! 21009: rm -f conftest.$ac_objext
! 21010: if { (ac_try="$ac_compile"
! 21011: case "(($ac_try" in
! 21012: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21013: *) ac_try_echo=$ac_try;;
! 21014: esac
! 21015: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21016: $as_echo "$ac_try_echo") >&5
! 21017: (eval "$ac_compile") 2>conftest.er1
! 21018: ac_status=$?
! 21019: grep -v '^ *+' conftest.er1 >conftest.err
! 21020: rm -f conftest.er1
! 21021: cat conftest.err >&5
! 21022: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21023: (exit $ac_status); } && {
! 21024: test -z "$ac_c_werror_flag" ||
! 21025: test ! -s conftest.err
! 21026: } && test -s conftest.$ac_objext; then
! 21027: ac_hi=$ac_mid
! 21028: else
! 21029: $as_echo "$as_me: failed program was:" >&5
! 21030: sed 's/^/| /' conftest.$ac_ext >&5
! 21031:
! 21032: ac_lo=`expr '(' $ac_mid ')' + 1`
! 21033: fi
! 21034:
! 21035: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21036: done
! 21037: case $ac_lo in
! 21038: ?*) ac_cv_sizeof_void_p=$ac_lo;;
! 21039: '') if test "$ac_cv_type_void_p" = yes; then
! 21040: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 21041: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 21042: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
! 21043: See \`config.log' for more details." >&5
! 21044: $as_echo "$as_me: error: cannot compute sizeof (void *)
! 21045: See \`config.log' for more details." >&2;}
! 21046: { (exit 77); exit 77; }; }; }
! 21047: else
! 21048: ac_cv_sizeof_void_p=0
! 21049: fi ;;
! 21050: esac
! 21051: else
! 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: static long int longval () { return (long int) (sizeof (void *)); }
! 21060: static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
! 21061: #include <stdio.h>
! 21062: #include <stdlib.h>
! 21063: int
! 21064: main ()
! 21065: {
! 21066:
! 21067: FILE *f = fopen ("conftest.val", "w");
! 21068: if (! f)
! 21069: return 1;
! 21070: if (((long int) (sizeof (void *))) < 0)
! 21071: {
! 21072: long int i = longval ();
! 21073: if (i != ((long int) (sizeof (void *))))
! 21074: return 1;
! 21075: fprintf (f, "%ld", i);
! 21076: }
! 21077: else
! 21078: {
! 21079: unsigned long int i = ulongval ();
! 21080: if (i != ((long int) (sizeof (void *))))
! 21081: return 1;
! 21082: fprintf (f, "%lu", i);
! 21083: }
! 21084: /* Do not output a trailing newline, as this causes \r\n confusion
! 21085: on some platforms. */
! 21086: return ferror (f) || fclose (f) != 0;
! 21087:
! 21088: ;
! 21089: return 0;
! 21090: }
! 21091: _ACEOF
! 21092: rm -f conftest$ac_exeext
! 21093: if { (ac_try="$ac_link"
! 21094: case "(($ac_try" in
! 21095: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21096: *) ac_try_echo=$ac_try;;
! 21097: esac
! 21098: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21099: $as_echo "$ac_try_echo") >&5
! 21100: (eval "$ac_link") 2>&5
! 21101: ac_status=$?
! 21102: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21103: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 21104: { (case "(($ac_try" in
! 21105: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21106: *) ac_try_echo=$ac_try;;
! 21107: esac
! 21108: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21109: $as_echo "$ac_try_echo") >&5
! 21110: (eval "$ac_try") 2>&5
! 21111: ac_status=$?
! 21112: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21113: (exit $ac_status); }; }; then
! 21114: ac_cv_sizeof_void_p=`cat conftest.val`
! 21115: else
! 21116: $as_echo "$as_me: program exited with status $ac_status" >&5
! 21117: $as_echo "$as_me: failed program was:" >&5
! 21118: sed 's/^/| /' conftest.$ac_ext >&5
! 21119:
! 21120: ( exit $ac_status )
! 21121: if test "$ac_cv_type_void_p" = yes; then
! 21122: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 21123: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 21124: { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
! 21125: See \`config.log' for more details." >&5
! 21126: $as_echo "$as_me: error: cannot compute sizeof (void *)
! 21127: See \`config.log' for more details." >&2;}
! 21128: { (exit 77); exit 77; }; }; }
! 21129: else
! 21130: ac_cv_sizeof_void_p=0
! 21131: fi
! 21132: fi
! 21133: rm -rf conftest.dSYM
! 21134: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 21135: fi
! 21136: rm -f conftest.val
! 21137: fi
! 21138: { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
! 21139: $as_echo "$ac_cv_sizeof_void_p" >&6; }
! 21140:
! 21141:
! 21142:
! 21143: cat >>confdefs.h <<_ACEOF
! 21144: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
! 21145: _ACEOF
! 21146:
! 21147:
! 21148:
! 21149:
! 21150:
! 21151:
! 21152:
! 21153: if test -n "$PYTHON"; then
! 21154: # If the user set $PYTHON, use it and don't search something else.
! 21155: { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
! 21156: $as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
! 21157: prog="import sys, string
! 21158: # split strings by '.' and convert to numeric. Append some zeros
! 21159: # because we need at least 4 digits for the hex conversion.
! 21160: minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
! 21161: minverhex = 0
! 21162: for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
! 21163: sys.exit(sys.hexversion < minverhex)"
! 21164: if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
! 21165: ($PYTHON -c "$prog") >&5 2>&5
! 21166: ac_status=$?
! 21167: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21168: (exit $ac_status); }; then
! 21169: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 21170: $as_echo "yes" >&6; }
! 21171: else
! 21172: { { $as_echo "$as_me:$LINENO: error: too old" >&5
! 21173: $as_echo "$as_me: error: too old" >&2;}
! 21174: { (exit 1); exit 1; }; }
! 21175: fi
! 21176:
! 21177: am_display_PYTHON=$PYTHON
! 21178: else
! 21179: # Otherwise, try each interpreter until we find one that satisfies
! 21180: # VERSION.
! 21181: { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
! 21182: $as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
! 21183: if test "${am_cv_pathless_PYTHON+set}" = set; then
! 21184: $as_echo_n "(cached) " >&6
! 21185: else
! 21186:
! 21187: for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
! 21188: test "$am_cv_pathless_PYTHON" = none && break
! 21189: prog="import sys, string
! 21190: # split strings by '.' and convert to numeric. Append some zeros
! 21191: # because we need at least 4 digits for the hex conversion.
! 21192: minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
! 21193: minverhex = 0
! 21194: for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
! 21195: sys.exit(sys.hexversion < minverhex)"
! 21196: if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
! 21197: ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
! 21198: ac_status=$?
! 21199: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21200: (exit $ac_status); }; then
! 21201: break
! 21202: fi
! 21203:
! 21204: done
! 21205: fi
! 21206: { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
! 21207: $as_echo "$am_cv_pathless_PYTHON" >&6; }
! 21208: # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
! 21209: if test "$am_cv_pathless_PYTHON" = none; then
! 21210: PYTHON=:
! 21211: else
! 21212: # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
! 21213: set dummy $am_cv_pathless_PYTHON; ac_word=$2
! 21214: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 21215: $as_echo_n "checking for $ac_word... " >&6; }
! 21216: if test "${ac_cv_path_PYTHON+set}" = set; then
! 21217: $as_echo_n "(cached) " >&6
! 21218: else
! 21219: case $PYTHON in
! 21220: [\\/]* | ?:[\\/]*)
! 21221: ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
! 21222: ;;
! 21223: *)
! 21224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 21225: for as_dir in $PATH
! 21226: do
! 21227: IFS=$as_save_IFS
! 21228: test -z "$as_dir" && as_dir=.
! 21229: for ac_exec_ext in '' $ac_executable_extensions; do
! 21230: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 21231: ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
! 21232: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 21233: break 2
! 21234: fi
! 21235: done
! 21236: done
! 21237: IFS=$as_save_IFS
! 21238:
! 21239: ;;
! 21240: esac
! 21241: fi
! 21242: PYTHON=$ac_cv_path_PYTHON
! 21243: if test -n "$PYTHON"; then
! 21244: { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
! 21245: $as_echo "$PYTHON" >&6; }
! 21246: else
! 21247: { $as_echo "$as_me:$LINENO: result: no" >&5
! 21248: $as_echo "no" >&6; }
! 21249: fi
! 21250:
! 21251:
! 21252: fi
! 21253: am_display_PYTHON=$am_cv_pathless_PYTHON
! 21254: fi
! 21255:
! 21256:
! 21257: if test "$PYTHON" = :; then
! 21258: { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
! 21259: $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
! 21260: { (exit 1); exit 1; }; }
! 21261: else
! 21262:
! 21263:
! 21264: { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
! 21265: $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
! 21266: if test "${am_cv_python_version+set}" = set; then
! 21267: $as_echo_n "(cached) " >&6
! 21268: else
! 21269: am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
! 21270: fi
! 21271: { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
! 21272: $as_echo "$am_cv_python_version" >&6; }
! 21273: PYTHON_VERSION=$am_cv_python_version
! 21274:
! 21275:
! 21276:
! 21277: PYTHON_PREFIX='${prefix}'
! 21278:
! 21279: PYTHON_EXEC_PREFIX='${exec_prefix}'
! 21280:
! 21281:
! 21282:
! 21283: { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
! 21284: $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
! 21285: if test "${am_cv_python_platform+set}" = set; then
! 21286: $as_echo_n "(cached) " >&6
! 21287: else
! 21288: am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
! 21289: fi
! 21290: { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
! 21291: $as_echo "$am_cv_python_platform" >&6; }
! 21292: PYTHON_PLATFORM=$am_cv_python_platform
! 21293:
! 21294:
! 21295:
! 21296:
! 21297: { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
! 21298: $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
! 21299: if test "${am_cv_python_pythondir+set}" = set; then
! 21300: $as_echo_n "(cached) " >&6
! 21301: else
! 21302: am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
! 21303: echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
! 21304: fi
! 21305: { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
! 21306: $as_echo "$am_cv_python_pythondir" >&6; }
! 21307: pythondir=$am_cv_python_pythondir
! 21308:
! 21309:
! 21310:
! 21311: pkgpythondir=\${pythondir}/$PACKAGE
! 21312:
! 21313:
! 21314: { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
! 21315: $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
! 21316: if test "${am_cv_python_pyexecdir+set}" = set; then
! 21317: $as_echo_n "(cached) " >&6
! 21318: else
! 21319: am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
! 21320: echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
! 21321: fi
! 21322: { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
! 21323: $as_echo "$am_cv_python_pyexecdir" >&6; }
! 21324: pyexecdir=$am_cv_python_pyexecdir
! 21325:
! 21326:
! 21327:
! 21328: pkgpyexecdir=\${pyexecdir}/$PACKAGE
! 21329:
! 21330:
! 21331:
! 21332: fi
! 21333:
! 21334:
! 21335:
! 21336: # find python-config
! 21337: PYTHON_CONFIG=`./get-python-config`
! 21338:
! 21339: # get python includes
! 21340: PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
! 21341: old_CPPFLAGS=$CPPFLAGS
! 21342: CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
! 21343: echo "Python includes: $PYTHON_INCLUDES"
! 21344:
! 21345:
! 21346: cat >conftest.$ac_ext <<_ACEOF
! 21347: /* confdefs.h. */
! 21348: _ACEOF
! 21349: cat confdefs.h >>conftest.$ac_ext
! 21350: cat >>conftest.$ac_ext <<_ACEOF
! 21351: /* end confdefs.h. */
! 21352: #include <Python.h>
! 21353: int
! 21354: main ()
! 21355: {
! 21356: Py_InitModule3(NULL, NULL, NULL);
! 21357: ;
! 21358: return 0;
! 21359: }
! 21360: _ACEOF
! 21361: rm -f conftest.$ac_objext
! 21362: if { (ac_try="$ac_compile"
! 21363: case "(($ac_try" in
! 21364: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21365: *) ac_try_echo=$ac_try;;
! 21366: esac
! 21367: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21368: $as_echo "$ac_try_echo") >&5
! 21369: (eval "$ac_compile") 2>conftest.er1
! 21370: ac_status=$?
! 21371: grep -v '^ *+' conftest.er1 >conftest.err
! 21372: rm -f conftest.er1
! 21373: cat conftest.err >&5
! 21374: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21375: (exit $ac_status); } && {
! 21376: test -z "$ac_c_werror_flag" ||
! 21377: test ! -s conftest.err
! 21378: } && test -s conftest.$ac_objext; then
! 21379: python_devel_found=yes
! 21380: else
! 21381: $as_echo "$as_me: failed program was:" >&5
! 21382: sed 's/^/| /' conftest.$ac_ext >&5
! 21383:
! 21384: python_devel_found=no
! 21385: fi
! 21386:
! 21387: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 21388: { $as_echo "$as_me:$LINENO: result: Python development headers status: $python_devel_found" >&5
! 21389: $as_echo "Python development headers status: $python_devel_found" >&6; }
! 21390: if test "x$python_devel_found" = "xno"; then
! 21391: { $as_echo "$as_me:$LINENO: WARNING: Cannot find Python.h header or current python development environment do not compile symbols required. On debian try to install python-dev package." >&5
! 21392: $as_echo "$as_me: WARNING: Cannot find Python.h header or current python development environment do not compile symbols required. On debian try to install python-dev package." >&2;}
! 21393: fi
! 21394:
! 21395: # get python flags and libs
! 21396: PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags 2>/dev/null`
! 21397: PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
! 21398:
! 21399:
! 21400:
! 21401:
! 21402: if test "x$python_devel_found" = "xyes"; then
! 21403: ENABLE_PY_AXL_TRUE=
! 21404: ENABLE_PY_AXL_FALSE='#'
! 21405: else
! 21406: ENABLE_PY_AXL_TRUE='#'
! 21407: ENABLE_PY_AXL_FALSE=
! 21408: fi
! 21409:
! 21410:
! 21411: ##########################
! 21412: # Check for doxygen tool #
! 21413: ##########################
! 21414: # Check whether --enable-axl-doc was given.
! 21415: if test "${enable_axl_doc+set}" = set; then
! 21416: enableval=$enable_axl_doc; enable_axl_doc="$enableval"
! 21417: else
! 21418: enable_axl_doc=yes
! 21419: fi
! 21420:
! 21421: if test x$enable_axl_doc = xyes ; then
! 21422: # Extract the first word of "doxygen", so it can be a program name with args.
! 21423: set dummy doxygen; ac_word=$2
! 21424: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 21425: $as_echo_n "checking for $ac_word... " >&6; }
! 21426: if test "${ac_cv_prog_DOXYGEN+set}" = set; then
! 21427: $as_echo_n "(cached) " >&6
! 21428: else
! 21429: if test -n "$DOXYGEN"; then
! 21430: ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
! 21431: else
! 21432: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 21433: for as_dir in $PATH
! 21434: do
! 21435: IFS=$as_save_IFS
! 21436: test -z "$as_dir" && as_dir=.
! 21437: for ac_exec_ext in '' $ac_executable_extensions; do
! 21438: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 21439: ac_cv_prog_DOXYGEN=""yes""
! 21440: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 21441: break 2
! 21442: fi
! 21443: done
! 21444: done
! 21445: IFS=$as_save_IFS
! 21446:
! 21447: test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""no""
! 21448: fi
! 21449: fi
! 21450: DOXYGEN=$ac_cv_prog_DOXYGEN
! 21451: if test -n "$DOXYGEN"; then
! 21452: { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
! 21453: $as_echo "$DOXYGEN" >&6; }
! 21454: else
! 21455: { $as_echo "$as_me:$LINENO: result: no" >&5
! 21456: $as_echo "no" >&6; }
! 21457: fi
! 21458:
! 21459:
! 21460: fi
! 21461:
! 21462:
! 21463: if test "x$DOXYGEN" = "xyes"; then
! 21464: ENABLE_AF_ARCH_DOC_TRUE=
! 21465: ENABLE_AF_ARCH_DOC_FALSE='#'
! 21466: else
! 21467: ENABLE_AF_ARCH_DOC_TRUE='#'
! 21468: ENABLE_AF_ARCH_DOC_FALSE=
! 21469: fi
! 21470:
! 21471:
! 21472: # Check whether --enable-axl-test was given.
! 21473: if test "${enable_axl_test+set}" = set; then
! 21474: enableval=$enable_axl_test; enable_axl_test="$enableval"
! 21475: else
! 21476: enable_axl_test=yes
! 21477: fi
! 21478:
! 21479:
! 21480:
! 21481: if test "x$enable_axl_test" = "xyes"; then
! 21482: ENABLE_AXL_TESTS_TRUE=
! 21483: ENABLE_AXL_TESTS_FALSE='#'
! 21484: else
! 21485: ENABLE_AXL_TESTS_TRUE='#'
! 21486: ENABLE_AXL_TESTS_FALSE=
! 21487: fi
! 21488:
! 21489:
! 21490: # Check whether --enable-axl-ns was given.
! 21491: if test "${enable_axl_ns+set}" = set; then
! 21492: enableval=$enable_axl_ns; enable_axl_ns="$enableval"
! 21493: else
! 21494: enable_axl_ns=yes
! 21495: fi
! 21496:
! 21497:
! 21498:
! 21499: if test "x$enable_axl_ns" = "xyes"; then
! 21500: ENABLE_AXL_NS_TRUE=
! 21501: ENABLE_AXL_NS_FALSE='#'
! 21502: else
! 21503: ENABLE_AXL_NS_TRUE='#'
! 21504: ENABLE_AXL_NS_FALSE=
! 21505: fi
! 21506:
! 21507:
! 21508: # Check whether --enable-axl-log was given.
! 21509: if test "${enable_axl_log+set}" = set; then
! 21510: enableval=$enable_axl_log; enable_axl_log="$enableval"
! 21511: else
! 21512: enable_axl_log=yes
! 21513: fi
! 21514:
! 21515:
! 21516:
! 21517: if test "x$enable_axl_log" = "xyes"; then
! 21518: ENABLE_AXL_LOG_TRUE=
! 21519: ENABLE_AXL_LOG_FALSE='#'
! 21520: else
! 21521: ENABLE_AXL_LOG_TRUE='#'
! 21522: ENABLE_AXL_LOG_FALSE=
! 21523: fi
! 21524:
! 21525:
! 21526: # Check whether --enable-axl-knife was given.
! 21527: if test "${enable_axl_knife+set}" = set; then
! 21528: enableval=$enable_axl_knife; enable_axl_knife="$enableval"
! 21529: else
! 21530: enable_axl_knife=yes
! 21531: fi
! 21532:
! 21533:
! 21534:
! 21535: if test "x$enable_axl_knife" = "xyes"; then
! 21536: ENABLE_AXL_KNIFE_TRUE=
! 21537: ENABLE_AXL_KNIFE_FALSE='#'
! 21538: else
! 21539: ENABLE_AXL_KNIFE_TRUE='#'
! 21540: ENABLE_AXL_KNIFE_FALSE=
! 21541: fi
! 21542:
! 21543:
! 21544: # Check whether --enable-axl-babel was given.
! 21545: if test "${enable_axl_babel+set}" = set; then
! 21546: enableval=$enable_axl_babel; enable_axl_babel="$enableval"
! 21547: else
! 21548: enable_axl_babel=yes
! 21549: fi
! 21550:
! 21551:
! 21552:
! 21553: if test "x$enable_axl_babel" = "xyes"; then
! 21554: ENABLE_AXL_BABEL_TRUE=
! 21555: ENABLE_AXL_BABEL_FALSE='#'
! 21556: else
! 21557: ENABLE_AXL_BABEL_TRUE='#'
! 21558: ENABLE_AXL_BABEL_FALSE=
! 21559: fi
! 21560:
! 21561:
! 21562: # The following command also comes to produce the axl_config.h file
! 21563: # required by the tool. If you update this, remember to update the
! 21564: # af-arch main configure.ac
! 21565: cat >conftest.$ac_ext <<_ACEOF
! 21566: /* confdefs.h. */
! 21567: _ACEOF
! 21568: cat confdefs.h >>conftest.$ac_ext
! 21569: cat >>conftest.$ac_ext <<_ACEOF
! 21570: /* end confdefs.h. */
! 21571: #define _GNU_SOURCE
! 21572: #include <stdio.h>
! 21573: int
! 21574: main ()
! 21575: {
! 21576:
! 21577: char * result;
! 21578: vasprintf (&result, "This is a test: %d", NULL);
! 21579: return 0;
! 21580:
! 21581: ;
! 21582: return 0;
! 21583: }
! 21584: _ACEOF
! 21585: rm -f conftest.$ac_objext conftest$ac_exeext
! 21586: if { (ac_try="$ac_link"
! 21587: case "(($ac_try" in
! 21588: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 21589: *) ac_try_echo=$ac_try;;
! 21590: esac
! 21591: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 21592: $as_echo "$ac_try_echo") >&5
! 21593: (eval "$ac_link") 2>conftest.er1
! 21594: ac_status=$?
! 21595: grep -v '^ *+' conftest.er1 >conftest.err
! 21596: rm -f conftest.er1
! 21597: cat conftest.err >&5
! 21598: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 21599: (exit $ac_status); } && {
! 21600: test -z "$ac_c_werror_flag" ||
! 21601: test ! -s conftest.err
! 21602: } && test -s conftest$ac_exeext && {
! 21603: test "$cross_compiling" = yes ||
! 21604: $as_test_x conftest$ac_exeext
! 21605: }; then
! 21606: have_vasprintf=yes
! 21607: else
! 21608: $as_echo "$as_me: failed program was:" >&5
! 21609: sed 's/^/| /' conftest.$ac_ext >&5
! 21610:
! 21611: have_vasprintf=no
! 21612: fi
! 21613:
! 21614: rm -rf conftest.dSYM
! 21615: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 21616: conftest$ac_exeext conftest.$ac_ext
! 21617: echo "Checking vasprintf support: $have_vasprintf"
! 21618:
! 21619: # produce axl_config.h file this section will only be run if
! 21620: # config.status is invoked with no arguments, or with "axl_config.h"
! 21621: # as an argument. Remember to update af-arch configure.ac file to
! 21622: # include the same script building as the following.
! 21623: ac_config_commands="$ac_config_commands axl_config.h"
! 21624:
! 21625:
! 21626: case $have_vasprintf in
! 21627: yes)
! 21628: EXARG_FLAGS="-DHAVE_VASPRINTF $EXARG_FLAGS"
! 21629: echo "vasprintf support found"
! 21630: ;;
! 21631: esac
! 21632:
! 21633: case $host in
! 21634: *-*-mingw*)
! 21635: EXARG_FLAGS="-DOS_WIN32 $EXARG_FLAGS"
! 21636: echo "windows platform found"
! 21637: ;;
! 21638: *)
! 21639: echo "platform found: $host"
! 21640: ;;
! 21641: esac
! 21642:
! 21643:
! 21644: SHARED_EXTENSION=$shrext_cmds
! 21645:
! 21646:
! 21647:
! 21648: ac_config_files="$ac_config_files Makefile src/Makefile ns/Makefile doc/Makefile doc/axl-doc.doxygen babel/Makefile test/Makefile knife/Makefile py-axl/Makefile py-axl/__init__.py py-axl/doc/conf.py py-axl/doc/Makefile axl.pc axl-ns.pc axl-babel.pc"
! 21649:
! 21650: cat >confcache <<\_ACEOF
! 21651: # This file is a shell script that caches the results of configure
! 21652: # tests run on this system so they can be shared between configure
! 21653: # scripts and configure runs, see configure's option --config-cache.
! 21654: # It is not useful on other systems. If it contains results you don't
! 21655: # want to keep, you may remove or edit it.
! 21656: #
! 21657: # config.status only pays attention to the cache file if you give it
! 21658: # the --recheck option to rerun configure.
! 21659: #
! 21660: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 21661: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 21662: # following values.
! 21663:
! 21664: _ACEOF
! 21665:
! 21666: # The following way of writing the cache mishandles newlines in values,
! 21667: # but we know of no workaround that is simple, portable, and efficient.
! 21668: # So, we kill variables containing newlines.
! 21669: # Ultrix sh set writes to stderr and can't be redirected directly,
! 21670: # and sets the high bit in the cache file unless we assign to the vars.
! 21671: (
! 21672: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 21673: eval ac_val=\$$ac_var
! 21674: case $ac_val in #(
! 21675: *${as_nl}*)
! 21676: case $ac_var in #(
! 21677: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
! 21678: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 21679: esac
! 21680: case $ac_var in #(
! 21681: _ | IFS | as_nl) ;; #(
! 21682: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 21683: *) $as_unset $ac_var ;;
! 21684: esac ;;
! 21685: esac
! 21686: done
! 21687:
! 21688: (set) 2>&1 |
! 21689: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 21690: *${as_nl}ac_space=\ *)
! 21691: # `set' does not quote correctly, so add quotes (double-quote
! 21692: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 21693: sed -n \
! 21694: "s/'/'\\\\''/g;
! 21695: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 21696: ;; #(
! 21697: *)
! 21698: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 21699: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 21700: ;;
! 21701: esac |
! 21702: sort
! 21703: ) |
! 21704: sed '
! 21705: /^ac_cv_env_/b end
! 21706: t clear
! 21707: :clear
! 21708: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 21709: t end
! 21710: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 21711: :end' >>confcache
! 21712: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 21713: if test -w "$cache_file"; then
! 21714: test "x$cache_file" != "x/dev/null" &&
! 21715: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 21716: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 21717: cat confcache >$cache_file
! 21718: else
! 21719: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 21720: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 21721: fi
! 21722: fi
! 21723: rm -f confcache
! 21724:
! 21725: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 21726: # Let make expand exec_prefix.
! 21727: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 21728:
! 21729: DEFS=-DHAVE_CONFIG_H
! 21730:
! 21731: ac_libobjs=
! 21732: ac_ltlibobjs=
! 21733: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 21734: # 1. Remove the extension, and $U if already installed.
! 21735: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 21736: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 21737: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 21738: # will be set to the directory where LIBOBJS objects are built.
! 21739: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 21740: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 21741: done
! 21742: LIBOBJS=$ac_libobjs
! 21743:
! 21744: LTLIBOBJS=$ac_ltlibobjs
! 21745:
! 21746:
! 21747: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
! 21748: { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
! 21749: Usually this means the macro was only invoked conditionally." >&5
! 21750: $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
! 21751: Usually this means the macro was only invoked conditionally." >&2;}
! 21752: { (exit 1); exit 1; }; }
! 21753: fi
! 21754: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 21755: { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 21756: Usually this means the macro was only invoked conditionally." >&5
! 21757: $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 21758: Usually this means the macro was only invoked conditionally." >&2;}
! 21759: { (exit 1); exit 1; }; }
! 21760: fi
! 21761: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 21762: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 21763: Usually this means the macro was only invoked conditionally." >&5
! 21764: $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 21765: Usually this means the macro was only invoked conditionally." >&2;}
! 21766: { (exit 1); exit 1; }; }
! 21767: fi
! 21768: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 21769: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 21770: Usually this means the macro was only invoked conditionally." >&5
! 21771: $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 21772: Usually this means the macro was only invoked conditionally." >&2;}
! 21773: { (exit 1); exit 1; }; }
! 21774: fi
! 21775: if test -z "${ENABLE_PY_AXL_TRUE}" && test -z "${ENABLE_PY_AXL_FALSE}"; then
! 21776: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PY_AXL\" was never defined.
! 21777: Usually this means the macro was only invoked conditionally." >&5
! 21778: $as_echo "$as_me: error: conditional \"ENABLE_PY_AXL\" was never defined.
! 21779: Usually this means the macro was only invoked conditionally." >&2;}
! 21780: { (exit 1); exit 1; }; }
! 21781: fi
! 21782: if test -z "${ENABLE_AF_ARCH_DOC_TRUE}" && test -z "${ENABLE_AF_ARCH_DOC_FALSE}"; then
! 21783: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AF_ARCH_DOC\" was never defined.
! 21784: Usually this means the macro was only invoked conditionally." >&5
! 21785: $as_echo "$as_me: error: conditional \"ENABLE_AF_ARCH_DOC\" was never defined.
! 21786: Usually this means the macro was only invoked conditionally." >&2;}
! 21787: { (exit 1); exit 1; }; }
! 21788: fi
! 21789: if test -z "${ENABLE_AXL_TESTS_TRUE}" && test -z "${ENABLE_AXL_TESTS_FALSE}"; then
! 21790: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AXL_TESTS\" was never defined.
! 21791: Usually this means the macro was only invoked conditionally." >&5
! 21792: $as_echo "$as_me: error: conditional \"ENABLE_AXL_TESTS\" was never defined.
! 21793: Usually this means the macro was only invoked conditionally." >&2;}
! 21794: { (exit 1); exit 1; }; }
! 21795: fi
! 21796: if test -z "${ENABLE_AXL_NS_TRUE}" && test -z "${ENABLE_AXL_NS_FALSE}"; then
! 21797: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AXL_NS\" was never defined.
! 21798: Usually this means the macro was only invoked conditionally." >&5
! 21799: $as_echo "$as_me: error: conditional \"ENABLE_AXL_NS\" was never defined.
! 21800: Usually this means the macro was only invoked conditionally." >&2;}
! 21801: { (exit 1); exit 1; }; }
! 21802: fi
! 21803: if test -z "${ENABLE_AXL_LOG_TRUE}" && test -z "${ENABLE_AXL_LOG_FALSE}"; then
! 21804: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AXL_LOG\" was never defined.
! 21805: Usually this means the macro was only invoked conditionally." >&5
! 21806: $as_echo "$as_me: error: conditional \"ENABLE_AXL_LOG\" was never defined.
! 21807: Usually this means the macro was only invoked conditionally." >&2;}
! 21808: { (exit 1); exit 1; }; }
! 21809: fi
! 21810: if test -z "${ENABLE_AXL_KNIFE_TRUE}" && test -z "${ENABLE_AXL_KNIFE_FALSE}"; then
! 21811: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AXL_KNIFE\" was never defined.
! 21812: Usually this means the macro was only invoked conditionally." >&5
! 21813: $as_echo "$as_me: error: conditional \"ENABLE_AXL_KNIFE\" was never defined.
! 21814: Usually this means the macro was only invoked conditionally." >&2;}
! 21815: { (exit 1); exit 1; }; }
! 21816: fi
! 21817: if test -z "${ENABLE_AXL_BABEL_TRUE}" && test -z "${ENABLE_AXL_BABEL_FALSE}"; then
! 21818: { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_AXL_BABEL\" was never defined.
! 21819: Usually this means the macro was only invoked conditionally." >&5
! 21820: $as_echo "$as_me: error: conditional \"ENABLE_AXL_BABEL\" was never defined.
! 21821: Usually this means the macro was only invoked conditionally." >&2;}
! 21822: { (exit 1); exit 1; }; }
! 21823: fi
! 21824:
! 21825: : ${CONFIG_STATUS=./config.status}
! 21826: ac_write_fail=0
! 21827: ac_clean_files_save=$ac_clean_files
! 21828: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 21829: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 21830: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 21831: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21832: #! $SHELL
! 21833: # Generated by $as_me.
! 21834: # Run this file to recreate the current configuration.
! 21835: # Compiler output produced by configure, useful for debugging
! 21836: # configure, is in config.log if it exists.
! 21837:
! 21838: debug=false
! 21839: ac_cs_recheck=false
! 21840: ac_cs_silent=false
! 21841: SHELL=\${CONFIG_SHELL-$SHELL}
! 21842: _ACEOF
! 21843:
! 21844: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21845: ## --------------------- ##
! 21846: ## M4sh Initialization. ##
! 21847: ## --------------------- ##
! 21848:
! 21849: # Be more Bourne compatible
! 21850: DUALCASE=1; export DUALCASE # for MKS sh
! 21851: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 21852: emulate sh
! 21853: NULLCMD=:
! 21854: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 21855: # is contrary to our usage. Disable this feature.
! 21856: alias -g '${1+"$@"}'='"$@"'
! 21857: setopt NO_GLOB_SUBST
! 21858: else
! 21859: case `(set -o) 2>/dev/null` in
! 21860: *posix*) set -o posix ;;
! 21861: esac
! 21862:
! 21863: fi
! 21864:
! 21865:
! 21866:
! 21867:
! 21868: # PATH needs CR
! 21869: # Avoid depending upon Character Ranges.
! 21870: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 21871: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 21872: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 21873: as_cr_digits='0123456789'
! 21874: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 21875:
! 21876: as_nl='
! 21877: '
! 21878: export as_nl
! 21879: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 21880: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 21881: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 21882: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 21883: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 21884: as_echo='printf %s\n'
! 21885: as_echo_n='printf %s'
! 21886: else
! 21887: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 21888: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 21889: as_echo_n='/usr/ucb/echo -n'
! 21890: else
! 21891: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 21892: as_echo_n_body='eval
! 21893: arg=$1;
! 21894: case $arg in
! 21895: *"$as_nl"*)
! 21896: expr "X$arg" : "X\\(.*\\)$as_nl";
! 21897: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 21898: esac;
! 21899: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 21900: '
! 21901: export as_echo_n_body
! 21902: as_echo_n='sh -c $as_echo_n_body as_echo'
! 21903: fi
! 21904: export as_echo_body
! 21905: as_echo='sh -c $as_echo_body as_echo'
! 21906: fi
! 21907:
! 21908: # The user is always right.
! 21909: if test "${PATH_SEPARATOR+set}" != set; then
! 21910: PATH_SEPARATOR=:
! 21911: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 21912: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 21913: PATH_SEPARATOR=';'
! 21914: }
! 21915: fi
! 21916:
! 21917: # Support unset when possible.
! 21918: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 21919: as_unset=unset
! 21920: else
! 21921: as_unset=false
! 21922: fi
! 21923:
! 21924:
! 21925: # IFS
! 21926: # We need space, tab and new line, in precisely that order. Quoting is
! 21927: # there to prevent editors from complaining about space-tab.
! 21928: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 21929: # splitting by setting IFS to empty value.)
! 21930: IFS=" "" $as_nl"
! 21931:
! 21932: # Find who we are. Look in the path if we contain no directory separator.
! 21933: case $0 in
! 21934: *[\\/]* ) as_myself=$0 ;;
! 21935: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 21936: for as_dir in $PATH
! 21937: do
! 21938: IFS=$as_save_IFS
! 21939: test -z "$as_dir" && as_dir=.
! 21940: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 21941: done
! 21942: IFS=$as_save_IFS
! 21943:
! 21944: ;;
! 21945: esac
! 21946: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 21947: # in which case we are not to be found in the path.
! 21948: if test "x$as_myself" = x; then
! 21949: as_myself=$0
! 21950: fi
! 21951: if test ! -f "$as_myself"; then
! 21952: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 21953: { (exit 1); exit 1; }
! 21954: fi
! 21955:
! 21956: # Work around bugs in pre-3.0 UWIN ksh.
! 21957: for as_var in ENV MAIL MAILPATH
! 21958: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 21959: done
! 21960: PS1='$ '
! 21961: PS2='> '
! 21962: PS4='+ '
! 21963:
! 21964: # NLS nuisances.
! 21965: LC_ALL=C
! 21966: export LC_ALL
! 21967: LANGUAGE=C
! 21968: export LANGUAGE
! 21969:
! 21970: # Required to use basename.
! 21971: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 21972: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 21973: as_expr=expr
! 21974: else
! 21975: as_expr=false
! 21976: fi
! 21977:
! 21978: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 21979: as_basename=basename
! 21980: else
! 21981: as_basename=false
! 21982: fi
! 21983:
! 21984:
! 21985: # Name of the executable.
! 21986: as_me=`$as_basename -- "$0" ||
! 21987: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 21988: X"$0" : 'X\(//\)$' \| \
! 21989: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 21990: $as_echo X/"$0" |
! 21991: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 21992: s//\1/
! 21993: q
! 21994: }
! 21995: /^X\/\(\/\/\)$/{
! 21996: s//\1/
! 21997: q
! 21998: }
! 21999: /^X\/\(\/\).*/{
! 22000: s//\1/
! 22001: q
! 22002: }
! 22003: s/.*/./; q'`
! 22004:
! 22005: # CDPATH.
! 22006: $as_unset CDPATH
! 22007:
! 22008:
! 22009:
! 22010: as_lineno_1=$LINENO
! 22011: as_lineno_2=$LINENO
! 22012: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 22013: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 22014:
! 22015: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 22016: # uniformly replaced by the line number. The first 'sed' inserts a
! 22017: # line-number line after each line using $LINENO; the second 'sed'
! 22018: # does the real work. The second script uses 'N' to pair each
! 22019: # line-number line with the line containing $LINENO, and appends
! 22020: # trailing '-' during substitution so that $LINENO is not a special
! 22021: # case at line end.
! 22022: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 22023: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 22024: # E. McMahon (1931-1989) for sed's syntax. :-)
! 22025: sed -n '
! 22026: p
! 22027: /[$]LINENO/=
! 22028: ' <$as_myself |
! 22029: sed '
! 22030: s/[$]LINENO.*/&-/
! 22031: t lineno
! 22032: b
! 22033: :lineno
! 22034: N
! 22035: :loop
! 22036: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 22037: t loop
! 22038: s/-\n.*//
! 22039: ' >$as_me.lineno &&
! 22040: chmod +x "$as_me.lineno" ||
! 22041: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 22042: { (exit 1); exit 1; }; }
! 22043:
! 22044: # Don't try to exec as it changes $[0], causing all sort of problems
! 22045: # (the dirname of $[0] is not the place where we might find the
! 22046: # original and so on. Autoconf is especially sensitive to this).
! 22047: . "./$as_me.lineno"
! 22048: # Exit status is that of the last command.
! 22049: exit
! 22050: }
! 22051:
! 22052:
! 22053: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 22054: as_dirname=dirname
! 22055: else
! 22056: as_dirname=false
! 22057: fi
! 22058:
! 22059: ECHO_C= ECHO_N= ECHO_T=
! 22060: case `echo -n x` in
! 22061: -n*)
! 22062: case `echo 'x\c'` in
! 22063: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 22064: *) ECHO_C='\c';;
! 22065: esac;;
! 22066: *)
! 22067: ECHO_N='-n';;
! 22068: esac
! 22069: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 22070: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 22071: as_expr=expr
! 22072: else
! 22073: as_expr=false
! 22074: fi
! 22075:
! 22076: rm -f conf$$ conf$$.exe conf$$.file
! 22077: if test -d conf$$.dir; then
! 22078: rm -f conf$$.dir/conf$$.file
! 22079: else
! 22080: rm -f conf$$.dir
! 22081: mkdir conf$$.dir 2>/dev/null
! 22082: fi
! 22083: if (echo >conf$$.file) 2>/dev/null; then
! 22084: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 22085: as_ln_s='ln -s'
! 22086: # ... but there are two gotchas:
! 22087: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 22088: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 22089: # In both cases, we have to default to `cp -p'.
! 22090: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 22091: as_ln_s='cp -p'
! 22092: elif ln conf$$.file conf$$ 2>/dev/null; then
! 22093: as_ln_s=ln
! 22094: else
! 22095: as_ln_s='cp -p'
! 22096: fi
! 22097: else
! 22098: as_ln_s='cp -p'
! 22099: fi
! 22100: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 22101: rmdir conf$$.dir 2>/dev/null
! 22102:
! 22103: if mkdir -p . 2>/dev/null; then
! 22104: as_mkdir_p=:
! 22105: else
! 22106: test -d ./-p && rmdir ./-p
! 22107: as_mkdir_p=false
! 22108: fi
! 22109:
! 22110: if test -x / >/dev/null 2>&1; then
! 22111: as_test_x='test -x'
! 22112: else
! 22113: if ls -dL / >/dev/null 2>&1; then
! 22114: as_ls_L_option=L
! 22115: else
! 22116: as_ls_L_option=
! 22117: fi
! 22118: as_test_x='
! 22119: eval sh -c '\''
! 22120: if test -d "$1"; then
! 22121: test -d "$1/.";
! 22122: else
! 22123: case $1 in
! 22124: -*)set "./$1";;
! 22125: esac;
! 22126: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 22127: ???[sx]*):;;*)false;;esac;fi
! 22128: '\'' sh
! 22129: '
! 22130: fi
! 22131: as_executable_p=$as_test_x
! 22132:
! 22133: # Sed expression to map a string onto a valid CPP name.
! 22134: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 22135:
! 22136: # Sed expression to map a string onto a valid variable name.
! 22137: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 22138:
! 22139:
! 22140: exec 6>&1
! 22141:
! 22142: # Save the log message, to keep $[0] and so on meaningful, and to
! 22143: # report actual input values of CONFIG_FILES etc. instead of their
! 22144: # values after options handling.
! 22145: ac_log="
! 22146: This file was extended by $as_me, which was
! 22147: generated by GNU Autoconf 2.63. Invocation command line was
! 22148:
! 22149: CONFIG_FILES = $CONFIG_FILES
! 22150: CONFIG_HEADERS = $CONFIG_HEADERS
! 22151: CONFIG_LINKS = $CONFIG_LINKS
! 22152: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 22153: $ $0 $@
! 22154:
! 22155: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 22156: "
! 22157:
! 22158: _ACEOF
! 22159:
! 22160: case $ac_config_files in *"
! 22161: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 22162: esac
! 22163:
! 22164: case $ac_config_headers in *"
! 22165: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 22166: esac
! 22167:
! 22168:
! 22169: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22170: # Files that config.status was made for.
! 22171: config_files="$ac_config_files"
! 22172: config_headers="$ac_config_headers"
! 22173: config_commands="$ac_config_commands"
! 22174:
! 22175: _ACEOF
! 22176:
! 22177: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22178: ac_cs_usage="\
! 22179: \`$as_me' instantiates files from templates according to the
! 22180: current configuration.
! 22181:
! 22182: Usage: $0 [OPTION]... [FILE]...
! 22183:
! 22184: -h, --help print this help, then exit
! 22185: -V, --version print version number and configuration settings, then exit
! 22186: -q, --quiet, --silent
! 22187: do not print progress messages
! 22188: -d, --debug don't remove temporary files
! 22189: --recheck update $as_me by reconfiguring in the same conditions
! 22190: --file=FILE[:TEMPLATE]
! 22191: instantiate the configuration file FILE
! 22192: --header=FILE[:TEMPLATE]
! 22193: instantiate the configuration header FILE
! 22194:
! 22195: Configuration files:
! 22196: $config_files
! 22197:
! 22198: Configuration headers:
! 22199: $config_headers
! 22200:
! 22201: Configuration commands:
! 22202: $config_commands
! 22203:
! 22204: Report bugs to <bug-autoconf@gnu.org>."
! 22205:
! 22206: _ACEOF
! 22207: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22208: ac_cs_version="\\
! 22209: config.status
! 22210: configured by $0, generated by GNU Autoconf 2.63,
! 22211: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 22212:
! 22213: Copyright (C) 2008 Free Software Foundation, Inc.
! 22214: This config.status script is free software; the Free Software Foundation
! 22215: gives unlimited permission to copy, distribute and modify it."
! 22216:
! 22217: ac_pwd='$ac_pwd'
! 22218: srcdir='$srcdir'
! 22219: INSTALL='$INSTALL'
! 22220: AWK='$AWK'
! 22221: test -n "\$AWK" || AWK=awk
! 22222: _ACEOF
! 22223:
! 22224: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22225: # The default lists apply if the user does not specify any file.
! 22226: ac_need_defaults=:
! 22227: while test $# != 0
! 22228: do
! 22229: case $1 in
! 22230: --*=*)
! 22231: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 22232: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 22233: ac_shift=:
! 22234: ;;
! 22235: *)
! 22236: ac_option=$1
! 22237: ac_optarg=$2
! 22238: ac_shift=shift
! 22239: ;;
! 22240: esac
! 22241:
! 22242: case $ac_option in
! 22243: # Handling of the options.
! 22244: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 22245: ac_cs_recheck=: ;;
! 22246: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 22247: $as_echo "$ac_cs_version"; exit ;;
! 22248: --debug | --debu | --deb | --de | --d | -d )
! 22249: debug=: ;;
! 22250: --file | --fil | --fi | --f )
! 22251: $ac_shift
! 22252: case $ac_optarg in
! 22253: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 22254: esac
! 22255: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
! 22256: ac_need_defaults=false;;
! 22257: --header | --heade | --head | --hea )
! 22258: $ac_shift
! 22259: case $ac_optarg in
! 22260: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 22261: esac
! 22262: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
! 22263: ac_need_defaults=false;;
! 22264: --he | --h)
! 22265: # Conflict between --help and --header
! 22266: { $as_echo "$as_me: error: ambiguous option: $1
! 22267: Try \`$0 --help' for more information." >&2
! 22268: { (exit 1); exit 1; }; };;
! 22269: --help | --hel | -h )
! 22270: $as_echo "$ac_cs_usage"; exit ;;
! 22271: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 22272: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 22273: ac_cs_silent=: ;;
! 22274:
! 22275: # This is an error.
! 22276: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 22277: Try \`$0 --help' for more information." >&2
! 22278: { (exit 1); exit 1; }; } ;;
! 22279:
! 22280: *) ac_config_targets="$ac_config_targets $1"
! 22281: ac_need_defaults=false ;;
! 22282:
! 22283: esac
! 22284: shift
! 22285: done
! 22286:
! 22287: ac_configure_extra_args=
! 22288:
! 22289: if $ac_cs_silent; then
! 22290: exec 6>/dev/null
! 22291: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 22292: fi
! 22293:
! 22294: _ACEOF
! 22295: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22296: if \$ac_cs_recheck; then
! 22297: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 22298: shift
! 22299: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 22300: CONFIG_SHELL='$SHELL'
! 22301: export CONFIG_SHELL
! 22302: exec "\$@"
! 22303: fi
! 22304:
! 22305: _ACEOF
! 22306: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22307: exec 5>>config.log
! 22308: {
! 22309: echo
! 22310: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 22311: ## Running $as_me. ##
! 22312: _ASBOX
! 22313: $as_echo "$ac_log"
! 22314: } >&5
! 22315:
! 22316: _ACEOF
! 22317: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22318: #
! 22319: # INIT-COMMANDS
! 22320: #
! 22321: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 22322:
! 22323:
! 22324: # Check size of void pointer against the size of a single
! 22325: # integer. This will allow us to know if we can cast directly a
! 22326: # integer to pointer and viceversa.
! 22327: case $ac_cv_sizeof_void_p in
! 22328: $ac_cv_sizeof_int) pti_cast='' ptui_cast='' ;;
! 22329: $ac_cv_sizeof_long) pti_cast='(long)' ptui_cast='(unsigned long)' ;;
! 22330: *) pti_unknown_void_p=yes ;;
! 22331: esac
! 22332:
! 22333: # Get current configure for the platform and the os we are running.
! 22334: case $host in
! 22335: *-*-beos*)
! 22336: axl_platform="#define AXL_OS_BEOS (1)"
! 22337: ;;
! 22338: *-*-cygwin*)
! 22339: axl_platform="#define AXL_OS_UNIX (1)
! 22340: #define AXL_PLATFORM_WIN32 (1)
! 22341: #define AXL_WITH_CYGWIN (1)"
! 22342: ;;
! 22343: *-*-mingw*)
! 22344: axl_platform="#define AXL_OS_WIN32 (1)
! 22345: #define AXL_PLATFORM_WIN32 (1)"
! 22346: ;;
! 22347: *)
! 22348: axl_platform="#define AXL_OS_UNIX (1)"
! 22349: ;;
! 22350: esac
! 22351:
! 22352: case $have_vasprintf in
! 22353: yes)
! 22354: vasprintf_status="/**
! 22355: * @internal Allows to now if the platform support vasprintf
! 22356: * function. Do not use this macro as it is supposed to be for
! 22357: * internal use.
! 22358: */
! 22359: #define AXL_HAVE_VASPRINTF (1)"
! 22360: ;;
! 22361: no)
! 22362: vasprintf_status=""
! 22363: ;;
! 22364: esac
! 22365:
! 22366:
! 22367:
! 22368: _ACEOF
! 22369:
! 22370: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22371:
! 22372: # Handling of arguments.
! 22373: for ac_config_target in $ac_config_targets
! 22374: do
! 22375: case $ac_config_target in
! 22376: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 22377: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 22378: "axl_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS axl_config.h" ;;
! 22379: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 22380: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 22381: "ns/Makefile") CONFIG_FILES="$CONFIG_FILES ns/Makefile" ;;
! 22382: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
! 22383: "doc/axl-doc.doxygen") CONFIG_FILES="$CONFIG_FILES doc/axl-doc.doxygen" ;;
! 22384: "babel/Makefile") CONFIG_FILES="$CONFIG_FILES babel/Makefile" ;;
! 22385: "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
! 22386: "knife/Makefile") CONFIG_FILES="$CONFIG_FILES knife/Makefile" ;;
! 22387: "py-axl/Makefile") CONFIG_FILES="$CONFIG_FILES py-axl/Makefile" ;;
! 22388: "py-axl/__init__.py") CONFIG_FILES="$CONFIG_FILES py-axl/__init__.py" ;;
! 22389: "py-axl/doc/conf.py") CONFIG_FILES="$CONFIG_FILES py-axl/doc/conf.py" ;;
! 22390: "py-axl/doc/Makefile") CONFIG_FILES="$CONFIG_FILES py-axl/doc/Makefile" ;;
! 22391: "axl.pc") CONFIG_FILES="$CONFIG_FILES axl.pc" ;;
! 22392: "axl-ns.pc") CONFIG_FILES="$CONFIG_FILES axl-ns.pc" ;;
! 22393: "axl-babel.pc") CONFIG_FILES="$CONFIG_FILES axl-babel.pc" ;;
! 22394:
! 22395: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 22396: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 22397: { (exit 1); exit 1; }; };;
! 22398: esac
! 22399: done
! 22400:
! 22401:
! 22402: # If the user did not use the arguments to specify the items to instantiate,
! 22403: # then the envvar interface is used. Set only those that are not.
! 22404: # We use the long form for the default assignment because of an extremely
! 22405: # bizarre bug on SunOS 4.1.3.
! 22406: if $ac_need_defaults; then
! 22407: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 22408: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 22409: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 22410: fi
! 22411:
! 22412: # Have a temporary directory for convenience. Make it in the build tree
! 22413: # simply because there is no reason against having it here, and in addition,
! 22414: # creating and moving files from /tmp can sometimes cause problems.
! 22415: # Hook for its removal unless debugging.
! 22416: # Note that there is a small window in which the directory will not be cleaned:
! 22417: # after its creation but before its name has been assigned to `$tmp'.
! 22418: $debug ||
! 22419: {
! 22420: tmp=
! 22421: trap 'exit_status=$?
! 22422: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 22423: ' 0
! 22424: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 22425: }
! 22426: # Create a (secure) tmp directory for tmp files.
! 22427:
! 22428: {
! 22429: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 22430: test -n "$tmp" && test -d "$tmp"
! 22431: } ||
! 22432: {
! 22433: tmp=./conf$$-$RANDOM
! 22434: (umask 077 && mkdir "$tmp")
! 22435: } ||
! 22436: {
! 22437: $as_echo "$as_me: cannot create a temporary directory in ." >&2
! 22438: { (exit 1); exit 1; }
! 22439: }
! 22440:
! 22441: # Set up the scripts for CONFIG_FILES section.
! 22442: # No need to generate them if there are no CONFIG_FILES.
! 22443: # This happens for instance with `./config.status config.h'.
! 22444: if test -n "$CONFIG_FILES"; then
! 22445:
! 22446:
! 22447: ac_cr='
'
! 22448: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 22449: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 22450: ac_cs_awk_cr='\\r'
! 22451: else
! 22452: ac_cs_awk_cr=$ac_cr
! 22453: fi
! 22454:
! 22455: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 22456: _ACEOF
! 22457:
! 22458:
! 22459: {
! 22460: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 22461: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 22462: echo "_ACEOF"
! 22463: } >conf$$subs.sh ||
! 22464: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22465: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22466: { (exit 1); exit 1; }; }
! 22467: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 22468: ac_delim='%!_!# '
! 22469: for ac_last_try in false false false false false :; do
! 22470: . ./conf$$subs.sh ||
! 22471: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22472: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22473: { (exit 1); exit 1; }; }
! 22474:
! 22475: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 22476: if test $ac_delim_n = $ac_delim_num; then
! 22477: break
! 22478: elif $ac_last_try; then
! 22479: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 22480: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 22481: { (exit 1); exit 1; }; }
! 22482: else
! 22483: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 22484: fi
! 22485: done
! 22486: rm -f conf$$subs.sh
! 22487:
! 22488: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22489: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 22490: _ACEOF
! 22491: sed -n '
! 22492: h
! 22493: s/^/S["/; s/!.*/"]=/
! 22494: p
! 22495: g
! 22496: s/^[^!]*!//
! 22497: :repl
! 22498: t repl
! 22499: s/'"$ac_delim"'$//
! 22500: t delim
! 22501: :nl
! 22502: h
! 22503: s/\(.\{148\}\).*/\1/
! 22504: t more1
! 22505: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 22506: p
! 22507: n
! 22508: b repl
! 22509: :more1
! 22510: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 22511: p
! 22512: g
! 22513: s/.\{148\}//
! 22514: t nl
! 22515: :delim
! 22516: h
! 22517: s/\(.\{148\}\).*/\1/
! 22518: t more2
! 22519: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 22520: p
! 22521: b
! 22522: :more2
! 22523: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 22524: p
! 22525: g
! 22526: s/.\{148\}//
! 22527: t delim
! 22528: ' <conf$$subs.awk | sed '
! 22529: /^[^""]/{
! 22530: N
! 22531: s/\n//
! 22532: }
! 22533: ' >>$CONFIG_STATUS || ac_write_fail=1
! 22534: rm -f conf$$subs.awk
! 22535: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22536: _ACAWK
! 22537: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 22538: for (key in S) S_is_set[key] = 1
! 22539: FS = ""
! 22540:
! 22541: }
! 22542: {
! 22543: line = $ 0
! 22544: nfields = split(line, field, "@")
! 22545: substed = 0
! 22546: len = length(field[1])
! 22547: for (i = 2; i < nfields; i++) {
! 22548: key = field[i]
! 22549: keylen = length(key)
! 22550: if (S_is_set[key]) {
! 22551: value = S[key]
! 22552: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 22553: len += length(value) + length(field[++i])
! 22554: substed = 1
! 22555: } else
! 22556: len += 1 + keylen
! 22557: }
! 22558:
! 22559: print line
! 22560: }
! 22561:
! 22562: _ACAWK
! 22563: _ACEOF
! 22564: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22565: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 22566: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 22567: else
! 22568: cat
! 22569: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 22570: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 22571: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 22572: { (exit 1); exit 1; }; }
! 22573: _ACEOF
! 22574:
! 22575: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 22576: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 22577: # trailing colons and then remove the whole line if VPATH becomes empty
! 22578: # (actually we leave an empty line to preserve line numbers).
! 22579: if test "x$srcdir" = x.; then
! 22580: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 22581: s/:*\$(srcdir):*/:/
! 22582: s/:*\${srcdir}:*/:/
! 22583: s/:*@srcdir@:*/:/
! 22584: s/^\([^=]*=[ ]*\):*/\1/
! 22585: s/:*$//
! 22586: s/^[^=]*=[ ]*$//
! 22587: }'
! 22588: fi
! 22589:
! 22590: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22591: fi # test -n "$CONFIG_FILES"
! 22592:
! 22593: # Set up the scripts for CONFIG_HEADERS section.
! 22594: # No need to generate them if there are no CONFIG_HEADERS.
! 22595: # This happens for instance with `./config.status Makefile'.
! 22596: if test -n "$CONFIG_HEADERS"; then
! 22597: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 22598: BEGIN {
! 22599: _ACEOF
! 22600:
! 22601: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 22602: # here-document in config.status, that substitutes the proper values into
! 22603: # config.h.in to produce config.h.
! 22604:
! 22605: # Create a delimiter string that does not exist in confdefs.h, to ease
! 22606: # handling of long lines.
! 22607: ac_delim='%!_!# '
! 22608: for ac_last_try in false false :; do
! 22609: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 22610: if test -z "$ac_t"; then
! 22611: break
! 22612: elif $ac_last_try; then
! 22613: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
! 22614: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
! 22615: { (exit 1); exit 1; }; }
! 22616: else
! 22617: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 22618: fi
! 22619: done
! 22620:
! 22621: # For the awk script, D is an array of macro values keyed by name,
! 22622: # likewise P contains macro parameters if any. Preserve backslash
! 22623: # newline sequences.
! 22624:
! 22625: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 22626: sed -n '
! 22627: s/.\{148\}/&'"$ac_delim"'/g
! 22628: t rset
! 22629: :rset
! 22630: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 22631: t def
! 22632: d
! 22633: :def
! 22634: s/\\$//
! 22635: t bsnl
! 22636: s/["\\]/\\&/g
! 22637: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 22638: D["\1"]=" \3"/p
! 22639: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 22640: d
! 22641: :bsnl
! 22642: s/["\\]/\\&/g
! 22643: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 22644: D["\1"]=" \3\\\\\\n"\\/p
! 22645: t cont
! 22646: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 22647: t cont
! 22648: d
! 22649: :cont
! 22650: n
! 22651: s/.\{148\}/&'"$ac_delim"'/g
! 22652: t clear
! 22653: :clear
! 22654: s/\\$//
! 22655: t bsnlc
! 22656: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 22657: d
! 22658: :bsnlc
! 22659: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 22660: b cont
! 22661: ' <confdefs.h | sed '
! 22662: s/'"$ac_delim"'/"\\\
! 22663: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 22664:
! 22665: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22666: for (key in D) D_is_set[key] = 1
! 22667: FS = ""
! 22668: }
! 22669: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 22670: line = \$ 0
! 22671: split(line, arg, " ")
! 22672: if (arg[1] == "#") {
! 22673: defundef = arg[2]
! 22674: mac1 = arg[3]
! 22675: } else {
! 22676: defundef = substr(arg[1], 2)
! 22677: mac1 = arg[2]
! 22678: }
! 22679: split(mac1, mac2, "(") #)
! 22680: macro = mac2[1]
! 22681: prefix = substr(line, 1, index(line, defundef) - 1)
! 22682: if (D_is_set[macro]) {
! 22683: # Preserve the white space surrounding the "#".
! 22684: print prefix "define", macro P[macro] D[macro]
! 22685: next
! 22686: } else {
! 22687: # Replace #undef with comments. This is necessary, for example,
! 22688: # in the case of _POSIX_SOURCE, which is predefined and required
! 22689: # on some systems where configure will not decide to define it.
! 22690: if (defundef == "undef") {
! 22691: print "/*", prefix defundef, macro, "*/"
! 22692: next
! 22693: }
! 22694: }
! 22695: }
! 22696: { print }
! 22697: _ACAWK
! 22698: _ACEOF
! 22699: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22700: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
! 22701: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
! 22702: { (exit 1); exit 1; }; }
! 22703: fi # test -n "$CONFIG_HEADERS"
! 22704:
! 22705:
! 22706: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 22707: shift
! 22708: for ac_tag
! 22709: do
! 22710: case $ac_tag in
! 22711: :[FHLC]) ac_mode=$ac_tag; continue;;
! 22712: esac
! 22713: case $ac_mode$ac_tag in
! 22714: :[FHL]*:*);;
! 22715: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
! 22716: $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
! 22717: { (exit 1); exit 1; }; };;
! 22718: :[FH]-) ac_tag=-:-;;
! 22719: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 22720: esac
! 22721: ac_save_IFS=$IFS
! 22722: IFS=:
! 22723: set x $ac_tag
! 22724: IFS=$ac_save_IFS
! 22725: shift
! 22726: ac_file=$1
! 22727: shift
! 22728:
! 22729: case $ac_mode in
! 22730: :L) ac_source=$1;;
! 22731: :[FH])
! 22732: ac_file_inputs=
! 22733: for ac_f
! 22734: do
! 22735: case $ac_f in
! 22736: -) ac_f="$tmp/stdin";;
! 22737: *) # Look for the file first in the build tree, then in the source tree
! 22738: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 22739: # because $ac_f cannot contain `:'.
! 22740: test -f "$ac_f" ||
! 22741: case $ac_f in
! 22742: [\\/$]*) false;;
! 22743: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 22744: esac ||
! 22745: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 22746: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 22747: { (exit 1); exit 1; }; };;
! 22748: esac
! 22749: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 22750: ac_file_inputs="$ac_file_inputs '$ac_f'"
! 22751: done
! 22752:
! 22753: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 22754: # use $as_me), people would be surprised to read:
! 22755: # /* config.h. Generated by config.status. */
! 22756: configure_input='Generated from '`
! 22757: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 22758: `' by configure.'
! 22759: if test x"$ac_file" != x-; then
! 22760: configure_input="$ac_file. $configure_input"
! 22761: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 22762: $as_echo "$as_me: creating $ac_file" >&6;}
! 22763: fi
! 22764: # Neutralize special characters interpreted by sed in replacement strings.
! 22765: case $configure_input in #(
! 22766: *\&* | *\|* | *\\* )
! 22767: ac_sed_conf_input=`$as_echo "$configure_input" |
! 22768: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 22769: *) ac_sed_conf_input=$configure_input;;
! 22770: esac
! 22771:
! 22772: case $ac_tag in
! 22773: *:-:* | *:-) cat >"$tmp/stdin" \
! 22774: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 22775: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 22776: { (exit 1); exit 1; }; } ;;
! 22777: esac
! 22778: ;;
! 22779: esac
! 22780:
! 22781: ac_dir=`$as_dirname -- "$ac_file" ||
! 22782: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 22783: X"$ac_file" : 'X\(//\)[^/]' \| \
! 22784: X"$ac_file" : 'X\(//\)$' \| \
! 22785: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 22786: $as_echo X"$ac_file" |
! 22787: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 22788: s//\1/
! 22789: q
! 22790: }
! 22791: /^X\(\/\/\)[^/].*/{
! 22792: s//\1/
! 22793: q
! 22794: }
! 22795: /^X\(\/\/\)$/{
! 22796: s//\1/
! 22797: q
! 22798: }
! 22799: /^X\(\/\).*/{
! 22800: s//\1/
! 22801: q
! 22802: }
! 22803: s/.*/./; q'`
! 22804: { as_dir="$ac_dir"
! 22805: case $as_dir in #(
! 22806: -*) as_dir=./$as_dir;;
! 22807: esac
! 22808: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 22809: as_dirs=
! 22810: while :; do
! 22811: case $as_dir in #(
! 22812: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 22813: *) as_qdir=$as_dir;;
! 22814: esac
! 22815: as_dirs="'$as_qdir' $as_dirs"
! 22816: as_dir=`$as_dirname -- "$as_dir" ||
! 22817: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 22818: X"$as_dir" : 'X\(//\)[^/]' \| \
! 22819: X"$as_dir" : 'X\(//\)$' \| \
! 22820: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 22821: $as_echo X"$as_dir" |
! 22822: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 22823: s//\1/
! 22824: q
! 22825: }
! 22826: /^X\(\/\/\)[^/].*/{
! 22827: s//\1/
! 22828: q
! 22829: }
! 22830: /^X\(\/\/\)$/{
! 22831: s//\1/
! 22832: q
! 22833: }
! 22834: /^X\(\/\).*/{
! 22835: s//\1/
! 22836: q
! 22837: }
! 22838: s/.*/./; q'`
! 22839: test -d "$as_dir" && break
! 22840: done
! 22841: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 22842: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 22843: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 22844: { (exit 1); exit 1; }; }; }
! 22845: ac_builddir=.
! 22846:
! 22847: case "$ac_dir" in
! 22848: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 22849: *)
! 22850: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 22851: # A ".." for each directory in $ac_dir_suffix.
! 22852: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 22853: case $ac_top_builddir_sub in
! 22854: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 22855: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 22856: esac ;;
! 22857: esac
! 22858: ac_abs_top_builddir=$ac_pwd
! 22859: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 22860: # for backward compatibility:
! 22861: ac_top_builddir=$ac_top_build_prefix
! 22862:
! 22863: case $srcdir in
! 22864: .) # We are building in place.
! 22865: ac_srcdir=.
! 22866: ac_top_srcdir=$ac_top_builddir_sub
! 22867: ac_abs_top_srcdir=$ac_pwd ;;
! 22868: [\\/]* | ?:[\\/]* ) # Absolute name.
! 22869: ac_srcdir=$srcdir$ac_dir_suffix;
! 22870: ac_top_srcdir=$srcdir
! 22871: ac_abs_top_srcdir=$srcdir ;;
! 22872: *) # Relative name.
! 22873: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 22874: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 22875: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 22876: esac
! 22877: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 22878:
! 22879:
! 22880: case $ac_mode in
! 22881: :F)
! 22882: #
! 22883: # CONFIG_FILE
! 22884: #
! 22885:
! 22886: case $INSTALL in
! 22887: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 22888: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 22889: esac
! 22890: _ACEOF
! 22891:
! 22892: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22893: # If the template does not know about datarootdir, expand it.
! 22894: # FIXME: This hack should be removed a few years after 2.60.
! 22895: ac_datarootdir_hack=; ac_datarootdir_seen=
! 22896:
! 22897: ac_sed_dataroot='
! 22898: /datarootdir/ {
! 22899: p
! 22900: q
! 22901: }
! 22902: /@datadir@/p
! 22903: /@docdir@/p
! 22904: /@infodir@/p
! 22905: /@localedir@/p
! 22906: /@mandir@/p
! 22907: '
! 22908: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 22909: *datarootdir*) ac_datarootdir_seen=yes;;
! 22910: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 22911: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 22912: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 22913: _ACEOF
! 22914: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22915: ac_datarootdir_hack='
! 22916: s&@datadir@&$datadir&g
! 22917: s&@docdir@&$docdir&g
! 22918: s&@infodir@&$infodir&g
! 22919: s&@localedir@&$localedir&g
! 22920: s&@mandir@&$mandir&g
! 22921: s&\\\${datarootdir}&$datarootdir&g' ;;
! 22922: esac
! 22923: _ACEOF
! 22924:
! 22925: # Neutralize VPATH when `$srcdir' = `.'.
! 22926: # Shell code in configure.ac might set extrasub.
! 22927: # FIXME: do we really want to maintain this feature?
! 22928: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 22929: ac_sed_extra="$ac_vpsub
! 22930: $extrasub
! 22931: _ACEOF
! 22932: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 22933: :t
! 22934: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 22935: s|@configure_input@|$ac_sed_conf_input|;t t
! 22936: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 22937: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 22938: s&@srcdir@&$ac_srcdir&;t t
! 22939: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 22940: s&@top_srcdir@&$ac_top_srcdir&;t t
! 22941: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 22942: s&@builddir@&$ac_builddir&;t t
! 22943: s&@abs_builddir@&$ac_abs_builddir&;t t
! 22944: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 22945: s&@INSTALL@&$ac_INSTALL&;t t
! 22946: $ac_datarootdir_hack
! 22947: "
! 22948: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 22949: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 22950: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 22951: { (exit 1); exit 1; }; }
! 22952:
! 22953: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 22954: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 22955: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 22956: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 22957: which seems to be undefined. Please make sure it is defined." >&5
! 22958: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 22959: which seems to be undefined. Please make sure it is defined." >&2;}
! 22960:
! 22961: rm -f "$tmp/stdin"
! 22962: case $ac_file in
! 22963: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 22964: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 22965: esac \
! 22966: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 22967: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 22968: { (exit 1); exit 1; }; }
! 22969: ;;
! 22970: :H)
! 22971: #
! 22972: # CONFIG_HEADER
! 22973: #
! 22974: if test x"$ac_file" != x-; then
! 22975: {
! 22976: $as_echo "/* $configure_input */" \
! 22977: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 22978: } >"$tmp/config.h" \
! 22979: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 22980: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 22981: { (exit 1); exit 1; }; }
! 22982: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 22983: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 22984: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 22985: else
! 22986: rm -f "$ac_file"
! 22987: mv "$tmp/config.h" "$ac_file" \
! 22988: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 22989: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 22990: { (exit 1); exit 1; }; }
! 22991: fi
! 22992: else
! 22993: $as_echo "/* $configure_input */" \
! 22994: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 22995: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
! 22996: $as_echo "$as_me: error: could not create -" >&2;}
! 22997: { (exit 1); exit 1; }; }
! 22998: fi
! 22999: # Compute "$ac_file"'s index in $config_headers.
! 23000: _am_stamp_count=1
! 23001: for _am_header in $config_headers :; do
! 23002: case $_am_header in
! 23003: "$ac_file" | "$ac_file":* )
! 23004: break ;;
! 23005: * )
! 23006: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 23007: esac
! 23008: done
! 23009: echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
! 23010: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23011: X"$ac_file" : 'X\(//\)[^/]' \| \
! 23012: X"$ac_file" : 'X\(//\)$' \| \
! 23013: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 23014: $as_echo X"$ac_file" |
! 23015: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23016: s//\1/
! 23017: q
! 23018: }
! 23019: /^X\(\/\/\)[^/].*/{
! 23020: s//\1/
! 23021: q
! 23022: }
! 23023: /^X\(\/\/\)$/{
! 23024: s//\1/
! 23025: q
! 23026: }
! 23027: /^X\(\/\).*/{
! 23028: s//\1/
! 23029: q
! 23030: }
! 23031: s/.*/./; q'`/stamp-h$_am_stamp_count
! 23032: ;;
! 23033:
! 23034: :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
! 23035: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 23036: ;;
! 23037: esac
! 23038:
! 23039:
! 23040: case $ac_file$ac_mode in
! 23041: "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 23042: # Strip MF so we end up with the name of the file.
! 23043: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 23044: # Check whether this is an Automake generated Makefile or not.
! 23045: # We used to match only the files named `Makefile.in', but
! 23046: # some people rename them; so instead we look at the file content.
! 23047: # Grep'ing the first line is not enough: some people post-process
! 23048: # each Makefile.in and add a new line on top of each file to say so.
! 23049: # So let's grep whole file.
! 23050: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 23051: dirpart=`$as_dirname -- "$mf" ||
! 23052: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23053: X"$mf" : 'X\(//\)[^/]' \| \
! 23054: X"$mf" : 'X\(//\)$' \| \
! 23055: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 23056: $as_echo X"$mf" |
! 23057: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23058: s//\1/
! 23059: q
! 23060: }
! 23061: /^X\(\/\/\)[^/].*/{
! 23062: s//\1/
! 23063: q
! 23064: }
! 23065: /^X\(\/\/\)$/{
! 23066: s//\1/
! 23067: q
! 23068: }
! 23069: /^X\(\/\).*/{
! 23070: s//\1/
! 23071: q
! 23072: }
! 23073: s/.*/./; q'`
! 23074: else
! 23075: continue
! 23076: fi
! 23077: # Extract the definition of DEPDIR, am__include, and am__quote
! 23078: # from the Makefile without running `make'.
! 23079: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 23080: test -z "$DEPDIR" && continue
! 23081: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 23082: test -z "am__include" && continue
! 23083: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 23084: # When using ansi2knr, U may be empty or an underscore; expand it
! 23085: U=`sed -n 's/^U = //p' < "$mf"`
! 23086: # Find all dependency output files, they are included files with
! 23087: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 23088: # simplest approach to changing $(DEPDIR) to its actual value in the
! 23089: # expansion.
! 23090: for file in `sed -n "
! 23091: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 23092: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 23093: # Make sure the directory exists.
! 23094: test -f "$dirpart/$file" && continue
! 23095: fdir=`$as_dirname -- "$file" ||
! 23096: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23097: X"$file" : 'X\(//\)[^/]' \| \
! 23098: X"$file" : 'X\(//\)$' \| \
! 23099: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 23100: $as_echo X"$file" |
! 23101: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23102: s//\1/
! 23103: q
! 23104: }
! 23105: /^X\(\/\/\)[^/].*/{
! 23106: s//\1/
! 23107: q
! 23108: }
! 23109: /^X\(\/\/\)$/{
! 23110: s//\1/
! 23111: q
! 23112: }
! 23113: /^X\(\/\).*/{
! 23114: s//\1/
! 23115: q
! 23116: }
! 23117: s/.*/./; q'`
! 23118: { as_dir=$dirpart/$fdir
! 23119: case $as_dir in #(
! 23120: -*) as_dir=./$as_dir;;
! 23121: esac
! 23122: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 23123: as_dirs=
! 23124: while :; do
! 23125: case $as_dir in #(
! 23126: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 23127: *) as_qdir=$as_dir;;
! 23128: esac
! 23129: as_dirs="'$as_qdir' $as_dirs"
! 23130: as_dir=`$as_dirname -- "$as_dir" ||
! 23131: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 23132: X"$as_dir" : 'X\(//\)[^/]' \| \
! 23133: X"$as_dir" : 'X\(//\)$' \| \
! 23134: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 23135: $as_echo X"$as_dir" |
! 23136: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 23137: s//\1/
! 23138: q
! 23139: }
! 23140: /^X\(\/\/\)[^/].*/{
! 23141: s//\1/
! 23142: q
! 23143: }
! 23144: /^X\(\/\/\)$/{
! 23145: s//\1/
! 23146: q
! 23147: }
! 23148: /^X\(\/\).*/{
! 23149: s//\1/
! 23150: q
! 23151: }
! 23152: s/.*/./; q'`
! 23153: test -d "$as_dir" && break
! 23154: done
! 23155: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 23156: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 23157: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 23158: { (exit 1); exit 1; }; }; }
! 23159: # echo "creating $dirpart/$file"
! 23160: echo '# dummy' > "$dirpart/$file"
! 23161: done
! 23162: done
! 23163: ;;
! 23164: "axl_config.h":C)
! 23165: outfile=axl_config.h-tmp
! 23166: cat > $outfile <<_______EOF
! 23167: /*
! 23168: * Axl Library axl_config.h
! 23169: * Platform dependant definitions.
! 23170: *
! 23171: * This is a generated file. Please modify 'configure.in'
! 23172: */
! 23173:
! 23174: #ifndef __AXL_CONFIG_H__
! 23175: #define __AXL_CONFIG_H__
! 23176:
! 23177: /**
! 23178: * \addtogroup axl_decl_module
! 23179: * @{
! 23180: */
! 23181:
! 23182: /**
! 23183: * @brief Allows to convert integer value (including constant values)
! 23184: * into a pointer representation.
! 23185: *
! 23186: * Use the oposite function to restore the value from a pointer to a
! 23187: * integer: \ref PTR_TO_INT.
! 23188: *
! 23189: * @param integer The integer value to cast to pointer.
! 23190: *
! 23191: * @return A \ref axlPointer reference.
! 23192: */
! 23193: #define INT_TO_PTR(integer) ((axlPointer) ${pti_cast} ((int)integer))
! 23194:
! 23195: /**
! 23196: * @brief Allows to convert a pointer reference (\ref axlPointer),
! 23197: * which stores an integer that was stored using \ref INT_TO_PTR.
! 23198: *
! 23199: * Use the oposite function to restore the pointer value stored in the
! 23200: * integer value.
! 23201: *
! 23202: * @param ptr The pointer to cast to a integer value.
! 23203: *
! 23204: * @return A int value.
! 23205: */
! 23206: #define PTR_TO_INT(ptr) ((int) ${pti_cast} (ptr))
! 23207:
! 23208: /**
! 23209: * @brief Allows to get current platform configuration. This is used
! 23210: * by Axl library but could be used by applications built on top of
! 23211: * Axl to change its configuration based on the platform information.
! 23212: */
! 23213: $axl_platform
! 23214:
! 23215: $vasprintf_status
! 23216:
! 23217: /* @} */
! 23218:
! 23219: #endif
! 23220: _______EOF
! 23221:
! 23222: # Check if the file exists and it is equal, if not, overwrite it
! 23223: if cmp -s $outfile src/axl_config.h; then
! 23224: { $as_echo "$as_me:$LINENO: axl_config.h is unchanged" >&5
! 23225: $as_echo "$as_me: axl_config.h is unchanged" >&6;}
! 23226: rm -f $outfile
! 23227: else
! 23228: mv $outfile src/axl_config.h
! 23229: fi
! 23230: ;;
! 23231:
! 23232: esac
! 23233: done # for ac_tag
! 23234:
! 23235:
! 23236: { (exit 0); exit 0; }
! 23237: _ACEOF
! 23238: chmod +x $CONFIG_STATUS
! 23239: ac_clean_files=$ac_clean_files_save
! 23240:
! 23241: test $ac_write_fail = 0 ||
! 23242: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 23243: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 23244: { (exit 1); exit 1; }; }
! 23245:
! 23246:
! 23247: # configure is writing to config.log, and then calls config.status.
! 23248: # config.status does its own redirection, appending to config.log.
! 23249: # Unfortunately, on DOS this fails, as config.log is still kept open
! 23250: # by configure, so config.status won't be able to write to it; its
! 23251: # output is simply discarded. So we exec the FD to /dev/null,
! 23252: # effectively closing config.log, so it can be properly (re)opened and
! 23253: # appended to by config.status. When coming back to configure, we
! 23254: # need to make the FD available again.
! 23255: if test "$no_create" != yes; then
! 23256: ac_cs_success=:
! 23257: ac_config_status_args=
! 23258: test "$silent" = yes &&
! 23259: ac_config_status_args="$ac_config_status_args --quiet"
! 23260: exec 5>/dev/null
! 23261: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 23262: exec 5>>config.log
! 23263: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 23264: # would make configure fail if this is the last instruction.
! 23265: $ac_cs_success || { (exit 1); exit 1; }
! 23266: fi
! 23267: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 23268: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 23269: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 23270: fi
! 23271:
! 23272:
! 23273: echo "------------------------------------------"
! 23274: echo "-- LibAXL LIBRARY SETTINGS --"
! 23275: echo "------------------------------------------"
! 23276: echo " Installation prefix: $prefix"
! 23277: echo " Build Axl Namespace support: $enable_axl_ns"
! 23278: echo " Build Axl Library tests: $enable_axl_test"
! 23279: echo " Build Axl Knife: $enable_axl_knife"
! 23280: echo " Build Axl Library debug log: $enable_axl_log"
! 23281: echo " Build PyAxl: $python_devel_found"
! 23282: if test x$DOXYGEN = xyes ; then
! 23283: echo " Build Axl Library doc: enabled"
! 23284: else
! 23285: echo " Build Axl Library doc: disabled"
! 23286: echo " NOTE: To enable Axl documentation you will"
! 23287: echo " have to install doxygen tool. Then run again"
! 23288: echo " configure process."
! 23289: fi
! 23290: echo " vasprintf support: $have_vasprintf"
! 23291: echo "------------------------------------------"
! 23292: echo "-- NOW TYPE: make; make install --"
! 23293: echo "------------------------------------------"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>