Annotation of sql/sqlite/libltdl/configure, revision 1.1
1.1 ! misha 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.57.
! 4: #
! 5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 6: # Free Software Foundation, Inc.
! 7: # This configure script is free software; the Free Software Foundation
! 8: # gives unlimited permission to copy, distribute and modify it.
! 9: ## --------------------- ##
! 10: ## M4sh Initialization. ##
! 11: ## --------------------- ##
! 12:
! 13: # Be Bourne compatible
! 14: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 15: emulate sh
! 16: NULLCMD=:
! 17: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 18: # is contrary to our usage. Disable this feature.
! 19: alias -g '${1+"$@"}'='"$@"'
! 20: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 21: set -o posix
! 22: fi
! 23:
! 24: # Support unset when possible.
! 25: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 26: as_unset=unset
! 27: else
! 28: as_unset=false
! 29: fi
! 30:
! 31:
! 32: # Work around bugs in pre-3.0 UWIN ksh.
! 33: $as_unset ENV MAIL MAILPATH
! 34: PS1='$ '
! 35: PS2='> '
! 36: PS4='+ '
! 37:
! 38: # NLS nuisances.
! 39: for as_var in \
! 40: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 41: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 42: LC_TELEPHONE LC_TIME
! 43: do
! 44: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 45: eval $as_var=C; export $as_var
! 46: else
! 47: $as_unset $as_var
! 48: fi
! 49: done
! 50:
! 51: # Required to use basename.
! 52: if expr a : '\(a\)' >/dev/null 2>&1; then
! 53: as_expr=expr
! 54: else
! 55: as_expr=false
! 56: fi
! 57:
! 58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 59: as_basename=basename
! 60: else
! 61: as_basename=false
! 62: fi
! 63:
! 64:
! 65: # Name of the executable.
! 66: as_me=`$as_basename "$0" ||
! 67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 68: X"$0" : 'X\(//\)$' \| \
! 69: X"$0" : 'X\(/\)$' \| \
! 70: . : '\(.\)' 2>/dev/null ||
! 71: echo X/"$0" |
! 72: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 73: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 74: /^X\/\(\/\).*/{ s//\1/; q; }
! 75: s/.*/./; q'`
! 76:
! 77:
! 78: # PATH needs CR, and LINENO needs CR and PATH.
! 79: # Avoid depending upon Character Ranges.
! 80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 83: as_cr_digits='0123456789'
! 84: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 85:
! 86: # The user is always right.
! 87: if test "${PATH_SEPARATOR+set}" != set; then
! 88: echo "#! /bin/sh" >conf$$.sh
! 89: echo "exit 0" >>conf$$.sh
! 90: chmod +x conf$$.sh
! 91: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 92: PATH_SEPARATOR=';'
! 93: else
! 94: PATH_SEPARATOR=:
! 95: fi
! 96: rm -f conf$$.sh
! 97: fi
! 98:
! 99:
! 100: as_lineno_1=$LINENO
! 101: as_lineno_2=$LINENO
! 102: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 103: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 104: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 105: # Find who we are. Look in the path if we contain no path at all
! 106: # relative or not.
! 107: case $0 in
! 108: *[\\/]* ) as_myself=$0 ;;
! 109: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 110: for as_dir in $PATH
! 111: do
! 112: IFS=$as_save_IFS
! 113: test -z "$as_dir" && as_dir=.
! 114: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 115: done
! 116:
! 117: ;;
! 118: esac
! 119: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 120: # in which case we are not to be found in the path.
! 121: if test "x$as_myself" = x; then
! 122: as_myself=$0
! 123: fi
! 124: if test ! -f "$as_myself"; then
! 125: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
! 126: { (exit 1); exit 1; }; }
! 127: fi
! 128: case $CONFIG_SHELL in
! 129: '')
! 130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 132: do
! 133: IFS=$as_save_IFS
! 134: test -z "$as_dir" && as_dir=.
! 135: for as_base in sh bash ksh sh5; do
! 136: case $as_dir in
! 137: /*)
! 138: if ("$as_dir/$as_base" -c '
! 139: as_lineno_1=$LINENO
! 140: as_lineno_2=$LINENO
! 141: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 142: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 143: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 144: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 145: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 146: CONFIG_SHELL=$as_dir/$as_base
! 147: export CONFIG_SHELL
! 148: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 149: fi;;
! 150: esac
! 151: done
! 152: done
! 153: ;;
! 154: esac
! 155:
! 156: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 157: # uniformly replaced by the line number. The first 'sed' inserts a
! 158: # line-number line before each line; the second 'sed' does the real
! 159: # work. The second script uses 'N' to pair each line-number line
! 160: # with the numbered line, and appends trailing '-' during
! 161: # substitution so that $LINENO is not a special case at line end.
! 162: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 163: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 164: sed '=' <$as_myself |
! 165: sed '
! 166: N
! 167: s,$,-,
! 168: : loop
! 169: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 170: t loop
! 171: s,-$,,
! 172: s,^['$as_cr_digits']*\n,,
! 173: ' >$as_me.lineno &&
! 174: chmod +x $as_me.lineno ||
! 175: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 176: { (exit 1); exit 1; }; }
! 177:
! 178: # Don't try to exec as it changes $[0], causing all sort of problems
! 179: # (the dirname of $[0] is not the place where we might find the
! 180: # original and so on. Autoconf is especially sensible to this).
! 181: . ./$as_me.lineno
! 182: # Exit status is that of the last command.
! 183: exit
! 184: }
! 185:
! 186:
! 187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 188: *c*,-n*) ECHO_N= ECHO_C='
! 189: ' ECHO_T=' ' ;;
! 190: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 191: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 192: esac
! 193:
! 194: if expr a : '\(a\)' >/dev/null 2>&1; then
! 195: as_expr=expr
! 196: else
! 197: as_expr=false
! 198: fi
! 199:
! 200: rm -f conf$$ conf$$.exe conf$$.file
! 201: echo >conf$$.file
! 202: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 203: # We could just check for DJGPP; but this test a) works b) is more generic
! 204: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 205: if test -f conf$$.exe; then
! 206: # Don't use ln at all; we don't have any links
! 207: as_ln_s='cp -p'
! 208: else
! 209: as_ln_s='ln -s'
! 210: fi
! 211: elif ln conf$$.file conf$$ 2>/dev/null; then
! 212: as_ln_s=ln
! 213: else
! 214: as_ln_s='cp -p'
! 215: fi
! 216: rm -f conf$$ conf$$.exe conf$$.file
! 217:
! 218: if mkdir -p . 2>/dev/null; then
! 219: as_mkdir_p=:
! 220: else
! 221: as_mkdir_p=false
! 222: fi
! 223:
! 224: as_executable_p="test -f"
! 225:
! 226: # Sed expression to map a string onto a valid CPP name.
! 227: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 228:
! 229: # Sed expression to map a string onto a valid variable name.
! 230: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 231:
! 232:
! 233: # IFS
! 234: # We need space, tab and new line, in precisely that order.
! 235: as_nl='
! 236: '
! 237: IFS=" $as_nl"
! 238:
! 239: # CDPATH.
! 240: $as_unset CDPATH
! 241:
! 242:
! 243: # Find the correct PATH separator. Usually this is `:', but
! 244: # DJGPP uses `;' like DOS.
! 245: if test "X${PATH_SEPARATOR+set}" != Xset; then
! 246: UNAME=${UNAME-`uname 2>/dev/null`}
! 247: case X$UNAME in
! 248: *-DOS) lt_cv_sys_path_separator=';' ;;
! 249: *) lt_cv_sys_path_separator=':' ;;
! 250: esac
! 251: PATH_SEPARATOR=$lt_cv_sys_path_separator
! 252: fi
! 253:
! 254:
! 255: # Check that we are running under the correct shell.
! 256: SHELL=${CONFIG_SHELL-/bin/sh}
! 257:
! 258: case X$ECHO in
! 259: X*--fallback-echo)
! 260: # Remove one level of quotation (which was required for Make).
! 261: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 262: ;;
! 263: esac
! 264:
! 265: echo=${ECHO-echo}
! 266: if test "X$1" = X--no-reexec; then
! 267: # Discard the --no-reexec flag, and continue.
! 268: shift
! 269: elif test "X$1" = X--fallback-echo; then
! 270: # Avoid inline document here, it may be left over
! 271: :
! 272: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
! 273: # Yippee, $echo works!
! 274: :
! 275: else
! 276: # Restart under the correct shell.
! 277: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 278: fi
! 279:
! 280: if test "X$1" = X--fallback-echo; then
! 281: # used as fallback echo
! 282: shift
! 283: cat <<EOF
! 284:
! 285: EOF
! 286: exit 0
! 287: fi
! 288:
! 289: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 290: # if CDPATH is set.
! 291: if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
! 292:
! 293: if test -z "$ECHO"; then
! 294: if test "X${echo_test_string+set}" != Xset; then
! 295: # find a string as large as possible, as long as the shell can cope with it
! 296: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 297: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 298: if (echo_test_string="`eval $cmd`") 2>/dev/null &&
! 299: echo_test_string="`eval $cmd`" &&
! 300: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
! 301: then
! 302: break
! 303: fi
! 304: done
! 305: fi
! 306:
! 307: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 308: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 309: test "X$echo_testing_string" = "X$echo_test_string"; then
! 310: :
! 311: else
! 312: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 313: # backslashes. This makes it impossible to quote backslashes using
! 314: # echo "$something" | sed 's/\\/\\\\/g'
! 315: #
! 316: # So, first we look for a working echo in the user's PATH.
! 317:
! 318: IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 319: for dir in $PATH /usr/ucb; do
! 320: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 321: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 322: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 323: test "X$echo_testing_string" = "X$echo_test_string"; then
! 324: echo="$dir/echo"
! 325: break
! 326: fi
! 327: done
! 328: IFS="$save_ifs"
! 329:
! 330: if test "X$echo" = Xecho; then
! 331: # We didn't find a better echo, so look for alternatives.
! 332: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
! 333: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
! 334: test "X$echo_testing_string" = "X$echo_test_string"; then
! 335: # This shell has a builtin print -r that does the trick.
! 336: echo='print -r'
! 337: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
! 338: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 339: # If we have ksh, try running configure again with it.
! 340: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 341: export ORIGINAL_CONFIG_SHELL
! 342: CONFIG_SHELL=/bin/ksh
! 343: export CONFIG_SHELL
! 344: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 345: else
! 346: # Try using printf.
! 347: echo='printf %s\n'
! 348: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 349: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 350: test "X$echo_testing_string" = "X$echo_test_string"; then
! 351: # Cool, printf works
! 352: :
! 353: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 354: test "X$echo_testing_string" = 'X\t' &&
! 355: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 356: test "X$echo_testing_string" = "X$echo_test_string"; then
! 357: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 358: export CONFIG_SHELL
! 359: SHELL="$CONFIG_SHELL"
! 360: export SHELL
! 361: echo="$CONFIG_SHELL $0 --fallback-echo"
! 362: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 363: test "X$echo_testing_string" = 'X\t' &&
! 364: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 365: test "X$echo_testing_string" = "X$echo_test_string"; then
! 366: echo="$CONFIG_SHELL $0 --fallback-echo"
! 367: else
! 368: # maybe with a smaller string...
! 369: prev=:
! 370:
! 371: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 372: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
! 373: then
! 374: break
! 375: fi
! 376: prev="$cmd"
! 377: done
! 378:
! 379: if test "$prev" != 'sed 50q "$0"'; then
! 380: echo_test_string=`eval $prev`
! 381: export echo_test_string
! 382: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 383: else
! 384: # Oops. We lost completely, so just stick with echo.
! 385: echo=echo
! 386: fi
! 387: fi
! 388: fi
! 389: fi
! 390: fi
! 391: fi
! 392:
! 393: # Copy echo and quote the copy suitably for passing to libtool from
! 394: # the Makefile, instead of quoting the original, which is used later.
! 395: ECHO=$echo
! 396: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 397: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 398: fi
! 399:
! 400:
! 401:
! 402: # Name of the host.
! 403: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 404: # so uname gets run too.
! 405: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 406:
! 407: exec 6>&1
! 408:
! 409: #
! 410: # Initializations.
! 411: #
! 412: ac_default_prefix=/usr/local
! 413: ac_config_libobj_dir=.
! 414: cross_compiling=no
! 415: subdirs=
! 416: MFLAGS=
! 417: MAKEFLAGS=
! 418: SHELL=${CONFIG_SHELL-/bin/sh}
! 419:
! 420: # Maximum number of lines to put in a shell here document.
! 421: # This variable seems obsolete. It should probably be removed, and
! 422: # only ac_max_sed_lines should be used.
! 423: : ${ac_max_here_lines=38}
! 424:
! 425: # Identity of this package.
! 426: PACKAGE_NAME=
! 427: PACKAGE_TARNAME=
! 428: PACKAGE_VERSION=
! 429: PACKAGE_STRING=
! 430: PACKAGE_BUGREPORT=
! 431:
! 432: ac_unique_file="ltdl.c"
! 433: # Factoring default headers for most tests.
! 434: ac_includes_default="\
! 435: #include <stdio.h>
! 436: #if HAVE_SYS_TYPES_H
! 437: # include <sys/types.h>
! 438: #endif
! 439: #if HAVE_SYS_STAT_H
! 440: # include <sys/stat.h>
! 441: #endif
! 442: #if STDC_HEADERS
! 443: # include <stdlib.h>
! 444: # include <stddef.h>
! 445: #else
! 446: # if HAVE_STDLIB_H
! 447: # include <stdlib.h>
! 448: # endif
! 449: #endif
! 450: #if HAVE_STRING_H
! 451: # if !STDC_HEADERS && HAVE_MEMORY_H
! 452: # include <memory.h>
! 453: # endif
! 454: # include <string.h>
! 455: #endif
! 456: #if HAVE_STRINGS_H
! 457: # include <strings.h>
! 458: #endif
! 459: #if HAVE_INTTYPES_H
! 460: # include <inttypes.h>
! 461: #else
! 462: # if HAVE_STDINT_H
! 463: # include <stdint.h>
! 464: # endif
! 465: #endif
! 466: #if HAVE_UNISTD_H
! 467: # include <unistd.h>
! 468: #endif"
! 469:
! 470: 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS'
! 471: ac_subst_files=''
! 472:
! 473: # Initialize some variables set by options.
! 474: ac_init_help=
! 475: ac_init_version=false
! 476: # The variables have the same names as the options, with
! 477: # dashes changed to underlines.
! 478: cache_file=/dev/null
! 479: exec_prefix=NONE
! 480: no_create=
! 481: no_recursion=
! 482: prefix=NONE
! 483: program_prefix=NONE
! 484: program_suffix=NONE
! 485: program_transform_name=s,x,x,
! 486: silent=
! 487: site=
! 488: srcdir=
! 489: verbose=
! 490: x_includes=NONE
! 491: x_libraries=NONE
! 492:
! 493: # Installation directory options.
! 494: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 495: # and all the variables that are supposed to be based on exec_prefix
! 496: # by default will actually change.
! 497: # Use braces instead of parens because sh, perl, etc. also accept them.
! 498: bindir='${exec_prefix}/bin'
! 499: sbindir='${exec_prefix}/sbin'
! 500: libexecdir='${exec_prefix}/libexec'
! 501: datadir='${prefix}/share'
! 502: sysconfdir='${prefix}/etc'
! 503: sharedstatedir='${prefix}/com'
! 504: localstatedir='${prefix}/var'
! 505: libdir='${exec_prefix}/lib'
! 506: includedir='${prefix}/include'
! 507: oldincludedir='/usr/include'
! 508: infodir='${prefix}/info'
! 509: mandir='${prefix}/man'
! 510:
! 511: ac_prev=
! 512: for ac_option
! 513: do
! 514: # If the previous option needs an argument, assign it.
! 515: if test -n "$ac_prev"; then
! 516: eval "$ac_prev=\$ac_option"
! 517: ac_prev=
! 518: continue
! 519: fi
! 520:
! 521: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
! 522:
! 523: # Accept the important Cygnus configure options, so we can diagnose typos.
! 524:
! 525: case $ac_option in
! 526:
! 527: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 528: ac_prev=bindir ;;
! 529: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 530: bindir=$ac_optarg ;;
! 531:
! 532: -build | --build | --buil | --bui | --bu)
! 533: ac_prev=build_alias ;;
! 534: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 535: build_alias=$ac_optarg ;;
! 536:
! 537: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 538: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 539: ac_prev=cache_file ;;
! 540: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 541: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 542: cache_file=$ac_optarg ;;
! 543:
! 544: --config-cache | -C)
! 545: cache_file=config.cache ;;
! 546:
! 547: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 548: ac_prev=datadir ;;
! 549: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 550: | --da=*)
! 551: datadir=$ac_optarg ;;
! 552:
! 553: -disable-* | --disable-*)
! 554: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 555: # Reject names that are not valid shell variable names.
! 556: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 557: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 558: { (exit 1); exit 1; }; }
! 559: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 560: eval "enable_$ac_feature=no" ;;
! 561:
! 562: -enable-* | --enable-*)
! 563: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 564: # Reject names that are not valid shell variable names.
! 565: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 566: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 567: { (exit 1); exit 1; }; }
! 568: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 569: case $ac_option in
! 570: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 571: *) ac_optarg=yes ;;
! 572: esac
! 573: eval "enable_$ac_feature='$ac_optarg'" ;;
! 574:
! 575: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 576: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 577: | --exec | --exe | --ex)
! 578: ac_prev=exec_prefix ;;
! 579: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 580: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 581: | --exec=* | --exe=* | --ex=*)
! 582: exec_prefix=$ac_optarg ;;
! 583:
! 584: -gas | --gas | --ga | --g)
! 585: # Obsolete; use --with-gas.
! 586: with_gas=yes ;;
! 587:
! 588: -help | --help | --hel | --he | -h)
! 589: ac_init_help=long ;;
! 590: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 591: ac_init_help=recursive ;;
! 592: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 593: ac_init_help=short ;;
! 594:
! 595: -host | --host | --hos | --ho)
! 596: ac_prev=host_alias ;;
! 597: -host=* | --host=* | --hos=* | --ho=*)
! 598: host_alias=$ac_optarg ;;
! 599:
! 600: -includedir | --includedir | --includedi | --included | --include \
! 601: | --includ | --inclu | --incl | --inc)
! 602: ac_prev=includedir ;;
! 603: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 604: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 605: includedir=$ac_optarg ;;
! 606:
! 607: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 608: ac_prev=infodir ;;
! 609: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 610: infodir=$ac_optarg ;;
! 611:
! 612: -libdir | --libdir | --libdi | --libd)
! 613: ac_prev=libdir ;;
! 614: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 615: libdir=$ac_optarg ;;
! 616:
! 617: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 618: | --libexe | --libex | --libe)
! 619: ac_prev=libexecdir ;;
! 620: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 621: | --libexe=* | --libex=* | --libe=*)
! 622: libexecdir=$ac_optarg ;;
! 623:
! 624: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 625: | --localstate | --localstat | --localsta | --localst \
! 626: | --locals | --local | --loca | --loc | --lo)
! 627: ac_prev=localstatedir ;;
! 628: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 629: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 630: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 631: localstatedir=$ac_optarg ;;
! 632:
! 633: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 634: ac_prev=mandir ;;
! 635: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 636: mandir=$ac_optarg ;;
! 637:
! 638: -nfp | --nfp | --nf)
! 639: # Obsolete; use --without-fp.
! 640: with_fp=no ;;
! 641:
! 642: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 643: | --no-cr | --no-c | -n)
! 644: no_create=yes ;;
! 645:
! 646: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 647: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 648: no_recursion=yes ;;
! 649:
! 650: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 651: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 652: | --oldin | --oldi | --old | --ol | --o)
! 653: ac_prev=oldincludedir ;;
! 654: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 655: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 656: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 657: oldincludedir=$ac_optarg ;;
! 658:
! 659: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 660: ac_prev=prefix ;;
! 661: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 662: prefix=$ac_optarg ;;
! 663:
! 664: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 665: | --program-pre | --program-pr | --program-p)
! 666: ac_prev=program_prefix ;;
! 667: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 668: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 669: program_prefix=$ac_optarg ;;
! 670:
! 671: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 672: | --program-suf | --program-su | --program-s)
! 673: ac_prev=program_suffix ;;
! 674: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 675: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 676: program_suffix=$ac_optarg ;;
! 677:
! 678: -program-transform-name | --program-transform-name \
! 679: | --program-transform-nam | --program-transform-na \
! 680: | --program-transform-n | --program-transform- \
! 681: | --program-transform | --program-transfor \
! 682: | --program-transfo | --program-transf \
! 683: | --program-trans | --program-tran \
! 684: | --progr-tra | --program-tr | --program-t)
! 685: ac_prev=program_transform_name ;;
! 686: -program-transform-name=* | --program-transform-name=* \
! 687: | --program-transform-nam=* | --program-transform-na=* \
! 688: | --program-transform-n=* | --program-transform-=* \
! 689: | --program-transform=* | --program-transfor=* \
! 690: | --program-transfo=* | --program-transf=* \
! 691: | --program-trans=* | --program-tran=* \
! 692: | --progr-tra=* | --program-tr=* | --program-t=*)
! 693: program_transform_name=$ac_optarg ;;
! 694:
! 695: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 696: | -silent | --silent | --silen | --sile | --sil)
! 697: silent=yes ;;
! 698:
! 699: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 700: ac_prev=sbindir ;;
! 701: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 702: | --sbi=* | --sb=*)
! 703: sbindir=$ac_optarg ;;
! 704:
! 705: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 706: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 707: | --sharedst | --shareds | --shared | --share | --shar \
! 708: | --sha | --sh)
! 709: ac_prev=sharedstatedir ;;
! 710: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 711: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 712: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 713: | --sha=* | --sh=*)
! 714: sharedstatedir=$ac_optarg ;;
! 715:
! 716: -site | --site | --sit)
! 717: ac_prev=site ;;
! 718: -site=* | --site=* | --sit=*)
! 719: site=$ac_optarg ;;
! 720:
! 721: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 722: ac_prev=srcdir ;;
! 723: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 724: srcdir=$ac_optarg ;;
! 725:
! 726: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 727: | --syscon | --sysco | --sysc | --sys | --sy)
! 728: ac_prev=sysconfdir ;;
! 729: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 730: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 731: sysconfdir=$ac_optarg ;;
! 732:
! 733: -target | --target | --targe | --targ | --tar | --ta | --t)
! 734: ac_prev=target_alias ;;
! 735: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 736: target_alias=$ac_optarg ;;
! 737:
! 738: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 739: verbose=yes ;;
! 740:
! 741: -version | --version | --versio | --versi | --vers | -V)
! 742: ac_init_version=: ;;
! 743:
! 744: -with-* | --with-*)
! 745: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 746: # Reject names that are not valid shell variable names.
! 747: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 748: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 749: { (exit 1); exit 1; }; }
! 750: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 751: case $ac_option in
! 752: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 753: *) ac_optarg=yes ;;
! 754: esac
! 755: eval "with_$ac_package='$ac_optarg'" ;;
! 756:
! 757: -without-* | --without-*)
! 758: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 759: # Reject names that are not valid shell variable names.
! 760: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 761: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 762: { (exit 1); exit 1; }; }
! 763: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 764: eval "with_$ac_package=no" ;;
! 765:
! 766: --x)
! 767: # Obsolete; use --with-x.
! 768: with_x=yes ;;
! 769:
! 770: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 771: | --x-incl | --x-inc | --x-in | --x-i)
! 772: ac_prev=x_includes ;;
! 773: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 774: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 775: x_includes=$ac_optarg ;;
! 776:
! 777: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 778: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 779: ac_prev=x_libraries ;;
! 780: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 781: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 782: x_libraries=$ac_optarg ;;
! 783:
! 784: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 785: Try \`$0 --help' for more information." >&2
! 786: { (exit 1); exit 1; }; }
! 787: ;;
! 788:
! 789: *=*)
! 790: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 791: # Reject names that are not valid shell variable names.
! 792: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 793: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 794: { (exit 1); exit 1; }; }
! 795: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 796: eval "$ac_envvar='$ac_optarg'"
! 797: export $ac_envvar ;;
! 798:
! 799: *)
! 800: # FIXME: should be removed in autoconf 3.0.
! 801: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 802: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 803: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 804: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 805: ;;
! 806:
! 807: esac
! 808: done
! 809:
! 810: if test -n "$ac_prev"; then
! 811: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 812: { echo "$as_me: error: missing argument to $ac_option" >&2
! 813: { (exit 1); exit 1; }; }
! 814: fi
! 815:
! 816: # Be sure to have absolute paths.
! 817: for ac_var in exec_prefix prefix
! 818: do
! 819: eval ac_val=$`echo $ac_var`
! 820: case $ac_val in
! 821: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 822: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 823: { (exit 1); exit 1; }; };;
! 824: esac
! 825: done
! 826:
! 827: # Be sure to have absolute paths.
! 828: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 829: localstatedir libdir includedir oldincludedir infodir mandir
! 830: do
! 831: eval ac_val=$`echo $ac_var`
! 832: case $ac_val in
! 833: [\\/$]* | ?:[\\/]* ) ;;
! 834: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 835: { (exit 1); exit 1; }; };;
! 836: esac
! 837: done
! 838:
! 839: # There might be people who depend on the old broken behavior: `$host'
! 840: # used to hold the argument of --host etc.
! 841: # FIXME: To remove some day.
! 842: build=$build_alias
! 843: host=$host_alias
! 844: target=$target_alias
! 845:
! 846: # FIXME: To remove some day.
! 847: if test "x$host_alias" != x; then
! 848: if test "x$build_alias" = x; then
! 849: cross_compiling=maybe
! 850: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 851: If a cross compiler is detected then cross compile mode will be used." >&2
! 852: elif test "x$build_alias" != "x$host_alias"; then
! 853: cross_compiling=yes
! 854: fi
! 855: fi
! 856:
! 857: ac_tool_prefix=
! 858: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 859:
! 860: test "$silent" = yes && exec 6>/dev/null
! 861:
! 862:
! 863: # Find the source files, if location was not specified.
! 864: if test -z "$srcdir"; then
! 865: ac_srcdir_defaulted=yes
! 866: # Try the directory containing this script, then its parent.
! 867: ac_confdir=`(dirname "$0") 2>/dev/null ||
! 868: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 869: X"$0" : 'X\(//\)[^/]' \| \
! 870: X"$0" : 'X\(//\)$' \| \
! 871: X"$0" : 'X\(/\)' \| \
! 872: . : '\(.\)' 2>/dev/null ||
! 873: echo X"$0" |
! 874: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 875: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 876: /^X\(\/\/\)$/{ s//\1/; q; }
! 877: /^X\(\/\).*/{ s//\1/; q; }
! 878: s/.*/./; q'`
! 879: srcdir=$ac_confdir
! 880: if test ! -r $srcdir/$ac_unique_file; then
! 881: srcdir=..
! 882: fi
! 883: else
! 884: ac_srcdir_defaulted=no
! 885: fi
! 886: if test ! -r $srcdir/$ac_unique_file; then
! 887: if test "$ac_srcdir_defaulted" = yes; then
! 888: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 889: { (exit 1); exit 1; }; }
! 890: else
! 891: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 892: { (exit 1); exit 1; }; }
! 893: fi
! 894: fi
! 895: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
! 896: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
! 897: { (exit 1); exit 1; }; }
! 898: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 899: ac_env_build_alias_set=${build_alias+set}
! 900: ac_env_build_alias_value=$build_alias
! 901: ac_cv_env_build_alias_set=${build_alias+set}
! 902: ac_cv_env_build_alias_value=$build_alias
! 903: ac_env_host_alias_set=${host_alias+set}
! 904: ac_env_host_alias_value=$host_alias
! 905: ac_cv_env_host_alias_set=${host_alias+set}
! 906: ac_cv_env_host_alias_value=$host_alias
! 907: ac_env_target_alias_set=${target_alias+set}
! 908: ac_env_target_alias_value=$target_alias
! 909: ac_cv_env_target_alias_set=${target_alias+set}
! 910: ac_cv_env_target_alias_value=$target_alias
! 911: ac_env_CC_set=${CC+set}
! 912: ac_env_CC_value=$CC
! 913: ac_cv_env_CC_set=${CC+set}
! 914: ac_cv_env_CC_value=$CC
! 915: ac_env_CFLAGS_set=${CFLAGS+set}
! 916: ac_env_CFLAGS_value=$CFLAGS
! 917: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 918: ac_cv_env_CFLAGS_value=$CFLAGS
! 919: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 920: ac_env_LDFLAGS_value=$LDFLAGS
! 921: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 922: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 923: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 924: ac_env_CPPFLAGS_value=$CPPFLAGS
! 925: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 926: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 927: ac_env_CPP_set=${CPP+set}
! 928: ac_env_CPP_value=$CPP
! 929: ac_cv_env_CPP_set=${CPP+set}
! 930: ac_cv_env_CPP_value=$CPP
! 931:
! 932: #
! 933: # Report the --help message.
! 934: #
! 935: if test "$ac_init_help" = "long"; then
! 936: # Omit some internal or obsolete options to make the list less imposing.
! 937: # This message is too long to be a string in the A/UX 3.1 sh.
! 938: cat <<_ACEOF
! 939: \`configure' configures this package to adapt to many kinds of systems.
! 940:
! 941: Usage: $0 [OPTION]... [VAR=VALUE]...
! 942:
! 943: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 944: VAR=VALUE. See below for descriptions of some of the useful variables.
! 945:
! 946: Defaults for the options are specified in brackets.
! 947:
! 948: Configuration:
! 949: -h, --help display this help and exit
! 950: --help=short display options specific to this package
! 951: --help=recursive display the short help of all the included packages
! 952: -V, --version display version information and exit
! 953: -q, --quiet, --silent do not print \`checking...' messages
! 954: --cache-file=FILE cache test results in FILE [disabled]
! 955: -C, --config-cache alias for \`--cache-file=config.cache'
! 956: -n, --no-create do not create output files
! 957: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 958:
! 959: _ACEOF
! 960:
! 961: cat <<_ACEOF
! 962: Installation directories:
! 963: --prefix=PREFIX install architecture-independent files in PREFIX
! 964: [$ac_default_prefix]
! 965: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 966: [PREFIX]
! 967:
! 968: By default, \`make install' will install all the files in
! 969: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 970: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 971: for instance \`--prefix=\$HOME'.
! 972:
! 973: For better control, use the options below.
! 974:
! 975: Fine tuning of the installation directories:
! 976: --bindir=DIR user executables [EPREFIX/bin]
! 977: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 978: --libexecdir=DIR program executables [EPREFIX/libexec]
! 979: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 980: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 981: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 982: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 983: --libdir=DIR object code libraries [EPREFIX/lib]
! 984: --includedir=DIR C header files [PREFIX/include]
! 985: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 986: --infodir=DIR info documentation [PREFIX/info]
! 987: --mandir=DIR man documentation [PREFIX/man]
! 988: _ACEOF
! 989:
! 990: cat <<\_ACEOF
! 991:
! 992: Program names:
! 993: --program-prefix=PREFIX prepend PREFIX to installed program names
! 994: --program-suffix=SUFFIX append SUFFIX to installed program names
! 995: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 996:
! 997: System types:
! 998: --build=BUILD configure for building on BUILD [guessed]
! 999: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1000: _ACEOF
! 1001: fi
! 1002:
! 1003: if test -n "$ac_init_help"; then
! 1004:
! 1005: cat <<\_ACEOF
! 1006:
! 1007: Optional Features:
! 1008: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1009: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1010: --enable-maintainer-mode enable make rules and dependencies not useful
! 1011: (and sometimes confusing) to the casual installer
! 1012: --disable-dependency-tracking Speeds up one-time builds
! 1013: --enable-dependency-tracking Do not reject slow dependency extractors
! 1014: --enable-shared=PKGS build shared libraries default=no
! 1015: --enable-static=PKGS build static libraries default=yes
! 1016: --enable-fast-install=PKGS optimize for fast installation default=yes
! 1017: --disable-libtool-lock avoid locking (might break parallel builds)
! 1018: --enable-ltdl-install install libltdl
! 1019:
! 1020: Optional Packages:
! 1021: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1022: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1023: --with-auxdir=DIR path to autoconf auxiliary files
! 1024: --with-gnu-ld assume the C compiler uses GNU ld default=no
! 1025: --with-pic try to use only PIC/non-PIC objects default=use both
! 1026:
! 1027: Some influential environment variables:
! 1028: CC C compiler command
! 1029: CFLAGS C compiler flags
! 1030: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1031: nonstandard directory <lib dir>
! 1032: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 1033: headers in a nonstandard directory <include dir>
! 1034: CPP C preprocessor
! 1035:
! 1036: Use these variables to override the choices made by `configure' or to help
! 1037: it to find libraries and programs with nonstandard names/locations.
! 1038:
! 1039: _ACEOF
! 1040: fi
! 1041:
! 1042: if test "$ac_init_help" = "recursive"; then
! 1043: # If there are subdirs, report their specific --help.
! 1044: ac_popdir=`pwd`
! 1045: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1046: test -d $ac_dir || continue
! 1047: ac_builddir=.
! 1048:
! 1049: if test "$ac_dir" != .; then
! 1050: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 1051: # A "../" for each directory in $ac_dir_suffix.
! 1052: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 1053: else
! 1054: ac_dir_suffix= ac_top_builddir=
! 1055: fi
! 1056:
! 1057: case $srcdir in
! 1058: .) # No --srcdir option. We are building in place.
! 1059: ac_srcdir=.
! 1060: if test -z "$ac_top_builddir"; then
! 1061: ac_top_srcdir=.
! 1062: else
! 1063: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 1064: fi ;;
! 1065: [\\/]* | ?:[\\/]* ) # Absolute path.
! 1066: ac_srcdir=$srcdir$ac_dir_suffix;
! 1067: ac_top_srcdir=$srcdir ;;
! 1068: *) # Relative path.
! 1069: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 1070: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 1071: esac
! 1072: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 1073: # absolute.
! 1074: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 1075: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 1076: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 1077: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 1078:
! 1079: cd $ac_dir
! 1080: # Check for guested configure; otherwise get Cygnus style configure.
! 1081: if test -f $ac_srcdir/configure.gnu; then
! 1082: echo
! 1083: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 1084: elif test -f $ac_srcdir/configure; then
! 1085: echo
! 1086: $SHELL $ac_srcdir/configure --help=recursive
! 1087: elif test -f $ac_srcdir/configure.ac ||
! 1088: test -f $ac_srcdir/configure.in; then
! 1089: echo
! 1090: $ac_configure --help
! 1091: else
! 1092: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1093: fi
! 1094: cd $ac_popdir
! 1095: done
! 1096: fi
! 1097:
! 1098: test -n "$ac_init_help" && exit 0
! 1099: if $ac_init_version; then
! 1100: cat <<\_ACEOF
! 1101:
! 1102: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 1103: Free Software Foundation, Inc.
! 1104: This configure script is free software; the Free Software Foundation
! 1105: gives unlimited permission to copy, distribute and modify it.
! 1106: _ACEOF
! 1107: exit 0
! 1108: fi
! 1109: exec 5>config.log
! 1110: cat >&5 <<_ACEOF
! 1111: This file contains any messages produced by compilers while
! 1112: running configure, to aid debugging if configure makes a mistake.
! 1113:
! 1114: It was created by $as_me, which was
! 1115: generated by GNU Autoconf 2.57. Invocation command line was
! 1116:
! 1117: $ $0 $@
! 1118:
! 1119: _ACEOF
! 1120: {
! 1121: cat <<_ASUNAME
! 1122: ## --------- ##
! 1123: ## Platform. ##
! 1124: ## --------- ##
! 1125:
! 1126: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1127: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1128: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1129: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1130: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1131:
! 1132: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1133: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1134:
! 1135: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1136: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1137: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1138: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 1139: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1140: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1141: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1142:
! 1143: _ASUNAME
! 1144:
! 1145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1146: for as_dir in $PATH
! 1147: do
! 1148: IFS=$as_save_IFS
! 1149: test -z "$as_dir" && as_dir=.
! 1150: echo "PATH: $as_dir"
! 1151: done
! 1152:
! 1153: } >&5
! 1154:
! 1155: cat >&5 <<_ACEOF
! 1156:
! 1157:
! 1158: ## ----------- ##
! 1159: ## Core tests. ##
! 1160: ## ----------- ##
! 1161:
! 1162: _ACEOF
! 1163:
! 1164:
! 1165: # Keep a trace of the command line.
! 1166: # Strip out --no-create and --no-recursion so they do not pile up.
! 1167: # Strip out --silent because we don't want to record it for future runs.
! 1168: # Also quote any args containing shell meta-characters.
! 1169: # Make two passes to allow for proper duplicate-argument suppression.
! 1170: ac_configure_args=
! 1171: ac_configure_args0=
! 1172: ac_configure_args1=
! 1173: ac_sep=
! 1174: ac_must_keep_next=false
! 1175: for ac_pass in 1 2
! 1176: do
! 1177: for ac_arg
! 1178: do
! 1179: case $ac_arg in
! 1180: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1181: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1182: | -silent | --silent | --silen | --sile | --sil)
! 1183: continue ;;
! 1184: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1185: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1186: esac
! 1187: case $ac_pass in
! 1188: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1189: 2)
! 1190: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1191: if test $ac_must_keep_next = true; then
! 1192: ac_must_keep_next=false # Got value, back to normal.
! 1193: else
! 1194: case $ac_arg in
! 1195: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1196: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1197: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1198: | -with-* | --with-* | -without-* | --without-* | --x)
! 1199: case "$ac_configure_args0 " in
! 1200: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1201: esac
! 1202: ;;
! 1203: -* ) ac_must_keep_next=true ;;
! 1204: esac
! 1205: fi
! 1206: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 1207: # Get rid of the leading space.
! 1208: ac_sep=" "
! 1209: ;;
! 1210: esac
! 1211: done
! 1212: done
! 1213: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1214: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1215:
! 1216: # When interrupted or exit'd, cleanup temporary files, and complete
! 1217: # config.log. We remove comments because anyway the quotes in there
! 1218: # would cause problems or look ugly.
! 1219: # WARNING: Be sure not to use single quotes in there, as some shells,
! 1220: # such as our DU 5.0 friend, will then `close' the trap.
! 1221: trap 'exit_status=$?
! 1222: # Save into config.log some information that might help in debugging.
! 1223: {
! 1224: echo
! 1225:
! 1226: cat <<\_ASBOX
! 1227: ## ---------------- ##
! 1228: ## Cache variables. ##
! 1229: ## ---------------- ##
! 1230: _ASBOX
! 1231: echo
! 1232: # The following way of writing the cache mishandles newlines in values,
! 1233: {
! 1234: (set) 2>&1 |
! 1235: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 1236: *ac_space=\ *)
! 1237: sed -n \
! 1238: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 1239: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 1240: ;;
! 1241: *)
! 1242: sed -n \
! 1243: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 1244: ;;
! 1245: esac;
! 1246: }
! 1247: echo
! 1248:
! 1249: cat <<\_ASBOX
! 1250: ## ----------------- ##
! 1251: ## Output variables. ##
! 1252: ## ----------------- ##
! 1253: _ASBOX
! 1254: echo
! 1255: for ac_var in $ac_subst_vars
! 1256: do
! 1257: eval ac_val=$`echo $ac_var`
! 1258: echo "$ac_var='"'"'$ac_val'"'"'"
! 1259: done | sort
! 1260: echo
! 1261:
! 1262: if test -n "$ac_subst_files"; then
! 1263: cat <<\_ASBOX
! 1264: ## ------------- ##
! 1265: ## Output files. ##
! 1266: ## ------------- ##
! 1267: _ASBOX
! 1268: echo
! 1269: for ac_var in $ac_subst_files
! 1270: do
! 1271: eval ac_val=$`echo $ac_var`
! 1272: echo "$ac_var='"'"'$ac_val'"'"'"
! 1273: done | sort
! 1274: echo
! 1275: fi
! 1276:
! 1277: if test -s confdefs.h; then
! 1278: cat <<\_ASBOX
! 1279: ## ----------- ##
! 1280: ## confdefs.h. ##
! 1281: ## ----------- ##
! 1282: _ASBOX
! 1283: echo
! 1284: sed "/^$/d" confdefs.h | sort
! 1285: echo
! 1286: fi
! 1287: test "$ac_signal" != 0 &&
! 1288: echo "$as_me: caught signal $ac_signal"
! 1289: echo "$as_me: exit $exit_status"
! 1290: } >&5
! 1291: rm -f core core.* *.core &&
! 1292: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1293: exit $exit_status
! 1294: ' 0
! 1295: for ac_signal in 1 2 13 15; do
! 1296: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1297: done
! 1298: ac_signal=0
! 1299:
! 1300: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1301: rm -rf conftest* confdefs.h
! 1302: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1303: echo >confdefs.h
! 1304:
! 1305: # Predefined preprocessor variables.
! 1306:
! 1307: cat >>confdefs.h <<_ACEOF
! 1308: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1309: _ACEOF
! 1310:
! 1311:
! 1312: cat >>confdefs.h <<_ACEOF
! 1313: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1314: _ACEOF
! 1315:
! 1316:
! 1317: cat >>confdefs.h <<_ACEOF
! 1318: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1319: _ACEOF
! 1320:
! 1321:
! 1322: cat >>confdefs.h <<_ACEOF
! 1323: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1324: _ACEOF
! 1325:
! 1326:
! 1327: cat >>confdefs.h <<_ACEOF
! 1328: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1329: _ACEOF
! 1330:
! 1331:
! 1332: # Let the site file select an alternate cache file if it wants to.
! 1333: # Prefer explicitly selected file to automatically selected ones.
! 1334: if test -z "$CONFIG_SITE"; then
! 1335: if test "x$prefix" != xNONE; then
! 1336: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 1337: else
! 1338: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 1339: fi
! 1340: fi
! 1341: for ac_site_file in $CONFIG_SITE; do
! 1342: if test -r "$ac_site_file"; then
! 1343: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1344: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1345: sed 's/^/| /' "$ac_site_file" >&5
! 1346: . "$ac_site_file"
! 1347: fi
! 1348: done
! 1349:
! 1350: if test -r "$cache_file"; then
! 1351: # Some versions of bash will fail to source /dev/null (special
! 1352: # files actually), so we avoid doing that.
! 1353: if test -f "$cache_file"; then
! 1354: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1355: echo "$as_me: loading cache $cache_file" >&6;}
! 1356: case $cache_file in
! 1357: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1358: *) . ./$cache_file;;
! 1359: esac
! 1360: fi
! 1361: else
! 1362: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1363: echo "$as_me: creating cache $cache_file" >&6;}
! 1364: >$cache_file
! 1365: fi
! 1366:
! 1367: # Check that the precious variables saved in the cache have kept the same
! 1368: # value.
! 1369: ac_cache_corrupted=false
! 1370: for ac_var in `(set) 2>&1 |
! 1371: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1372: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1373: eval ac_new_set=\$ac_env_${ac_var}_set
! 1374: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1375: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1376: case $ac_old_set,$ac_new_set in
! 1377: set,)
! 1378: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1379: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1380: ac_cache_corrupted=: ;;
! 1381: ,set)
! 1382: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1383: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1384: ac_cache_corrupted=: ;;
! 1385: ,);;
! 1386: *)
! 1387: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1388: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1389: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1390: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1391: echo "$as_me: former value: $ac_old_val" >&2;}
! 1392: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1393: echo "$as_me: current value: $ac_new_val" >&2;}
! 1394: ac_cache_corrupted=:
! 1395: fi;;
! 1396: esac
! 1397: # Pass precious variables to config.status.
! 1398: if test "$ac_new_set" = set; then
! 1399: case $ac_new_val in
! 1400: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1401: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1402: *) ac_arg=$ac_var=$ac_new_val ;;
! 1403: esac
! 1404: case " $ac_configure_args " in
! 1405: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1406: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1407: esac
! 1408: fi
! 1409: done
! 1410: if $ac_cache_corrupted; then
! 1411: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1412: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1413: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1414: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1415: { (exit 1); exit 1; }; }
! 1416: fi
! 1417:
! 1418: ac_ext=c
! 1419: ac_cpp='$CPP $CPPFLAGS'
! 1420: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1421: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1422: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1423:
! 1424:
! 1425:
! 1426:
! 1427:
! 1428:
! 1429:
! 1430:
! 1431:
! 1432:
! 1433:
! 1434:
! 1435:
! 1436:
! 1437:
! 1438:
! 1439:
! 1440:
! 1441:
! 1442:
! 1443:
! 1444: # Check whether --with-auxdir or --without-auxdir was given.
! 1445: if test "${with_auxdir+set}" = set; then
! 1446: withval="$with_auxdir"
! 1447: ac_aux_dir=
! 1448: for ac_dir in $with_auxdir; do
! 1449: if test -f $ac_dir/install-sh; then
! 1450: ac_aux_dir=$ac_dir
! 1451: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1452: break
! 1453: elif test -f $ac_dir/install.sh; then
! 1454: ac_aux_dir=$ac_dir
! 1455: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1456: break
! 1457: elif test -f $ac_dir/shtool; then
! 1458: ac_aux_dir=$ac_dir
! 1459: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1460: break
! 1461: fi
! 1462: done
! 1463: if test -z "$ac_aux_dir"; then
! 1464: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $with_auxdir" >&5
! 1465: echo "$as_me: error: cannot find install-sh or install.sh in $with_auxdir" >&2;}
! 1466: { (exit 1); exit 1; }; }
! 1467: fi
! 1468: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1469: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1470: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
! 1471:
! 1472: else
! 1473: ac_aux_dir=
! 1474: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
! 1475: if test -f $ac_dir/install-sh; then
! 1476: ac_aux_dir=$ac_dir
! 1477: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1478: break
! 1479: elif test -f $ac_dir/install.sh; then
! 1480: ac_aux_dir=$ac_dir
! 1481: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1482: break
! 1483: elif test -f $ac_dir/shtool; then
! 1484: ac_aux_dir=$ac_dir
! 1485: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1486: break
! 1487: fi
! 1488: done
! 1489: if test -z "$ac_aux_dir"; then
! 1490: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
! 1491: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
! 1492: { (exit 1); exit 1; }; }
! 1493: fi
! 1494: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1495: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1496: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
! 1497:
! 1498: fi;
! 1499:
! 1500: if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
! 1501: if test -f ${srcdir}/ltmain.sh; then
! 1502: # if libltdl is libtoolized, it is assumed to be stand-alone and
! 1503: # installed unless the command line overrides it (tested above)
! 1504: enable_ltdl_install=yes
! 1505: else
! 1506: { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
! 1507: echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
! 1508: { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
! 1509: echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
! 1510: { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
! 1511: echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
! 1512: { (exit 1); exit 1; }; }
! 1513: fi
! 1514: fi
! 1515:
! 1516: am__api_version="1.7"
! 1517: # Find a good install program. We prefer a C program (faster),
! 1518: # so one script is as good as another. But avoid the broken or
! 1519: # incompatible versions:
! 1520: # SysV /etc/install, /usr/sbin/install
! 1521: # SunOS /usr/etc/install
! 1522: # IRIX /sbin/install
! 1523: # AIX /bin/install
! 1524: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 1525: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 1526: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 1527: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 1528: # ./install, which can be erroneously created by make from ./install.sh.
! 1529: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 1530: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
! 1531: if test -z "$INSTALL"; then
! 1532: if test "${ac_cv_path_install+set}" = set; then
! 1533: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1534: else
! 1535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1536: for as_dir in $PATH
! 1537: do
! 1538: IFS=$as_save_IFS
! 1539: test -z "$as_dir" && as_dir=.
! 1540: # Account for people who put trailing slashes in PATH elements.
! 1541: case $as_dir/ in
! 1542: ./ | .// | /cC/* | \
! 1543: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 1544: /usr/ucb/* ) ;;
! 1545: *)
! 1546: # OSF1 and SCO ODT 3.0 have their own names for install.
! 1547: # Don't use installbsd from OSF since it installs stuff as root
! 1548: # by default.
! 1549: for ac_prog in ginstall scoinst install; do
! 1550: for ac_exec_ext in '' $ac_executable_extensions; do
! 1551: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 1552: if test $ac_prog = install &&
! 1553: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1554: # AIX install. It has an incompatible calling convention.
! 1555: :
! 1556: elif test $ac_prog = install &&
! 1557: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1558: # program-specific install script used by HP pwplus--don't use.
! 1559: :
! 1560: else
! 1561: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 1562: break 3
! 1563: fi
! 1564: fi
! 1565: done
! 1566: done
! 1567: ;;
! 1568: esac
! 1569: done
! 1570:
! 1571:
! 1572: fi
! 1573: if test "${ac_cv_path_install+set}" = set; then
! 1574: INSTALL=$ac_cv_path_install
! 1575: else
! 1576: # As a last resort, use the slow shell script. We don't cache a
! 1577: # path for INSTALL within a source directory, because that will
! 1578: # break other packages using the cache if that directory is
! 1579: # removed, or if the path is relative.
! 1580: INSTALL=$ac_install_sh
! 1581: fi
! 1582: fi
! 1583: echo "$as_me:$LINENO: result: $INSTALL" >&5
! 1584: echo "${ECHO_T}$INSTALL" >&6
! 1585:
! 1586: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 1587: # It thinks the first close brace ends the variable substitution.
! 1588: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 1589:
! 1590: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 1591:
! 1592: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 1593:
! 1594: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 1595: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
! 1596: # Just in case
! 1597: sleep 1
! 1598: echo timestamp > conftest.file
! 1599: # Do `set' in a subshell so we don't clobber the current shell's
! 1600: # arguments. Must try -L first in case configure is actually a
! 1601: # symlink; some systems play weird games with the mod time of symlinks
! 1602: # (eg FreeBSD returns the mod time of the symlink's containing
! 1603: # directory).
! 1604: if (
! 1605: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 1606: if test "$*" = "X"; then
! 1607: # -L didn't work.
! 1608: set X `ls -t $srcdir/configure conftest.file`
! 1609: fi
! 1610: rm -f conftest.file
! 1611: if test "$*" != "X $srcdir/configure conftest.file" \
! 1612: && test "$*" != "X conftest.file $srcdir/configure"; then
! 1613:
! 1614: # If neither matched, then we have a broken ls. This can happen
! 1615: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 1616: # broken ls alias from the environment. This has actually
! 1617: # happened. Such a system could not be considered "sane".
! 1618: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 1619: alias in your environment" >&5
! 1620: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 1621: alias in your environment" >&2;}
! 1622: { (exit 1); exit 1; }; }
! 1623: fi
! 1624:
! 1625: test "$2" = conftest.file
! 1626: )
! 1627: then
! 1628: # Ok.
! 1629: :
! 1630: else
! 1631: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 1632: Check your system clock" >&5
! 1633: echo "$as_me: error: newly created file is older than distributed files!
! 1634: Check your system clock" >&2;}
! 1635: { (exit 1); exit 1; }; }
! 1636: fi
! 1637: echo "$as_me:$LINENO: result: yes" >&5
! 1638: echo "${ECHO_T}yes" >&6
! 1639: test "$program_prefix" != NONE &&
! 1640: program_transform_name="s,^,$program_prefix,;$program_transform_name"
! 1641: # Use a double $ so make ignores it.
! 1642: test "$program_suffix" != NONE &&
! 1643: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
! 1644: # Double any \ or $. echo might interpret backslashes.
! 1645: # By default was `s,x,x', remove it if useless.
! 1646: cat <<\_ACEOF >conftest.sed
! 1647: s/[\\$]/&&/g;s/;s,x,x,$//
! 1648: _ACEOF
! 1649: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! 1650: rm conftest.sed
! 1651:
! 1652:
! 1653: # expand $ac_aux_dir to an absolute path
! 1654: am_aux_dir=`cd $ac_aux_dir && pwd`
! 1655:
! 1656: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 1657: # Use eval to expand $SHELL
! 1658: if eval "$MISSING --run true"; then
! 1659: am_missing_run="$MISSING --run "
! 1660: else
! 1661: am_missing_run=
! 1662: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 1663: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 1664: fi
! 1665:
! 1666: for ac_prog in gawk mawk nawk awk
! 1667: do
! 1668: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1669: set dummy $ac_prog; ac_word=$2
! 1670: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1671: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1672: if test "${ac_cv_prog_AWK+set}" = set; then
! 1673: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1674: else
! 1675: if test -n "$AWK"; then
! 1676: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 1677: else
! 1678: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1679: for as_dir in $PATH
! 1680: do
! 1681: IFS=$as_save_IFS
! 1682: test -z "$as_dir" && as_dir=.
! 1683: for ac_exec_ext in '' $ac_executable_extensions; do
! 1684: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1685: ac_cv_prog_AWK="$ac_prog"
! 1686: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1687: break 2
! 1688: fi
! 1689: done
! 1690: done
! 1691:
! 1692: fi
! 1693: fi
! 1694: AWK=$ac_cv_prog_AWK
! 1695: if test -n "$AWK"; then
! 1696: echo "$as_me:$LINENO: result: $AWK" >&5
! 1697: echo "${ECHO_T}$AWK" >&6
! 1698: else
! 1699: echo "$as_me:$LINENO: result: no" >&5
! 1700: echo "${ECHO_T}no" >&6
! 1701: fi
! 1702:
! 1703: test -n "$AWK" && break
! 1704: done
! 1705:
! 1706: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 1707: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
! 1708: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! 1709: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 1710: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1711: else
! 1712: cat >conftest.make <<\_ACEOF
! 1713: all:
! 1714: @echo 'ac_maketemp="$(MAKE)"'
! 1715: _ACEOF
! 1716: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 1717: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! 1718: if test -n "$ac_maketemp"; then
! 1719: eval ac_cv_prog_make_${ac_make}_set=yes
! 1720: else
! 1721: eval ac_cv_prog_make_${ac_make}_set=no
! 1722: fi
! 1723: rm -f conftest.make
! 1724: fi
! 1725: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 1726: echo "$as_me:$LINENO: result: yes" >&5
! 1727: echo "${ECHO_T}yes" >&6
! 1728: SET_MAKE=
! 1729: else
! 1730: echo "$as_me:$LINENO: result: no" >&5
! 1731: echo "${ECHO_T}no" >&6
! 1732: SET_MAKE="MAKE=${MAKE-make}"
! 1733: fi
! 1734:
! 1735: # test to see if srcdir already configured
! 1736: if test "`cd $srcdir && pwd`" != "`pwd`" &&
! 1737: test -f $srcdir/config.status; then
! 1738: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 1739: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 1740: { (exit 1); exit 1; }; }
! 1741: fi
! 1742:
! 1743: # test whether we have cygpath
! 1744: if test -z "$CYGPATH_W"; then
! 1745: if (cygpath --version) >/dev/null 2>/dev/null; then
! 1746: CYGPATH_W='cygpath -w'
! 1747: else
! 1748: CYGPATH_W=echo
! 1749: fi
! 1750: fi
! 1751:
! 1752:
! 1753: # Define the identity of the package.
! 1754: PACKAGE=libltdl
! 1755: VERSION=1.2
! 1756:
! 1757:
! 1758: # Some tools Automake needs.
! 1759:
! 1760: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 1761:
! 1762:
! 1763: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 1764:
! 1765:
! 1766: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 1767:
! 1768:
! 1769: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 1770:
! 1771:
! 1772: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 1773:
! 1774:
! 1775: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 1776:
! 1777: install_sh=${install_sh-"$am_aux_dir/install-sh"}
! 1778:
! 1779: # Installed binaries are usually stripped using `strip' when the user
! 1780: # run `make install-strip'. However `strip' might not be the right
! 1781: # tool to use in cross-compilation environments, therefore Automake
! 1782: # will honor the `STRIP' environment variable to overrule this program.
! 1783: if test "$cross_compiling" != no; then
! 1784: if test -n "$ac_tool_prefix"; then
! 1785: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 1786: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 1787: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1788: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1789: if test "${ac_cv_prog_STRIP+set}" = set; then
! 1790: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1791: else
! 1792: if test -n "$STRIP"; then
! 1793: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 1794: else
! 1795: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1796: for as_dir in $PATH
! 1797: do
! 1798: IFS=$as_save_IFS
! 1799: test -z "$as_dir" && as_dir=.
! 1800: for ac_exec_ext in '' $ac_executable_extensions; do
! 1801: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1802: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 1803: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1804: break 2
! 1805: fi
! 1806: done
! 1807: done
! 1808:
! 1809: fi
! 1810: fi
! 1811: STRIP=$ac_cv_prog_STRIP
! 1812: if test -n "$STRIP"; then
! 1813: echo "$as_me:$LINENO: result: $STRIP" >&5
! 1814: echo "${ECHO_T}$STRIP" >&6
! 1815: else
! 1816: echo "$as_me:$LINENO: result: no" >&5
! 1817: echo "${ECHO_T}no" >&6
! 1818: fi
! 1819:
! 1820: fi
! 1821: if test -z "$ac_cv_prog_STRIP"; then
! 1822: ac_ct_STRIP=$STRIP
! 1823: # Extract the first word of "strip", so it can be a program name with args.
! 1824: set dummy strip; ac_word=$2
! 1825: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1826: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1827: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 1828: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1829: else
! 1830: if test -n "$ac_ct_STRIP"; then
! 1831: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 1832: else
! 1833: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1834: for as_dir in $PATH
! 1835: do
! 1836: IFS=$as_save_IFS
! 1837: test -z "$as_dir" && as_dir=.
! 1838: for ac_exec_ext in '' $ac_executable_extensions; do
! 1839: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1840: ac_cv_prog_ac_ct_STRIP="strip"
! 1841: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1842: break 2
! 1843: fi
! 1844: done
! 1845: done
! 1846:
! 1847: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 1848: fi
! 1849: fi
! 1850: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 1851: if test -n "$ac_ct_STRIP"; then
! 1852: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 1853: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 1854: else
! 1855: echo "$as_me:$LINENO: result: no" >&5
! 1856: echo "${ECHO_T}no" >&6
! 1857: fi
! 1858:
! 1859: STRIP=$ac_ct_STRIP
! 1860: else
! 1861: STRIP="$ac_cv_prog_STRIP"
! 1862: fi
! 1863:
! 1864: fi
! 1865: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 1866:
! 1867: # We need awk for the "check" target. The system "awk" is bad on
! 1868: # some platforms.
! 1869:
! 1870:
! 1871:
! 1872: ac_config_headers="$ac_config_headers config_auto.h"
! 1873:
! 1874: echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
! 1875: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
! 1876: # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
! 1877: if test "${enable_maintainer_mode+set}" = set; then
! 1878: enableval="$enable_maintainer_mode"
! 1879: USE_MAINTAINER_MODE=$enableval
! 1880: else
! 1881: USE_MAINTAINER_MODE=no
! 1882: fi;
! 1883: echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! 1884: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
! 1885:
! 1886:
! 1887: if test $USE_MAINTAINER_MODE = yes; then
! 1888: MAINTAINER_MODE_TRUE=
! 1889: MAINTAINER_MODE_FALSE='#'
! 1890: else
! 1891: MAINTAINER_MODE_TRUE='#'
! 1892: MAINTAINER_MODE_FALSE=
! 1893: fi
! 1894:
! 1895: MAINT=$MAINTAINER_MODE_TRUE
! 1896:
! 1897:
! 1898:
! 1899: ac_ext=c
! 1900: ac_cpp='$CPP $CPPFLAGS'
! 1901: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1902: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1903: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1904: if test -n "$ac_tool_prefix"; then
! 1905: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1906: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1907: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1908: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1909: if test "${ac_cv_prog_CC+set}" = set; then
! 1910: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1911: else
! 1912: if test -n "$CC"; then
! 1913: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1914: else
! 1915: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1916: for as_dir in $PATH
! 1917: do
! 1918: IFS=$as_save_IFS
! 1919: test -z "$as_dir" && as_dir=.
! 1920: for ac_exec_ext in '' $ac_executable_extensions; do
! 1921: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1922: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1923: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1924: break 2
! 1925: fi
! 1926: done
! 1927: done
! 1928:
! 1929: fi
! 1930: fi
! 1931: CC=$ac_cv_prog_CC
! 1932: if test -n "$CC"; then
! 1933: echo "$as_me:$LINENO: result: $CC" >&5
! 1934: echo "${ECHO_T}$CC" >&6
! 1935: else
! 1936: echo "$as_me:$LINENO: result: no" >&5
! 1937: echo "${ECHO_T}no" >&6
! 1938: fi
! 1939:
! 1940: fi
! 1941: if test -z "$ac_cv_prog_CC"; then
! 1942: ac_ct_CC=$CC
! 1943: # Extract the first word of "gcc", so it can be a program name with args.
! 1944: set dummy gcc; ac_word=$2
! 1945: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1946: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1947: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1948: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1949: else
! 1950: if test -n "$ac_ct_CC"; then
! 1951: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1952: else
! 1953: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1954: for as_dir in $PATH
! 1955: do
! 1956: IFS=$as_save_IFS
! 1957: test -z "$as_dir" && as_dir=.
! 1958: for ac_exec_ext in '' $ac_executable_extensions; do
! 1959: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1960: ac_cv_prog_ac_ct_CC="gcc"
! 1961: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1962: break 2
! 1963: fi
! 1964: done
! 1965: done
! 1966:
! 1967: fi
! 1968: fi
! 1969: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1970: if test -n "$ac_ct_CC"; then
! 1971: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1972: echo "${ECHO_T}$ac_ct_CC" >&6
! 1973: else
! 1974: echo "$as_me:$LINENO: result: no" >&5
! 1975: echo "${ECHO_T}no" >&6
! 1976: fi
! 1977:
! 1978: CC=$ac_ct_CC
! 1979: else
! 1980: CC="$ac_cv_prog_CC"
! 1981: fi
! 1982:
! 1983: if test -z "$CC"; then
! 1984: if test -n "$ac_tool_prefix"; then
! 1985: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1986: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1987: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1988: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1989: if test "${ac_cv_prog_CC+set}" = set; then
! 1990: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1991: else
! 1992: if test -n "$CC"; then
! 1993: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1994: else
! 1995: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1996: for as_dir in $PATH
! 1997: do
! 1998: IFS=$as_save_IFS
! 1999: test -z "$as_dir" && as_dir=.
! 2000: for ac_exec_ext in '' $ac_executable_extensions; do
! 2001: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2002: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2003: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2004: break 2
! 2005: fi
! 2006: done
! 2007: done
! 2008:
! 2009: fi
! 2010: fi
! 2011: CC=$ac_cv_prog_CC
! 2012: if test -n "$CC"; then
! 2013: echo "$as_me:$LINENO: result: $CC" >&5
! 2014: echo "${ECHO_T}$CC" >&6
! 2015: else
! 2016: echo "$as_me:$LINENO: result: no" >&5
! 2017: echo "${ECHO_T}no" >&6
! 2018: fi
! 2019:
! 2020: fi
! 2021: if test -z "$ac_cv_prog_CC"; then
! 2022: ac_ct_CC=$CC
! 2023: # Extract the first word of "cc", so it can be a program name with args.
! 2024: set dummy cc; ac_word=$2
! 2025: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2026: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2027: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2028: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2029: else
! 2030: if test -n "$ac_ct_CC"; then
! 2031: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2032: else
! 2033: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2034: for as_dir in $PATH
! 2035: do
! 2036: IFS=$as_save_IFS
! 2037: test -z "$as_dir" && as_dir=.
! 2038: for ac_exec_ext in '' $ac_executable_extensions; do
! 2039: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2040: ac_cv_prog_ac_ct_CC="cc"
! 2041: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2042: break 2
! 2043: fi
! 2044: done
! 2045: done
! 2046:
! 2047: fi
! 2048: fi
! 2049: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2050: if test -n "$ac_ct_CC"; then
! 2051: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2052: echo "${ECHO_T}$ac_ct_CC" >&6
! 2053: else
! 2054: echo "$as_me:$LINENO: result: no" >&5
! 2055: echo "${ECHO_T}no" >&6
! 2056: fi
! 2057:
! 2058: CC=$ac_ct_CC
! 2059: else
! 2060: CC="$ac_cv_prog_CC"
! 2061: fi
! 2062:
! 2063: fi
! 2064: if test -z "$CC"; then
! 2065: # Extract the first word of "cc", so it can be a program name with args.
! 2066: set dummy cc; ac_word=$2
! 2067: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2068: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2069: if test "${ac_cv_prog_CC+set}" = set; then
! 2070: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2071: else
! 2072: if test -n "$CC"; then
! 2073: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2074: else
! 2075: ac_prog_rejected=no
! 2076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2077: for as_dir in $PATH
! 2078: do
! 2079: IFS=$as_save_IFS
! 2080: test -z "$as_dir" && as_dir=.
! 2081: for ac_exec_ext in '' $ac_executable_extensions; do
! 2082: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2083: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2084: ac_prog_rejected=yes
! 2085: continue
! 2086: fi
! 2087: ac_cv_prog_CC="cc"
! 2088: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2089: break 2
! 2090: fi
! 2091: done
! 2092: done
! 2093:
! 2094: if test $ac_prog_rejected = yes; then
! 2095: # We found a bogon in the path, so make sure we never use it.
! 2096: set dummy $ac_cv_prog_CC
! 2097: shift
! 2098: if test $# != 0; then
! 2099: # We chose a different compiler from the bogus one.
! 2100: # However, it has the same basename, so the bogon will be chosen
! 2101: # first if we set CC to just the basename; use the full file name.
! 2102: shift
! 2103: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2104: fi
! 2105: fi
! 2106: fi
! 2107: fi
! 2108: CC=$ac_cv_prog_CC
! 2109: if test -n "$CC"; then
! 2110: echo "$as_me:$LINENO: result: $CC" >&5
! 2111: echo "${ECHO_T}$CC" >&6
! 2112: else
! 2113: echo "$as_me:$LINENO: result: no" >&5
! 2114: echo "${ECHO_T}no" >&6
! 2115: fi
! 2116:
! 2117: fi
! 2118: if test -z "$CC"; then
! 2119: if test -n "$ac_tool_prefix"; then
! 2120: for ac_prog in cl
! 2121: do
! 2122: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2123: set dummy $ac_tool_prefix$ac_prog; 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: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2133: for as_dir in $PATH
! 2134: do
! 2135: IFS=$as_save_IFS
! 2136: test -z "$as_dir" && as_dir=.
! 2137: for ac_exec_ext in '' $ac_executable_extensions; do
! 2138: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2139: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2140: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2141: break 2
! 2142: fi
! 2143: done
! 2144: done
! 2145:
! 2146: fi
! 2147: fi
! 2148: CC=$ac_cv_prog_CC
! 2149: if test -n "$CC"; then
! 2150: echo "$as_me:$LINENO: result: $CC" >&5
! 2151: echo "${ECHO_T}$CC" >&6
! 2152: else
! 2153: echo "$as_me:$LINENO: result: no" >&5
! 2154: echo "${ECHO_T}no" >&6
! 2155: fi
! 2156:
! 2157: test -n "$CC" && break
! 2158: done
! 2159: fi
! 2160: if test -z "$CC"; then
! 2161: ac_ct_CC=$CC
! 2162: for ac_prog in cl
! 2163: do
! 2164: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2165: set dummy $ac_prog; ac_word=$2
! 2166: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2167: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2168: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2169: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2170: else
! 2171: if test -n "$ac_ct_CC"; then
! 2172: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2173: else
! 2174: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2175: for as_dir in $PATH
! 2176: do
! 2177: IFS=$as_save_IFS
! 2178: test -z "$as_dir" && as_dir=.
! 2179: for ac_exec_ext in '' $ac_executable_extensions; do
! 2180: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2181: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2182: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2183: break 2
! 2184: fi
! 2185: done
! 2186: done
! 2187:
! 2188: fi
! 2189: fi
! 2190: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2191: if test -n "$ac_ct_CC"; then
! 2192: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2193: echo "${ECHO_T}$ac_ct_CC" >&6
! 2194: else
! 2195: echo "$as_me:$LINENO: result: no" >&5
! 2196: echo "${ECHO_T}no" >&6
! 2197: fi
! 2198:
! 2199: test -n "$ac_ct_CC" && break
! 2200: done
! 2201:
! 2202: CC=$ac_ct_CC
! 2203: fi
! 2204:
! 2205: fi
! 2206:
! 2207:
! 2208: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2209: See \`config.log' for more details." >&5
! 2210: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2211: See \`config.log' for more details." >&2;}
! 2212: { (exit 1); exit 1; }; }
! 2213:
! 2214: # Provide some information about the compiler.
! 2215: echo "$as_me:$LINENO:" \
! 2216: "checking for C compiler version" >&5
! 2217: ac_compiler=`set X $ac_compile; echo $2`
! 2218: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 2219: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 2220: ac_status=$?
! 2221: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2222: (exit $ac_status); }
! 2223: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 2224: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 2225: ac_status=$?
! 2226: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2227: (exit $ac_status); }
! 2228: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 2229: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 2230: ac_status=$?
! 2231: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2232: (exit $ac_status); }
! 2233:
! 2234: cat >conftest.$ac_ext <<_ACEOF
! 2235: #line $LINENO "configure"
! 2236: /* confdefs.h. */
! 2237: _ACEOF
! 2238: cat confdefs.h >>conftest.$ac_ext
! 2239: cat >>conftest.$ac_ext <<_ACEOF
! 2240: /* end confdefs.h. */
! 2241:
! 2242: int
! 2243: main ()
! 2244: {
! 2245:
! 2246: ;
! 2247: return 0;
! 2248: }
! 2249: _ACEOF
! 2250: ac_clean_files_save=$ac_clean_files
! 2251: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2252: # Try to create an executable without -o first, disregard a.out.
! 2253: # It will help us diagnose broken compilers, and finding out an intuition
! 2254: # of exeext.
! 2255: echo "$as_me:$LINENO: checking for C compiler default output" >&5
! 2256: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
! 2257: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2258: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 2259: (eval $ac_link_default) 2>&5
! 2260: ac_status=$?
! 2261: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2262: (exit $ac_status); }; then
! 2263: # Find the output, starting from the most likely. This scheme is
! 2264: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 2265: # resort.
! 2266:
! 2267: # Be careful to initialize this variable, since it used to be cached.
! 2268: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 2269: ac_cv_exeext=
! 2270: # b.out is created by i960 compilers.
! 2271: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
! 2272: do
! 2273: test -f "$ac_file" || continue
! 2274: case $ac_file in
! 2275: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
! 2276: ;;
! 2277: conftest.$ac_ext )
! 2278: # This is the source file.
! 2279: ;;
! 2280: [ab].out )
! 2281: # We found the default executable, but exeext='' is most
! 2282: # certainly right.
! 2283: break;;
! 2284: *.* )
! 2285: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2286: # FIXME: I believe we export ac_cv_exeext for Libtool,
! 2287: # but it would be cool to find out if it's true. Does anybody
! 2288: # maintain Libtool? --akim.
! 2289: export ac_cv_exeext
! 2290: break;;
! 2291: * )
! 2292: break;;
! 2293: esac
! 2294: done
! 2295: else
! 2296: echo "$as_me: failed program was:" >&5
! 2297: sed 's/^/| /' conftest.$ac_ext >&5
! 2298:
! 2299: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2300: See \`config.log' for more details." >&5
! 2301: echo "$as_me: error: C compiler cannot create executables
! 2302: See \`config.log' for more details." >&2;}
! 2303: { (exit 77); exit 77; }; }
! 2304: fi
! 2305:
! 2306: ac_exeext=$ac_cv_exeext
! 2307: echo "$as_me:$LINENO: result: $ac_file" >&5
! 2308: echo "${ECHO_T}$ac_file" >&6
! 2309:
! 2310: # Check the compiler produces executables we can run. If not, either
! 2311: # the compiler is broken, or we cross compile.
! 2312: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2313: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 2314: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2315: # If not cross compiling, check that we can run a simple program.
! 2316: if test "$cross_compiling" != yes; then
! 2317: if { ac_try='./$ac_file'
! 2318: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2319: (eval $ac_try) 2>&5
! 2320: ac_status=$?
! 2321: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2322: (exit $ac_status); }; }; then
! 2323: cross_compiling=no
! 2324: else
! 2325: if test "$cross_compiling" = maybe; then
! 2326: cross_compiling=yes
! 2327: else
! 2328: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2329: If you meant to cross compile, use \`--host'.
! 2330: See \`config.log' for more details." >&5
! 2331: echo "$as_me: error: cannot run C compiled programs.
! 2332: If you meant to cross compile, use \`--host'.
! 2333: See \`config.log' for more details." >&2;}
! 2334: { (exit 1); exit 1; }; }
! 2335: fi
! 2336: fi
! 2337: fi
! 2338: echo "$as_me:$LINENO: result: yes" >&5
! 2339: echo "${ECHO_T}yes" >&6
! 2340:
! 2341: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2342: ac_clean_files=$ac_clean_files_save
! 2343: # Check the compiler produces executables we can run. If not, either
! 2344: # the compiler is broken, or we cross compile.
! 2345: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2346: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 2347: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2348: echo "${ECHO_T}$cross_compiling" >&6
! 2349:
! 2350: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2351: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 2352: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2353: (eval $ac_link) 2>&5
! 2354: ac_status=$?
! 2355: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2356: (exit $ac_status); }; then
! 2357: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2358: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2359: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2360: # `rm'.
! 2361: for ac_file in conftest.exe conftest conftest.*; do
! 2362: test -f "$ac_file" || continue
! 2363: case $ac_file in
! 2364: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
! 2365: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2366: export ac_cv_exeext
! 2367: break;;
! 2368: * ) break;;
! 2369: esac
! 2370: done
! 2371: else
! 2372: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2373: See \`config.log' for more details." >&5
! 2374: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2375: See \`config.log' for more details." >&2;}
! 2376: { (exit 1); exit 1; }; }
! 2377: fi
! 2378:
! 2379: rm -f conftest$ac_cv_exeext
! 2380: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2381: echo "${ECHO_T}$ac_cv_exeext" >&6
! 2382:
! 2383: rm -f conftest.$ac_ext
! 2384: EXEEXT=$ac_cv_exeext
! 2385: ac_exeext=$EXEEXT
! 2386: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2387: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 2388: if test "${ac_cv_objext+set}" = set; then
! 2389: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2390: else
! 2391: cat >conftest.$ac_ext <<_ACEOF
! 2392: #line $LINENO "configure"
! 2393: /* confdefs.h. */
! 2394: _ACEOF
! 2395: cat confdefs.h >>conftest.$ac_ext
! 2396: cat >>conftest.$ac_ext <<_ACEOF
! 2397: /* end confdefs.h. */
! 2398:
! 2399: int
! 2400: main ()
! 2401: {
! 2402:
! 2403: ;
! 2404: return 0;
! 2405: }
! 2406: _ACEOF
! 2407: rm -f conftest.o conftest.obj
! 2408: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2409: (eval $ac_compile) 2>&5
! 2410: ac_status=$?
! 2411: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2412: (exit $ac_status); }; then
! 2413: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 2414: case $ac_file in
! 2415: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! 2416: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2417: break;;
! 2418: esac
! 2419: done
! 2420: else
! 2421: echo "$as_me: failed program was:" >&5
! 2422: sed 's/^/| /' conftest.$ac_ext >&5
! 2423:
! 2424: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2425: See \`config.log' for more details." >&5
! 2426: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2427: See \`config.log' for more details." >&2;}
! 2428: { (exit 1); exit 1; }; }
! 2429: fi
! 2430:
! 2431: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2432: fi
! 2433: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2434: echo "${ECHO_T}$ac_cv_objext" >&6
! 2435: OBJEXT=$ac_cv_objext
! 2436: ac_objext=$OBJEXT
! 2437: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2438: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 2439: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2440: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2441: else
! 2442: cat >conftest.$ac_ext <<_ACEOF
! 2443: #line $LINENO "configure"
! 2444: /* confdefs.h. */
! 2445: _ACEOF
! 2446: cat confdefs.h >>conftest.$ac_ext
! 2447: cat >>conftest.$ac_ext <<_ACEOF
! 2448: /* end confdefs.h. */
! 2449:
! 2450: int
! 2451: main ()
! 2452: {
! 2453: #ifndef __GNUC__
! 2454: choke me
! 2455: #endif
! 2456:
! 2457: ;
! 2458: return 0;
! 2459: }
! 2460: _ACEOF
! 2461: rm -f conftest.$ac_objext
! 2462: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2463: (eval $ac_compile) 2>&5
! 2464: ac_status=$?
! 2465: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2466: (exit $ac_status); } &&
! 2467: { ac_try='test -s conftest.$ac_objext'
! 2468: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2469: (eval $ac_try) 2>&5
! 2470: ac_status=$?
! 2471: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2472: (exit $ac_status); }; }; then
! 2473: ac_compiler_gnu=yes
! 2474: else
! 2475: echo "$as_me: failed program was:" >&5
! 2476: sed 's/^/| /' conftest.$ac_ext >&5
! 2477:
! 2478: ac_compiler_gnu=no
! 2479: fi
! 2480: rm -f conftest.$ac_objext conftest.$ac_ext
! 2481: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2482:
! 2483: fi
! 2484: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2485: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 2486: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2487: ac_test_CFLAGS=${CFLAGS+set}
! 2488: ac_save_CFLAGS=$CFLAGS
! 2489: CFLAGS="-g"
! 2490: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2491: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 2492: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2493: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2494: else
! 2495: cat >conftest.$ac_ext <<_ACEOF
! 2496: #line $LINENO "configure"
! 2497: /* confdefs.h. */
! 2498: _ACEOF
! 2499: cat confdefs.h >>conftest.$ac_ext
! 2500: cat >>conftest.$ac_ext <<_ACEOF
! 2501: /* end confdefs.h. */
! 2502:
! 2503: int
! 2504: main ()
! 2505: {
! 2506:
! 2507: ;
! 2508: return 0;
! 2509: }
! 2510: _ACEOF
! 2511: rm -f conftest.$ac_objext
! 2512: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2513: (eval $ac_compile) 2>&5
! 2514: ac_status=$?
! 2515: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2516: (exit $ac_status); } &&
! 2517: { ac_try='test -s conftest.$ac_objext'
! 2518: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2519: (eval $ac_try) 2>&5
! 2520: ac_status=$?
! 2521: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2522: (exit $ac_status); }; }; then
! 2523: ac_cv_prog_cc_g=yes
! 2524: else
! 2525: echo "$as_me: failed program was:" >&5
! 2526: sed 's/^/| /' conftest.$ac_ext >&5
! 2527:
! 2528: ac_cv_prog_cc_g=no
! 2529: fi
! 2530: rm -f conftest.$ac_objext conftest.$ac_ext
! 2531: fi
! 2532: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2533: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
! 2534: if test "$ac_test_CFLAGS" = set; then
! 2535: CFLAGS=$ac_save_CFLAGS
! 2536: elif test $ac_cv_prog_cc_g = yes; then
! 2537: if test "$GCC" = yes; then
! 2538: CFLAGS="-g -O2"
! 2539: else
! 2540: CFLAGS="-g"
! 2541: fi
! 2542: else
! 2543: if test "$GCC" = yes; then
! 2544: CFLAGS="-O2"
! 2545: else
! 2546: CFLAGS=
! 2547: fi
! 2548: fi
! 2549: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 2550: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 2551: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 2552: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2553: else
! 2554: ac_cv_prog_cc_stdc=no
! 2555: ac_save_CC=$CC
! 2556: cat >conftest.$ac_ext <<_ACEOF
! 2557: #line $LINENO "configure"
! 2558: /* confdefs.h. */
! 2559: _ACEOF
! 2560: cat confdefs.h >>conftest.$ac_ext
! 2561: cat >>conftest.$ac_ext <<_ACEOF
! 2562: /* end confdefs.h. */
! 2563: #include <stdarg.h>
! 2564: #include <stdio.h>
! 2565: #include <sys/types.h>
! 2566: #include <sys/stat.h>
! 2567: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2568: struct buf { int x; };
! 2569: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2570: static char *e (p, i)
! 2571: char **p;
! 2572: int i;
! 2573: {
! 2574: return p[i];
! 2575: }
! 2576: static char *f (char * (*g) (char **, int), char **p, ...)
! 2577: {
! 2578: char *s;
! 2579: va_list v;
! 2580: va_start (v,p);
! 2581: s = g (p, va_arg (v,int));
! 2582: va_end (v);
! 2583: return s;
! 2584: }
! 2585: int test (int i, double x);
! 2586: struct s1 {int (*f) (int a);};
! 2587: struct s2 {int (*f) (double a);};
! 2588: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2589: int argc;
! 2590: char **argv;
! 2591: int
! 2592: main ()
! 2593: {
! 2594: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2595: ;
! 2596: return 0;
! 2597: }
! 2598: _ACEOF
! 2599: # Don't try gcc -ansi; that turns off useful extensions and
! 2600: # breaks some systems' header files.
! 2601: # AIX -qlanglvl=ansi
! 2602: # Ultrix and OSF/1 -std1
! 2603: # HP-UX 10.20 and later -Ae
! 2604: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 2605: # SVR4 -Xc -D__EXTENSIONS__
! 2606: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2607: do
! 2608: CC="$ac_save_CC $ac_arg"
! 2609: rm -f conftest.$ac_objext
! 2610: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2611: (eval $ac_compile) 2>&5
! 2612: ac_status=$?
! 2613: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2614: (exit $ac_status); } &&
! 2615: { ac_try='test -s conftest.$ac_objext'
! 2616: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2617: (eval $ac_try) 2>&5
! 2618: ac_status=$?
! 2619: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2620: (exit $ac_status); }; }; then
! 2621: ac_cv_prog_cc_stdc=$ac_arg
! 2622: break
! 2623: else
! 2624: echo "$as_me: failed program was:" >&5
! 2625: sed 's/^/| /' conftest.$ac_ext >&5
! 2626:
! 2627: fi
! 2628: rm -f conftest.$ac_objext
! 2629: done
! 2630: rm -f conftest.$ac_ext conftest.$ac_objext
! 2631: CC=$ac_save_CC
! 2632:
! 2633: fi
! 2634:
! 2635: case "x$ac_cv_prog_cc_stdc" in
! 2636: x|xno)
! 2637: echo "$as_me:$LINENO: result: none needed" >&5
! 2638: echo "${ECHO_T}none needed" >&6 ;;
! 2639: *)
! 2640: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 2641: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 2642: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 2643: esac
! 2644:
! 2645: # Some people use a C++ compiler to compile C. Since we use `exit',
! 2646: # in C++ we need to declare it. In case someone uses the same compiler
! 2647: # for both compiling C and C++ we need to have the C++ compiler decide
! 2648: # the declaration of exit, since it's the most demanding environment.
! 2649: cat >conftest.$ac_ext <<_ACEOF
! 2650: #ifndef __cplusplus
! 2651: choke me
! 2652: #endif
! 2653: _ACEOF
! 2654: rm -f conftest.$ac_objext
! 2655: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2656: (eval $ac_compile) 2>&5
! 2657: ac_status=$?
! 2658: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2659: (exit $ac_status); } &&
! 2660: { ac_try='test -s conftest.$ac_objext'
! 2661: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2662: (eval $ac_try) 2>&5
! 2663: ac_status=$?
! 2664: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2665: (exit $ac_status); }; }; then
! 2666: for ac_declaration in \
! 2667: ''\
! 2668: '#include <stdlib.h>' \
! 2669: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2670: 'extern "C" void std::exit (int); using std::exit;' \
! 2671: 'extern "C" void exit (int) throw ();' \
! 2672: 'extern "C" void exit (int);' \
! 2673: 'void exit (int);'
! 2674: do
! 2675: cat >conftest.$ac_ext <<_ACEOF
! 2676: #line $LINENO "configure"
! 2677: /* confdefs.h. */
! 2678: _ACEOF
! 2679: cat confdefs.h >>conftest.$ac_ext
! 2680: cat >>conftest.$ac_ext <<_ACEOF
! 2681: /* end confdefs.h. */
! 2682: #include <stdlib.h>
! 2683: $ac_declaration
! 2684: int
! 2685: main ()
! 2686: {
! 2687: exit (42);
! 2688: ;
! 2689: return 0;
! 2690: }
! 2691: _ACEOF
! 2692: rm -f conftest.$ac_objext
! 2693: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2694: (eval $ac_compile) 2>&5
! 2695: ac_status=$?
! 2696: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2697: (exit $ac_status); } &&
! 2698: { ac_try='test -s conftest.$ac_objext'
! 2699: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2700: (eval $ac_try) 2>&5
! 2701: ac_status=$?
! 2702: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2703: (exit $ac_status); }; }; then
! 2704: :
! 2705: else
! 2706: echo "$as_me: failed program was:" >&5
! 2707: sed 's/^/| /' conftest.$ac_ext >&5
! 2708:
! 2709: continue
! 2710: fi
! 2711: rm -f conftest.$ac_objext conftest.$ac_ext
! 2712: cat >conftest.$ac_ext <<_ACEOF
! 2713: #line $LINENO "configure"
! 2714: /* confdefs.h. */
! 2715: _ACEOF
! 2716: cat confdefs.h >>conftest.$ac_ext
! 2717: cat >>conftest.$ac_ext <<_ACEOF
! 2718: /* end confdefs.h. */
! 2719: $ac_declaration
! 2720: int
! 2721: main ()
! 2722: {
! 2723: exit (42);
! 2724: ;
! 2725: return 0;
! 2726: }
! 2727: _ACEOF
! 2728: rm -f conftest.$ac_objext
! 2729: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2730: (eval $ac_compile) 2>&5
! 2731: ac_status=$?
! 2732: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2733: (exit $ac_status); } &&
! 2734: { ac_try='test -s conftest.$ac_objext'
! 2735: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2736: (eval $ac_try) 2>&5
! 2737: ac_status=$?
! 2738: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2739: (exit $ac_status); }; }; then
! 2740: break
! 2741: else
! 2742: echo "$as_me: failed program was:" >&5
! 2743: sed 's/^/| /' conftest.$ac_ext >&5
! 2744:
! 2745: fi
! 2746: rm -f conftest.$ac_objext conftest.$ac_ext
! 2747: done
! 2748: rm -f conftest*
! 2749: if test -n "$ac_declaration"; then
! 2750: echo '#ifdef __cplusplus' >>confdefs.h
! 2751: echo $ac_declaration >>confdefs.h
! 2752: echo '#endif' >>confdefs.h
! 2753: fi
! 2754:
! 2755: else
! 2756: echo "$as_me: failed program was:" >&5
! 2757: sed 's/^/| /' conftest.$ac_ext >&5
! 2758:
! 2759: fi
! 2760: rm -f conftest.$ac_objext conftest.$ac_ext
! 2761: ac_ext=c
! 2762: ac_cpp='$CPP $CPPFLAGS'
! 2763: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2764: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2765: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2766: rm -f .deps 2>/dev/null
! 2767: mkdir .deps 2>/dev/null
! 2768: if test -d .deps; then
! 2769: DEPDIR=.deps
! 2770: else
! 2771: # MS-DOS does not allow filenames that begin with a dot.
! 2772: DEPDIR=_deps
! 2773: fi
! 2774: rmdir .deps 2>/dev/null
! 2775:
! 2776:
! 2777: ac_config_commands="$ac_config_commands depfiles"
! 2778:
! 2779:
! 2780: am_make=${MAKE-make}
! 2781: cat > confinc << 'END'
! 2782: doit:
! 2783: @echo done
! 2784: END
! 2785: # If we don't find an include directive, just comment out the code.
! 2786: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 2787: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! 2788: am__include="#"
! 2789: am__quote=
! 2790: _am_result=none
! 2791: # First try GNU make style include.
! 2792: echo "include confinc" > confmf
! 2793: # We grep out `Entering directory' and `Leaving directory'
! 2794: # messages which can occur if `w' ends up in MAKEFLAGS.
! 2795: # In particular we don't look at `^make:' because GNU make might
! 2796: # be invoked under some other name (usually "gmake"), in which
! 2797: # case it prints its new name instead of `make'.
! 2798: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 2799: am__include=include
! 2800: am__quote=
! 2801: _am_result=GNU
! 2802: fi
! 2803: # Now try BSD make style include.
! 2804: if test "$am__include" = "#"; then
! 2805: echo '.include "confinc"' > confmf
! 2806: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 2807: am__include=.include
! 2808: am__quote="\""
! 2809: _am_result=BSD
! 2810: fi
! 2811: fi
! 2812:
! 2813:
! 2814: echo "$as_me:$LINENO: result: $_am_result" >&5
! 2815: echo "${ECHO_T}$_am_result" >&6
! 2816: rm -f confinc confmf
! 2817:
! 2818: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
! 2819: if test "${enable_dependency_tracking+set}" = set; then
! 2820: enableval="$enable_dependency_tracking"
! 2821:
! 2822: fi;
! 2823: if test "x$enable_dependency_tracking" != xno; then
! 2824: am_depcomp="$ac_aux_dir/depcomp"
! 2825: AMDEPBACKSLASH='\'
! 2826: fi
! 2827:
! 2828:
! 2829: if test "x$enable_dependency_tracking" != xno; then
! 2830: AMDEP_TRUE=
! 2831: AMDEP_FALSE='#'
! 2832: else
! 2833: AMDEP_TRUE='#'
! 2834: AMDEP_FALSE=
! 2835: fi
! 2836:
! 2837:
! 2838:
! 2839:
! 2840: depcc="$CC" am_compiler_list=
! 2841:
! 2842: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 2843: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 2844: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 2845: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2846: else
! 2847: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 2848: # We make a subdir and do the tests there. Otherwise we can end up
! 2849: # making bogus files that we don't know about and never remove. For
! 2850: # instance it was reported that on HP-UX the gcc test will end up
! 2851: # making a dummy file named `D' -- because `-MD' means `put the output
! 2852: # in D'.
! 2853: mkdir conftest.dir
! 2854: # Copy depcomp to subdir because otherwise we won't find it if we're
! 2855: # using a relative directory.
! 2856: cp "$am_depcomp" conftest.dir
! 2857: cd conftest.dir
! 2858:
! 2859: am_cv_CC_dependencies_compiler_type=none
! 2860: if test "$am_compiler_list" = ""; then
! 2861: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 2862: fi
! 2863: for depmode in $am_compiler_list; do
! 2864: # We need to recreate these files for each test, as the compiler may
! 2865: # overwrite some of them when testing with obscure command lines.
! 2866: # This happens at least with the AIX C compiler.
! 2867: echo '#include "conftest.h"' > conftest.c
! 2868: echo 'int i;' > conftest.h
! 2869: echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
! 2870:
! 2871: case $depmode in
! 2872: nosideeffect)
! 2873: # after this tag, mechanisms are not by side-effect, so they'll
! 2874: # only be used when explicitly requested
! 2875: if test "x$enable_dependency_tracking" = xyes; then
! 2876: continue
! 2877: else
! 2878: break
! 2879: fi
! 2880: ;;
! 2881: none) break ;;
! 2882: esac
! 2883: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 2884: # mode. It turns out that the SunPro C++ compiler does not properly
! 2885: # handle `-M -o', and we need to detect this.
! 2886: if depmode=$depmode \
! 2887: source=conftest.c object=conftest.o \
! 2888: depfile=conftest.Po tmpdepfile=conftest.TPo \
! 2889: $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
! 2890: grep conftest.h conftest.Po > /dev/null 2>&1 &&
! 2891: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 2892: am_cv_CC_dependencies_compiler_type=$depmode
! 2893: break
! 2894: fi
! 2895: done
! 2896:
! 2897: cd ..
! 2898: rm -rf conftest.dir
! 2899: else
! 2900: am_cv_CC_dependencies_compiler_type=none
! 2901: fi
! 2902:
! 2903: fi
! 2904: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 2905: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
! 2906: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 2907:
! 2908:
! 2909:
! 2910: if
! 2911: test "x$enable_dependency_tracking" != xno \
! 2912: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 2913: am__fastdepCC_TRUE=
! 2914: am__fastdepCC_FALSE='#'
! 2915: else
! 2916: am__fastdepCC_TRUE='#'
! 2917: am__fastdepCC_FALSE=
! 2918: fi
! 2919:
! 2920:
! 2921:
! 2922: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 2923: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 2924: if test "${ac_cv_c_const+set}" = set; then
! 2925: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2926: else
! 2927: cat >conftest.$ac_ext <<_ACEOF
! 2928: #line $LINENO "configure"
! 2929: /* confdefs.h. */
! 2930: _ACEOF
! 2931: cat confdefs.h >>conftest.$ac_ext
! 2932: cat >>conftest.$ac_ext <<_ACEOF
! 2933: /* end confdefs.h. */
! 2934:
! 2935: int
! 2936: main ()
! 2937: {
! 2938: /* FIXME: Include the comments suggested by Paul. */
! 2939: #ifndef __cplusplus
! 2940: /* Ultrix mips cc rejects this. */
! 2941: typedef int charset[2];
! 2942: const charset x;
! 2943: /* SunOS 4.1.1 cc rejects this. */
! 2944: char const *const *ccp;
! 2945: char **p;
! 2946: /* NEC SVR4.0.2 mips cc rejects this. */
! 2947: struct point {int x, y;};
! 2948: static struct point const zero = {0,0};
! 2949: /* AIX XL C 1.02.0.0 rejects this.
! 2950: It does not let you subtract one const X* pointer from another in
! 2951: an arm of an if-expression whose if-part is not a constant
! 2952: expression */
! 2953: const char *g = "string";
! 2954: ccp = &g + (g ? g-g : 0);
! 2955: /* HPUX 7.0 cc rejects these. */
! 2956: ++ccp;
! 2957: p = (char**) ccp;
! 2958: ccp = (char const *const *) p;
! 2959: { /* SCO 3.2v4 cc rejects this. */
! 2960: char *t;
! 2961: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 2962:
! 2963: *t++ = 0;
! 2964: }
! 2965: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 2966: int x[] = {25, 17};
! 2967: const int *foo = &x[0];
! 2968: ++foo;
! 2969: }
! 2970: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 2971: typedef const int *iptr;
! 2972: iptr p = 0;
! 2973: ++p;
! 2974: }
! 2975: { /* AIX XL C 1.02.0.0 rejects this saying
! 2976: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 2977: struct s { int j; const int *ap[3]; };
! 2978: struct s *b; b->j = 5;
! 2979: }
! 2980: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 2981: const int foo = 10;
! 2982: }
! 2983: #endif
! 2984:
! 2985: ;
! 2986: return 0;
! 2987: }
! 2988: _ACEOF
! 2989: rm -f conftest.$ac_objext
! 2990: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2991: (eval $ac_compile) 2>&5
! 2992: ac_status=$?
! 2993: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2994: (exit $ac_status); } &&
! 2995: { ac_try='test -s conftest.$ac_objext'
! 2996: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2997: (eval $ac_try) 2>&5
! 2998: ac_status=$?
! 2999: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3000: (exit $ac_status); }; }; then
! 3001: ac_cv_c_const=yes
! 3002: else
! 3003: echo "$as_me: failed program was:" >&5
! 3004: sed 's/^/| /' conftest.$ac_ext >&5
! 3005:
! 3006: ac_cv_c_const=no
! 3007: fi
! 3008: rm -f conftest.$ac_objext conftest.$ac_ext
! 3009: fi
! 3010: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 3011: echo "${ECHO_T}$ac_cv_c_const" >&6
! 3012: if test $ac_cv_c_const = no; then
! 3013:
! 3014: cat >>confdefs.h <<\_ACEOF
! 3015: #define const
! 3016: _ACEOF
! 3017:
! 3018: fi
! 3019:
! 3020: echo "$as_me:$LINENO: checking for inline" >&5
! 3021: echo $ECHO_N "checking for inline... $ECHO_C" >&6
! 3022: if test "${ac_cv_c_inline+set}" = set; then
! 3023: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3024: else
! 3025: ac_cv_c_inline=no
! 3026: for ac_kw in inline __inline__ __inline; do
! 3027: cat >conftest.$ac_ext <<_ACEOF
! 3028: #line $LINENO "configure"
! 3029: /* confdefs.h. */
! 3030: _ACEOF
! 3031: cat confdefs.h >>conftest.$ac_ext
! 3032: cat >>conftest.$ac_ext <<_ACEOF
! 3033: /* end confdefs.h. */
! 3034: #ifndef __cplusplus
! 3035: typedef int foo_t;
! 3036: static $ac_kw foo_t static_foo () {return 0; }
! 3037: $ac_kw foo_t foo () {return 0; }
! 3038: #endif
! 3039:
! 3040: _ACEOF
! 3041: rm -f conftest.$ac_objext
! 3042: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3043: (eval $ac_compile) 2>&5
! 3044: ac_status=$?
! 3045: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3046: (exit $ac_status); } &&
! 3047: { ac_try='test -s conftest.$ac_objext'
! 3048: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3049: (eval $ac_try) 2>&5
! 3050: ac_status=$?
! 3051: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3052: (exit $ac_status); }; }; then
! 3053: ac_cv_c_inline=$ac_kw; break
! 3054: else
! 3055: echo "$as_me: failed program was:" >&5
! 3056: sed 's/^/| /' conftest.$ac_ext >&5
! 3057:
! 3058: fi
! 3059: rm -f conftest.$ac_objext conftest.$ac_ext
! 3060: done
! 3061:
! 3062: fi
! 3063: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
! 3064: echo "${ECHO_T}$ac_cv_c_inline" >&6
! 3065: case $ac_cv_c_inline in
! 3066: inline | yes) ;;
! 3067: no)
! 3068: cat >>confdefs.h <<\_ACEOF
! 3069: #define inline
! 3070: _ACEOF
! 3071: ;;
! 3072: *) cat >>confdefs.h <<_ACEOF
! 3073: #define inline $ac_cv_c_inline
! 3074: _ACEOF
! 3075: ;;
! 3076: esac
! 3077:
! 3078:
! 3079: # Check whether --enable-shared or --disable-shared was given.
! 3080: if test "${enable_shared+set}" = set; then
! 3081: enableval="$enable_shared"
! 3082: p=${PACKAGE-default}
! 3083: case $enableval in
! 3084: yes) enable_shared=yes ;;
! 3085: no) enable_shared=no ;;
! 3086: *)
! 3087: enable_shared=no
! 3088: # Look at the argument we got. We use all the common list separators.
! 3089: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3090: for pkg in $enableval; do
! 3091: if test "X$pkg" = "X$p"; then
! 3092: enable_shared=yes
! 3093: fi
! 3094: done
! 3095: IFS="$ac_save_ifs"
! 3096: ;;
! 3097: esac
! 3098: else
! 3099: enable_shared=no
! 3100: fi;
! 3101:
! 3102: # Check whether --enable-static or --disable-static was given.
! 3103: if test "${enable_static+set}" = set; then
! 3104: enableval="$enable_static"
! 3105: p=${PACKAGE-default}
! 3106: case $enableval in
! 3107: yes) enable_static=yes ;;
! 3108: no) enable_static=no ;;
! 3109: *)
! 3110: enable_static=no
! 3111: # Look at the argument we got. We use all the common list separators.
! 3112: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3113: for pkg in $enableval; do
! 3114: if test "X$pkg" = "X$p"; then
! 3115: enable_static=yes
! 3116: fi
! 3117: done
! 3118: IFS="$ac_save_ifs"
! 3119: ;;
! 3120: esac
! 3121: else
! 3122: enable_static=yes
! 3123: fi;
! 3124: # Check whether --enable-fast-install or --disable-fast-install was given.
! 3125: if test "${enable_fast_install+set}" = set; then
! 3126: enableval="$enable_fast_install"
! 3127: p=${PACKAGE-default}
! 3128: case $enableval in
! 3129: yes) enable_fast_install=yes ;;
! 3130: no) enable_fast_install=no ;;
! 3131: *)
! 3132: enable_fast_install=no
! 3133: # Look at the argument we got. We use all the common list separators.
! 3134: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3135: for pkg in $enableval; do
! 3136: if test "X$pkg" = "X$p"; then
! 3137: enable_fast_install=yes
! 3138: fi
! 3139: done
! 3140: IFS="$ac_save_ifs"
! 3141: ;;
! 3142: esac
! 3143: else
! 3144: enable_fast_install=yes
! 3145: fi;
! 3146: # Make sure we can run config.sub.
! 3147: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 3148: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! 3149: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 3150: { (exit 1); exit 1; }; }
! 3151:
! 3152: echo "$as_me:$LINENO: checking build system type" >&5
! 3153: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 3154: if test "${ac_cv_build+set}" = set; then
! 3155: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3156: else
! 3157: ac_cv_build_alias=$build_alias
! 3158: test -z "$ac_cv_build_alias" &&
! 3159: ac_cv_build_alias=`$ac_config_guess`
! 3160: test -z "$ac_cv_build_alias" &&
! 3161: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 3162: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 3163: { (exit 1); exit 1; }; }
! 3164: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 3165: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
! 3166: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! 3167: { (exit 1); exit 1; }; }
! 3168:
! 3169: fi
! 3170: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 3171: echo "${ECHO_T}$ac_cv_build" >&6
! 3172: build=$ac_cv_build
! 3173: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3174: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3175: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3176:
! 3177:
! 3178: echo "$as_me:$LINENO: checking host system type" >&5
! 3179: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 3180: if test "${ac_cv_host+set}" = set; then
! 3181: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3182: else
! 3183: ac_cv_host_alias=$host_alias
! 3184: test -z "$ac_cv_host_alias" &&
! 3185: ac_cv_host_alias=$ac_cv_build_alias
! 3186: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 3187: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 3188: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 3189: { (exit 1); exit 1; }; }
! 3190:
! 3191: fi
! 3192: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3193: echo "${ECHO_T}$ac_cv_host" >&6
! 3194: host=$ac_cv_host
! 3195: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3196: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3197: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3198:
! 3199:
! 3200: # Find the correct PATH separator. Usually this is `:', but
! 3201: # DJGPP uses `;' like DOS.
! 3202: if test "X${PATH_SEPARATOR+set}" != Xset; then
! 3203: UNAME=${UNAME-`uname 2>/dev/null`}
! 3204: case X$UNAME in
! 3205: *-DOS) lt_cv_sys_path_separator=';' ;;
! 3206: *) lt_cv_sys_path_separator=':' ;;
! 3207: esac
! 3208: PATH_SEPARATOR=$lt_cv_sys_path_separator
! 3209: fi
! 3210:
! 3211:
! 3212: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 3213: if test "${with_gnu_ld+set}" = set; then
! 3214: withval="$with_gnu_ld"
! 3215: test "$withval" = no || with_gnu_ld=yes
! 3216: else
! 3217: with_gnu_ld=no
! 3218: fi;
! 3219: ac_prog=ld
! 3220: if test "$GCC" = yes; then
! 3221: # Check if gcc -print-prog-name=ld gives a path.
! 3222: echo "$as_me:$LINENO: checking for ld used by GCC" >&5
! 3223: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
! 3224: case $host in
! 3225: *-*-mingw*)
! 3226: # gcc leaves a trailing carriage return which upsets mingw
! 3227: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 3228: *)
! 3229: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 3230: esac
! 3231: case $ac_prog in
! 3232: # Accept absolute paths.
! 3233: [\\/]* | [A-Za-z]:[\\/]*)
! 3234: re_direlt='/[^/][^/]*/\.\./'
! 3235: # Canonicalize the path of ld
! 3236: ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
! 3237: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 3238: ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
! 3239: done
! 3240: test -z "$LD" && LD="$ac_prog"
! 3241: ;;
! 3242: "")
! 3243: # If it fails, then pretend we aren't using GCC.
! 3244: ac_prog=ld
! 3245: ;;
! 3246: *)
! 3247: # If it is relative, then search for the first ld in PATH.
! 3248: with_gnu_ld=unknown
! 3249: ;;
! 3250: esac
! 3251: elif test "$with_gnu_ld" = yes; then
! 3252: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 3253: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 3254: else
! 3255: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 3256: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 3257: fi
! 3258: if test "${lt_cv_path_LD+set}" = set; then
! 3259: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3260: else
! 3261: if test -z "$LD"; then
! 3262: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3263: for ac_dir in $PATH; do
! 3264: test -z "$ac_dir" && ac_dir=.
! 3265: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 3266: lt_cv_path_LD="$ac_dir/$ac_prog"
! 3267: # Check to see if the program is GNU ld. I'd rather use --version,
! 3268: # but apparently some GNU ld's only accept -v.
! 3269: # Break only if it was the GNU/non-GNU ld that we prefer.
! 3270: if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
! 3271: test "$with_gnu_ld" != no && break
! 3272: else
! 3273: test "$with_gnu_ld" != yes && break
! 3274: fi
! 3275: fi
! 3276: done
! 3277: IFS="$ac_save_ifs"
! 3278: else
! 3279: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 3280: fi
! 3281: fi
! 3282:
! 3283: LD="$lt_cv_path_LD"
! 3284: if test -n "$LD"; then
! 3285: echo "$as_me:$LINENO: result: $LD" >&5
! 3286: echo "${ECHO_T}$LD" >&6
! 3287: else
! 3288: echo "$as_me:$LINENO: result: no" >&5
! 3289: echo "${ECHO_T}no" >&6
! 3290: fi
! 3291: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 3292: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 3293: { (exit 1); exit 1; }; }
! 3294: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 3295: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 3296: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 3297: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3298: else
! 3299: # I'd rather use --version here, but apparently some GNU ld's only accept -v.
! 3300: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
! 3301: lt_cv_prog_gnu_ld=yes
! 3302: else
! 3303: lt_cv_prog_gnu_ld=no
! 3304: fi
! 3305: fi
! 3306: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 3307: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 3308: with_gnu_ld=$lt_cv_prog_gnu_ld
! 3309:
! 3310:
! 3311: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 3312: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 3313: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 3314: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3315: else
! 3316: lt_cv_ld_reload_flag='-r'
! 3317: fi
! 3318: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 3319: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 3320: reload_flag=$lt_cv_ld_reload_flag
! 3321: test -n "$reload_flag" && reload_flag=" $reload_flag"
! 3322:
! 3323: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 3324: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! 3325: if test "${lt_cv_path_NM+set}" = set; then
! 3326: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3327: else
! 3328: if test -n "$NM"; then
! 3329: # Let the user override the test.
! 3330: lt_cv_path_NM="$NM"
! 3331: else
! 3332: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3333: for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
! 3334: test -z "$ac_dir" && ac_dir=.
! 3335: tmp_nm=$ac_dir/${ac_tool_prefix}nm
! 3336: if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
! 3337: # Check to see if the nm accepts a BSD-compat flag.
! 3338: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3339: # nm: unknown option "B" ignored
! 3340: # Tru64's nm complains that /dev/null is an invalid object file
! 3341: if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
! 3342: lt_cv_path_NM="$tmp_nm -B"
! 3343: break
! 3344: elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 3345: lt_cv_path_NM="$tmp_nm -p"
! 3346: break
! 3347: else
! 3348: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3349: continue # so that we can try to find one that supports BSD flags
! 3350: fi
! 3351: fi
! 3352: done
! 3353: IFS="$ac_save_ifs"
! 3354: test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
! 3355: fi
! 3356: fi
! 3357:
! 3358: NM="$lt_cv_path_NM"
! 3359: echo "$as_me:$LINENO: result: $NM" >&5
! 3360: echo "${ECHO_T}$NM" >&6
! 3361:
! 3362: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3363: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3364: if test "${lt_cv_path_SED+set}" = set; then
! 3365: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3366: else
! 3367: # Loop through the user's path and test for sed and gsed.
! 3368: # Then use that list of sed's as ones to test for truncation.
! 3369: as_executable_p="test -f"
! 3370: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3371: for as_dir in $PATH
! 3372: do
! 3373: IFS=$as_save_IFS
! 3374: test -z "$as_dir" && as_dir=.
! 3375: for ac_prog in sed gsed; do
! 3376: for ac_exec_ext in '' $ac_executable_extensions; do
! 3377: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 3378: _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
! 3379: fi
! 3380: done
! 3381: done
! 3382: done
! 3383:
! 3384: # Create a temporary directory, and hook for its removal unless debugging.
! 3385: $debug ||
! 3386: {
! 3387: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 3388: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 3389: }
! 3390:
! 3391: # Create a (secure) tmp directory for tmp files.
! 3392: : ${TMPDIR=/tmp}
! 3393: {
! 3394: tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
! 3395: test -n "$tmp" && test -d "$tmp"
! 3396: } ||
! 3397: {
! 3398: tmp=$TMPDIR/sed$$-$RANDOM
! 3399: (umask 077 && mkdir $tmp)
! 3400: } ||
! 3401: {
! 3402: echo "$me: cannot create a temporary directory in $TMPDIR" >&2
! 3403: { (exit 1); exit 1; }
! 3404: }
! 3405: _max=0
! 3406: _count=0
! 3407: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 3408: # along with /bin/sed that truncates output.
! 3409: for _sed in $_sed_list /usr/xpg4/bin/sed; do
! 3410: test ! -f ${_sed} && break
! 3411: cat /dev/null > "$tmp/sed.in"
! 3412: _count=0
! 3413: echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
! 3414: # Check for GNU sed and select it if it is found.
! 3415: if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
! 3416: lt_cv_path_SED=${_sed}
! 3417: break
! 3418: fi
! 3419: while true; do
! 3420: cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
! 3421: mv "$tmp/sed.tmp" "$tmp/sed.in"
! 3422: cp "$tmp/sed.in" "$tmp/sed.nl"
! 3423: echo >>"$tmp/sed.nl"
! 3424: ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
! 3425: cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
! 3426: # 40000 chars as input seems more than enough
! 3427: test $_count -gt 10 && break
! 3428: _count=`expr $_count + 1`
! 3429: if test $_count -gt $_max; then
! 3430: _max=$_count
! 3431: lt_cv_path_SED=$_sed
! 3432: fi
! 3433: done
! 3434: done
! 3435: rm -rf "$tmp"
! 3436:
! 3437: fi
! 3438:
! 3439: if test "X$SED" != "X"; then
! 3440: lt_cv_path_SED=$SED
! 3441: else
! 3442: SED=$lt_cv_path_SED
! 3443: fi
! 3444: echo "$as_me:$LINENO: result: $SED" >&5
! 3445: echo "${ECHO_T}$SED" >&6
! 3446:
! 3447: echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 3448: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! 3449: LN_S=$as_ln_s
! 3450: if test "$LN_S" = "ln -s"; then
! 3451: echo "$as_me:$LINENO: result: yes" >&5
! 3452: echo "${ECHO_T}yes" >&6
! 3453: else
! 3454: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 3455: echo "${ECHO_T}no, using $LN_S" >&6
! 3456: fi
! 3457:
! 3458: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
! 3459: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
! 3460: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 3461: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3462: else
! 3463: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 3464: lt_cv_file_magic_test_file=
! 3465: lt_cv_deplibs_check_method='unknown'
! 3466: # Need to set the preceding variable on all platforms that support
! 3467: # interlibrary dependencies.
! 3468: # 'none' -- dependencies not supported.
! 3469: # `unknown' -- same as none, but documents that we really don't know.
! 3470: # 'pass_all' -- all dependencies passed with no checks.
! 3471: # 'test_compile' -- check by making test program.
! 3472: # 'file_magic [[regex]]' -- check by looking for files in library path
! 3473: # which responds to the $file_magic_cmd with a given egrep regex.
! 3474: # If you have `file' or equivalent on your system and you're not sure
! 3475: # whether `pass_all' will *always* work, you probably want this one.
! 3476:
! 3477: case $host_os in
! 3478: aix4* | aix5*)
! 3479: lt_cv_deplibs_check_method=pass_all
! 3480: ;;
! 3481:
! 3482: beos*)
! 3483: lt_cv_deplibs_check_method=pass_all
! 3484: ;;
! 3485:
! 3486: bsdi4*)
! 3487: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 3488: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 3489: lt_cv_file_magic_test_file=/shlib/libc.so
! 3490: ;;
! 3491:
! 3492: cygwin* | mingw* | pw32*)
! 3493: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 3494: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 3495: ;;
! 3496:
! 3497: darwin* | rhapsody*)
! 3498: lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
! 3499: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 3500: case "$host_os" in
! 3501: rhapsody* | darwin1.[012])
! 3502: lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
! 3503: ;;
! 3504: *) # Darwin 1.3 on
! 3505: lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
! 3506: ;;
! 3507: esac
! 3508: ;;
! 3509:
! 3510: freebsd*)
! 3511: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 3512: case $host_cpu in
! 3513: i*86 )
! 3514: # Not sure whether the presence of OpenBSD here was a mistake.
! 3515: # Let's accept both of them until this is cleared up.
! 3516: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
! 3517: lt_cv_file_magic_cmd=/usr/bin/file
! 3518: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 3519: ;;
! 3520: esac
! 3521: else
! 3522: lt_cv_deplibs_check_method=pass_all
! 3523: fi
! 3524: ;;
! 3525:
! 3526: gnu*)
! 3527: lt_cv_deplibs_check_method=pass_all
! 3528: ;;
! 3529:
! 3530: hpux10.20*|hpux11*)
! 3531: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 3532: lt_cv_file_magic_cmd=/usr/bin/file
! 3533: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 3534: ;;
! 3535:
! 3536: irix5* | irix6* | nonstopux*)
! 3537: case $host_os in
! 3538: irix5* | nonstopux*)
! 3539: # this will be overridden with pass_all, but let us keep it just in case
! 3540: lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
! 3541: ;;
! 3542: *)
! 3543: case $LD in
! 3544: *-32|*"-32 ") libmagic=32-bit;;
! 3545: *-n32|*"-n32 ") libmagic=N32;;
! 3546: *-64|*"-64 ") libmagic=64-bit;;
! 3547: *) libmagic=never-match;;
! 3548: esac
! 3549: # this will be overridden with pass_all, but let us keep it just in case
! 3550: lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
! 3551: ;;
! 3552: esac
! 3553: lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
! 3554: lt_cv_deplibs_check_method=pass_all
! 3555: ;;
! 3556:
! 3557: # This must be Linux ELF.
! 3558: linux-gnu*)
! 3559: case $host_cpu in
! 3560: alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
! 3561: lt_cv_deplibs_check_method=pass_all ;;
! 3562: *)
! 3563: # glibc up to 2.1.1 does not perform some relocations on ARM
! 3564: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
! 3565: esac
! 3566: lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
! 3567: ;;
! 3568:
! 3569: netbsd*)
! 3570: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 3571: lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
! 3572: else
! 3573: lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
! 3574: fi
! 3575: ;;
! 3576:
! 3577: newos6*)
! 3578: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 3579: lt_cv_file_magic_cmd=/usr/bin/file
! 3580: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 3581: ;;
! 3582:
! 3583: openbsd*)
! 3584: lt_cv_file_magic_cmd=/usr/bin/file
! 3585: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 3586: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 3587: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
! 3588: else
! 3589: lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
! 3590: fi
! 3591: ;;
! 3592:
! 3593: osf3* | osf4* | osf5*)
! 3594: # this will be overridden with pass_all, but let us keep it just in case
! 3595: lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
! 3596: lt_cv_file_magic_test_file=/shlib/libc.so
! 3597: lt_cv_deplibs_check_method=pass_all
! 3598: ;;
! 3599:
! 3600: sco3.2v5*)
! 3601: lt_cv_deplibs_check_method=pass_all
! 3602: ;;
! 3603:
! 3604: solaris*)
! 3605: lt_cv_deplibs_check_method=pass_all
! 3606: lt_cv_file_magic_test_file=/lib/libc.so
! 3607: ;;
! 3608:
! 3609: sysv5uw[78]* | sysv4*uw2*)
! 3610: lt_cv_deplibs_check_method=pass_all
! 3611: ;;
! 3612:
! 3613: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 3614: case $host_vendor in
! 3615: motorola)
! 3616: 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]'
! 3617: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 3618: ;;
! 3619: ncr)
! 3620: lt_cv_deplibs_check_method=pass_all
! 3621: ;;
! 3622: sequent)
! 3623: lt_cv_file_magic_cmd='/bin/file'
! 3624: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 3625: ;;
! 3626: sni)
! 3627: lt_cv_file_magic_cmd='/bin/file'
! 3628: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 3629: lt_cv_file_magic_test_file=/lib/libc.so
! 3630: ;;
! 3631: siemens)
! 3632: lt_cv_deplibs_check_method=pass_all
! 3633: ;;
! 3634: esac
! 3635: ;;
! 3636: esac
! 3637:
! 3638: fi
! 3639: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 3640: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
! 3641: file_magic_cmd=$lt_cv_file_magic_cmd
! 3642: deplibs_check_method=$lt_cv_deplibs_check_method
! 3643:
! 3644:
! 3645:
! 3646:
! 3647:
! 3648:
! 3649:
! 3650: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 3651: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
! 3652: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
! 3653: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 3654: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3655: else
! 3656:
! 3657: # These are sane defaults that work on at least a few old systems.
! 3658: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 3659:
! 3660: # Character class describing NM global symbol codes.
! 3661: symcode='[BCDEGRST]'
! 3662:
! 3663: # Regexp to match symbols that can be accessed directly from C.
! 3664: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 3665:
! 3666: # Transform the above into a raw symbol and a C symbol.
! 3667: symxfrm='\1 \2\3 \3'
! 3668:
! 3669: # Transform an extracted symbol line into a proper C declaration
! 3670: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
! 3671:
! 3672: # Transform an extracted symbol line into symbol name and symbol address
! 3673: lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
! 3674:
! 3675: # Define system-specific variables.
! 3676: case $host_os in
! 3677: aix*)
! 3678: symcode='[BCDT]'
! 3679: ;;
! 3680: cygwin* | mingw* | pw32*)
! 3681: symcode='[ABCDGISTW]'
! 3682: ;;
! 3683: hpux*) # Its linker distinguishes data from code symbols
! 3684: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 3685: lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
! 3686: ;;
! 3687: irix* | nonstopux*)
! 3688: symcode='[BCDEGRST]'
! 3689: ;;
! 3690: osf*)
! 3691: symcode='[BCDEGQRST]'
! 3692: ;;
! 3693: solaris* | sysv5*)
! 3694: symcode='[BDT]'
! 3695: ;;
! 3696: sysv4)
! 3697: symcode='[DFNSTU]'
! 3698: ;;
! 3699: esac
! 3700:
! 3701: # Handle CRLF in mingw tool chain
! 3702: opt_cr=
! 3703: case $host_os in
! 3704: mingw*)
! 3705: opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 3706: ;;
! 3707: esac
! 3708:
! 3709: # If we're using GNU nm, then use its standard symbol codes.
! 3710: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
! 3711: symcode='[ABCDGISTW]'
! 3712: fi
! 3713:
! 3714: # Try without a prefix undercore, then with it.
! 3715: for ac_symprfx in "" "_"; do
! 3716:
! 3717: # Write the raw and C identifiers.
! 3718: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
! 3719:
! 3720: # Check to see that the pipe works correctly.
! 3721: pipe_works=no
! 3722: rm -f conftest*
! 3723: cat > conftest.$ac_ext <<EOF
! 3724: #ifdef __cplusplus
! 3725: extern "C" {
! 3726: #endif
! 3727: char nm_test_var;
! 3728: void nm_test_func(){}
! 3729: #ifdef __cplusplus
! 3730: }
! 3731: #endif
! 3732: int main(){nm_test_var='a';nm_test_func();return(0);}
! 3733: EOF
! 3734:
! 3735: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3736: (eval $ac_compile) 2>&5
! 3737: ac_status=$?
! 3738: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3739: (exit $ac_status); }; then
! 3740: # Now try to grab the symbols.
! 3741: nlist=conftest.nm
! 3742: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 3743: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 3744: ac_status=$?
! 3745: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3746: (exit $ac_status); } && test -s "$nlist"; then
! 3747: # Try sorting and uniquifying the output.
! 3748: if sort "$nlist" | uniq > "$nlist"T; then
! 3749: mv -f "$nlist"T "$nlist"
! 3750: else
! 3751: rm -f "$nlist"T
! 3752: fi
! 3753:
! 3754: # Make sure that we snagged all the symbols we need.
! 3755: if egrep ' nm_test_var$' "$nlist" >/dev/null; then
! 3756: if egrep ' nm_test_func$' "$nlist" >/dev/null; then
! 3757: cat <<EOF > conftest.$ac_ext
! 3758: #ifdef __cplusplus
! 3759: extern "C" {
! 3760: #endif
! 3761:
! 3762: EOF
! 3763: # Now generate the symbol file.
! 3764: eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
! 3765:
! 3766: cat <<EOF >> conftest.$ac_ext
! 3767: #if defined (__STDC__) && __STDC__
! 3768: # define lt_ptr void *
! 3769: #else
! 3770: # define lt_ptr char *
! 3771: # define const
! 3772: #endif
! 3773:
! 3774: /* The mapping between symbol names and symbols. */
! 3775: const struct {
! 3776: const char *name;
! 3777: lt_ptr address;
! 3778: }
! 3779: lt_preloaded_symbols[] =
! 3780: {
! 3781: EOF
! 3782: sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
! 3783: cat <<\EOF >> conftest.$ac_ext
! 3784: {0, (lt_ptr) 0}
! 3785: };
! 3786:
! 3787: #ifdef __cplusplus
! 3788: }
! 3789: #endif
! 3790: EOF
! 3791: # Now try linking the two files.
! 3792: mv conftest.$ac_objext conftstm.$ac_objext
! 3793: save_LIBS="$LIBS"
! 3794: save_CFLAGS="$CFLAGS"
! 3795: LIBS="conftstm.$ac_objext"
! 3796: CFLAGS="$CFLAGS$no_builtin_flag"
! 3797: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3798: (eval $ac_link) 2>&5
! 3799: ac_status=$?
! 3800: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3801: (exit $ac_status); } && test -s conftest$ac_exeext; then
! 3802: pipe_works=yes
! 3803: fi
! 3804: LIBS="$save_LIBS"
! 3805: CFLAGS="$save_CFLAGS"
! 3806: else
! 3807: echo "cannot find nm_test_func in $nlist" >&5
! 3808: fi
! 3809: else
! 3810: echo "cannot find nm_test_var in $nlist" >&5
! 3811: fi
! 3812: else
! 3813: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 3814: fi
! 3815: else
! 3816: echo "$progname: failed program was:" >&5
! 3817: cat conftest.$ac_ext >&5
! 3818: fi
! 3819: rm -f conftest* conftst*
! 3820:
! 3821: # Do not use the global_symbol_pipe unless it works.
! 3822: if test "$pipe_works" = yes; then
! 3823: break
! 3824: else
! 3825: lt_cv_sys_global_symbol_pipe=
! 3826: fi
! 3827: done
! 3828:
! 3829: fi
! 3830:
! 3831: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
! 3832: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 3833: global_symbol_to_cdecl=
! 3834: global_symbol_to_c_name_address=
! 3835: else
! 3836: global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
! 3837: global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
! 3838: fi
! 3839: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
! 3840: then
! 3841: echo "$as_me:$LINENO: result: failed" >&5
! 3842: echo "${ECHO_T}failed" >&6
! 3843: else
! 3844: echo "$as_me:$LINENO: result: ok" >&5
! 3845: echo "${ECHO_T}ok" >&6
! 3846: fi
! 3847:
! 3848: ac_ext=c
! 3849: ac_cpp='$CPP $CPPFLAGS'
! 3850: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3851: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3852: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3853: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3854: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 3855: # On Suns, sometimes $CPP names a directory.
! 3856: if test -n "$CPP" && test -d "$CPP"; then
! 3857: CPP=
! 3858: fi
! 3859: if test -z "$CPP"; then
! 3860: if test "${ac_cv_prog_CPP+set}" = set; then
! 3861: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3862: else
! 3863: # Double quotes because CPP needs to be expanded
! 3864: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3865: do
! 3866: ac_preproc_ok=false
! 3867: for ac_c_preproc_warn_flag in '' yes
! 3868: do
! 3869: # Use a header file that comes with gcc, so configuring glibc
! 3870: # with a fresh cross-compiler works.
! 3871: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3872: # <limits.h> exists even on freestanding compilers.
! 3873: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3874: # not just through cpp. "Syntax error" is here to catch this case.
! 3875: cat >conftest.$ac_ext <<_ACEOF
! 3876: #line $LINENO "configure"
! 3877: /* confdefs.h. */
! 3878: _ACEOF
! 3879: cat confdefs.h >>conftest.$ac_ext
! 3880: cat >>conftest.$ac_ext <<_ACEOF
! 3881: /* end confdefs.h. */
! 3882: #ifdef __STDC__
! 3883: # include <limits.h>
! 3884: #else
! 3885: # include <assert.h>
! 3886: #endif
! 3887: Syntax error
! 3888: _ACEOF
! 3889: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3890: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3891: ac_status=$?
! 3892: grep -v '^ *+' conftest.er1 >conftest.err
! 3893: rm -f conftest.er1
! 3894: cat conftest.err >&5
! 3895: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3896: (exit $ac_status); } >/dev/null; then
! 3897: if test -s conftest.err; then
! 3898: ac_cpp_err=$ac_c_preproc_warn_flag
! 3899: else
! 3900: ac_cpp_err=
! 3901: fi
! 3902: else
! 3903: ac_cpp_err=yes
! 3904: fi
! 3905: if test -z "$ac_cpp_err"; then
! 3906: :
! 3907: else
! 3908: echo "$as_me: failed program was:" >&5
! 3909: sed 's/^/| /' conftest.$ac_ext >&5
! 3910:
! 3911: # Broken: fails on valid input.
! 3912: continue
! 3913: fi
! 3914: rm -f conftest.err conftest.$ac_ext
! 3915:
! 3916: # OK, works on sane cases. Now check whether non-existent headers
! 3917: # can be detected and how.
! 3918: cat >conftest.$ac_ext <<_ACEOF
! 3919: #line $LINENO "configure"
! 3920: /* confdefs.h. */
! 3921: _ACEOF
! 3922: cat confdefs.h >>conftest.$ac_ext
! 3923: cat >>conftest.$ac_ext <<_ACEOF
! 3924: /* end confdefs.h. */
! 3925: #include <ac_nonexistent.h>
! 3926: _ACEOF
! 3927: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3928: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3929: ac_status=$?
! 3930: grep -v '^ *+' conftest.er1 >conftest.err
! 3931: rm -f conftest.er1
! 3932: cat conftest.err >&5
! 3933: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3934: (exit $ac_status); } >/dev/null; then
! 3935: if test -s conftest.err; then
! 3936: ac_cpp_err=$ac_c_preproc_warn_flag
! 3937: else
! 3938: ac_cpp_err=
! 3939: fi
! 3940: else
! 3941: ac_cpp_err=yes
! 3942: fi
! 3943: if test -z "$ac_cpp_err"; then
! 3944: # Broken: success on invalid input.
! 3945: continue
! 3946: else
! 3947: echo "$as_me: failed program was:" >&5
! 3948: sed 's/^/| /' conftest.$ac_ext >&5
! 3949:
! 3950: # Passes both tests.
! 3951: ac_preproc_ok=:
! 3952: break
! 3953: fi
! 3954: rm -f conftest.err conftest.$ac_ext
! 3955:
! 3956: done
! 3957: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3958: rm -f conftest.err conftest.$ac_ext
! 3959: if $ac_preproc_ok; then
! 3960: break
! 3961: fi
! 3962:
! 3963: done
! 3964: ac_cv_prog_CPP=$CPP
! 3965:
! 3966: fi
! 3967: CPP=$ac_cv_prog_CPP
! 3968: else
! 3969: ac_cv_prog_CPP=$CPP
! 3970: fi
! 3971: echo "$as_me:$LINENO: result: $CPP" >&5
! 3972: echo "${ECHO_T}$CPP" >&6
! 3973: ac_preproc_ok=false
! 3974: for ac_c_preproc_warn_flag in '' yes
! 3975: do
! 3976: # Use a header file that comes with gcc, so configuring glibc
! 3977: # with a fresh cross-compiler works.
! 3978: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3979: # <limits.h> exists even on freestanding compilers.
! 3980: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3981: # not just through cpp. "Syntax error" is here to catch this case.
! 3982: cat >conftest.$ac_ext <<_ACEOF
! 3983: #line $LINENO "configure"
! 3984: /* confdefs.h. */
! 3985: _ACEOF
! 3986: cat confdefs.h >>conftest.$ac_ext
! 3987: cat >>conftest.$ac_ext <<_ACEOF
! 3988: /* end confdefs.h. */
! 3989: #ifdef __STDC__
! 3990: # include <limits.h>
! 3991: #else
! 3992: # include <assert.h>
! 3993: #endif
! 3994: Syntax error
! 3995: _ACEOF
! 3996: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3997: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3998: ac_status=$?
! 3999: grep -v '^ *+' conftest.er1 >conftest.err
! 4000: rm -f conftest.er1
! 4001: cat conftest.err >&5
! 4002: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4003: (exit $ac_status); } >/dev/null; then
! 4004: if test -s conftest.err; then
! 4005: ac_cpp_err=$ac_c_preproc_warn_flag
! 4006: else
! 4007: ac_cpp_err=
! 4008: fi
! 4009: else
! 4010: ac_cpp_err=yes
! 4011: fi
! 4012: if test -z "$ac_cpp_err"; then
! 4013: :
! 4014: else
! 4015: echo "$as_me: failed program was:" >&5
! 4016: sed 's/^/| /' conftest.$ac_ext >&5
! 4017:
! 4018: # Broken: fails on valid input.
! 4019: continue
! 4020: fi
! 4021: rm -f conftest.err conftest.$ac_ext
! 4022:
! 4023: # OK, works on sane cases. Now check whether non-existent headers
! 4024: # can be detected and how.
! 4025: cat >conftest.$ac_ext <<_ACEOF
! 4026: #line $LINENO "configure"
! 4027: /* confdefs.h. */
! 4028: _ACEOF
! 4029: cat confdefs.h >>conftest.$ac_ext
! 4030: cat >>conftest.$ac_ext <<_ACEOF
! 4031: /* end confdefs.h. */
! 4032: #include <ac_nonexistent.h>
! 4033: _ACEOF
! 4034: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4035: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4036: ac_status=$?
! 4037: grep -v '^ *+' conftest.er1 >conftest.err
! 4038: rm -f conftest.er1
! 4039: cat conftest.err >&5
! 4040: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4041: (exit $ac_status); } >/dev/null; then
! 4042: if test -s conftest.err; then
! 4043: ac_cpp_err=$ac_c_preproc_warn_flag
! 4044: else
! 4045: ac_cpp_err=
! 4046: fi
! 4047: else
! 4048: ac_cpp_err=yes
! 4049: fi
! 4050: if test -z "$ac_cpp_err"; then
! 4051: # Broken: success on invalid input.
! 4052: continue
! 4053: else
! 4054: echo "$as_me: failed program was:" >&5
! 4055: sed 's/^/| /' conftest.$ac_ext >&5
! 4056:
! 4057: # Passes both tests.
! 4058: ac_preproc_ok=:
! 4059: break
! 4060: fi
! 4061: rm -f conftest.err conftest.$ac_ext
! 4062:
! 4063: done
! 4064: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4065: rm -f conftest.err conftest.$ac_ext
! 4066: if $ac_preproc_ok; then
! 4067: :
! 4068: else
! 4069: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 4070: See \`config.log' for more details." >&5
! 4071: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 4072: See \`config.log' for more details." >&2;}
! 4073: { (exit 1); exit 1; }; }
! 4074: fi
! 4075:
! 4076: ac_ext=c
! 4077: ac_cpp='$CPP $CPPFLAGS'
! 4078: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4079: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4080: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4081:
! 4082:
! 4083: echo "$as_me:$LINENO: checking for egrep" >&5
! 4084: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 4085: if test "${ac_cv_prog_egrep+set}" = set; then
! 4086: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4087: else
! 4088: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 4089: then ac_cv_prog_egrep='grep -E'
! 4090: else ac_cv_prog_egrep='egrep'
! 4091: fi
! 4092: fi
! 4093: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 4094: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 4095: EGREP=$ac_cv_prog_egrep
! 4096:
! 4097:
! 4098: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 4099: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 4100: if test "${ac_cv_header_stdc+set}" = set; then
! 4101: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4102: else
! 4103: cat >conftest.$ac_ext <<_ACEOF
! 4104: #line $LINENO "configure"
! 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>&5
! 4126: ac_status=$?
! 4127: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4128: (exit $ac_status); } &&
! 4129: { ac_try='test -s conftest.$ac_objext'
! 4130: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4131: (eval $ac_try) 2>&5
! 4132: ac_status=$?
! 4133: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4134: (exit $ac_status); }; }; then
! 4135: ac_cv_header_stdc=yes
! 4136: else
! 4137: echo "$as_me: failed program was:" >&5
! 4138: sed 's/^/| /' conftest.$ac_ext >&5
! 4139:
! 4140: ac_cv_header_stdc=no
! 4141: fi
! 4142: rm -f conftest.$ac_objext conftest.$ac_ext
! 4143:
! 4144: if test $ac_cv_header_stdc = yes; then
! 4145: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 4146: cat >conftest.$ac_ext <<_ACEOF
! 4147: #line $LINENO "configure"
! 4148: /* confdefs.h. */
! 4149: _ACEOF
! 4150: cat confdefs.h >>conftest.$ac_ext
! 4151: cat >>conftest.$ac_ext <<_ACEOF
! 4152: /* end confdefs.h. */
! 4153: #include <string.h>
! 4154:
! 4155: _ACEOF
! 4156: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4157: $EGREP "memchr" >/dev/null 2>&1; then
! 4158: :
! 4159: else
! 4160: ac_cv_header_stdc=no
! 4161: fi
! 4162: rm -f conftest*
! 4163:
! 4164: fi
! 4165:
! 4166: if test $ac_cv_header_stdc = yes; then
! 4167: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 4168: cat >conftest.$ac_ext <<_ACEOF
! 4169: #line $LINENO "configure"
! 4170: /* confdefs.h. */
! 4171: _ACEOF
! 4172: cat confdefs.h >>conftest.$ac_ext
! 4173: cat >>conftest.$ac_ext <<_ACEOF
! 4174: /* end confdefs.h. */
! 4175: #include <stdlib.h>
! 4176:
! 4177: _ACEOF
! 4178: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4179: $EGREP "free" >/dev/null 2>&1; then
! 4180: :
! 4181: else
! 4182: ac_cv_header_stdc=no
! 4183: fi
! 4184: rm -f conftest*
! 4185:
! 4186: fi
! 4187:
! 4188: if test $ac_cv_header_stdc = yes; then
! 4189: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 4190: if test "$cross_compiling" = yes; then
! 4191: :
! 4192: else
! 4193: cat >conftest.$ac_ext <<_ACEOF
! 4194: #line $LINENO "configure"
! 4195: /* confdefs.h. */
! 4196: _ACEOF
! 4197: cat confdefs.h >>conftest.$ac_ext
! 4198: cat >>conftest.$ac_ext <<_ACEOF
! 4199: /* end confdefs.h. */
! 4200: #include <ctype.h>
! 4201: #if ((' ' & 0x0FF) == 0x020)
! 4202: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 4203: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 4204: #else
! 4205: # define ISLOWER(c) \
! 4206: (('a' <= (c) && (c) <= 'i') \
! 4207: || ('j' <= (c) && (c) <= 'r') \
! 4208: || ('s' <= (c) && (c) <= 'z'))
! 4209: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 4210: #endif
! 4211:
! 4212: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 4213: int
! 4214: main ()
! 4215: {
! 4216: int i;
! 4217: for (i = 0; i < 256; i++)
! 4218: if (XOR (islower (i), ISLOWER (i))
! 4219: || toupper (i) != TOUPPER (i))
! 4220: exit(2);
! 4221: exit (0);
! 4222: }
! 4223: _ACEOF
! 4224: rm -f conftest$ac_exeext
! 4225: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4226: (eval $ac_link) 2>&5
! 4227: ac_status=$?
! 4228: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4229: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4230: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4231: (eval $ac_try) 2>&5
! 4232: ac_status=$?
! 4233: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4234: (exit $ac_status); }; }; then
! 4235: :
! 4236: else
! 4237: echo "$as_me: program exited with status $ac_status" >&5
! 4238: echo "$as_me: failed program was:" >&5
! 4239: sed 's/^/| /' conftest.$ac_ext >&5
! 4240:
! 4241: ( exit $ac_status )
! 4242: ac_cv_header_stdc=no
! 4243: fi
! 4244: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4245: fi
! 4246: fi
! 4247: fi
! 4248: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 4249: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 4250: if test $ac_cv_header_stdc = yes; then
! 4251:
! 4252: cat >>confdefs.h <<\_ACEOF
! 4253: #define STDC_HEADERS 1
! 4254: _ACEOF
! 4255:
! 4256: fi
! 4257:
! 4258: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 4259:
! 4260:
! 4261:
! 4262:
! 4263:
! 4264:
! 4265:
! 4266:
! 4267:
! 4268: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 4269: inttypes.h stdint.h unistd.h
! 4270: do
! 4271: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4272: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4273: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4274: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4275: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4276: else
! 4277: cat >conftest.$ac_ext <<_ACEOF
! 4278: #line $LINENO "configure"
! 4279: /* confdefs.h. */
! 4280: _ACEOF
! 4281: cat confdefs.h >>conftest.$ac_ext
! 4282: cat >>conftest.$ac_ext <<_ACEOF
! 4283: /* end confdefs.h. */
! 4284: $ac_includes_default
! 4285:
! 4286: #include <$ac_header>
! 4287: _ACEOF
! 4288: rm -f conftest.$ac_objext
! 4289: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4290: (eval $ac_compile) 2>&5
! 4291: ac_status=$?
! 4292: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4293: (exit $ac_status); } &&
! 4294: { ac_try='test -s conftest.$ac_objext'
! 4295: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4296: (eval $ac_try) 2>&5
! 4297: ac_status=$?
! 4298: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4299: (exit $ac_status); }; }; then
! 4300: eval "$as_ac_Header=yes"
! 4301: else
! 4302: echo "$as_me: failed program was:" >&5
! 4303: sed 's/^/| /' conftest.$ac_ext >&5
! 4304:
! 4305: eval "$as_ac_Header=no"
! 4306: fi
! 4307: rm -f conftest.$ac_objext conftest.$ac_ext
! 4308: fi
! 4309: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4310: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4311: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4312: cat >>confdefs.h <<_ACEOF
! 4313: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4314: _ACEOF
! 4315:
! 4316: fi
! 4317:
! 4318: done
! 4319:
! 4320:
! 4321:
! 4322: for ac_header in dlfcn.h
! 4323: do
! 4324: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4325: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4326: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4327: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4328: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4329: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4330: fi
! 4331: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4332: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4333: else
! 4334: # Is the header compilable?
! 4335: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4336: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 4337: cat >conftest.$ac_ext <<_ACEOF
! 4338: #line $LINENO "configure"
! 4339: /* confdefs.h. */
! 4340: _ACEOF
! 4341: cat confdefs.h >>conftest.$ac_ext
! 4342: cat >>conftest.$ac_ext <<_ACEOF
! 4343: /* end confdefs.h. */
! 4344: $ac_includes_default
! 4345: #include <$ac_header>
! 4346: _ACEOF
! 4347: rm -f conftest.$ac_objext
! 4348: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4349: (eval $ac_compile) 2>&5
! 4350: ac_status=$?
! 4351: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4352: (exit $ac_status); } &&
! 4353: { ac_try='test -s conftest.$ac_objext'
! 4354: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4355: (eval $ac_try) 2>&5
! 4356: ac_status=$?
! 4357: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4358: (exit $ac_status); }; }; then
! 4359: ac_header_compiler=yes
! 4360: else
! 4361: echo "$as_me: failed program was:" >&5
! 4362: sed 's/^/| /' conftest.$ac_ext >&5
! 4363:
! 4364: ac_header_compiler=no
! 4365: fi
! 4366: rm -f conftest.$ac_objext conftest.$ac_ext
! 4367: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4368: echo "${ECHO_T}$ac_header_compiler" >&6
! 4369:
! 4370: # Is the header present?
! 4371: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4372: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 4373: cat >conftest.$ac_ext <<_ACEOF
! 4374: #line $LINENO "configure"
! 4375: /* confdefs.h. */
! 4376: _ACEOF
! 4377: cat confdefs.h >>conftest.$ac_ext
! 4378: cat >>conftest.$ac_ext <<_ACEOF
! 4379: /* end confdefs.h. */
! 4380: #include <$ac_header>
! 4381: _ACEOF
! 4382: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4383: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4384: ac_status=$?
! 4385: grep -v '^ *+' conftest.er1 >conftest.err
! 4386: rm -f conftest.er1
! 4387: cat conftest.err >&5
! 4388: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4389: (exit $ac_status); } >/dev/null; then
! 4390: if test -s conftest.err; then
! 4391: ac_cpp_err=$ac_c_preproc_warn_flag
! 4392: else
! 4393: ac_cpp_err=
! 4394: fi
! 4395: else
! 4396: ac_cpp_err=yes
! 4397: fi
! 4398: if test -z "$ac_cpp_err"; then
! 4399: ac_header_preproc=yes
! 4400: else
! 4401: echo "$as_me: failed program was:" >&5
! 4402: sed 's/^/| /' conftest.$ac_ext >&5
! 4403:
! 4404: ac_header_preproc=no
! 4405: fi
! 4406: rm -f conftest.err conftest.$ac_ext
! 4407: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4408: echo "${ECHO_T}$ac_header_preproc" >&6
! 4409:
! 4410: # So? What about this header?
! 4411: case $ac_header_compiler:$ac_header_preproc in
! 4412: yes:no )
! 4413: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4414: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4415: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4416: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4417: (
! 4418: cat <<\_ASBOX
! 4419: ## ------------------------------------ ##
! 4420: ## Report this to bug-autoconf@gnu.org. ##
! 4421: ## ------------------------------------ ##
! 4422: _ASBOX
! 4423: ) |
! 4424: sed "s/^/$as_me: WARNING: /" >&2
! 4425: ;;
! 4426: no:yes )
! 4427: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4428: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4429: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4430: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4431: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4432: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4433: (
! 4434: cat <<\_ASBOX
! 4435: ## ------------------------------------ ##
! 4436: ## Report this to bug-autoconf@gnu.org. ##
! 4437: ## ------------------------------------ ##
! 4438: _ASBOX
! 4439: ) |
! 4440: sed "s/^/$as_me: WARNING: /" >&2
! 4441: ;;
! 4442: esac
! 4443: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4444: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4445: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4446: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4447: else
! 4448: eval "$as_ac_Header=$ac_header_preproc"
! 4449: fi
! 4450: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4451: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4452:
! 4453: fi
! 4454: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4455: cat >>confdefs.h <<_ACEOF
! 4456: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4457: _ACEOF
! 4458:
! 4459: fi
! 4460:
! 4461: done
! 4462:
! 4463:
! 4464:
! 4465:
! 4466:
! 4467:
! 4468: # Only perform the check for file, if the check method requires it
! 4469: case $deplibs_check_method in
! 4470: file_magic*)
! 4471: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 4472: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 4473: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 4474: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 4475: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4476: else
! 4477: case $MAGIC_CMD in
! 4478: /*)
! 4479: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 4480: ;;
! 4481: ?:/*)
! 4482: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
! 4483: ;;
! 4484: *)
! 4485: ac_save_MAGIC_CMD="$MAGIC_CMD"
! 4486: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 4487: ac_dummy="/usr/bin:$PATH"
! 4488: for ac_dir in $ac_dummy; do
! 4489: test -z "$ac_dir" && ac_dir=.
! 4490: if test -f $ac_dir/${ac_tool_prefix}file; then
! 4491: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 4492: if test -n "$file_magic_test_file"; then
! 4493: case $deplibs_check_method in
! 4494: "file_magic "*)
! 4495: file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
! 4496: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 4497: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 4498: egrep "$file_magic_regex" > /dev/null; then
! 4499: :
! 4500: else
! 4501: cat <<EOF 1>&2
! 4502:
! 4503: *** Warning: the command libtool uses to detect shared libraries,
! 4504: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 4505: *** The result is that libtool may fail to recognize shared libraries
! 4506: *** as such. This will affect the creation of libtool libraries that
! 4507: *** depend on shared libraries, but programs linked with such libtool
! 4508: *** libraries will work regardless of this problem. Nevertheless, you
! 4509: *** may want to report the problem to your system manager and/or to
! 4510: *** bug-libtool@gnu.org
! 4511:
! 4512: EOF
! 4513: fi ;;
! 4514: esac
! 4515: fi
! 4516: break
! 4517: fi
! 4518: done
! 4519: IFS="$ac_save_ifs"
! 4520: MAGIC_CMD="$ac_save_MAGIC_CMD"
! 4521: ;;
! 4522: esac
! 4523: fi
! 4524:
! 4525: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 4526: if test -n "$MAGIC_CMD"; then
! 4527: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 4528: echo "${ECHO_T}$MAGIC_CMD" >&6
! 4529: else
! 4530: echo "$as_me:$LINENO: result: no" >&5
! 4531: echo "${ECHO_T}no" >&6
! 4532: fi
! 4533:
! 4534: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 4535: if test -n "$ac_tool_prefix"; then
! 4536: echo "$as_me:$LINENO: checking for file" >&5
! 4537: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 4538: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 4539: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4540: else
! 4541: case $MAGIC_CMD in
! 4542: /*)
! 4543: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 4544: ;;
! 4545: ?:/*)
! 4546: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
! 4547: ;;
! 4548: *)
! 4549: ac_save_MAGIC_CMD="$MAGIC_CMD"
! 4550: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 4551: ac_dummy="/usr/bin:$PATH"
! 4552: for ac_dir in $ac_dummy; do
! 4553: test -z "$ac_dir" && ac_dir=.
! 4554: if test -f $ac_dir/file; then
! 4555: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 4556: if test -n "$file_magic_test_file"; then
! 4557: case $deplibs_check_method in
! 4558: "file_magic "*)
! 4559: file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
! 4560: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 4561: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 4562: egrep "$file_magic_regex" > /dev/null; then
! 4563: :
! 4564: else
! 4565: cat <<EOF 1>&2
! 4566:
! 4567: *** Warning: the command libtool uses to detect shared libraries,
! 4568: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 4569: *** The result is that libtool may fail to recognize shared libraries
! 4570: *** as such. This will affect the creation of libtool libraries that
! 4571: *** depend on shared libraries, but programs linked with such libtool
! 4572: *** libraries will work regardless of this problem. Nevertheless, you
! 4573: *** may want to report the problem to your system manager and/or to
! 4574: *** bug-libtool@gnu.org
! 4575:
! 4576: EOF
! 4577: fi ;;
! 4578: esac
! 4579: fi
! 4580: break
! 4581: fi
! 4582: done
! 4583: IFS="$ac_save_ifs"
! 4584: MAGIC_CMD="$ac_save_MAGIC_CMD"
! 4585: ;;
! 4586: esac
! 4587: fi
! 4588:
! 4589: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 4590: if test -n "$MAGIC_CMD"; then
! 4591: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 4592: echo "${ECHO_T}$MAGIC_CMD" >&6
! 4593: else
! 4594: echo "$as_me:$LINENO: result: no" >&5
! 4595: echo "${ECHO_T}no" >&6
! 4596: fi
! 4597:
! 4598: else
! 4599: MAGIC_CMD=:
! 4600: fi
! 4601: fi
! 4602:
! 4603: fi
! 4604: ;;
! 4605: esac
! 4606:
! 4607: if test -n "$ac_tool_prefix"; then
! 4608: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 4609: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 4610: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4611: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4612: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 4613: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4614: else
! 4615: if test -n "$RANLIB"; then
! 4616: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 4617: else
! 4618: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4619: for as_dir in $PATH
! 4620: do
! 4621: IFS=$as_save_IFS
! 4622: test -z "$as_dir" && as_dir=.
! 4623: for ac_exec_ext in '' $ac_executable_extensions; do
! 4624: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4625: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 4626: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4627: break 2
! 4628: fi
! 4629: done
! 4630: done
! 4631:
! 4632: fi
! 4633: fi
! 4634: RANLIB=$ac_cv_prog_RANLIB
! 4635: if test -n "$RANLIB"; then
! 4636: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 4637: echo "${ECHO_T}$RANLIB" >&6
! 4638: else
! 4639: echo "$as_me:$LINENO: result: no" >&5
! 4640: echo "${ECHO_T}no" >&6
! 4641: fi
! 4642:
! 4643: fi
! 4644: if test -z "$ac_cv_prog_RANLIB"; then
! 4645: ac_ct_RANLIB=$RANLIB
! 4646: # Extract the first word of "ranlib", so it can be a program name with args.
! 4647: set dummy ranlib; ac_word=$2
! 4648: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4649: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4650: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 4651: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4652: else
! 4653: if test -n "$ac_ct_RANLIB"; then
! 4654: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 4655: else
! 4656: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4657: for as_dir in $PATH
! 4658: do
! 4659: IFS=$as_save_IFS
! 4660: test -z "$as_dir" && as_dir=.
! 4661: for ac_exec_ext in '' $ac_executable_extensions; do
! 4662: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4663: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 4664: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4665: break 2
! 4666: fi
! 4667: done
! 4668: done
! 4669:
! 4670: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 4671: fi
! 4672: fi
! 4673: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 4674: if test -n "$ac_ct_RANLIB"; then
! 4675: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 4676: echo "${ECHO_T}$ac_ct_RANLIB" >&6
! 4677: else
! 4678: echo "$as_me:$LINENO: result: no" >&5
! 4679: echo "${ECHO_T}no" >&6
! 4680: fi
! 4681:
! 4682: RANLIB=$ac_ct_RANLIB
! 4683: else
! 4684: RANLIB="$ac_cv_prog_RANLIB"
! 4685: fi
! 4686:
! 4687: if test -n "$ac_tool_prefix"; then
! 4688: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 4689: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 4690: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4691: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4692: if test "${ac_cv_prog_STRIP+set}" = set; then
! 4693: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4694: else
! 4695: if test -n "$STRIP"; then
! 4696: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 4697: else
! 4698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4699: for as_dir in $PATH
! 4700: do
! 4701: IFS=$as_save_IFS
! 4702: test -z "$as_dir" && as_dir=.
! 4703: for ac_exec_ext in '' $ac_executable_extensions; do
! 4704: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4705: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 4706: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4707: break 2
! 4708: fi
! 4709: done
! 4710: done
! 4711:
! 4712: fi
! 4713: fi
! 4714: STRIP=$ac_cv_prog_STRIP
! 4715: if test -n "$STRIP"; then
! 4716: echo "$as_me:$LINENO: result: $STRIP" >&5
! 4717: echo "${ECHO_T}$STRIP" >&6
! 4718: else
! 4719: echo "$as_me:$LINENO: result: no" >&5
! 4720: echo "${ECHO_T}no" >&6
! 4721: fi
! 4722:
! 4723: fi
! 4724: if test -z "$ac_cv_prog_STRIP"; then
! 4725: ac_ct_STRIP=$STRIP
! 4726: # Extract the first word of "strip", so it can be a program name with args.
! 4727: set dummy strip; ac_word=$2
! 4728: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4729: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 4730: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 4731: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4732: else
! 4733: if test -n "$ac_ct_STRIP"; then
! 4734: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 4735: else
! 4736: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4737: for as_dir in $PATH
! 4738: do
! 4739: IFS=$as_save_IFS
! 4740: test -z "$as_dir" && as_dir=.
! 4741: for ac_exec_ext in '' $ac_executable_extensions; do
! 4742: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4743: ac_cv_prog_ac_ct_STRIP="strip"
! 4744: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4745: break 2
! 4746: fi
! 4747: done
! 4748: done
! 4749:
! 4750: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 4751: fi
! 4752: fi
! 4753: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 4754: if test -n "$ac_ct_STRIP"; then
! 4755: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 4756: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 4757: else
! 4758: echo "$as_me:$LINENO: result: no" >&5
! 4759: echo "${ECHO_T}no" >&6
! 4760: fi
! 4761:
! 4762: STRIP=$ac_ct_STRIP
! 4763: else
! 4764: STRIP="$ac_cv_prog_STRIP"
! 4765: fi
! 4766:
! 4767:
! 4768: enable_dlopen=no
! 4769: enable_win32_dll=no
! 4770:
! 4771: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 4772: if test "${enable_libtool_lock+set}" = set; then
! 4773: enableval="$enable_libtool_lock"
! 4774:
! 4775: fi;
! 4776: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 4777:
! 4778: # Some flags need to be propagated to the compiler or linker for good
! 4779: # libtool support.
! 4780: case $host in
! 4781: *-*-irix6*)
! 4782: # Find out which ABI we are using.
! 4783: echo '#line 4783 "configure"' > conftest.$ac_ext
! 4784: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4785: (eval $ac_compile) 2>&5
! 4786: ac_status=$?
! 4787: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4788: (exit $ac_status); }; then
! 4789: case `/usr/bin/file conftest.$ac_objext` in
! 4790: *32-bit*)
! 4791: LD="${LD-ld} -32"
! 4792: ;;
! 4793: *N32*)
! 4794: LD="${LD-ld} -n32"
! 4795: ;;
! 4796: *64-bit*)
! 4797: LD="${LD-ld} -64"
! 4798: ;;
! 4799: esac
! 4800: fi
! 4801: rm -rf conftest*
! 4802: ;;
! 4803:
! 4804: *-*-sco3.2v5*)
! 4805: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 4806: SAVE_CFLAGS="$CFLAGS"
! 4807: CFLAGS="$CFLAGS -belf"
! 4808: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 4809: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 4810: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 4811: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4812: else
! 4813:
! 4814:
! 4815: ac_ext=c
! 4816: ac_cpp='$CPP $CPPFLAGS'
! 4817: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4818: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4819: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4820:
! 4821: cat >conftest.$ac_ext <<_ACEOF
! 4822: #line $LINENO "configure"
! 4823: /* confdefs.h. */
! 4824: _ACEOF
! 4825: cat confdefs.h >>conftest.$ac_ext
! 4826: cat >>conftest.$ac_ext <<_ACEOF
! 4827: /* end confdefs.h. */
! 4828:
! 4829: int
! 4830: main ()
! 4831: {
! 4832:
! 4833: ;
! 4834: return 0;
! 4835: }
! 4836: _ACEOF
! 4837: rm -f conftest.$ac_objext conftest$ac_exeext
! 4838: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4839: (eval $ac_link) 2>&5
! 4840: ac_status=$?
! 4841: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4842: (exit $ac_status); } &&
! 4843: { ac_try='test -s conftest$ac_exeext'
! 4844: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4845: (eval $ac_try) 2>&5
! 4846: ac_status=$?
! 4847: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4848: (exit $ac_status); }; }; then
! 4849: lt_cv_cc_needs_belf=yes
! 4850: else
! 4851: echo "$as_me: failed program was:" >&5
! 4852: sed 's/^/| /' conftest.$ac_ext >&5
! 4853:
! 4854: lt_cv_cc_needs_belf=no
! 4855: fi
! 4856: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4857: ac_ext=c
! 4858: ac_cpp='$CPP $CPPFLAGS'
! 4859: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4860: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4861: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4862:
! 4863: fi
! 4864: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 4865: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 4866: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 4867: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 4868: CFLAGS="$SAVE_CFLAGS"
! 4869: fi
! 4870: ;;
! 4871:
! 4872:
! 4873: esac
! 4874:
! 4875: # Sed substitution that helps us do robust quoting. It backslashifies
! 4876: # metacharacters that are still active within double-quoted strings.
! 4877: Xsed='sed -e s/^X//'
! 4878: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
! 4879:
! 4880: # Same as above, but do not quote variable references.
! 4881: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
! 4882:
! 4883: # Sed substitution to delay expansion of an escaped shell variable in a
! 4884: # double_quote_subst'ed string.
! 4885: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 4886:
! 4887: # Constants:
! 4888: rm="rm -f"
! 4889:
! 4890: # Global variables:
! 4891: default_ofile=libtool
! 4892: can_build_shared=yes
! 4893:
! 4894: # All known linkers require a `.a' archive for static linking (except M$VC,
! 4895: # which needs '.lib').
! 4896: libext=a
! 4897: ltmain="$ac_aux_dir/ltmain.sh"
! 4898: ofile="$default_ofile"
! 4899: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 4900: need_locks="$enable_libtool_lock"
! 4901:
! 4902: old_CC="$CC"
! 4903: old_CFLAGS="$CFLAGS"
! 4904:
! 4905: # Set sane defaults for various variables
! 4906: test -z "$AR" && AR=ar
! 4907: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 4908: test -z "$AS" && AS=as
! 4909: test -z "$CC" && CC=cc
! 4910: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 4911: test -z "$LD" && LD=ld
! 4912: test -z "$LN_S" && LN_S="ln -s"
! 4913: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 4914: test -z "$NM" && NM=nm
! 4915: test -z "$OBJDUMP" && OBJDUMP=objdump
! 4916: test -z "$RANLIB" && RANLIB=:
! 4917: test -z "$STRIP" && STRIP=:
! 4918: test -z "$ac_objext" && ac_objext=o
! 4919:
! 4920: if test x"$host" != x"$build"; then
! 4921: ac_tool_prefix=${host_alias}-
! 4922: else
! 4923: ac_tool_prefix=
! 4924: fi
! 4925:
! 4926: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
! 4927: case $host_os in
! 4928: linux-gnu*) ;;
! 4929: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
! 4930: esac
! 4931:
! 4932: case $host_os in
! 4933: aix3*)
! 4934: # AIX sometimes has problems with the GCC collect2 program. For some
! 4935: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 4936: # vanish in a puff of smoke.
! 4937: if test "X${COLLECT_NAMES+set}" != Xset; then
! 4938: COLLECT_NAMES=
! 4939: export COLLECT_NAMES
! 4940: fi
! 4941: ;;
! 4942: esac
! 4943:
! 4944: # Determine commands to create old-style static archives.
! 4945: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
! 4946: old_postinstall_cmds='chmod 644 $oldlib'
! 4947: old_postuninstall_cmds=
! 4948:
! 4949: if test -n "$RANLIB"; then
! 4950: case $host_os in
! 4951: openbsd*)
! 4952: old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
! 4953: ;;
! 4954: *)
! 4955: old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
! 4956: ;;
! 4957: esac
! 4958: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 4959: fi
! 4960:
! 4961: # Allow CC to be a program name with arguments.
! 4962: set dummy $CC
! 4963: compiler="$2"
! 4964:
! 4965: echo "$as_me:$LINENO: checking for objdir" >&5
! 4966: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 4967: rm -f .libs 2>/dev/null
! 4968: mkdir .libs 2>/dev/null
! 4969: if test -d .libs; then
! 4970: objdir=.libs
! 4971: else
! 4972: # MS-DOS does not allow filenames that begin with a dot.
! 4973: objdir=_libs
! 4974: fi
! 4975: rmdir .libs 2>/dev/null
! 4976: echo "$as_me:$LINENO: result: $objdir" >&5
! 4977: echo "${ECHO_T}$objdir" >&6
! 4978:
! 4979:
! 4980:
! 4981: # Check whether --with-pic or --without-pic was given.
! 4982: if test "${with_pic+set}" = set; then
! 4983: withval="$with_pic"
! 4984: pic_mode="$withval"
! 4985: else
! 4986: pic_mode=default
! 4987: fi;
! 4988: test -z "$pic_mode" && pic_mode=default
! 4989:
! 4990: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
! 4991: # in isolation, and that seeing it set (from the cache) indicates that
! 4992: # the associated values are set (in the cache) correctly too.
! 4993: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 4994: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 4995: if test "${lt_cv_prog_cc_pic+set}" = set; then
! 4996: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4997: else
! 4998: lt_cv_prog_cc_pic=
! 4999: lt_cv_prog_cc_shlib=
! 5000: lt_cv_prog_cc_wl=
! 5001: lt_cv_prog_cc_static=
! 5002: lt_cv_prog_cc_no_builtin=
! 5003: lt_cv_prog_cc_can_build_shared=$can_build_shared
! 5004:
! 5005: if test "$GCC" = yes; then
! 5006: lt_cv_prog_cc_wl='-Wl,'
! 5007: lt_cv_prog_cc_static='-static'
! 5008:
! 5009: case $host_os in
! 5010: aix*)
! 5011: # Below there is a dirty hack to force normal static linking with -ldl
! 5012: # The problem is because libdl dynamically linked with both libc and
! 5013: # libC (AIX C++ library), which obviously doesn't included in libraries
! 5014: # list by gcc. This cause undefined symbols with -static flags.
! 5015: # This hack allows C programs to be linked with "-static -ldl", but
! 5016: # not sure about C++ programs.
! 5017: lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
! 5018: ;;
! 5019: amigaos*)
! 5020: # FIXME: we need at least 68020 code to build shared libraries, but
! 5021: # adding the `-m68020' flag to GCC prevents building anything better,
! 5022: # like `-m68040'.
! 5023: lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
! 5024: ;;
! 5025: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 5026: # PIC is the default for these OSes.
! 5027: ;;
! 5028: darwin* | rhapsody*)
! 5029: # PIC is the default on this platform
! 5030: # Common symbols not allowed in MH_DYLIB files
! 5031: lt_cv_prog_cc_pic='-fno-common'
! 5032: ;;
! 5033: cygwin* | mingw* | pw32* | os2*)
! 5034: # This hack is so that the source file can tell whether it is being
! 5035: # built for inclusion in a dll (and should export symbols for example).
! 5036: lt_cv_prog_cc_pic='-DDLL_EXPORT'
! 5037: ;;
! 5038: sysv4*MP*)
! 5039: if test -d /usr/nec; then
! 5040: lt_cv_prog_cc_pic=-Kconform_pic
! 5041: fi
! 5042: ;;
! 5043: *)
! 5044: lt_cv_prog_cc_pic='-fPIC'
! 5045: ;;
! 5046: esac
! 5047: else
! 5048: # PORTME Check for PIC flags for the system compiler.
! 5049: case $host_os in
! 5050: aix3* | aix4* | aix5*)
! 5051: lt_cv_prog_cc_wl='-Wl,'
! 5052: # All AIX code is PIC.
! 5053: if test "$host_cpu" = ia64; then
! 5054: # AIX 5 now supports IA64 processor
! 5055: lt_cv_prog_cc_static='-Bstatic'
! 5056: else
! 5057: lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
! 5058: fi
! 5059: ;;
! 5060:
! 5061: hpux9* | hpux10* | hpux11*)
! 5062: # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
! 5063: lt_cv_prog_cc_wl='-Wl,'
! 5064: lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
! 5065: lt_cv_prog_cc_pic='+Z'
! 5066: ;;
! 5067:
! 5068: irix5* | irix6* | nonstopux*)
! 5069: lt_cv_prog_cc_wl='-Wl,'
! 5070: lt_cv_prog_cc_static='-non_shared'
! 5071: # PIC (with -KPIC) is the default.
! 5072: ;;
! 5073:
! 5074: cygwin* | mingw* | pw32* | os2*)
! 5075: # This hack is so that the source file can tell whether it is being
! 5076: # built for inclusion in a dll (and should export symbols for example).
! 5077: lt_cv_prog_cc_pic='-DDLL_EXPORT'
! 5078: ;;
! 5079:
! 5080: newsos6)
! 5081: lt_cv_prog_cc_pic='-KPIC'
! 5082: lt_cv_prog_cc_static='-Bstatic'
! 5083: ;;
! 5084:
! 5085: osf3* | osf4* | osf5*)
! 5086: # All OSF/1 code is PIC.
! 5087: lt_cv_prog_cc_wl='-Wl,'
! 5088: lt_cv_prog_cc_static='-non_shared'
! 5089: ;;
! 5090:
! 5091: sco3.2v5*)
! 5092: lt_cv_prog_cc_pic='-Kpic'
! 5093: lt_cv_prog_cc_static='-dn'
! 5094: lt_cv_prog_cc_shlib='-belf'
! 5095: ;;
! 5096:
! 5097: solaris*)
! 5098: lt_cv_prog_cc_pic='-KPIC'
! 5099: lt_cv_prog_cc_static='-Bstatic'
! 5100: lt_cv_prog_cc_wl='-Wl,'
! 5101: ;;
! 5102:
! 5103: sunos4*)
! 5104: lt_cv_prog_cc_pic='-PIC'
! 5105: lt_cv_prog_cc_static='-Bstatic'
! 5106: lt_cv_prog_cc_wl='-Qoption ld '
! 5107: ;;
! 5108:
! 5109: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 5110: lt_cv_prog_cc_pic='-KPIC'
! 5111: lt_cv_prog_cc_static='-Bstatic'
! 5112: lt_cv_prog_cc_wl='-Wl,'
! 5113: ;;
! 5114:
! 5115: uts4*)
! 5116: lt_cv_prog_cc_pic='-pic'
! 5117: lt_cv_prog_cc_static='-Bstatic'
! 5118: ;;
! 5119:
! 5120: sysv4*MP*)
! 5121: if test -d /usr/nec ;then
! 5122: lt_cv_prog_cc_pic='-Kconform_pic'
! 5123: lt_cv_prog_cc_static='-Bstatic'
! 5124: fi
! 5125: ;;
! 5126:
! 5127: *)
! 5128: lt_cv_prog_cc_can_build_shared=no
! 5129: ;;
! 5130: esac
! 5131: fi
! 5132:
! 5133: fi
! 5134:
! 5135: if test -z "$lt_cv_prog_cc_pic"; then
! 5136: echo "$as_me:$LINENO: result: none" >&5
! 5137: echo "${ECHO_T}none" >&6
! 5138: else
! 5139: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
! 5140: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
! 5141:
! 5142: # Check to make sure the pic_flag actually works.
! 5143: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
! 5144: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
! 5145: if test "${lt_cv_prog_cc_pic_works+set}" = set; then
! 5146: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5147: else
! 5148: save_CFLAGS="$CFLAGS"
! 5149: CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
! 5150: cat >conftest.$ac_ext <<_ACEOF
! 5151: #line $LINENO "configure"
! 5152: /* confdefs.h. */
! 5153: _ACEOF
! 5154: cat confdefs.h >>conftest.$ac_ext
! 5155: cat >>conftest.$ac_ext <<_ACEOF
! 5156: /* end confdefs.h. */
! 5157:
! 5158: int
! 5159: main ()
! 5160: {
! 5161:
! 5162: ;
! 5163: return 0;
! 5164: }
! 5165: _ACEOF
! 5166: rm -f conftest.$ac_objext
! 5167: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5168: (eval $ac_compile) 2>&5
! 5169: ac_status=$?
! 5170: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5171: (exit $ac_status); } &&
! 5172: { ac_try='test -s conftest.$ac_objext'
! 5173: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5174: (eval $ac_try) 2>&5
! 5175: ac_status=$?
! 5176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5177: (exit $ac_status); }; }; then
! 5178: case $host_os in
! 5179: hpux9* | hpux10* | hpux11*)
! 5180: # On HP-UX, both CC and GCC only warn that PIC is supported... then
! 5181: # they create non-PIC objects. So, if there were any warnings, we
! 5182: # assume that PIC is not supported.
! 5183: if test -s conftest.err; then
! 5184: lt_cv_prog_cc_pic_works=no
! 5185: else
! 5186: lt_cv_prog_cc_pic_works=yes
! 5187: fi
! 5188: ;;
! 5189: *)
! 5190: lt_cv_prog_cc_pic_works=yes
! 5191: ;;
! 5192: esac
! 5193:
! 5194: else
! 5195: echo "$as_me: failed program was:" >&5
! 5196: sed 's/^/| /' conftest.$ac_ext >&5
! 5197:
! 5198: lt_cv_prog_cc_pic_works=no
! 5199:
! 5200: fi
! 5201: rm -f conftest.$ac_objext conftest.$ac_ext
! 5202: CFLAGS="$save_CFLAGS"
! 5203:
! 5204: fi
! 5205:
! 5206:
! 5207: if test "X$lt_cv_prog_cc_pic_works" = Xno; then
! 5208: lt_cv_prog_cc_pic=
! 5209: lt_cv_prog_cc_can_build_shared=no
! 5210: else
! 5211: lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
! 5212: fi
! 5213:
! 5214: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
! 5215: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
! 5216: fi
! 5217:
! 5218: # Check for any special shared library compilation flags.
! 5219: if test -n "$lt_cv_prog_cc_shlib"; then
! 5220: { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
! 5221: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
! 5222: if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
! 5223: else
! 5224: { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
! 5225: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
! 5226: lt_cv_prog_cc_can_build_shared=no
! 5227: fi
! 5228: fi
! 5229:
! 5230: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
! 5231: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
! 5232: if test "${lt_cv_prog_cc_static_works+set}" = set; then
! 5233: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5234: else
! 5235: lt_cv_prog_cc_static_works=no
! 5236: save_LDFLAGS="$LDFLAGS"
! 5237: LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
! 5238: cat >conftest.$ac_ext <<_ACEOF
! 5239: #line $LINENO "configure"
! 5240: /* confdefs.h. */
! 5241: _ACEOF
! 5242: cat confdefs.h >>conftest.$ac_ext
! 5243: cat >>conftest.$ac_ext <<_ACEOF
! 5244: /* end confdefs.h. */
! 5245:
! 5246: int
! 5247: main ()
! 5248: {
! 5249:
! 5250: ;
! 5251: return 0;
! 5252: }
! 5253: _ACEOF
! 5254: rm -f conftest.$ac_objext conftest$ac_exeext
! 5255: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5256: (eval $ac_link) 2>&5
! 5257: ac_status=$?
! 5258: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5259: (exit $ac_status); } &&
! 5260: { ac_try='test -s conftest$ac_exeext'
! 5261: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5262: (eval $ac_try) 2>&5
! 5263: ac_status=$?
! 5264: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5265: (exit $ac_status); }; }; then
! 5266: lt_cv_prog_cc_static_works=yes
! 5267: else
! 5268: echo "$as_me: failed program was:" >&5
! 5269: sed 's/^/| /' conftest.$ac_ext >&5
! 5270:
! 5271: fi
! 5272: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 5273: LDFLAGS="$save_LDFLAGS"
! 5274:
! 5275: fi
! 5276:
! 5277:
! 5278: # Belt *and* braces to stop my trousers falling down:
! 5279: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
! 5280: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
! 5281: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
! 5282:
! 5283: pic_flag="$lt_cv_prog_cc_pic"
! 5284: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
! 5285: wl="$lt_cv_prog_cc_wl"
! 5286: link_static_flag="$lt_cv_prog_cc_static"
! 5287: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
! 5288: can_build_shared="$lt_cv_prog_cc_can_build_shared"
! 5289:
! 5290:
! 5291: # Check to see if options -o and -c are simultaneously supported by compiler
! 5292: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 5293: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 5294: if test "${lt_cv_compiler_c_o+set}" = set; then
! 5295: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5296: else
! 5297:
! 5298: $rm -r conftest 2>/dev/null
! 5299: mkdir conftest
! 5300: cd conftest
! 5301: echo "int some_variable = 0;" > conftest.$ac_ext
! 5302: mkdir out
! 5303: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
! 5304: # that will create temporary files in the current directory regardless of
! 5305: # the output directory. Thus, making CWD read-only will cause this test
! 5306: # to fail, enabling locking or at least warning the user not to do parallel
! 5307: # builds.
! 5308: chmod -w .
! 5309: save_CFLAGS="$CFLAGS"
! 5310: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
! 5311: compiler_c_o=no
! 5312: if { (eval echo configure:5312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
! 5313: # The compiler can only warn and ignore the option if not recognized
! 5314: # So say no if there are warnings
! 5315: if test -s out/conftest.err; then
! 5316: lt_cv_compiler_c_o=no
! 5317: else
! 5318: lt_cv_compiler_c_o=yes
! 5319: fi
! 5320: else
! 5321: # Append any errors to the config.log.
! 5322: cat out/conftest.err 1>&5
! 5323: lt_cv_compiler_c_o=no
! 5324: fi
! 5325: CFLAGS="$save_CFLAGS"
! 5326: chmod u+w .
! 5327: $rm conftest* out/*
! 5328: rmdir out
! 5329: cd ..
! 5330: rmdir conftest
! 5331: $rm -r conftest 2>/dev/null
! 5332:
! 5333: fi
! 5334:
! 5335: compiler_c_o=$lt_cv_compiler_c_o
! 5336: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
! 5337: echo "${ECHO_T}$compiler_c_o" >&6
! 5338:
! 5339: if test x"$compiler_c_o" = x"yes"; then
! 5340: # Check to see if we can write to a .lo
! 5341: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
! 5342: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
! 5343: if test "${lt_cv_compiler_o_lo+set}" = set; then
! 5344: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5345: else
! 5346:
! 5347: lt_cv_compiler_o_lo=no
! 5348: save_CFLAGS="$CFLAGS"
! 5349: CFLAGS="$CFLAGS -c -o conftest.lo"
! 5350: save_objext="$ac_objext"
! 5351: ac_objext=lo
! 5352: cat >conftest.$ac_ext <<_ACEOF
! 5353: #line $LINENO "configure"
! 5354: /* confdefs.h. */
! 5355: _ACEOF
! 5356: cat confdefs.h >>conftest.$ac_ext
! 5357: cat >>conftest.$ac_ext <<_ACEOF
! 5358: /* end confdefs.h. */
! 5359:
! 5360: int
! 5361: main ()
! 5362: {
! 5363: int some_variable = 0;
! 5364: ;
! 5365: return 0;
! 5366: }
! 5367: _ACEOF
! 5368: rm -f conftest.$ac_objext
! 5369: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5370: (eval $ac_compile) 2>&5
! 5371: ac_status=$?
! 5372: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5373: (exit $ac_status); } &&
! 5374: { ac_try='test -s conftest.$ac_objext'
! 5375: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5376: (eval $ac_try) 2>&5
! 5377: ac_status=$?
! 5378: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5379: (exit $ac_status); }; }; then
! 5380: # The compiler can only warn and ignore the option if not recognized
! 5381: # So say no if there are warnings
! 5382: if test -s conftest.err; then
! 5383: lt_cv_compiler_o_lo=no
! 5384: else
! 5385: lt_cv_compiler_o_lo=yes
! 5386: fi
! 5387:
! 5388: else
! 5389: echo "$as_me: failed program was:" >&5
! 5390: sed 's/^/| /' conftest.$ac_ext >&5
! 5391:
! 5392: fi
! 5393: rm -f conftest.$ac_objext conftest.$ac_ext
! 5394: ac_objext="$save_objext"
! 5395: CFLAGS="$save_CFLAGS"
! 5396:
! 5397: fi
! 5398:
! 5399: compiler_o_lo=$lt_cv_compiler_o_lo
! 5400: echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
! 5401: echo "${ECHO_T}$compiler_o_lo" >&6
! 5402: else
! 5403: compiler_o_lo=no
! 5404: fi
! 5405:
! 5406: # Check to see if we can do hard links to lock some files if needed
! 5407: hard_links="nottested"
! 5408: if test "$compiler_c_o" = no && test "$need_locks" != no; then
! 5409: # do not overwrite the value of need_locks provided by the user
! 5410: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 5411: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 5412: hard_links=yes
! 5413: $rm conftest*
! 5414: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 5415: touch conftest.a
! 5416: ln conftest.a conftest.b 2>&5 || hard_links=no
! 5417: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 5418: echo "$as_me:$LINENO: result: $hard_links" >&5
! 5419: echo "${ECHO_T}$hard_links" >&6
! 5420: if test "$hard_links" = no; then
! 5421: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 5422: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 5423: need_locks=warn
! 5424: fi
! 5425: else
! 5426: need_locks=no
! 5427: fi
! 5428:
! 5429: if test "$GCC" = yes; then
! 5430: # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
! 5431: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 5432: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 5433: echo "int some_variable = 0;" > conftest.$ac_ext
! 5434: save_CFLAGS="$CFLAGS"
! 5435: CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
! 5436: compiler_rtti_exceptions=no
! 5437: cat >conftest.$ac_ext <<_ACEOF
! 5438: #line $LINENO "configure"
! 5439: /* confdefs.h. */
! 5440: _ACEOF
! 5441: cat confdefs.h >>conftest.$ac_ext
! 5442: cat >>conftest.$ac_ext <<_ACEOF
! 5443: /* end confdefs.h. */
! 5444:
! 5445: int
! 5446: main ()
! 5447: {
! 5448: int some_variable = 0;
! 5449: ;
! 5450: return 0;
! 5451: }
! 5452: _ACEOF
! 5453: rm -f conftest.$ac_objext
! 5454: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5455: (eval $ac_compile) 2>&5
! 5456: ac_status=$?
! 5457: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5458: (exit $ac_status); } &&
! 5459: { ac_try='test -s conftest.$ac_objext'
! 5460: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5461: (eval $ac_try) 2>&5
! 5462: ac_status=$?
! 5463: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5464: (exit $ac_status); }; }; then
! 5465: # The compiler can only warn and ignore the option if not recognized
! 5466: # So say no if there are warnings
! 5467: if test -s conftest.err; then
! 5468: compiler_rtti_exceptions=no
! 5469: else
! 5470: compiler_rtti_exceptions=yes
! 5471: fi
! 5472:
! 5473: else
! 5474: echo "$as_me: failed program was:" >&5
! 5475: sed 's/^/| /' conftest.$ac_ext >&5
! 5476:
! 5477: fi
! 5478: rm -f conftest.$ac_objext conftest.$ac_ext
! 5479: CFLAGS="$save_CFLAGS"
! 5480: echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
! 5481: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
! 5482:
! 5483: if test "$compiler_rtti_exceptions" = "yes"; then
! 5484: no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
! 5485: else
! 5486: no_builtin_flag=' -fno-builtin'
! 5487: fi
! 5488: fi
! 5489:
! 5490: # See if the linker supports building shared libraries.
! 5491: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
! 5492: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
! 5493:
! 5494: allow_undefined_flag=
! 5495: no_undefined_flag=
! 5496: need_lib_prefix=unknown
! 5497: need_version=unknown
! 5498: # when you set need_version to no, make sure it does not cause -set_version
! 5499: # flags to be left without arguments
! 5500: archive_cmds=
! 5501: archive_expsym_cmds=
! 5502: old_archive_from_new_cmds=
! 5503: old_archive_from_expsyms_cmds=
! 5504: export_dynamic_flag_spec=
! 5505: whole_archive_flag_spec=
! 5506: thread_safe_flag_spec=
! 5507: hardcode_into_libs=no
! 5508: hardcode_libdir_flag_spec=
! 5509: hardcode_libdir_separator=
! 5510: hardcode_direct=no
! 5511: hardcode_minus_L=no
! 5512: hardcode_shlibpath_var=unsupported
! 5513: runpath_var=
! 5514: link_all_deplibs=unknown
! 5515: always_export_symbols=no
! 5516: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 5517: # include_expsyms should be a list of space-separated symbols to be *always*
! 5518: # included in the symbol list
! 5519: include_expsyms=
! 5520: # exclude_expsyms can be an egrep regular expression of symbols to exclude
! 5521: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 5522: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 5523: # as well as any symbol that contains `d'.
! 5524: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
! 5525: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 5526: # platforms (ab)use it in PIC code, but their linkers get confused if
! 5527: # the symbol is explicitly referenced. Since portable code cannot
! 5528: # rely on this symbol name, it's probably fine to never include it in
! 5529: # preloaded symbol tables.
! 5530: extract_expsyms_cmds=
! 5531:
! 5532: case $host_os in
! 5533: cygwin* | mingw* | pw32*)
! 5534: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 5535: # When not using gcc, we currently assume that we are using
! 5536: # Microsoft Visual C++.
! 5537: if test "$GCC" != yes; then
! 5538: with_gnu_ld=no
! 5539: fi
! 5540: ;;
! 5541: openbsd*)
! 5542: with_gnu_ld=no
! 5543: ;;
! 5544: esac
! 5545:
! 5546: ld_shlibs=yes
! 5547: if test "$with_gnu_ld" = yes; then
! 5548: # If archive_cmds runs LD, not CC, wlarc should be empty
! 5549: wlarc='${wl}'
! 5550:
! 5551: # See if GNU ld supports shared libraries.
! 5552: case $host_os in
! 5553: aix3* | aix4* | aix5*)
! 5554: # On AIX, the GNU linker is very broken
! 5555: # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
! 5556: ld_shlibs=no
! 5557: cat <<EOF 1>&2
! 5558:
! 5559: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 5560: *** to be unable to reliably create shared libraries on AIX.
! 5561: *** Therefore, libtool is disabling shared libraries support. If you
! 5562: *** really care for shared libraries, you may want to modify your PATH
! 5563: *** so that a non-GNU linker is found, and then restart.
! 5564:
! 5565: EOF
! 5566: ;;
! 5567:
! 5568: amigaos*)
! 5569: 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)'
! 5570: hardcode_libdir_flag_spec='-L$libdir'
! 5571: hardcode_minus_L=yes
! 5572:
! 5573: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 5574: # that the semantics of dynamic libraries on AmigaOS, at least up
! 5575: # to version 4, is to share data among multiple programs linked
! 5576: # with the same dynamic library. Since this doesn't match the
! 5577: # behavior of shared libraries on other platforms, we can use
! 5578: # them.
! 5579: ld_shlibs=no
! 5580: ;;
! 5581:
! 5582: beos*)
! 5583: if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 5584: allow_undefined_flag=unsupported
! 5585: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 5586: # support --undefined. This deserves some investigation. FIXME
! 5587: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 5588: else
! 5589: ld_shlibs=no
! 5590: fi
! 5591: ;;
! 5592:
! 5593: cygwin* | mingw* | pw32*)
! 5594: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 5595: # no search path for DLLs.
! 5596: hardcode_libdir_flag_spec='-L$libdir'
! 5597: allow_undefined_flag=unsupported
! 5598: always_export_symbols=yes
! 5599:
! 5600: extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
! 5601: sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
! 5602: test -f $output_objdir/impgen.exe || (cd $output_objdir && \
! 5603: if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
! 5604: else $CC -o impgen impgen.c ; fi)~
! 5605: $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
! 5606:
! 5607: old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! 5608:
! 5609: # cygwin and mingw dlls have different entry points and sets of symbols
! 5610: # to exclude.
! 5611: # FIXME: what about values for MSVC?
! 5612: dll_entry=__cygwin_dll_entry@12
! 5613: dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
! 5614: case $host_os in
! 5615: mingw*)
! 5616: # mingw values
! 5617: dll_entry=_DllMainCRTStartup@12
! 5618: dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
! 5619: ;;
! 5620: esac
! 5621:
! 5622: # mingw and cygwin differ, and it's simplest to just exclude the union
! 5623: # of the two symbol sets.
! 5624: dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! 5625:
! 5626: # recent cygwin and mingw systems supply a stub DllMain which the user
! 5627: # can override, but on older systems we have to supply one (in ltdll.c)
! 5628: if test "x$lt_cv_need_dllmain" = "xyes"; then
! 5629: ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
! 5630: ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
! 5631: test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
! 5632: else
! 5633: ltdll_obj=
! 5634: ltdll_cmds=
! 5635: fi
! 5636:
! 5637: # Extract the symbol export list from an `--export-all' def file,
! 5638: # then regenerate the def file from the symbol export list, so that
! 5639: # the compiled dll only exports the symbol export list.
! 5640: # Be careful not to strip the DATA tag left be newer dlltools.
! 5641: export_symbols_cmds="$ltdll_cmds"'
! 5642: $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
! 5643: sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
! 5644:
! 5645: # If the export-symbols file already is a .def file (1st line
! 5646: # is EXPORTS), use it as is.
! 5647: # If DATA tags from a recent dlltool are present, honour them!
! 5648: archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
! 5649: cp $export_symbols $output_objdir/$soname-def;
! 5650: else
! 5651: echo EXPORTS > $output_objdir/$soname-def;
! 5652: _lt_hint=1;
! 5653: cat $export_symbols | while read symbol; do
! 5654: set dummy \$symbol;
! 5655: case \$# in
! 5656: 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
! 5657: 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
! 5658: *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
! 5659: esac;
! 5660: _lt_hint=`expr 1 + \$_lt_hint`;
! 5661: done;
! 5662: fi~
! 5663: '"$ltdll_cmds"'
! 5664: $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
! 5665: $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
! 5666: $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
! 5667: $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
! 5668: $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
! 5669: ;;
! 5670:
! 5671: netbsd*)
! 5672: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 5673: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 5674: wlarc=
! 5675: else
! 5676: archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 5677: archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 5678: fi
! 5679: ;;
! 5680:
! 5681: solaris* | sysv5*)
! 5682: if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
! 5683: ld_shlibs=no
! 5684: cat <<EOF 1>&2
! 5685:
! 5686: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 5687: *** create shared libraries on Solaris systems. Therefore, libtool
! 5688: *** is disabling shared libraries support. We urge you to upgrade GNU
! 5689: *** binutils to release 2.9.1 or newer. Another option is to modify
! 5690: *** your PATH or compiler configuration so that the native linker is
! 5691: *** used, and then restart.
! 5692:
! 5693: EOF
! 5694: elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 5695: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 5696: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 5697: else
! 5698: ld_shlibs=no
! 5699: fi
! 5700: ;;
! 5701:
! 5702: sunos4*)
! 5703: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 5704: wlarc=
! 5705: hardcode_direct=yes
! 5706: hardcode_shlibpath_var=no
! 5707: ;;
! 5708:
! 5709: *)
! 5710: if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 5711: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 5712: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 5713: else
! 5714: ld_shlibs=no
! 5715: fi
! 5716: ;;
! 5717: esac
! 5718:
! 5719: if test "$ld_shlibs" = yes; then
! 5720: runpath_var=LD_RUN_PATH
! 5721: hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
! 5722: export_dynamic_flag_spec='${wl}--export-dynamic'
! 5723: case $host_os in
! 5724: cygwin* | mingw* | pw32*)
! 5725: # dlltool doesn't understand --whole-archive et. al.
! 5726: whole_archive_flag_spec=
! 5727: ;;
! 5728: *)
! 5729: # ancient GNU ld didn't support --whole-archive et. al.
! 5730: if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
! 5731: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 5732: else
! 5733: whole_archive_flag_spec=
! 5734: fi
! 5735: ;;
! 5736: esac
! 5737: fi
! 5738: else
! 5739: # PORTME fill in a description of your system's linker (not GNU ld)
! 5740: case $host_os in
! 5741: aix3*)
! 5742: allow_undefined_flag=unsupported
! 5743: always_export_symbols=yes
! 5744: 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'
! 5745: # Note: this linker hardcodes the directories in LIBPATH if there
! 5746: # are no directories specified by -L.
! 5747: hardcode_minus_L=yes
! 5748: if test "$GCC" = yes && test -z "$link_static_flag"; then
! 5749: # Neither direct hardcoding nor static linking is supported with a
! 5750: # broken collect2.
! 5751: hardcode_direct=unsupported
! 5752: fi
! 5753: ;;
! 5754:
! 5755: aix4* | aix5*)
! 5756: if test "$host_cpu" = ia64; then
! 5757: # On IA64, the linker does run time linking by default, so we don't
! 5758: # have to do anything special.
! 5759: aix_use_runtimelinking=no
! 5760: exp_sym_flag='-Bexport'
! 5761: no_entry_flag=""
! 5762: else
! 5763: aix_use_runtimelinking=no
! 5764:
! 5765: # Test if we are trying to use run time linking or normal
! 5766: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 5767: # need to do runtime linking.
! 5768: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 5769: for ld_flag in $LDFLAGS; do
! 5770: case $ld_flag in
! 5771: *-brtl*)
! 5772: aix_use_runtimelinking=yes
! 5773: break
! 5774: ;;
! 5775: esac
! 5776: done
! 5777: esac
! 5778:
! 5779: exp_sym_flag='-bexport'
! 5780: no_entry_flag='-bnoentry'
! 5781: fi
! 5782:
! 5783: # When large executables or shared objects are built, AIX ld can
! 5784: # have problems creating the table of contents. If linking a library
! 5785: # or program results in "error TOC overflow" add -mminimal-toc to
! 5786: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 5787: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 5788:
! 5789: hardcode_direct=yes
! 5790: archive_cmds=''
! 5791: hardcode_libdir_separator=':'
! 5792: if test "$GCC" = yes; then
! 5793: case $host_os in aix4.[012]|aix4.[012].*)
! 5794: collect2name=`${CC} -print-prog-name=collect2`
! 5795: if test -f "$collect2name" && \
! 5796: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 5797: then
! 5798: # We have reworked collect2
! 5799: hardcode_direct=yes
! 5800: else
! 5801: # We have old collect2
! 5802: hardcode_direct=unsupported
! 5803: # It fails to find uninstalled libraries when the uninstalled
! 5804: # path is not listed in the libpath. Setting hardcode_minus_L
! 5805: # to unsupported forces relinking
! 5806: hardcode_minus_L=yes
! 5807: hardcode_libdir_flag_spec='-L$libdir'
! 5808: hardcode_libdir_separator=
! 5809: fi
! 5810: esac
! 5811:
! 5812: shared_flag='-shared'
! 5813: else
! 5814: # not using gcc
! 5815: if test "$host_cpu" = ia64; then
! 5816: shared_flag='${wl}-G'
! 5817: else
! 5818: if test "$aix_use_runtimelinking" = yes; then
! 5819: shared_flag='${wl}-G'
! 5820: else
! 5821: shared_flag='${wl}-bM:SRE'
! 5822: fi
! 5823: fi
! 5824: fi
! 5825:
! 5826: # It seems that -bexpall can do strange things, so it is better to
! 5827: # generate a list of symbols to export.
! 5828: always_export_symbols=yes
! 5829: if test "$aix_use_runtimelinking" = yes; then
! 5830: # Warning - without using the other runtime loading flags (-brtl),
! 5831: # -berok will link without error, but may produce a broken library.
! 5832: allow_undefined_flag='-berok'
! 5833: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
! 5834: archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 5835: else
! 5836: if test "$host_cpu" = ia64; then
! 5837: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 5838: allow_undefined_flag="-z nodefs"
! 5839: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
! 5840: else
! 5841: hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
! 5842: # Warning - without using the other run time loading flags,
! 5843: # -berok will link without error, but may produce a broken library.
! 5844: allow_undefined_flag='${wl}-berok'
! 5845: # This is a bit strange, but is similar to how AIX traditionally builds
! 5846: # it's shared libraries.
! 5847: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
! 5848: fi
! 5849: fi
! 5850: ;;
! 5851:
! 5852: amigaos*)
! 5853: 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)'
! 5854: hardcode_libdir_flag_spec='-L$libdir'
! 5855: hardcode_minus_L=yes
! 5856: # see comment about different semantics on the GNU ld section
! 5857: ld_shlibs=no
! 5858: ;;
! 5859:
! 5860: cygwin* | mingw* | pw32*)
! 5861: # When not using gcc, we currently assume that we are using
! 5862: # Microsoft Visual C++.
! 5863: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 5864: # no search path for DLLs.
! 5865: hardcode_libdir_flag_spec=' '
! 5866: allow_undefined_flag=unsupported
! 5867: # Tell ltmain to make .lib files, not .a files.
! 5868: libext=lib
! 5869: # FIXME: Setting linknames here is a bad hack.
! 5870: archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 5871: # The linker will automatically build a .lib file if we build a DLL.
! 5872: old_archive_from_new_cmds='true'
! 5873: # FIXME: Should let the user specify the lib program.
! 5874: old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
! 5875: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 5876: ;;
! 5877:
! 5878: darwin* | rhapsody*)
! 5879: case "$host_os" in
! 5880: rhapsody* | darwin1.[012])
! 5881: allow_undefined_flag='-undefined suppress'
! 5882: ;;
! 5883: *) # Darwin 1.3 on
! 5884: allow_undefined_flag='-flat_namespace -undefined suppress'
! 5885: ;;
! 5886: esac
! 5887: # FIXME: Relying on posixy $() will cause problems for
! 5888: # cross-compilation, but unfortunately the echo tests do not
! 5889: # yet detect zsh echo's removal of \ escapes. Also zsh mangles
! 5890: # `"' quotes if we put them in here... so don't!
! 5891: archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
! 5892: # We need to add '_' to the symbols in $export_symbols first
! 5893: #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
! 5894: hardcode_direct=yes
! 5895: hardcode_shlibpath_var=no
! 5896: whole_archive_flag_spec='-all_load $convenience'
! 5897: ;;
! 5898:
! 5899: freebsd1*)
! 5900: ld_shlibs=no
! 5901: ;;
! 5902:
! 5903: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 5904: # support. Future versions do this automatically, but an explicit c++rt0.o
! 5905: # does not break anything, and helps significantly (at the cost of a little
! 5906: # extra space).
! 5907: freebsd2.2*)
! 5908: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 5909: hardcode_libdir_flag_spec='-R$libdir'
! 5910: hardcode_direct=yes
! 5911: hardcode_shlibpath_var=no
! 5912: ;;
! 5913:
! 5914: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 5915: freebsd2*)
! 5916: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 5917: hardcode_direct=yes
! 5918: hardcode_minus_L=yes
! 5919: hardcode_shlibpath_var=no
! 5920: ;;
! 5921:
! 5922: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 5923: freebsd*)
! 5924: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 5925: hardcode_libdir_flag_spec='-R$libdir'
! 5926: hardcode_direct=yes
! 5927: hardcode_shlibpath_var=no
! 5928: ;;
! 5929:
! 5930: hpux9* | hpux10* | hpux11*)
! 5931: case $host_os in
! 5932: hpux9*) 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' ;;
! 5933: *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
! 5934: esac
! 5935: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 5936: hardcode_libdir_separator=:
! 5937: hardcode_direct=yes
! 5938: hardcode_minus_L=yes # Not in the search PATH, but as the default
! 5939: # location of the library.
! 5940: export_dynamic_flag_spec='${wl}-E'
! 5941: ;;
! 5942:
! 5943: irix5* | irix6* | nonstopux*)
! 5944: if test "$GCC" = yes; then
! 5945: 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'
! 5946: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 5947: else
! 5948: 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'
! 5949: hardcode_libdir_flag_spec='-rpath $libdir'
! 5950: fi
! 5951: hardcode_libdir_separator=:
! 5952: link_all_deplibs=yes
! 5953: ;;
! 5954:
! 5955: netbsd*)
! 5956: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 5957: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 5958: else
! 5959: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 5960: fi
! 5961: hardcode_libdir_flag_spec='-R$libdir'
! 5962: hardcode_direct=yes
! 5963: hardcode_shlibpath_var=no
! 5964: ;;
! 5965:
! 5966: newsos6)
! 5967: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 5968: hardcode_direct=yes
! 5969: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 5970: hardcode_libdir_separator=:
! 5971: hardcode_shlibpath_var=no
! 5972: ;;
! 5973:
! 5974: openbsd*)
! 5975: hardcode_direct=yes
! 5976: hardcode_shlibpath_var=no
! 5977: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 5978: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 5979: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 5980: export_dynamic_flag_spec='${wl}-E'
! 5981: else
! 5982: case "$host_os" in
! 5983: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 5984: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 5985: hardcode_libdir_flag_spec='-R$libdir'
! 5986: ;;
! 5987: *)
! 5988: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 5989: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 5990: ;;
! 5991: esac
! 5992: fi
! 5993: ;;
! 5994:
! 5995: os2*)
! 5996: hardcode_libdir_flag_spec='-L$libdir'
! 5997: hardcode_minus_L=yes
! 5998: allow_undefined_flag=unsupported
! 5999: 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'
! 6000: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 6001: ;;
! 6002:
! 6003: osf3*)
! 6004: if test "$GCC" = yes; then
! 6005: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 6006: 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'
! 6007: else
! 6008: allow_undefined_flag=' -expect_unresolved \*'
! 6009: 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'
! 6010: fi
! 6011: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6012: hardcode_libdir_separator=:
! 6013: ;;
! 6014:
! 6015: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 6016: if test "$GCC" = yes; then
! 6017: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 6018: 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'
! 6019: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6020: else
! 6021: allow_undefined_flag=' -expect_unresolved \*'
! 6022: 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'
! 6023: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 6024: $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
! 6025:
! 6026: #Both c and cxx compiler support -rpath directly
! 6027: hardcode_libdir_flag_spec='-rpath $libdir'
! 6028: fi
! 6029: hardcode_libdir_separator=:
! 6030: ;;
! 6031:
! 6032: sco3.2v5*)
! 6033: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6034: hardcode_shlibpath_var=no
! 6035: runpath_var=LD_RUN_PATH
! 6036: hardcode_runpath_var=yes
! 6037: export_dynamic_flag_spec='${wl}-Bexport'
! 6038: ;;
! 6039:
! 6040: solaris*)
! 6041: # gcc --version < 3.0 without binutils cannot create self contained
! 6042: # shared libraries reliably, requiring libgcc.a to resolve some of
! 6043: # the object symbols generated in some cases. Libraries that use
! 6044: # assert need libgcc.a to resolve __eprintf, for example. Linking
! 6045: # a copy of libgcc.a into every shared library to guarantee resolving
! 6046: # such symbols causes other problems: According to Tim Van Holder
! 6047: # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
! 6048: # (to the application) exception stack for one thing.
! 6049: no_undefined_flag=' -z defs'
! 6050: if test "$GCC" = yes; then
! 6051: case `$CC --version 2>/dev/null` in
! 6052: [12].*)
! 6053: cat <<EOF 1>&2
! 6054:
! 6055: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
! 6056: *** create self contained shared libraries on Solaris systems, without
! 6057: *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
! 6058: *** -no-undefined support, which will at least allow you to build shared
! 6059: *** libraries. However, you may find that when you link such libraries
! 6060: *** into an application without using GCC, you have to manually add
! 6061: *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
! 6062: *** upgrade to a newer version of GCC. Another option is to rebuild your
! 6063: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
! 6064:
! 6065: EOF
! 6066: no_undefined_flag=
! 6067: ;;
! 6068: esac
! 6069: fi
! 6070: # $CC -shared without GNU ld will not create a library from C++
! 6071: # object files and a static libstdc++, better avoid it by now
! 6072: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6073: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 6074: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 6075: hardcode_libdir_flag_spec='-R$libdir'
! 6076: hardcode_shlibpath_var=no
! 6077: case $host_os in
! 6078: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 6079: *) # Supported since Solaris 2.6 (maybe 2.5.1?)
! 6080: whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
! 6081: esac
! 6082: link_all_deplibs=yes
! 6083: ;;
! 6084:
! 6085: sunos4*)
! 6086: if test "x$host_vendor" = xsequent; then
! 6087: # Use $CC to link under sequent, because it throws in some extra .o
! 6088: # files that make .init and .fini sections work.
! 6089: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 6090: else
! 6091: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 6092: fi
! 6093: hardcode_libdir_flag_spec='-L$libdir'
! 6094: hardcode_direct=yes
! 6095: hardcode_minus_L=yes
! 6096: hardcode_shlibpath_var=no
! 6097: ;;
! 6098:
! 6099: sysv4)
! 6100: case $host_vendor in
! 6101: sni)
! 6102: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6103: hardcode_direct=yes # is this really true???
! 6104: ;;
! 6105: siemens)
! 6106: ## LD is ld it makes a PLAMLIB
! 6107: ## CC just makes a GrossModule.
! 6108: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 6109: reload_cmds='$CC -r -o $output$reload_objs'
! 6110: hardcode_direct=no
! 6111: ;;
! 6112: motorola)
! 6113: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6114: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 6115: ;;
! 6116: esac
! 6117: runpath_var='LD_RUN_PATH'
! 6118: hardcode_shlibpath_var=no
! 6119: ;;
! 6120:
! 6121: sysv4.3*)
! 6122: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6123: hardcode_shlibpath_var=no
! 6124: export_dynamic_flag_spec='-Bexport'
! 6125: ;;
! 6126:
! 6127: sysv5*)
! 6128: no_undefined_flag=' -z text'
! 6129: # $CC -shared without GNU ld will not create a library from C++
! 6130: # object files and a static libstdc++, better avoid it by now
! 6131: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6132: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 6133: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 6134: hardcode_libdir_flag_spec=
! 6135: hardcode_shlibpath_var=no
! 6136: runpath_var='LD_RUN_PATH'
! 6137: ;;
! 6138:
! 6139: uts4*)
! 6140: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6141: hardcode_libdir_flag_spec='-L$libdir'
! 6142: hardcode_shlibpath_var=no
! 6143: ;;
! 6144:
! 6145: dgux*)
! 6146: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6147: hardcode_libdir_flag_spec='-L$libdir'
! 6148: hardcode_shlibpath_var=no
! 6149: ;;
! 6150:
! 6151: sysv4*MP*)
! 6152: if test -d /usr/nec; then
! 6153: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6154: hardcode_shlibpath_var=no
! 6155: runpath_var=LD_RUN_PATH
! 6156: hardcode_runpath_var=yes
! 6157: ld_shlibs=yes
! 6158: fi
! 6159: ;;
! 6160:
! 6161: sysv4.2uw2*)
! 6162: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 6163: hardcode_direct=yes
! 6164: hardcode_minus_L=no
! 6165: hardcode_shlibpath_var=no
! 6166: hardcode_runpath_var=yes
! 6167: runpath_var=LD_RUN_PATH
! 6168: ;;
! 6169:
! 6170: sysv5uw7* | unixware7*)
! 6171: no_undefined_flag='${wl}-z ${wl}text'
! 6172: if test "$GCC" = yes; then
! 6173: archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 6174: else
! 6175: archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 6176: fi
! 6177: runpath_var='LD_RUN_PATH'
! 6178: hardcode_shlibpath_var=no
! 6179: ;;
! 6180:
! 6181: *)
! 6182: ld_shlibs=no
! 6183: ;;
! 6184: esac
! 6185: fi
! 6186: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 6187: echo "${ECHO_T}$ld_shlibs" >&6
! 6188: test "$ld_shlibs" = no && can_build_shared=no
! 6189:
! 6190: # Check hardcoding attributes.
! 6191: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 6192: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 6193: hardcode_action=
! 6194: if test -n "$hardcode_libdir_flag_spec" || \
! 6195: test -n "$runpath_var"; then
! 6196:
! 6197: # We can hardcode non-existant directories.
! 6198: if test "$hardcode_direct" != no &&
! 6199: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 6200: # have to relink, otherwise we might link with an installed library
! 6201: # when we should be linking with a yet-to-be-installed one
! 6202: ## test "$hardcode_shlibpath_var" != no &&
! 6203: test "$hardcode_minus_L" != no; then
! 6204: # Linking always hardcodes the temporary library directory.
! 6205: hardcode_action=relink
! 6206: else
! 6207: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 6208: hardcode_action=immediate
! 6209: fi
! 6210: else
! 6211: # We cannot hardcode anything, or else we can only hardcode existing
! 6212: # directories.
! 6213: hardcode_action=unsupported
! 6214: fi
! 6215: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 6216: echo "${ECHO_T}$hardcode_action" >&6
! 6217:
! 6218: striplib=
! 6219: old_striplib=
! 6220: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 6221: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 6222: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
! 6223: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 6224: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 6225: echo "$as_me:$LINENO: result: yes" >&5
! 6226: echo "${ECHO_T}yes" >&6
! 6227: else
! 6228: echo "$as_me:$LINENO: result: no" >&5
! 6229: echo "${ECHO_T}no" >&6
! 6230: fi
! 6231:
! 6232: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 6233: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 6234:
! 6235: # PORTME Fill in your ld.so characteristics
! 6236: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 6237: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 6238: library_names_spec=
! 6239: libname_spec='lib$name'
! 6240: soname_spec=
! 6241: postinstall_cmds=
! 6242: postuninstall_cmds=
! 6243: finish_cmds=
! 6244: finish_eval=
! 6245: shlibpath_var=
! 6246: shlibpath_overrides_runpath=unknown
! 6247: version_type=none
! 6248: dynamic_linker="$host_os ld.so"
! 6249: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 6250: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 6251:
! 6252: case $host_os in
! 6253: aix3*)
! 6254: version_type=linux
! 6255: library_names_spec='${libname}${release}.so$versuffix $libname.a'
! 6256: shlibpath_var=LIBPATH
! 6257:
! 6258: # AIX has no versioning support, so we append a major version to the name.
! 6259: soname_spec='${libname}${release}.so$major'
! 6260: ;;
! 6261:
! 6262: aix4* | aix5*)
! 6263: version_type=linux
! 6264: need_lib_prefix=no
! 6265: need_version=no
! 6266: hardcode_into_libs=yes
! 6267: if test "$host_cpu" = ia64; then
! 6268: # AIX 5 supports IA64
! 6269: library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
! 6270: shlibpath_var=LD_LIBRARY_PATH
! 6271: else
! 6272: # With GCC up to 2.95.x, collect2 would create an import file
! 6273: # for dependence libraries. The import file would start with
! 6274: # the line `#! .'. This would cause the generated library to
! 6275: # depend on `.', always an invalid library. This was fixed in
! 6276: # development snapshots of GCC prior to 3.0.
! 6277: case $host_os in
! 6278: aix4 | aix4.[01] | aix4.[01].*)
! 6279: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 6280: echo ' yes '
! 6281: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 6282: :
! 6283: else
! 6284: can_build_shared=no
! 6285: fi
! 6286: ;;
! 6287: esac
! 6288: # AIX (on Power*) has no versioning support, so currently we can
! 6289: # not hardcode correct soname into executable. Probably we can
! 6290: # add versioning support to collect2, so additional links can
! 6291: # be useful in future.
! 6292: if test "$aix_use_runtimelinking" = yes; then
! 6293: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 6294: # instead of lib<name>.a to let people know that these are not
! 6295: # typical AIX shared libraries.
! 6296: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6297: else
! 6298: # We preserve .a as extension for shared libraries through AIX4.2
! 6299: # and later when we are not doing run time linking.
! 6300: library_names_spec='${libname}${release}.a $libname.a'
! 6301: soname_spec='${libname}${release}.so$major'
! 6302: fi
! 6303: shlibpath_var=LIBPATH
! 6304: fi
! 6305: hardcode_into_libs=yes
! 6306: ;;
! 6307:
! 6308: amigaos*)
! 6309: library_names_spec='$libname.ixlibrary $libname.a'
! 6310: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 6311: 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'
! 6312: ;;
! 6313:
! 6314: beos*)
! 6315: library_names_spec='${libname}.so'
! 6316: dynamic_linker="$host_os ld.so"
! 6317: shlibpath_var=LIBRARY_PATH
! 6318: ;;
! 6319:
! 6320: bsdi4*)
! 6321: version_type=linux
! 6322: need_version=no
! 6323: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6324: soname_spec='${libname}${release}.so$major'
! 6325: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 6326: shlibpath_var=LD_LIBRARY_PATH
! 6327: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 6328: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 6329: export_dynamic_flag_spec=-rdynamic
! 6330: # the default ld.so.conf also contains /usr/contrib/lib and
! 6331: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 6332: # libtool to hard-code these into programs
! 6333: ;;
! 6334:
! 6335: cygwin* | mingw* | pw32*)
! 6336: version_type=windows
! 6337: need_version=no
! 6338: need_lib_prefix=no
! 6339: case $GCC,$host_os in
! 6340: yes,cygwin*)
! 6341: library_names_spec='$libname.dll.a'
! 6342: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
! 6343: postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
! 6344: dldir=$destdir/`dirname \$dlpath`~
! 6345: test -d \$dldir || mkdir -p \$dldir~
! 6346: $install_prog .libs/$dlname \$dldir/$dlname'
! 6347: postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 6348: dlpath=$dir/\$dldll~
! 6349: $rm \$dlpath'
! 6350: ;;
! 6351: yes,mingw*)
! 6352: library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
! 6353: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
! 6354: ;;
! 6355: yes,pw32*)
! 6356: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
! 6357: ;;
! 6358: *)
! 6359: library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
! 6360: ;;
! 6361: esac
! 6362: dynamic_linker='Win32 ld.exe'
! 6363: # FIXME: first we should search . and the directory the executable is in
! 6364: shlibpath_var=PATH
! 6365: ;;
! 6366:
! 6367: darwin* | rhapsody*)
! 6368: dynamic_linker="$host_os dyld"
! 6369: version_type=darwin
! 6370: need_lib_prefix=no
! 6371: need_version=no
! 6372: # FIXME: Relying on posixy $() will cause problems for
! 6373: # cross-compilation, but unfortunately the echo tests do not
! 6374: # yet detect zsh echo's removal of \ escapes.
! 6375: library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
! 6376: soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
! 6377: shlibpath_overrides_runpath=yes
! 6378: shlibpath_var=DYLD_LIBRARY_PATH
! 6379: ;;
! 6380:
! 6381: freebsd1*)
! 6382: dynamic_linker=no
! 6383: ;;
! 6384:
! 6385: freebsd*)
! 6386: objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
! 6387: version_type=freebsd-$objformat
! 6388: case $version_type in
! 6389: freebsd-elf*)
! 6390: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
! 6391: need_version=no
! 6392: need_lib_prefix=no
! 6393: ;;
! 6394: freebsd-*)
! 6395: library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
! 6396: need_version=yes
! 6397: ;;
! 6398: esac
! 6399: shlibpath_var=LD_LIBRARY_PATH
! 6400: case $host_os in
! 6401: freebsd2*)
! 6402: shlibpath_overrides_runpath=yes
! 6403: ;;
! 6404: *)
! 6405: shlibpath_overrides_runpath=no
! 6406: hardcode_into_libs=yes
! 6407: ;;
! 6408: esac
! 6409: ;;
! 6410:
! 6411: gnu*)
! 6412: version_type=linux
! 6413: need_lib_prefix=no
! 6414: need_version=no
! 6415: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
! 6416: soname_spec='${libname}${release}.so$major'
! 6417: shlibpath_var=LD_LIBRARY_PATH
! 6418: hardcode_into_libs=yes
! 6419: ;;
! 6420:
! 6421: hpux9* | hpux10* | hpux11*)
! 6422: # Give a soname corresponding to the major version so that dld.sl refuses to
! 6423: # link against other versions.
! 6424: dynamic_linker="$host_os dld.sl"
! 6425: version_type=sunos
! 6426: need_lib_prefix=no
! 6427: need_version=no
! 6428: shlibpath_var=SHLIB_PATH
! 6429: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 6430: library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
! 6431: soname_spec='${libname}${release}.sl$major'
! 6432: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 6433: postinstall_cmds='chmod 555 $lib'
! 6434: ;;
! 6435:
! 6436: irix5* | irix6* | nonstopux*)
! 6437: case $host_os in
! 6438: nonstopux*) version_type=nonstopux ;;
! 6439: *) version_type=irix ;;
! 6440: esac
! 6441: need_lib_prefix=no
! 6442: need_version=no
! 6443: soname_spec='${libname}${release}.so$major'
! 6444: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
! 6445: case $host_os in
! 6446: irix5* | nonstopux*)
! 6447: libsuff= shlibsuff=
! 6448: ;;
! 6449: *)
! 6450: case $LD in # libtool.m4 will add one of these switches to LD
! 6451: *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
! 6452: *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
! 6453: *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 6454: *) libsuff= shlibsuff= libmagic=never-match;;
! 6455: esac
! 6456: ;;
! 6457: esac
! 6458: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 6459: shlibpath_overrides_runpath=no
! 6460: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 6461: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 6462: ;;
! 6463:
! 6464: # No shared lib support for Linux oldld, aout, or coff.
! 6465: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
! 6466: dynamic_linker=no
! 6467: ;;
! 6468:
! 6469: # This must be Linux ELF.
! 6470: linux-gnu*)
! 6471: version_type=linux
! 6472: need_lib_prefix=no
! 6473: need_version=no
! 6474: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6475: soname_spec='${libname}${release}.so$major'
! 6476: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 6477: shlibpath_var=LD_LIBRARY_PATH
! 6478: shlibpath_overrides_runpath=no
! 6479: # This implies no fast_install, which is unacceptable.
! 6480: # Some rework will be needed to allow for fast_install
! 6481: # before this can be enabled.
! 6482: hardcode_into_libs=yes
! 6483:
! 6484: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 6485: # powerpc, because MkLinux only supported shared libraries with the
! 6486: # GNU dynamic linker. Since this was broken with cross compilers,
! 6487: # most powerpc-linux boxes support dynamic linking these days and
! 6488: # people can always --disable-shared, the test was removed, and we
! 6489: # assume the GNU/Linux dynamic linker is in use.
! 6490: dynamic_linker='GNU/Linux ld.so'
! 6491: ;;
! 6492:
! 6493: netbsd*)
! 6494: version_type=sunos
! 6495: need_lib_prefix=no
! 6496: need_version=no
! 6497: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 6498: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 6499: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 6500: dynamic_linker='NetBSD (a.out) ld.so'
! 6501: else
! 6502: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
! 6503: soname_spec='${libname}${release}.so$major'
! 6504: dynamic_linker='NetBSD ld.elf_so'
! 6505: fi
! 6506: shlibpath_var=LD_LIBRARY_PATH
! 6507: shlibpath_overrides_runpath=yes
! 6508: hardcode_into_libs=yes
! 6509: ;;
! 6510:
! 6511: newsos6)
! 6512: version_type=linux
! 6513: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6514: shlibpath_var=LD_LIBRARY_PATH
! 6515: shlibpath_overrides_runpath=yes
! 6516: ;;
! 6517:
! 6518: openbsd*)
! 6519: version_type=sunos
! 6520: need_lib_prefix=no
! 6521: need_version=no
! 6522: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 6523: case "$host_os" in
! 6524: openbsd2.[89] | openbsd2.[89].*)
! 6525: shlibpath_overrides_runpath=no
! 6526: ;;
! 6527: *)
! 6528: shlibpath_overrides_runpath=yes
! 6529: ;;
! 6530: esac
! 6531: else
! 6532: shlibpath_overrides_runpath=yes
! 6533: fi
! 6534: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 6535: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 6536: shlibpath_var=LD_LIBRARY_PATH
! 6537: ;;
! 6538:
! 6539: os2*)
! 6540: libname_spec='$name'
! 6541: need_lib_prefix=no
! 6542: library_names_spec='$libname.dll $libname.a'
! 6543: dynamic_linker='OS/2 ld.exe'
! 6544: shlibpath_var=LIBPATH
! 6545: ;;
! 6546:
! 6547: osf3* | osf4* | osf5*)
! 6548: version_type=osf
! 6549: need_version=no
! 6550: soname_spec='${libname}${release}.so$major'
! 6551: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6552: shlibpath_var=LD_LIBRARY_PATH
! 6553: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 6554: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 6555: hardcode_into_libs=yes
! 6556: ;;
! 6557:
! 6558: sco3.2v5*)
! 6559: version_type=osf
! 6560: soname_spec='${libname}${release}.so$major'
! 6561: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6562: shlibpath_var=LD_LIBRARY_PATH
! 6563: ;;
! 6564:
! 6565: solaris*)
! 6566: version_type=linux
! 6567: need_lib_prefix=no
! 6568: need_version=no
! 6569: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6570: soname_spec='${libname}${release}.so$major'
! 6571: shlibpath_var=LD_LIBRARY_PATH
! 6572: shlibpath_overrides_runpath=yes
! 6573: hardcode_into_libs=yes
! 6574: # ldd complains unless libraries are executable
! 6575: postinstall_cmds='chmod +x $lib'
! 6576: ;;
! 6577:
! 6578: sunos4*)
! 6579: version_type=sunos
! 6580: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 6581: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 6582: shlibpath_var=LD_LIBRARY_PATH
! 6583: shlibpath_overrides_runpath=yes
! 6584: if test "$with_gnu_ld" = yes; then
! 6585: need_lib_prefix=no
! 6586: fi
! 6587: need_version=yes
! 6588: ;;
! 6589:
! 6590: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 6591: version_type=linux
! 6592: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6593: soname_spec='${libname}${release}.so$major'
! 6594: shlibpath_var=LD_LIBRARY_PATH
! 6595: case $host_vendor in
! 6596: sni)
! 6597: shlibpath_overrides_runpath=no
! 6598: need_lib_prefix=no
! 6599: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 6600: runpath_var=LD_RUN_PATH
! 6601: ;;
! 6602: siemens)
! 6603: need_lib_prefix=no
! 6604: ;;
! 6605: motorola)
! 6606: need_lib_prefix=no
! 6607: need_version=no
! 6608: shlibpath_overrides_runpath=no
! 6609: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 6610: ;;
! 6611: esac
! 6612: ;;
! 6613:
! 6614: uts4*)
! 6615: version_type=linux
! 6616: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6617: soname_spec='${libname}${release}.so$major'
! 6618: shlibpath_var=LD_LIBRARY_PATH
! 6619: ;;
! 6620:
! 6621: dgux*)
! 6622: version_type=linux
! 6623: need_lib_prefix=no
! 6624: need_version=no
! 6625: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 6626: soname_spec='${libname}${release}.so$major'
! 6627: shlibpath_var=LD_LIBRARY_PATH
! 6628: ;;
! 6629:
! 6630: sysv4*MP*)
! 6631: if test -d /usr/nec ;then
! 6632: version_type=linux
! 6633: library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
! 6634: soname_spec='$libname.so.$major'
! 6635: shlibpath_var=LD_LIBRARY_PATH
! 6636: fi
! 6637: ;;
! 6638:
! 6639: *)
! 6640: dynamic_linker=no
! 6641: ;;
! 6642: esac
! 6643: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 6644: echo "${ECHO_T}$dynamic_linker" >&6
! 6645: test "$dynamic_linker" = no && can_build_shared=no
! 6646:
! 6647: # Report the final consequences.
! 6648: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 6649: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 6650: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 6651: echo "${ECHO_T}$can_build_shared" >&6
! 6652:
! 6653: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 6654: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 6655: test "$can_build_shared" = "no" && enable_shared=no
! 6656:
! 6657: # On AIX, shared libraries and static libraries use the same namespace, and
! 6658: # are all built from PIC.
! 6659: case "$host_os" in
! 6660: aix3*)
! 6661: test "$enable_shared" = yes && enable_static=no
! 6662: if test -n "$RANLIB"; then
! 6663: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 6664: postinstall_cmds='$RANLIB $lib'
! 6665: fi
! 6666: ;;
! 6667:
! 6668: aix4*)
! 6669: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 6670: test "$enable_shared" = yes && enable_static=no
! 6671: fi
! 6672: ;;
! 6673: esac
! 6674: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 6675: echo "${ECHO_T}$enable_shared" >&6
! 6676:
! 6677: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 6678: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 6679: # Make sure either enable_shared or enable_static is yes.
! 6680: test "$enable_shared" = yes || enable_static=yes
! 6681: echo "$as_me:$LINENO: result: $enable_static" >&5
! 6682: echo "${ECHO_T}$enable_static" >&6
! 6683:
! 6684: if test "$hardcode_action" = relink; then
! 6685: # Fast installation is not supported
! 6686: enable_fast_install=no
! 6687: elif test "$shlibpath_overrides_runpath" = yes ||
! 6688: test "$enable_shared" = no; then
! 6689: # Fast installation is not necessary
! 6690: enable_fast_install=needless
! 6691: fi
! 6692:
! 6693: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 6694: if test "$GCC" = yes; then
! 6695: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 6696: fi
! 6697:
! 6698: if test "x$enable_dlopen" != xyes; then
! 6699: enable_dlopen=unknown
! 6700: enable_dlopen_self=unknown
! 6701: enable_dlopen_self_static=unknown
! 6702: else
! 6703: lt_cv_dlopen=no
! 6704: lt_cv_dlopen_libs=
! 6705:
! 6706: case $host_os in
! 6707: beos*)
! 6708: lt_cv_dlopen="load_add_on"
! 6709: lt_cv_dlopen_libs=
! 6710: lt_cv_dlopen_self=yes
! 6711: ;;
! 6712:
! 6713: cygwin* | mingw* | pw32*)
! 6714: lt_cv_dlopen="LoadLibrary"
! 6715: lt_cv_dlopen_libs=
! 6716: ;;
! 6717:
! 6718: *)
! 6719: echo "$as_me:$LINENO: checking for shl_load" >&5
! 6720: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 6721: if test "${ac_cv_func_shl_load+set}" = set; then
! 6722: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6723: else
! 6724: cat >conftest.$ac_ext <<_ACEOF
! 6725: #line $LINENO "configure"
! 6726: /* confdefs.h. */
! 6727: _ACEOF
! 6728: cat confdefs.h >>conftest.$ac_ext
! 6729: cat >>conftest.$ac_ext <<_ACEOF
! 6730: /* end confdefs.h. */
! 6731: /* System header to define __stub macros and hopefully few prototypes,
! 6732: which can conflict with char shl_load (); below.
! 6733: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6734: <limits.h> exists even on freestanding compilers. */
! 6735: #ifdef __STDC__
! 6736: # include <limits.h>
! 6737: #else
! 6738: # include <assert.h>
! 6739: #endif
! 6740: /* Override any gcc2 internal prototype to avoid an error. */
! 6741: #ifdef __cplusplus
! 6742: extern "C"
! 6743: {
! 6744: #endif
! 6745: /* We use char because int might match the return type of a gcc2
! 6746: builtin and then its argument prototype would still apply. */
! 6747: char shl_load ();
! 6748: /* The GNU C library defines this for functions which it implements
! 6749: to always fail with ENOSYS. Some functions are actually named
! 6750: something starting with __ and the normal name is an alias. */
! 6751: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 6752: choke me
! 6753: #else
! 6754: char (*f) () = shl_load;
! 6755: #endif
! 6756: #ifdef __cplusplus
! 6757: }
! 6758: #endif
! 6759:
! 6760: int
! 6761: main ()
! 6762: {
! 6763: return f != shl_load;
! 6764: ;
! 6765: return 0;
! 6766: }
! 6767: _ACEOF
! 6768: rm -f conftest.$ac_objext conftest$ac_exeext
! 6769: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6770: (eval $ac_link) 2>&5
! 6771: ac_status=$?
! 6772: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6773: (exit $ac_status); } &&
! 6774: { ac_try='test -s conftest$ac_exeext'
! 6775: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6776: (eval $ac_try) 2>&5
! 6777: ac_status=$?
! 6778: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6779: (exit $ac_status); }; }; then
! 6780: ac_cv_func_shl_load=yes
! 6781: else
! 6782: echo "$as_me: failed program was:" >&5
! 6783: sed 's/^/| /' conftest.$ac_ext >&5
! 6784:
! 6785: ac_cv_func_shl_load=no
! 6786: fi
! 6787: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 6788: fi
! 6789: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 6790: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 6791: if test $ac_cv_func_shl_load = yes; then
! 6792: lt_cv_dlopen="shl_load"
! 6793: else
! 6794: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 6795: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 6796: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 6797: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6798: else
! 6799: ac_check_lib_save_LIBS=$LIBS
! 6800: LIBS="-ldld $LIBS"
! 6801: cat >conftest.$ac_ext <<_ACEOF
! 6802: #line $LINENO "configure"
! 6803: /* confdefs.h. */
! 6804: _ACEOF
! 6805: cat confdefs.h >>conftest.$ac_ext
! 6806: cat >>conftest.$ac_ext <<_ACEOF
! 6807: /* end confdefs.h. */
! 6808:
! 6809: /* Override any gcc2 internal prototype to avoid an error. */
! 6810: #ifdef __cplusplus
! 6811: extern "C"
! 6812: #endif
! 6813: /* We use char because int might match the return type of a gcc2
! 6814: builtin and then its argument prototype would still apply. */
! 6815: char shl_load ();
! 6816: int
! 6817: main ()
! 6818: {
! 6819: shl_load ();
! 6820: ;
! 6821: return 0;
! 6822: }
! 6823: _ACEOF
! 6824: rm -f conftest.$ac_objext conftest$ac_exeext
! 6825: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6826: (eval $ac_link) 2>&5
! 6827: ac_status=$?
! 6828: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6829: (exit $ac_status); } &&
! 6830: { ac_try='test -s conftest$ac_exeext'
! 6831: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6832: (eval $ac_try) 2>&5
! 6833: ac_status=$?
! 6834: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6835: (exit $ac_status); }; }; then
! 6836: ac_cv_lib_dld_shl_load=yes
! 6837: else
! 6838: echo "$as_me: failed program was:" >&5
! 6839: sed 's/^/| /' conftest.$ac_ext >&5
! 6840:
! 6841: ac_cv_lib_dld_shl_load=no
! 6842: fi
! 6843: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 6844: LIBS=$ac_check_lib_save_LIBS
! 6845: fi
! 6846: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 6847: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 6848: if test $ac_cv_lib_dld_shl_load = yes; then
! 6849: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
! 6850: else
! 6851: echo "$as_me:$LINENO: checking for dlopen" >&5
! 6852: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 6853: if test "${ac_cv_func_dlopen+set}" = set; then
! 6854: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6855: else
! 6856: cat >conftest.$ac_ext <<_ACEOF
! 6857: #line $LINENO "configure"
! 6858: /* confdefs.h. */
! 6859: _ACEOF
! 6860: cat confdefs.h >>conftest.$ac_ext
! 6861: cat >>conftest.$ac_ext <<_ACEOF
! 6862: /* end confdefs.h. */
! 6863: /* System header to define __stub macros and hopefully few prototypes,
! 6864: which can conflict with char dlopen (); below.
! 6865: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 6866: <limits.h> exists even on freestanding compilers. */
! 6867: #ifdef __STDC__
! 6868: # include <limits.h>
! 6869: #else
! 6870: # include <assert.h>
! 6871: #endif
! 6872: /* Override any gcc2 internal prototype to avoid an error. */
! 6873: #ifdef __cplusplus
! 6874: extern "C"
! 6875: {
! 6876: #endif
! 6877: /* We use char because int might match the return type of a gcc2
! 6878: builtin and then its argument prototype would still apply. */
! 6879: char dlopen ();
! 6880: /* The GNU C library defines this for functions which it implements
! 6881: to always fail with ENOSYS. Some functions are actually named
! 6882: something starting with __ and the normal name is an alias. */
! 6883: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 6884: choke me
! 6885: #else
! 6886: char (*f) () = dlopen;
! 6887: #endif
! 6888: #ifdef __cplusplus
! 6889: }
! 6890: #endif
! 6891:
! 6892: int
! 6893: main ()
! 6894: {
! 6895: return f != dlopen;
! 6896: ;
! 6897: return 0;
! 6898: }
! 6899: _ACEOF
! 6900: rm -f conftest.$ac_objext conftest$ac_exeext
! 6901: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6902: (eval $ac_link) 2>&5
! 6903: ac_status=$?
! 6904: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6905: (exit $ac_status); } &&
! 6906: { ac_try='test -s conftest$ac_exeext'
! 6907: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6908: (eval $ac_try) 2>&5
! 6909: ac_status=$?
! 6910: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6911: (exit $ac_status); }; }; then
! 6912: ac_cv_func_dlopen=yes
! 6913: else
! 6914: echo "$as_me: failed program was:" >&5
! 6915: sed 's/^/| /' conftest.$ac_ext >&5
! 6916:
! 6917: ac_cv_func_dlopen=no
! 6918: fi
! 6919: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 6920: fi
! 6921: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 6922: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 6923: if test $ac_cv_func_dlopen = yes; then
! 6924: lt_cv_dlopen="dlopen"
! 6925: else
! 6926: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 6927: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 6928: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 6929: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6930: else
! 6931: ac_check_lib_save_LIBS=$LIBS
! 6932: LIBS="-ldl $LIBS"
! 6933: cat >conftest.$ac_ext <<_ACEOF
! 6934: #line $LINENO "configure"
! 6935: /* confdefs.h. */
! 6936: _ACEOF
! 6937: cat confdefs.h >>conftest.$ac_ext
! 6938: cat >>conftest.$ac_ext <<_ACEOF
! 6939: /* end confdefs.h. */
! 6940:
! 6941: /* Override any gcc2 internal prototype to avoid an error. */
! 6942: #ifdef __cplusplus
! 6943: extern "C"
! 6944: #endif
! 6945: /* We use char because int might match the return type of a gcc2
! 6946: builtin and then its argument prototype would still apply. */
! 6947: char dlopen ();
! 6948: int
! 6949: main ()
! 6950: {
! 6951: dlopen ();
! 6952: ;
! 6953: return 0;
! 6954: }
! 6955: _ACEOF
! 6956: rm -f conftest.$ac_objext conftest$ac_exeext
! 6957: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 6958: (eval $ac_link) 2>&5
! 6959: ac_status=$?
! 6960: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6961: (exit $ac_status); } &&
! 6962: { ac_try='test -s conftest$ac_exeext'
! 6963: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6964: (eval $ac_try) 2>&5
! 6965: ac_status=$?
! 6966: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6967: (exit $ac_status); }; }; then
! 6968: ac_cv_lib_dl_dlopen=yes
! 6969: else
! 6970: echo "$as_me: failed program was:" >&5
! 6971: sed 's/^/| /' conftest.$ac_ext >&5
! 6972:
! 6973: ac_cv_lib_dl_dlopen=no
! 6974: fi
! 6975: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 6976: LIBS=$ac_check_lib_save_LIBS
! 6977: fi
! 6978: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 6979: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 6980: if test $ac_cv_lib_dl_dlopen = yes; then
! 6981: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 6982: else
! 6983: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 6984: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 6985: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 6986: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6987: else
! 6988: ac_check_lib_save_LIBS=$LIBS
! 6989: LIBS="-lsvld $LIBS"
! 6990: cat >conftest.$ac_ext <<_ACEOF
! 6991: #line $LINENO "configure"
! 6992: /* confdefs.h. */
! 6993: _ACEOF
! 6994: cat confdefs.h >>conftest.$ac_ext
! 6995: cat >>conftest.$ac_ext <<_ACEOF
! 6996: /* end confdefs.h. */
! 6997:
! 6998: /* Override any gcc2 internal prototype to avoid an error. */
! 6999: #ifdef __cplusplus
! 7000: extern "C"
! 7001: #endif
! 7002: /* We use char because int might match the return type of a gcc2
! 7003: builtin and then its argument prototype would still apply. */
! 7004: char dlopen ();
! 7005: int
! 7006: main ()
! 7007: {
! 7008: dlopen ();
! 7009: ;
! 7010: return 0;
! 7011: }
! 7012: _ACEOF
! 7013: rm -f conftest.$ac_objext conftest$ac_exeext
! 7014: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7015: (eval $ac_link) 2>&5
! 7016: ac_status=$?
! 7017: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7018: (exit $ac_status); } &&
! 7019: { ac_try='test -s conftest$ac_exeext'
! 7020: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7021: (eval $ac_try) 2>&5
! 7022: ac_status=$?
! 7023: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7024: (exit $ac_status); }; }; then
! 7025: ac_cv_lib_svld_dlopen=yes
! 7026: else
! 7027: echo "$as_me: failed program was:" >&5
! 7028: sed 's/^/| /' conftest.$ac_ext >&5
! 7029:
! 7030: ac_cv_lib_svld_dlopen=no
! 7031: fi
! 7032: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 7033: LIBS=$ac_check_lib_save_LIBS
! 7034: fi
! 7035: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 7036: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 7037: if test $ac_cv_lib_svld_dlopen = yes; then
! 7038: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 7039: else
! 7040: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 7041: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 7042: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 7043: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7044: else
! 7045: ac_check_lib_save_LIBS=$LIBS
! 7046: LIBS="-ldld $LIBS"
! 7047: cat >conftest.$ac_ext <<_ACEOF
! 7048: #line $LINENO "configure"
! 7049: /* confdefs.h. */
! 7050: _ACEOF
! 7051: cat confdefs.h >>conftest.$ac_ext
! 7052: cat >>conftest.$ac_ext <<_ACEOF
! 7053: /* end confdefs.h. */
! 7054:
! 7055: /* Override any gcc2 internal prototype to avoid an error. */
! 7056: #ifdef __cplusplus
! 7057: extern "C"
! 7058: #endif
! 7059: /* We use char because int might match the return type of a gcc2
! 7060: builtin and then its argument prototype would still apply. */
! 7061: char dld_link ();
! 7062: int
! 7063: main ()
! 7064: {
! 7065: dld_link ();
! 7066: ;
! 7067: return 0;
! 7068: }
! 7069: _ACEOF
! 7070: rm -f conftest.$ac_objext conftest$ac_exeext
! 7071: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7072: (eval $ac_link) 2>&5
! 7073: ac_status=$?
! 7074: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7075: (exit $ac_status); } &&
! 7076: { ac_try='test -s conftest$ac_exeext'
! 7077: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7078: (eval $ac_try) 2>&5
! 7079: ac_status=$?
! 7080: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7081: (exit $ac_status); }; }; then
! 7082: ac_cv_lib_dld_dld_link=yes
! 7083: else
! 7084: echo "$as_me: failed program was:" >&5
! 7085: sed 's/^/| /' conftest.$ac_ext >&5
! 7086:
! 7087: ac_cv_lib_dld_dld_link=no
! 7088: fi
! 7089: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 7090: LIBS=$ac_check_lib_save_LIBS
! 7091: fi
! 7092: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 7093: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 7094: if test $ac_cv_lib_dld_dld_link = yes; then
! 7095: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
! 7096: fi
! 7097:
! 7098:
! 7099: fi
! 7100:
! 7101:
! 7102: fi
! 7103:
! 7104:
! 7105: fi
! 7106:
! 7107:
! 7108: fi
! 7109:
! 7110:
! 7111: fi
! 7112:
! 7113: ;;
! 7114: esac
! 7115:
! 7116: if test "x$lt_cv_dlopen" != xno; then
! 7117: enable_dlopen=yes
! 7118: else
! 7119: enable_dlopen=no
! 7120: fi
! 7121:
! 7122: case $lt_cv_dlopen in
! 7123: dlopen)
! 7124: save_CPPFLAGS="$CPPFLAGS"
! 7125: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 7126:
! 7127: save_LDFLAGS="$LDFLAGS"
! 7128: eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 7129:
! 7130: save_LIBS="$LIBS"
! 7131: LIBS="$lt_cv_dlopen_libs $LIBS"
! 7132:
! 7133: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 7134: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 7135: if test "${lt_cv_dlopen_self+set}" = set; then
! 7136: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7137: else
! 7138: if test "$cross_compiling" = yes; then :
! 7139: lt_cv_dlopen_self=cross
! 7140: else
! 7141: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 7142: lt_status=$lt_dlunknown
! 7143: cat > conftest.$ac_ext <<EOF
! 7144: #line 7144 "configure"
! 7145: #include "confdefs.h"
! 7146:
! 7147: #if HAVE_DLFCN_H
! 7148: #include <dlfcn.h>
! 7149: #endif
! 7150:
! 7151: #include <stdio.h>
! 7152:
! 7153: #ifdef RTLD_GLOBAL
! 7154: # define LT_DLGLOBAL RTLD_GLOBAL
! 7155: #else
! 7156: # ifdef DL_GLOBAL
! 7157: # define LT_DLGLOBAL DL_GLOBAL
! 7158: # else
! 7159: # define LT_DLGLOBAL 0
! 7160: # endif
! 7161: #endif
! 7162:
! 7163: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 7164: find out it does not work in some platform. */
! 7165: #ifndef LT_DLLAZY_OR_NOW
! 7166: # ifdef RTLD_LAZY
! 7167: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 7168: # else
! 7169: # ifdef DL_LAZY
! 7170: # define LT_DLLAZY_OR_NOW DL_LAZY
! 7171: # else
! 7172: # ifdef RTLD_NOW
! 7173: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 7174: # else
! 7175: # ifdef DL_NOW
! 7176: # define LT_DLLAZY_OR_NOW DL_NOW
! 7177: # else
! 7178: # define LT_DLLAZY_OR_NOW 0
! 7179: # endif
! 7180: # endif
! 7181: # endif
! 7182: # endif
! 7183: #endif
! 7184:
! 7185: #ifdef __cplusplus
! 7186: extern "C" void exit (int);
! 7187: #endif
! 7188:
! 7189: void fnord() { int i=42;}
! 7190: int main ()
! 7191: {
! 7192: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 7193: int status = $lt_dlunknown;
! 7194:
! 7195: if (self)
! 7196: {
! 7197: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 7198: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 7199: /* dlclose (self); */
! 7200: }
! 7201:
! 7202: exit (status);
! 7203: }
! 7204: EOF
! 7205: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7206: (eval $ac_link) 2>&5
! 7207: ac_status=$?
! 7208: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7209: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 7210: (./conftest; exit; ) 2>/dev/null
! 7211: lt_status=$?
! 7212: case x$lt_status in
! 7213: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 7214: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 7215: x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
! 7216: esac
! 7217: else :
! 7218: # compilation failed
! 7219: lt_cv_dlopen_self=no
! 7220: fi
! 7221: fi
! 7222: rm -fr conftest*
! 7223:
! 7224:
! 7225: fi
! 7226: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 7227: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 7228:
! 7229: if test "x$lt_cv_dlopen_self" = xyes; then
! 7230: LDFLAGS="$LDFLAGS $link_static_flag"
! 7231: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 7232: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 7233: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 7234: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7235: else
! 7236: if test "$cross_compiling" = yes; then :
! 7237: lt_cv_dlopen_self_static=cross
! 7238: else
! 7239: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 7240: lt_status=$lt_dlunknown
! 7241: cat > conftest.$ac_ext <<EOF
! 7242: #line 7242 "configure"
! 7243: #include "confdefs.h"
! 7244:
! 7245: #if HAVE_DLFCN_H
! 7246: #include <dlfcn.h>
! 7247: #endif
! 7248:
! 7249: #include <stdio.h>
! 7250:
! 7251: #ifdef RTLD_GLOBAL
! 7252: # define LT_DLGLOBAL RTLD_GLOBAL
! 7253: #else
! 7254: # ifdef DL_GLOBAL
! 7255: # define LT_DLGLOBAL DL_GLOBAL
! 7256: # else
! 7257: # define LT_DLGLOBAL 0
! 7258: # endif
! 7259: #endif
! 7260:
! 7261: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 7262: find out it does not work in some platform. */
! 7263: #ifndef LT_DLLAZY_OR_NOW
! 7264: # ifdef RTLD_LAZY
! 7265: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 7266: # else
! 7267: # ifdef DL_LAZY
! 7268: # define LT_DLLAZY_OR_NOW DL_LAZY
! 7269: # else
! 7270: # ifdef RTLD_NOW
! 7271: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 7272: # else
! 7273: # ifdef DL_NOW
! 7274: # define LT_DLLAZY_OR_NOW DL_NOW
! 7275: # else
! 7276: # define LT_DLLAZY_OR_NOW 0
! 7277: # endif
! 7278: # endif
! 7279: # endif
! 7280: # endif
! 7281: #endif
! 7282:
! 7283: #ifdef __cplusplus
! 7284: extern "C" void exit (int);
! 7285: #endif
! 7286:
! 7287: void fnord() { int i=42;}
! 7288: int main ()
! 7289: {
! 7290: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 7291: int status = $lt_dlunknown;
! 7292:
! 7293: if (self)
! 7294: {
! 7295: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 7296: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 7297: /* dlclose (self); */
! 7298: }
! 7299:
! 7300: exit (status);
! 7301: }
! 7302: EOF
! 7303: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7304: (eval $ac_link) 2>&5
! 7305: ac_status=$?
! 7306: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7307: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 7308: (./conftest; exit; ) 2>/dev/null
! 7309: lt_status=$?
! 7310: case x$lt_status in
! 7311: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 7312: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 7313: x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
! 7314: esac
! 7315: else :
! 7316: # compilation failed
! 7317: lt_cv_dlopen_self_static=no
! 7318: fi
! 7319: fi
! 7320: rm -fr conftest*
! 7321:
! 7322:
! 7323: fi
! 7324: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 7325: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 7326: fi
! 7327:
! 7328: CPPFLAGS="$save_CPPFLAGS"
! 7329: LDFLAGS="$save_LDFLAGS"
! 7330: LIBS="$save_LIBS"
! 7331: ;;
! 7332: esac
! 7333:
! 7334: case $lt_cv_dlopen_self in
! 7335: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 7336: *) enable_dlopen_self=unknown ;;
! 7337: esac
! 7338:
! 7339: case $lt_cv_dlopen_self_static in
! 7340: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 7341: *) enable_dlopen_self_static=unknown ;;
! 7342: esac
! 7343: fi
! 7344:
! 7345:
! 7346: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 7347: case $archive_cmds in
! 7348: *'~'*)
! 7349: # FIXME: we may have to deal with multi-command sequences.
! 7350: ;;
! 7351: '$CC '*)
! 7352: # Test whether the compiler implicitly links with -lc since on some
! 7353: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 7354: # to ld, don't add -lc before -lgcc.
! 7355: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 7356: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 7357: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! 7358: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7359: else
! 7360: $rm conftest*
! 7361: echo 'static int dummy;' > conftest.$ac_ext
! 7362:
! 7363: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 7364: (eval $ac_compile) 2>&5
! 7365: ac_status=$?
! 7366: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7367: (exit $ac_status); }; then
! 7368: soname=conftest
! 7369: lib=conftest
! 7370: libobjs=conftest.$ac_objext
! 7371: deplibs=
! 7372: wl=$lt_cv_prog_cc_wl
! 7373: compiler_flags=-v
! 7374: linker_flags=-v
! 7375: verstring=
! 7376: output_objdir=.
! 7377: libname=conftest
! 7378: save_allow_undefined_flag=$allow_undefined_flag
! 7379: allow_undefined_flag=
! 7380: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 7381: (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 7382: ac_status=$?
! 7383: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7384: (exit $ac_status); }
! 7385: then
! 7386: lt_cv_archive_cmds_need_lc=no
! 7387: else
! 7388: lt_cv_archive_cmds_need_lc=yes
! 7389: fi
! 7390: allow_undefined_flag=$save_allow_undefined_flag
! 7391: else
! 7392: cat conftest.err 1>&5
! 7393: fi
! 7394: fi
! 7395:
! 7396: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! 7397: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
! 7398: ;;
! 7399: esac
! 7400: fi
! 7401: need_lc=${lt_cv_archive_cmds_need_lc-yes}
! 7402:
! 7403: # The second clause should only fire when bootstrapping the
! 7404: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 7405: # with your package, and you will get complaints that there are
! 7406: # no rules to generate ltmain.sh.
! 7407: if test -f "$ltmain"; then
! 7408: :
! 7409: else
! 7410: # If there is no Makefile yet, we rely on a make rule to execute
! 7411: # `config.status --recheck' to rerun these tests and create the
! 7412: # libtool script then.
! 7413: test -f Makefile && make "$ltmain"
! 7414: fi
! 7415:
! 7416: if test -f "$ltmain"; then
! 7417: trap "$rm \"${ofile}T\"; exit 1" 1 2 15
! 7418: $rm -f "${ofile}T"
! 7419:
! 7420: echo creating $ofile
! 7421:
! 7422: # Now quote all the things that may contain metacharacters while being
! 7423: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 7424: # variables and quote the copies for generation of the libtool script.
! 7425: for var in echo old_CC old_CFLAGS SED \
! 7426: AR AR_FLAGS CC LD LN_S NM SHELL \
! 7427: reload_flag reload_cmds wl \
! 7428: pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
! 7429: thread_safe_flag_spec whole_archive_flag_spec libname_spec \
! 7430: library_names_spec soname_spec \
! 7431: RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
! 7432: old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
! 7433: postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
! 7434: old_striplib striplib file_magic_cmd export_symbols_cmds \
! 7435: deplibs_check_method allow_undefined_flag no_undefined_flag \
! 7436: finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
! 7437: global_symbol_to_c_name_address \
! 7438: hardcode_libdir_flag_spec hardcode_libdir_separator \
! 7439: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 7440: compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
! 7441:
! 7442: case $var in
! 7443: reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
! 7444: old_postinstall_cmds | old_postuninstall_cmds | \
! 7445: export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
! 7446: extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
! 7447: postinstall_cmds | postuninstall_cmds | \
! 7448: finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 7449: # Double-quote double-evaled strings.
! 7450: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 7451: ;;
! 7452: *)
! 7453: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 7454: ;;
! 7455: esac
! 7456: done
! 7457:
! 7458: cat <<__EOF__ > "${ofile}T"
! 7459: #! $SHELL
! 7460:
! 7461: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 7462: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
! 7463: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 7464: #
! 7465: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
! 7466: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
! 7467: #
! 7468: # This program is free software; you can redistribute it and/or modify
! 7469: # it under the terms of the GNU General Public License as published by
! 7470: # the Free Software Foundation; either version 2 of the License, or
! 7471: # (at your option) any later version.
! 7472: #
! 7473: # This program is distributed in the hope that it will be useful, but
! 7474: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 7475: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 7476: # General Public License for more details.
! 7477: #
! 7478: # You should have received a copy of the GNU General Public License
! 7479: # along with this program; if not, write to the Free Software
! 7480: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
! 7481: #
! 7482: # As a special exception to the GNU General Public License, if you
! 7483: # distribute this file as part of a program that contains a
! 7484: # configuration script generated by Autoconf, you may include it under
! 7485: # the same distribution terms that you use for the rest of that program.
! 7486:
! 7487: # A sed that does not truncate output.
! 7488: SED=$lt_SED
! 7489:
! 7490: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 7491: Xsed="${SED} -e s/^X//"
! 7492:
! 7493: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 7494: # if CDPATH is set.
! 7495: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
! 7496:
! 7497: # ### BEGIN LIBTOOL CONFIG
! 7498:
! 7499: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 7500:
! 7501: # Shell to use when invoking shell scripts.
! 7502: SHELL=$lt_SHELL
! 7503:
! 7504: # Whether or not to build shared libraries.
! 7505: build_libtool_libs=$enable_shared
! 7506:
! 7507: # Whether or not to build static libraries.
! 7508: build_old_libs=$enable_static
! 7509:
! 7510: # Whether or not to add -lc for building shared libraries.
! 7511: build_libtool_need_lc=$need_lc
! 7512:
! 7513: # Whether or not to optimize for fast installation.
! 7514: fast_install=$enable_fast_install
! 7515:
! 7516: # The host system.
! 7517: host_alias=$host_alias
! 7518: host=$host
! 7519:
! 7520: # An echo program that does not interpret backslashes.
! 7521: echo=$lt_echo
! 7522:
! 7523: # The archiver.
! 7524: AR=$lt_AR
! 7525: AR_FLAGS=$lt_AR_FLAGS
! 7526:
! 7527: # The default C compiler.
! 7528: CC=$lt_CC
! 7529:
! 7530: # Is the compiler the GNU C compiler?
! 7531: with_gcc=$GCC
! 7532:
! 7533: # The linker used to build libraries.
! 7534: LD=$lt_LD
! 7535:
! 7536: # Whether we need hard or soft links.
! 7537: LN_S=$lt_LN_S
! 7538:
! 7539: # A BSD-compatible nm program.
! 7540: NM=$lt_NM
! 7541:
! 7542: # A symbol stripping program
! 7543: STRIP=$STRIP
! 7544:
! 7545: # Used to examine libraries when file_magic_cmd begins "file"
! 7546: MAGIC_CMD=$MAGIC_CMD
! 7547:
! 7548: # Used on cygwin: DLL creation program.
! 7549: DLLTOOL="$DLLTOOL"
! 7550:
! 7551: # Used on cygwin: object dumper.
! 7552: OBJDUMP="$OBJDUMP"
! 7553:
! 7554: # Used on cygwin: assembler.
! 7555: AS="$AS"
! 7556:
! 7557: # The name of the directory that contains temporary libtool files.
! 7558: objdir=$objdir
! 7559:
! 7560: # How to create reloadable object files.
! 7561: reload_flag=$lt_reload_flag
! 7562: reload_cmds=$lt_reload_cmds
! 7563:
! 7564: # How to pass a linker flag through the compiler.
! 7565: wl=$lt_wl
! 7566:
! 7567: # Object file suffix (normally "o").
! 7568: objext="$ac_objext"
! 7569:
! 7570: # Old archive suffix (normally "a").
! 7571: libext="$libext"
! 7572:
! 7573: # Executable file suffix (normally "").
! 7574: exeext="$exeext"
! 7575:
! 7576: # Additional compiler flags for building library objects.
! 7577: pic_flag=$lt_pic_flag
! 7578: pic_mode=$pic_mode
! 7579:
! 7580: # Does compiler simultaneously support -c and -o options?
! 7581: compiler_c_o=$lt_compiler_c_o
! 7582:
! 7583: # Can we write directly to a .lo ?
! 7584: compiler_o_lo=$lt_compiler_o_lo
! 7585:
! 7586: # Must we lock files when doing compilation ?
! 7587: need_locks=$lt_need_locks
! 7588:
! 7589: # Do we need the lib prefix for modules?
! 7590: need_lib_prefix=$need_lib_prefix
! 7591:
! 7592: # Do we need a version for libraries?
! 7593: need_version=$need_version
! 7594:
! 7595: # Whether dlopen is supported.
! 7596: dlopen_support=$enable_dlopen
! 7597:
! 7598: # Whether dlopen of programs is supported.
! 7599: dlopen_self=$enable_dlopen_self
! 7600:
! 7601: # Whether dlopen of statically linked programs is supported.
! 7602: dlopen_self_static=$enable_dlopen_self_static
! 7603:
! 7604: # Compiler flag to prevent dynamic linking.
! 7605: link_static_flag=$lt_link_static_flag
! 7606:
! 7607: # Compiler flag to turn off builtin functions.
! 7608: no_builtin_flag=$lt_no_builtin_flag
! 7609:
! 7610: # Compiler flag to allow reflexive dlopens.
! 7611: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 7612:
! 7613: # Compiler flag to generate shared objects directly from archives.
! 7614: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 7615:
! 7616: # Compiler flag to generate thread-safe objects.
! 7617: thread_safe_flag_spec=$lt_thread_safe_flag_spec
! 7618:
! 7619: # Library versioning type.
! 7620: version_type=$version_type
! 7621:
! 7622: # Format of library name prefix.
! 7623: libname_spec=$lt_libname_spec
! 7624:
! 7625: # List of archive names. First name is the real one, the rest are links.
! 7626: # The last name is the one that the linker finds with -lNAME.
! 7627: library_names_spec=$lt_library_names_spec
! 7628:
! 7629: # The coded name of the library, if different from the real name.
! 7630: soname_spec=$lt_soname_spec
! 7631:
! 7632: # Commands used to build and install an old-style archive.
! 7633: RANLIB=$lt_RANLIB
! 7634: old_archive_cmds=$lt_old_archive_cmds
! 7635: old_postinstall_cmds=$lt_old_postinstall_cmds
! 7636: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 7637:
! 7638: # Create an old-style archive from a shared archive.
! 7639: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 7640:
! 7641: # Create a temporary old-style archive to link instead of a shared archive.
! 7642: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 7643:
! 7644: # Commands used to build and install a shared archive.
! 7645: archive_cmds=$lt_archive_cmds
! 7646: archive_expsym_cmds=$lt_archive_expsym_cmds
! 7647: postinstall_cmds=$lt_postinstall_cmds
! 7648: postuninstall_cmds=$lt_postuninstall_cmds
! 7649:
! 7650: # Commands to strip libraries.
! 7651: old_striplib=$lt_old_striplib
! 7652: striplib=$lt_striplib
! 7653:
! 7654: # Method to check whether dependent libraries are shared objects.
! 7655: deplibs_check_method=$lt_deplibs_check_method
! 7656:
! 7657: # Command to use when deplibs_check_method == file_magic.
! 7658: file_magic_cmd=$lt_file_magic_cmd
! 7659:
! 7660: # Flag that allows shared libraries with undefined symbols to be built.
! 7661: allow_undefined_flag=$lt_allow_undefined_flag
! 7662:
! 7663: # Flag that forces no undefined symbols.
! 7664: no_undefined_flag=$lt_no_undefined_flag
! 7665:
! 7666: # Commands used to finish a libtool library installation in a directory.
! 7667: finish_cmds=$lt_finish_cmds
! 7668:
! 7669: # Same as above, but a single script fragment to be evaled but not shown.
! 7670: finish_eval=$lt_finish_eval
! 7671:
! 7672: # Take the output of nm and produce a listing of raw symbols and C names.
! 7673: global_symbol_pipe=$lt_global_symbol_pipe
! 7674:
! 7675: # Transform the output of nm in a proper C declaration
! 7676: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
! 7677:
! 7678: # Transform the output of nm in a C name address pair
! 7679: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
! 7680:
! 7681: # This is the shared library runtime path variable.
! 7682: runpath_var=$runpath_var
! 7683:
! 7684: # This is the shared library path variable.
! 7685: shlibpath_var=$shlibpath_var
! 7686:
! 7687: # Is shlibpath searched before the hard-coded library search path?
! 7688: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 7689:
! 7690: # How to hardcode a shared library path into an executable.
! 7691: hardcode_action=$hardcode_action
! 7692:
! 7693: # Whether we should hardcode library paths into libraries.
! 7694: hardcode_into_libs=$hardcode_into_libs
! 7695:
! 7696: # Flag to hardcode \$libdir into a binary during linking.
! 7697: # This must work even if \$libdir does not exist.
! 7698: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 7699:
! 7700: # Whether we need a single -rpath flag with a separated argument.
! 7701: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 7702:
! 7703: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
! 7704: # resulting binary.
! 7705: hardcode_direct=$hardcode_direct
! 7706:
! 7707: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 7708: # resulting binary.
! 7709: hardcode_minus_L=$hardcode_minus_L
! 7710:
! 7711: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 7712: # the resulting binary.
! 7713: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 7714:
! 7715: # Variables whose values should be saved in libtool wrapper scripts and
! 7716: # restored at relink time.
! 7717: variables_saved_for_relink="$variables_saved_for_relink"
! 7718:
! 7719: # Whether libtool must link a program against all its dependency libraries.
! 7720: link_all_deplibs=$link_all_deplibs
! 7721:
! 7722: # Compile-time system search path for libraries
! 7723: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 7724:
! 7725: # Run-time system search path for libraries
! 7726: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 7727:
! 7728: # Fix the shell variable \$srcfile for the compiler.
! 7729: fix_srcfile_path="$fix_srcfile_path"
! 7730:
! 7731: # Set to yes if exported symbols are required.
! 7732: always_export_symbols=$always_export_symbols
! 7733:
! 7734: # The commands to list exported symbols.
! 7735: export_symbols_cmds=$lt_export_symbols_cmds
! 7736:
! 7737: # The commands to extract the exported symbol list from a shared archive.
! 7738: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 7739:
! 7740: # Symbols that should not be listed in the preloaded symbols.
! 7741: exclude_expsyms=$lt_exclude_expsyms
! 7742:
! 7743: # Symbols that must always be exported.
! 7744: include_expsyms=$lt_include_expsyms
! 7745:
! 7746: # ### END LIBTOOL CONFIG
! 7747:
! 7748: __EOF__
! 7749:
! 7750: case $host_os in
! 7751: aix3*)
! 7752: cat <<\EOF >> "${ofile}T"
! 7753:
! 7754: # AIX sometimes has problems with the GCC collect2 program. For some
! 7755: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 7756: # vanish in a puff of smoke.
! 7757: if test "X${COLLECT_NAMES+set}" != Xset; then
! 7758: COLLECT_NAMES=
! 7759: export COLLECT_NAMES
! 7760: fi
! 7761: EOF
! 7762: ;;
! 7763: esac
! 7764:
! 7765: case $host_os in
! 7766: cygwin* | mingw* | pw32* | os2*)
! 7767: cat <<'EOF' >> "${ofile}T"
! 7768: # This is a source program that is used to create dlls on Windows
! 7769: # Don't remove nor modify the starting and closing comments
! 7770: # /* ltdll.c starts here */
! 7771: # #define WIN32_LEAN_AND_MEAN
! 7772: # #include <windows.h>
! 7773: # #undef WIN32_LEAN_AND_MEAN
! 7774: # #include <stdio.h>
! 7775: #
! 7776: # #ifndef __CYGWIN__
! 7777: # # ifdef __CYGWIN32__
! 7778: # # define __CYGWIN__ __CYGWIN32__
! 7779: # # endif
! 7780: # #endif
! 7781: #
! 7782: # #ifdef __cplusplus
! 7783: # extern "C" {
! 7784: # #endif
! 7785: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
! 7786: # #ifdef __cplusplus
! 7787: # }
! 7788: # #endif
! 7789: #
! 7790: # #ifdef __CYGWIN__
! 7791: # #include <cygwin/cygwin_dll.h>
! 7792: # DECLARE_CYGWIN_DLL( DllMain );
! 7793: # #endif
! 7794: # HINSTANCE __hDllInstance_base;
! 7795: #
! 7796: # BOOL APIENTRY
! 7797: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
! 7798: # {
! 7799: # __hDllInstance_base = hInst;
! 7800: # return TRUE;
! 7801: # }
! 7802: # /* ltdll.c ends here */
! 7803: # This is a source program that is used to create import libraries
! 7804: # on Windows for dlls which lack them. Don't remove nor modify the
! 7805: # starting and closing comments
! 7806: # /* impgen.c starts here */
! 7807: # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
! 7808: #
! 7809: # This file is part of GNU libtool.
! 7810: #
! 7811: # This program is free software; you can redistribute it and/or modify
! 7812: # it under the terms of the GNU General Public License as published by
! 7813: # the Free Software Foundation; either version 2 of the License, or
! 7814: # (at your option) any later version.
! 7815: #
! 7816: # This program is distributed in the hope that it will be useful,
! 7817: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 7818: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 7819: # GNU General Public License for more details.
! 7820: #
! 7821: # You should have received a copy of the GNU General Public License
! 7822: # along with this program; if not, write to the Free Software
! 7823: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
! 7824: # */
! 7825: #
! 7826: # #include <stdio.h> /* for printf() */
! 7827: # #include <unistd.h> /* for open(), lseek(), read() */
! 7828: # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
! 7829: # #include <string.h> /* for strdup() */
! 7830: #
! 7831: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
! 7832: # #ifndef O_BINARY
! 7833: # #define O_BINARY 0
! 7834: # #endif
! 7835: #
! 7836: # static unsigned int
! 7837: # pe_get16 (fd, offset)
! 7838: # int fd;
! 7839: # int offset;
! 7840: # {
! 7841: # unsigned char b[2];
! 7842: # lseek (fd, offset, SEEK_SET);
! 7843: # read (fd, b, 2);
! 7844: # return b[0] + (b[1]<<8);
! 7845: # }
! 7846: #
! 7847: # static unsigned int
! 7848: # pe_get32 (fd, offset)
! 7849: # int fd;
! 7850: # int offset;
! 7851: # {
! 7852: # unsigned char b[4];
! 7853: # lseek (fd, offset, SEEK_SET);
! 7854: # read (fd, b, 4);
! 7855: # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
! 7856: # }
! 7857: #
! 7858: # static unsigned int
! 7859: # pe_as32 (ptr)
! 7860: # void *ptr;
! 7861: # {
! 7862: # unsigned char *b = ptr;
! 7863: # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
! 7864: # }
! 7865: #
! 7866: # int
! 7867: # main (argc, argv)
! 7868: # int argc;
! 7869: # char *argv[];
! 7870: # {
! 7871: # int dll;
! 7872: # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
! 7873: # unsigned long export_rva, export_size, nsections, secptr, expptr;
! 7874: # unsigned long name_rvas, nexp;
! 7875: # unsigned char *expdata, *erva;
! 7876: # char *filename, *dll_name;
! 7877: #
! 7878: # filename = argv[1];
! 7879: #
! 7880: # dll = open(filename, O_RDONLY|O_BINARY);
! 7881: # if (dll < 1)
! 7882: # return 1;
! 7883: #
! 7884: # dll_name = filename;
! 7885: #
! 7886: # for (i=0; filename[i]; i++)
! 7887: # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
! 7888: # dll_name = filename + i +1;
! 7889: #
! 7890: # pe_header_offset = pe_get32 (dll, 0x3c);
! 7891: # opthdr_ofs = pe_header_offset + 4 + 20;
! 7892: # num_entries = pe_get32 (dll, opthdr_ofs + 92);
! 7893: #
! 7894: # if (num_entries < 1) /* no exports */
! 7895: # return 1;
! 7896: #
! 7897: # export_rva = pe_get32 (dll, opthdr_ofs + 96);
! 7898: # export_size = pe_get32 (dll, opthdr_ofs + 100);
! 7899: # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
! 7900: # secptr = (pe_header_offset + 4 + 20 +
! 7901: # pe_get16 (dll, pe_header_offset + 4 + 16));
! 7902: #
! 7903: # expptr = 0;
! 7904: # for (i = 0; i < nsections; i++)
! 7905: # {
! 7906: # char sname[8];
! 7907: # unsigned long secptr1 = secptr + 40 * i;
! 7908: # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
! 7909: # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
! 7910: # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
! 7911: # lseek(dll, secptr1, SEEK_SET);
! 7912: # read(dll, sname, 8);
! 7913: # if (vaddr <= export_rva && vaddr+vsize > export_rva)
! 7914: # {
! 7915: # expptr = fptr + (export_rva - vaddr);
! 7916: # if (export_rva + export_size > vaddr + vsize)
! 7917: # export_size = vsize - (export_rva - vaddr);
! 7918: # break;
! 7919: # }
! 7920: # }
! 7921: #
! 7922: # expdata = (unsigned char*)malloc(export_size);
! 7923: # lseek (dll, expptr, SEEK_SET);
! 7924: # read (dll, expdata, export_size);
! 7925: # erva = expdata - export_rva;
! 7926: #
! 7927: # nexp = pe_as32 (expdata+24);
! 7928: # name_rvas = pe_as32 (expdata+32);
! 7929: #
! 7930: # printf ("EXPORTS\n");
! 7931: # for (i = 0; i<nexp; i++)
! 7932: # {
! 7933: # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
! 7934: # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
! 7935: # }
! 7936: #
! 7937: # return 0;
! 7938: # }
! 7939: # /* impgen.c ends here */
! 7940:
! 7941: EOF
! 7942: ;;
! 7943: esac
! 7944:
! 7945: # We use sed instead of cat because bash on DJGPP gets confused if
! 7946: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 7947: # text mode, it properly converts lines to CR/LF. This bash problem
! 7948: # is reportedly fixed, but why not run on old versions too?
! 7949: sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
! 7950:
! 7951: mv -f "${ofile}T" "$ofile" || \
! 7952: (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
! 7953: chmod +x "$ofile"
! 7954: fi
! 7955:
! 7956:
! 7957:
! 7958:
! 7959:
! 7960: # This can be used to rebuild libtool when needed
! 7961: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
! 7962:
! 7963: # Always use rootdir libtool.
! 7964: LIBTOOL="$ac_aux_dir/libtool"
! 7965:
! 7966: # Prevent multiple expansion
! 7967:
! 7968:
! 7969:
! 7970:
! 7971:
! 7972:
! 7973:
! 7974:
! 7975:
! 7976: ac_header_dirent=no
! 7977: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
! 7978: as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
! 7979: echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
! 7980: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
! 7981: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 7982: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7983: else
! 7984: cat >conftest.$ac_ext <<_ACEOF
! 7985: #line $LINENO "configure"
! 7986: /* confdefs.h. */
! 7987: _ACEOF
! 7988: cat confdefs.h >>conftest.$ac_ext
! 7989: cat >>conftest.$ac_ext <<_ACEOF
! 7990: /* end confdefs.h. */
! 7991: #include <sys/types.h>
! 7992: #include <$ac_hdr>
! 7993:
! 7994: int
! 7995: main ()
! 7996: {
! 7997: if ((DIR *) 0)
! 7998: return 0;
! 7999: ;
! 8000: return 0;
! 8001: }
! 8002: _ACEOF
! 8003: rm -f conftest.$ac_objext
! 8004: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8005: (eval $ac_compile) 2>&5
! 8006: ac_status=$?
! 8007: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8008: (exit $ac_status); } &&
! 8009: { ac_try='test -s conftest.$ac_objext'
! 8010: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8011: (eval $ac_try) 2>&5
! 8012: ac_status=$?
! 8013: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8014: (exit $ac_status); }; }; then
! 8015: eval "$as_ac_Header=yes"
! 8016: else
! 8017: echo "$as_me: failed program was:" >&5
! 8018: sed 's/^/| /' conftest.$ac_ext >&5
! 8019:
! 8020: eval "$as_ac_Header=no"
! 8021: fi
! 8022: rm -f conftest.$ac_objext conftest.$ac_ext
! 8023: fi
! 8024: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 8025: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 8026: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 8027: cat >>confdefs.h <<_ACEOF
! 8028: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
! 8029: _ACEOF
! 8030:
! 8031: ac_header_dirent=$ac_hdr; break
! 8032: fi
! 8033:
! 8034: done
! 8035: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
! 8036: if test $ac_header_dirent = dirent.h; then
! 8037: echo "$as_me:$LINENO: checking for library containing opendir" >&5
! 8038: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
! 8039: if test "${ac_cv_search_opendir+set}" = set; then
! 8040: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8041: else
! 8042: ac_func_search_save_LIBS=$LIBS
! 8043: ac_cv_search_opendir=no
! 8044: cat >conftest.$ac_ext <<_ACEOF
! 8045: #line $LINENO "configure"
! 8046: /* confdefs.h. */
! 8047: _ACEOF
! 8048: cat confdefs.h >>conftest.$ac_ext
! 8049: cat >>conftest.$ac_ext <<_ACEOF
! 8050: /* end confdefs.h. */
! 8051:
! 8052: /* Override any gcc2 internal prototype to avoid an error. */
! 8053: #ifdef __cplusplus
! 8054: extern "C"
! 8055: #endif
! 8056: /* We use char because int might match the return type of a gcc2
! 8057: builtin and then its argument prototype would still apply. */
! 8058: char opendir ();
! 8059: int
! 8060: main ()
! 8061: {
! 8062: opendir ();
! 8063: ;
! 8064: return 0;
! 8065: }
! 8066: _ACEOF
! 8067: rm -f conftest.$ac_objext conftest$ac_exeext
! 8068: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8069: (eval $ac_link) 2>&5
! 8070: ac_status=$?
! 8071: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8072: (exit $ac_status); } &&
! 8073: { ac_try='test -s conftest$ac_exeext'
! 8074: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8075: (eval $ac_try) 2>&5
! 8076: ac_status=$?
! 8077: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8078: (exit $ac_status); }; }; then
! 8079: ac_cv_search_opendir="none required"
! 8080: else
! 8081: echo "$as_me: failed program was:" >&5
! 8082: sed 's/^/| /' conftest.$ac_ext >&5
! 8083:
! 8084: fi
! 8085: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8086: if test "$ac_cv_search_opendir" = no; then
! 8087: for ac_lib in dir; do
! 8088: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 8089: cat >conftest.$ac_ext <<_ACEOF
! 8090: #line $LINENO "configure"
! 8091: /* confdefs.h. */
! 8092: _ACEOF
! 8093: cat confdefs.h >>conftest.$ac_ext
! 8094: cat >>conftest.$ac_ext <<_ACEOF
! 8095: /* end confdefs.h. */
! 8096:
! 8097: /* Override any gcc2 internal prototype to avoid an error. */
! 8098: #ifdef __cplusplus
! 8099: extern "C"
! 8100: #endif
! 8101: /* We use char because int might match the return type of a gcc2
! 8102: builtin and then its argument prototype would still apply. */
! 8103: char opendir ();
! 8104: int
! 8105: main ()
! 8106: {
! 8107: opendir ();
! 8108: ;
! 8109: return 0;
! 8110: }
! 8111: _ACEOF
! 8112: rm -f conftest.$ac_objext conftest$ac_exeext
! 8113: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8114: (eval $ac_link) 2>&5
! 8115: ac_status=$?
! 8116: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8117: (exit $ac_status); } &&
! 8118: { ac_try='test -s conftest$ac_exeext'
! 8119: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8120: (eval $ac_try) 2>&5
! 8121: ac_status=$?
! 8122: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8123: (exit $ac_status); }; }; then
! 8124: ac_cv_search_opendir="-l$ac_lib"
! 8125: break
! 8126: else
! 8127: echo "$as_me: failed program was:" >&5
! 8128: sed 's/^/| /' conftest.$ac_ext >&5
! 8129:
! 8130: fi
! 8131: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8132: done
! 8133: fi
! 8134: LIBS=$ac_func_search_save_LIBS
! 8135: fi
! 8136: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
! 8137: echo "${ECHO_T}$ac_cv_search_opendir" >&6
! 8138: if test "$ac_cv_search_opendir" != no; then
! 8139: test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
! 8140:
! 8141: fi
! 8142:
! 8143: else
! 8144: echo "$as_me:$LINENO: checking for library containing opendir" >&5
! 8145: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
! 8146: if test "${ac_cv_search_opendir+set}" = set; then
! 8147: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8148: else
! 8149: ac_func_search_save_LIBS=$LIBS
! 8150: ac_cv_search_opendir=no
! 8151: cat >conftest.$ac_ext <<_ACEOF
! 8152: #line $LINENO "configure"
! 8153: /* confdefs.h. */
! 8154: _ACEOF
! 8155: cat confdefs.h >>conftest.$ac_ext
! 8156: cat >>conftest.$ac_ext <<_ACEOF
! 8157: /* end confdefs.h. */
! 8158:
! 8159: /* Override any gcc2 internal prototype to avoid an error. */
! 8160: #ifdef __cplusplus
! 8161: extern "C"
! 8162: #endif
! 8163: /* We use char because int might match the return type of a gcc2
! 8164: builtin and then its argument prototype would still apply. */
! 8165: char opendir ();
! 8166: int
! 8167: main ()
! 8168: {
! 8169: opendir ();
! 8170: ;
! 8171: return 0;
! 8172: }
! 8173: _ACEOF
! 8174: rm -f conftest.$ac_objext conftest$ac_exeext
! 8175: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8176: (eval $ac_link) 2>&5
! 8177: ac_status=$?
! 8178: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8179: (exit $ac_status); } &&
! 8180: { ac_try='test -s conftest$ac_exeext'
! 8181: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8182: (eval $ac_try) 2>&5
! 8183: ac_status=$?
! 8184: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8185: (exit $ac_status); }; }; then
! 8186: ac_cv_search_opendir="none required"
! 8187: else
! 8188: echo "$as_me: failed program was:" >&5
! 8189: sed 's/^/| /' conftest.$ac_ext >&5
! 8190:
! 8191: fi
! 8192: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8193: if test "$ac_cv_search_opendir" = no; then
! 8194: for ac_lib in x; do
! 8195: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 8196: cat >conftest.$ac_ext <<_ACEOF
! 8197: #line $LINENO "configure"
! 8198: /* confdefs.h. */
! 8199: _ACEOF
! 8200: cat confdefs.h >>conftest.$ac_ext
! 8201: cat >>conftest.$ac_ext <<_ACEOF
! 8202: /* end confdefs.h. */
! 8203:
! 8204: /* Override any gcc2 internal prototype to avoid an error. */
! 8205: #ifdef __cplusplus
! 8206: extern "C"
! 8207: #endif
! 8208: /* We use char because int might match the return type of a gcc2
! 8209: builtin and then its argument prototype would still apply. */
! 8210: char opendir ();
! 8211: int
! 8212: main ()
! 8213: {
! 8214: opendir ();
! 8215: ;
! 8216: return 0;
! 8217: }
! 8218: _ACEOF
! 8219: rm -f conftest.$ac_objext conftest$ac_exeext
! 8220: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8221: (eval $ac_link) 2>&5
! 8222: ac_status=$?
! 8223: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8224: (exit $ac_status); } &&
! 8225: { ac_try='test -s conftest$ac_exeext'
! 8226: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8227: (eval $ac_try) 2>&5
! 8228: ac_status=$?
! 8229: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8230: (exit $ac_status); }; }; then
! 8231: ac_cv_search_opendir="-l$ac_lib"
! 8232: break
! 8233: else
! 8234: echo "$as_me: failed program was:" >&5
! 8235: sed 's/^/| /' conftest.$ac_ext >&5
! 8236:
! 8237: fi
! 8238: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8239: done
! 8240: fi
! 8241: LIBS=$ac_func_search_save_LIBS
! 8242: fi
! 8243: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
! 8244: echo "${ECHO_T}$ac_cv_search_opendir" >&6
! 8245: if test "$ac_cv_search_opendir" != no; then
! 8246: test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
! 8247:
! 8248: fi
! 8249:
! 8250: fi
! 8251:
! 8252: echo "$as_me:$LINENO: checking whether $CC supports assert without backlinking" >&5
! 8253: echo $ECHO_N "checking whether $CC supports assert without backlinking... $ECHO_C" >&6
! 8254: if test "${lt_cv_func_assert_works+set}" = set; then
! 8255: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8256: else
! 8257: case $host in
! 8258: *-*-solaris*)
! 8259: if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
! 8260: case `$CC --version 2>/dev/null` in
! 8261: [12].*) lt_cv_func_assert_works=no ;;
! 8262: *) lt_cv_func_assert_works=yes ;;
! 8263: esac
! 8264: fi
! 8265: ;;
! 8266: esac
! 8267: fi
! 8268: echo "$as_me:$LINENO: result: $lt_cv_func_assert_works" >&5
! 8269: echo "${ECHO_T}$lt_cv_func_assert_works" >&6
! 8270:
! 8271: if test "x$lt_cv_func_assert_works" = xyes; then
! 8272:
! 8273: for ac_header in assert.h
! 8274: do
! 8275: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 8276: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8277: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 8278: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 8279: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8280: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8281: fi
! 8282: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 8283: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 8284: else
! 8285: # Is the header compilable?
! 8286: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 8287: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 8288: cat >conftest.$ac_ext <<_ACEOF
! 8289: #line $LINENO "configure"
! 8290: /* confdefs.h. */
! 8291: _ACEOF
! 8292: cat confdefs.h >>conftest.$ac_ext
! 8293: cat >>conftest.$ac_ext <<_ACEOF
! 8294: /* end confdefs.h. */
! 8295: $ac_includes_default
! 8296: #include <$ac_header>
! 8297: _ACEOF
! 8298: rm -f conftest.$ac_objext
! 8299: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8300: (eval $ac_compile) 2>&5
! 8301: ac_status=$?
! 8302: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8303: (exit $ac_status); } &&
! 8304: { ac_try='test -s conftest.$ac_objext'
! 8305: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8306: (eval $ac_try) 2>&5
! 8307: ac_status=$?
! 8308: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8309: (exit $ac_status); }; }; then
! 8310: ac_header_compiler=yes
! 8311: else
! 8312: echo "$as_me: failed program was:" >&5
! 8313: sed 's/^/| /' conftest.$ac_ext >&5
! 8314:
! 8315: ac_header_compiler=no
! 8316: fi
! 8317: rm -f conftest.$ac_objext conftest.$ac_ext
! 8318: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 8319: echo "${ECHO_T}$ac_header_compiler" >&6
! 8320:
! 8321: # Is the header present?
! 8322: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 8323: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 8324: cat >conftest.$ac_ext <<_ACEOF
! 8325: #line $LINENO "configure"
! 8326: /* confdefs.h. */
! 8327: _ACEOF
! 8328: cat confdefs.h >>conftest.$ac_ext
! 8329: cat >>conftest.$ac_ext <<_ACEOF
! 8330: /* end confdefs.h. */
! 8331: #include <$ac_header>
! 8332: _ACEOF
! 8333: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 8334: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 8335: ac_status=$?
! 8336: grep -v '^ *+' conftest.er1 >conftest.err
! 8337: rm -f conftest.er1
! 8338: cat conftest.err >&5
! 8339: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8340: (exit $ac_status); } >/dev/null; then
! 8341: if test -s conftest.err; then
! 8342: ac_cpp_err=$ac_c_preproc_warn_flag
! 8343: else
! 8344: ac_cpp_err=
! 8345: fi
! 8346: else
! 8347: ac_cpp_err=yes
! 8348: fi
! 8349: if test -z "$ac_cpp_err"; then
! 8350: ac_header_preproc=yes
! 8351: else
! 8352: echo "$as_me: failed program was:" >&5
! 8353: sed 's/^/| /' conftest.$ac_ext >&5
! 8354:
! 8355: ac_header_preproc=no
! 8356: fi
! 8357: rm -f conftest.err conftest.$ac_ext
! 8358: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 8359: echo "${ECHO_T}$ac_header_preproc" >&6
! 8360:
! 8361: # So? What about this header?
! 8362: case $ac_header_compiler:$ac_header_preproc in
! 8363: yes:no )
! 8364: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 8365: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 8366: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 8367: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 8368: (
! 8369: cat <<\_ASBOX
! 8370: ## ------------------------------------ ##
! 8371: ## Report this to bug-autoconf@gnu.org. ##
! 8372: ## ------------------------------------ ##
! 8373: _ASBOX
! 8374: ) |
! 8375: sed "s/^/$as_me: WARNING: /" >&2
! 8376: ;;
! 8377: no:yes )
! 8378: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 8379: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 8380: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 8381: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 8382: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 8383: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 8384: (
! 8385: cat <<\_ASBOX
! 8386: ## ------------------------------------ ##
! 8387: ## Report this to bug-autoconf@gnu.org. ##
! 8388: ## ------------------------------------ ##
! 8389: _ASBOX
! 8390: ) |
! 8391: sed "s/^/$as_me: WARNING: /" >&2
! 8392: ;;
! 8393: esac
! 8394: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 8395: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 8396: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8397: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8398: else
! 8399: eval "$as_ac_Header=$ac_header_preproc"
! 8400: fi
! 8401: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 8402: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 8403:
! 8404: fi
! 8405: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 8406: cat >>confdefs.h <<_ACEOF
! 8407: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 8408: _ACEOF
! 8409:
! 8410: fi
! 8411:
! 8412: done
! 8413:
! 8414: fi
! 8415:
! 8416: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
! 8417: if test "${enable_ltdl_install+set}" = set; then
! 8418: enableval="$enable_ltdl_install"
! 8419:
! 8420: fi;
! 8421:
! 8422:
! 8423:
! 8424: if test x"${enable_ltdl_install-no}" != xno; then
! 8425: INSTALL_LTDL_TRUE=
! 8426: INSTALL_LTDL_FALSE='#'
! 8427: else
! 8428: INSTALL_LTDL_TRUE='#'
! 8429: INSTALL_LTDL_FALSE=
! 8430: fi
! 8431:
! 8432:
! 8433:
! 8434: if test x"${enable_ltdl_convenience-no}" != xno; then
! 8435: CONVENIENCE_LTDL_TRUE=
! 8436: CONVENIENCE_LTDL_FALSE='#'
! 8437: else
! 8438: CONVENIENCE_LTDL_TRUE='#'
! 8439: CONVENIENCE_LTDL_FALSE=
! 8440: fi
! 8441:
! 8442:
! 8443:
! 8444: echo "$as_me:$LINENO: checking which extension is used for shared libraries" >&5
! 8445: echo $ECHO_N "checking which extension is used for shared libraries... $ECHO_C" >&6
! 8446: if test "${libltdl_cv_shlibext+set}" = set; then
! 8447: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8448: else
! 8449: ac_last=
! 8450: for ac_spec in $library_names_spec; do
! 8451: ac_last="$ac_spec"
! 8452: done
! 8453: echo "$ac_last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
! 8454: libltdl_cv_shlibext=`cat conftest`
! 8455: rm -f conftest
! 8456:
! 8457: fi
! 8458: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
! 8459: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
! 8460: if test -n "$libltdl_cv_shlibext"; then
! 8461:
! 8462: cat >>confdefs.h <<_ACEOF
! 8463: #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
! 8464: _ACEOF
! 8465:
! 8466: fi
! 8467:
! 8468:
! 8469: echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
! 8470: echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
! 8471: if test "${libltdl_cv_shlibpath_var+set}" = set; then
! 8472: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8473: else
! 8474: libltdl_cv_shlibpath_var="$shlibpath_var"
! 8475: fi
! 8476: echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
! 8477: echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
! 8478: if test -n "$libltdl_cv_shlibpath_var"; then
! 8479:
! 8480: cat >>confdefs.h <<_ACEOF
! 8481: #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
! 8482: _ACEOF
! 8483:
! 8484: fi
! 8485:
! 8486:
! 8487: echo "$as_me:$LINENO: checking for the default library search path" >&5
! 8488: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
! 8489: if test "${libltdl_cv_sys_search_path+set}" = set; then
! 8490: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8491: else
! 8492: libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
! 8493: fi
! 8494: echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
! 8495: echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
! 8496: if test -n "$libltdl_cv_sys_search_path"; then
! 8497: case "$host" in
! 8498: *-*-mingw*) pathsep=";" ;;
! 8499: *) pathsep=":" ;;
! 8500: esac
! 8501: sys_search_path=
! 8502: for dir in $libltdl_cv_sys_search_path; do
! 8503: if test -z "$sys_search_path"; then
! 8504: sys_search_path="$dir"
! 8505: else
! 8506: sys_search_path="$sys_search_path$pathsep$dir"
! 8507: fi
! 8508: done
! 8509:
! 8510: cat >>confdefs.h <<_ACEOF
! 8511: #define LTDL_SYSSEARCHPATH "$sys_search_path"
! 8512: _ACEOF
! 8513:
! 8514: fi
! 8515:
! 8516: echo "$as_me:$LINENO: checking for objdir" >&5
! 8517: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 8518: if test "${libltdl_cv_objdir+set}" = set; then
! 8519: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8520: else
! 8521: libltdl_cv_objdir="$objdir"
! 8522: if test -n "$objdir"; then
! 8523: :
! 8524: else
! 8525: rm -f .libs 2>/dev/null
! 8526: mkdir .libs 2>/dev/null
! 8527: if test -d .libs; then
! 8528: libltdl_cv_objdir=.libs
! 8529: else
! 8530: # MS-DOS does not allow filenames that begin with a dot.
! 8531: libltdl_cv_objdir=_libs
! 8532: fi
! 8533: rmdir .libs 2>/dev/null
! 8534: fi
! 8535: fi
! 8536: echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
! 8537: echo "${ECHO_T}$libltdl_cv_objdir" >&6
! 8538:
! 8539: cat >>confdefs.h <<_ACEOF
! 8540: #define LTDL_OBJDIR "$libltdl_cv_objdir/"
! 8541: _ACEOF
! 8542:
! 8543:
! 8544: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
! 8545: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
! 8546: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
! 8547: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8548: else
! 8549: if test -n "$global_symbol_pipe"; then
! 8550: libltdl_cv_preloaded_symbols=yes
! 8551: else
! 8552: libltdl_cv_preloaded_symbols=no
! 8553: fi
! 8554:
! 8555: fi
! 8556: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
! 8557: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
! 8558: if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
! 8559:
! 8560: cat >>confdefs.h <<\_ACEOF
! 8561: #define HAVE_PRELOADED_SYMBOLS 1
! 8562: _ACEOF
! 8563:
! 8564: fi
! 8565:
! 8566: LIBADD_DL=
! 8567:
! 8568:
! 8569: echo "$as_me:$LINENO: checking for shl_load" >&5
! 8570: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 8571: if test "${ac_cv_func_shl_load+set}" = set; then
! 8572: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8573: else
! 8574: cat >conftest.$ac_ext <<_ACEOF
! 8575: #line $LINENO "configure"
! 8576: /* confdefs.h. */
! 8577: _ACEOF
! 8578: cat confdefs.h >>conftest.$ac_ext
! 8579: cat >>conftest.$ac_ext <<_ACEOF
! 8580: /* end confdefs.h. */
! 8581: /* System header to define __stub macros and hopefully few prototypes,
! 8582: which can conflict with char shl_load (); below.
! 8583: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 8584: <limits.h> exists even on freestanding compilers. */
! 8585: #ifdef __STDC__
! 8586: # include <limits.h>
! 8587: #else
! 8588: # include <assert.h>
! 8589: #endif
! 8590: /* Override any gcc2 internal prototype to avoid an error. */
! 8591: #ifdef __cplusplus
! 8592: extern "C"
! 8593: {
! 8594: #endif
! 8595: /* We use char because int might match the return type of a gcc2
! 8596: builtin and then its argument prototype would still apply. */
! 8597: char shl_load ();
! 8598: /* The GNU C library defines this for functions which it implements
! 8599: to always fail with ENOSYS. Some functions are actually named
! 8600: something starting with __ and the normal name is an alias. */
! 8601: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 8602: choke me
! 8603: #else
! 8604: char (*f) () = shl_load;
! 8605: #endif
! 8606: #ifdef __cplusplus
! 8607: }
! 8608: #endif
! 8609:
! 8610: int
! 8611: main ()
! 8612: {
! 8613: return f != shl_load;
! 8614: ;
! 8615: return 0;
! 8616: }
! 8617: _ACEOF
! 8618: rm -f conftest.$ac_objext conftest$ac_exeext
! 8619: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8620: (eval $ac_link) 2>&5
! 8621: ac_status=$?
! 8622: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8623: (exit $ac_status); } &&
! 8624: { ac_try='test -s conftest$ac_exeext'
! 8625: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8626: (eval $ac_try) 2>&5
! 8627: ac_status=$?
! 8628: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8629: (exit $ac_status); }; }; then
! 8630: ac_cv_func_shl_load=yes
! 8631: else
! 8632: echo "$as_me: failed program was:" >&5
! 8633: sed 's/^/| /' conftest.$ac_ext >&5
! 8634:
! 8635: ac_cv_func_shl_load=no
! 8636: fi
! 8637: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8638: fi
! 8639: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 8640: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 8641: if test $ac_cv_func_shl_load = yes; then
! 8642:
! 8643: cat >>confdefs.h <<\_ACEOF
! 8644: #define HAVE_SHL_LOAD 1
! 8645: _ACEOF
! 8646:
! 8647: else
! 8648: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 8649: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 8650: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 8651: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8652: else
! 8653: ac_check_lib_save_LIBS=$LIBS
! 8654: LIBS="-ldld $LIBS"
! 8655: cat >conftest.$ac_ext <<_ACEOF
! 8656: #line $LINENO "configure"
! 8657: /* confdefs.h. */
! 8658: _ACEOF
! 8659: cat confdefs.h >>conftest.$ac_ext
! 8660: cat >>conftest.$ac_ext <<_ACEOF
! 8661: /* end confdefs.h. */
! 8662:
! 8663: /* Override any gcc2 internal prototype to avoid an error. */
! 8664: #ifdef __cplusplus
! 8665: extern "C"
! 8666: #endif
! 8667: /* We use char because int might match the return type of a gcc2
! 8668: builtin and then its argument prototype would still apply. */
! 8669: char shl_load ();
! 8670: int
! 8671: main ()
! 8672: {
! 8673: shl_load ();
! 8674: ;
! 8675: return 0;
! 8676: }
! 8677: _ACEOF
! 8678: rm -f conftest.$ac_objext conftest$ac_exeext
! 8679: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8680: (eval $ac_link) 2>&5
! 8681: ac_status=$?
! 8682: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8683: (exit $ac_status); } &&
! 8684: { ac_try='test -s conftest$ac_exeext'
! 8685: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8686: (eval $ac_try) 2>&5
! 8687: ac_status=$?
! 8688: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8689: (exit $ac_status); }; }; then
! 8690: ac_cv_lib_dld_shl_load=yes
! 8691: else
! 8692: echo "$as_me: failed program was:" >&5
! 8693: sed 's/^/| /' conftest.$ac_ext >&5
! 8694:
! 8695: ac_cv_lib_dld_shl_load=no
! 8696: fi
! 8697: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8698: LIBS=$ac_check_lib_save_LIBS
! 8699: fi
! 8700: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 8701: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 8702: if test $ac_cv_lib_dld_shl_load = yes; then
! 8703:
! 8704: cat >>confdefs.h <<\_ACEOF
! 8705: #define HAVE_SHL_LOAD 1
! 8706: _ACEOF
! 8707:
! 8708: LIBADD_DL="$LIBADD_DL -ldld"
! 8709: else
! 8710: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 8711: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 8712: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 8713: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8714: else
! 8715: ac_check_lib_save_LIBS=$LIBS
! 8716: LIBS="-ldl $LIBS"
! 8717: cat >conftest.$ac_ext <<_ACEOF
! 8718: #line $LINENO "configure"
! 8719: /* confdefs.h. */
! 8720: _ACEOF
! 8721: cat confdefs.h >>conftest.$ac_ext
! 8722: cat >>conftest.$ac_ext <<_ACEOF
! 8723: /* end confdefs.h. */
! 8724:
! 8725: /* Override any gcc2 internal prototype to avoid an error. */
! 8726: #ifdef __cplusplus
! 8727: extern "C"
! 8728: #endif
! 8729: /* We use char because int might match the return type of a gcc2
! 8730: builtin and then its argument prototype would still apply. */
! 8731: char dlopen ();
! 8732: int
! 8733: main ()
! 8734: {
! 8735: dlopen ();
! 8736: ;
! 8737: return 0;
! 8738: }
! 8739: _ACEOF
! 8740: rm -f conftest.$ac_objext conftest$ac_exeext
! 8741: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8742: (eval $ac_link) 2>&5
! 8743: ac_status=$?
! 8744: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8745: (exit $ac_status); } &&
! 8746: { ac_try='test -s conftest$ac_exeext'
! 8747: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8748: (eval $ac_try) 2>&5
! 8749: ac_status=$?
! 8750: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8751: (exit $ac_status); }; }; then
! 8752: ac_cv_lib_dl_dlopen=yes
! 8753: else
! 8754: echo "$as_me: failed program was:" >&5
! 8755: sed 's/^/| /' conftest.$ac_ext >&5
! 8756:
! 8757: ac_cv_lib_dl_dlopen=no
! 8758: fi
! 8759: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8760: LIBS=$ac_check_lib_save_LIBS
! 8761: fi
! 8762: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 8763: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 8764: if test $ac_cv_lib_dl_dlopen = yes; then
! 8765:
! 8766: cat >>confdefs.h <<\_ACEOF
! 8767: #define HAVE_LIBDL 1
! 8768: _ACEOF
! 8769:
! 8770: LIBADD_DL="-ldl"
! 8771: else
! 8772: cat >conftest.$ac_ext <<_ACEOF
! 8773: #line $LINENO "configure"
! 8774: /* confdefs.h. */
! 8775: _ACEOF
! 8776: cat confdefs.h >>conftest.$ac_ext
! 8777: cat >>conftest.$ac_ext <<_ACEOF
! 8778: /* end confdefs.h. */
! 8779: #if HAVE_DLFCN_H
! 8780: # include <dlfcn.h>
! 8781: #endif
! 8782:
! 8783: int
! 8784: main ()
! 8785: {
! 8786: dlopen(0, 0);
! 8787: ;
! 8788: return 0;
! 8789: }
! 8790: _ACEOF
! 8791: rm -f conftest.$ac_objext conftest$ac_exeext
! 8792: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8793: (eval $ac_link) 2>&5
! 8794: ac_status=$?
! 8795: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8796: (exit $ac_status); } &&
! 8797: { ac_try='test -s conftest$ac_exeext'
! 8798: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8799: (eval $ac_try) 2>&5
! 8800: ac_status=$?
! 8801: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8802: (exit $ac_status); }; }; then
! 8803:
! 8804: cat >>confdefs.h <<\_ACEOF
! 8805: #define HAVE_LIBDL 1
! 8806: _ACEOF
! 8807:
! 8808: else
! 8809: echo "$as_me: failed program was:" >&5
! 8810: sed 's/^/| /' conftest.$ac_ext >&5
! 8811:
! 8812: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 8813: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 8814: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 8815: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8816: else
! 8817: ac_check_lib_save_LIBS=$LIBS
! 8818: LIBS="-lsvld $LIBS"
! 8819: cat >conftest.$ac_ext <<_ACEOF
! 8820: #line $LINENO "configure"
! 8821: /* confdefs.h. */
! 8822: _ACEOF
! 8823: cat confdefs.h >>conftest.$ac_ext
! 8824: cat >>conftest.$ac_ext <<_ACEOF
! 8825: /* end confdefs.h. */
! 8826:
! 8827: /* Override any gcc2 internal prototype to avoid an error. */
! 8828: #ifdef __cplusplus
! 8829: extern "C"
! 8830: #endif
! 8831: /* We use char because int might match the return type of a gcc2
! 8832: builtin and then its argument prototype would still apply. */
! 8833: char dlopen ();
! 8834: int
! 8835: main ()
! 8836: {
! 8837: dlopen ();
! 8838: ;
! 8839: return 0;
! 8840: }
! 8841: _ACEOF
! 8842: rm -f conftest.$ac_objext conftest$ac_exeext
! 8843: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8844: (eval $ac_link) 2>&5
! 8845: ac_status=$?
! 8846: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8847: (exit $ac_status); } &&
! 8848: { ac_try='test -s conftest$ac_exeext'
! 8849: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8850: (eval $ac_try) 2>&5
! 8851: ac_status=$?
! 8852: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8853: (exit $ac_status); }; }; then
! 8854: ac_cv_lib_svld_dlopen=yes
! 8855: else
! 8856: echo "$as_me: failed program was:" >&5
! 8857: sed 's/^/| /' conftest.$ac_ext >&5
! 8858:
! 8859: ac_cv_lib_svld_dlopen=no
! 8860: fi
! 8861: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8862: LIBS=$ac_check_lib_save_LIBS
! 8863: fi
! 8864: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 8865: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 8866: if test $ac_cv_lib_svld_dlopen = yes; then
! 8867:
! 8868: cat >>confdefs.h <<\_ACEOF
! 8869: #define HAVE_LIBDL 1
! 8870: _ACEOF
! 8871:
! 8872: LIBADD_DL="-lsvld"
! 8873: else
! 8874: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 8875: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 8876: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 8877: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8878: else
! 8879: ac_check_lib_save_LIBS=$LIBS
! 8880: LIBS="-ldld $LIBS"
! 8881: cat >conftest.$ac_ext <<_ACEOF
! 8882: #line $LINENO "configure"
! 8883: /* confdefs.h. */
! 8884: _ACEOF
! 8885: cat confdefs.h >>conftest.$ac_ext
! 8886: cat >>conftest.$ac_ext <<_ACEOF
! 8887: /* end confdefs.h. */
! 8888:
! 8889: /* Override any gcc2 internal prototype to avoid an error. */
! 8890: #ifdef __cplusplus
! 8891: extern "C"
! 8892: #endif
! 8893: /* We use char because int might match the return type of a gcc2
! 8894: builtin and then its argument prototype would still apply. */
! 8895: char dld_link ();
! 8896: int
! 8897: main ()
! 8898: {
! 8899: dld_link ();
! 8900: ;
! 8901: return 0;
! 8902: }
! 8903: _ACEOF
! 8904: rm -f conftest.$ac_objext conftest$ac_exeext
! 8905: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8906: (eval $ac_link) 2>&5
! 8907: ac_status=$?
! 8908: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8909: (exit $ac_status); } &&
! 8910: { ac_try='test -s conftest$ac_exeext'
! 8911: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8912: (eval $ac_try) 2>&5
! 8913: ac_status=$?
! 8914: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8915: (exit $ac_status); }; }; then
! 8916: ac_cv_lib_dld_dld_link=yes
! 8917: else
! 8918: echo "$as_me: failed program was:" >&5
! 8919: sed 's/^/| /' conftest.$ac_ext >&5
! 8920:
! 8921: ac_cv_lib_dld_dld_link=no
! 8922: fi
! 8923: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8924: LIBS=$ac_check_lib_save_LIBS
! 8925: fi
! 8926: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 8927: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 8928: if test $ac_cv_lib_dld_dld_link = yes; then
! 8929:
! 8930: cat >>confdefs.h <<\_ACEOF
! 8931: #define HAVE_DLD 1
! 8932: _ACEOF
! 8933:
! 8934: LIBADD_DL="$LIBADD_DL -ldld"
! 8935:
! 8936: fi
! 8937:
! 8938:
! 8939: fi
! 8940:
! 8941:
! 8942: fi
! 8943: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 8944:
! 8945: fi
! 8946:
! 8947:
! 8948: fi
! 8949:
! 8950:
! 8951: fi
! 8952:
! 8953:
! 8954: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
! 8955: LIBS_SAVE="$LIBS"
! 8956: LIBS="$LIBS $LIBADD_DL"
! 8957:
! 8958: for ac_func in dlerror
! 8959: do
! 8960: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 8961: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 8962: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 8963: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 8964: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8965: else
! 8966: cat >conftest.$ac_ext <<_ACEOF
! 8967: #line $LINENO "configure"
! 8968: /* confdefs.h. */
! 8969: _ACEOF
! 8970: cat confdefs.h >>conftest.$ac_ext
! 8971: cat >>conftest.$ac_ext <<_ACEOF
! 8972: /* end confdefs.h. */
! 8973: /* System header to define __stub macros and hopefully few prototypes,
! 8974: which can conflict with char $ac_func (); below.
! 8975: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 8976: <limits.h> exists even on freestanding compilers. */
! 8977: #ifdef __STDC__
! 8978: # include <limits.h>
! 8979: #else
! 8980: # include <assert.h>
! 8981: #endif
! 8982: /* Override any gcc2 internal prototype to avoid an error. */
! 8983: #ifdef __cplusplus
! 8984: extern "C"
! 8985: {
! 8986: #endif
! 8987: /* We use char because int might match the return type of a gcc2
! 8988: builtin and then its argument prototype would still apply. */
! 8989: char $ac_func ();
! 8990: /* The GNU C library defines this for functions which it implements
! 8991: to always fail with ENOSYS. Some functions are actually named
! 8992: something starting with __ and the normal name is an alias. */
! 8993: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 8994: choke me
! 8995: #else
! 8996: char (*f) () = $ac_func;
! 8997: #endif
! 8998: #ifdef __cplusplus
! 8999: }
! 9000: #endif
! 9001:
! 9002: int
! 9003: main ()
! 9004: {
! 9005: return f != $ac_func;
! 9006: ;
! 9007: return 0;
! 9008: }
! 9009: _ACEOF
! 9010: rm -f conftest.$ac_objext conftest$ac_exeext
! 9011: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9012: (eval $ac_link) 2>&5
! 9013: ac_status=$?
! 9014: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9015: (exit $ac_status); } &&
! 9016: { ac_try='test -s conftest$ac_exeext'
! 9017: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9018: (eval $ac_try) 2>&5
! 9019: ac_status=$?
! 9020: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9021: (exit $ac_status); }; }; then
! 9022: eval "$as_ac_var=yes"
! 9023: else
! 9024: echo "$as_me: failed program was:" >&5
! 9025: sed 's/^/| /' conftest.$ac_ext >&5
! 9026:
! 9027: eval "$as_ac_var=no"
! 9028: fi
! 9029: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 9030: fi
! 9031: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 9032: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 9033: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 9034: cat >>confdefs.h <<_ACEOF
! 9035: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 9036: _ACEOF
! 9037:
! 9038: fi
! 9039: done
! 9040:
! 9041: LIBS="$LIBS_SAVE"
! 9042: fi
! 9043:
! 9044: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
! 9045: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
! 9046: if test "${ac_cv_sys_symbol_underscore+set}" = set; then
! 9047: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9048: else
! 9049: ac_cv_sys_symbol_underscore=no
! 9050: cat > conftest.$ac_ext <<EOF
! 9051: void nm_test_func(){}
! 9052: int main(){nm_test_func;return 0;}
! 9053: EOF
! 9054: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9055: (eval $ac_compile) 2>&5
! 9056: ac_status=$?
! 9057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9058: (exit $ac_status); }; then
! 9059: # Now try to grab the symbols.
! 9060: ac_nlist=conftest.nm
! 9061: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $global_symbol_pipe \> $ac_nlist\"") >&5
! 9062: (eval $NM conftest.$ac_objext \| $global_symbol_pipe \> $ac_nlist) 2>&5
! 9063: ac_status=$?
! 9064: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9065: (exit $ac_status); } && test -s "$ac_nlist"; then
! 9066: # See whether the symbols have a leading underscore.
! 9067: if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
! 9068: ac_cv_sys_symbol_underscore=yes
! 9069: else
! 9070: if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
! 9071: :
! 9072: else
! 9073: echo "configure: cannot find nm_test_func in $ac_nlist" >&5
! 9074: fi
! 9075: fi
! 9076: else
! 9077: echo "configure: cannot run $global_symbol_pipe" >&5
! 9078: fi
! 9079: else
! 9080: echo "configure: failed program was:" >&5
! 9081: cat conftest.c >&5
! 9082: fi
! 9083: rm -rf conftest*
! 9084:
! 9085: fi
! 9086:
! 9087: echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
! 9088: echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
! 9089:
! 9090: if test x"$ac_cv_sys_symbol_underscore" = xyes; then
! 9091: if test x"$ac_cv_func_dlopen" = xyes ||
! 9092: test x"$ac_cv_lib_dl_dlopen" = xyes ; then
! 9093: echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
! 9094: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
! 9095: if test "${libltdl_cv_need_uscore+set}" = set; then
! 9096: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9097: else
! 9098: libltdl_cv_need_uscore=unknown
! 9099: save_LIBS="$LIBS"
! 9100: LIBS="$LIBS $LIBADD_DL"
! 9101: if test "$cross_compiling" = yes; then :
! 9102: libltdl_cv_need_uscore=cross
! 9103: else
! 9104: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 9105: lt_status=$lt_dlunknown
! 9106: cat > conftest.$ac_ext <<EOF
! 9107: #line 9107 "configure"
! 9108: #include "confdefs.h"
! 9109:
! 9110: #if HAVE_DLFCN_H
! 9111: #include <dlfcn.h>
! 9112: #endif
! 9113:
! 9114: #include <stdio.h>
! 9115:
! 9116: #ifdef RTLD_GLOBAL
! 9117: # define LT_DLGLOBAL RTLD_GLOBAL
! 9118: #else
! 9119: # ifdef DL_GLOBAL
! 9120: # define LT_DLGLOBAL DL_GLOBAL
! 9121: # else
! 9122: # define LT_DLGLOBAL 0
! 9123: # endif
! 9124: #endif
! 9125:
! 9126: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 9127: find out it does not work in some platform. */
! 9128: #ifndef LT_DLLAZY_OR_NOW
! 9129: # ifdef RTLD_LAZY
! 9130: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 9131: # else
! 9132: # ifdef DL_LAZY
! 9133: # define LT_DLLAZY_OR_NOW DL_LAZY
! 9134: # else
! 9135: # ifdef RTLD_NOW
! 9136: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 9137: # else
! 9138: # ifdef DL_NOW
! 9139: # define LT_DLLAZY_OR_NOW DL_NOW
! 9140: # else
! 9141: # define LT_DLLAZY_OR_NOW 0
! 9142: # endif
! 9143: # endif
! 9144: # endif
! 9145: # endif
! 9146: #endif
! 9147:
! 9148: #ifdef __cplusplus
! 9149: extern "C" void exit (int);
! 9150: #endif
! 9151:
! 9152: void fnord() { int i=42;}
! 9153: int main ()
! 9154: {
! 9155: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 9156: int status = $lt_dlunknown;
! 9157:
! 9158: if (self)
! 9159: {
! 9160: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 9161: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 9162: /* dlclose (self); */
! 9163: }
! 9164:
! 9165: exit (status);
! 9166: }
! 9167: EOF
! 9168: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9169: (eval $ac_link) 2>&5
! 9170: ac_status=$?
! 9171: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9172: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 9173: (./conftest; exit; ) 2>/dev/null
! 9174: lt_status=$?
! 9175: case x$lt_status in
! 9176: x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
! 9177: x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
! 9178: x$lt_unknown|x*) ;;
! 9179: esac
! 9180: else :
! 9181: # compilation failed
! 9182:
! 9183: fi
! 9184: fi
! 9185: rm -fr conftest*
! 9186:
! 9187: LIBS="$save_LIBS"
! 9188:
! 9189: fi
! 9190: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
! 9191: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
! 9192: fi
! 9193: fi
! 9194:
! 9195: if test x"$libltdl_cv_need_uscore" = xyes; then
! 9196:
! 9197: cat >>confdefs.h <<\_ACEOF
! 9198: #define NEED_USCORE 1
! 9199: _ACEOF
! 9200:
! 9201: fi
! 9202:
! 9203:
! 9204: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
! 9205: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
! 9206: if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
! 9207: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9208: else
! 9209: # PORTME does your system automatically load deplibs for dlopen()?
! 9210: libltdl_cv_sys_dlopen_deplibs=unknown
! 9211: case "$host_os" in
! 9212: hpux10*|hpux11*)
! 9213: libltdl_cv_sys_dlopen_deplibs=yes
! 9214: ;;
! 9215: linux*)
! 9216: libltdl_cv_sys_dlopen_deplibs=yes
! 9217: ;;
! 9218: netbsd*)
! 9219: libltdl_cv_sys_dlopen_deplibs=yes
! 9220: ;;
! 9221: openbsd*)
! 9222: libltdl_cv_sys_dlopen_deplibs=yes
! 9223: ;;
! 9224: solaris*)
! 9225: libltdl_cv_sys_dlopen_deplibs=yes
! 9226: ;;
! 9227: esac
! 9228:
! 9229: fi
! 9230: echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
! 9231: echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
! 9232: if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
! 9233:
! 9234: cat >>confdefs.h <<\_ACEOF
! 9235: #define LTDL_DLOPEN_DEPLIBS 1
! 9236: _ACEOF
! 9237:
! 9238: fi
! 9239:
! 9240:
! 9241: for ac_header in argz.h
! 9242: do
! 9243: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 9244: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9245: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9246: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9247: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9248: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9249: fi
! 9250: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9251: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9252: else
! 9253: # Is the header compilable?
! 9254: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 9255: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 9256: cat >conftest.$ac_ext <<_ACEOF
! 9257: #line $LINENO "configure"
! 9258: /* confdefs.h. */
! 9259: _ACEOF
! 9260: cat confdefs.h >>conftest.$ac_ext
! 9261: cat >>conftest.$ac_ext <<_ACEOF
! 9262: /* end confdefs.h. */
! 9263: $ac_includes_default
! 9264: #include <$ac_header>
! 9265: _ACEOF
! 9266: rm -f conftest.$ac_objext
! 9267: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9268: (eval $ac_compile) 2>&5
! 9269: ac_status=$?
! 9270: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9271: (exit $ac_status); } &&
! 9272: { ac_try='test -s conftest.$ac_objext'
! 9273: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9274: (eval $ac_try) 2>&5
! 9275: ac_status=$?
! 9276: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9277: (exit $ac_status); }; }; then
! 9278: ac_header_compiler=yes
! 9279: else
! 9280: echo "$as_me: failed program was:" >&5
! 9281: sed 's/^/| /' conftest.$ac_ext >&5
! 9282:
! 9283: ac_header_compiler=no
! 9284: fi
! 9285: rm -f conftest.$ac_objext conftest.$ac_ext
! 9286: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 9287: echo "${ECHO_T}$ac_header_compiler" >&6
! 9288:
! 9289: # Is the header present?
! 9290: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 9291: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 9292: cat >conftest.$ac_ext <<_ACEOF
! 9293: #line $LINENO "configure"
! 9294: /* confdefs.h. */
! 9295: _ACEOF
! 9296: cat confdefs.h >>conftest.$ac_ext
! 9297: cat >>conftest.$ac_ext <<_ACEOF
! 9298: /* end confdefs.h. */
! 9299: #include <$ac_header>
! 9300: _ACEOF
! 9301: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 9302: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 9303: ac_status=$?
! 9304: grep -v '^ *+' conftest.er1 >conftest.err
! 9305: rm -f conftest.er1
! 9306: cat conftest.err >&5
! 9307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9308: (exit $ac_status); } >/dev/null; then
! 9309: if test -s conftest.err; then
! 9310: ac_cpp_err=$ac_c_preproc_warn_flag
! 9311: else
! 9312: ac_cpp_err=
! 9313: fi
! 9314: else
! 9315: ac_cpp_err=yes
! 9316: fi
! 9317: if test -z "$ac_cpp_err"; then
! 9318: ac_header_preproc=yes
! 9319: else
! 9320: echo "$as_me: failed program was:" >&5
! 9321: sed 's/^/| /' conftest.$ac_ext >&5
! 9322:
! 9323: ac_header_preproc=no
! 9324: fi
! 9325: rm -f conftest.err conftest.$ac_ext
! 9326: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 9327: echo "${ECHO_T}$ac_header_preproc" >&6
! 9328:
! 9329: # So? What about this header?
! 9330: case $ac_header_compiler:$ac_header_preproc in
! 9331: yes:no )
! 9332: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 9333: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 9334: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9335: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9336: (
! 9337: cat <<\_ASBOX
! 9338: ## ------------------------------------ ##
! 9339: ## Report this to bug-autoconf@gnu.org. ##
! 9340: ## ------------------------------------ ##
! 9341: _ASBOX
! 9342: ) |
! 9343: sed "s/^/$as_me: WARNING: /" >&2
! 9344: ;;
! 9345: no:yes )
! 9346: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 9347: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 9348: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 9349: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 9350: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9351: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9352: (
! 9353: cat <<\_ASBOX
! 9354: ## ------------------------------------ ##
! 9355: ## Report this to bug-autoconf@gnu.org. ##
! 9356: ## ------------------------------------ ##
! 9357: _ASBOX
! 9358: ) |
! 9359: sed "s/^/$as_me: WARNING: /" >&2
! 9360: ;;
! 9361: esac
! 9362: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9363: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9364: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9365: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9366: else
! 9367: eval "$as_ac_Header=$ac_header_preproc"
! 9368: fi
! 9369: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9370: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9371:
! 9372: fi
! 9373: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 9374: cat >>confdefs.h <<_ACEOF
! 9375: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 9376: _ACEOF
! 9377:
! 9378: fi
! 9379:
! 9380: done
! 9381:
! 9382:
! 9383: echo "$as_me:$LINENO: checking for error_t" >&5
! 9384: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
! 9385: if test "${ac_cv_type_error_t+set}" = set; then
! 9386: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9387: else
! 9388: cat >conftest.$ac_ext <<_ACEOF
! 9389: #line $LINENO "configure"
! 9390: /* confdefs.h. */
! 9391: _ACEOF
! 9392: cat confdefs.h >>conftest.$ac_ext
! 9393: cat >>conftest.$ac_ext <<_ACEOF
! 9394: /* end confdefs.h. */
! 9395: #if HAVE_ARGZ_H
! 9396: # include <argz.h>
! 9397: #endif
! 9398:
! 9399: int
! 9400: main ()
! 9401: {
! 9402: if ((error_t *) 0)
! 9403: return 0;
! 9404: if (sizeof (error_t))
! 9405: return 0;
! 9406: ;
! 9407: return 0;
! 9408: }
! 9409: _ACEOF
! 9410: rm -f conftest.$ac_objext
! 9411: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9412: (eval $ac_compile) 2>&5
! 9413: ac_status=$?
! 9414: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9415: (exit $ac_status); } &&
! 9416: { ac_try='test -s conftest.$ac_objext'
! 9417: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9418: (eval $ac_try) 2>&5
! 9419: ac_status=$?
! 9420: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9421: (exit $ac_status); }; }; then
! 9422: ac_cv_type_error_t=yes
! 9423: else
! 9424: echo "$as_me: failed program was:" >&5
! 9425: sed 's/^/| /' conftest.$ac_ext >&5
! 9426:
! 9427: ac_cv_type_error_t=no
! 9428: fi
! 9429: rm -f conftest.$ac_objext conftest.$ac_ext
! 9430: fi
! 9431: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
! 9432: echo "${ECHO_T}$ac_cv_type_error_t" >&6
! 9433: if test $ac_cv_type_error_t = yes; then
! 9434:
! 9435: cat >>confdefs.h <<_ACEOF
! 9436: #define HAVE_ERROR_T 1
! 9437: _ACEOF
! 9438:
! 9439:
! 9440: else
! 9441:
! 9442: cat >>confdefs.h <<\_ACEOF
! 9443: #define error_t int
! 9444: _ACEOF
! 9445:
! 9446: fi
! 9447:
! 9448:
! 9449:
! 9450:
! 9451:
! 9452:
! 9453:
! 9454: for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
! 9455: do
! 9456: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 9457: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 9458: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 9459: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 9460: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9461: else
! 9462: cat >conftest.$ac_ext <<_ACEOF
! 9463: #line $LINENO "configure"
! 9464: /* confdefs.h. */
! 9465: _ACEOF
! 9466: cat confdefs.h >>conftest.$ac_ext
! 9467: cat >>conftest.$ac_ext <<_ACEOF
! 9468: /* end confdefs.h. */
! 9469: /* System header to define __stub macros and hopefully few prototypes,
! 9470: which can conflict with char $ac_func (); below.
! 9471: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 9472: <limits.h> exists even on freestanding compilers. */
! 9473: #ifdef __STDC__
! 9474: # include <limits.h>
! 9475: #else
! 9476: # include <assert.h>
! 9477: #endif
! 9478: /* Override any gcc2 internal prototype to avoid an error. */
! 9479: #ifdef __cplusplus
! 9480: extern "C"
! 9481: {
! 9482: #endif
! 9483: /* We use char because int might match the return type of a gcc2
! 9484: builtin and then its argument prototype would still apply. */
! 9485: char $ac_func ();
! 9486: /* The GNU C library defines this for functions which it implements
! 9487: to always fail with ENOSYS. Some functions are actually named
! 9488: something starting with __ and the normal name is an alias. */
! 9489: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 9490: choke me
! 9491: #else
! 9492: char (*f) () = $ac_func;
! 9493: #endif
! 9494: #ifdef __cplusplus
! 9495: }
! 9496: #endif
! 9497:
! 9498: int
! 9499: main ()
! 9500: {
! 9501: return f != $ac_func;
! 9502: ;
! 9503: return 0;
! 9504: }
! 9505: _ACEOF
! 9506: rm -f conftest.$ac_objext conftest$ac_exeext
! 9507: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 9508: (eval $ac_link) 2>&5
! 9509: ac_status=$?
! 9510: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9511: (exit $ac_status); } &&
! 9512: { ac_try='test -s conftest$ac_exeext'
! 9513: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9514: (eval $ac_try) 2>&5
! 9515: ac_status=$?
! 9516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9517: (exit $ac_status); }; }; then
! 9518: eval "$as_ac_var=yes"
! 9519: else
! 9520: echo "$as_me: failed program was:" >&5
! 9521: sed 's/^/| /' conftest.$ac_ext >&5
! 9522:
! 9523: eval "$as_ac_var=no"
! 9524: fi
! 9525: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 9526: fi
! 9527: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 9528: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 9529: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 9530: cat >>confdefs.h <<_ACEOF
! 9531: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 9532: _ACEOF
! 9533:
! 9534: fi
! 9535: done
! 9536:
! 9537:
! 9538:
! 9539:
! 9540:
! 9541:
! 9542:
! 9543:
! 9544:
! 9545:
! 9546:
! 9547:
! 9548:
! 9549:
! 9550:
! 9551:
! 9552:
! 9553:
! 9554:
! 9555:
! 9556:
! 9557:
! 9558:
! 9559:
! 9560:
! 9561:
! 9562:
! 9563:
! 9564: for ac_header in errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h
! 9565: do
! 9566: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 9567: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9568: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9569: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9570: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9571: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9572: fi
! 9573: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9574: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9575: else
! 9576: # Is the header compilable?
! 9577: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 9578: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 9579: cat >conftest.$ac_ext <<_ACEOF
! 9580: #line $LINENO "configure"
! 9581: /* confdefs.h. */
! 9582: _ACEOF
! 9583: cat confdefs.h >>conftest.$ac_ext
! 9584: cat >>conftest.$ac_ext <<_ACEOF
! 9585: /* end confdefs.h. */
! 9586: $ac_includes_default
! 9587: #include <$ac_header>
! 9588: _ACEOF
! 9589: rm -f conftest.$ac_objext
! 9590: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9591: (eval $ac_compile) 2>&5
! 9592: ac_status=$?
! 9593: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9594: (exit $ac_status); } &&
! 9595: { ac_try='test -s conftest.$ac_objext'
! 9596: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9597: (eval $ac_try) 2>&5
! 9598: ac_status=$?
! 9599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9600: (exit $ac_status); }; }; then
! 9601: ac_header_compiler=yes
! 9602: else
! 9603: echo "$as_me: failed program was:" >&5
! 9604: sed 's/^/| /' conftest.$ac_ext >&5
! 9605:
! 9606: ac_header_compiler=no
! 9607: fi
! 9608: rm -f conftest.$ac_objext conftest.$ac_ext
! 9609: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 9610: echo "${ECHO_T}$ac_header_compiler" >&6
! 9611:
! 9612: # Is the header present?
! 9613: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 9614: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 9615: cat >conftest.$ac_ext <<_ACEOF
! 9616: #line $LINENO "configure"
! 9617: /* confdefs.h. */
! 9618: _ACEOF
! 9619: cat confdefs.h >>conftest.$ac_ext
! 9620: cat >>conftest.$ac_ext <<_ACEOF
! 9621: /* end confdefs.h. */
! 9622: #include <$ac_header>
! 9623: _ACEOF
! 9624: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 9625: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 9626: ac_status=$?
! 9627: grep -v '^ *+' conftest.er1 >conftest.err
! 9628: rm -f conftest.er1
! 9629: cat conftest.err >&5
! 9630: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9631: (exit $ac_status); } >/dev/null; then
! 9632: if test -s conftest.err; then
! 9633: ac_cpp_err=$ac_c_preproc_warn_flag
! 9634: else
! 9635: ac_cpp_err=
! 9636: fi
! 9637: else
! 9638: ac_cpp_err=yes
! 9639: fi
! 9640: if test -z "$ac_cpp_err"; then
! 9641: ac_header_preproc=yes
! 9642: else
! 9643: echo "$as_me: failed program was:" >&5
! 9644: sed 's/^/| /' conftest.$ac_ext >&5
! 9645:
! 9646: ac_header_preproc=no
! 9647: fi
! 9648: rm -f conftest.err conftest.$ac_ext
! 9649: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 9650: echo "${ECHO_T}$ac_header_preproc" >&6
! 9651:
! 9652: # So? What about this header?
! 9653: case $ac_header_compiler:$ac_header_preproc in
! 9654: yes:no )
! 9655: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 9656: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 9657: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9658: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9659: (
! 9660: cat <<\_ASBOX
! 9661: ## ------------------------------------ ##
! 9662: ## Report this to bug-autoconf@gnu.org. ##
! 9663: ## ------------------------------------ ##
! 9664: _ASBOX
! 9665: ) |
! 9666: sed "s/^/$as_me: WARNING: /" >&2
! 9667: ;;
! 9668: no:yes )
! 9669: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 9670: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 9671: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 9672: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 9673: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9674: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9675: (
! 9676: cat <<\_ASBOX
! 9677: ## ------------------------------------ ##
! 9678: ## Report this to bug-autoconf@gnu.org. ##
! 9679: ## ------------------------------------ ##
! 9680: _ASBOX
! 9681: ) |
! 9682: sed "s/^/$as_me: WARNING: /" >&2
! 9683: ;;
! 9684: esac
! 9685: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9686: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9687: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9688: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9689: else
! 9690: eval "$as_ac_Header=$ac_header_preproc"
! 9691: fi
! 9692: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9693: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9694:
! 9695: fi
! 9696: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 9697: cat >>confdefs.h <<_ACEOF
! 9698: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 9699: _ACEOF
! 9700:
! 9701: fi
! 9702:
! 9703: done
! 9704:
! 9705:
! 9706:
! 9707:
! 9708: for ac_header in dl.h sys/dl.h dld.h
! 9709: do
! 9710: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 9711: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9712: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9713: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9714: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9715: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9716: fi
! 9717: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9718: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9719: else
! 9720: # Is the header compilable?
! 9721: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 9722: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 9723: cat >conftest.$ac_ext <<_ACEOF
! 9724: #line $LINENO "configure"
! 9725: /* confdefs.h. */
! 9726: _ACEOF
! 9727: cat confdefs.h >>conftest.$ac_ext
! 9728: cat >>conftest.$ac_ext <<_ACEOF
! 9729: /* end confdefs.h. */
! 9730: $ac_includes_default
! 9731: #include <$ac_header>
! 9732: _ACEOF
! 9733: rm -f conftest.$ac_objext
! 9734: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9735: (eval $ac_compile) 2>&5
! 9736: ac_status=$?
! 9737: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9738: (exit $ac_status); } &&
! 9739: { ac_try='test -s conftest.$ac_objext'
! 9740: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9741: (eval $ac_try) 2>&5
! 9742: ac_status=$?
! 9743: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9744: (exit $ac_status); }; }; then
! 9745: ac_header_compiler=yes
! 9746: else
! 9747: echo "$as_me: failed program was:" >&5
! 9748: sed 's/^/| /' conftest.$ac_ext >&5
! 9749:
! 9750: ac_header_compiler=no
! 9751: fi
! 9752: rm -f conftest.$ac_objext conftest.$ac_ext
! 9753: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 9754: echo "${ECHO_T}$ac_header_compiler" >&6
! 9755:
! 9756: # Is the header present?
! 9757: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 9758: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 9759: cat >conftest.$ac_ext <<_ACEOF
! 9760: #line $LINENO "configure"
! 9761: /* confdefs.h. */
! 9762: _ACEOF
! 9763: cat confdefs.h >>conftest.$ac_ext
! 9764: cat >>conftest.$ac_ext <<_ACEOF
! 9765: /* end confdefs.h. */
! 9766: #include <$ac_header>
! 9767: _ACEOF
! 9768: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 9769: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 9770: ac_status=$?
! 9771: grep -v '^ *+' conftest.er1 >conftest.err
! 9772: rm -f conftest.er1
! 9773: cat conftest.err >&5
! 9774: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9775: (exit $ac_status); } >/dev/null; then
! 9776: if test -s conftest.err; then
! 9777: ac_cpp_err=$ac_c_preproc_warn_flag
! 9778: else
! 9779: ac_cpp_err=
! 9780: fi
! 9781: else
! 9782: ac_cpp_err=yes
! 9783: fi
! 9784: if test -z "$ac_cpp_err"; then
! 9785: ac_header_preproc=yes
! 9786: else
! 9787: echo "$as_me: failed program was:" >&5
! 9788: sed 's/^/| /' conftest.$ac_ext >&5
! 9789:
! 9790: ac_header_preproc=no
! 9791: fi
! 9792: rm -f conftest.err conftest.$ac_ext
! 9793: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 9794: echo "${ECHO_T}$ac_header_preproc" >&6
! 9795:
! 9796: # So? What about this header?
! 9797: case $ac_header_compiler:$ac_header_preproc in
! 9798: yes:no )
! 9799: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 9800: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 9801: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9802: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9803: (
! 9804: cat <<\_ASBOX
! 9805: ## ------------------------------------ ##
! 9806: ## Report this to bug-autoconf@gnu.org. ##
! 9807: ## ------------------------------------ ##
! 9808: _ASBOX
! 9809: ) |
! 9810: sed "s/^/$as_me: WARNING: /" >&2
! 9811: ;;
! 9812: no:yes )
! 9813: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 9814: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 9815: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 9816: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 9817: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9818: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9819: (
! 9820: cat <<\_ASBOX
! 9821: ## ------------------------------------ ##
! 9822: ## Report this to bug-autoconf@gnu.org. ##
! 9823: ## ------------------------------------ ##
! 9824: _ASBOX
! 9825: ) |
! 9826: sed "s/^/$as_me: WARNING: /" >&2
! 9827: ;;
! 9828: esac
! 9829: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9830: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9831: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9832: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9833: else
! 9834: eval "$as_ac_Header=$ac_header_preproc"
! 9835: fi
! 9836: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9837: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9838:
! 9839: fi
! 9840: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 9841: cat >>confdefs.h <<_ACEOF
! 9842: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 9843: _ACEOF
! 9844:
! 9845: fi
! 9846:
! 9847: done
! 9848:
! 9849:
! 9850:
! 9851: for ac_header in string.h strings.h
! 9852: do
! 9853: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 9854: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9855: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9856: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9857: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9858: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9859: fi
! 9860: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9861: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9862: else
! 9863: # Is the header compilable?
! 9864: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 9865: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 9866: cat >conftest.$ac_ext <<_ACEOF
! 9867: #line $LINENO "configure"
! 9868: /* confdefs.h. */
! 9869: _ACEOF
! 9870: cat confdefs.h >>conftest.$ac_ext
! 9871: cat >>conftest.$ac_ext <<_ACEOF
! 9872: /* end confdefs.h. */
! 9873: $ac_includes_default
! 9874: #include <$ac_header>
! 9875: _ACEOF
! 9876: rm -f conftest.$ac_objext
! 9877: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 9878: (eval $ac_compile) 2>&5
! 9879: ac_status=$?
! 9880: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9881: (exit $ac_status); } &&
! 9882: { ac_try='test -s conftest.$ac_objext'
! 9883: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9884: (eval $ac_try) 2>&5
! 9885: ac_status=$?
! 9886: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9887: (exit $ac_status); }; }; then
! 9888: ac_header_compiler=yes
! 9889: else
! 9890: echo "$as_me: failed program was:" >&5
! 9891: sed 's/^/| /' conftest.$ac_ext >&5
! 9892:
! 9893: ac_header_compiler=no
! 9894: fi
! 9895: rm -f conftest.$ac_objext conftest.$ac_ext
! 9896: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 9897: echo "${ECHO_T}$ac_header_compiler" >&6
! 9898:
! 9899: # Is the header present?
! 9900: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 9901: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 9902: cat >conftest.$ac_ext <<_ACEOF
! 9903: #line $LINENO "configure"
! 9904: /* confdefs.h. */
! 9905: _ACEOF
! 9906: cat confdefs.h >>conftest.$ac_ext
! 9907: cat >>conftest.$ac_ext <<_ACEOF
! 9908: /* end confdefs.h. */
! 9909: #include <$ac_header>
! 9910: _ACEOF
! 9911: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 9912: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 9913: ac_status=$?
! 9914: grep -v '^ *+' conftest.er1 >conftest.err
! 9915: rm -f conftest.er1
! 9916: cat conftest.err >&5
! 9917: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9918: (exit $ac_status); } >/dev/null; then
! 9919: if test -s conftest.err; then
! 9920: ac_cpp_err=$ac_c_preproc_warn_flag
! 9921: else
! 9922: ac_cpp_err=
! 9923: fi
! 9924: else
! 9925: ac_cpp_err=yes
! 9926: fi
! 9927: if test -z "$ac_cpp_err"; then
! 9928: ac_header_preproc=yes
! 9929: else
! 9930: echo "$as_me: failed program was:" >&5
! 9931: sed 's/^/| /' conftest.$ac_ext >&5
! 9932:
! 9933: ac_header_preproc=no
! 9934: fi
! 9935: rm -f conftest.err conftest.$ac_ext
! 9936: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 9937: echo "${ECHO_T}$ac_header_preproc" >&6
! 9938:
! 9939: # So? What about this header?
! 9940: case $ac_header_compiler:$ac_header_preproc in
! 9941: yes:no )
! 9942: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 9943: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 9944: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9945: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9946: (
! 9947: cat <<\_ASBOX
! 9948: ## ------------------------------------ ##
! 9949: ## Report this to bug-autoconf@gnu.org. ##
! 9950: ## ------------------------------------ ##
! 9951: _ASBOX
! 9952: ) |
! 9953: sed "s/^/$as_me: WARNING: /" >&2
! 9954: ;;
! 9955: no:yes )
! 9956: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 9957: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 9958: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 9959: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 9960: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 9961: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 9962: (
! 9963: cat <<\_ASBOX
! 9964: ## ------------------------------------ ##
! 9965: ## Report this to bug-autoconf@gnu.org. ##
! 9966: ## ------------------------------------ ##
! 9967: _ASBOX
! 9968: ) |
! 9969: sed "s/^/$as_me: WARNING: /" >&2
! 9970: ;;
! 9971: esac
! 9972: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 9973: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 9974: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 9975: echo $ECHO_N "(cached) $ECHO_C" >&6
! 9976: else
! 9977: eval "$as_ac_Header=$ac_header_preproc"
! 9978: fi
! 9979: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 9980: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 9981:
! 9982: fi
! 9983: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 9984: cat >>confdefs.h <<_ACEOF
! 9985: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 9986: _ACEOF
! 9987: break
! 9988: fi
! 9989:
! 9990: done
! 9991:
! 9992:
! 9993:
! 9994:
! 9995: for ac_func in strchr index
! 9996: do
! 9997: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 9998: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 9999: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 10000: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 10001: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10002: else
! 10003: cat >conftest.$ac_ext <<_ACEOF
! 10004: #line $LINENO "configure"
! 10005: /* confdefs.h. */
! 10006: _ACEOF
! 10007: cat confdefs.h >>conftest.$ac_ext
! 10008: cat >>conftest.$ac_ext <<_ACEOF
! 10009: /* end confdefs.h. */
! 10010: /* System header to define __stub macros and hopefully few prototypes,
! 10011: which can conflict with char $ac_func (); below.
! 10012: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10013: <limits.h> exists even on freestanding compilers. */
! 10014: #ifdef __STDC__
! 10015: # include <limits.h>
! 10016: #else
! 10017: # include <assert.h>
! 10018: #endif
! 10019: /* Override any gcc2 internal prototype to avoid an error. */
! 10020: #ifdef __cplusplus
! 10021: extern "C"
! 10022: {
! 10023: #endif
! 10024: /* We use char because int might match the return type of a gcc2
! 10025: builtin and then its argument prototype would still apply. */
! 10026: char $ac_func ();
! 10027: /* The GNU C library defines this for functions which it implements
! 10028: to always fail with ENOSYS. Some functions are actually named
! 10029: something starting with __ and the normal name is an alias. */
! 10030: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 10031: choke me
! 10032: #else
! 10033: char (*f) () = $ac_func;
! 10034: #endif
! 10035: #ifdef __cplusplus
! 10036: }
! 10037: #endif
! 10038:
! 10039: int
! 10040: main ()
! 10041: {
! 10042: return f != $ac_func;
! 10043: ;
! 10044: return 0;
! 10045: }
! 10046: _ACEOF
! 10047: rm -f conftest.$ac_objext conftest$ac_exeext
! 10048: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10049: (eval $ac_link) 2>&5
! 10050: ac_status=$?
! 10051: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10052: (exit $ac_status); } &&
! 10053: { ac_try='test -s conftest$ac_exeext'
! 10054: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10055: (eval $ac_try) 2>&5
! 10056: ac_status=$?
! 10057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10058: (exit $ac_status); }; }; then
! 10059: eval "$as_ac_var=yes"
! 10060: else
! 10061: echo "$as_me: failed program was:" >&5
! 10062: sed 's/^/| /' conftest.$ac_ext >&5
! 10063:
! 10064: eval "$as_ac_var=no"
! 10065: fi
! 10066: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 10067: fi
! 10068: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 10069: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 10070: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 10071: cat >>confdefs.h <<_ACEOF
! 10072: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 10073: _ACEOF
! 10074: break
! 10075: fi
! 10076: done
! 10077:
! 10078:
! 10079:
! 10080: for ac_func in strrchr rindex
! 10081: do
! 10082: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 10083: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 10084: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 10085: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 10086: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10087: else
! 10088: cat >conftest.$ac_ext <<_ACEOF
! 10089: #line $LINENO "configure"
! 10090: /* confdefs.h. */
! 10091: _ACEOF
! 10092: cat confdefs.h >>conftest.$ac_ext
! 10093: cat >>conftest.$ac_ext <<_ACEOF
! 10094: /* end confdefs.h. */
! 10095: /* System header to define __stub macros and hopefully few prototypes,
! 10096: which can conflict with char $ac_func (); below.
! 10097: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10098: <limits.h> exists even on freestanding compilers. */
! 10099: #ifdef __STDC__
! 10100: # include <limits.h>
! 10101: #else
! 10102: # include <assert.h>
! 10103: #endif
! 10104: /* Override any gcc2 internal prototype to avoid an error. */
! 10105: #ifdef __cplusplus
! 10106: extern "C"
! 10107: {
! 10108: #endif
! 10109: /* We use char because int might match the return type of a gcc2
! 10110: builtin and then its argument prototype would still apply. */
! 10111: char $ac_func ();
! 10112: /* The GNU C library defines this for functions which it implements
! 10113: to always fail with ENOSYS. Some functions are actually named
! 10114: something starting with __ and the normal name is an alias. */
! 10115: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 10116: choke me
! 10117: #else
! 10118: char (*f) () = $ac_func;
! 10119: #endif
! 10120: #ifdef __cplusplus
! 10121: }
! 10122: #endif
! 10123:
! 10124: int
! 10125: main ()
! 10126: {
! 10127: return f != $ac_func;
! 10128: ;
! 10129: return 0;
! 10130: }
! 10131: _ACEOF
! 10132: rm -f conftest.$ac_objext conftest$ac_exeext
! 10133: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10134: (eval $ac_link) 2>&5
! 10135: ac_status=$?
! 10136: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10137: (exit $ac_status); } &&
! 10138: { ac_try='test -s conftest$ac_exeext'
! 10139: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10140: (eval $ac_try) 2>&5
! 10141: ac_status=$?
! 10142: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10143: (exit $ac_status); }; }; then
! 10144: eval "$as_ac_var=yes"
! 10145: else
! 10146: echo "$as_me: failed program was:" >&5
! 10147: sed 's/^/| /' conftest.$ac_ext >&5
! 10148:
! 10149: eval "$as_ac_var=no"
! 10150: fi
! 10151: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 10152: fi
! 10153: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 10154: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 10155: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 10156: cat >>confdefs.h <<_ACEOF
! 10157: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 10158: _ACEOF
! 10159: break
! 10160: fi
! 10161: done
! 10162:
! 10163:
! 10164:
! 10165: for ac_func in memcpy bcopy
! 10166: do
! 10167: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 10168: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 10169: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 10170: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 10171: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10172: else
! 10173: cat >conftest.$ac_ext <<_ACEOF
! 10174: #line $LINENO "configure"
! 10175: /* confdefs.h. */
! 10176: _ACEOF
! 10177: cat confdefs.h >>conftest.$ac_ext
! 10178: cat >>conftest.$ac_ext <<_ACEOF
! 10179: /* end confdefs.h. */
! 10180: /* System header to define __stub macros and hopefully few prototypes,
! 10181: which can conflict with char $ac_func (); below.
! 10182: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10183: <limits.h> exists even on freestanding compilers. */
! 10184: #ifdef __STDC__
! 10185: # include <limits.h>
! 10186: #else
! 10187: # include <assert.h>
! 10188: #endif
! 10189: /* Override any gcc2 internal prototype to avoid an error. */
! 10190: #ifdef __cplusplus
! 10191: extern "C"
! 10192: {
! 10193: #endif
! 10194: /* We use char because int might match the return type of a gcc2
! 10195: builtin and then its argument prototype would still apply. */
! 10196: char $ac_func ();
! 10197: /* The GNU C library defines this for functions which it implements
! 10198: to always fail with ENOSYS. Some functions are actually named
! 10199: something starting with __ and the normal name is an alias. */
! 10200: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 10201: choke me
! 10202: #else
! 10203: char (*f) () = $ac_func;
! 10204: #endif
! 10205: #ifdef __cplusplus
! 10206: }
! 10207: #endif
! 10208:
! 10209: int
! 10210: main ()
! 10211: {
! 10212: return f != $ac_func;
! 10213: ;
! 10214: return 0;
! 10215: }
! 10216: _ACEOF
! 10217: rm -f conftest.$ac_objext conftest$ac_exeext
! 10218: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10219: (eval $ac_link) 2>&5
! 10220: ac_status=$?
! 10221: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10222: (exit $ac_status); } &&
! 10223: { ac_try='test -s conftest$ac_exeext'
! 10224: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10225: (eval $ac_try) 2>&5
! 10226: ac_status=$?
! 10227: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10228: (exit $ac_status); }; }; then
! 10229: eval "$as_ac_var=yes"
! 10230: else
! 10231: echo "$as_me: failed program was:" >&5
! 10232: sed 's/^/| /' conftest.$ac_ext >&5
! 10233:
! 10234: eval "$as_ac_var=no"
! 10235: fi
! 10236: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 10237: fi
! 10238: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 10239: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 10240: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 10241: cat >>confdefs.h <<_ACEOF
! 10242: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 10243: _ACEOF
! 10244: break
! 10245: fi
! 10246: done
! 10247:
! 10248:
! 10249:
! 10250: for ac_func in memmove strcmp
! 10251: do
! 10252: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 10253: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 10254: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 10255: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 10256: echo $ECHO_N "(cached) $ECHO_C" >&6
! 10257: else
! 10258: cat >conftest.$ac_ext <<_ACEOF
! 10259: #line $LINENO "configure"
! 10260: /* confdefs.h. */
! 10261: _ACEOF
! 10262: cat confdefs.h >>conftest.$ac_ext
! 10263: cat >>conftest.$ac_ext <<_ACEOF
! 10264: /* end confdefs.h. */
! 10265: /* System header to define __stub macros and hopefully few prototypes,
! 10266: which can conflict with char $ac_func (); below.
! 10267: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 10268: <limits.h> exists even on freestanding compilers. */
! 10269: #ifdef __STDC__
! 10270: # include <limits.h>
! 10271: #else
! 10272: # include <assert.h>
! 10273: #endif
! 10274: /* Override any gcc2 internal prototype to avoid an error. */
! 10275: #ifdef __cplusplus
! 10276: extern "C"
! 10277: {
! 10278: #endif
! 10279: /* We use char because int might match the return type of a gcc2
! 10280: builtin and then its argument prototype would still apply. */
! 10281: char $ac_func ();
! 10282: /* The GNU C library defines this for functions which it implements
! 10283: to always fail with ENOSYS. Some functions are actually named
! 10284: something starting with __ and the normal name is an alias. */
! 10285: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 10286: choke me
! 10287: #else
! 10288: char (*f) () = $ac_func;
! 10289: #endif
! 10290: #ifdef __cplusplus
! 10291: }
! 10292: #endif
! 10293:
! 10294: int
! 10295: main ()
! 10296: {
! 10297: return f != $ac_func;
! 10298: ;
! 10299: return 0;
! 10300: }
! 10301: _ACEOF
! 10302: rm -f conftest.$ac_objext conftest$ac_exeext
! 10303: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 10304: (eval $ac_link) 2>&5
! 10305: ac_status=$?
! 10306: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10307: (exit $ac_status); } &&
! 10308: { ac_try='test -s conftest$ac_exeext'
! 10309: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 10310: (eval $ac_try) 2>&5
! 10311: ac_status=$?
! 10312: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10313: (exit $ac_status); }; }; then
! 10314: eval "$as_ac_var=yes"
! 10315: else
! 10316: echo "$as_me: failed program was:" >&5
! 10317: sed 's/^/| /' conftest.$ac_ext >&5
! 10318:
! 10319: eval "$as_ac_var=no"
! 10320: fi
! 10321: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 10322: fi
! 10323: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 10324: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 10325: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 10326: cat >>confdefs.h <<_ACEOF
! 10327: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 10328: _ACEOF
! 10329:
! 10330: fi
! 10331: done
! 10332:
! 10333:
! 10334:
! 10335:
! 10336: ac_config_files="$ac_config_files Makefile"
! 10337: cat >confcache <<\_ACEOF
! 10338: # This file is a shell script that caches the results of configure
! 10339: # tests run on this system so they can be shared between configure
! 10340: # scripts and configure runs, see configure's option --config-cache.
! 10341: # It is not useful on other systems. If it contains results you don't
! 10342: # want to keep, you may remove or edit it.
! 10343: #
! 10344: # config.status only pays attention to the cache file if you give it
! 10345: # the --recheck option to rerun configure.
! 10346: #
! 10347: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 10348: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 10349: # following values.
! 10350:
! 10351: _ACEOF
! 10352:
! 10353: # The following way of writing the cache mishandles newlines in values,
! 10354: # but we know of no workaround that is simple, portable, and efficient.
! 10355: # So, don't put newlines in cache variables' values.
! 10356: # Ultrix sh set writes to stderr and can't be redirected directly,
! 10357: # and sets the high bit in the cache file unless we assign to the vars.
! 10358: {
! 10359: (set) 2>&1 |
! 10360: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 10361: *ac_space=\ *)
! 10362: # `set' does not quote correctly, so add quotes (double-quote
! 10363: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 10364: sed -n \
! 10365: "s/'/'\\\\''/g;
! 10366: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 10367: ;;
! 10368: *)
! 10369: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 10370: sed -n \
! 10371: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 10372: ;;
! 10373: esac;
! 10374: } |
! 10375: sed '
! 10376: t clear
! 10377: : clear
! 10378: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 10379: t end
! 10380: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 10381: : end' >>confcache
! 10382: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 10383: if test -w $cache_file; then
! 10384: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 10385: cat confcache >$cache_file
! 10386: else
! 10387: echo "not updating unwritable cache $cache_file"
! 10388: fi
! 10389: fi
! 10390: rm -f confcache
! 10391:
! 10392: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 10393: # Let make expand exec_prefix.
! 10394: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 10395:
! 10396: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 10397: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 10398: # trailing colons and then remove the whole line if VPATH becomes empty
! 10399: # (actually we leave an empty line to preserve line numbers).
! 10400: if test "x$srcdir" = x.; then
! 10401: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 10402: s/:*\$(srcdir):*/:/;
! 10403: s/:*\${srcdir}:*/:/;
! 10404: s/:*@srcdir@:*/:/;
! 10405: s/^\([^=]*=[ ]*\):*/\1/;
! 10406: s/:*$//;
! 10407: s/^[^=]*=[ ]*$//;
! 10408: }'
! 10409: fi
! 10410:
! 10411: DEFS=-DHAVE_CONFIG_H
! 10412:
! 10413: ac_libobjs=
! 10414: ac_ltlibobjs=
! 10415: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 10416: # 1. Remove the extension, and $U if already installed.
! 10417: ac_i=`echo "$ac_i" |
! 10418: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 10419: # 2. Add them.
! 10420: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 10421: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 10422: done
! 10423: LIBOBJS=$ac_libobjs
! 10424:
! 10425: LTLIBOBJS=$ac_ltlibobjs
! 10426:
! 10427:
! 10428: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
! 10429: { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
! 10430: Usually this means the macro was only invoked conditionally." >&5
! 10431: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
! 10432: Usually this means the macro was only invoked conditionally." >&2;}
! 10433: { (exit 1); exit 1; }; }
! 10434: fi
! 10435: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 10436: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 10437: Usually this means the macro was only invoked conditionally." >&5
! 10438: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 10439: Usually this means the macro was only invoked conditionally." >&2;}
! 10440: { (exit 1); exit 1; }; }
! 10441: fi
! 10442: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 10443: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 10444: Usually this means the macro was only invoked conditionally." >&5
! 10445: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 10446: Usually this means the macro was only invoked conditionally." >&2;}
! 10447: { (exit 1); exit 1; }; }
! 10448: fi
! 10449: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
! 10450: { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
! 10451: Usually this means the macro was only invoked conditionally." >&5
! 10452: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
! 10453: Usually this means the macro was only invoked conditionally." >&2;}
! 10454: { (exit 1); exit 1; }; }
! 10455: fi
! 10456: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
! 10457: { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 10458: Usually this means the macro was only invoked conditionally." >&5
! 10459: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 10460: Usually this means the macro was only invoked conditionally." >&2;}
! 10461: { (exit 1); exit 1; }; }
! 10462: fi
! 10463:
! 10464: : ${CONFIG_STATUS=./config.status}
! 10465: ac_clean_files_save=$ac_clean_files
! 10466: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 10467: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 10468: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 10469: cat >$CONFIG_STATUS <<_ACEOF
! 10470: #! $SHELL
! 10471: # Generated by $as_me.
! 10472: # Run this file to recreate the current configuration.
! 10473: # Compiler output produced by configure, useful for debugging
! 10474: # configure, is in config.log if it exists.
! 10475:
! 10476: debug=false
! 10477: ac_cs_recheck=false
! 10478: ac_cs_silent=false
! 10479: SHELL=\${CONFIG_SHELL-$SHELL}
! 10480: _ACEOF
! 10481:
! 10482: cat >>$CONFIG_STATUS <<\_ACEOF
! 10483: ## --------------------- ##
! 10484: ## M4sh Initialization. ##
! 10485: ## --------------------- ##
! 10486:
! 10487: # Be Bourne compatible
! 10488: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 10489: emulate sh
! 10490: NULLCMD=:
! 10491: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 10492: # is contrary to our usage. Disable this feature.
! 10493: alias -g '${1+"$@"}'='"$@"'
! 10494: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 10495: set -o posix
! 10496: fi
! 10497:
! 10498: # Support unset when possible.
! 10499: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 10500: as_unset=unset
! 10501: else
! 10502: as_unset=false
! 10503: fi
! 10504:
! 10505:
! 10506: # Work around bugs in pre-3.0 UWIN ksh.
! 10507: $as_unset ENV MAIL MAILPATH
! 10508: PS1='$ '
! 10509: PS2='> '
! 10510: PS4='+ '
! 10511:
! 10512: # NLS nuisances.
! 10513: for as_var in \
! 10514: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 10515: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 10516: LC_TELEPHONE LC_TIME
! 10517: do
! 10518: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 10519: eval $as_var=C; export $as_var
! 10520: else
! 10521: $as_unset $as_var
! 10522: fi
! 10523: done
! 10524:
! 10525: # Required to use basename.
! 10526: if expr a : '\(a\)' >/dev/null 2>&1; then
! 10527: as_expr=expr
! 10528: else
! 10529: as_expr=false
! 10530: fi
! 10531:
! 10532: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 10533: as_basename=basename
! 10534: else
! 10535: as_basename=false
! 10536: fi
! 10537:
! 10538:
! 10539: # Name of the executable.
! 10540: as_me=`$as_basename "$0" ||
! 10541: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 10542: X"$0" : 'X\(//\)$' \| \
! 10543: X"$0" : 'X\(/\)$' \| \
! 10544: . : '\(.\)' 2>/dev/null ||
! 10545: echo X/"$0" |
! 10546: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 10547: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 10548: /^X\/\(\/\).*/{ s//\1/; q; }
! 10549: s/.*/./; q'`
! 10550:
! 10551:
! 10552: # PATH needs CR, and LINENO needs CR and PATH.
! 10553: # Avoid depending upon Character Ranges.
! 10554: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 10555: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 10556: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 10557: as_cr_digits='0123456789'
! 10558: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 10559:
! 10560: # The user is always right.
! 10561: if test "${PATH_SEPARATOR+set}" != set; then
! 10562: echo "#! /bin/sh" >conf$$.sh
! 10563: echo "exit 0" >>conf$$.sh
! 10564: chmod +x conf$$.sh
! 10565: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 10566: PATH_SEPARATOR=';'
! 10567: else
! 10568: PATH_SEPARATOR=:
! 10569: fi
! 10570: rm -f conf$$.sh
! 10571: fi
! 10572:
! 10573:
! 10574: as_lineno_1=$LINENO
! 10575: as_lineno_2=$LINENO
! 10576: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 10577: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 10578: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 10579: # Find who we are. Look in the path if we contain no path at all
! 10580: # relative or not.
! 10581: case $0 in
! 10582: *[\\/]* ) as_myself=$0 ;;
! 10583: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 10584: for as_dir in $PATH
! 10585: do
! 10586: IFS=$as_save_IFS
! 10587: test -z "$as_dir" && as_dir=.
! 10588: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 10589: done
! 10590:
! 10591: ;;
! 10592: esac
! 10593: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 10594: # in which case we are not to be found in the path.
! 10595: if test "x$as_myself" = x; then
! 10596: as_myself=$0
! 10597: fi
! 10598: if test ! -f "$as_myself"; then
! 10599: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 10600: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 10601: { (exit 1); exit 1; }; }
! 10602: fi
! 10603: case $CONFIG_SHELL in
! 10604: '')
! 10605: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 10606: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 10607: do
! 10608: IFS=$as_save_IFS
! 10609: test -z "$as_dir" && as_dir=.
! 10610: for as_base in sh bash ksh sh5; do
! 10611: case $as_dir in
! 10612: /*)
! 10613: if ("$as_dir/$as_base" -c '
! 10614: as_lineno_1=$LINENO
! 10615: as_lineno_2=$LINENO
! 10616: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 10617: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 10618: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 10619: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 10620: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 10621: CONFIG_SHELL=$as_dir/$as_base
! 10622: export CONFIG_SHELL
! 10623: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 10624: fi;;
! 10625: esac
! 10626: done
! 10627: done
! 10628: ;;
! 10629: esac
! 10630:
! 10631: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 10632: # uniformly replaced by the line number. The first 'sed' inserts a
! 10633: # line-number line before each line; the second 'sed' does the real
! 10634: # work. The second script uses 'N' to pair each line-number line
! 10635: # with the numbered line, and appends trailing '-' during
! 10636: # substitution so that $LINENO is not a special case at line end.
! 10637: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 10638: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 10639: sed '=' <$as_myself |
! 10640: sed '
! 10641: N
! 10642: s,$,-,
! 10643: : loop
! 10644: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 10645: t loop
! 10646: s,-$,,
! 10647: s,^['$as_cr_digits']*\n,,
! 10648: ' >$as_me.lineno &&
! 10649: chmod +x $as_me.lineno ||
! 10650: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 10651: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 10652: { (exit 1); exit 1; }; }
! 10653:
! 10654: # Don't try to exec as it changes $[0], causing all sort of problems
! 10655: # (the dirname of $[0] is not the place where we might find the
! 10656: # original and so on. Autoconf is especially sensible to this).
! 10657: . ./$as_me.lineno
! 10658: # Exit status is that of the last command.
! 10659: exit
! 10660: }
! 10661:
! 10662:
! 10663: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 10664: *c*,-n*) ECHO_N= ECHO_C='
! 10665: ' ECHO_T=' ' ;;
! 10666: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 10667: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 10668: esac
! 10669:
! 10670: if expr a : '\(a\)' >/dev/null 2>&1; then
! 10671: as_expr=expr
! 10672: else
! 10673: as_expr=false
! 10674: fi
! 10675:
! 10676: rm -f conf$$ conf$$.exe conf$$.file
! 10677: echo >conf$$.file
! 10678: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 10679: # We could just check for DJGPP; but this test a) works b) is more generic
! 10680: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 10681: if test -f conf$$.exe; then
! 10682: # Don't use ln at all; we don't have any links
! 10683: as_ln_s='cp -p'
! 10684: else
! 10685: as_ln_s='ln -s'
! 10686: fi
! 10687: elif ln conf$$.file conf$$ 2>/dev/null; then
! 10688: as_ln_s=ln
! 10689: else
! 10690: as_ln_s='cp -p'
! 10691: fi
! 10692: rm -f conf$$ conf$$.exe conf$$.file
! 10693:
! 10694: if mkdir -p . 2>/dev/null; then
! 10695: as_mkdir_p=:
! 10696: else
! 10697: as_mkdir_p=false
! 10698: fi
! 10699:
! 10700: as_executable_p="test -f"
! 10701:
! 10702: # Sed expression to map a string onto a valid CPP name.
! 10703: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 10704:
! 10705: # Sed expression to map a string onto a valid variable name.
! 10706: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 10707:
! 10708:
! 10709: # IFS
! 10710: # We need space, tab and new line, in precisely that order.
! 10711: as_nl='
! 10712: '
! 10713: IFS=" $as_nl"
! 10714:
! 10715: # CDPATH.
! 10716: $as_unset CDPATH
! 10717:
! 10718: exec 6>&1
! 10719:
! 10720: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 10721: # report actual input values of CONFIG_FILES etc. instead of their
! 10722: # values after options handling. Logging --version etc. is OK.
! 10723: exec 5>>config.log
! 10724: {
! 10725: echo
! 10726: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 10727: ## Running $as_me. ##
! 10728: _ASBOX
! 10729: } >&5
! 10730: cat >&5 <<_CSEOF
! 10731:
! 10732: This file was extended by $as_me, which was
! 10733: generated by GNU Autoconf 2.57. Invocation command line was
! 10734:
! 10735: CONFIG_FILES = $CONFIG_FILES
! 10736: CONFIG_HEADERS = $CONFIG_HEADERS
! 10737: CONFIG_LINKS = $CONFIG_LINKS
! 10738: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 10739: $ $0 $@
! 10740:
! 10741: _CSEOF
! 10742: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 10743: echo >&5
! 10744: _ACEOF
! 10745:
! 10746: # Files that config.status was made for.
! 10747: if test -n "$ac_config_files"; then
! 10748: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 10749: fi
! 10750:
! 10751: if test -n "$ac_config_headers"; then
! 10752: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 10753: fi
! 10754:
! 10755: if test -n "$ac_config_links"; then
! 10756: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 10757: fi
! 10758:
! 10759: if test -n "$ac_config_commands"; then
! 10760: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 10761: fi
! 10762:
! 10763: cat >>$CONFIG_STATUS <<\_ACEOF
! 10764:
! 10765: ac_cs_usage="\
! 10766: \`$as_me' instantiates files from templates according to the
! 10767: current configuration.
! 10768:
! 10769: Usage: $0 [OPTIONS] [FILE]...
! 10770:
! 10771: -h, --help print this help, then exit
! 10772: -V, --version print version number, then exit
! 10773: -q, --quiet do not print progress messages
! 10774: -d, --debug don't remove temporary files
! 10775: --recheck update $as_me by reconfiguring in the same conditions
! 10776: --file=FILE[:TEMPLATE]
! 10777: instantiate the configuration file FILE
! 10778: --header=FILE[:TEMPLATE]
! 10779: instantiate the configuration header FILE
! 10780:
! 10781: Configuration files:
! 10782: $config_files
! 10783:
! 10784: Configuration headers:
! 10785: $config_headers
! 10786:
! 10787: Configuration commands:
! 10788: $config_commands
! 10789:
! 10790: Report bugs to <bug-autoconf@gnu.org>."
! 10791: _ACEOF
! 10792:
! 10793: cat >>$CONFIG_STATUS <<_ACEOF
! 10794: ac_cs_version="\\
! 10795: config.status
! 10796: configured by $0, generated by GNU Autoconf 2.57,
! 10797: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 10798:
! 10799: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 10800: Free Software Foundation, Inc.
! 10801: This config.status script is free software; the Free Software Foundation
! 10802: gives unlimited permission to copy, distribute and modify it."
! 10803: srcdir=$srcdir
! 10804: INSTALL="$INSTALL"
! 10805: _ACEOF
! 10806:
! 10807: cat >>$CONFIG_STATUS <<\_ACEOF
! 10808: # If no file are specified by the user, then we need to provide default
! 10809: # value. By we need to know if files were specified by the user.
! 10810: ac_need_defaults=:
! 10811: while test $# != 0
! 10812: do
! 10813: case $1 in
! 10814: --*=*)
! 10815: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 10816: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 10817: ac_shift=:
! 10818: ;;
! 10819: -*)
! 10820: ac_option=$1
! 10821: ac_optarg=$2
! 10822: ac_shift=shift
! 10823: ;;
! 10824: *) # This is not an option, so the user has probably given explicit
! 10825: # arguments.
! 10826: ac_option=$1
! 10827: ac_need_defaults=false;;
! 10828: esac
! 10829:
! 10830: case $ac_option in
! 10831: # Handling of the options.
! 10832: _ACEOF
! 10833: cat >>$CONFIG_STATUS <<\_ACEOF
! 10834: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 10835: ac_cs_recheck=: ;;
! 10836: --version | --vers* | -V )
! 10837: echo "$ac_cs_version"; exit 0 ;;
! 10838: --he | --h)
! 10839: # Conflict between --help and --header
! 10840: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 10841: Try \`$0 --help' for more information." >&5
! 10842: echo "$as_me: error: ambiguous option: $1
! 10843: Try \`$0 --help' for more information." >&2;}
! 10844: { (exit 1); exit 1; }; };;
! 10845: --help | --hel | -h )
! 10846: echo "$ac_cs_usage"; exit 0 ;;
! 10847: --debug | --d* | -d )
! 10848: debug=: ;;
! 10849: --file | --fil | --fi | --f )
! 10850: $ac_shift
! 10851: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 10852: ac_need_defaults=false;;
! 10853: --header | --heade | --head | --hea )
! 10854: $ac_shift
! 10855: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 10856: ac_need_defaults=false;;
! 10857: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 10858: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 10859: ac_cs_silent=: ;;
! 10860:
! 10861: # This is an error.
! 10862: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 10863: Try \`$0 --help' for more information." >&5
! 10864: echo "$as_me: error: unrecognized option: $1
! 10865: Try \`$0 --help' for more information." >&2;}
! 10866: { (exit 1); exit 1; }; } ;;
! 10867:
! 10868: *) ac_config_targets="$ac_config_targets $1" ;;
! 10869:
! 10870: esac
! 10871: shift
! 10872: done
! 10873:
! 10874: ac_configure_extra_args=
! 10875:
! 10876: if $ac_cs_silent; then
! 10877: exec 6>/dev/null
! 10878: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 10879: fi
! 10880:
! 10881: _ACEOF
! 10882: cat >>$CONFIG_STATUS <<_ACEOF
! 10883: if \$ac_cs_recheck; then
! 10884: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 10885: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 10886: fi
! 10887:
! 10888: _ACEOF
! 10889:
! 10890: cat >>$CONFIG_STATUS <<_ACEOF
! 10891: #
! 10892: # INIT-COMMANDS section.
! 10893: #
! 10894:
! 10895: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 10896:
! 10897: _ACEOF
! 10898:
! 10899:
! 10900:
! 10901: cat >>$CONFIG_STATUS <<\_ACEOF
! 10902: for ac_config_target in $ac_config_targets
! 10903: do
! 10904: case "$ac_config_target" in
! 10905: # Handling of arguments.
! 10906: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 10907: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 10908: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 10909: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 10910: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 10911: { (exit 1); exit 1; }; };;
! 10912: esac
! 10913: done
! 10914:
! 10915: # If the user did not use the arguments to specify the items to instantiate,
! 10916: # then the envvar interface is used. Set only those that are not.
! 10917: # We use the long form for the default assignment because of an extremely
! 10918: # bizarre bug on SunOS 4.1.3.
! 10919: if $ac_need_defaults; then
! 10920: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 10921: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 10922: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 10923: fi
! 10924:
! 10925: # Have a temporary directory for convenience. Make it in the build tree
! 10926: # simply because there is no reason to put it here, and in addition,
! 10927: # creating and moving files from /tmp can sometimes cause problems.
! 10928: # Create a temporary directory, and hook for its removal unless debugging.
! 10929: $debug ||
! 10930: {
! 10931: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 10932: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 10933: }
! 10934:
! 10935: # Create a (secure) tmp directory for tmp files.
! 10936:
! 10937: {
! 10938: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 10939: test -n "$tmp" && test -d "$tmp"
! 10940: } ||
! 10941: {
! 10942: tmp=./confstat$$-$RANDOM
! 10943: (umask 077 && mkdir $tmp)
! 10944: } ||
! 10945: {
! 10946: echo "$me: cannot create a temporary directory in ." >&2
! 10947: { (exit 1); exit 1; }
! 10948: }
! 10949:
! 10950: _ACEOF
! 10951:
! 10952: cat >>$CONFIG_STATUS <<_ACEOF
! 10953:
! 10954: #
! 10955: # CONFIG_FILES section.
! 10956: #
! 10957:
! 10958: # No need to generate the scripts if there are no CONFIG_FILES.
! 10959: # This happens for instance when ./config.status config.h
! 10960: if test -n "\$CONFIG_FILES"; then
! 10961: # Protect against being on the right side of a sed subst in config.status.
! 10962: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 10963: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 10964: s,@SHELL@,$SHELL,;t t
! 10965: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 10966: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 10967: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 10968: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 10969: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 10970: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 10971: s,@exec_prefix@,$exec_prefix,;t t
! 10972: s,@prefix@,$prefix,;t t
! 10973: s,@program_transform_name@,$program_transform_name,;t t
! 10974: s,@bindir@,$bindir,;t t
! 10975: s,@sbindir@,$sbindir,;t t
! 10976: s,@libexecdir@,$libexecdir,;t t
! 10977: s,@datadir@,$datadir,;t t
! 10978: s,@sysconfdir@,$sysconfdir,;t t
! 10979: s,@sharedstatedir@,$sharedstatedir,;t t
! 10980: s,@localstatedir@,$localstatedir,;t t
! 10981: s,@libdir@,$libdir,;t t
! 10982: s,@includedir@,$includedir,;t t
! 10983: s,@oldincludedir@,$oldincludedir,;t t
! 10984: s,@infodir@,$infodir,;t t
! 10985: s,@mandir@,$mandir,;t t
! 10986: s,@build_alias@,$build_alias,;t t
! 10987: s,@host_alias@,$host_alias,;t t
! 10988: s,@target_alias@,$target_alias,;t t
! 10989: s,@DEFS@,$DEFS,;t t
! 10990: s,@ECHO_C@,$ECHO_C,;t t
! 10991: s,@ECHO_N@,$ECHO_N,;t t
! 10992: s,@ECHO_T@,$ECHO_T,;t t
! 10993: s,@LIBS@,$LIBS,;t t
! 10994: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 10995: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 10996: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 10997: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 10998: s,@PACKAGE@,$PACKAGE,;t t
! 10999: s,@VERSION@,$VERSION,;t t
! 11000: s,@ACLOCAL@,$ACLOCAL,;t t
! 11001: s,@AUTOCONF@,$AUTOCONF,;t t
! 11002: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 11003: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 11004: s,@MAKEINFO@,$MAKEINFO,;t t
! 11005: s,@AMTAR@,$AMTAR,;t t
! 11006: s,@install_sh@,$install_sh,;t t
! 11007: s,@STRIP@,$STRIP,;t t
! 11008: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 11009: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 11010: s,@AWK@,$AWK,;t t
! 11011: s,@SET_MAKE@,$SET_MAKE,;t t
! 11012: s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
! 11013: s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
! 11014: s,@MAINT@,$MAINT,;t t
! 11015: s,@CC@,$CC,;t t
! 11016: s,@CFLAGS@,$CFLAGS,;t t
! 11017: s,@LDFLAGS@,$LDFLAGS,;t t
! 11018: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 11019: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 11020: s,@EXEEXT@,$EXEEXT,;t t
! 11021: s,@OBJEXT@,$OBJEXT,;t t
! 11022: s,@DEPDIR@,$DEPDIR,;t t
! 11023: s,@am__include@,$am__include,;t t
! 11024: s,@am__quote@,$am__quote,;t t
! 11025: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 11026: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 11027: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 11028: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 11029: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 11030: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 11031: s,@build@,$build,;t t
! 11032: s,@build_cpu@,$build_cpu,;t t
! 11033: s,@build_vendor@,$build_vendor,;t t
! 11034: s,@build_os@,$build_os,;t t
! 11035: s,@host@,$host,;t t
! 11036: s,@host_cpu@,$host_cpu,;t t
! 11037: s,@host_vendor@,$host_vendor,;t t
! 11038: s,@host_os@,$host_os,;t t
! 11039: s,@LN_S@,$LN_S,;t t
! 11040: s,@ECHO@,$ECHO,;t t
! 11041: s,@RANLIB@,$RANLIB,;t t
! 11042: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 11043: s,@CPP@,$CPP,;t t
! 11044: s,@EGREP@,$EGREP,;t t
! 11045: s,@LIBTOOL@,$LIBTOOL,;t t
! 11046: s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
! 11047: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
! 11048: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
! 11049: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
! 11050: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
! 11051: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 11052: s,@LIBOBJS@,$LIBOBJS,;t t
! 11053: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 11054: CEOF
! 11055:
! 11056: _ACEOF
! 11057:
! 11058: cat >>$CONFIG_STATUS <<\_ACEOF
! 11059: # Split the substitutions into bite-sized pieces for seds with
! 11060: # small command number limits, like on Digital OSF/1 and HP-UX.
! 11061: ac_max_sed_lines=48
! 11062: ac_sed_frag=1 # Number of current file.
! 11063: ac_beg=1 # First line for current file.
! 11064: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 11065: ac_more_lines=:
! 11066: ac_sed_cmds=
! 11067: while $ac_more_lines; do
! 11068: if test $ac_beg -gt 1; then
! 11069: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 11070: else
! 11071: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 11072: fi
! 11073: if test ! -s $tmp/subs.frag; then
! 11074: ac_more_lines=false
! 11075: else
! 11076: # The purpose of the label and of the branching condition is to
! 11077: # speed up the sed processing (if there are no `@' at all, there
! 11078: # is no need to browse any of the substitutions).
! 11079: # These are the two extra sed commands mentioned above.
! 11080: (echo ':t
! 11081: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 11082: if test -z "$ac_sed_cmds"; then
! 11083: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 11084: else
! 11085: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 11086: fi
! 11087: ac_sed_frag=`expr $ac_sed_frag + 1`
! 11088: ac_beg=$ac_end
! 11089: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 11090: fi
! 11091: done
! 11092: if test -z "$ac_sed_cmds"; then
! 11093: ac_sed_cmds=cat
! 11094: fi
! 11095: fi # test -n "$CONFIG_FILES"
! 11096:
! 11097: _ACEOF
! 11098: cat >>$CONFIG_STATUS <<\_ACEOF
! 11099: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 11100: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 11101: case $ac_file in
! 11102: - | *:- | *:-:* ) # input from stdin
! 11103: cat >$tmp/stdin
! 11104: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 11105: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 11106: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 11107: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 11108: * ) ac_file_in=$ac_file.in ;;
! 11109: esac
! 11110:
! 11111: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 11112: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 11113: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11114: X"$ac_file" : 'X\(//\)[^/]' \| \
! 11115: X"$ac_file" : 'X\(//\)$' \| \
! 11116: X"$ac_file" : 'X\(/\)' \| \
! 11117: . : '\(.\)' 2>/dev/null ||
! 11118: echo X"$ac_file" |
! 11119: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11120: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11121: /^X\(\/\/\)$/{ s//\1/; q; }
! 11122: /^X\(\/\).*/{ s//\1/; q; }
! 11123: s/.*/./; q'`
! 11124: { if $as_mkdir_p; then
! 11125: mkdir -p "$ac_dir"
! 11126: else
! 11127: as_dir="$ac_dir"
! 11128: as_dirs=
! 11129: while test ! -d "$as_dir"; do
! 11130: as_dirs="$as_dir $as_dirs"
! 11131: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 11132: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11133: X"$as_dir" : 'X\(//\)[^/]' \| \
! 11134: X"$as_dir" : 'X\(//\)$' \| \
! 11135: X"$as_dir" : 'X\(/\)' \| \
! 11136: . : '\(.\)' 2>/dev/null ||
! 11137: echo X"$as_dir" |
! 11138: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11139: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11140: /^X\(\/\/\)$/{ s//\1/; q; }
! 11141: /^X\(\/\).*/{ s//\1/; q; }
! 11142: s/.*/./; q'`
! 11143: done
! 11144: test ! -n "$as_dirs" || mkdir $as_dirs
! 11145: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 11146: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 11147: { (exit 1); exit 1; }; }; }
! 11148:
! 11149: ac_builddir=.
! 11150:
! 11151: if test "$ac_dir" != .; then
! 11152: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 11153: # A "../" for each directory in $ac_dir_suffix.
! 11154: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 11155: else
! 11156: ac_dir_suffix= ac_top_builddir=
! 11157: fi
! 11158:
! 11159: case $srcdir in
! 11160: .) # No --srcdir option. We are building in place.
! 11161: ac_srcdir=.
! 11162: if test -z "$ac_top_builddir"; then
! 11163: ac_top_srcdir=.
! 11164: else
! 11165: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 11166: fi ;;
! 11167: [\\/]* | ?:[\\/]* ) # Absolute path.
! 11168: ac_srcdir=$srcdir$ac_dir_suffix;
! 11169: ac_top_srcdir=$srcdir ;;
! 11170: *) # Relative path.
! 11171: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 11172: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 11173: esac
! 11174: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 11175: # absolute.
! 11176: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 11177: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 11178: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 11179: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 11180:
! 11181:
! 11182: case $INSTALL in
! 11183: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 11184: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 11185: esac
! 11186:
! 11187: if test x"$ac_file" != x-; then
! 11188: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 11189: echo "$as_me: creating $ac_file" >&6;}
! 11190: rm -f "$ac_file"
! 11191: fi
! 11192: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 11193: # use $as_me), people would be surprised to read:
! 11194: # /* config.h. Generated by config.status. */
! 11195: if test x"$ac_file" = x-; then
! 11196: configure_input=
! 11197: else
! 11198: configure_input="$ac_file. "
! 11199: fi
! 11200: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 11201: sed 's,.*/,,'` by configure."
! 11202:
! 11203: # First look for the input files in the build tree, otherwise in the
! 11204: # src tree.
! 11205: ac_file_inputs=`IFS=:
! 11206: for f in $ac_file_in; do
! 11207: case $f in
! 11208: -) echo $tmp/stdin ;;
! 11209: [\\/$]*)
! 11210: # Absolute (can't be DOS-style, as IFS=:)
! 11211: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 11212: echo "$as_me: error: cannot find input file: $f" >&2;}
! 11213: { (exit 1); exit 1; }; }
! 11214: echo $f;;
! 11215: *) # Relative
! 11216: if test -f "$f"; then
! 11217: # Build tree
! 11218: echo $f
! 11219: elif test -f "$srcdir/$f"; then
! 11220: # Source tree
! 11221: echo $srcdir/$f
! 11222: else
! 11223: # /dev/null tree
! 11224: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 11225: echo "$as_me: error: cannot find input file: $f" >&2;}
! 11226: { (exit 1); exit 1; }; }
! 11227: fi;;
! 11228: esac
! 11229: done` || { (exit 1); exit 1; }
! 11230: _ACEOF
! 11231: cat >>$CONFIG_STATUS <<_ACEOF
! 11232: sed "$ac_vpsub
! 11233: $extrasub
! 11234: _ACEOF
! 11235: cat >>$CONFIG_STATUS <<\_ACEOF
! 11236: :t
! 11237: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 11238: s,@configure_input@,$configure_input,;t t
! 11239: s,@srcdir@,$ac_srcdir,;t t
! 11240: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 11241: s,@top_srcdir@,$ac_top_srcdir,;t t
! 11242: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 11243: s,@builddir@,$ac_builddir,;t t
! 11244: s,@abs_builddir@,$ac_abs_builddir,;t t
! 11245: s,@top_builddir@,$ac_top_builddir,;t t
! 11246: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 11247: s,@INSTALL@,$ac_INSTALL,;t t
! 11248: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 11249: rm -f $tmp/stdin
! 11250: if test x"$ac_file" != x-; then
! 11251: mv $tmp/out $ac_file
! 11252: else
! 11253: cat $tmp/out
! 11254: rm -f $tmp/out
! 11255: fi
! 11256:
! 11257: done
! 11258: _ACEOF
! 11259: cat >>$CONFIG_STATUS <<\_ACEOF
! 11260:
! 11261: #
! 11262: # CONFIG_HEADER section.
! 11263: #
! 11264:
! 11265: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 11266: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 11267: #
! 11268: # ac_d sets the value in "#define NAME VALUE" lines.
! 11269: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 11270: ac_dB='[ ].*$,\1#\2'
! 11271: ac_dC=' '
! 11272: ac_dD=',;t'
! 11273: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 11274: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 11275: ac_uB='$,\1#\2define\3'
! 11276: ac_uC=' '
! 11277: ac_uD=',;t'
! 11278:
! 11279: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 11280: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 11281: case $ac_file in
! 11282: - | *:- | *:-:* ) # input from stdin
! 11283: cat >$tmp/stdin
! 11284: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 11285: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 11286: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 11287: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 11288: * ) ac_file_in=$ac_file.in ;;
! 11289: esac
! 11290:
! 11291: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 11292: echo "$as_me: creating $ac_file" >&6;}
! 11293:
! 11294: # First look for the input files in the build tree, otherwise in the
! 11295: # src tree.
! 11296: ac_file_inputs=`IFS=:
! 11297: for f in $ac_file_in; do
! 11298: case $f in
! 11299: -) echo $tmp/stdin ;;
! 11300: [\\/$]*)
! 11301: # Absolute (can't be DOS-style, as IFS=:)
! 11302: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 11303: echo "$as_me: error: cannot find input file: $f" >&2;}
! 11304: { (exit 1); exit 1; }; }
! 11305: echo $f;;
! 11306: *) # Relative
! 11307: if test -f "$f"; then
! 11308: # Build tree
! 11309: echo $f
! 11310: elif test -f "$srcdir/$f"; then
! 11311: # Source tree
! 11312: echo $srcdir/$f
! 11313: else
! 11314: # /dev/null tree
! 11315: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 11316: echo "$as_me: error: cannot find input file: $f" >&2;}
! 11317: { (exit 1); exit 1; }; }
! 11318: fi;;
! 11319: esac
! 11320: done` || { (exit 1); exit 1; }
! 11321: # Remove the trailing spaces.
! 11322: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 11323:
! 11324: _ACEOF
! 11325:
! 11326: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 11327: # `conftest.undefs', that substitutes the proper values into
! 11328: # config.h.in to produce config.h. The first handles `#define'
! 11329: # templates, and the second `#undef' templates.
! 11330: # And first: Protect against being on the right side of a sed subst in
! 11331: # config.status. Protect against being in an unquoted here document
! 11332: # in config.status.
! 11333: rm -f conftest.defines conftest.undefs
! 11334: # Using a here document instead of a string reduces the quoting nightmare.
! 11335: # Putting comments in sed scripts is not portable.
! 11336: #
! 11337: # `end' is used to avoid that the second main sed command (meant for
! 11338: # 0-ary CPP macros) applies to n-ary macro definitions.
! 11339: # See the Autoconf documentation for `clear'.
! 11340: cat >confdef2sed.sed <<\_ACEOF
! 11341: s/[\\&,]/\\&/g
! 11342: s,[\\$`],\\&,g
! 11343: t clear
! 11344: : clear
! 11345: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 11346: t end
! 11347: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 11348: : end
! 11349: _ACEOF
! 11350: # If some macros were called several times there might be several times
! 11351: # the same #defines, which is useless. Nevertheless, we may not want to
! 11352: # sort them, since we want the *last* AC-DEFINE to be honored.
! 11353: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 11354: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 11355: rm -f confdef2sed.sed
! 11356:
! 11357: # This sed command replaces #undef with comments. This is necessary, for
! 11358: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 11359: # on some systems where configure will not decide to define it.
! 11360: cat >>conftest.undefs <<\_ACEOF
! 11361: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 11362: _ACEOF
! 11363:
! 11364: # Break up conftest.defines because some shells have a limit on the size
! 11365: # of here documents, and old seds have small limits too (100 cmds).
! 11366: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 11367: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 11368: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 11369: echo ' :' >>$CONFIG_STATUS
! 11370: rm -f conftest.tail
! 11371: while grep . conftest.defines >/dev/null
! 11372: do
! 11373: # Write a limited-size here document to $tmp/defines.sed.
! 11374: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 11375: # Speed up: don't consider the non `#define' lines.
! 11376: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 11377: # Work around the forget-to-reset-the-flag bug.
! 11378: echo 't clr' >>$CONFIG_STATUS
! 11379: echo ': clr' >>$CONFIG_STATUS
! 11380: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 11381: echo 'CEOF
! 11382: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 11383: rm -f $tmp/in
! 11384: mv $tmp/out $tmp/in
! 11385: ' >>$CONFIG_STATUS
! 11386: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 11387: rm -f conftest.defines
! 11388: mv conftest.tail conftest.defines
! 11389: done
! 11390: rm -f conftest.defines
! 11391: echo ' fi # grep' >>$CONFIG_STATUS
! 11392: echo >>$CONFIG_STATUS
! 11393:
! 11394: # Break up conftest.undefs because some shells have a limit on the size
! 11395: # of here documents, and old seds have small limits too (100 cmds).
! 11396: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 11397: rm -f conftest.tail
! 11398: while grep . conftest.undefs >/dev/null
! 11399: do
! 11400: # Write a limited-size here document to $tmp/undefs.sed.
! 11401: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 11402: # Speed up: don't consider the non `#undef'
! 11403: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 11404: # Work around the forget-to-reset-the-flag bug.
! 11405: echo 't clr' >>$CONFIG_STATUS
! 11406: echo ': clr' >>$CONFIG_STATUS
! 11407: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 11408: echo 'CEOF
! 11409: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 11410: rm -f $tmp/in
! 11411: mv $tmp/out $tmp/in
! 11412: ' >>$CONFIG_STATUS
! 11413: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 11414: rm -f conftest.undefs
! 11415: mv conftest.tail conftest.undefs
! 11416: done
! 11417: rm -f conftest.undefs
! 11418:
! 11419: cat >>$CONFIG_STATUS <<\_ACEOF
! 11420: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 11421: # use $as_me), people would be surprised to read:
! 11422: # /* config.h. Generated by config.status. */
! 11423: if test x"$ac_file" = x-; then
! 11424: echo "/* Generated by configure. */" >$tmp/config.h
! 11425: else
! 11426: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 11427: fi
! 11428: cat $tmp/in >>$tmp/config.h
! 11429: rm -f $tmp/in
! 11430: if test x"$ac_file" != x-; then
! 11431: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 11432: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 11433: echo "$as_me: $ac_file is unchanged" >&6;}
! 11434: else
! 11435: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 11436: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11437: X"$ac_file" : 'X\(//\)[^/]' \| \
! 11438: X"$ac_file" : 'X\(//\)$' \| \
! 11439: X"$ac_file" : 'X\(/\)' \| \
! 11440: . : '\(.\)' 2>/dev/null ||
! 11441: echo X"$ac_file" |
! 11442: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11443: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11444: /^X\(\/\/\)$/{ s//\1/; q; }
! 11445: /^X\(\/\).*/{ s//\1/; q; }
! 11446: s/.*/./; q'`
! 11447: { if $as_mkdir_p; then
! 11448: mkdir -p "$ac_dir"
! 11449: else
! 11450: as_dir="$ac_dir"
! 11451: as_dirs=
! 11452: while test ! -d "$as_dir"; do
! 11453: as_dirs="$as_dir $as_dirs"
! 11454: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 11455: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11456: X"$as_dir" : 'X\(//\)[^/]' \| \
! 11457: X"$as_dir" : 'X\(//\)$' \| \
! 11458: X"$as_dir" : 'X\(/\)' \| \
! 11459: . : '\(.\)' 2>/dev/null ||
! 11460: echo X"$as_dir" |
! 11461: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11462: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11463: /^X\(\/\/\)$/{ s//\1/; q; }
! 11464: /^X\(\/\).*/{ s//\1/; q; }
! 11465: s/.*/./; q'`
! 11466: done
! 11467: test ! -n "$as_dirs" || mkdir $as_dirs
! 11468: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 11469: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 11470: { (exit 1); exit 1; }; }; }
! 11471:
! 11472: rm -f $ac_file
! 11473: mv $tmp/config.h $ac_file
! 11474: fi
! 11475: else
! 11476: cat $tmp/config.h
! 11477: rm -f $tmp/config.h
! 11478: fi
! 11479: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
! 11480: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 11481: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11482: X$ac_file : 'X\(//\)[^/]' \| \
! 11483: X$ac_file : 'X\(//\)$' \| \
! 11484: X$ac_file : 'X\(/\)' \| \
! 11485: . : '\(.\)' 2>/dev/null ||
! 11486: echo X$ac_file |
! 11487: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11488: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11489: /^X\(\/\/\)$/{ s//\1/; q; }
! 11490: /^X\(\/\).*/{ s//\1/; q; }
! 11491: s/.*/./; q'`/stamp-h$_am_stamp_count
! 11492: done
! 11493: _ACEOF
! 11494: cat >>$CONFIG_STATUS <<\_ACEOF
! 11495:
! 11496: #
! 11497: # CONFIG_COMMANDS section.
! 11498: #
! 11499: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 11500: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 11501: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 11502: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 11503: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11504: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 11505: X"$ac_dest" : 'X\(//\)$' \| \
! 11506: X"$ac_dest" : 'X\(/\)' \| \
! 11507: . : '\(.\)' 2>/dev/null ||
! 11508: echo X"$ac_dest" |
! 11509: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11510: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11511: /^X\(\/\/\)$/{ s//\1/; q; }
! 11512: /^X\(\/\).*/{ s//\1/; q; }
! 11513: s/.*/./; q'`
! 11514: ac_builddir=.
! 11515:
! 11516: if test "$ac_dir" != .; then
! 11517: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 11518: # A "../" for each directory in $ac_dir_suffix.
! 11519: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 11520: else
! 11521: ac_dir_suffix= ac_top_builddir=
! 11522: fi
! 11523:
! 11524: case $srcdir in
! 11525: .) # No --srcdir option. We are building in place.
! 11526: ac_srcdir=.
! 11527: if test -z "$ac_top_builddir"; then
! 11528: ac_top_srcdir=.
! 11529: else
! 11530: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 11531: fi ;;
! 11532: [\\/]* | ?:[\\/]* ) # Absolute path.
! 11533: ac_srcdir=$srcdir$ac_dir_suffix;
! 11534: ac_top_srcdir=$srcdir ;;
! 11535: *) # Relative path.
! 11536: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 11537: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 11538: esac
! 11539: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 11540: # absolute.
! 11541: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 11542: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 11543: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 11544: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 11545:
! 11546:
! 11547: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 11548: echo "$as_me: executing $ac_dest commands" >&6;}
! 11549: case $ac_dest in
! 11550: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 11551: # Strip MF so we end up with the name of the file.
! 11552: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 11553: # Check whether this is an Automake generated Makefile or not.
! 11554: # We used to match only the files named `Makefile.in', but
! 11555: # some people rename them; so instead we look at the file content.
! 11556: # Grep'ing the first line is not enough: some people post-process
! 11557: # each Makefile.in and add a new line on top of each file to say so.
! 11558: # So let's grep whole file.
! 11559: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 11560: dirpart=`(dirname "$mf") 2>/dev/null ||
! 11561: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11562: X"$mf" : 'X\(//\)[^/]' \| \
! 11563: X"$mf" : 'X\(//\)$' \| \
! 11564: X"$mf" : 'X\(/\)' \| \
! 11565: . : '\(.\)' 2>/dev/null ||
! 11566: echo X"$mf" |
! 11567: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11568: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11569: /^X\(\/\/\)$/{ s//\1/; q; }
! 11570: /^X\(\/\).*/{ s//\1/; q; }
! 11571: s/.*/./; q'`
! 11572: else
! 11573: continue
! 11574: fi
! 11575: grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
! 11576: # Extract the definition of DEP_FILES from the Makefile without
! 11577: # running `make'.
! 11578: DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
! 11579: test -z "$DEPDIR" && continue
! 11580: # When using ansi2knr, U may be empty or an underscore; expand it
! 11581: U=`sed -n -e '/^U = / s///p' < "$mf"`
! 11582: test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
! 11583: # We invoke sed twice because it is the simplest approach to
! 11584: # changing $(DEPDIR) to its actual value in the expansion.
! 11585: for file in `sed -n -e '
! 11586: /^DEP_FILES = .*\\\\$/ {
! 11587: s/^DEP_FILES = //
! 11588: :loop
! 11589: s/\\\\$//
! 11590: p
! 11591: n
! 11592: /\\\\$/ b loop
! 11593: p
! 11594: }
! 11595: /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
! 11596: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 11597: # Make sure the directory exists.
! 11598: test -f "$dirpart/$file" && continue
! 11599: fdir=`(dirname "$file") 2>/dev/null ||
! 11600: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11601: X"$file" : 'X\(//\)[^/]' \| \
! 11602: X"$file" : 'X\(//\)$' \| \
! 11603: X"$file" : 'X\(/\)' \| \
! 11604: . : '\(.\)' 2>/dev/null ||
! 11605: echo X"$file" |
! 11606: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11607: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11608: /^X\(\/\/\)$/{ s//\1/; q; }
! 11609: /^X\(\/\).*/{ s//\1/; q; }
! 11610: s/.*/./; q'`
! 11611: { if $as_mkdir_p; then
! 11612: mkdir -p $dirpart/$fdir
! 11613: else
! 11614: as_dir=$dirpart/$fdir
! 11615: as_dirs=
! 11616: while test ! -d "$as_dir"; do
! 11617: as_dirs="$as_dir $as_dirs"
! 11618: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 11619: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 11620: X"$as_dir" : 'X\(//\)[^/]' \| \
! 11621: X"$as_dir" : 'X\(//\)$' \| \
! 11622: X"$as_dir" : 'X\(/\)' \| \
! 11623: . : '\(.\)' 2>/dev/null ||
! 11624: echo X"$as_dir" |
! 11625: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 11626: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 11627: /^X\(\/\/\)$/{ s//\1/; q; }
! 11628: /^X\(\/\).*/{ s//\1/; q; }
! 11629: s/.*/./; q'`
! 11630: done
! 11631: test ! -n "$as_dirs" || mkdir $as_dirs
! 11632: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 11633: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 11634: { (exit 1); exit 1; }; }; }
! 11635:
! 11636: # echo "creating $dirpart/$file"
! 11637: echo '# dummy' > "$dirpart/$file"
! 11638: done
! 11639: done
! 11640: ;;
! 11641: esac
! 11642: done
! 11643: _ACEOF
! 11644:
! 11645: cat >>$CONFIG_STATUS <<\_ACEOF
! 11646:
! 11647: { (exit 0); exit 0; }
! 11648: _ACEOF
! 11649: chmod +x $CONFIG_STATUS
! 11650: ac_clean_files=$ac_clean_files_save
! 11651:
! 11652:
! 11653: # configure is writing to config.log, and then calls config.status.
! 11654: # config.status does its own redirection, appending to config.log.
! 11655: # Unfortunately, on DOS this fails, as config.log is still kept open
! 11656: # by configure, so config.status won't be able to write to it; its
! 11657: # output is simply discarded. So we exec the FD to /dev/null,
! 11658: # effectively closing config.log, so it can be properly (re)opened and
! 11659: # appended to by config.status. When coming back to configure, we
! 11660: # need to make the FD available again.
! 11661: if test "$no_create" != yes; then
! 11662: ac_cs_success=:
! 11663: ac_config_status_args=
! 11664: test "$silent" = yes &&
! 11665: ac_config_status_args="$ac_config_status_args --quiet"
! 11666: exec 5>/dev/null
! 11667: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 11668: exec 5>>config.log
! 11669: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 11670: # would make configure fail if this is the last instruction.
! 11671: $ac_cs_success || { (exit 1); exit 1; }
! 11672: fi
! 11673:
! 11674:
! 11675: # Local Variables:
! 11676: # mode:shell-script
! 11677: # sh-indentation:2
! 11678: # End:
E-mail: