Annotation of embedaddon/coova-chilli/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.59 for coova-chilli 1.0.12.
! 4: #
! 5: # Report bugs to <support@coova.org>.
! 6: #
! 7: # Copyright (C) 2003 Free Software Foundation, Inc.
! 8: # This configure script is free software; the Free Software Foundation
! 9: # gives unlimited permission to copy, distribute and modify it.
! 10: ## --------------------- ##
! 11: ## M4sh Initialization. ##
! 12: ## --------------------- ##
! 13:
! 14: # Be Bourne compatible
! 15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 16: emulate sh
! 17: NULLCMD=:
! 18: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 19: # is contrary to our usage. Disable this feature.
! 20: alias -g '${1+"$@"}'='"$@"'
! 21: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 22: set -o posix
! 23: fi
! 24: DUALCASE=1; export DUALCASE # for MKS sh
! 25:
! 26: # Support unset when possible.
! 27: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 28: as_unset=unset
! 29: else
! 30: as_unset=false
! 31: fi
! 32:
! 33:
! 34: # Work around bugs in pre-3.0 UWIN ksh.
! 35: $as_unset ENV MAIL MAILPATH
! 36: PS1='$ '
! 37: PS2='> '
! 38: PS4='+ '
! 39:
! 40: # NLS nuisances.
! 41: for as_var in \
! 42: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 43: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 44: LC_TELEPHONE LC_TIME
! 45: do
! 46: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 47: eval $as_var=C; export $as_var
! 48: else
! 49: $as_unset $as_var
! 50: fi
! 51: done
! 52:
! 53: # Required to use basename.
! 54: if expr a : '\(a\)' >/dev/null 2>&1; then
! 55: as_expr=expr
! 56: else
! 57: as_expr=false
! 58: fi
! 59:
! 60: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 61: as_basename=basename
! 62: else
! 63: as_basename=false
! 64: fi
! 65:
! 66:
! 67: # Name of the executable.
! 68: as_me=`$as_basename "$0" ||
! 69: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 70: X"$0" : 'X\(//\)$' \| \
! 71: X"$0" : 'X\(/\)$' \| \
! 72: . : '\(.\)' 2>/dev/null ||
! 73: echo X/"$0" |
! 74: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 75: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 76: /^X\/\(\/\).*/{ s//\1/; q; }
! 77: s/.*/./; q'`
! 78:
! 79:
! 80: # PATH needs CR, and LINENO needs CR and PATH.
! 81: # Avoid depending upon Character Ranges.
! 82: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 83: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 84: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 85: as_cr_digits='0123456789'
! 86: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 87:
! 88: # The user is always right.
! 89: if test "${PATH_SEPARATOR+set}" != set; then
! 90: echo "#! /bin/sh" >conf$$.sh
! 91: echo "exit 0" >>conf$$.sh
! 92: chmod +x conf$$.sh
! 93: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 94: PATH_SEPARATOR=';'
! 95: else
! 96: PATH_SEPARATOR=:
! 97: fi
! 98: rm -f conf$$.sh
! 99: fi
! 100:
! 101:
! 102: as_lineno_1=$LINENO
! 103: as_lineno_2=$LINENO
! 104: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 105: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 106: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 107: # Find who we are. Look in the path if we contain no path at all
! 108: # relative or not.
! 109: case $0 in
! 110: *[\\/]* ) as_myself=$0 ;;
! 111: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 112: for as_dir in $PATH
! 113: do
! 114: IFS=$as_save_IFS
! 115: test -z "$as_dir" && as_dir=.
! 116: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 117: done
! 118:
! 119: ;;
! 120: esac
! 121: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 122: # in which case we are not to be found in the path.
! 123: if test "x$as_myself" = x; then
! 124: as_myself=$0
! 125: fi
! 126: if test ! -f "$as_myself"; then
! 127: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
! 128: { (exit 1); exit 1; }; }
! 129: fi
! 130: case $CONFIG_SHELL in
! 131: '')
! 132: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 133: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 134: do
! 135: IFS=$as_save_IFS
! 136: test -z "$as_dir" && as_dir=.
! 137: for as_base in sh bash ksh sh5; do
! 138: case $as_dir in
! 139: /*)
! 140: if ("$as_dir/$as_base" -c '
! 141: as_lineno_1=$LINENO
! 142: as_lineno_2=$LINENO
! 143: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 144: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 145: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 146: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 147: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 148: CONFIG_SHELL=$as_dir/$as_base
! 149: export CONFIG_SHELL
! 150: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 151: fi;;
! 152: esac
! 153: done
! 154: done
! 155: ;;
! 156: esac
! 157:
! 158: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 159: # uniformly replaced by the line number. The first 'sed' inserts a
! 160: # line-number line before each line; the second 'sed' does the real
! 161: # work. The second script uses 'N' to pair each line-number line
! 162: # with the numbered line, and appends trailing '-' during
! 163: # substitution so that $LINENO is not a special case at line end.
! 164: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 165: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 166: sed '=' <$as_myself |
! 167: sed '
! 168: N
! 169: s,$,-,
! 170: : loop
! 171: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 172: t loop
! 173: s,-$,,
! 174: s,^['$as_cr_digits']*\n,,
! 175: ' >$as_me.lineno &&
! 176: chmod +x $as_me.lineno ||
! 177: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 178: { (exit 1); exit 1; }; }
! 179:
! 180: # Don't try to exec as it changes $[0], causing all sort of problems
! 181: # (the dirname of $[0] is not the place where we might find the
! 182: # original and so on. Autoconf is especially sensible to this).
! 183: . ./$as_me.lineno
! 184: # Exit status is that of the last command.
! 185: exit
! 186: }
! 187:
! 188:
! 189: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 190: *c*,-n*) ECHO_N= ECHO_C='
! 191: ' ECHO_T=' ' ;;
! 192: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 193: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 194: esac
! 195:
! 196: if expr a : '\(a\)' >/dev/null 2>&1; then
! 197: as_expr=expr
! 198: else
! 199: as_expr=false
! 200: fi
! 201:
! 202: rm -f conf$$ conf$$.exe conf$$.file
! 203: echo >conf$$.file
! 204: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 205: # We could just check for DJGPP; but this test a) works b) is more generic
! 206: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 207: if test -f conf$$.exe; then
! 208: # Don't use ln at all; we don't have any links
! 209: as_ln_s='cp -p'
! 210: else
! 211: as_ln_s='ln -s'
! 212: fi
! 213: elif ln conf$$.file conf$$ 2>/dev/null; then
! 214: as_ln_s=ln
! 215: else
! 216: as_ln_s='cp -p'
! 217: fi
! 218: rm -f conf$$ conf$$.exe conf$$.file
! 219:
! 220: if mkdir -p . 2>/dev/null; then
! 221: as_mkdir_p=:
! 222: else
! 223: test -d ./-p && rmdir ./-p
! 224: as_mkdir_p=false
! 225: fi
! 226:
! 227: as_executable_p="test -f"
! 228:
! 229: # Sed expression to map a string onto a valid CPP name.
! 230: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 231:
! 232: # Sed expression to map a string onto a valid variable name.
! 233: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 234:
! 235:
! 236: # IFS
! 237: # We need space, tab and new line, in precisely that order.
! 238: as_nl='
! 239: '
! 240: IFS=" $as_nl"
! 241:
! 242: # CDPATH.
! 243: $as_unset CDPATH
! 244:
! 245:
! 246:
! 247: # Check that we are running under the correct shell.
! 248: SHELL=${CONFIG_SHELL-/bin/sh}
! 249:
! 250: case X$ECHO in
! 251: X*--fallback-echo)
! 252: # Remove one level of quotation (which was required for Make).
! 253: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 254: ;;
! 255: esac
! 256:
! 257: echo=${ECHO-echo}
! 258: if test "X$1" = X--no-reexec; then
! 259: # Discard the --no-reexec flag, and continue.
! 260: shift
! 261: elif test "X$1" = X--fallback-echo; then
! 262: # Avoid inline document here, it may be left over
! 263: :
! 264: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
! 265: # Yippee, $echo works!
! 266: :
! 267: else
! 268: # Restart under the correct shell.
! 269: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 270: fi
! 271:
! 272: if test "X$1" = X--fallback-echo; then
! 273: # used as fallback echo
! 274: shift
! 275: cat <<EOF
! 276: $*
! 277: EOF
! 278: exit 0
! 279: fi
! 280:
! 281: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 282: # if CDPATH is set.
! 283: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 284:
! 285: if test -z "$ECHO"; then
! 286: if test "X${echo_test_string+set}" != Xset; then
! 287: # find a string as large as possible, as long as the shell can cope with it
! 288: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 289: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 290: if (echo_test_string=`eval $cmd`) 2>/dev/null &&
! 291: echo_test_string=`eval $cmd` &&
! 292: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
! 293: then
! 294: break
! 295: fi
! 296: done
! 297: fi
! 298:
! 299: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 300: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 301: test "X$echo_testing_string" = "X$echo_test_string"; then
! 302: :
! 303: else
! 304: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 305: # backslashes. This makes it impossible to quote backslashes using
! 306: # echo "$something" | sed 's/\\/\\\\/g'
! 307: #
! 308: # So, first we look for a working echo in the user's PATH.
! 309:
! 310: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 311: for dir in $PATH /usr/ucb; do
! 312: IFS="$lt_save_ifs"
! 313: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 314: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 315: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 316: test "X$echo_testing_string" = "X$echo_test_string"; then
! 317: echo="$dir/echo"
! 318: break
! 319: fi
! 320: done
! 321: IFS="$lt_save_ifs"
! 322:
! 323: if test "X$echo" = Xecho; then
! 324: # We didn't find a better echo, so look for alternatives.
! 325: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
! 326: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
! 327: test "X$echo_testing_string" = "X$echo_test_string"; then
! 328: # This shell has a builtin print -r that does the trick.
! 329: echo='print -r'
! 330: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
! 331: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 332: # If we have ksh, try running configure again with it.
! 333: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 334: export ORIGINAL_CONFIG_SHELL
! 335: CONFIG_SHELL=/bin/ksh
! 336: export CONFIG_SHELL
! 337: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 338: else
! 339: # Try using printf.
! 340: echo='printf %s\n'
! 341: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 342: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 343: test "X$echo_testing_string" = "X$echo_test_string"; then
! 344: # Cool, printf works
! 345: :
! 346: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 347: test "X$echo_testing_string" = 'X\t' &&
! 348: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 349: test "X$echo_testing_string" = "X$echo_test_string"; then
! 350: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 351: export CONFIG_SHELL
! 352: SHELL="$CONFIG_SHELL"
! 353: export SHELL
! 354: echo="$CONFIG_SHELL $0 --fallback-echo"
! 355: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 356: test "X$echo_testing_string" = 'X\t' &&
! 357: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 358: test "X$echo_testing_string" = "X$echo_test_string"; then
! 359: echo="$CONFIG_SHELL $0 --fallback-echo"
! 360: else
! 361: # maybe with a smaller string...
! 362: prev=:
! 363:
! 364: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 365: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
! 366: then
! 367: break
! 368: fi
! 369: prev="$cmd"
! 370: done
! 371:
! 372: if test "$prev" != 'sed 50q "$0"'; then
! 373: echo_test_string=`eval $prev`
! 374: export echo_test_string
! 375: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 376: else
! 377: # Oops. We lost completely, so just stick with echo.
! 378: echo=echo
! 379: fi
! 380: fi
! 381: fi
! 382: fi
! 383: fi
! 384: fi
! 385:
! 386: # Copy echo and quote the copy suitably for passing to libtool from
! 387: # the Makefile, instead of quoting the original, which is used later.
! 388: ECHO=$echo
! 389: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 390: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 391: fi
! 392:
! 393:
! 394:
! 395:
! 396: tagnames=${tagnames+${tagnames},}CXX
! 397:
! 398: tagnames=${tagnames+${tagnames},}F77
! 399:
! 400: # Name of the host.
! 401: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 402: # so uname gets run too.
! 403: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 404:
! 405: exec 6>&1
! 406:
! 407: #
! 408: # Initializations.
! 409: #
! 410: ac_default_prefix=/usr/local
! 411: ac_config_libobj_dir=.
! 412: cross_compiling=no
! 413: subdirs=
! 414: MFLAGS=
! 415: MAKEFLAGS=
! 416: SHELL=${CONFIG_SHELL-/bin/sh}
! 417:
! 418: # Maximum number of lines to put in a shell here document.
! 419: # This variable seems obsolete. It should probably be removed, and
! 420: # only ac_max_sed_lines should be used.
! 421: : ${ac_max_here_lines=38}
! 422:
! 423: # Identity of this package.
! 424: PACKAGE_NAME='coova-chilli'
! 425: PACKAGE_TARNAME='coova-chilli'
! 426: PACKAGE_VERSION='1.0.12'
! 427: PACKAGE_STRING='coova-chilli 1.0.12'
! 428: PACKAGE_BUGREPORT='support@coova.org'
! 429:
! 430: ac_unique_file="src/cmdline.c"
! 431: # Factoring default headers for most tests.
! 432: ac_includes_default="\
! 433: #include <stdio.h>
! 434: #if HAVE_SYS_TYPES_H
! 435: # include <sys/types.h>
! 436: #endif
! 437: #if HAVE_SYS_STAT_H
! 438: # include <sys/stat.h>
! 439: #endif
! 440: #if STDC_HEADERS
! 441: # include <stdlib.h>
! 442: # include <stddef.h>
! 443: #else
! 444: # if HAVE_STDLIB_H
! 445: # include <stdlib.h>
! 446: # endif
! 447: #endif
! 448: #if HAVE_STRING_H
! 449: # if !STDC_HEADERS && HAVE_MEMORY_H
! 450: # include <memory.h>
! 451: # endif
! 452: # include <string.h>
! 453: #endif
! 454: #if HAVE_STRINGS_H
! 455: # include <strings.h>
! 456: #endif
! 457: #if HAVE_INTTYPES_H
! 458: # include <inttypes.h>
! 459: #else
! 460: # if HAVE_STDINT_H
! 461: # include <stdint.h>
! 462: # endif
! 463: #endif
! 464: #if HAVE_UNISTD_H
! 465: # include <unistd.h>
! 466: #endif"
! 467:
! 468: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'
! 469: ac_subst_files=''
! 470:
! 471: # Initialize some variables set by options.
! 472: ac_init_help=
! 473: ac_init_version=false
! 474: # The variables have the same names as the options, with
! 475: # dashes changed to underlines.
! 476: cache_file=/dev/null
! 477: exec_prefix=NONE
! 478: no_create=
! 479: no_recursion=
! 480: prefix=NONE
! 481: program_prefix=NONE
! 482: program_suffix=NONE
! 483: program_transform_name=s,x,x,
! 484: silent=
! 485: site=
! 486: srcdir=
! 487: verbose=
! 488: x_includes=NONE
! 489: x_libraries=NONE
! 490:
! 491: # Installation directory options.
! 492: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 493: # and all the variables that are supposed to be based on exec_prefix
! 494: # by default will actually change.
! 495: # Use braces instead of parens because sh, perl, etc. also accept them.
! 496: bindir='${exec_prefix}/bin'
! 497: sbindir='${exec_prefix}/sbin'
! 498: libexecdir='${exec_prefix}/libexec'
! 499: datadir='${prefix}/share'
! 500: sysconfdir='${prefix}/etc'
! 501: sharedstatedir='${prefix}/com'
! 502: localstatedir='${prefix}/var'
! 503: libdir='${exec_prefix}/lib'
! 504: includedir='${prefix}/include'
! 505: oldincludedir='/usr/include'
! 506: infodir='${prefix}/info'
! 507: mandir='${prefix}/man'
! 508:
! 509: ac_prev=
! 510: for ac_option
! 511: do
! 512: # If the previous option needs an argument, assign it.
! 513: if test -n "$ac_prev"; then
! 514: eval "$ac_prev=\$ac_option"
! 515: ac_prev=
! 516: continue
! 517: fi
! 518:
! 519: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
! 520:
! 521: # Accept the important Cygnus configure options, so we can diagnose typos.
! 522:
! 523: case $ac_option in
! 524:
! 525: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 526: ac_prev=bindir ;;
! 527: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 528: bindir=$ac_optarg ;;
! 529:
! 530: -build | --build | --buil | --bui | --bu)
! 531: ac_prev=build_alias ;;
! 532: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 533: build_alias=$ac_optarg ;;
! 534:
! 535: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 536: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 537: ac_prev=cache_file ;;
! 538: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 539: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 540: cache_file=$ac_optarg ;;
! 541:
! 542: --config-cache | -C)
! 543: cache_file=config.cache ;;
! 544:
! 545: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 546: ac_prev=datadir ;;
! 547: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 548: | --da=*)
! 549: datadir=$ac_optarg ;;
! 550:
! 551: -disable-* | --disable-*)
! 552: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 553: # Reject names that are not valid shell variable names.
! 554: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 555: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 556: { (exit 1); exit 1; }; }
! 557: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 558: eval "enable_$ac_feature=no" ;;
! 559:
! 560: -enable-* | --enable-*)
! 561: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 562: # Reject names that are not valid shell variable names.
! 563: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 564: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 565: { (exit 1); exit 1; }; }
! 566: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 567: case $ac_option in
! 568: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 569: *) ac_optarg=yes ;;
! 570: esac
! 571: eval "enable_$ac_feature='$ac_optarg'" ;;
! 572:
! 573: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 574: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 575: | --exec | --exe | --ex)
! 576: ac_prev=exec_prefix ;;
! 577: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 578: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 579: | --exec=* | --exe=* | --ex=*)
! 580: exec_prefix=$ac_optarg ;;
! 581:
! 582: -gas | --gas | --ga | --g)
! 583: # Obsolete; use --with-gas.
! 584: with_gas=yes ;;
! 585:
! 586: -help | --help | --hel | --he | -h)
! 587: ac_init_help=long ;;
! 588: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 589: ac_init_help=recursive ;;
! 590: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 591: ac_init_help=short ;;
! 592:
! 593: -host | --host | --hos | --ho)
! 594: ac_prev=host_alias ;;
! 595: -host=* | --host=* | --hos=* | --ho=*)
! 596: host_alias=$ac_optarg ;;
! 597:
! 598: -includedir | --includedir | --includedi | --included | --include \
! 599: | --includ | --inclu | --incl | --inc)
! 600: ac_prev=includedir ;;
! 601: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 602: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 603: includedir=$ac_optarg ;;
! 604:
! 605: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 606: ac_prev=infodir ;;
! 607: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 608: infodir=$ac_optarg ;;
! 609:
! 610: -libdir | --libdir | --libdi | --libd)
! 611: ac_prev=libdir ;;
! 612: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 613: libdir=$ac_optarg ;;
! 614:
! 615: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 616: | --libexe | --libex | --libe)
! 617: ac_prev=libexecdir ;;
! 618: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 619: | --libexe=* | --libex=* | --libe=*)
! 620: libexecdir=$ac_optarg ;;
! 621:
! 622: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 623: | --localstate | --localstat | --localsta | --localst \
! 624: | --locals | --local | --loca | --loc | --lo)
! 625: ac_prev=localstatedir ;;
! 626: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 627: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 628: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 629: localstatedir=$ac_optarg ;;
! 630:
! 631: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 632: ac_prev=mandir ;;
! 633: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 634: mandir=$ac_optarg ;;
! 635:
! 636: -nfp | --nfp | --nf)
! 637: # Obsolete; use --without-fp.
! 638: with_fp=no ;;
! 639:
! 640: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 641: | --no-cr | --no-c | -n)
! 642: no_create=yes ;;
! 643:
! 644: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 645: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 646: no_recursion=yes ;;
! 647:
! 648: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 649: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 650: | --oldin | --oldi | --old | --ol | --o)
! 651: ac_prev=oldincludedir ;;
! 652: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 653: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 654: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 655: oldincludedir=$ac_optarg ;;
! 656:
! 657: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 658: ac_prev=prefix ;;
! 659: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 660: prefix=$ac_optarg ;;
! 661:
! 662: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 663: | --program-pre | --program-pr | --program-p)
! 664: ac_prev=program_prefix ;;
! 665: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 666: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 667: program_prefix=$ac_optarg ;;
! 668:
! 669: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 670: | --program-suf | --program-su | --program-s)
! 671: ac_prev=program_suffix ;;
! 672: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 673: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 674: program_suffix=$ac_optarg ;;
! 675:
! 676: -program-transform-name | --program-transform-name \
! 677: | --program-transform-nam | --program-transform-na \
! 678: | --program-transform-n | --program-transform- \
! 679: | --program-transform | --program-transfor \
! 680: | --program-transfo | --program-transf \
! 681: | --program-trans | --program-tran \
! 682: | --progr-tra | --program-tr | --program-t)
! 683: ac_prev=program_transform_name ;;
! 684: -program-transform-name=* | --program-transform-name=* \
! 685: | --program-transform-nam=* | --program-transform-na=* \
! 686: | --program-transform-n=* | --program-transform-=* \
! 687: | --program-transform=* | --program-transfor=* \
! 688: | --program-transfo=* | --program-transf=* \
! 689: | --program-trans=* | --program-tran=* \
! 690: | --progr-tra=* | --program-tr=* | --program-t=*)
! 691: program_transform_name=$ac_optarg ;;
! 692:
! 693: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 694: | -silent | --silent | --silen | --sile | --sil)
! 695: silent=yes ;;
! 696:
! 697: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 698: ac_prev=sbindir ;;
! 699: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 700: | --sbi=* | --sb=*)
! 701: sbindir=$ac_optarg ;;
! 702:
! 703: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 704: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 705: | --sharedst | --shareds | --shared | --share | --shar \
! 706: | --sha | --sh)
! 707: ac_prev=sharedstatedir ;;
! 708: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 709: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 710: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 711: | --sha=* | --sh=*)
! 712: sharedstatedir=$ac_optarg ;;
! 713:
! 714: -site | --site | --sit)
! 715: ac_prev=site ;;
! 716: -site=* | --site=* | --sit=*)
! 717: site=$ac_optarg ;;
! 718:
! 719: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 720: ac_prev=srcdir ;;
! 721: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 722: srcdir=$ac_optarg ;;
! 723:
! 724: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 725: | --syscon | --sysco | --sysc | --sys | --sy)
! 726: ac_prev=sysconfdir ;;
! 727: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 728: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 729: sysconfdir=$ac_optarg ;;
! 730:
! 731: -target | --target | --targe | --targ | --tar | --ta | --t)
! 732: ac_prev=target_alias ;;
! 733: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 734: target_alias=$ac_optarg ;;
! 735:
! 736: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 737: verbose=yes ;;
! 738:
! 739: -version | --version | --versio | --versi | --vers | -V)
! 740: ac_init_version=: ;;
! 741:
! 742: -with-* | --with-*)
! 743: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 744: # Reject names that are not valid shell variable names.
! 745: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 746: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 747: { (exit 1); exit 1; }; }
! 748: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 749: case $ac_option in
! 750: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 751: *) ac_optarg=yes ;;
! 752: esac
! 753: eval "with_$ac_package='$ac_optarg'" ;;
! 754:
! 755: -without-* | --without-*)
! 756: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 757: # Reject names that are not valid shell variable names.
! 758: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 759: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 760: { (exit 1); exit 1; }; }
! 761: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 762: eval "with_$ac_package=no" ;;
! 763:
! 764: --x)
! 765: # Obsolete; use --with-x.
! 766: with_x=yes ;;
! 767:
! 768: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 769: | --x-incl | --x-inc | --x-in | --x-i)
! 770: ac_prev=x_includes ;;
! 771: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 772: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 773: x_includes=$ac_optarg ;;
! 774:
! 775: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 776: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 777: ac_prev=x_libraries ;;
! 778: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 779: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 780: x_libraries=$ac_optarg ;;
! 781:
! 782: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 783: Try \`$0 --help' for more information." >&2
! 784: { (exit 1); exit 1; }; }
! 785: ;;
! 786:
! 787: *=*)
! 788: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 789: # Reject names that are not valid shell variable names.
! 790: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 791: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 792: { (exit 1); exit 1; }; }
! 793: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 794: eval "$ac_envvar='$ac_optarg'"
! 795: export $ac_envvar ;;
! 796:
! 797: *)
! 798: # FIXME: should be removed in autoconf 3.0.
! 799: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 800: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 801: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 802: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 803: ;;
! 804:
! 805: esac
! 806: done
! 807:
! 808: if test -n "$ac_prev"; then
! 809: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 810: { echo "$as_me: error: missing argument to $ac_option" >&2
! 811: { (exit 1); exit 1; }; }
! 812: fi
! 813:
! 814: # Be sure to have absolute paths.
! 815: for ac_var in exec_prefix prefix
! 816: do
! 817: eval ac_val=$`echo $ac_var`
! 818: case $ac_val in
! 819: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 820: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 821: { (exit 1); exit 1; }; };;
! 822: esac
! 823: done
! 824:
! 825: # Be sure to have absolute paths.
! 826: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 827: localstatedir libdir includedir oldincludedir infodir mandir
! 828: do
! 829: eval ac_val=$`echo $ac_var`
! 830: case $ac_val in
! 831: [\\/$]* | ?:[\\/]* ) ;;
! 832: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 833: { (exit 1); exit 1; }; };;
! 834: esac
! 835: done
! 836:
! 837: # There might be people who depend on the old broken behavior: `$host'
! 838: # used to hold the argument of --host etc.
! 839: # FIXME: To remove some day.
! 840: build=$build_alias
! 841: host=$host_alias
! 842: target=$target_alias
! 843:
! 844: # FIXME: To remove some day.
! 845: if test "x$host_alias" != x; then
! 846: if test "x$build_alias" = x; then
! 847: cross_compiling=maybe
! 848: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 849: If a cross compiler is detected then cross compile mode will be used." >&2
! 850: elif test "x$build_alias" != "x$host_alias"; then
! 851: cross_compiling=yes
! 852: fi
! 853: fi
! 854:
! 855: ac_tool_prefix=
! 856: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 857:
! 858: test "$silent" = yes && exec 6>/dev/null
! 859:
! 860:
! 861: # Find the source files, if location was not specified.
! 862: if test -z "$srcdir"; then
! 863: ac_srcdir_defaulted=yes
! 864: # Try the directory containing this script, then its parent.
! 865: ac_confdir=`(dirname "$0") 2>/dev/null ||
! 866: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 867: X"$0" : 'X\(//\)[^/]' \| \
! 868: X"$0" : 'X\(//\)$' \| \
! 869: X"$0" : 'X\(/\)' \| \
! 870: . : '\(.\)' 2>/dev/null ||
! 871: echo X"$0" |
! 872: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 873: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 874: /^X\(\/\/\)$/{ s//\1/; q; }
! 875: /^X\(\/\).*/{ s//\1/; q; }
! 876: s/.*/./; q'`
! 877: srcdir=$ac_confdir
! 878: if test ! -r $srcdir/$ac_unique_file; then
! 879: srcdir=..
! 880: fi
! 881: else
! 882: ac_srcdir_defaulted=no
! 883: fi
! 884: if test ! -r $srcdir/$ac_unique_file; then
! 885: if test "$ac_srcdir_defaulted" = yes; then
! 886: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 887: { (exit 1); exit 1; }; }
! 888: else
! 889: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 890: { (exit 1); exit 1; }; }
! 891: fi
! 892: fi
! 893: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
! 894: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
! 895: { (exit 1); exit 1; }; }
! 896: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 897: ac_env_build_alias_set=${build_alias+set}
! 898: ac_env_build_alias_value=$build_alias
! 899: ac_cv_env_build_alias_set=${build_alias+set}
! 900: ac_cv_env_build_alias_value=$build_alias
! 901: ac_env_host_alias_set=${host_alias+set}
! 902: ac_env_host_alias_value=$host_alias
! 903: ac_cv_env_host_alias_set=${host_alias+set}
! 904: ac_cv_env_host_alias_value=$host_alias
! 905: ac_env_target_alias_set=${target_alias+set}
! 906: ac_env_target_alias_value=$target_alias
! 907: ac_cv_env_target_alias_set=${target_alias+set}
! 908: ac_cv_env_target_alias_value=$target_alias
! 909: ac_env_CC_set=${CC+set}
! 910: ac_env_CC_value=$CC
! 911: ac_cv_env_CC_set=${CC+set}
! 912: ac_cv_env_CC_value=$CC
! 913: ac_env_CFLAGS_set=${CFLAGS+set}
! 914: ac_env_CFLAGS_value=$CFLAGS
! 915: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 916: ac_cv_env_CFLAGS_value=$CFLAGS
! 917: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 918: ac_env_LDFLAGS_value=$LDFLAGS
! 919: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 920: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 921: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 922: ac_env_CPPFLAGS_value=$CPPFLAGS
! 923: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 924: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 925: ac_env_CPP_set=${CPP+set}
! 926: ac_env_CPP_value=$CPP
! 927: ac_cv_env_CPP_set=${CPP+set}
! 928: ac_cv_env_CPP_value=$CPP
! 929: ac_env_CXX_set=${CXX+set}
! 930: ac_env_CXX_value=$CXX
! 931: ac_cv_env_CXX_set=${CXX+set}
! 932: ac_cv_env_CXX_value=$CXX
! 933: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
! 934: ac_env_CXXFLAGS_value=$CXXFLAGS
! 935: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
! 936: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
! 937: ac_env_CXXCPP_set=${CXXCPP+set}
! 938: ac_env_CXXCPP_value=$CXXCPP
! 939: ac_cv_env_CXXCPP_set=${CXXCPP+set}
! 940: ac_cv_env_CXXCPP_value=$CXXCPP
! 941: ac_env_F77_set=${F77+set}
! 942: ac_env_F77_value=$F77
! 943: ac_cv_env_F77_set=${F77+set}
! 944: ac_cv_env_F77_value=$F77
! 945: ac_env_FFLAGS_set=${FFLAGS+set}
! 946: ac_env_FFLAGS_value=$FFLAGS
! 947: ac_cv_env_FFLAGS_set=${FFLAGS+set}
! 948: ac_cv_env_FFLAGS_value=$FFLAGS
! 949:
! 950: #
! 951: # Report the --help message.
! 952: #
! 953: if test "$ac_init_help" = "long"; then
! 954: # Omit some internal or obsolete options to make the list less imposing.
! 955: # This message is too long to be a string in the A/UX 3.1 sh.
! 956: cat <<_ACEOF
! 957: \`configure' configures coova-chilli 1.0.12 to adapt to many kinds of systems.
! 958:
! 959: Usage: $0 [OPTION]... [VAR=VALUE]...
! 960:
! 961: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 962: VAR=VALUE. See below for descriptions of some of the useful variables.
! 963:
! 964: Defaults for the options are specified in brackets.
! 965:
! 966: Configuration:
! 967: -h, --help display this help and exit
! 968: --help=short display options specific to this package
! 969: --help=recursive display the short help of all the included packages
! 970: -V, --version display version information and exit
! 971: -q, --quiet, --silent do not print \`checking...' messages
! 972: --cache-file=FILE cache test results in FILE [disabled]
! 973: -C, --config-cache alias for \`--cache-file=config.cache'
! 974: -n, --no-create do not create output files
! 975: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 976:
! 977: _ACEOF
! 978:
! 979: cat <<_ACEOF
! 980: Installation directories:
! 981: --prefix=PREFIX install architecture-independent files in PREFIX
! 982: [$ac_default_prefix]
! 983: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 984: [PREFIX]
! 985:
! 986: By default, \`make install' will install all the files in
! 987: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 988: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 989: for instance \`--prefix=\$HOME'.
! 990:
! 991: For better control, use the options below.
! 992:
! 993: Fine tuning of the installation directories:
! 994: --bindir=DIR user executables [EPREFIX/bin]
! 995: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 996: --libexecdir=DIR program executables [EPREFIX/libexec]
! 997: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 998: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 999: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1000: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1001: --libdir=DIR object code libraries [EPREFIX/lib]
! 1002: --includedir=DIR C header files [PREFIX/include]
! 1003: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1004: --infodir=DIR info documentation [PREFIX/info]
! 1005: --mandir=DIR man documentation [PREFIX/man]
! 1006: _ACEOF
! 1007:
! 1008: cat <<\_ACEOF
! 1009:
! 1010: Program names:
! 1011: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1012: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1013: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1014:
! 1015: System types:
! 1016: --build=BUILD configure for building on BUILD [guessed]
! 1017: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1018: _ACEOF
! 1019: fi
! 1020:
! 1021: if test -n "$ac_init_help"; then
! 1022: case $ac_init_help in
! 1023: short | recursive ) echo "Configuration of coova-chilli 1.0.12:";;
! 1024: esac
! 1025: cat <<\_ACEOF
! 1026:
! 1027: Optional Features:
! 1028: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1029: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1030: --disable-dependency-tracking speeds up one-time build
! 1031: --enable-dependency-tracking do not reject slow dependency extractors
! 1032: --enable-shared[=PKGS]
! 1033: build shared libraries [default=yes]
! 1034: --enable-static[=PKGS]
! 1035: build static libraries [default=yes]
! 1036: --enable-fast-install[=PKGS]
! 1037: optimize for fast installation [default=yes]
! 1038: --disable-libtool-lock avoid locking (might break parallel builds)
! 1039:
! 1040: Optional Packages:
! 1041: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1042: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1043: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1044: --with-pic try to use only PIC/non-PIC objects [default=use
! 1045: both]
! 1046: --with-tags[=TAGS]
! 1047: include additional configurations [automatic]
! 1048:
! 1049: Some influential environment variables:
! 1050: CC C compiler command
! 1051: CFLAGS C compiler flags
! 1052: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1053: nonstandard directory <lib dir>
! 1054: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 1055: headers in a nonstandard directory <include dir>
! 1056: CPP C preprocessor
! 1057: CXX C++ compiler command
! 1058: CXXFLAGS C++ compiler flags
! 1059: CXXCPP C++ preprocessor
! 1060: F77 Fortran 77 compiler command
! 1061: FFLAGS Fortran 77 compiler flags
! 1062:
! 1063: Use these variables to override the choices made by `configure' or to help
! 1064: it to find libraries and programs with nonstandard names/locations.
! 1065:
! 1066: Report bugs to <support@coova.org>.
! 1067: _ACEOF
! 1068: fi
! 1069:
! 1070: if test "$ac_init_help" = "recursive"; then
! 1071: # If there are subdirs, report their specific --help.
! 1072: ac_popdir=`pwd`
! 1073: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1074: test -d $ac_dir || continue
! 1075: ac_builddir=.
! 1076:
! 1077: if test "$ac_dir" != .; then
! 1078: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 1079: # A "../" for each directory in $ac_dir_suffix.
! 1080: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 1081: else
! 1082: ac_dir_suffix= ac_top_builddir=
! 1083: fi
! 1084:
! 1085: case $srcdir in
! 1086: .) # No --srcdir option. We are building in place.
! 1087: ac_srcdir=.
! 1088: if test -z "$ac_top_builddir"; then
! 1089: ac_top_srcdir=.
! 1090: else
! 1091: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 1092: fi ;;
! 1093: [\\/]* | ?:[\\/]* ) # Absolute path.
! 1094: ac_srcdir=$srcdir$ac_dir_suffix;
! 1095: ac_top_srcdir=$srcdir ;;
! 1096: *) # Relative path.
! 1097: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 1098: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 1099: esac
! 1100:
! 1101: # Do not use `cd foo && pwd` to compute absolute paths, because
! 1102: # the directories may not exist.
! 1103: case `pwd` in
! 1104: .) ac_abs_builddir="$ac_dir";;
! 1105: *)
! 1106: case "$ac_dir" in
! 1107: .) ac_abs_builddir=`pwd`;;
! 1108: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 1109: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 1110: esac;;
! 1111: esac
! 1112: case $ac_abs_builddir in
! 1113: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 1114: *)
! 1115: case ${ac_top_builddir}. in
! 1116: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 1117: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 1118: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 1119: esac;;
! 1120: esac
! 1121: case $ac_abs_builddir in
! 1122: .) ac_abs_srcdir=$ac_srcdir;;
! 1123: *)
! 1124: case $ac_srcdir in
! 1125: .) ac_abs_srcdir=$ac_abs_builddir;;
! 1126: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 1127: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 1128: esac;;
! 1129: esac
! 1130: case $ac_abs_builddir in
! 1131: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 1132: *)
! 1133: case $ac_top_srcdir in
! 1134: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 1135: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 1136: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 1137: esac;;
! 1138: esac
! 1139:
! 1140: cd $ac_dir
! 1141: # Check for guested configure; otherwise get Cygnus style configure.
! 1142: if test -f $ac_srcdir/configure.gnu; then
! 1143: echo
! 1144: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 1145: elif test -f $ac_srcdir/configure; then
! 1146: echo
! 1147: $SHELL $ac_srcdir/configure --help=recursive
! 1148: elif test -f $ac_srcdir/configure.ac ||
! 1149: test -f $ac_srcdir/configure.in; then
! 1150: echo
! 1151: $ac_configure --help
! 1152: else
! 1153: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1154: fi
! 1155: cd $ac_popdir
! 1156: done
! 1157: fi
! 1158:
! 1159: test -n "$ac_init_help" && exit 0
! 1160: if $ac_init_version; then
! 1161: cat <<\_ACEOF
! 1162: coova-chilli configure 1.0.12
! 1163: generated by GNU Autoconf 2.59
! 1164:
! 1165: Copyright (C) 2003 Free Software Foundation, Inc.
! 1166: This configure script is free software; the Free Software Foundation
! 1167: gives unlimited permission to copy, distribute and modify it.
! 1168: _ACEOF
! 1169: exit 0
! 1170: fi
! 1171: exec 5>config.log
! 1172: cat >&5 <<_ACEOF
! 1173: This file contains any messages produced by compilers while
! 1174: running configure, to aid debugging if configure makes a mistake.
! 1175:
! 1176: It was created by coova-chilli $as_me 1.0.12, which was
! 1177: generated by GNU Autoconf 2.59. Invocation command line was
! 1178:
! 1179: $ $0 $@
! 1180:
! 1181: _ACEOF
! 1182: {
! 1183: cat <<_ASUNAME
! 1184: ## --------- ##
! 1185: ## Platform. ##
! 1186: ## --------- ##
! 1187:
! 1188: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1189: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1190: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1191: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1192: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1193:
! 1194: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1195: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1196:
! 1197: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1198: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1199: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1200: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 1201: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1202: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1203: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1204:
! 1205: _ASUNAME
! 1206:
! 1207: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1208: for as_dir in $PATH
! 1209: do
! 1210: IFS=$as_save_IFS
! 1211: test -z "$as_dir" && as_dir=.
! 1212: echo "PATH: $as_dir"
! 1213: done
! 1214:
! 1215: } >&5
! 1216:
! 1217: cat >&5 <<_ACEOF
! 1218:
! 1219:
! 1220: ## ----------- ##
! 1221: ## Core tests. ##
! 1222: ## ----------- ##
! 1223:
! 1224: _ACEOF
! 1225:
! 1226:
! 1227: # Keep a trace of the command line.
! 1228: # Strip out --no-create and --no-recursion so they do not pile up.
! 1229: # Strip out --silent because we don't want to record it for future runs.
! 1230: # Also quote any args containing shell meta-characters.
! 1231: # Make two passes to allow for proper duplicate-argument suppression.
! 1232: ac_configure_args=
! 1233: ac_configure_args0=
! 1234: ac_configure_args1=
! 1235: ac_sep=
! 1236: ac_must_keep_next=false
! 1237: for ac_pass in 1 2
! 1238: do
! 1239: for ac_arg
! 1240: do
! 1241: case $ac_arg in
! 1242: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1243: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1244: | -silent | --silent | --silen | --sile | --sil)
! 1245: continue ;;
! 1246: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1247: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1248: esac
! 1249: case $ac_pass in
! 1250: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1251: 2)
! 1252: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1253: if test $ac_must_keep_next = true; then
! 1254: ac_must_keep_next=false # Got value, back to normal.
! 1255: else
! 1256: case $ac_arg in
! 1257: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1258: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1259: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1260: | -with-* | --with-* | -without-* | --without-* | --x)
! 1261: case "$ac_configure_args0 " in
! 1262: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1263: esac
! 1264: ;;
! 1265: -* ) ac_must_keep_next=true ;;
! 1266: esac
! 1267: fi
! 1268: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 1269: # Get rid of the leading space.
! 1270: ac_sep=" "
! 1271: ;;
! 1272: esac
! 1273: done
! 1274: done
! 1275: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1276: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1277:
! 1278: # When interrupted or exit'd, cleanup temporary files, and complete
! 1279: # config.log. We remove comments because anyway the quotes in there
! 1280: # would cause problems or look ugly.
! 1281: # WARNING: Be sure not to use single quotes in there, as some shells,
! 1282: # such as our DU 5.0 friend, will then `close' the trap.
! 1283: trap 'exit_status=$?
! 1284: # Save into config.log some information that might help in debugging.
! 1285: {
! 1286: echo
! 1287:
! 1288: cat <<\_ASBOX
! 1289: ## ---------------- ##
! 1290: ## Cache variables. ##
! 1291: ## ---------------- ##
! 1292: _ASBOX
! 1293: echo
! 1294: # The following way of writing the cache mishandles newlines in values,
! 1295: {
! 1296: (set) 2>&1 |
! 1297: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 1298: *ac_space=\ *)
! 1299: sed -n \
! 1300: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 1301: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 1302: ;;
! 1303: *)
! 1304: sed -n \
! 1305: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 1306: ;;
! 1307: esac;
! 1308: }
! 1309: echo
! 1310:
! 1311: cat <<\_ASBOX
! 1312: ## ----------------- ##
! 1313: ## Output variables. ##
! 1314: ## ----------------- ##
! 1315: _ASBOX
! 1316: echo
! 1317: for ac_var in $ac_subst_vars
! 1318: do
! 1319: eval ac_val=$`echo $ac_var`
! 1320: echo "$ac_var='"'"'$ac_val'"'"'"
! 1321: done | sort
! 1322: echo
! 1323:
! 1324: if test -n "$ac_subst_files"; then
! 1325: cat <<\_ASBOX
! 1326: ## ------------- ##
! 1327: ## Output files. ##
! 1328: ## ------------- ##
! 1329: _ASBOX
! 1330: echo
! 1331: for ac_var in $ac_subst_files
! 1332: do
! 1333: eval ac_val=$`echo $ac_var`
! 1334: echo "$ac_var='"'"'$ac_val'"'"'"
! 1335: done | sort
! 1336: echo
! 1337: fi
! 1338:
! 1339: if test -s confdefs.h; then
! 1340: cat <<\_ASBOX
! 1341: ## ----------- ##
! 1342: ## confdefs.h. ##
! 1343: ## ----------- ##
! 1344: _ASBOX
! 1345: echo
! 1346: sed "/^$/d" confdefs.h | sort
! 1347: echo
! 1348: fi
! 1349: test "$ac_signal" != 0 &&
! 1350: echo "$as_me: caught signal $ac_signal"
! 1351: echo "$as_me: exit $exit_status"
! 1352: } >&5
! 1353: rm -f core *.core &&
! 1354: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1355: exit $exit_status
! 1356: ' 0
! 1357: for ac_signal in 1 2 13 15; do
! 1358: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1359: done
! 1360: ac_signal=0
! 1361:
! 1362: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1363: rm -rf conftest* confdefs.h
! 1364: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1365: echo >confdefs.h
! 1366:
! 1367: # Predefined preprocessor variables.
! 1368:
! 1369: cat >>confdefs.h <<_ACEOF
! 1370: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1371: _ACEOF
! 1372:
! 1373:
! 1374: cat >>confdefs.h <<_ACEOF
! 1375: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1376: _ACEOF
! 1377:
! 1378:
! 1379: cat >>confdefs.h <<_ACEOF
! 1380: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1381: _ACEOF
! 1382:
! 1383:
! 1384: cat >>confdefs.h <<_ACEOF
! 1385: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1386: _ACEOF
! 1387:
! 1388:
! 1389: cat >>confdefs.h <<_ACEOF
! 1390: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1391: _ACEOF
! 1392:
! 1393:
! 1394: # Let the site file select an alternate cache file if it wants to.
! 1395: # Prefer explicitly selected file to automatically selected ones.
! 1396: if test -z "$CONFIG_SITE"; then
! 1397: if test "x$prefix" != xNONE; then
! 1398: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 1399: else
! 1400: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 1401: fi
! 1402: fi
! 1403: for ac_site_file in $CONFIG_SITE; do
! 1404: if test -r "$ac_site_file"; then
! 1405: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1406: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1407: sed 's/^/| /' "$ac_site_file" >&5
! 1408: . "$ac_site_file"
! 1409: fi
! 1410: done
! 1411:
! 1412: if test -r "$cache_file"; then
! 1413: # Some versions of bash will fail to source /dev/null (special
! 1414: # files actually), so we avoid doing that.
! 1415: if test -f "$cache_file"; then
! 1416: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1417: echo "$as_me: loading cache $cache_file" >&6;}
! 1418: case $cache_file in
! 1419: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1420: *) . ./$cache_file;;
! 1421: esac
! 1422: fi
! 1423: else
! 1424: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1425: echo "$as_me: creating cache $cache_file" >&6;}
! 1426: >$cache_file
! 1427: fi
! 1428:
! 1429: # Check that the precious variables saved in the cache have kept the same
! 1430: # value.
! 1431: ac_cache_corrupted=false
! 1432: for ac_var in `(set) 2>&1 |
! 1433: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1434: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1435: eval ac_new_set=\$ac_env_${ac_var}_set
! 1436: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1437: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1438: case $ac_old_set,$ac_new_set in
! 1439: set,)
! 1440: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1441: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1442: ac_cache_corrupted=: ;;
! 1443: ,set)
! 1444: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1445: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1446: ac_cache_corrupted=: ;;
! 1447: ,);;
! 1448: *)
! 1449: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1450: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1451: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1452: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1453: echo "$as_me: former value: $ac_old_val" >&2;}
! 1454: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1455: echo "$as_me: current value: $ac_new_val" >&2;}
! 1456: ac_cache_corrupted=:
! 1457: fi;;
! 1458: esac
! 1459: # Pass precious variables to config.status.
! 1460: if test "$ac_new_set" = set; then
! 1461: case $ac_new_val in
! 1462: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1463: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1464: *) ac_arg=$ac_var=$ac_new_val ;;
! 1465: esac
! 1466: case " $ac_configure_args " in
! 1467: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1468: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1469: esac
! 1470: fi
! 1471: done
! 1472: if $ac_cache_corrupted; then
! 1473: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1474: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1475: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1476: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1477: { (exit 1); exit 1; }; }
! 1478: fi
! 1479:
! 1480: ac_ext=c
! 1481: ac_cpp='$CPP $CPPFLAGS'
! 1482: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1483: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1484: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1485:
! 1486:
! 1487:
! 1488:
! 1489:
! 1490:
! 1491:
! 1492:
! 1493:
! 1494:
! 1495:
! 1496:
! 1497:
! 1498:
! 1499:
! 1500:
! 1501:
! 1502:
! 1503:
! 1504:
! 1505:
! 1506:
! 1507:
! 1508:
! 1509:
! 1510:
! 1511:
! 1512:
! 1513:
! 1514: am__api_version="1.9"
! 1515: ac_aux_dir=
! 1516: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
! 1517: if test -f $ac_dir/install-sh; then
! 1518: ac_aux_dir=$ac_dir
! 1519: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1520: break
! 1521: elif test -f $ac_dir/install.sh; then
! 1522: ac_aux_dir=$ac_dir
! 1523: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1524: break
! 1525: elif test -f $ac_dir/shtool; then
! 1526: ac_aux_dir=$ac_dir
! 1527: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1528: break
! 1529: fi
! 1530: done
! 1531: if test -z "$ac_aux_dir"; then
! 1532: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
! 1533: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
! 1534: { (exit 1); exit 1; }; }
! 1535: fi
! 1536: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1537: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1538: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
! 1539:
! 1540: # Find a good install program. We prefer a C program (faster),
! 1541: # so one script is as good as another. But avoid the broken or
! 1542: # incompatible versions:
! 1543: # SysV /etc/install, /usr/sbin/install
! 1544: # SunOS /usr/etc/install
! 1545: # IRIX /sbin/install
! 1546: # AIX /bin/install
! 1547: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 1548: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 1549: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 1550: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 1551: # OS/2's system install, which has a completely different semantic
! 1552: # ./install, which can be erroneously created by make from ./install.sh.
! 1553: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 1554: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
! 1555: if test -z "$INSTALL"; then
! 1556: if test "${ac_cv_path_install+set}" = set; then
! 1557: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1558: else
! 1559: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1560: for as_dir in $PATH
! 1561: do
! 1562: IFS=$as_save_IFS
! 1563: test -z "$as_dir" && as_dir=.
! 1564: # Account for people who put trailing slashes in PATH elements.
! 1565: case $as_dir/ in
! 1566: ./ | .// | /cC/* | \
! 1567: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 1568: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 1569: /usr/ucb/* ) ;;
! 1570: *)
! 1571: # OSF1 and SCO ODT 3.0 have their own names for install.
! 1572: # Don't use installbsd from OSF since it installs stuff as root
! 1573: # by default.
! 1574: for ac_prog in ginstall scoinst install; do
! 1575: for ac_exec_ext in '' $ac_executable_extensions; do
! 1576: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 1577: if test $ac_prog = install &&
! 1578: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1579: # AIX install. It has an incompatible calling convention.
! 1580: :
! 1581: elif test $ac_prog = install &&
! 1582: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1583: # program-specific install script used by HP pwplus--don't use.
! 1584: :
! 1585: else
! 1586: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 1587: break 3
! 1588: fi
! 1589: fi
! 1590: done
! 1591: done
! 1592: ;;
! 1593: esac
! 1594: done
! 1595:
! 1596:
! 1597: fi
! 1598: if test "${ac_cv_path_install+set}" = set; then
! 1599: INSTALL=$ac_cv_path_install
! 1600: else
! 1601: # As a last resort, use the slow shell script. We don't cache a
! 1602: # path for INSTALL within a source directory, because that will
! 1603: # break other packages using the cache if that directory is
! 1604: # removed, or if the path is relative.
! 1605: INSTALL=$ac_install_sh
! 1606: fi
! 1607: fi
! 1608: echo "$as_me:$LINENO: result: $INSTALL" >&5
! 1609: echo "${ECHO_T}$INSTALL" >&6
! 1610:
! 1611: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 1612: # It thinks the first close brace ends the variable substitution.
! 1613: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 1614:
! 1615: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 1616:
! 1617: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 1618:
! 1619: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 1620: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
! 1621: # Just in case
! 1622: sleep 1
! 1623: echo timestamp > conftest.file
! 1624: # Do `set' in a subshell so we don't clobber the current shell's
! 1625: # arguments. Must try -L first in case configure is actually a
! 1626: # symlink; some systems play weird games with the mod time of symlinks
! 1627: # (eg FreeBSD returns the mod time of the symlink's containing
! 1628: # directory).
! 1629: if (
! 1630: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 1631: if test "$*" = "X"; then
! 1632: # -L didn't work.
! 1633: set X `ls -t $srcdir/configure conftest.file`
! 1634: fi
! 1635: rm -f conftest.file
! 1636: if test "$*" != "X $srcdir/configure conftest.file" \
! 1637: && test "$*" != "X conftest.file $srcdir/configure"; then
! 1638:
! 1639: # If neither matched, then we have a broken ls. This can happen
! 1640: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 1641: # broken ls alias from the environment. This has actually
! 1642: # happened. Such a system could not be considered "sane".
! 1643: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 1644: alias in your environment" >&5
! 1645: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 1646: alias in your environment" >&2;}
! 1647: { (exit 1); exit 1; }; }
! 1648: fi
! 1649:
! 1650: test "$2" = conftest.file
! 1651: )
! 1652: then
! 1653: # Ok.
! 1654: :
! 1655: else
! 1656: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 1657: Check your system clock" >&5
! 1658: echo "$as_me: error: newly created file is older than distributed files!
! 1659: Check your system clock" >&2;}
! 1660: { (exit 1); exit 1; }; }
! 1661: fi
! 1662: echo "$as_me:$LINENO: result: yes" >&5
! 1663: echo "${ECHO_T}yes" >&6
! 1664: test "$program_prefix" != NONE &&
! 1665: program_transform_name="s,^,$program_prefix,;$program_transform_name"
! 1666: # Use a double $ so make ignores it.
! 1667: test "$program_suffix" != NONE &&
! 1668: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
! 1669: # Double any \ or $. echo might interpret backslashes.
! 1670: # By default was `s,x,x', remove it if useless.
! 1671: cat <<\_ACEOF >conftest.sed
! 1672: s/[\\$]/&&/g;s/;s,x,x,$//
! 1673: _ACEOF
! 1674: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! 1675: rm conftest.sed
! 1676:
! 1677: # expand $ac_aux_dir to an absolute path
! 1678: am_aux_dir=`cd $ac_aux_dir && pwd`
! 1679:
! 1680: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 1681: # Use eval to expand $SHELL
! 1682: if eval "$MISSING --run true"; then
! 1683: am_missing_run="$MISSING --run "
! 1684: else
! 1685: am_missing_run=
! 1686: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 1687: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 1688: fi
! 1689:
! 1690: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
! 1691: # We used to keeping the `.' as first argument, in order to
! 1692: # allow $(mkdir_p) to be used without argument. As in
! 1693: # $(mkdir_p) $(somedir)
! 1694: # where $(somedir) is conditionally defined. However this is wrong
! 1695: # for two reasons:
! 1696: # 1. if the package is installed by a user who cannot write `.'
! 1697: # make install will fail,
! 1698: # 2. the above comment should most certainly read
! 1699: # $(mkdir_p) $(DESTDIR)$(somedir)
! 1700: # so it does not work when $(somedir) is undefined and
! 1701: # $(DESTDIR) is not.
! 1702: # To support the latter case, we have to write
! 1703: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
! 1704: # so the `.' trick is pointless.
! 1705: mkdir_p='mkdir -p --'
! 1706: else
! 1707: # On NextStep and OpenStep, the `mkdir' command does not
! 1708: # recognize any option. It will interpret all options as
! 1709: # directories to create, and then abort because `.' already
! 1710: # exists.
! 1711: for d in ./-p ./--version;
! 1712: do
! 1713: test -d $d && rmdir $d
! 1714: done
! 1715: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
! 1716: if test -f "$ac_aux_dir/mkinstalldirs"; then
! 1717: mkdir_p='$(mkinstalldirs)'
! 1718: else
! 1719: mkdir_p='$(install_sh) -d'
! 1720: fi
! 1721: fi
! 1722:
! 1723: for ac_prog in gawk mawk nawk awk
! 1724: do
! 1725: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1726: set dummy $ac_prog; ac_word=$2
! 1727: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1728: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1729: if test "${ac_cv_prog_AWK+set}" = set; then
! 1730: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1731: else
! 1732: if test -n "$AWK"; then
! 1733: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 1734: else
! 1735: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1736: for as_dir in $PATH
! 1737: do
! 1738: IFS=$as_save_IFS
! 1739: test -z "$as_dir" && as_dir=.
! 1740: for ac_exec_ext in '' $ac_executable_extensions; do
! 1741: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1742: ac_cv_prog_AWK="$ac_prog"
! 1743: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1744: break 2
! 1745: fi
! 1746: done
! 1747: done
! 1748:
! 1749: fi
! 1750: fi
! 1751: AWK=$ac_cv_prog_AWK
! 1752: if test -n "$AWK"; then
! 1753: echo "$as_me:$LINENO: result: $AWK" >&5
! 1754: echo "${ECHO_T}$AWK" >&6
! 1755: else
! 1756: echo "$as_me:$LINENO: result: no" >&5
! 1757: echo "${ECHO_T}no" >&6
! 1758: fi
! 1759:
! 1760: test -n "$AWK" && break
! 1761: done
! 1762:
! 1763: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 1764: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
! 1765: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
! 1766: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 1767: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1768: else
! 1769: cat >conftest.make <<\_ACEOF
! 1770: all:
! 1771: @echo 'ac_maketemp="$(MAKE)"'
! 1772: _ACEOF
! 1773: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 1774: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! 1775: if test -n "$ac_maketemp"; then
! 1776: eval ac_cv_prog_make_${ac_make}_set=yes
! 1777: else
! 1778: eval ac_cv_prog_make_${ac_make}_set=no
! 1779: fi
! 1780: rm -f conftest.make
! 1781: fi
! 1782: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 1783: echo "$as_me:$LINENO: result: yes" >&5
! 1784: echo "${ECHO_T}yes" >&6
! 1785: SET_MAKE=
! 1786: else
! 1787: echo "$as_me:$LINENO: result: no" >&5
! 1788: echo "${ECHO_T}no" >&6
! 1789: SET_MAKE="MAKE=${MAKE-make}"
! 1790: fi
! 1791:
! 1792: rm -rf .tst 2>/dev/null
! 1793: mkdir .tst 2>/dev/null
! 1794: if test -d .tst; then
! 1795: am__leading_dot=.
! 1796: else
! 1797: am__leading_dot=_
! 1798: fi
! 1799: rmdir .tst 2>/dev/null
! 1800:
! 1801: # test to see if srcdir already configured
! 1802: if test "`cd $srcdir && pwd`" != "`pwd`" &&
! 1803: test -f $srcdir/config.status; then
! 1804: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 1805: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 1806: { (exit 1); exit 1; }; }
! 1807: fi
! 1808:
! 1809: # test whether we have cygpath
! 1810: if test -z "$CYGPATH_W"; then
! 1811: if (cygpath --version) >/dev/null 2>/dev/null; then
! 1812: CYGPATH_W='cygpath -w'
! 1813: else
! 1814: CYGPATH_W=echo
! 1815: fi
! 1816: fi
! 1817:
! 1818:
! 1819: # Define the identity of the package.
! 1820: PACKAGE='coova-chilli'
! 1821: VERSION='1.0.12'
! 1822:
! 1823:
! 1824: cat >>confdefs.h <<_ACEOF
! 1825: #define PACKAGE "$PACKAGE"
! 1826: _ACEOF
! 1827:
! 1828:
! 1829: cat >>confdefs.h <<_ACEOF
! 1830: #define VERSION "$VERSION"
! 1831: _ACEOF
! 1832:
! 1833: # Some tools Automake needs.
! 1834:
! 1835: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 1836:
! 1837:
! 1838: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 1839:
! 1840:
! 1841: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 1842:
! 1843:
! 1844: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 1845:
! 1846:
! 1847: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 1848:
! 1849: install_sh=${install_sh-"$am_aux_dir/install-sh"}
! 1850:
! 1851: # Installed binaries are usually stripped using `strip' when the user
! 1852: # run `make install-strip'. However `strip' might not be the right
! 1853: # tool to use in cross-compilation environments, therefore Automake
! 1854: # will honor the `STRIP' environment variable to overrule this program.
! 1855: if test "$cross_compiling" != no; then
! 1856: if test -n "$ac_tool_prefix"; then
! 1857: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 1858: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 1859: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1860: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1861: if test "${ac_cv_prog_STRIP+set}" = set; then
! 1862: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1863: else
! 1864: if test -n "$STRIP"; then
! 1865: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 1866: else
! 1867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1868: for as_dir in $PATH
! 1869: do
! 1870: IFS=$as_save_IFS
! 1871: test -z "$as_dir" && as_dir=.
! 1872: for ac_exec_ext in '' $ac_executable_extensions; do
! 1873: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1874: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 1875: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1876: break 2
! 1877: fi
! 1878: done
! 1879: done
! 1880:
! 1881: fi
! 1882: fi
! 1883: STRIP=$ac_cv_prog_STRIP
! 1884: if test -n "$STRIP"; then
! 1885: echo "$as_me:$LINENO: result: $STRIP" >&5
! 1886: echo "${ECHO_T}$STRIP" >&6
! 1887: else
! 1888: echo "$as_me:$LINENO: result: no" >&5
! 1889: echo "${ECHO_T}no" >&6
! 1890: fi
! 1891:
! 1892: fi
! 1893: if test -z "$ac_cv_prog_STRIP"; then
! 1894: ac_ct_STRIP=$STRIP
! 1895: # Extract the first word of "strip", so it can be a program name with args.
! 1896: set dummy strip; ac_word=$2
! 1897: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1898: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1899: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 1900: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1901: else
! 1902: if test -n "$ac_ct_STRIP"; then
! 1903: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 1904: else
! 1905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1906: for as_dir in $PATH
! 1907: do
! 1908: IFS=$as_save_IFS
! 1909: test -z "$as_dir" && as_dir=.
! 1910: for ac_exec_ext in '' $ac_executable_extensions; do
! 1911: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1912: ac_cv_prog_ac_ct_STRIP="strip"
! 1913: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1914: break 2
! 1915: fi
! 1916: done
! 1917: done
! 1918:
! 1919: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 1920: fi
! 1921: fi
! 1922: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 1923: if test -n "$ac_ct_STRIP"; then
! 1924: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 1925: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 1926: else
! 1927: echo "$as_me:$LINENO: result: no" >&5
! 1928: echo "${ECHO_T}no" >&6
! 1929: fi
! 1930:
! 1931: STRIP=$ac_ct_STRIP
! 1932: else
! 1933: STRIP="$ac_cv_prog_STRIP"
! 1934: fi
! 1935:
! 1936: fi
! 1937: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 1938:
! 1939: # We need awk for the "check" target. The system "awk" is bad on
! 1940: # some platforms.
! 1941: # Always define AMTAR for backward compatibility.
! 1942:
! 1943: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 1944:
! 1945: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 1946:
! 1947:
! 1948:
! 1949:
! 1950:
! 1951:
! 1952: ac_config_headers="$ac_config_headers config.h"
! 1953:
! 1954:
! 1955: # Checks for programs.
! 1956: ac_ext=c
! 1957: ac_cpp='$CPP $CPPFLAGS'
! 1958: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1959: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1960: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1961: if test -n "$ac_tool_prefix"; then
! 1962: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1963: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1964: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1965: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1966: if test "${ac_cv_prog_CC+set}" = set; then
! 1967: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1968: else
! 1969: if test -n "$CC"; then
! 1970: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1971: else
! 1972: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1973: for as_dir in $PATH
! 1974: do
! 1975: IFS=$as_save_IFS
! 1976: test -z "$as_dir" && as_dir=.
! 1977: for ac_exec_ext in '' $ac_executable_extensions; do
! 1978: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1979: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1980: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1981: break 2
! 1982: fi
! 1983: done
! 1984: done
! 1985:
! 1986: fi
! 1987: fi
! 1988: CC=$ac_cv_prog_CC
! 1989: if test -n "$CC"; then
! 1990: echo "$as_me:$LINENO: result: $CC" >&5
! 1991: echo "${ECHO_T}$CC" >&6
! 1992: else
! 1993: echo "$as_me:$LINENO: result: no" >&5
! 1994: echo "${ECHO_T}no" >&6
! 1995: fi
! 1996:
! 1997: fi
! 1998: if test -z "$ac_cv_prog_CC"; then
! 1999: ac_ct_CC=$CC
! 2000: # Extract the first word of "gcc", so it can be a program name with args.
! 2001: set dummy gcc; ac_word=$2
! 2002: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2003: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2004: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2005: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2006: else
! 2007: if test -n "$ac_ct_CC"; then
! 2008: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2009: else
! 2010: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2011: for as_dir in $PATH
! 2012: do
! 2013: IFS=$as_save_IFS
! 2014: test -z "$as_dir" && as_dir=.
! 2015: for ac_exec_ext in '' $ac_executable_extensions; do
! 2016: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2017: ac_cv_prog_ac_ct_CC="gcc"
! 2018: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2019: break 2
! 2020: fi
! 2021: done
! 2022: done
! 2023:
! 2024: fi
! 2025: fi
! 2026: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2027: if test -n "$ac_ct_CC"; then
! 2028: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2029: echo "${ECHO_T}$ac_ct_CC" >&6
! 2030: else
! 2031: echo "$as_me:$LINENO: result: no" >&5
! 2032: echo "${ECHO_T}no" >&6
! 2033: fi
! 2034:
! 2035: CC=$ac_ct_CC
! 2036: else
! 2037: CC="$ac_cv_prog_CC"
! 2038: fi
! 2039:
! 2040: if test -z "$CC"; then
! 2041: if test -n "$ac_tool_prefix"; then
! 2042: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2043: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2044: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2045: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2046: if test "${ac_cv_prog_CC+set}" = set; then
! 2047: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2048: else
! 2049: if test -n "$CC"; then
! 2050: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2051: else
! 2052: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2053: for as_dir in $PATH
! 2054: do
! 2055: IFS=$as_save_IFS
! 2056: test -z "$as_dir" && as_dir=.
! 2057: for ac_exec_ext in '' $ac_executable_extensions; do
! 2058: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2059: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2060: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2061: break 2
! 2062: fi
! 2063: done
! 2064: done
! 2065:
! 2066: fi
! 2067: fi
! 2068: CC=$ac_cv_prog_CC
! 2069: if test -n "$CC"; then
! 2070: echo "$as_me:$LINENO: result: $CC" >&5
! 2071: echo "${ECHO_T}$CC" >&6
! 2072: else
! 2073: echo "$as_me:$LINENO: result: no" >&5
! 2074: echo "${ECHO_T}no" >&6
! 2075: fi
! 2076:
! 2077: fi
! 2078: if test -z "$ac_cv_prog_CC"; then
! 2079: ac_ct_CC=$CC
! 2080: # Extract the first word of "cc", so it can be a program name with args.
! 2081: set dummy cc; ac_word=$2
! 2082: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2083: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2084: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2085: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2086: else
! 2087: if test -n "$ac_ct_CC"; then
! 2088: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2089: else
! 2090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2091: for as_dir in $PATH
! 2092: do
! 2093: IFS=$as_save_IFS
! 2094: test -z "$as_dir" && as_dir=.
! 2095: for ac_exec_ext in '' $ac_executable_extensions; do
! 2096: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2097: ac_cv_prog_ac_ct_CC="cc"
! 2098: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2099: break 2
! 2100: fi
! 2101: done
! 2102: done
! 2103:
! 2104: fi
! 2105: fi
! 2106: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2107: if test -n "$ac_ct_CC"; then
! 2108: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2109: echo "${ECHO_T}$ac_ct_CC" >&6
! 2110: else
! 2111: echo "$as_me:$LINENO: result: no" >&5
! 2112: echo "${ECHO_T}no" >&6
! 2113: fi
! 2114:
! 2115: CC=$ac_ct_CC
! 2116: else
! 2117: CC="$ac_cv_prog_CC"
! 2118: fi
! 2119:
! 2120: fi
! 2121: if test -z "$CC"; then
! 2122: # Extract the first word of "cc", so it can be a program name with args.
! 2123: set dummy cc; ac_word=$2
! 2124: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2125: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2126: if test "${ac_cv_prog_CC+set}" = set; then
! 2127: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2128: else
! 2129: if test -n "$CC"; then
! 2130: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2131: else
! 2132: ac_prog_rejected=no
! 2133: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2134: for as_dir in $PATH
! 2135: do
! 2136: IFS=$as_save_IFS
! 2137: test -z "$as_dir" && as_dir=.
! 2138: for ac_exec_ext in '' $ac_executable_extensions; do
! 2139: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2140: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2141: ac_prog_rejected=yes
! 2142: continue
! 2143: fi
! 2144: ac_cv_prog_CC="cc"
! 2145: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2146: break 2
! 2147: fi
! 2148: done
! 2149: done
! 2150:
! 2151: if test $ac_prog_rejected = yes; then
! 2152: # We found a bogon in the path, so make sure we never use it.
! 2153: set dummy $ac_cv_prog_CC
! 2154: shift
! 2155: if test $# != 0; then
! 2156: # We chose a different compiler from the bogus one.
! 2157: # However, it has the same basename, so the bogon will be chosen
! 2158: # first if we set CC to just the basename; use the full file name.
! 2159: shift
! 2160: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2161: fi
! 2162: fi
! 2163: fi
! 2164: fi
! 2165: CC=$ac_cv_prog_CC
! 2166: if test -n "$CC"; then
! 2167: echo "$as_me:$LINENO: result: $CC" >&5
! 2168: echo "${ECHO_T}$CC" >&6
! 2169: else
! 2170: echo "$as_me:$LINENO: result: no" >&5
! 2171: echo "${ECHO_T}no" >&6
! 2172: fi
! 2173:
! 2174: fi
! 2175: if test -z "$CC"; then
! 2176: if test -n "$ac_tool_prefix"; then
! 2177: for ac_prog in cl
! 2178: do
! 2179: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2180: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2181: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2182: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2183: if test "${ac_cv_prog_CC+set}" = set; then
! 2184: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2185: else
! 2186: if test -n "$CC"; then
! 2187: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2188: else
! 2189: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2190: for as_dir in $PATH
! 2191: do
! 2192: IFS=$as_save_IFS
! 2193: test -z "$as_dir" && as_dir=.
! 2194: for ac_exec_ext in '' $ac_executable_extensions; do
! 2195: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2196: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2197: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2198: break 2
! 2199: fi
! 2200: done
! 2201: done
! 2202:
! 2203: fi
! 2204: fi
! 2205: CC=$ac_cv_prog_CC
! 2206: if test -n "$CC"; then
! 2207: echo "$as_me:$LINENO: result: $CC" >&5
! 2208: echo "${ECHO_T}$CC" >&6
! 2209: else
! 2210: echo "$as_me:$LINENO: result: no" >&5
! 2211: echo "${ECHO_T}no" >&6
! 2212: fi
! 2213:
! 2214: test -n "$CC" && break
! 2215: done
! 2216: fi
! 2217: if test -z "$CC"; then
! 2218: ac_ct_CC=$CC
! 2219: for ac_prog in cl
! 2220: do
! 2221: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2222: set dummy $ac_prog; ac_word=$2
! 2223: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2224: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2225: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2226: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2227: else
! 2228: if test -n "$ac_ct_CC"; then
! 2229: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2230: else
! 2231: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2232: for as_dir in $PATH
! 2233: do
! 2234: IFS=$as_save_IFS
! 2235: test -z "$as_dir" && as_dir=.
! 2236: for ac_exec_ext in '' $ac_executable_extensions; do
! 2237: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2238: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2239: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2240: break 2
! 2241: fi
! 2242: done
! 2243: done
! 2244:
! 2245: fi
! 2246: fi
! 2247: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2248: if test -n "$ac_ct_CC"; then
! 2249: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2250: echo "${ECHO_T}$ac_ct_CC" >&6
! 2251: else
! 2252: echo "$as_me:$LINENO: result: no" >&5
! 2253: echo "${ECHO_T}no" >&6
! 2254: fi
! 2255:
! 2256: test -n "$ac_ct_CC" && break
! 2257: done
! 2258:
! 2259: CC=$ac_ct_CC
! 2260: fi
! 2261:
! 2262: fi
! 2263:
! 2264:
! 2265: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2266: See \`config.log' for more details." >&5
! 2267: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2268: See \`config.log' for more details." >&2;}
! 2269: { (exit 1); exit 1; }; }
! 2270:
! 2271: # Provide some information about the compiler.
! 2272: echo "$as_me:$LINENO:" \
! 2273: "checking for C compiler version" >&5
! 2274: ac_compiler=`set X $ac_compile; echo $2`
! 2275: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 2276: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 2277: ac_status=$?
! 2278: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2279: (exit $ac_status); }
! 2280: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 2281: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 2282: ac_status=$?
! 2283: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2284: (exit $ac_status); }
! 2285: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 2286: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 2287: ac_status=$?
! 2288: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2289: (exit $ac_status); }
! 2290:
! 2291: cat >conftest.$ac_ext <<_ACEOF
! 2292: /* confdefs.h. */
! 2293: _ACEOF
! 2294: cat confdefs.h >>conftest.$ac_ext
! 2295: cat >>conftest.$ac_ext <<_ACEOF
! 2296: /* end confdefs.h. */
! 2297:
! 2298: int
! 2299: main ()
! 2300: {
! 2301:
! 2302: ;
! 2303: return 0;
! 2304: }
! 2305: _ACEOF
! 2306: ac_clean_files_save=$ac_clean_files
! 2307: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2308: # Try to create an executable without -o first, disregard a.out.
! 2309: # It will help us diagnose broken compilers, and finding out an intuition
! 2310: # of exeext.
! 2311: echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2312: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
! 2313: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2314: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 2315: (eval $ac_link_default) 2>&5
! 2316: ac_status=$?
! 2317: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2318: (exit $ac_status); }; then
! 2319: # Find the output, starting from the most likely. This scheme is
! 2320: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 2321: # resort.
! 2322:
! 2323: # Be careful to initialize this variable, since it used to be cached.
! 2324: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 2325: ac_cv_exeext=
! 2326: # b.out is created by i960 compilers.
! 2327: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
! 2328: do
! 2329: test -f "$ac_file" || continue
! 2330: case $ac_file in
! 2331: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
! 2332: ;;
! 2333: conftest.$ac_ext )
! 2334: # This is the source file.
! 2335: ;;
! 2336: [ab].out )
! 2337: # We found the default executable, but exeext='' is most
! 2338: # certainly right.
! 2339: break;;
! 2340: *.* )
! 2341: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2342: # FIXME: I believe we export ac_cv_exeext for Libtool,
! 2343: # but it would be cool to find out if it's true. Does anybody
! 2344: # maintain Libtool? --akim.
! 2345: export ac_cv_exeext
! 2346: break;;
! 2347: * )
! 2348: break;;
! 2349: esac
! 2350: done
! 2351: else
! 2352: echo "$as_me: failed program was:" >&5
! 2353: sed 's/^/| /' conftest.$ac_ext >&5
! 2354:
! 2355: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2356: See \`config.log' for more details." >&5
! 2357: echo "$as_me: error: C compiler cannot create executables
! 2358: See \`config.log' for more details." >&2;}
! 2359: { (exit 77); exit 77; }; }
! 2360: fi
! 2361:
! 2362: ac_exeext=$ac_cv_exeext
! 2363: echo "$as_me:$LINENO: result: $ac_file" >&5
! 2364: echo "${ECHO_T}$ac_file" >&6
! 2365:
! 2366: # Check the compiler produces executables we can run. If not, either
! 2367: # the compiler is broken, or we cross compile.
! 2368: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2369: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 2370: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2371: # If not cross compiling, check that we can run a simple program.
! 2372: if test "$cross_compiling" != yes; then
! 2373: if { ac_try='./$ac_file'
! 2374: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2375: (eval $ac_try) 2>&5
! 2376: ac_status=$?
! 2377: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2378: (exit $ac_status); }; }; then
! 2379: cross_compiling=no
! 2380: else
! 2381: if test "$cross_compiling" = maybe; then
! 2382: cross_compiling=yes
! 2383: else
! 2384: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2385: If you meant to cross compile, use \`--host'.
! 2386: See \`config.log' for more details." >&5
! 2387: echo "$as_me: error: cannot run C compiled programs.
! 2388: If you meant to cross compile, use \`--host'.
! 2389: See \`config.log' for more details." >&2;}
! 2390: { (exit 1); exit 1; }; }
! 2391: fi
! 2392: fi
! 2393: fi
! 2394: echo "$as_me:$LINENO: result: yes" >&5
! 2395: echo "${ECHO_T}yes" >&6
! 2396:
! 2397: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2398: ac_clean_files=$ac_clean_files_save
! 2399: # Check the compiler produces executables we can run. If not, either
! 2400: # the compiler is broken, or we cross compile.
! 2401: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2402: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 2403: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2404: echo "${ECHO_T}$cross_compiling" >&6
! 2405:
! 2406: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2407: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 2408: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2409: (eval $ac_link) 2>&5
! 2410: ac_status=$?
! 2411: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2412: (exit $ac_status); }; then
! 2413: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2414: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2415: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2416: # `rm'.
! 2417: for ac_file in conftest.exe conftest conftest.*; do
! 2418: test -f "$ac_file" || continue
! 2419: case $ac_file in
! 2420: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
! 2421: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2422: export ac_cv_exeext
! 2423: break;;
! 2424: * ) break;;
! 2425: esac
! 2426: done
! 2427: else
! 2428: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2429: See \`config.log' for more details." >&5
! 2430: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2431: See \`config.log' for more details." >&2;}
! 2432: { (exit 1); exit 1; }; }
! 2433: fi
! 2434:
! 2435: rm -f conftest$ac_cv_exeext
! 2436: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2437: echo "${ECHO_T}$ac_cv_exeext" >&6
! 2438:
! 2439: rm -f conftest.$ac_ext
! 2440: EXEEXT=$ac_cv_exeext
! 2441: ac_exeext=$EXEEXT
! 2442: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2443: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 2444: if test "${ac_cv_objext+set}" = set; then
! 2445: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2446: else
! 2447: cat >conftest.$ac_ext <<_ACEOF
! 2448: /* confdefs.h. */
! 2449: _ACEOF
! 2450: cat confdefs.h >>conftest.$ac_ext
! 2451: cat >>conftest.$ac_ext <<_ACEOF
! 2452: /* end confdefs.h. */
! 2453:
! 2454: int
! 2455: main ()
! 2456: {
! 2457:
! 2458: ;
! 2459: return 0;
! 2460: }
! 2461: _ACEOF
! 2462: rm -f conftest.o conftest.obj
! 2463: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2464: (eval $ac_compile) 2>&5
! 2465: ac_status=$?
! 2466: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2467: (exit $ac_status); }; then
! 2468: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 2469: case $ac_file in
! 2470: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! 2471: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2472: break;;
! 2473: esac
! 2474: done
! 2475: else
! 2476: echo "$as_me: failed program was:" >&5
! 2477: sed 's/^/| /' conftest.$ac_ext >&5
! 2478:
! 2479: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2480: See \`config.log' for more details." >&5
! 2481: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2482: See \`config.log' for more details." >&2;}
! 2483: { (exit 1); exit 1; }; }
! 2484: fi
! 2485:
! 2486: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2487: fi
! 2488: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2489: echo "${ECHO_T}$ac_cv_objext" >&6
! 2490: OBJEXT=$ac_cv_objext
! 2491: ac_objext=$OBJEXT
! 2492: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2493: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 2494: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2495: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2496: else
! 2497: cat >conftest.$ac_ext <<_ACEOF
! 2498: /* confdefs.h. */
! 2499: _ACEOF
! 2500: cat confdefs.h >>conftest.$ac_ext
! 2501: cat >>conftest.$ac_ext <<_ACEOF
! 2502: /* end confdefs.h. */
! 2503:
! 2504: int
! 2505: main ()
! 2506: {
! 2507: #ifndef __GNUC__
! 2508: choke me
! 2509: #endif
! 2510:
! 2511: ;
! 2512: return 0;
! 2513: }
! 2514: _ACEOF
! 2515: rm -f conftest.$ac_objext
! 2516: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2517: (eval $ac_compile) 2>conftest.er1
! 2518: ac_status=$?
! 2519: grep -v '^ *+' conftest.er1 >conftest.err
! 2520: rm -f conftest.er1
! 2521: cat conftest.err >&5
! 2522: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2523: (exit $ac_status); } &&
! 2524: { ac_try='test -z "$ac_c_werror_flag"
! 2525: || test ! -s conftest.err'
! 2526: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2527: (eval $ac_try) 2>&5
! 2528: ac_status=$?
! 2529: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2530: (exit $ac_status); }; } &&
! 2531: { ac_try='test -s conftest.$ac_objext'
! 2532: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2533: (eval $ac_try) 2>&5
! 2534: ac_status=$?
! 2535: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2536: (exit $ac_status); }; }; then
! 2537: ac_compiler_gnu=yes
! 2538: else
! 2539: echo "$as_me: failed program was:" >&5
! 2540: sed 's/^/| /' conftest.$ac_ext >&5
! 2541:
! 2542: ac_compiler_gnu=no
! 2543: fi
! 2544: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2545: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2546:
! 2547: fi
! 2548: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2549: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 2550: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2551: ac_test_CFLAGS=${CFLAGS+set}
! 2552: ac_save_CFLAGS=$CFLAGS
! 2553: CFLAGS="-g"
! 2554: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2555: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 2556: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2557: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2558: else
! 2559: cat >conftest.$ac_ext <<_ACEOF
! 2560: /* confdefs.h. */
! 2561: _ACEOF
! 2562: cat confdefs.h >>conftest.$ac_ext
! 2563: cat >>conftest.$ac_ext <<_ACEOF
! 2564: /* end confdefs.h. */
! 2565:
! 2566: int
! 2567: main ()
! 2568: {
! 2569:
! 2570: ;
! 2571: return 0;
! 2572: }
! 2573: _ACEOF
! 2574: rm -f conftest.$ac_objext
! 2575: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2576: (eval $ac_compile) 2>conftest.er1
! 2577: ac_status=$?
! 2578: grep -v '^ *+' conftest.er1 >conftest.err
! 2579: rm -f conftest.er1
! 2580: cat conftest.err >&5
! 2581: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2582: (exit $ac_status); } &&
! 2583: { ac_try='test -z "$ac_c_werror_flag"
! 2584: || test ! -s conftest.err'
! 2585: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2586: (eval $ac_try) 2>&5
! 2587: ac_status=$?
! 2588: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2589: (exit $ac_status); }; } &&
! 2590: { ac_try='test -s conftest.$ac_objext'
! 2591: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2592: (eval $ac_try) 2>&5
! 2593: ac_status=$?
! 2594: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2595: (exit $ac_status); }; }; then
! 2596: ac_cv_prog_cc_g=yes
! 2597: else
! 2598: echo "$as_me: failed program was:" >&5
! 2599: sed 's/^/| /' conftest.$ac_ext >&5
! 2600:
! 2601: ac_cv_prog_cc_g=no
! 2602: fi
! 2603: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2604: fi
! 2605: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2606: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
! 2607: if test "$ac_test_CFLAGS" = set; then
! 2608: CFLAGS=$ac_save_CFLAGS
! 2609: elif test $ac_cv_prog_cc_g = yes; then
! 2610: if test "$GCC" = yes; then
! 2611: CFLAGS="-g -O2"
! 2612: else
! 2613: CFLAGS="-g"
! 2614: fi
! 2615: else
! 2616: if test "$GCC" = yes; then
! 2617: CFLAGS="-O2"
! 2618: else
! 2619: CFLAGS=
! 2620: fi
! 2621: fi
! 2622: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 2623: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 2624: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 2625: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2626: else
! 2627: ac_cv_prog_cc_stdc=no
! 2628: ac_save_CC=$CC
! 2629: cat >conftest.$ac_ext <<_ACEOF
! 2630: /* confdefs.h. */
! 2631: _ACEOF
! 2632: cat confdefs.h >>conftest.$ac_ext
! 2633: cat >>conftest.$ac_ext <<_ACEOF
! 2634: /* end confdefs.h. */
! 2635: #include <stdarg.h>
! 2636: #include <stdio.h>
! 2637: #include <sys/types.h>
! 2638: #include <sys/stat.h>
! 2639: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2640: struct buf { int x; };
! 2641: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2642: static char *e (p, i)
! 2643: char **p;
! 2644: int i;
! 2645: {
! 2646: return p[i];
! 2647: }
! 2648: static char *f (char * (*g) (char **, int), char **p, ...)
! 2649: {
! 2650: char *s;
! 2651: va_list v;
! 2652: va_start (v,p);
! 2653: s = g (p, va_arg (v,int));
! 2654: va_end (v);
! 2655: return s;
! 2656: }
! 2657:
! 2658: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2659: function prototypes and stuff, but not '\xHH' hex character constants.
! 2660: These don't provoke an error unfortunately, instead are silently treated
! 2661: as 'x'. The following induces an error, until -std1 is added to get
! 2662: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2663: array size at least. It's necessary to write '\x00'==0 to get something
! 2664: that's true only with -std1. */
! 2665: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2666:
! 2667: int test (int i, double x);
! 2668: struct s1 {int (*f) (int a);};
! 2669: struct s2 {int (*f) (double a);};
! 2670: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2671: int argc;
! 2672: char **argv;
! 2673: int
! 2674: main ()
! 2675: {
! 2676: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2677: ;
! 2678: return 0;
! 2679: }
! 2680: _ACEOF
! 2681: # Don't try gcc -ansi; that turns off useful extensions and
! 2682: # breaks some systems' header files.
! 2683: # AIX -qlanglvl=ansi
! 2684: # Ultrix and OSF/1 -std1
! 2685: # HP-UX 10.20 and later -Ae
! 2686: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 2687: # SVR4 -Xc -D__EXTENSIONS__
! 2688: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2689: do
! 2690: CC="$ac_save_CC $ac_arg"
! 2691: rm -f conftest.$ac_objext
! 2692: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2693: (eval $ac_compile) 2>conftest.er1
! 2694: ac_status=$?
! 2695: grep -v '^ *+' conftest.er1 >conftest.err
! 2696: rm -f conftest.er1
! 2697: cat conftest.err >&5
! 2698: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2699: (exit $ac_status); } &&
! 2700: { ac_try='test -z "$ac_c_werror_flag"
! 2701: || test ! -s conftest.err'
! 2702: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2703: (eval $ac_try) 2>&5
! 2704: ac_status=$?
! 2705: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2706: (exit $ac_status); }; } &&
! 2707: { ac_try='test -s conftest.$ac_objext'
! 2708: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2709: (eval $ac_try) 2>&5
! 2710: ac_status=$?
! 2711: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2712: (exit $ac_status); }; }; then
! 2713: ac_cv_prog_cc_stdc=$ac_arg
! 2714: break
! 2715: else
! 2716: echo "$as_me: failed program was:" >&5
! 2717: sed 's/^/| /' conftest.$ac_ext >&5
! 2718:
! 2719: fi
! 2720: rm -f conftest.err conftest.$ac_objext
! 2721: done
! 2722: rm -f conftest.$ac_ext conftest.$ac_objext
! 2723: CC=$ac_save_CC
! 2724:
! 2725: fi
! 2726:
! 2727: case "x$ac_cv_prog_cc_stdc" in
! 2728: x|xno)
! 2729: echo "$as_me:$LINENO: result: none needed" >&5
! 2730: echo "${ECHO_T}none needed" >&6 ;;
! 2731: *)
! 2732: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 2733: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 2734: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 2735: esac
! 2736:
! 2737: # Some people use a C++ compiler to compile C. Since we use `exit',
! 2738: # in C++ we need to declare it. In case someone uses the same compiler
! 2739: # for both compiling C and C++ we need to have the C++ compiler decide
! 2740: # the declaration of exit, since it's the most demanding environment.
! 2741: cat >conftest.$ac_ext <<_ACEOF
! 2742: #ifndef __cplusplus
! 2743: choke me
! 2744: #endif
! 2745: _ACEOF
! 2746: rm -f conftest.$ac_objext
! 2747: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2748: (eval $ac_compile) 2>conftest.er1
! 2749: ac_status=$?
! 2750: grep -v '^ *+' conftest.er1 >conftest.err
! 2751: rm -f conftest.er1
! 2752: cat conftest.err >&5
! 2753: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2754: (exit $ac_status); } &&
! 2755: { ac_try='test -z "$ac_c_werror_flag"
! 2756: || test ! -s conftest.err'
! 2757: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2758: (eval $ac_try) 2>&5
! 2759: ac_status=$?
! 2760: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2761: (exit $ac_status); }; } &&
! 2762: { ac_try='test -s conftest.$ac_objext'
! 2763: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2764: (eval $ac_try) 2>&5
! 2765: ac_status=$?
! 2766: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2767: (exit $ac_status); }; }; then
! 2768: for ac_declaration in \
! 2769: '' \
! 2770: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2771: 'extern "C" void std::exit (int); using std::exit;' \
! 2772: 'extern "C" void exit (int) throw ();' \
! 2773: 'extern "C" void exit (int);' \
! 2774: 'void exit (int);'
! 2775: do
! 2776: cat >conftest.$ac_ext <<_ACEOF
! 2777: /* confdefs.h. */
! 2778: _ACEOF
! 2779: cat confdefs.h >>conftest.$ac_ext
! 2780: cat >>conftest.$ac_ext <<_ACEOF
! 2781: /* end confdefs.h. */
! 2782: $ac_declaration
! 2783: #include <stdlib.h>
! 2784: int
! 2785: main ()
! 2786: {
! 2787: exit (42);
! 2788: ;
! 2789: return 0;
! 2790: }
! 2791: _ACEOF
! 2792: rm -f conftest.$ac_objext
! 2793: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2794: (eval $ac_compile) 2>conftest.er1
! 2795: ac_status=$?
! 2796: grep -v '^ *+' conftest.er1 >conftest.err
! 2797: rm -f conftest.er1
! 2798: cat conftest.err >&5
! 2799: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2800: (exit $ac_status); } &&
! 2801: { ac_try='test -z "$ac_c_werror_flag"
! 2802: || test ! -s conftest.err'
! 2803: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2804: (eval $ac_try) 2>&5
! 2805: ac_status=$?
! 2806: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2807: (exit $ac_status); }; } &&
! 2808: { ac_try='test -s conftest.$ac_objext'
! 2809: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2810: (eval $ac_try) 2>&5
! 2811: ac_status=$?
! 2812: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2813: (exit $ac_status); }; }; then
! 2814: :
! 2815: else
! 2816: echo "$as_me: failed program was:" >&5
! 2817: sed 's/^/| /' conftest.$ac_ext >&5
! 2818:
! 2819: continue
! 2820: fi
! 2821: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2822: cat >conftest.$ac_ext <<_ACEOF
! 2823: /* confdefs.h. */
! 2824: _ACEOF
! 2825: cat confdefs.h >>conftest.$ac_ext
! 2826: cat >>conftest.$ac_ext <<_ACEOF
! 2827: /* end confdefs.h. */
! 2828: $ac_declaration
! 2829: int
! 2830: main ()
! 2831: {
! 2832: exit (42);
! 2833: ;
! 2834: return 0;
! 2835: }
! 2836: _ACEOF
! 2837: rm -f conftest.$ac_objext
! 2838: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2839: (eval $ac_compile) 2>conftest.er1
! 2840: ac_status=$?
! 2841: grep -v '^ *+' conftest.er1 >conftest.err
! 2842: rm -f conftest.er1
! 2843: cat conftest.err >&5
! 2844: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2845: (exit $ac_status); } &&
! 2846: { ac_try='test -z "$ac_c_werror_flag"
! 2847: || test ! -s conftest.err'
! 2848: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2849: (eval $ac_try) 2>&5
! 2850: ac_status=$?
! 2851: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2852: (exit $ac_status); }; } &&
! 2853: { ac_try='test -s conftest.$ac_objext'
! 2854: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2855: (eval $ac_try) 2>&5
! 2856: ac_status=$?
! 2857: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2858: (exit $ac_status); }; }; then
! 2859: break
! 2860: else
! 2861: echo "$as_me: failed program was:" >&5
! 2862: sed 's/^/| /' conftest.$ac_ext >&5
! 2863:
! 2864: fi
! 2865: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2866: done
! 2867: rm -f conftest*
! 2868: if test -n "$ac_declaration"; then
! 2869: echo '#ifdef __cplusplus' >>confdefs.h
! 2870: echo $ac_declaration >>confdefs.h
! 2871: echo '#endif' >>confdefs.h
! 2872: fi
! 2873:
! 2874: else
! 2875: echo "$as_me: failed program was:" >&5
! 2876: sed 's/^/| /' conftest.$ac_ext >&5
! 2877:
! 2878: fi
! 2879: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2880: ac_ext=c
! 2881: ac_cpp='$CPP $CPPFLAGS'
! 2882: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2883: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2884: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2885: DEPDIR="${am__leading_dot}deps"
! 2886:
! 2887: ac_config_commands="$ac_config_commands depfiles"
! 2888:
! 2889:
! 2890: am_make=${MAKE-make}
! 2891: cat > confinc << 'END'
! 2892: am__doit:
! 2893: @echo done
! 2894: .PHONY: am__doit
! 2895: END
! 2896: # If we don't find an include directive, just comment out the code.
! 2897: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 2898: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! 2899: am__include="#"
! 2900: am__quote=
! 2901: _am_result=none
! 2902: # First try GNU make style include.
! 2903: echo "include confinc" > confmf
! 2904: # We grep out `Entering directory' and `Leaving directory'
! 2905: # messages which can occur if `w' ends up in MAKEFLAGS.
! 2906: # In particular we don't look at `^make:' because GNU make might
! 2907: # be invoked under some other name (usually "gmake"), in which
! 2908: # case it prints its new name instead of `make'.
! 2909: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 2910: am__include=include
! 2911: am__quote=
! 2912: _am_result=GNU
! 2913: fi
! 2914: # Now try BSD make style include.
! 2915: if test "$am__include" = "#"; then
! 2916: echo '.include "confinc"' > confmf
! 2917: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 2918: am__include=.include
! 2919: am__quote="\""
! 2920: _am_result=BSD
! 2921: fi
! 2922: fi
! 2923:
! 2924:
! 2925: echo "$as_me:$LINENO: result: $_am_result" >&5
! 2926: echo "${ECHO_T}$_am_result" >&6
! 2927: rm -f confinc confmf
! 2928:
! 2929: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
! 2930: if test "${enable_dependency_tracking+set}" = set; then
! 2931: enableval="$enable_dependency_tracking"
! 2932:
! 2933: fi;
! 2934: if test "x$enable_dependency_tracking" != xno; then
! 2935: am_depcomp="$ac_aux_dir/depcomp"
! 2936: AMDEPBACKSLASH='\'
! 2937: fi
! 2938:
! 2939:
! 2940: if test "x$enable_dependency_tracking" != xno; then
! 2941: AMDEP_TRUE=
! 2942: AMDEP_FALSE='#'
! 2943: else
! 2944: AMDEP_TRUE='#'
! 2945: AMDEP_FALSE=
! 2946: fi
! 2947:
! 2948:
! 2949:
! 2950:
! 2951: depcc="$CC" am_compiler_list=
! 2952:
! 2953: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 2954: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 2955: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 2956: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2957: else
! 2958: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 2959: # We make a subdir and do the tests there. Otherwise we can end up
! 2960: # making bogus files that we don't know about and never remove. For
! 2961: # instance it was reported that on HP-UX the gcc test will end up
! 2962: # making a dummy file named `D' -- because `-MD' means `put the output
! 2963: # in D'.
! 2964: mkdir conftest.dir
! 2965: # Copy depcomp to subdir because otherwise we won't find it if we're
! 2966: # using a relative directory.
! 2967: cp "$am_depcomp" conftest.dir
! 2968: cd conftest.dir
! 2969: # We will build objects and dependencies in a subdirectory because
! 2970: # it helps to detect inapplicable dependency modes. For instance
! 2971: # both Tru64's cc and ICC support -MD to output dependencies as a
! 2972: # side effect of compilation, but ICC will put the dependencies in
! 2973: # the current directory while Tru64 will put them in the object
! 2974: # directory.
! 2975: mkdir sub
! 2976:
! 2977: am_cv_CC_dependencies_compiler_type=none
! 2978: if test "$am_compiler_list" = ""; then
! 2979: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 2980: fi
! 2981: for depmode in $am_compiler_list; do
! 2982: # Setup a source with many dependencies, because some compilers
! 2983: # like to wrap large dependency lists on column 80 (with \), and
! 2984: # we should not choose a depcomp mode which is confused by this.
! 2985: #
! 2986: # We need to recreate these files for each test, as the compiler may
! 2987: # overwrite some of them when testing with obscure command lines.
! 2988: # This happens at least with the AIX C compiler.
! 2989: : > sub/conftest.c
! 2990: for i in 1 2 3 4 5 6; do
! 2991: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 2992: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 2993: # Solaris 8's {/usr,}/bin/sh.
! 2994: touch sub/conftst$i.h
! 2995: done
! 2996: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 2997:
! 2998: case $depmode in
! 2999: nosideeffect)
! 3000: # after this tag, mechanisms are not by side-effect, so they'll
! 3001: # only be used when explicitly requested
! 3002: if test "x$enable_dependency_tracking" = xyes; then
! 3003: continue
! 3004: else
! 3005: break
! 3006: fi
! 3007: ;;
! 3008: none) break ;;
! 3009: esac
! 3010: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 3011: # mode. It turns out that the SunPro C++ compiler does not properly
! 3012: # handle `-M -o', and we need to detect this.
! 3013: if depmode=$depmode \
! 3014: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 3015: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 3016: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 3017: >/dev/null 2>conftest.err &&
! 3018: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 3019: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 3020: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 3021: # icc doesn't choke on unknown options, it will just issue warnings
! 3022: # or remarks (even with -Werror). So we grep stderr for any message
! 3023: # that says an option was ignored or not supported.
! 3024: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 3025: # icc: Command line warning: ignoring option '-M'; no argument required
! 3026: # The diagnosis changed in icc 8.0:
! 3027: # icc: Command line remark: option '-MP' not supported
! 3028: if (grep 'ignoring option' conftest.err ||
! 3029: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 3030: am_cv_CC_dependencies_compiler_type=$depmode
! 3031: break
! 3032: fi
! 3033: fi
! 3034: done
! 3035:
! 3036: cd ..
! 3037: rm -rf conftest.dir
! 3038: else
! 3039: am_cv_CC_dependencies_compiler_type=none
! 3040: fi
! 3041:
! 3042: fi
! 3043: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3044: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
! 3045: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 3046:
! 3047:
! 3048:
! 3049: if
! 3050: test "x$enable_dependency_tracking" != xno \
! 3051: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 3052: am__fastdepCC_TRUE=
! 3053: am__fastdepCC_FALSE='#'
! 3054: else
! 3055: am__fastdepCC_TRUE='#'
! 3056: am__fastdepCC_FALSE=
! 3057: fi
! 3058:
! 3059:
! 3060:
! 3061: #JJAKO Check for libtool
! 3062: # Check whether --enable-shared or --disable-shared was given.
! 3063: if test "${enable_shared+set}" = set; then
! 3064: enableval="$enable_shared"
! 3065: p=${PACKAGE-default}
! 3066: case $enableval in
! 3067: yes) enable_shared=yes ;;
! 3068: no) enable_shared=no ;;
! 3069: *)
! 3070: enable_shared=no
! 3071: # Look at the argument we got. We use all the common list separators.
! 3072: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3073: for pkg in $enableval; do
! 3074: IFS="$lt_save_ifs"
! 3075: if test "X$pkg" = "X$p"; then
! 3076: enable_shared=yes
! 3077: fi
! 3078: done
! 3079: IFS="$lt_save_ifs"
! 3080: ;;
! 3081: esac
! 3082: else
! 3083: enable_shared=yes
! 3084: fi;
! 3085:
! 3086: # Check whether --enable-static or --disable-static was given.
! 3087: if test "${enable_static+set}" = set; then
! 3088: enableval="$enable_static"
! 3089: p=${PACKAGE-default}
! 3090: case $enableval in
! 3091: yes) enable_static=yes ;;
! 3092: no) enable_static=no ;;
! 3093: *)
! 3094: enable_static=no
! 3095: # Look at the argument we got. We use all the common list separators.
! 3096: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3097: for pkg in $enableval; do
! 3098: IFS="$lt_save_ifs"
! 3099: if test "X$pkg" = "X$p"; then
! 3100: enable_static=yes
! 3101: fi
! 3102: done
! 3103: IFS="$lt_save_ifs"
! 3104: ;;
! 3105: esac
! 3106: else
! 3107: enable_static=yes
! 3108: fi;
! 3109:
! 3110: # Check whether --enable-fast-install or --disable-fast-install was given.
! 3111: if test "${enable_fast_install+set}" = set; then
! 3112: enableval="$enable_fast_install"
! 3113: p=${PACKAGE-default}
! 3114: case $enableval in
! 3115: yes) enable_fast_install=yes ;;
! 3116: no) enable_fast_install=no ;;
! 3117: *)
! 3118: enable_fast_install=no
! 3119: # Look at the argument we got. We use all the common list separators.
! 3120: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 3121: for pkg in $enableval; do
! 3122: IFS="$lt_save_ifs"
! 3123: if test "X$pkg" = "X$p"; then
! 3124: enable_fast_install=yes
! 3125: fi
! 3126: done
! 3127: IFS="$lt_save_ifs"
! 3128: ;;
! 3129: esac
! 3130: else
! 3131: enable_fast_install=yes
! 3132: fi;
! 3133:
! 3134: # Make sure we can run config.sub.
! 3135: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 3136: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! 3137: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 3138: { (exit 1); exit 1; }; }
! 3139:
! 3140: echo "$as_me:$LINENO: checking build system type" >&5
! 3141: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 3142: if test "${ac_cv_build+set}" = set; then
! 3143: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3144: else
! 3145: ac_cv_build_alias=$build_alias
! 3146: test -z "$ac_cv_build_alias" &&
! 3147: ac_cv_build_alias=`$ac_config_guess`
! 3148: test -z "$ac_cv_build_alias" &&
! 3149: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 3150: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 3151: { (exit 1); exit 1; }; }
! 3152: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 3153: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
! 3154: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! 3155: { (exit 1); exit 1; }; }
! 3156:
! 3157: fi
! 3158: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 3159: echo "${ECHO_T}$ac_cv_build" >&6
! 3160: build=$ac_cv_build
! 3161: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3162: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3163: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3164:
! 3165:
! 3166: echo "$as_me:$LINENO: checking host system type" >&5
! 3167: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 3168: if test "${ac_cv_host+set}" = set; then
! 3169: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3170: else
! 3171: ac_cv_host_alias=$host_alias
! 3172: test -z "$ac_cv_host_alias" &&
! 3173: ac_cv_host_alias=$ac_cv_build_alias
! 3174: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 3175: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 3176: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 3177: { (exit 1); exit 1; }; }
! 3178:
! 3179: fi
! 3180: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3181: echo "${ECHO_T}$ac_cv_host" >&6
! 3182: host=$ac_cv_host
! 3183: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3184: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3185: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3186:
! 3187:
! 3188: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3189: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3190: if test "${lt_cv_path_SED+set}" = set; then
! 3191: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3192: else
! 3193: # Loop through the user's path and test for sed and gsed.
! 3194: # Then use that list of sed's as ones to test for truncation.
! 3195: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3196: for as_dir in $PATH
! 3197: do
! 3198: IFS=$as_save_IFS
! 3199: test -z "$as_dir" && as_dir=.
! 3200: for lt_ac_prog in sed gsed; do
! 3201: for ac_exec_ext in '' $ac_executable_extensions; do
! 3202: if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
! 3203: lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
! 3204: fi
! 3205: done
! 3206: done
! 3207: done
! 3208: lt_ac_max=0
! 3209: lt_ac_count=0
! 3210: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3211: # along with /bin/sed that truncates output.
! 3212: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
! 3213: test ! -f $lt_ac_sed && continue
! 3214: cat /dev/null > conftest.in
! 3215: lt_ac_count=0
! 3216: echo $ECHO_N "0123456789$ECHO_C" >conftest.in
! 3217: # Check for GNU sed and select it if it is found.
! 3218: if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
! 3219: lt_cv_path_SED=$lt_ac_sed
! 3220: break
! 3221: fi
! 3222: while true; do
! 3223: cat conftest.in conftest.in >conftest.tmp
! 3224: mv conftest.tmp conftest.in
! 3225: cp conftest.in conftest.nl
! 3226: echo >>conftest.nl
! 3227: $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
! 3228: cmp -s conftest.out conftest.nl || break
! 3229: # 10000 chars as input seems more than enough
! 3230: test $lt_ac_count -gt 10 && break
! 3231: lt_ac_count=`expr $lt_ac_count + 1`
! 3232: if test $lt_ac_count -gt $lt_ac_max; then
! 3233: lt_ac_max=$lt_ac_count
! 3234: lt_cv_path_SED=$lt_ac_sed
! 3235: fi
! 3236: done
! 3237: done
! 3238:
! 3239: fi
! 3240:
! 3241: SED=$lt_cv_path_SED
! 3242: echo "$as_me:$LINENO: result: $SED" >&5
! 3243: echo "${ECHO_T}$SED" >&6
! 3244:
! 3245: echo "$as_me:$LINENO: checking for egrep" >&5
! 3246: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 3247: if test "${ac_cv_prog_egrep+set}" = set; then
! 3248: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3249: else
! 3250: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 3251: then ac_cv_prog_egrep='grep -E'
! 3252: else ac_cv_prog_egrep='egrep'
! 3253: fi
! 3254: fi
! 3255: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 3256: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 3257: EGREP=$ac_cv_prog_egrep
! 3258:
! 3259:
! 3260:
! 3261: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 3262: if test "${with_gnu_ld+set}" = set; then
! 3263: withval="$with_gnu_ld"
! 3264: test "$withval" = no || with_gnu_ld=yes
! 3265: else
! 3266: with_gnu_ld=no
! 3267: fi;
! 3268: ac_prog=ld
! 3269: if test "$GCC" = yes; then
! 3270: # Check if gcc -print-prog-name=ld gives a path.
! 3271: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 3272: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 3273: case $host in
! 3274: *-*-mingw*)
! 3275: # gcc leaves a trailing carriage return which upsets mingw
! 3276: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 3277: *)
! 3278: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 3279: esac
! 3280: case $ac_prog in
! 3281: # Accept absolute paths.
! 3282: [\\/]* | ?:[\\/]*)
! 3283: re_direlt='/[^/][^/]*/\.\./'
! 3284: # Canonicalize the pathname of ld
! 3285: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 3286: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 3287: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 3288: done
! 3289: test -z "$LD" && LD="$ac_prog"
! 3290: ;;
! 3291: "")
! 3292: # If it fails, then pretend we aren't using GCC.
! 3293: ac_prog=ld
! 3294: ;;
! 3295: *)
! 3296: # If it is relative, then search for the first ld in PATH.
! 3297: with_gnu_ld=unknown
! 3298: ;;
! 3299: esac
! 3300: elif test "$with_gnu_ld" = yes; then
! 3301: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 3302: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 3303: else
! 3304: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 3305: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 3306: fi
! 3307: if test "${lt_cv_path_LD+set}" = set; then
! 3308: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3309: else
! 3310: if test -z "$LD"; then
! 3311: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3312: for ac_dir in $PATH; do
! 3313: IFS="$lt_save_ifs"
! 3314: test -z "$ac_dir" && ac_dir=.
! 3315: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 3316: lt_cv_path_LD="$ac_dir/$ac_prog"
! 3317: # Check to see if the program is GNU ld. I'd rather use --version,
! 3318: # but apparently some variants of GNU ld only accept -v.
! 3319: # Break only if it was the GNU/non-GNU ld that we prefer.
! 3320: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 3321: *GNU* | *'with BFD'*)
! 3322: test "$with_gnu_ld" != no && break
! 3323: ;;
! 3324: *)
! 3325: test "$with_gnu_ld" != yes && break
! 3326: ;;
! 3327: esac
! 3328: fi
! 3329: done
! 3330: IFS="$lt_save_ifs"
! 3331: else
! 3332: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 3333: fi
! 3334: fi
! 3335:
! 3336: LD="$lt_cv_path_LD"
! 3337: if test -n "$LD"; then
! 3338: echo "$as_me:$LINENO: result: $LD" >&5
! 3339: echo "${ECHO_T}$LD" >&6
! 3340: else
! 3341: echo "$as_me:$LINENO: result: no" >&5
! 3342: echo "${ECHO_T}no" >&6
! 3343: fi
! 3344: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 3345: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 3346: { (exit 1); exit 1; }; }
! 3347: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 3348: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 3349: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 3350: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3351: else
! 3352: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 3353: case `$LD -v 2>&1 </dev/null` in
! 3354: *GNU* | *'with BFD'*)
! 3355: lt_cv_prog_gnu_ld=yes
! 3356: ;;
! 3357: *)
! 3358: lt_cv_prog_gnu_ld=no
! 3359: ;;
! 3360: esac
! 3361: fi
! 3362: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 3363: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 3364: with_gnu_ld=$lt_cv_prog_gnu_ld
! 3365:
! 3366:
! 3367: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 3368: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 3369: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 3370: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3371: else
! 3372: lt_cv_ld_reload_flag='-r'
! 3373: fi
! 3374: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 3375: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 3376: reload_flag=$lt_cv_ld_reload_flag
! 3377: case $reload_flag in
! 3378: "" | " "*) ;;
! 3379: *) reload_flag=" $reload_flag" ;;
! 3380: esac
! 3381: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 3382: case $host_os in
! 3383: darwin*)
! 3384: if test "$GCC" = yes; then
! 3385: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 3386: else
! 3387: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 3388: fi
! 3389: ;;
! 3390: esac
! 3391:
! 3392: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 3393: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! 3394: if test "${lt_cv_path_NM+set}" = set; then
! 3395: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3396: else
! 3397: if test -n "$NM"; then
! 3398: # Let the user override the test.
! 3399: lt_cv_path_NM="$NM"
! 3400: else
! 3401: lt_nm_to_check="${ac_tool_prefix}nm"
! 3402: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 3403: lt_nm_to_check="$lt_nm_to_check nm"
! 3404: fi
! 3405: for lt_tmp_nm in $lt_nm_to_check; do
! 3406: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3407: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 3408: IFS="$lt_save_ifs"
! 3409: test -z "$ac_dir" && ac_dir=.
! 3410: tmp_nm="$ac_dir/$lt_tmp_nm"
! 3411: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 3412: # Check to see if the nm accepts a BSD-compat flag.
! 3413: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3414: # nm: unknown option "B" ignored
! 3415: # Tru64's nm complains that /dev/null is an invalid object file
! 3416: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 3417: */dev/null* | *'Invalid file or object type'*)
! 3418: lt_cv_path_NM="$tmp_nm -B"
! 3419: break
! 3420: ;;
! 3421: *)
! 3422: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 3423: */dev/null*)
! 3424: lt_cv_path_NM="$tmp_nm -p"
! 3425: break
! 3426: ;;
! 3427: *)
! 3428: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3429: continue # so that we can try to find one that supports BSD flags
! 3430: ;;
! 3431: esac
! 3432: ;;
! 3433: esac
! 3434: fi
! 3435: done
! 3436: IFS="$lt_save_ifs"
! 3437: done
! 3438: test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
! 3439: fi
! 3440: fi
! 3441: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
! 3442: echo "${ECHO_T}$lt_cv_path_NM" >&6
! 3443: NM="$lt_cv_path_NM"
! 3444:
! 3445: echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 3446: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! 3447: LN_S=$as_ln_s
! 3448: if test "$LN_S" = "ln -s"; then
! 3449: echo "$as_me:$LINENO: result: yes" >&5
! 3450: echo "${ECHO_T}yes" >&6
! 3451: else
! 3452: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 3453: echo "${ECHO_T}no, using $LN_S" >&6
! 3454: fi
! 3455:
! 3456: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
! 3457: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
! 3458: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 3459: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3460: else
! 3461: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 3462: lt_cv_file_magic_test_file=
! 3463: lt_cv_deplibs_check_method='unknown'
! 3464: # Need to set the preceding variable on all platforms that support
! 3465: # interlibrary dependencies.
! 3466: # 'none' -- dependencies not supported.
! 3467: # `unknown' -- same as none, but documents that we really don't know.
! 3468: # 'pass_all' -- all dependencies passed with no checks.
! 3469: # 'test_compile' -- check by making test program.
! 3470: # 'file_magic [[regex]]' -- check by looking for files in library path
! 3471: # which responds to the $file_magic_cmd with a given extended regex.
! 3472: # If you have `file' or equivalent on your system and you're not sure
! 3473: # whether `pass_all' will *always* work, you probably want this one.
! 3474:
! 3475: case $host_os in
! 3476: aix4* | aix5*)
! 3477: lt_cv_deplibs_check_method=pass_all
! 3478: ;;
! 3479:
! 3480: beos*)
! 3481: lt_cv_deplibs_check_method=pass_all
! 3482: ;;
! 3483:
! 3484: bsdi[45]*)
! 3485: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 3486: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 3487: lt_cv_file_magic_test_file=/shlib/libc.so
! 3488: ;;
! 3489:
! 3490: cygwin*)
! 3491: # func_win32_libid is a shell function defined in ltmain.sh
! 3492: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 3493: lt_cv_file_magic_cmd='func_win32_libid'
! 3494: ;;
! 3495:
! 3496: mingw* | pw32*)
! 3497: # Base MSYS/MinGW do not provide the 'file' command needed by
! 3498: # func_win32_libid shell function, so use a weaker test based on 'objdump'.
! 3499: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 3500: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 3501: ;;
! 3502:
! 3503: darwin* | rhapsody*)
! 3504: lt_cv_deplibs_check_method=pass_all
! 3505: ;;
! 3506:
! 3507: freebsd* | kfreebsd*-gnu | dragonfly*)
! 3508: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 3509: case $host_cpu in
! 3510: i*86 )
! 3511: # Not sure whether the presence of OpenBSD here was a mistake.
! 3512: # Let's accept both of them until this is cleared up.
! 3513: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 3514: lt_cv_file_magic_cmd=/usr/bin/file
! 3515: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 3516: ;;
! 3517: esac
! 3518: else
! 3519: lt_cv_deplibs_check_method=pass_all
! 3520: fi
! 3521: ;;
! 3522:
! 3523: gnu*)
! 3524: lt_cv_deplibs_check_method=pass_all
! 3525: ;;
! 3526:
! 3527: hpux10.20* | hpux11*)
! 3528: lt_cv_file_magic_cmd=/usr/bin/file
! 3529: case $host_cpu in
! 3530: ia64*)
! 3531: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 3532: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 3533: ;;
! 3534: hppa*64*)
! 3535: 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]'
! 3536: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 3537: ;;
! 3538: *)
! 3539: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 3540: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 3541: ;;
! 3542: esac
! 3543: ;;
! 3544:
! 3545: interix3*)
! 3546: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 3547: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 3548: ;;
! 3549:
! 3550: irix5* | irix6* | nonstopux*)
! 3551: case $LD in
! 3552: *-32|*"-32 ") libmagic=32-bit;;
! 3553: *-n32|*"-n32 ") libmagic=N32;;
! 3554: *-64|*"-64 ") libmagic=64-bit;;
! 3555: *) libmagic=never-match;;
! 3556: esac
! 3557: lt_cv_deplibs_check_method=pass_all
! 3558: ;;
! 3559:
! 3560: # This must be Linux ELF.
! 3561: linux*)
! 3562: lt_cv_deplibs_check_method=pass_all
! 3563: ;;
! 3564:
! 3565: netbsd*)
! 3566: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 3567: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 3568: else
! 3569: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 3570: fi
! 3571: ;;
! 3572:
! 3573: newos6*)
! 3574: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 3575: lt_cv_file_magic_cmd=/usr/bin/file
! 3576: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 3577: ;;
! 3578:
! 3579: nto-qnx*)
! 3580: lt_cv_deplibs_check_method=unknown
! 3581: ;;
! 3582:
! 3583: openbsd*)
! 3584: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 3585: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 3586: else
! 3587: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 3588: fi
! 3589: ;;
! 3590:
! 3591: osf3* | osf4* | osf5*)
! 3592: lt_cv_deplibs_check_method=pass_all
! 3593: ;;
! 3594:
! 3595: solaris*)
! 3596: lt_cv_deplibs_check_method=pass_all
! 3597: ;;
! 3598:
! 3599: sysv4 | sysv4.3*)
! 3600: case $host_vendor in
! 3601: motorola)
! 3602: 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]'
! 3603: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 3604: ;;
! 3605: ncr)
! 3606: lt_cv_deplibs_check_method=pass_all
! 3607: ;;
! 3608: sequent)
! 3609: lt_cv_file_magic_cmd='/bin/file'
! 3610: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 3611: ;;
! 3612: sni)
! 3613: lt_cv_file_magic_cmd='/bin/file'
! 3614: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 3615: lt_cv_file_magic_test_file=/lib/libc.so
! 3616: ;;
! 3617: siemens)
! 3618: lt_cv_deplibs_check_method=pass_all
! 3619: ;;
! 3620: pc)
! 3621: lt_cv_deplibs_check_method=pass_all
! 3622: ;;
! 3623: esac
! 3624: ;;
! 3625:
! 3626: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 3627: lt_cv_deplibs_check_method=pass_all
! 3628: ;;
! 3629: esac
! 3630:
! 3631: fi
! 3632: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 3633: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
! 3634: file_magic_cmd=$lt_cv_file_magic_cmd
! 3635: deplibs_check_method=$lt_cv_deplibs_check_method
! 3636: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 3637:
! 3638:
! 3639:
! 3640:
! 3641: # If no C compiler was specified, use CC.
! 3642: LTCC=${LTCC-"$CC"}
! 3643:
! 3644: # If no C compiler flags were specified, use CFLAGS.
! 3645: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 3646:
! 3647: # Allow CC to be a program name with arguments.
! 3648: compiler=$CC
! 3649:
! 3650:
! 3651: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 3652: if test "${enable_libtool_lock+set}" = set; then
! 3653: enableval="$enable_libtool_lock"
! 3654:
! 3655: fi;
! 3656: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 3657:
! 3658: # Some flags need to be propagated to the compiler or linker for good
! 3659: # libtool support.
! 3660: case $host in
! 3661: ia64-*-hpux*)
! 3662: # Find out which ABI we are using.
! 3663: echo 'int i;' > conftest.$ac_ext
! 3664: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3665: (eval $ac_compile) 2>&5
! 3666: ac_status=$?
! 3667: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3668: (exit $ac_status); }; then
! 3669: case `/usr/bin/file conftest.$ac_objext` in
! 3670: *ELF-32*)
! 3671: HPUX_IA64_MODE="32"
! 3672: ;;
! 3673: *ELF-64*)
! 3674: HPUX_IA64_MODE="64"
! 3675: ;;
! 3676: esac
! 3677: fi
! 3678: rm -rf conftest*
! 3679: ;;
! 3680: *-*-irix6*)
! 3681: # Find out which ABI we are using.
! 3682: echo '#line 3682 "configure"' > conftest.$ac_ext
! 3683: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3684: (eval $ac_compile) 2>&5
! 3685: ac_status=$?
! 3686: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3687: (exit $ac_status); }; then
! 3688: if test "$lt_cv_prog_gnu_ld" = yes; then
! 3689: case `/usr/bin/file conftest.$ac_objext` in
! 3690: *32-bit*)
! 3691: LD="${LD-ld} -melf32bsmip"
! 3692: ;;
! 3693: *N32*)
! 3694: LD="${LD-ld} -melf32bmipn32"
! 3695: ;;
! 3696: *64-bit*)
! 3697: LD="${LD-ld} -melf64bmip"
! 3698: ;;
! 3699: esac
! 3700: else
! 3701: case `/usr/bin/file conftest.$ac_objext` in
! 3702: *32-bit*)
! 3703: LD="${LD-ld} -32"
! 3704: ;;
! 3705: *N32*)
! 3706: LD="${LD-ld} -n32"
! 3707: ;;
! 3708: *64-bit*)
! 3709: LD="${LD-ld} -64"
! 3710: ;;
! 3711: esac
! 3712: fi
! 3713: fi
! 3714: rm -rf conftest*
! 3715: ;;
! 3716:
! 3717: x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
! 3718: # Find out which ABI we are using.
! 3719: echo 'int i;' > conftest.$ac_ext
! 3720: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3721: (eval $ac_compile) 2>&5
! 3722: ac_status=$?
! 3723: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3724: (exit $ac_status); }; then
! 3725: case `/usr/bin/file conftest.o` in
! 3726: *32-bit*)
! 3727: case $host in
! 3728: x86_64-*linux*)
! 3729: LD="${LD-ld} -m elf_i386"
! 3730: ;;
! 3731: ppc64-*linux*|powerpc64-*linux*)
! 3732: LD="${LD-ld} -m elf32ppclinux"
! 3733: ;;
! 3734: s390x-*linux*)
! 3735: LD="${LD-ld} -m elf_s390"
! 3736: ;;
! 3737: sparc64-*linux*)
! 3738: LD="${LD-ld} -m elf32_sparc"
! 3739: ;;
! 3740: esac
! 3741: ;;
! 3742: *64-bit*)
! 3743: case $host in
! 3744: x86_64-*linux*)
! 3745: LD="${LD-ld} -m elf_x86_64"
! 3746: ;;
! 3747: ppc*-*linux*|powerpc*-*linux*)
! 3748: LD="${LD-ld} -m elf64ppc"
! 3749: ;;
! 3750: s390*-*linux*)
! 3751: LD="${LD-ld} -m elf64_s390"
! 3752: ;;
! 3753: sparc*-*linux*)
! 3754: LD="${LD-ld} -m elf64_sparc"
! 3755: ;;
! 3756: esac
! 3757: ;;
! 3758: esac
! 3759: fi
! 3760: rm -rf conftest*
! 3761: ;;
! 3762:
! 3763: *-*-sco3.2v5*)
! 3764: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 3765: SAVE_CFLAGS="$CFLAGS"
! 3766: CFLAGS="$CFLAGS -belf"
! 3767: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 3768: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 3769: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 3770: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3771: else
! 3772: ac_ext=c
! 3773: ac_cpp='$CPP $CPPFLAGS'
! 3774: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3775: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3776: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3777:
! 3778: cat >conftest.$ac_ext <<_ACEOF
! 3779: /* confdefs.h. */
! 3780: _ACEOF
! 3781: cat confdefs.h >>conftest.$ac_ext
! 3782: cat >>conftest.$ac_ext <<_ACEOF
! 3783: /* end confdefs.h. */
! 3784:
! 3785: int
! 3786: main ()
! 3787: {
! 3788:
! 3789: ;
! 3790: return 0;
! 3791: }
! 3792: _ACEOF
! 3793: rm -f conftest.$ac_objext conftest$ac_exeext
! 3794: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3795: (eval $ac_link) 2>conftest.er1
! 3796: ac_status=$?
! 3797: grep -v '^ *+' conftest.er1 >conftest.err
! 3798: rm -f conftest.er1
! 3799: cat conftest.err >&5
! 3800: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3801: (exit $ac_status); } &&
! 3802: { ac_try='test -z "$ac_c_werror_flag"
! 3803: || test ! -s conftest.err'
! 3804: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3805: (eval $ac_try) 2>&5
! 3806: ac_status=$?
! 3807: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3808: (exit $ac_status); }; } &&
! 3809: { ac_try='test -s conftest$ac_exeext'
! 3810: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3811: (eval $ac_try) 2>&5
! 3812: ac_status=$?
! 3813: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3814: (exit $ac_status); }; }; then
! 3815: lt_cv_cc_needs_belf=yes
! 3816: else
! 3817: echo "$as_me: failed program was:" >&5
! 3818: sed 's/^/| /' conftest.$ac_ext >&5
! 3819:
! 3820: lt_cv_cc_needs_belf=no
! 3821: fi
! 3822: rm -f conftest.err conftest.$ac_objext \
! 3823: conftest$ac_exeext conftest.$ac_ext
! 3824: ac_ext=c
! 3825: ac_cpp='$CPP $CPPFLAGS'
! 3826: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3827: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3828: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3829:
! 3830: fi
! 3831: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 3832: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 3833: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 3834: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 3835: CFLAGS="$SAVE_CFLAGS"
! 3836: fi
! 3837: ;;
! 3838: sparc*-*solaris*)
! 3839: # Find out which ABI we are using.
! 3840: echo 'int i;' > conftest.$ac_ext
! 3841: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3842: (eval $ac_compile) 2>&5
! 3843: ac_status=$?
! 3844: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3845: (exit $ac_status); }; then
! 3846: case `/usr/bin/file conftest.o` in
! 3847: *64-bit*)
! 3848: case $lt_cv_prog_gnu_ld in
! 3849: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 3850: *) LD="${LD-ld} -64" ;;
! 3851: esac
! 3852: ;;
! 3853: esac
! 3854: fi
! 3855: rm -rf conftest*
! 3856: ;;
! 3857:
! 3858:
! 3859: esac
! 3860:
! 3861: need_locks="$enable_libtool_lock"
! 3862:
! 3863:
! 3864: ac_ext=c
! 3865: ac_cpp='$CPP $CPPFLAGS'
! 3866: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3867: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3868: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3869: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3870: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 3871: # On Suns, sometimes $CPP names a directory.
! 3872: if test -n "$CPP" && test -d "$CPP"; then
! 3873: CPP=
! 3874: fi
! 3875: if test -z "$CPP"; then
! 3876: if test "${ac_cv_prog_CPP+set}" = set; then
! 3877: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3878: else
! 3879: # Double quotes because CPP needs to be expanded
! 3880: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3881: do
! 3882: ac_preproc_ok=false
! 3883: for ac_c_preproc_warn_flag in '' yes
! 3884: do
! 3885: # Use a header file that comes with gcc, so configuring glibc
! 3886: # with a fresh cross-compiler works.
! 3887: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3888: # <limits.h> exists even on freestanding compilers.
! 3889: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3890: # not just through cpp. "Syntax error" is here to catch this case.
! 3891: cat >conftest.$ac_ext <<_ACEOF
! 3892: /* confdefs.h. */
! 3893: _ACEOF
! 3894: cat confdefs.h >>conftest.$ac_ext
! 3895: cat >>conftest.$ac_ext <<_ACEOF
! 3896: /* end confdefs.h. */
! 3897: #ifdef __STDC__
! 3898: # include <limits.h>
! 3899: #else
! 3900: # include <assert.h>
! 3901: #endif
! 3902: Syntax error
! 3903: _ACEOF
! 3904: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3905: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3906: ac_status=$?
! 3907: grep -v '^ *+' conftest.er1 >conftest.err
! 3908: rm -f conftest.er1
! 3909: cat conftest.err >&5
! 3910: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3911: (exit $ac_status); } >/dev/null; then
! 3912: if test -s conftest.err; then
! 3913: ac_cpp_err=$ac_c_preproc_warn_flag
! 3914: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 3915: else
! 3916: ac_cpp_err=
! 3917: fi
! 3918: else
! 3919: ac_cpp_err=yes
! 3920: fi
! 3921: if test -z "$ac_cpp_err"; then
! 3922: :
! 3923: else
! 3924: echo "$as_me: failed program was:" >&5
! 3925: sed 's/^/| /' conftest.$ac_ext >&5
! 3926:
! 3927: # Broken: fails on valid input.
! 3928: continue
! 3929: fi
! 3930: rm -f conftest.err conftest.$ac_ext
! 3931:
! 3932: # OK, works on sane cases. Now check whether non-existent headers
! 3933: # can be detected and how.
! 3934: cat >conftest.$ac_ext <<_ACEOF
! 3935: /* confdefs.h. */
! 3936: _ACEOF
! 3937: cat confdefs.h >>conftest.$ac_ext
! 3938: cat >>conftest.$ac_ext <<_ACEOF
! 3939: /* end confdefs.h. */
! 3940: #include <ac_nonexistent.h>
! 3941: _ACEOF
! 3942: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3943: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3944: ac_status=$?
! 3945: grep -v '^ *+' conftest.er1 >conftest.err
! 3946: rm -f conftest.er1
! 3947: cat conftest.err >&5
! 3948: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3949: (exit $ac_status); } >/dev/null; then
! 3950: if test -s conftest.err; then
! 3951: ac_cpp_err=$ac_c_preproc_warn_flag
! 3952: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 3953: else
! 3954: ac_cpp_err=
! 3955: fi
! 3956: else
! 3957: ac_cpp_err=yes
! 3958: fi
! 3959: if test -z "$ac_cpp_err"; then
! 3960: # Broken: success on invalid input.
! 3961: continue
! 3962: else
! 3963: echo "$as_me: failed program was:" >&5
! 3964: sed 's/^/| /' conftest.$ac_ext >&5
! 3965:
! 3966: # Passes both tests.
! 3967: ac_preproc_ok=:
! 3968: break
! 3969: fi
! 3970: rm -f conftest.err conftest.$ac_ext
! 3971:
! 3972: done
! 3973: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3974: rm -f conftest.err conftest.$ac_ext
! 3975: if $ac_preproc_ok; then
! 3976: break
! 3977: fi
! 3978:
! 3979: done
! 3980: ac_cv_prog_CPP=$CPP
! 3981:
! 3982: fi
! 3983: CPP=$ac_cv_prog_CPP
! 3984: else
! 3985: ac_cv_prog_CPP=$CPP
! 3986: fi
! 3987: echo "$as_me:$LINENO: result: $CPP" >&5
! 3988: echo "${ECHO_T}$CPP" >&6
! 3989: ac_preproc_ok=false
! 3990: for ac_c_preproc_warn_flag in '' yes
! 3991: do
! 3992: # Use a header file that comes with gcc, so configuring glibc
! 3993: # with a fresh cross-compiler works.
! 3994: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3995: # <limits.h> exists even on freestanding compilers.
! 3996: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3997: # not just through cpp. "Syntax error" is here to catch this case.
! 3998: cat >conftest.$ac_ext <<_ACEOF
! 3999: /* confdefs.h. */
! 4000: _ACEOF
! 4001: cat confdefs.h >>conftest.$ac_ext
! 4002: cat >>conftest.$ac_ext <<_ACEOF
! 4003: /* end confdefs.h. */
! 4004: #ifdef __STDC__
! 4005: # include <limits.h>
! 4006: #else
! 4007: # include <assert.h>
! 4008: #endif
! 4009: Syntax error
! 4010: _ACEOF
! 4011: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4012: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4013: ac_status=$?
! 4014: grep -v '^ *+' conftest.er1 >conftest.err
! 4015: rm -f conftest.er1
! 4016: cat conftest.err >&5
! 4017: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4018: (exit $ac_status); } >/dev/null; then
! 4019: if test -s conftest.err; then
! 4020: ac_cpp_err=$ac_c_preproc_warn_flag
! 4021: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4022: else
! 4023: ac_cpp_err=
! 4024: fi
! 4025: else
! 4026: ac_cpp_err=yes
! 4027: fi
! 4028: if test -z "$ac_cpp_err"; then
! 4029: :
! 4030: else
! 4031: echo "$as_me: failed program was:" >&5
! 4032: sed 's/^/| /' conftest.$ac_ext >&5
! 4033:
! 4034: # Broken: fails on valid input.
! 4035: continue
! 4036: fi
! 4037: rm -f conftest.err conftest.$ac_ext
! 4038:
! 4039: # OK, works on sane cases. Now check whether non-existent headers
! 4040: # can be detected and how.
! 4041: cat >conftest.$ac_ext <<_ACEOF
! 4042: /* confdefs.h. */
! 4043: _ACEOF
! 4044: cat confdefs.h >>conftest.$ac_ext
! 4045: cat >>conftest.$ac_ext <<_ACEOF
! 4046: /* end confdefs.h. */
! 4047: #include <ac_nonexistent.h>
! 4048: _ACEOF
! 4049: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4050: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4051: ac_status=$?
! 4052: grep -v '^ *+' conftest.er1 >conftest.err
! 4053: rm -f conftest.er1
! 4054: cat conftest.err >&5
! 4055: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4056: (exit $ac_status); } >/dev/null; then
! 4057: if test -s conftest.err; then
! 4058: ac_cpp_err=$ac_c_preproc_warn_flag
! 4059: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4060: else
! 4061: ac_cpp_err=
! 4062: fi
! 4063: else
! 4064: ac_cpp_err=yes
! 4065: fi
! 4066: if test -z "$ac_cpp_err"; then
! 4067: # Broken: success on invalid input.
! 4068: continue
! 4069: else
! 4070: echo "$as_me: failed program was:" >&5
! 4071: sed 's/^/| /' conftest.$ac_ext >&5
! 4072:
! 4073: # Passes both tests.
! 4074: ac_preproc_ok=:
! 4075: break
! 4076: fi
! 4077: rm -f conftest.err conftest.$ac_ext
! 4078:
! 4079: done
! 4080: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4081: rm -f conftest.err conftest.$ac_ext
! 4082: if $ac_preproc_ok; then
! 4083: :
! 4084: else
! 4085: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 4086: See \`config.log' for more details." >&5
! 4087: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 4088: See \`config.log' for more details." >&2;}
! 4089: { (exit 1); exit 1; }; }
! 4090: fi
! 4091:
! 4092: ac_ext=c
! 4093: ac_cpp='$CPP $CPPFLAGS'
! 4094: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4095: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4096: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4097:
! 4098:
! 4099: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 4100: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 4101: if test "${ac_cv_header_stdc+set}" = set; then
! 4102: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4103: else
! 4104: cat >conftest.$ac_ext <<_ACEOF
! 4105: /* confdefs.h. */
! 4106: _ACEOF
! 4107: cat confdefs.h >>conftest.$ac_ext
! 4108: cat >>conftest.$ac_ext <<_ACEOF
! 4109: /* end confdefs.h. */
! 4110: #include <stdlib.h>
! 4111: #include <stdarg.h>
! 4112: #include <string.h>
! 4113: #include <float.h>
! 4114:
! 4115: int
! 4116: main ()
! 4117: {
! 4118:
! 4119: ;
! 4120: return 0;
! 4121: }
! 4122: _ACEOF
! 4123: rm -f conftest.$ac_objext
! 4124: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4125: (eval $ac_compile) 2>conftest.er1
! 4126: ac_status=$?
! 4127: grep -v '^ *+' conftest.er1 >conftest.err
! 4128: rm -f conftest.er1
! 4129: cat conftest.err >&5
! 4130: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4131: (exit $ac_status); } &&
! 4132: { ac_try='test -z "$ac_c_werror_flag"
! 4133: || test ! -s conftest.err'
! 4134: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4135: (eval $ac_try) 2>&5
! 4136: ac_status=$?
! 4137: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4138: (exit $ac_status); }; } &&
! 4139: { ac_try='test -s conftest.$ac_objext'
! 4140: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4141: (eval $ac_try) 2>&5
! 4142: ac_status=$?
! 4143: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4144: (exit $ac_status); }; }; then
! 4145: ac_cv_header_stdc=yes
! 4146: else
! 4147: echo "$as_me: failed program was:" >&5
! 4148: sed 's/^/| /' conftest.$ac_ext >&5
! 4149:
! 4150: ac_cv_header_stdc=no
! 4151: fi
! 4152: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4153:
! 4154: if test $ac_cv_header_stdc = yes; then
! 4155: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 4156: cat >conftest.$ac_ext <<_ACEOF
! 4157: /* confdefs.h. */
! 4158: _ACEOF
! 4159: cat confdefs.h >>conftest.$ac_ext
! 4160: cat >>conftest.$ac_ext <<_ACEOF
! 4161: /* end confdefs.h. */
! 4162: #include <string.h>
! 4163:
! 4164: _ACEOF
! 4165: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4166: $EGREP "memchr" >/dev/null 2>&1; then
! 4167: :
! 4168: else
! 4169: ac_cv_header_stdc=no
! 4170: fi
! 4171: rm -f conftest*
! 4172:
! 4173: fi
! 4174:
! 4175: if test $ac_cv_header_stdc = yes; then
! 4176: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 4177: cat >conftest.$ac_ext <<_ACEOF
! 4178: /* confdefs.h. */
! 4179: _ACEOF
! 4180: cat confdefs.h >>conftest.$ac_ext
! 4181: cat >>conftest.$ac_ext <<_ACEOF
! 4182: /* end confdefs.h. */
! 4183: #include <stdlib.h>
! 4184:
! 4185: _ACEOF
! 4186: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4187: $EGREP "free" >/dev/null 2>&1; then
! 4188: :
! 4189: else
! 4190: ac_cv_header_stdc=no
! 4191: fi
! 4192: rm -f conftest*
! 4193:
! 4194: fi
! 4195:
! 4196: if test $ac_cv_header_stdc = yes; then
! 4197: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 4198: if test "$cross_compiling" = yes; then
! 4199: :
! 4200: else
! 4201: cat >conftest.$ac_ext <<_ACEOF
! 4202: /* confdefs.h. */
! 4203: _ACEOF
! 4204: cat confdefs.h >>conftest.$ac_ext
! 4205: cat >>conftest.$ac_ext <<_ACEOF
! 4206: /* end confdefs.h. */
! 4207: #include <ctype.h>
! 4208: #if ((' ' & 0x0FF) == 0x020)
! 4209: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 4210: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 4211: #else
! 4212: # define ISLOWER(c) \
! 4213: (('a' <= (c) && (c) <= 'i') \
! 4214: || ('j' <= (c) && (c) <= 'r') \
! 4215: || ('s' <= (c) && (c) <= 'z'))
! 4216: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 4217: #endif
! 4218:
! 4219: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 4220: int
! 4221: main ()
! 4222: {
! 4223: int i;
! 4224: for (i = 0; i < 256; i++)
! 4225: if (XOR (islower (i), ISLOWER (i))
! 4226: || toupper (i) != TOUPPER (i))
! 4227: exit(2);
! 4228: exit (0);
! 4229: }
! 4230: _ACEOF
! 4231: rm -f conftest$ac_exeext
! 4232: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4233: (eval $ac_link) 2>&5
! 4234: ac_status=$?
! 4235: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4236: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4237: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4238: (eval $ac_try) 2>&5
! 4239: ac_status=$?
! 4240: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4241: (exit $ac_status); }; }; then
! 4242: :
! 4243: else
! 4244: echo "$as_me: program exited with status $ac_status" >&5
! 4245: echo "$as_me: failed program was:" >&5
! 4246: sed 's/^/| /' conftest.$ac_ext >&5
! 4247:
! 4248: ( exit $ac_status )
! 4249: ac_cv_header_stdc=no
! 4250: fi
! 4251: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4252: fi
! 4253: fi
! 4254: fi
! 4255: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 4256: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 4257: if test $ac_cv_header_stdc = yes; then
! 4258:
! 4259: cat >>confdefs.h <<\_ACEOF
! 4260: #define STDC_HEADERS 1
! 4261: _ACEOF
! 4262:
! 4263: fi
! 4264:
! 4265: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 4266:
! 4267:
! 4268:
! 4269:
! 4270:
! 4271:
! 4272:
! 4273:
! 4274:
! 4275: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 4276: inttypes.h stdint.h unistd.h
! 4277: do
! 4278: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4279: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4280: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4281: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4282: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4283: else
! 4284: cat >conftest.$ac_ext <<_ACEOF
! 4285: /* confdefs.h. */
! 4286: _ACEOF
! 4287: cat confdefs.h >>conftest.$ac_ext
! 4288: cat >>conftest.$ac_ext <<_ACEOF
! 4289: /* end confdefs.h. */
! 4290: $ac_includes_default
! 4291:
! 4292: #include <$ac_header>
! 4293: _ACEOF
! 4294: rm -f conftest.$ac_objext
! 4295: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4296: (eval $ac_compile) 2>conftest.er1
! 4297: ac_status=$?
! 4298: grep -v '^ *+' conftest.er1 >conftest.err
! 4299: rm -f conftest.er1
! 4300: cat conftest.err >&5
! 4301: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4302: (exit $ac_status); } &&
! 4303: { ac_try='test -z "$ac_c_werror_flag"
! 4304: || test ! -s conftest.err'
! 4305: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4306: (eval $ac_try) 2>&5
! 4307: ac_status=$?
! 4308: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4309: (exit $ac_status); }; } &&
! 4310: { ac_try='test -s conftest.$ac_objext'
! 4311: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4312: (eval $ac_try) 2>&5
! 4313: ac_status=$?
! 4314: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4315: (exit $ac_status); }; }; then
! 4316: eval "$as_ac_Header=yes"
! 4317: else
! 4318: echo "$as_me: failed program was:" >&5
! 4319: sed 's/^/| /' conftest.$ac_ext >&5
! 4320:
! 4321: eval "$as_ac_Header=no"
! 4322: fi
! 4323: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4324: fi
! 4325: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4326: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4327: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4328: cat >>confdefs.h <<_ACEOF
! 4329: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4330: _ACEOF
! 4331:
! 4332: fi
! 4333:
! 4334: done
! 4335:
! 4336:
! 4337:
! 4338: for ac_header in dlfcn.h
! 4339: do
! 4340: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4341: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4342: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4343: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4344: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4345: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4346: fi
! 4347: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4348: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4349: else
! 4350: # Is the header compilable?
! 4351: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4352: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 4353: cat >conftest.$ac_ext <<_ACEOF
! 4354: /* confdefs.h. */
! 4355: _ACEOF
! 4356: cat confdefs.h >>conftest.$ac_ext
! 4357: cat >>conftest.$ac_ext <<_ACEOF
! 4358: /* end confdefs.h. */
! 4359: $ac_includes_default
! 4360: #include <$ac_header>
! 4361: _ACEOF
! 4362: rm -f conftest.$ac_objext
! 4363: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4364: (eval $ac_compile) 2>conftest.er1
! 4365: ac_status=$?
! 4366: grep -v '^ *+' conftest.er1 >conftest.err
! 4367: rm -f conftest.er1
! 4368: cat conftest.err >&5
! 4369: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4370: (exit $ac_status); } &&
! 4371: { ac_try='test -z "$ac_c_werror_flag"
! 4372: || test ! -s conftest.err'
! 4373: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4374: (eval $ac_try) 2>&5
! 4375: ac_status=$?
! 4376: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4377: (exit $ac_status); }; } &&
! 4378: { ac_try='test -s conftest.$ac_objext'
! 4379: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4380: (eval $ac_try) 2>&5
! 4381: ac_status=$?
! 4382: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4383: (exit $ac_status); }; }; then
! 4384: ac_header_compiler=yes
! 4385: else
! 4386: echo "$as_me: failed program was:" >&5
! 4387: sed 's/^/| /' conftest.$ac_ext >&5
! 4388:
! 4389: ac_header_compiler=no
! 4390: fi
! 4391: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4392: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4393: echo "${ECHO_T}$ac_header_compiler" >&6
! 4394:
! 4395: # Is the header present?
! 4396: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4397: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 4398: cat >conftest.$ac_ext <<_ACEOF
! 4399: /* confdefs.h. */
! 4400: _ACEOF
! 4401: cat confdefs.h >>conftest.$ac_ext
! 4402: cat >>conftest.$ac_ext <<_ACEOF
! 4403: /* end confdefs.h. */
! 4404: #include <$ac_header>
! 4405: _ACEOF
! 4406: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4407: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4408: ac_status=$?
! 4409: grep -v '^ *+' conftest.er1 >conftest.err
! 4410: rm -f conftest.er1
! 4411: cat conftest.err >&5
! 4412: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4413: (exit $ac_status); } >/dev/null; then
! 4414: if test -s conftest.err; then
! 4415: ac_cpp_err=$ac_c_preproc_warn_flag
! 4416: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4417: else
! 4418: ac_cpp_err=
! 4419: fi
! 4420: else
! 4421: ac_cpp_err=yes
! 4422: fi
! 4423: if test -z "$ac_cpp_err"; then
! 4424: ac_header_preproc=yes
! 4425: else
! 4426: echo "$as_me: failed program was:" >&5
! 4427: sed 's/^/| /' conftest.$ac_ext >&5
! 4428:
! 4429: ac_header_preproc=no
! 4430: fi
! 4431: rm -f conftest.err conftest.$ac_ext
! 4432: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4433: echo "${ECHO_T}$ac_header_preproc" >&6
! 4434:
! 4435: # So? What about this header?
! 4436: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4437: yes:no: )
! 4438: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4439: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4440: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 4441: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 4442: ac_header_preproc=yes
! 4443: ;;
! 4444: no:yes:* )
! 4445: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4446: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4447: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4448: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4449: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4450: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4451: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4452: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4453: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4454: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4455: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4456: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4457: (
! 4458: cat <<\_ASBOX
! 4459: ## -------------------------------- ##
! 4460: ## Report this to support@coova.org ##
! 4461: ## -------------------------------- ##
! 4462: _ASBOX
! 4463: ) |
! 4464: sed "s/^/$as_me: WARNING: /" >&2
! 4465: ;;
! 4466: esac
! 4467: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4468: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4469: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4470: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4471: else
! 4472: eval "$as_ac_Header=\$ac_header_preproc"
! 4473: fi
! 4474: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4475: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4476:
! 4477: fi
! 4478: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4479: cat >>confdefs.h <<_ACEOF
! 4480: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4481: _ACEOF
! 4482:
! 4483: fi
! 4484:
! 4485: done
! 4486:
! 4487: ac_ext=cc
! 4488: ac_cpp='$CXXCPP $CPPFLAGS'
! 4489: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4490: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4491: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 4492: if test -n "$ac_tool_prefix"; then
! 4493: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 4494: do
! 4495: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4496: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4497: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4498: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4499: if test "${ac_cv_prog_CXX+set}" = set; then
! 4500: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4501: else
! 4502: if test -n "$CXX"; then
! 4503: ac_cv_prog_CXX="$CXX" # Let the user override the test.
! 4504: else
! 4505: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4506: for as_dir in $PATH
! 4507: do
! 4508: IFS=$as_save_IFS
! 4509: test -z "$as_dir" && as_dir=.
! 4510: for ac_exec_ext in '' $ac_executable_extensions; do
! 4511: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4512: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
! 4513: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4514: break 2
! 4515: fi
! 4516: done
! 4517: done
! 4518:
! 4519: fi
! 4520: fi
! 4521: CXX=$ac_cv_prog_CXX
! 4522: if test -n "$CXX"; then
! 4523: echo "$as_me:$LINENO: result: $CXX" >&5
! 4524: echo "${ECHO_T}$CXX" >&6
! 4525: else
! 4526: echo "$as_me:$LINENO: result: no" >&5
! 4527: echo "${ECHO_T}no" >&6
! 4528: fi
! 4529:
! 4530: test -n "$CXX" && break
! 4531: done
! 4532: fi
! 4533: if test -z "$CXX"; then
! 4534: ac_ct_CXX=$CXX
! 4535: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 4536: do
! 4537: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4538: set dummy $ac_prog; ac_word=$2
! 4539: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4540: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4541: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
! 4542: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4543: else
! 4544: if test -n "$ac_ct_CXX"; then
! 4545: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
! 4546: else
! 4547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4548: for as_dir in $PATH
! 4549: do
! 4550: IFS=$as_save_IFS
! 4551: test -z "$as_dir" && as_dir=.
! 4552: for ac_exec_ext in '' $ac_executable_extensions; do
! 4553: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4554: ac_cv_prog_ac_ct_CXX="$ac_prog"
! 4555: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4556: break 2
! 4557: fi
! 4558: done
! 4559: done
! 4560:
! 4561: fi
! 4562: fi
! 4563: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
! 4564: if test -n "$ac_ct_CXX"; then
! 4565: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
! 4566: echo "${ECHO_T}$ac_ct_CXX" >&6
! 4567: else
! 4568: echo "$as_me:$LINENO: result: no" >&5
! 4569: echo "${ECHO_T}no" >&6
! 4570: fi
! 4571:
! 4572: test -n "$ac_ct_CXX" && break
! 4573: done
! 4574: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
! 4575:
! 4576: CXX=$ac_ct_CXX
! 4577: fi
! 4578:
! 4579:
! 4580: # Provide some information about the compiler.
! 4581: echo "$as_me:$LINENO:" \
! 4582: "checking for C++ compiler version" >&5
! 4583: ac_compiler=`set X $ac_compile; echo $2`
! 4584: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 4585: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 4586: ac_status=$?
! 4587: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4588: (exit $ac_status); }
! 4589: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 4590: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 4591: ac_status=$?
! 4592: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4593: (exit $ac_status); }
! 4594: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 4595: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 4596: ac_status=$?
! 4597: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4598: (exit $ac_status); }
! 4599:
! 4600: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
! 4601: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
! 4602: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
! 4603: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4604: else
! 4605: cat >conftest.$ac_ext <<_ACEOF
! 4606: /* confdefs.h. */
! 4607: _ACEOF
! 4608: cat confdefs.h >>conftest.$ac_ext
! 4609: cat >>conftest.$ac_ext <<_ACEOF
! 4610: /* end confdefs.h. */
! 4611:
! 4612: int
! 4613: main ()
! 4614: {
! 4615: #ifndef __GNUC__
! 4616: choke me
! 4617: #endif
! 4618:
! 4619: ;
! 4620: return 0;
! 4621: }
! 4622: _ACEOF
! 4623: rm -f conftest.$ac_objext
! 4624: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4625: (eval $ac_compile) 2>conftest.er1
! 4626: ac_status=$?
! 4627: grep -v '^ *+' conftest.er1 >conftest.err
! 4628: rm -f conftest.er1
! 4629: cat conftest.err >&5
! 4630: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4631: (exit $ac_status); } &&
! 4632: { ac_try='test -z "$ac_cxx_werror_flag"
! 4633: || test ! -s conftest.err'
! 4634: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4635: (eval $ac_try) 2>&5
! 4636: ac_status=$?
! 4637: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4638: (exit $ac_status); }; } &&
! 4639: { ac_try='test -s conftest.$ac_objext'
! 4640: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4641: (eval $ac_try) 2>&5
! 4642: ac_status=$?
! 4643: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4644: (exit $ac_status); }; }; then
! 4645: ac_compiler_gnu=yes
! 4646: else
! 4647: echo "$as_me: failed program was:" >&5
! 4648: sed 's/^/| /' conftest.$ac_ext >&5
! 4649:
! 4650: ac_compiler_gnu=no
! 4651: fi
! 4652: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4653: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
! 4654:
! 4655: fi
! 4656: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
! 4657: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
! 4658: GXX=`test $ac_compiler_gnu = yes && echo yes`
! 4659: ac_test_CXXFLAGS=${CXXFLAGS+set}
! 4660: ac_save_CXXFLAGS=$CXXFLAGS
! 4661: CXXFLAGS="-g"
! 4662: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
! 4663: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
! 4664: if test "${ac_cv_prog_cxx_g+set}" = set; then
! 4665: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4666: else
! 4667: cat >conftest.$ac_ext <<_ACEOF
! 4668: /* confdefs.h. */
! 4669: _ACEOF
! 4670: cat confdefs.h >>conftest.$ac_ext
! 4671: cat >>conftest.$ac_ext <<_ACEOF
! 4672: /* end confdefs.h. */
! 4673:
! 4674: int
! 4675: main ()
! 4676: {
! 4677:
! 4678: ;
! 4679: return 0;
! 4680: }
! 4681: _ACEOF
! 4682: rm -f conftest.$ac_objext
! 4683: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4684: (eval $ac_compile) 2>conftest.er1
! 4685: ac_status=$?
! 4686: grep -v '^ *+' conftest.er1 >conftest.err
! 4687: rm -f conftest.er1
! 4688: cat conftest.err >&5
! 4689: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4690: (exit $ac_status); } &&
! 4691: { ac_try='test -z "$ac_cxx_werror_flag"
! 4692: || test ! -s conftest.err'
! 4693: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4694: (eval $ac_try) 2>&5
! 4695: ac_status=$?
! 4696: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4697: (exit $ac_status); }; } &&
! 4698: { ac_try='test -s conftest.$ac_objext'
! 4699: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4700: (eval $ac_try) 2>&5
! 4701: ac_status=$?
! 4702: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4703: (exit $ac_status); }; }; then
! 4704: ac_cv_prog_cxx_g=yes
! 4705: else
! 4706: echo "$as_me: failed program was:" >&5
! 4707: sed 's/^/| /' conftest.$ac_ext >&5
! 4708:
! 4709: ac_cv_prog_cxx_g=no
! 4710: fi
! 4711: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4712: fi
! 4713: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
! 4714: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
! 4715: if test "$ac_test_CXXFLAGS" = set; then
! 4716: CXXFLAGS=$ac_save_CXXFLAGS
! 4717: elif test $ac_cv_prog_cxx_g = yes; then
! 4718: if test "$GXX" = yes; then
! 4719: CXXFLAGS="-g -O2"
! 4720: else
! 4721: CXXFLAGS="-g"
! 4722: fi
! 4723: else
! 4724: if test "$GXX" = yes; then
! 4725: CXXFLAGS="-O2"
! 4726: else
! 4727: CXXFLAGS=
! 4728: fi
! 4729: fi
! 4730: for ac_declaration in \
! 4731: '' \
! 4732: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 4733: 'extern "C" void std::exit (int); using std::exit;' \
! 4734: 'extern "C" void exit (int) throw ();' \
! 4735: 'extern "C" void exit (int);' \
! 4736: 'void exit (int);'
! 4737: do
! 4738: cat >conftest.$ac_ext <<_ACEOF
! 4739: /* confdefs.h. */
! 4740: _ACEOF
! 4741: cat confdefs.h >>conftest.$ac_ext
! 4742: cat >>conftest.$ac_ext <<_ACEOF
! 4743: /* end confdefs.h. */
! 4744: $ac_declaration
! 4745: #include <stdlib.h>
! 4746: int
! 4747: main ()
! 4748: {
! 4749: exit (42);
! 4750: ;
! 4751: return 0;
! 4752: }
! 4753: _ACEOF
! 4754: rm -f conftest.$ac_objext
! 4755: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4756: (eval $ac_compile) 2>conftest.er1
! 4757: ac_status=$?
! 4758: grep -v '^ *+' conftest.er1 >conftest.err
! 4759: rm -f conftest.er1
! 4760: cat conftest.err >&5
! 4761: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4762: (exit $ac_status); } &&
! 4763: { ac_try='test -z "$ac_cxx_werror_flag"
! 4764: || test ! -s conftest.err'
! 4765: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4766: (eval $ac_try) 2>&5
! 4767: ac_status=$?
! 4768: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4769: (exit $ac_status); }; } &&
! 4770: { ac_try='test -s conftest.$ac_objext'
! 4771: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4772: (eval $ac_try) 2>&5
! 4773: ac_status=$?
! 4774: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4775: (exit $ac_status); }; }; then
! 4776: :
! 4777: else
! 4778: echo "$as_me: failed program was:" >&5
! 4779: sed 's/^/| /' conftest.$ac_ext >&5
! 4780:
! 4781: continue
! 4782: fi
! 4783: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4784: cat >conftest.$ac_ext <<_ACEOF
! 4785: /* confdefs.h. */
! 4786: _ACEOF
! 4787: cat confdefs.h >>conftest.$ac_ext
! 4788: cat >>conftest.$ac_ext <<_ACEOF
! 4789: /* end confdefs.h. */
! 4790: $ac_declaration
! 4791: int
! 4792: main ()
! 4793: {
! 4794: exit (42);
! 4795: ;
! 4796: return 0;
! 4797: }
! 4798: _ACEOF
! 4799: rm -f conftest.$ac_objext
! 4800: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4801: (eval $ac_compile) 2>conftest.er1
! 4802: ac_status=$?
! 4803: grep -v '^ *+' conftest.er1 >conftest.err
! 4804: rm -f conftest.er1
! 4805: cat conftest.err >&5
! 4806: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4807: (exit $ac_status); } &&
! 4808: { ac_try='test -z "$ac_cxx_werror_flag"
! 4809: || test ! -s conftest.err'
! 4810: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4811: (eval $ac_try) 2>&5
! 4812: ac_status=$?
! 4813: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4814: (exit $ac_status); }; } &&
! 4815: { ac_try='test -s conftest.$ac_objext'
! 4816: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4817: (eval $ac_try) 2>&5
! 4818: ac_status=$?
! 4819: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4820: (exit $ac_status); }; }; then
! 4821: break
! 4822: else
! 4823: echo "$as_me: failed program was:" >&5
! 4824: sed 's/^/| /' conftest.$ac_ext >&5
! 4825:
! 4826: fi
! 4827: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4828: done
! 4829: rm -f conftest*
! 4830: if test -n "$ac_declaration"; then
! 4831: echo '#ifdef __cplusplus' >>confdefs.h
! 4832: echo $ac_declaration >>confdefs.h
! 4833: echo '#endif' >>confdefs.h
! 4834: fi
! 4835:
! 4836: ac_ext=cc
! 4837: ac_cpp='$CXXCPP $CPPFLAGS'
! 4838: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4839: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4840: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 4841:
! 4842: depcc="$CXX" am_compiler_list=
! 4843:
! 4844: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 4845: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 4846: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
! 4847: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4848: else
! 4849: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 4850: # We make a subdir and do the tests there. Otherwise we can end up
! 4851: # making bogus files that we don't know about and never remove. For
! 4852: # instance it was reported that on HP-UX the gcc test will end up
! 4853: # making a dummy file named `D' -- because `-MD' means `put the output
! 4854: # in D'.
! 4855: mkdir conftest.dir
! 4856: # Copy depcomp to subdir because otherwise we won't find it if we're
! 4857: # using a relative directory.
! 4858: cp "$am_depcomp" conftest.dir
! 4859: cd conftest.dir
! 4860: # We will build objects and dependencies in a subdirectory because
! 4861: # it helps to detect inapplicable dependency modes. For instance
! 4862: # both Tru64's cc and ICC support -MD to output dependencies as a
! 4863: # side effect of compilation, but ICC will put the dependencies in
! 4864: # the current directory while Tru64 will put them in the object
! 4865: # directory.
! 4866: mkdir sub
! 4867:
! 4868: am_cv_CXX_dependencies_compiler_type=none
! 4869: if test "$am_compiler_list" = ""; then
! 4870: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 4871: fi
! 4872: for depmode in $am_compiler_list; do
! 4873: # Setup a source with many dependencies, because some compilers
! 4874: # like to wrap large dependency lists on column 80 (with \), and
! 4875: # we should not choose a depcomp mode which is confused by this.
! 4876: #
! 4877: # We need to recreate these files for each test, as the compiler may
! 4878: # overwrite some of them when testing with obscure command lines.
! 4879: # This happens at least with the AIX C compiler.
! 4880: : > sub/conftest.c
! 4881: for i in 1 2 3 4 5 6; do
! 4882: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 4883: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 4884: # Solaris 8's {/usr,}/bin/sh.
! 4885: touch sub/conftst$i.h
! 4886: done
! 4887: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 4888:
! 4889: case $depmode in
! 4890: nosideeffect)
! 4891: # after this tag, mechanisms are not by side-effect, so they'll
! 4892: # only be used when explicitly requested
! 4893: if test "x$enable_dependency_tracking" = xyes; then
! 4894: continue
! 4895: else
! 4896: break
! 4897: fi
! 4898: ;;
! 4899: none) break ;;
! 4900: esac
! 4901: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 4902: # mode. It turns out that the SunPro C++ compiler does not properly
! 4903: # handle `-M -o', and we need to detect this.
! 4904: if depmode=$depmode \
! 4905: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 4906: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 4907: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 4908: >/dev/null 2>conftest.err &&
! 4909: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 4910: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 4911: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 4912: # icc doesn't choke on unknown options, it will just issue warnings
! 4913: # or remarks (even with -Werror). So we grep stderr for any message
! 4914: # that says an option was ignored or not supported.
! 4915: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 4916: # icc: Command line warning: ignoring option '-M'; no argument required
! 4917: # The diagnosis changed in icc 8.0:
! 4918: # icc: Command line remark: option '-MP' not supported
! 4919: if (grep 'ignoring option' conftest.err ||
! 4920: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 4921: am_cv_CXX_dependencies_compiler_type=$depmode
! 4922: break
! 4923: fi
! 4924: fi
! 4925: done
! 4926:
! 4927: cd ..
! 4928: rm -rf conftest.dir
! 4929: else
! 4930: am_cv_CXX_dependencies_compiler_type=none
! 4931: fi
! 4932:
! 4933: fi
! 4934: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
! 4935: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
! 4936: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
! 4937:
! 4938:
! 4939:
! 4940: if
! 4941: test "x$enable_dependency_tracking" != xno \
! 4942: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
! 4943: am__fastdepCXX_TRUE=
! 4944: am__fastdepCXX_FALSE='#'
! 4945: else
! 4946: am__fastdepCXX_TRUE='#'
! 4947: am__fastdepCXX_FALSE=
! 4948: fi
! 4949:
! 4950:
! 4951:
! 4952:
! 4953: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 4954: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 4955: (test "X$CXX" != "Xg++"))) ; then
! 4956: ac_ext=cc
! 4957: ac_cpp='$CXXCPP $CPPFLAGS'
! 4958: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4959: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4960: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 4961: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
! 4962: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
! 4963: if test -z "$CXXCPP"; then
! 4964: if test "${ac_cv_prog_CXXCPP+set}" = set; then
! 4965: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4966: else
! 4967: # Double quotes because CXXCPP needs to be expanded
! 4968: for CXXCPP in "$CXX -E" "/lib/cpp"
! 4969: do
! 4970: ac_preproc_ok=false
! 4971: for ac_cxx_preproc_warn_flag in '' yes
! 4972: do
! 4973: # Use a header file that comes with gcc, so configuring glibc
! 4974: # with a fresh cross-compiler works.
! 4975: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4976: # <limits.h> exists even on freestanding compilers.
! 4977: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4978: # not just through cpp. "Syntax error" is here to catch this case.
! 4979: cat >conftest.$ac_ext <<_ACEOF
! 4980: /* confdefs.h. */
! 4981: _ACEOF
! 4982: cat confdefs.h >>conftest.$ac_ext
! 4983: cat >>conftest.$ac_ext <<_ACEOF
! 4984: /* end confdefs.h. */
! 4985: #ifdef __STDC__
! 4986: # include <limits.h>
! 4987: #else
! 4988: # include <assert.h>
! 4989: #endif
! 4990: Syntax error
! 4991: _ACEOF
! 4992: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4993: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4994: ac_status=$?
! 4995: grep -v '^ *+' conftest.er1 >conftest.err
! 4996: rm -f conftest.er1
! 4997: cat conftest.err >&5
! 4998: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4999: (exit $ac_status); } >/dev/null; then
! 5000: if test -s conftest.err; then
! 5001: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 5002: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 5003: else
! 5004: ac_cpp_err=
! 5005: fi
! 5006: else
! 5007: ac_cpp_err=yes
! 5008: fi
! 5009: if test -z "$ac_cpp_err"; then
! 5010: :
! 5011: else
! 5012: echo "$as_me: failed program was:" >&5
! 5013: sed 's/^/| /' conftest.$ac_ext >&5
! 5014:
! 5015: # Broken: fails on valid input.
! 5016: continue
! 5017: fi
! 5018: rm -f conftest.err conftest.$ac_ext
! 5019:
! 5020: # OK, works on sane cases. Now check whether non-existent headers
! 5021: # can be detected and how.
! 5022: cat >conftest.$ac_ext <<_ACEOF
! 5023: /* confdefs.h. */
! 5024: _ACEOF
! 5025: cat confdefs.h >>conftest.$ac_ext
! 5026: cat >>conftest.$ac_ext <<_ACEOF
! 5027: /* end confdefs.h. */
! 5028: #include <ac_nonexistent.h>
! 5029: _ACEOF
! 5030: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5031: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5032: ac_status=$?
! 5033: grep -v '^ *+' conftest.er1 >conftest.err
! 5034: rm -f conftest.er1
! 5035: cat conftest.err >&5
! 5036: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5037: (exit $ac_status); } >/dev/null; then
! 5038: if test -s conftest.err; then
! 5039: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 5040: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 5041: else
! 5042: ac_cpp_err=
! 5043: fi
! 5044: else
! 5045: ac_cpp_err=yes
! 5046: fi
! 5047: if test -z "$ac_cpp_err"; then
! 5048: # Broken: success on invalid input.
! 5049: continue
! 5050: else
! 5051: echo "$as_me: failed program was:" >&5
! 5052: sed 's/^/| /' conftest.$ac_ext >&5
! 5053:
! 5054: # Passes both tests.
! 5055: ac_preproc_ok=:
! 5056: break
! 5057: fi
! 5058: rm -f conftest.err conftest.$ac_ext
! 5059:
! 5060: done
! 5061: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5062: rm -f conftest.err conftest.$ac_ext
! 5063: if $ac_preproc_ok; then
! 5064: break
! 5065: fi
! 5066:
! 5067: done
! 5068: ac_cv_prog_CXXCPP=$CXXCPP
! 5069:
! 5070: fi
! 5071: CXXCPP=$ac_cv_prog_CXXCPP
! 5072: else
! 5073: ac_cv_prog_CXXCPP=$CXXCPP
! 5074: fi
! 5075: echo "$as_me:$LINENO: result: $CXXCPP" >&5
! 5076: echo "${ECHO_T}$CXXCPP" >&6
! 5077: ac_preproc_ok=false
! 5078: for ac_cxx_preproc_warn_flag in '' yes
! 5079: do
! 5080: # Use a header file that comes with gcc, so configuring glibc
! 5081: # with a fresh cross-compiler works.
! 5082: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5083: # <limits.h> exists even on freestanding compilers.
! 5084: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5085: # not just through cpp. "Syntax error" is here to catch this case.
! 5086: cat >conftest.$ac_ext <<_ACEOF
! 5087: /* confdefs.h. */
! 5088: _ACEOF
! 5089: cat confdefs.h >>conftest.$ac_ext
! 5090: cat >>conftest.$ac_ext <<_ACEOF
! 5091: /* end confdefs.h. */
! 5092: #ifdef __STDC__
! 5093: # include <limits.h>
! 5094: #else
! 5095: # include <assert.h>
! 5096: #endif
! 5097: Syntax error
! 5098: _ACEOF
! 5099: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5100: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5101: ac_status=$?
! 5102: grep -v '^ *+' conftest.er1 >conftest.err
! 5103: rm -f conftest.er1
! 5104: cat conftest.err >&5
! 5105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5106: (exit $ac_status); } >/dev/null; then
! 5107: if test -s conftest.err; then
! 5108: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 5109: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 5110: else
! 5111: ac_cpp_err=
! 5112: fi
! 5113: else
! 5114: ac_cpp_err=yes
! 5115: fi
! 5116: if test -z "$ac_cpp_err"; then
! 5117: :
! 5118: else
! 5119: echo "$as_me: failed program was:" >&5
! 5120: sed 's/^/| /' conftest.$ac_ext >&5
! 5121:
! 5122: # Broken: fails on valid input.
! 5123: continue
! 5124: fi
! 5125: rm -f conftest.err conftest.$ac_ext
! 5126:
! 5127: # OK, works on sane cases. Now check whether non-existent headers
! 5128: # can be detected and how.
! 5129: cat >conftest.$ac_ext <<_ACEOF
! 5130: /* confdefs.h. */
! 5131: _ACEOF
! 5132: cat confdefs.h >>conftest.$ac_ext
! 5133: cat >>conftest.$ac_ext <<_ACEOF
! 5134: /* end confdefs.h. */
! 5135: #include <ac_nonexistent.h>
! 5136: _ACEOF
! 5137: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5138: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5139: ac_status=$?
! 5140: grep -v '^ *+' conftest.er1 >conftest.err
! 5141: rm -f conftest.er1
! 5142: cat conftest.err >&5
! 5143: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5144: (exit $ac_status); } >/dev/null; then
! 5145: if test -s conftest.err; then
! 5146: ac_cpp_err=$ac_cxx_preproc_warn_flag
! 5147: ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
! 5148: else
! 5149: ac_cpp_err=
! 5150: fi
! 5151: else
! 5152: ac_cpp_err=yes
! 5153: fi
! 5154: if test -z "$ac_cpp_err"; then
! 5155: # Broken: success on invalid input.
! 5156: continue
! 5157: else
! 5158: echo "$as_me: failed program was:" >&5
! 5159: sed 's/^/| /' conftest.$ac_ext >&5
! 5160:
! 5161: # Passes both tests.
! 5162: ac_preproc_ok=:
! 5163: break
! 5164: fi
! 5165: rm -f conftest.err conftest.$ac_ext
! 5166:
! 5167: done
! 5168: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5169: rm -f conftest.err conftest.$ac_ext
! 5170: if $ac_preproc_ok; then
! 5171: :
! 5172: else
! 5173: { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 5174: See \`config.log' for more details." >&5
! 5175: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
! 5176: See \`config.log' for more details." >&2;}
! 5177: { (exit 1); exit 1; }; }
! 5178: fi
! 5179:
! 5180: ac_ext=cc
! 5181: ac_cpp='$CXXCPP $CPPFLAGS'
! 5182: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5183: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5184: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 5185:
! 5186: fi
! 5187:
! 5188:
! 5189: ac_ext=f
! 5190: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 5191: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5192: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 5193: if test -n "$ac_tool_prefix"; then
! 5194: for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
! 5195: do
! 5196: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5197: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5198: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5199: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5200: if test "${ac_cv_prog_F77+set}" = set; then
! 5201: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5202: else
! 5203: if test -n "$F77"; then
! 5204: ac_cv_prog_F77="$F77" # Let the user override the test.
! 5205: else
! 5206: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5207: for as_dir in $PATH
! 5208: do
! 5209: IFS=$as_save_IFS
! 5210: test -z "$as_dir" && as_dir=.
! 5211: for ac_exec_ext in '' $ac_executable_extensions; do
! 5212: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5213: ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
! 5214: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5215: break 2
! 5216: fi
! 5217: done
! 5218: done
! 5219:
! 5220: fi
! 5221: fi
! 5222: F77=$ac_cv_prog_F77
! 5223: if test -n "$F77"; then
! 5224: echo "$as_me:$LINENO: result: $F77" >&5
! 5225: echo "${ECHO_T}$F77" >&6
! 5226: else
! 5227: echo "$as_me:$LINENO: result: no" >&5
! 5228: echo "${ECHO_T}no" >&6
! 5229: fi
! 5230:
! 5231: test -n "$F77" && break
! 5232: done
! 5233: fi
! 5234: if test -z "$F77"; then
! 5235: ac_ct_F77=$F77
! 5236: for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
! 5237: do
! 5238: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5239: set dummy $ac_prog; ac_word=$2
! 5240: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5241: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5242: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
! 5243: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5244: else
! 5245: if test -n "$ac_ct_F77"; then
! 5246: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
! 5247: else
! 5248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5249: for as_dir in $PATH
! 5250: do
! 5251: IFS=$as_save_IFS
! 5252: test -z "$as_dir" && as_dir=.
! 5253: for ac_exec_ext in '' $ac_executable_extensions; do
! 5254: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5255: ac_cv_prog_ac_ct_F77="$ac_prog"
! 5256: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5257: break 2
! 5258: fi
! 5259: done
! 5260: done
! 5261:
! 5262: fi
! 5263: fi
! 5264: ac_ct_F77=$ac_cv_prog_ac_ct_F77
! 5265: if test -n "$ac_ct_F77"; then
! 5266: echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
! 5267: echo "${ECHO_T}$ac_ct_F77" >&6
! 5268: else
! 5269: echo "$as_me:$LINENO: result: no" >&5
! 5270: echo "${ECHO_T}no" >&6
! 5271: fi
! 5272:
! 5273: test -n "$ac_ct_F77" && break
! 5274: done
! 5275:
! 5276: F77=$ac_ct_F77
! 5277: fi
! 5278:
! 5279:
! 5280: # Provide some information about the compiler.
! 5281: echo "$as_me:5281:" \
! 5282: "checking for Fortran 77 compiler version" >&5
! 5283: ac_compiler=`set X $ac_compile; echo $2`
! 5284: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 5285: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 5286: ac_status=$?
! 5287: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5288: (exit $ac_status); }
! 5289: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 5290: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 5291: ac_status=$?
! 5292: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5293: (exit $ac_status); }
! 5294: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 5295: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 5296: ac_status=$?
! 5297: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5298: (exit $ac_status); }
! 5299: rm -f a.out
! 5300:
! 5301: # If we don't use `.F' as extension, the preprocessor is not run on the
! 5302: # input file. (Note that this only needs to work for GNU compilers.)
! 5303: ac_save_ext=$ac_ext
! 5304: ac_ext=F
! 5305: echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
! 5306: echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
! 5307: if test "${ac_cv_f77_compiler_gnu+set}" = set; then
! 5308: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5309: else
! 5310: cat >conftest.$ac_ext <<_ACEOF
! 5311: program main
! 5312: #ifndef __GNUC__
! 5313: choke me
! 5314: #endif
! 5315:
! 5316: end
! 5317: _ACEOF
! 5318: rm -f conftest.$ac_objext
! 5319: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5320: (eval $ac_compile) 2>conftest.er1
! 5321: ac_status=$?
! 5322: grep -v '^ *+' conftest.er1 >conftest.err
! 5323: rm -f conftest.er1
! 5324: cat conftest.err >&5
! 5325: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5326: (exit $ac_status); } &&
! 5327: { ac_try='test -z "$ac_f77_werror_flag"
! 5328: || test ! -s conftest.err'
! 5329: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5330: (eval $ac_try) 2>&5
! 5331: ac_status=$?
! 5332: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5333: (exit $ac_status); }; } &&
! 5334: { ac_try='test -s conftest.$ac_objext'
! 5335: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5336: (eval $ac_try) 2>&5
! 5337: ac_status=$?
! 5338: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5339: (exit $ac_status); }; }; then
! 5340: ac_compiler_gnu=yes
! 5341: else
! 5342: echo "$as_me: failed program was:" >&5
! 5343: sed 's/^/| /' conftest.$ac_ext >&5
! 5344:
! 5345: ac_compiler_gnu=no
! 5346: fi
! 5347: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 5348: ac_cv_f77_compiler_gnu=$ac_compiler_gnu
! 5349:
! 5350: fi
! 5351: echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
! 5352: echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
! 5353: ac_ext=$ac_save_ext
! 5354: ac_test_FFLAGS=${FFLAGS+set}
! 5355: ac_save_FFLAGS=$FFLAGS
! 5356: FFLAGS=
! 5357: echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
! 5358: echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
! 5359: if test "${ac_cv_prog_f77_g+set}" = set; then
! 5360: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5361: else
! 5362: FFLAGS=-g
! 5363: cat >conftest.$ac_ext <<_ACEOF
! 5364: program main
! 5365:
! 5366: end
! 5367: _ACEOF
! 5368: rm -f conftest.$ac_objext
! 5369: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5370: (eval $ac_compile) 2>conftest.er1
! 5371: ac_status=$?
! 5372: grep -v '^ *+' conftest.er1 >conftest.err
! 5373: rm -f conftest.er1
! 5374: cat conftest.err >&5
! 5375: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5376: (exit $ac_status); } &&
! 5377: { ac_try='test -z "$ac_f77_werror_flag"
! 5378: || test ! -s conftest.err'
! 5379: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5380: (eval $ac_try) 2>&5
! 5381: ac_status=$?
! 5382: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5383: (exit $ac_status); }; } &&
! 5384: { ac_try='test -s conftest.$ac_objext'
! 5385: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5386: (eval $ac_try) 2>&5
! 5387: ac_status=$?
! 5388: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5389: (exit $ac_status); }; }; then
! 5390: ac_cv_prog_f77_g=yes
! 5391: else
! 5392: echo "$as_me: failed program was:" >&5
! 5393: sed 's/^/| /' conftest.$ac_ext >&5
! 5394:
! 5395: ac_cv_prog_f77_g=no
! 5396: fi
! 5397: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 5398:
! 5399: fi
! 5400: echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
! 5401: echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
! 5402: if test "$ac_test_FFLAGS" = set; then
! 5403: FFLAGS=$ac_save_FFLAGS
! 5404: elif test $ac_cv_prog_f77_g = yes; then
! 5405: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 5406: FFLAGS="-g -O2"
! 5407: else
! 5408: FFLAGS="-g"
! 5409: fi
! 5410: else
! 5411: if test "x$ac_cv_f77_compiler_gnu" = xyes; then
! 5412: FFLAGS="-O2"
! 5413: else
! 5414: FFLAGS=
! 5415: fi
! 5416: fi
! 5417:
! 5418: G77=`test $ac_compiler_gnu = yes && echo yes`
! 5419: ac_ext=c
! 5420: ac_cpp='$CPP $CPPFLAGS'
! 5421: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5422: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5423: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5424:
! 5425:
! 5426:
! 5427: # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
! 5428:
! 5429: # find the maximum length of command line arguments
! 5430: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
! 5431: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
! 5432: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
! 5433: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5434: else
! 5435: i=0
! 5436: teststring="ABCD"
! 5437:
! 5438: case $build_os in
! 5439: msdosdjgpp*)
! 5440: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 5441: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 5442: # during glob expansion). Even if it were fixed, the result of this
! 5443: # check would be larger than it should be.
! 5444: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 5445: ;;
! 5446:
! 5447: gnu*)
! 5448: # Under GNU Hurd, this test is not required because there is
! 5449: # no limit to the length of command line arguments.
! 5450: # Libtool will interpret -1 as no limit whatsoever
! 5451: lt_cv_sys_max_cmd_len=-1;
! 5452: ;;
! 5453:
! 5454: cygwin* | mingw*)
! 5455: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 5456: # about 5 minutes as the teststring grows exponentially.
! 5457: # Worse, since 9x/ME are not pre-emptively multitasking,
! 5458: # you end up with a "frozen" computer, even though with patience
! 5459: # the test eventually succeeds (with a max line length of 256k).
! 5460: # Instead, let's just punt: use the minimum linelength reported by
! 5461: # all of the supported platforms: 8192 (on NT/2K/XP).
! 5462: lt_cv_sys_max_cmd_len=8192;
! 5463: ;;
! 5464:
! 5465: amigaos*)
! 5466: # On AmigaOS with pdksh, this test takes hours, literally.
! 5467: # So we just punt and use a minimum line length of 8192.
! 5468: lt_cv_sys_max_cmd_len=8192;
! 5469: ;;
! 5470:
! 5471: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 5472: # This has been around since 386BSD, at least. Likely further.
! 5473: if test -x /sbin/sysctl; then
! 5474: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 5475: elif test -x /usr/sbin/sysctl; then
! 5476: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 5477: else
! 5478: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 5479: fi
! 5480: # And add a safety zone
! 5481: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 5482: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 5483: ;;
! 5484:
! 5485: interix*)
! 5486: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 5487: lt_cv_sys_max_cmd_len=196608
! 5488: ;;
! 5489:
! 5490: osf*)
! 5491: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 5492: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 5493: # nice to cause kernel panics so lets avoid the loop below.
! 5494: # First set a reasonable default.
! 5495: lt_cv_sys_max_cmd_len=16384
! 5496: #
! 5497: if test -x /sbin/sysconfig; then
! 5498: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 5499: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 5500: esac
! 5501: fi
! 5502: ;;
! 5503: sco3.2v5*)
! 5504: lt_cv_sys_max_cmd_len=102400
! 5505: ;;
! 5506: sysv5* | sco5v6* | sysv4.2uw2*)
! 5507: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 5508: if test -n "$kargmax"; then
! 5509: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 5510: else
! 5511: lt_cv_sys_max_cmd_len=32768
! 5512: fi
! 5513: ;;
! 5514: *)
! 5515: # If test is not a shell built-in, we'll probably end up computing a
! 5516: # maximum length that is only half of the actual maximum length, but
! 5517: # we can't tell.
! 5518: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 5519: while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
! 5520: = "XX$teststring") >/dev/null 2>&1 &&
! 5521: new_result=`expr "X$teststring" : ".*" 2>&1` &&
! 5522: lt_cv_sys_max_cmd_len=$new_result &&
! 5523: test $i != 17 # 1/2 MB should be enough
! 5524: do
! 5525: i=`expr $i + 1`
! 5526: teststring=$teststring$teststring
! 5527: done
! 5528: teststring=
! 5529: # Add a significant safety factor because C++ compilers can tack on massive
! 5530: # amounts of additional arguments before passing them to the linker.
! 5531: # It appears as though 1/2 is a usable value.
! 5532: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 5533: ;;
! 5534: esac
! 5535:
! 5536: fi
! 5537:
! 5538: if test -n $lt_cv_sys_max_cmd_len ; then
! 5539: echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
! 5540: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
! 5541: else
! 5542: echo "$as_me:$LINENO: result: none" >&5
! 5543: echo "${ECHO_T}none" >&6
! 5544: fi
! 5545:
! 5546:
! 5547:
! 5548:
! 5549: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 5550: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
! 5551: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
! 5552: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 5553: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5554: else
! 5555:
! 5556: # These are sane defaults that work on at least a few old systems.
! 5557: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 5558:
! 5559: # Character class describing NM global symbol codes.
! 5560: symcode='[BCDEGRST]'
! 5561:
! 5562: # Regexp to match symbols that can be accessed directly from C.
! 5563: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 5564:
! 5565: # Transform an extracted symbol line into a proper C declaration
! 5566: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
! 5567:
! 5568: # Transform an extracted symbol line into symbol name and symbol address
! 5569: 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'"
! 5570:
! 5571: # Define system-specific variables.
! 5572: case $host_os in
! 5573: aix*)
! 5574: symcode='[BCDT]'
! 5575: ;;
! 5576: cygwin* | mingw* | pw32*)
! 5577: symcode='[ABCDGISTW]'
! 5578: ;;
! 5579: hpux*) # Its linker distinguishes data from code symbols
! 5580: if test "$host_cpu" = ia64; then
! 5581: symcode='[ABCDEGRST]'
! 5582: fi
! 5583: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 5584: 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'"
! 5585: ;;
! 5586: linux*)
! 5587: if test "$host_cpu" = ia64; then
! 5588: symcode='[ABCDGIRSTW]'
! 5589: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 5590: 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'"
! 5591: fi
! 5592: ;;
! 5593: irix* | nonstopux*)
! 5594: symcode='[BCDEGRST]'
! 5595: ;;
! 5596: osf*)
! 5597: symcode='[BCDEGQRST]'
! 5598: ;;
! 5599: solaris*)
! 5600: symcode='[BDRT]'
! 5601: ;;
! 5602: sco3.2v5*)
! 5603: symcode='[DT]'
! 5604: ;;
! 5605: sysv4.2uw2*)
! 5606: symcode='[DT]'
! 5607: ;;
! 5608: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 5609: symcode='[ABDT]'
! 5610: ;;
! 5611: sysv4)
! 5612: symcode='[DFNSTU]'
! 5613: ;;
! 5614: esac
! 5615:
! 5616: # Handle CRLF in mingw tool chain
! 5617: opt_cr=
! 5618: case $build_os in
! 5619: mingw*)
! 5620: opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 5621: ;;
! 5622: esac
! 5623:
! 5624: # If we're using GNU nm, then use its standard symbol codes.
! 5625: case `$NM -V 2>&1` in
! 5626: *GNU* | *'with BFD'*)
! 5627: symcode='[ABCDGIRSTW]' ;;
! 5628: esac
! 5629:
! 5630: # Try without a prefix undercore, then with it.
! 5631: for ac_symprfx in "" "_"; do
! 5632:
! 5633: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 5634: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 5635:
! 5636: # Write the raw and C identifiers.
! 5637: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 5638:
! 5639: # Check to see that the pipe works correctly.
! 5640: pipe_works=no
! 5641:
! 5642: rm -f conftest*
! 5643: cat > conftest.$ac_ext <<EOF
! 5644: #ifdef __cplusplus
! 5645: extern "C" {
! 5646: #endif
! 5647: char nm_test_var;
! 5648: void nm_test_func(){}
! 5649: #ifdef __cplusplus
! 5650: }
! 5651: #endif
! 5652: int main(){nm_test_var='a';nm_test_func();return(0);}
! 5653: EOF
! 5654:
! 5655: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5656: (eval $ac_compile) 2>&5
! 5657: ac_status=$?
! 5658: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5659: (exit $ac_status); }; then
! 5660: # Now try to grab the symbols.
! 5661: nlist=conftest.nm
! 5662: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 5663: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 5664: ac_status=$?
! 5665: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5666: (exit $ac_status); } && test -s "$nlist"; then
! 5667: # Try sorting and uniquifying the output.
! 5668: if sort "$nlist" | uniq > "$nlist"T; then
! 5669: mv -f "$nlist"T "$nlist"
! 5670: else
! 5671: rm -f "$nlist"T
! 5672: fi
! 5673:
! 5674: # Make sure that we snagged all the symbols we need.
! 5675: if grep ' nm_test_var$' "$nlist" >/dev/null; then
! 5676: if grep ' nm_test_func$' "$nlist" >/dev/null; then
! 5677: cat <<EOF > conftest.$ac_ext
! 5678: #ifdef __cplusplus
! 5679: extern "C" {
! 5680: #endif
! 5681:
! 5682: EOF
! 5683: # Now generate the symbol file.
! 5684: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
! 5685:
! 5686: cat <<EOF >> conftest.$ac_ext
! 5687: #if defined (__STDC__) && __STDC__
! 5688: # define lt_ptr_t void *
! 5689: #else
! 5690: # define lt_ptr_t char *
! 5691: # define const
! 5692: #endif
! 5693:
! 5694: /* The mapping between symbol names and symbols. */
! 5695: const struct {
! 5696: const char *name;
! 5697: lt_ptr_t address;
! 5698: }
! 5699: lt_preloaded_symbols[] =
! 5700: {
! 5701: EOF
! 5702: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
! 5703: cat <<\EOF >> conftest.$ac_ext
! 5704: {0, (lt_ptr_t) 0}
! 5705: };
! 5706:
! 5707: #ifdef __cplusplus
! 5708: }
! 5709: #endif
! 5710: EOF
! 5711: # Now try linking the two files.
! 5712: mv conftest.$ac_objext conftstm.$ac_objext
! 5713: lt_save_LIBS="$LIBS"
! 5714: lt_save_CFLAGS="$CFLAGS"
! 5715: LIBS="conftstm.$ac_objext"
! 5716: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 5717: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5718: (eval $ac_link) 2>&5
! 5719: ac_status=$?
! 5720: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5721: (exit $ac_status); } && test -s conftest${ac_exeext}; then
! 5722: pipe_works=yes
! 5723: fi
! 5724: LIBS="$lt_save_LIBS"
! 5725: CFLAGS="$lt_save_CFLAGS"
! 5726: else
! 5727: echo "cannot find nm_test_func in $nlist" >&5
! 5728: fi
! 5729: else
! 5730: echo "cannot find nm_test_var in $nlist" >&5
! 5731: fi
! 5732: else
! 5733: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 5734: fi
! 5735: else
! 5736: echo "$progname: failed program was:" >&5
! 5737: cat conftest.$ac_ext >&5
! 5738: fi
! 5739: rm -f conftest* conftst*
! 5740:
! 5741: # Do not use the global_symbol_pipe unless it works.
! 5742: if test "$pipe_works" = yes; then
! 5743: break
! 5744: else
! 5745: lt_cv_sys_global_symbol_pipe=
! 5746: fi
! 5747: done
! 5748:
! 5749: fi
! 5750:
! 5751: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 5752: lt_cv_sys_global_symbol_to_cdecl=
! 5753: fi
! 5754: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 5755: echo "$as_me:$LINENO: result: failed" >&5
! 5756: echo "${ECHO_T}failed" >&6
! 5757: else
! 5758: echo "$as_me:$LINENO: result: ok" >&5
! 5759: echo "${ECHO_T}ok" >&6
! 5760: fi
! 5761:
! 5762: echo "$as_me:$LINENO: checking for objdir" >&5
! 5763: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 5764: if test "${lt_cv_objdir+set}" = set; then
! 5765: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5766: else
! 5767: rm -f .libs 2>/dev/null
! 5768: mkdir .libs 2>/dev/null
! 5769: if test -d .libs; then
! 5770: lt_cv_objdir=.libs
! 5771: else
! 5772: # MS-DOS does not allow filenames that begin with a dot.
! 5773: lt_cv_objdir=_libs
! 5774: fi
! 5775: rmdir .libs 2>/dev/null
! 5776: fi
! 5777: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
! 5778: echo "${ECHO_T}$lt_cv_objdir" >&6
! 5779: objdir=$lt_cv_objdir
! 5780:
! 5781:
! 5782:
! 5783:
! 5784:
! 5785: case $host_os in
! 5786: aix3*)
! 5787: # AIX sometimes has problems with the GCC collect2 program. For some
! 5788: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 5789: # vanish in a puff of smoke.
! 5790: if test "X${COLLECT_NAMES+set}" != Xset; then
! 5791: COLLECT_NAMES=
! 5792: export COLLECT_NAMES
! 5793: fi
! 5794: ;;
! 5795: esac
! 5796:
! 5797: # Sed substitution that helps us do robust quoting. It backslashifies
! 5798: # metacharacters that are still active within double-quoted strings.
! 5799: Xsed='sed -e 1s/^X//'
! 5800: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
! 5801:
! 5802: # Same as above, but do not quote variable references.
! 5803: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
! 5804:
! 5805: # Sed substitution to delay expansion of an escaped shell variable in a
! 5806: # double_quote_subst'ed string.
! 5807: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 5808:
! 5809: # Sed substitution to avoid accidental globbing in evaled expressions
! 5810: no_glob_subst='s/\*/\\\*/g'
! 5811:
! 5812: # Constants:
! 5813: rm="rm -f"
! 5814:
! 5815: # Global variables:
! 5816: default_ofile=libtool
! 5817: can_build_shared=yes
! 5818:
! 5819: # All known linkers require a `.a' archive for static linking (except MSVC,
! 5820: # which needs '.lib').
! 5821: libext=a
! 5822: ltmain="$ac_aux_dir/ltmain.sh"
! 5823: ofile="$default_ofile"
! 5824: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 5825:
! 5826: if test -n "$ac_tool_prefix"; then
! 5827: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 5828: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 5829: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5830: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5831: if test "${ac_cv_prog_AR+set}" = set; then
! 5832: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5833: else
! 5834: if test -n "$AR"; then
! 5835: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5836: else
! 5837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5838: for as_dir in $PATH
! 5839: do
! 5840: IFS=$as_save_IFS
! 5841: test -z "$as_dir" && as_dir=.
! 5842: for ac_exec_ext in '' $ac_executable_extensions; do
! 5843: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5844: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 5845: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5846: break 2
! 5847: fi
! 5848: done
! 5849: done
! 5850:
! 5851: fi
! 5852: fi
! 5853: AR=$ac_cv_prog_AR
! 5854: if test -n "$AR"; then
! 5855: echo "$as_me:$LINENO: result: $AR" >&5
! 5856: echo "${ECHO_T}$AR" >&6
! 5857: else
! 5858: echo "$as_me:$LINENO: result: no" >&5
! 5859: echo "${ECHO_T}no" >&6
! 5860: fi
! 5861:
! 5862: fi
! 5863: if test -z "$ac_cv_prog_AR"; then
! 5864: ac_ct_AR=$AR
! 5865: # Extract the first word of "ar", so it can be a program name with args.
! 5866: set dummy ar; ac_word=$2
! 5867: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5868: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5869: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
! 5870: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5871: else
! 5872: if test -n "$ac_ct_AR"; then
! 5873: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5874: else
! 5875: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5876: for as_dir in $PATH
! 5877: do
! 5878: IFS=$as_save_IFS
! 5879: test -z "$as_dir" && as_dir=.
! 5880: for ac_exec_ext in '' $ac_executable_extensions; do
! 5881: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5882: ac_cv_prog_ac_ct_AR="ar"
! 5883: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5884: break 2
! 5885: fi
! 5886: done
! 5887: done
! 5888:
! 5889: test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
! 5890: fi
! 5891: fi
! 5892: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5893: if test -n "$ac_ct_AR"; then
! 5894: echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
! 5895: echo "${ECHO_T}$ac_ct_AR" >&6
! 5896: else
! 5897: echo "$as_me:$LINENO: result: no" >&5
! 5898: echo "${ECHO_T}no" >&6
! 5899: fi
! 5900:
! 5901: AR=$ac_ct_AR
! 5902: else
! 5903: AR="$ac_cv_prog_AR"
! 5904: fi
! 5905:
! 5906: if test -n "$ac_tool_prefix"; then
! 5907: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5908: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5909: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5910: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5911: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 5912: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5913: else
! 5914: if test -n "$RANLIB"; then
! 5915: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5916: else
! 5917: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5918: for as_dir in $PATH
! 5919: do
! 5920: IFS=$as_save_IFS
! 5921: test -z "$as_dir" && as_dir=.
! 5922: for ac_exec_ext in '' $ac_executable_extensions; do
! 5923: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5924: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5925: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5926: break 2
! 5927: fi
! 5928: done
! 5929: done
! 5930:
! 5931: fi
! 5932: fi
! 5933: RANLIB=$ac_cv_prog_RANLIB
! 5934: if test -n "$RANLIB"; then
! 5935: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5936: echo "${ECHO_T}$RANLIB" >&6
! 5937: else
! 5938: echo "$as_me:$LINENO: result: no" >&5
! 5939: echo "${ECHO_T}no" >&6
! 5940: fi
! 5941:
! 5942: fi
! 5943: if test -z "$ac_cv_prog_RANLIB"; then
! 5944: ac_ct_RANLIB=$RANLIB
! 5945: # Extract the first word of "ranlib", so it can be a program name with args.
! 5946: set dummy ranlib; ac_word=$2
! 5947: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5948: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5949: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5950: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5951: else
! 5952: if test -n "$ac_ct_RANLIB"; then
! 5953: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5954: else
! 5955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5956: for as_dir in $PATH
! 5957: do
! 5958: IFS=$as_save_IFS
! 5959: test -z "$as_dir" && as_dir=.
! 5960: for ac_exec_ext in '' $ac_executable_extensions; do
! 5961: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5962: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5963: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5964: break 2
! 5965: fi
! 5966: done
! 5967: done
! 5968:
! 5969: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 5970: fi
! 5971: fi
! 5972: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5973: if test -n "$ac_ct_RANLIB"; then
! 5974: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5975: echo "${ECHO_T}$ac_ct_RANLIB" >&6
! 5976: else
! 5977: echo "$as_me:$LINENO: result: no" >&5
! 5978: echo "${ECHO_T}no" >&6
! 5979: fi
! 5980:
! 5981: RANLIB=$ac_ct_RANLIB
! 5982: else
! 5983: RANLIB="$ac_cv_prog_RANLIB"
! 5984: fi
! 5985:
! 5986: if test -n "$ac_tool_prefix"; then
! 5987: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5988: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5989: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5990: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5991: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5992: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5993: else
! 5994: if test -n "$STRIP"; then
! 5995: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5996: else
! 5997: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5998: for as_dir in $PATH
! 5999: do
! 6000: IFS=$as_save_IFS
! 6001: test -z "$as_dir" && as_dir=.
! 6002: for ac_exec_ext in '' $ac_executable_extensions; do
! 6003: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6004: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 6005: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6006: break 2
! 6007: fi
! 6008: done
! 6009: done
! 6010:
! 6011: fi
! 6012: fi
! 6013: STRIP=$ac_cv_prog_STRIP
! 6014: if test -n "$STRIP"; then
! 6015: echo "$as_me:$LINENO: result: $STRIP" >&5
! 6016: echo "${ECHO_T}$STRIP" >&6
! 6017: else
! 6018: echo "$as_me:$LINENO: result: no" >&5
! 6019: echo "${ECHO_T}no" >&6
! 6020: fi
! 6021:
! 6022: fi
! 6023: if test -z "$ac_cv_prog_STRIP"; then
! 6024: ac_ct_STRIP=$STRIP
! 6025: # Extract the first word of "strip", so it can be a program name with args.
! 6026: set dummy strip; ac_word=$2
! 6027: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 6028: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 6029: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 6030: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6031: else
! 6032: if test -n "$ac_ct_STRIP"; then
! 6033: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 6034: else
! 6035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6036: for as_dir in $PATH
! 6037: do
! 6038: IFS=$as_save_IFS
! 6039: test -z "$as_dir" && as_dir=.
! 6040: for ac_exec_ext in '' $ac_executable_extensions; do
! 6041: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6042: ac_cv_prog_ac_ct_STRIP="strip"
! 6043: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6044: break 2
! 6045: fi
! 6046: done
! 6047: done
! 6048:
! 6049: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 6050: fi
! 6051: fi
! 6052: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 6053: if test -n "$ac_ct_STRIP"; then
! 6054: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 6055: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 6056: else
! 6057: echo "$as_me:$LINENO: result: no" >&5
! 6058: echo "${ECHO_T}no" >&6
! 6059: fi
! 6060:
! 6061: STRIP=$ac_ct_STRIP
! 6062: else
! 6063: STRIP="$ac_cv_prog_STRIP"
! 6064: fi
! 6065:
! 6066:
! 6067: old_CC="$CC"
! 6068: old_CFLAGS="$CFLAGS"
! 6069:
! 6070: # Set sane defaults for various variables
! 6071: test -z "$AR" && AR=ar
! 6072: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 6073: test -z "$AS" && AS=as
! 6074: test -z "$CC" && CC=cc
! 6075: test -z "$LTCC" && LTCC=$CC
! 6076: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 6077: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 6078: test -z "$LD" && LD=ld
! 6079: test -z "$LN_S" && LN_S="ln -s"
! 6080: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 6081: test -z "$NM" && NM=nm
! 6082: test -z "$SED" && SED=sed
! 6083: test -z "$OBJDUMP" && OBJDUMP=objdump
! 6084: test -z "$RANLIB" && RANLIB=:
! 6085: test -z "$STRIP" && STRIP=:
! 6086: test -z "$ac_objext" && ac_objext=o
! 6087:
! 6088: # Determine commands to create old-style static archives.
! 6089: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
! 6090: old_postinstall_cmds='chmod 644 $oldlib'
! 6091: old_postuninstall_cmds=
! 6092:
! 6093: if test -n "$RANLIB"; then
! 6094: case $host_os in
! 6095: openbsd*)
! 6096: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 6097: ;;
! 6098: *)
! 6099: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 6100: ;;
! 6101: esac
! 6102: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 6103: fi
! 6104:
! 6105: for cc_temp in $compiler""; do
! 6106: case $cc_temp in
! 6107: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 6108: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 6109: \-*) ;;
! 6110: *) break;;
! 6111: esac
! 6112: done
! 6113: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 6114:
! 6115:
! 6116: # Only perform the check for file, if the check method requires it
! 6117: case $deplibs_check_method in
! 6118: file_magic*)
! 6119: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 6120: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 6121: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 6122: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 6123: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6124: else
! 6125: case $MAGIC_CMD in
! 6126: [\\/*] | ?:[\\/]*)
! 6127: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 6128: ;;
! 6129: *)
! 6130: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 6131: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 6132: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 6133: for ac_dir in $ac_dummy; do
! 6134: IFS="$lt_save_ifs"
! 6135: test -z "$ac_dir" && ac_dir=.
! 6136: if test -f $ac_dir/${ac_tool_prefix}file; then
! 6137: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 6138: if test -n "$file_magic_test_file"; then
! 6139: case $deplibs_check_method in
! 6140: "file_magic "*)
! 6141: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 6142: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 6143: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 6144: $EGREP "$file_magic_regex" > /dev/null; then
! 6145: :
! 6146: else
! 6147: cat <<EOF 1>&2
! 6148:
! 6149: *** Warning: the command libtool uses to detect shared libraries,
! 6150: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 6151: *** The result is that libtool may fail to recognize shared libraries
! 6152: *** as such. This will affect the creation of libtool libraries that
! 6153: *** depend on shared libraries, but programs linked with such libtool
! 6154: *** libraries will work regardless of this problem. Nevertheless, you
! 6155: *** may want to report the problem to your system manager and/or to
! 6156: *** bug-libtool@gnu.org
! 6157:
! 6158: EOF
! 6159: fi ;;
! 6160: esac
! 6161: fi
! 6162: break
! 6163: fi
! 6164: done
! 6165: IFS="$lt_save_ifs"
! 6166: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 6167: ;;
! 6168: esac
! 6169: fi
! 6170:
! 6171: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 6172: if test -n "$MAGIC_CMD"; then
! 6173: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 6174: echo "${ECHO_T}$MAGIC_CMD" >&6
! 6175: else
! 6176: echo "$as_me:$LINENO: result: no" >&5
! 6177: echo "${ECHO_T}no" >&6
! 6178: fi
! 6179:
! 6180: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 6181: if test -n "$ac_tool_prefix"; then
! 6182: echo "$as_me:$LINENO: checking for file" >&5
! 6183: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 6184: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 6185: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6186: else
! 6187: case $MAGIC_CMD in
! 6188: [\\/*] | ?:[\\/]*)
! 6189: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 6190: ;;
! 6191: *)
! 6192: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 6193: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 6194: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 6195: for ac_dir in $ac_dummy; do
! 6196: IFS="$lt_save_ifs"
! 6197: test -z "$ac_dir" && ac_dir=.
! 6198: if test -f $ac_dir/file; then
! 6199: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 6200: if test -n "$file_magic_test_file"; then
! 6201: case $deplibs_check_method in
! 6202: "file_magic "*)
! 6203: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 6204: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 6205: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 6206: $EGREP "$file_magic_regex" > /dev/null; then
! 6207: :
! 6208: else
! 6209: cat <<EOF 1>&2
! 6210:
! 6211: *** Warning: the command libtool uses to detect shared libraries,
! 6212: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 6213: *** The result is that libtool may fail to recognize shared libraries
! 6214: *** as such. This will affect the creation of libtool libraries that
! 6215: *** depend on shared libraries, but programs linked with such libtool
! 6216: *** libraries will work regardless of this problem. Nevertheless, you
! 6217: *** may want to report the problem to your system manager and/or to
! 6218: *** bug-libtool@gnu.org
! 6219:
! 6220: EOF
! 6221: fi ;;
! 6222: esac
! 6223: fi
! 6224: break
! 6225: fi
! 6226: done
! 6227: IFS="$lt_save_ifs"
! 6228: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 6229: ;;
! 6230: esac
! 6231: fi
! 6232:
! 6233: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 6234: if test -n "$MAGIC_CMD"; then
! 6235: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 6236: echo "${ECHO_T}$MAGIC_CMD" >&6
! 6237: else
! 6238: echo "$as_me:$LINENO: result: no" >&5
! 6239: echo "${ECHO_T}no" >&6
! 6240: fi
! 6241:
! 6242: else
! 6243: MAGIC_CMD=:
! 6244: fi
! 6245: fi
! 6246:
! 6247: fi
! 6248: ;;
! 6249: esac
! 6250:
! 6251: enable_dlopen=no
! 6252: enable_win32_dll=no
! 6253:
! 6254: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 6255: if test "${enable_libtool_lock+set}" = set; then
! 6256: enableval="$enable_libtool_lock"
! 6257:
! 6258: fi;
! 6259: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 6260:
! 6261:
! 6262: # Check whether --with-pic or --without-pic was given.
! 6263: if test "${with_pic+set}" = set; then
! 6264: withval="$with_pic"
! 6265: pic_mode="$withval"
! 6266: else
! 6267: pic_mode=default
! 6268: fi;
! 6269: test -z "$pic_mode" && pic_mode=default
! 6270:
! 6271: # Use C for the default configuration in the libtool script
! 6272: tagname=
! 6273: lt_save_CC="$CC"
! 6274: ac_ext=c
! 6275: ac_cpp='$CPP $CPPFLAGS'
! 6276: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6277: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6278: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6279:
! 6280:
! 6281: # Source file extension for C test sources.
! 6282: ac_ext=c
! 6283:
! 6284: # Object file extension for compiled C test sources.
! 6285: objext=o
! 6286: objext=$objext
! 6287:
! 6288: # Code to be used in simple compile tests
! 6289: lt_simple_compile_test_code="int some_variable = 0;\n"
! 6290:
! 6291: # Code to be used in simple link tests
! 6292: lt_simple_link_test_code='int main(){return(0);}\n'
! 6293:
! 6294:
! 6295: # If no C compiler was specified, use CC.
! 6296: LTCC=${LTCC-"$CC"}
! 6297:
! 6298: # If no C compiler flags were specified, use CFLAGS.
! 6299: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 6300:
! 6301: # Allow CC to be a program name with arguments.
! 6302: compiler=$CC
! 6303:
! 6304:
! 6305: # save warnings/boilerplate of simple test code
! 6306: ac_outfile=conftest.$ac_objext
! 6307: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
! 6308: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 6309: _lt_compiler_boilerplate=`cat conftest.err`
! 6310: $rm conftest*
! 6311:
! 6312: ac_outfile=conftest.$ac_objext
! 6313: printf "$lt_simple_link_test_code" >conftest.$ac_ext
! 6314: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 6315: _lt_linker_boilerplate=`cat conftest.err`
! 6316: $rm conftest*
! 6317:
! 6318:
! 6319:
! 6320: lt_prog_compiler_no_builtin_flag=
! 6321:
! 6322: if test "$GCC" = yes; then
! 6323: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 6324:
! 6325:
! 6326: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 6327: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 6328: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 6329: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6330: else
! 6331: lt_cv_prog_compiler_rtti_exceptions=no
! 6332: ac_outfile=conftest.$ac_objext
! 6333: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 6334: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 6335: # Insert the option either (1) after the last *FLAGS variable, or
! 6336: # (2) before a word containing "conftest.", or (3) at the end.
! 6337: # Note that $ac_compile itself does not contain backslashes and begins
! 6338: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 6339: # The option is referenced via a variable to avoid confusing sed.
! 6340: lt_compile=`echo "$ac_compile" | $SED \
! 6341: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 6342: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 6343: -e 's:$: $lt_compiler_flag:'`
! 6344: (eval echo "\"\$as_me:6344: $lt_compile\"" >&5)
! 6345: (eval "$lt_compile" 2>conftest.err)
! 6346: ac_status=$?
! 6347: cat conftest.err >&5
! 6348: echo "$as_me:6348: \$? = $ac_status" >&5
! 6349: if (exit $ac_status) && test -s "$ac_outfile"; then
! 6350: # The compiler can only warn and ignore the option if not recognized
! 6351: # So say no if there are warnings other than the usual output.
! 6352: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 6353: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 6354: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 6355: lt_cv_prog_compiler_rtti_exceptions=yes
! 6356: fi
! 6357: fi
! 6358: $rm conftest*
! 6359:
! 6360: fi
! 6361: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 6362: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
! 6363:
! 6364: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 6365: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 6366: else
! 6367: :
! 6368: fi
! 6369:
! 6370: fi
! 6371:
! 6372: lt_prog_compiler_wl=
! 6373: lt_prog_compiler_pic=
! 6374: lt_prog_compiler_static=
! 6375:
! 6376: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 6377: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 6378:
! 6379: if test "$GCC" = yes; then
! 6380: lt_prog_compiler_wl='-Wl,'
! 6381: lt_prog_compiler_static='-static'
! 6382:
! 6383: case $host_os in
! 6384: aix*)
! 6385: # All AIX code is PIC.
! 6386: if test "$host_cpu" = ia64; then
! 6387: # AIX 5 now supports IA64 processor
! 6388: lt_prog_compiler_static='-Bstatic'
! 6389: fi
! 6390: ;;
! 6391:
! 6392: amigaos*)
! 6393: # FIXME: we need at least 68020 code to build shared libraries, but
! 6394: # adding the `-m68020' flag to GCC prevents building anything better,
! 6395: # like `-m68040'.
! 6396: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 6397: ;;
! 6398:
! 6399: beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 6400: # PIC is the default for these OSes.
! 6401: ;;
! 6402:
! 6403: mingw* | pw32* | os2*)
! 6404: # This hack is so that the source file can tell whether it is being
! 6405: # built for inclusion in a dll (and should export symbols for example).
! 6406: lt_prog_compiler_pic='-DDLL_EXPORT'
! 6407: ;;
! 6408:
! 6409: darwin* | rhapsody*)
! 6410: # PIC is the default on this platform
! 6411: # Common symbols not allowed in MH_DYLIB files
! 6412: lt_prog_compiler_pic='-fno-common'
! 6413: ;;
! 6414:
! 6415: interix3*)
! 6416: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 6417: # Instead, we relocate shared libraries at runtime.
! 6418: ;;
! 6419:
! 6420: msdosdjgpp*)
! 6421: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 6422: # on systems that don't support them.
! 6423: lt_prog_compiler_can_build_shared=no
! 6424: enable_shared=no
! 6425: ;;
! 6426:
! 6427: sysv4*MP*)
! 6428: if test -d /usr/nec; then
! 6429: lt_prog_compiler_pic=-Kconform_pic
! 6430: fi
! 6431: ;;
! 6432:
! 6433: hpux*)
! 6434: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 6435: # not for PA HP-UX.
! 6436: case $host_cpu in
! 6437: hppa*64*|ia64*)
! 6438: # +Z the default
! 6439: ;;
! 6440: *)
! 6441: lt_prog_compiler_pic='-fPIC'
! 6442: ;;
! 6443: esac
! 6444: ;;
! 6445:
! 6446: *)
! 6447: lt_prog_compiler_pic='-fPIC'
! 6448: ;;
! 6449: esac
! 6450: else
! 6451: # PORTME Check for flag to pass linker flags through the system compiler.
! 6452: case $host_os in
! 6453: aix*)
! 6454: lt_prog_compiler_wl='-Wl,'
! 6455: if test "$host_cpu" = ia64; then
! 6456: # AIX 5 now supports IA64 processor
! 6457: lt_prog_compiler_static='-Bstatic'
! 6458: else
! 6459: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 6460: fi
! 6461: ;;
! 6462: darwin*)
! 6463: # PIC is the default on this platform
! 6464: # Common symbols not allowed in MH_DYLIB files
! 6465: case $cc_basename in
! 6466: xlc*)
! 6467: lt_prog_compiler_pic='-qnocommon'
! 6468: lt_prog_compiler_wl='-Wl,'
! 6469: ;;
! 6470: esac
! 6471: ;;
! 6472:
! 6473: mingw* | pw32* | os2*)
! 6474: # This hack is so that the source file can tell whether it is being
! 6475: # built for inclusion in a dll (and should export symbols for example).
! 6476: lt_prog_compiler_pic='-DDLL_EXPORT'
! 6477: ;;
! 6478:
! 6479: hpux9* | hpux10* | hpux11*)
! 6480: lt_prog_compiler_wl='-Wl,'
! 6481: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 6482: # not for PA HP-UX.
! 6483: case $host_cpu in
! 6484: hppa*64*|ia64*)
! 6485: # +Z the default
! 6486: ;;
! 6487: *)
! 6488: lt_prog_compiler_pic='+Z'
! 6489: ;;
! 6490: esac
! 6491: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 6492: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 6493: ;;
! 6494:
! 6495: irix5* | irix6* | nonstopux*)
! 6496: lt_prog_compiler_wl='-Wl,'
! 6497: # PIC (with -KPIC) is the default.
! 6498: lt_prog_compiler_static='-non_shared'
! 6499: ;;
! 6500:
! 6501: newsos6)
! 6502: lt_prog_compiler_pic='-KPIC'
! 6503: lt_prog_compiler_static='-Bstatic'
! 6504: ;;
! 6505:
! 6506: linux*)
! 6507: case $cc_basename in
! 6508: icc* | ecc*)
! 6509: lt_prog_compiler_wl='-Wl,'
! 6510: lt_prog_compiler_pic='-KPIC'
! 6511: lt_prog_compiler_static='-static'
! 6512: ;;
! 6513: pgcc* | pgf77* | pgf90* | pgf95*)
! 6514: # Portland Group compilers (*not* the Pentium gcc compiler,
! 6515: # which looks to be a dead project)
! 6516: lt_prog_compiler_wl='-Wl,'
! 6517: lt_prog_compiler_pic='-fpic'
! 6518: lt_prog_compiler_static='-Bstatic'
! 6519: ;;
! 6520: ccc*)
! 6521: lt_prog_compiler_wl='-Wl,'
! 6522: # All Alpha code is PIC.
! 6523: lt_prog_compiler_static='-non_shared'
! 6524: ;;
! 6525: esac
! 6526: ;;
! 6527:
! 6528: osf3* | osf4* | osf5*)
! 6529: lt_prog_compiler_wl='-Wl,'
! 6530: # All OSF/1 code is PIC.
! 6531: lt_prog_compiler_static='-non_shared'
! 6532: ;;
! 6533:
! 6534: solaris*)
! 6535: lt_prog_compiler_pic='-KPIC'
! 6536: lt_prog_compiler_static='-Bstatic'
! 6537: case $cc_basename in
! 6538: f77* | f90* | f95*)
! 6539: lt_prog_compiler_wl='-Qoption ld ';;
! 6540: *)
! 6541: lt_prog_compiler_wl='-Wl,';;
! 6542: esac
! 6543: ;;
! 6544:
! 6545: sunos4*)
! 6546: lt_prog_compiler_wl='-Qoption ld '
! 6547: lt_prog_compiler_pic='-PIC'
! 6548: lt_prog_compiler_static='-Bstatic'
! 6549: ;;
! 6550:
! 6551: sysv4 | sysv4.2uw2* | sysv4.3*)
! 6552: lt_prog_compiler_wl='-Wl,'
! 6553: lt_prog_compiler_pic='-KPIC'
! 6554: lt_prog_compiler_static='-Bstatic'
! 6555: ;;
! 6556:
! 6557: sysv4*MP*)
! 6558: if test -d /usr/nec ;then
! 6559: lt_prog_compiler_pic='-Kconform_pic'
! 6560: lt_prog_compiler_static='-Bstatic'
! 6561: fi
! 6562: ;;
! 6563:
! 6564: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 6565: lt_prog_compiler_wl='-Wl,'
! 6566: lt_prog_compiler_pic='-KPIC'
! 6567: lt_prog_compiler_static='-Bstatic'
! 6568: ;;
! 6569:
! 6570: unicos*)
! 6571: lt_prog_compiler_wl='-Wl,'
! 6572: lt_prog_compiler_can_build_shared=no
! 6573: ;;
! 6574:
! 6575: uts4*)
! 6576: lt_prog_compiler_pic='-pic'
! 6577: lt_prog_compiler_static='-Bstatic'
! 6578: ;;
! 6579:
! 6580: *)
! 6581: lt_prog_compiler_can_build_shared=no
! 6582: ;;
! 6583: esac
! 6584: fi
! 6585:
! 6586: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
! 6587: echo "${ECHO_T}$lt_prog_compiler_pic" >&6
! 6588:
! 6589: #
! 6590: # Check to make sure the PIC flag actually works.
! 6591: #
! 6592: if test -n "$lt_prog_compiler_pic"; then
! 6593:
! 6594: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 6595: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
! 6596: if test "${lt_prog_compiler_pic_works+set}" = set; then
! 6597: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6598: else
! 6599: lt_prog_compiler_pic_works=no
! 6600: ac_outfile=conftest.$ac_objext
! 6601: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 6602: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 6603: # Insert the option either (1) after the last *FLAGS variable, or
! 6604: # (2) before a word containing "conftest.", or (3) at the end.
! 6605: # Note that $ac_compile itself does not contain backslashes and begins
! 6606: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 6607: # The option is referenced via a variable to avoid confusing sed.
! 6608: lt_compile=`echo "$ac_compile" | $SED \
! 6609: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 6610: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 6611: -e 's:$: $lt_compiler_flag:'`
! 6612: (eval echo "\"\$as_me:6612: $lt_compile\"" >&5)
! 6613: (eval "$lt_compile" 2>conftest.err)
! 6614: ac_status=$?
! 6615: cat conftest.err >&5
! 6616: echo "$as_me:6616: \$? = $ac_status" >&5
! 6617: if (exit $ac_status) && test -s "$ac_outfile"; then
! 6618: # The compiler can only warn and ignore the option if not recognized
! 6619: # So say no if there are warnings other than the usual output.
! 6620: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 6621: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 6622: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 6623: lt_prog_compiler_pic_works=yes
! 6624: fi
! 6625: fi
! 6626: $rm conftest*
! 6627:
! 6628: fi
! 6629: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
! 6630: echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
! 6631:
! 6632: if test x"$lt_prog_compiler_pic_works" = xyes; then
! 6633: case $lt_prog_compiler_pic in
! 6634: "" | " "*) ;;
! 6635: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 6636: esac
! 6637: else
! 6638: lt_prog_compiler_pic=
! 6639: lt_prog_compiler_can_build_shared=no
! 6640: fi
! 6641:
! 6642: fi
! 6643: case $host_os in
! 6644: # For platforms which do not support PIC, -DPIC is meaningless:
! 6645: *djgpp*)
! 6646: lt_prog_compiler_pic=
! 6647: ;;
! 6648: *)
! 6649: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 6650: ;;
! 6651: esac
! 6652:
! 6653: #
! 6654: # Check to make sure the static flag actually works.
! 6655: #
! 6656: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 6657: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 6658: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 6659: if test "${lt_prog_compiler_static_works+set}" = set; then
! 6660: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6661: else
! 6662: lt_prog_compiler_static_works=no
! 6663: save_LDFLAGS="$LDFLAGS"
! 6664: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 6665: printf "$lt_simple_link_test_code" > conftest.$ac_ext
! 6666: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 6667: # The linker can only warn and ignore the option if not recognized
! 6668: # So say no if there are warnings
! 6669: if test -s conftest.err; then
! 6670: # Append any errors to the config.log.
! 6671: cat conftest.err 1>&5
! 6672: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 6673: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 6674: if diff conftest.exp conftest.er2 >/dev/null; then
! 6675: lt_prog_compiler_static_works=yes
! 6676: fi
! 6677: else
! 6678: lt_prog_compiler_static_works=yes
! 6679: fi
! 6680: fi
! 6681: $rm conftest*
! 6682: LDFLAGS="$save_LDFLAGS"
! 6683:
! 6684: fi
! 6685: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
! 6686: echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
! 6687:
! 6688: if test x"$lt_prog_compiler_static_works" = xyes; then
! 6689: :
! 6690: else
! 6691: lt_prog_compiler_static=
! 6692: fi
! 6693:
! 6694:
! 6695: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 6696: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 6697: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
! 6698: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6699: else
! 6700: lt_cv_prog_compiler_c_o=no
! 6701: $rm -r conftest 2>/dev/null
! 6702: mkdir conftest
! 6703: cd conftest
! 6704: mkdir out
! 6705: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 6706:
! 6707: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 6708: # Insert the option either (1) after the last *FLAGS variable, or
! 6709: # (2) before a word containing "conftest.", or (3) at the end.
! 6710: # Note that $ac_compile itself does not contain backslashes and begins
! 6711: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 6712: lt_compile=`echo "$ac_compile" | $SED \
! 6713: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 6714: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 6715: -e 's:$: $lt_compiler_flag:'`
! 6716: (eval echo "\"\$as_me:6716: $lt_compile\"" >&5)
! 6717: (eval "$lt_compile" 2>out/conftest.err)
! 6718: ac_status=$?
! 6719: cat out/conftest.err >&5
! 6720: echo "$as_me:6720: \$? = $ac_status" >&5
! 6721: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 6722: then
! 6723: # The compiler can only warn and ignore the option if not recognized
! 6724: # So say no if there are warnings
! 6725: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 6726: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 6727: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 6728: lt_cv_prog_compiler_c_o=yes
! 6729: fi
! 6730: fi
! 6731: chmod u+w . 2>&5
! 6732: $rm conftest*
! 6733: # SGI C++ compiler will create directory out/ii_files/ for
! 6734: # template instantiation
! 6735: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 6736: $rm out/* && rmdir out
! 6737: cd ..
! 6738: rmdir conftest
! 6739: $rm conftest*
! 6740:
! 6741: fi
! 6742: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
! 6743: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
! 6744:
! 6745:
! 6746: hard_links="nottested"
! 6747: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 6748: # do not overwrite the value of need_locks provided by the user
! 6749: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 6750: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 6751: hard_links=yes
! 6752: $rm conftest*
! 6753: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 6754: touch conftest.a
! 6755: ln conftest.a conftest.b 2>&5 || hard_links=no
! 6756: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 6757: echo "$as_me:$LINENO: result: $hard_links" >&5
! 6758: echo "${ECHO_T}$hard_links" >&6
! 6759: if test "$hard_links" = no; then
! 6760: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 6761: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 6762: need_locks=warn
! 6763: fi
! 6764: else
! 6765: need_locks=no
! 6766: fi
! 6767:
! 6768: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 6769: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 6770:
! 6771: runpath_var=
! 6772: allow_undefined_flag=
! 6773: enable_shared_with_static_runtimes=no
! 6774: archive_cmds=
! 6775: archive_expsym_cmds=
! 6776: old_archive_From_new_cmds=
! 6777: old_archive_from_expsyms_cmds=
! 6778: export_dynamic_flag_spec=
! 6779: whole_archive_flag_spec=
! 6780: thread_safe_flag_spec=
! 6781: hardcode_libdir_flag_spec=
! 6782: hardcode_libdir_flag_spec_ld=
! 6783: hardcode_libdir_separator=
! 6784: hardcode_direct=no
! 6785: hardcode_minus_L=no
! 6786: hardcode_shlibpath_var=unsupported
! 6787: link_all_deplibs=unknown
! 6788: hardcode_automatic=no
! 6789: module_cmds=
! 6790: module_expsym_cmds=
! 6791: always_export_symbols=no
! 6792: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 6793: # include_expsyms should be a list of space-separated symbols to be *always*
! 6794: # included in the symbol list
! 6795: include_expsyms=
! 6796: # exclude_expsyms can be an extended regexp of symbols to exclude
! 6797: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 6798: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 6799: # as well as any symbol that contains `d'.
! 6800: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
! 6801: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 6802: # platforms (ab)use it in PIC code, but their linkers get confused if
! 6803: # the symbol is explicitly referenced. Since portable code cannot
! 6804: # rely on this symbol name, it's probably fine to never include it in
! 6805: # preloaded symbol tables.
! 6806: extract_expsyms_cmds=
! 6807: # Just being paranoid about ensuring that cc_basename is set.
! 6808: for cc_temp in $compiler""; do
! 6809: case $cc_temp in
! 6810: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 6811: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 6812: \-*) ;;
! 6813: *) break;;
! 6814: esac
! 6815: done
! 6816: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 6817:
! 6818: case $host_os in
! 6819: cygwin* | mingw* | pw32*)
! 6820: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 6821: # When not using gcc, we currently assume that we are using
! 6822: # Microsoft Visual C++.
! 6823: if test "$GCC" != yes; then
! 6824: with_gnu_ld=no
! 6825: fi
! 6826: ;;
! 6827: interix*)
! 6828: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 6829: with_gnu_ld=yes
! 6830: ;;
! 6831: openbsd*)
! 6832: with_gnu_ld=no
! 6833: ;;
! 6834: esac
! 6835:
! 6836: ld_shlibs=yes
! 6837: if test "$with_gnu_ld" = yes; then
! 6838: # If archive_cmds runs LD, not CC, wlarc should be empty
! 6839: wlarc='${wl}'
! 6840:
! 6841: # Set some defaults for GNU ld with shared library support. These
! 6842: # are reset later if shared libraries are not supported. Putting them
! 6843: # here allows them to be overridden if necessary.
! 6844: runpath_var=LD_RUN_PATH
! 6845: hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
! 6846: export_dynamic_flag_spec='${wl}--export-dynamic'
! 6847: # ancient GNU ld didn't support --whole-archive et. al.
! 6848: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 6849: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 6850: else
! 6851: whole_archive_flag_spec=
! 6852: fi
! 6853: supports_anon_versioning=no
! 6854: case `$LD -v 2>/dev/null` in
! 6855: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 6856: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 6857: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 6858: *\ 2.11.*) ;; # other 2.11 versions
! 6859: *) supports_anon_versioning=yes ;;
! 6860: esac
! 6861:
! 6862: # See if GNU ld supports shared libraries.
! 6863: case $host_os in
! 6864: aix3* | aix4* | aix5*)
! 6865: # On AIX/PPC, the GNU linker is very broken
! 6866: if test "$host_cpu" != ia64; then
! 6867: ld_shlibs=no
! 6868: cat <<EOF 1>&2
! 6869:
! 6870: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 6871: *** to be unable to reliably create shared libraries on AIX.
! 6872: *** Therefore, libtool is disabling shared libraries support. If you
! 6873: *** really care for shared libraries, you may want to modify your PATH
! 6874: *** so that a non-GNU linker is found, and then restart.
! 6875:
! 6876: EOF
! 6877: fi
! 6878: ;;
! 6879:
! 6880: amigaos*)
! 6881: 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)'
! 6882: hardcode_libdir_flag_spec='-L$libdir'
! 6883: hardcode_minus_L=yes
! 6884:
! 6885: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 6886: # that the semantics of dynamic libraries on AmigaOS, at least up
! 6887: # to version 4, is to share data among multiple programs linked
! 6888: # with the same dynamic library. Since this doesn't match the
! 6889: # behavior of shared libraries on other platforms, we can't use
! 6890: # them.
! 6891: ld_shlibs=no
! 6892: ;;
! 6893:
! 6894: beos*)
! 6895: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 6896: allow_undefined_flag=unsupported
! 6897: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 6898: # support --undefined. This deserves some investigation. FIXME
! 6899: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6900: else
! 6901: ld_shlibs=no
! 6902: fi
! 6903: ;;
! 6904:
! 6905: cygwin* | mingw* | pw32*)
! 6906: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 6907: # as there is no search path for DLLs.
! 6908: hardcode_libdir_flag_spec='-L$libdir'
! 6909: allow_undefined_flag=unsupported
! 6910: always_export_symbols=no
! 6911: enable_shared_with_static_runtimes=yes
! 6912: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
! 6913:
! 6914: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 6915: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 6916: # If the export-symbols file already is a .def file (1st line
! 6917: # is EXPORTS), use it as is; otherwise, prepend...
! 6918: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 6919: cp $export_symbols $output_objdir/$soname.def;
! 6920: else
! 6921: echo EXPORTS > $output_objdir/$soname.def;
! 6922: cat $export_symbols >> $output_objdir/$soname.def;
! 6923: fi~
! 6924: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 6925: else
! 6926: ld_shlibs=no
! 6927: fi
! 6928: ;;
! 6929:
! 6930: interix3*)
! 6931: hardcode_direct=no
! 6932: hardcode_shlibpath_var=no
! 6933: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 6934: export_dynamic_flag_spec='${wl}-E'
! 6935: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 6936: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 6937: # default) and relocated if they conflict, which is a slow very memory
! 6938: # consuming and fragmenting process. To avoid this, we pick a random,
! 6939: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 6940: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 6941: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 6942: 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'
! 6943: ;;
! 6944:
! 6945: linux*)
! 6946: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 6947: tmp_addflag=
! 6948: case $cc_basename,$host_cpu in
! 6949: pgcc*) # Portland Group C compiler
! 6950: 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'
! 6951: tmp_addflag=' $pic_flag'
! 6952: ;;
! 6953: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 6954: 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'
! 6955: tmp_addflag=' $pic_flag -Mnomain' ;;
! 6956: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 6957: tmp_addflag=' -i_dynamic' ;;
! 6958: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 6959: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 6960: ifc* | ifort*) # Intel Fortran compiler
! 6961: tmp_addflag=' -nofor_main' ;;
! 6962: esac
! 6963: archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6964:
! 6965: if test $supports_anon_versioning = yes; then
! 6966: archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
! 6967: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 6968: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 6969: $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 6970: fi
! 6971: else
! 6972: ld_shlibs=no
! 6973: fi
! 6974: ;;
! 6975:
! 6976: netbsd*)
! 6977: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 6978: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 6979: wlarc=
! 6980: else
! 6981: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6982: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 6983: fi
! 6984: ;;
! 6985:
! 6986: solaris*)
! 6987: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 6988: ld_shlibs=no
! 6989: cat <<EOF 1>&2
! 6990:
! 6991: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 6992: *** create shared libraries on Solaris systems. Therefore, libtool
! 6993: *** is disabling shared libraries support. We urge you to upgrade GNU
! 6994: *** binutils to release 2.9.1 or newer. Another option is to modify
! 6995: *** your PATH or compiler configuration so that the native linker is
! 6996: *** used, and then restart.
! 6997:
! 6998: EOF
! 6999: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 7000: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 7001: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 7002: else
! 7003: ld_shlibs=no
! 7004: fi
! 7005: ;;
! 7006:
! 7007: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 7008: case `$LD -v 2>&1` in
! 7009: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 7010: ld_shlibs=no
! 7011: cat <<_LT_EOF 1>&2
! 7012:
! 7013: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 7014: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 7015: *** is disabling shared libraries support. We urge you to upgrade GNU
! 7016: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 7017: *** your PATH or compiler configuration so that the native linker is
! 7018: *** used, and then restart.
! 7019:
! 7020: _LT_EOF
! 7021: ;;
! 7022: *)
! 7023: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 7024: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 7025: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 7026: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 7027: else
! 7028: ld_shlibs=no
! 7029: fi
! 7030: ;;
! 7031: esac
! 7032: ;;
! 7033:
! 7034: sunos4*)
! 7035: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 7036: wlarc=
! 7037: hardcode_direct=yes
! 7038: hardcode_shlibpath_var=no
! 7039: ;;
! 7040:
! 7041: *)
! 7042: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 7043: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 7044: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 7045: else
! 7046: ld_shlibs=no
! 7047: fi
! 7048: ;;
! 7049: esac
! 7050:
! 7051: if test "$ld_shlibs" = no; then
! 7052: runpath_var=
! 7053: hardcode_libdir_flag_spec=
! 7054: export_dynamic_flag_spec=
! 7055: whole_archive_flag_spec=
! 7056: fi
! 7057: else
! 7058: # PORTME fill in a description of your system's linker (not GNU ld)
! 7059: case $host_os in
! 7060: aix3*)
! 7061: allow_undefined_flag=unsupported
! 7062: always_export_symbols=yes
! 7063: 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'
! 7064: # Note: this linker hardcodes the directories in LIBPATH if there
! 7065: # are no directories specified by -L.
! 7066: hardcode_minus_L=yes
! 7067: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 7068: # Neither direct hardcoding nor static linking is supported with a
! 7069: # broken collect2.
! 7070: hardcode_direct=unsupported
! 7071: fi
! 7072: ;;
! 7073:
! 7074: aix4* | aix5*)
! 7075: if test "$host_cpu" = ia64; then
! 7076: # On IA64, the linker does run time linking by default, so we don't
! 7077: # have to do anything special.
! 7078: aix_use_runtimelinking=no
! 7079: exp_sym_flag='-Bexport'
! 7080: no_entry_flag=""
! 7081: else
! 7082: # If we're using GNU nm, then we don't want the "-C" option.
! 7083: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 7084: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 7085: 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'
! 7086: else
! 7087: 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'
! 7088: fi
! 7089: aix_use_runtimelinking=no
! 7090:
! 7091: # Test if we are trying to use run time linking or normal
! 7092: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 7093: # need to do runtime linking.
! 7094: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 7095: for ld_flag in $LDFLAGS; do
! 7096: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 7097: aix_use_runtimelinking=yes
! 7098: break
! 7099: fi
! 7100: done
! 7101: ;;
! 7102: esac
! 7103:
! 7104: exp_sym_flag='-bexport'
! 7105: no_entry_flag='-bnoentry'
! 7106: fi
! 7107:
! 7108: # When large executables or shared objects are built, AIX ld can
! 7109: # have problems creating the table of contents. If linking a library
! 7110: # or program results in "error TOC overflow" add -mminimal-toc to
! 7111: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 7112: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 7113:
! 7114: archive_cmds=''
! 7115: hardcode_direct=yes
! 7116: hardcode_libdir_separator=':'
! 7117: link_all_deplibs=yes
! 7118:
! 7119: if test "$GCC" = yes; then
! 7120: case $host_os in aix4.[012]|aix4.[012].*)
! 7121: # We only want to do this on AIX 4.2 and lower, the check
! 7122: # below for broken collect2 doesn't work under 4.3+
! 7123: collect2name=`${CC} -print-prog-name=collect2`
! 7124: if test -f "$collect2name" && \
! 7125: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 7126: then
! 7127: # We have reworked collect2
! 7128: hardcode_direct=yes
! 7129: else
! 7130: # We have old collect2
! 7131: hardcode_direct=unsupported
! 7132: # It fails to find uninstalled libraries when the uninstalled
! 7133: # path is not listed in the libpath. Setting hardcode_minus_L
! 7134: # to unsupported forces relinking
! 7135: hardcode_minus_L=yes
! 7136: hardcode_libdir_flag_spec='-L$libdir'
! 7137: hardcode_libdir_separator=
! 7138: fi
! 7139: ;;
! 7140: esac
! 7141: shared_flag='-shared'
! 7142: if test "$aix_use_runtimelinking" = yes; then
! 7143: shared_flag="$shared_flag "'${wl}-G'
! 7144: fi
! 7145: else
! 7146: # not using gcc
! 7147: if test "$host_cpu" = ia64; then
! 7148: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 7149: # chokes on -Wl,-G. The following line is correct:
! 7150: shared_flag='-G'
! 7151: else
! 7152: if test "$aix_use_runtimelinking" = yes; then
! 7153: shared_flag='${wl}-G'
! 7154: else
! 7155: shared_flag='${wl}-bM:SRE'
! 7156: fi
! 7157: fi
! 7158: fi
! 7159:
! 7160: # It seems that -bexpall does not export symbols beginning with
! 7161: # underscore (_), so it is better to generate a list of symbols to export.
! 7162: always_export_symbols=yes
! 7163: if test "$aix_use_runtimelinking" = yes; then
! 7164: # Warning - without using the other runtime loading flags (-brtl),
! 7165: # -berok will link without error, but may produce a broken library.
! 7166: allow_undefined_flag='-berok'
! 7167: # Determine the default libpath from the value encoded in an empty executable.
! 7168: cat >conftest.$ac_ext <<_ACEOF
! 7169: /* confdefs.h. */
! 7170: _ACEOF
! 7171: cat confdefs.h >>conftest.$ac_ext
! 7172: cat >>conftest.$ac_ext <<_ACEOF
! 7173: /* end confdefs.h. */
! 7174:
! 7175: int
! 7176: main ()
! 7177: {
! 7178:
! 7179: ;
! 7180: return 0;
! 7181: }
! 7182: _ACEOF
! 7183: rm -f conftest.$ac_objext conftest$ac_exeext
! 7184: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7185: (eval $ac_link) 2>conftest.er1
! 7186: ac_status=$?
! 7187: grep -v '^ *+' conftest.er1 >conftest.err
! 7188: rm -f conftest.er1
! 7189: cat conftest.err >&5
! 7190: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7191: (exit $ac_status); } &&
! 7192: { ac_try='test -z "$ac_c_werror_flag"
! 7193: || test ! -s conftest.err'
! 7194: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7195: (eval $ac_try) 2>&5
! 7196: ac_status=$?
! 7197: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7198: (exit $ac_status); }; } &&
! 7199: { ac_try='test -s conftest$ac_exeext'
! 7200: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7201: (eval $ac_try) 2>&5
! 7202: ac_status=$?
! 7203: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7204: (exit $ac_status); }; }; then
! 7205:
! 7206: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 7207: }'`
! 7208: # Check for a 64-bit object if we didn't find anything.
! 7209: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 7210: }'`; fi
! 7211: else
! 7212: echo "$as_me: failed program was:" >&5
! 7213: sed 's/^/| /' conftest.$ac_ext >&5
! 7214:
! 7215: fi
! 7216: rm -f conftest.err conftest.$ac_objext \
! 7217: conftest$ac_exeext conftest.$ac_ext
! 7218: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 7219:
! 7220: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 7221: 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"
! 7222: else
! 7223: if test "$host_cpu" = ia64; then
! 7224: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 7225: allow_undefined_flag="-z nodefs"
! 7226: 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"
! 7227: else
! 7228: # Determine the default libpath from the value encoded in an empty executable.
! 7229: cat >conftest.$ac_ext <<_ACEOF
! 7230: /* confdefs.h. */
! 7231: _ACEOF
! 7232: cat confdefs.h >>conftest.$ac_ext
! 7233: cat >>conftest.$ac_ext <<_ACEOF
! 7234: /* end confdefs.h. */
! 7235:
! 7236: int
! 7237: main ()
! 7238: {
! 7239:
! 7240: ;
! 7241: return 0;
! 7242: }
! 7243: _ACEOF
! 7244: rm -f conftest.$ac_objext conftest$ac_exeext
! 7245: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7246: (eval $ac_link) 2>conftest.er1
! 7247: ac_status=$?
! 7248: grep -v '^ *+' conftest.er1 >conftest.err
! 7249: rm -f conftest.er1
! 7250: cat conftest.err >&5
! 7251: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7252: (exit $ac_status); } &&
! 7253: { ac_try='test -z "$ac_c_werror_flag"
! 7254: || test ! -s conftest.err'
! 7255: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7256: (eval $ac_try) 2>&5
! 7257: ac_status=$?
! 7258: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7259: (exit $ac_status); }; } &&
! 7260: { ac_try='test -s conftest$ac_exeext'
! 7261: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7262: (eval $ac_try) 2>&5
! 7263: ac_status=$?
! 7264: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7265: (exit $ac_status); }; }; then
! 7266:
! 7267: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 7268: }'`
! 7269: # Check for a 64-bit object if we didn't find anything.
! 7270: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 7271: }'`; fi
! 7272: else
! 7273: echo "$as_me: failed program was:" >&5
! 7274: sed 's/^/| /' conftest.$ac_ext >&5
! 7275:
! 7276: fi
! 7277: rm -f conftest.err conftest.$ac_objext \
! 7278: conftest$ac_exeext conftest.$ac_ext
! 7279: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 7280:
! 7281: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 7282: # Warning - without using the other run time loading flags,
! 7283: # -berok will link without error, but may produce a broken library.
! 7284: no_undefined_flag=' ${wl}-bernotok'
! 7285: allow_undefined_flag=' ${wl}-berok'
! 7286: # Exported symbols can be pulled into shared objects from archives
! 7287: whole_archive_flag_spec='$convenience'
! 7288: archive_cmds_need_lc=yes
! 7289: # This is similar to how AIX traditionally builds its shared libraries.
! 7290: 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'
! 7291: fi
! 7292: fi
! 7293: ;;
! 7294:
! 7295: amigaos*)
! 7296: 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)'
! 7297: hardcode_libdir_flag_spec='-L$libdir'
! 7298: hardcode_minus_L=yes
! 7299: # see comment about different semantics on the GNU ld section
! 7300: ld_shlibs=no
! 7301: ;;
! 7302:
! 7303: bsdi[45]*)
! 7304: export_dynamic_flag_spec=-rdynamic
! 7305: ;;
! 7306:
! 7307: cygwin* | mingw* | pw32*)
! 7308: # When not using gcc, we currently assume that we are using
! 7309: # Microsoft Visual C++.
! 7310: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 7311: # no search path for DLLs.
! 7312: hardcode_libdir_flag_spec=' '
! 7313: allow_undefined_flag=unsupported
! 7314: # Tell ltmain to make .lib files, not .a files.
! 7315: libext=lib
! 7316: # Tell ltmain to make .dll files, not .so files.
! 7317: shrext_cmds=".dll"
! 7318: # FIXME: Setting linknames here is a bad hack.
! 7319: archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 7320: # The linker will automatically build a .lib file if we build a DLL.
! 7321: old_archive_From_new_cmds='true'
! 7322: # FIXME: Should let the user specify the lib program.
! 7323: old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
! 7324: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 7325: enable_shared_with_static_runtimes=yes
! 7326: ;;
! 7327:
! 7328: darwin* | rhapsody*)
! 7329: case $host_os in
! 7330: rhapsody* | darwin1.[012])
! 7331: allow_undefined_flag='${wl}-undefined ${wl}suppress'
! 7332: ;;
! 7333: *) # Darwin 1.3 on
! 7334: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 7335: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 7336: else
! 7337: case ${MACOSX_DEPLOYMENT_TARGET} in
! 7338: 10.[012])
! 7339: allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 7340: ;;
! 7341: 10.*)
! 7342: allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
! 7343: ;;
! 7344: esac
! 7345: fi
! 7346: ;;
! 7347: esac
! 7348: archive_cmds_need_lc=no
! 7349: hardcode_direct=no
! 7350: hardcode_automatic=yes
! 7351: hardcode_shlibpath_var=unsupported
! 7352: whole_archive_flag_spec=''
! 7353: link_all_deplibs=yes
! 7354: if test "$GCC" = yes ; then
! 7355: output_verbose_link_cmd='echo'
! 7356: archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
! 7357: module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 7358: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 7359: archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 7360: 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}'
! 7361: else
! 7362: case $cc_basename in
! 7363: xlc*)
! 7364: output_verbose_link_cmd='echo'
! 7365: archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
! 7366: module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 7367: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 7368: 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 7369: 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}'
! 7370: ;;
! 7371: *)
! 7372: ld_shlibs=no
! 7373: ;;
! 7374: esac
! 7375: fi
! 7376: ;;
! 7377:
! 7378: dgux*)
! 7379: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7380: hardcode_libdir_flag_spec='-L$libdir'
! 7381: hardcode_shlibpath_var=no
! 7382: ;;
! 7383:
! 7384: freebsd1*)
! 7385: ld_shlibs=no
! 7386: ;;
! 7387:
! 7388: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 7389: # support. Future versions do this automatically, but an explicit c++rt0.o
! 7390: # does not break anything, and helps significantly (at the cost of a little
! 7391: # extra space).
! 7392: freebsd2.2*)
! 7393: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 7394: hardcode_libdir_flag_spec='-R$libdir'
! 7395: hardcode_direct=yes
! 7396: hardcode_shlibpath_var=no
! 7397: ;;
! 7398:
! 7399: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 7400: freebsd2*)
! 7401: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 7402: hardcode_direct=yes
! 7403: hardcode_minus_L=yes
! 7404: hardcode_shlibpath_var=no
! 7405: ;;
! 7406:
! 7407: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 7408: freebsd* | kfreebsd*-gnu | dragonfly*)
! 7409: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 7410: hardcode_libdir_flag_spec='-R$libdir'
! 7411: hardcode_direct=yes
! 7412: hardcode_shlibpath_var=no
! 7413: ;;
! 7414:
! 7415: hpux9*)
! 7416: if test "$GCC" = yes; then
! 7417: 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'
! 7418: else
! 7419: 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'
! 7420: fi
! 7421: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 7422: hardcode_libdir_separator=:
! 7423: hardcode_direct=yes
! 7424:
! 7425: # hardcode_minus_L: Not really in the search PATH,
! 7426: # but as the default location of the library.
! 7427: hardcode_minus_L=yes
! 7428: export_dynamic_flag_spec='${wl}-E'
! 7429: ;;
! 7430:
! 7431: hpux10*)
! 7432: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 7433: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 7434: else
! 7435: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 7436: fi
! 7437: if test "$with_gnu_ld" = no; then
! 7438: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 7439: hardcode_libdir_separator=:
! 7440:
! 7441: hardcode_direct=yes
! 7442: export_dynamic_flag_spec='${wl}-E'
! 7443:
! 7444: # hardcode_minus_L: Not really in the search PATH,
! 7445: # but as the default location of the library.
! 7446: hardcode_minus_L=yes
! 7447: fi
! 7448: ;;
! 7449:
! 7450: hpux11*)
! 7451: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 7452: case $host_cpu in
! 7453: hppa*64*)
! 7454: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7455: ;;
! 7456: ia64*)
! 7457: archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 7458: ;;
! 7459: *)
! 7460: archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 7461: ;;
! 7462: esac
! 7463: else
! 7464: case $host_cpu in
! 7465: hppa*64*)
! 7466: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7467: ;;
! 7468: ia64*)
! 7469: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 7470: ;;
! 7471: *)
! 7472: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 7473: ;;
! 7474: esac
! 7475: fi
! 7476: if test "$with_gnu_ld" = no; then
! 7477: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 7478: hardcode_libdir_separator=:
! 7479:
! 7480: case $host_cpu in
! 7481: hppa*64*|ia64*)
! 7482: hardcode_libdir_flag_spec_ld='+b $libdir'
! 7483: hardcode_direct=no
! 7484: hardcode_shlibpath_var=no
! 7485: ;;
! 7486: *)
! 7487: hardcode_direct=yes
! 7488: export_dynamic_flag_spec='${wl}-E'
! 7489:
! 7490: # hardcode_minus_L: Not really in the search PATH,
! 7491: # but as the default location of the library.
! 7492: hardcode_minus_L=yes
! 7493: ;;
! 7494: esac
! 7495: fi
! 7496: ;;
! 7497:
! 7498: irix5* | irix6* | nonstopux*)
! 7499: if test "$GCC" = yes; then
! 7500: 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'
! 7501: else
! 7502: 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'
! 7503: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 7504: fi
! 7505: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 7506: hardcode_libdir_separator=:
! 7507: link_all_deplibs=yes
! 7508: ;;
! 7509:
! 7510: netbsd*)
! 7511: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 7512: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 7513: else
! 7514: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 7515: fi
! 7516: hardcode_libdir_flag_spec='-R$libdir'
! 7517: hardcode_direct=yes
! 7518: hardcode_shlibpath_var=no
! 7519: ;;
! 7520:
! 7521: newsos6)
! 7522: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7523: hardcode_direct=yes
! 7524: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 7525: hardcode_libdir_separator=:
! 7526: hardcode_shlibpath_var=no
! 7527: ;;
! 7528:
! 7529: openbsd*)
! 7530: hardcode_direct=yes
! 7531: hardcode_shlibpath_var=no
! 7532: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 7533: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 7534: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 7535: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 7536: export_dynamic_flag_spec='${wl}-E'
! 7537: else
! 7538: case $host_os in
! 7539: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 7540: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 7541: hardcode_libdir_flag_spec='-R$libdir'
! 7542: ;;
! 7543: *)
! 7544: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 7545: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 7546: ;;
! 7547: esac
! 7548: fi
! 7549: ;;
! 7550:
! 7551: os2*)
! 7552: hardcode_libdir_flag_spec='-L$libdir'
! 7553: hardcode_minus_L=yes
! 7554: allow_undefined_flag=unsupported
! 7555: 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'
! 7556: old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 7557: ;;
! 7558:
! 7559: osf3*)
! 7560: if test "$GCC" = yes; then
! 7561: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 7562: 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'
! 7563: else
! 7564: allow_undefined_flag=' -expect_unresolved \*'
! 7565: 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'
! 7566: fi
! 7567: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 7568: hardcode_libdir_separator=:
! 7569: ;;
! 7570:
! 7571: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 7572: if test "$GCC" = yes; then
! 7573: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 7574: 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'
! 7575: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 7576: else
! 7577: allow_undefined_flag=' -expect_unresolved \*'
! 7578: 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'
! 7579: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 7580: $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'
! 7581:
! 7582: # Both c and cxx compiler support -rpath directly
! 7583: hardcode_libdir_flag_spec='-rpath $libdir'
! 7584: fi
! 7585: hardcode_libdir_separator=:
! 7586: ;;
! 7587:
! 7588: solaris*)
! 7589: no_undefined_flag=' -z text'
! 7590: if test "$GCC" = yes; then
! 7591: wlarc='${wl}'
! 7592: archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7593: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 7594: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 7595: else
! 7596: wlarc=''
! 7597: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7598: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 7599: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 7600: fi
! 7601: hardcode_libdir_flag_spec='-R$libdir'
! 7602: hardcode_shlibpath_var=no
! 7603: case $host_os in
! 7604: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 7605: *)
! 7606: # The compiler driver will combine linker options so we
! 7607: # cannot just pass the convience library names through
! 7608: # without $wl, iff we do not link with $LD.
! 7609: # Luckily, gcc supports the same syntax we need for Sun Studio.
! 7610: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 7611: case $wlarc in
! 7612: '')
! 7613: whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
! 7614: *)
! 7615: whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
! 7616: esac ;;
! 7617: esac
! 7618: link_all_deplibs=yes
! 7619: ;;
! 7620:
! 7621: sunos4*)
! 7622: if test "x$host_vendor" = xsequent; then
! 7623: # Use $CC to link under sequent, because it throws in some extra .o
! 7624: # files that make .init and .fini sections work.
! 7625: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 7626: else
! 7627: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 7628: fi
! 7629: hardcode_libdir_flag_spec='-L$libdir'
! 7630: hardcode_direct=yes
! 7631: hardcode_minus_L=yes
! 7632: hardcode_shlibpath_var=no
! 7633: ;;
! 7634:
! 7635: sysv4)
! 7636: case $host_vendor in
! 7637: sni)
! 7638: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7639: hardcode_direct=yes # is this really true???
! 7640: ;;
! 7641: siemens)
! 7642: ## LD is ld it makes a PLAMLIB
! 7643: ## CC just makes a GrossModule.
! 7644: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 7645: reload_cmds='$CC -r -o $output$reload_objs'
! 7646: hardcode_direct=no
! 7647: ;;
! 7648: motorola)
! 7649: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7650: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 7651: ;;
! 7652: esac
! 7653: runpath_var='LD_RUN_PATH'
! 7654: hardcode_shlibpath_var=no
! 7655: ;;
! 7656:
! 7657: sysv4.3*)
! 7658: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7659: hardcode_shlibpath_var=no
! 7660: export_dynamic_flag_spec='-Bexport'
! 7661: ;;
! 7662:
! 7663: sysv4*MP*)
! 7664: if test -d /usr/nec; then
! 7665: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7666: hardcode_shlibpath_var=no
! 7667: runpath_var=LD_RUN_PATH
! 7668: hardcode_runpath_var=yes
! 7669: ld_shlibs=yes
! 7670: fi
! 7671: ;;
! 7672:
! 7673: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
! 7674: no_undefined_flag='${wl}-z,text'
! 7675: archive_cmds_need_lc=no
! 7676: hardcode_shlibpath_var=no
! 7677: runpath_var='LD_RUN_PATH'
! 7678:
! 7679: if test "$GCC" = yes; then
! 7680: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7681: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7682: else
! 7683: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7684: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7685: fi
! 7686: ;;
! 7687:
! 7688: sysv5* | sco3.2v5* | sco5v6*)
! 7689: # Note: We can NOT use -z defs as we might desire, because we do not
! 7690: # link with -lc, and that would cause any symbols used from libc to
! 7691: # always be unresolved, which means just about no library would
! 7692: # ever link correctly. If we're not using GNU ld we use -z text
! 7693: # though, which does catch some bad symbols but isn't as heavy-handed
! 7694: # as -z defs.
! 7695: no_undefined_flag='${wl}-z,text'
! 7696: allow_undefined_flag='${wl}-z,nodefs'
! 7697: archive_cmds_need_lc=no
! 7698: hardcode_shlibpath_var=no
! 7699: hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 7700: hardcode_libdir_separator=':'
! 7701: link_all_deplibs=yes
! 7702: export_dynamic_flag_spec='${wl}-Bexport'
! 7703: runpath_var='LD_RUN_PATH'
! 7704:
! 7705: if test "$GCC" = yes; then
! 7706: archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7707: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7708: else
! 7709: archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7710: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 7711: fi
! 7712: ;;
! 7713:
! 7714: uts4*)
! 7715: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 7716: hardcode_libdir_flag_spec='-L$libdir'
! 7717: hardcode_shlibpath_var=no
! 7718: ;;
! 7719:
! 7720: *)
! 7721: ld_shlibs=no
! 7722: ;;
! 7723: esac
! 7724: fi
! 7725:
! 7726: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 7727: echo "${ECHO_T}$ld_shlibs" >&6
! 7728: test "$ld_shlibs" = no && can_build_shared=no
! 7729:
! 7730: #
! 7731: # Do we need to explicitly link libc?
! 7732: #
! 7733: case "x$archive_cmds_need_lc" in
! 7734: x|xyes)
! 7735: # Assume -lc should be added
! 7736: archive_cmds_need_lc=yes
! 7737:
! 7738: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 7739: case $archive_cmds in
! 7740: *'~'*)
! 7741: # FIXME: we may have to deal with multi-command sequences.
! 7742: ;;
! 7743: '$CC '*)
! 7744: # Test whether the compiler implicitly links with -lc since on some
! 7745: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 7746: # to ld, don't add -lc before -lgcc.
! 7747: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 7748: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 7749: $rm conftest*
! 7750: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 7751:
! 7752: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 7753: (eval $ac_compile) 2>&5
! 7754: ac_status=$?
! 7755: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7756: (exit $ac_status); } 2>conftest.err; then
! 7757: soname=conftest
! 7758: lib=conftest
! 7759: libobjs=conftest.$ac_objext
! 7760: deplibs=
! 7761: wl=$lt_prog_compiler_wl
! 7762: pic_flag=$lt_prog_compiler_pic
! 7763: compiler_flags=-v
! 7764: linker_flags=-v
! 7765: verstring=
! 7766: output_objdir=.
! 7767: libname=conftest
! 7768: lt_save_allow_undefined_flag=$allow_undefined_flag
! 7769: allow_undefined_flag=
! 7770: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 7771: (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 7772: ac_status=$?
! 7773: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7774: (exit $ac_status); }
! 7775: then
! 7776: archive_cmds_need_lc=no
! 7777: else
! 7778: archive_cmds_need_lc=yes
! 7779: fi
! 7780: allow_undefined_flag=$lt_save_allow_undefined_flag
! 7781: else
! 7782: cat conftest.err 1>&5
! 7783: fi
! 7784: $rm conftest*
! 7785: echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
! 7786: echo "${ECHO_T}$archive_cmds_need_lc" >&6
! 7787: ;;
! 7788: esac
! 7789: fi
! 7790: ;;
! 7791: esac
! 7792:
! 7793: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 7794: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 7795: library_names_spec=
! 7796: libname_spec='lib$name'
! 7797: soname_spec=
! 7798: shrext_cmds=".so"
! 7799: postinstall_cmds=
! 7800: postuninstall_cmds=
! 7801: finish_cmds=
! 7802: finish_eval=
! 7803: shlibpath_var=
! 7804: shlibpath_overrides_runpath=unknown
! 7805: version_type=none
! 7806: dynamic_linker="$host_os ld.so"
! 7807: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 7808: if test "$GCC" = yes; then
! 7809: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 7810: if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
! 7811: # if the path contains ";" then we assume it to be the separator
! 7812: # otherwise default to the standard path separator (i.e. ":") - it is
! 7813: # assumed that no part of a normal pathname contains ";" but that should
! 7814: # okay in the real world where ";" in dirpaths is itself problematic.
! 7815: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 7816: else
! 7817: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 7818: fi
! 7819: else
! 7820: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 7821: fi
! 7822: need_lib_prefix=unknown
! 7823: hardcode_into_libs=no
! 7824:
! 7825: # when you set need_version to no, make sure it does not cause -set_version
! 7826: # flags to be left without arguments
! 7827: need_version=unknown
! 7828:
! 7829: case $host_os in
! 7830: aix3*)
! 7831: version_type=linux
! 7832: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 7833: shlibpath_var=LIBPATH
! 7834:
! 7835: # AIX 3 has no versioning support, so we append a major version to the name.
! 7836: soname_spec='${libname}${release}${shared_ext}$major'
! 7837: ;;
! 7838:
! 7839: aix4* | aix5*)
! 7840: version_type=linux
! 7841: need_lib_prefix=no
! 7842: need_version=no
! 7843: hardcode_into_libs=yes
! 7844: if test "$host_cpu" = ia64; then
! 7845: # AIX 5 supports IA64
! 7846: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 7847: shlibpath_var=LD_LIBRARY_PATH
! 7848: else
! 7849: # With GCC up to 2.95.x, collect2 would create an import file
! 7850: # for dependence libraries. The import file would start with
! 7851: # the line `#! .'. This would cause the generated library to
! 7852: # depend on `.', always an invalid library. This was fixed in
! 7853: # development snapshots of GCC prior to 3.0.
! 7854: case $host_os in
! 7855: aix4 | aix4.[01] | aix4.[01].*)
! 7856: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 7857: echo ' yes '
! 7858: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 7859: :
! 7860: else
! 7861: can_build_shared=no
! 7862: fi
! 7863: ;;
! 7864: esac
! 7865: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 7866: # soname into executable. Probably we can add versioning support to
! 7867: # collect2, so additional links can be useful in future.
! 7868: if test "$aix_use_runtimelinking" = yes; then
! 7869: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 7870: # instead of lib<name>.a to let people know that these are not
! 7871: # typical AIX shared libraries.
! 7872: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 7873: else
! 7874: # We preserve .a as extension for shared libraries through AIX4.2
! 7875: # and later when we are not doing run time linking.
! 7876: library_names_spec='${libname}${release}.a $libname.a'
! 7877: soname_spec='${libname}${release}${shared_ext}$major'
! 7878: fi
! 7879: shlibpath_var=LIBPATH
! 7880: fi
! 7881: ;;
! 7882:
! 7883: amigaos*)
! 7884: library_names_spec='$libname.ixlibrary $libname.a'
! 7885: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 7886: 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'
! 7887: ;;
! 7888:
! 7889: beos*)
! 7890: library_names_spec='${libname}${shared_ext}'
! 7891: dynamic_linker="$host_os ld.so"
! 7892: shlibpath_var=LIBRARY_PATH
! 7893: ;;
! 7894:
! 7895: bsdi[45]*)
! 7896: version_type=linux
! 7897: need_version=no
! 7898: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 7899: soname_spec='${libname}${release}${shared_ext}$major'
! 7900: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 7901: shlibpath_var=LD_LIBRARY_PATH
! 7902: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 7903: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 7904: # the default ld.so.conf also contains /usr/contrib/lib and
! 7905: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 7906: # libtool to hard-code these into programs
! 7907: ;;
! 7908:
! 7909: cygwin* | mingw* | pw32*)
! 7910: version_type=windows
! 7911: shrext_cmds=".dll"
! 7912: need_version=no
! 7913: need_lib_prefix=no
! 7914:
! 7915: case $GCC,$host_os in
! 7916: yes,cygwin* | yes,mingw* | yes,pw32*)
! 7917: library_names_spec='$libname.dll.a'
! 7918: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 7919: postinstall_cmds='base_file=`basename \${file}`~
! 7920: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 7921: dldir=$destdir/`dirname \$dlpath`~
! 7922: test -d \$dldir || mkdir -p \$dldir~
! 7923: $install_prog $dir/$dlname \$dldir/$dlname~
! 7924: chmod a+x \$dldir/$dlname'
! 7925: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 7926: dlpath=$dir/\$dldll~
! 7927: $rm \$dlpath'
! 7928: shlibpath_overrides_runpath=yes
! 7929:
! 7930: case $host_os in
! 7931: cygwin*)
! 7932: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 7933: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 7934: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 7935: ;;
! 7936: mingw*)
! 7937: # MinGW DLLs use traditional 'lib' prefix
! 7938: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 7939: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 7940: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 7941: # It is most probably a Windows format PATH printed by
! 7942: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 7943: # path with ; separators, and with drive letters. We can handle the
! 7944: # drive letters (cygwin fileutils understands them), so leave them,
! 7945: # especially as we might pass files found there to a mingw objdump,
! 7946: # which wouldn't understand a cygwinified path. Ahh.
! 7947: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 7948: else
! 7949: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 7950: fi
! 7951: ;;
! 7952: pw32*)
! 7953: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 7954: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 7955: ;;
! 7956: esac
! 7957: ;;
! 7958:
! 7959: *)
! 7960: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 7961: ;;
! 7962: esac
! 7963: dynamic_linker='Win32 ld.exe'
! 7964: # FIXME: first we should search . and the directory the executable is in
! 7965: shlibpath_var=PATH
! 7966: ;;
! 7967:
! 7968: darwin* | rhapsody*)
! 7969: dynamic_linker="$host_os dyld"
! 7970: version_type=darwin
! 7971: need_lib_prefix=no
! 7972: need_version=no
! 7973: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 7974: soname_spec='${libname}${release}${major}$shared_ext'
! 7975: shlibpath_overrides_runpath=yes
! 7976: shlibpath_var=DYLD_LIBRARY_PATH
! 7977: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 7978: # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
! 7979: if test "$GCC" = yes; then
! 7980: sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
! 7981: else
! 7982: sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
! 7983: fi
! 7984: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 7985: ;;
! 7986:
! 7987: dgux*)
! 7988: version_type=linux
! 7989: need_lib_prefix=no
! 7990: need_version=no
! 7991: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 7992: soname_spec='${libname}${release}${shared_ext}$major'
! 7993: shlibpath_var=LD_LIBRARY_PATH
! 7994: ;;
! 7995:
! 7996: freebsd1*)
! 7997: dynamic_linker=no
! 7998: ;;
! 7999:
! 8000: kfreebsd*-gnu)
! 8001: version_type=linux
! 8002: need_lib_prefix=no
! 8003: need_version=no
! 8004: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 8005: soname_spec='${libname}${release}${shared_ext}$major'
! 8006: shlibpath_var=LD_LIBRARY_PATH
! 8007: shlibpath_overrides_runpath=no
! 8008: hardcode_into_libs=yes
! 8009: dynamic_linker='GNU ld.so'
! 8010: ;;
! 8011:
! 8012: freebsd* | dragonfly*)
! 8013: # DragonFly does not have aout. When/if they implement a new
! 8014: # versioning mechanism, adjust this.
! 8015: if test -x /usr/bin/objformat; then
! 8016: objformat=`/usr/bin/objformat`
! 8017: else
! 8018: case $host_os in
! 8019: freebsd[123]*) objformat=aout ;;
! 8020: *) objformat=elf ;;
! 8021: esac
! 8022: fi
! 8023: version_type=freebsd-$objformat
! 8024: case $version_type in
! 8025: freebsd-elf*)
! 8026: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 8027: need_version=no
! 8028: need_lib_prefix=no
! 8029: ;;
! 8030: freebsd-*)
! 8031: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 8032: need_version=yes
! 8033: ;;
! 8034: esac
! 8035: shlibpath_var=LD_LIBRARY_PATH
! 8036: case $host_os in
! 8037: freebsd2*)
! 8038: shlibpath_overrides_runpath=yes
! 8039: ;;
! 8040: freebsd3.[01]* | freebsdelf3.[01]*)
! 8041: shlibpath_overrides_runpath=yes
! 8042: hardcode_into_libs=yes
! 8043: ;;
! 8044: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 8045: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 8046: shlibpath_overrides_runpath=no
! 8047: hardcode_into_libs=yes
! 8048: ;;
! 8049: freebsd*) # from 4.6 on
! 8050: shlibpath_overrides_runpath=yes
! 8051: hardcode_into_libs=yes
! 8052: ;;
! 8053: esac
! 8054: ;;
! 8055:
! 8056: gnu*)
! 8057: version_type=linux
! 8058: need_lib_prefix=no
! 8059: need_version=no
! 8060: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 8061: soname_spec='${libname}${release}${shared_ext}$major'
! 8062: shlibpath_var=LD_LIBRARY_PATH
! 8063: hardcode_into_libs=yes
! 8064: ;;
! 8065:
! 8066: hpux9* | hpux10* | hpux11*)
! 8067: # Give a soname corresponding to the major version so that dld.sl refuses to
! 8068: # link against other versions.
! 8069: version_type=sunos
! 8070: need_lib_prefix=no
! 8071: need_version=no
! 8072: case $host_cpu in
! 8073: ia64*)
! 8074: shrext_cmds='.so'
! 8075: hardcode_into_libs=yes
! 8076: dynamic_linker="$host_os dld.so"
! 8077: shlibpath_var=LD_LIBRARY_PATH
! 8078: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 8079: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8080: soname_spec='${libname}${release}${shared_ext}$major'
! 8081: if test "X$HPUX_IA64_MODE" = X32; then
! 8082: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 8083: else
! 8084: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 8085: fi
! 8086: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 8087: ;;
! 8088: hppa*64*)
! 8089: shrext_cmds='.sl'
! 8090: hardcode_into_libs=yes
! 8091: dynamic_linker="$host_os dld.sl"
! 8092: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 8093: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 8094: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8095: soname_spec='${libname}${release}${shared_ext}$major'
! 8096: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 8097: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 8098: ;;
! 8099: *)
! 8100: shrext_cmds='.sl'
! 8101: dynamic_linker="$host_os dld.sl"
! 8102: shlibpath_var=SHLIB_PATH
! 8103: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 8104: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8105: soname_spec='${libname}${release}${shared_ext}$major'
! 8106: ;;
! 8107: esac
! 8108: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 8109: postinstall_cmds='chmod 555 $lib'
! 8110: ;;
! 8111:
! 8112: interix3*)
! 8113: version_type=linux
! 8114: need_lib_prefix=no
! 8115: need_version=no
! 8116: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 8117: soname_spec='${libname}${release}${shared_ext}$major'
! 8118: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 8119: shlibpath_var=LD_LIBRARY_PATH
! 8120: shlibpath_overrides_runpath=no
! 8121: hardcode_into_libs=yes
! 8122: ;;
! 8123:
! 8124: irix5* | irix6* | nonstopux*)
! 8125: case $host_os in
! 8126: nonstopux*) version_type=nonstopux ;;
! 8127: *)
! 8128: if test "$lt_cv_prog_gnu_ld" = yes; then
! 8129: version_type=linux
! 8130: else
! 8131: version_type=irix
! 8132: fi ;;
! 8133: esac
! 8134: need_lib_prefix=no
! 8135: need_version=no
! 8136: soname_spec='${libname}${release}${shared_ext}$major'
! 8137: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 8138: case $host_os in
! 8139: irix5* | nonstopux*)
! 8140: libsuff= shlibsuff=
! 8141: ;;
! 8142: *)
! 8143: case $LD in # libtool.m4 will add one of these switches to LD
! 8144: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 8145: libsuff= shlibsuff= libmagic=32-bit;;
! 8146: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 8147: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 8148: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 8149: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 8150: *) libsuff= shlibsuff= libmagic=never-match;;
! 8151: esac
! 8152: ;;
! 8153: esac
! 8154: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 8155: shlibpath_overrides_runpath=no
! 8156: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 8157: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 8158: hardcode_into_libs=yes
! 8159: ;;
! 8160:
! 8161: # No shared lib support for Linux oldld, aout, or coff.
! 8162: linux*oldld* | linux*aout* | linux*coff*)
! 8163: dynamic_linker=no
! 8164: ;;
! 8165:
! 8166: # This must be Linux ELF.
! 8167: linux*)
! 8168: version_type=linux
! 8169: need_lib_prefix=no
! 8170: need_version=no
! 8171: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8172: soname_spec='${libname}${release}${shared_ext}$major'
! 8173: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 8174: shlibpath_var=LD_LIBRARY_PATH
! 8175: shlibpath_overrides_runpath=no
! 8176: # This implies no fast_install, which is unacceptable.
! 8177: # Some rework will be needed to allow for fast_install
! 8178: # before this can be enabled.
! 8179: hardcode_into_libs=yes
! 8180:
! 8181: # find out which ABI we are using
! 8182: libsuff=
! 8183: case "$host_cpu" in
! 8184: x86_64*|s390x*|powerpc64*)
! 8185: echo '#line 8185 "configure"' > conftest.$ac_ext
! 8186: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8187: (eval $ac_compile) 2>&5
! 8188: ac_status=$?
! 8189: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8190: (exit $ac_status); }; then
! 8191: case `/usr/bin/file conftest.$ac_objext` in
! 8192: *64-bit*)
! 8193: libsuff=64
! 8194: sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
! 8195: ;;
! 8196: esac
! 8197: fi
! 8198: rm -rf conftest*
! 8199: ;;
! 8200: esac
! 8201:
! 8202: # Append ld.so.conf contents to the search path
! 8203: if test -f /etc/ld.so.conf; then
! 8204: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
! 8205: sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
! 8206: fi
! 8207:
! 8208: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 8209: # powerpc, because MkLinux only supported shared libraries with the
! 8210: # GNU dynamic linker. Since this was broken with cross compilers,
! 8211: # most powerpc-linux boxes support dynamic linking these days and
! 8212: # people can always --disable-shared, the test was removed, and we
! 8213: # assume the GNU/Linux dynamic linker is in use.
! 8214: dynamic_linker='GNU/Linux ld.so'
! 8215: ;;
! 8216:
! 8217: knetbsd*-gnu)
! 8218: version_type=linux
! 8219: need_lib_prefix=no
! 8220: need_version=no
! 8221: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 8222: soname_spec='${libname}${release}${shared_ext}$major'
! 8223: shlibpath_var=LD_LIBRARY_PATH
! 8224: shlibpath_overrides_runpath=no
! 8225: hardcode_into_libs=yes
! 8226: dynamic_linker='GNU ld.so'
! 8227: ;;
! 8228:
! 8229: netbsd*)
! 8230: version_type=sunos
! 8231: need_lib_prefix=no
! 8232: need_version=no
! 8233: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 8234: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 8235: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 8236: dynamic_linker='NetBSD (a.out) ld.so'
! 8237: else
! 8238: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 8239: soname_spec='${libname}${release}${shared_ext}$major'
! 8240: dynamic_linker='NetBSD ld.elf_so'
! 8241: fi
! 8242: shlibpath_var=LD_LIBRARY_PATH
! 8243: shlibpath_overrides_runpath=yes
! 8244: hardcode_into_libs=yes
! 8245: ;;
! 8246:
! 8247: newsos6)
! 8248: version_type=linux
! 8249: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8250: shlibpath_var=LD_LIBRARY_PATH
! 8251: shlibpath_overrides_runpath=yes
! 8252: ;;
! 8253:
! 8254: nto-qnx*)
! 8255: version_type=linux
! 8256: need_lib_prefix=no
! 8257: need_version=no
! 8258: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8259: soname_spec='${libname}${release}${shared_ext}$major'
! 8260: shlibpath_var=LD_LIBRARY_PATH
! 8261: shlibpath_overrides_runpath=yes
! 8262: ;;
! 8263:
! 8264: openbsd*)
! 8265: version_type=sunos
! 8266: sys_lib_dlsearch_path_spec="/usr/lib"
! 8267: need_lib_prefix=no
! 8268: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 8269: case $host_os in
! 8270: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 8271: *) need_version=no ;;
! 8272: esac
! 8273: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 8274: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 8275: shlibpath_var=LD_LIBRARY_PATH
! 8276: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 8277: case $host_os in
! 8278: openbsd2.[89] | openbsd2.[89].*)
! 8279: shlibpath_overrides_runpath=no
! 8280: ;;
! 8281: *)
! 8282: shlibpath_overrides_runpath=yes
! 8283: ;;
! 8284: esac
! 8285: else
! 8286: shlibpath_overrides_runpath=yes
! 8287: fi
! 8288: ;;
! 8289:
! 8290: os2*)
! 8291: libname_spec='$name'
! 8292: shrext_cmds=".dll"
! 8293: need_lib_prefix=no
! 8294: library_names_spec='$libname${shared_ext} $libname.a'
! 8295: dynamic_linker='OS/2 ld.exe'
! 8296: shlibpath_var=LIBPATH
! 8297: ;;
! 8298:
! 8299: osf3* | osf4* | osf5*)
! 8300: version_type=osf
! 8301: need_lib_prefix=no
! 8302: need_version=no
! 8303: soname_spec='${libname}${release}${shared_ext}$major'
! 8304: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8305: shlibpath_var=LD_LIBRARY_PATH
! 8306: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 8307: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 8308: ;;
! 8309:
! 8310: solaris*)
! 8311: version_type=linux
! 8312: need_lib_prefix=no
! 8313: need_version=no
! 8314: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8315: soname_spec='${libname}${release}${shared_ext}$major'
! 8316: shlibpath_var=LD_LIBRARY_PATH
! 8317: shlibpath_overrides_runpath=yes
! 8318: hardcode_into_libs=yes
! 8319: # ldd complains unless libraries are executable
! 8320: postinstall_cmds='chmod +x $lib'
! 8321: ;;
! 8322:
! 8323: sunos4*)
! 8324: version_type=sunos
! 8325: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 8326: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 8327: shlibpath_var=LD_LIBRARY_PATH
! 8328: shlibpath_overrides_runpath=yes
! 8329: if test "$with_gnu_ld" = yes; then
! 8330: need_lib_prefix=no
! 8331: fi
! 8332: need_version=yes
! 8333: ;;
! 8334:
! 8335: sysv4 | sysv4.3*)
! 8336: version_type=linux
! 8337: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8338: soname_spec='${libname}${release}${shared_ext}$major'
! 8339: shlibpath_var=LD_LIBRARY_PATH
! 8340: case $host_vendor in
! 8341: sni)
! 8342: shlibpath_overrides_runpath=no
! 8343: need_lib_prefix=no
! 8344: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 8345: runpath_var=LD_RUN_PATH
! 8346: ;;
! 8347: siemens)
! 8348: need_lib_prefix=no
! 8349: ;;
! 8350: motorola)
! 8351: need_lib_prefix=no
! 8352: need_version=no
! 8353: shlibpath_overrides_runpath=no
! 8354: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 8355: ;;
! 8356: esac
! 8357: ;;
! 8358:
! 8359: sysv4*MP*)
! 8360: if test -d /usr/nec ;then
! 8361: version_type=linux
! 8362: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 8363: soname_spec='$libname${shared_ext}.$major'
! 8364: shlibpath_var=LD_LIBRARY_PATH
! 8365: fi
! 8366: ;;
! 8367:
! 8368: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 8369: version_type=freebsd-elf
! 8370: need_lib_prefix=no
! 8371: need_version=no
! 8372: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 8373: soname_spec='${libname}${release}${shared_ext}$major'
! 8374: shlibpath_var=LD_LIBRARY_PATH
! 8375: hardcode_into_libs=yes
! 8376: if test "$with_gnu_ld" = yes; then
! 8377: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 8378: shlibpath_overrides_runpath=no
! 8379: else
! 8380: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 8381: shlibpath_overrides_runpath=yes
! 8382: case $host_os in
! 8383: sco3.2v5*)
! 8384: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 8385: ;;
! 8386: esac
! 8387: fi
! 8388: sys_lib_dlsearch_path_spec='/usr/lib'
! 8389: ;;
! 8390:
! 8391: uts4*)
! 8392: version_type=linux
! 8393: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 8394: soname_spec='${libname}${release}${shared_ext}$major'
! 8395: shlibpath_var=LD_LIBRARY_PATH
! 8396: ;;
! 8397:
! 8398: *)
! 8399: dynamic_linker=no
! 8400: ;;
! 8401: esac
! 8402: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 8403: echo "${ECHO_T}$dynamic_linker" >&6
! 8404: test "$dynamic_linker" = no && can_build_shared=no
! 8405:
! 8406: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 8407: if test "$GCC" = yes; then
! 8408: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 8409: fi
! 8410:
! 8411: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 8412: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 8413: hardcode_action=
! 8414: if test -n "$hardcode_libdir_flag_spec" || \
! 8415: test -n "$runpath_var" || \
! 8416: test "X$hardcode_automatic" = "Xyes" ; then
! 8417:
! 8418: # We can hardcode non-existant directories.
! 8419: if test "$hardcode_direct" != no &&
! 8420: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 8421: # have to relink, otherwise we might link with an installed library
! 8422: # when we should be linking with a yet-to-be-installed one
! 8423: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 8424: test "$hardcode_minus_L" != no; then
! 8425: # Linking always hardcodes the temporary library directory.
! 8426: hardcode_action=relink
! 8427: else
! 8428: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 8429: hardcode_action=immediate
! 8430: fi
! 8431: else
! 8432: # We cannot hardcode anything, or else we can only hardcode existing
! 8433: # directories.
! 8434: hardcode_action=unsupported
! 8435: fi
! 8436: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 8437: echo "${ECHO_T}$hardcode_action" >&6
! 8438:
! 8439: if test "$hardcode_action" = relink; then
! 8440: # Fast installation is not supported
! 8441: enable_fast_install=no
! 8442: elif test "$shlibpath_overrides_runpath" = yes ||
! 8443: test "$enable_shared" = no; then
! 8444: # Fast installation is not necessary
! 8445: enable_fast_install=needless
! 8446: fi
! 8447:
! 8448: striplib=
! 8449: old_striplib=
! 8450: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 8451: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 8452: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
! 8453: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 8454: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 8455: echo "$as_me:$LINENO: result: yes" >&5
! 8456: echo "${ECHO_T}yes" >&6
! 8457: else
! 8458: # FIXME - insert some real tests, host_os isn't really good enough
! 8459: case $host_os in
! 8460: darwin*)
! 8461: if test -n "$STRIP" ; then
! 8462: striplib="$STRIP -x"
! 8463: echo "$as_me:$LINENO: result: yes" >&5
! 8464: echo "${ECHO_T}yes" >&6
! 8465: else
! 8466: echo "$as_me:$LINENO: result: no" >&5
! 8467: echo "${ECHO_T}no" >&6
! 8468: fi
! 8469: ;;
! 8470: *)
! 8471: echo "$as_me:$LINENO: result: no" >&5
! 8472: echo "${ECHO_T}no" >&6
! 8473: ;;
! 8474: esac
! 8475: fi
! 8476:
! 8477: if test "x$enable_dlopen" != xyes; then
! 8478: enable_dlopen=unknown
! 8479: enable_dlopen_self=unknown
! 8480: enable_dlopen_self_static=unknown
! 8481: else
! 8482: lt_cv_dlopen=no
! 8483: lt_cv_dlopen_libs=
! 8484:
! 8485: case $host_os in
! 8486: beos*)
! 8487: lt_cv_dlopen="load_add_on"
! 8488: lt_cv_dlopen_libs=
! 8489: lt_cv_dlopen_self=yes
! 8490: ;;
! 8491:
! 8492: mingw* | pw32*)
! 8493: lt_cv_dlopen="LoadLibrary"
! 8494: lt_cv_dlopen_libs=
! 8495: ;;
! 8496:
! 8497: cygwin*)
! 8498: lt_cv_dlopen="dlopen"
! 8499: lt_cv_dlopen_libs=
! 8500: ;;
! 8501:
! 8502: darwin*)
! 8503: # if libdl is installed we need to link against it
! 8504: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 8505: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 8506: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 8507: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8508: else
! 8509: ac_check_lib_save_LIBS=$LIBS
! 8510: LIBS="-ldl $LIBS"
! 8511: cat >conftest.$ac_ext <<_ACEOF
! 8512: /* confdefs.h. */
! 8513: _ACEOF
! 8514: cat confdefs.h >>conftest.$ac_ext
! 8515: cat >>conftest.$ac_ext <<_ACEOF
! 8516: /* end confdefs.h. */
! 8517:
! 8518: /* Override any gcc2 internal prototype to avoid an error. */
! 8519: #ifdef __cplusplus
! 8520: extern "C"
! 8521: #endif
! 8522: /* We use char because int might match the return type of a gcc2
! 8523: builtin and then its argument prototype would still apply. */
! 8524: char dlopen ();
! 8525: int
! 8526: main ()
! 8527: {
! 8528: dlopen ();
! 8529: ;
! 8530: return 0;
! 8531: }
! 8532: _ACEOF
! 8533: rm -f conftest.$ac_objext conftest$ac_exeext
! 8534: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8535: (eval $ac_link) 2>conftest.er1
! 8536: ac_status=$?
! 8537: grep -v '^ *+' conftest.er1 >conftest.err
! 8538: rm -f conftest.er1
! 8539: cat conftest.err >&5
! 8540: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8541: (exit $ac_status); } &&
! 8542: { ac_try='test -z "$ac_c_werror_flag"
! 8543: || test ! -s conftest.err'
! 8544: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8545: (eval $ac_try) 2>&5
! 8546: ac_status=$?
! 8547: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8548: (exit $ac_status); }; } &&
! 8549: { ac_try='test -s conftest$ac_exeext'
! 8550: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8551: (eval $ac_try) 2>&5
! 8552: ac_status=$?
! 8553: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8554: (exit $ac_status); }; }; then
! 8555: ac_cv_lib_dl_dlopen=yes
! 8556: else
! 8557: echo "$as_me: failed program was:" >&5
! 8558: sed 's/^/| /' conftest.$ac_ext >&5
! 8559:
! 8560: ac_cv_lib_dl_dlopen=no
! 8561: fi
! 8562: rm -f conftest.err conftest.$ac_objext \
! 8563: conftest$ac_exeext conftest.$ac_ext
! 8564: LIBS=$ac_check_lib_save_LIBS
! 8565: fi
! 8566: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 8567: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 8568: if test $ac_cv_lib_dl_dlopen = yes; then
! 8569: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 8570: else
! 8571:
! 8572: lt_cv_dlopen="dyld"
! 8573: lt_cv_dlopen_libs=
! 8574: lt_cv_dlopen_self=yes
! 8575:
! 8576: fi
! 8577:
! 8578: ;;
! 8579:
! 8580: *)
! 8581: echo "$as_me:$LINENO: checking for shl_load" >&5
! 8582: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 8583: if test "${ac_cv_func_shl_load+set}" = set; then
! 8584: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8585: else
! 8586: cat >conftest.$ac_ext <<_ACEOF
! 8587: /* confdefs.h. */
! 8588: _ACEOF
! 8589: cat confdefs.h >>conftest.$ac_ext
! 8590: cat >>conftest.$ac_ext <<_ACEOF
! 8591: /* end confdefs.h. */
! 8592: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 8593: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 8594: #define shl_load innocuous_shl_load
! 8595:
! 8596: /* System header to define __stub macros and hopefully few prototypes,
! 8597: which can conflict with char shl_load (); below.
! 8598: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 8599: <limits.h> exists even on freestanding compilers. */
! 8600:
! 8601: #ifdef __STDC__
! 8602: # include <limits.h>
! 8603: #else
! 8604: # include <assert.h>
! 8605: #endif
! 8606:
! 8607: #undef shl_load
! 8608:
! 8609: /* Override any gcc2 internal prototype to avoid an error. */
! 8610: #ifdef __cplusplus
! 8611: extern "C"
! 8612: {
! 8613: #endif
! 8614: /* We use char because int might match the return type of a gcc2
! 8615: builtin and then its argument prototype would still apply. */
! 8616: char shl_load ();
! 8617: /* The GNU C library defines this for functions which it implements
! 8618: to always fail with ENOSYS. Some functions are actually named
! 8619: something starting with __ and the normal name is an alias. */
! 8620: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 8621: choke me
! 8622: #else
! 8623: char (*f) () = shl_load;
! 8624: #endif
! 8625: #ifdef __cplusplus
! 8626: }
! 8627: #endif
! 8628:
! 8629: int
! 8630: main ()
! 8631: {
! 8632: return f != shl_load;
! 8633: ;
! 8634: return 0;
! 8635: }
! 8636: _ACEOF
! 8637: rm -f conftest.$ac_objext conftest$ac_exeext
! 8638: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8639: (eval $ac_link) 2>conftest.er1
! 8640: ac_status=$?
! 8641: grep -v '^ *+' conftest.er1 >conftest.err
! 8642: rm -f conftest.er1
! 8643: cat conftest.err >&5
! 8644: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8645: (exit $ac_status); } &&
! 8646: { ac_try='test -z "$ac_c_werror_flag"
! 8647: || test ! -s conftest.err'
! 8648: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8649: (eval $ac_try) 2>&5
! 8650: ac_status=$?
! 8651: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8652: (exit $ac_status); }; } &&
! 8653: { ac_try='test -s conftest$ac_exeext'
! 8654: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8655: (eval $ac_try) 2>&5
! 8656: ac_status=$?
! 8657: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8658: (exit $ac_status); }; }; then
! 8659: ac_cv_func_shl_load=yes
! 8660: else
! 8661: echo "$as_me: failed program was:" >&5
! 8662: sed 's/^/| /' conftest.$ac_ext >&5
! 8663:
! 8664: ac_cv_func_shl_load=no
! 8665: fi
! 8666: rm -f conftest.err conftest.$ac_objext \
! 8667: conftest$ac_exeext conftest.$ac_ext
! 8668: fi
! 8669: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 8670: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 8671: if test $ac_cv_func_shl_load = yes; then
! 8672: lt_cv_dlopen="shl_load"
! 8673: else
! 8674: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 8675: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 8676: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 8677: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8678: else
! 8679: ac_check_lib_save_LIBS=$LIBS
! 8680: LIBS="-ldld $LIBS"
! 8681: cat >conftest.$ac_ext <<_ACEOF
! 8682: /* confdefs.h. */
! 8683: _ACEOF
! 8684: cat confdefs.h >>conftest.$ac_ext
! 8685: cat >>conftest.$ac_ext <<_ACEOF
! 8686: /* end confdefs.h. */
! 8687:
! 8688: /* Override any gcc2 internal prototype to avoid an error. */
! 8689: #ifdef __cplusplus
! 8690: extern "C"
! 8691: #endif
! 8692: /* We use char because int might match the return type of a gcc2
! 8693: builtin and then its argument prototype would still apply. */
! 8694: char shl_load ();
! 8695: int
! 8696: main ()
! 8697: {
! 8698: shl_load ();
! 8699: ;
! 8700: return 0;
! 8701: }
! 8702: _ACEOF
! 8703: rm -f conftest.$ac_objext conftest$ac_exeext
! 8704: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8705: (eval $ac_link) 2>conftest.er1
! 8706: ac_status=$?
! 8707: grep -v '^ *+' conftest.er1 >conftest.err
! 8708: rm -f conftest.er1
! 8709: cat conftest.err >&5
! 8710: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8711: (exit $ac_status); } &&
! 8712: { ac_try='test -z "$ac_c_werror_flag"
! 8713: || test ! -s conftest.err'
! 8714: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8715: (eval $ac_try) 2>&5
! 8716: ac_status=$?
! 8717: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8718: (exit $ac_status); }; } &&
! 8719: { ac_try='test -s conftest$ac_exeext'
! 8720: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8721: (eval $ac_try) 2>&5
! 8722: ac_status=$?
! 8723: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8724: (exit $ac_status); }; }; then
! 8725: ac_cv_lib_dld_shl_load=yes
! 8726: else
! 8727: echo "$as_me: failed program was:" >&5
! 8728: sed 's/^/| /' conftest.$ac_ext >&5
! 8729:
! 8730: ac_cv_lib_dld_shl_load=no
! 8731: fi
! 8732: rm -f conftest.err conftest.$ac_objext \
! 8733: conftest$ac_exeext conftest.$ac_ext
! 8734: LIBS=$ac_check_lib_save_LIBS
! 8735: fi
! 8736: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 8737: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 8738: if test $ac_cv_lib_dld_shl_load = yes; then
! 8739: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
! 8740: else
! 8741: echo "$as_me:$LINENO: checking for dlopen" >&5
! 8742: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 8743: if test "${ac_cv_func_dlopen+set}" = set; then
! 8744: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8745: else
! 8746: cat >conftest.$ac_ext <<_ACEOF
! 8747: /* confdefs.h. */
! 8748: _ACEOF
! 8749: cat confdefs.h >>conftest.$ac_ext
! 8750: cat >>conftest.$ac_ext <<_ACEOF
! 8751: /* end confdefs.h. */
! 8752: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 8753: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 8754: #define dlopen innocuous_dlopen
! 8755:
! 8756: /* System header to define __stub macros and hopefully few prototypes,
! 8757: which can conflict with char dlopen (); below.
! 8758: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 8759: <limits.h> exists even on freestanding compilers. */
! 8760:
! 8761: #ifdef __STDC__
! 8762: # include <limits.h>
! 8763: #else
! 8764: # include <assert.h>
! 8765: #endif
! 8766:
! 8767: #undef dlopen
! 8768:
! 8769: /* Override any gcc2 internal prototype to avoid an error. */
! 8770: #ifdef __cplusplus
! 8771: extern "C"
! 8772: {
! 8773: #endif
! 8774: /* We use char because int might match the return type of a gcc2
! 8775: builtin and then its argument prototype would still apply. */
! 8776: char dlopen ();
! 8777: /* The GNU C library defines this for functions which it implements
! 8778: to always fail with ENOSYS. Some functions are actually named
! 8779: something starting with __ and the normal name is an alias. */
! 8780: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 8781: choke me
! 8782: #else
! 8783: char (*f) () = dlopen;
! 8784: #endif
! 8785: #ifdef __cplusplus
! 8786: }
! 8787: #endif
! 8788:
! 8789: int
! 8790: main ()
! 8791: {
! 8792: return f != dlopen;
! 8793: ;
! 8794: return 0;
! 8795: }
! 8796: _ACEOF
! 8797: rm -f conftest.$ac_objext conftest$ac_exeext
! 8798: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8799: (eval $ac_link) 2>conftest.er1
! 8800: ac_status=$?
! 8801: grep -v '^ *+' conftest.er1 >conftest.err
! 8802: rm -f conftest.er1
! 8803: cat conftest.err >&5
! 8804: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8805: (exit $ac_status); } &&
! 8806: { ac_try='test -z "$ac_c_werror_flag"
! 8807: || test ! -s conftest.err'
! 8808: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8809: (eval $ac_try) 2>&5
! 8810: ac_status=$?
! 8811: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8812: (exit $ac_status); }; } &&
! 8813: { ac_try='test -s conftest$ac_exeext'
! 8814: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8815: (eval $ac_try) 2>&5
! 8816: ac_status=$?
! 8817: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8818: (exit $ac_status); }; }; then
! 8819: ac_cv_func_dlopen=yes
! 8820: else
! 8821: echo "$as_me: failed program was:" >&5
! 8822: sed 's/^/| /' conftest.$ac_ext >&5
! 8823:
! 8824: ac_cv_func_dlopen=no
! 8825: fi
! 8826: rm -f conftest.err conftest.$ac_objext \
! 8827: conftest$ac_exeext conftest.$ac_ext
! 8828: fi
! 8829: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 8830: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 8831: if test $ac_cv_func_dlopen = yes; then
! 8832: lt_cv_dlopen="dlopen"
! 8833: else
! 8834: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 8835: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 8836: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 8837: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8838: else
! 8839: ac_check_lib_save_LIBS=$LIBS
! 8840: LIBS="-ldl $LIBS"
! 8841: cat >conftest.$ac_ext <<_ACEOF
! 8842: /* confdefs.h. */
! 8843: _ACEOF
! 8844: cat confdefs.h >>conftest.$ac_ext
! 8845: cat >>conftest.$ac_ext <<_ACEOF
! 8846: /* end confdefs.h. */
! 8847:
! 8848: /* Override any gcc2 internal prototype to avoid an error. */
! 8849: #ifdef __cplusplus
! 8850: extern "C"
! 8851: #endif
! 8852: /* We use char because int might match the return type of a gcc2
! 8853: builtin and then its argument prototype would still apply. */
! 8854: char dlopen ();
! 8855: int
! 8856: main ()
! 8857: {
! 8858: dlopen ();
! 8859: ;
! 8860: return 0;
! 8861: }
! 8862: _ACEOF
! 8863: rm -f conftest.$ac_objext conftest$ac_exeext
! 8864: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8865: (eval $ac_link) 2>conftest.er1
! 8866: ac_status=$?
! 8867: grep -v '^ *+' conftest.er1 >conftest.err
! 8868: rm -f conftest.er1
! 8869: cat conftest.err >&5
! 8870: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8871: (exit $ac_status); } &&
! 8872: { ac_try='test -z "$ac_c_werror_flag"
! 8873: || test ! -s conftest.err'
! 8874: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8875: (eval $ac_try) 2>&5
! 8876: ac_status=$?
! 8877: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8878: (exit $ac_status); }; } &&
! 8879: { ac_try='test -s conftest$ac_exeext'
! 8880: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8881: (eval $ac_try) 2>&5
! 8882: ac_status=$?
! 8883: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8884: (exit $ac_status); }; }; then
! 8885: ac_cv_lib_dl_dlopen=yes
! 8886: else
! 8887: echo "$as_me: failed program was:" >&5
! 8888: sed 's/^/| /' conftest.$ac_ext >&5
! 8889:
! 8890: ac_cv_lib_dl_dlopen=no
! 8891: fi
! 8892: rm -f conftest.err conftest.$ac_objext \
! 8893: conftest$ac_exeext conftest.$ac_ext
! 8894: LIBS=$ac_check_lib_save_LIBS
! 8895: fi
! 8896: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 8897: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 8898: if test $ac_cv_lib_dl_dlopen = yes; then
! 8899: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 8900: else
! 8901: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 8902: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 8903: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 8904: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8905: else
! 8906: ac_check_lib_save_LIBS=$LIBS
! 8907: LIBS="-lsvld $LIBS"
! 8908: cat >conftest.$ac_ext <<_ACEOF
! 8909: /* confdefs.h. */
! 8910: _ACEOF
! 8911: cat confdefs.h >>conftest.$ac_ext
! 8912: cat >>conftest.$ac_ext <<_ACEOF
! 8913: /* end confdefs.h. */
! 8914:
! 8915: /* Override any gcc2 internal prototype to avoid an error. */
! 8916: #ifdef __cplusplus
! 8917: extern "C"
! 8918: #endif
! 8919: /* We use char because int might match the return type of a gcc2
! 8920: builtin and then its argument prototype would still apply. */
! 8921: char dlopen ();
! 8922: int
! 8923: main ()
! 8924: {
! 8925: dlopen ();
! 8926: ;
! 8927: return 0;
! 8928: }
! 8929: _ACEOF
! 8930: rm -f conftest.$ac_objext conftest$ac_exeext
! 8931: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8932: (eval $ac_link) 2>conftest.er1
! 8933: ac_status=$?
! 8934: grep -v '^ *+' conftest.er1 >conftest.err
! 8935: rm -f conftest.er1
! 8936: cat conftest.err >&5
! 8937: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8938: (exit $ac_status); } &&
! 8939: { ac_try='test -z "$ac_c_werror_flag"
! 8940: || test ! -s conftest.err'
! 8941: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8942: (eval $ac_try) 2>&5
! 8943: ac_status=$?
! 8944: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8945: (exit $ac_status); }; } &&
! 8946: { ac_try='test -s conftest$ac_exeext'
! 8947: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8948: (eval $ac_try) 2>&5
! 8949: ac_status=$?
! 8950: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8951: (exit $ac_status); }; }; then
! 8952: ac_cv_lib_svld_dlopen=yes
! 8953: else
! 8954: echo "$as_me: failed program was:" >&5
! 8955: sed 's/^/| /' conftest.$ac_ext >&5
! 8956:
! 8957: ac_cv_lib_svld_dlopen=no
! 8958: fi
! 8959: rm -f conftest.err conftest.$ac_objext \
! 8960: conftest$ac_exeext conftest.$ac_ext
! 8961: LIBS=$ac_check_lib_save_LIBS
! 8962: fi
! 8963: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 8964: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 8965: if test $ac_cv_lib_svld_dlopen = yes; then
! 8966: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 8967: else
! 8968: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 8969: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 8970: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 8971: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8972: else
! 8973: ac_check_lib_save_LIBS=$LIBS
! 8974: LIBS="-ldld $LIBS"
! 8975: cat >conftest.$ac_ext <<_ACEOF
! 8976: /* confdefs.h. */
! 8977: _ACEOF
! 8978: cat confdefs.h >>conftest.$ac_ext
! 8979: cat >>conftest.$ac_ext <<_ACEOF
! 8980: /* end confdefs.h. */
! 8981:
! 8982: /* Override any gcc2 internal prototype to avoid an error. */
! 8983: #ifdef __cplusplus
! 8984: extern "C"
! 8985: #endif
! 8986: /* We use char because int might match the return type of a gcc2
! 8987: builtin and then its argument prototype would still apply. */
! 8988: char dld_link ();
! 8989: int
! 8990: main ()
! 8991: {
! 8992: dld_link ();
! 8993: ;
! 8994: return 0;
! 8995: }
! 8996: _ACEOF
! 8997: rm -f conftest.$ac_objext conftest$ac_exeext
! 8998: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8999: (eval $ac_link) 2>conftest.er1
! 9000: ac_status=$?
! 9001: grep -v '^ *+' conftest.er1 >conftest.err
! 9002: rm -f conftest.er1
! 9003: cat conftest.err >&5
! 9004: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9005: (exit $ac_status); } &&
! 9006: { ac_try='test -z "$ac_c_werror_flag"
! 9007: || test ! -s conftest.err'
! 9008: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9009: (eval $ac_try) 2>&5
! 9010: ac_status=$?
! 9011: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9012: (exit $ac_status); }; } &&
! 9013: { ac_try='test -s conftest$ac_exeext'
! 9014: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9015: (eval $ac_try) 2>&5
! 9016: ac_status=$?
! 9017: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9018: (exit $ac_status); }; }; then
! 9019: ac_cv_lib_dld_dld_link=yes
! 9020: else
! 9021: echo "$as_me: failed program was:" >&5
! 9022: sed 's/^/| /' conftest.$ac_ext >&5
! 9023:
! 9024: ac_cv_lib_dld_dld_link=no
! 9025: fi
! 9026: rm -f conftest.err conftest.$ac_objext \
! 9027: conftest$ac_exeext conftest.$ac_ext
! 9028: LIBS=$ac_check_lib_save_LIBS
! 9029: fi
! 9030: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 9031: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 9032: if test $ac_cv_lib_dld_dld_link = yes; then
! 9033: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
! 9034: fi
! 9035:
! 9036:
! 9037: fi
! 9038:
! 9039:
! 9040: fi
! 9041:
! 9042:
! 9043: fi
! 9044:
! 9045:
! 9046: fi
! 9047:
! 9048:
! 9049: fi
! 9050:
! 9051: ;;
! 9052: esac
! 9053:
! 9054: if test "x$lt_cv_dlopen" != xno; then
! 9055: enable_dlopen=yes
! 9056: else
! 9057: enable_dlopen=no
! 9058: fi
! 9059:
! 9060: case $lt_cv_dlopen in
! 9061: dlopen)
! 9062: save_CPPFLAGS="$CPPFLAGS"
! 9063: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 9064:
! 9065: save_LDFLAGS="$LDFLAGS"
! 9066: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 9067:
! 9068: save_LIBS="$LIBS"
! 9069: LIBS="$lt_cv_dlopen_libs $LIBS"
! 9070:
! 9071: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 9072: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 9073: if test "${lt_cv_dlopen_self+set}" = set; then
! 9074: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9075: else
! 9076: if test "$cross_compiling" = yes; then :
! 9077: lt_cv_dlopen_self=cross
! 9078: else
! 9079: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 9080: lt_status=$lt_dlunknown
! 9081: cat > conftest.$ac_ext <<EOF
! 9082: #line 9082 "configure"
! 9083: #include "confdefs.h"
! 9084:
! 9085: #if HAVE_DLFCN_H
! 9086: #include <dlfcn.h>
! 9087: #endif
! 9088:
! 9089: #include <stdio.h>
! 9090:
! 9091: #ifdef RTLD_GLOBAL
! 9092: # define LT_DLGLOBAL RTLD_GLOBAL
! 9093: #else
! 9094: # ifdef DL_GLOBAL
! 9095: # define LT_DLGLOBAL DL_GLOBAL
! 9096: # else
! 9097: # define LT_DLGLOBAL 0
! 9098: # endif
! 9099: #endif
! 9100:
! 9101: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 9102: find out it does not work in some platform. */
! 9103: #ifndef LT_DLLAZY_OR_NOW
! 9104: # ifdef RTLD_LAZY
! 9105: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 9106: # else
! 9107: # ifdef DL_LAZY
! 9108: # define LT_DLLAZY_OR_NOW DL_LAZY
! 9109: # else
! 9110: # ifdef RTLD_NOW
! 9111: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 9112: # else
! 9113: # ifdef DL_NOW
! 9114: # define LT_DLLAZY_OR_NOW DL_NOW
! 9115: # else
! 9116: # define LT_DLLAZY_OR_NOW 0
! 9117: # endif
! 9118: # endif
! 9119: # endif
! 9120: # endif
! 9121: #endif
! 9122:
! 9123: #ifdef __cplusplus
! 9124: extern "C" void exit (int);
! 9125: #endif
! 9126:
! 9127: void fnord() { int i=42;}
! 9128: int main ()
! 9129: {
! 9130: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 9131: int status = $lt_dlunknown;
! 9132:
! 9133: if (self)
! 9134: {
! 9135: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 9136: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 9137: /* dlclose (self); */
! 9138: }
! 9139: else
! 9140: puts (dlerror ());
! 9141:
! 9142: exit (status);
! 9143: }
! 9144: EOF
! 9145: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9146: (eval $ac_link) 2>&5
! 9147: ac_status=$?
! 9148: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9149: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 9150: (./conftest; exit; ) >&5 2>/dev/null
! 9151: lt_status=$?
! 9152: case x$lt_status in
! 9153: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 9154: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 9155: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 9156: esac
! 9157: else :
! 9158: # compilation failed
! 9159: lt_cv_dlopen_self=no
! 9160: fi
! 9161: fi
! 9162: rm -fr conftest*
! 9163:
! 9164:
! 9165: fi
! 9166: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 9167: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 9168:
! 9169: if test "x$lt_cv_dlopen_self" = xyes; then
! 9170: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 9171: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 9172: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 9173: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 9174: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9175: else
! 9176: if test "$cross_compiling" = yes; then :
! 9177: lt_cv_dlopen_self_static=cross
! 9178: else
! 9179: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 9180: lt_status=$lt_dlunknown
! 9181: cat > conftest.$ac_ext <<EOF
! 9182: #line 9182 "configure"
! 9183: #include "confdefs.h"
! 9184:
! 9185: #if HAVE_DLFCN_H
! 9186: #include <dlfcn.h>
! 9187: #endif
! 9188:
! 9189: #include <stdio.h>
! 9190:
! 9191: #ifdef RTLD_GLOBAL
! 9192: # define LT_DLGLOBAL RTLD_GLOBAL
! 9193: #else
! 9194: # ifdef DL_GLOBAL
! 9195: # define LT_DLGLOBAL DL_GLOBAL
! 9196: # else
! 9197: # define LT_DLGLOBAL 0
! 9198: # endif
! 9199: #endif
! 9200:
! 9201: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 9202: find out it does not work in some platform. */
! 9203: #ifndef LT_DLLAZY_OR_NOW
! 9204: # ifdef RTLD_LAZY
! 9205: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 9206: # else
! 9207: # ifdef DL_LAZY
! 9208: # define LT_DLLAZY_OR_NOW DL_LAZY
! 9209: # else
! 9210: # ifdef RTLD_NOW
! 9211: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 9212: # else
! 9213: # ifdef DL_NOW
! 9214: # define LT_DLLAZY_OR_NOW DL_NOW
! 9215: # else
! 9216: # define LT_DLLAZY_OR_NOW 0
! 9217: # endif
! 9218: # endif
! 9219: # endif
! 9220: # endif
! 9221: #endif
! 9222:
! 9223: #ifdef __cplusplus
! 9224: extern "C" void exit (int);
! 9225: #endif
! 9226:
! 9227: void fnord() { int i=42;}
! 9228: int main ()
! 9229: {
! 9230: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 9231: int status = $lt_dlunknown;
! 9232:
! 9233: if (self)
! 9234: {
! 9235: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 9236: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 9237: /* dlclose (self); */
! 9238: }
! 9239: else
! 9240: puts (dlerror ());
! 9241:
! 9242: exit (status);
! 9243: }
! 9244: EOF
! 9245: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9246: (eval $ac_link) 2>&5
! 9247: ac_status=$?
! 9248: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9249: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 9250: (./conftest; exit; ) >&5 2>/dev/null
! 9251: lt_status=$?
! 9252: case x$lt_status in
! 9253: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 9254: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 9255: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 9256: esac
! 9257: else :
! 9258: # compilation failed
! 9259: lt_cv_dlopen_self_static=no
! 9260: fi
! 9261: fi
! 9262: rm -fr conftest*
! 9263:
! 9264:
! 9265: fi
! 9266: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 9267: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 9268: fi
! 9269:
! 9270: CPPFLAGS="$save_CPPFLAGS"
! 9271: LDFLAGS="$save_LDFLAGS"
! 9272: LIBS="$save_LIBS"
! 9273: ;;
! 9274: esac
! 9275:
! 9276: case $lt_cv_dlopen_self in
! 9277: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 9278: *) enable_dlopen_self=unknown ;;
! 9279: esac
! 9280:
! 9281: case $lt_cv_dlopen_self_static in
! 9282: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 9283: *) enable_dlopen_self_static=unknown ;;
! 9284: esac
! 9285: fi
! 9286:
! 9287:
! 9288: # Report which library types will actually be built
! 9289: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 9290: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 9291: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 9292: echo "${ECHO_T}$can_build_shared" >&6
! 9293:
! 9294: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 9295: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 9296: test "$can_build_shared" = "no" && enable_shared=no
! 9297:
! 9298: # On AIX, shared libraries and static libraries use the same namespace, and
! 9299: # are all built from PIC.
! 9300: case $host_os in
! 9301: aix3*)
! 9302: test "$enable_shared" = yes && enable_static=no
! 9303: if test -n "$RANLIB"; then
! 9304: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 9305: postinstall_cmds='$RANLIB $lib'
! 9306: fi
! 9307: ;;
! 9308:
! 9309: aix4* | aix5*)
! 9310: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 9311: test "$enable_shared" = yes && enable_static=no
! 9312: fi
! 9313: ;;
! 9314: esac
! 9315: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 9316: echo "${ECHO_T}$enable_shared" >&6
! 9317:
! 9318: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 9319: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 9320: # Make sure either enable_shared or enable_static is yes.
! 9321: test "$enable_shared" = yes || enable_static=yes
! 9322: echo "$as_me:$LINENO: result: $enable_static" >&5
! 9323: echo "${ECHO_T}$enable_static" >&6
! 9324:
! 9325: # The else clause should only fire when bootstrapping the
! 9326: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 9327: # with your package, and you will get complaints that there are
! 9328: # no rules to generate ltmain.sh.
! 9329: if test -f "$ltmain"; then
! 9330: # See if we are running on zsh, and set the options which allow our commands through
! 9331: # without removal of \ escapes.
! 9332: if test -n "${ZSH_VERSION+set}" ; then
! 9333: setopt NO_GLOB_SUBST
! 9334: fi
! 9335: # Now quote all the things that may contain metacharacters while being
! 9336: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 9337: # variables and quote the copies for generation of the libtool script.
! 9338: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 9339: SED SHELL STRIP \
! 9340: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 9341: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 9342: deplibs_check_method reload_flag reload_cmds need_locks \
! 9343: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 9344: lt_cv_sys_global_symbol_to_c_name_address \
! 9345: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 9346: old_postinstall_cmds old_postuninstall_cmds \
! 9347: compiler \
! 9348: CC \
! 9349: LD \
! 9350: lt_prog_compiler_wl \
! 9351: lt_prog_compiler_pic \
! 9352: lt_prog_compiler_static \
! 9353: lt_prog_compiler_no_builtin_flag \
! 9354: export_dynamic_flag_spec \
! 9355: thread_safe_flag_spec \
! 9356: whole_archive_flag_spec \
! 9357: enable_shared_with_static_runtimes \
! 9358: old_archive_cmds \
! 9359: old_archive_from_new_cmds \
! 9360: predep_objects \
! 9361: postdep_objects \
! 9362: predeps \
! 9363: postdeps \
! 9364: compiler_lib_search_path \
! 9365: archive_cmds \
! 9366: archive_expsym_cmds \
! 9367: postinstall_cmds \
! 9368: postuninstall_cmds \
! 9369: old_archive_from_expsyms_cmds \
! 9370: allow_undefined_flag \
! 9371: no_undefined_flag \
! 9372: export_symbols_cmds \
! 9373: hardcode_libdir_flag_spec \
! 9374: hardcode_libdir_flag_spec_ld \
! 9375: hardcode_libdir_separator \
! 9376: hardcode_automatic \
! 9377: module_cmds \
! 9378: module_expsym_cmds \
! 9379: lt_cv_prog_compiler_c_o \
! 9380: exclude_expsyms \
! 9381: include_expsyms; do
! 9382:
! 9383: case $var in
! 9384: old_archive_cmds | \
! 9385: old_archive_from_new_cmds | \
! 9386: archive_cmds | \
! 9387: archive_expsym_cmds | \
! 9388: module_cmds | \
! 9389: module_expsym_cmds | \
! 9390: old_archive_from_expsyms_cmds | \
! 9391: export_symbols_cmds | \
! 9392: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 9393: postinstall_cmds | postuninstall_cmds | \
! 9394: old_postinstall_cmds | old_postuninstall_cmds | \
! 9395: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 9396: # Double-quote double-evaled strings.
! 9397: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 9398: ;;
! 9399: *)
! 9400: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 9401: ;;
! 9402: esac
! 9403: done
! 9404:
! 9405: case $lt_echo in
! 9406: *'\$0 --fallback-echo"')
! 9407: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 9408: ;;
! 9409: esac
! 9410:
! 9411: cfgfile="${ofile}T"
! 9412: trap "$rm \"$cfgfile\"; exit 1" 1 2 15
! 9413: $rm -f "$cfgfile"
! 9414: { echo "$as_me:$LINENO: creating $ofile" >&5
! 9415: echo "$as_me: creating $ofile" >&6;}
! 9416:
! 9417: cat <<__EOF__ >> "$cfgfile"
! 9418: #! $SHELL
! 9419:
! 9420: # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 9421: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
! 9422: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 9423: #
! 9424: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
! 9425: # Free Software Foundation, Inc.
! 9426: #
! 9427: # This file is part of GNU Libtool:
! 9428: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
! 9429: #
! 9430: # This program is free software; you can redistribute it and/or modify
! 9431: # it under the terms of the GNU General Public License as published by
! 9432: # the Free Software Foundation; either version 2 of the License, or
! 9433: # (at your option) any later version.
! 9434: #
! 9435: # This program is distributed in the hope that it will be useful, but
! 9436: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 9437: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 9438: # General Public License for more details.
! 9439: #
! 9440: # You should have received a copy of the GNU General Public License
! 9441: # along with this program; if not, write to the Free Software
! 9442: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 9443: #
! 9444: # As a special exception to the GNU General Public License, if you
! 9445: # distribute this file as part of a program that contains a
! 9446: # configuration script generated by Autoconf, you may include it under
! 9447: # the same distribution terms that you use for the rest of that program.
! 9448:
! 9449: # A sed program that does not truncate output.
! 9450: SED=$lt_SED
! 9451:
! 9452: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 9453: Xsed="$SED -e 1s/^X//"
! 9454:
! 9455: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 9456: # if CDPATH is set.
! 9457: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 9458:
! 9459: # The names of the tagged configurations supported by this script.
! 9460: available_tags=
! 9461:
! 9462: # ### BEGIN LIBTOOL CONFIG
! 9463:
! 9464: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 9465:
! 9466: # Shell to use when invoking shell scripts.
! 9467: SHELL=$lt_SHELL
! 9468:
! 9469: # Whether or not to build shared libraries.
! 9470: build_libtool_libs=$enable_shared
! 9471:
! 9472: # Whether or not to build static libraries.
! 9473: build_old_libs=$enable_static
! 9474:
! 9475: # Whether or not to add -lc for building shared libraries.
! 9476: build_libtool_need_lc=$archive_cmds_need_lc
! 9477:
! 9478: # Whether or not to disallow shared libs when runtime libs are static
! 9479: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 9480:
! 9481: # Whether or not to optimize for fast installation.
! 9482: fast_install=$enable_fast_install
! 9483:
! 9484: # The host system.
! 9485: host_alias=$host_alias
! 9486: host=$host
! 9487: host_os=$host_os
! 9488:
! 9489: # The build system.
! 9490: build_alias=$build_alias
! 9491: build=$build
! 9492: build_os=$build_os
! 9493:
! 9494: # An echo program that does not interpret backslashes.
! 9495: echo=$lt_echo
! 9496:
! 9497: # The archiver.
! 9498: AR=$lt_AR
! 9499: AR_FLAGS=$lt_AR_FLAGS
! 9500:
! 9501: # A C compiler.
! 9502: LTCC=$lt_LTCC
! 9503:
! 9504: # LTCC compiler flags.
! 9505: LTCFLAGS=$lt_LTCFLAGS
! 9506:
! 9507: # A language-specific compiler.
! 9508: CC=$lt_compiler
! 9509:
! 9510: # Is the compiler the GNU C compiler?
! 9511: with_gcc=$GCC
! 9512:
! 9513: # An ERE matcher.
! 9514: EGREP=$lt_EGREP
! 9515:
! 9516: # The linker used to build libraries.
! 9517: LD=$lt_LD
! 9518:
! 9519: # Whether we need hard or soft links.
! 9520: LN_S=$lt_LN_S
! 9521:
! 9522: # A BSD-compatible nm program.
! 9523: NM=$lt_NM
! 9524:
! 9525: # A symbol stripping program
! 9526: STRIP=$lt_STRIP
! 9527:
! 9528: # Used to examine libraries when file_magic_cmd begins "file"
! 9529: MAGIC_CMD=$MAGIC_CMD
! 9530:
! 9531: # Used on cygwin: DLL creation program.
! 9532: DLLTOOL="$DLLTOOL"
! 9533:
! 9534: # Used on cygwin: object dumper.
! 9535: OBJDUMP="$OBJDUMP"
! 9536:
! 9537: # Used on cygwin: assembler.
! 9538: AS="$AS"
! 9539:
! 9540: # The name of the directory that contains temporary libtool files.
! 9541: objdir=$objdir
! 9542:
! 9543: # How to create reloadable object files.
! 9544: reload_flag=$lt_reload_flag
! 9545: reload_cmds=$lt_reload_cmds
! 9546:
! 9547: # How to pass a linker flag through the compiler.
! 9548: wl=$lt_lt_prog_compiler_wl
! 9549:
! 9550: # Object file suffix (normally "o").
! 9551: objext="$ac_objext"
! 9552:
! 9553: # Old archive suffix (normally "a").
! 9554: libext="$libext"
! 9555:
! 9556: # Shared library suffix (normally ".so").
! 9557: shrext_cmds='$shrext_cmds'
! 9558:
! 9559: # Executable file suffix (normally "").
! 9560: exeext="$exeext"
! 9561:
! 9562: # Additional compiler flags for building library objects.
! 9563: pic_flag=$lt_lt_prog_compiler_pic
! 9564: pic_mode=$pic_mode
! 9565:
! 9566: # What is the maximum length of a command?
! 9567: max_cmd_len=$lt_cv_sys_max_cmd_len
! 9568:
! 9569: # Does compiler simultaneously support -c and -o options?
! 9570: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 9571:
! 9572: # Must we lock files when doing compilation?
! 9573: need_locks=$lt_need_locks
! 9574:
! 9575: # Do we need the lib prefix for modules?
! 9576: need_lib_prefix=$need_lib_prefix
! 9577:
! 9578: # Do we need a version for libraries?
! 9579: need_version=$need_version
! 9580:
! 9581: # Whether dlopen is supported.
! 9582: dlopen_support=$enable_dlopen
! 9583:
! 9584: # Whether dlopen of programs is supported.
! 9585: dlopen_self=$enable_dlopen_self
! 9586:
! 9587: # Whether dlopen of statically linked programs is supported.
! 9588: dlopen_self_static=$enable_dlopen_self_static
! 9589:
! 9590: # Compiler flag to prevent dynamic linking.
! 9591: link_static_flag=$lt_lt_prog_compiler_static
! 9592:
! 9593: # Compiler flag to turn off builtin functions.
! 9594: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 9595:
! 9596: # Compiler flag to allow reflexive dlopens.
! 9597: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 9598:
! 9599: # Compiler flag to generate shared objects directly from archives.
! 9600: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 9601:
! 9602: # Compiler flag to generate thread-safe objects.
! 9603: thread_safe_flag_spec=$lt_thread_safe_flag_spec
! 9604:
! 9605: # Library versioning type.
! 9606: version_type=$version_type
! 9607:
! 9608: # Format of library name prefix.
! 9609: libname_spec=$lt_libname_spec
! 9610:
! 9611: # List of archive names. First name is the real one, the rest are links.
! 9612: # The last name is the one that the linker finds with -lNAME.
! 9613: library_names_spec=$lt_library_names_spec
! 9614:
! 9615: # The coded name of the library, if different from the real name.
! 9616: soname_spec=$lt_soname_spec
! 9617:
! 9618: # Commands used to build and install an old-style archive.
! 9619: RANLIB=$lt_RANLIB
! 9620: old_archive_cmds=$lt_old_archive_cmds
! 9621: old_postinstall_cmds=$lt_old_postinstall_cmds
! 9622: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 9623:
! 9624: # Create an old-style archive from a shared archive.
! 9625: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 9626:
! 9627: # Create a temporary old-style archive to link instead of a shared archive.
! 9628: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 9629:
! 9630: # Commands used to build and install a shared archive.
! 9631: archive_cmds=$lt_archive_cmds
! 9632: archive_expsym_cmds=$lt_archive_expsym_cmds
! 9633: postinstall_cmds=$lt_postinstall_cmds
! 9634: postuninstall_cmds=$lt_postuninstall_cmds
! 9635:
! 9636: # Commands used to build a loadable module (assumed same as above if empty)
! 9637: module_cmds=$lt_module_cmds
! 9638: module_expsym_cmds=$lt_module_expsym_cmds
! 9639:
! 9640: # Commands to strip libraries.
! 9641: old_striplib=$lt_old_striplib
! 9642: striplib=$lt_striplib
! 9643:
! 9644: # Dependencies to place before the objects being linked to create a
! 9645: # shared library.
! 9646: predep_objects=$lt_predep_objects
! 9647:
! 9648: # Dependencies to place after the objects being linked to create a
! 9649: # shared library.
! 9650: postdep_objects=$lt_postdep_objects
! 9651:
! 9652: # Dependencies to place before the objects being linked to create a
! 9653: # shared library.
! 9654: predeps=$lt_predeps
! 9655:
! 9656: # Dependencies to place after the objects being linked to create a
! 9657: # shared library.
! 9658: postdeps=$lt_postdeps
! 9659:
! 9660: # The library search path used internally by the compiler when linking
! 9661: # a shared library.
! 9662: compiler_lib_search_path=$lt_compiler_lib_search_path
! 9663:
! 9664: # Method to check whether dependent libraries are shared objects.
! 9665: deplibs_check_method=$lt_deplibs_check_method
! 9666:
! 9667: # Command to use when deplibs_check_method == file_magic.
! 9668: file_magic_cmd=$lt_file_magic_cmd
! 9669:
! 9670: # Flag that allows shared libraries with undefined symbols to be built.
! 9671: allow_undefined_flag=$lt_allow_undefined_flag
! 9672:
! 9673: # Flag that forces no undefined symbols.
! 9674: no_undefined_flag=$lt_no_undefined_flag
! 9675:
! 9676: # Commands used to finish a libtool library installation in a directory.
! 9677: finish_cmds=$lt_finish_cmds
! 9678:
! 9679: # Same as above, but a single script fragment to be evaled but not shown.
! 9680: finish_eval=$lt_finish_eval
! 9681:
! 9682: # Take the output of nm and produce a listing of raw symbols and C names.
! 9683: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 9684:
! 9685: # Transform the output of nm in a proper C declaration
! 9686: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 9687:
! 9688: # Transform the output of nm in a C name address pair
! 9689: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 9690:
! 9691: # This is the shared library runtime path variable.
! 9692: runpath_var=$runpath_var
! 9693:
! 9694: # This is the shared library path variable.
! 9695: shlibpath_var=$shlibpath_var
! 9696:
! 9697: # Is shlibpath searched before the hard-coded library search path?
! 9698: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 9699:
! 9700: # How to hardcode a shared library path into an executable.
! 9701: hardcode_action=$hardcode_action
! 9702:
! 9703: # Whether we should hardcode library paths into libraries.
! 9704: hardcode_into_libs=$hardcode_into_libs
! 9705:
! 9706: # Flag to hardcode \$libdir into a binary during linking.
! 9707: # This must work even if \$libdir does not exist.
! 9708: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 9709:
! 9710: # If ld is used when linking, flag to hardcode \$libdir into
! 9711: # a binary during linking. This must work even if \$libdir does
! 9712: # not exist.
! 9713: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 9714:
! 9715: # Whether we need a single -rpath flag with a separated argument.
! 9716: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 9717:
! 9718: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 9719: # resulting binary.
! 9720: hardcode_direct=$hardcode_direct
! 9721:
! 9722: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 9723: # resulting binary.
! 9724: hardcode_minus_L=$hardcode_minus_L
! 9725:
! 9726: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 9727: # the resulting binary.
! 9728: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 9729:
! 9730: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 9731: # and all subsequent libraries and executables linked against it.
! 9732: hardcode_automatic=$hardcode_automatic
! 9733:
! 9734: # Variables whose values should be saved in libtool wrapper scripts and
! 9735: # restored at relink time.
! 9736: variables_saved_for_relink="$variables_saved_for_relink"
! 9737:
! 9738: # Whether libtool must link a program against all its dependency libraries.
! 9739: link_all_deplibs=$link_all_deplibs
! 9740:
! 9741: # Compile-time system search path for libraries
! 9742: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 9743:
! 9744: # Run-time system search path for libraries
! 9745: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 9746:
! 9747: # Fix the shell variable \$srcfile for the compiler.
! 9748: fix_srcfile_path="$fix_srcfile_path"
! 9749:
! 9750: # Set to yes if exported symbols are required.
! 9751: always_export_symbols=$always_export_symbols
! 9752:
! 9753: # The commands to list exported symbols.
! 9754: export_symbols_cmds=$lt_export_symbols_cmds
! 9755:
! 9756: # The commands to extract the exported symbol list from a shared archive.
! 9757: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 9758:
! 9759: # Symbols that should not be listed in the preloaded symbols.
! 9760: exclude_expsyms=$lt_exclude_expsyms
! 9761:
! 9762: # Symbols that must always be exported.
! 9763: include_expsyms=$lt_include_expsyms
! 9764:
! 9765: # ### END LIBTOOL CONFIG
! 9766:
! 9767: __EOF__
! 9768:
! 9769:
! 9770: case $host_os in
! 9771: aix3*)
! 9772: cat <<\EOF >> "$cfgfile"
! 9773:
! 9774: # AIX sometimes has problems with the GCC collect2 program. For some
! 9775: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 9776: # vanish in a puff of smoke.
! 9777: if test "X${COLLECT_NAMES+set}" != Xset; then
! 9778: COLLECT_NAMES=
! 9779: export COLLECT_NAMES
! 9780: fi
! 9781: EOF
! 9782: ;;
! 9783: esac
! 9784:
! 9785: # We use sed instead of cat because bash on DJGPP gets confused if
! 9786: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 9787: # text mode, it properly converts lines to CR/LF. This bash problem
! 9788: # is reportedly fixed, but why not run on old versions too?
! 9789: sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
! 9790:
! 9791: mv -f "$cfgfile" "$ofile" || \
! 9792: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 9793: chmod +x "$ofile"
! 9794:
! 9795: else
! 9796: # If there is no Makefile yet, we rely on a make rule to execute
! 9797: # `config.status --recheck' to rerun these tests and create the
! 9798: # libtool script then.
! 9799: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 9800: if test -f "$ltmain_in"; then
! 9801: test -f Makefile && make "$ltmain"
! 9802: fi
! 9803: fi
! 9804:
! 9805:
! 9806: ac_ext=c
! 9807: ac_cpp='$CPP $CPPFLAGS'
! 9808: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 9809: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 9810: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 9811:
! 9812: CC="$lt_save_CC"
! 9813:
! 9814:
! 9815: # Check whether --with-tags or --without-tags was given.
! 9816: if test "${with_tags+set}" = set; then
! 9817: withval="$with_tags"
! 9818: tagnames="$withval"
! 9819: fi;
! 9820:
! 9821: if test -f "$ltmain" && test -n "$tagnames"; then
! 9822: if test ! -f "${ofile}"; then
! 9823: { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
! 9824: echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
! 9825: fi
! 9826:
! 9827: if test -z "$LTCC"; then
! 9828: eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
! 9829: if test -z "$LTCC"; then
! 9830: { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
! 9831: echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
! 9832: else
! 9833: { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
! 9834: echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
! 9835: fi
! 9836: fi
! 9837: if test -z "$LTCFLAGS"; then
! 9838: eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
! 9839: fi
! 9840:
! 9841: # Extract list of available tagged configurations in $ofile.
! 9842: # Note that this assumes the entire list is on one line.
! 9843: available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
! 9844:
! 9845: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 9846: for tagname in $tagnames; do
! 9847: IFS="$lt_save_ifs"
! 9848: # Check whether tagname contains only valid characters
! 9849: case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
! 9850: "") ;;
! 9851: *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
! 9852: echo "$as_me: error: invalid tag name: $tagname" >&2;}
! 9853: { (exit 1); exit 1; }; }
! 9854: ;;
! 9855: esac
! 9856:
! 9857: if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
! 9858: then
! 9859: { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
! 9860: echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
! 9861: { (exit 1); exit 1; }; }
! 9862: fi
! 9863:
! 9864: # Update the list of available tags.
! 9865: if test -n "$tagname"; then
! 9866: echo appending configuration tag \"$tagname\" to $ofile
! 9867:
! 9868: case $tagname in
! 9869: CXX)
! 9870: if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
! 9871: ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
! 9872: (test "X$CXX" != "Xg++"))) ; then
! 9873: ac_ext=cc
! 9874: ac_cpp='$CXXCPP $CPPFLAGS'
! 9875: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 9876: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 9877: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 9878:
! 9879:
! 9880:
! 9881:
! 9882: archive_cmds_need_lc_CXX=no
! 9883: allow_undefined_flag_CXX=
! 9884: always_export_symbols_CXX=no
! 9885: archive_expsym_cmds_CXX=
! 9886: export_dynamic_flag_spec_CXX=
! 9887: hardcode_direct_CXX=no
! 9888: hardcode_libdir_flag_spec_CXX=
! 9889: hardcode_libdir_flag_spec_ld_CXX=
! 9890: hardcode_libdir_separator_CXX=
! 9891: hardcode_minus_L_CXX=no
! 9892: hardcode_shlibpath_var_CXX=unsupported
! 9893: hardcode_automatic_CXX=no
! 9894: module_cmds_CXX=
! 9895: module_expsym_cmds_CXX=
! 9896: link_all_deplibs_CXX=unknown
! 9897: old_archive_cmds_CXX=$old_archive_cmds
! 9898: no_undefined_flag_CXX=
! 9899: whole_archive_flag_spec_CXX=
! 9900: enable_shared_with_static_runtimes_CXX=no
! 9901:
! 9902: # Dependencies to place before and after the object being linked:
! 9903: predep_objects_CXX=
! 9904: postdep_objects_CXX=
! 9905: predeps_CXX=
! 9906: postdeps_CXX=
! 9907: compiler_lib_search_path_CXX=
! 9908:
! 9909: # Source file extension for C++ test sources.
! 9910: ac_ext=cpp
! 9911:
! 9912: # Object file extension for compiled C++ test sources.
! 9913: objext=o
! 9914: objext_CXX=$objext
! 9915:
! 9916: # Code to be used in simple compile tests
! 9917: lt_simple_compile_test_code="int some_variable = 0;\n"
! 9918:
! 9919: # Code to be used in simple link tests
! 9920: lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
! 9921:
! 9922: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 9923:
! 9924: # If no C compiler was specified, use CC.
! 9925: LTCC=${LTCC-"$CC"}
! 9926:
! 9927: # If no C compiler flags were specified, use CFLAGS.
! 9928: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 9929:
! 9930: # Allow CC to be a program name with arguments.
! 9931: compiler=$CC
! 9932:
! 9933:
! 9934: # save warnings/boilerplate of simple test code
! 9935: ac_outfile=conftest.$ac_objext
! 9936: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
! 9937: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 9938: _lt_compiler_boilerplate=`cat conftest.err`
! 9939: $rm conftest*
! 9940:
! 9941: ac_outfile=conftest.$ac_objext
! 9942: printf "$lt_simple_link_test_code" >conftest.$ac_ext
! 9943: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 9944: _lt_linker_boilerplate=`cat conftest.err`
! 9945: $rm conftest*
! 9946:
! 9947:
! 9948: # Allow CC to be a program name with arguments.
! 9949: lt_save_CC=$CC
! 9950: lt_save_LD=$LD
! 9951: lt_save_GCC=$GCC
! 9952: GCC=$GXX
! 9953: lt_save_with_gnu_ld=$with_gnu_ld
! 9954: lt_save_path_LD=$lt_cv_path_LD
! 9955: if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
! 9956: lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
! 9957: else
! 9958: $as_unset lt_cv_prog_gnu_ld
! 9959: fi
! 9960: if test -n "${lt_cv_path_LDCXX+set}"; then
! 9961: lt_cv_path_LD=$lt_cv_path_LDCXX
! 9962: else
! 9963: $as_unset lt_cv_path_LD
! 9964: fi
! 9965: test -z "${LDCXX+set}" || LD=$LDCXX
! 9966: CC=${CXX-"c++"}
! 9967: compiler=$CC
! 9968: compiler_CXX=$CC
! 9969: for cc_temp in $compiler""; do
! 9970: case $cc_temp in
! 9971: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 9972: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 9973: \-*) ;;
! 9974: *) break;;
! 9975: esac
! 9976: done
! 9977: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 9978:
! 9979:
! 9980: # We don't want -fno-exception wen compiling C++ code, so set the
! 9981: # no_builtin_flag separately
! 9982: if test "$GXX" = yes; then
! 9983: lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
! 9984: else
! 9985: lt_prog_compiler_no_builtin_flag_CXX=
! 9986: fi
! 9987:
! 9988: if test "$GXX" = yes; then
! 9989: # Set up default GNU C++ configuration
! 9990:
! 9991:
! 9992: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 9993: if test "${with_gnu_ld+set}" = set; then
! 9994: withval="$with_gnu_ld"
! 9995: test "$withval" = no || with_gnu_ld=yes
! 9996: else
! 9997: with_gnu_ld=no
! 9998: fi;
! 9999: ac_prog=ld
! 10000: if test "$GCC" = yes; then
! 10001: # Check if gcc -print-prog-name=ld gives a path.
! 10002: echo "$as_me:$LINENO: checking for ld used by $CC" >&5
! 10003: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
! 10004: case $host in
! 10005: *-*-mingw*)
! 10006: # gcc leaves a trailing carriage return which upsets mingw
! 10007: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 10008: *)
! 10009: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 10010: esac
! 10011: case $ac_prog in
! 10012: # Accept absolute paths.
! 10013: [\\/]* | ?:[\\/]*)
! 10014: re_direlt='/[^/][^/]*/\.\./'
! 10015: # Canonicalize the pathname of ld
! 10016: ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
! 10017: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 10018: ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
! 10019: done
! 10020: test -z "$LD" && LD="$ac_prog"
! 10021: ;;
! 10022: "")
! 10023: # If it fails, then pretend we aren't using GCC.
! 10024: ac_prog=ld
! 10025: ;;
! 10026: *)
! 10027: # If it is relative, then search for the first ld in PATH.
! 10028: with_gnu_ld=unknown
! 10029: ;;
! 10030: esac
! 10031: elif test "$with_gnu_ld" = yes; then
! 10032: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 10033: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 10034: else
! 10035: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 10036: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 10037: fi
! 10038: if test "${lt_cv_path_LD+set}" = set; then
! 10039: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10040: else
! 10041: if test -z "$LD"; then
! 10042: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 10043: for ac_dir in $PATH; do
! 10044: IFS="$lt_save_ifs"
! 10045: test -z "$ac_dir" && ac_dir=.
! 10046: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 10047: lt_cv_path_LD="$ac_dir/$ac_prog"
! 10048: # Check to see if the program is GNU ld. I'd rather use --version,
! 10049: # but apparently some variants of GNU ld only accept -v.
! 10050: # Break only if it was the GNU/non-GNU ld that we prefer.
! 10051: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 10052: *GNU* | *'with BFD'*)
! 10053: test "$with_gnu_ld" != no && break
! 10054: ;;
! 10055: *)
! 10056: test "$with_gnu_ld" != yes && break
! 10057: ;;
! 10058: esac
! 10059: fi
! 10060: done
! 10061: IFS="$lt_save_ifs"
! 10062: else
! 10063: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 10064: fi
! 10065: fi
! 10066:
! 10067: LD="$lt_cv_path_LD"
! 10068: if test -n "$LD"; then
! 10069: echo "$as_me:$LINENO: result: $LD" >&5
! 10070: echo "${ECHO_T}$LD" >&6
! 10071: else
! 10072: echo "$as_me:$LINENO: result: no" >&5
! 10073: echo "${ECHO_T}no" >&6
! 10074: fi
! 10075: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 10076: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 10077: { (exit 1); exit 1; }; }
! 10078: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 10079: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 10080: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 10081: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10082: else
! 10083: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 10084: case `$LD -v 2>&1 </dev/null` in
! 10085: *GNU* | *'with BFD'*)
! 10086: lt_cv_prog_gnu_ld=yes
! 10087: ;;
! 10088: *)
! 10089: lt_cv_prog_gnu_ld=no
! 10090: ;;
! 10091: esac
! 10092: fi
! 10093: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 10094: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 10095: with_gnu_ld=$lt_cv_prog_gnu_ld
! 10096:
! 10097:
! 10098:
! 10099: # Check if GNU C++ uses GNU ld as the underlying linker, since the
! 10100: # archiving commands below assume that GNU ld is being used.
! 10101: if test "$with_gnu_ld" = yes; then
! 10102: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10103: 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'
! 10104:
! 10105: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 10106: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 10107:
! 10108: # If archive_cmds runs LD, not CC, wlarc should be empty
! 10109: # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
! 10110: # investigate it a little bit more. (MM)
! 10111: wlarc='${wl}'
! 10112:
! 10113: # ancient GNU ld didn't support --whole-archive et. al.
! 10114: if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
! 10115: grep 'no-whole-archive' > /dev/null; then
! 10116: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 10117: else
! 10118: whole_archive_flag_spec_CXX=
! 10119: fi
! 10120: else
! 10121: with_gnu_ld=no
! 10122: wlarc=
! 10123:
! 10124: # A generic and very simple default shared library creation
! 10125: # command for GNU C++ for the case where it uses the native
! 10126: # linker, instead of GNU ld. If possible, this setting should
! 10127: # overridden to take advantage of the native linker features on
! 10128: # the platform it is being used on.
! 10129: archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 10130: fi
! 10131:
! 10132: # Commands to make compiler produce verbose output that lists
! 10133: # what "hidden" libraries, object files and flags are used when
! 10134: # linking a shared library.
! 10135: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 10136:
! 10137: else
! 10138: GXX=no
! 10139: with_gnu_ld=no
! 10140: wlarc=
! 10141: fi
! 10142:
! 10143: # PORTME: fill in a description of your system's C++ link characteristics
! 10144: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 10145: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 10146: ld_shlibs_CXX=yes
! 10147: case $host_os in
! 10148: aix3*)
! 10149: # FIXME: insert proper C++ library support
! 10150: ld_shlibs_CXX=no
! 10151: ;;
! 10152: aix4* | aix5*)
! 10153: if test "$host_cpu" = ia64; then
! 10154: # On IA64, the linker does run time linking by default, so we don't
! 10155: # have to do anything special.
! 10156: aix_use_runtimelinking=no
! 10157: exp_sym_flag='-Bexport'
! 10158: no_entry_flag=""
! 10159: else
! 10160: aix_use_runtimelinking=no
! 10161:
! 10162: # Test if we are trying to use run time linking or normal
! 10163: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 10164: # need to do runtime linking.
! 10165: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 10166: for ld_flag in $LDFLAGS; do
! 10167: case $ld_flag in
! 10168: *-brtl*)
! 10169: aix_use_runtimelinking=yes
! 10170: break
! 10171: ;;
! 10172: esac
! 10173: done
! 10174: ;;
! 10175: esac
! 10176:
! 10177: exp_sym_flag='-bexport'
! 10178: no_entry_flag='-bnoentry'
! 10179: fi
! 10180:
! 10181: # When large executables or shared objects are built, AIX ld can
! 10182: # have problems creating the table of contents. If linking a library
! 10183: # or program results in "error TOC overflow" add -mminimal-toc to
! 10184: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 10185: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 10186:
! 10187: archive_cmds_CXX=''
! 10188: hardcode_direct_CXX=yes
! 10189: hardcode_libdir_separator_CXX=':'
! 10190: link_all_deplibs_CXX=yes
! 10191:
! 10192: if test "$GXX" = yes; then
! 10193: case $host_os in aix4.[012]|aix4.[012].*)
! 10194: # We only want to do this on AIX 4.2 and lower, the check
! 10195: # below for broken collect2 doesn't work under 4.3+
! 10196: collect2name=`${CC} -print-prog-name=collect2`
! 10197: if test -f "$collect2name" && \
! 10198: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 10199: then
! 10200: # We have reworked collect2
! 10201: hardcode_direct_CXX=yes
! 10202: else
! 10203: # We have old collect2
! 10204: hardcode_direct_CXX=unsupported
! 10205: # It fails to find uninstalled libraries when the uninstalled
! 10206: # path is not listed in the libpath. Setting hardcode_minus_L
! 10207: # to unsupported forces relinking
! 10208: hardcode_minus_L_CXX=yes
! 10209: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 10210: hardcode_libdir_separator_CXX=
! 10211: fi
! 10212: ;;
! 10213: esac
! 10214: shared_flag='-shared'
! 10215: if test "$aix_use_runtimelinking" = yes; then
! 10216: shared_flag="$shared_flag "'${wl}-G'
! 10217: fi
! 10218: else
! 10219: # not using gcc
! 10220: if test "$host_cpu" = ia64; then
! 10221: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 10222: # chokes on -Wl,-G. The following line is correct:
! 10223: shared_flag='-G'
! 10224: else
! 10225: if test "$aix_use_runtimelinking" = yes; then
! 10226: shared_flag='${wl}-G'
! 10227: else
! 10228: shared_flag='${wl}-bM:SRE'
! 10229: fi
! 10230: fi
! 10231: fi
! 10232:
! 10233: # It seems that -bexpall does not export symbols beginning with
! 10234: # underscore (_), so it is better to generate a list of symbols to export.
! 10235: always_export_symbols_CXX=yes
! 10236: if test "$aix_use_runtimelinking" = yes; then
! 10237: # Warning - without using the other runtime loading flags (-brtl),
! 10238: # -berok will link without error, but may produce a broken library.
! 10239: allow_undefined_flag_CXX='-berok'
! 10240: # Determine the default libpath from the value encoded in an empty executable.
! 10241: cat >conftest.$ac_ext <<_ACEOF
! 10242: /* confdefs.h. */
! 10243: _ACEOF
! 10244: cat confdefs.h >>conftest.$ac_ext
! 10245: cat >>conftest.$ac_ext <<_ACEOF
! 10246: /* end confdefs.h. */
! 10247:
! 10248: int
! 10249: main ()
! 10250: {
! 10251:
! 10252: ;
! 10253: return 0;
! 10254: }
! 10255: _ACEOF
! 10256: rm -f conftest.$ac_objext conftest$ac_exeext
! 10257: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10258: (eval $ac_link) 2>conftest.er1
! 10259: ac_status=$?
! 10260: grep -v '^ *+' conftest.er1 >conftest.err
! 10261: rm -f conftest.er1
! 10262: cat conftest.err >&5
! 10263: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10264: (exit $ac_status); } &&
! 10265: { ac_try='test -z "$ac_cxx_werror_flag"
! 10266: || test ! -s conftest.err'
! 10267: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10268: (eval $ac_try) 2>&5
! 10269: ac_status=$?
! 10270: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10271: (exit $ac_status); }; } &&
! 10272: { ac_try='test -s conftest$ac_exeext'
! 10273: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10274: (eval $ac_try) 2>&5
! 10275: ac_status=$?
! 10276: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10277: (exit $ac_status); }; }; then
! 10278:
! 10279: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 10280: }'`
! 10281: # Check for a 64-bit object if we didn't find anything.
! 10282: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 10283: }'`; fi
! 10284: else
! 10285: echo "$as_me: failed program was:" >&5
! 10286: sed 's/^/| /' conftest.$ac_ext >&5
! 10287:
! 10288: fi
! 10289: rm -f conftest.err conftest.$ac_objext \
! 10290: conftest$ac_exeext conftest.$ac_ext
! 10291: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 10292:
! 10293: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 10294:
! 10295: 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"
! 10296: else
! 10297: if test "$host_cpu" = ia64; then
! 10298: hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
! 10299: allow_undefined_flag_CXX="-z nodefs"
! 10300: 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"
! 10301: else
! 10302: # Determine the default libpath from the value encoded in an empty executable.
! 10303: cat >conftest.$ac_ext <<_ACEOF
! 10304: /* confdefs.h. */
! 10305: _ACEOF
! 10306: cat confdefs.h >>conftest.$ac_ext
! 10307: cat >>conftest.$ac_ext <<_ACEOF
! 10308: /* end confdefs.h. */
! 10309:
! 10310: int
! 10311: main ()
! 10312: {
! 10313:
! 10314: ;
! 10315: return 0;
! 10316: }
! 10317: _ACEOF
! 10318: rm -f conftest.$ac_objext conftest$ac_exeext
! 10319: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10320: (eval $ac_link) 2>conftest.er1
! 10321: ac_status=$?
! 10322: grep -v '^ *+' conftest.er1 >conftest.err
! 10323: rm -f conftest.er1
! 10324: cat conftest.err >&5
! 10325: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10326: (exit $ac_status); } &&
! 10327: { ac_try='test -z "$ac_cxx_werror_flag"
! 10328: || test ! -s conftest.err'
! 10329: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10330: (eval $ac_try) 2>&5
! 10331: ac_status=$?
! 10332: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10333: (exit $ac_status); }; } &&
! 10334: { ac_try='test -s conftest$ac_exeext'
! 10335: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10336: (eval $ac_try) 2>&5
! 10337: ac_status=$?
! 10338: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10339: (exit $ac_status); }; }; then
! 10340:
! 10341: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 10342: }'`
! 10343: # Check for a 64-bit object if we didn't find anything.
! 10344: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 10345: }'`; fi
! 10346: else
! 10347: echo "$as_me: failed program was:" >&5
! 10348: sed 's/^/| /' conftest.$ac_ext >&5
! 10349:
! 10350: fi
! 10351: rm -f conftest.err conftest.$ac_objext \
! 10352: conftest$ac_exeext conftest.$ac_ext
! 10353: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 10354:
! 10355: hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
! 10356: # Warning - without using the other run time loading flags,
! 10357: # -berok will link without error, but may produce a broken library.
! 10358: no_undefined_flag_CXX=' ${wl}-bernotok'
! 10359: allow_undefined_flag_CXX=' ${wl}-berok'
! 10360: # Exported symbols can be pulled into shared objects from archives
! 10361: whole_archive_flag_spec_CXX='$convenience'
! 10362: archive_cmds_need_lc_CXX=yes
! 10363: # This is similar to how AIX traditionally builds its shared libraries.
! 10364: 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'
! 10365: fi
! 10366: fi
! 10367: ;;
! 10368:
! 10369: beos*)
! 10370: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 10371: allow_undefined_flag_CXX=unsupported
! 10372: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 10373: # support --undefined. This deserves some investigation. FIXME
! 10374: archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10375: else
! 10376: ld_shlibs_CXX=no
! 10377: fi
! 10378: ;;
! 10379:
! 10380: chorus*)
! 10381: case $cc_basename in
! 10382: *)
! 10383: # FIXME: insert proper C++ library support
! 10384: ld_shlibs_CXX=no
! 10385: ;;
! 10386: esac
! 10387: ;;
! 10388:
! 10389: cygwin* | mingw* | pw32*)
! 10390: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
! 10391: # as there is no search path for DLLs.
! 10392: hardcode_libdir_flag_spec_CXX='-L$libdir'
! 10393: allow_undefined_flag_CXX=unsupported
! 10394: always_export_symbols_CXX=no
! 10395: enable_shared_with_static_runtimes_CXX=yes
! 10396:
! 10397: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 10398: 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'
! 10399: # If the export-symbols file already is a .def file (1st line
! 10400: # is EXPORTS), use it as is; otherwise, prepend...
! 10401: archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 10402: cp $export_symbols $output_objdir/$soname.def;
! 10403: else
! 10404: echo EXPORTS > $output_objdir/$soname.def;
! 10405: cat $export_symbols >> $output_objdir/$soname.def;
! 10406: fi~
! 10407: $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'
! 10408: else
! 10409: ld_shlibs_CXX=no
! 10410: fi
! 10411: ;;
! 10412: darwin* | rhapsody*)
! 10413: case $host_os in
! 10414: rhapsody* | darwin1.[012])
! 10415: allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
! 10416: ;;
! 10417: *) # Darwin 1.3 on
! 10418: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 10419: allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 10420: else
! 10421: case ${MACOSX_DEPLOYMENT_TARGET} in
! 10422: 10.[012])
! 10423: allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 10424: ;;
! 10425: 10.*)
! 10426: allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
! 10427: ;;
! 10428: esac
! 10429: fi
! 10430: ;;
! 10431: esac
! 10432: archive_cmds_need_lc_CXX=no
! 10433: hardcode_direct_CXX=no
! 10434: hardcode_automatic_CXX=yes
! 10435: hardcode_shlibpath_var_CXX=unsupported
! 10436: whole_archive_flag_spec_CXX=''
! 10437: link_all_deplibs_CXX=yes
! 10438:
! 10439: if test "$GXX" = yes ; then
! 10440: lt_int_apple_cc_single_mod=no
! 10441: output_verbose_link_cmd='echo'
! 10442: if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
! 10443: lt_int_apple_cc_single_mod=yes
! 10444: fi
! 10445: if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
! 10446: archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
! 10447: else
! 10448: 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'
! 10449: fi
! 10450: module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 10451: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 10452: if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
! 10453: archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 10454: else
! 10455: archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 10456: fi
! 10457: 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}'
! 10458: else
! 10459: case $cc_basename in
! 10460: xlc*)
! 10461: output_verbose_link_cmd='echo'
! 10462: archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
! 10463: module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 10464: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 10465: 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 10466: 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}'
! 10467: ;;
! 10468: *)
! 10469: ld_shlibs_CXX=no
! 10470: ;;
! 10471: esac
! 10472: fi
! 10473: ;;
! 10474:
! 10475: dgux*)
! 10476: case $cc_basename in
! 10477: ec++*)
! 10478: # FIXME: insert proper C++ library support
! 10479: ld_shlibs_CXX=no
! 10480: ;;
! 10481: ghcx*)
! 10482: # Green Hills C++ Compiler
! 10483: # FIXME: insert proper C++ library support
! 10484: ld_shlibs_CXX=no
! 10485: ;;
! 10486: *)
! 10487: # FIXME: insert proper C++ library support
! 10488: ld_shlibs_CXX=no
! 10489: ;;
! 10490: esac
! 10491: ;;
! 10492: freebsd[12]*)
! 10493: # C++ shared libraries reported to be fairly broken before switch to ELF
! 10494: ld_shlibs_CXX=no
! 10495: ;;
! 10496: freebsd-elf*)
! 10497: archive_cmds_need_lc_CXX=no
! 10498: ;;
! 10499: freebsd* | kfreebsd*-gnu | dragonfly*)
! 10500: # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
! 10501: # conventions
! 10502: ld_shlibs_CXX=yes
! 10503: ;;
! 10504: gnu*)
! 10505: ;;
! 10506: hpux9*)
! 10507: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 10508: hardcode_libdir_separator_CXX=:
! 10509: export_dynamic_flag_spec_CXX='${wl}-E'
! 10510: hardcode_direct_CXX=yes
! 10511: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 10512: # but as the default
! 10513: # location of the library.
! 10514:
! 10515: case $cc_basename in
! 10516: CC*)
! 10517: # FIXME: insert proper C++ library support
! 10518: ld_shlibs_CXX=no
! 10519: ;;
! 10520: aCC*)
! 10521: 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'
! 10522: # Commands to make compiler produce verbose output that lists
! 10523: # what "hidden" libraries, object files and flags are used when
! 10524: # linking a shared library.
! 10525: #
! 10526: # There doesn't appear to be a way to prevent this compiler from
! 10527: # explicitly linking system object files so we need to strip them
! 10528: # from the output so that they don't get included in the library
! 10529: # dependencies.
! 10530: 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'
! 10531: ;;
! 10532: *)
! 10533: if test "$GXX" = yes; then
! 10534: 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'
! 10535: else
! 10536: # FIXME: insert proper C++ library support
! 10537: ld_shlibs_CXX=no
! 10538: fi
! 10539: ;;
! 10540: esac
! 10541: ;;
! 10542: hpux10*|hpux11*)
! 10543: if test $with_gnu_ld = no; then
! 10544: hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
! 10545: hardcode_libdir_separator_CXX=:
! 10546:
! 10547: case $host_cpu in
! 10548: hppa*64*|ia64*)
! 10549: hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
! 10550: ;;
! 10551: *)
! 10552: export_dynamic_flag_spec_CXX='${wl}-E'
! 10553: ;;
! 10554: esac
! 10555: fi
! 10556: case $host_cpu in
! 10557: hppa*64*|ia64*)
! 10558: hardcode_direct_CXX=no
! 10559: hardcode_shlibpath_var_CXX=no
! 10560: ;;
! 10561: *)
! 10562: hardcode_direct_CXX=yes
! 10563: hardcode_minus_L_CXX=yes # Not in the search PATH,
! 10564: # but as the default
! 10565: # location of the library.
! 10566: ;;
! 10567: esac
! 10568:
! 10569: case $cc_basename in
! 10570: CC*)
! 10571: # FIXME: insert proper C++ library support
! 10572: ld_shlibs_CXX=no
! 10573: ;;
! 10574: aCC*)
! 10575: case $host_cpu in
! 10576: hppa*64*)
! 10577: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10578: ;;
! 10579: ia64*)
! 10580: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10581: ;;
! 10582: *)
! 10583: archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10584: ;;
! 10585: esac
! 10586: # Commands to make compiler produce verbose output that lists
! 10587: # what "hidden" libraries, object files and flags are used when
! 10588: # linking a shared library.
! 10589: #
! 10590: # There doesn't appear to be a way to prevent this compiler from
! 10591: # explicitly linking system object files so we need to strip them
! 10592: # from the output so that they don't get included in the library
! 10593: # dependencies.
! 10594: 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'
! 10595: ;;
! 10596: *)
! 10597: if test "$GXX" = yes; then
! 10598: if test $with_gnu_ld = no; then
! 10599: case $host_cpu in
! 10600: hppa*64*)
! 10601: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10602: ;;
! 10603: ia64*)
! 10604: archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10605: ;;
! 10606: *)
! 10607: 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'
! 10608: ;;
! 10609: esac
! 10610: fi
! 10611: else
! 10612: # FIXME: insert proper C++ library support
! 10613: ld_shlibs_CXX=no
! 10614: fi
! 10615: ;;
! 10616: esac
! 10617: ;;
! 10618: interix3*)
! 10619: hardcode_direct_CXX=no
! 10620: hardcode_shlibpath_var_CXX=no
! 10621: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 10622: export_dynamic_flag_spec_CXX='${wl}-E'
! 10623: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 10624: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 10625: # default) and relocated if they conflict, which is a slow very memory
! 10626: # consuming and fragmenting process. To avoid this, we pick a random,
! 10627: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 10628: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 10629: 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'
! 10630: 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'
! 10631: ;;
! 10632: irix5* | irix6*)
! 10633: case $cc_basename in
! 10634: CC*)
! 10635: # SGI C++
! 10636: 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'
! 10637:
! 10638: # Archives containing C++ object files must be created using
! 10639: # "CC -ar", where "CC" is the IRIX C++ compiler. This is
! 10640: # necessary to make sure instantiated templates are included
! 10641: # in the archive.
! 10642: old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
! 10643: ;;
! 10644: *)
! 10645: if test "$GXX" = yes; then
! 10646: if test "$with_gnu_ld" = no; then
! 10647: 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'
! 10648: else
! 10649: 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'
! 10650: fi
! 10651: fi
! 10652: link_all_deplibs_CXX=yes
! 10653: ;;
! 10654: esac
! 10655: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 10656: hardcode_libdir_separator_CXX=:
! 10657: ;;
! 10658: linux*)
! 10659: case $cc_basename in
! 10660: KCC*)
! 10661: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 10662:
! 10663: # KCC will only create a shared library if the output file
! 10664: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 10665: # to its proper name (with version) after linking.
! 10666: 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'
! 10667: 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'
! 10668: # Commands to make compiler produce verbose output that lists
! 10669: # what "hidden" libraries, object files and flags are used when
! 10670: # linking a shared library.
! 10671: #
! 10672: # There doesn't appear to be a way to prevent this compiler from
! 10673: # explicitly linking system object files so we need to strip them
! 10674: # from the output so that they don't get included in the library
! 10675: # dependencies.
! 10676: 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'
! 10677:
! 10678: hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
! 10679: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 10680:
! 10681: # Archives containing C++ object files must be created using
! 10682: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 10683: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 10684: ;;
! 10685: icpc*)
! 10686: # Intel C++
! 10687: with_gnu_ld=yes
! 10688: # version 8.0 and above of icpc choke on multiply defined symbols
! 10689: # if we add $predep_objects and $postdep_objects, however 7.1 and
! 10690: # earlier do not add the objects themselves.
! 10691: case `$CC -V 2>&1` in
! 10692: *"Version 7."*)
! 10693: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10694: 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'
! 10695: ;;
! 10696: *) # Version 8.0 or newer
! 10697: tmp_idyn=
! 10698: case $host_cpu in
! 10699: ia64*) tmp_idyn=' -i_dynamic';;
! 10700: esac
! 10701: archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10702: 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'
! 10703: ;;
! 10704: esac
! 10705: archive_cmds_need_lc_CXX=no
! 10706: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 10707: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 10708: whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 10709: ;;
! 10710: pgCC*)
! 10711: # Portland Group C++ compiler
! 10712: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
! 10713: 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'
! 10714:
! 10715: hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
! 10716: export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
! 10717: 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'
! 10718: ;;
! 10719: cxx*)
! 10720: # Compaq C++
! 10721: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10722: 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'
! 10723:
! 10724: runpath_var=LD_RUN_PATH
! 10725: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 10726: hardcode_libdir_separator_CXX=:
! 10727:
! 10728: # Commands to make compiler produce verbose output that lists
! 10729: # what "hidden" libraries, object files and flags are used when
! 10730: # linking a shared library.
! 10731: #
! 10732: # There doesn't appear to be a way to prevent this compiler from
! 10733: # explicitly linking system object files so we need to strip them
! 10734: # from the output so that they don't get included in the library
! 10735: # dependencies.
! 10736: 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'
! 10737: ;;
! 10738: esac
! 10739: ;;
! 10740: lynxos*)
! 10741: # FIXME: insert proper C++ library support
! 10742: ld_shlibs_CXX=no
! 10743: ;;
! 10744: m88k*)
! 10745: # FIXME: insert proper C++ library support
! 10746: ld_shlibs_CXX=no
! 10747: ;;
! 10748: mvs*)
! 10749: case $cc_basename in
! 10750: cxx*)
! 10751: # FIXME: insert proper C++ library support
! 10752: ld_shlibs_CXX=no
! 10753: ;;
! 10754: *)
! 10755: # FIXME: insert proper C++ library support
! 10756: ld_shlibs_CXX=no
! 10757: ;;
! 10758: esac
! 10759: ;;
! 10760: netbsd*)
! 10761: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 10762: archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
! 10763: wlarc=
! 10764: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 10765: hardcode_direct_CXX=yes
! 10766: hardcode_shlibpath_var_CXX=no
! 10767: fi
! 10768: # Workaround some broken pre-1.5 toolchains
! 10769: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
! 10770: ;;
! 10771: openbsd2*)
! 10772: # C++ shared libraries are fairly broken
! 10773: ld_shlibs_CXX=no
! 10774: ;;
! 10775: openbsd*)
! 10776: hardcode_direct_CXX=yes
! 10777: hardcode_shlibpath_var_CXX=no
! 10778: archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
! 10779: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 10780: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 10781: archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 10782: export_dynamic_flag_spec_CXX='${wl}-E'
! 10783: whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 10784: fi
! 10785: output_verbose_link_cmd='echo'
! 10786: ;;
! 10787: osf3*)
! 10788: case $cc_basename in
! 10789: KCC*)
! 10790: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 10791:
! 10792: # KCC will only create a shared library if the output file
! 10793: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 10794: # to its proper name (with version) after linking.
! 10795: 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'
! 10796:
! 10797: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 10798: hardcode_libdir_separator_CXX=:
! 10799:
! 10800: # Archives containing C++ object files must be created using
! 10801: # "CC -Bstatic", where "CC" is the KAI C++ compiler.
! 10802: old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
! 10803:
! 10804: ;;
! 10805: RCC*)
! 10806: # Rational C++ 2.4.1
! 10807: # FIXME: insert proper C++ library support
! 10808: ld_shlibs_CXX=no
! 10809: ;;
! 10810: cxx*)
! 10811: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 10812: 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'
! 10813:
! 10814: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 10815: hardcode_libdir_separator_CXX=:
! 10816:
! 10817: # Commands to make compiler produce verbose output that lists
! 10818: # what "hidden" libraries, object files and flags are used when
! 10819: # linking a shared library.
! 10820: #
! 10821: # There doesn't appear to be a way to prevent this compiler from
! 10822: # explicitly linking system object files so we need to strip them
! 10823: # from the output so that they don't get included in the library
! 10824: # dependencies.
! 10825: 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'
! 10826: ;;
! 10827: *)
! 10828: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 10829: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 10830: 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'
! 10831:
! 10832: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 10833: hardcode_libdir_separator_CXX=:
! 10834:
! 10835: # Commands to make compiler produce verbose output that lists
! 10836: # what "hidden" libraries, object files and flags are used when
! 10837: # linking a shared library.
! 10838: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 10839:
! 10840: else
! 10841: # FIXME: insert proper C++ library support
! 10842: ld_shlibs_CXX=no
! 10843: fi
! 10844: ;;
! 10845: esac
! 10846: ;;
! 10847: osf4* | osf5*)
! 10848: case $cc_basename in
! 10849: KCC*)
! 10850: # Kuck and Associates, Inc. (KAI) C++ Compiler
! 10851:
! 10852: # KCC will only create a shared library if the output file
! 10853: # ends with ".so" (or ".sl" for HP-UX), so rename the library
! 10854: # to its proper name (with version) after linking.
! 10855: 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'
! 10856:
! 10857: hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
! 10858: hardcode_libdir_separator_CXX=:
! 10859:
! 10860: # Archives containing C++ object files must be created using
! 10861: # the KAI C++ compiler.
! 10862: old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
! 10863: ;;
! 10864: RCC*)
! 10865: # Rational C++ 2.4.1
! 10866: # FIXME: insert proper C++ library support
! 10867: ld_shlibs_CXX=no
! 10868: ;;
! 10869: cxx*)
! 10870: allow_undefined_flag_CXX=' -expect_unresolved \*'
! 10871: 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'
! 10872: archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
! 10873: echo "-hidden">> $lib.exp~
! 10874: $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~
! 10875: $rm $lib.exp'
! 10876:
! 10877: hardcode_libdir_flag_spec_CXX='-rpath $libdir'
! 10878: hardcode_libdir_separator_CXX=:
! 10879:
! 10880: # Commands to make compiler produce verbose output that lists
! 10881: # what "hidden" libraries, object files and flags are used when
! 10882: # linking a shared library.
! 10883: #
! 10884: # There doesn't appear to be a way to prevent this compiler from
! 10885: # explicitly linking system object files so we need to strip them
! 10886: # from the output so that they don't get included in the library
! 10887: # dependencies.
! 10888: 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'
! 10889: ;;
! 10890: *)
! 10891: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 10892: allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
! 10893: 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'
! 10894:
! 10895: hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
! 10896: hardcode_libdir_separator_CXX=:
! 10897:
! 10898: # Commands to make compiler produce verbose output that lists
! 10899: # what "hidden" libraries, object files and flags are used when
! 10900: # linking a shared library.
! 10901: output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
! 10902:
! 10903: else
! 10904: # FIXME: insert proper C++ library support
! 10905: ld_shlibs_CXX=no
! 10906: fi
! 10907: ;;
! 10908: esac
! 10909: ;;
! 10910: psos*)
! 10911: # FIXME: insert proper C++ library support
! 10912: ld_shlibs_CXX=no
! 10913: ;;
! 10914: sunos4*)
! 10915: case $cc_basename in
! 10916: CC*)
! 10917: # Sun C++ 4.x
! 10918: # FIXME: insert proper C++ library support
! 10919: ld_shlibs_CXX=no
! 10920: ;;
! 10921: lcc*)
! 10922: # Lucid
! 10923: # FIXME: insert proper C++ library support
! 10924: ld_shlibs_CXX=no
! 10925: ;;
! 10926: *)
! 10927: # FIXME: insert proper C++ library support
! 10928: ld_shlibs_CXX=no
! 10929: ;;
! 10930: esac
! 10931: ;;
! 10932: solaris*)
! 10933: case $cc_basename in
! 10934: CC*)
! 10935: # Sun C++ 4.2, 5.x and Centerline C++
! 10936: archive_cmds_need_lc_CXX=yes
! 10937: no_undefined_flag_CXX=' -zdefs'
! 10938: archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
! 10939: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 10940: $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'
! 10941:
! 10942: hardcode_libdir_flag_spec_CXX='-R$libdir'
! 10943: hardcode_shlibpath_var_CXX=no
! 10944: case $host_os in
! 10945: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 10946: *)
! 10947: # The C++ compiler is used as linker so we must use $wl
! 10948: # flag to pass the commands to the underlying system
! 10949: # linker. We must also pass each convience library through
! 10950: # to the system linker between allextract/defaultextract.
! 10951: # The C++ compiler will combine linker options so we
! 10952: # cannot just pass the convience library names through
! 10953: # without $wl.
! 10954: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 10955: whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
! 10956: ;;
! 10957: esac
! 10958: link_all_deplibs_CXX=yes
! 10959:
! 10960: output_verbose_link_cmd='echo'
! 10961:
! 10962: # Archives containing C++ object files must be created using
! 10963: # "CC -xar", where "CC" is the Sun C++ compiler. This is
! 10964: # necessary to make sure instantiated templates are included
! 10965: # in the archive.
! 10966: old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
! 10967: ;;
! 10968: gcx*)
! 10969: # Green Hills C++ Compiler
! 10970: archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 10971:
! 10972: # The C++ compiler must be used to create the archive.
! 10973: old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
! 10974: ;;
! 10975: *)
! 10976: # GNU C++ compiler with Solaris linker
! 10977: if test "$GXX" = yes && test "$with_gnu_ld" = no; then
! 10978: no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
! 10979: if $CC --version | grep -v '^2\.7' > /dev/null; then
! 10980: archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 10981: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 10982: $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 10983:
! 10984: # Commands to make compiler produce verbose output that lists
! 10985: # what "hidden" libraries, object files and flags are used when
! 10986: # linking a shared library.
! 10987: output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 10988: else
! 10989: # g++ 2.7 appears to require `-G' NOT `-shared' on this
! 10990: # platform.
! 10991: archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
! 10992: archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 10993: $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
! 10994:
! 10995: # Commands to make compiler produce verbose output that lists
! 10996: # what "hidden" libraries, object files and flags are used when
! 10997: # linking a shared library.
! 10998: output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
! 10999: fi
! 11000:
! 11001: hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
! 11002: fi
! 11003: ;;
! 11004: esac
! 11005: ;;
! 11006: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 11007: no_undefined_flag_CXX='${wl}-z,text'
! 11008: archive_cmds_need_lc_CXX=no
! 11009: hardcode_shlibpath_var_CXX=no
! 11010: runpath_var='LD_RUN_PATH'
! 11011:
! 11012: case $cc_basename in
! 11013: CC*)
! 11014: archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11015: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11016: ;;
! 11017: *)
! 11018: archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11019: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11020: ;;
! 11021: esac
! 11022: ;;
! 11023: sysv5* | sco3.2v5* | sco5v6*)
! 11024: # Note: We can NOT use -z defs as we might desire, because we do not
! 11025: # link with -lc, and that would cause any symbols used from libc to
! 11026: # always be unresolved, which means just about no library would
! 11027: # ever link correctly. If we're not using GNU ld we use -z text
! 11028: # though, which does catch some bad symbols but isn't as heavy-handed
! 11029: # as -z defs.
! 11030: # For security reasons, it is highly recommended that you always
! 11031: # use absolute paths for naming shared libraries, and exclude the
! 11032: # DT_RUNPATH tag from executables and libraries. But doing so
! 11033: # requires that you compile everything twice, which is a pain.
! 11034: # So that behaviour is only enabled if SCOABSPATH is set to a
! 11035: # non-empty value in the environment. Most likely only useful for
! 11036: # creating official distributions of packages.
! 11037: # This is a hack until libtool officially supports absolute path
! 11038: # names for shared libraries.
! 11039: no_undefined_flag_CXX='${wl}-z,text'
! 11040: allow_undefined_flag_CXX='${wl}-z,nodefs'
! 11041: archive_cmds_need_lc_CXX=no
! 11042: hardcode_shlibpath_var_CXX=no
! 11043: hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 11044: hardcode_libdir_separator_CXX=':'
! 11045: link_all_deplibs_CXX=yes
! 11046: export_dynamic_flag_spec_CXX='${wl}-Bexport'
! 11047: runpath_var='LD_RUN_PATH'
! 11048:
! 11049: case $cc_basename in
! 11050: CC*)
! 11051: archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11052: archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11053: ;;
! 11054: *)
! 11055: archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11056: archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11057: ;;
! 11058: esac
! 11059: ;;
! 11060: tandem*)
! 11061: case $cc_basename in
! 11062: NCC*)
! 11063: # NonStop-UX NCC 3.20
! 11064: # FIXME: insert proper C++ library support
! 11065: ld_shlibs_CXX=no
! 11066: ;;
! 11067: *)
! 11068: # FIXME: insert proper C++ library support
! 11069: ld_shlibs_CXX=no
! 11070: ;;
! 11071: esac
! 11072: ;;
! 11073: vxworks*)
! 11074: # FIXME: insert proper C++ library support
! 11075: ld_shlibs_CXX=no
! 11076: ;;
! 11077: *)
! 11078: # FIXME: insert proper C++ library support
! 11079: ld_shlibs_CXX=no
! 11080: ;;
! 11081: esac
! 11082: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 11083: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 11084: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 11085:
! 11086: GCC_CXX="$GXX"
! 11087: LD_CXX="$LD"
! 11088:
! 11089:
! 11090: cat > conftest.$ac_ext <<EOF
! 11091: class Foo
! 11092: {
! 11093: public:
! 11094: Foo (void) { a = 0; }
! 11095: private:
! 11096: int a;
! 11097: };
! 11098: EOF
! 11099:
! 11100: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 11101: (eval $ac_compile) 2>&5
! 11102: ac_status=$?
! 11103: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11104: (exit $ac_status); }; then
! 11105: # Parse the compiler output and extract the necessary
! 11106: # objects, libraries and library flags.
! 11107:
! 11108: # Sentinel used to keep track of whether or not we are before
! 11109: # the conftest object file.
! 11110: pre_test_object_deps_done=no
! 11111:
! 11112: # The `*' in the case matches for architectures that use `case' in
! 11113: # $output_verbose_cmd can trigger glob expansion during the loop
! 11114: # eval without this substitution.
! 11115: output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
! 11116:
! 11117: for p in `eval $output_verbose_link_cmd`; do
! 11118: case $p in
! 11119:
! 11120: -L* | -R* | -l*)
! 11121: # Some compilers place space between "-{L,R}" and the path.
! 11122: # Remove the space.
! 11123: if test $p = "-L" \
! 11124: || test $p = "-R"; then
! 11125: prev=$p
! 11126: continue
! 11127: else
! 11128: prev=
! 11129: fi
! 11130:
! 11131: if test "$pre_test_object_deps_done" = no; then
! 11132: case $p in
! 11133: -L* | -R*)
! 11134: # Internal compiler library paths should come after those
! 11135: # provided the user. The postdeps already come after the
! 11136: # user supplied libs so there is no need to process them.
! 11137: if test -z "$compiler_lib_search_path_CXX"; then
! 11138: compiler_lib_search_path_CXX="${prev}${p}"
! 11139: else
! 11140: compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
! 11141: fi
! 11142: ;;
! 11143: # The "-l" case would never come before the object being
! 11144: # linked, so don't bother handling this case.
! 11145: esac
! 11146: else
! 11147: if test -z "$postdeps_CXX"; then
! 11148: postdeps_CXX="${prev}${p}"
! 11149: else
! 11150: postdeps_CXX="${postdeps_CXX} ${prev}${p}"
! 11151: fi
! 11152: fi
! 11153: ;;
! 11154:
! 11155: *.$objext)
! 11156: # This assumes that the test object file only shows up
! 11157: # once in the compiler output.
! 11158: if test "$p" = "conftest.$objext"; then
! 11159: pre_test_object_deps_done=yes
! 11160: continue
! 11161: fi
! 11162:
! 11163: if test "$pre_test_object_deps_done" = no; then
! 11164: if test -z "$predep_objects_CXX"; then
! 11165: predep_objects_CXX="$p"
! 11166: else
! 11167: predep_objects_CXX="$predep_objects_CXX $p"
! 11168: fi
! 11169: else
! 11170: if test -z "$postdep_objects_CXX"; then
! 11171: postdep_objects_CXX="$p"
! 11172: else
! 11173: postdep_objects_CXX="$postdep_objects_CXX $p"
! 11174: fi
! 11175: fi
! 11176: ;;
! 11177:
! 11178: *) ;; # Ignore the rest.
! 11179:
! 11180: esac
! 11181: done
! 11182:
! 11183: # Clean up.
! 11184: rm -f a.out a.exe
! 11185: else
! 11186: echo "libtool.m4: error: problem compiling CXX test program"
! 11187: fi
! 11188:
! 11189: $rm -f confest.$objext
! 11190:
! 11191: # PORTME: override above test on systems where it is broken
! 11192: case $host_os in
! 11193: interix3*)
! 11194: # Interix 3.5 installs completely hosed .la files for C++, so rather than
! 11195: # hack all around it, let's just trust "g++" to DTRT.
! 11196: predep_objects_CXX=
! 11197: postdep_objects_CXX=
! 11198: postdeps_CXX=
! 11199: ;;
! 11200:
! 11201: solaris*)
! 11202: case $cc_basename in
! 11203: CC*)
! 11204: # Adding this requires a known-good setup of shared libraries for
! 11205: # Sun compiler versions before 5.6, else PIC objects from an old
! 11206: # archive will be linked into the output, leading to subtle bugs.
! 11207: postdeps_CXX='-lCstd -lCrun'
! 11208: ;;
! 11209: esac
! 11210: ;;
! 11211: esac
! 11212:
! 11213:
! 11214: case " $postdeps_CXX " in
! 11215: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
! 11216: esac
! 11217:
! 11218: lt_prog_compiler_wl_CXX=
! 11219: lt_prog_compiler_pic_CXX=
! 11220: lt_prog_compiler_static_CXX=
! 11221:
! 11222: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 11223: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 11224:
! 11225: # C++ specific cases for pic, static, wl, etc.
! 11226: if test "$GXX" = yes; then
! 11227: lt_prog_compiler_wl_CXX='-Wl,'
! 11228: lt_prog_compiler_static_CXX='-static'
! 11229:
! 11230: case $host_os in
! 11231: aix*)
! 11232: # All AIX code is PIC.
! 11233: if test "$host_cpu" = ia64; then
! 11234: # AIX 5 now supports IA64 processor
! 11235: lt_prog_compiler_static_CXX='-Bstatic'
! 11236: fi
! 11237: ;;
! 11238: amigaos*)
! 11239: # FIXME: we need at least 68020 code to build shared libraries, but
! 11240: # adding the `-m68020' flag to GCC prevents building anything better,
! 11241: # like `-m68040'.
! 11242: lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
! 11243: ;;
! 11244: beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 11245: # PIC is the default for these OSes.
! 11246: ;;
! 11247: mingw* | os2* | pw32*)
! 11248: # This hack is so that the source file can tell whether it is being
! 11249: # built for inclusion in a dll (and should export symbols for example).
! 11250: lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
! 11251: ;;
! 11252: darwin* | rhapsody*)
! 11253: # PIC is the default on this platform
! 11254: # Common symbols not allowed in MH_DYLIB files
! 11255: lt_prog_compiler_pic_CXX='-fno-common'
! 11256: ;;
! 11257: *djgpp*)
! 11258: # DJGPP does not support shared libraries at all
! 11259: lt_prog_compiler_pic_CXX=
! 11260: ;;
! 11261: interix3*)
! 11262: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 11263: # Instead, we relocate shared libraries at runtime.
! 11264: ;;
! 11265: sysv4*MP*)
! 11266: if test -d /usr/nec; then
! 11267: lt_prog_compiler_pic_CXX=-Kconform_pic
! 11268: fi
! 11269: ;;
! 11270: hpux*)
! 11271: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 11272: # not for PA HP-UX.
! 11273: case $host_cpu in
! 11274: hppa*64*|ia64*)
! 11275: ;;
! 11276: *)
! 11277: lt_prog_compiler_pic_CXX='-fPIC'
! 11278: ;;
! 11279: esac
! 11280: ;;
! 11281: *)
! 11282: lt_prog_compiler_pic_CXX='-fPIC'
! 11283: ;;
! 11284: esac
! 11285: else
! 11286: case $host_os in
! 11287: aix4* | aix5*)
! 11288: # All AIX code is PIC.
! 11289: if test "$host_cpu" = ia64; then
! 11290: # AIX 5 now supports IA64 processor
! 11291: lt_prog_compiler_static_CXX='-Bstatic'
! 11292: else
! 11293: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
! 11294: fi
! 11295: ;;
! 11296: chorus*)
! 11297: case $cc_basename in
! 11298: cxch68*)
! 11299: # Green Hills C++ Compiler
! 11300: # _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"
! 11301: ;;
! 11302: esac
! 11303: ;;
! 11304: darwin*)
! 11305: # PIC is the default on this platform
! 11306: # Common symbols not allowed in MH_DYLIB files
! 11307: case $cc_basename in
! 11308: xlc*)
! 11309: lt_prog_compiler_pic_CXX='-qnocommon'
! 11310: lt_prog_compiler_wl_CXX='-Wl,'
! 11311: ;;
! 11312: esac
! 11313: ;;
! 11314: dgux*)
! 11315: case $cc_basename in
! 11316: ec++*)
! 11317: lt_prog_compiler_pic_CXX='-KPIC'
! 11318: ;;
! 11319: ghcx*)
! 11320: # Green Hills C++ Compiler
! 11321: lt_prog_compiler_pic_CXX='-pic'
! 11322: ;;
! 11323: *)
! 11324: ;;
! 11325: esac
! 11326: ;;
! 11327: freebsd* | kfreebsd*-gnu | dragonfly*)
! 11328: # FreeBSD uses GNU C++
! 11329: ;;
! 11330: hpux9* | hpux10* | hpux11*)
! 11331: case $cc_basename in
! 11332: CC*)
! 11333: lt_prog_compiler_wl_CXX='-Wl,'
! 11334: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 11335: if test "$host_cpu" != ia64; then
! 11336: lt_prog_compiler_pic_CXX='+Z'
! 11337: fi
! 11338: ;;
! 11339: aCC*)
! 11340: lt_prog_compiler_wl_CXX='-Wl,'
! 11341: lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
! 11342: case $host_cpu in
! 11343: hppa*64*|ia64*)
! 11344: # +Z the default
! 11345: ;;
! 11346: *)
! 11347: lt_prog_compiler_pic_CXX='+Z'
! 11348: ;;
! 11349: esac
! 11350: ;;
! 11351: *)
! 11352: ;;
! 11353: esac
! 11354: ;;
! 11355: interix*)
! 11356: # This is c89, which is MS Visual C++ (no shared libs)
! 11357: # Anyone wants to do a port?
! 11358: ;;
! 11359: irix5* | irix6* | nonstopux*)
! 11360: case $cc_basename in
! 11361: CC*)
! 11362: lt_prog_compiler_wl_CXX='-Wl,'
! 11363: lt_prog_compiler_static_CXX='-non_shared'
! 11364: # CC pic flag -KPIC is the default.
! 11365: ;;
! 11366: *)
! 11367: ;;
! 11368: esac
! 11369: ;;
! 11370: linux*)
! 11371: case $cc_basename in
! 11372: KCC*)
! 11373: # KAI C++ Compiler
! 11374: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 11375: lt_prog_compiler_pic_CXX='-fPIC'
! 11376: ;;
! 11377: icpc* | ecpc*)
! 11378: # Intel C++
! 11379: lt_prog_compiler_wl_CXX='-Wl,'
! 11380: lt_prog_compiler_pic_CXX='-KPIC'
! 11381: lt_prog_compiler_static_CXX='-static'
! 11382: ;;
! 11383: pgCC*)
! 11384: # Portland Group C++ compiler.
! 11385: lt_prog_compiler_wl_CXX='-Wl,'
! 11386: lt_prog_compiler_pic_CXX='-fpic'
! 11387: lt_prog_compiler_static_CXX='-Bstatic'
! 11388: ;;
! 11389: cxx*)
! 11390: # Compaq C++
! 11391: # Make sure the PIC flag is empty. It appears that all Alpha
! 11392: # Linux and Compaq Tru64 Unix objects are PIC.
! 11393: lt_prog_compiler_pic_CXX=
! 11394: lt_prog_compiler_static_CXX='-non_shared'
! 11395: ;;
! 11396: *)
! 11397: ;;
! 11398: esac
! 11399: ;;
! 11400: lynxos*)
! 11401: ;;
! 11402: m88k*)
! 11403: ;;
! 11404: mvs*)
! 11405: case $cc_basename in
! 11406: cxx*)
! 11407: lt_prog_compiler_pic_CXX='-W c,exportall'
! 11408: ;;
! 11409: *)
! 11410: ;;
! 11411: esac
! 11412: ;;
! 11413: netbsd*)
! 11414: ;;
! 11415: osf3* | osf4* | osf5*)
! 11416: case $cc_basename in
! 11417: KCC*)
! 11418: lt_prog_compiler_wl_CXX='--backend -Wl,'
! 11419: ;;
! 11420: RCC*)
! 11421: # Rational C++ 2.4.1
! 11422: lt_prog_compiler_pic_CXX='-pic'
! 11423: ;;
! 11424: cxx*)
! 11425: # Digital/Compaq C++
! 11426: lt_prog_compiler_wl_CXX='-Wl,'
! 11427: # Make sure the PIC flag is empty. It appears that all Alpha
! 11428: # Linux and Compaq Tru64 Unix objects are PIC.
! 11429: lt_prog_compiler_pic_CXX=
! 11430: lt_prog_compiler_static_CXX='-non_shared'
! 11431: ;;
! 11432: *)
! 11433: ;;
! 11434: esac
! 11435: ;;
! 11436: psos*)
! 11437: ;;
! 11438: solaris*)
! 11439: case $cc_basename in
! 11440: CC*)
! 11441: # Sun C++ 4.2, 5.x and Centerline C++
! 11442: lt_prog_compiler_pic_CXX='-KPIC'
! 11443: lt_prog_compiler_static_CXX='-Bstatic'
! 11444: lt_prog_compiler_wl_CXX='-Qoption ld '
! 11445: ;;
! 11446: gcx*)
! 11447: # Green Hills C++ Compiler
! 11448: lt_prog_compiler_pic_CXX='-PIC'
! 11449: ;;
! 11450: *)
! 11451: ;;
! 11452: esac
! 11453: ;;
! 11454: sunos4*)
! 11455: case $cc_basename in
! 11456: CC*)
! 11457: # Sun C++ 4.x
! 11458: lt_prog_compiler_pic_CXX='-pic'
! 11459: lt_prog_compiler_static_CXX='-Bstatic'
! 11460: ;;
! 11461: lcc*)
! 11462: # Lucid
! 11463: lt_prog_compiler_pic_CXX='-pic'
! 11464: ;;
! 11465: *)
! 11466: ;;
! 11467: esac
! 11468: ;;
! 11469: tandem*)
! 11470: case $cc_basename in
! 11471: NCC*)
! 11472: # NonStop-UX NCC 3.20
! 11473: lt_prog_compiler_pic_CXX='-KPIC'
! 11474: ;;
! 11475: *)
! 11476: ;;
! 11477: esac
! 11478: ;;
! 11479: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 11480: case $cc_basename in
! 11481: CC*)
! 11482: lt_prog_compiler_wl_CXX='-Wl,'
! 11483: lt_prog_compiler_pic_CXX='-KPIC'
! 11484: lt_prog_compiler_static_CXX='-Bstatic'
! 11485: ;;
! 11486: esac
! 11487: ;;
! 11488: vxworks*)
! 11489: ;;
! 11490: *)
! 11491: lt_prog_compiler_can_build_shared_CXX=no
! 11492: ;;
! 11493: esac
! 11494: fi
! 11495:
! 11496: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
! 11497: echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
! 11498:
! 11499: #
! 11500: # Check to make sure the PIC flag actually works.
! 11501: #
! 11502: if test -n "$lt_prog_compiler_pic_CXX"; then
! 11503:
! 11504: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
! 11505: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
! 11506: if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
! 11507: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11508: else
! 11509: lt_prog_compiler_pic_works_CXX=no
! 11510: ac_outfile=conftest.$ac_objext
! 11511: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 11512: lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
! 11513: # Insert the option either (1) after the last *FLAGS variable, or
! 11514: # (2) before a word containing "conftest.", or (3) at the end.
! 11515: # Note that $ac_compile itself does not contain backslashes and begins
! 11516: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 11517: # The option is referenced via a variable to avoid confusing sed.
! 11518: lt_compile=`echo "$ac_compile" | $SED \
! 11519: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 11520: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 11521: -e 's:$: $lt_compiler_flag:'`
! 11522: (eval echo "\"\$as_me:11522: $lt_compile\"" >&5)
! 11523: (eval "$lt_compile" 2>conftest.err)
! 11524: ac_status=$?
! 11525: cat conftest.err >&5
! 11526: echo "$as_me:11526: \$? = $ac_status" >&5
! 11527: if (exit $ac_status) && test -s "$ac_outfile"; then
! 11528: # The compiler can only warn and ignore the option if not recognized
! 11529: # So say no if there are warnings other than the usual output.
! 11530: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 11531: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 11532: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 11533: lt_prog_compiler_pic_works_CXX=yes
! 11534: fi
! 11535: fi
! 11536: $rm conftest*
! 11537:
! 11538: fi
! 11539: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
! 11540: echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
! 11541:
! 11542: if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
! 11543: case $lt_prog_compiler_pic_CXX in
! 11544: "" | " "*) ;;
! 11545: *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
! 11546: esac
! 11547: else
! 11548: lt_prog_compiler_pic_CXX=
! 11549: lt_prog_compiler_can_build_shared_CXX=no
! 11550: fi
! 11551:
! 11552: fi
! 11553: case $host_os in
! 11554: # For platforms which do not support PIC, -DPIC is meaningless:
! 11555: *djgpp*)
! 11556: lt_prog_compiler_pic_CXX=
! 11557: ;;
! 11558: *)
! 11559: lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
! 11560: ;;
! 11561: esac
! 11562:
! 11563: #
! 11564: # Check to make sure the static flag actually works.
! 11565: #
! 11566: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
! 11567: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 11568: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 11569: if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
! 11570: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11571: else
! 11572: lt_prog_compiler_static_works_CXX=no
! 11573: save_LDFLAGS="$LDFLAGS"
! 11574: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 11575: printf "$lt_simple_link_test_code" > conftest.$ac_ext
! 11576: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 11577: # The linker can only warn and ignore the option if not recognized
! 11578: # So say no if there are warnings
! 11579: if test -s conftest.err; then
! 11580: # Append any errors to the config.log.
! 11581: cat conftest.err 1>&5
! 11582: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 11583: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 11584: if diff conftest.exp conftest.er2 >/dev/null; then
! 11585: lt_prog_compiler_static_works_CXX=yes
! 11586: fi
! 11587: else
! 11588: lt_prog_compiler_static_works_CXX=yes
! 11589: fi
! 11590: fi
! 11591: $rm conftest*
! 11592: LDFLAGS="$save_LDFLAGS"
! 11593:
! 11594: fi
! 11595: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
! 11596: echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
! 11597:
! 11598: if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
! 11599: :
! 11600: else
! 11601: lt_prog_compiler_static_CXX=
! 11602: fi
! 11603:
! 11604:
! 11605: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 11606: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 11607: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
! 11608: echo $ECHO_N "(cached) $ECHO_C" >&6
! 11609: else
! 11610: lt_cv_prog_compiler_c_o_CXX=no
! 11611: $rm -r conftest 2>/dev/null
! 11612: mkdir conftest
! 11613: cd conftest
! 11614: mkdir out
! 11615: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 11616:
! 11617: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 11618: # Insert the option either (1) after the last *FLAGS variable, or
! 11619: # (2) before a word containing "conftest.", or (3) at the end.
! 11620: # Note that $ac_compile itself does not contain backslashes and begins
! 11621: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 11622: lt_compile=`echo "$ac_compile" | $SED \
! 11623: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 11624: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 11625: -e 's:$: $lt_compiler_flag:'`
! 11626: (eval echo "\"\$as_me:11626: $lt_compile\"" >&5)
! 11627: (eval "$lt_compile" 2>out/conftest.err)
! 11628: ac_status=$?
! 11629: cat out/conftest.err >&5
! 11630: echo "$as_me:11630: \$? = $ac_status" >&5
! 11631: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 11632: then
! 11633: # The compiler can only warn and ignore the option if not recognized
! 11634: # So say no if there are warnings
! 11635: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 11636: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 11637: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 11638: lt_cv_prog_compiler_c_o_CXX=yes
! 11639: fi
! 11640: fi
! 11641: chmod u+w . 2>&5
! 11642: $rm conftest*
! 11643: # SGI C++ compiler will create directory out/ii_files/ for
! 11644: # template instantiation
! 11645: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 11646: $rm out/* && rmdir out
! 11647: cd ..
! 11648: rmdir conftest
! 11649: $rm conftest*
! 11650:
! 11651: fi
! 11652: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
! 11653: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
! 11654:
! 11655:
! 11656: hard_links="nottested"
! 11657: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
! 11658: # do not overwrite the value of need_locks provided by the user
! 11659: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 11660: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 11661: hard_links=yes
! 11662: $rm conftest*
! 11663: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 11664: touch conftest.a
! 11665: ln conftest.a conftest.b 2>&5 || hard_links=no
! 11666: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 11667: echo "$as_me:$LINENO: result: $hard_links" >&5
! 11668: echo "${ECHO_T}$hard_links" >&6
! 11669: if test "$hard_links" = no; then
! 11670: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 11671: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 11672: need_locks=warn
! 11673: fi
! 11674: else
! 11675: need_locks=no
! 11676: fi
! 11677:
! 11678: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 11679: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 11680:
! 11681: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 11682: case $host_os in
! 11683: aix4* | aix5*)
! 11684: # If we're using GNU nm, then we don't want the "-C" option.
! 11685: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 11686: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 11687: 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'
! 11688: else
! 11689: 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'
! 11690: fi
! 11691: ;;
! 11692: pw32*)
! 11693: export_symbols_cmds_CXX="$ltdll_cmds"
! 11694: ;;
! 11695: cygwin* | mingw*)
! 11696: 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'
! 11697: ;;
! 11698: *)
! 11699: export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 11700: ;;
! 11701: esac
! 11702:
! 11703: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
! 11704: echo "${ECHO_T}$ld_shlibs_CXX" >&6
! 11705: test "$ld_shlibs_CXX" = no && can_build_shared=no
! 11706:
! 11707: #
! 11708: # Do we need to explicitly link libc?
! 11709: #
! 11710: case "x$archive_cmds_need_lc_CXX" in
! 11711: x|xyes)
! 11712: # Assume -lc should be added
! 11713: archive_cmds_need_lc_CXX=yes
! 11714:
! 11715: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 11716: case $archive_cmds_CXX in
! 11717: *'~'*)
! 11718: # FIXME: we may have to deal with multi-command sequences.
! 11719: ;;
! 11720: '$CC '*)
! 11721: # Test whether the compiler implicitly links with -lc since on some
! 11722: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 11723: # to ld, don't add -lc before -lgcc.
! 11724: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 11725: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 11726: $rm conftest*
! 11727: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 11728:
! 11729: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 11730: (eval $ac_compile) 2>&5
! 11731: ac_status=$?
! 11732: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11733: (exit $ac_status); } 2>conftest.err; then
! 11734: soname=conftest
! 11735: lib=conftest
! 11736: libobjs=conftest.$ac_objext
! 11737: deplibs=
! 11738: wl=$lt_prog_compiler_wl_CXX
! 11739: pic_flag=$lt_prog_compiler_pic_CXX
! 11740: compiler_flags=-v
! 11741: linker_flags=-v
! 11742: verstring=
! 11743: output_objdir=.
! 11744: libname=conftest
! 11745: lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
! 11746: allow_undefined_flag_CXX=
! 11747: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 11748: (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 11749: ac_status=$?
! 11750: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 11751: (exit $ac_status); }
! 11752: then
! 11753: archive_cmds_need_lc_CXX=no
! 11754: else
! 11755: archive_cmds_need_lc_CXX=yes
! 11756: fi
! 11757: allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
! 11758: else
! 11759: cat conftest.err 1>&5
! 11760: fi
! 11761: $rm conftest*
! 11762: echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
! 11763: echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
! 11764: ;;
! 11765: esac
! 11766: fi
! 11767: ;;
! 11768: esac
! 11769:
! 11770: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 11771: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 11772: library_names_spec=
! 11773: libname_spec='lib$name'
! 11774: soname_spec=
! 11775: shrext_cmds=".so"
! 11776: postinstall_cmds=
! 11777: postuninstall_cmds=
! 11778: finish_cmds=
! 11779: finish_eval=
! 11780: shlibpath_var=
! 11781: shlibpath_overrides_runpath=unknown
! 11782: version_type=none
! 11783: dynamic_linker="$host_os ld.so"
! 11784: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 11785: if test "$GCC" = yes; then
! 11786: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 11787: if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
! 11788: # if the path contains ";" then we assume it to be the separator
! 11789: # otherwise default to the standard path separator (i.e. ":") - it is
! 11790: # assumed that no part of a normal pathname contains ";" but that should
! 11791: # okay in the real world where ";" in dirpaths is itself problematic.
! 11792: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 11793: else
! 11794: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 11795: fi
! 11796: else
! 11797: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 11798: fi
! 11799: need_lib_prefix=unknown
! 11800: hardcode_into_libs=no
! 11801:
! 11802: # when you set need_version to no, make sure it does not cause -set_version
! 11803: # flags to be left without arguments
! 11804: need_version=unknown
! 11805:
! 11806: case $host_os in
! 11807: aix3*)
! 11808: version_type=linux
! 11809: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 11810: shlibpath_var=LIBPATH
! 11811:
! 11812: # AIX 3 has no versioning support, so we append a major version to the name.
! 11813: soname_spec='${libname}${release}${shared_ext}$major'
! 11814: ;;
! 11815:
! 11816: aix4* | aix5*)
! 11817: version_type=linux
! 11818: need_lib_prefix=no
! 11819: need_version=no
! 11820: hardcode_into_libs=yes
! 11821: if test "$host_cpu" = ia64; then
! 11822: # AIX 5 supports IA64
! 11823: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 11824: shlibpath_var=LD_LIBRARY_PATH
! 11825: else
! 11826: # With GCC up to 2.95.x, collect2 would create an import file
! 11827: # for dependence libraries. The import file would start with
! 11828: # the line `#! .'. This would cause the generated library to
! 11829: # depend on `.', always an invalid library. This was fixed in
! 11830: # development snapshots of GCC prior to 3.0.
! 11831: case $host_os in
! 11832: aix4 | aix4.[01] | aix4.[01].*)
! 11833: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 11834: echo ' yes '
! 11835: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 11836: :
! 11837: else
! 11838: can_build_shared=no
! 11839: fi
! 11840: ;;
! 11841: esac
! 11842: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 11843: # soname into executable. Probably we can add versioning support to
! 11844: # collect2, so additional links can be useful in future.
! 11845: if test "$aix_use_runtimelinking" = yes; then
! 11846: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 11847: # instead of lib<name>.a to let people know that these are not
! 11848: # typical AIX shared libraries.
! 11849: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11850: else
! 11851: # We preserve .a as extension for shared libraries through AIX4.2
! 11852: # and later when we are not doing run time linking.
! 11853: library_names_spec='${libname}${release}.a $libname.a'
! 11854: soname_spec='${libname}${release}${shared_ext}$major'
! 11855: fi
! 11856: shlibpath_var=LIBPATH
! 11857: fi
! 11858: ;;
! 11859:
! 11860: amigaos*)
! 11861: library_names_spec='$libname.ixlibrary $libname.a'
! 11862: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 11863: 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'
! 11864: ;;
! 11865:
! 11866: beos*)
! 11867: library_names_spec='${libname}${shared_ext}'
! 11868: dynamic_linker="$host_os ld.so"
! 11869: shlibpath_var=LIBRARY_PATH
! 11870: ;;
! 11871:
! 11872: bsdi[45]*)
! 11873: version_type=linux
! 11874: need_version=no
! 11875: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 11876: soname_spec='${libname}${release}${shared_ext}$major'
! 11877: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 11878: shlibpath_var=LD_LIBRARY_PATH
! 11879: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 11880: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 11881: # the default ld.so.conf also contains /usr/contrib/lib and
! 11882: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 11883: # libtool to hard-code these into programs
! 11884: ;;
! 11885:
! 11886: cygwin* | mingw* | pw32*)
! 11887: version_type=windows
! 11888: shrext_cmds=".dll"
! 11889: need_version=no
! 11890: need_lib_prefix=no
! 11891:
! 11892: case $GCC,$host_os in
! 11893: yes,cygwin* | yes,mingw* | yes,pw32*)
! 11894: library_names_spec='$libname.dll.a'
! 11895: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 11896: postinstall_cmds='base_file=`basename \${file}`~
! 11897: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 11898: dldir=$destdir/`dirname \$dlpath`~
! 11899: test -d \$dldir || mkdir -p \$dldir~
! 11900: $install_prog $dir/$dlname \$dldir/$dlname~
! 11901: chmod a+x \$dldir/$dlname'
! 11902: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 11903: dlpath=$dir/\$dldll~
! 11904: $rm \$dlpath'
! 11905: shlibpath_overrides_runpath=yes
! 11906:
! 11907: case $host_os in
! 11908: cygwin*)
! 11909: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 11910: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11911: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 11912: ;;
! 11913: mingw*)
! 11914: # MinGW DLLs use traditional 'lib' prefix
! 11915: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11916: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 11917: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 11918: # It is most probably a Windows format PATH printed by
! 11919: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 11920: # path with ; separators, and with drive letters. We can handle the
! 11921: # drive letters (cygwin fileutils understands them), so leave them,
! 11922: # especially as we might pass files found there to a mingw objdump,
! 11923: # which wouldn't understand a cygwinified path. Ahh.
! 11924: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 11925: else
! 11926: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 11927: fi
! 11928: ;;
! 11929: pw32*)
! 11930: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 11931: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 11932: ;;
! 11933: esac
! 11934: ;;
! 11935:
! 11936: *)
! 11937: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 11938: ;;
! 11939: esac
! 11940: dynamic_linker='Win32 ld.exe'
! 11941: # FIXME: first we should search . and the directory the executable is in
! 11942: shlibpath_var=PATH
! 11943: ;;
! 11944:
! 11945: darwin* | rhapsody*)
! 11946: dynamic_linker="$host_os dyld"
! 11947: version_type=darwin
! 11948: need_lib_prefix=no
! 11949: need_version=no
! 11950: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 11951: soname_spec='${libname}${release}${major}$shared_ext'
! 11952: shlibpath_overrides_runpath=yes
! 11953: shlibpath_var=DYLD_LIBRARY_PATH
! 11954: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 11955: # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
! 11956: if test "$GCC" = yes; then
! 11957: sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
! 11958: else
! 11959: sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
! 11960: fi
! 11961: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 11962: ;;
! 11963:
! 11964: dgux*)
! 11965: version_type=linux
! 11966: need_lib_prefix=no
! 11967: need_version=no
! 11968: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 11969: soname_spec='${libname}${release}${shared_ext}$major'
! 11970: shlibpath_var=LD_LIBRARY_PATH
! 11971: ;;
! 11972:
! 11973: freebsd1*)
! 11974: dynamic_linker=no
! 11975: ;;
! 11976:
! 11977: kfreebsd*-gnu)
! 11978: version_type=linux
! 11979: need_lib_prefix=no
! 11980: need_version=no
! 11981: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 11982: soname_spec='${libname}${release}${shared_ext}$major'
! 11983: shlibpath_var=LD_LIBRARY_PATH
! 11984: shlibpath_overrides_runpath=no
! 11985: hardcode_into_libs=yes
! 11986: dynamic_linker='GNU ld.so'
! 11987: ;;
! 11988:
! 11989: freebsd* | dragonfly*)
! 11990: # DragonFly does not have aout. When/if they implement a new
! 11991: # versioning mechanism, adjust this.
! 11992: if test -x /usr/bin/objformat; then
! 11993: objformat=`/usr/bin/objformat`
! 11994: else
! 11995: case $host_os in
! 11996: freebsd[123]*) objformat=aout ;;
! 11997: *) objformat=elf ;;
! 11998: esac
! 11999: fi
! 12000: version_type=freebsd-$objformat
! 12001: case $version_type in
! 12002: freebsd-elf*)
! 12003: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12004: need_version=no
! 12005: need_lib_prefix=no
! 12006: ;;
! 12007: freebsd-*)
! 12008: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 12009: need_version=yes
! 12010: ;;
! 12011: esac
! 12012: shlibpath_var=LD_LIBRARY_PATH
! 12013: case $host_os in
! 12014: freebsd2*)
! 12015: shlibpath_overrides_runpath=yes
! 12016: ;;
! 12017: freebsd3.[01]* | freebsdelf3.[01]*)
! 12018: shlibpath_overrides_runpath=yes
! 12019: hardcode_into_libs=yes
! 12020: ;;
! 12021: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 12022: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 12023: shlibpath_overrides_runpath=no
! 12024: hardcode_into_libs=yes
! 12025: ;;
! 12026: freebsd*) # from 4.6 on
! 12027: shlibpath_overrides_runpath=yes
! 12028: hardcode_into_libs=yes
! 12029: ;;
! 12030: esac
! 12031: ;;
! 12032:
! 12033: gnu*)
! 12034: version_type=linux
! 12035: need_lib_prefix=no
! 12036: need_version=no
! 12037: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 12038: soname_spec='${libname}${release}${shared_ext}$major'
! 12039: shlibpath_var=LD_LIBRARY_PATH
! 12040: hardcode_into_libs=yes
! 12041: ;;
! 12042:
! 12043: hpux9* | hpux10* | hpux11*)
! 12044: # Give a soname corresponding to the major version so that dld.sl refuses to
! 12045: # link against other versions.
! 12046: version_type=sunos
! 12047: need_lib_prefix=no
! 12048: need_version=no
! 12049: case $host_cpu in
! 12050: ia64*)
! 12051: shrext_cmds='.so'
! 12052: hardcode_into_libs=yes
! 12053: dynamic_linker="$host_os dld.so"
! 12054: shlibpath_var=LD_LIBRARY_PATH
! 12055: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 12056: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12057: soname_spec='${libname}${release}${shared_ext}$major'
! 12058: if test "X$HPUX_IA64_MODE" = X32; then
! 12059: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 12060: else
! 12061: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 12062: fi
! 12063: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 12064: ;;
! 12065: hppa*64*)
! 12066: shrext_cmds='.sl'
! 12067: hardcode_into_libs=yes
! 12068: dynamic_linker="$host_os dld.sl"
! 12069: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 12070: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 12071: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12072: soname_spec='${libname}${release}${shared_ext}$major'
! 12073: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 12074: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 12075: ;;
! 12076: *)
! 12077: shrext_cmds='.sl'
! 12078: dynamic_linker="$host_os dld.sl"
! 12079: shlibpath_var=SHLIB_PATH
! 12080: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 12081: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12082: soname_spec='${libname}${release}${shared_ext}$major'
! 12083: ;;
! 12084: esac
! 12085: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 12086: postinstall_cmds='chmod 555 $lib'
! 12087: ;;
! 12088:
! 12089: interix3*)
! 12090: version_type=linux
! 12091: need_lib_prefix=no
! 12092: need_version=no
! 12093: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 12094: soname_spec='${libname}${release}${shared_ext}$major'
! 12095: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 12096: shlibpath_var=LD_LIBRARY_PATH
! 12097: shlibpath_overrides_runpath=no
! 12098: hardcode_into_libs=yes
! 12099: ;;
! 12100:
! 12101: irix5* | irix6* | nonstopux*)
! 12102: case $host_os in
! 12103: nonstopux*) version_type=nonstopux ;;
! 12104: *)
! 12105: if test "$lt_cv_prog_gnu_ld" = yes; then
! 12106: version_type=linux
! 12107: else
! 12108: version_type=irix
! 12109: fi ;;
! 12110: esac
! 12111: need_lib_prefix=no
! 12112: need_version=no
! 12113: soname_spec='${libname}${release}${shared_ext}$major'
! 12114: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12115: case $host_os in
! 12116: irix5* | nonstopux*)
! 12117: libsuff= shlibsuff=
! 12118: ;;
! 12119: *)
! 12120: case $LD in # libtool.m4 will add one of these switches to LD
! 12121: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 12122: libsuff= shlibsuff= libmagic=32-bit;;
! 12123: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 12124: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 12125: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 12126: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 12127: *) libsuff= shlibsuff= libmagic=never-match;;
! 12128: esac
! 12129: ;;
! 12130: esac
! 12131: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 12132: shlibpath_overrides_runpath=no
! 12133: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 12134: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 12135: hardcode_into_libs=yes
! 12136: ;;
! 12137:
! 12138: # No shared lib support for Linux oldld, aout, or coff.
! 12139: linux*oldld* | linux*aout* | linux*coff*)
! 12140: dynamic_linker=no
! 12141: ;;
! 12142:
! 12143: # This must be Linux ELF.
! 12144: linux*)
! 12145: version_type=linux
! 12146: need_lib_prefix=no
! 12147: need_version=no
! 12148: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12149: soname_spec='${libname}${release}${shared_ext}$major'
! 12150: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 12151: shlibpath_var=LD_LIBRARY_PATH
! 12152: shlibpath_overrides_runpath=no
! 12153: # This implies no fast_install, which is unacceptable.
! 12154: # Some rework will be needed to allow for fast_install
! 12155: # before this can be enabled.
! 12156: hardcode_into_libs=yes
! 12157:
! 12158: # find out which ABI we are using
! 12159: libsuff=
! 12160: case "$host_cpu" in
! 12161: x86_64*|s390x*|powerpc64*)
! 12162: echo '#line 12162 "configure"' > conftest.$ac_ext
! 12163: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 12164: (eval $ac_compile) 2>&5
! 12165: ac_status=$?
! 12166: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12167: (exit $ac_status); }; then
! 12168: case `/usr/bin/file conftest.$ac_objext` in
! 12169: *64-bit*)
! 12170: libsuff=64
! 12171: sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
! 12172: ;;
! 12173: esac
! 12174: fi
! 12175: rm -rf conftest*
! 12176: ;;
! 12177: esac
! 12178:
! 12179: # Append ld.so.conf contents to the search path
! 12180: if test -f /etc/ld.so.conf; then
! 12181: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
! 12182: sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
! 12183: fi
! 12184:
! 12185: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 12186: # powerpc, because MkLinux only supported shared libraries with the
! 12187: # GNU dynamic linker. Since this was broken with cross compilers,
! 12188: # most powerpc-linux boxes support dynamic linking these days and
! 12189: # people can always --disable-shared, the test was removed, and we
! 12190: # assume the GNU/Linux dynamic linker is in use.
! 12191: dynamic_linker='GNU/Linux ld.so'
! 12192: ;;
! 12193:
! 12194: knetbsd*-gnu)
! 12195: version_type=linux
! 12196: need_lib_prefix=no
! 12197: need_version=no
! 12198: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 12199: soname_spec='${libname}${release}${shared_ext}$major'
! 12200: shlibpath_var=LD_LIBRARY_PATH
! 12201: shlibpath_overrides_runpath=no
! 12202: hardcode_into_libs=yes
! 12203: dynamic_linker='GNU ld.so'
! 12204: ;;
! 12205:
! 12206: netbsd*)
! 12207: version_type=sunos
! 12208: need_lib_prefix=no
! 12209: need_version=no
! 12210: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 12211: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12212: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 12213: dynamic_linker='NetBSD (a.out) ld.so'
! 12214: else
! 12215: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 12216: soname_spec='${libname}${release}${shared_ext}$major'
! 12217: dynamic_linker='NetBSD ld.elf_so'
! 12218: fi
! 12219: shlibpath_var=LD_LIBRARY_PATH
! 12220: shlibpath_overrides_runpath=yes
! 12221: hardcode_into_libs=yes
! 12222: ;;
! 12223:
! 12224: newsos6)
! 12225: version_type=linux
! 12226: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12227: shlibpath_var=LD_LIBRARY_PATH
! 12228: shlibpath_overrides_runpath=yes
! 12229: ;;
! 12230:
! 12231: nto-qnx*)
! 12232: version_type=linux
! 12233: need_lib_prefix=no
! 12234: need_version=no
! 12235: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12236: soname_spec='${libname}${release}${shared_ext}$major'
! 12237: shlibpath_var=LD_LIBRARY_PATH
! 12238: shlibpath_overrides_runpath=yes
! 12239: ;;
! 12240:
! 12241: openbsd*)
! 12242: version_type=sunos
! 12243: sys_lib_dlsearch_path_spec="/usr/lib"
! 12244: need_lib_prefix=no
! 12245: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 12246: case $host_os in
! 12247: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 12248: *) need_version=no ;;
! 12249: esac
! 12250: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12251: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 12252: shlibpath_var=LD_LIBRARY_PATH
! 12253: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 12254: case $host_os in
! 12255: openbsd2.[89] | openbsd2.[89].*)
! 12256: shlibpath_overrides_runpath=no
! 12257: ;;
! 12258: *)
! 12259: shlibpath_overrides_runpath=yes
! 12260: ;;
! 12261: esac
! 12262: else
! 12263: shlibpath_overrides_runpath=yes
! 12264: fi
! 12265: ;;
! 12266:
! 12267: os2*)
! 12268: libname_spec='$name'
! 12269: shrext_cmds=".dll"
! 12270: need_lib_prefix=no
! 12271: library_names_spec='$libname${shared_ext} $libname.a'
! 12272: dynamic_linker='OS/2 ld.exe'
! 12273: shlibpath_var=LIBPATH
! 12274: ;;
! 12275:
! 12276: osf3* | osf4* | osf5*)
! 12277: version_type=osf
! 12278: need_lib_prefix=no
! 12279: need_version=no
! 12280: soname_spec='${libname}${release}${shared_ext}$major'
! 12281: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12282: shlibpath_var=LD_LIBRARY_PATH
! 12283: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 12284: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 12285: ;;
! 12286:
! 12287: solaris*)
! 12288: version_type=linux
! 12289: need_lib_prefix=no
! 12290: need_version=no
! 12291: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12292: soname_spec='${libname}${release}${shared_ext}$major'
! 12293: shlibpath_var=LD_LIBRARY_PATH
! 12294: shlibpath_overrides_runpath=yes
! 12295: hardcode_into_libs=yes
! 12296: # ldd complains unless libraries are executable
! 12297: postinstall_cmds='chmod +x $lib'
! 12298: ;;
! 12299:
! 12300: sunos4*)
! 12301: version_type=sunos
! 12302: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12303: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 12304: shlibpath_var=LD_LIBRARY_PATH
! 12305: shlibpath_overrides_runpath=yes
! 12306: if test "$with_gnu_ld" = yes; then
! 12307: need_lib_prefix=no
! 12308: fi
! 12309: need_version=yes
! 12310: ;;
! 12311:
! 12312: sysv4 | sysv4.3*)
! 12313: version_type=linux
! 12314: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12315: soname_spec='${libname}${release}${shared_ext}$major'
! 12316: shlibpath_var=LD_LIBRARY_PATH
! 12317: case $host_vendor in
! 12318: sni)
! 12319: shlibpath_overrides_runpath=no
! 12320: need_lib_prefix=no
! 12321: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 12322: runpath_var=LD_RUN_PATH
! 12323: ;;
! 12324: siemens)
! 12325: need_lib_prefix=no
! 12326: ;;
! 12327: motorola)
! 12328: need_lib_prefix=no
! 12329: need_version=no
! 12330: shlibpath_overrides_runpath=no
! 12331: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 12332: ;;
! 12333: esac
! 12334: ;;
! 12335:
! 12336: sysv4*MP*)
! 12337: if test -d /usr/nec ;then
! 12338: version_type=linux
! 12339: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 12340: soname_spec='$libname${shared_ext}.$major'
! 12341: shlibpath_var=LD_LIBRARY_PATH
! 12342: fi
! 12343: ;;
! 12344:
! 12345: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 12346: version_type=freebsd-elf
! 12347: need_lib_prefix=no
! 12348: need_version=no
! 12349: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12350: soname_spec='${libname}${release}${shared_ext}$major'
! 12351: shlibpath_var=LD_LIBRARY_PATH
! 12352: hardcode_into_libs=yes
! 12353: if test "$with_gnu_ld" = yes; then
! 12354: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 12355: shlibpath_overrides_runpath=no
! 12356: else
! 12357: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 12358: shlibpath_overrides_runpath=yes
! 12359: case $host_os in
! 12360: sco3.2v5*)
! 12361: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 12362: ;;
! 12363: esac
! 12364: fi
! 12365: sys_lib_dlsearch_path_spec='/usr/lib'
! 12366: ;;
! 12367:
! 12368: uts4*)
! 12369: version_type=linux
! 12370: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12371: soname_spec='${libname}${release}${shared_ext}$major'
! 12372: shlibpath_var=LD_LIBRARY_PATH
! 12373: ;;
! 12374:
! 12375: *)
! 12376: dynamic_linker=no
! 12377: ;;
! 12378: esac
! 12379: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 12380: echo "${ECHO_T}$dynamic_linker" >&6
! 12381: test "$dynamic_linker" = no && can_build_shared=no
! 12382:
! 12383: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 12384: if test "$GCC" = yes; then
! 12385: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 12386: fi
! 12387:
! 12388: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 12389: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 12390: hardcode_action_CXX=
! 12391: if test -n "$hardcode_libdir_flag_spec_CXX" || \
! 12392: test -n "$runpath_var_CXX" || \
! 12393: test "X$hardcode_automatic_CXX" = "Xyes" ; then
! 12394:
! 12395: # We can hardcode non-existant directories.
! 12396: if test "$hardcode_direct_CXX" != no &&
! 12397: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 12398: # have to relink, otherwise we might link with an installed library
! 12399: # when we should be linking with a yet-to-be-installed one
! 12400: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
! 12401: test "$hardcode_minus_L_CXX" != no; then
! 12402: # Linking always hardcodes the temporary library directory.
! 12403: hardcode_action_CXX=relink
! 12404: else
! 12405: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 12406: hardcode_action_CXX=immediate
! 12407: fi
! 12408: else
! 12409: # We cannot hardcode anything, or else we can only hardcode existing
! 12410: # directories.
! 12411: hardcode_action_CXX=unsupported
! 12412: fi
! 12413: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
! 12414: echo "${ECHO_T}$hardcode_action_CXX" >&6
! 12415:
! 12416: if test "$hardcode_action_CXX" = relink; then
! 12417: # Fast installation is not supported
! 12418: enable_fast_install=no
! 12419: elif test "$shlibpath_overrides_runpath" = yes ||
! 12420: test "$enable_shared" = no; then
! 12421: # Fast installation is not necessary
! 12422: enable_fast_install=needless
! 12423: fi
! 12424:
! 12425:
! 12426: # The else clause should only fire when bootstrapping the
! 12427: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 12428: # with your package, and you will get complaints that there are
! 12429: # no rules to generate ltmain.sh.
! 12430: if test -f "$ltmain"; then
! 12431: # See if we are running on zsh, and set the options which allow our commands through
! 12432: # without removal of \ escapes.
! 12433: if test -n "${ZSH_VERSION+set}" ; then
! 12434: setopt NO_GLOB_SUBST
! 12435: fi
! 12436: # Now quote all the things that may contain metacharacters while being
! 12437: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 12438: # variables and quote the copies for generation of the libtool script.
! 12439: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 12440: SED SHELL STRIP \
! 12441: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 12442: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 12443: deplibs_check_method reload_flag reload_cmds need_locks \
! 12444: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 12445: lt_cv_sys_global_symbol_to_c_name_address \
! 12446: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 12447: old_postinstall_cmds old_postuninstall_cmds \
! 12448: compiler_CXX \
! 12449: CC_CXX \
! 12450: LD_CXX \
! 12451: lt_prog_compiler_wl_CXX \
! 12452: lt_prog_compiler_pic_CXX \
! 12453: lt_prog_compiler_static_CXX \
! 12454: lt_prog_compiler_no_builtin_flag_CXX \
! 12455: export_dynamic_flag_spec_CXX \
! 12456: thread_safe_flag_spec_CXX \
! 12457: whole_archive_flag_spec_CXX \
! 12458: enable_shared_with_static_runtimes_CXX \
! 12459: old_archive_cmds_CXX \
! 12460: old_archive_from_new_cmds_CXX \
! 12461: predep_objects_CXX \
! 12462: postdep_objects_CXX \
! 12463: predeps_CXX \
! 12464: postdeps_CXX \
! 12465: compiler_lib_search_path_CXX \
! 12466: archive_cmds_CXX \
! 12467: archive_expsym_cmds_CXX \
! 12468: postinstall_cmds_CXX \
! 12469: postuninstall_cmds_CXX \
! 12470: old_archive_from_expsyms_cmds_CXX \
! 12471: allow_undefined_flag_CXX \
! 12472: no_undefined_flag_CXX \
! 12473: export_symbols_cmds_CXX \
! 12474: hardcode_libdir_flag_spec_CXX \
! 12475: hardcode_libdir_flag_spec_ld_CXX \
! 12476: hardcode_libdir_separator_CXX \
! 12477: hardcode_automatic_CXX \
! 12478: module_cmds_CXX \
! 12479: module_expsym_cmds_CXX \
! 12480: lt_cv_prog_compiler_c_o_CXX \
! 12481: exclude_expsyms_CXX \
! 12482: include_expsyms_CXX; do
! 12483:
! 12484: case $var in
! 12485: old_archive_cmds_CXX | \
! 12486: old_archive_from_new_cmds_CXX | \
! 12487: archive_cmds_CXX | \
! 12488: archive_expsym_cmds_CXX | \
! 12489: module_cmds_CXX | \
! 12490: module_expsym_cmds_CXX | \
! 12491: old_archive_from_expsyms_cmds_CXX | \
! 12492: export_symbols_cmds_CXX | \
! 12493: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 12494: postinstall_cmds | postuninstall_cmds | \
! 12495: old_postinstall_cmds | old_postuninstall_cmds | \
! 12496: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 12497: # Double-quote double-evaled strings.
! 12498: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 12499: ;;
! 12500: *)
! 12501: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 12502: ;;
! 12503: esac
! 12504: done
! 12505:
! 12506: case $lt_echo in
! 12507: *'\$0 --fallback-echo"')
! 12508: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 12509: ;;
! 12510: esac
! 12511:
! 12512: cfgfile="$ofile"
! 12513:
! 12514: cat <<__EOF__ >> "$cfgfile"
! 12515: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 12516:
! 12517: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 12518:
! 12519: # Shell to use when invoking shell scripts.
! 12520: SHELL=$lt_SHELL
! 12521:
! 12522: # Whether or not to build shared libraries.
! 12523: build_libtool_libs=$enable_shared
! 12524:
! 12525: # Whether or not to build static libraries.
! 12526: build_old_libs=$enable_static
! 12527:
! 12528: # Whether or not to add -lc for building shared libraries.
! 12529: build_libtool_need_lc=$archive_cmds_need_lc_CXX
! 12530:
! 12531: # Whether or not to disallow shared libs when runtime libs are static
! 12532: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
! 12533:
! 12534: # Whether or not to optimize for fast installation.
! 12535: fast_install=$enable_fast_install
! 12536:
! 12537: # The host system.
! 12538: host_alias=$host_alias
! 12539: host=$host
! 12540: host_os=$host_os
! 12541:
! 12542: # The build system.
! 12543: build_alias=$build_alias
! 12544: build=$build
! 12545: build_os=$build_os
! 12546:
! 12547: # An echo program that does not interpret backslashes.
! 12548: echo=$lt_echo
! 12549:
! 12550: # The archiver.
! 12551: AR=$lt_AR
! 12552: AR_FLAGS=$lt_AR_FLAGS
! 12553:
! 12554: # A C compiler.
! 12555: LTCC=$lt_LTCC
! 12556:
! 12557: # LTCC compiler flags.
! 12558: LTCFLAGS=$lt_LTCFLAGS
! 12559:
! 12560: # A language-specific compiler.
! 12561: CC=$lt_compiler_CXX
! 12562:
! 12563: # Is the compiler the GNU C compiler?
! 12564: with_gcc=$GCC_CXX
! 12565:
! 12566: # An ERE matcher.
! 12567: EGREP=$lt_EGREP
! 12568:
! 12569: # The linker used to build libraries.
! 12570: LD=$lt_LD_CXX
! 12571:
! 12572: # Whether we need hard or soft links.
! 12573: LN_S=$lt_LN_S
! 12574:
! 12575: # A BSD-compatible nm program.
! 12576: NM=$lt_NM
! 12577:
! 12578: # A symbol stripping program
! 12579: STRIP=$lt_STRIP
! 12580:
! 12581: # Used to examine libraries when file_magic_cmd begins "file"
! 12582: MAGIC_CMD=$MAGIC_CMD
! 12583:
! 12584: # Used on cygwin: DLL creation program.
! 12585: DLLTOOL="$DLLTOOL"
! 12586:
! 12587: # Used on cygwin: object dumper.
! 12588: OBJDUMP="$OBJDUMP"
! 12589:
! 12590: # Used on cygwin: assembler.
! 12591: AS="$AS"
! 12592:
! 12593: # The name of the directory that contains temporary libtool files.
! 12594: objdir=$objdir
! 12595:
! 12596: # How to create reloadable object files.
! 12597: reload_flag=$lt_reload_flag
! 12598: reload_cmds=$lt_reload_cmds
! 12599:
! 12600: # How to pass a linker flag through the compiler.
! 12601: wl=$lt_lt_prog_compiler_wl_CXX
! 12602:
! 12603: # Object file suffix (normally "o").
! 12604: objext="$ac_objext"
! 12605:
! 12606: # Old archive suffix (normally "a").
! 12607: libext="$libext"
! 12608:
! 12609: # Shared library suffix (normally ".so").
! 12610: shrext_cmds='$shrext_cmds'
! 12611:
! 12612: # Executable file suffix (normally "").
! 12613: exeext="$exeext"
! 12614:
! 12615: # Additional compiler flags for building library objects.
! 12616: pic_flag=$lt_lt_prog_compiler_pic_CXX
! 12617: pic_mode=$pic_mode
! 12618:
! 12619: # What is the maximum length of a command?
! 12620: max_cmd_len=$lt_cv_sys_max_cmd_len
! 12621:
! 12622: # Does compiler simultaneously support -c and -o options?
! 12623: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
! 12624:
! 12625: # Must we lock files when doing compilation?
! 12626: need_locks=$lt_need_locks
! 12627:
! 12628: # Do we need the lib prefix for modules?
! 12629: need_lib_prefix=$need_lib_prefix
! 12630:
! 12631: # Do we need a version for libraries?
! 12632: need_version=$need_version
! 12633:
! 12634: # Whether dlopen is supported.
! 12635: dlopen_support=$enable_dlopen
! 12636:
! 12637: # Whether dlopen of programs is supported.
! 12638: dlopen_self=$enable_dlopen_self
! 12639:
! 12640: # Whether dlopen of statically linked programs is supported.
! 12641: dlopen_self_static=$enable_dlopen_self_static
! 12642:
! 12643: # Compiler flag to prevent dynamic linking.
! 12644: link_static_flag=$lt_lt_prog_compiler_static_CXX
! 12645:
! 12646: # Compiler flag to turn off builtin functions.
! 12647: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
! 12648:
! 12649: # Compiler flag to allow reflexive dlopens.
! 12650: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
! 12651:
! 12652: # Compiler flag to generate shared objects directly from archives.
! 12653: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
! 12654:
! 12655: # Compiler flag to generate thread-safe objects.
! 12656: thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
! 12657:
! 12658: # Library versioning type.
! 12659: version_type=$version_type
! 12660:
! 12661: # Format of library name prefix.
! 12662: libname_spec=$lt_libname_spec
! 12663:
! 12664: # List of archive names. First name is the real one, the rest are links.
! 12665: # The last name is the one that the linker finds with -lNAME.
! 12666: library_names_spec=$lt_library_names_spec
! 12667:
! 12668: # The coded name of the library, if different from the real name.
! 12669: soname_spec=$lt_soname_spec
! 12670:
! 12671: # Commands used to build and install an old-style archive.
! 12672: RANLIB=$lt_RANLIB
! 12673: old_archive_cmds=$lt_old_archive_cmds_CXX
! 12674: old_postinstall_cmds=$lt_old_postinstall_cmds
! 12675: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 12676:
! 12677: # Create an old-style archive from a shared archive.
! 12678: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
! 12679:
! 12680: # Create a temporary old-style archive to link instead of a shared archive.
! 12681: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
! 12682:
! 12683: # Commands used to build and install a shared archive.
! 12684: archive_cmds=$lt_archive_cmds_CXX
! 12685: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
! 12686: postinstall_cmds=$lt_postinstall_cmds
! 12687: postuninstall_cmds=$lt_postuninstall_cmds
! 12688:
! 12689: # Commands used to build a loadable module (assumed same as above if empty)
! 12690: module_cmds=$lt_module_cmds_CXX
! 12691: module_expsym_cmds=$lt_module_expsym_cmds_CXX
! 12692:
! 12693: # Commands to strip libraries.
! 12694: old_striplib=$lt_old_striplib
! 12695: striplib=$lt_striplib
! 12696:
! 12697: # Dependencies to place before the objects being linked to create a
! 12698: # shared library.
! 12699: predep_objects=$lt_predep_objects_CXX
! 12700:
! 12701: # Dependencies to place after the objects being linked to create a
! 12702: # shared library.
! 12703: postdep_objects=$lt_postdep_objects_CXX
! 12704:
! 12705: # Dependencies to place before the objects being linked to create a
! 12706: # shared library.
! 12707: predeps=$lt_predeps_CXX
! 12708:
! 12709: # Dependencies to place after the objects being linked to create a
! 12710: # shared library.
! 12711: postdeps=$lt_postdeps_CXX
! 12712:
! 12713: # The library search path used internally by the compiler when linking
! 12714: # a shared library.
! 12715: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
! 12716:
! 12717: # Method to check whether dependent libraries are shared objects.
! 12718: deplibs_check_method=$lt_deplibs_check_method
! 12719:
! 12720: # Command to use when deplibs_check_method == file_magic.
! 12721: file_magic_cmd=$lt_file_magic_cmd
! 12722:
! 12723: # Flag that allows shared libraries with undefined symbols to be built.
! 12724: allow_undefined_flag=$lt_allow_undefined_flag_CXX
! 12725:
! 12726: # Flag that forces no undefined symbols.
! 12727: no_undefined_flag=$lt_no_undefined_flag_CXX
! 12728:
! 12729: # Commands used to finish a libtool library installation in a directory.
! 12730: finish_cmds=$lt_finish_cmds
! 12731:
! 12732: # Same as above, but a single script fragment to be evaled but not shown.
! 12733: finish_eval=$lt_finish_eval
! 12734:
! 12735: # Take the output of nm and produce a listing of raw symbols and C names.
! 12736: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 12737:
! 12738: # Transform the output of nm in a proper C declaration
! 12739: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 12740:
! 12741: # Transform the output of nm in a C name address pair
! 12742: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 12743:
! 12744: # This is the shared library runtime path variable.
! 12745: runpath_var=$runpath_var
! 12746:
! 12747: # This is the shared library path variable.
! 12748: shlibpath_var=$shlibpath_var
! 12749:
! 12750: # Is shlibpath searched before the hard-coded library search path?
! 12751: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 12752:
! 12753: # How to hardcode a shared library path into an executable.
! 12754: hardcode_action=$hardcode_action_CXX
! 12755:
! 12756: # Whether we should hardcode library paths into libraries.
! 12757: hardcode_into_libs=$hardcode_into_libs
! 12758:
! 12759: # Flag to hardcode \$libdir into a binary during linking.
! 12760: # This must work even if \$libdir does not exist.
! 12761: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
! 12762:
! 12763: # If ld is used when linking, flag to hardcode \$libdir into
! 12764: # a binary during linking. This must work even if \$libdir does
! 12765: # not exist.
! 12766: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
! 12767:
! 12768: # Whether we need a single -rpath flag with a separated argument.
! 12769: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
! 12770:
! 12771: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 12772: # resulting binary.
! 12773: hardcode_direct=$hardcode_direct_CXX
! 12774:
! 12775: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 12776: # resulting binary.
! 12777: hardcode_minus_L=$hardcode_minus_L_CXX
! 12778:
! 12779: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 12780: # the resulting binary.
! 12781: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
! 12782:
! 12783: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 12784: # and all subsequent libraries and executables linked against it.
! 12785: hardcode_automatic=$hardcode_automatic_CXX
! 12786:
! 12787: # Variables whose values should be saved in libtool wrapper scripts and
! 12788: # restored at relink time.
! 12789: variables_saved_for_relink="$variables_saved_for_relink"
! 12790:
! 12791: # Whether libtool must link a program against all its dependency libraries.
! 12792: link_all_deplibs=$link_all_deplibs_CXX
! 12793:
! 12794: # Compile-time system search path for libraries
! 12795: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 12796:
! 12797: # Run-time system search path for libraries
! 12798: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 12799:
! 12800: # Fix the shell variable \$srcfile for the compiler.
! 12801: fix_srcfile_path="$fix_srcfile_path_CXX"
! 12802:
! 12803: # Set to yes if exported symbols are required.
! 12804: always_export_symbols=$always_export_symbols_CXX
! 12805:
! 12806: # The commands to list exported symbols.
! 12807: export_symbols_cmds=$lt_export_symbols_cmds_CXX
! 12808:
! 12809: # The commands to extract the exported symbol list from a shared archive.
! 12810: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 12811:
! 12812: # Symbols that should not be listed in the preloaded symbols.
! 12813: exclude_expsyms=$lt_exclude_expsyms_CXX
! 12814:
! 12815: # Symbols that must always be exported.
! 12816: include_expsyms=$lt_include_expsyms_CXX
! 12817:
! 12818: # ### END LIBTOOL TAG CONFIG: $tagname
! 12819:
! 12820: __EOF__
! 12821:
! 12822:
! 12823: else
! 12824: # If there is no Makefile yet, we rely on a make rule to execute
! 12825: # `config.status --recheck' to rerun these tests and create the
! 12826: # libtool script then.
! 12827: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 12828: if test -f "$ltmain_in"; then
! 12829: test -f Makefile && make "$ltmain"
! 12830: fi
! 12831: fi
! 12832:
! 12833:
! 12834: ac_ext=c
! 12835: ac_cpp='$CPP $CPPFLAGS'
! 12836: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12837: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12838: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12839:
! 12840: CC=$lt_save_CC
! 12841: LDCXX=$LD
! 12842: LD=$lt_save_LD
! 12843: GCC=$lt_save_GCC
! 12844: with_gnu_ldcxx=$with_gnu_ld
! 12845: with_gnu_ld=$lt_save_with_gnu_ld
! 12846: lt_cv_path_LDCXX=$lt_cv_path_LD
! 12847: lt_cv_path_LD=$lt_save_path_LD
! 12848: lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
! 12849: lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
! 12850:
! 12851: else
! 12852: tagname=""
! 12853: fi
! 12854: ;;
! 12855:
! 12856: F77)
! 12857: if test -n "$F77" && test "X$F77" != "Xno"; then
! 12858:
! 12859: ac_ext=f
! 12860: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
! 12861: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12862: ac_compiler_gnu=$ac_cv_f77_compiler_gnu
! 12863:
! 12864:
! 12865: archive_cmds_need_lc_F77=no
! 12866: allow_undefined_flag_F77=
! 12867: always_export_symbols_F77=no
! 12868: archive_expsym_cmds_F77=
! 12869: export_dynamic_flag_spec_F77=
! 12870: hardcode_direct_F77=no
! 12871: hardcode_libdir_flag_spec_F77=
! 12872: hardcode_libdir_flag_spec_ld_F77=
! 12873: hardcode_libdir_separator_F77=
! 12874: hardcode_minus_L_F77=no
! 12875: hardcode_automatic_F77=no
! 12876: module_cmds_F77=
! 12877: module_expsym_cmds_F77=
! 12878: link_all_deplibs_F77=unknown
! 12879: old_archive_cmds_F77=$old_archive_cmds
! 12880: no_undefined_flag_F77=
! 12881: whole_archive_flag_spec_F77=
! 12882: enable_shared_with_static_runtimes_F77=no
! 12883:
! 12884: # Source file extension for f77 test sources.
! 12885: ac_ext=f
! 12886:
! 12887: # Object file extension for compiled f77 test sources.
! 12888: objext=o
! 12889: objext_F77=$objext
! 12890:
! 12891: # Code to be used in simple compile tests
! 12892: lt_simple_compile_test_code=" subroutine t\n return\n end\n"
! 12893:
! 12894: # Code to be used in simple link tests
! 12895: lt_simple_link_test_code=" program t\n end\n"
! 12896:
! 12897: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 12898:
! 12899: # If no C compiler was specified, use CC.
! 12900: LTCC=${LTCC-"$CC"}
! 12901:
! 12902: # If no C compiler flags were specified, use CFLAGS.
! 12903: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 12904:
! 12905: # Allow CC to be a program name with arguments.
! 12906: compiler=$CC
! 12907:
! 12908:
! 12909: # save warnings/boilerplate of simple test code
! 12910: ac_outfile=conftest.$ac_objext
! 12911: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
! 12912: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12913: _lt_compiler_boilerplate=`cat conftest.err`
! 12914: $rm conftest*
! 12915:
! 12916: ac_outfile=conftest.$ac_objext
! 12917: printf "$lt_simple_link_test_code" >conftest.$ac_ext
! 12918: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 12919: _lt_linker_boilerplate=`cat conftest.err`
! 12920: $rm conftest*
! 12921:
! 12922:
! 12923: # Allow CC to be a program name with arguments.
! 12924: lt_save_CC="$CC"
! 12925: CC=${F77-"f77"}
! 12926: compiler=$CC
! 12927: compiler_F77=$CC
! 12928: for cc_temp in $compiler""; do
! 12929: case $cc_temp in
! 12930: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 12931: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 12932: \-*) ;;
! 12933: *) break;;
! 12934: esac
! 12935: done
! 12936: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 12937:
! 12938:
! 12939: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 12940: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 12941: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 12942: echo "${ECHO_T}$can_build_shared" >&6
! 12943:
! 12944: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 12945: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 12946: test "$can_build_shared" = "no" && enable_shared=no
! 12947:
! 12948: # On AIX, shared libraries and static libraries use the same namespace, and
! 12949: # are all built from PIC.
! 12950: case $host_os in
! 12951: aix3*)
! 12952: test "$enable_shared" = yes && enable_static=no
! 12953: if test -n "$RANLIB"; then
! 12954: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 12955: postinstall_cmds='$RANLIB $lib'
! 12956: fi
! 12957: ;;
! 12958: aix4* | aix5*)
! 12959: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 12960: test "$enable_shared" = yes && enable_static=no
! 12961: fi
! 12962: ;;
! 12963: esac
! 12964: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 12965: echo "${ECHO_T}$enable_shared" >&6
! 12966:
! 12967: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 12968: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 12969: # Make sure either enable_shared or enable_static is yes.
! 12970: test "$enable_shared" = yes || enable_static=yes
! 12971: echo "$as_me:$LINENO: result: $enable_static" >&5
! 12972: echo "${ECHO_T}$enable_static" >&6
! 12973:
! 12974: GCC_F77="$G77"
! 12975: LD_F77="$LD"
! 12976:
! 12977: lt_prog_compiler_wl_F77=
! 12978: lt_prog_compiler_pic_F77=
! 12979: lt_prog_compiler_static_F77=
! 12980:
! 12981: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 12982: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 12983:
! 12984: if test "$GCC" = yes; then
! 12985: lt_prog_compiler_wl_F77='-Wl,'
! 12986: lt_prog_compiler_static_F77='-static'
! 12987:
! 12988: case $host_os in
! 12989: aix*)
! 12990: # All AIX code is PIC.
! 12991: if test "$host_cpu" = ia64; then
! 12992: # AIX 5 now supports IA64 processor
! 12993: lt_prog_compiler_static_F77='-Bstatic'
! 12994: fi
! 12995: ;;
! 12996:
! 12997: amigaos*)
! 12998: # FIXME: we need at least 68020 code to build shared libraries, but
! 12999: # adding the `-m68020' flag to GCC prevents building anything better,
! 13000: # like `-m68040'.
! 13001: lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
! 13002: ;;
! 13003:
! 13004: beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 13005: # PIC is the default for these OSes.
! 13006: ;;
! 13007:
! 13008: mingw* | pw32* | os2*)
! 13009: # This hack is so that the source file can tell whether it is being
! 13010: # built for inclusion in a dll (and should export symbols for example).
! 13011: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 13012: ;;
! 13013:
! 13014: darwin* | rhapsody*)
! 13015: # PIC is the default on this platform
! 13016: # Common symbols not allowed in MH_DYLIB files
! 13017: lt_prog_compiler_pic_F77='-fno-common'
! 13018: ;;
! 13019:
! 13020: interix3*)
! 13021: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 13022: # Instead, we relocate shared libraries at runtime.
! 13023: ;;
! 13024:
! 13025: msdosdjgpp*)
! 13026: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 13027: # on systems that don't support them.
! 13028: lt_prog_compiler_can_build_shared_F77=no
! 13029: enable_shared=no
! 13030: ;;
! 13031:
! 13032: sysv4*MP*)
! 13033: if test -d /usr/nec; then
! 13034: lt_prog_compiler_pic_F77=-Kconform_pic
! 13035: fi
! 13036: ;;
! 13037:
! 13038: hpux*)
! 13039: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 13040: # not for PA HP-UX.
! 13041: case $host_cpu in
! 13042: hppa*64*|ia64*)
! 13043: # +Z the default
! 13044: ;;
! 13045: *)
! 13046: lt_prog_compiler_pic_F77='-fPIC'
! 13047: ;;
! 13048: esac
! 13049: ;;
! 13050:
! 13051: *)
! 13052: lt_prog_compiler_pic_F77='-fPIC'
! 13053: ;;
! 13054: esac
! 13055: else
! 13056: # PORTME Check for flag to pass linker flags through the system compiler.
! 13057: case $host_os in
! 13058: aix*)
! 13059: lt_prog_compiler_wl_F77='-Wl,'
! 13060: if test "$host_cpu" = ia64; then
! 13061: # AIX 5 now supports IA64 processor
! 13062: lt_prog_compiler_static_F77='-Bstatic'
! 13063: else
! 13064: lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
! 13065: fi
! 13066: ;;
! 13067: darwin*)
! 13068: # PIC is the default on this platform
! 13069: # Common symbols not allowed in MH_DYLIB files
! 13070: case $cc_basename in
! 13071: xlc*)
! 13072: lt_prog_compiler_pic_F77='-qnocommon'
! 13073: lt_prog_compiler_wl_F77='-Wl,'
! 13074: ;;
! 13075: esac
! 13076: ;;
! 13077:
! 13078: mingw* | pw32* | os2*)
! 13079: # This hack is so that the source file can tell whether it is being
! 13080: # built for inclusion in a dll (and should export symbols for example).
! 13081: lt_prog_compiler_pic_F77='-DDLL_EXPORT'
! 13082: ;;
! 13083:
! 13084: hpux9* | hpux10* | hpux11*)
! 13085: lt_prog_compiler_wl_F77='-Wl,'
! 13086: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 13087: # not for PA HP-UX.
! 13088: case $host_cpu in
! 13089: hppa*64*|ia64*)
! 13090: # +Z the default
! 13091: ;;
! 13092: *)
! 13093: lt_prog_compiler_pic_F77='+Z'
! 13094: ;;
! 13095: esac
! 13096: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 13097: lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
! 13098: ;;
! 13099:
! 13100: irix5* | irix6* | nonstopux*)
! 13101: lt_prog_compiler_wl_F77='-Wl,'
! 13102: # PIC (with -KPIC) is the default.
! 13103: lt_prog_compiler_static_F77='-non_shared'
! 13104: ;;
! 13105:
! 13106: newsos6)
! 13107: lt_prog_compiler_pic_F77='-KPIC'
! 13108: lt_prog_compiler_static_F77='-Bstatic'
! 13109: ;;
! 13110:
! 13111: linux*)
! 13112: case $cc_basename in
! 13113: icc* | ecc*)
! 13114: lt_prog_compiler_wl_F77='-Wl,'
! 13115: lt_prog_compiler_pic_F77='-KPIC'
! 13116: lt_prog_compiler_static_F77='-static'
! 13117: ;;
! 13118: pgcc* | pgf77* | pgf90* | pgf95*)
! 13119: # Portland Group compilers (*not* the Pentium gcc compiler,
! 13120: # which looks to be a dead project)
! 13121: lt_prog_compiler_wl_F77='-Wl,'
! 13122: lt_prog_compiler_pic_F77='-fpic'
! 13123: lt_prog_compiler_static_F77='-Bstatic'
! 13124: ;;
! 13125: ccc*)
! 13126: lt_prog_compiler_wl_F77='-Wl,'
! 13127: # All Alpha code is PIC.
! 13128: lt_prog_compiler_static_F77='-non_shared'
! 13129: ;;
! 13130: esac
! 13131: ;;
! 13132:
! 13133: osf3* | osf4* | osf5*)
! 13134: lt_prog_compiler_wl_F77='-Wl,'
! 13135: # All OSF/1 code is PIC.
! 13136: lt_prog_compiler_static_F77='-non_shared'
! 13137: ;;
! 13138:
! 13139: solaris*)
! 13140: lt_prog_compiler_pic_F77='-KPIC'
! 13141: lt_prog_compiler_static_F77='-Bstatic'
! 13142: case $cc_basename in
! 13143: f77* | f90* | f95*)
! 13144: lt_prog_compiler_wl_F77='-Qoption ld ';;
! 13145: *)
! 13146: lt_prog_compiler_wl_F77='-Wl,';;
! 13147: esac
! 13148: ;;
! 13149:
! 13150: sunos4*)
! 13151: lt_prog_compiler_wl_F77='-Qoption ld '
! 13152: lt_prog_compiler_pic_F77='-PIC'
! 13153: lt_prog_compiler_static_F77='-Bstatic'
! 13154: ;;
! 13155:
! 13156: sysv4 | sysv4.2uw2* | sysv4.3*)
! 13157: lt_prog_compiler_wl_F77='-Wl,'
! 13158: lt_prog_compiler_pic_F77='-KPIC'
! 13159: lt_prog_compiler_static_F77='-Bstatic'
! 13160: ;;
! 13161:
! 13162: sysv4*MP*)
! 13163: if test -d /usr/nec ;then
! 13164: lt_prog_compiler_pic_F77='-Kconform_pic'
! 13165: lt_prog_compiler_static_F77='-Bstatic'
! 13166: fi
! 13167: ;;
! 13168:
! 13169: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 13170: lt_prog_compiler_wl_F77='-Wl,'
! 13171: lt_prog_compiler_pic_F77='-KPIC'
! 13172: lt_prog_compiler_static_F77='-Bstatic'
! 13173: ;;
! 13174:
! 13175: unicos*)
! 13176: lt_prog_compiler_wl_F77='-Wl,'
! 13177: lt_prog_compiler_can_build_shared_F77=no
! 13178: ;;
! 13179:
! 13180: uts4*)
! 13181: lt_prog_compiler_pic_F77='-pic'
! 13182: lt_prog_compiler_static_F77='-Bstatic'
! 13183: ;;
! 13184:
! 13185: *)
! 13186: lt_prog_compiler_can_build_shared_F77=no
! 13187: ;;
! 13188: esac
! 13189: fi
! 13190:
! 13191: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
! 13192: echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
! 13193:
! 13194: #
! 13195: # Check to make sure the PIC flag actually works.
! 13196: #
! 13197: if test -n "$lt_prog_compiler_pic_F77"; then
! 13198:
! 13199: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
! 13200: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
! 13201: if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
! 13202: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13203: else
! 13204: lt_prog_compiler_pic_works_F77=no
! 13205: ac_outfile=conftest.$ac_objext
! 13206: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13207: lt_compiler_flag="$lt_prog_compiler_pic_F77"
! 13208: # Insert the option either (1) after the last *FLAGS variable, or
! 13209: # (2) before a word containing "conftest.", or (3) at the end.
! 13210: # Note that $ac_compile itself does not contain backslashes and begins
! 13211: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13212: # The option is referenced via a variable to avoid confusing sed.
! 13213: lt_compile=`echo "$ac_compile" | $SED \
! 13214: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13215: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13216: -e 's:$: $lt_compiler_flag:'`
! 13217: (eval echo "\"\$as_me:13217: $lt_compile\"" >&5)
! 13218: (eval "$lt_compile" 2>conftest.err)
! 13219: ac_status=$?
! 13220: cat conftest.err >&5
! 13221: echo "$as_me:13221: \$? = $ac_status" >&5
! 13222: if (exit $ac_status) && test -s "$ac_outfile"; then
! 13223: # The compiler can only warn and ignore the option if not recognized
! 13224: # So say no if there are warnings other than the usual output.
! 13225: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 13226: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13227: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 13228: lt_prog_compiler_pic_works_F77=yes
! 13229: fi
! 13230: fi
! 13231: $rm conftest*
! 13232:
! 13233: fi
! 13234: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
! 13235: echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
! 13236:
! 13237: if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
! 13238: case $lt_prog_compiler_pic_F77 in
! 13239: "" | " "*) ;;
! 13240: *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
! 13241: esac
! 13242: else
! 13243: lt_prog_compiler_pic_F77=
! 13244: lt_prog_compiler_can_build_shared_F77=no
! 13245: fi
! 13246:
! 13247: fi
! 13248: case $host_os in
! 13249: # For platforms which do not support PIC, -DPIC is meaningless:
! 13250: *djgpp*)
! 13251: lt_prog_compiler_pic_F77=
! 13252: ;;
! 13253: *)
! 13254: lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
! 13255: ;;
! 13256: esac
! 13257:
! 13258: #
! 13259: # Check to make sure the static flag actually works.
! 13260: #
! 13261: wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
! 13262: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 13263: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 13264: if test "${lt_prog_compiler_static_works_F77+set}" = set; then
! 13265: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13266: else
! 13267: lt_prog_compiler_static_works_F77=no
! 13268: save_LDFLAGS="$LDFLAGS"
! 13269: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 13270: printf "$lt_simple_link_test_code" > conftest.$ac_ext
! 13271: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 13272: # The linker can only warn and ignore the option if not recognized
! 13273: # So say no if there are warnings
! 13274: if test -s conftest.err; then
! 13275: # Append any errors to the config.log.
! 13276: cat conftest.err 1>&5
! 13277: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 13278: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 13279: if diff conftest.exp conftest.er2 >/dev/null; then
! 13280: lt_prog_compiler_static_works_F77=yes
! 13281: fi
! 13282: else
! 13283: lt_prog_compiler_static_works_F77=yes
! 13284: fi
! 13285: fi
! 13286: $rm conftest*
! 13287: LDFLAGS="$save_LDFLAGS"
! 13288:
! 13289: fi
! 13290: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
! 13291: echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
! 13292:
! 13293: if test x"$lt_prog_compiler_static_works_F77" = xyes; then
! 13294: :
! 13295: else
! 13296: lt_prog_compiler_static_F77=
! 13297: fi
! 13298:
! 13299:
! 13300: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 13301: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 13302: if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
! 13303: echo $ECHO_N "(cached) $ECHO_C" >&6
! 13304: else
! 13305: lt_cv_prog_compiler_c_o_F77=no
! 13306: $rm -r conftest 2>/dev/null
! 13307: mkdir conftest
! 13308: cd conftest
! 13309: mkdir out
! 13310: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 13311:
! 13312: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 13313: # Insert the option either (1) after the last *FLAGS variable, or
! 13314: # (2) before a word containing "conftest.", or (3) at the end.
! 13315: # Note that $ac_compile itself does not contain backslashes and begins
! 13316: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 13317: lt_compile=`echo "$ac_compile" | $SED \
! 13318: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 13319: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 13320: -e 's:$: $lt_compiler_flag:'`
! 13321: (eval echo "\"\$as_me:13321: $lt_compile\"" >&5)
! 13322: (eval "$lt_compile" 2>out/conftest.err)
! 13323: ac_status=$?
! 13324: cat out/conftest.err >&5
! 13325: echo "$as_me:13325: \$? = $ac_status" >&5
! 13326: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 13327: then
! 13328: # The compiler can only warn and ignore the option if not recognized
! 13329: # So say no if there are warnings
! 13330: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 13331: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 13332: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 13333: lt_cv_prog_compiler_c_o_F77=yes
! 13334: fi
! 13335: fi
! 13336: chmod u+w . 2>&5
! 13337: $rm conftest*
! 13338: # SGI C++ compiler will create directory out/ii_files/ for
! 13339: # template instantiation
! 13340: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 13341: $rm out/* && rmdir out
! 13342: cd ..
! 13343: rmdir conftest
! 13344: $rm conftest*
! 13345:
! 13346: fi
! 13347: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
! 13348: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
! 13349:
! 13350:
! 13351: hard_links="nottested"
! 13352: if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
! 13353: # do not overwrite the value of need_locks provided by the user
! 13354: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 13355: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 13356: hard_links=yes
! 13357: $rm conftest*
! 13358: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13359: touch conftest.a
! 13360: ln conftest.a conftest.b 2>&5 || hard_links=no
! 13361: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 13362: echo "$as_me:$LINENO: result: $hard_links" >&5
! 13363: echo "${ECHO_T}$hard_links" >&6
! 13364: if test "$hard_links" = no; then
! 13365: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 13366: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 13367: need_locks=warn
! 13368: fi
! 13369: else
! 13370: need_locks=no
! 13371: fi
! 13372:
! 13373: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 13374: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 13375:
! 13376: runpath_var=
! 13377: allow_undefined_flag_F77=
! 13378: enable_shared_with_static_runtimes_F77=no
! 13379: archive_cmds_F77=
! 13380: archive_expsym_cmds_F77=
! 13381: old_archive_From_new_cmds_F77=
! 13382: old_archive_from_expsyms_cmds_F77=
! 13383: export_dynamic_flag_spec_F77=
! 13384: whole_archive_flag_spec_F77=
! 13385: thread_safe_flag_spec_F77=
! 13386: hardcode_libdir_flag_spec_F77=
! 13387: hardcode_libdir_flag_spec_ld_F77=
! 13388: hardcode_libdir_separator_F77=
! 13389: hardcode_direct_F77=no
! 13390: hardcode_minus_L_F77=no
! 13391: hardcode_shlibpath_var_F77=unsupported
! 13392: link_all_deplibs_F77=unknown
! 13393: hardcode_automatic_F77=no
! 13394: module_cmds_F77=
! 13395: module_expsym_cmds_F77=
! 13396: always_export_symbols_F77=no
! 13397: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 13398: # include_expsyms should be a list of space-separated symbols to be *always*
! 13399: # included in the symbol list
! 13400: include_expsyms_F77=
! 13401: # exclude_expsyms can be an extended regexp of symbols to exclude
! 13402: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 13403: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 13404: # as well as any symbol that contains `d'.
! 13405: exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
! 13406: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 13407: # platforms (ab)use it in PIC code, but their linkers get confused if
! 13408: # the symbol is explicitly referenced. Since portable code cannot
! 13409: # rely on this symbol name, it's probably fine to never include it in
! 13410: # preloaded symbol tables.
! 13411: extract_expsyms_cmds=
! 13412: # Just being paranoid about ensuring that cc_basename is set.
! 13413: for cc_temp in $compiler""; do
! 13414: case $cc_temp in
! 13415: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 13416: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 13417: \-*) ;;
! 13418: *) break;;
! 13419: esac
! 13420: done
! 13421: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 13422:
! 13423: case $host_os in
! 13424: cygwin* | mingw* | pw32*)
! 13425: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 13426: # When not using gcc, we currently assume that we are using
! 13427: # Microsoft Visual C++.
! 13428: if test "$GCC" != yes; then
! 13429: with_gnu_ld=no
! 13430: fi
! 13431: ;;
! 13432: interix*)
! 13433: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 13434: with_gnu_ld=yes
! 13435: ;;
! 13436: openbsd*)
! 13437: with_gnu_ld=no
! 13438: ;;
! 13439: esac
! 13440:
! 13441: ld_shlibs_F77=yes
! 13442: if test "$with_gnu_ld" = yes; then
! 13443: # If archive_cmds runs LD, not CC, wlarc should be empty
! 13444: wlarc='${wl}'
! 13445:
! 13446: # Set some defaults for GNU ld with shared library support. These
! 13447: # are reset later if shared libraries are not supported. Putting them
! 13448: # here allows them to be overridden if necessary.
! 13449: runpath_var=LD_RUN_PATH
! 13450: hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
! 13451: export_dynamic_flag_spec_F77='${wl}--export-dynamic'
! 13452: # ancient GNU ld didn't support --whole-archive et. al.
! 13453: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 13454: whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 13455: else
! 13456: whole_archive_flag_spec_F77=
! 13457: fi
! 13458: supports_anon_versioning=no
! 13459: case `$LD -v 2>/dev/null` in
! 13460: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 13461: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 13462: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 13463: *\ 2.11.*) ;; # other 2.11 versions
! 13464: *) supports_anon_versioning=yes ;;
! 13465: esac
! 13466:
! 13467: # See if GNU ld supports shared libraries.
! 13468: case $host_os in
! 13469: aix3* | aix4* | aix5*)
! 13470: # On AIX/PPC, the GNU linker is very broken
! 13471: if test "$host_cpu" != ia64; then
! 13472: ld_shlibs_F77=no
! 13473: cat <<EOF 1>&2
! 13474:
! 13475: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 13476: *** to be unable to reliably create shared libraries on AIX.
! 13477: *** Therefore, libtool is disabling shared libraries support. If you
! 13478: *** really care for shared libraries, you may want to modify your PATH
! 13479: *** so that a non-GNU linker is found, and then restart.
! 13480:
! 13481: EOF
! 13482: fi
! 13483: ;;
! 13484:
! 13485: amigaos*)
! 13486: 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)'
! 13487: hardcode_libdir_flag_spec_F77='-L$libdir'
! 13488: hardcode_minus_L_F77=yes
! 13489:
! 13490: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 13491: # that the semantics of dynamic libraries on AmigaOS, at least up
! 13492: # to version 4, is to share data among multiple programs linked
! 13493: # with the same dynamic library. Since this doesn't match the
! 13494: # behavior of shared libraries on other platforms, we can't use
! 13495: # them.
! 13496: ld_shlibs_F77=no
! 13497: ;;
! 13498:
! 13499: beos*)
! 13500: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 13501: allow_undefined_flag_F77=unsupported
! 13502: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 13503: # support --undefined. This deserves some investigation. FIXME
! 13504: archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13505: else
! 13506: ld_shlibs_F77=no
! 13507: fi
! 13508: ;;
! 13509:
! 13510: cygwin* | mingw* | pw32*)
! 13511: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
! 13512: # as there is no search path for DLLs.
! 13513: hardcode_libdir_flag_spec_F77='-L$libdir'
! 13514: allow_undefined_flag_F77=unsupported
! 13515: always_export_symbols_F77=no
! 13516: enable_shared_with_static_runtimes_F77=yes
! 13517: export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
! 13518:
! 13519: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 13520: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 13521: # If the export-symbols file already is a .def file (1st line
! 13522: # is EXPORTS), use it as is; otherwise, prepend...
! 13523: archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 13524: cp $export_symbols $output_objdir/$soname.def;
! 13525: else
! 13526: echo EXPORTS > $output_objdir/$soname.def;
! 13527: cat $export_symbols >> $output_objdir/$soname.def;
! 13528: fi~
! 13529: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 13530: else
! 13531: ld_shlibs_F77=no
! 13532: fi
! 13533: ;;
! 13534:
! 13535: interix3*)
! 13536: hardcode_direct_F77=no
! 13537: hardcode_shlibpath_var_F77=no
! 13538: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 13539: export_dynamic_flag_spec_F77='${wl}-E'
! 13540: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 13541: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 13542: # default) and relocated if they conflict, which is a slow very memory
! 13543: # consuming and fragmenting process. To avoid this, we pick a random,
! 13544: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 13545: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 13546: 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'
! 13547: 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'
! 13548: ;;
! 13549:
! 13550: linux*)
! 13551: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 13552: tmp_addflag=
! 13553: case $cc_basename,$host_cpu in
! 13554: pgcc*) # Portland Group C compiler
! 13555: 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'
! 13556: tmp_addflag=' $pic_flag'
! 13557: ;;
! 13558: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 13559: 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'
! 13560: tmp_addflag=' $pic_flag -Mnomain' ;;
! 13561: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 13562: tmp_addflag=' -i_dynamic' ;;
! 13563: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 13564: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 13565: ifc* | ifort*) # Intel Fortran compiler
! 13566: tmp_addflag=' -nofor_main' ;;
! 13567: esac
! 13568: archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13569:
! 13570: if test $supports_anon_versioning = yes; then
! 13571: archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
! 13572: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 13573: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 13574: $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 13575: fi
! 13576: else
! 13577: ld_shlibs_F77=no
! 13578: fi
! 13579: ;;
! 13580:
! 13581: netbsd*)
! 13582: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 13583: archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 13584: wlarc=
! 13585: else
! 13586: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13587: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 13588: fi
! 13589: ;;
! 13590:
! 13591: solaris*)
! 13592: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 13593: ld_shlibs_F77=no
! 13594: cat <<EOF 1>&2
! 13595:
! 13596: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 13597: *** create shared libraries on Solaris systems. Therefore, libtool
! 13598: *** is disabling shared libraries support. We urge you to upgrade GNU
! 13599: *** binutils to release 2.9.1 or newer. Another option is to modify
! 13600: *** your PATH or compiler configuration so that the native linker is
! 13601: *** used, and then restart.
! 13602:
! 13603: EOF
! 13604: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 13605: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13606: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 13607: else
! 13608: ld_shlibs_F77=no
! 13609: fi
! 13610: ;;
! 13611:
! 13612: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 13613: case `$LD -v 2>&1` in
! 13614: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 13615: ld_shlibs_F77=no
! 13616: cat <<_LT_EOF 1>&2
! 13617:
! 13618: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 13619: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 13620: *** is disabling shared libraries support. We urge you to upgrade GNU
! 13621: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 13622: *** your PATH or compiler configuration so that the native linker is
! 13623: *** used, and then restart.
! 13624:
! 13625: _LT_EOF
! 13626: ;;
! 13627: *)
! 13628: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 13629: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 13630: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 13631: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 13632: else
! 13633: ld_shlibs_F77=no
! 13634: fi
! 13635: ;;
! 13636: esac
! 13637: ;;
! 13638:
! 13639: sunos4*)
! 13640: archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 13641: wlarc=
! 13642: hardcode_direct_F77=yes
! 13643: hardcode_shlibpath_var_F77=no
! 13644: ;;
! 13645:
! 13646: *)
! 13647: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 13648: archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 13649: archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 13650: else
! 13651: ld_shlibs_F77=no
! 13652: fi
! 13653: ;;
! 13654: esac
! 13655:
! 13656: if test "$ld_shlibs_F77" = no; then
! 13657: runpath_var=
! 13658: hardcode_libdir_flag_spec_F77=
! 13659: export_dynamic_flag_spec_F77=
! 13660: whole_archive_flag_spec_F77=
! 13661: fi
! 13662: else
! 13663: # PORTME fill in a description of your system's linker (not GNU ld)
! 13664: case $host_os in
! 13665: aix3*)
! 13666: allow_undefined_flag_F77=unsupported
! 13667: always_export_symbols_F77=yes
! 13668: 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'
! 13669: # Note: this linker hardcodes the directories in LIBPATH if there
! 13670: # are no directories specified by -L.
! 13671: hardcode_minus_L_F77=yes
! 13672: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 13673: # Neither direct hardcoding nor static linking is supported with a
! 13674: # broken collect2.
! 13675: hardcode_direct_F77=unsupported
! 13676: fi
! 13677: ;;
! 13678:
! 13679: aix4* | aix5*)
! 13680: if test "$host_cpu" = ia64; then
! 13681: # On IA64, the linker does run time linking by default, so we don't
! 13682: # have to do anything special.
! 13683: aix_use_runtimelinking=no
! 13684: exp_sym_flag='-Bexport'
! 13685: no_entry_flag=""
! 13686: else
! 13687: # If we're using GNU nm, then we don't want the "-C" option.
! 13688: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 13689: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 13690: 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'
! 13691: else
! 13692: 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'
! 13693: fi
! 13694: aix_use_runtimelinking=no
! 13695:
! 13696: # Test if we are trying to use run time linking or normal
! 13697: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 13698: # need to do runtime linking.
! 13699: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 13700: for ld_flag in $LDFLAGS; do
! 13701: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 13702: aix_use_runtimelinking=yes
! 13703: break
! 13704: fi
! 13705: done
! 13706: ;;
! 13707: esac
! 13708:
! 13709: exp_sym_flag='-bexport'
! 13710: no_entry_flag='-bnoentry'
! 13711: fi
! 13712:
! 13713: # When large executables or shared objects are built, AIX ld can
! 13714: # have problems creating the table of contents. If linking a library
! 13715: # or program results in "error TOC overflow" add -mminimal-toc to
! 13716: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 13717: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 13718:
! 13719: archive_cmds_F77=''
! 13720: hardcode_direct_F77=yes
! 13721: hardcode_libdir_separator_F77=':'
! 13722: link_all_deplibs_F77=yes
! 13723:
! 13724: if test "$GCC" = yes; then
! 13725: case $host_os in aix4.[012]|aix4.[012].*)
! 13726: # We only want to do this on AIX 4.2 and lower, the check
! 13727: # below for broken collect2 doesn't work under 4.3+
! 13728: collect2name=`${CC} -print-prog-name=collect2`
! 13729: if test -f "$collect2name" && \
! 13730: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 13731: then
! 13732: # We have reworked collect2
! 13733: hardcode_direct_F77=yes
! 13734: else
! 13735: # We have old collect2
! 13736: hardcode_direct_F77=unsupported
! 13737: # It fails to find uninstalled libraries when the uninstalled
! 13738: # path is not listed in the libpath. Setting hardcode_minus_L
! 13739: # to unsupported forces relinking
! 13740: hardcode_minus_L_F77=yes
! 13741: hardcode_libdir_flag_spec_F77='-L$libdir'
! 13742: hardcode_libdir_separator_F77=
! 13743: fi
! 13744: ;;
! 13745: esac
! 13746: shared_flag='-shared'
! 13747: if test "$aix_use_runtimelinking" = yes; then
! 13748: shared_flag="$shared_flag "'${wl}-G'
! 13749: fi
! 13750: else
! 13751: # not using gcc
! 13752: if test "$host_cpu" = ia64; then
! 13753: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 13754: # chokes on -Wl,-G. The following line is correct:
! 13755: shared_flag='-G'
! 13756: else
! 13757: if test "$aix_use_runtimelinking" = yes; then
! 13758: shared_flag='${wl}-G'
! 13759: else
! 13760: shared_flag='${wl}-bM:SRE'
! 13761: fi
! 13762: fi
! 13763: fi
! 13764:
! 13765: # It seems that -bexpall does not export symbols beginning with
! 13766: # underscore (_), so it is better to generate a list of symbols to export.
! 13767: always_export_symbols_F77=yes
! 13768: if test "$aix_use_runtimelinking" = yes; then
! 13769: # Warning - without using the other runtime loading flags (-brtl),
! 13770: # -berok will link without error, but may produce a broken library.
! 13771: allow_undefined_flag_F77='-berok'
! 13772: # Determine the default libpath from the value encoded in an empty executable.
! 13773: cat >conftest.$ac_ext <<_ACEOF
! 13774: program main
! 13775:
! 13776: end
! 13777: _ACEOF
! 13778: rm -f conftest.$ac_objext conftest$ac_exeext
! 13779: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 13780: (eval $ac_link) 2>conftest.er1
! 13781: ac_status=$?
! 13782: grep -v '^ *+' conftest.er1 >conftest.err
! 13783: rm -f conftest.er1
! 13784: cat conftest.err >&5
! 13785: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13786: (exit $ac_status); } &&
! 13787: { ac_try='test -z "$ac_f77_werror_flag"
! 13788: || test ! -s conftest.err'
! 13789: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 13790: (eval $ac_try) 2>&5
! 13791: ac_status=$?
! 13792: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13793: (exit $ac_status); }; } &&
! 13794: { ac_try='test -s conftest$ac_exeext'
! 13795: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 13796: (eval $ac_try) 2>&5
! 13797: ac_status=$?
! 13798: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13799: (exit $ac_status); }; }; then
! 13800:
! 13801: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 13802: }'`
! 13803: # Check for a 64-bit object if we didn't find anything.
! 13804: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 13805: }'`; fi
! 13806: else
! 13807: echo "$as_me: failed program was:" >&5
! 13808: sed 's/^/| /' conftest.$ac_ext >&5
! 13809:
! 13810: fi
! 13811: rm -f conftest.err conftest.$ac_objext \
! 13812: conftest$ac_exeext conftest.$ac_ext
! 13813: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 13814:
! 13815: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 13816: 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"
! 13817: else
! 13818: if test "$host_cpu" = ia64; then
! 13819: hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
! 13820: allow_undefined_flag_F77="-z nodefs"
! 13821: 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"
! 13822: else
! 13823: # Determine the default libpath from the value encoded in an empty executable.
! 13824: cat >conftest.$ac_ext <<_ACEOF
! 13825: program main
! 13826:
! 13827: end
! 13828: _ACEOF
! 13829: rm -f conftest.$ac_objext conftest$ac_exeext
! 13830: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 13831: (eval $ac_link) 2>conftest.er1
! 13832: ac_status=$?
! 13833: grep -v '^ *+' conftest.er1 >conftest.err
! 13834: rm -f conftest.er1
! 13835: cat conftest.err >&5
! 13836: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13837: (exit $ac_status); } &&
! 13838: { ac_try='test -z "$ac_f77_werror_flag"
! 13839: || test ! -s conftest.err'
! 13840: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 13841: (eval $ac_try) 2>&5
! 13842: ac_status=$?
! 13843: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13844: (exit $ac_status); }; } &&
! 13845: { ac_try='test -s conftest$ac_exeext'
! 13846: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 13847: (eval $ac_try) 2>&5
! 13848: ac_status=$?
! 13849: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 13850: (exit $ac_status); }; }; then
! 13851:
! 13852: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 13853: }'`
! 13854: # Check for a 64-bit object if we didn't find anything.
! 13855: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 13856: }'`; fi
! 13857: else
! 13858: echo "$as_me: failed program was:" >&5
! 13859: sed 's/^/| /' conftest.$ac_ext >&5
! 13860:
! 13861: fi
! 13862: rm -f conftest.err conftest.$ac_objext \
! 13863: conftest$ac_exeext conftest.$ac_ext
! 13864: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 13865:
! 13866: hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
! 13867: # Warning - without using the other run time loading flags,
! 13868: # -berok will link without error, but may produce a broken library.
! 13869: no_undefined_flag_F77=' ${wl}-bernotok'
! 13870: allow_undefined_flag_F77=' ${wl}-berok'
! 13871: # Exported symbols can be pulled into shared objects from archives
! 13872: whole_archive_flag_spec_F77='$convenience'
! 13873: archive_cmds_need_lc_F77=yes
! 13874: # This is similar to how AIX traditionally builds its shared libraries.
! 13875: 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'
! 13876: fi
! 13877: fi
! 13878: ;;
! 13879:
! 13880: amigaos*)
! 13881: 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)'
! 13882: hardcode_libdir_flag_spec_F77='-L$libdir'
! 13883: hardcode_minus_L_F77=yes
! 13884: # see comment about different semantics on the GNU ld section
! 13885: ld_shlibs_F77=no
! 13886: ;;
! 13887:
! 13888: bsdi[45]*)
! 13889: export_dynamic_flag_spec_F77=-rdynamic
! 13890: ;;
! 13891:
! 13892: cygwin* | mingw* | pw32*)
! 13893: # When not using gcc, we currently assume that we are using
! 13894: # Microsoft Visual C++.
! 13895: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 13896: # no search path for DLLs.
! 13897: hardcode_libdir_flag_spec_F77=' '
! 13898: allow_undefined_flag_F77=unsupported
! 13899: # Tell ltmain to make .lib files, not .a files.
! 13900: libext=lib
! 13901: # Tell ltmain to make .dll files, not .so files.
! 13902: shrext_cmds=".dll"
! 13903: # FIXME: Setting linknames here is a bad hack.
! 13904: archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 13905: # The linker will automatically build a .lib file if we build a DLL.
! 13906: old_archive_From_new_cmds_F77='true'
! 13907: # FIXME: Should let the user specify the lib program.
! 13908: old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
! 13909: fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
! 13910: enable_shared_with_static_runtimes_F77=yes
! 13911: ;;
! 13912:
! 13913: darwin* | rhapsody*)
! 13914: case $host_os in
! 13915: rhapsody* | darwin1.[012])
! 13916: allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
! 13917: ;;
! 13918: *) # Darwin 1.3 on
! 13919: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 13920: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 13921: else
! 13922: case ${MACOSX_DEPLOYMENT_TARGET} in
! 13923: 10.[012])
! 13924: allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 13925: ;;
! 13926: 10.*)
! 13927: allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
! 13928: ;;
! 13929: esac
! 13930: fi
! 13931: ;;
! 13932: esac
! 13933: archive_cmds_need_lc_F77=no
! 13934: hardcode_direct_F77=no
! 13935: hardcode_automatic_F77=yes
! 13936: hardcode_shlibpath_var_F77=unsupported
! 13937: whole_archive_flag_spec_F77=''
! 13938: link_all_deplibs_F77=yes
! 13939: if test "$GCC" = yes ; then
! 13940: output_verbose_link_cmd='echo'
! 13941: archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
! 13942: module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 13943: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 13944: archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 13945: 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}'
! 13946: else
! 13947: case $cc_basename in
! 13948: xlc*)
! 13949: output_verbose_link_cmd='echo'
! 13950: archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
! 13951: module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 13952: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 13953: 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 13954: 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}'
! 13955: ;;
! 13956: *)
! 13957: ld_shlibs_F77=no
! 13958: ;;
! 13959: esac
! 13960: fi
! 13961: ;;
! 13962:
! 13963: dgux*)
! 13964: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 13965: hardcode_libdir_flag_spec_F77='-L$libdir'
! 13966: hardcode_shlibpath_var_F77=no
! 13967: ;;
! 13968:
! 13969: freebsd1*)
! 13970: ld_shlibs_F77=no
! 13971: ;;
! 13972:
! 13973: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 13974: # support. Future versions do this automatically, but an explicit c++rt0.o
! 13975: # does not break anything, and helps significantly (at the cost of a little
! 13976: # extra space).
! 13977: freebsd2.2*)
! 13978: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 13979: hardcode_libdir_flag_spec_F77='-R$libdir'
! 13980: hardcode_direct_F77=yes
! 13981: hardcode_shlibpath_var_F77=no
! 13982: ;;
! 13983:
! 13984: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 13985: freebsd2*)
! 13986: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 13987: hardcode_direct_F77=yes
! 13988: hardcode_minus_L_F77=yes
! 13989: hardcode_shlibpath_var_F77=no
! 13990: ;;
! 13991:
! 13992: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 13993: freebsd* | kfreebsd*-gnu | dragonfly*)
! 13994: archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 13995: hardcode_libdir_flag_spec_F77='-R$libdir'
! 13996: hardcode_direct_F77=yes
! 13997: hardcode_shlibpath_var_F77=no
! 13998: ;;
! 13999:
! 14000: hpux9*)
! 14001: if test "$GCC" = yes; then
! 14002: 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'
! 14003: else
! 14004: 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'
! 14005: fi
! 14006: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 14007: hardcode_libdir_separator_F77=:
! 14008: hardcode_direct_F77=yes
! 14009:
! 14010: # hardcode_minus_L: Not really in the search PATH,
! 14011: # but as the default location of the library.
! 14012: hardcode_minus_L_F77=yes
! 14013: export_dynamic_flag_spec_F77='${wl}-E'
! 14014: ;;
! 14015:
! 14016: hpux10*)
! 14017: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 14018: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 14019: else
! 14020: archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 14021: fi
! 14022: if test "$with_gnu_ld" = no; then
! 14023: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 14024: hardcode_libdir_separator_F77=:
! 14025:
! 14026: hardcode_direct_F77=yes
! 14027: export_dynamic_flag_spec_F77='${wl}-E'
! 14028:
! 14029: # hardcode_minus_L: Not really in the search PATH,
! 14030: # but as the default location of the library.
! 14031: hardcode_minus_L_F77=yes
! 14032: fi
! 14033: ;;
! 14034:
! 14035: hpux11*)
! 14036: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 14037: case $host_cpu in
! 14038: hppa*64*)
! 14039: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14040: ;;
! 14041: ia64*)
! 14042: archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 14043: ;;
! 14044: *)
! 14045: archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 14046: ;;
! 14047: esac
! 14048: else
! 14049: case $host_cpu in
! 14050: hppa*64*)
! 14051: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14052: ;;
! 14053: ia64*)
! 14054: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 14055: ;;
! 14056: *)
! 14057: archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 14058: ;;
! 14059: esac
! 14060: fi
! 14061: if test "$with_gnu_ld" = no; then
! 14062: hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
! 14063: hardcode_libdir_separator_F77=:
! 14064:
! 14065: case $host_cpu in
! 14066: hppa*64*|ia64*)
! 14067: hardcode_libdir_flag_spec_ld_F77='+b $libdir'
! 14068: hardcode_direct_F77=no
! 14069: hardcode_shlibpath_var_F77=no
! 14070: ;;
! 14071: *)
! 14072: hardcode_direct_F77=yes
! 14073: export_dynamic_flag_spec_F77='${wl}-E'
! 14074:
! 14075: # hardcode_minus_L: Not really in the search PATH,
! 14076: # but as the default location of the library.
! 14077: hardcode_minus_L_F77=yes
! 14078: ;;
! 14079: esac
! 14080: fi
! 14081: ;;
! 14082:
! 14083: irix5* | irix6* | nonstopux*)
! 14084: if test "$GCC" = yes; then
! 14085: 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'
! 14086: else
! 14087: 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'
! 14088: hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
! 14089: fi
! 14090: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 14091: hardcode_libdir_separator_F77=:
! 14092: link_all_deplibs_F77=yes
! 14093: ;;
! 14094:
! 14095: netbsd*)
! 14096: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 14097: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 14098: else
! 14099: archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 14100: fi
! 14101: hardcode_libdir_flag_spec_F77='-R$libdir'
! 14102: hardcode_direct_F77=yes
! 14103: hardcode_shlibpath_var_F77=no
! 14104: ;;
! 14105:
! 14106: newsos6)
! 14107: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14108: hardcode_direct_F77=yes
! 14109: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 14110: hardcode_libdir_separator_F77=:
! 14111: hardcode_shlibpath_var_F77=no
! 14112: ;;
! 14113:
! 14114: openbsd*)
! 14115: hardcode_direct_F77=yes
! 14116: hardcode_shlibpath_var_F77=no
! 14117: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 14118: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 14119: archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 14120: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 14121: export_dynamic_flag_spec_F77='${wl}-E'
! 14122: else
! 14123: case $host_os in
! 14124: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 14125: archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 14126: hardcode_libdir_flag_spec_F77='-R$libdir'
! 14127: ;;
! 14128: *)
! 14129: archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 14130: hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 14131: ;;
! 14132: esac
! 14133: fi
! 14134: ;;
! 14135:
! 14136: os2*)
! 14137: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14138: hardcode_minus_L_F77=yes
! 14139: allow_undefined_flag_F77=unsupported
! 14140: 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'
! 14141: old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 14142: ;;
! 14143:
! 14144: osf3*)
! 14145: if test "$GCC" = yes; then
! 14146: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 14147: 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'
! 14148: else
! 14149: allow_undefined_flag_F77=' -expect_unresolved \*'
! 14150: 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'
! 14151: fi
! 14152: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 14153: hardcode_libdir_separator_F77=:
! 14154: ;;
! 14155:
! 14156: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 14157: if test "$GCC" = yes; then
! 14158: allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
! 14159: 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'
! 14160: hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
! 14161: else
! 14162: allow_undefined_flag_F77=' -expect_unresolved \*'
! 14163: 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'
! 14164: 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~
! 14165: $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'
! 14166:
! 14167: # Both c and cxx compiler support -rpath directly
! 14168: hardcode_libdir_flag_spec_F77='-rpath $libdir'
! 14169: fi
! 14170: hardcode_libdir_separator_F77=:
! 14171: ;;
! 14172:
! 14173: solaris*)
! 14174: no_undefined_flag_F77=' -z text'
! 14175: if test "$GCC" = yes; then
! 14176: wlarc='${wl}'
! 14177: archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14178: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 14179: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 14180: else
! 14181: wlarc=''
! 14182: archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14183: archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 14184: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 14185: fi
! 14186: hardcode_libdir_flag_spec_F77='-R$libdir'
! 14187: hardcode_shlibpath_var_F77=no
! 14188: case $host_os in
! 14189: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 14190: *)
! 14191: # The compiler driver will combine linker options so we
! 14192: # cannot just pass the convience library names through
! 14193: # without $wl, iff we do not link with $LD.
! 14194: # Luckily, gcc supports the same syntax we need for Sun Studio.
! 14195: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 14196: case $wlarc in
! 14197: '')
! 14198: whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
! 14199: *)
! 14200: whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
! 14201: esac ;;
! 14202: esac
! 14203: link_all_deplibs_F77=yes
! 14204: ;;
! 14205:
! 14206: sunos4*)
! 14207: if test "x$host_vendor" = xsequent; then
! 14208: # Use $CC to link under sequent, because it throws in some extra .o
! 14209: # files that make .init and .fini sections work.
! 14210: archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 14211: else
! 14212: archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 14213: fi
! 14214: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14215: hardcode_direct_F77=yes
! 14216: hardcode_minus_L_F77=yes
! 14217: hardcode_shlibpath_var_F77=no
! 14218: ;;
! 14219:
! 14220: sysv4)
! 14221: case $host_vendor in
! 14222: sni)
! 14223: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14224: hardcode_direct_F77=yes # is this really true???
! 14225: ;;
! 14226: siemens)
! 14227: ## LD is ld it makes a PLAMLIB
! 14228: ## CC just makes a GrossModule.
! 14229: archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 14230: reload_cmds_F77='$CC -r -o $output$reload_objs'
! 14231: hardcode_direct_F77=no
! 14232: ;;
! 14233: motorola)
! 14234: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14235: hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
! 14236: ;;
! 14237: esac
! 14238: runpath_var='LD_RUN_PATH'
! 14239: hardcode_shlibpath_var_F77=no
! 14240: ;;
! 14241:
! 14242: sysv4.3*)
! 14243: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14244: hardcode_shlibpath_var_F77=no
! 14245: export_dynamic_flag_spec_F77='-Bexport'
! 14246: ;;
! 14247:
! 14248: sysv4*MP*)
! 14249: if test -d /usr/nec; then
! 14250: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14251: hardcode_shlibpath_var_F77=no
! 14252: runpath_var=LD_RUN_PATH
! 14253: hardcode_runpath_var=yes
! 14254: ld_shlibs_F77=yes
! 14255: fi
! 14256: ;;
! 14257:
! 14258: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
! 14259: no_undefined_flag_F77='${wl}-z,text'
! 14260: archive_cmds_need_lc_F77=no
! 14261: hardcode_shlibpath_var_F77=no
! 14262: runpath_var='LD_RUN_PATH'
! 14263:
! 14264: if test "$GCC" = yes; then
! 14265: archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14266: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14267: else
! 14268: archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14269: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14270: fi
! 14271: ;;
! 14272:
! 14273: sysv5* | sco3.2v5* | sco5v6*)
! 14274: # Note: We can NOT use -z defs as we might desire, because we do not
! 14275: # link with -lc, and that would cause any symbols used from libc to
! 14276: # always be unresolved, which means just about no library would
! 14277: # ever link correctly. If we're not using GNU ld we use -z text
! 14278: # though, which does catch some bad symbols but isn't as heavy-handed
! 14279: # as -z defs.
! 14280: no_undefined_flag_F77='${wl}-z,text'
! 14281: allow_undefined_flag_F77='${wl}-z,nodefs'
! 14282: archive_cmds_need_lc_F77=no
! 14283: hardcode_shlibpath_var_F77=no
! 14284: hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 14285: hardcode_libdir_separator_F77=':'
! 14286: link_all_deplibs_F77=yes
! 14287: export_dynamic_flag_spec_F77='${wl}-Bexport'
! 14288: runpath_var='LD_RUN_PATH'
! 14289:
! 14290: if test "$GCC" = yes; then
! 14291: archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14292: archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14293: else
! 14294: archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14295: archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 14296: fi
! 14297: ;;
! 14298:
! 14299: uts4*)
! 14300: archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 14301: hardcode_libdir_flag_spec_F77='-L$libdir'
! 14302: hardcode_shlibpath_var_F77=no
! 14303: ;;
! 14304:
! 14305: *)
! 14306: ld_shlibs_F77=no
! 14307: ;;
! 14308: esac
! 14309: fi
! 14310:
! 14311: echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
! 14312: echo "${ECHO_T}$ld_shlibs_F77" >&6
! 14313: test "$ld_shlibs_F77" = no && can_build_shared=no
! 14314:
! 14315: #
! 14316: # Do we need to explicitly link libc?
! 14317: #
! 14318: case "x$archive_cmds_need_lc_F77" in
! 14319: x|xyes)
! 14320: # Assume -lc should be added
! 14321: archive_cmds_need_lc_F77=yes
! 14322:
! 14323: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 14324: case $archive_cmds_F77 in
! 14325: *'~'*)
! 14326: # FIXME: we may have to deal with multi-command sequences.
! 14327: ;;
! 14328: '$CC '*)
! 14329: # Test whether the compiler implicitly links with -lc since on some
! 14330: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 14331: # to ld, don't add -lc before -lgcc.
! 14332: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 14333: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 14334: $rm conftest*
! 14335: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 14336:
! 14337: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 14338: (eval $ac_compile) 2>&5
! 14339: ac_status=$?
! 14340: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14341: (exit $ac_status); } 2>conftest.err; then
! 14342: soname=conftest
! 14343: lib=conftest
! 14344: libobjs=conftest.$ac_objext
! 14345: deplibs=
! 14346: wl=$lt_prog_compiler_wl_F77
! 14347: pic_flag=$lt_prog_compiler_pic_F77
! 14348: compiler_flags=-v
! 14349: linker_flags=-v
! 14350: verstring=
! 14351: output_objdir=.
! 14352: libname=conftest
! 14353: lt_save_allow_undefined_flag=$allow_undefined_flag_F77
! 14354: allow_undefined_flag_F77=
! 14355: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 14356: (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 14357: ac_status=$?
! 14358: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14359: (exit $ac_status); }
! 14360: then
! 14361: archive_cmds_need_lc_F77=no
! 14362: else
! 14363: archive_cmds_need_lc_F77=yes
! 14364: fi
! 14365: allow_undefined_flag_F77=$lt_save_allow_undefined_flag
! 14366: else
! 14367: cat conftest.err 1>&5
! 14368: fi
! 14369: $rm conftest*
! 14370: echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
! 14371: echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
! 14372: ;;
! 14373: esac
! 14374: fi
! 14375: ;;
! 14376: esac
! 14377:
! 14378: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 14379: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 14380: library_names_spec=
! 14381: libname_spec='lib$name'
! 14382: soname_spec=
! 14383: shrext_cmds=".so"
! 14384: postinstall_cmds=
! 14385: postuninstall_cmds=
! 14386: finish_cmds=
! 14387: finish_eval=
! 14388: shlibpath_var=
! 14389: shlibpath_overrides_runpath=unknown
! 14390: version_type=none
! 14391: dynamic_linker="$host_os ld.so"
! 14392: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 14393: if test "$GCC" = yes; then
! 14394: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 14395: if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
! 14396: # if the path contains ";" then we assume it to be the separator
! 14397: # otherwise default to the standard path separator (i.e. ":") - it is
! 14398: # assumed that no part of a normal pathname contains ";" but that should
! 14399: # okay in the real world where ";" in dirpaths is itself problematic.
! 14400: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 14401: else
! 14402: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14403: fi
! 14404: else
! 14405: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 14406: fi
! 14407: need_lib_prefix=unknown
! 14408: hardcode_into_libs=no
! 14409:
! 14410: # when you set need_version to no, make sure it does not cause -set_version
! 14411: # flags to be left without arguments
! 14412: need_version=unknown
! 14413:
! 14414: case $host_os in
! 14415: aix3*)
! 14416: version_type=linux
! 14417: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 14418: shlibpath_var=LIBPATH
! 14419:
! 14420: # AIX 3 has no versioning support, so we append a major version to the name.
! 14421: soname_spec='${libname}${release}${shared_ext}$major'
! 14422: ;;
! 14423:
! 14424: aix4* | aix5*)
! 14425: version_type=linux
! 14426: need_lib_prefix=no
! 14427: need_version=no
! 14428: hardcode_into_libs=yes
! 14429: if test "$host_cpu" = ia64; then
! 14430: # AIX 5 supports IA64
! 14431: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 14432: shlibpath_var=LD_LIBRARY_PATH
! 14433: else
! 14434: # With GCC up to 2.95.x, collect2 would create an import file
! 14435: # for dependence libraries. The import file would start with
! 14436: # the line `#! .'. This would cause the generated library to
! 14437: # depend on `.', always an invalid library. This was fixed in
! 14438: # development snapshots of GCC prior to 3.0.
! 14439: case $host_os in
! 14440: aix4 | aix4.[01] | aix4.[01].*)
! 14441: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 14442: echo ' yes '
! 14443: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 14444: :
! 14445: else
! 14446: can_build_shared=no
! 14447: fi
! 14448: ;;
! 14449: esac
! 14450: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 14451: # soname into executable. Probably we can add versioning support to
! 14452: # collect2, so additional links can be useful in future.
! 14453: if test "$aix_use_runtimelinking" = yes; then
! 14454: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 14455: # instead of lib<name>.a to let people know that these are not
! 14456: # typical AIX shared libraries.
! 14457: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14458: else
! 14459: # We preserve .a as extension for shared libraries through AIX4.2
! 14460: # and later when we are not doing run time linking.
! 14461: library_names_spec='${libname}${release}.a $libname.a'
! 14462: soname_spec='${libname}${release}${shared_ext}$major'
! 14463: fi
! 14464: shlibpath_var=LIBPATH
! 14465: fi
! 14466: ;;
! 14467:
! 14468: amigaos*)
! 14469: library_names_spec='$libname.ixlibrary $libname.a'
! 14470: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 14471: 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'
! 14472: ;;
! 14473:
! 14474: beos*)
! 14475: library_names_spec='${libname}${shared_ext}'
! 14476: dynamic_linker="$host_os ld.so"
! 14477: shlibpath_var=LIBRARY_PATH
! 14478: ;;
! 14479:
! 14480: bsdi[45]*)
! 14481: version_type=linux
! 14482: need_version=no
! 14483: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14484: soname_spec='${libname}${release}${shared_ext}$major'
! 14485: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 14486: shlibpath_var=LD_LIBRARY_PATH
! 14487: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 14488: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 14489: # the default ld.so.conf also contains /usr/contrib/lib and
! 14490: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 14491: # libtool to hard-code these into programs
! 14492: ;;
! 14493:
! 14494: cygwin* | mingw* | pw32*)
! 14495: version_type=windows
! 14496: shrext_cmds=".dll"
! 14497: need_version=no
! 14498: need_lib_prefix=no
! 14499:
! 14500: case $GCC,$host_os in
! 14501: yes,cygwin* | yes,mingw* | yes,pw32*)
! 14502: library_names_spec='$libname.dll.a'
! 14503: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 14504: postinstall_cmds='base_file=`basename \${file}`~
! 14505: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 14506: dldir=$destdir/`dirname \$dlpath`~
! 14507: test -d \$dldir || mkdir -p \$dldir~
! 14508: $install_prog $dir/$dlname \$dldir/$dlname~
! 14509: chmod a+x \$dldir/$dlname'
! 14510: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 14511: dlpath=$dir/\$dldll~
! 14512: $rm \$dlpath'
! 14513: shlibpath_overrides_runpath=yes
! 14514:
! 14515: case $host_os in
! 14516: cygwin*)
! 14517: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 14518: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14519: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 14520: ;;
! 14521: mingw*)
! 14522: # MinGW DLLs use traditional 'lib' prefix
! 14523: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14524: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 14525: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 14526: # It is most probably a Windows format PATH printed by
! 14527: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 14528: # path with ; separators, and with drive letters. We can handle the
! 14529: # drive letters (cygwin fileutils understands them), so leave them,
! 14530: # especially as we might pass files found there to a mingw objdump,
! 14531: # which wouldn't understand a cygwinified path. Ahh.
! 14532: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 14533: else
! 14534: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 14535: fi
! 14536: ;;
! 14537: pw32*)
! 14538: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 14539: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 14540: ;;
! 14541: esac
! 14542: ;;
! 14543:
! 14544: *)
! 14545: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 14546: ;;
! 14547: esac
! 14548: dynamic_linker='Win32 ld.exe'
! 14549: # FIXME: first we should search . and the directory the executable is in
! 14550: shlibpath_var=PATH
! 14551: ;;
! 14552:
! 14553: darwin* | rhapsody*)
! 14554: dynamic_linker="$host_os dyld"
! 14555: version_type=darwin
! 14556: need_lib_prefix=no
! 14557: need_version=no
! 14558: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 14559: soname_spec='${libname}${release}${major}$shared_ext'
! 14560: shlibpath_overrides_runpath=yes
! 14561: shlibpath_var=DYLD_LIBRARY_PATH
! 14562: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 14563: # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
! 14564: if test "$GCC" = yes; then
! 14565: sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
! 14566: else
! 14567: sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
! 14568: fi
! 14569: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 14570: ;;
! 14571:
! 14572: dgux*)
! 14573: version_type=linux
! 14574: need_lib_prefix=no
! 14575: need_version=no
! 14576: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 14577: soname_spec='${libname}${release}${shared_ext}$major'
! 14578: shlibpath_var=LD_LIBRARY_PATH
! 14579: ;;
! 14580:
! 14581: freebsd1*)
! 14582: dynamic_linker=no
! 14583: ;;
! 14584:
! 14585: kfreebsd*-gnu)
! 14586: version_type=linux
! 14587: need_lib_prefix=no
! 14588: need_version=no
! 14589: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14590: soname_spec='${libname}${release}${shared_ext}$major'
! 14591: shlibpath_var=LD_LIBRARY_PATH
! 14592: shlibpath_overrides_runpath=no
! 14593: hardcode_into_libs=yes
! 14594: dynamic_linker='GNU ld.so'
! 14595: ;;
! 14596:
! 14597: freebsd* | dragonfly*)
! 14598: # DragonFly does not have aout. When/if they implement a new
! 14599: # versioning mechanism, adjust this.
! 14600: if test -x /usr/bin/objformat; then
! 14601: objformat=`/usr/bin/objformat`
! 14602: else
! 14603: case $host_os in
! 14604: freebsd[123]*) objformat=aout ;;
! 14605: *) objformat=elf ;;
! 14606: esac
! 14607: fi
! 14608: version_type=freebsd-$objformat
! 14609: case $version_type in
! 14610: freebsd-elf*)
! 14611: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14612: need_version=no
! 14613: need_lib_prefix=no
! 14614: ;;
! 14615: freebsd-*)
! 14616: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 14617: need_version=yes
! 14618: ;;
! 14619: esac
! 14620: shlibpath_var=LD_LIBRARY_PATH
! 14621: case $host_os in
! 14622: freebsd2*)
! 14623: shlibpath_overrides_runpath=yes
! 14624: ;;
! 14625: freebsd3.[01]* | freebsdelf3.[01]*)
! 14626: shlibpath_overrides_runpath=yes
! 14627: hardcode_into_libs=yes
! 14628: ;;
! 14629: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 14630: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 14631: shlibpath_overrides_runpath=no
! 14632: hardcode_into_libs=yes
! 14633: ;;
! 14634: freebsd*) # from 4.6 on
! 14635: shlibpath_overrides_runpath=yes
! 14636: hardcode_into_libs=yes
! 14637: ;;
! 14638: esac
! 14639: ;;
! 14640:
! 14641: gnu*)
! 14642: version_type=linux
! 14643: need_lib_prefix=no
! 14644: need_version=no
! 14645: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 14646: soname_spec='${libname}${release}${shared_ext}$major'
! 14647: shlibpath_var=LD_LIBRARY_PATH
! 14648: hardcode_into_libs=yes
! 14649: ;;
! 14650:
! 14651: hpux9* | hpux10* | hpux11*)
! 14652: # Give a soname corresponding to the major version so that dld.sl refuses to
! 14653: # link against other versions.
! 14654: version_type=sunos
! 14655: need_lib_prefix=no
! 14656: need_version=no
! 14657: case $host_cpu in
! 14658: ia64*)
! 14659: shrext_cmds='.so'
! 14660: hardcode_into_libs=yes
! 14661: dynamic_linker="$host_os dld.so"
! 14662: shlibpath_var=LD_LIBRARY_PATH
! 14663: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14664: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14665: soname_spec='${libname}${release}${shared_ext}$major'
! 14666: if test "X$HPUX_IA64_MODE" = X32; then
! 14667: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 14668: else
! 14669: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 14670: fi
! 14671: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14672: ;;
! 14673: hppa*64*)
! 14674: shrext_cmds='.sl'
! 14675: hardcode_into_libs=yes
! 14676: dynamic_linker="$host_os dld.sl"
! 14677: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 14678: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 14679: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14680: soname_spec='${libname}${release}${shared_ext}$major'
! 14681: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 14682: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 14683: ;;
! 14684: *)
! 14685: shrext_cmds='.sl'
! 14686: dynamic_linker="$host_os dld.sl"
! 14687: shlibpath_var=SHLIB_PATH
! 14688: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 14689: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14690: soname_spec='${libname}${release}${shared_ext}$major'
! 14691: ;;
! 14692: esac
! 14693: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 14694: postinstall_cmds='chmod 555 $lib'
! 14695: ;;
! 14696:
! 14697: interix3*)
! 14698: version_type=linux
! 14699: need_lib_prefix=no
! 14700: need_version=no
! 14701: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14702: soname_spec='${libname}${release}${shared_ext}$major'
! 14703: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 14704: shlibpath_var=LD_LIBRARY_PATH
! 14705: shlibpath_overrides_runpath=no
! 14706: hardcode_into_libs=yes
! 14707: ;;
! 14708:
! 14709: irix5* | irix6* | nonstopux*)
! 14710: case $host_os in
! 14711: nonstopux*) version_type=nonstopux ;;
! 14712: *)
! 14713: if test "$lt_cv_prog_gnu_ld" = yes; then
! 14714: version_type=linux
! 14715: else
! 14716: version_type=irix
! 14717: fi ;;
! 14718: esac
! 14719: need_lib_prefix=no
! 14720: need_version=no
! 14721: soname_spec='${libname}${release}${shared_ext}$major'
! 14722: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14723: case $host_os in
! 14724: irix5* | nonstopux*)
! 14725: libsuff= shlibsuff=
! 14726: ;;
! 14727: *)
! 14728: case $LD in # libtool.m4 will add one of these switches to LD
! 14729: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 14730: libsuff= shlibsuff= libmagic=32-bit;;
! 14731: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 14732: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 14733: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 14734: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 14735: *) libsuff= shlibsuff= libmagic=never-match;;
! 14736: esac
! 14737: ;;
! 14738: esac
! 14739: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 14740: shlibpath_overrides_runpath=no
! 14741: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 14742: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 14743: hardcode_into_libs=yes
! 14744: ;;
! 14745:
! 14746: # No shared lib support for Linux oldld, aout, or coff.
! 14747: linux*oldld* | linux*aout* | linux*coff*)
! 14748: dynamic_linker=no
! 14749: ;;
! 14750:
! 14751: # This must be Linux ELF.
! 14752: linux*)
! 14753: version_type=linux
! 14754: need_lib_prefix=no
! 14755: need_version=no
! 14756: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14757: soname_spec='${libname}${release}${shared_ext}$major'
! 14758: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 14759: shlibpath_var=LD_LIBRARY_PATH
! 14760: shlibpath_overrides_runpath=no
! 14761: # This implies no fast_install, which is unacceptable.
! 14762: # Some rework will be needed to allow for fast_install
! 14763: # before this can be enabled.
! 14764: hardcode_into_libs=yes
! 14765:
! 14766: # find out which ABI we are using
! 14767: libsuff=
! 14768: case "$host_cpu" in
! 14769: x86_64*|s390x*|powerpc64*)
! 14770: echo '#line 14770 "configure"' > conftest.$ac_ext
! 14771: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 14772: (eval $ac_compile) 2>&5
! 14773: ac_status=$?
! 14774: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 14775: (exit $ac_status); }; then
! 14776: case `/usr/bin/file conftest.$ac_objext` in
! 14777: *64-bit*)
! 14778: libsuff=64
! 14779: sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
! 14780: ;;
! 14781: esac
! 14782: fi
! 14783: rm -rf conftest*
! 14784: ;;
! 14785: esac
! 14786:
! 14787: # Append ld.so.conf contents to the search path
! 14788: if test -f /etc/ld.so.conf; then
! 14789: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
! 14790: sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
! 14791: fi
! 14792:
! 14793: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 14794: # powerpc, because MkLinux only supported shared libraries with the
! 14795: # GNU dynamic linker. Since this was broken with cross compilers,
! 14796: # most powerpc-linux boxes support dynamic linking these days and
! 14797: # people can always --disable-shared, the test was removed, and we
! 14798: # assume the GNU/Linux dynamic linker is in use.
! 14799: dynamic_linker='GNU/Linux ld.so'
! 14800: ;;
! 14801:
! 14802: knetbsd*-gnu)
! 14803: version_type=linux
! 14804: need_lib_prefix=no
! 14805: need_version=no
! 14806: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14807: soname_spec='${libname}${release}${shared_ext}$major'
! 14808: shlibpath_var=LD_LIBRARY_PATH
! 14809: shlibpath_overrides_runpath=no
! 14810: hardcode_into_libs=yes
! 14811: dynamic_linker='GNU ld.so'
! 14812: ;;
! 14813:
! 14814: netbsd*)
! 14815: version_type=sunos
! 14816: need_lib_prefix=no
! 14817: need_version=no
! 14818: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 14819: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14820: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14821: dynamic_linker='NetBSD (a.out) ld.so'
! 14822: else
! 14823: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 14824: soname_spec='${libname}${release}${shared_ext}$major'
! 14825: dynamic_linker='NetBSD ld.elf_so'
! 14826: fi
! 14827: shlibpath_var=LD_LIBRARY_PATH
! 14828: shlibpath_overrides_runpath=yes
! 14829: hardcode_into_libs=yes
! 14830: ;;
! 14831:
! 14832: newsos6)
! 14833: version_type=linux
! 14834: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14835: shlibpath_var=LD_LIBRARY_PATH
! 14836: shlibpath_overrides_runpath=yes
! 14837: ;;
! 14838:
! 14839: nto-qnx*)
! 14840: version_type=linux
! 14841: need_lib_prefix=no
! 14842: need_version=no
! 14843: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14844: soname_spec='${libname}${release}${shared_ext}$major'
! 14845: shlibpath_var=LD_LIBRARY_PATH
! 14846: shlibpath_overrides_runpath=yes
! 14847: ;;
! 14848:
! 14849: openbsd*)
! 14850: version_type=sunos
! 14851: sys_lib_dlsearch_path_spec="/usr/lib"
! 14852: need_lib_prefix=no
! 14853: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 14854: case $host_os in
! 14855: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 14856: *) need_version=no ;;
! 14857: esac
! 14858: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14859: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 14860: shlibpath_var=LD_LIBRARY_PATH
! 14861: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 14862: case $host_os in
! 14863: openbsd2.[89] | openbsd2.[89].*)
! 14864: shlibpath_overrides_runpath=no
! 14865: ;;
! 14866: *)
! 14867: shlibpath_overrides_runpath=yes
! 14868: ;;
! 14869: esac
! 14870: else
! 14871: shlibpath_overrides_runpath=yes
! 14872: fi
! 14873: ;;
! 14874:
! 14875: os2*)
! 14876: libname_spec='$name'
! 14877: shrext_cmds=".dll"
! 14878: need_lib_prefix=no
! 14879: library_names_spec='$libname${shared_ext} $libname.a'
! 14880: dynamic_linker='OS/2 ld.exe'
! 14881: shlibpath_var=LIBPATH
! 14882: ;;
! 14883:
! 14884: osf3* | osf4* | osf5*)
! 14885: version_type=osf
! 14886: need_lib_prefix=no
! 14887: need_version=no
! 14888: soname_spec='${libname}${release}${shared_ext}$major'
! 14889: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14890: shlibpath_var=LD_LIBRARY_PATH
! 14891: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 14892: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 14893: ;;
! 14894:
! 14895: solaris*)
! 14896: version_type=linux
! 14897: need_lib_prefix=no
! 14898: need_version=no
! 14899: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14900: soname_spec='${libname}${release}${shared_ext}$major'
! 14901: shlibpath_var=LD_LIBRARY_PATH
! 14902: shlibpath_overrides_runpath=yes
! 14903: hardcode_into_libs=yes
! 14904: # ldd complains unless libraries are executable
! 14905: postinstall_cmds='chmod +x $lib'
! 14906: ;;
! 14907:
! 14908: sunos4*)
! 14909: version_type=sunos
! 14910: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 14911: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 14912: shlibpath_var=LD_LIBRARY_PATH
! 14913: shlibpath_overrides_runpath=yes
! 14914: if test "$with_gnu_ld" = yes; then
! 14915: need_lib_prefix=no
! 14916: fi
! 14917: need_version=yes
! 14918: ;;
! 14919:
! 14920: sysv4 | sysv4.3*)
! 14921: version_type=linux
! 14922: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14923: soname_spec='${libname}${release}${shared_ext}$major'
! 14924: shlibpath_var=LD_LIBRARY_PATH
! 14925: case $host_vendor in
! 14926: sni)
! 14927: shlibpath_overrides_runpath=no
! 14928: need_lib_prefix=no
! 14929: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 14930: runpath_var=LD_RUN_PATH
! 14931: ;;
! 14932: siemens)
! 14933: need_lib_prefix=no
! 14934: ;;
! 14935: motorola)
! 14936: need_lib_prefix=no
! 14937: need_version=no
! 14938: shlibpath_overrides_runpath=no
! 14939: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 14940: ;;
! 14941: esac
! 14942: ;;
! 14943:
! 14944: sysv4*MP*)
! 14945: if test -d /usr/nec ;then
! 14946: version_type=linux
! 14947: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 14948: soname_spec='$libname${shared_ext}.$major'
! 14949: shlibpath_var=LD_LIBRARY_PATH
! 14950: fi
! 14951: ;;
! 14952:
! 14953: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 14954: version_type=freebsd-elf
! 14955: need_lib_prefix=no
! 14956: need_version=no
! 14957: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 14958: soname_spec='${libname}${release}${shared_ext}$major'
! 14959: shlibpath_var=LD_LIBRARY_PATH
! 14960: hardcode_into_libs=yes
! 14961: if test "$with_gnu_ld" = yes; then
! 14962: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 14963: shlibpath_overrides_runpath=no
! 14964: else
! 14965: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 14966: shlibpath_overrides_runpath=yes
! 14967: case $host_os in
! 14968: sco3.2v5*)
! 14969: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 14970: ;;
! 14971: esac
! 14972: fi
! 14973: sys_lib_dlsearch_path_spec='/usr/lib'
! 14974: ;;
! 14975:
! 14976: uts4*)
! 14977: version_type=linux
! 14978: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 14979: soname_spec='${libname}${release}${shared_ext}$major'
! 14980: shlibpath_var=LD_LIBRARY_PATH
! 14981: ;;
! 14982:
! 14983: *)
! 14984: dynamic_linker=no
! 14985: ;;
! 14986: esac
! 14987: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 14988: echo "${ECHO_T}$dynamic_linker" >&6
! 14989: test "$dynamic_linker" = no && can_build_shared=no
! 14990:
! 14991: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 14992: if test "$GCC" = yes; then
! 14993: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 14994: fi
! 14995:
! 14996: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 14997: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 14998: hardcode_action_F77=
! 14999: if test -n "$hardcode_libdir_flag_spec_F77" || \
! 15000: test -n "$runpath_var_F77" || \
! 15001: test "X$hardcode_automatic_F77" = "Xyes" ; then
! 15002:
! 15003: # We can hardcode non-existant directories.
! 15004: if test "$hardcode_direct_F77" != no &&
! 15005: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 15006: # have to relink, otherwise we might link with an installed library
! 15007: # when we should be linking with a yet-to-be-installed one
! 15008: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
! 15009: test "$hardcode_minus_L_F77" != no; then
! 15010: # Linking always hardcodes the temporary library directory.
! 15011: hardcode_action_F77=relink
! 15012: else
! 15013: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 15014: hardcode_action_F77=immediate
! 15015: fi
! 15016: else
! 15017: # We cannot hardcode anything, or else we can only hardcode existing
! 15018: # directories.
! 15019: hardcode_action_F77=unsupported
! 15020: fi
! 15021: echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
! 15022: echo "${ECHO_T}$hardcode_action_F77" >&6
! 15023:
! 15024: if test "$hardcode_action_F77" = relink; then
! 15025: # Fast installation is not supported
! 15026: enable_fast_install=no
! 15027: elif test "$shlibpath_overrides_runpath" = yes ||
! 15028: test "$enable_shared" = no; then
! 15029: # Fast installation is not necessary
! 15030: enable_fast_install=needless
! 15031: fi
! 15032:
! 15033:
! 15034: # The else clause should only fire when bootstrapping the
! 15035: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 15036: # with your package, and you will get complaints that there are
! 15037: # no rules to generate ltmain.sh.
! 15038: if test -f "$ltmain"; then
! 15039: # See if we are running on zsh, and set the options which allow our commands through
! 15040: # without removal of \ escapes.
! 15041: if test -n "${ZSH_VERSION+set}" ; then
! 15042: setopt NO_GLOB_SUBST
! 15043: fi
! 15044: # Now quote all the things that may contain metacharacters while being
! 15045: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 15046: # variables and quote the copies for generation of the libtool script.
! 15047: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 15048: SED SHELL STRIP \
! 15049: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 15050: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 15051: deplibs_check_method reload_flag reload_cmds need_locks \
! 15052: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 15053: lt_cv_sys_global_symbol_to_c_name_address \
! 15054: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 15055: old_postinstall_cmds old_postuninstall_cmds \
! 15056: compiler_F77 \
! 15057: CC_F77 \
! 15058: LD_F77 \
! 15059: lt_prog_compiler_wl_F77 \
! 15060: lt_prog_compiler_pic_F77 \
! 15061: lt_prog_compiler_static_F77 \
! 15062: lt_prog_compiler_no_builtin_flag_F77 \
! 15063: export_dynamic_flag_spec_F77 \
! 15064: thread_safe_flag_spec_F77 \
! 15065: whole_archive_flag_spec_F77 \
! 15066: enable_shared_with_static_runtimes_F77 \
! 15067: old_archive_cmds_F77 \
! 15068: old_archive_from_new_cmds_F77 \
! 15069: predep_objects_F77 \
! 15070: postdep_objects_F77 \
! 15071: predeps_F77 \
! 15072: postdeps_F77 \
! 15073: compiler_lib_search_path_F77 \
! 15074: archive_cmds_F77 \
! 15075: archive_expsym_cmds_F77 \
! 15076: postinstall_cmds_F77 \
! 15077: postuninstall_cmds_F77 \
! 15078: old_archive_from_expsyms_cmds_F77 \
! 15079: allow_undefined_flag_F77 \
! 15080: no_undefined_flag_F77 \
! 15081: export_symbols_cmds_F77 \
! 15082: hardcode_libdir_flag_spec_F77 \
! 15083: hardcode_libdir_flag_spec_ld_F77 \
! 15084: hardcode_libdir_separator_F77 \
! 15085: hardcode_automatic_F77 \
! 15086: module_cmds_F77 \
! 15087: module_expsym_cmds_F77 \
! 15088: lt_cv_prog_compiler_c_o_F77 \
! 15089: exclude_expsyms_F77 \
! 15090: include_expsyms_F77; do
! 15091:
! 15092: case $var in
! 15093: old_archive_cmds_F77 | \
! 15094: old_archive_from_new_cmds_F77 | \
! 15095: archive_cmds_F77 | \
! 15096: archive_expsym_cmds_F77 | \
! 15097: module_cmds_F77 | \
! 15098: module_expsym_cmds_F77 | \
! 15099: old_archive_from_expsyms_cmds_F77 | \
! 15100: export_symbols_cmds_F77 | \
! 15101: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 15102: postinstall_cmds | postuninstall_cmds | \
! 15103: old_postinstall_cmds | old_postuninstall_cmds | \
! 15104: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 15105: # Double-quote double-evaled strings.
! 15106: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 15107: ;;
! 15108: *)
! 15109: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 15110: ;;
! 15111: esac
! 15112: done
! 15113:
! 15114: case $lt_echo in
! 15115: *'\$0 --fallback-echo"')
! 15116: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 15117: ;;
! 15118: esac
! 15119:
! 15120: cfgfile="$ofile"
! 15121:
! 15122: cat <<__EOF__ >> "$cfgfile"
! 15123: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 15124:
! 15125: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 15126:
! 15127: # Shell to use when invoking shell scripts.
! 15128: SHELL=$lt_SHELL
! 15129:
! 15130: # Whether or not to build shared libraries.
! 15131: build_libtool_libs=$enable_shared
! 15132:
! 15133: # Whether or not to build static libraries.
! 15134: build_old_libs=$enable_static
! 15135:
! 15136: # Whether or not to add -lc for building shared libraries.
! 15137: build_libtool_need_lc=$archive_cmds_need_lc_F77
! 15138:
! 15139: # Whether or not to disallow shared libs when runtime libs are static
! 15140: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
! 15141:
! 15142: # Whether or not to optimize for fast installation.
! 15143: fast_install=$enable_fast_install
! 15144:
! 15145: # The host system.
! 15146: host_alias=$host_alias
! 15147: host=$host
! 15148: host_os=$host_os
! 15149:
! 15150: # The build system.
! 15151: build_alias=$build_alias
! 15152: build=$build
! 15153: build_os=$build_os
! 15154:
! 15155: # An echo program that does not interpret backslashes.
! 15156: echo=$lt_echo
! 15157:
! 15158: # The archiver.
! 15159: AR=$lt_AR
! 15160: AR_FLAGS=$lt_AR_FLAGS
! 15161:
! 15162: # A C compiler.
! 15163: LTCC=$lt_LTCC
! 15164:
! 15165: # LTCC compiler flags.
! 15166: LTCFLAGS=$lt_LTCFLAGS
! 15167:
! 15168: # A language-specific compiler.
! 15169: CC=$lt_compiler_F77
! 15170:
! 15171: # Is the compiler the GNU C compiler?
! 15172: with_gcc=$GCC_F77
! 15173:
! 15174: # An ERE matcher.
! 15175: EGREP=$lt_EGREP
! 15176:
! 15177: # The linker used to build libraries.
! 15178: LD=$lt_LD_F77
! 15179:
! 15180: # Whether we need hard or soft links.
! 15181: LN_S=$lt_LN_S
! 15182:
! 15183: # A BSD-compatible nm program.
! 15184: NM=$lt_NM
! 15185:
! 15186: # A symbol stripping program
! 15187: STRIP=$lt_STRIP
! 15188:
! 15189: # Used to examine libraries when file_magic_cmd begins "file"
! 15190: MAGIC_CMD=$MAGIC_CMD
! 15191:
! 15192: # Used on cygwin: DLL creation program.
! 15193: DLLTOOL="$DLLTOOL"
! 15194:
! 15195: # Used on cygwin: object dumper.
! 15196: OBJDUMP="$OBJDUMP"
! 15197:
! 15198: # Used on cygwin: assembler.
! 15199: AS="$AS"
! 15200:
! 15201: # The name of the directory that contains temporary libtool files.
! 15202: objdir=$objdir
! 15203:
! 15204: # How to create reloadable object files.
! 15205: reload_flag=$lt_reload_flag
! 15206: reload_cmds=$lt_reload_cmds
! 15207:
! 15208: # How to pass a linker flag through the compiler.
! 15209: wl=$lt_lt_prog_compiler_wl_F77
! 15210:
! 15211: # Object file suffix (normally "o").
! 15212: objext="$ac_objext"
! 15213:
! 15214: # Old archive suffix (normally "a").
! 15215: libext="$libext"
! 15216:
! 15217: # Shared library suffix (normally ".so").
! 15218: shrext_cmds='$shrext_cmds'
! 15219:
! 15220: # Executable file suffix (normally "").
! 15221: exeext="$exeext"
! 15222:
! 15223: # Additional compiler flags for building library objects.
! 15224: pic_flag=$lt_lt_prog_compiler_pic_F77
! 15225: pic_mode=$pic_mode
! 15226:
! 15227: # What is the maximum length of a command?
! 15228: max_cmd_len=$lt_cv_sys_max_cmd_len
! 15229:
! 15230: # Does compiler simultaneously support -c and -o options?
! 15231: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
! 15232:
! 15233: # Must we lock files when doing compilation?
! 15234: need_locks=$lt_need_locks
! 15235:
! 15236: # Do we need the lib prefix for modules?
! 15237: need_lib_prefix=$need_lib_prefix
! 15238:
! 15239: # Do we need a version for libraries?
! 15240: need_version=$need_version
! 15241:
! 15242: # Whether dlopen is supported.
! 15243: dlopen_support=$enable_dlopen
! 15244:
! 15245: # Whether dlopen of programs is supported.
! 15246: dlopen_self=$enable_dlopen_self
! 15247:
! 15248: # Whether dlopen of statically linked programs is supported.
! 15249: dlopen_self_static=$enable_dlopen_self_static
! 15250:
! 15251: # Compiler flag to prevent dynamic linking.
! 15252: link_static_flag=$lt_lt_prog_compiler_static_F77
! 15253:
! 15254: # Compiler flag to turn off builtin functions.
! 15255: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
! 15256:
! 15257: # Compiler flag to allow reflexive dlopens.
! 15258: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
! 15259:
! 15260: # Compiler flag to generate shared objects directly from archives.
! 15261: whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
! 15262:
! 15263: # Compiler flag to generate thread-safe objects.
! 15264: thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
! 15265:
! 15266: # Library versioning type.
! 15267: version_type=$version_type
! 15268:
! 15269: # Format of library name prefix.
! 15270: libname_spec=$lt_libname_spec
! 15271:
! 15272: # List of archive names. First name is the real one, the rest are links.
! 15273: # The last name is the one that the linker finds with -lNAME.
! 15274: library_names_spec=$lt_library_names_spec
! 15275:
! 15276: # The coded name of the library, if different from the real name.
! 15277: soname_spec=$lt_soname_spec
! 15278:
! 15279: # Commands used to build and install an old-style archive.
! 15280: RANLIB=$lt_RANLIB
! 15281: old_archive_cmds=$lt_old_archive_cmds_F77
! 15282: old_postinstall_cmds=$lt_old_postinstall_cmds
! 15283: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 15284:
! 15285: # Create an old-style archive from a shared archive.
! 15286: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
! 15287:
! 15288: # Create a temporary old-style archive to link instead of a shared archive.
! 15289: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
! 15290:
! 15291: # Commands used to build and install a shared archive.
! 15292: archive_cmds=$lt_archive_cmds_F77
! 15293: archive_expsym_cmds=$lt_archive_expsym_cmds_F77
! 15294: postinstall_cmds=$lt_postinstall_cmds
! 15295: postuninstall_cmds=$lt_postuninstall_cmds
! 15296:
! 15297: # Commands used to build a loadable module (assumed same as above if empty)
! 15298: module_cmds=$lt_module_cmds_F77
! 15299: module_expsym_cmds=$lt_module_expsym_cmds_F77
! 15300:
! 15301: # Commands to strip libraries.
! 15302: old_striplib=$lt_old_striplib
! 15303: striplib=$lt_striplib
! 15304:
! 15305: # Dependencies to place before the objects being linked to create a
! 15306: # shared library.
! 15307: predep_objects=$lt_predep_objects_F77
! 15308:
! 15309: # Dependencies to place after the objects being linked to create a
! 15310: # shared library.
! 15311: postdep_objects=$lt_postdep_objects_F77
! 15312:
! 15313: # Dependencies to place before the objects being linked to create a
! 15314: # shared library.
! 15315: predeps=$lt_predeps_F77
! 15316:
! 15317: # Dependencies to place after the objects being linked to create a
! 15318: # shared library.
! 15319: postdeps=$lt_postdeps_F77
! 15320:
! 15321: # The library search path used internally by the compiler when linking
! 15322: # a shared library.
! 15323: compiler_lib_search_path=$lt_compiler_lib_search_path_F77
! 15324:
! 15325: # Method to check whether dependent libraries are shared objects.
! 15326: deplibs_check_method=$lt_deplibs_check_method
! 15327:
! 15328: # Command to use when deplibs_check_method == file_magic.
! 15329: file_magic_cmd=$lt_file_magic_cmd
! 15330:
! 15331: # Flag that allows shared libraries with undefined symbols to be built.
! 15332: allow_undefined_flag=$lt_allow_undefined_flag_F77
! 15333:
! 15334: # Flag that forces no undefined symbols.
! 15335: no_undefined_flag=$lt_no_undefined_flag_F77
! 15336:
! 15337: # Commands used to finish a libtool library installation in a directory.
! 15338: finish_cmds=$lt_finish_cmds
! 15339:
! 15340: # Same as above, but a single script fragment to be evaled but not shown.
! 15341: finish_eval=$lt_finish_eval
! 15342:
! 15343: # Take the output of nm and produce a listing of raw symbols and C names.
! 15344: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 15345:
! 15346: # Transform the output of nm in a proper C declaration
! 15347: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 15348:
! 15349: # Transform the output of nm in a C name address pair
! 15350: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 15351:
! 15352: # This is the shared library runtime path variable.
! 15353: runpath_var=$runpath_var
! 15354:
! 15355: # This is the shared library path variable.
! 15356: shlibpath_var=$shlibpath_var
! 15357:
! 15358: # Is shlibpath searched before the hard-coded library search path?
! 15359: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 15360:
! 15361: # How to hardcode a shared library path into an executable.
! 15362: hardcode_action=$hardcode_action_F77
! 15363:
! 15364: # Whether we should hardcode library paths into libraries.
! 15365: hardcode_into_libs=$hardcode_into_libs
! 15366:
! 15367: # Flag to hardcode \$libdir into a binary during linking.
! 15368: # This must work even if \$libdir does not exist.
! 15369: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
! 15370:
! 15371: # If ld is used when linking, flag to hardcode \$libdir into
! 15372: # a binary during linking. This must work even if \$libdir does
! 15373: # not exist.
! 15374: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
! 15375:
! 15376: # Whether we need a single -rpath flag with a separated argument.
! 15377: hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
! 15378:
! 15379: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 15380: # resulting binary.
! 15381: hardcode_direct=$hardcode_direct_F77
! 15382:
! 15383: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 15384: # resulting binary.
! 15385: hardcode_minus_L=$hardcode_minus_L_F77
! 15386:
! 15387: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 15388: # the resulting binary.
! 15389: hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
! 15390:
! 15391: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 15392: # and all subsequent libraries and executables linked against it.
! 15393: hardcode_automatic=$hardcode_automatic_F77
! 15394:
! 15395: # Variables whose values should be saved in libtool wrapper scripts and
! 15396: # restored at relink time.
! 15397: variables_saved_for_relink="$variables_saved_for_relink"
! 15398:
! 15399: # Whether libtool must link a program against all its dependency libraries.
! 15400: link_all_deplibs=$link_all_deplibs_F77
! 15401:
! 15402: # Compile-time system search path for libraries
! 15403: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 15404:
! 15405: # Run-time system search path for libraries
! 15406: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 15407:
! 15408: # Fix the shell variable \$srcfile for the compiler.
! 15409: fix_srcfile_path="$fix_srcfile_path_F77"
! 15410:
! 15411: # Set to yes if exported symbols are required.
! 15412: always_export_symbols=$always_export_symbols_F77
! 15413:
! 15414: # The commands to list exported symbols.
! 15415: export_symbols_cmds=$lt_export_symbols_cmds_F77
! 15416:
! 15417: # The commands to extract the exported symbol list from a shared archive.
! 15418: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 15419:
! 15420: # Symbols that should not be listed in the preloaded symbols.
! 15421: exclude_expsyms=$lt_exclude_expsyms_F77
! 15422:
! 15423: # Symbols that must always be exported.
! 15424: include_expsyms=$lt_include_expsyms_F77
! 15425:
! 15426: # ### END LIBTOOL TAG CONFIG: $tagname
! 15427:
! 15428: __EOF__
! 15429:
! 15430:
! 15431: else
! 15432: # If there is no Makefile yet, we rely on a make rule to execute
! 15433: # `config.status --recheck' to rerun these tests and create the
! 15434: # libtool script then.
! 15435: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 15436: if test -f "$ltmain_in"; then
! 15437: test -f Makefile && make "$ltmain"
! 15438: fi
! 15439: fi
! 15440:
! 15441:
! 15442: ac_ext=c
! 15443: ac_cpp='$CPP $CPPFLAGS'
! 15444: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 15445: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 15446: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 15447:
! 15448: CC="$lt_save_CC"
! 15449:
! 15450: else
! 15451: tagname=""
! 15452: fi
! 15453: ;;
! 15454:
! 15455: GCJ)
! 15456: if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
! 15457:
! 15458:
! 15459:
! 15460: # Source file extension for Java test sources.
! 15461: ac_ext=java
! 15462:
! 15463: # Object file extension for compiled Java test sources.
! 15464: objext=o
! 15465: objext_GCJ=$objext
! 15466:
! 15467: # Code to be used in simple compile tests
! 15468: lt_simple_compile_test_code="class foo {}\n"
! 15469:
! 15470: # Code to be used in simple link tests
! 15471: lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
! 15472:
! 15473: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 15474:
! 15475: # If no C compiler was specified, use CC.
! 15476: LTCC=${LTCC-"$CC"}
! 15477:
! 15478: # If no C compiler flags were specified, use CFLAGS.
! 15479: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 15480:
! 15481: # Allow CC to be a program name with arguments.
! 15482: compiler=$CC
! 15483:
! 15484:
! 15485: # save warnings/boilerplate of simple test code
! 15486: ac_outfile=conftest.$ac_objext
! 15487: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
! 15488: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 15489: _lt_compiler_boilerplate=`cat conftest.err`
! 15490: $rm conftest*
! 15491:
! 15492: ac_outfile=conftest.$ac_objext
! 15493: printf "$lt_simple_link_test_code" >conftest.$ac_ext
! 15494: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 15495: _lt_linker_boilerplate=`cat conftest.err`
! 15496: $rm conftest*
! 15497:
! 15498:
! 15499: # Allow CC to be a program name with arguments.
! 15500: lt_save_CC="$CC"
! 15501: CC=${GCJ-"gcj"}
! 15502: compiler=$CC
! 15503: compiler_GCJ=$CC
! 15504: for cc_temp in $compiler""; do
! 15505: case $cc_temp in
! 15506: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 15507: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 15508: \-*) ;;
! 15509: *) break;;
! 15510: esac
! 15511: done
! 15512: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 15513:
! 15514:
! 15515: # GCJ did not exist at the time GCC didn't implicitly link libc in.
! 15516: archive_cmds_need_lc_GCJ=no
! 15517:
! 15518: old_archive_cmds_GCJ=$old_archive_cmds
! 15519:
! 15520:
! 15521: lt_prog_compiler_no_builtin_flag_GCJ=
! 15522:
! 15523: if test "$GCC" = yes; then
! 15524: lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
! 15525:
! 15526:
! 15527: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 15528: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 15529: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
! 15530: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15531: else
! 15532: lt_cv_prog_compiler_rtti_exceptions=no
! 15533: ac_outfile=conftest.$ac_objext
! 15534: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 15535: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 15536: # Insert the option either (1) after the last *FLAGS variable, or
! 15537: # (2) before a word containing "conftest.", or (3) at the end.
! 15538: # Note that $ac_compile itself does not contain backslashes and begins
! 15539: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 15540: # The option is referenced via a variable to avoid confusing sed.
! 15541: lt_compile=`echo "$ac_compile" | $SED \
! 15542: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 15543: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 15544: -e 's:$: $lt_compiler_flag:'`
! 15545: (eval echo "\"\$as_me:15545: $lt_compile\"" >&5)
! 15546: (eval "$lt_compile" 2>conftest.err)
! 15547: ac_status=$?
! 15548: cat conftest.err >&5
! 15549: echo "$as_me:15549: \$? = $ac_status" >&5
! 15550: if (exit $ac_status) && test -s "$ac_outfile"; then
! 15551: # The compiler can only warn and ignore the option if not recognized
! 15552: # So say no if there are warnings other than the usual output.
! 15553: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 15554: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 15555: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 15556: lt_cv_prog_compiler_rtti_exceptions=yes
! 15557: fi
! 15558: fi
! 15559: $rm conftest*
! 15560:
! 15561: fi
! 15562: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 15563: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
! 15564:
! 15565: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 15566: lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
! 15567: else
! 15568: :
! 15569: fi
! 15570:
! 15571: fi
! 15572:
! 15573: lt_prog_compiler_wl_GCJ=
! 15574: lt_prog_compiler_pic_GCJ=
! 15575: lt_prog_compiler_static_GCJ=
! 15576:
! 15577: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 15578: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 15579:
! 15580: if test "$GCC" = yes; then
! 15581: lt_prog_compiler_wl_GCJ='-Wl,'
! 15582: lt_prog_compiler_static_GCJ='-static'
! 15583:
! 15584: case $host_os in
! 15585: aix*)
! 15586: # All AIX code is PIC.
! 15587: if test "$host_cpu" = ia64; then
! 15588: # AIX 5 now supports IA64 processor
! 15589: lt_prog_compiler_static_GCJ='-Bstatic'
! 15590: fi
! 15591: ;;
! 15592:
! 15593: amigaos*)
! 15594: # FIXME: we need at least 68020 code to build shared libraries, but
! 15595: # adding the `-m68020' flag to GCC prevents building anything better,
! 15596: # like `-m68040'.
! 15597: lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
! 15598: ;;
! 15599:
! 15600: beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 15601: # PIC is the default for these OSes.
! 15602: ;;
! 15603:
! 15604: mingw* | pw32* | os2*)
! 15605: # This hack is so that the source file can tell whether it is being
! 15606: # built for inclusion in a dll (and should export symbols for example).
! 15607: lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
! 15608: ;;
! 15609:
! 15610: darwin* | rhapsody*)
! 15611: # PIC is the default on this platform
! 15612: # Common symbols not allowed in MH_DYLIB files
! 15613: lt_prog_compiler_pic_GCJ='-fno-common'
! 15614: ;;
! 15615:
! 15616: interix3*)
! 15617: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 15618: # Instead, we relocate shared libraries at runtime.
! 15619: ;;
! 15620:
! 15621: msdosdjgpp*)
! 15622: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 15623: # on systems that don't support them.
! 15624: lt_prog_compiler_can_build_shared_GCJ=no
! 15625: enable_shared=no
! 15626: ;;
! 15627:
! 15628: sysv4*MP*)
! 15629: if test -d /usr/nec; then
! 15630: lt_prog_compiler_pic_GCJ=-Kconform_pic
! 15631: fi
! 15632: ;;
! 15633:
! 15634: hpux*)
! 15635: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 15636: # not for PA HP-UX.
! 15637: case $host_cpu in
! 15638: hppa*64*|ia64*)
! 15639: # +Z the default
! 15640: ;;
! 15641: *)
! 15642: lt_prog_compiler_pic_GCJ='-fPIC'
! 15643: ;;
! 15644: esac
! 15645: ;;
! 15646:
! 15647: *)
! 15648: lt_prog_compiler_pic_GCJ='-fPIC'
! 15649: ;;
! 15650: esac
! 15651: else
! 15652: # PORTME Check for flag to pass linker flags through the system compiler.
! 15653: case $host_os in
! 15654: aix*)
! 15655: lt_prog_compiler_wl_GCJ='-Wl,'
! 15656: if test "$host_cpu" = ia64; then
! 15657: # AIX 5 now supports IA64 processor
! 15658: lt_prog_compiler_static_GCJ='-Bstatic'
! 15659: else
! 15660: lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
! 15661: fi
! 15662: ;;
! 15663: darwin*)
! 15664: # PIC is the default on this platform
! 15665: # Common symbols not allowed in MH_DYLIB files
! 15666: case $cc_basename in
! 15667: xlc*)
! 15668: lt_prog_compiler_pic_GCJ='-qnocommon'
! 15669: lt_prog_compiler_wl_GCJ='-Wl,'
! 15670: ;;
! 15671: esac
! 15672: ;;
! 15673:
! 15674: mingw* | pw32* | os2*)
! 15675: # This hack is so that the source file can tell whether it is being
! 15676: # built for inclusion in a dll (and should export symbols for example).
! 15677: lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
! 15678: ;;
! 15679:
! 15680: hpux9* | hpux10* | hpux11*)
! 15681: lt_prog_compiler_wl_GCJ='-Wl,'
! 15682: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 15683: # not for PA HP-UX.
! 15684: case $host_cpu in
! 15685: hppa*64*|ia64*)
! 15686: # +Z the default
! 15687: ;;
! 15688: *)
! 15689: lt_prog_compiler_pic_GCJ='+Z'
! 15690: ;;
! 15691: esac
! 15692: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 15693: lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
! 15694: ;;
! 15695:
! 15696: irix5* | irix6* | nonstopux*)
! 15697: lt_prog_compiler_wl_GCJ='-Wl,'
! 15698: # PIC (with -KPIC) is the default.
! 15699: lt_prog_compiler_static_GCJ='-non_shared'
! 15700: ;;
! 15701:
! 15702: newsos6)
! 15703: lt_prog_compiler_pic_GCJ='-KPIC'
! 15704: lt_prog_compiler_static_GCJ='-Bstatic'
! 15705: ;;
! 15706:
! 15707: linux*)
! 15708: case $cc_basename in
! 15709: icc* | ecc*)
! 15710: lt_prog_compiler_wl_GCJ='-Wl,'
! 15711: lt_prog_compiler_pic_GCJ='-KPIC'
! 15712: lt_prog_compiler_static_GCJ='-static'
! 15713: ;;
! 15714: pgcc* | pgf77* | pgf90* | pgf95*)
! 15715: # Portland Group compilers (*not* the Pentium gcc compiler,
! 15716: # which looks to be a dead project)
! 15717: lt_prog_compiler_wl_GCJ='-Wl,'
! 15718: lt_prog_compiler_pic_GCJ='-fpic'
! 15719: lt_prog_compiler_static_GCJ='-Bstatic'
! 15720: ;;
! 15721: ccc*)
! 15722: lt_prog_compiler_wl_GCJ='-Wl,'
! 15723: # All Alpha code is PIC.
! 15724: lt_prog_compiler_static_GCJ='-non_shared'
! 15725: ;;
! 15726: esac
! 15727: ;;
! 15728:
! 15729: osf3* | osf4* | osf5*)
! 15730: lt_prog_compiler_wl_GCJ='-Wl,'
! 15731: # All OSF/1 code is PIC.
! 15732: lt_prog_compiler_static_GCJ='-non_shared'
! 15733: ;;
! 15734:
! 15735: solaris*)
! 15736: lt_prog_compiler_pic_GCJ='-KPIC'
! 15737: lt_prog_compiler_static_GCJ='-Bstatic'
! 15738: case $cc_basename in
! 15739: f77* | f90* | f95*)
! 15740: lt_prog_compiler_wl_GCJ='-Qoption ld ';;
! 15741: *)
! 15742: lt_prog_compiler_wl_GCJ='-Wl,';;
! 15743: esac
! 15744: ;;
! 15745:
! 15746: sunos4*)
! 15747: lt_prog_compiler_wl_GCJ='-Qoption ld '
! 15748: lt_prog_compiler_pic_GCJ='-PIC'
! 15749: lt_prog_compiler_static_GCJ='-Bstatic'
! 15750: ;;
! 15751:
! 15752: sysv4 | sysv4.2uw2* | sysv4.3*)
! 15753: lt_prog_compiler_wl_GCJ='-Wl,'
! 15754: lt_prog_compiler_pic_GCJ='-KPIC'
! 15755: lt_prog_compiler_static_GCJ='-Bstatic'
! 15756: ;;
! 15757:
! 15758: sysv4*MP*)
! 15759: if test -d /usr/nec ;then
! 15760: lt_prog_compiler_pic_GCJ='-Kconform_pic'
! 15761: lt_prog_compiler_static_GCJ='-Bstatic'
! 15762: fi
! 15763: ;;
! 15764:
! 15765: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 15766: lt_prog_compiler_wl_GCJ='-Wl,'
! 15767: lt_prog_compiler_pic_GCJ='-KPIC'
! 15768: lt_prog_compiler_static_GCJ='-Bstatic'
! 15769: ;;
! 15770:
! 15771: unicos*)
! 15772: lt_prog_compiler_wl_GCJ='-Wl,'
! 15773: lt_prog_compiler_can_build_shared_GCJ=no
! 15774: ;;
! 15775:
! 15776: uts4*)
! 15777: lt_prog_compiler_pic_GCJ='-pic'
! 15778: lt_prog_compiler_static_GCJ='-Bstatic'
! 15779: ;;
! 15780:
! 15781: *)
! 15782: lt_prog_compiler_can_build_shared_GCJ=no
! 15783: ;;
! 15784: esac
! 15785: fi
! 15786:
! 15787: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
! 15788: echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
! 15789:
! 15790: #
! 15791: # Check to make sure the PIC flag actually works.
! 15792: #
! 15793: if test -n "$lt_prog_compiler_pic_GCJ"; then
! 15794:
! 15795: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
! 15796: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
! 15797: if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
! 15798: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15799: else
! 15800: lt_prog_compiler_pic_works_GCJ=no
! 15801: ac_outfile=conftest.$ac_objext
! 15802: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 15803: lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
! 15804: # Insert the option either (1) after the last *FLAGS variable, or
! 15805: # (2) before a word containing "conftest.", or (3) at the end.
! 15806: # Note that $ac_compile itself does not contain backslashes and begins
! 15807: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 15808: # The option is referenced via a variable to avoid confusing sed.
! 15809: lt_compile=`echo "$ac_compile" | $SED \
! 15810: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 15811: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 15812: -e 's:$: $lt_compiler_flag:'`
! 15813: (eval echo "\"\$as_me:15813: $lt_compile\"" >&5)
! 15814: (eval "$lt_compile" 2>conftest.err)
! 15815: ac_status=$?
! 15816: cat conftest.err >&5
! 15817: echo "$as_me:15817: \$? = $ac_status" >&5
! 15818: if (exit $ac_status) && test -s "$ac_outfile"; then
! 15819: # The compiler can only warn and ignore the option if not recognized
! 15820: # So say no if there are warnings other than the usual output.
! 15821: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
! 15822: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 15823: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 15824: lt_prog_compiler_pic_works_GCJ=yes
! 15825: fi
! 15826: fi
! 15827: $rm conftest*
! 15828:
! 15829: fi
! 15830: echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
! 15831: echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
! 15832:
! 15833: if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
! 15834: case $lt_prog_compiler_pic_GCJ in
! 15835: "" | " "*) ;;
! 15836: *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
! 15837: esac
! 15838: else
! 15839: lt_prog_compiler_pic_GCJ=
! 15840: lt_prog_compiler_can_build_shared_GCJ=no
! 15841: fi
! 15842:
! 15843: fi
! 15844: case $host_os in
! 15845: # For platforms which do not support PIC, -DPIC is meaningless:
! 15846: *djgpp*)
! 15847: lt_prog_compiler_pic_GCJ=
! 15848: ;;
! 15849: *)
! 15850: lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
! 15851: ;;
! 15852: esac
! 15853:
! 15854: #
! 15855: # Check to make sure the static flag actually works.
! 15856: #
! 15857: wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
! 15858: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 15859: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
! 15860: if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
! 15861: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15862: else
! 15863: lt_prog_compiler_static_works_GCJ=no
! 15864: save_LDFLAGS="$LDFLAGS"
! 15865: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 15866: printf "$lt_simple_link_test_code" > conftest.$ac_ext
! 15867: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 15868: # The linker can only warn and ignore the option if not recognized
! 15869: # So say no if there are warnings
! 15870: if test -s conftest.err; then
! 15871: # Append any errors to the config.log.
! 15872: cat conftest.err 1>&5
! 15873: $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
! 15874: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 15875: if diff conftest.exp conftest.er2 >/dev/null; then
! 15876: lt_prog_compiler_static_works_GCJ=yes
! 15877: fi
! 15878: else
! 15879: lt_prog_compiler_static_works_GCJ=yes
! 15880: fi
! 15881: fi
! 15882: $rm conftest*
! 15883: LDFLAGS="$save_LDFLAGS"
! 15884:
! 15885: fi
! 15886: echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
! 15887: echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
! 15888:
! 15889: if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
! 15890: :
! 15891: else
! 15892: lt_prog_compiler_static_GCJ=
! 15893: fi
! 15894:
! 15895:
! 15896: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 15897: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 15898: if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
! 15899: echo $ECHO_N "(cached) $ECHO_C" >&6
! 15900: else
! 15901: lt_cv_prog_compiler_c_o_GCJ=no
! 15902: $rm -r conftest 2>/dev/null
! 15903: mkdir conftest
! 15904: cd conftest
! 15905: mkdir out
! 15906: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 15907:
! 15908: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 15909: # Insert the option either (1) after the last *FLAGS variable, or
! 15910: # (2) before a word containing "conftest.", or (3) at the end.
! 15911: # Note that $ac_compile itself does not contain backslashes and begins
! 15912: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 15913: lt_compile=`echo "$ac_compile" | $SED \
! 15914: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 15915: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 15916: -e 's:$: $lt_compiler_flag:'`
! 15917: (eval echo "\"\$as_me:15917: $lt_compile\"" >&5)
! 15918: (eval "$lt_compile" 2>out/conftest.err)
! 15919: ac_status=$?
! 15920: cat out/conftest.err >&5
! 15921: echo "$as_me:15921: \$? = $ac_status" >&5
! 15922: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 15923: then
! 15924: # The compiler can only warn and ignore the option if not recognized
! 15925: # So say no if there are warnings
! 15926: $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
! 15927: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 15928: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 15929: lt_cv_prog_compiler_c_o_GCJ=yes
! 15930: fi
! 15931: fi
! 15932: chmod u+w . 2>&5
! 15933: $rm conftest*
! 15934: # SGI C++ compiler will create directory out/ii_files/ for
! 15935: # template instantiation
! 15936: test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
! 15937: $rm out/* && rmdir out
! 15938: cd ..
! 15939: rmdir conftest
! 15940: $rm conftest*
! 15941:
! 15942: fi
! 15943: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
! 15944: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
! 15945:
! 15946:
! 15947: hard_links="nottested"
! 15948: if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
! 15949: # do not overwrite the value of need_locks provided by the user
! 15950: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 15951: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 15952: hard_links=yes
! 15953: $rm conftest*
! 15954: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 15955: touch conftest.a
! 15956: ln conftest.a conftest.b 2>&5 || hard_links=no
! 15957: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 15958: echo "$as_me:$LINENO: result: $hard_links" >&5
! 15959: echo "${ECHO_T}$hard_links" >&6
! 15960: if test "$hard_links" = no; then
! 15961: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 15962: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 15963: need_locks=warn
! 15964: fi
! 15965: else
! 15966: need_locks=no
! 15967: fi
! 15968:
! 15969: echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 15970: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
! 15971:
! 15972: runpath_var=
! 15973: allow_undefined_flag_GCJ=
! 15974: enable_shared_with_static_runtimes_GCJ=no
! 15975: archive_cmds_GCJ=
! 15976: archive_expsym_cmds_GCJ=
! 15977: old_archive_From_new_cmds_GCJ=
! 15978: old_archive_from_expsyms_cmds_GCJ=
! 15979: export_dynamic_flag_spec_GCJ=
! 15980: whole_archive_flag_spec_GCJ=
! 15981: thread_safe_flag_spec_GCJ=
! 15982: hardcode_libdir_flag_spec_GCJ=
! 15983: hardcode_libdir_flag_spec_ld_GCJ=
! 15984: hardcode_libdir_separator_GCJ=
! 15985: hardcode_direct_GCJ=no
! 15986: hardcode_minus_L_GCJ=no
! 15987: hardcode_shlibpath_var_GCJ=unsupported
! 15988: link_all_deplibs_GCJ=unknown
! 15989: hardcode_automatic_GCJ=no
! 15990: module_cmds_GCJ=
! 15991: module_expsym_cmds_GCJ=
! 15992: always_export_symbols_GCJ=no
! 15993: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 15994: # include_expsyms should be a list of space-separated symbols to be *always*
! 15995: # included in the symbol list
! 15996: include_expsyms_GCJ=
! 15997: # exclude_expsyms can be an extended regexp of symbols to exclude
! 15998: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 15999: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 16000: # as well as any symbol that contains `d'.
! 16001: exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
! 16002: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 16003: # platforms (ab)use it in PIC code, but their linkers get confused if
! 16004: # the symbol is explicitly referenced. Since portable code cannot
! 16005: # rely on this symbol name, it's probably fine to never include it in
! 16006: # preloaded symbol tables.
! 16007: extract_expsyms_cmds=
! 16008: # Just being paranoid about ensuring that cc_basename is set.
! 16009: for cc_temp in $compiler""; do
! 16010: case $cc_temp in
! 16011: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 16012: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 16013: \-*) ;;
! 16014: *) break;;
! 16015: esac
! 16016: done
! 16017: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 16018:
! 16019: case $host_os in
! 16020: cygwin* | mingw* | pw32*)
! 16021: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 16022: # When not using gcc, we currently assume that we are using
! 16023: # Microsoft Visual C++.
! 16024: if test "$GCC" != yes; then
! 16025: with_gnu_ld=no
! 16026: fi
! 16027: ;;
! 16028: interix*)
! 16029: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 16030: with_gnu_ld=yes
! 16031: ;;
! 16032: openbsd*)
! 16033: with_gnu_ld=no
! 16034: ;;
! 16035: esac
! 16036:
! 16037: ld_shlibs_GCJ=yes
! 16038: if test "$with_gnu_ld" = yes; then
! 16039: # If archive_cmds runs LD, not CC, wlarc should be empty
! 16040: wlarc='${wl}'
! 16041:
! 16042: # Set some defaults for GNU ld with shared library support. These
! 16043: # are reset later if shared libraries are not supported. Putting them
! 16044: # here allows them to be overridden if necessary.
! 16045: runpath_var=LD_RUN_PATH
! 16046: hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
! 16047: export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
! 16048: # ancient GNU ld didn't support --whole-archive et. al.
! 16049: if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
! 16050: whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 16051: else
! 16052: whole_archive_flag_spec_GCJ=
! 16053: fi
! 16054: supports_anon_versioning=no
! 16055: case `$LD -v 2>/dev/null` in
! 16056: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 16057: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 16058: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 16059: *\ 2.11.*) ;; # other 2.11 versions
! 16060: *) supports_anon_versioning=yes ;;
! 16061: esac
! 16062:
! 16063: # See if GNU ld supports shared libraries.
! 16064: case $host_os in
! 16065: aix3* | aix4* | aix5*)
! 16066: # On AIX/PPC, the GNU linker is very broken
! 16067: if test "$host_cpu" != ia64; then
! 16068: ld_shlibs_GCJ=no
! 16069: cat <<EOF 1>&2
! 16070:
! 16071: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 16072: *** to be unable to reliably create shared libraries on AIX.
! 16073: *** Therefore, libtool is disabling shared libraries support. If you
! 16074: *** really care for shared libraries, you may want to modify your PATH
! 16075: *** so that a non-GNU linker is found, and then restart.
! 16076:
! 16077: EOF
! 16078: fi
! 16079: ;;
! 16080:
! 16081: amigaos*)
! 16082: 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)'
! 16083: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16084: hardcode_minus_L_GCJ=yes
! 16085:
! 16086: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 16087: # that the semantics of dynamic libraries on AmigaOS, at least up
! 16088: # to version 4, is to share data among multiple programs linked
! 16089: # with the same dynamic library. Since this doesn't match the
! 16090: # behavior of shared libraries on other platforms, we can't use
! 16091: # them.
! 16092: ld_shlibs_GCJ=no
! 16093: ;;
! 16094:
! 16095: beos*)
! 16096: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 16097: allow_undefined_flag_GCJ=unsupported
! 16098: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 16099: # support --undefined. This deserves some investigation. FIXME
! 16100: archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 16101: else
! 16102: ld_shlibs_GCJ=no
! 16103: fi
! 16104: ;;
! 16105:
! 16106: cygwin* | mingw* | pw32*)
! 16107: # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
! 16108: # as there is no search path for DLLs.
! 16109: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16110: allow_undefined_flag_GCJ=unsupported
! 16111: always_export_symbols_GCJ=no
! 16112: enable_shared_with_static_runtimes_GCJ=yes
! 16113: export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
! 16114:
! 16115: if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
! 16116: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 16117: # If the export-symbols file already is a .def file (1st line
! 16118: # is EXPORTS), use it as is; otherwise, prepend...
! 16119: archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 16120: cp $export_symbols $output_objdir/$soname.def;
! 16121: else
! 16122: echo EXPORTS > $output_objdir/$soname.def;
! 16123: cat $export_symbols >> $output_objdir/$soname.def;
! 16124: fi~
! 16125: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 16126: else
! 16127: ld_shlibs_GCJ=no
! 16128: fi
! 16129: ;;
! 16130:
! 16131: interix3*)
! 16132: hardcode_direct_GCJ=no
! 16133: hardcode_shlibpath_var_GCJ=no
! 16134: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 16135: export_dynamic_flag_spec_GCJ='${wl}-E'
! 16136: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 16137: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 16138: # default) and relocated if they conflict, which is a slow very memory
! 16139: # consuming and fragmenting process. To avoid this, we pick a random,
! 16140: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 16141: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 16142: 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'
! 16143: 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'
! 16144: ;;
! 16145:
! 16146: linux*)
! 16147: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 16148: tmp_addflag=
! 16149: case $cc_basename,$host_cpu in
! 16150: pgcc*) # Portland Group C compiler
! 16151: 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'
! 16152: tmp_addflag=' $pic_flag'
! 16153: ;;
! 16154: pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
! 16155: 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'
! 16156: tmp_addflag=' $pic_flag -Mnomain' ;;
! 16157: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 16158: tmp_addflag=' -i_dynamic' ;;
! 16159: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 16160: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 16161: ifc* | ifort*) # Intel Fortran compiler
! 16162: tmp_addflag=' -nofor_main' ;;
! 16163: esac
! 16164: archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 16165:
! 16166: if test $supports_anon_versioning = yes; then
! 16167: archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
! 16168: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 16169: $echo "local: *; };" >> $output_objdir/$libname.ver~
! 16170: $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 16171: fi
! 16172: else
! 16173: ld_shlibs_GCJ=no
! 16174: fi
! 16175: ;;
! 16176:
! 16177: netbsd*)
! 16178: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 16179: archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 16180: wlarc=
! 16181: else
! 16182: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 16183: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 16184: fi
! 16185: ;;
! 16186:
! 16187: solaris*)
! 16188: if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
! 16189: ld_shlibs_GCJ=no
! 16190: cat <<EOF 1>&2
! 16191:
! 16192: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 16193: *** create shared libraries on Solaris systems. Therefore, libtool
! 16194: *** is disabling shared libraries support. We urge you to upgrade GNU
! 16195: *** binutils to release 2.9.1 or newer. Another option is to modify
! 16196: *** your PATH or compiler configuration so that the native linker is
! 16197: *** used, and then restart.
! 16198:
! 16199: EOF
! 16200: elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 16201: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 16202: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 16203: else
! 16204: ld_shlibs_GCJ=no
! 16205: fi
! 16206: ;;
! 16207:
! 16208: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 16209: case `$LD -v 2>&1` in
! 16210: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 16211: ld_shlibs_GCJ=no
! 16212: cat <<_LT_EOF 1>&2
! 16213:
! 16214: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 16215: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 16216: *** is disabling shared libraries support. We urge you to upgrade GNU
! 16217: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 16218: *** your PATH or compiler configuration so that the native linker is
! 16219: *** used, and then restart.
! 16220:
! 16221: _LT_EOF
! 16222: ;;
! 16223: *)
! 16224: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 16225: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
! 16226: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
! 16227: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
! 16228: else
! 16229: ld_shlibs_GCJ=no
! 16230: fi
! 16231: ;;
! 16232: esac
! 16233: ;;
! 16234:
! 16235: sunos4*)
! 16236: archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 16237: wlarc=
! 16238: hardcode_direct_GCJ=yes
! 16239: hardcode_shlibpath_var_GCJ=no
! 16240: ;;
! 16241:
! 16242: *)
! 16243: if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
! 16244: archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 16245: archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 16246: else
! 16247: ld_shlibs_GCJ=no
! 16248: fi
! 16249: ;;
! 16250: esac
! 16251:
! 16252: if test "$ld_shlibs_GCJ" = no; then
! 16253: runpath_var=
! 16254: hardcode_libdir_flag_spec_GCJ=
! 16255: export_dynamic_flag_spec_GCJ=
! 16256: whole_archive_flag_spec_GCJ=
! 16257: fi
! 16258: else
! 16259: # PORTME fill in a description of your system's linker (not GNU ld)
! 16260: case $host_os in
! 16261: aix3*)
! 16262: allow_undefined_flag_GCJ=unsupported
! 16263: always_export_symbols_GCJ=yes
! 16264: 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'
! 16265: # Note: this linker hardcodes the directories in LIBPATH if there
! 16266: # are no directories specified by -L.
! 16267: hardcode_minus_L_GCJ=yes
! 16268: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 16269: # Neither direct hardcoding nor static linking is supported with a
! 16270: # broken collect2.
! 16271: hardcode_direct_GCJ=unsupported
! 16272: fi
! 16273: ;;
! 16274:
! 16275: aix4* | aix5*)
! 16276: if test "$host_cpu" = ia64; then
! 16277: # On IA64, the linker does run time linking by default, so we don't
! 16278: # have to do anything special.
! 16279: aix_use_runtimelinking=no
! 16280: exp_sym_flag='-Bexport'
! 16281: no_entry_flag=""
! 16282: else
! 16283: # If we're using GNU nm, then we don't want the "-C" option.
! 16284: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 16285: if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
! 16286: 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'
! 16287: else
! 16288: 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'
! 16289: fi
! 16290: aix_use_runtimelinking=no
! 16291:
! 16292: # Test if we are trying to use run time linking or normal
! 16293: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 16294: # need to do runtime linking.
! 16295: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 16296: for ld_flag in $LDFLAGS; do
! 16297: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 16298: aix_use_runtimelinking=yes
! 16299: break
! 16300: fi
! 16301: done
! 16302: ;;
! 16303: esac
! 16304:
! 16305: exp_sym_flag='-bexport'
! 16306: no_entry_flag='-bnoentry'
! 16307: fi
! 16308:
! 16309: # When large executables or shared objects are built, AIX ld can
! 16310: # have problems creating the table of contents. If linking a library
! 16311: # or program results in "error TOC overflow" add -mminimal-toc to
! 16312: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 16313: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 16314:
! 16315: archive_cmds_GCJ=''
! 16316: hardcode_direct_GCJ=yes
! 16317: hardcode_libdir_separator_GCJ=':'
! 16318: link_all_deplibs_GCJ=yes
! 16319:
! 16320: if test "$GCC" = yes; then
! 16321: case $host_os in aix4.[012]|aix4.[012].*)
! 16322: # We only want to do this on AIX 4.2 and lower, the check
! 16323: # below for broken collect2 doesn't work under 4.3+
! 16324: collect2name=`${CC} -print-prog-name=collect2`
! 16325: if test -f "$collect2name" && \
! 16326: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 16327: then
! 16328: # We have reworked collect2
! 16329: hardcode_direct_GCJ=yes
! 16330: else
! 16331: # We have old collect2
! 16332: hardcode_direct_GCJ=unsupported
! 16333: # It fails to find uninstalled libraries when the uninstalled
! 16334: # path is not listed in the libpath. Setting hardcode_minus_L
! 16335: # to unsupported forces relinking
! 16336: hardcode_minus_L_GCJ=yes
! 16337: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16338: hardcode_libdir_separator_GCJ=
! 16339: fi
! 16340: ;;
! 16341: esac
! 16342: shared_flag='-shared'
! 16343: if test "$aix_use_runtimelinking" = yes; then
! 16344: shared_flag="$shared_flag "'${wl}-G'
! 16345: fi
! 16346: else
! 16347: # not using gcc
! 16348: if test "$host_cpu" = ia64; then
! 16349: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 16350: # chokes on -Wl,-G. The following line is correct:
! 16351: shared_flag='-G'
! 16352: else
! 16353: if test "$aix_use_runtimelinking" = yes; then
! 16354: shared_flag='${wl}-G'
! 16355: else
! 16356: shared_flag='${wl}-bM:SRE'
! 16357: fi
! 16358: fi
! 16359: fi
! 16360:
! 16361: # It seems that -bexpall does not export symbols beginning with
! 16362: # underscore (_), so it is better to generate a list of symbols to export.
! 16363: always_export_symbols_GCJ=yes
! 16364: if test "$aix_use_runtimelinking" = yes; then
! 16365: # Warning - without using the other runtime loading flags (-brtl),
! 16366: # -berok will link without error, but may produce a broken library.
! 16367: allow_undefined_flag_GCJ='-berok'
! 16368: # Determine the default libpath from the value encoded in an empty executable.
! 16369: cat >conftest.$ac_ext <<_ACEOF
! 16370: /* confdefs.h. */
! 16371: _ACEOF
! 16372: cat confdefs.h >>conftest.$ac_ext
! 16373: cat >>conftest.$ac_ext <<_ACEOF
! 16374: /* end confdefs.h. */
! 16375:
! 16376: int
! 16377: main ()
! 16378: {
! 16379:
! 16380: ;
! 16381: return 0;
! 16382: }
! 16383: _ACEOF
! 16384: rm -f conftest.$ac_objext conftest$ac_exeext
! 16385: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16386: (eval $ac_link) 2>conftest.er1
! 16387: ac_status=$?
! 16388: grep -v '^ *+' conftest.er1 >conftest.err
! 16389: rm -f conftest.er1
! 16390: cat conftest.err >&5
! 16391: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16392: (exit $ac_status); } &&
! 16393: { ac_try='test -z "$ac_c_werror_flag"
! 16394: || test ! -s conftest.err'
! 16395: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16396: (eval $ac_try) 2>&5
! 16397: ac_status=$?
! 16398: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16399: (exit $ac_status); }; } &&
! 16400: { ac_try='test -s conftest$ac_exeext'
! 16401: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16402: (eval $ac_try) 2>&5
! 16403: ac_status=$?
! 16404: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16405: (exit $ac_status); }; }; then
! 16406:
! 16407: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 16408: }'`
! 16409: # Check for a 64-bit object if we didn't find anything.
! 16410: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 16411: }'`; fi
! 16412: else
! 16413: echo "$as_me: failed program was:" >&5
! 16414: sed 's/^/| /' conftest.$ac_ext >&5
! 16415:
! 16416: fi
! 16417: rm -f conftest.err conftest.$ac_objext \
! 16418: conftest$ac_exeext conftest.$ac_ext
! 16419: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 16420:
! 16421: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 16422: 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"
! 16423: else
! 16424: if test "$host_cpu" = ia64; then
! 16425: hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
! 16426: allow_undefined_flag_GCJ="-z nodefs"
! 16427: 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"
! 16428: else
! 16429: # Determine the default libpath from the value encoded in an empty executable.
! 16430: cat >conftest.$ac_ext <<_ACEOF
! 16431: /* confdefs.h. */
! 16432: _ACEOF
! 16433: cat confdefs.h >>conftest.$ac_ext
! 16434: cat >>conftest.$ac_ext <<_ACEOF
! 16435: /* end confdefs.h. */
! 16436:
! 16437: int
! 16438: main ()
! 16439: {
! 16440:
! 16441: ;
! 16442: return 0;
! 16443: }
! 16444: _ACEOF
! 16445: rm -f conftest.$ac_objext conftest$ac_exeext
! 16446: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 16447: (eval $ac_link) 2>conftest.er1
! 16448: ac_status=$?
! 16449: grep -v '^ *+' conftest.er1 >conftest.err
! 16450: rm -f conftest.er1
! 16451: cat conftest.err >&5
! 16452: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16453: (exit $ac_status); } &&
! 16454: { ac_try='test -z "$ac_c_werror_flag"
! 16455: || test ! -s conftest.err'
! 16456: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16457: (eval $ac_try) 2>&5
! 16458: ac_status=$?
! 16459: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16460: (exit $ac_status); }; } &&
! 16461: { ac_try='test -s conftest$ac_exeext'
! 16462: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 16463: (eval $ac_try) 2>&5
! 16464: ac_status=$?
! 16465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16466: (exit $ac_status); }; }; then
! 16467:
! 16468: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 16469: }'`
! 16470: # Check for a 64-bit object if we didn't find anything.
! 16471: if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
! 16472: }'`; fi
! 16473: else
! 16474: echo "$as_me: failed program was:" >&5
! 16475: sed 's/^/| /' conftest.$ac_ext >&5
! 16476:
! 16477: fi
! 16478: rm -f conftest.err conftest.$ac_objext \
! 16479: conftest$ac_exeext conftest.$ac_ext
! 16480: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
! 16481:
! 16482: hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
! 16483: # Warning - without using the other run time loading flags,
! 16484: # -berok will link without error, but may produce a broken library.
! 16485: no_undefined_flag_GCJ=' ${wl}-bernotok'
! 16486: allow_undefined_flag_GCJ=' ${wl}-berok'
! 16487: # Exported symbols can be pulled into shared objects from archives
! 16488: whole_archive_flag_spec_GCJ='$convenience'
! 16489: archive_cmds_need_lc_GCJ=yes
! 16490: # This is similar to how AIX traditionally builds its shared libraries.
! 16491: 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'
! 16492: fi
! 16493: fi
! 16494: ;;
! 16495:
! 16496: amigaos*)
! 16497: 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)'
! 16498: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16499: hardcode_minus_L_GCJ=yes
! 16500: # see comment about different semantics on the GNU ld section
! 16501: ld_shlibs_GCJ=no
! 16502: ;;
! 16503:
! 16504: bsdi[45]*)
! 16505: export_dynamic_flag_spec_GCJ=-rdynamic
! 16506: ;;
! 16507:
! 16508: cygwin* | mingw* | pw32*)
! 16509: # When not using gcc, we currently assume that we are using
! 16510: # Microsoft Visual C++.
! 16511: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 16512: # no search path for DLLs.
! 16513: hardcode_libdir_flag_spec_GCJ=' '
! 16514: allow_undefined_flag_GCJ=unsupported
! 16515: # Tell ltmain to make .lib files, not .a files.
! 16516: libext=lib
! 16517: # Tell ltmain to make .dll files, not .so files.
! 16518: shrext_cmds=".dll"
! 16519: # FIXME: Setting linknames here is a bad hack.
! 16520: archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 16521: # The linker will automatically build a .lib file if we build a DLL.
! 16522: old_archive_From_new_cmds_GCJ='true'
! 16523: # FIXME: Should let the user specify the lib program.
! 16524: old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
! 16525: fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
! 16526: enable_shared_with_static_runtimes_GCJ=yes
! 16527: ;;
! 16528:
! 16529: darwin* | rhapsody*)
! 16530: case $host_os in
! 16531: rhapsody* | darwin1.[012])
! 16532: allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
! 16533: ;;
! 16534: *) # Darwin 1.3 on
! 16535: if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
! 16536: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 16537: else
! 16538: case ${MACOSX_DEPLOYMENT_TARGET} in
! 16539: 10.[012])
! 16540: allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
! 16541: ;;
! 16542: 10.*)
! 16543: allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
! 16544: ;;
! 16545: esac
! 16546: fi
! 16547: ;;
! 16548: esac
! 16549: archive_cmds_need_lc_GCJ=no
! 16550: hardcode_direct_GCJ=no
! 16551: hardcode_automatic_GCJ=yes
! 16552: hardcode_shlibpath_var_GCJ=unsupported
! 16553: whole_archive_flag_spec_GCJ=''
! 16554: link_all_deplibs_GCJ=yes
! 16555: if test "$GCC" = yes ; then
! 16556: output_verbose_link_cmd='echo'
! 16557: archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
! 16558: module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 16559: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 16560: archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 16561: 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}'
! 16562: else
! 16563: case $cc_basename in
! 16564: xlc*)
! 16565: output_verbose_link_cmd='echo'
! 16566: archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
! 16567: module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
! 16568: # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
! 16569: 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 16570: 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}'
! 16571: ;;
! 16572: *)
! 16573: ld_shlibs_GCJ=no
! 16574: ;;
! 16575: esac
! 16576: fi
! 16577: ;;
! 16578:
! 16579: dgux*)
! 16580: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16581: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16582: hardcode_shlibpath_var_GCJ=no
! 16583: ;;
! 16584:
! 16585: freebsd1*)
! 16586: ld_shlibs_GCJ=no
! 16587: ;;
! 16588:
! 16589: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 16590: # support. Future versions do this automatically, but an explicit c++rt0.o
! 16591: # does not break anything, and helps significantly (at the cost of a little
! 16592: # extra space).
! 16593: freebsd2.2*)
! 16594: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 16595: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 16596: hardcode_direct_GCJ=yes
! 16597: hardcode_shlibpath_var_GCJ=no
! 16598: ;;
! 16599:
! 16600: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 16601: freebsd2*)
! 16602: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 16603: hardcode_direct_GCJ=yes
! 16604: hardcode_minus_L_GCJ=yes
! 16605: hardcode_shlibpath_var_GCJ=no
! 16606: ;;
! 16607:
! 16608: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 16609: freebsd* | kfreebsd*-gnu | dragonfly*)
! 16610: archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 16611: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 16612: hardcode_direct_GCJ=yes
! 16613: hardcode_shlibpath_var_GCJ=no
! 16614: ;;
! 16615:
! 16616: hpux9*)
! 16617: if test "$GCC" = yes; then
! 16618: 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'
! 16619: else
! 16620: 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'
! 16621: fi
! 16622: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 16623: hardcode_libdir_separator_GCJ=:
! 16624: hardcode_direct_GCJ=yes
! 16625:
! 16626: # hardcode_minus_L: Not really in the search PATH,
! 16627: # but as the default location of the library.
! 16628: hardcode_minus_L_GCJ=yes
! 16629: export_dynamic_flag_spec_GCJ='${wl}-E'
! 16630: ;;
! 16631:
! 16632: hpux10*)
! 16633: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 16634: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 16635: else
! 16636: archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 16637: fi
! 16638: if test "$with_gnu_ld" = no; then
! 16639: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 16640: hardcode_libdir_separator_GCJ=:
! 16641:
! 16642: hardcode_direct_GCJ=yes
! 16643: export_dynamic_flag_spec_GCJ='${wl}-E'
! 16644:
! 16645: # hardcode_minus_L: Not really in the search PATH,
! 16646: # but as the default location of the library.
! 16647: hardcode_minus_L_GCJ=yes
! 16648: fi
! 16649: ;;
! 16650:
! 16651: hpux11*)
! 16652: if test "$GCC" = yes -a "$with_gnu_ld" = no; then
! 16653: case $host_cpu in
! 16654: hppa*64*)
! 16655: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16656: ;;
! 16657: ia64*)
! 16658: archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 16659: ;;
! 16660: *)
! 16661: archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 16662: ;;
! 16663: esac
! 16664: else
! 16665: case $host_cpu in
! 16666: hppa*64*)
! 16667: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16668: ;;
! 16669: ia64*)
! 16670: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 16671: ;;
! 16672: *)
! 16673: archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 16674: ;;
! 16675: esac
! 16676: fi
! 16677: if test "$with_gnu_ld" = no; then
! 16678: hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
! 16679: hardcode_libdir_separator_GCJ=:
! 16680:
! 16681: case $host_cpu in
! 16682: hppa*64*|ia64*)
! 16683: hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
! 16684: hardcode_direct_GCJ=no
! 16685: hardcode_shlibpath_var_GCJ=no
! 16686: ;;
! 16687: *)
! 16688: hardcode_direct_GCJ=yes
! 16689: export_dynamic_flag_spec_GCJ='${wl}-E'
! 16690:
! 16691: # hardcode_minus_L: Not really in the search PATH,
! 16692: # but as the default location of the library.
! 16693: hardcode_minus_L_GCJ=yes
! 16694: ;;
! 16695: esac
! 16696: fi
! 16697: ;;
! 16698:
! 16699: irix5* | irix6* | nonstopux*)
! 16700: if test "$GCC" = yes; then
! 16701: 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'
! 16702: else
! 16703: 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'
! 16704: hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
! 16705: fi
! 16706: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 16707: hardcode_libdir_separator_GCJ=:
! 16708: link_all_deplibs_GCJ=yes
! 16709: ;;
! 16710:
! 16711: netbsd*)
! 16712: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 16713: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 16714: else
! 16715: archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 16716: fi
! 16717: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 16718: hardcode_direct_GCJ=yes
! 16719: hardcode_shlibpath_var_GCJ=no
! 16720: ;;
! 16721:
! 16722: newsos6)
! 16723: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16724: hardcode_direct_GCJ=yes
! 16725: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 16726: hardcode_libdir_separator_GCJ=:
! 16727: hardcode_shlibpath_var_GCJ=no
! 16728: ;;
! 16729:
! 16730: openbsd*)
! 16731: hardcode_direct_GCJ=yes
! 16732: hardcode_shlibpath_var_GCJ=no
! 16733: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 16734: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 16735: archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 16736: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 16737: export_dynamic_flag_spec_GCJ='${wl}-E'
! 16738: else
! 16739: case $host_os in
! 16740: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 16741: archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 16742: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 16743: ;;
! 16744: *)
! 16745: archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 16746: hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 16747: ;;
! 16748: esac
! 16749: fi
! 16750: ;;
! 16751:
! 16752: os2*)
! 16753: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16754: hardcode_minus_L_GCJ=yes
! 16755: allow_undefined_flag_GCJ=unsupported
! 16756: 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'
! 16757: old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 16758: ;;
! 16759:
! 16760: osf3*)
! 16761: if test "$GCC" = yes; then
! 16762: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 16763: 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'
! 16764: else
! 16765: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 16766: 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'
! 16767: fi
! 16768: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 16769: hardcode_libdir_separator_GCJ=:
! 16770: ;;
! 16771:
! 16772: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 16773: if test "$GCC" = yes; then
! 16774: allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
! 16775: 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'
! 16776: hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
! 16777: else
! 16778: allow_undefined_flag_GCJ=' -expect_unresolved \*'
! 16779: 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'
! 16780: 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~
! 16781: $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'
! 16782:
! 16783: # Both c and cxx compiler support -rpath directly
! 16784: hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
! 16785: fi
! 16786: hardcode_libdir_separator_GCJ=:
! 16787: ;;
! 16788:
! 16789: solaris*)
! 16790: no_undefined_flag_GCJ=' -z text'
! 16791: if test "$GCC" = yes; then
! 16792: wlarc='${wl}'
! 16793: archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16794: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 16795: $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
! 16796: else
! 16797: wlarc=''
! 16798: archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16799: archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 16800: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 16801: fi
! 16802: hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 16803: hardcode_shlibpath_var_GCJ=no
! 16804: case $host_os in
! 16805: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 16806: *)
! 16807: # The compiler driver will combine linker options so we
! 16808: # cannot just pass the convience library names through
! 16809: # without $wl, iff we do not link with $LD.
! 16810: # Luckily, gcc supports the same syntax we need for Sun Studio.
! 16811: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 16812: case $wlarc in
! 16813: '')
! 16814: whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
! 16815: *)
! 16816: whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
! 16817: esac ;;
! 16818: esac
! 16819: link_all_deplibs_GCJ=yes
! 16820: ;;
! 16821:
! 16822: sunos4*)
! 16823: if test "x$host_vendor" = xsequent; then
! 16824: # Use $CC to link under sequent, because it throws in some extra .o
! 16825: # files that make .init and .fini sections work.
! 16826: archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 16827: else
! 16828: archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 16829: fi
! 16830: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16831: hardcode_direct_GCJ=yes
! 16832: hardcode_minus_L_GCJ=yes
! 16833: hardcode_shlibpath_var_GCJ=no
! 16834: ;;
! 16835:
! 16836: sysv4)
! 16837: case $host_vendor in
! 16838: sni)
! 16839: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16840: hardcode_direct_GCJ=yes # is this really true???
! 16841: ;;
! 16842: siemens)
! 16843: ## LD is ld it makes a PLAMLIB
! 16844: ## CC just makes a GrossModule.
! 16845: archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 16846: reload_cmds_GCJ='$CC -r -o $output$reload_objs'
! 16847: hardcode_direct_GCJ=no
! 16848: ;;
! 16849: motorola)
! 16850: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16851: hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
! 16852: ;;
! 16853: esac
! 16854: runpath_var='LD_RUN_PATH'
! 16855: hardcode_shlibpath_var_GCJ=no
! 16856: ;;
! 16857:
! 16858: sysv4.3*)
! 16859: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16860: hardcode_shlibpath_var_GCJ=no
! 16861: export_dynamic_flag_spec_GCJ='-Bexport'
! 16862: ;;
! 16863:
! 16864: sysv4*MP*)
! 16865: if test -d /usr/nec; then
! 16866: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16867: hardcode_shlibpath_var_GCJ=no
! 16868: runpath_var=LD_RUN_PATH
! 16869: hardcode_runpath_var=yes
! 16870: ld_shlibs_GCJ=yes
! 16871: fi
! 16872: ;;
! 16873:
! 16874: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
! 16875: no_undefined_flag_GCJ='${wl}-z,text'
! 16876: archive_cmds_need_lc_GCJ=no
! 16877: hardcode_shlibpath_var_GCJ=no
! 16878: runpath_var='LD_RUN_PATH'
! 16879:
! 16880: if test "$GCC" = yes; then
! 16881: archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16882: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16883: else
! 16884: archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16885: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16886: fi
! 16887: ;;
! 16888:
! 16889: sysv5* | sco3.2v5* | sco5v6*)
! 16890: # Note: We can NOT use -z defs as we might desire, because we do not
! 16891: # link with -lc, and that would cause any symbols used from libc to
! 16892: # always be unresolved, which means just about no library would
! 16893: # ever link correctly. If we're not using GNU ld we use -z text
! 16894: # though, which does catch some bad symbols but isn't as heavy-handed
! 16895: # as -z defs.
! 16896: no_undefined_flag_GCJ='${wl}-z,text'
! 16897: allow_undefined_flag_GCJ='${wl}-z,nodefs'
! 16898: archive_cmds_need_lc_GCJ=no
! 16899: hardcode_shlibpath_var_GCJ=no
! 16900: hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
! 16901: hardcode_libdir_separator_GCJ=':'
! 16902: link_all_deplibs_GCJ=yes
! 16903: export_dynamic_flag_spec_GCJ='${wl}-Bexport'
! 16904: runpath_var='LD_RUN_PATH'
! 16905:
! 16906: if test "$GCC" = yes; then
! 16907: archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16908: archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16909: else
! 16910: archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16911: archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 16912: fi
! 16913: ;;
! 16914:
! 16915: uts4*)
! 16916: archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 16917: hardcode_libdir_flag_spec_GCJ='-L$libdir'
! 16918: hardcode_shlibpath_var_GCJ=no
! 16919: ;;
! 16920:
! 16921: *)
! 16922: ld_shlibs_GCJ=no
! 16923: ;;
! 16924: esac
! 16925: fi
! 16926:
! 16927: echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
! 16928: echo "${ECHO_T}$ld_shlibs_GCJ" >&6
! 16929: test "$ld_shlibs_GCJ" = no && can_build_shared=no
! 16930:
! 16931: #
! 16932: # Do we need to explicitly link libc?
! 16933: #
! 16934: case "x$archive_cmds_need_lc_GCJ" in
! 16935: x|xyes)
! 16936: # Assume -lc should be added
! 16937: archive_cmds_need_lc_GCJ=yes
! 16938:
! 16939: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 16940: case $archive_cmds_GCJ in
! 16941: *'~'*)
! 16942: # FIXME: we may have to deal with multi-command sequences.
! 16943: ;;
! 16944: '$CC '*)
! 16945: # Test whether the compiler implicitly links with -lc since on some
! 16946: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 16947: # to ld, don't add -lc before -lgcc.
! 16948: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 16949: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 16950: $rm conftest*
! 16951: printf "$lt_simple_compile_test_code" > conftest.$ac_ext
! 16952:
! 16953: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 16954: (eval $ac_compile) 2>&5
! 16955: ac_status=$?
! 16956: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16957: (exit $ac_status); } 2>conftest.err; then
! 16958: soname=conftest
! 16959: lib=conftest
! 16960: libobjs=conftest.$ac_objext
! 16961: deplibs=
! 16962: wl=$lt_prog_compiler_wl_GCJ
! 16963: pic_flag=$lt_prog_compiler_pic_GCJ
! 16964: compiler_flags=-v
! 16965: linker_flags=-v
! 16966: verstring=
! 16967: output_objdir=.
! 16968: libname=conftest
! 16969: lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
! 16970: allow_undefined_flag_GCJ=
! 16971: if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 16972: (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 16973: ac_status=$?
! 16974: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 16975: (exit $ac_status); }
! 16976: then
! 16977: archive_cmds_need_lc_GCJ=no
! 16978: else
! 16979: archive_cmds_need_lc_GCJ=yes
! 16980: fi
! 16981: allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
! 16982: else
! 16983: cat conftest.err 1>&5
! 16984: fi
! 16985: $rm conftest*
! 16986: echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
! 16987: echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
! 16988: ;;
! 16989: esac
! 16990: fi
! 16991: ;;
! 16992: esac
! 16993:
! 16994: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 16995: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 16996: library_names_spec=
! 16997: libname_spec='lib$name'
! 16998: soname_spec=
! 16999: shrext_cmds=".so"
! 17000: postinstall_cmds=
! 17001: postuninstall_cmds=
! 17002: finish_cmds=
! 17003: finish_eval=
! 17004: shlibpath_var=
! 17005: shlibpath_overrides_runpath=unknown
! 17006: version_type=none
! 17007: dynamic_linker="$host_os ld.so"
! 17008: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 17009: if test "$GCC" = yes; then
! 17010: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 17011: if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
! 17012: # if the path contains ";" then we assume it to be the separator
! 17013: # otherwise default to the standard path separator (i.e. ":") - it is
! 17014: # assumed that no part of a normal pathname contains ";" but that should
! 17015: # okay in the real world where ";" in dirpaths is itself problematic.
! 17016: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 17017: else
! 17018: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 17019: fi
! 17020: else
! 17021: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 17022: fi
! 17023: need_lib_prefix=unknown
! 17024: hardcode_into_libs=no
! 17025:
! 17026: # when you set need_version to no, make sure it does not cause -set_version
! 17027: # flags to be left without arguments
! 17028: need_version=unknown
! 17029:
! 17030: case $host_os in
! 17031: aix3*)
! 17032: version_type=linux
! 17033: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 17034: shlibpath_var=LIBPATH
! 17035:
! 17036: # AIX 3 has no versioning support, so we append a major version to the name.
! 17037: soname_spec='${libname}${release}${shared_ext}$major'
! 17038: ;;
! 17039:
! 17040: aix4* | aix5*)
! 17041: version_type=linux
! 17042: need_lib_prefix=no
! 17043: need_version=no
! 17044: hardcode_into_libs=yes
! 17045: if test "$host_cpu" = ia64; then
! 17046: # AIX 5 supports IA64
! 17047: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 17048: shlibpath_var=LD_LIBRARY_PATH
! 17049: else
! 17050: # With GCC up to 2.95.x, collect2 would create an import file
! 17051: # for dependence libraries. The import file would start with
! 17052: # the line `#! .'. This would cause the generated library to
! 17053: # depend on `.', always an invalid library. This was fixed in
! 17054: # development snapshots of GCC prior to 3.0.
! 17055: case $host_os in
! 17056: aix4 | aix4.[01] | aix4.[01].*)
! 17057: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 17058: echo ' yes '
! 17059: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 17060: :
! 17061: else
! 17062: can_build_shared=no
! 17063: fi
! 17064: ;;
! 17065: esac
! 17066: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 17067: # soname into executable. Probably we can add versioning support to
! 17068: # collect2, so additional links can be useful in future.
! 17069: if test "$aix_use_runtimelinking" = yes; then
! 17070: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 17071: # instead of lib<name>.a to let people know that these are not
! 17072: # typical AIX shared libraries.
! 17073: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17074: else
! 17075: # We preserve .a as extension for shared libraries through AIX4.2
! 17076: # and later when we are not doing run time linking.
! 17077: library_names_spec='${libname}${release}.a $libname.a'
! 17078: soname_spec='${libname}${release}${shared_ext}$major'
! 17079: fi
! 17080: shlibpath_var=LIBPATH
! 17081: fi
! 17082: ;;
! 17083:
! 17084: amigaos*)
! 17085: library_names_spec='$libname.ixlibrary $libname.a'
! 17086: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 17087: 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'
! 17088: ;;
! 17089:
! 17090: beos*)
! 17091: library_names_spec='${libname}${shared_ext}'
! 17092: dynamic_linker="$host_os ld.so"
! 17093: shlibpath_var=LIBRARY_PATH
! 17094: ;;
! 17095:
! 17096: bsdi[45]*)
! 17097: version_type=linux
! 17098: need_version=no
! 17099: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17100: soname_spec='${libname}${release}${shared_ext}$major'
! 17101: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 17102: shlibpath_var=LD_LIBRARY_PATH
! 17103: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 17104: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 17105: # the default ld.so.conf also contains /usr/contrib/lib and
! 17106: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 17107: # libtool to hard-code these into programs
! 17108: ;;
! 17109:
! 17110: cygwin* | mingw* | pw32*)
! 17111: version_type=windows
! 17112: shrext_cmds=".dll"
! 17113: need_version=no
! 17114: need_lib_prefix=no
! 17115:
! 17116: case $GCC,$host_os in
! 17117: yes,cygwin* | yes,mingw* | yes,pw32*)
! 17118: library_names_spec='$libname.dll.a'
! 17119: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 17120: postinstall_cmds='base_file=`basename \${file}`~
! 17121: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
! 17122: dldir=$destdir/`dirname \$dlpath`~
! 17123: test -d \$dldir || mkdir -p \$dldir~
! 17124: $install_prog $dir/$dlname \$dldir/$dlname~
! 17125: chmod a+x \$dldir/$dlname'
! 17126: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 17127: dlpath=$dir/\$dldll~
! 17128: $rm \$dlpath'
! 17129: shlibpath_overrides_runpath=yes
! 17130:
! 17131: case $host_os in
! 17132: cygwin*)
! 17133: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 17134: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 17135: sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
! 17136: ;;
! 17137: mingw*)
! 17138: # MinGW DLLs use traditional 'lib' prefix
! 17139: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 17140: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
! 17141: if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
! 17142: # It is most probably a Windows format PATH printed by
! 17143: # mingw gcc, but we are running on Cygwin. Gcc prints its search
! 17144: # path with ; separators, and with drive letters. We can handle the
! 17145: # drive letters (cygwin fileutils understands them), so leave them,
! 17146: # especially as we might pass files found there to a mingw objdump,
! 17147: # which wouldn't understand a cygwinified path. Ahh.
! 17148: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 17149: else
! 17150: sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 17151: fi
! 17152: ;;
! 17153: pw32*)
! 17154: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 17155: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 17156: ;;
! 17157: esac
! 17158: ;;
! 17159:
! 17160: *)
! 17161: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 17162: ;;
! 17163: esac
! 17164: dynamic_linker='Win32 ld.exe'
! 17165: # FIXME: first we should search . and the directory the executable is in
! 17166: shlibpath_var=PATH
! 17167: ;;
! 17168:
! 17169: darwin* | rhapsody*)
! 17170: dynamic_linker="$host_os dyld"
! 17171: version_type=darwin
! 17172: need_lib_prefix=no
! 17173: need_version=no
! 17174: library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 17175: soname_spec='${libname}${release}${major}$shared_ext'
! 17176: shlibpath_overrides_runpath=yes
! 17177: shlibpath_var=DYLD_LIBRARY_PATH
! 17178: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 17179: # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
! 17180: if test "$GCC" = yes; then
! 17181: sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
! 17182: else
! 17183: sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
! 17184: fi
! 17185: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 17186: ;;
! 17187:
! 17188: dgux*)
! 17189: version_type=linux
! 17190: need_lib_prefix=no
! 17191: need_version=no
! 17192: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 17193: soname_spec='${libname}${release}${shared_ext}$major'
! 17194: shlibpath_var=LD_LIBRARY_PATH
! 17195: ;;
! 17196:
! 17197: freebsd1*)
! 17198: dynamic_linker=no
! 17199: ;;
! 17200:
! 17201: kfreebsd*-gnu)
! 17202: version_type=linux
! 17203: need_lib_prefix=no
! 17204: need_version=no
! 17205: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 17206: soname_spec='${libname}${release}${shared_ext}$major'
! 17207: shlibpath_var=LD_LIBRARY_PATH
! 17208: shlibpath_overrides_runpath=no
! 17209: hardcode_into_libs=yes
! 17210: dynamic_linker='GNU ld.so'
! 17211: ;;
! 17212:
! 17213: freebsd* | dragonfly*)
! 17214: # DragonFly does not have aout. When/if they implement a new
! 17215: # versioning mechanism, adjust this.
! 17216: if test -x /usr/bin/objformat; then
! 17217: objformat=`/usr/bin/objformat`
! 17218: else
! 17219: case $host_os in
! 17220: freebsd[123]*) objformat=aout ;;
! 17221: *) objformat=elf ;;
! 17222: esac
! 17223: fi
! 17224: version_type=freebsd-$objformat
! 17225: case $version_type in
! 17226: freebsd-elf*)
! 17227: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 17228: need_version=no
! 17229: need_lib_prefix=no
! 17230: ;;
! 17231: freebsd-*)
! 17232: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 17233: need_version=yes
! 17234: ;;
! 17235: esac
! 17236: shlibpath_var=LD_LIBRARY_PATH
! 17237: case $host_os in
! 17238: freebsd2*)
! 17239: shlibpath_overrides_runpath=yes
! 17240: ;;
! 17241: freebsd3.[01]* | freebsdelf3.[01]*)
! 17242: shlibpath_overrides_runpath=yes
! 17243: hardcode_into_libs=yes
! 17244: ;;
! 17245: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 17246: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 17247: shlibpath_overrides_runpath=no
! 17248: hardcode_into_libs=yes
! 17249: ;;
! 17250: freebsd*) # from 4.6 on
! 17251: shlibpath_overrides_runpath=yes
! 17252: hardcode_into_libs=yes
! 17253: ;;
! 17254: esac
! 17255: ;;
! 17256:
! 17257: gnu*)
! 17258: version_type=linux
! 17259: need_lib_prefix=no
! 17260: need_version=no
! 17261: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 17262: soname_spec='${libname}${release}${shared_ext}$major'
! 17263: shlibpath_var=LD_LIBRARY_PATH
! 17264: hardcode_into_libs=yes
! 17265: ;;
! 17266:
! 17267: hpux9* | hpux10* | hpux11*)
! 17268: # Give a soname corresponding to the major version so that dld.sl refuses to
! 17269: # link against other versions.
! 17270: version_type=sunos
! 17271: need_lib_prefix=no
! 17272: need_version=no
! 17273: case $host_cpu in
! 17274: ia64*)
! 17275: shrext_cmds='.so'
! 17276: hardcode_into_libs=yes
! 17277: dynamic_linker="$host_os dld.so"
! 17278: shlibpath_var=LD_LIBRARY_PATH
! 17279: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 17280: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17281: soname_spec='${libname}${release}${shared_ext}$major'
! 17282: if test "X$HPUX_IA64_MODE" = X32; then
! 17283: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 17284: else
! 17285: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 17286: fi
! 17287: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 17288: ;;
! 17289: hppa*64*)
! 17290: shrext_cmds='.sl'
! 17291: hardcode_into_libs=yes
! 17292: dynamic_linker="$host_os dld.sl"
! 17293: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 17294: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 17295: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17296: soname_spec='${libname}${release}${shared_ext}$major'
! 17297: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 17298: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 17299: ;;
! 17300: *)
! 17301: shrext_cmds='.sl'
! 17302: dynamic_linker="$host_os dld.sl"
! 17303: shlibpath_var=SHLIB_PATH
! 17304: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 17305: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17306: soname_spec='${libname}${release}${shared_ext}$major'
! 17307: ;;
! 17308: esac
! 17309: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 17310: postinstall_cmds='chmod 555 $lib'
! 17311: ;;
! 17312:
! 17313: interix3*)
! 17314: version_type=linux
! 17315: need_lib_prefix=no
! 17316: need_version=no
! 17317: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 17318: soname_spec='${libname}${release}${shared_ext}$major'
! 17319: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 17320: shlibpath_var=LD_LIBRARY_PATH
! 17321: shlibpath_overrides_runpath=no
! 17322: hardcode_into_libs=yes
! 17323: ;;
! 17324:
! 17325: irix5* | irix6* | nonstopux*)
! 17326: case $host_os in
! 17327: nonstopux*) version_type=nonstopux ;;
! 17328: *)
! 17329: if test "$lt_cv_prog_gnu_ld" = yes; then
! 17330: version_type=linux
! 17331: else
! 17332: version_type=irix
! 17333: fi ;;
! 17334: esac
! 17335: need_lib_prefix=no
! 17336: need_version=no
! 17337: soname_spec='${libname}${release}${shared_ext}$major'
! 17338: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 17339: case $host_os in
! 17340: irix5* | nonstopux*)
! 17341: libsuff= shlibsuff=
! 17342: ;;
! 17343: *)
! 17344: case $LD in # libtool.m4 will add one of these switches to LD
! 17345: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 17346: libsuff= shlibsuff= libmagic=32-bit;;
! 17347: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 17348: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 17349: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 17350: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 17351: *) libsuff= shlibsuff= libmagic=never-match;;
! 17352: esac
! 17353: ;;
! 17354: esac
! 17355: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 17356: shlibpath_overrides_runpath=no
! 17357: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 17358: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 17359: hardcode_into_libs=yes
! 17360: ;;
! 17361:
! 17362: # No shared lib support for Linux oldld, aout, or coff.
! 17363: linux*oldld* | linux*aout* | linux*coff*)
! 17364: dynamic_linker=no
! 17365: ;;
! 17366:
! 17367: # This must be Linux ELF.
! 17368: linux*)
! 17369: version_type=linux
! 17370: need_lib_prefix=no
! 17371: need_version=no
! 17372: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17373: soname_spec='${libname}${release}${shared_ext}$major'
! 17374: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 17375: shlibpath_var=LD_LIBRARY_PATH
! 17376: shlibpath_overrides_runpath=no
! 17377: # This implies no fast_install, which is unacceptable.
! 17378: # Some rework will be needed to allow for fast_install
! 17379: # before this can be enabled.
! 17380: hardcode_into_libs=yes
! 17381:
! 17382: # find out which ABI we are using
! 17383: libsuff=
! 17384: case "$host_cpu" in
! 17385: x86_64*|s390x*|powerpc64*)
! 17386: echo '#line 17386 "configure"' > conftest.$ac_ext
! 17387: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 17388: (eval $ac_compile) 2>&5
! 17389: ac_status=$?
! 17390: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 17391: (exit $ac_status); }; then
! 17392: case `/usr/bin/file conftest.$ac_objext` in
! 17393: *64-bit*)
! 17394: libsuff=64
! 17395: sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
! 17396: ;;
! 17397: esac
! 17398: fi
! 17399: rm -rf conftest*
! 17400: ;;
! 17401: esac
! 17402:
! 17403: # Append ld.so.conf contents to the search path
! 17404: if test -f /etc/ld.so.conf; then
! 17405: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
! 17406: sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
! 17407: fi
! 17408:
! 17409: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 17410: # powerpc, because MkLinux only supported shared libraries with the
! 17411: # GNU dynamic linker. Since this was broken with cross compilers,
! 17412: # most powerpc-linux boxes support dynamic linking these days and
! 17413: # people can always --disable-shared, the test was removed, and we
! 17414: # assume the GNU/Linux dynamic linker is in use.
! 17415: dynamic_linker='GNU/Linux ld.so'
! 17416: ;;
! 17417:
! 17418: knetbsd*-gnu)
! 17419: version_type=linux
! 17420: need_lib_prefix=no
! 17421: need_version=no
! 17422: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 17423: soname_spec='${libname}${release}${shared_ext}$major'
! 17424: shlibpath_var=LD_LIBRARY_PATH
! 17425: shlibpath_overrides_runpath=no
! 17426: hardcode_into_libs=yes
! 17427: dynamic_linker='GNU ld.so'
! 17428: ;;
! 17429:
! 17430: netbsd*)
! 17431: version_type=sunos
! 17432: need_lib_prefix=no
! 17433: need_version=no
! 17434: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 17435: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 17436: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 17437: dynamic_linker='NetBSD (a.out) ld.so'
! 17438: else
! 17439: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 17440: soname_spec='${libname}${release}${shared_ext}$major'
! 17441: dynamic_linker='NetBSD ld.elf_so'
! 17442: fi
! 17443: shlibpath_var=LD_LIBRARY_PATH
! 17444: shlibpath_overrides_runpath=yes
! 17445: hardcode_into_libs=yes
! 17446: ;;
! 17447:
! 17448: newsos6)
! 17449: version_type=linux
! 17450: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17451: shlibpath_var=LD_LIBRARY_PATH
! 17452: shlibpath_overrides_runpath=yes
! 17453: ;;
! 17454:
! 17455: nto-qnx*)
! 17456: version_type=linux
! 17457: need_lib_prefix=no
! 17458: need_version=no
! 17459: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17460: soname_spec='${libname}${release}${shared_ext}$major'
! 17461: shlibpath_var=LD_LIBRARY_PATH
! 17462: shlibpath_overrides_runpath=yes
! 17463: ;;
! 17464:
! 17465: openbsd*)
! 17466: version_type=sunos
! 17467: sys_lib_dlsearch_path_spec="/usr/lib"
! 17468: need_lib_prefix=no
! 17469: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 17470: case $host_os in
! 17471: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 17472: *) need_version=no ;;
! 17473: esac
! 17474: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 17475: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 17476: shlibpath_var=LD_LIBRARY_PATH
! 17477: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 17478: case $host_os in
! 17479: openbsd2.[89] | openbsd2.[89].*)
! 17480: shlibpath_overrides_runpath=no
! 17481: ;;
! 17482: *)
! 17483: shlibpath_overrides_runpath=yes
! 17484: ;;
! 17485: esac
! 17486: else
! 17487: shlibpath_overrides_runpath=yes
! 17488: fi
! 17489: ;;
! 17490:
! 17491: os2*)
! 17492: libname_spec='$name'
! 17493: shrext_cmds=".dll"
! 17494: need_lib_prefix=no
! 17495: library_names_spec='$libname${shared_ext} $libname.a'
! 17496: dynamic_linker='OS/2 ld.exe'
! 17497: shlibpath_var=LIBPATH
! 17498: ;;
! 17499:
! 17500: osf3* | osf4* | osf5*)
! 17501: version_type=osf
! 17502: need_lib_prefix=no
! 17503: need_version=no
! 17504: soname_spec='${libname}${release}${shared_ext}$major'
! 17505: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17506: shlibpath_var=LD_LIBRARY_PATH
! 17507: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 17508: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 17509: ;;
! 17510:
! 17511: solaris*)
! 17512: version_type=linux
! 17513: need_lib_prefix=no
! 17514: need_version=no
! 17515: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17516: soname_spec='${libname}${release}${shared_ext}$major'
! 17517: shlibpath_var=LD_LIBRARY_PATH
! 17518: shlibpath_overrides_runpath=yes
! 17519: hardcode_into_libs=yes
! 17520: # ldd complains unless libraries are executable
! 17521: postinstall_cmds='chmod +x $lib'
! 17522: ;;
! 17523:
! 17524: sunos4*)
! 17525: version_type=sunos
! 17526: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 17527: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 17528: shlibpath_var=LD_LIBRARY_PATH
! 17529: shlibpath_overrides_runpath=yes
! 17530: if test "$with_gnu_ld" = yes; then
! 17531: need_lib_prefix=no
! 17532: fi
! 17533: need_version=yes
! 17534: ;;
! 17535:
! 17536: sysv4 | sysv4.3*)
! 17537: version_type=linux
! 17538: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17539: soname_spec='${libname}${release}${shared_ext}$major'
! 17540: shlibpath_var=LD_LIBRARY_PATH
! 17541: case $host_vendor in
! 17542: sni)
! 17543: shlibpath_overrides_runpath=no
! 17544: need_lib_prefix=no
! 17545: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 17546: runpath_var=LD_RUN_PATH
! 17547: ;;
! 17548: siemens)
! 17549: need_lib_prefix=no
! 17550: ;;
! 17551: motorola)
! 17552: need_lib_prefix=no
! 17553: need_version=no
! 17554: shlibpath_overrides_runpath=no
! 17555: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 17556: ;;
! 17557: esac
! 17558: ;;
! 17559:
! 17560: sysv4*MP*)
! 17561: if test -d /usr/nec ;then
! 17562: version_type=linux
! 17563: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 17564: soname_spec='$libname${shared_ext}.$major'
! 17565: shlibpath_var=LD_LIBRARY_PATH
! 17566: fi
! 17567: ;;
! 17568:
! 17569: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 17570: version_type=freebsd-elf
! 17571: need_lib_prefix=no
! 17572: need_version=no
! 17573: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 17574: soname_spec='${libname}${release}${shared_ext}$major'
! 17575: shlibpath_var=LD_LIBRARY_PATH
! 17576: hardcode_into_libs=yes
! 17577: if test "$with_gnu_ld" = yes; then
! 17578: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 17579: shlibpath_overrides_runpath=no
! 17580: else
! 17581: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 17582: shlibpath_overrides_runpath=yes
! 17583: case $host_os in
! 17584: sco3.2v5*)
! 17585: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 17586: ;;
! 17587: esac
! 17588: fi
! 17589: sys_lib_dlsearch_path_spec='/usr/lib'
! 17590: ;;
! 17591:
! 17592: uts4*)
! 17593: version_type=linux
! 17594: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 17595: soname_spec='${libname}${release}${shared_ext}$major'
! 17596: shlibpath_var=LD_LIBRARY_PATH
! 17597: ;;
! 17598:
! 17599: *)
! 17600: dynamic_linker=no
! 17601: ;;
! 17602: esac
! 17603: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 17604: echo "${ECHO_T}$dynamic_linker" >&6
! 17605: test "$dynamic_linker" = no && can_build_shared=no
! 17606:
! 17607: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 17608: if test "$GCC" = yes; then
! 17609: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 17610: fi
! 17611:
! 17612: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 17613: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 17614: hardcode_action_GCJ=
! 17615: if test -n "$hardcode_libdir_flag_spec_GCJ" || \
! 17616: test -n "$runpath_var_GCJ" || \
! 17617: test "X$hardcode_automatic_GCJ" = "Xyes" ; then
! 17618:
! 17619: # We can hardcode non-existant directories.
! 17620: if test "$hardcode_direct_GCJ" != no &&
! 17621: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 17622: # have to relink, otherwise we might link with an installed library
! 17623: # when we should be linking with a yet-to-be-installed one
! 17624: ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
! 17625: test "$hardcode_minus_L_GCJ" != no; then
! 17626: # Linking always hardcodes the temporary library directory.
! 17627: hardcode_action_GCJ=relink
! 17628: else
! 17629: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 17630: hardcode_action_GCJ=immediate
! 17631: fi
! 17632: else
! 17633: # We cannot hardcode anything, or else we can only hardcode existing
! 17634: # directories.
! 17635: hardcode_action_GCJ=unsupported
! 17636: fi
! 17637: echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
! 17638: echo "${ECHO_T}$hardcode_action_GCJ" >&6
! 17639:
! 17640: if test "$hardcode_action_GCJ" = relink; then
! 17641: # Fast installation is not supported
! 17642: enable_fast_install=no
! 17643: elif test "$shlibpath_overrides_runpath" = yes ||
! 17644: test "$enable_shared" = no; then
! 17645: # Fast installation is not necessary
! 17646: enable_fast_install=needless
! 17647: fi
! 17648:
! 17649:
! 17650: # The else clause should only fire when bootstrapping the
! 17651: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 17652: # with your package, and you will get complaints that there are
! 17653: # no rules to generate ltmain.sh.
! 17654: if test -f "$ltmain"; then
! 17655: # See if we are running on zsh, and set the options which allow our commands through
! 17656: # without removal of \ escapes.
! 17657: if test -n "${ZSH_VERSION+set}" ; then
! 17658: setopt NO_GLOB_SUBST
! 17659: fi
! 17660: # Now quote all the things that may contain metacharacters while being
! 17661: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 17662: # variables and quote the copies for generation of the libtool script.
! 17663: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 17664: SED SHELL STRIP \
! 17665: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 17666: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 17667: deplibs_check_method reload_flag reload_cmds need_locks \
! 17668: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 17669: lt_cv_sys_global_symbol_to_c_name_address \
! 17670: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 17671: old_postinstall_cmds old_postuninstall_cmds \
! 17672: compiler_GCJ \
! 17673: CC_GCJ \
! 17674: LD_GCJ \
! 17675: lt_prog_compiler_wl_GCJ \
! 17676: lt_prog_compiler_pic_GCJ \
! 17677: lt_prog_compiler_static_GCJ \
! 17678: lt_prog_compiler_no_builtin_flag_GCJ \
! 17679: export_dynamic_flag_spec_GCJ \
! 17680: thread_safe_flag_spec_GCJ \
! 17681: whole_archive_flag_spec_GCJ \
! 17682: enable_shared_with_static_runtimes_GCJ \
! 17683: old_archive_cmds_GCJ \
! 17684: old_archive_from_new_cmds_GCJ \
! 17685: predep_objects_GCJ \
! 17686: postdep_objects_GCJ \
! 17687: predeps_GCJ \
! 17688: postdeps_GCJ \
! 17689: compiler_lib_search_path_GCJ \
! 17690: archive_cmds_GCJ \
! 17691: archive_expsym_cmds_GCJ \
! 17692: postinstall_cmds_GCJ \
! 17693: postuninstall_cmds_GCJ \
! 17694: old_archive_from_expsyms_cmds_GCJ \
! 17695: allow_undefined_flag_GCJ \
! 17696: no_undefined_flag_GCJ \
! 17697: export_symbols_cmds_GCJ \
! 17698: hardcode_libdir_flag_spec_GCJ \
! 17699: hardcode_libdir_flag_spec_ld_GCJ \
! 17700: hardcode_libdir_separator_GCJ \
! 17701: hardcode_automatic_GCJ \
! 17702: module_cmds_GCJ \
! 17703: module_expsym_cmds_GCJ \
! 17704: lt_cv_prog_compiler_c_o_GCJ \
! 17705: exclude_expsyms_GCJ \
! 17706: include_expsyms_GCJ; do
! 17707:
! 17708: case $var in
! 17709: old_archive_cmds_GCJ | \
! 17710: old_archive_from_new_cmds_GCJ | \
! 17711: archive_cmds_GCJ | \
! 17712: archive_expsym_cmds_GCJ | \
! 17713: module_cmds_GCJ | \
! 17714: module_expsym_cmds_GCJ | \
! 17715: old_archive_from_expsyms_cmds_GCJ | \
! 17716: export_symbols_cmds_GCJ | \
! 17717: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 17718: postinstall_cmds | postuninstall_cmds | \
! 17719: old_postinstall_cmds | old_postuninstall_cmds | \
! 17720: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 17721: # Double-quote double-evaled strings.
! 17722: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 17723: ;;
! 17724: *)
! 17725: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 17726: ;;
! 17727: esac
! 17728: done
! 17729:
! 17730: case $lt_echo in
! 17731: *'\$0 --fallback-echo"')
! 17732: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 17733: ;;
! 17734: esac
! 17735:
! 17736: cfgfile="$ofile"
! 17737:
! 17738: cat <<__EOF__ >> "$cfgfile"
! 17739: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 17740:
! 17741: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 17742:
! 17743: # Shell to use when invoking shell scripts.
! 17744: SHELL=$lt_SHELL
! 17745:
! 17746: # Whether or not to build shared libraries.
! 17747: build_libtool_libs=$enable_shared
! 17748:
! 17749: # Whether or not to build static libraries.
! 17750: build_old_libs=$enable_static
! 17751:
! 17752: # Whether or not to add -lc for building shared libraries.
! 17753: build_libtool_need_lc=$archive_cmds_need_lc_GCJ
! 17754:
! 17755: # Whether or not to disallow shared libs when runtime libs are static
! 17756: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
! 17757:
! 17758: # Whether or not to optimize for fast installation.
! 17759: fast_install=$enable_fast_install
! 17760:
! 17761: # The host system.
! 17762: host_alias=$host_alias
! 17763: host=$host
! 17764: host_os=$host_os
! 17765:
! 17766: # The build system.
! 17767: build_alias=$build_alias
! 17768: build=$build
! 17769: build_os=$build_os
! 17770:
! 17771: # An echo program that does not interpret backslashes.
! 17772: echo=$lt_echo
! 17773:
! 17774: # The archiver.
! 17775: AR=$lt_AR
! 17776: AR_FLAGS=$lt_AR_FLAGS
! 17777:
! 17778: # A C compiler.
! 17779: LTCC=$lt_LTCC
! 17780:
! 17781: # LTCC compiler flags.
! 17782: LTCFLAGS=$lt_LTCFLAGS
! 17783:
! 17784: # A language-specific compiler.
! 17785: CC=$lt_compiler_GCJ
! 17786:
! 17787: # Is the compiler the GNU C compiler?
! 17788: with_gcc=$GCC_GCJ
! 17789:
! 17790: # An ERE matcher.
! 17791: EGREP=$lt_EGREP
! 17792:
! 17793: # The linker used to build libraries.
! 17794: LD=$lt_LD_GCJ
! 17795:
! 17796: # Whether we need hard or soft links.
! 17797: LN_S=$lt_LN_S
! 17798:
! 17799: # A BSD-compatible nm program.
! 17800: NM=$lt_NM
! 17801:
! 17802: # A symbol stripping program
! 17803: STRIP=$lt_STRIP
! 17804:
! 17805: # Used to examine libraries when file_magic_cmd begins "file"
! 17806: MAGIC_CMD=$MAGIC_CMD
! 17807:
! 17808: # Used on cygwin: DLL creation program.
! 17809: DLLTOOL="$DLLTOOL"
! 17810:
! 17811: # Used on cygwin: object dumper.
! 17812: OBJDUMP="$OBJDUMP"
! 17813:
! 17814: # Used on cygwin: assembler.
! 17815: AS="$AS"
! 17816:
! 17817: # The name of the directory that contains temporary libtool files.
! 17818: objdir=$objdir
! 17819:
! 17820: # How to create reloadable object files.
! 17821: reload_flag=$lt_reload_flag
! 17822: reload_cmds=$lt_reload_cmds
! 17823:
! 17824: # How to pass a linker flag through the compiler.
! 17825: wl=$lt_lt_prog_compiler_wl_GCJ
! 17826:
! 17827: # Object file suffix (normally "o").
! 17828: objext="$ac_objext"
! 17829:
! 17830: # Old archive suffix (normally "a").
! 17831: libext="$libext"
! 17832:
! 17833: # Shared library suffix (normally ".so").
! 17834: shrext_cmds='$shrext_cmds'
! 17835:
! 17836: # Executable file suffix (normally "").
! 17837: exeext="$exeext"
! 17838:
! 17839: # Additional compiler flags for building library objects.
! 17840: pic_flag=$lt_lt_prog_compiler_pic_GCJ
! 17841: pic_mode=$pic_mode
! 17842:
! 17843: # What is the maximum length of a command?
! 17844: max_cmd_len=$lt_cv_sys_max_cmd_len
! 17845:
! 17846: # Does compiler simultaneously support -c and -o options?
! 17847: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
! 17848:
! 17849: # Must we lock files when doing compilation?
! 17850: need_locks=$lt_need_locks
! 17851:
! 17852: # Do we need the lib prefix for modules?
! 17853: need_lib_prefix=$need_lib_prefix
! 17854:
! 17855: # Do we need a version for libraries?
! 17856: need_version=$need_version
! 17857:
! 17858: # Whether dlopen is supported.
! 17859: dlopen_support=$enable_dlopen
! 17860:
! 17861: # Whether dlopen of programs is supported.
! 17862: dlopen_self=$enable_dlopen_self
! 17863:
! 17864: # Whether dlopen of statically linked programs is supported.
! 17865: dlopen_self_static=$enable_dlopen_self_static
! 17866:
! 17867: # Compiler flag to prevent dynamic linking.
! 17868: link_static_flag=$lt_lt_prog_compiler_static_GCJ
! 17869:
! 17870: # Compiler flag to turn off builtin functions.
! 17871: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
! 17872:
! 17873: # Compiler flag to allow reflexive dlopens.
! 17874: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
! 17875:
! 17876: # Compiler flag to generate shared objects directly from archives.
! 17877: whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
! 17878:
! 17879: # Compiler flag to generate thread-safe objects.
! 17880: thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
! 17881:
! 17882: # Library versioning type.
! 17883: version_type=$version_type
! 17884:
! 17885: # Format of library name prefix.
! 17886: libname_spec=$lt_libname_spec
! 17887:
! 17888: # List of archive names. First name is the real one, the rest are links.
! 17889: # The last name is the one that the linker finds with -lNAME.
! 17890: library_names_spec=$lt_library_names_spec
! 17891:
! 17892: # The coded name of the library, if different from the real name.
! 17893: soname_spec=$lt_soname_spec
! 17894:
! 17895: # Commands used to build and install an old-style archive.
! 17896: RANLIB=$lt_RANLIB
! 17897: old_archive_cmds=$lt_old_archive_cmds_GCJ
! 17898: old_postinstall_cmds=$lt_old_postinstall_cmds
! 17899: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 17900:
! 17901: # Create an old-style archive from a shared archive.
! 17902: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
! 17903:
! 17904: # Create a temporary old-style archive to link instead of a shared archive.
! 17905: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
! 17906:
! 17907: # Commands used to build and install a shared archive.
! 17908: archive_cmds=$lt_archive_cmds_GCJ
! 17909: archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
! 17910: postinstall_cmds=$lt_postinstall_cmds
! 17911: postuninstall_cmds=$lt_postuninstall_cmds
! 17912:
! 17913: # Commands used to build a loadable module (assumed same as above if empty)
! 17914: module_cmds=$lt_module_cmds_GCJ
! 17915: module_expsym_cmds=$lt_module_expsym_cmds_GCJ
! 17916:
! 17917: # Commands to strip libraries.
! 17918: old_striplib=$lt_old_striplib
! 17919: striplib=$lt_striplib
! 17920:
! 17921: # Dependencies to place before the objects being linked to create a
! 17922: # shared library.
! 17923: predep_objects=$lt_predep_objects_GCJ
! 17924:
! 17925: # Dependencies to place after the objects being linked to create a
! 17926: # shared library.
! 17927: postdep_objects=$lt_postdep_objects_GCJ
! 17928:
! 17929: # Dependencies to place before the objects being linked to create a
! 17930: # shared library.
! 17931: predeps=$lt_predeps_GCJ
! 17932:
! 17933: # Dependencies to place after the objects being linked to create a
! 17934: # shared library.
! 17935: postdeps=$lt_postdeps_GCJ
! 17936:
! 17937: # The library search path used internally by the compiler when linking
! 17938: # a shared library.
! 17939: compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
! 17940:
! 17941: # Method to check whether dependent libraries are shared objects.
! 17942: deplibs_check_method=$lt_deplibs_check_method
! 17943:
! 17944: # Command to use when deplibs_check_method == file_magic.
! 17945: file_magic_cmd=$lt_file_magic_cmd
! 17946:
! 17947: # Flag that allows shared libraries with undefined symbols to be built.
! 17948: allow_undefined_flag=$lt_allow_undefined_flag_GCJ
! 17949:
! 17950: # Flag that forces no undefined symbols.
! 17951: no_undefined_flag=$lt_no_undefined_flag_GCJ
! 17952:
! 17953: # Commands used to finish a libtool library installation in a directory.
! 17954: finish_cmds=$lt_finish_cmds
! 17955:
! 17956: # Same as above, but a single script fragment to be evaled but not shown.
! 17957: finish_eval=$lt_finish_eval
! 17958:
! 17959: # Take the output of nm and produce a listing of raw symbols and C names.
! 17960: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 17961:
! 17962: # Transform the output of nm in a proper C declaration
! 17963: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 17964:
! 17965: # Transform the output of nm in a C name address pair
! 17966: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 17967:
! 17968: # This is the shared library runtime path variable.
! 17969: runpath_var=$runpath_var
! 17970:
! 17971: # This is the shared library path variable.
! 17972: shlibpath_var=$shlibpath_var
! 17973:
! 17974: # Is shlibpath searched before the hard-coded library search path?
! 17975: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 17976:
! 17977: # How to hardcode a shared library path into an executable.
! 17978: hardcode_action=$hardcode_action_GCJ
! 17979:
! 17980: # Whether we should hardcode library paths into libraries.
! 17981: hardcode_into_libs=$hardcode_into_libs
! 17982:
! 17983: # Flag to hardcode \$libdir into a binary during linking.
! 17984: # This must work even if \$libdir does not exist.
! 17985: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
! 17986:
! 17987: # If ld is used when linking, flag to hardcode \$libdir into
! 17988: # a binary during linking. This must work even if \$libdir does
! 17989: # not exist.
! 17990: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
! 17991:
! 17992: # Whether we need a single -rpath flag with a separated argument.
! 17993: hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
! 17994:
! 17995: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 17996: # resulting binary.
! 17997: hardcode_direct=$hardcode_direct_GCJ
! 17998:
! 17999: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 18000: # resulting binary.
! 18001: hardcode_minus_L=$hardcode_minus_L_GCJ
! 18002:
! 18003: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 18004: # the resulting binary.
! 18005: hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
! 18006:
! 18007: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 18008: # and all subsequent libraries and executables linked against it.
! 18009: hardcode_automatic=$hardcode_automatic_GCJ
! 18010:
! 18011: # Variables whose values should be saved in libtool wrapper scripts and
! 18012: # restored at relink time.
! 18013: variables_saved_for_relink="$variables_saved_for_relink"
! 18014:
! 18015: # Whether libtool must link a program against all its dependency libraries.
! 18016: link_all_deplibs=$link_all_deplibs_GCJ
! 18017:
! 18018: # Compile-time system search path for libraries
! 18019: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 18020:
! 18021: # Run-time system search path for libraries
! 18022: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 18023:
! 18024: # Fix the shell variable \$srcfile for the compiler.
! 18025: fix_srcfile_path="$fix_srcfile_path_GCJ"
! 18026:
! 18027: # Set to yes if exported symbols are required.
! 18028: always_export_symbols=$always_export_symbols_GCJ
! 18029:
! 18030: # The commands to list exported symbols.
! 18031: export_symbols_cmds=$lt_export_symbols_cmds_GCJ
! 18032:
! 18033: # The commands to extract the exported symbol list from a shared archive.
! 18034: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 18035:
! 18036: # Symbols that should not be listed in the preloaded symbols.
! 18037: exclude_expsyms=$lt_exclude_expsyms_GCJ
! 18038:
! 18039: # Symbols that must always be exported.
! 18040: include_expsyms=$lt_include_expsyms_GCJ
! 18041:
! 18042: # ### END LIBTOOL TAG CONFIG: $tagname
! 18043:
! 18044: __EOF__
! 18045:
! 18046:
! 18047: else
! 18048: # If there is no Makefile yet, we rely on a make rule to execute
! 18049: # `config.status --recheck' to rerun these tests and create the
! 18050: # libtool script then.
! 18051: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 18052: if test -f "$ltmain_in"; then
! 18053: test -f Makefile && make "$ltmain"
! 18054: fi
! 18055: fi
! 18056:
! 18057:
! 18058: ac_ext=c
! 18059: ac_cpp='$CPP $CPPFLAGS'
! 18060: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 18061: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 18062: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 18063:
! 18064: CC="$lt_save_CC"
! 18065:
! 18066: else
! 18067: tagname=""
! 18068: fi
! 18069: ;;
! 18070:
! 18071: RC)
! 18072:
! 18073:
! 18074:
! 18075: # Source file extension for RC test sources.
! 18076: ac_ext=rc
! 18077:
! 18078: # Object file extension for compiled RC test sources.
! 18079: objext=o
! 18080: objext_RC=$objext
! 18081:
! 18082: # Code to be used in simple compile tests
! 18083: lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
! 18084:
! 18085: # Code to be used in simple link tests
! 18086: lt_simple_link_test_code="$lt_simple_compile_test_code"
! 18087:
! 18088: # ltmain only uses $CC for tagged configurations so make sure $CC is set.
! 18089:
! 18090: # If no C compiler was specified, use CC.
! 18091: LTCC=${LTCC-"$CC"}
! 18092:
! 18093: # If no C compiler flags were specified, use CFLAGS.
! 18094: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 18095:
! 18096: # Allow CC to be a program name with arguments.
! 18097: compiler=$CC
! 18098:
! 18099:
! 18100: # save warnings/boilerplate of simple test code
! 18101: ac_outfile=conftest.$ac_objext
! 18102: printf "$lt_simple_compile_test_code" >conftest.$ac_ext
! 18103: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 18104: _lt_compiler_boilerplate=`cat conftest.err`
! 18105: $rm conftest*
! 18106:
! 18107: ac_outfile=conftest.$ac_objext
! 18108: printf "$lt_simple_link_test_code" >conftest.$ac_ext
! 18109: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 18110: _lt_linker_boilerplate=`cat conftest.err`
! 18111: $rm conftest*
! 18112:
! 18113:
! 18114: # Allow CC to be a program name with arguments.
! 18115: lt_save_CC="$CC"
! 18116: CC=${RC-"windres"}
! 18117: compiler=$CC
! 18118: compiler_RC=$CC
! 18119: for cc_temp in $compiler""; do
! 18120: case $cc_temp in
! 18121: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 18122: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 18123: \-*) ;;
! 18124: *) break;;
! 18125: esac
! 18126: done
! 18127: cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
! 18128:
! 18129: lt_cv_prog_compiler_c_o_RC=yes
! 18130:
! 18131: # The else clause should only fire when bootstrapping the
! 18132: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 18133: # with your package, and you will get complaints that there are
! 18134: # no rules to generate ltmain.sh.
! 18135: if test -f "$ltmain"; then
! 18136: # See if we are running on zsh, and set the options which allow our commands through
! 18137: # without removal of \ escapes.
! 18138: if test -n "${ZSH_VERSION+set}" ; then
! 18139: setopt NO_GLOB_SUBST
! 18140: fi
! 18141: # Now quote all the things that may contain metacharacters while being
! 18142: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 18143: # variables and quote the copies for generation of the libtool script.
! 18144: for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
! 18145: SED SHELL STRIP \
! 18146: libname_spec library_names_spec soname_spec extract_expsyms_cmds \
! 18147: old_striplib striplib file_magic_cmd finish_cmds finish_eval \
! 18148: deplibs_check_method reload_flag reload_cmds need_locks \
! 18149: lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
! 18150: lt_cv_sys_global_symbol_to_c_name_address \
! 18151: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 18152: old_postinstall_cmds old_postuninstall_cmds \
! 18153: compiler_RC \
! 18154: CC_RC \
! 18155: LD_RC \
! 18156: lt_prog_compiler_wl_RC \
! 18157: lt_prog_compiler_pic_RC \
! 18158: lt_prog_compiler_static_RC \
! 18159: lt_prog_compiler_no_builtin_flag_RC \
! 18160: export_dynamic_flag_spec_RC \
! 18161: thread_safe_flag_spec_RC \
! 18162: whole_archive_flag_spec_RC \
! 18163: enable_shared_with_static_runtimes_RC \
! 18164: old_archive_cmds_RC \
! 18165: old_archive_from_new_cmds_RC \
! 18166: predep_objects_RC \
! 18167: postdep_objects_RC \
! 18168: predeps_RC \
! 18169: postdeps_RC \
! 18170: compiler_lib_search_path_RC \
! 18171: archive_cmds_RC \
! 18172: archive_expsym_cmds_RC \
! 18173: postinstall_cmds_RC \
! 18174: postuninstall_cmds_RC \
! 18175: old_archive_from_expsyms_cmds_RC \
! 18176: allow_undefined_flag_RC \
! 18177: no_undefined_flag_RC \
! 18178: export_symbols_cmds_RC \
! 18179: hardcode_libdir_flag_spec_RC \
! 18180: hardcode_libdir_flag_spec_ld_RC \
! 18181: hardcode_libdir_separator_RC \
! 18182: hardcode_automatic_RC \
! 18183: module_cmds_RC \
! 18184: module_expsym_cmds_RC \
! 18185: lt_cv_prog_compiler_c_o_RC \
! 18186: exclude_expsyms_RC \
! 18187: include_expsyms_RC; do
! 18188:
! 18189: case $var in
! 18190: old_archive_cmds_RC | \
! 18191: old_archive_from_new_cmds_RC | \
! 18192: archive_cmds_RC | \
! 18193: archive_expsym_cmds_RC | \
! 18194: module_cmds_RC | \
! 18195: module_expsym_cmds_RC | \
! 18196: old_archive_from_expsyms_cmds_RC | \
! 18197: export_symbols_cmds_RC | \
! 18198: extract_expsyms_cmds | reload_cmds | finish_cmds | \
! 18199: postinstall_cmds | postuninstall_cmds | \
! 18200: old_postinstall_cmds | old_postuninstall_cmds | \
! 18201: sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 18202: # Double-quote double-evaled strings.
! 18203: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 18204: ;;
! 18205: *)
! 18206: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 18207: ;;
! 18208: esac
! 18209: done
! 18210:
! 18211: case $lt_echo in
! 18212: *'\$0 --fallback-echo"')
! 18213: lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 18214: ;;
! 18215: esac
! 18216:
! 18217: cfgfile="$ofile"
! 18218:
! 18219: cat <<__EOF__ >> "$cfgfile"
! 18220: # ### BEGIN LIBTOOL TAG CONFIG: $tagname
! 18221:
! 18222: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 18223:
! 18224: # Shell to use when invoking shell scripts.
! 18225: SHELL=$lt_SHELL
! 18226:
! 18227: # Whether or not to build shared libraries.
! 18228: build_libtool_libs=$enable_shared
! 18229:
! 18230: # Whether or not to build static libraries.
! 18231: build_old_libs=$enable_static
! 18232:
! 18233: # Whether or not to add -lc for building shared libraries.
! 18234: build_libtool_need_lc=$archive_cmds_need_lc_RC
! 18235:
! 18236: # Whether or not to disallow shared libs when runtime libs are static
! 18237: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
! 18238:
! 18239: # Whether or not to optimize for fast installation.
! 18240: fast_install=$enable_fast_install
! 18241:
! 18242: # The host system.
! 18243: host_alias=$host_alias
! 18244: host=$host
! 18245: host_os=$host_os
! 18246:
! 18247: # The build system.
! 18248: build_alias=$build_alias
! 18249: build=$build
! 18250: build_os=$build_os
! 18251:
! 18252: # An echo program that does not interpret backslashes.
! 18253: echo=$lt_echo
! 18254:
! 18255: # The archiver.
! 18256: AR=$lt_AR
! 18257: AR_FLAGS=$lt_AR_FLAGS
! 18258:
! 18259: # A C compiler.
! 18260: LTCC=$lt_LTCC
! 18261:
! 18262: # LTCC compiler flags.
! 18263: LTCFLAGS=$lt_LTCFLAGS
! 18264:
! 18265: # A language-specific compiler.
! 18266: CC=$lt_compiler_RC
! 18267:
! 18268: # Is the compiler the GNU C compiler?
! 18269: with_gcc=$GCC_RC
! 18270:
! 18271: # An ERE matcher.
! 18272: EGREP=$lt_EGREP
! 18273:
! 18274: # The linker used to build libraries.
! 18275: LD=$lt_LD_RC
! 18276:
! 18277: # Whether we need hard or soft links.
! 18278: LN_S=$lt_LN_S
! 18279:
! 18280: # A BSD-compatible nm program.
! 18281: NM=$lt_NM
! 18282:
! 18283: # A symbol stripping program
! 18284: STRIP=$lt_STRIP
! 18285:
! 18286: # Used to examine libraries when file_magic_cmd begins "file"
! 18287: MAGIC_CMD=$MAGIC_CMD
! 18288:
! 18289: # Used on cygwin: DLL creation program.
! 18290: DLLTOOL="$DLLTOOL"
! 18291:
! 18292: # Used on cygwin: object dumper.
! 18293: OBJDUMP="$OBJDUMP"
! 18294:
! 18295: # Used on cygwin: assembler.
! 18296: AS="$AS"
! 18297:
! 18298: # The name of the directory that contains temporary libtool files.
! 18299: objdir=$objdir
! 18300:
! 18301: # How to create reloadable object files.
! 18302: reload_flag=$lt_reload_flag
! 18303: reload_cmds=$lt_reload_cmds
! 18304:
! 18305: # How to pass a linker flag through the compiler.
! 18306: wl=$lt_lt_prog_compiler_wl_RC
! 18307:
! 18308: # Object file suffix (normally "o").
! 18309: objext="$ac_objext"
! 18310:
! 18311: # Old archive suffix (normally "a").
! 18312: libext="$libext"
! 18313:
! 18314: # Shared library suffix (normally ".so").
! 18315: shrext_cmds='$shrext_cmds'
! 18316:
! 18317: # Executable file suffix (normally "").
! 18318: exeext="$exeext"
! 18319:
! 18320: # Additional compiler flags for building library objects.
! 18321: pic_flag=$lt_lt_prog_compiler_pic_RC
! 18322: pic_mode=$pic_mode
! 18323:
! 18324: # What is the maximum length of a command?
! 18325: max_cmd_len=$lt_cv_sys_max_cmd_len
! 18326:
! 18327: # Does compiler simultaneously support -c and -o options?
! 18328: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
! 18329:
! 18330: # Must we lock files when doing compilation?
! 18331: need_locks=$lt_need_locks
! 18332:
! 18333: # Do we need the lib prefix for modules?
! 18334: need_lib_prefix=$need_lib_prefix
! 18335:
! 18336: # Do we need a version for libraries?
! 18337: need_version=$need_version
! 18338:
! 18339: # Whether dlopen is supported.
! 18340: dlopen_support=$enable_dlopen
! 18341:
! 18342: # Whether dlopen of programs is supported.
! 18343: dlopen_self=$enable_dlopen_self
! 18344:
! 18345: # Whether dlopen of statically linked programs is supported.
! 18346: dlopen_self_static=$enable_dlopen_self_static
! 18347:
! 18348: # Compiler flag to prevent dynamic linking.
! 18349: link_static_flag=$lt_lt_prog_compiler_static_RC
! 18350:
! 18351: # Compiler flag to turn off builtin functions.
! 18352: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
! 18353:
! 18354: # Compiler flag to allow reflexive dlopens.
! 18355: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
! 18356:
! 18357: # Compiler flag to generate shared objects directly from archives.
! 18358: whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
! 18359:
! 18360: # Compiler flag to generate thread-safe objects.
! 18361: thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
! 18362:
! 18363: # Library versioning type.
! 18364: version_type=$version_type
! 18365:
! 18366: # Format of library name prefix.
! 18367: libname_spec=$lt_libname_spec
! 18368:
! 18369: # List of archive names. First name is the real one, the rest are links.
! 18370: # The last name is the one that the linker finds with -lNAME.
! 18371: library_names_spec=$lt_library_names_spec
! 18372:
! 18373: # The coded name of the library, if different from the real name.
! 18374: soname_spec=$lt_soname_spec
! 18375:
! 18376: # Commands used to build and install an old-style archive.
! 18377: RANLIB=$lt_RANLIB
! 18378: old_archive_cmds=$lt_old_archive_cmds_RC
! 18379: old_postinstall_cmds=$lt_old_postinstall_cmds
! 18380: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 18381:
! 18382: # Create an old-style archive from a shared archive.
! 18383: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
! 18384:
! 18385: # Create a temporary old-style archive to link instead of a shared archive.
! 18386: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
! 18387:
! 18388: # Commands used to build and install a shared archive.
! 18389: archive_cmds=$lt_archive_cmds_RC
! 18390: archive_expsym_cmds=$lt_archive_expsym_cmds_RC
! 18391: postinstall_cmds=$lt_postinstall_cmds
! 18392: postuninstall_cmds=$lt_postuninstall_cmds
! 18393:
! 18394: # Commands used to build a loadable module (assumed same as above if empty)
! 18395: module_cmds=$lt_module_cmds_RC
! 18396: module_expsym_cmds=$lt_module_expsym_cmds_RC
! 18397:
! 18398: # Commands to strip libraries.
! 18399: old_striplib=$lt_old_striplib
! 18400: striplib=$lt_striplib
! 18401:
! 18402: # Dependencies to place before the objects being linked to create a
! 18403: # shared library.
! 18404: predep_objects=$lt_predep_objects_RC
! 18405:
! 18406: # Dependencies to place after the objects being linked to create a
! 18407: # shared library.
! 18408: postdep_objects=$lt_postdep_objects_RC
! 18409:
! 18410: # Dependencies to place before the objects being linked to create a
! 18411: # shared library.
! 18412: predeps=$lt_predeps_RC
! 18413:
! 18414: # Dependencies to place after the objects being linked to create a
! 18415: # shared library.
! 18416: postdeps=$lt_postdeps_RC
! 18417:
! 18418: # The library search path used internally by the compiler when linking
! 18419: # a shared library.
! 18420: compiler_lib_search_path=$lt_compiler_lib_search_path_RC
! 18421:
! 18422: # Method to check whether dependent libraries are shared objects.
! 18423: deplibs_check_method=$lt_deplibs_check_method
! 18424:
! 18425: # Command to use when deplibs_check_method == file_magic.
! 18426: file_magic_cmd=$lt_file_magic_cmd
! 18427:
! 18428: # Flag that allows shared libraries with undefined symbols to be built.
! 18429: allow_undefined_flag=$lt_allow_undefined_flag_RC
! 18430:
! 18431: # Flag that forces no undefined symbols.
! 18432: no_undefined_flag=$lt_no_undefined_flag_RC
! 18433:
! 18434: # Commands used to finish a libtool library installation in a directory.
! 18435: finish_cmds=$lt_finish_cmds
! 18436:
! 18437: # Same as above, but a single script fragment to be evaled but not shown.
! 18438: finish_eval=$lt_finish_eval
! 18439:
! 18440: # Take the output of nm and produce a listing of raw symbols and C names.
! 18441: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 18442:
! 18443: # Transform the output of nm in a proper C declaration
! 18444: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 18445:
! 18446: # Transform the output of nm in a C name address pair
! 18447: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 18448:
! 18449: # This is the shared library runtime path variable.
! 18450: runpath_var=$runpath_var
! 18451:
! 18452: # This is the shared library path variable.
! 18453: shlibpath_var=$shlibpath_var
! 18454:
! 18455: # Is shlibpath searched before the hard-coded library search path?
! 18456: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 18457:
! 18458: # How to hardcode a shared library path into an executable.
! 18459: hardcode_action=$hardcode_action_RC
! 18460:
! 18461: # Whether we should hardcode library paths into libraries.
! 18462: hardcode_into_libs=$hardcode_into_libs
! 18463:
! 18464: # Flag to hardcode \$libdir into a binary during linking.
! 18465: # This must work even if \$libdir does not exist.
! 18466: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
! 18467:
! 18468: # If ld is used when linking, flag to hardcode \$libdir into
! 18469: # a binary during linking. This must work even if \$libdir does
! 18470: # not exist.
! 18471: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
! 18472:
! 18473: # Whether we need a single -rpath flag with a separated argument.
! 18474: hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
! 18475:
! 18476: # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
! 18477: # resulting binary.
! 18478: hardcode_direct=$hardcode_direct_RC
! 18479:
! 18480: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 18481: # resulting binary.
! 18482: hardcode_minus_L=$hardcode_minus_L_RC
! 18483:
! 18484: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 18485: # the resulting binary.
! 18486: hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
! 18487:
! 18488: # Set to yes if building a shared library automatically hardcodes DIR into the library
! 18489: # and all subsequent libraries and executables linked against it.
! 18490: hardcode_automatic=$hardcode_automatic_RC
! 18491:
! 18492: # Variables whose values should be saved in libtool wrapper scripts and
! 18493: # restored at relink time.
! 18494: variables_saved_for_relink="$variables_saved_for_relink"
! 18495:
! 18496: # Whether libtool must link a program against all its dependency libraries.
! 18497: link_all_deplibs=$link_all_deplibs_RC
! 18498:
! 18499: # Compile-time system search path for libraries
! 18500: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 18501:
! 18502: # Run-time system search path for libraries
! 18503: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 18504:
! 18505: # Fix the shell variable \$srcfile for the compiler.
! 18506: fix_srcfile_path="$fix_srcfile_path_RC"
! 18507:
! 18508: # Set to yes if exported symbols are required.
! 18509: always_export_symbols=$always_export_symbols_RC
! 18510:
! 18511: # The commands to list exported symbols.
! 18512: export_symbols_cmds=$lt_export_symbols_cmds_RC
! 18513:
! 18514: # The commands to extract the exported symbol list from a shared archive.
! 18515: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 18516:
! 18517: # Symbols that should not be listed in the preloaded symbols.
! 18518: exclude_expsyms=$lt_exclude_expsyms_RC
! 18519:
! 18520: # Symbols that must always be exported.
! 18521: include_expsyms=$lt_include_expsyms_RC
! 18522:
! 18523: # ### END LIBTOOL TAG CONFIG: $tagname
! 18524:
! 18525: __EOF__
! 18526:
! 18527:
! 18528: else
! 18529: # If there is no Makefile yet, we rely on a make rule to execute
! 18530: # `config.status --recheck' to rerun these tests and create the
! 18531: # libtool script then.
! 18532: ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
! 18533: if test -f "$ltmain_in"; then
! 18534: test -f Makefile && make "$ltmain"
! 18535: fi
! 18536: fi
! 18537:
! 18538:
! 18539: ac_ext=c
! 18540: ac_cpp='$CPP $CPPFLAGS'
! 18541: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 18542: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 18543: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 18544:
! 18545: CC="$lt_save_CC"
! 18546:
! 18547: ;;
! 18548:
! 18549: *)
! 18550: { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
! 18551: echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
! 18552: { (exit 1); exit 1; }; }
! 18553: ;;
! 18554: esac
! 18555:
! 18556: # Append the new tag name to the list of available tags.
! 18557: if test -n "$tagname" ; then
! 18558: available_tags="$available_tags $tagname"
! 18559: fi
! 18560: fi
! 18561: done
! 18562: IFS="$lt_save_ifs"
! 18563:
! 18564: # Now substitute the updated list of available tags.
! 18565: if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
! 18566: mv "${ofile}T" "$ofile"
! 18567: chmod +x "$ofile"
! 18568: else
! 18569: rm -f "${ofile}T"
! 18570: { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
! 18571: echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
! 18572: { (exit 1); exit 1; }; }
! 18573: fi
! 18574: fi
! 18575:
! 18576:
! 18577:
! 18578: # This can be used to rebuild libtool when needed
! 18579: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
! 18580:
! 18581: # Always use our own libtool.
! 18582: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 18583:
! 18584: # Prevent multiple expansion
! 18585:
! 18586:
! 18587:
! 18588:
! 18589:
! 18590:
! 18591:
! 18592:
! 18593:
! 18594:
! 18595:
! 18596:
! 18597:
! 18598:
! 18599:
! 18600:
! 18601:
! 18602:
! 18603:
! 18604:
! 18605:
! 18606:
! 18607:
! 18608: # Checks for libraries.
! 18609:
! 18610: # Checks for header files.
! 18611: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 18612: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 18613: if test "${ac_cv_header_stdc+set}" = set; then
! 18614: echo $ECHO_N "(cached) $ECHO_C" >&6
! 18615: else
! 18616: cat >conftest.$ac_ext <<_ACEOF
! 18617: /* confdefs.h. */
! 18618: _ACEOF
! 18619: cat confdefs.h >>conftest.$ac_ext
! 18620: cat >>conftest.$ac_ext <<_ACEOF
! 18621: /* end confdefs.h. */
! 18622: #include <stdlib.h>
! 18623: #include <stdarg.h>
! 18624: #include <string.h>
! 18625: #include <float.h>
! 18626:
! 18627: int
! 18628: main ()
! 18629: {
! 18630:
! 18631: ;
! 18632: return 0;
! 18633: }
! 18634: _ACEOF
! 18635: rm -f conftest.$ac_objext
! 18636: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 18637: (eval $ac_compile) 2>conftest.er1
! 18638: ac_status=$?
! 18639: grep -v '^ *+' conftest.er1 >conftest.err
! 18640: rm -f conftest.er1
! 18641: cat conftest.err >&5
! 18642: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18643: (exit $ac_status); } &&
! 18644: { ac_try='test -z "$ac_c_werror_flag"
! 18645: || test ! -s conftest.err'
! 18646: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 18647: (eval $ac_try) 2>&5
! 18648: ac_status=$?
! 18649: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18650: (exit $ac_status); }; } &&
! 18651: { ac_try='test -s conftest.$ac_objext'
! 18652: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 18653: (eval $ac_try) 2>&5
! 18654: ac_status=$?
! 18655: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18656: (exit $ac_status); }; }; then
! 18657: ac_cv_header_stdc=yes
! 18658: else
! 18659: echo "$as_me: failed program was:" >&5
! 18660: sed 's/^/| /' conftest.$ac_ext >&5
! 18661:
! 18662: ac_cv_header_stdc=no
! 18663: fi
! 18664: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 18665:
! 18666: if test $ac_cv_header_stdc = yes; then
! 18667: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 18668: cat >conftest.$ac_ext <<_ACEOF
! 18669: /* confdefs.h. */
! 18670: _ACEOF
! 18671: cat confdefs.h >>conftest.$ac_ext
! 18672: cat >>conftest.$ac_ext <<_ACEOF
! 18673: /* end confdefs.h. */
! 18674: #include <string.h>
! 18675:
! 18676: _ACEOF
! 18677: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 18678: $EGREP "memchr" >/dev/null 2>&1; then
! 18679: :
! 18680: else
! 18681: ac_cv_header_stdc=no
! 18682: fi
! 18683: rm -f conftest*
! 18684:
! 18685: fi
! 18686:
! 18687: if test $ac_cv_header_stdc = yes; then
! 18688: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 18689: cat >conftest.$ac_ext <<_ACEOF
! 18690: /* confdefs.h. */
! 18691: _ACEOF
! 18692: cat confdefs.h >>conftest.$ac_ext
! 18693: cat >>conftest.$ac_ext <<_ACEOF
! 18694: /* end confdefs.h. */
! 18695: #include <stdlib.h>
! 18696:
! 18697: _ACEOF
! 18698: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 18699: $EGREP "free" >/dev/null 2>&1; then
! 18700: :
! 18701: else
! 18702: ac_cv_header_stdc=no
! 18703: fi
! 18704: rm -f conftest*
! 18705:
! 18706: fi
! 18707:
! 18708: if test $ac_cv_header_stdc = yes; then
! 18709: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 18710: if test "$cross_compiling" = yes; then
! 18711: :
! 18712: else
! 18713: cat >conftest.$ac_ext <<_ACEOF
! 18714: /* confdefs.h. */
! 18715: _ACEOF
! 18716: cat confdefs.h >>conftest.$ac_ext
! 18717: cat >>conftest.$ac_ext <<_ACEOF
! 18718: /* end confdefs.h. */
! 18719: #include <ctype.h>
! 18720: #if ((' ' & 0x0FF) == 0x020)
! 18721: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 18722: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 18723: #else
! 18724: # define ISLOWER(c) \
! 18725: (('a' <= (c) && (c) <= 'i') \
! 18726: || ('j' <= (c) && (c) <= 'r') \
! 18727: || ('s' <= (c) && (c) <= 'z'))
! 18728: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 18729: #endif
! 18730:
! 18731: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 18732: int
! 18733: main ()
! 18734: {
! 18735: int i;
! 18736: for (i = 0; i < 256; i++)
! 18737: if (XOR (islower (i), ISLOWER (i))
! 18738: || toupper (i) != TOUPPER (i))
! 18739: exit(2);
! 18740: exit (0);
! 18741: }
! 18742: _ACEOF
! 18743: rm -f conftest$ac_exeext
! 18744: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 18745: (eval $ac_link) 2>&5
! 18746: ac_status=$?
! 18747: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18748: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 18749: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 18750: (eval $ac_try) 2>&5
! 18751: ac_status=$?
! 18752: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18753: (exit $ac_status); }; }; then
! 18754: :
! 18755: else
! 18756: echo "$as_me: program exited with status $ac_status" >&5
! 18757: echo "$as_me: failed program was:" >&5
! 18758: sed 's/^/| /' conftest.$ac_ext >&5
! 18759:
! 18760: ( exit $ac_status )
! 18761: ac_cv_header_stdc=no
! 18762: fi
! 18763: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 18764: fi
! 18765: fi
! 18766: fi
! 18767: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 18768: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 18769: if test $ac_cv_header_stdc = yes; then
! 18770:
! 18771: cat >>confdefs.h <<\_ACEOF
! 18772: #define STDC_HEADERS 1
! 18773: _ACEOF
! 18774:
! 18775: fi
! 18776:
! 18777:
! 18778:
! 18779:
! 18780:
! 18781:
! 18782:
! 18783:
! 18784:
! 18785:
! 18786:
! 18787:
! 18788:
! 18789:
! 18790:
! 18791:
! 18792:
! 18793:
! 18794:
! 18795:
! 18796:
! 18797:
! 18798:
! 18799:
! 18800:
! 18801:
! 18802:
! 18803:
! 18804:
! 18805: for ac_header in arpa/inet.h errno.h fcntl.h \
! 18806: netdb.h netinet/in.h \
! 18807: stdint.h stdlib.h string.h \
! 18808: sys/ioctl.h sys/socket.h \
! 18809: sys/param.h sys/time.h \
! 18810: sys/ipc.h sys/msg.h \
! 18811: sys/wait.h sys/un.h \
! 18812: sys/stat.h sys/types.h \
! 18813: syslog.h resolv.h \
! 18814: unistd.h endian.h \
! 18815: net/route.h net/if.h \
! 18816: net/ethernet.h asm/types.h \
! 18817: net/if_arp.h net/if_tun.h
! 18818: do
! 18819: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 18820: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 18821: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 18822: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 18823: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 18824: echo $ECHO_N "(cached) $ECHO_C" >&6
! 18825: fi
! 18826: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 18827: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 18828: else
! 18829: # Is the header compilable?
! 18830: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 18831: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 18832: cat >conftest.$ac_ext <<_ACEOF
! 18833: /* confdefs.h. */
! 18834: _ACEOF
! 18835: cat confdefs.h >>conftest.$ac_ext
! 18836: cat >>conftest.$ac_ext <<_ACEOF
! 18837: /* end confdefs.h. */
! 18838: $ac_includes_default
! 18839: #include <$ac_header>
! 18840: _ACEOF
! 18841: rm -f conftest.$ac_objext
! 18842: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 18843: (eval $ac_compile) 2>conftest.er1
! 18844: ac_status=$?
! 18845: grep -v '^ *+' conftest.er1 >conftest.err
! 18846: rm -f conftest.er1
! 18847: cat conftest.err >&5
! 18848: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18849: (exit $ac_status); } &&
! 18850: { ac_try='test -z "$ac_c_werror_flag"
! 18851: || test ! -s conftest.err'
! 18852: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 18853: (eval $ac_try) 2>&5
! 18854: ac_status=$?
! 18855: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18856: (exit $ac_status); }; } &&
! 18857: { ac_try='test -s conftest.$ac_objext'
! 18858: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 18859: (eval $ac_try) 2>&5
! 18860: ac_status=$?
! 18861: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18862: (exit $ac_status); }; }; then
! 18863: ac_header_compiler=yes
! 18864: else
! 18865: echo "$as_me: failed program was:" >&5
! 18866: sed 's/^/| /' conftest.$ac_ext >&5
! 18867:
! 18868: ac_header_compiler=no
! 18869: fi
! 18870: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 18871: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 18872: echo "${ECHO_T}$ac_header_compiler" >&6
! 18873:
! 18874: # Is the header present?
! 18875: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 18876: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 18877: cat >conftest.$ac_ext <<_ACEOF
! 18878: /* confdefs.h. */
! 18879: _ACEOF
! 18880: cat confdefs.h >>conftest.$ac_ext
! 18881: cat >>conftest.$ac_ext <<_ACEOF
! 18882: /* end confdefs.h. */
! 18883: #include <$ac_header>
! 18884: _ACEOF
! 18885: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 18886: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 18887: ac_status=$?
! 18888: grep -v '^ *+' conftest.er1 >conftest.err
! 18889: rm -f conftest.er1
! 18890: cat conftest.err >&5
! 18891: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 18892: (exit $ac_status); } >/dev/null; then
! 18893: if test -s conftest.err; then
! 18894: ac_cpp_err=$ac_c_preproc_warn_flag
! 18895: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 18896: else
! 18897: ac_cpp_err=
! 18898: fi
! 18899: else
! 18900: ac_cpp_err=yes
! 18901: fi
! 18902: if test -z "$ac_cpp_err"; then
! 18903: ac_header_preproc=yes
! 18904: else
! 18905: echo "$as_me: failed program was:" >&5
! 18906: sed 's/^/| /' conftest.$ac_ext >&5
! 18907:
! 18908: ac_header_preproc=no
! 18909: fi
! 18910: rm -f conftest.err conftest.$ac_ext
! 18911: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 18912: echo "${ECHO_T}$ac_header_preproc" >&6
! 18913:
! 18914: # So? What about this header?
! 18915: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 18916: yes:no: )
! 18917: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 18918: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 18919: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 18920: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 18921: ac_header_preproc=yes
! 18922: ;;
! 18923: no:yes:* )
! 18924: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 18925: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 18926: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 18927: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 18928: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 18929: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 18930: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 18931: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 18932: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 18933: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 18934: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 18935: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 18936: (
! 18937: cat <<\_ASBOX
! 18938: ## -------------------------------- ##
! 18939: ## Report this to support@coova.org ##
! 18940: ## -------------------------------- ##
! 18941: _ASBOX
! 18942: ) |
! 18943: sed "s/^/$as_me: WARNING: /" >&2
! 18944: ;;
! 18945: esac
! 18946: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 18947: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 18948: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 18949: echo $ECHO_N "(cached) $ECHO_C" >&6
! 18950: else
! 18951: eval "$as_ac_Header=\$ac_header_preproc"
! 18952: fi
! 18953: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 18954: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 18955:
! 18956: fi
! 18957: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 18958: cat >>confdefs.h <<_ACEOF
! 18959: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 18960: _ACEOF
! 18961:
! 18962: fi
! 18963:
! 18964: done
! 18965:
! 18966:
! 18967: # Checks for typedefs, structures, and compiler characteristics.
! 18968: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 18969: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 18970: if test "${ac_cv_c_const+set}" = set; then
! 18971: echo $ECHO_N "(cached) $ECHO_C" >&6
! 18972: else
! 18973: cat >conftest.$ac_ext <<_ACEOF
! 18974: /* confdefs.h. */
! 18975: _ACEOF
! 18976: cat confdefs.h >>conftest.$ac_ext
! 18977: cat >>conftest.$ac_ext <<_ACEOF
! 18978: /* end confdefs.h. */
! 18979:
! 18980: int
! 18981: main ()
! 18982: {
! 18983: /* FIXME: Include the comments suggested by Paul. */
! 18984: #ifndef __cplusplus
! 18985: /* Ultrix mips cc rejects this. */
! 18986: typedef int charset[2];
! 18987: const charset x;
! 18988: /* SunOS 4.1.1 cc rejects this. */
! 18989: char const *const *ccp;
! 18990: char **p;
! 18991: /* NEC SVR4.0.2 mips cc rejects this. */
! 18992: struct point {int x, y;};
! 18993: static struct point const zero = {0,0};
! 18994: /* AIX XL C 1.02.0.0 rejects this.
! 18995: It does not let you subtract one const X* pointer from another in
! 18996: an arm of an if-expression whose if-part is not a constant
! 18997: expression */
! 18998: const char *g = "string";
! 18999: ccp = &g + (g ? g-g : 0);
! 19000: /* HPUX 7.0 cc rejects these. */
! 19001: ++ccp;
! 19002: p = (char**) ccp;
! 19003: ccp = (char const *const *) p;
! 19004: { /* SCO 3.2v4 cc rejects this. */
! 19005: char *t;
! 19006: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 19007:
! 19008: *t++ = 0;
! 19009: }
! 19010: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 19011: int x[] = {25, 17};
! 19012: const int *foo = &x[0];
! 19013: ++foo;
! 19014: }
! 19015: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 19016: typedef const int *iptr;
! 19017: iptr p = 0;
! 19018: ++p;
! 19019: }
! 19020: { /* AIX XL C 1.02.0.0 rejects this saying
! 19021: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 19022: struct s { int j; const int *ap[3]; };
! 19023: struct s *b; b->j = 5;
! 19024: }
! 19025: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 19026: const int foo = 10;
! 19027: }
! 19028: #endif
! 19029:
! 19030: ;
! 19031: return 0;
! 19032: }
! 19033: _ACEOF
! 19034: rm -f conftest.$ac_objext
! 19035: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19036: (eval $ac_compile) 2>conftest.er1
! 19037: ac_status=$?
! 19038: grep -v '^ *+' conftest.er1 >conftest.err
! 19039: rm -f conftest.er1
! 19040: cat conftest.err >&5
! 19041: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19042: (exit $ac_status); } &&
! 19043: { ac_try='test -z "$ac_c_werror_flag"
! 19044: || test ! -s conftest.err'
! 19045: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19046: (eval $ac_try) 2>&5
! 19047: ac_status=$?
! 19048: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19049: (exit $ac_status); }; } &&
! 19050: { ac_try='test -s conftest.$ac_objext'
! 19051: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19052: (eval $ac_try) 2>&5
! 19053: ac_status=$?
! 19054: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19055: (exit $ac_status); }; }; then
! 19056: ac_cv_c_const=yes
! 19057: else
! 19058: echo "$as_me: failed program was:" >&5
! 19059: sed 's/^/| /' conftest.$ac_ext >&5
! 19060:
! 19061: ac_cv_c_const=no
! 19062: fi
! 19063: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19064: fi
! 19065: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 19066: echo "${ECHO_T}$ac_cv_c_const" >&6
! 19067: if test $ac_cv_c_const = no; then
! 19068:
! 19069: cat >>confdefs.h <<\_ACEOF
! 19070: #define const
! 19071: _ACEOF
! 19072:
! 19073: fi
! 19074:
! 19075: echo "$as_me:$LINENO: checking for mode_t" >&5
! 19076: echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
! 19077: if test "${ac_cv_type_mode_t+set}" = set; then
! 19078: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19079: else
! 19080: cat >conftest.$ac_ext <<_ACEOF
! 19081: /* confdefs.h. */
! 19082: _ACEOF
! 19083: cat confdefs.h >>conftest.$ac_ext
! 19084: cat >>conftest.$ac_ext <<_ACEOF
! 19085: /* end confdefs.h. */
! 19086: $ac_includes_default
! 19087: int
! 19088: main ()
! 19089: {
! 19090: if ((mode_t *) 0)
! 19091: return 0;
! 19092: if (sizeof (mode_t))
! 19093: return 0;
! 19094: ;
! 19095: return 0;
! 19096: }
! 19097: _ACEOF
! 19098: rm -f conftest.$ac_objext
! 19099: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19100: (eval $ac_compile) 2>conftest.er1
! 19101: ac_status=$?
! 19102: grep -v '^ *+' conftest.er1 >conftest.err
! 19103: rm -f conftest.er1
! 19104: cat conftest.err >&5
! 19105: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19106: (exit $ac_status); } &&
! 19107: { ac_try='test -z "$ac_c_werror_flag"
! 19108: || test ! -s conftest.err'
! 19109: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19110: (eval $ac_try) 2>&5
! 19111: ac_status=$?
! 19112: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19113: (exit $ac_status); }; } &&
! 19114: { ac_try='test -s conftest.$ac_objext'
! 19115: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19116: (eval $ac_try) 2>&5
! 19117: ac_status=$?
! 19118: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19119: (exit $ac_status); }; }; then
! 19120: ac_cv_type_mode_t=yes
! 19121: else
! 19122: echo "$as_me: failed program was:" >&5
! 19123: sed 's/^/| /' conftest.$ac_ext >&5
! 19124:
! 19125: ac_cv_type_mode_t=no
! 19126: fi
! 19127: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19128: fi
! 19129: echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
! 19130: echo "${ECHO_T}$ac_cv_type_mode_t" >&6
! 19131: if test $ac_cv_type_mode_t = yes; then
! 19132: :
! 19133: else
! 19134:
! 19135: cat >>confdefs.h <<_ACEOF
! 19136: #define mode_t int
! 19137: _ACEOF
! 19138:
! 19139: fi
! 19140:
! 19141: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
! 19142: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
! 19143: if test "${ac_cv_header_time+set}" = set; then
! 19144: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19145: else
! 19146: cat >conftest.$ac_ext <<_ACEOF
! 19147: /* confdefs.h. */
! 19148: _ACEOF
! 19149: cat confdefs.h >>conftest.$ac_ext
! 19150: cat >>conftest.$ac_ext <<_ACEOF
! 19151: /* end confdefs.h. */
! 19152: #include <sys/types.h>
! 19153: #include <sys/time.h>
! 19154: #include <time.h>
! 19155:
! 19156: int
! 19157: main ()
! 19158: {
! 19159: if ((struct tm *) 0)
! 19160: return 0;
! 19161: ;
! 19162: return 0;
! 19163: }
! 19164: _ACEOF
! 19165: rm -f conftest.$ac_objext
! 19166: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19167: (eval $ac_compile) 2>conftest.er1
! 19168: ac_status=$?
! 19169: grep -v '^ *+' conftest.er1 >conftest.err
! 19170: rm -f conftest.er1
! 19171: cat conftest.err >&5
! 19172: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19173: (exit $ac_status); } &&
! 19174: { ac_try='test -z "$ac_c_werror_flag"
! 19175: || test ! -s conftest.err'
! 19176: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19177: (eval $ac_try) 2>&5
! 19178: ac_status=$?
! 19179: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19180: (exit $ac_status); }; } &&
! 19181: { ac_try='test -s conftest.$ac_objext'
! 19182: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19183: (eval $ac_try) 2>&5
! 19184: ac_status=$?
! 19185: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19186: (exit $ac_status); }; }; then
! 19187: ac_cv_header_time=yes
! 19188: else
! 19189: echo "$as_me: failed program was:" >&5
! 19190: sed 's/^/| /' conftest.$ac_ext >&5
! 19191:
! 19192: ac_cv_header_time=no
! 19193: fi
! 19194: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19195: fi
! 19196: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
! 19197: echo "${ECHO_T}$ac_cv_header_time" >&6
! 19198: if test $ac_cv_header_time = yes; then
! 19199:
! 19200: cat >>confdefs.h <<\_ACEOF
! 19201: #define TIME_WITH_SYS_TIME 1
! 19202: _ACEOF
! 19203:
! 19204: fi
! 19205:
! 19206:
! 19207: # Checks for library functions.
! 19208: echo "$as_me:$LINENO: checking for pid_t" >&5
! 19209: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
! 19210: if test "${ac_cv_type_pid_t+set}" = set; then
! 19211: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19212: else
! 19213: cat >conftest.$ac_ext <<_ACEOF
! 19214: /* confdefs.h. */
! 19215: _ACEOF
! 19216: cat confdefs.h >>conftest.$ac_ext
! 19217: cat >>conftest.$ac_ext <<_ACEOF
! 19218: /* end confdefs.h. */
! 19219: $ac_includes_default
! 19220: int
! 19221: main ()
! 19222: {
! 19223: if ((pid_t *) 0)
! 19224: return 0;
! 19225: if (sizeof (pid_t))
! 19226: return 0;
! 19227: ;
! 19228: return 0;
! 19229: }
! 19230: _ACEOF
! 19231: rm -f conftest.$ac_objext
! 19232: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19233: (eval $ac_compile) 2>conftest.er1
! 19234: ac_status=$?
! 19235: grep -v '^ *+' conftest.er1 >conftest.err
! 19236: rm -f conftest.er1
! 19237: cat conftest.err >&5
! 19238: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19239: (exit $ac_status); } &&
! 19240: { ac_try='test -z "$ac_c_werror_flag"
! 19241: || test ! -s conftest.err'
! 19242: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19243: (eval $ac_try) 2>&5
! 19244: ac_status=$?
! 19245: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19246: (exit $ac_status); }; } &&
! 19247: { ac_try='test -s conftest.$ac_objext'
! 19248: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19249: (eval $ac_try) 2>&5
! 19250: ac_status=$?
! 19251: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19252: (exit $ac_status); }; }; then
! 19253: ac_cv_type_pid_t=yes
! 19254: else
! 19255: echo "$as_me: failed program was:" >&5
! 19256: sed 's/^/| /' conftest.$ac_ext >&5
! 19257:
! 19258: ac_cv_type_pid_t=no
! 19259: fi
! 19260: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19261: fi
! 19262: echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
! 19263: echo "${ECHO_T}$ac_cv_type_pid_t" >&6
! 19264: if test $ac_cv_type_pid_t = yes; then
! 19265: :
! 19266: else
! 19267:
! 19268: cat >>confdefs.h <<_ACEOF
! 19269: #define pid_t int
! 19270: _ACEOF
! 19271:
! 19272: fi
! 19273:
! 19274:
! 19275:
! 19276: for ac_header in unistd.h vfork.h
! 19277: do
! 19278: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 19279: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 19280: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 19281: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 19282: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 19283: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19284: fi
! 19285: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 19286: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 19287: else
! 19288: # Is the header compilable?
! 19289: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 19290: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 19291: cat >conftest.$ac_ext <<_ACEOF
! 19292: /* confdefs.h. */
! 19293: _ACEOF
! 19294: cat confdefs.h >>conftest.$ac_ext
! 19295: cat >>conftest.$ac_ext <<_ACEOF
! 19296: /* end confdefs.h. */
! 19297: $ac_includes_default
! 19298: #include <$ac_header>
! 19299: _ACEOF
! 19300: rm -f conftest.$ac_objext
! 19301: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19302: (eval $ac_compile) 2>conftest.er1
! 19303: ac_status=$?
! 19304: grep -v '^ *+' conftest.er1 >conftest.err
! 19305: rm -f conftest.er1
! 19306: cat conftest.err >&5
! 19307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19308: (exit $ac_status); } &&
! 19309: { ac_try='test -z "$ac_c_werror_flag"
! 19310: || test ! -s conftest.err'
! 19311: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19312: (eval $ac_try) 2>&5
! 19313: ac_status=$?
! 19314: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19315: (exit $ac_status); }; } &&
! 19316: { ac_try='test -s conftest.$ac_objext'
! 19317: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19318: (eval $ac_try) 2>&5
! 19319: ac_status=$?
! 19320: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19321: (exit $ac_status); }; }; then
! 19322: ac_header_compiler=yes
! 19323: else
! 19324: echo "$as_me: failed program was:" >&5
! 19325: sed 's/^/| /' conftest.$ac_ext >&5
! 19326:
! 19327: ac_header_compiler=no
! 19328: fi
! 19329: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19330: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 19331: echo "${ECHO_T}$ac_header_compiler" >&6
! 19332:
! 19333: # Is the header present?
! 19334: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 19335: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 19336: cat >conftest.$ac_ext <<_ACEOF
! 19337: /* confdefs.h. */
! 19338: _ACEOF
! 19339: cat confdefs.h >>conftest.$ac_ext
! 19340: cat >>conftest.$ac_ext <<_ACEOF
! 19341: /* end confdefs.h. */
! 19342: #include <$ac_header>
! 19343: _ACEOF
! 19344: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 19345: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 19346: ac_status=$?
! 19347: grep -v '^ *+' conftest.er1 >conftest.err
! 19348: rm -f conftest.er1
! 19349: cat conftest.err >&5
! 19350: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19351: (exit $ac_status); } >/dev/null; then
! 19352: if test -s conftest.err; then
! 19353: ac_cpp_err=$ac_c_preproc_warn_flag
! 19354: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 19355: else
! 19356: ac_cpp_err=
! 19357: fi
! 19358: else
! 19359: ac_cpp_err=yes
! 19360: fi
! 19361: if test -z "$ac_cpp_err"; then
! 19362: ac_header_preproc=yes
! 19363: else
! 19364: echo "$as_me: failed program was:" >&5
! 19365: sed 's/^/| /' conftest.$ac_ext >&5
! 19366:
! 19367: ac_header_preproc=no
! 19368: fi
! 19369: rm -f conftest.err conftest.$ac_ext
! 19370: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 19371: echo "${ECHO_T}$ac_header_preproc" >&6
! 19372:
! 19373: # So? What about this header?
! 19374: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 19375: yes:no: )
! 19376: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 19377: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 19378: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 19379: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 19380: ac_header_preproc=yes
! 19381: ;;
! 19382: no:yes:* )
! 19383: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 19384: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 19385: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 19386: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 19387: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 19388: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 19389: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 19390: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 19391: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 19392: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 19393: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 19394: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 19395: (
! 19396: cat <<\_ASBOX
! 19397: ## -------------------------------- ##
! 19398: ## Report this to support@coova.org ##
! 19399: ## -------------------------------- ##
! 19400: _ASBOX
! 19401: ) |
! 19402: sed "s/^/$as_me: WARNING: /" >&2
! 19403: ;;
! 19404: esac
! 19405: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 19406: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 19407: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 19408: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19409: else
! 19410: eval "$as_ac_Header=\$ac_header_preproc"
! 19411: fi
! 19412: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 19413: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 19414:
! 19415: fi
! 19416: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 19417: cat >>confdefs.h <<_ACEOF
! 19418: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 19419: _ACEOF
! 19420:
! 19421: fi
! 19422:
! 19423: done
! 19424:
! 19425:
! 19426:
! 19427: for ac_func in fork vfork
! 19428: do
! 19429: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19430: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 19431: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 19432: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 19433: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19434: else
! 19435: cat >conftest.$ac_ext <<_ACEOF
! 19436: /* confdefs.h. */
! 19437: _ACEOF
! 19438: cat confdefs.h >>conftest.$ac_ext
! 19439: cat >>conftest.$ac_ext <<_ACEOF
! 19440: /* end confdefs.h. */
! 19441: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 19442: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 19443: #define $ac_func innocuous_$ac_func
! 19444:
! 19445: /* System header to define __stub macros and hopefully few prototypes,
! 19446: which can conflict with char $ac_func (); below.
! 19447: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 19448: <limits.h> exists even on freestanding compilers. */
! 19449:
! 19450: #ifdef __STDC__
! 19451: # include <limits.h>
! 19452: #else
! 19453: # include <assert.h>
! 19454: #endif
! 19455:
! 19456: #undef $ac_func
! 19457:
! 19458: /* Override any gcc2 internal prototype to avoid an error. */
! 19459: #ifdef __cplusplus
! 19460: extern "C"
! 19461: {
! 19462: #endif
! 19463: /* We use char because int might match the return type of a gcc2
! 19464: builtin and then its argument prototype would still apply. */
! 19465: char $ac_func ();
! 19466: /* The GNU C library defines this for functions which it implements
! 19467: to always fail with ENOSYS. Some functions are actually named
! 19468: something starting with __ and the normal name is an alias. */
! 19469: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 19470: choke me
! 19471: #else
! 19472: char (*f) () = $ac_func;
! 19473: #endif
! 19474: #ifdef __cplusplus
! 19475: }
! 19476: #endif
! 19477:
! 19478: int
! 19479: main ()
! 19480: {
! 19481: return f != $ac_func;
! 19482: ;
! 19483: return 0;
! 19484: }
! 19485: _ACEOF
! 19486: rm -f conftest.$ac_objext conftest$ac_exeext
! 19487: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 19488: (eval $ac_link) 2>conftest.er1
! 19489: ac_status=$?
! 19490: grep -v '^ *+' conftest.er1 >conftest.err
! 19491: rm -f conftest.er1
! 19492: cat conftest.err >&5
! 19493: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19494: (exit $ac_status); } &&
! 19495: { ac_try='test -z "$ac_c_werror_flag"
! 19496: || test ! -s conftest.err'
! 19497: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19498: (eval $ac_try) 2>&5
! 19499: ac_status=$?
! 19500: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19501: (exit $ac_status); }; } &&
! 19502: { ac_try='test -s conftest$ac_exeext'
! 19503: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19504: (eval $ac_try) 2>&5
! 19505: ac_status=$?
! 19506: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19507: (exit $ac_status); }; }; then
! 19508: eval "$as_ac_var=yes"
! 19509: else
! 19510: echo "$as_me: failed program was:" >&5
! 19511: sed 's/^/| /' conftest.$ac_ext >&5
! 19512:
! 19513: eval "$as_ac_var=no"
! 19514: fi
! 19515: rm -f conftest.err conftest.$ac_objext \
! 19516: conftest$ac_exeext conftest.$ac_ext
! 19517: fi
! 19518: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 19519: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 19520: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 19521: cat >>confdefs.h <<_ACEOF
! 19522: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19523: _ACEOF
! 19524:
! 19525: fi
! 19526: done
! 19527:
! 19528: if test "x$ac_cv_func_fork" = xyes; then
! 19529: echo "$as_me:$LINENO: checking for working fork" >&5
! 19530: echo $ECHO_N "checking for working fork... $ECHO_C" >&6
! 19531: if test "${ac_cv_func_fork_works+set}" = set; then
! 19532: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19533: else
! 19534: if test "$cross_compiling" = yes; then
! 19535: ac_cv_func_fork_works=cross
! 19536: else
! 19537: cat >conftest.$ac_ext <<_ACEOF
! 19538: /* By Ruediger Kuhlmann. */
! 19539: #include <sys/types.h>
! 19540: #if HAVE_UNISTD_H
! 19541: # include <unistd.h>
! 19542: #endif
! 19543: /* Some systems only have a dummy stub for fork() */
! 19544: int main ()
! 19545: {
! 19546: if (fork() < 0)
! 19547: exit (1);
! 19548: exit (0);
! 19549: }
! 19550: _ACEOF
! 19551: rm -f conftest$ac_exeext
! 19552: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 19553: (eval $ac_link) 2>&5
! 19554: ac_status=$?
! 19555: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19556: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 19557: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19558: (eval $ac_try) 2>&5
! 19559: ac_status=$?
! 19560: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19561: (exit $ac_status); }; }; then
! 19562: ac_cv_func_fork_works=yes
! 19563: else
! 19564: echo "$as_me: program exited with status $ac_status" >&5
! 19565: echo "$as_me: failed program was:" >&5
! 19566: sed 's/^/| /' conftest.$ac_ext >&5
! 19567:
! 19568: ( exit $ac_status )
! 19569: ac_cv_func_fork_works=no
! 19570: fi
! 19571: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 19572: fi
! 19573: fi
! 19574: echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
! 19575: echo "${ECHO_T}$ac_cv_func_fork_works" >&6
! 19576:
! 19577: else
! 19578: ac_cv_func_fork_works=$ac_cv_func_fork
! 19579: fi
! 19580: if test "x$ac_cv_func_fork_works" = xcross; then
! 19581: case $host in
! 19582: *-*-amigaos* | *-*-msdosdjgpp*)
! 19583: # Override, as these systems have only a dummy fork() stub
! 19584: ac_cv_func_fork_works=no
! 19585: ;;
! 19586: *)
! 19587: ac_cv_func_fork_works=yes
! 19588: ;;
! 19589: esac
! 19590: { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
! 19591: echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
! 19592: fi
! 19593: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 19594: if test "x$ac_cv_func_vfork" = xyes; then
! 19595: echo "$as_me:$LINENO: checking for working vfork" >&5
! 19596: echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
! 19597: if test "${ac_cv_func_vfork_works+set}" = set; then
! 19598: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19599: else
! 19600: if test "$cross_compiling" = yes; then
! 19601: ac_cv_func_vfork_works=cross
! 19602: else
! 19603: cat >conftest.$ac_ext <<_ACEOF
! 19604: /* confdefs.h. */
! 19605: _ACEOF
! 19606: cat confdefs.h >>conftest.$ac_ext
! 19607: cat >>conftest.$ac_ext <<_ACEOF
! 19608: /* end confdefs.h. */
! 19609: /* Thanks to Paul Eggert for this test. */
! 19610: #include <stdio.h>
! 19611: #include <stdlib.h>
! 19612: #include <sys/types.h>
! 19613: #include <sys/stat.h>
! 19614: #include <sys/wait.h>
! 19615: #if HAVE_UNISTD_H
! 19616: # include <unistd.h>
! 19617: #endif
! 19618: #if HAVE_VFORK_H
! 19619: # include <vfork.h>
! 19620: #endif
! 19621: /* On some sparc systems, changes by the child to local and incoming
! 19622: argument registers are propagated back to the parent. The compiler
! 19623: is told about this with #include <vfork.h>, but some compilers
! 19624: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
! 19625: static variable whose address is put into a register that is
! 19626: clobbered by the vfork. */
! 19627: static void
! 19628: #ifdef __cplusplus
! 19629: sparc_address_test (int arg)
! 19630: # else
! 19631: sparc_address_test (arg) int arg;
! 19632: #endif
! 19633: {
! 19634: static pid_t child;
! 19635: if (!child) {
! 19636: child = vfork ();
! 19637: if (child < 0) {
! 19638: perror ("vfork");
! 19639: _exit(2);
! 19640: }
! 19641: if (!child) {
! 19642: arg = getpid();
! 19643: write(-1, "", 0);
! 19644: _exit (arg);
! 19645: }
! 19646: }
! 19647: }
! 19648:
! 19649: int
! 19650: main ()
! 19651: {
! 19652: pid_t parent = getpid ();
! 19653: pid_t child;
! 19654:
! 19655: sparc_address_test (0);
! 19656:
! 19657: child = vfork ();
! 19658:
! 19659: if (child == 0) {
! 19660: /* Here is another test for sparc vfork register problems. This
! 19661: test uses lots of local variables, at least as many local
! 19662: variables as main has allocated so far including compiler
! 19663: temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
! 19664: 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
! 19665: reuse the register of parent for one of the local variables,
! 19666: since it will think that parent can't possibly be used any more
! 19667: in this routine. Assigning to the local variable will thus
! 19668: munge parent in the parent process. */
! 19669: pid_t
! 19670: p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
! 19671: p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
! 19672: /* Convince the compiler that p..p7 are live; otherwise, it might
! 19673: use the same hardware register for all 8 local variables. */
! 19674: if (p != p1 || p != p2 || p != p3 || p != p4
! 19675: || p != p5 || p != p6 || p != p7)
! 19676: _exit(1);
! 19677:
! 19678: /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
! 19679: from child file descriptors. If the child closes a descriptor
! 19680: before it execs or exits, this munges the parent's descriptor
! 19681: as well. Test for this by closing stdout in the child. */
! 19682: _exit(close(fileno(stdout)) != 0);
! 19683: } else {
! 19684: int status;
! 19685: struct stat st;
! 19686:
! 19687: while (wait(&status) != child)
! 19688: ;
! 19689: exit(
! 19690: /* Was there some problem with vforking? */
! 19691: child < 0
! 19692:
! 19693: /* Did the child fail? (This shouldn't happen.) */
! 19694: || status
! 19695:
! 19696: /* Did the vfork/compiler bug occur? */
! 19697: || parent != getpid()
! 19698:
! 19699: /* Did the file descriptor bug occur? */
! 19700: || fstat(fileno(stdout), &st) != 0
! 19701: );
! 19702: }
! 19703: }
! 19704: _ACEOF
! 19705: rm -f conftest$ac_exeext
! 19706: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 19707: (eval $ac_link) 2>&5
! 19708: ac_status=$?
! 19709: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19710: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 19711: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19712: (eval $ac_try) 2>&5
! 19713: ac_status=$?
! 19714: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19715: (exit $ac_status); }; }; then
! 19716: ac_cv_func_vfork_works=yes
! 19717: else
! 19718: echo "$as_me: program exited with status $ac_status" >&5
! 19719: echo "$as_me: failed program was:" >&5
! 19720: sed 's/^/| /' conftest.$ac_ext >&5
! 19721:
! 19722: ( exit $ac_status )
! 19723: ac_cv_func_vfork_works=no
! 19724: fi
! 19725: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 19726: fi
! 19727: fi
! 19728: echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
! 19729: echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
! 19730:
! 19731: fi;
! 19732: if test "x$ac_cv_func_fork_works" = xcross; then
! 19733: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 19734: { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
! 19735: echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
! 19736: fi
! 19737:
! 19738: if test "x$ac_cv_func_vfork_works" = xyes; then
! 19739:
! 19740: cat >>confdefs.h <<\_ACEOF
! 19741: #define HAVE_WORKING_VFORK 1
! 19742: _ACEOF
! 19743:
! 19744: else
! 19745:
! 19746: cat >>confdefs.h <<\_ACEOF
! 19747: #define vfork fork
! 19748: _ACEOF
! 19749:
! 19750: fi
! 19751: if test "x$ac_cv_func_fork_works" = xyes; then
! 19752:
! 19753: cat >>confdefs.h <<\_ACEOF
! 19754: #define HAVE_WORKING_FORK 1
! 19755: _ACEOF
! 19756:
! 19757: fi
! 19758:
! 19759: if test $ac_cv_c_compiler_gnu = yes; then
! 19760: echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
! 19761: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
! 19762: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
! 19763: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19764: else
! 19765: ac_pattern="Autoconf.*'x'"
! 19766: cat >conftest.$ac_ext <<_ACEOF
! 19767: /* confdefs.h. */
! 19768: _ACEOF
! 19769: cat confdefs.h >>conftest.$ac_ext
! 19770: cat >>conftest.$ac_ext <<_ACEOF
! 19771: /* end confdefs.h. */
! 19772: #include <sgtty.h>
! 19773: Autoconf TIOCGETP
! 19774: _ACEOF
! 19775: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 19776: $EGREP "$ac_pattern" >/dev/null 2>&1; then
! 19777: ac_cv_prog_gcc_traditional=yes
! 19778: else
! 19779: ac_cv_prog_gcc_traditional=no
! 19780: fi
! 19781: rm -f conftest*
! 19782:
! 19783:
! 19784: if test $ac_cv_prog_gcc_traditional = no; then
! 19785: cat >conftest.$ac_ext <<_ACEOF
! 19786: /* confdefs.h. */
! 19787: _ACEOF
! 19788: cat confdefs.h >>conftest.$ac_ext
! 19789: cat >>conftest.$ac_ext <<_ACEOF
! 19790: /* end confdefs.h. */
! 19791: #include <termio.h>
! 19792: Autoconf TCGETA
! 19793: _ACEOF
! 19794: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 19795: $EGREP "$ac_pattern" >/dev/null 2>&1; then
! 19796: ac_cv_prog_gcc_traditional=yes
! 19797: fi
! 19798: rm -f conftest*
! 19799:
! 19800: fi
! 19801: fi
! 19802: echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
! 19803: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
! 19804: if test $ac_cv_prog_gcc_traditional = yes; then
! 19805: CC="$CC -traditional"
! 19806: fi
! 19807: fi
! 19808:
! 19809: echo "$as_me:$LINENO: checking for working memcmp" >&5
! 19810: echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
! 19811: if test "${ac_cv_func_memcmp_working+set}" = set; then
! 19812: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19813: else
! 19814: if test "$cross_compiling" = yes; then
! 19815: ac_cv_func_memcmp_working=no
! 19816: else
! 19817: cat >conftest.$ac_ext <<_ACEOF
! 19818: /* confdefs.h. */
! 19819: _ACEOF
! 19820: cat confdefs.h >>conftest.$ac_ext
! 19821: cat >>conftest.$ac_ext <<_ACEOF
! 19822: /* end confdefs.h. */
! 19823: $ac_includes_default
! 19824: int
! 19825: main ()
! 19826: {
! 19827:
! 19828: /* Some versions of memcmp are not 8-bit clean. */
! 19829: char c0 = 0x40, c1 = 0x80, c2 = 0x81;
! 19830: if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
! 19831: exit (1);
! 19832:
! 19833: /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
! 19834: or more and with at least one buffer not starting on a 4-byte boundary.
! 19835: William Lewis provided this test program. */
! 19836: {
! 19837: char foo[21];
! 19838: char bar[21];
! 19839: int i;
! 19840: for (i = 0; i < 4; i++)
! 19841: {
! 19842: char *a = foo + i;
! 19843: char *b = bar + i;
! 19844: strcpy (a, "--------01111111");
! 19845: strcpy (b, "--------10000000");
! 19846: if (memcmp (a, b, 16) >= 0)
! 19847: exit (1);
! 19848: }
! 19849: exit (0);
! 19850: }
! 19851:
! 19852: ;
! 19853: return 0;
! 19854: }
! 19855: _ACEOF
! 19856: rm -f conftest$ac_exeext
! 19857: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 19858: (eval $ac_link) 2>&5
! 19859: ac_status=$?
! 19860: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19861: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 19862: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19863: (eval $ac_try) 2>&5
! 19864: ac_status=$?
! 19865: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19866: (exit $ac_status); }; }; then
! 19867: ac_cv_func_memcmp_working=yes
! 19868: else
! 19869: echo "$as_me: program exited with status $ac_status" >&5
! 19870: echo "$as_me: failed program was:" >&5
! 19871: sed 's/^/| /' conftest.$ac_ext >&5
! 19872:
! 19873: ( exit $ac_status )
! 19874: ac_cv_func_memcmp_working=no
! 19875: fi
! 19876: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 19877: fi
! 19878: fi
! 19879: echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
! 19880: echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
! 19881: test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
! 19882: "memcmp.$ac_objext" | \
! 19883: *" memcmp.$ac_objext" | \
! 19884: "memcmp.$ac_objext "* | \
! 19885: *" memcmp.$ac_objext "* ) ;;
! 19886: *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
! 19887: esac
! 19888:
! 19889:
! 19890:
! 19891:
! 19892: for ac_header in sys/select.h sys/socket.h
! 19893: do
! 19894: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 19895: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 19896: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 19897: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 19898: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 19899: echo $ECHO_N "(cached) $ECHO_C" >&6
! 19900: fi
! 19901: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 19902: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 19903: else
! 19904: # Is the header compilable?
! 19905: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 19906: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 19907: cat >conftest.$ac_ext <<_ACEOF
! 19908: /* confdefs.h. */
! 19909: _ACEOF
! 19910: cat confdefs.h >>conftest.$ac_ext
! 19911: cat >>conftest.$ac_ext <<_ACEOF
! 19912: /* end confdefs.h. */
! 19913: $ac_includes_default
! 19914: #include <$ac_header>
! 19915: _ACEOF
! 19916: rm -f conftest.$ac_objext
! 19917: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 19918: (eval $ac_compile) 2>conftest.er1
! 19919: ac_status=$?
! 19920: grep -v '^ *+' conftest.er1 >conftest.err
! 19921: rm -f conftest.er1
! 19922: cat conftest.err >&5
! 19923: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19924: (exit $ac_status); } &&
! 19925: { ac_try='test -z "$ac_c_werror_flag"
! 19926: || test ! -s conftest.err'
! 19927: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19928: (eval $ac_try) 2>&5
! 19929: ac_status=$?
! 19930: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19931: (exit $ac_status); }; } &&
! 19932: { ac_try='test -s conftest.$ac_objext'
! 19933: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 19934: (eval $ac_try) 2>&5
! 19935: ac_status=$?
! 19936: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19937: (exit $ac_status); }; }; then
! 19938: ac_header_compiler=yes
! 19939: else
! 19940: echo "$as_me: failed program was:" >&5
! 19941: sed 's/^/| /' conftest.$ac_ext >&5
! 19942:
! 19943: ac_header_compiler=no
! 19944: fi
! 19945: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 19946: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 19947: echo "${ECHO_T}$ac_header_compiler" >&6
! 19948:
! 19949: # Is the header present?
! 19950: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 19951: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 19952: cat >conftest.$ac_ext <<_ACEOF
! 19953: /* confdefs.h. */
! 19954: _ACEOF
! 19955: cat confdefs.h >>conftest.$ac_ext
! 19956: cat >>conftest.$ac_ext <<_ACEOF
! 19957: /* end confdefs.h. */
! 19958: #include <$ac_header>
! 19959: _ACEOF
! 19960: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 19961: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 19962: ac_status=$?
! 19963: grep -v '^ *+' conftest.er1 >conftest.err
! 19964: rm -f conftest.er1
! 19965: cat conftest.err >&5
! 19966: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 19967: (exit $ac_status); } >/dev/null; then
! 19968: if test -s conftest.err; then
! 19969: ac_cpp_err=$ac_c_preproc_warn_flag
! 19970: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 19971: else
! 19972: ac_cpp_err=
! 19973: fi
! 19974: else
! 19975: ac_cpp_err=yes
! 19976: fi
! 19977: if test -z "$ac_cpp_err"; then
! 19978: ac_header_preproc=yes
! 19979: else
! 19980: echo "$as_me: failed program was:" >&5
! 19981: sed 's/^/| /' conftest.$ac_ext >&5
! 19982:
! 19983: ac_header_preproc=no
! 19984: fi
! 19985: rm -f conftest.err conftest.$ac_ext
! 19986: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 19987: echo "${ECHO_T}$ac_header_preproc" >&6
! 19988:
! 19989: # So? What about this header?
! 19990: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 19991: yes:no: )
! 19992: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 19993: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 19994: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 19995: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 19996: ac_header_preproc=yes
! 19997: ;;
! 19998: no:yes:* )
! 19999: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 20000: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 20001: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 20002: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 20003: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 20004: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 20005: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 20006: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 20007: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 20008: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 20009: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 20010: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 20011: (
! 20012: cat <<\_ASBOX
! 20013: ## -------------------------------- ##
! 20014: ## Report this to support@coova.org ##
! 20015: ## -------------------------------- ##
! 20016: _ASBOX
! 20017: ) |
! 20018: sed "s/^/$as_me: WARNING: /" >&2
! 20019: ;;
! 20020: esac
! 20021: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 20022: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 20023: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 20024: echo $ECHO_N "(cached) $ECHO_C" >&6
! 20025: else
! 20026: eval "$as_ac_Header=\$ac_header_preproc"
! 20027: fi
! 20028: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 20029: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 20030:
! 20031: fi
! 20032: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 20033: cat >>confdefs.h <<_ACEOF
! 20034: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 20035: _ACEOF
! 20036:
! 20037: fi
! 20038:
! 20039: done
! 20040:
! 20041: echo "$as_me:$LINENO: checking types of arguments for select" >&5
! 20042: echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
! 20043: if test "${ac_cv_func_select_args+set}" = set; then
! 20044: echo $ECHO_N "(cached) $ECHO_C" >&6
! 20045: else
! 20046: for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
! 20047: for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
! 20048: for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
! 20049: cat >conftest.$ac_ext <<_ACEOF
! 20050: /* confdefs.h. */
! 20051: _ACEOF
! 20052: cat confdefs.h >>conftest.$ac_ext
! 20053: cat >>conftest.$ac_ext <<_ACEOF
! 20054: /* end confdefs.h. */
! 20055: $ac_includes_default
! 20056: #if HAVE_SYS_SELECT_H
! 20057: # include <sys/select.h>
! 20058: #endif
! 20059: #if HAVE_SYS_SOCKET_H
! 20060: # include <sys/socket.h>
! 20061: #endif
! 20062:
! 20063: int
! 20064: main ()
! 20065: {
! 20066: extern int select ($ac_arg1,
! 20067: $ac_arg234, $ac_arg234, $ac_arg234,
! 20068: $ac_arg5);
! 20069: ;
! 20070: return 0;
! 20071: }
! 20072: _ACEOF
! 20073: rm -f conftest.$ac_objext
! 20074: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 20075: (eval $ac_compile) 2>conftest.er1
! 20076: ac_status=$?
! 20077: grep -v '^ *+' conftest.er1 >conftest.err
! 20078: rm -f conftest.er1
! 20079: cat conftest.err >&5
! 20080: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20081: (exit $ac_status); } &&
! 20082: { ac_try='test -z "$ac_c_werror_flag"
! 20083: || test ! -s conftest.err'
! 20084: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20085: (eval $ac_try) 2>&5
! 20086: ac_status=$?
! 20087: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20088: (exit $ac_status); }; } &&
! 20089: { ac_try='test -s conftest.$ac_objext'
! 20090: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20091: (eval $ac_try) 2>&5
! 20092: ac_status=$?
! 20093: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20094: (exit $ac_status); }; }; then
! 20095: ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
! 20096: else
! 20097: echo "$as_me: failed program was:" >&5
! 20098: sed 's/^/| /' conftest.$ac_ext >&5
! 20099:
! 20100: fi
! 20101: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 20102: done
! 20103: done
! 20104: done
! 20105: # Provide a safe default value.
! 20106: : ${ac_cv_func_select_args='int,int *,struct timeval *'}
! 20107:
! 20108: fi
! 20109: echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
! 20110: echo "${ECHO_T}$ac_cv_func_select_args" >&6
! 20111: ac_save_IFS=$IFS; IFS=','
! 20112: set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
! 20113: IFS=$ac_save_IFS
! 20114: shift
! 20115:
! 20116: cat >>confdefs.h <<_ACEOF
! 20117: #define SELECT_TYPE_ARG1 $1
! 20118: _ACEOF
! 20119:
! 20120:
! 20121: cat >>confdefs.h <<_ACEOF
! 20122: #define SELECT_TYPE_ARG234 ($2)
! 20123: _ACEOF
! 20124:
! 20125:
! 20126: cat >>confdefs.h <<_ACEOF
! 20127: #define SELECT_TYPE_ARG5 ($3)
! 20128: _ACEOF
! 20129:
! 20130: rm -f conftest*
! 20131:
! 20132:
! 20133:
! 20134:
! 20135:
! 20136:
! 20137:
! 20138:
! 20139:
! 20140:
! 20141:
! 20142:
! 20143:
! 20144: for ac_func in gethostbyname getprotoent gettimeofday inet_ntoa memset select socket strdup strerror strstr strtol getline
! 20145: do
! 20146: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 20147: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 20148: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 20149: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 20150: echo $ECHO_N "(cached) $ECHO_C" >&6
! 20151: else
! 20152: cat >conftest.$ac_ext <<_ACEOF
! 20153: /* confdefs.h. */
! 20154: _ACEOF
! 20155: cat confdefs.h >>conftest.$ac_ext
! 20156: cat >>conftest.$ac_ext <<_ACEOF
! 20157: /* end confdefs.h. */
! 20158: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 20159: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 20160: #define $ac_func innocuous_$ac_func
! 20161:
! 20162: /* System header to define __stub macros and hopefully few prototypes,
! 20163: which can conflict with char $ac_func (); below.
! 20164: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 20165: <limits.h> exists even on freestanding compilers. */
! 20166:
! 20167: #ifdef __STDC__
! 20168: # include <limits.h>
! 20169: #else
! 20170: # include <assert.h>
! 20171: #endif
! 20172:
! 20173: #undef $ac_func
! 20174:
! 20175: /* Override any gcc2 internal prototype to avoid an error. */
! 20176: #ifdef __cplusplus
! 20177: extern "C"
! 20178: {
! 20179: #endif
! 20180: /* We use char because int might match the return type of a gcc2
! 20181: builtin and then its argument prototype would still apply. */
! 20182: char $ac_func ();
! 20183: /* The GNU C library defines this for functions which it implements
! 20184: to always fail with ENOSYS. Some functions are actually named
! 20185: something starting with __ and the normal name is an alias. */
! 20186: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 20187: choke me
! 20188: #else
! 20189: char (*f) () = $ac_func;
! 20190: #endif
! 20191: #ifdef __cplusplus
! 20192: }
! 20193: #endif
! 20194:
! 20195: int
! 20196: main ()
! 20197: {
! 20198: return f != $ac_func;
! 20199: ;
! 20200: return 0;
! 20201: }
! 20202: _ACEOF
! 20203: rm -f conftest.$ac_objext conftest$ac_exeext
! 20204: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 20205: (eval $ac_link) 2>conftest.er1
! 20206: ac_status=$?
! 20207: grep -v '^ *+' conftest.er1 >conftest.err
! 20208: rm -f conftest.er1
! 20209: cat conftest.err >&5
! 20210: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20211: (exit $ac_status); } &&
! 20212: { ac_try='test -z "$ac_c_werror_flag"
! 20213: || test ! -s conftest.err'
! 20214: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20215: (eval $ac_try) 2>&5
! 20216: ac_status=$?
! 20217: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20218: (exit $ac_status); }; } &&
! 20219: { ac_try='test -s conftest$ac_exeext'
! 20220: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20221: (eval $ac_try) 2>&5
! 20222: ac_status=$?
! 20223: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20224: (exit $ac_status); }; }; then
! 20225: eval "$as_ac_var=yes"
! 20226: else
! 20227: echo "$as_me: failed program was:" >&5
! 20228: sed 's/^/| /' conftest.$ac_ext >&5
! 20229:
! 20230: eval "$as_ac_var=no"
! 20231: fi
! 20232: rm -f conftest.err conftest.$ac_objext \
! 20233: conftest$ac_exeext conftest.$ac_ext
! 20234: fi
! 20235: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 20236: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 20237: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 20238: cat >>confdefs.h <<_ACEOF
! 20239: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 20240: _ACEOF
! 20241:
! 20242: fi
! 20243: done
! 20244:
! 20245:
! 20246: echo "$as_me:$LINENO: checking for res_init in -lresolv" >&5
! 20247: echo $ECHO_N "checking for res_init in -lresolv... $ECHO_C" >&6
! 20248: if test "${ac_cv_lib_resolv_res_init+set}" = set; then
! 20249: echo $ECHO_N "(cached) $ECHO_C" >&6
! 20250: else
! 20251: ac_check_lib_save_LIBS=$LIBS
! 20252: LIBS="-lresolv $LIBS"
! 20253: cat >conftest.$ac_ext <<_ACEOF
! 20254: /* confdefs.h. */
! 20255: _ACEOF
! 20256: cat confdefs.h >>conftest.$ac_ext
! 20257: cat >>conftest.$ac_ext <<_ACEOF
! 20258: /* end confdefs.h. */
! 20259:
! 20260: /* Override any gcc2 internal prototype to avoid an error. */
! 20261: #ifdef __cplusplus
! 20262: extern "C"
! 20263: #endif
! 20264: /* We use char because int might match the return type of a gcc2
! 20265: builtin and then its argument prototype would still apply. */
! 20266: char res_init ();
! 20267: int
! 20268: main ()
! 20269: {
! 20270: res_init ();
! 20271: ;
! 20272: return 0;
! 20273: }
! 20274: _ACEOF
! 20275: rm -f conftest.$ac_objext conftest$ac_exeext
! 20276: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 20277: (eval $ac_link) 2>conftest.er1
! 20278: ac_status=$?
! 20279: grep -v '^ *+' conftest.er1 >conftest.err
! 20280: rm -f conftest.er1
! 20281: cat conftest.err >&5
! 20282: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20283: (exit $ac_status); } &&
! 20284: { ac_try='test -z "$ac_c_werror_flag"
! 20285: || test ! -s conftest.err'
! 20286: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20287: (eval $ac_try) 2>&5
! 20288: ac_status=$?
! 20289: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20290: (exit $ac_status); }; } &&
! 20291: { ac_try='test -s conftest$ac_exeext'
! 20292: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 20293: (eval $ac_try) 2>&5
! 20294: ac_status=$?
! 20295: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 20296: (exit $ac_status); }; }; then
! 20297: ac_cv_lib_resolv_res_init=yes
! 20298: else
! 20299: echo "$as_me: failed program was:" >&5
! 20300: sed 's/^/| /' conftest.$ac_ext >&5
! 20301:
! 20302: ac_cv_lib_resolv_res_init=no
! 20303: fi
! 20304: rm -f conftest.err conftest.$ac_objext \
! 20305: conftest$ac_exeext conftest.$ac_ext
! 20306: LIBS=$ac_check_lib_save_LIBS
! 20307: fi
! 20308: echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_init" >&5
! 20309: echo "${ECHO_T}$ac_cv_lib_resolv_res_init" >&6
! 20310: if test $ac_cv_lib_resolv_res_init = yes; then
! 20311: cat >>confdefs.h <<_ACEOF
! 20312: #define HAVE_LIBRESOLV 1
! 20313: _ACEOF
! 20314:
! 20315: LIBS="-lresolv $LIBS"
! 20316:
! 20317: fi
! 20318:
! 20319:
! 20320:
! 20321: ac_config_files="$ac_config_files Makefile bstring/Makefile doc/Makefile src/Makefile www/Makefile conf/Makefile debian/Makefile coova-chilli.spec"
! 20322:
! 20323: cat >confcache <<\_ACEOF
! 20324: # This file is a shell script that caches the results of configure
! 20325: # tests run on this system so they can be shared between configure
! 20326: # scripts and configure runs, see configure's option --config-cache.
! 20327: # It is not useful on other systems. If it contains results you don't
! 20328: # want to keep, you may remove or edit it.
! 20329: #
! 20330: # config.status only pays attention to the cache file if you give it
! 20331: # the --recheck option to rerun configure.
! 20332: #
! 20333: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 20334: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 20335: # following values.
! 20336:
! 20337: _ACEOF
! 20338:
! 20339: # The following way of writing the cache mishandles newlines in values,
! 20340: # but we know of no workaround that is simple, portable, and efficient.
! 20341: # So, don't put newlines in cache variables' values.
! 20342: # Ultrix sh set writes to stderr and can't be redirected directly,
! 20343: # and sets the high bit in the cache file unless we assign to the vars.
! 20344: {
! 20345: (set) 2>&1 |
! 20346: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 20347: *ac_space=\ *)
! 20348: # `set' does not quote correctly, so add quotes (double-quote
! 20349: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 20350: sed -n \
! 20351: "s/'/'\\\\''/g;
! 20352: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 20353: ;;
! 20354: *)
! 20355: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 20356: sed -n \
! 20357: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 20358: ;;
! 20359: esac;
! 20360: } |
! 20361: sed '
! 20362: t clear
! 20363: : clear
! 20364: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 20365: t end
! 20366: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 20367: : end' >>confcache
! 20368: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 20369: if test -w $cache_file; then
! 20370: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 20371: cat confcache >$cache_file
! 20372: else
! 20373: echo "not updating unwritable cache $cache_file"
! 20374: fi
! 20375: fi
! 20376: rm -f confcache
! 20377:
! 20378: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 20379: # Let make expand exec_prefix.
! 20380: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 20381:
! 20382: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 20383: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 20384: # trailing colons and then remove the whole line if VPATH becomes empty
! 20385: # (actually we leave an empty line to preserve line numbers).
! 20386: if test "x$srcdir" = x.; then
! 20387: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 20388: s/:*\$(srcdir):*/:/;
! 20389: s/:*\${srcdir}:*/:/;
! 20390: s/:*@srcdir@:*/:/;
! 20391: s/^\([^=]*=[ ]*\):*/\1/;
! 20392: s/:*$//;
! 20393: s/^[^=]*=[ ]*$//;
! 20394: }'
! 20395: fi
! 20396:
! 20397: DEFS=-DHAVE_CONFIG_H
! 20398:
! 20399: ac_libobjs=
! 20400: ac_ltlibobjs=
! 20401: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 20402: # 1. Remove the extension, and $U if already installed.
! 20403: ac_i=`echo "$ac_i" |
! 20404: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 20405: # 2. Add them.
! 20406: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 20407: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 20408: done
! 20409: LIBOBJS=$ac_libobjs
! 20410:
! 20411: LTLIBOBJS=$ac_ltlibobjs
! 20412:
! 20413:
! 20414: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 20415: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 20416: Usually this means the macro was only invoked conditionally." >&5
! 20417: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 20418: Usually this means the macro was only invoked conditionally." >&2;}
! 20419: { (exit 1); exit 1; }; }
! 20420: fi
! 20421: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 20422: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 20423: Usually this means the macro was only invoked conditionally." >&5
! 20424: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 20425: Usually this means the macro was only invoked conditionally." >&2;}
! 20426: { (exit 1); exit 1; }; }
! 20427: fi
! 20428: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 20429: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 20430: Usually this means the macro was only invoked conditionally." >&5
! 20431: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 20432: Usually this means the macro was only invoked conditionally." >&2;}
! 20433: { (exit 1); exit 1; }; }
! 20434: fi
! 20435:
! 20436: : ${CONFIG_STATUS=./config.status}
! 20437: ac_clean_files_save=$ac_clean_files
! 20438: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 20439: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 20440: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 20441: cat >$CONFIG_STATUS <<_ACEOF
! 20442: #! $SHELL
! 20443: # Generated by $as_me.
! 20444: # Run this file to recreate the current configuration.
! 20445: # Compiler output produced by configure, useful for debugging
! 20446: # configure, is in config.log if it exists.
! 20447:
! 20448: debug=false
! 20449: ac_cs_recheck=false
! 20450: ac_cs_silent=false
! 20451: SHELL=\${CONFIG_SHELL-$SHELL}
! 20452: _ACEOF
! 20453:
! 20454: cat >>$CONFIG_STATUS <<\_ACEOF
! 20455: ## --------------------- ##
! 20456: ## M4sh Initialization. ##
! 20457: ## --------------------- ##
! 20458:
! 20459: # Be Bourne compatible
! 20460: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 20461: emulate sh
! 20462: NULLCMD=:
! 20463: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 20464: # is contrary to our usage. Disable this feature.
! 20465: alias -g '${1+"$@"}'='"$@"'
! 20466: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 20467: set -o posix
! 20468: fi
! 20469: DUALCASE=1; export DUALCASE # for MKS sh
! 20470:
! 20471: # Support unset when possible.
! 20472: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 20473: as_unset=unset
! 20474: else
! 20475: as_unset=false
! 20476: fi
! 20477:
! 20478:
! 20479: # Work around bugs in pre-3.0 UWIN ksh.
! 20480: $as_unset ENV MAIL MAILPATH
! 20481: PS1='$ '
! 20482: PS2='> '
! 20483: PS4='+ '
! 20484:
! 20485: # NLS nuisances.
! 20486: for as_var in \
! 20487: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 20488: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 20489: LC_TELEPHONE LC_TIME
! 20490: do
! 20491: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 20492: eval $as_var=C; export $as_var
! 20493: else
! 20494: $as_unset $as_var
! 20495: fi
! 20496: done
! 20497:
! 20498: # Required to use basename.
! 20499: if expr a : '\(a\)' >/dev/null 2>&1; then
! 20500: as_expr=expr
! 20501: else
! 20502: as_expr=false
! 20503: fi
! 20504:
! 20505: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 20506: as_basename=basename
! 20507: else
! 20508: as_basename=false
! 20509: fi
! 20510:
! 20511:
! 20512: # Name of the executable.
! 20513: as_me=`$as_basename "$0" ||
! 20514: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 20515: X"$0" : 'X\(//\)$' \| \
! 20516: X"$0" : 'X\(/\)$' \| \
! 20517: . : '\(.\)' 2>/dev/null ||
! 20518: echo X/"$0" |
! 20519: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 20520: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 20521: /^X\/\(\/\).*/{ s//\1/; q; }
! 20522: s/.*/./; q'`
! 20523:
! 20524:
! 20525: # PATH needs CR, and LINENO needs CR and PATH.
! 20526: # Avoid depending upon Character Ranges.
! 20527: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 20528: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 20529: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 20530: as_cr_digits='0123456789'
! 20531: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 20532:
! 20533: # The user is always right.
! 20534: if test "${PATH_SEPARATOR+set}" != set; then
! 20535: echo "#! /bin/sh" >conf$$.sh
! 20536: echo "exit 0" >>conf$$.sh
! 20537: chmod +x conf$$.sh
! 20538: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 20539: PATH_SEPARATOR=';'
! 20540: else
! 20541: PATH_SEPARATOR=:
! 20542: fi
! 20543: rm -f conf$$.sh
! 20544: fi
! 20545:
! 20546:
! 20547: as_lineno_1=$LINENO
! 20548: as_lineno_2=$LINENO
! 20549: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 20550: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 20551: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 20552: # Find who we are. Look in the path if we contain no path at all
! 20553: # relative or not.
! 20554: case $0 in
! 20555: *[\\/]* ) as_myself=$0 ;;
! 20556: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 20557: for as_dir in $PATH
! 20558: do
! 20559: IFS=$as_save_IFS
! 20560: test -z "$as_dir" && as_dir=.
! 20561: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 20562: done
! 20563:
! 20564: ;;
! 20565: esac
! 20566: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 20567: # in which case we are not to be found in the path.
! 20568: if test "x$as_myself" = x; then
! 20569: as_myself=$0
! 20570: fi
! 20571: if test ! -f "$as_myself"; then
! 20572: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 20573: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 20574: { (exit 1); exit 1; }; }
! 20575: fi
! 20576: case $CONFIG_SHELL in
! 20577: '')
! 20578: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 20579: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 20580: do
! 20581: IFS=$as_save_IFS
! 20582: test -z "$as_dir" && as_dir=.
! 20583: for as_base in sh bash ksh sh5; do
! 20584: case $as_dir in
! 20585: /*)
! 20586: if ("$as_dir/$as_base" -c '
! 20587: as_lineno_1=$LINENO
! 20588: as_lineno_2=$LINENO
! 20589: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 20590: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 20591: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 20592: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 20593: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 20594: CONFIG_SHELL=$as_dir/$as_base
! 20595: export CONFIG_SHELL
! 20596: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 20597: fi;;
! 20598: esac
! 20599: done
! 20600: done
! 20601: ;;
! 20602: esac
! 20603:
! 20604: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 20605: # uniformly replaced by the line number. The first 'sed' inserts a
! 20606: # line-number line before each line; the second 'sed' does the real
! 20607: # work. The second script uses 'N' to pair each line-number line
! 20608: # with the numbered line, and appends trailing '-' during
! 20609: # substitution so that $LINENO is not a special case at line end.
! 20610: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 20611: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 20612: sed '=' <$as_myself |
! 20613: sed '
! 20614: N
! 20615: s,$,-,
! 20616: : loop
! 20617: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 20618: t loop
! 20619: s,-$,,
! 20620: s,^['$as_cr_digits']*\n,,
! 20621: ' >$as_me.lineno &&
! 20622: chmod +x $as_me.lineno ||
! 20623: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 20624: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 20625: { (exit 1); exit 1; }; }
! 20626:
! 20627: # Don't try to exec as it changes $[0], causing all sort of problems
! 20628: # (the dirname of $[0] is not the place where we might find the
! 20629: # original and so on. Autoconf is especially sensible to this).
! 20630: . ./$as_me.lineno
! 20631: # Exit status is that of the last command.
! 20632: exit
! 20633: }
! 20634:
! 20635:
! 20636: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 20637: *c*,-n*) ECHO_N= ECHO_C='
! 20638: ' ECHO_T=' ' ;;
! 20639: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 20640: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 20641: esac
! 20642:
! 20643: if expr a : '\(a\)' >/dev/null 2>&1; then
! 20644: as_expr=expr
! 20645: else
! 20646: as_expr=false
! 20647: fi
! 20648:
! 20649: rm -f conf$$ conf$$.exe conf$$.file
! 20650: echo >conf$$.file
! 20651: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 20652: # We could just check for DJGPP; but this test a) works b) is more generic
! 20653: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 20654: if test -f conf$$.exe; then
! 20655: # Don't use ln at all; we don't have any links
! 20656: as_ln_s='cp -p'
! 20657: else
! 20658: as_ln_s='ln -s'
! 20659: fi
! 20660: elif ln conf$$.file conf$$ 2>/dev/null; then
! 20661: as_ln_s=ln
! 20662: else
! 20663: as_ln_s='cp -p'
! 20664: fi
! 20665: rm -f conf$$ conf$$.exe conf$$.file
! 20666:
! 20667: if mkdir -p . 2>/dev/null; then
! 20668: as_mkdir_p=:
! 20669: else
! 20670: test -d ./-p && rmdir ./-p
! 20671: as_mkdir_p=false
! 20672: fi
! 20673:
! 20674: as_executable_p="test -f"
! 20675:
! 20676: # Sed expression to map a string onto a valid CPP name.
! 20677: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 20678:
! 20679: # Sed expression to map a string onto a valid variable name.
! 20680: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 20681:
! 20682:
! 20683: # IFS
! 20684: # We need space, tab and new line, in precisely that order.
! 20685: as_nl='
! 20686: '
! 20687: IFS=" $as_nl"
! 20688:
! 20689: # CDPATH.
! 20690: $as_unset CDPATH
! 20691:
! 20692: exec 6>&1
! 20693:
! 20694: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 20695: # report actual input values of CONFIG_FILES etc. instead of their
! 20696: # values after options handling. Logging --version etc. is OK.
! 20697: exec 5>>config.log
! 20698: {
! 20699: echo
! 20700: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 20701: ## Running $as_me. ##
! 20702: _ASBOX
! 20703: } >&5
! 20704: cat >&5 <<_CSEOF
! 20705:
! 20706: This file was extended by coova-chilli $as_me 1.0.12, which was
! 20707: generated by GNU Autoconf 2.59. Invocation command line was
! 20708:
! 20709: CONFIG_FILES = $CONFIG_FILES
! 20710: CONFIG_HEADERS = $CONFIG_HEADERS
! 20711: CONFIG_LINKS = $CONFIG_LINKS
! 20712: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 20713: $ $0 $@
! 20714:
! 20715: _CSEOF
! 20716: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 20717: echo >&5
! 20718: _ACEOF
! 20719:
! 20720: # Files that config.status was made for.
! 20721: if test -n "$ac_config_files"; then
! 20722: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 20723: fi
! 20724:
! 20725: if test -n "$ac_config_headers"; then
! 20726: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 20727: fi
! 20728:
! 20729: if test -n "$ac_config_links"; then
! 20730: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 20731: fi
! 20732:
! 20733: if test -n "$ac_config_commands"; then
! 20734: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 20735: fi
! 20736:
! 20737: cat >>$CONFIG_STATUS <<\_ACEOF
! 20738:
! 20739: ac_cs_usage="\
! 20740: \`$as_me' instantiates files from templates according to the
! 20741: current configuration.
! 20742:
! 20743: Usage: $0 [OPTIONS] [FILE]...
! 20744:
! 20745: -h, --help print this help, then exit
! 20746: -V, --version print version number, then exit
! 20747: -q, --quiet do not print progress messages
! 20748: -d, --debug don't remove temporary files
! 20749: --recheck update $as_me by reconfiguring in the same conditions
! 20750: --file=FILE[:TEMPLATE]
! 20751: instantiate the configuration file FILE
! 20752: --header=FILE[:TEMPLATE]
! 20753: instantiate the configuration header FILE
! 20754:
! 20755: Configuration files:
! 20756: $config_files
! 20757:
! 20758: Configuration headers:
! 20759: $config_headers
! 20760:
! 20761: Configuration commands:
! 20762: $config_commands
! 20763:
! 20764: Report bugs to <bug-autoconf@gnu.org>."
! 20765: _ACEOF
! 20766:
! 20767: cat >>$CONFIG_STATUS <<_ACEOF
! 20768: ac_cs_version="\\
! 20769: coova-chilli config.status 1.0.12
! 20770: configured by $0, generated by GNU Autoconf 2.59,
! 20771: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 20772:
! 20773: Copyright (C) 2003 Free Software Foundation, Inc.
! 20774: This config.status script is free software; the Free Software Foundation
! 20775: gives unlimited permission to copy, distribute and modify it."
! 20776: srcdir=$srcdir
! 20777: INSTALL="$INSTALL"
! 20778: _ACEOF
! 20779:
! 20780: cat >>$CONFIG_STATUS <<\_ACEOF
! 20781: # If no file are specified by the user, then we need to provide default
! 20782: # value. By we need to know if files were specified by the user.
! 20783: ac_need_defaults=:
! 20784: while test $# != 0
! 20785: do
! 20786: case $1 in
! 20787: --*=*)
! 20788: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 20789: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 20790: ac_shift=:
! 20791: ;;
! 20792: -*)
! 20793: ac_option=$1
! 20794: ac_optarg=$2
! 20795: ac_shift=shift
! 20796: ;;
! 20797: *) # This is not an option, so the user has probably given explicit
! 20798: # arguments.
! 20799: ac_option=$1
! 20800: ac_need_defaults=false;;
! 20801: esac
! 20802:
! 20803: case $ac_option in
! 20804: # Handling of the options.
! 20805: _ACEOF
! 20806: cat >>$CONFIG_STATUS <<\_ACEOF
! 20807: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 20808: ac_cs_recheck=: ;;
! 20809: --version | --vers* | -V )
! 20810: echo "$ac_cs_version"; exit 0 ;;
! 20811: --he | --h)
! 20812: # Conflict between --help and --header
! 20813: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 20814: Try \`$0 --help' for more information." >&5
! 20815: echo "$as_me: error: ambiguous option: $1
! 20816: Try \`$0 --help' for more information." >&2;}
! 20817: { (exit 1); exit 1; }; };;
! 20818: --help | --hel | -h )
! 20819: echo "$ac_cs_usage"; exit 0 ;;
! 20820: --debug | --d* | -d )
! 20821: debug=: ;;
! 20822: --file | --fil | --fi | --f )
! 20823: $ac_shift
! 20824: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 20825: ac_need_defaults=false;;
! 20826: --header | --heade | --head | --hea )
! 20827: $ac_shift
! 20828: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 20829: ac_need_defaults=false;;
! 20830: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 20831: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 20832: ac_cs_silent=: ;;
! 20833:
! 20834: # This is an error.
! 20835: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 20836: Try \`$0 --help' for more information." >&5
! 20837: echo "$as_me: error: unrecognized option: $1
! 20838: Try \`$0 --help' for more information." >&2;}
! 20839: { (exit 1); exit 1; }; } ;;
! 20840:
! 20841: *) ac_config_targets="$ac_config_targets $1" ;;
! 20842:
! 20843: esac
! 20844: shift
! 20845: done
! 20846:
! 20847: ac_configure_extra_args=
! 20848:
! 20849: if $ac_cs_silent; then
! 20850: exec 6>/dev/null
! 20851: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 20852: fi
! 20853:
! 20854: _ACEOF
! 20855: cat >>$CONFIG_STATUS <<_ACEOF
! 20856: if \$ac_cs_recheck; then
! 20857: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 20858: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 20859: fi
! 20860:
! 20861: _ACEOF
! 20862:
! 20863: cat >>$CONFIG_STATUS <<_ACEOF
! 20864: #
! 20865: # INIT-COMMANDS section.
! 20866: #
! 20867:
! 20868: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 20869:
! 20870: _ACEOF
! 20871:
! 20872:
! 20873:
! 20874: cat >>$CONFIG_STATUS <<\_ACEOF
! 20875: for ac_config_target in $ac_config_targets
! 20876: do
! 20877: case "$ac_config_target" in
! 20878: # Handling of arguments.
! 20879: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 20880: "bstring/Makefile" ) CONFIG_FILES="$CONFIG_FILES bstring/Makefile" ;;
! 20881: "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
! 20882: "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 20883: "www/Makefile" ) CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
! 20884: "conf/Makefile" ) CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
! 20885: "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
! 20886: "coova-chilli.spec" ) CONFIG_FILES="$CONFIG_FILES coova-chilli.spec" ;;
! 20887: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 20888: "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 20889: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 20890: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 20891: { (exit 1); exit 1; }; };;
! 20892: esac
! 20893: done
! 20894:
! 20895: # If the user did not use the arguments to specify the items to instantiate,
! 20896: # then the envvar interface is used. Set only those that are not.
! 20897: # We use the long form for the default assignment because of an extremely
! 20898: # bizarre bug on SunOS 4.1.3.
! 20899: if $ac_need_defaults; then
! 20900: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 20901: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 20902: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 20903: fi
! 20904:
! 20905: # Have a temporary directory for convenience. Make it in the build tree
! 20906: # simply because there is no reason to put it here, and in addition,
! 20907: # creating and moving files from /tmp can sometimes cause problems.
! 20908: # Create a temporary directory, and hook for its removal unless debugging.
! 20909: $debug ||
! 20910: {
! 20911: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 20912: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 20913: }
! 20914:
! 20915: # Create a (secure) tmp directory for tmp files.
! 20916:
! 20917: {
! 20918: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 20919: test -n "$tmp" && test -d "$tmp"
! 20920: } ||
! 20921: {
! 20922: tmp=./confstat$$-$RANDOM
! 20923: (umask 077 && mkdir $tmp)
! 20924: } ||
! 20925: {
! 20926: echo "$me: cannot create a temporary directory in ." >&2
! 20927: { (exit 1); exit 1; }
! 20928: }
! 20929:
! 20930: _ACEOF
! 20931:
! 20932: cat >>$CONFIG_STATUS <<_ACEOF
! 20933:
! 20934: #
! 20935: # CONFIG_FILES section.
! 20936: #
! 20937:
! 20938: # No need to generate the scripts if there are no CONFIG_FILES.
! 20939: # This happens for instance when ./config.status config.h
! 20940: if test -n "\$CONFIG_FILES"; then
! 20941: # Protect against being on the right side of a sed subst in config.status.
! 20942: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 20943: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 20944: s,@SHELL@,$SHELL,;t t
! 20945: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 20946: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 20947: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 20948: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 20949: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 20950: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 20951: s,@exec_prefix@,$exec_prefix,;t t
! 20952: s,@prefix@,$prefix,;t t
! 20953: s,@program_transform_name@,$program_transform_name,;t t
! 20954: s,@bindir@,$bindir,;t t
! 20955: s,@sbindir@,$sbindir,;t t
! 20956: s,@libexecdir@,$libexecdir,;t t
! 20957: s,@datadir@,$datadir,;t t
! 20958: s,@sysconfdir@,$sysconfdir,;t t
! 20959: s,@sharedstatedir@,$sharedstatedir,;t t
! 20960: s,@localstatedir@,$localstatedir,;t t
! 20961: s,@libdir@,$libdir,;t t
! 20962: s,@includedir@,$includedir,;t t
! 20963: s,@oldincludedir@,$oldincludedir,;t t
! 20964: s,@infodir@,$infodir,;t t
! 20965: s,@mandir@,$mandir,;t t
! 20966: s,@build_alias@,$build_alias,;t t
! 20967: s,@host_alias@,$host_alias,;t t
! 20968: s,@target_alias@,$target_alias,;t t
! 20969: s,@DEFS@,$DEFS,;t t
! 20970: s,@ECHO_C@,$ECHO_C,;t t
! 20971: s,@ECHO_N@,$ECHO_N,;t t
! 20972: s,@ECHO_T@,$ECHO_T,;t t
! 20973: s,@LIBS@,$LIBS,;t t
! 20974: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 20975: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 20976: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 20977: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 20978: s,@PACKAGE@,$PACKAGE,;t t
! 20979: s,@VERSION@,$VERSION,;t t
! 20980: s,@ACLOCAL@,$ACLOCAL,;t t
! 20981: s,@AUTOCONF@,$AUTOCONF,;t t
! 20982: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 20983: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 20984: s,@MAKEINFO@,$MAKEINFO,;t t
! 20985: s,@install_sh@,$install_sh,;t t
! 20986: s,@STRIP@,$STRIP,;t t
! 20987: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 20988: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 20989: s,@mkdir_p@,$mkdir_p,;t t
! 20990: s,@AWK@,$AWK,;t t
! 20991: s,@SET_MAKE@,$SET_MAKE,;t t
! 20992: s,@am__leading_dot@,$am__leading_dot,;t t
! 20993: s,@AMTAR@,$AMTAR,;t t
! 20994: s,@am__tar@,$am__tar,;t t
! 20995: s,@am__untar@,$am__untar,;t t
! 20996: s,@CC@,$CC,;t t
! 20997: s,@CFLAGS@,$CFLAGS,;t t
! 20998: s,@LDFLAGS@,$LDFLAGS,;t t
! 20999: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 21000: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 21001: s,@EXEEXT@,$EXEEXT,;t t
! 21002: s,@OBJEXT@,$OBJEXT,;t t
! 21003: s,@DEPDIR@,$DEPDIR,;t t
! 21004: s,@am__include@,$am__include,;t t
! 21005: s,@am__quote@,$am__quote,;t t
! 21006: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 21007: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 21008: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 21009: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 21010: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 21011: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 21012: s,@build@,$build,;t t
! 21013: s,@build_cpu@,$build_cpu,;t t
! 21014: s,@build_vendor@,$build_vendor,;t t
! 21015: s,@build_os@,$build_os,;t t
! 21016: s,@host@,$host,;t t
! 21017: s,@host_cpu@,$host_cpu,;t t
! 21018: s,@host_vendor@,$host_vendor,;t t
! 21019: s,@host_os@,$host_os,;t t
! 21020: s,@EGREP@,$EGREP,;t t
! 21021: s,@LN_S@,$LN_S,;t t
! 21022: s,@ECHO@,$ECHO,;t t
! 21023: s,@AR@,$AR,;t t
! 21024: s,@ac_ct_AR@,$ac_ct_AR,;t t
! 21025: s,@RANLIB@,$RANLIB,;t t
! 21026: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 21027: s,@CPP@,$CPP,;t t
! 21028: s,@CXX@,$CXX,;t t
! 21029: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 21030: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 21031: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
! 21032: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
! 21033: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
! 21034: s,@CXXCPP@,$CXXCPP,;t t
! 21035: s,@F77@,$F77,;t t
! 21036: s,@FFLAGS@,$FFLAGS,;t t
! 21037: s,@ac_ct_F77@,$ac_ct_F77,;t t
! 21038: s,@LIBTOOL@,$LIBTOOL,;t t
! 21039: s,@LIBOBJS@,$LIBOBJS,;t t
! 21040: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 21041: CEOF
! 21042:
! 21043: _ACEOF
! 21044:
! 21045: cat >>$CONFIG_STATUS <<\_ACEOF
! 21046: # Split the substitutions into bite-sized pieces for seds with
! 21047: # small command number limits, like on Digital OSF/1 and HP-UX.
! 21048: ac_max_sed_lines=48
! 21049: ac_sed_frag=1 # Number of current file.
! 21050: ac_beg=1 # First line for current file.
! 21051: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 21052: ac_more_lines=:
! 21053: ac_sed_cmds=
! 21054: while $ac_more_lines; do
! 21055: if test $ac_beg -gt 1; then
! 21056: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 21057: else
! 21058: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 21059: fi
! 21060: if test ! -s $tmp/subs.frag; then
! 21061: ac_more_lines=false
! 21062: else
! 21063: # The purpose of the label and of the branching condition is to
! 21064: # speed up the sed processing (if there are no `@' at all, there
! 21065: # is no need to browse any of the substitutions).
! 21066: # These are the two extra sed commands mentioned above.
! 21067: (echo ':t
! 21068: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 21069: if test -z "$ac_sed_cmds"; then
! 21070: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 21071: else
! 21072: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 21073: fi
! 21074: ac_sed_frag=`expr $ac_sed_frag + 1`
! 21075: ac_beg=$ac_end
! 21076: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 21077: fi
! 21078: done
! 21079: if test -z "$ac_sed_cmds"; then
! 21080: ac_sed_cmds=cat
! 21081: fi
! 21082: fi # test -n "$CONFIG_FILES"
! 21083:
! 21084: _ACEOF
! 21085: cat >>$CONFIG_STATUS <<\_ACEOF
! 21086: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 21087: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 21088: case $ac_file in
! 21089: - | *:- | *:-:* ) # input from stdin
! 21090: cat >$tmp/stdin
! 21091: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 21092: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 21093: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 21094: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 21095: * ) ac_file_in=$ac_file.in ;;
! 21096: esac
! 21097:
! 21098: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 21099: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 21100: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21101: X"$ac_file" : 'X\(//\)[^/]' \| \
! 21102: X"$ac_file" : 'X\(//\)$' \| \
! 21103: X"$ac_file" : 'X\(/\)' \| \
! 21104: . : '\(.\)' 2>/dev/null ||
! 21105: echo X"$ac_file" |
! 21106: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21107: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21108: /^X\(\/\/\)$/{ s//\1/; q; }
! 21109: /^X\(\/\).*/{ s//\1/; q; }
! 21110: s/.*/./; q'`
! 21111: { if $as_mkdir_p; then
! 21112: mkdir -p "$ac_dir"
! 21113: else
! 21114: as_dir="$ac_dir"
! 21115: as_dirs=
! 21116: while test ! -d "$as_dir"; do
! 21117: as_dirs="$as_dir $as_dirs"
! 21118: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 21119: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21120: X"$as_dir" : 'X\(//\)[^/]' \| \
! 21121: X"$as_dir" : 'X\(//\)$' \| \
! 21122: X"$as_dir" : 'X\(/\)' \| \
! 21123: . : '\(.\)' 2>/dev/null ||
! 21124: echo X"$as_dir" |
! 21125: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21126: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21127: /^X\(\/\/\)$/{ s//\1/; q; }
! 21128: /^X\(\/\).*/{ s//\1/; q; }
! 21129: s/.*/./; q'`
! 21130: done
! 21131: test ! -n "$as_dirs" || mkdir $as_dirs
! 21132: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 21133: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 21134: { (exit 1); exit 1; }; }; }
! 21135:
! 21136: ac_builddir=.
! 21137:
! 21138: if test "$ac_dir" != .; then
! 21139: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 21140: # A "../" for each directory in $ac_dir_suffix.
! 21141: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 21142: else
! 21143: ac_dir_suffix= ac_top_builddir=
! 21144: fi
! 21145:
! 21146: case $srcdir in
! 21147: .) # No --srcdir option. We are building in place.
! 21148: ac_srcdir=.
! 21149: if test -z "$ac_top_builddir"; then
! 21150: ac_top_srcdir=.
! 21151: else
! 21152: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 21153: fi ;;
! 21154: [\\/]* | ?:[\\/]* ) # Absolute path.
! 21155: ac_srcdir=$srcdir$ac_dir_suffix;
! 21156: ac_top_srcdir=$srcdir ;;
! 21157: *) # Relative path.
! 21158: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 21159: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 21160: esac
! 21161:
! 21162: # Do not use `cd foo && pwd` to compute absolute paths, because
! 21163: # the directories may not exist.
! 21164: case `pwd` in
! 21165: .) ac_abs_builddir="$ac_dir";;
! 21166: *)
! 21167: case "$ac_dir" in
! 21168: .) ac_abs_builddir=`pwd`;;
! 21169: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 21170: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 21171: esac;;
! 21172: esac
! 21173: case $ac_abs_builddir in
! 21174: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 21175: *)
! 21176: case ${ac_top_builddir}. in
! 21177: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 21178: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 21179: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 21180: esac;;
! 21181: esac
! 21182: case $ac_abs_builddir in
! 21183: .) ac_abs_srcdir=$ac_srcdir;;
! 21184: *)
! 21185: case $ac_srcdir in
! 21186: .) ac_abs_srcdir=$ac_abs_builddir;;
! 21187: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 21188: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 21189: esac;;
! 21190: esac
! 21191: case $ac_abs_builddir in
! 21192: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 21193: *)
! 21194: case $ac_top_srcdir in
! 21195: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 21196: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 21197: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 21198: esac;;
! 21199: esac
! 21200:
! 21201:
! 21202: case $INSTALL in
! 21203: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 21204: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 21205: esac
! 21206:
! 21207: if test x"$ac_file" != x-; then
! 21208: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 21209: echo "$as_me: creating $ac_file" >&6;}
! 21210: rm -f "$ac_file"
! 21211: fi
! 21212: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 21213: # use $as_me), people would be surprised to read:
! 21214: # /* config.h. Generated by config.status. */
! 21215: if test x"$ac_file" = x-; then
! 21216: configure_input=
! 21217: else
! 21218: configure_input="$ac_file. "
! 21219: fi
! 21220: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 21221: sed 's,.*/,,'` by configure."
! 21222:
! 21223: # First look for the input files in the build tree, otherwise in the
! 21224: # src tree.
! 21225: ac_file_inputs=`IFS=:
! 21226: for f in $ac_file_in; do
! 21227: case $f in
! 21228: -) echo $tmp/stdin ;;
! 21229: [\\/$]*)
! 21230: # Absolute (can't be DOS-style, as IFS=:)
! 21231: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 21232: echo "$as_me: error: cannot find input file: $f" >&2;}
! 21233: { (exit 1); exit 1; }; }
! 21234: echo "$f";;
! 21235: *) # Relative
! 21236: if test -f "$f"; then
! 21237: # Build tree
! 21238: echo "$f"
! 21239: elif test -f "$srcdir/$f"; then
! 21240: # Source tree
! 21241: echo "$srcdir/$f"
! 21242: else
! 21243: # /dev/null tree
! 21244: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 21245: echo "$as_me: error: cannot find input file: $f" >&2;}
! 21246: { (exit 1); exit 1; }; }
! 21247: fi;;
! 21248: esac
! 21249: done` || { (exit 1); exit 1; }
! 21250: _ACEOF
! 21251: cat >>$CONFIG_STATUS <<_ACEOF
! 21252: sed "$ac_vpsub
! 21253: $extrasub
! 21254: _ACEOF
! 21255: cat >>$CONFIG_STATUS <<\_ACEOF
! 21256: :t
! 21257: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 21258: s,@configure_input@,$configure_input,;t t
! 21259: s,@srcdir@,$ac_srcdir,;t t
! 21260: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 21261: s,@top_srcdir@,$ac_top_srcdir,;t t
! 21262: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 21263: s,@builddir@,$ac_builddir,;t t
! 21264: s,@abs_builddir@,$ac_abs_builddir,;t t
! 21265: s,@top_builddir@,$ac_top_builddir,;t t
! 21266: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 21267: s,@INSTALL@,$ac_INSTALL,;t t
! 21268: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 21269: rm -f $tmp/stdin
! 21270: if test x"$ac_file" != x-; then
! 21271: mv $tmp/out $ac_file
! 21272: else
! 21273: cat $tmp/out
! 21274: rm -f $tmp/out
! 21275: fi
! 21276:
! 21277: done
! 21278: _ACEOF
! 21279: cat >>$CONFIG_STATUS <<\_ACEOF
! 21280:
! 21281: #
! 21282: # CONFIG_HEADER section.
! 21283: #
! 21284:
! 21285: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 21286: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 21287: #
! 21288: # ac_d sets the value in "#define NAME VALUE" lines.
! 21289: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 21290: ac_dB='[ ].*$,\1#\2'
! 21291: ac_dC=' '
! 21292: ac_dD=',;t'
! 21293: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 21294: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 21295: ac_uB='$,\1#\2define\3'
! 21296: ac_uC=' '
! 21297: ac_uD=',;t'
! 21298:
! 21299: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 21300: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 21301: case $ac_file in
! 21302: - | *:- | *:-:* ) # input from stdin
! 21303: cat >$tmp/stdin
! 21304: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 21305: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 21306: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 21307: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 21308: * ) ac_file_in=$ac_file.in ;;
! 21309: esac
! 21310:
! 21311: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 21312: echo "$as_me: creating $ac_file" >&6;}
! 21313:
! 21314: # First look for the input files in the build tree, otherwise in the
! 21315: # src tree.
! 21316: ac_file_inputs=`IFS=:
! 21317: for f in $ac_file_in; do
! 21318: case $f in
! 21319: -) echo $tmp/stdin ;;
! 21320: [\\/$]*)
! 21321: # Absolute (can't be DOS-style, as IFS=:)
! 21322: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 21323: echo "$as_me: error: cannot find input file: $f" >&2;}
! 21324: { (exit 1); exit 1; }; }
! 21325: # Do quote $f, to prevent DOS paths from being IFS'd.
! 21326: echo "$f";;
! 21327: *) # Relative
! 21328: if test -f "$f"; then
! 21329: # Build tree
! 21330: echo "$f"
! 21331: elif test -f "$srcdir/$f"; then
! 21332: # Source tree
! 21333: echo "$srcdir/$f"
! 21334: else
! 21335: # /dev/null tree
! 21336: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 21337: echo "$as_me: error: cannot find input file: $f" >&2;}
! 21338: { (exit 1); exit 1; }; }
! 21339: fi;;
! 21340: esac
! 21341: done` || { (exit 1); exit 1; }
! 21342: # Remove the trailing spaces.
! 21343: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 21344:
! 21345: _ACEOF
! 21346:
! 21347: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 21348: # `conftest.undefs', that substitutes the proper values into
! 21349: # config.h.in to produce config.h. The first handles `#define'
! 21350: # templates, and the second `#undef' templates.
! 21351: # And first: Protect against being on the right side of a sed subst in
! 21352: # config.status. Protect against being in an unquoted here document
! 21353: # in config.status.
! 21354: rm -f conftest.defines conftest.undefs
! 21355: # Using a here document instead of a string reduces the quoting nightmare.
! 21356: # Putting comments in sed scripts is not portable.
! 21357: #
! 21358: # `end' is used to avoid that the second main sed command (meant for
! 21359: # 0-ary CPP macros) applies to n-ary macro definitions.
! 21360: # See the Autoconf documentation for `clear'.
! 21361: cat >confdef2sed.sed <<\_ACEOF
! 21362: s/[\\&,]/\\&/g
! 21363: s,[\\$`],\\&,g
! 21364: t clear
! 21365: : clear
! 21366: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 21367: t end
! 21368: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 21369: : end
! 21370: _ACEOF
! 21371: # If some macros were called several times there might be several times
! 21372: # the same #defines, which is useless. Nevertheless, we may not want to
! 21373: # sort them, since we want the *last* AC-DEFINE to be honored.
! 21374: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 21375: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 21376: rm -f confdef2sed.sed
! 21377:
! 21378: # This sed command replaces #undef with comments. This is necessary, for
! 21379: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 21380: # on some systems where configure will not decide to define it.
! 21381: cat >>conftest.undefs <<\_ACEOF
! 21382: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 21383: _ACEOF
! 21384:
! 21385: # Break up conftest.defines because some shells have a limit on the size
! 21386: # of here documents, and old seds have small limits too (100 cmds).
! 21387: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 21388: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 21389: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 21390: echo ' :' >>$CONFIG_STATUS
! 21391: rm -f conftest.tail
! 21392: while grep . conftest.defines >/dev/null
! 21393: do
! 21394: # Write a limited-size here document to $tmp/defines.sed.
! 21395: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 21396: # Speed up: don't consider the non `#define' lines.
! 21397: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 21398: # Work around the forget-to-reset-the-flag bug.
! 21399: echo 't clr' >>$CONFIG_STATUS
! 21400: echo ': clr' >>$CONFIG_STATUS
! 21401: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 21402: echo 'CEOF
! 21403: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 21404: rm -f $tmp/in
! 21405: mv $tmp/out $tmp/in
! 21406: ' >>$CONFIG_STATUS
! 21407: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 21408: rm -f conftest.defines
! 21409: mv conftest.tail conftest.defines
! 21410: done
! 21411: rm -f conftest.defines
! 21412: echo ' fi # grep' >>$CONFIG_STATUS
! 21413: echo >>$CONFIG_STATUS
! 21414:
! 21415: # Break up conftest.undefs because some shells have a limit on the size
! 21416: # of here documents, and old seds have small limits too (100 cmds).
! 21417: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 21418: rm -f conftest.tail
! 21419: while grep . conftest.undefs >/dev/null
! 21420: do
! 21421: # Write a limited-size here document to $tmp/undefs.sed.
! 21422: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 21423: # Speed up: don't consider the non `#undef'
! 21424: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 21425: # Work around the forget-to-reset-the-flag bug.
! 21426: echo 't clr' >>$CONFIG_STATUS
! 21427: echo ': clr' >>$CONFIG_STATUS
! 21428: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 21429: echo 'CEOF
! 21430: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 21431: rm -f $tmp/in
! 21432: mv $tmp/out $tmp/in
! 21433: ' >>$CONFIG_STATUS
! 21434: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 21435: rm -f conftest.undefs
! 21436: mv conftest.tail conftest.undefs
! 21437: done
! 21438: rm -f conftest.undefs
! 21439:
! 21440: cat >>$CONFIG_STATUS <<\_ACEOF
! 21441: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 21442: # use $as_me), people would be surprised to read:
! 21443: # /* config.h. Generated by config.status. */
! 21444: if test x"$ac_file" = x-; then
! 21445: echo "/* Generated by configure. */" >$tmp/config.h
! 21446: else
! 21447: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 21448: fi
! 21449: cat $tmp/in >>$tmp/config.h
! 21450: rm -f $tmp/in
! 21451: if test x"$ac_file" != x-; then
! 21452: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 21453: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 21454: echo "$as_me: $ac_file is unchanged" >&6;}
! 21455: else
! 21456: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 21457: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21458: X"$ac_file" : 'X\(//\)[^/]' \| \
! 21459: X"$ac_file" : 'X\(//\)$' \| \
! 21460: X"$ac_file" : 'X\(/\)' \| \
! 21461: . : '\(.\)' 2>/dev/null ||
! 21462: echo X"$ac_file" |
! 21463: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21464: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21465: /^X\(\/\/\)$/{ s//\1/; q; }
! 21466: /^X\(\/\).*/{ s//\1/; q; }
! 21467: s/.*/./; q'`
! 21468: { if $as_mkdir_p; then
! 21469: mkdir -p "$ac_dir"
! 21470: else
! 21471: as_dir="$ac_dir"
! 21472: as_dirs=
! 21473: while test ! -d "$as_dir"; do
! 21474: as_dirs="$as_dir $as_dirs"
! 21475: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 21476: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21477: X"$as_dir" : 'X\(//\)[^/]' \| \
! 21478: X"$as_dir" : 'X\(//\)$' \| \
! 21479: X"$as_dir" : 'X\(/\)' \| \
! 21480: . : '\(.\)' 2>/dev/null ||
! 21481: echo X"$as_dir" |
! 21482: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21483: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21484: /^X\(\/\/\)$/{ s//\1/; q; }
! 21485: /^X\(\/\).*/{ s//\1/; q; }
! 21486: s/.*/./; q'`
! 21487: done
! 21488: test ! -n "$as_dirs" || mkdir $as_dirs
! 21489: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 21490: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 21491: { (exit 1); exit 1; }; }; }
! 21492:
! 21493: rm -f $ac_file
! 21494: mv $tmp/config.h $ac_file
! 21495: fi
! 21496: else
! 21497: cat $tmp/config.h
! 21498: rm -f $tmp/config.h
! 21499: fi
! 21500: # Compute $ac_file's index in $config_headers.
! 21501: _am_stamp_count=1
! 21502: for _am_header in $config_headers :; do
! 21503: case $_am_header in
! 21504: $ac_file | $ac_file:* )
! 21505: break ;;
! 21506: * )
! 21507: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 21508: esac
! 21509: done
! 21510: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 21511: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21512: X$ac_file : 'X\(//\)[^/]' \| \
! 21513: X$ac_file : 'X\(//\)$' \| \
! 21514: X$ac_file : 'X\(/\)' \| \
! 21515: . : '\(.\)' 2>/dev/null ||
! 21516: echo X$ac_file |
! 21517: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21518: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21519: /^X\(\/\/\)$/{ s//\1/; q; }
! 21520: /^X\(\/\).*/{ s//\1/; q; }
! 21521: s/.*/./; q'`/stamp-h$_am_stamp_count
! 21522: done
! 21523: _ACEOF
! 21524: cat >>$CONFIG_STATUS <<\_ACEOF
! 21525:
! 21526: #
! 21527: # CONFIG_COMMANDS section.
! 21528: #
! 21529: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 21530: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 21531: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 21532: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 21533: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21534: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 21535: X"$ac_dest" : 'X\(//\)$' \| \
! 21536: X"$ac_dest" : 'X\(/\)' \| \
! 21537: . : '\(.\)' 2>/dev/null ||
! 21538: echo X"$ac_dest" |
! 21539: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21540: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21541: /^X\(\/\/\)$/{ s//\1/; q; }
! 21542: /^X\(\/\).*/{ s//\1/; q; }
! 21543: s/.*/./; q'`
! 21544: { if $as_mkdir_p; then
! 21545: mkdir -p "$ac_dir"
! 21546: else
! 21547: as_dir="$ac_dir"
! 21548: as_dirs=
! 21549: while test ! -d "$as_dir"; do
! 21550: as_dirs="$as_dir $as_dirs"
! 21551: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 21552: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21553: X"$as_dir" : 'X\(//\)[^/]' \| \
! 21554: X"$as_dir" : 'X\(//\)$' \| \
! 21555: X"$as_dir" : 'X\(/\)' \| \
! 21556: . : '\(.\)' 2>/dev/null ||
! 21557: echo X"$as_dir" |
! 21558: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21559: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21560: /^X\(\/\/\)$/{ s//\1/; q; }
! 21561: /^X\(\/\).*/{ s//\1/; q; }
! 21562: s/.*/./; q'`
! 21563: done
! 21564: test ! -n "$as_dirs" || mkdir $as_dirs
! 21565: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 21566: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 21567: { (exit 1); exit 1; }; }; }
! 21568:
! 21569: ac_builddir=.
! 21570:
! 21571: if test "$ac_dir" != .; then
! 21572: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 21573: # A "../" for each directory in $ac_dir_suffix.
! 21574: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 21575: else
! 21576: ac_dir_suffix= ac_top_builddir=
! 21577: fi
! 21578:
! 21579: case $srcdir in
! 21580: .) # No --srcdir option. We are building in place.
! 21581: ac_srcdir=.
! 21582: if test -z "$ac_top_builddir"; then
! 21583: ac_top_srcdir=.
! 21584: else
! 21585: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 21586: fi ;;
! 21587: [\\/]* | ?:[\\/]* ) # Absolute path.
! 21588: ac_srcdir=$srcdir$ac_dir_suffix;
! 21589: ac_top_srcdir=$srcdir ;;
! 21590: *) # Relative path.
! 21591: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 21592: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 21593: esac
! 21594:
! 21595: # Do not use `cd foo && pwd` to compute absolute paths, because
! 21596: # the directories may not exist.
! 21597: case `pwd` in
! 21598: .) ac_abs_builddir="$ac_dir";;
! 21599: *)
! 21600: case "$ac_dir" in
! 21601: .) ac_abs_builddir=`pwd`;;
! 21602: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 21603: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 21604: esac;;
! 21605: esac
! 21606: case $ac_abs_builddir in
! 21607: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 21608: *)
! 21609: case ${ac_top_builddir}. in
! 21610: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 21611: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 21612: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 21613: esac;;
! 21614: esac
! 21615: case $ac_abs_builddir in
! 21616: .) ac_abs_srcdir=$ac_srcdir;;
! 21617: *)
! 21618: case $ac_srcdir in
! 21619: .) ac_abs_srcdir=$ac_abs_builddir;;
! 21620: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 21621: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 21622: esac;;
! 21623: esac
! 21624: case $ac_abs_builddir in
! 21625: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 21626: *)
! 21627: case $ac_top_srcdir in
! 21628: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 21629: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 21630: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 21631: esac;;
! 21632: esac
! 21633:
! 21634:
! 21635: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 21636: echo "$as_me: executing $ac_dest commands" >&6;}
! 21637: case $ac_dest in
! 21638: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 21639: # Strip MF so we end up with the name of the file.
! 21640: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 21641: # Check whether this is an Automake generated Makefile or not.
! 21642: # We used to match only the files named `Makefile.in', but
! 21643: # some people rename them; so instead we look at the file content.
! 21644: # Grep'ing the first line is not enough: some people post-process
! 21645: # each Makefile.in and add a new line on top of each file to say so.
! 21646: # So let's grep whole file.
! 21647: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 21648: dirpart=`(dirname "$mf") 2>/dev/null ||
! 21649: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21650: X"$mf" : 'X\(//\)[^/]' \| \
! 21651: X"$mf" : 'X\(//\)$' \| \
! 21652: X"$mf" : 'X\(/\)' \| \
! 21653: . : '\(.\)' 2>/dev/null ||
! 21654: echo X"$mf" |
! 21655: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21656: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21657: /^X\(\/\/\)$/{ s//\1/; q; }
! 21658: /^X\(\/\).*/{ s//\1/; q; }
! 21659: s/.*/./; q'`
! 21660: else
! 21661: continue
! 21662: fi
! 21663: # Extract the definition of DEPDIR, am__include, and am__quote
! 21664: # from the Makefile without running `make'.
! 21665: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 21666: test -z "$DEPDIR" && continue
! 21667: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 21668: test -z "am__include" && continue
! 21669: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 21670: # When using ansi2knr, U may be empty or an underscore; expand it
! 21671: U=`sed -n 's/^U = //p' < "$mf"`
! 21672: # Find all dependency output files, they are included files with
! 21673: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 21674: # simplest approach to changing $(DEPDIR) to its actual value in the
! 21675: # expansion.
! 21676: for file in `sed -n "
! 21677: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 21678: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 21679: # Make sure the directory exists.
! 21680: test -f "$dirpart/$file" && continue
! 21681: fdir=`(dirname "$file") 2>/dev/null ||
! 21682: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21683: X"$file" : 'X\(//\)[^/]' \| \
! 21684: X"$file" : 'X\(//\)$' \| \
! 21685: X"$file" : 'X\(/\)' \| \
! 21686: . : '\(.\)' 2>/dev/null ||
! 21687: echo X"$file" |
! 21688: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21689: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21690: /^X\(\/\/\)$/{ s//\1/; q; }
! 21691: /^X\(\/\).*/{ s//\1/; q; }
! 21692: s/.*/./; q'`
! 21693: { if $as_mkdir_p; then
! 21694: mkdir -p $dirpart/$fdir
! 21695: else
! 21696: as_dir=$dirpart/$fdir
! 21697: as_dirs=
! 21698: while test ! -d "$as_dir"; do
! 21699: as_dirs="$as_dir $as_dirs"
! 21700: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 21701: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21702: X"$as_dir" : 'X\(//\)[^/]' \| \
! 21703: X"$as_dir" : 'X\(//\)$' \| \
! 21704: X"$as_dir" : 'X\(/\)' \| \
! 21705: . : '\(.\)' 2>/dev/null ||
! 21706: echo X"$as_dir" |
! 21707: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 21708: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 21709: /^X\(\/\/\)$/{ s//\1/; q; }
! 21710: /^X\(\/\).*/{ s//\1/; q; }
! 21711: s/.*/./; q'`
! 21712: done
! 21713: test ! -n "$as_dirs" || mkdir $as_dirs
! 21714: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 21715: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 21716: { (exit 1); exit 1; }; }; }
! 21717:
! 21718: # echo "creating $dirpart/$file"
! 21719: echo '# dummy' > "$dirpart/$file"
! 21720: done
! 21721: done
! 21722: ;;
! 21723: esac
! 21724: done
! 21725: _ACEOF
! 21726:
! 21727: cat >>$CONFIG_STATUS <<\_ACEOF
! 21728:
! 21729: { (exit 0); exit 0; }
! 21730: _ACEOF
! 21731: chmod +x $CONFIG_STATUS
! 21732: ac_clean_files=$ac_clean_files_save
! 21733:
! 21734:
! 21735: # configure is writing to config.log, and then calls config.status.
! 21736: # config.status does its own redirection, appending to config.log.
! 21737: # Unfortunately, on DOS this fails, as config.log is still kept open
! 21738: # by configure, so config.status won't be able to write to it; its
! 21739: # output is simply discarded. So we exec the FD to /dev/null,
! 21740: # effectively closing config.log, so it can be properly (re)opened and
! 21741: # appended to by config.status. When coming back to configure, we
! 21742: # need to make the FD available again.
! 21743: if test "$no_create" != yes; then
! 21744: ac_cs_success=:
! 21745: ac_config_status_args=
! 21746: test "$silent" = yes &&
! 21747: ac_config_status_args="$ac_config_status_args --quiet"
! 21748: exec 5>/dev/null
! 21749: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 21750: exec 5>>config.log
! 21751: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 21752: # would make configure fail if this is the last instruction.
! 21753: $ac_cs_success || { (exit 1); exit 1; }
! 21754: fi
! 21755:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>