Annotation of sql/sqlite/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.59.
! 4: #
! 5: # Copyright (C) 2003 Free Software Foundation, Inc.
! 6: # This configure script is free software; the Free Software Foundation
! 7: # gives unlimited permission to copy, distribute and modify it.
! 8: ## --------------------- ##
! 9: ## M4sh Initialization. ##
! 10: ## --------------------- ##
! 11:
! 12: # Be Bourne compatible
! 13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 14: emulate sh
! 15: NULLCMD=:
! 16: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 17: # is contrary to our usage. Disable this feature.
! 18: alias -g '${1+"$@"}'='"$@"'
! 19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 20: set -o posix
! 21: fi
! 22: DUALCASE=1; export DUALCASE # for MKS sh
! 23:
! 24: # Support unset when possible.
! 25: if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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: test -d ./-p && rmdir ./-p
! 222: as_mkdir_p=false
! 223: fi
! 224:
! 225: as_executable_p="test -f"
! 226:
! 227: # Sed expression to map a string onto a valid CPP name.
! 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 229:
! 230: # Sed expression to map a string onto a valid variable name.
! 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 232:
! 233:
! 234: # IFS
! 235: # We need space, tab and new line, in precisely that order.
! 236: as_nl='
! 237: '
! 238: IFS=" $as_nl"
! 239:
! 240: # CDPATH.
! 241: $as_unset CDPATH
! 242:
! 243:
! 244: # Find the correct PATH separator. Usually this is `:', but
! 245: # DJGPP uses `;' like DOS.
! 246: if test "X${PATH_SEPARATOR+set}" != Xset; then
! 247: UNAME=${UNAME-`uname 2>/dev/null`}
! 248: case X$UNAME in
! 249: *-DOS) lt_cv_sys_path_separator=';' ;;
! 250: *) lt_cv_sys_path_separator=':' ;;
! 251: esac
! 252: PATH_SEPARATOR=$lt_cv_sys_path_separator
! 253: fi
! 254:
! 255:
! 256: # Check that we are running under the correct shell.
! 257: SHELL=${CONFIG_SHELL-/bin/sh}
! 258:
! 259: case X$ECHO in
! 260: X*--fallback-echo)
! 261: # Remove one level of quotation (which was required for Make).
! 262: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
! 263: ;;
! 264: esac
! 265:
! 266: echo=${ECHO-echo}
! 267: if test "X$1" = X--no-reexec; then
! 268: # Discard the --no-reexec flag, and continue.
! 269: shift
! 270: elif test "X$1" = X--fallback-echo; then
! 271: # Avoid inline document here, it may be left over
! 272: :
! 273: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
! 274: # Yippee, $echo works!
! 275: :
! 276: else
! 277: # Restart under the correct shell.
! 278: exec $SHELL "$0" --no-reexec ${1+"$@"}
! 279: fi
! 280:
! 281: if test "X$1" = X--fallback-echo; then
! 282: # used as fallback echo
! 283: shift
! 284: cat <<EOF
! 285:
! 286: EOF
! 287: exit 0
! 288: fi
! 289:
! 290: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 291: # if CDPATH is set.
! 292: if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
! 293:
! 294: if test -z "$ECHO"; then
! 295: if test "X${echo_test_string+set}" != Xset; then
! 296: # find a string as large as possible, as long as the shell can cope with it
! 297: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
! 298: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
! 299: if (echo_test_string="`eval $cmd`") 2>/dev/null &&
! 300: echo_test_string="`eval $cmd`" &&
! 301: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
! 302: then
! 303: break
! 304: fi
! 305: done
! 306: fi
! 307:
! 308: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 309: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 310: test "X$echo_testing_string" = "X$echo_test_string"; then
! 311: :
! 312: else
! 313: # The Solaris, AIX, and Digital Unix default echo programs unquote
! 314: # backslashes. This makes it impossible to quote backslashes using
! 315: # echo "$something" | sed 's/\\/\\\\/g'
! 316: #
! 317: # So, first we look for a working echo in the user's PATH.
! 318:
! 319: IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 320: for dir in $PATH /usr/ucb; do
! 321: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
! 322: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
! 323: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
! 324: test "X$echo_testing_string" = "X$echo_test_string"; then
! 325: echo="$dir/echo"
! 326: break
! 327: fi
! 328: done
! 329: IFS="$save_ifs"
! 330:
! 331: if test "X$echo" = Xecho; then
! 332: # We didn't find a better echo, so look for alternatives.
! 333: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
! 334: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
! 335: test "X$echo_testing_string" = "X$echo_test_string"; then
! 336: # This shell has a builtin print -r that does the trick.
! 337: echo='print -r'
! 338: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
! 339: test "X$CONFIG_SHELL" != X/bin/ksh; then
! 340: # If we have ksh, try running configure again with it.
! 341: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
! 342: export ORIGINAL_CONFIG_SHELL
! 343: CONFIG_SHELL=/bin/ksh
! 344: export CONFIG_SHELL
! 345: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
! 346: else
! 347: # Try using printf.
! 348: echo='printf %s\n'
! 349: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
! 350: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
! 351: test "X$echo_testing_string" = "X$echo_test_string"; then
! 352: # Cool, printf works
! 353: :
! 354: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 355: test "X$echo_testing_string" = 'X\t' &&
! 356: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 357: test "X$echo_testing_string" = "X$echo_test_string"; then
! 358: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
! 359: export CONFIG_SHELL
! 360: SHELL="$CONFIG_SHELL"
! 361: export SHELL
! 362: echo="$CONFIG_SHELL $0 --fallback-echo"
! 363: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
! 364: test "X$echo_testing_string" = 'X\t' &&
! 365: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
! 366: test "X$echo_testing_string" = "X$echo_test_string"; then
! 367: echo="$CONFIG_SHELL $0 --fallback-echo"
! 368: else
! 369: # maybe with a smaller string...
! 370: prev=:
! 371:
! 372: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
! 373: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
! 374: then
! 375: break
! 376: fi
! 377: prev="$cmd"
! 378: done
! 379:
! 380: if test "$prev" != 'sed 50q "$0"'; then
! 381: echo_test_string=`eval $prev`
! 382: export echo_test_string
! 383: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
! 384: else
! 385: # Oops. We lost completely, so just stick with echo.
! 386: echo=echo
! 387: fi
! 388: fi
! 389: fi
! 390: fi
! 391: fi
! 392: fi
! 393:
! 394: # Copy echo and quote the copy suitably for passing to libtool from
! 395: # the Makefile, instead of quoting the original, which is used later.
! 396: ECHO=$echo
! 397: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
! 398: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
! 399: fi
! 400:
! 401:
! 402:
! 403: # Name of the host.
! 404: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 405: # so uname gets run too.
! 406: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 407:
! 408: exec 6>&1
! 409:
! 410: #
! 411: # Initializations.
! 412: #
! 413: ac_default_prefix=/usr/local
! 414: ac_config_libobj_dir=.
! 415: cross_compiling=no
! 416: subdirs=
! 417: MFLAGS=
! 418: MAKEFLAGS=
! 419: SHELL=${CONFIG_SHELL-/bin/sh}
! 420:
! 421: # Maximum number of lines to put in a shell here document.
! 422: # This variable seems obsolete. It should probably be removed, and
! 423: # only ac_max_sed_lines should be used.
! 424: : ${ac_max_here_lines=38}
! 425:
! 426: # Identity of this package.
! 427: PACKAGE_NAME=
! 428: PACKAGE_TARNAME=
! 429: PACKAGE_VERSION=
! 430: PACKAGE_STRING=
! 431: PACKAGE_BUGREPORT=
! 432:
! 433: ac_unique_file="parser3sqlite.C"
! 434: # Factoring default headers for most tests.
! 435: ac_includes_default="\
! 436: #include <stdio.h>
! 437: #if HAVE_SYS_TYPES_H
! 438: # include <sys/types.h>
! 439: #endif
! 440: #if HAVE_SYS_STAT_H
! 441: # include <sys/stat.h>
! 442: #endif
! 443: #if STDC_HEADERS
! 444: # include <stdlib.h>
! 445: # include <stddef.h>
! 446: #else
! 447: # if HAVE_STDLIB_H
! 448: # include <stdlib.h>
! 449: # endif
! 450: #endif
! 451: #if HAVE_STRING_H
! 452: # if !STDC_HEADERS && HAVE_MEMORY_H
! 453: # include <memory.h>
! 454: # endif
! 455: # include <string.h>
! 456: #endif
! 457: #if HAVE_STRINGS_H
! 458: # include <strings.h>
! 459: #endif
! 460: #if HAVE_INTTYPES_H
! 461: # include <inttypes.h>
! 462: #else
! 463: # if HAVE_STDINT_H
! 464: # include <stdint.h>
! 465: # endif
! 466: #endif
! 467: #if HAVE_UNISTD_H
! 468: # include <unistd.h>
! 469: #endif"
! 470:
! 471: ac_subdirs_all="$ac_subdirs_all libltdl"
! 472: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar SQLITE_INC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE INCLTDL LIBLTDL LIBADD_DL build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL subdirs LIBOBJS LTLIBOBJS'
! 473: ac_subst_files=''
! 474:
! 475: # Initialize some variables set by options.
! 476: ac_init_help=
! 477: ac_init_version=false
! 478: # The variables have the same names as the options, with
! 479: # dashes changed to underlines.
! 480: cache_file=/dev/null
! 481: exec_prefix=NONE
! 482: no_create=
! 483: no_recursion=
! 484: prefix=NONE
! 485: program_prefix=NONE
! 486: program_suffix=NONE
! 487: program_transform_name=s,x,x,
! 488: silent=
! 489: site=
! 490: srcdir=
! 491: verbose=
! 492: x_includes=NONE
! 493: x_libraries=NONE
! 494:
! 495: # Installation directory options.
! 496: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 497: # and all the variables that are supposed to be based on exec_prefix
! 498: # by default will actually change.
! 499: # Use braces instead of parens because sh, perl, etc. also accept them.
! 500: bindir='${exec_prefix}/bin'
! 501: sbindir='${exec_prefix}/sbin'
! 502: libexecdir='${exec_prefix}/libexec'
! 503: datadir='${prefix}/share'
! 504: sysconfdir='${prefix}/etc'
! 505: sharedstatedir='${prefix}/com'
! 506: localstatedir='${prefix}/var'
! 507: libdir='${exec_prefix}/lib'
! 508: includedir='${prefix}/include'
! 509: oldincludedir='/usr/include'
! 510: infodir='${prefix}/info'
! 511: mandir='${prefix}/man'
! 512:
! 513: ac_prev=
! 514: for ac_option
! 515: do
! 516: # If the previous option needs an argument, assign it.
! 517: if test -n "$ac_prev"; then
! 518: eval "$ac_prev=\$ac_option"
! 519: ac_prev=
! 520: continue
! 521: fi
! 522:
! 523: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
! 524:
! 525: # Accept the important Cygnus configure options, so we can diagnose typos.
! 526:
! 527: case $ac_option in
! 528:
! 529: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 530: ac_prev=bindir ;;
! 531: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 532: bindir=$ac_optarg ;;
! 533:
! 534: -build | --build | --buil | --bui | --bu)
! 535: ac_prev=build_alias ;;
! 536: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 537: build_alias=$ac_optarg ;;
! 538:
! 539: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 540: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 541: ac_prev=cache_file ;;
! 542: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 543: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 544: cache_file=$ac_optarg ;;
! 545:
! 546: --config-cache | -C)
! 547: cache_file=config.cache ;;
! 548:
! 549: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 550: ac_prev=datadir ;;
! 551: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 552: | --da=*)
! 553: datadir=$ac_optarg ;;
! 554:
! 555: -disable-* | --disable-*)
! 556: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 557: # Reject names that are not valid shell variable names.
! 558: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 559: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 560: { (exit 1); exit 1; }; }
! 561: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 562: eval "enable_$ac_feature=no" ;;
! 563:
! 564: -enable-* | --enable-*)
! 565: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 566: # Reject names that are not valid shell variable names.
! 567: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 568: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 569: { (exit 1); exit 1; }; }
! 570: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 571: case $ac_option in
! 572: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 573: *) ac_optarg=yes ;;
! 574: esac
! 575: eval "enable_$ac_feature='$ac_optarg'" ;;
! 576:
! 577: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 578: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 579: | --exec | --exe | --ex)
! 580: ac_prev=exec_prefix ;;
! 581: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 582: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 583: | --exec=* | --exe=* | --ex=*)
! 584: exec_prefix=$ac_optarg ;;
! 585:
! 586: -gas | --gas | --ga | --g)
! 587: # Obsolete; use --with-gas.
! 588: with_gas=yes ;;
! 589:
! 590: -help | --help | --hel | --he | -h)
! 591: ac_init_help=long ;;
! 592: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 593: ac_init_help=recursive ;;
! 594: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 595: ac_init_help=short ;;
! 596:
! 597: -host | --host | --hos | --ho)
! 598: ac_prev=host_alias ;;
! 599: -host=* | --host=* | --hos=* | --ho=*)
! 600: host_alias=$ac_optarg ;;
! 601:
! 602: -includedir | --includedir | --includedi | --included | --include \
! 603: | --includ | --inclu | --incl | --inc)
! 604: ac_prev=includedir ;;
! 605: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 606: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 607: includedir=$ac_optarg ;;
! 608:
! 609: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 610: ac_prev=infodir ;;
! 611: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 612: infodir=$ac_optarg ;;
! 613:
! 614: -libdir | --libdir | --libdi | --libd)
! 615: ac_prev=libdir ;;
! 616: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 617: libdir=$ac_optarg ;;
! 618:
! 619: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 620: | --libexe | --libex | --libe)
! 621: ac_prev=libexecdir ;;
! 622: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 623: | --libexe=* | --libex=* | --libe=*)
! 624: libexecdir=$ac_optarg ;;
! 625:
! 626: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 627: | --localstate | --localstat | --localsta | --localst \
! 628: | --locals | --local | --loca | --loc | --lo)
! 629: ac_prev=localstatedir ;;
! 630: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 631: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 632: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 633: localstatedir=$ac_optarg ;;
! 634:
! 635: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 636: ac_prev=mandir ;;
! 637: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 638: mandir=$ac_optarg ;;
! 639:
! 640: -nfp | --nfp | --nf)
! 641: # Obsolete; use --without-fp.
! 642: with_fp=no ;;
! 643:
! 644: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 645: | --no-cr | --no-c | -n)
! 646: no_create=yes ;;
! 647:
! 648: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 649: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 650: no_recursion=yes ;;
! 651:
! 652: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 653: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 654: | --oldin | --oldi | --old | --ol | --o)
! 655: ac_prev=oldincludedir ;;
! 656: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 657: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 658: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 659: oldincludedir=$ac_optarg ;;
! 660:
! 661: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 662: ac_prev=prefix ;;
! 663: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 664: prefix=$ac_optarg ;;
! 665:
! 666: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 667: | --program-pre | --program-pr | --program-p)
! 668: ac_prev=program_prefix ;;
! 669: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 670: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 671: program_prefix=$ac_optarg ;;
! 672:
! 673: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 674: | --program-suf | --program-su | --program-s)
! 675: ac_prev=program_suffix ;;
! 676: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 677: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 678: program_suffix=$ac_optarg ;;
! 679:
! 680: -program-transform-name | --program-transform-name \
! 681: | --program-transform-nam | --program-transform-na \
! 682: | --program-transform-n | --program-transform- \
! 683: | --program-transform | --program-transfor \
! 684: | --program-transfo | --program-transf \
! 685: | --program-trans | --program-tran \
! 686: | --progr-tra | --program-tr | --program-t)
! 687: ac_prev=program_transform_name ;;
! 688: -program-transform-name=* | --program-transform-name=* \
! 689: | --program-transform-nam=* | --program-transform-na=* \
! 690: | --program-transform-n=* | --program-transform-=* \
! 691: | --program-transform=* | --program-transfor=* \
! 692: | --program-transfo=* | --program-transf=* \
! 693: | --program-trans=* | --program-tran=* \
! 694: | --progr-tra=* | --program-tr=* | --program-t=*)
! 695: program_transform_name=$ac_optarg ;;
! 696:
! 697: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 698: | -silent | --silent | --silen | --sile | --sil)
! 699: silent=yes ;;
! 700:
! 701: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 702: ac_prev=sbindir ;;
! 703: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 704: | --sbi=* | --sb=*)
! 705: sbindir=$ac_optarg ;;
! 706:
! 707: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 708: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 709: | --sharedst | --shareds | --shared | --share | --shar \
! 710: | --sha | --sh)
! 711: ac_prev=sharedstatedir ;;
! 712: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 713: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 714: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 715: | --sha=* | --sh=*)
! 716: sharedstatedir=$ac_optarg ;;
! 717:
! 718: -site | --site | --sit)
! 719: ac_prev=site ;;
! 720: -site=* | --site=* | --sit=*)
! 721: site=$ac_optarg ;;
! 722:
! 723: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 724: ac_prev=srcdir ;;
! 725: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 726: srcdir=$ac_optarg ;;
! 727:
! 728: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 729: | --syscon | --sysco | --sysc | --sys | --sy)
! 730: ac_prev=sysconfdir ;;
! 731: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 732: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 733: sysconfdir=$ac_optarg ;;
! 734:
! 735: -target | --target | --targe | --targ | --tar | --ta | --t)
! 736: ac_prev=target_alias ;;
! 737: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 738: target_alias=$ac_optarg ;;
! 739:
! 740: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 741: verbose=yes ;;
! 742:
! 743: -version | --version | --versio | --versi | --vers | -V)
! 744: ac_init_version=: ;;
! 745:
! 746: -with-* | --with-*)
! 747: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 748: # Reject names that are not valid shell variable names.
! 749: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 750: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 751: { (exit 1); exit 1; }; }
! 752: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 753: case $ac_option in
! 754: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 755: *) ac_optarg=yes ;;
! 756: esac
! 757: eval "with_$ac_package='$ac_optarg'" ;;
! 758:
! 759: -without-* | --without-*)
! 760: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 761: # Reject names that are not valid shell variable names.
! 762: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 763: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 764: { (exit 1); exit 1; }; }
! 765: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 766: eval "with_$ac_package=no" ;;
! 767:
! 768: --x)
! 769: # Obsolete; use --with-x.
! 770: with_x=yes ;;
! 771:
! 772: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 773: | --x-incl | --x-inc | --x-in | --x-i)
! 774: ac_prev=x_includes ;;
! 775: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 776: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 777: x_includes=$ac_optarg ;;
! 778:
! 779: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 780: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 781: ac_prev=x_libraries ;;
! 782: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 783: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 784: x_libraries=$ac_optarg ;;
! 785:
! 786: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 787: Try \`$0 --help' for more information." >&2
! 788: { (exit 1); exit 1; }; }
! 789: ;;
! 790:
! 791: *=*)
! 792: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 793: # Reject names that are not valid shell variable names.
! 794: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 795: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 796: { (exit 1); exit 1; }; }
! 797: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 798: eval "$ac_envvar='$ac_optarg'"
! 799: export $ac_envvar ;;
! 800:
! 801: *)
! 802: # FIXME: should be removed in autoconf 3.0.
! 803: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 804: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 805: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 806: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 807: ;;
! 808:
! 809: esac
! 810: done
! 811:
! 812: if test -n "$ac_prev"; then
! 813: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 814: { echo "$as_me: error: missing argument to $ac_option" >&2
! 815: { (exit 1); exit 1; }; }
! 816: fi
! 817:
! 818: # Be sure to have absolute paths.
! 819: for ac_var in exec_prefix prefix
! 820: do
! 821: eval ac_val=$`echo $ac_var`
! 822: case $ac_val in
! 823: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 824: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 825: { (exit 1); exit 1; }; };;
! 826: esac
! 827: done
! 828:
! 829: # Be sure to have absolute paths.
! 830: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 831: localstatedir libdir includedir oldincludedir infodir mandir
! 832: do
! 833: eval ac_val=$`echo $ac_var`
! 834: case $ac_val in
! 835: [\\/$]* | ?:[\\/]* ) ;;
! 836: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 837: { (exit 1); exit 1; }; };;
! 838: esac
! 839: done
! 840:
! 841: # There might be people who depend on the old broken behavior: `$host'
! 842: # used to hold the argument of --host etc.
! 843: # FIXME: To remove some day.
! 844: build=$build_alias
! 845: host=$host_alias
! 846: target=$target_alias
! 847:
! 848: # FIXME: To remove some day.
! 849: if test "x$host_alias" != x; then
! 850: if test "x$build_alias" = x; then
! 851: cross_compiling=maybe
! 852: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 853: If a cross compiler is detected then cross compile mode will be used." >&2
! 854: elif test "x$build_alias" != "x$host_alias"; then
! 855: cross_compiling=yes
! 856: fi
! 857: fi
! 858:
! 859: ac_tool_prefix=
! 860: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 861:
! 862: test "$silent" = yes && exec 6>/dev/null
! 863:
! 864:
! 865: # Find the source files, if location was not specified.
! 866: if test -z "$srcdir"; then
! 867: ac_srcdir_defaulted=yes
! 868: # Try the directory containing this script, then its parent.
! 869: ac_confdir=`(dirname "$0") 2>/dev/null ||
! 870: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 871: X"$0" : 'X\(//\)[^/]' \| \
! 872: X"$0" : 'X\(//\)$' \| \
! 873: X"$0" : 'X\(/\)' \| \
! 874: . : '\(.\)' 2>/dev/null ||
! 875: echo X"$0" |
! 876: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 877: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 878: /^X\(\/\/\)$/{ s//\1/; q; }
! 879: /^X\(\/\).*/{ s//\1/; q; }
! 880: s/.*/./; q'`
! 881: srcdir=$ac_confdir
! 882: if test ! -r $srcdir/$ac_unique_file; then
! 883: srcdir=..
! 884: fi
! 885: else
! 886: ac_srcdir_defaulted=no
! 887: fi
! 888: if test ! -r $srcdir/$ac_unique_file; then
! 889: if test "$ac_srcdir_defaulted" = yes; then
! 890: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 891: { (exit 1); exit 1; }; }
! 892: else
! 893: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 894: { (exit 1); exit 1; }; }
! 895: fi
! 896: fi
! 897: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
! 898: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
! 899: { (exit 1); exit 1; }; }
! 900: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 901: ac_env_build_alias_set=${build_alias+set}
! 902: ac_env_build_alias_value=$build_alias
! 903: ac_cv_env_build_alias_set=${build_alias+set}
! 904: ac_cv_env_build_alias_value=$build_alias
! 905: ac_env_host_alias_set=${host_alias+set}
! 906: ac_env_host_alias_value=$host_alias
! 907: ac_cv_env_host_alias_set=${host_alias+set}
! 908: ac_cv_env_host_alias_value=$host_alias
! 909: ac_env_target_alias_set=${target_alias+set}
! 910: ac_env_target_alias_value=$target_alias
! 911: ac_cv_env_target_alias_set=${target_alias+set}
! 912: ac_cv_env_target_alias_value=$target_alias
! 913: ac_env_CXX_set=${CXX+set}
! 914: ac_env_CXX_value=$CXX
! 915: ac_cv_env_CXX_set=${CXX+set}
! 916: ac_cv_env_CXX_value=$CXX
! 917: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
! 918: ac_env_CXXFLAGS_value=$CXXFLAGS
! 919: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
! 920: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
! 921: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 922: ac_env_LDFLAGS_value=$LDFLAGS
! 923: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 924: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 925: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 926: ac_env_CPPFLAGS_value=$CPPFLAGS
! 927: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 928: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 929: ac_env_CC_set=${CC+set}
! 930: ac_env_CC_value=$CC
! 931: ac_cv_env_CC_set=${CC+set}
! 932: ac_cv_env_CC_value=$CC
! 933: ac_env_CFLAGS_set=${CFLAGS+set}
! 934: ac_env_CFLAGS_value=$CFLAGS
! 935: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 936: ac_cv_env_CFLAGS_value=$CFLAGS
! 937: ac_env_CPP_set=${CPP+set}
! 938: ac_env_CPP_value=$CPP
! 939: ac_cv_env_CPP_set=${CPP+set}
! 940: ac_cv_env_CPP_value=$CPP
! 941:
! 942: #
! 943: # Report the --help message.
! 944: #
! 945: if test "$ac_init_help" = "long"; then
! 946: # Omit some internal or obsolete options to make the list less imposing.
! 947: # This message is too long to be a string in the A/UX 3.1 sh.
! 948: cat <<_ACEOF
! 949: \`configure' configures this package to adapt to many kinds of systems.
! 950:
! 951: Usage: $0 [OPTION]... [VAR=VALUE]...
! 952:
! 953: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 954: VAR=VALUE. See below for descriptions of some of the useful variables.
! 955:
! 956: Defaults for the options are specified in brackets.
! 957:
! 958: Configuration:
! 959: -h, --help display this help and exit
! 960: --help=short display options specific to this package
! 961: --help=recursive display the short help of all the included packages
! 962: -V, --version display version information and exit
! 963: -q, --quiet, --silent do not print \`checking...' messages
! 964: --cache-file=FILE cache test results in FILE [disabled]
! 965: -C, --config-cache alias for \`--cache-file=config.cache'
! 966: -n, --no-create do not create output files
! 967: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 968:
! 969: _ACEOF
! 970:
! 971: cat <<_ACEOF
! 972: Installation directories:
! 973: --prefix=PREFIX install architecture-independent files in PREFIX
! 974: [$ac_default_prefix]
! 975: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 976: [PREFIX]
! 977:
! 978: By default, \`make install' will install all the files in
! 979: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 980: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 981: for instance \`--prefix=\$HOME'.
! 982:
! 983: For better control, use the options below.
! 984:
! 985: Fine tuning of the installation directories:
! 986: --bindir=DIR user executables [EPREFIX/bin]
! 987: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 988: --libexecdir=DIR program executables [EPREFIX/libexec]
! 989: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 990: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 991: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 992: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 993: --libdir=DIR object code libraries [EPREFIX/lib]
! 994: --includedir=DIR C header files [PREFIX/include]
! 995: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 996: --infodir=DIR info documentation [PREFIX/info]
! 997: --mandir=DIR man documentation [PREFIX/man]
! 998: _ACEOF
! 999:
! 1000: cat <<\_ACEOF
! 1001:
! 1002: Program names:
! 1003: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1004: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1005: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1006:
! 1007: System types:
! 1008: --build=BUILD configure for building on BUILD [guessed]
! 1009: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1010: _ACEOF
! 1011: fi
! 1012:
! 1013: if test -n "$ac_init_help"; then
! 1014:
! 1015: cat <<\_ACEOF
! 1016:
! 1017: Optional Features:
! 1018: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1019: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1020: --disable-dependency-tracking speeds up one-time build
! 1021: --enable-dependency-tracking do not reject slow dependency extractors
! 1022: --enable-static=PKGS build static libraries default=no
! 1023: --enable-shared=PKGS build shared libraries default=yes
! 1024: --enable-fast-install=PKGS optimize for fast installation default=yes
! 1025: --disable-libtool-lock avoid locking (might break parallel builds)
! 1026:
! 1027: Optional Packages:
! 1028: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1029: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1030: --with-sqlite-inc=DIR DIR is the SQLite includes directory
! 1031: --with-gnu-ld assume the C compiler uses GNU ld default=no
! 1032: --with-pic try to use only PIC/non-PIC objects default=use both
! 1033:
! 1034: Some influential environment variables:
! 1035: CXX C++ compiler command
! 1036: CXXFLAGS C++ compiler flags
! 1037: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1038: nonstandard directory <lib dir>
! 1039: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 1040: headers in a nonstandard directory <include dir>
! 1041: CC C compiler command
! 1042: CFLAGS C compiler flags
! 1043: CPP C preprocessor
! 1044:
! 1045: Use these variables to override the choices made by `configure' or to help
! 1046: it to find libraries and programs with nonstandard names/locations.
! 1047:
! 1048: _ACEOF
! 1049: fi
! 1050:
! 1051: if test "$ac_init_help" = "recursive"; then
! 1052: # If there are subdirs, report their specific --help.
! 1053: ac_popdir=`pwd`
! 1054: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1055: test -d $ac_dir || continue
! 1056: ac_builddir=.
! 1057:
! 1058: if test "$ac_dir" != .; then
! 1059: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 1060: # A "../" for each directory in $ac_dir_suffix.
! 1061: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 1062: else
! 1063: ac_dir_suffix= ac_top_builddir=
! 1064: fi
! 1065:
! 1066: case $srcdir in
! 1067: .) # No --srcdir option. We are building in place.
! 1068: ac_srcdir=.
! 1069: if test -z "$ac_top_builddir"; then
! 1070: ac_top_srcdir=.
! 1071: else
! 1072: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 1073: fi ;;
! 1074: [\\/]* | ?:[\\/]* ) # Absolute path.
! 1075: ac_srcdir=$srcdir$ac_dir_suffix;
! 1076: ac_top_srcdir=$srcdir ;;
! 1077: *) # Relative path.
! 1078: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 1079: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 1080: esac
! 1081:
! 1082: # Do not use `cd foo && pwd` to compute absolute paths, because
! 1083: # the directories may not exist.
! 1084: case `pwd` in
! 1085: .) ac_abs_builddir="$ac_dir";;
! 1086: *)
! 1087: case "$ac_dir" in
! 1088: .) ac_abs_builddir=`pwd`;;
! 1089: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 1090: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 1091: esac;;
! 1092: esac
! 1093: case $ac_abs_builddir in
! 1094: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 1095: *)
! 1096: case ${ac_top_builddir}. in
! 1097: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 1098: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 1099: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 1100: esac;;
! 1101: esac
! 1102: case $ac_abs_builddir in
! 1103: .) ac_abs_srcdir=$ac_srcdir;;
! 1104: *)
! 1105: case $ac_srcdir in
! 1106: .) ac_abs_srcdir=$ac_abs_builddir;;
! 1107: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 1108: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 1109: esac;;
! 1110: esac
! 1111: case $ac_abs_builddir in
! 1112: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 1113: *)
! 1114: case $ac_top_srcdir in
! 1115: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 1116: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 1117: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 1118: esac;;
! 1119: esac
! 1120:
! 1121: cd $ac_dir
! 1122: # Check for guested configure; otherwise get Cygnus style configure.
! 1123: if test -f $ac_srcdir/configure.gnu; then
! 1124: echo
! 1125: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 1126: elif test -f $ac_srcdir/configure; then
! 1127: echo
! 1128: $SHELL $ac_srcdir/configure --help=recursive
! 1129: elif test -f $ac_srcdir/configure.ac ||
! 1130: test -f $ac_srcdir/configure.in; then
! 1131: echo
! 1132: $ac_configure --help
! 1133: else
! 1134: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1135: fi
! 1136: cd $ac_popdir
! 1137: done
! 1138: fi
! 1139:
! 1140: test -n "$ac_init_help" && exit 0
! 1141: if $ac_init_version; then
! 1142: cat <<\_ACEOF
! 1143:
! 1144: Copyright (C) 2003 Free Software Foundation, Inc.
! 1145: This configure script is free software; the Free Software Foundation
! 1146: gives unlimited permission to copy, distribute and modify it.
! 1147: _ACEOF
! 1148: exit 0
! 1149: fi
! 1150: exec 5>config.log
! 1151: cat >&5 <<_ACEOF
! 1152: This file contains any messages produced by compilers while
! 1153: running configure, to aid debugging if configure makes a mistake.
! 1154:
! 1155: It was created by $as_me, which was
! 1156: generated by GNU Autoconf 2.59. Invocation command line was
! 1157:
! 1158: $ $0 $@
! 1159:
! 1160: _ACEOF
! 1161: {
! 1162: cat <<_ASUNAME
! 1163: ## --------- ##
! 1164: ## Platform. ##
! 1165: ## --------- ##
! 1166:
! 1167: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1168: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1169: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1170: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1171: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1172:
! 1173: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1174: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1175:
! 1176: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1177: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1178: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1179: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 1180: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1181: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1182: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1183:
! 1184: _ASUNAME
! 1185:
! 1186: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1187: for as_dir in $PATH
! 1188: do
! 1189: IFS=$as_save_IFS
! 1190: test -z "$as_dir" && as_dir=.
! 1191: echo "PATH: $as_dir"
! 1192: done
! 1193:
! 1194: } >&5
! 1195:
! 1196: cat >&5 <<_ACEOF
! 1197:
! 1198:
! 1199: ## ----------- ##
! 1200: ## Core tests. ##
! 1201: ## ----------- ##
! 1202:
! 1203: _ACEOF
! 1204:
! 1205:
! 1206: # Keep a trace of the command line.
! 1207: # Strip out --no-create and --no-recursion so they do not pile up.
! 1208: # Strip out --silent because we don't want to record it for future runs.
! 1209: # Also quote any args containing shell meta-characters.
! 1210: # Make two passes to allow for proper duplicate-argument suppression.
! 1211: ac_configure_args=
! 1212: ac_configure_args0=
! 1213: ac_configure_args1=
! 1214: ac_sep=
! 1215: ac_must_keep_next=false
! 1216: for ac_pass in 1 2
! 1217: do
! 1218: for ac_arg
! 1219: do
! 1220: case $ac_arg in
! 1221: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1222: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1223: | -silent | --silent | --silen | --sile | --sil)
! 1224: continue ;;
! 1225: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1226: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1227: esac
! 1228: case $ac_pass in
! 1229: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1230: 2)
! 1231: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1232: if test $ac_must_keep_next = true; then
! 1233: ac_must_keep_next=false # Got value, back to normal.
! 1234: else
! 1235: case $ac_arg in
! 1236: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1237: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1238: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1239: | -with-* | --with-* | -without-* | --without-* | --x)
! 1240: case "$ac_configure_args0 " in
! 1241: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1242: esac
! 1243: ;;
! 1244: -* ) ac_must_keep_next=true ;;
! 1245: esac
! 1246: fi
! 1247: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 1248: # Get rid of the leading space.
! 1249: ac_sep=" "
! 1250: ;;
! 1251: esac
! 1252: done
! 1253: done
! 1254: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1255: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1256:
! 1257: # When interrupted or exit'd, cleanup temporary files, and complete
! 1258: # config.log. We remove comments because anyway the quotes in there
! 1259: # would cause problems or look ugly.
! 1260: # WARNING: Be sure not to use single quotes in there, as some shells,
! 1261: # such as our DU 5.0 friend, will then `close' the trap.
! 1262: trap 'exit_status=$?
! 1263: # Save into config.log some information that might help in debugging.
! 1264: {
! 1265: echo
! 1266:
! 1267: cat <<\_ASBOX
! 1268: ## ---------------- ##
! 1269: ## Cache variables. ##
! 1270: ## ---------------- ##
! 1271: _ASBOX
! 1272: echo
! 1273: # The following way of writing the cache mishandles newlines in values,
! 1274: {
! 1275: (set) 2>&1 |
! 1276: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 1277: *ac_space=\ *)
! 1278: sed -n \
! 1279: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 1280: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 1281: ;;
! 1282: *)
! 1283: sed -n \
! 1284: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 1285: ;;
! 1286: esac;
! 1287: }
! 1288: echo
! 1289:
! 1290: cat <<\_ASBOX
! 1291: ## ----------------- ##
! 1292: ## Output variables. ##
! 1293: ## ----------------- ##
! 1294: _ASBOX
! 1295: echo
! 1296: for ac_var in $ac_subst_vars
! 1297: do
! 1298: eval ac_val=$`echo $ac_var`
! 1299: echo "$ac_var='"'"'$ac_val'"'"'"
! 1300: done | sort
! 1301: echo
! 1302:
! 1303: if test -n "$ac_subst_files"; then
! 1304: cat <<\_ASBOX
! 1305: ## ------------- ##
! 1306: ## Output files. ##
! 1307: ## ------------- ##
! 1308: _ASBOX
! 1309: echo
! 1310: for ac_var in $ac_subst_files
! 1311: do
! 1312: eval ac_val=$`echo $ac_var`
! 1313: echo "$ac_var='"'"'$ac_val'"'"'"
! 1314: done | sort
! 1315: echo
! 1316: fi
! 1317:
! 1318: if test -s confdefs.h; then
! 1319: cat <<\_ASBOX
! 1320: ## ----------- ##
! 1321: ## confdefs.h. ##
! 1322: ## ----------- ##
! 1323: _ASBOX
! 1324: echo
! 1325: sed "/^$/d" confdefs.h | sort
! 1326: echo
! 1327: fi
! 1328: test "$ac_signal" != 0 &&
! 1329: echo "$as_me: caught signal $ac_signal"
! 1330: echo "$as_me: exit $exit_status"
! 1331: } >&5
! 1332: rm -f core *.core &&
! 1333: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1334: exit $exit_status
! 1335: ' 0
! 1336: for ac_signal in 1 2 13 15; do
! 1337: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1338: done
! 1339: ac_signal=0
! 1340:
! 1341: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1342: rm -rf conftest* confdefs.h
! 1343: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1344: echo >confdefs.h
! 1345:
! 1346: # Predefined preprocessor variables.
! 1347:
! 1348: cat >>confdefs.h <<_ACEOF
! 1349: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1350: _ACEOF
! 1351:
! 1352:
! 1353: cat >>confdefs.h <<_ACEOF
! 1354: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1355: _ACEOF
! 1356:
! 1357:
! 1358: cat >>confdefs.h <<_ACEOF
! 1359: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1360: _ACEOF
! 1361:
! 1362:
! 1363: cat >>confdefs.h <<_ACEOF
! 1364: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1365: _ACEOF
! 1366:
! 1367:
! 1368: cat >>confdefs.h <<_ACEOF
! 1369: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1370: _ACEOF
! 1371:
! 1372:
! 1373: # Let the site file select an alternate cache file if it wants to.
! 1374: # Prefer explicitly selected file to automatically selected ones.
! 1375: if test -z "$CONFIG_SITE"; then
! 1376: if test "x$prefix" != xNONE; then
! 1377: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 1378: else
! 1379: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 1380: fi
! 1381: fi
! 1382: for ac_site_file in $CONFIG_SITE; do
! 1383: if test -r "$ac_site_file"; then
! 1384: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1385: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1386: sed 's/^/| /' "$ac_site_file" >&5
! 1387: . "$ac_site_file"
! 1388: fi
! 1389: done
! 1390:
! 1391: if test -r "$cache_file"; then
! 1392: # Some versions of bash will fail to source /dev/null (special
! 1393: # files actually), so we avoid doing that.
! 1394: if test -f "$cache_file"; then
! 1395: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1396: echo "$as_me: loading cache $cache_file" >&6;}
! 1397: case $cache_file in
! 1398: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1399: *) . ./$cache_file;;
! 1400: esac
! 1401: fi
! 1402: else
! 1403: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1404: echo "$as_me: creating cache $cache_file" >&6;}
! 1405: >$cache_file
! 1406: fi
! 1407:
! 1408: # Check that the precious variables saved in the cache have kept the same
! 1409: # value.
! 1410: ac_cache_corrupted=false
! 1411: for ac_var in `(set) 2>&1 |
! 1412: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1413: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1414: eval ac_new_set=\$ac_env_${ac_var}_set
! 1415: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1416: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1417: case $ac_old_set,$ac_new_set in
! 1418: set,)
! 1419: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1420: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1421: ac_cache_corrupted=: ;;
! 1422: ,set)
! 1423: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1424: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1425: ac_cache_corrupted=: ;;
! 1426: ,);;
! 1427: *)
! 1428: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1429: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1430: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1431: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1432: echo "$as_me: former value: $ac_old_val" >&2;}
! 1433: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1434: echo "$as_me: current value: $ac_new_val" >&2;}
! 1435: ac_cache_corrupted=:
! 1436: fi;;
! 1437: esac
! 1438: # Pass precious variables to config.status.
! 1439: if test "$ac_new_set" = set; then
! 1440: case $ac_new_val in
! 1441: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1442: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1443: *) ac_arg=$ac_var=$ac_new_val ;;
! 1444: esac
! 1445: case " $ac_configure_args " in
! 1446: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1447: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1448: esac
! 1449: fi
! 1450: done
! 1451: if $ac_cache_corrupted; then
! 1452: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1453: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1454: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1455: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1456: { (exit 1); exit 1; }; }
! 1457: fi
! 1458:
! 1459: ac_ext=c
! 1460: ac_cpp='$CPP $CPPFLAGS'
! 1461: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1462: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1463: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1464:
! 1465:
! 1466:
! 1467:
! 1468:
! 1469:
! 1470:
! 1471:
! 1472:
! 1473:
! 1474:
! 1475:
! 1476:
! 1477:
! 1478:
! 1479:
! 1480:
! 1481:
! 1482:
! 1483:
! 1484:
! 1485: am__api_version="1.9"
! 1486: ac_aux_dir=
! 1487: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
! 1488: if test -f $ac_dir/install-sh; then
! 1489: ac_aux_dir=$ac_dir
! 1490: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1491: break
! 1492: elif test -f $ac_dir/install.sh; then
! 1493: ac_aux_dir=$ac_dir
! 1494: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1495: break
! 1496: elif test -f $ac_dir/shtool; then
! 1497: ac_aux_dir=$ac_dir
! 1498: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1499: break
! 1500: fi
! 1501: done
! 1502: if test -z "$ac_aux_dir"; then
! 1503: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
! 1504: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
! 1505: { (exit 1); exit 1; }; }
! 1506: fi
! 1507: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1508: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1509: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
! 1510:
! 1511: # Find a good install program. We prefer a C program (faster),
! 1512: # so one script is as good as another. But avoid the broken or
! 1513: # incompatible versions:
! 1514: # SysV /etc/install, /usr/sbin/install
! 1515: # SunOS /usr/etc/install
! 1516: # IRIX /sbin/install
! 1517: # AIX /bin/install
! 1518: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 1519: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 1520: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 1521: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 1522: # OS/2's system install, which has a completely different semantic
! 1523: # ./install, which can be erroneously created by make from ./install.sh.
! 1524: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 1525: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
! 1526: if test -z "$INSTALL"; then
! 1527: if test "${ac_cv_path_install+set}" = set; then
! 1528: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1529: else
! 1530: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1531: for as_dir in $PATH
! 1532: do
! 1533: IFS=$as_save_IFS
! 1534: test -z "$as_dir" && as_dir=.
! 1535: # Account for people who put trailing slashes in PATH elements.
! 1536: case $as_dir/ in
! 1537: ./ | .// | /cC/* | \
! 1538: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 1539: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 1540: /usr/ucb/* ) ;;
! 1541: *)
! 1542: # OSF1 and SCO ODT 3.0 have their own names for install.
! 1543: # Don't use installbsd from OSF since it installs stuff as root
! 1544: # by default.
! 1545: for ac_prog in ginstall scoinst install; do
! 1546: for ac_exec_ext in '' $ac_executable_extensions; do
! 1547: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 1548: if test $ac_prog = install &&
! 1549: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1550: # AIX install. It has an incompatible calling convention.
! 1551: :
! 1552: elif test $ac_prog = install &&
! 1553: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1554: # program-specific install script used by HP pwplus--don't use.
! 1555: :
! 1556: else
! 1557: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 1558: break 3
! 1559: fi
! 1560: fi
! 1561: done
! 1562: done
! 1563: ;;
! 1564: esac
! 1565: done
! 1566:
! 1567:
! 1568: fi
! 1569: if test "${ac_cv_path_install+set}" = set; then
! 1570: INSTALL=$ac_cv_path_install
! 1571: else
! 1572: # As a last resort, use the slow shell script. We don't cache a
! 1573: # path for INSTALL within a source directory, because that will
! 1574: # break other packages using the cache if that directory is
! 1575: # removed, or if the path is relative.
! 1576: INSTALL=$ac_install_sh
! 1577: fi
! 1578: fi
! 1579: echo "$as_me:$LINENO: result: $INSTALL" >&5
! 1580: echo "${ECHO_T}$INSTALL" >&6
! 1581:
! 1582: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 1583: # It thinks the first close brace ends the variable substitution.
! 1584: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 1585:
! 1586: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 1587:
! 1588: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 1589:
! 1590: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 1591: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
! 1592: # Just in case
! 1593: sleep 1
! 1594: echo timestamp > conftest.file
! 1595: # Do `set' in a subshell so we don't clobber the current shell's
! 1596: # arguments. Must try -L first in case configure is actually a
! 1597: # symlink; some systems play weird games with the mod time of symlinks
! 1598: # (eg FreeBSD returns the mod time of the symlink's containing
! 1599: # directory).
! 1600: if (
! 1601: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 1602: if test "$*" = "X"; then
! 1603: # -L didn't work.
! 1604: set X `ls -t $srcdir/configure conftest.file`
! 1605: fi
! 1606: rm -f conftest.file
! 1607: if test "$*" != "X $srcdir/configure conftest.file" \
! 1608: && test "$*" != "X conftest.file $srcdir/configure"; then
! 1609:
! 1610: # If neither matched, then we have a broken ls. This can happen
! 1611: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 1612: # broken ls alias from the environment. This has actually
! 1613: # happened. Such a system could not be considered "sane".
! 1614: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 1615: alias in your environment" >&5
! 1616: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 1617: alias in your environment" >&2;}
! 1618: { (exit 1); exit 1; }; }
! 1619: fi
! 1620:
! 1621: test "$2" = conftest.file
! 1622: )
! 1623: then
! 1624: # Ok.
! 1625: :
! 1626: else
! 1627: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 1628: Check your system clock" >&5
! 1629: echo "$as_me: error: newly created file is older than distributed files!
! 1630: Check your system clock" >&2;}
! 1631: { (exit 1); exit 1; }; }
! 1632: fi
! 1633: echo "$as_me:$LINENO: result: yes" >&5
! 1634: echo "${ECHO_T}yes" >&6
! 1635: test "$program_prefix" != NONE &&
! 1636: program_transform_name="s,^,$program_prefix,;$program_transform_name"
! 1637: # Use a double $ so make ignores it.
! 1638: test "$program_suffix" != NONE &&
! 1639: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
! 1640: # Double any \ or $. echo might interpret backslashes.
! 1641: # By default was `s,x,x', remove it if useless.
! 1642: cat <<\_ACEOF >conftest.sed
! 1643: s/[\\$]/&&/g;s/;s,x,x,$//
! 1644: _ACEOF
! 1645: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! 1646: rm conftest.sed
! 1647:
! 1648: # expand $ac_aux_dir to an absolute path
! 1649: am_aux_dir=`cd $ac_aux_dir && pwd`
! 1650:
! 1651: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 1652: # Use eval to expand $SHELL
! 1653: if eval "$MISSING --run true"; then
! 1654: am_missing_run="$MISSING --run "
! 1655: else
! 1656: am_missing_run=
! 1657: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 1658: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 1659: fi
! 1660:
! 1661: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
! 1662: # We used to keeping the `.' as first argument, in order to
! 1663: # allow $(mkdir_p) to be used without argument. As in
! 1664: # $(mkdir_p) $(somedir)
! 1665: # where $(somedir) is conditionally defined. However this is wrong
! 1666: # for two reasons:
! 1667: # 1. if the package is installed by a user who cannot write `.'
! 1668: # make install will fail,
! 1669: # 2. the above comment should most certainly read
! 1670: # $(mkdir_p) $(DESTDIR)$(somedir)
! 1671: # so it does not work when $(somedir) is undefined and
! 1672: # $(DESTDIR) is not.
! 1673: # To support the latter case, we have to write
! 1674: # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
! 1675: # so the `.' trick is pointless.
! 1676: mkdir_p='mkdir -p --'
! 1677: else
! 1678: # On NextStep and OpenStep, the `mkdir' command does not
! 1679: # recognize any option. It will interpret all options as
! 1680: # directories to create, and then abort because `.' already
! 1681: # exists.
! 1682: for d in ./-p ./--version;
! 1683: do
! 1684: test -d $d && rmdir $d
! 1685: done
! 1686: # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
! 1687: if test -f "$ac_aux_dir/mkinstalldirs"; then
! 1688: mkdir_p='$(mkinstalldirs)'
! 1689: else
! 1690: mkdir_p='$(install_sh) -d'
! 1691: fi
! 1692: fi
! 1693:
! 1694: for ac_prog in gawk mawk nawk awk
! 1695: do
! 1696: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1697: set dummy $ac_prog; ac_word=$2
! 1698: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1699: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1700: if test "${ac_cv_prog_AWK+set}" = set; then
! 1701: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1702: else
! 1703: if test -n "$AWK"; then
! 1704: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 1705: else
! 1706: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1707: for as_dir in $PATH
! 1708: do
! 1709: IFS=$as_save_IFS
! 1710: test -z "$as_dir" && as_dir=.
! 1711: for ac_exec_ext in '' $ac_executable_extensions; do
! 1712: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1713: ac_cv_prog_AWK="$ac_prog"
! 1714: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1715: break 2
! 1716: fi
! 1717: done
! 1718: done
! 1719:
! 1720: fi
! 1721: fi
! 1722: AWK=$ac_cv_prog_AWK
! 1723: if test -n "$AWK"; then
! 1724: echo "$as_me:$LINENO: result: $AWK" >&5
! 1725: echo "${ECHO_T}$AWK" >&6
! 1726: else
! 1727: echo "$as_me:$LINENO: result: no" >&5
! 1728: echo "${ECHO_T}no" >&6
! 1729: fi
! 1730:
! 1731: test -n "$AWK" && break
! 1732: done
! 1733:
! 1734: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 1735: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
! 1736: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
! 1737: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 1738: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1739: else
! 1740: cat >conftest.make <<\_ACEOF
! 1741: all:
! 1742: @echo 'ac_maketemp="$(MAKE)"'
! 1743: _ACEOF
! 1744: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 1745: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! 1746: if test -n "$ac_maketemp"; then
! 1747: eval ac_cv_prog_make_${ac_make}_set=yes
! 1748: else
! 1749: eval ac_cv_prog_make_${ac_make}_set=no
! 1750: fi
! 1751: rm -f conftest.make
! 1752: fi
! 1753: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 1754: echo "$as_me:$LINENO: result: yes" >&5
! 1755: echo "${ECHO_T}yes" >&6
! 1756: SET_MAKE=
! 1757: else
! 1758: echo "$as_me:$LINENO: result: no" >&5
! 1759: echo "${ECHO_T}no" >&6
! 1760: SET_MAKE="MAKE=${MAKE-make}"
! 1761: fi
! 1762:
! 1763: rm -rf .tst 2>/dev/null
! 1764: mkdir .tst 2>/dev/null
! 1765: if test -d .tst; then
! 1766: am__leading_dot=.
! 1767: else
! 1768: am__leading_dot=_
! 1769: fi
! 1770: rmdir .tst 2>/dev/null
! 1771:
! 1772: # test to see if srcdir already configured
! 1773: if test "`cd $srcdir && pwd`" != "`pwd`" &&
! 1774: test -f $srcdir/config.status; then
! 1775: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 1776: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 1777: { (exit 1); exit 1; }; }
! 1778: fi
! 1779:
! 1780: # test whether we have cygpath
! 1781: if test -z "$CYGPATH_W"; then
! 1782: if (cygpath --version) >/dev/null 2>/dev/null; then
! 1783: CYGPATH_W='cygpath -w'
! 1784: else
! 1785: CYGPATH_W=echo
! 1786: fi
! 1787: fi
! 1788:
! 1789:
! 1790: # Define the identity of the package.
! 1791: PACKAGE=parser3sqlite
! 1792: VERSION=9.0
! 1793:
! 1794:
! 1795: # Some tools Automake needs.
! 1796:
! 1797: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 1798:
! 1799:
! 1800: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 1801:
! 1802:
! 1803: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 1804:
! 1805:
! 1806: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 1807:
! 1808:
! 1809: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 1810:
! 1811: install_sh=${install_sh-"$am_aux_dir/install-sh"}
! 1812:
! 1813: # Installed binaries are usually stripped using `strip' when the user
! 1814: # run `make install-strip'. However `strip' might not be the right
! 1815: # tool to use in cross-compilation environments, therefore Automake
! 1816: # will honor the `STRIP' environment variable to overrule this program.
! 1817: if test "$cross_compiling" != no; then
! 1818: if test -n "$ac_tool_prefix"; then
! 1819: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 1820: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 1821: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1822: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1823: if test "${ac_cv_prog_STRIP+set}" = set; then
! 1824: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1825: else
! 1826: if test -n "$STRIP"; then
! 1827: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 1828: else
! 1829: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1830: for as_dir in $PATH
! 1831: do
! 1832: IFS=$as_save_IFS
! 1833: test -z "$as_dir" && as_dir=.
! 1834: for ac_exec_ext in '' $ac_executable_extensions; do
! 1835: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1836: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 1837: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1838: break 2
! 1839: fi
! 1840: done
! 1841: done
! 1842:
! 1843: fi
! 1844: fi
! 1845: STRIP=$ac_cv_prog_STRIP
! 1846: if test -n "$STRIP"; then
! 1847: echo "$as_me:$LINENO: result: $STRIP" >&5
! 1848: echo "${ECHO_T}$STRIP" >&6
! 1849: else
! 1850: echo "$as_me:$LINENO: result: no" >&5
! 1851: echo "${ECHO_T}no" >&6
! 1852: fi
! 1853:
! 1854: fi
! 1855: if test -z "$ac_cv_prog_STRIP"; then
! 1856: ac_ct_STRIP=$STRIP
! 1857: # Extract the first word of "strip", so it can be a program name with args.
! 1858: set dummy strip; ac_word=$2
! 1859: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1860: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1861: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 1862: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1863: else
! 1864: if test -n "$ac_ct_STRIP"; then
! 1865: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 1866: else
! 1867: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1868: for as_dir in $PATH
! 1869: do
! 1870: IFS=$as_save_IFS
! 1871: test -z "$as_dir" && as_dir=.
! 1872: for ac_exec_ext in '' $ac_executable_extensions; do
! 1873: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1874: ac_cv_prog_ac_ct_STRIP="strip"
! 1875: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1876: break 2
! 1877: fi
! 1878: done
! 1879: done
! 1880:
! 1881: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 1882: fi
! 1883: fi
! 1884: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 1885: if test -n "$ac_ct_STRIP"; then
! 1886: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 1887: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 1888: else
! 1889: echo "$as_me:$LINENO: result: no" >&5
! 1890: echo "${ECHO_T}no" >&6
! 1891: fi
! 1892:
! 1893: STRIP=$ac_ct_STRIP
! 1894: else
! 1895: STRIP="$ac_cv_prog_STRIP"
! 1896: fi
! 1897:
! 1898: fi
! 1899: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 1900:
! 1901: # We need awk for the "check" target. The system "awk" is bad on
! 1902: # some platforms.
! 1903: # Always define AMTAR for backward compatibility.
! 1904:
! 1905: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 1906:
! 1907: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 1908:
! 1909:
! 1910:
! 1911:
! 1912:
! 1913:
! 1914: ac_config_headers="$ac_config_headers config_auto.h"
! 1915:
! 1916:
! 1917:
! 1918:
! 1919:
! 1920:
! 1921:
! 1922:
! 1923: # Check whether --with-sqlite-inc or --without-sqlite-inc was given.
! 1924: if test "${with_sqlite_inc+set}" = set; then
! 1925: withval="$with_sqlite_inc"
! 1926:
! 1927: if test -r "$withval/sqlite3.h"; then
! 1928: SQLITE_INC=$withval
! 1929: fi
! 1930:
! 1931:
! 1932: if test -z "$SQLITE_INC"; then
! 1933: { { echo "$as_me:$LINENO: error: $SQLITE_INC does not seem to be valid SQLite includes directory" >&5
! 1934: echo "$as_me: error: $SQLITE_INC does not seem to be valid SQLite includes directory" >&2;}
! 1935: { (exit 1); exit 1; }; }
! 1936: fi
! 1937:
! 1938: else
! 1939: echo "$as_me:$LINENO: checking for SQLITE_INC directory" >&5
! 1940: echo $ECHO_N "checking for SQLITE_INC directory... $ECHO_C" >&6
! 1941: for d in \
! 1942: /usr/local/include/sqlite \
! 1943: /usr/include/sqlite ; do
! 1944:
! 1945: if test -r "$d/sqlite3.h"; then
! 1946: SQLITE_INC=$d
! 1947: fi
! 1948:
! 1949: done
! 1950:
! 1951: if test -z "$SQLITE_INC"; then
! 1952: { { echo "$as_me:$LINENO: error: use --with-sqlite-inc=DIR to specify SQLite includes directory" >&5
! 1953: echo "$as_me: error: use --with-sqlite-inc=DIR to specify SQLite includes directory" >&2;}
! 1954: { (exit 1); exit 1; }; }
! 1955: fi
! 1956:
! 1957: echo "$as_me:$LINENO: result: $SQLITE_INC" >&5
! 1958: echo "${ECHO_T}$SQLITE_INC" >&6
! 1959:
! 1960: fi;
! 1961:
! 1962:
! 1963:
! 1964:
! 1965:
! 1966: # Find a good install program. We prefer a C program (faster),
! 1967: # so one script is as good as another. But avoid the broken or
! 1968: # incompatible versions:
! 1969: # SysV /etc/install, /usr/sbin/install
! 1970: # SunOS /usr/etc/install
! 1971: # IRIX /sbin/install
! 1972: # AIX /bin/install
! 1973: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 1974: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 1975: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 1976: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 1977: # OS/2's system install, which has a completely different semantic
! 1978: # ./install, which can be erroneously created by make from ./install.sh.
! 1979: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 1980: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
! 1981: if test -z "$INSTALL"; then
! 1982: if test "${ac_cv_path_install+set}" = set; then
! 1983: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1984: else
! 1985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1986: for as_dir in $PATH
! 1987: do
! 1988: IFS=$as_save_IFS
! 1989: test -z "$as_dir" && as_dir=.
! 1990: # Account for people who put trailing slashes in PATH elements.
! 1991: case $as_dir/ in
! 1992: ./ | .// | /cC/* | \
! 1993: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 1994: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 1995: /usr/ucb/* ) ;;
! 1996: *)
! 1997: # OSF1 and SCO ODT 3.0 have their own names for install.
! 1998: # Don't use installbsd from OSF since it installs stuff as root
! 1999: # by default.
! 2000: for ac_prog in ginstall scoinst install; do
! 2001: for ac_exec_ext in '' $ac_executable_extensions; do
! 2002: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 2003: if test $ac_prog = install &&
! 2004: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2005: # AIX install. It has an incompatible calling convention.
! 2006: :
! 2007: elif test $ac_prog = install &&
! 2008: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2009: # program-specific install script used by HP pwplus--don't use.
! 2010: :
! 2011: else
! 2012: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2013: break 3
! 2014: fi
! 2015: fi
! 2016: done
! 2017: done
! 2018: ;;
! 2019: esac
! 2020: done
! 2021:
! 2022:
! 2023: fi
! 2024: if test "${ac_cv_path_install+set}" = set; then
! 2025: INSTALL=$ac_cv_path_install
! 2026: else
! 2027: # As a last resort, use the slow shell script. We don't cache a
! 2028: # path for INSTALL within a source directory, because that will
! 2029: # break other packages using the cache if that directory is
! 2030: # removed, or if the path is relative.
! 2031: INSTALL=$ac_install_sh
! 2032: fi
! 2033: fi
! 2034: echo "$as_me:$LINENO: result: $INSTALL" >&5
! 2035: echo "${ECHO_T}$INSTALL" >&6
! 2036:
! 2037: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2038: # It thinks the first close brace ends the variable substitution.
! 2039: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2040:
! 2041: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2042:
! 2043: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2044:
! 2045: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2046: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
! 2047: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
! 2048: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 2049: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2050: else
! 2051: cat >conftest.make <<\_ACEOF
! 2052: all:
! 2053: @echo 'ac_maketemp="$(MAKE)"'
! 2054: _ACEOF
! 2055: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2056: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! 2057: if test -n "$ac_maketemp"; then
! 2058: eval ac_cv_prog_make_${ac_make}_set=yes
! 2059: else
! 2060: eval ac_cv_prog_make_${ac_make}_set=no
! 2061: fi
! 2062: rm -f conftest.make
! 2063: fi
! 2064: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 2065: echo "$as_me:$LINENO: result: yes" >&5
! 2066: echo "${ECHO_T}yes" >&6
! 2067: SET_MAKE=
! 2068: else
! 2069: echo "$as_me:$LINENO: result: no" >&5
! 2070: echo "${ECHO_T}no" >&6
! 2071: SET_MAKE="MAKE=${MAKE-make}"
! 2072: fi
! 2073:
! 2074: for ac_prog in gawk mawk nawk awk
! 2075: do
! 2076: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2077: set dummy $ac_prog; ac_word=$2
! 2078: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2079: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2080: if test "${ac_cv_prog_AWK+set}" = set; then
! 2081: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2082: else
! 2083: if test -n "$AWK"; then
! 2084: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 2085: else
! 2086: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2087: for as_dir in $PATH
! 2088: do
! 2089: IFS=$as_save_IFS
! 2090: test -z "$as_dir" && as_dir=.
! 2091: for ac_exec_ext in '' $ac_executable_extensions; do
! 2092: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2093: ac_cv_prog_AWK="$ac_prog"
! 2094: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2095: break 2
! 2096: fi
! 2097: done
! 2098: done
! 2099:
! 2100: fi
! 2101: fi
! 2102: AWK=$ac_cv_prog_AWK
! 2103: if test -n "$AWK"; then
! 2104: echo "$as_me:$LINENO: result: $AWK" >&5
! 2105: echo "${ECHO_T}$AWK" >&6
! 2106: else
! 2107: echo "$as_me:$LINENO: result: no" >&5
! 2108: echo "${ECHO_T}no" >&6
! 2109: fi
! 2110:
! 2111: test -n "$AWK" && break
! 2112: done
! 2113:
! 2114: ac_ext=cc
! 2115: ac_cpp='$CXXCPP $CPPFLAGS'
! 2116: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2117: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2118: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 2119: if test -n "$ac_tool_prefix"; then
! 2120: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 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_CXX+set}" = set; then
! 2127: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2128: else
! 2129: if test -n "$CXX"; then
! 2130: ac_cv_prog_CXX="$CXX" # 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_CXX="$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: CXX=$ac_cv_prog_CXX
! 2149: if test -n "$CXX"; then
! 2150: echo "$as_me:$LINENO: result: $CXX" >&5
! 2151: echo "${ECHO_T}$CXX" >&6
! 2152: else
! 2153: echo "$as_me:$LINENO: result: no" >&5
! 2154: echo "${ECHO_T}no" >&6
! 2155: fi
! 2156:
! 2157: test -n "$CXX" && break
! 2158: done
! 2159: fi
! 2160: if test -z "$CXX"; then
! 2161: ac_ct_CXX=$CXX
! 2162: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 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_CXX+set}" = set; then
! 2169: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2170: else
! 2171: if test -n "$ac_ct_CXX"; then
! 2172: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$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_CXX=$ac_cv_prog_ac_ct_CXX
! 2191: if test -n "$ac_ct_CXX"; then
! 2192: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
! 2193: echo "${ECHO_T}$ac_ct_CXX" >&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_CXX" && break
! 2200: done
! 2201: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
! 2202:
! 2203: CXX=$ac_ct_CXX
! 2204: fi
! 2205:
! 2206:
! 2207: # Provide some information about the compiler.
! 2208: echo "$as_me:$LINENO:" \
! 2209: "checking for C++ compiler version" >&5
! 2210: ac_compiler=`set X $ac_compile; echo $2`
! 2211: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 2212: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 2213: ac_status=$?
! 2214: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2215: (exit $ac_status); }
! 2216: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 2217: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 2218: ac_status=$?
! 2219: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2220: (exit $ac_status); }
! 2221: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 2222: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 2223: ac_status=$?
! 2224: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2225: (exit $ac_status); }
! 2226:
! 2227: cat >conftest.$ac_ext <<_ACEOF
! 2228: /* confdefs.h. */
! 2229: _ACEOF
! 2230: cat confdefs.h >>conftest.$ac_ext
! 2231: cat >>conftest.$ac_ext <<_ACEOF
! 2232: /* end confdefs.h. */
! 2233:
! 2234: int
! 2235: main ()
! 2236: {
! 2237:
! 2238: ;
! 2239: return 0;
! 2240: }
! 2241: _ACEOF
! 2242: ac_clean_files_save=$ac_clean_files
! 2243: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2244: # Try to create an executable without -o first, disregard a.out.
! 2245: # It will help us diagnose broken compilers, and finding out an intuition
! 2246: # of exeext.
! 2247: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
! 2248: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
! 2249: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2250: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 2251: (eval $ac_link_default) 2>&5
! 2252: ac_status=$?
! 2253: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2254: (exit $ac_status); }; then
! 2255: # Find the output, starting from the most likely. This scheme is
! 2256: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 2257: # resort.
! 2258:
! 2259: # Be careful to initialize this variable, since it used to be cached.
! 2260: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 2261: ac_cv_exeext=
! 2262: # b.out is created by i960 compilers.
! 2263: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
! 2264: do
! 2265: test -f "$ac_file" || continue
! 2266: case $ac_file in
! 2267: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
! 2268: ;;
! 2269: conftest.$ac_ext )
! 2270: # This is the source file.
! 2271: ;;
! 2272: [ab].out )
! 2273: # We found the default executable, but exeext='' is most
! 2274: # certainly right.
! 2275: break;;
! 2276: *.* )
! 2277: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2278: # FIXME: I believe we export ac_cv_exeext for Libtool,
! 2279: # but it would be cool to find out if it's true. Does anybody
! 2280: # maintain Libtool? --akim.
! 2281: export ac_cv_exeext
! 2282: break;;
! 2283: * )
! 2284: break;;
! 2285: esac
! 2286: done
! 2287: else
! 2288: echo "$as_me: failed program was:" >&5
! 2289: sed 's/^/| /' conftest.$ac_ext >&5
! 2290:
! 2291: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
! 2292: See \`config.log' for more details." >&5
! 2293: echo "$as_me: error: C++ compiler cannot create executables
! 2294: See \`config.log' for more details." >&2;}
! 2295: { (exit 77); exit 77; }; }
! 2296: fi
! 2297:
! 2298: ac_exeext=$ac_cv_exeext
! 2299: echo "$as_me:$LINENO: result: $ac_file" >&5
! 2300: echo "${ECHO_T}$ac_file" >&6
! 2301:
! 2302: # Check the compiler produces executables we can run. If not, either
! 2303: # the compiler is broken, or we cross compile.
! 2304: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
! 2305: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
! 2306: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2307: # If not cross compiling, check that we can run a simple program.
! 2308: if test "$cross_compiling" != yes; then
! 2309: if { ac_try='./$ac_file'
! 2310: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2311: (eval $ac_try) 2>&5
! 2312: ac_status=$?
! 2313: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2314: (exit $ac_status); }; }; then
! 2315: cross_compiling=no
! 2316: else
! 2317: if test "$cross_compiling" = maybe; then
! 2318: cross_compiling=yes
! 2319: else
! 2320: { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
! 2321: If you meant to cross compile, use \`--host'.
! 2322: See \`config.log' for more details." >&5
! 2323: echo "$as_me: error: cannot run C++ compiled programs.
! 2324: If you meant to cross compile, use \`--host'.
! 2325: See \`config.log' for more details." >&2;}
! 2326: { (exit 1); exit 1; }; }
! 2327: fi
! 2328: fi
! 2329: fi
! 2330: echo "$as_me:$LINENO: result: yes" >&5
! 2331: echo "${ECHO_T}yes" >&6
! 2332:
! 2333: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2334: ac_clean_files=$ac_clean_files_save
! 2335: # Check the compiler produces executables we can run. If not, either
! 2336: # the compiler is broken, or we cross compile.
! 2337: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2338: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 2339: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2340: echo "${ECHO_T}$cross_compiling" >&6
! 2341:
! 2342: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2343: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 2344: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2345: (eval $ac_link) 2>&5
! 2346: ac_status=$?
! 2347: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2348: (exit $ac_status); }; then
! 2349: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2350: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2351: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2352: # `rm'.
! 2353: for ac_file in conftest.exe conftest conftest.*; do
! 2354: test -f "$ac_file" || continue
! 2355: case $ac_file in
! 2356: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
! 2357: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2358: export ac_cv_exeext
! 2359: break;;
! 2360: * ) break;;
! 2361: esac
! 2362: done
! 2363: else
! 2364: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2365: See \`config.log' for more details." >&5
! 2366: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2367: See \`config.log' for more details." >&2;}
! 2368: { (exit 1); exit 1; }; }
! 2369: fi
! 2370:
! 2371: rm -f conftest$ac_cv_exeext
! 2372: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2373: echo "${ECHO_T}$ac_cv_exeext" >&6
! 2374:
! 2375: rm -f conftest.$ac_ext
! 2376: EXEEXT=$ac_cv_exeext
! 2377: ac_exeext=$EXEEXT
! 2378: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2379: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 2380: if test "${ac_cv_objext+set}" = set; then
! 2381: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2382: else
! 2383: cat >conftest.$ac_ext <<_ACEOF
! 2384: /* confdefs.h. */
! 2385: _ACEOF
! 2386: cat confdefs.h >>conftest.$ac_ext
! 2387: cat >>conftest.$ac_ext <<_ACEOF
! 2388: /* end confdefs.h. */
! 2389:
! 2390: int
! 2391: main ()
! 2392: {
! 2393:
! 2394: ;
! 2395: return 0;
! 2396: }
! 2397: _ACEOF
! 2398: rm -f conftest.o conftest.obj
! 2399: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2400: (eval $ac_compile) 2>&5
! 2401: ac_status=$?
! 2402: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2403: (exit $ac_status); }; then
! 2404: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 2405: case $ac_file in
! 2406: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! 2407: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2408: break;;
! 2409: esac
! 2410: done
! 2411: else
! 2412: echo "$as_me: failed program was:" >&5
! 2413: sed 's/^/| /' conftest.$ac_ext >&5
! 2414:
! 2415: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2416: See \`config.log' for more details." >&5
! 2417: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2418: See \`config.log' for more details." >&2;}
! 2419: { (exit 1); exit 1; }; }
! 2420: fi
! 2421:
! 2422: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2423: fi
! 2424: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2425: echo "${ECHO_T}$ac_cv_objext" >&6
! 2426: OBJEXT=$ac_cv_objext
! 2427: ac_objext=$OBJEXT
! 2428: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
! 2429: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
! 2430: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
! 2431: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2432: else
! 2433: cat >conftest.$ac_ext <<_ACEOF
! 2434: /* confdefs.h. */
! 2435: _ACEOF
! 2436: cat confdefs.h >>conftest.$ac_ext
! 2437: cat >>conftest.$ac_ext <<_ACEOF
! 2438: /* end confdefs.h. */
! 2439:
! 2440: int
! 2441: main ()
! 2442: {
! 2443: #ifndef __GNUC__
! 2444: choke me
! 2445: #endif
! 2446:
! 2447: ;
! 2448: return 0;
! 2449: }
! 2450: _ACEOF
! 2451: rm -f conftest.$ac_objext
! 2452: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2453: (eval $ac_compile) 2>conftest.er1
! 2454: ac_status=$?
! 2455: grep -v '^ *+' conftest.er1 >conftest.err
! 2456: rm -f conftest.er1
! 2457: cat conftest.err >&5
! 2458: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2459: (exit $ac_status); } &&
! 2460: { ac_try='test -z "$ac_cxx_werror_flag"
! 2461: || test ! -s conftest.err'
! 2462: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2463: (eval $ac_try) 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.err conftest.$ac_objext conftest.$ac_ext
! 2481: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
! 2482:
! 2483: fi
! 2484: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
! 2485: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
! 2486: GXX=`test $ac_compiler_gnu = yes && echo yes`
! 2487: ac_test_CXXFLAGS=${CXXFLAGS+set}
! 2488: ac_save_CXXFLAGS=$CXXFLAGS
! 2489: CXXFLAGS="-g"
! 2490: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
! 2491: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
! 2492: if test "${ac_cv_prog_cxx_g+set}" = set; then
! 2493: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2494: else
! 2495: cat >conftest.$ac_ext <<_ACEOF
! 2496: /* confdefs.h. */
! 2497: _ACEOF
! 2498: cat confdefs.h >>conftest.$ac_ext
! 2499: cat >>conftest.$ac_ext <<_ACEOF
! 2500: /* end confdefs.h. */
! 2501:
! 2502: int
! 2503: main ()
! 2504: {
! 2505:
! 2506: ;
! 2507: return 0;
! 2508: }
! 2509: _ACEOF
! 2510: rm -f conftest.$ac_objext
! 2511: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2512: (eval $ac_compile) 2>conftest.er1
! 2513: ac_status=$?
! 2514: grep -v '^ *+' conftest.er1 >conftest.err
! 2515: rm -f conftest.er1
! 2516: cat conftest.err >&5
! 2517: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2518: (exit $ac_status); } &&
! 2519: { ac_try='test -z "$ac_cxx_werror_flag"
! 2520: || test ! -s conftest.err'
! 2521: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2522: (eval $ac_try) 2>&5
! 2523: ac_status=$?
! 2524: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2525: (exit $ac_status); }; } &&
! 2526: { ac_try='test -s conftest.$ac_objext'
! 2527: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2528: (eval $ac_try) 2>&5
! 2529: ac_status=$?
! 2530: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2531: (exit $ac_status); }; }; then
! 2532: ac_cv_prog_cxx_g=yes
! 2533: else
! 2534: echo "$as_me: failed program was:" >&5
! 2535: sed 's/^/| /' conftest.$ac_ext >&5
! 2536:
! 2537: ac_cv_prog_cxx_g=no
! 2538: fi
! 2539: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2540: fi
! 2541: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
! 2542: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
! 2543: if test "$ac_test_CXXFLAGS" = set; then
! 2544: CXXFLAGS=$ac_save_CXXFLAGS
! 2545: elif test $ac_cv_prog_cxx_g = yes; then
! 2546: if test "$GXX" = yes; then
! 2547: CXXFLAGS="-g -O2"
! 2548: else
! 2549: CXXFLAGS="-g"
! 2550: fi
! 2551: else
! 2552: if test "$GXX" = yes; then
! 2553: CXXFLAGS="-O2"
! 2554: else
! 2555: CXXFLAGS=
! 2556: fi
! 2557: fi
! 2558: for ac_declaration in \
! 2559: '' \
! 2560: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2561: 'extern "C" void std::exit (int); using std::exit;' \
! 2562: 'extern "C" void exit (int) throw ();' \
! 2563: 'extern "C" void exit (int);' \
! 2564: 'void exit (int);'
! 2565: do
! 2566: cat >conftest.$ac_ext <<_ACEOF
! 2567: /* confdefs.h. */
! 2568: _ACEOF
! 2569: cat confdefs.h >>conftest.$ac_ext
! 2570: cat >>conftest.$ac_ext <<_ACEOF
! 2571: /* end confdefs.h. */
! 2572: $ac_declaration
! 2573: #include <stdlib.h>
! 2574: int
! 2575: main ()
! 2576: {
! 2577: exit (42);
! 2578: ;
! 2579: return 0;
! 2580: }
! 2581: _ACEOF
! 2582: rm -f conftest.$ac_objext
! 2583: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2584: (eval $ac_compile) 2>conftest.er1
! 2585: ac_status=$?
! 2586: grep -v '^ *+' conftest.er1 >conftest.err
! 2587: rm -f conftest.er1
! 2588: cat conftest.err >&5
! 2589: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2590: (exit $ac_status); } &&
! 2591: { ac_try='test -z "$ac_cxx_werror_flag"
! 2592: || test ! -s conftest.err'
! 2593: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2594: (eval $ac_try) 2>&5
! 2595: ac_status=$?
! 2596: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2597: (exit $ac_status); }; } &&
! 2598: { ac_try='test -s conftest.$ac_objext'
! 2599: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2600: (eval $ac_try) 2>&5
! 2601: ac_status=$?
! 2602: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2603: (exit $ac_status); }; }; then
! 2604: :
! 2605: else
! 2606: echo "$as_me: failed program was:" >&5
! 2607: sed 's/^/| /' conftest.$ac_ext >&5
! 2608:
! 2609: continue
! 2610: fi
! 2611: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2612: cat >conftest.$ac_ext <<_ACEOF
! 2613: /* confdefs.h. */
! 2614: _ACEOF
! 2615: cat confdefs.h >>conftest.$ac_ext
! 2616: cat >>conftest.$ac_ext <<_ACEOF
! 2617: /* end confdefs.h. */
! 2618: $ac_declaration
! 2619: int
! 2620: main ()
! 2621: {
! 2622: exit (42);
! 2623: ;
! 2624: return 0;
! 2625: }
! 2626: _ACEOF
! 2627: rm -f conftest.$ac_objext
! 2628: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2629: (eval $ac_compile) 2>conftest.er1
! 2630: ac_status=$?
! 2631: grep -v '^ *+' conftest.er1 >conftest.err
! 2632: rm -f conftest.er1
! 2633: cat conftest.err >&5
! 2634: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2635: (exit $ac_status); } &&
! 2636: { ac_try='test -z "$ac_cxx_werror_flag"
! 2637: || test ! -s conftest.err'
! 2638: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2639: (eval $ac_try) 2>&5
! 2640: ac_status=$?
! 2641: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2642: (exit $ac_status); }; } &&
! 2643: { ac_try='test -s conftest.$ac_objext'
! 2644: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2645: (eval $ac_try) 2>&5
! 2646: ac_status=$?
! 2647: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2648: (exit $ac_status); }; }; then
! 2649: break
! 2650: else
! 2651: echo "$as_me: failed program was:" >&5
! 2652: sed 's/^/| /' conftest.$ac_ext >&5
! 2653:
! 2654: fi
! 2655: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2656: done
! 2657: rm -f conftest*
! 2658: if test -n "$ac_declaration"; then
! 2659: echo '#ifdef __cplusplus' >>confdefs.h
! 2660: echo $ac_declaration >>confdefs.h
! 2661: echo '#endif' >>confdefs.h
! 2662: fi
! 2663:
! 2664: ac_ext=c
! 2665: ac_cpp='$CPP $CPPFLAGS'
! 2666: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2667: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2668: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2669: DEPDIR="${am__leading_dot}deps"
! 2670:
! 2671: ac_config_commands="$ac_config_commands depfiles"
! 2672:
! 2673:
! 2674: am_make=${MAKE-make}
! 2675: cat > confinc << 'END'
! 2676: am__doit:
! 2677: @echo done
! 2678: .PHONY: am__doit
! 2679: END
! 2680: # If we don't find an include directive, just comment out the code.
! 2681: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 2682: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! 2683: am__include="#"
! 2684: am__quote=
! 2685: _am_result=none
! 2686: # First try GNU make style include.
! 2687: echo "include confinc" > confmf
! 2688: # We grep out `Entering directory' and `Leaving directory'
! 2689: # messages which can occur if `w' ends up in MAKEFLAGS.
! 2690: # In particular we don't look at `^make:' because GNU make might
! 2691: # be invoked under some other name (usually "gmake"), in which
! 2692: # case it prints its new name instead of `make'.
! 2693: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 2694: am__include=include
! 2695: am__quote=
! 2696: _am_result=GNU
! 2697: fi
! 2698: # Now try BSD make style include.
! 2699: if test "$am__include" = "#"; then
! 2700: echo '.include "confinc"' > confmf
! 2701: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 2702: am__include=.include
! 2703: am__quote="\""
! 2704: _am_result=BSD
! 2705: fi
! 2706: fi
! 2707:
! 2708:
! 2709: echo "$as_me:$LINENO: result: $_am_result" >&5
! 2710: echo "${ECHO_T}$_am_result" >&6
! 2711: rm -f confinc confmf
! 2712:
! 2713: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
! 2714: if test "${enable_dependency_tracking+set}" = set; then
! 2715: enableval="$enable_dependency_tracking"
! 2716:
! 2717: fi;
! 2718: if test "x$enable_dependency_tracking" != xno; then
! 2719: am_depcomp="$ac_aux_dir/depcomp"
! 2720: AMDEPBACKSLASH='\'
! 2721: fi
! 2722:
! 2723:
! 2724: if test "x$enable_dependency_tracking" != xno; then
! 2725: AMDEP_TRUE=
! 2726: AMDEP_FALSE='#'
! 2727: else
! 2728: AMDEP_TRUE='#'
! 2729: AMDEP_FALSE=
! 2730: fi
! 2731:
! 2732:
! 2733:
! 2734:
! 2735: depcc="$CXX" am_compiler_list=
! 2736:
! 2737: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 2738: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 2739: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
! 2740: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2741: else
! 2742: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 2743: # We make a subdir and do the tests there. Otherwise we can end up
! 2744: # making bogus files that we don't know about and never remove. For
! 2745: # instance it was reported that on HP-UX the gcc test will end up
! 2746: # making a dummy file named `D' -- because `-MD' means `put the output
! 2747: # in D'.
! 2748: mkdir conftest.dir
! 2749: # Copy depcomp to subdir because otherwise we won't find it if we're
! 2750: # using a relative directory.
! 2751: cp "$am_depcomp" conftest.dir
! 2752: cd conftest.dir
! 2753: # We will build objects and dependencies in a subdirectory because
! 2754: # it helps to detect inapplicable dependency modes. For instance
! 2755: # both Tru64's cc and ICC support -MD to output dependencies as a
! 2756: # side effect of compilation, but ICC will put the dependencies in
! 2757: # the current directory while Tru64 will put them in the object
! 2758: # directory.
! 2759: mkdir sub
! 2760:
! 2761: am_cv_CXX_dependencies_compiler_type=none
! 2762: if test "$am_compiler_list" = ""; then
! 2763: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 2764: fi
! 2765: for depmode in $am_compiler_list; do
! 2766: # Setup a source with many dependencies, because some compilers
! 2767: # like to wrap large dependency lists on column 80 (with \), and
! 2768: # we should not choose a depcomp mode which is confused by this.
! 2769: #
! 2770: # We need to recreate these files for each test, as the compiler may
! 2771: # overwrite some of them when testing with obscure command lines.
! 2772: # This happens at least with the AIX C compiler.
! 2773: : > sub/conftest.c
! 2774: for i in 1 2 3 4 5 6; do
! 2775: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 2776: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 2777: # Solaris 8's {/usr,}/bin/sh.
! 2778: touch sub/conftst$i.h
! 2779: done
! 2780: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 2781:
! 2782: case $depmode in
! 2783: nosideeffect)
! 2784: # after this tag, mechanisms are not by side-effect, so they'll
! 2785: # only be used when explicitly requested
! 2786: if test "x$enable_dependency_tracking" = xyes; then
! 2787: continue
! 2788: else
! 2789: break
! 2790: fi
! 2791: ;;
! 2792: none) break ;;
! 2793: esac
! 2794: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 2795: # mode. It turns out that the SunPro C++ compiler does not properly
! 2796: # handle `-M -o', and we need to detect this.
! 2797: if depmode=$depmode \
! 2798: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 2799: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 2800: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 2801: >/dev/null 2>conftest.err &&
! 2802: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 2803: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 2804: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 2805: # icc doesn't choke on unknown options, it will just issue warnings
! 2806: # or remarks (even with -Werror). So we grep stderr for any message
! 2807: # that says an option was ignored or not supported.
! 2808: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 2809: # icc: Command line warning: ignoring option '-M'; no argument required
! 2810: # The diagnosis changed in icc 8.0:
! 2811: # icc: Command line remark: option '-MP' not supported
! 2812: if (grep 'ignoring option' conftest.err ||
! 2813: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 2814: am_cv_CXX_dependencies_compiler_type=$depmode
! 2815: break
! 2816: fi
! 2817: fi
! 2818: done
! 2819:
! 2820: cd ..
! 2821: rm -rf conftest.dir
! 2822: else
! 2823: am_cv_CXX_dependencies_compiler_type=none
! 2824: fi
! 2825:
! 2826: fi
! 2827: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
! 2828: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
! 2829: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
! 2830:
! 2831:
! 2832:
! 2833: if
! 2834: test "x$enable_dependency_tracking" != xno \
! 2835: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
! 2836: am__fastdepCXX_TRUE=
! 2837: am__fastdepCXX_FALSE='#'
! 2838: else
! 2839: am__fastdepCXX_TRUE='#'
! 2840: am__fastdepCXX_FALSE=
! 2841: fi
! 2842:
! 2843:
! 2844: ac_ext=c
! 2845: ac_cpp='$CPP $CPPFLAGS'
! 2846: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2847: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2848: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2849: if test -n "$ac_tool_prefix"; then
! 2850: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2851: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2852: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2853: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2854: if test "${ac_cv_prog_CC+set}" = set; then
! 2855: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2856: else
! 2857: if test -n "$CC"; then
! 2858: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2859: else
! 2860: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2861: for as_dir in $PATH
! 2862: do
! 2863: IFS=$as_save_IFS
! 2864: test -z "$as_dir" && as_dir=.
! 2865: for ac_exec_ext in '' $ac_executable_extensions; do
! 2866: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2867: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2868: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2869: break 2
! 2870: fi
! 2871: done
! 2872: done
! 2873:
! 2874: fi
! 2875: fi
! 2876: CC=$ac_cv_prog_CC
! 2877: if test -n "$CC"; then
! 2878: echo "$as_me:$LINENO: result: $CC" >&5
! 2879: echo "${ECHO_T}$CC" >&6
! 2880: else
! 2881: echo "$as_me:$LINENO: result: no" >&5
! 2882: echo "${ECHO_T}no" >&6
! 2883: fi
! 2884:
! 2885: fi
! 2886: if test -z "$ac_cv_prog_CC"; then
! 2887: ac_ct_CC=$CC
! 2888: # Extract the first word of "gcc", so it can be a program name with args.
! 2889: set dummy gcc; ac_word=$2
! 2890: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2891: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2892: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2893: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2894: else
! 2895: if test -n "$ac_ct_CC"; then
! 2896: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2897: else
! 2898: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2899: for as_dir in $PATH
! 2900: do
! 2901: IFS=$as_save_IFS
! 2902: test -z "$as_dir" && as_dir=.
! 2903: for ac_exec_ext in '' $ac_executable_extensions; do
! 2904: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2905: ac_cv_prog_ac_ct_CC="gcc"
! 2906: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2907: break 2
! 2908: fi
! 2909: done
! 2910: done
! 2911:
! 2912: fi
! 2913: fi
! 2914: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2915: if test -n "$ac_ct_CC"; then
! 2916: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2917: echo "${ECHO_T}$ac_ct_CC" >&6
! 2918: else
! 2919: echo "$as_me:$LINENO: result: no" >&5
! 2920: echo "${ECHO_T}no" >&6
! 2921: fi
! 2922:
! 2923: CC=$ac_ct_CC
! 2924: else
! 2925: CC="$ac_cv_prog_CC"
! 2926: fi
! 2927:
! 2928: if test -z "$CC"; then
! 2929: if test -n "$ac_tool_prefix"; then
! 2930: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2931: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2932: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2933: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2934: if test "${ac_cv_prog_CC+set}" = set; then
! 2935: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2936: else
! 2937: if test -n "$CC"; then
! 2938: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2939: else
! 2940: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2941: for as_dir in $PATH
! 2942: do
! 2943: IFS=$as_save_IFS
! 2944: test -z "$as_dir" && as_dir=.
! 2945: for ac_exec_ext in '' $ac_executable_extensions; do
! 2946: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2947: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2948: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2949: break 2
! 2950: fi
! 2951: done
! 2952: done
! 2953:
! 2954: fi
! 2955: fi
! 2956: CC=$ac_cv_prog_CC
! 2957: if test -n "$CC"; then
! 2958: echo "$as_me:$LINENO: result: $CC" >&5
! 2959: echo "${ECHO_T}$CC" >&6
! 2960: else
! 2961: echo "$as_me:$LINENO: result: no" >&5
! 2962: echo "${ECHO_T}no" >&6
! 2963: fi
! 2964:
! 2965: fi
! 2966: if test -z "$ac_cv_prog_CC"; then
! 2967: ac_ct_CC=$CC
! 2968: # Extract the first word of "cc", so it can be a program name with args.
! 2969: set dummy cc; ac_word=$2
! 2970: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2971: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2972: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2973: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2974: else
! 2975: if test -n "$ac_ct_CC"; then
! 2976: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2977: else
! 2978: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2979: for as_dir in $PATH
! 2980: do
! 2981: IFS=$as_save_IFS
! 2982: test -z "$as_dir" && as_dir=.
! 2983: for ac_exec_ext in '' $ac_executable_extensions; do
! 2984: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2985: ac_cv_prog_ac_ct_CC="cc"
! 2986: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2987: break 2
! 2988: fi
! 2989: done
! 2990: done
! 2991:
! 2992: fi
! 2993: fi
! 2994: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2995: if test -n "$ac_ct_CC"; then
! 2996: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2997: echo "${ECHO_T}$ac_ct_CC" >&6
! 2998: else
! 2999: echo "$as_me:$LINENO: result: no" >&5
! 3000: echo "${ECHO_T}no" >&6
! 3001: fi
! 3002:
! 3003: CC=$ac_ct_CC
! 3004: else
! 3005: CC="$ac_cv_prog_CC"
! 3006: fi
! 3007:
! 3008: fi
! 3009: if test -z "$CC"; then
! 3010: # Extract the first word of "cc", so it can be a program name with args.
! 3011: set dummy cc; ac_word=$2
! 3012: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3013: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3014: if test "${ac_cv_prog_CC+set}" = set; then
! 3015: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3016: else
! 3017: if test -n "$CC"; then
! 3018: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3019: else
! 3020: ac_prog_rejected=no
! 3021: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3022: for as_dir in $PATH
! 3023: do
! 3024: IFS=$as_save_IFS
! 3025: test -z "$as_dir" && as_dir=.
! 3026: for ac_exec_ext in '' $ac_executable_extensions; do
! 3027: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3028: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 3029: ac_prog_rejected=yes
! 3030: continue
! 3031: fi
! 3032: ac_cv_prog_CC="cc"
! 3033: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3034: break 2
! 3035: fi
! 3036: done
! 3037: done
! 3038:
! 3039: if test $ac_prog_rejected = yes; then
! 3040: # We found a bogon in the path, so make sure we never use it.
! 3041: set dummy $ac_cv_prog_CC
! 3042: shift
! 3043: if test $# != 0; then
! 3044: # We chose a different compiler from the bogus one.
! 3045: # However, it has the same basename, so the bogon will be chosen
! 3046: # first if we set CC to just the basename; use the full file name.
! 3047: shift
! 3048: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 3049: fi
! 3050: fi
! 3051: fi
! 3052: fi
! 3053: CC=$ac_cv_prog_CC
! 3054: if test -n "$CC"; then
! 3055: echo "$as_me:$LINENO: result: $CC" >&5
! 3056: echo "${ECHO_T}$CC" >&6
! 3057: else
! 3058: echo "$as_me:$LINENO: result: no" >&5
! 3059: echo "${ECHO_T}no" >&6
! 3060: fi
! 3061:
! 3062: fi
! 3063: if test -z "$CC"; then
! 3064: if test -n "$ac_tool_prefix"; then
! 3065: for ac_prog in cl
! 3066: do
! 3067: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3068: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3069: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3070: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3071: if test "${ac_cv_prog_CC+set}" = set; then
! 3072: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3073: else
! 3074: if test -n "$CC"; then
! 3075: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3076: else
! 3077: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3078: for as_dir in $PATH
! 3079: do
! 3080: IFS=$as_save_IFS
! 3081: test -z "$as_dir" && as_dir=.
! 3082: for ac_exec_ext in '' $ac_executable_extensions; do
! 3083: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3084: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 3085: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3086: break 2
! 3087: fi
! 3088: done
! 3089: done
! 3090:
! 3091: fi
! 3092: fi
! 3093: CC=$ac_cv_prog_CC
! 3094: if test -n "$CC"; then
! 3095: echo "$as_me:$LINENO: result: $CC" >&5
! 3096: echo "${ECHO_T}$CC" >&6
! 3097: else
! 3098: echo "$as_me:$LINENO: result: no" >&5
! 3099: echo "${ECHO_T}no" >&6
! 3100: fi
! 3101:
! 3102: test -n "$CC" && break
! 3103: done
! 3104: fi
! 3105: if test -z "$CC"; then
! 3106: ac_ct_CC=$CC
! 3107: for ac_prog in cl
! 3108: do
! 3109: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3110: set dummy $ac_prog; ac_word=$2
! 3111: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3112: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3113: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 3114: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3115: else
! 3116: if test -n "$ac_ct_CC"; then
! 3117: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3118: else
! 3119: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3120: for as_dir in $PATH
! 3121: do
! 3122: IFS=$as_save_IFS
! 3123: test -z "$as_dir" && as_dir=.
! 3124: for ac_exec_ext in '' $ac_executable_extensions; do
! 3125: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3126: ac_cv_prog_ac_ct_CC="$ac_prog"
! 3127: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3128: break 2
! 3129: fi
! 3130: done
! 3131: done
! 3132:
! 3133: fi
! 3134: fi
! 3135: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3136: if test -n "$ac_ct_CC"; then
! 3137: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 3138: echo "${ECHO_T}$ac_ct_CC" >&6
! 3139: else
! 3140: echo "$as_me:$LINENO: result: no" >&5
! 3141: echo "${ECHO_T}no" >&6
! 3142: fi
! 3143:
! 3144: test -n "$ac_ct_CC" && break
! 3145: done
! 3146:
! 3147: CC=$ac_ct_CC
! 3148: fi
! 3149:
! 3150: fi
! 3151:
! 3152:
! 3153: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 3154: See \`config.log' for more details." >&5
! 3155: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 3156: See \`config.log' for more details." >&2;}
! 3157: { (exit 1); exit 1; }; }
! 3158:
! 3159: # Provide some information about the compiler.
! 3160: echo "$as_me:$LINENO:" \
! 3161: "checking for C compiler version" >&5
! 3162: ac_compiler=`set X $ac_compile; echo $2`
! 3163: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 3164: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 3165: ac_status=$?
! 3166: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3167: (exit $ac_status); }
! 3168: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 3169: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 3170: ac_status=$?
! 3171: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3172: (exit $ac_status); }
! 3173: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 3174: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 3175: ac_status=$?
! 3176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3177: (exit $ac_status); }
! 3178:
! 3179: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 3180: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 3181: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 3182: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3183: else
! 3184: cat >conftest.$ac_ext <<_ACEOF
! 3185: /* confdefs.h. */
! 3186: _ACEOF
! 3187: cat confdefs.h >>conftest.$ac_ext
! 3188: cat >>conftest.$ac_ext <<_ACEOF
! 3189: /* end confdefs.h. */
! 3190:
! 3191: int
! 3192: main ()
! 3193: {
! 3194: #ifndef __GNUC__
! 3195: choke me
! 3196: #endif
! 3197:
! 3198: ;
! 3199: return 0;
! 3200: }
! 3201: _ACEOF
! 3202: rm -f conftest.$ac_objext
! 3203: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3204: (eval $ac_compile) 2>conftest.er1
! 3205: ac_status=$?
! 3206: grep -v '^ *+' conftest.er1 >conftest.err
! 3207: rm -f conftest.er1
! 3208: cat conftest.err >&5
! 3209: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3210: (exit $ac_status); } &&
! 3211: { ac_try='test -z "$ac_c_werror_flag"
! 3212: || test ! -s conftest.err'
! 3213: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3214: (eval $ac_try) 2>&5
! 3215: ac_status=$?
! 3216: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3217: (exit $ac_status); }; } &&
! 3218: { ac_try='test -s conftest.$ac_objext'
! 3219: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3220: (eval $ac_try) 2>&5
! 3221: ac_status=$?
! 3222: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3223: (exit $ac_status); }; }; then
! 3224: ac_compiler_gnu=yes
! 3225: else
! 3226: echo "$as_me: failed program was:" >&5
! 3227: sed 's/^/| /' conftest.$ac_ext >&5
! 3228:
! 3229: ac_compiler_gnu=no
! 3230: fi
! 3231: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3232: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 3233:
! 3234: fi
! 3235: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 3236: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 3237: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 3238: ac_test_CFLAGS=${CFLAGS+set}
! 3239: ac_save_CFLAGS=$CFLAGS
! 3240: CFLAGS="-g"
! 3241: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 3242: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 3243: if test "${ac_cv_prog_cc_g+set}" = set; then
! 3244: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3245: else
! 3246: cat >conftest.$ac_ext <<_ACEOF
! 3247: /* confdefs.h. */
! 3248: _ACEOF
! 3249: cat confdefs.h >>conftest.$ac_ext
! 3250: cat >>conftest.$ac_ext <<_ACEOF
! 3251: /* end confdefs.h. */
! 3252:
! 3253: int
! 3254: main ()
! 3255: {
! 3256:
! 3257: ;
! 3258: return 0;
! 3259: }
! 3260: _ACEOF
! 3261: rm -f conftest.$ac_objext
! 3262: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3263: (eval $ac_compile) 2>conftest.er1
! 3264: ac_status=$?
! 3265: grep -v '^ *+' conftest.er1 >conftest.err
! 3266: rm -f conftest.er1
! 3267: cat conftest.err >&5
! 3268: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3269: (exit $ac_status); } &&
! 3270: { ac_try='test -z "$ac_c_werror_flag"
! 3271: || test ! -s conftest.err'
! 3272: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3273: (eval $ac_try) 2>&5
! 3274: ac_status=$?
! 3275: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3276: (exit $ac_status); }; } &&
! 3277: { ac_try='test -s conftest.$ac_objext'
! 3278: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3279: (eval $ac_try) 2>&5
! 3280: ac_status=$?
! 3281: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3282: (exit $ac_status); }; }; then
! 3283: ac_cv_prog_cc_g=yes
! 3284: else
! 3285: echo "$as_me: failed program was:" >&5
! 3286: sed 's/^/| /' conftest.$ac_ext >&5
! 3287:
! 3288: ac_cv_prog_cc_g=no
! 3289: fi
! 3290: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3291: fi
! 3292: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 3293: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
! 3294: if test "$ac_test_CFLAGS" = set; then
! 3295: CFLAGS=$ac_save_CFLAGS
! 3296: elif test $ac_cv_prog_cc_g = yes; then
! 3297: if test "$GCC" = yes; then
! 3298: CFLAGS="-g -O2"
! 3299: else
! 3300: CFLAGS="-g"
! 3301: fi
! 3302: else
! 3303: if test "$GCC" = yes; then
! 3304: CFLAGS="-O2"
! 3305: else
! 3306: CFLAGS=
! 3307: fi
! 3308: fi
! 3309: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 3310: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 3311: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 3312: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3313: else
! 3314: ac_cv_prog_cc_stdc=no
! 3315: ac_save_CC=$CC
! 3316: cat >conftest.$ac_ext <<_ACEOF
! 3317: /* confdefs.h. */
! 3318: _ACEOF
! 3319: cat confdefs.h >>conftest.$ac_ext
! 3320: cat >>conftest.$ac_ext <<_ACEOF
! 3321: /* end confdefs.h. */
! 3322: #include <stdarg.h>
! 3323: #include <stdio.h>
! 3324: #include <sys/types.h>
! 3325: #include <sys/stat.h>
! 3326: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3327: struct buf { int x; };
! 3328: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3329: static char *e (p, i)
! 3330: char **p;
! 3331: int i;
! 3332: {
! 3333: return p[i];
! 3334: }
! 3335: static char *f (char * (*g) (char **, int), char **p, ...)
! 3336: {
! 3337: char *s;
! 3338: va_list v;
! 3339: va_start (v,p);
! 3340: s = g (p, va_arg (v,int));
! 3341: va_end (v);
! 3342: return s;
! 3343: }
! 3344:
! 3345: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3346: function prototypes and stuff, but not '\xHH' hex character constants.
! 3347: These don't provoke an error unfortunately, instead are silently treated
! 3348: as 'x'. The following induces an error, until -std1 is added to get
! 3349: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3350: array size at least. It's necessary to write '\x00'==0 to get something
! 3351: that's true only with -std1. */
! 3352: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3353:
! 3354: int test (int i, double x);
! 3355: struct s1 {int (*f) (int a);};
! 3356: struct s2 {int (*f) (double a);};
! 3357: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3358: int argc;
! 3359: char **argv;
! 3360: int
! 3361: main ()
! 3362: {
! 3363: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3364: ;
! 3365: return 0;
! 3366: }
! 3367: _ACEOF
! 3368: # Don't try gcc -ansi; that turns off useful extensions and
! 3369: # breaks some systems' header files.
! 3370: # AIX -qlanglvl=ansi
! 3371: # Ultrix and OSF/1 -std1
! 3372: # HP-UX 10.20 and later -Ae
! 3373: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 3374: # SVR4 -Xc -D__EXTENSIONS__
! 3375: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3376: do
! 3377: CC="$ac_save_CC $ac_arg"
! 3378: rm -f conftest.$ac_objext
! 3379: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3380: (eval $ac_compile) 2>conftest.er1
! 3381: ac_status=$?
! 3382: grep -v '^ *+' conftest.er1 >conftest.err
! 3383: rm -f conftest.er1
! 3384: cat conftest.err >&5
! 3385: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3386: (exit $ac_status); } &&
! 3387: { ac_try='test -z "$ac_c_werror_flag"
! 3388: || test ! -s conftest.err'
! 3389: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3390: (eval $ac_try) 2>&5
! 3391: ac_status=$?
! 3392: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3393: (exit $ac_status); }; } &&
! 3394: { ac_try='test -s conftest.$ac_objext'
! 3395: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3396: (eval $ac_try) 2>&5
! 3397: ac_status=$?
! 3398: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3399: (exit $ac_status); }; }; then
! 3400: ac_cv_prog_cc_stdc=$ac_arg
! 3401: break
! 3402: else
! 3403: echo "$as_me: failed program was:" >&5
! 3404: sed 's/^/| /' conftest.$ac_ext >&5
! 3405:
! 3406: fi
! 3407: rm -f conftest.err conftest.$ac_objext
! 3408: done
! 3409: rm -f conftest.$ac_ext conftest.$ac_objext
! 3410: CC=$ac_save_CC
! 3411:
! 3412: fi
! 3413:
! 3414: case "x$ac_cv_prog_cc_stdc" in
! 3415: x|xno)
! 3416: echo "$as_me:$LINENO: result: none needed" >&5
! 3417: echo "${ECHO_T}none needed" >&6 ;;
! 3418: *)
! 3419: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 3420: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 3421: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 3422: esac
! 3423:
! 3424: # Some people use a C++ compiler to compile C. Since we use `exit',
! 3425: # in C++ we need to declare it. In case someone uses the same compiler
! 3426: # for both compiling C and C++ we need to have the C++ compiler decide
! 3427: # the declaration of exit, since it's the most demanding environment.
! 3428: cat >conftest.$ac_ext <<_ACEOF
! 3429: #ifndef __cplusplus
! 3430: choke me
! 3431: #endif
! 3432: _ACEOF
! 3433: rm -f conftest.$ac_objext
! 3434: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3435: (eval $ac_compile) 2>conftest.er1
! 3436: ac_status=$?
! 3437: grep -v '^ *+' conftest.er1 >conftest.err
! 3438: rm -f conftest.er1
! 3439: cat conftest.err >&5
! 3440: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3441: (exit $ac_status); } &&
! 3442: { ac_try='test -z "$ac_c_werror_flag"
! 3443: || test ! -s conftest.err'
! 3444: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3445: (eval $ac_try) 2>&5
! 3446: ac_status=$?
! 3447: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3448: (exit $ac_status); }; } &&
! 3449: { ac_try='test -s conftest.$ac_objext'
! 3450: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3451: (eval $ac_try) 2>&5
! 3452: ac_status=$?
! 3453: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3454: (exit $ac_status); }; }; then
! 3455: for ac_declaration in \
! 3456: '' \
! 3457: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 3458: 'extern "C" void std::exit (int); using std::exit;' \
! 3459: 'extern "C" void exit (int) throw ();' \
! 3460: 'extern "C" void exit (int);' \
! 3461: 'void exit (int);'
! 3462: do
! 3463: cat >conftest.$ac_ext <<_ACEOF
! 3464: /* confdefs.h. */
! 3465: _ACEOF
! 3466: cat confdefs.h >>conftest.$ac_ext
! 3467: cat >>conftest.$ac_ext <<_ACEOF
! 3468: /* end confdefs.h. */
! 3469: $ac_declaration
! 3470: #include <stdlib.h>
! 3471: int
! 3472: main ()
! 3473: {
! 3474: exit (42);
! 3475: ;
! 3476: return 0;
! 3477: }
! 3478: _ACEOF
! 3479: rm -f conftest.$ac_objext
! 3480: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3481: (eval $ac_compile) 2>conftest.er1
! 3482: ac_status=$?
! 3483: grep -v '^ *+' conftest.er1 >conftest.err
! 3484: rm -f conftest.er1
! 3485: cat conftest.err >&5
! 3486: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3487: (exit $ac_status); } &&
! 3488: { ac_try='test -z "$ac_c_werror_flag"
! 3489: || test ! -s conftest.err'
! 3490: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3491: (eval $ac_try) 2>&5
! 3492: ac_status=$?
! 3493: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3494: (exit $ac_status); }; } &&
! 3495: { ac_try='test -s conftest.$ac_objext'
! 3496: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3497: (eval $ac_try) 2>&5
! 3498: ac_status=$?
! 3499: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3500: (exit $ac_status); }; }; then
! 3501: :
! 3502: else
! 3503: echo "$as_me: failed program was:" >&5
! 3504: sed 's/^/| /' conftest.$ac_ext >&5
! 3505:
! 3506: continue
! 3507: fi
! 3508: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3509: cat >conftest.$ac_ext <<_ACEOF
! 3510: /* confdefs.h. */
! 3511: _ACEOF
! 3512: cat confdefs.h >>conftest.$ac_ext
! 3513: cat >>conftest.$ac_ext <<_ACEOF
! 3514: /* end confdefs.h. */
! 3515: $ac_declaration
! 3516: int
! 3517: main ()
! 3518: {
! 3519: exit (42);
! 3520: ;
! 3521: return 0;
! 3522: }
! 3523: _ACEOF
! 3524: rm -f conftest.$ac_objext
! 3525: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3526: (eval $ac_compile) 2>conftest.er1
! 3527: ac_status=$?
! 3528: grep -v '^ *+' conftest.er1 >conftest.err
! 3529: rm -f conftest.er1
! 3530: cat conftest.err >&5
! 3531: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3532: (exit $ac_status); } &&
! 3533: { ac_try='test -z "$ac_c_werror_flag"
! 3534: || test ! -s conftest.err'
! 3535: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3536: (eval $ac_try) 2>&5
! 3537: ac_status=$?
! 3538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3539: (exit $ac_status); }; } &&
! 3540: { ac_try='test -s conftest.$ac_objext'
! 3541: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3542: (eval $ac_try) 2>&5
! 3543: ac_status=$?
! 3544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3545: (exit $ac_status); }; }; then
! 3546: break
! 3547: else
! 3548: echo "$as_me: failed program was:" >&5
! 3549: sed 's/^/| /' conftest.$ac_ext >&5
! 3550:
! 3551: fi
! 3552: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3553: done
! 3554: rm -f conftest*
! 3555: if test -n "$ac_declaration"; then
! 3556: echo '#ifdef __cplusplus' >>confdefs.h
! 3557: echo $ac_declaration >>confdefs.h
! 3558: echo '#endif' >>confdefs.h
! 3559: fi
! 3560:
! 3561: else
! 3562: echo "$as_me: failed program was:" >&5
! 3563: sed 's/^/| /' conftest.$ac_ext >&5
! 3564:
! 3565: fi
! 3566: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3567: ac_ext=c
! 3568: ac_cpp='$CPP $CPPFLAGS'
! 3569: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3570: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3571: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3572:
! 3573: depcc="$CC" am_compiler_list=
! 3574:
! 3575: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 3576: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 3577: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 3578: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3579: else
! 3580: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 3581: # We make a subdir and do the tests there. Otherwise we can end up
! 3582: # making bogus files that we don't know about and never remove. For
! 3583: # instance it was reported that on HP-UX the gcc test will end up
! 3584: # making a dummy file named `D' -- because `-MD' means `put the output
! 3585: # in D'.
! 3586: mkdir conftest.dir
! 3587: # Copy depcomp to subdir because otherwise we won't find it if we're
! 3588: # using a relative directory.
! 3589: cp "$am_depcomp" conftest.dir
! 3590: cd conftest.dir
! 3591: # We will build objects and dependencies in a subdirectory because
! 3592: # it helps to detect inapplicable dependency modes. For instance
! 3593: # both Tru64's cc and ICC support -MD to output dependencies as a
! 3594: # side effect of compilation, but ICC will put the dependencies in
! 3595: # the current directory while Tru64 will put them in the object
! 3596: # directory.
! 3597: mkdir sub
! 3598:
! 3599: am_cv_CC_dependencies_compiler_type=none
! 3600: if test "$am_compiler_list" = ""; then
! 3601: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 3602: fi
! 3603: for depmode in $am_compiler_list; do
! 3604: # Setup a source with many dependencies, because some compilers
! 3605: # like to wrap large dependency lists on column 80 (with \), and
! 3606: # we should not choose a depcomp mode which is confused by this.
! 3607: #
! 3608: # We need to recreate these files for each test, as the compiler may
! 3609: # overwrite some of them when testing with obscure command lines.
! 3610: # This happens at least with the AIX C compiler.
! 3611: : > sub/conftest.c
! 3612: for i in 1 2 3 4 5 6; do
! 3613: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 3614: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 3615: # Solaris 8's {/usr,}/bin/sh.
! 3616: touch sub/conftst$i.h
! 3617: done
! 3618: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 3619:
! 3620: case $depmode in
! 3621: nosideeffect)
! 3622: # after this tag, mechanisms are not by side-effect, so they'll
! 3623: # only be used when explicitly requested
! 3624: if test "x$enable_dependency_tracking" = xyes; then
! 3625: continue
! 3626: else
! 3627: break
! 3628: fi
! 3629: ;;
! 3630: none) break ;;
! 3631: esac
! 3632: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 3633: # mode. It turns out that the SunPro C++ compiler does not properly
! 3634: # handle `-M -o', and we need to detect this.
! 3635: if depmode=$depmode \
! 3636: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 3637: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 3638: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 3639: >/dev/null 2>conftest.err &&
! 3640: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 3641: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 3642: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 3643: # icc doesn't choke on unknown options, it will just issue warnings
! 3644: # or remarks (even with -Werror). So we grep stderr for any message
! 3645: # that says an option was ignored or not supported.
! 3646: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 3647: # icc: Command line warning: ignoring option '-M'; no argument required
! 3648: # The diagnosis changed in icc 8.0:
! 3649: # icc: Command line remark: option '-MP' not supported
! 3650: if (grep 'ignoring option' conftest.err ||
! 3651: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 3652: am_cv_CC_dependencies_compiler_type=$depmode
! 3653: break
! 3654: fi
! 3655: fi
! 3656: done
! 3657:
! 3658: cd ..
! 3659: rm -rf conftest.dir
! 3660: else
! 3661: am_cv_CC_dependencies_compiler_type=none
! 3662: fi
! 3663:
! 3664: fi
! 3665: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3666: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
! 3667: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 3668:
! 3669:
! 3670:
! 3671: if
! 3672: test "x$enable_dependency_tracking" != xno \
! 3673: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 3674: am__fastdepCC_TRUE=
! 3675: am__fastdepCC_FALSE='#'
! 3676: else
! 3677: am__fastdepCC_TRUE='#'
! 3678: am__fastdepCC_FALSE=
! 3679: fi
! 3680:
! 3681:
! 3682:
! 3683: ac_ext=c
! 3684: ac_cpp='$CPP $CPPFLAGS'
! 3685: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3686: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3687: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3688:
! 3689:
! 3690: case $enable_ltdl_convenience in
! 3691: no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
! 3692: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
! 3693: { (exit 1); exit 1; }; } ;;
! 3694: "") enable_ltdl_convenience=yes
! 3695: ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
! 3696: esac
! 3697: LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
! 3698: LTDLINCL='-I${top_srcdir}/''libltdl'
! 3699: # For backwards non-gettext consistent compatibility...
! 3700: INCLTDL="$LTDLINCL"
! 3701:
! 3702:
! 3703:
! 3704:
! 3705: # Check whether --enable-static or --disable-static was given.
! 3706: if test "${enable_static+set}" = set; then
! 3707: enableval="$enable_static"
! 3708: p=${PACKAGE-default}
! 3709: case $enableval in
! 3710: yes) enable_static=yes ;;
! 3711: no) enable_static=no ;;
! 3712: *)
! 3713: enable_static=no
! 3714: # Look at the argument we got. We use all the common list separators.
! 3715: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3716: for pkg in $enableval; do
! 3717: if test "X$pkg" = "X$p"; then
! 3718: enable_static=yes
! 3719: fi
! 3720: done
! 3721: IFS="$ac_save_ifs"
! 3722: ;;
! 3723: esac
! 3724: else
! 3725: enable_static=no
! 3726: fi;
! 3727:
! 3728: # Check whether --enable-shared or --disable-shared was given.
! 3729: if test "${enable_shared+set}" = set; then
! 3730: enableval="$enable_shared"
! 3731: p=${PACKAGE-default}
! 3732: case $enableval in
! 3733: yes) enable_shared=yes ;;
! 3734: no) enable_shared=no ;;
! 3735: *)
! 3736: enable_shared=no
! 3737: # Look at the argument we got. We use all the common list separators.
! 3738: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3739: for pkg in $enableval; do
! 3740: if test "X$pkg" = "X$p"; then
! 3741: enable_shared=yes
! 3742: fi
! 3743: done
! 3744: IFS="$ac_save_ifs"
! 3745: ;;
! 3746: esac
! 3747: else
! 3748: enable_shared=yes
! 3749: fi;
! 3750: # Check whether --enable-fast-install or --disable-fast-install was given.
! 3751: if test "${enable_fast_install+set}" = set; then
! 3752: enableval="$enable_fast_install"
! 3753: p=${PACKAGE-default}
! 3754: case $enableval in
! 3755: yes) enable_fast_install=yes ;;
! 3756: no) enable_fast_install=no ;;
! 3757: *)
! 3758: enable_fast_install=no
! 3759: # Look at the argument we got. We use all the common list separators.
! 3760: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 3761: for pkg in $enableval; do
! 3762: if test "X$pkg" = "X$p"; then
! 3763: enable_fast_install=yes
! 3764: fi
! 3765: done
! 3766: IFS="$ac_save_ifs"
! 3767: ;;
! 3768: esac
! 3769: else
! 3770: enable_fast_install=yes
! 3771: fi;
! 3772: # Make sure we can run config.sub.
! 3773: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 3774: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! 3775: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 3776: { (exit 1); exit 1; }; }
! 3777:
! 3778: echo "$as_me:$LINENO: checking build system type" >&5
! 3779: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 3780: if test "${ac_cv_build+set}" = set; then
! 3781: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3782: else
! 3783: ac_cv_build_alias=$build_alias
! 3784: test -z "$ac_cv_build_alias" &&
! 3785: ac_cv_build_alias=`$ac_config_guess`
! 3786: test -z "$ac_cv_build_alias" &&
! 3787: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 3788: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 3789: { (exit 1); exit 1; }; }
! 3790: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 3791: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
! 3792: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! 3793: { (exit 1); exit 1; }; }
! 3794:
! 3795: fi
! 3796: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 3797: echo "${ECHO_T}$ac_cv_build" >&6
! 3798: build=$ac_cv_build
! 3799: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3800: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3801: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3802:
! 3803:
! 3804: echo "$as_me:$LINENO: checking host system type" >&5
! 3805: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 3806: if test "${ac_cv_host+set}" = set; then
! 3807: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3808: else
! 3809: ac_cv_host_alias=$host_alias
! 3810: test -z "$ac_cv_host_alias" &&
! 3811: ac_cv_host_alias=$ac_cv_build_alias
! 3812: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 3813: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 3814: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 3815: { (exit 1); exit 1; }; }
! 3816:
! 3817: fi
! 3818: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3819: echo "${ECHO_T}$ac_cv_host" >&6
! 3820: host=$ac_cv_host
! 3821: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 3822: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 3823: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3824:
! 3825:
! 3826: # Find the correct PATH separator. Usually this is `:', but
! 3827: # DJGPP uses `;' like DOS.
! 3828: if test "X${PATH_SEPARATOR+set}" != Xset; then
! 3829: UNAME=${UNAME-`uname 2>/dev/null`}
! 3830: case X$UNAME in
! 3831: *-DOS) lt_cv_sys_path_separator=';' ;;
! 3832: *) lt_cv_sys_path_separator=':' ;;
! 3833: esac
! 3834: PATH_SEPARATOR=$lt_cv_sys_path_separator
! 3835: fi
! 3836:
! 3837:
! 3838: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 3839: if test "${with_gnu_ld+set}" = set; then
! 3840: withval="$with_gnu_ld"
! 3841: test "$withval" = no || with_gnu_ld=yes
! 3842: else
! 3843: with_gnu_ld=no
! 3844: fi;
! 3845: ac_prog=ld
! 3846: if test "$GCC" = yes; then
! 3847: # Check if gcc -print-prog-name=ld gives a path.
! 3848: echo "$as_me:$LINENO: checking for ld used by GCC" >&5
! 3849: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
! 3850: case $host in
! 3851: *-*-mingw*)
! 3852: # gcc leaves a trailing carriage return which upsets mingw
! 3853: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 3854: *)
! 3855: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 3856: esac
! 3857: case $ac_prog in
! 3858: # Accept absolute paths.
! 3859: [\\/]* | [A-Za-z]:[\\/]*)
! 3860: re_direlt='/[^/][^/]*/\.\./'
! 3861: # Canonicalize the path of ld
! 3862: ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
! 3863: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 3864: ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
! 3865: done
! 3866: test -z "$LD" && LD="$ac_prog"
! 3867: ;;
! 3868: "")
! 3869: # If it fails, then pretend we aren't using GCC.
! 3870: ac_prog=ld
! 3871: ;;
! 3872: *)
! 3873: # If it is relative, then search for the first ld in PATH.
! 3874: with_gnu_ld=unknown
! 3875: ;;
! 3876: esac
! 3877: elif test "$with_gnu_ld" = yes; then
! 3878: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 3879: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
! 3880: else
! 3881: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 3882: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
! 3883: fi
! 3884: if test "${lt_cv_path_LD+set}" = set; then
! 3885: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3886: else
! 3887: if test -z "$LD"; then
! 3888: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3889: for ac_dir in $PATH; do
! 3890: test -z "$ac_dir" && ac_dir=.
! 3891: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 3892: lt_cv_path_LD="$ac_dir/$ac_prog"
! 3893: # Check to see if the program is GNU ld. I'd rather use --version,
! 3894: # but apparently some GNU ld's only accept -v.
! 3895: # Break only if it was the GNU/non-GNU ld that we prefer.
! 3896: if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
! 3897: test "$with_gnu_ld" != no && break
! 3898: else
! 3899: test "$with_gnu_ld" != yes && break
! 3900: fi
! 3901: fi
! 3902: done
! 3903: IFS="$ac_save_ifs"
! 3904: else
! 3905: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 3906: fi
! 3907: fi
! 3908:
! 3909: LD="$lt_cv_path_LD"
! 3910: if test -n "$LD"; then
! 3911: echo "$as_me:$LINENO: result: $LD" >&5
! 3912: echo "${ECHO_T}$LD" >&6
! 3913: else
! 3914: echo "$as_me:$LINENO: result: no" >&5
! 3915: echo "${ECHO_T}no" >&6
! 3916: fi
! 3917: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 3918: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 3919: { (exit 1); exit 1; }; }
! 3920: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 3921: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 3922: if test "${lt_cv_prog_gnu_ld+set}" = set; then
! 3923: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3924: else
! 3925: # I'd rather use --version here, but apparently some GNU ld's only accept -v.
! 3926: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
! 3927: lt_cv_prog_gnu_ld=yes
! 3928: else
! 3929: lt_cv_prog_gnu_ld=no
! 3930: fi
! 3931: fi
! 3932: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! 3933: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
! 3934: with_gnu_ld=$lt_cv_prog_gnu_ld
! 3935:
! 3936:
! 3937: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! 3938: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! 3939: if test "${lt_cv_ld_reload_flag+set}" = set; then
! 3940: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3941: else
! 3942: lt_cv_ld_reload_flag='-r'
! 3943: fi
! 3944: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! 3945: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
! 3946: reload_flag=$lt_cv_ld_reload_flag
! 3947: test -n "$reload_flag" && reload_flag=" $reload_flag"
! 3948:
! 3949: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 3950: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! 3951: if test "${lt_cv_path_NM+set}" = set; then
! 3952: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3953: else
! 3954: if test -n "$NM"; then
! 3955: # Let the user override the test.
! 3956: lt_cv_path_NM="$NM"
! 3957: else
! 3958: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 3959: for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
! 3960: test -z "$ac_dir" && ac_dir=.
! 3961: tmp_nm=$ac_dir/${ac_tool_prefix}nm
! 3962: if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
! 3963: # Check to see if the nm accepts a BSD-compat flag.
! 3964: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 3965: # nm: unknown option "B" ignored
! 3966: # Tru64's nm complains that /dev/null is an invalid object file
! 3967: if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
! 3968: lt_cv_path_NM="$tmp_nm -B"
! 3969: break
! 3970: elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 3971: lt_cv_path_NM="$tmp_nm -p"
! 3972: break
! 3973: else
! 3974: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 3975: continue # so that we can try to find one that supports BSD flags
! 3976: fi
! 3977: fi
! 3978: done
! 3979: IFS="$ac_save_ifs"
! 3980: test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
! 3981: fi
! 3982: fi
! 3983:
! 3984: NM="$lt_cv_path_NM"
! 3985: echo "$as_me:$LINENO: result: $NM" >&5
! 3986: echo "${ECHO_T}$NM" >&6
! 3987:
! 3988: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! 3989: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! 3990: if test "${lt_cv_path_SED+set}" = set; then
! 3991: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3992: else
! 3993: # Loop through the user's path and test for sed and gsed.
! 3994: # Then use that list of sed's as ones to test for truncation.
! 3995: as_executable_p="test -f"
! 3996: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3997: for as_dir in $PATH
! 3998: do
! 3999: IFS=$as_save_IFS
! 4000: test -z "$as_dir" && as_dir=.
! 4001: for ac_prog in sed gsed; do
! 4002: for ac_exec_ext in '' $ac_executable_extensions; do
! 4003: if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! 4004: _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
! 4005: fi
! 4006: done
! 4007: done
! 4008: done
! 4009:
! 4010: # Create a temporary directory, and hook for its removal unless debugging.
! 4011: $debug ||
! 4012: {
! 4013: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 4014: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 4015: }
! 4016:
! 4017: # Create a (secure) tmp directory for tmp files.
! 4018: : ${TMPDIR=/tmp}
! 4019: {
! 4020: tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
! 4021: test -n "$tmp" && test -d "$tmp"
! 4022: } ||
! 4023: {
! 4024: tmp=$TMPDIR/sed$$-$RANDOM
! 4025: (umask 077 && mkdir $tmp)
! 4026: } ||
! 4027: {
! 4028: echo "$me: cannot create a temporary directory in $TMPDIR" >&2
! 4029: { (exit 1); exit 1; }
! 4030: }
! 4031: _max=0
! 4032: _count=0
! 4033: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! 4034: # along with /bin/sed that truncates output.
! 4035: for _sed in $_sed_list /usr/xpg4/bin/sed; do
! 4036: test ! -f ${_sed} && break
! 4037: cat /dev/null > "$tmp/sed.in"
! 4038: _count=0
! 4039: echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
! 4040: # Check for GNU sed and select it if it is found.
! 4041: if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
! 4042: lt_cv_path_SED=${_sed}
! 4043: break
! 4044: fi
! 4045: while true; do
! 4046: cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
! 4047: mv "$tmp/sed.tmp" "$tmp/sed.in"
! 4048: cp "$tmp/sed.in" "$tmp/sed.nl"
! 4049: echo >>"$tmp/sed.nl"
! 4050: ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
! 4051: cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
! 4052: # 40000 chars as input seems more than enough
! 4053: test $_count -gt 10 && break
! 4054: _count=`expr $_count + 1`
! 4055: if test $_count -gt $_max; then
! 4056: _max=$_count
! 4057: lt_cv_path_SED=$_sed
! 4058: fi
! 4059: done
! 4060: done
! 4061: rm -rf "$tmp"
! 4062:
! 4063: fi
! 4064:
! 4065: if test "X$SED" != "X"; then
! 4066: lt_cv_path_SED=$SED
! 4067: else
! 4068: SED=$lt_cv_path_SED
! 4069: fi
! 4070: echo "$as_me:$LINENO: result: $SED" >&5
! 4071: echo "${ECHO_T}$SED" >&6
! 4072:
! 4073: echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 4074: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! 4075: LN_S=$as_ln_s
! 4076: if test "$LN_S" = "ln -s"; then
! 4077: echo "$as_me:$LINENO: result: yes" >&5
! 4078: echo "${ECHO_T}yes" >&6
! 4079: else
! 4080: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 4081: echo "${ECHO_T}no, using $LN_S" >&6
! 4082: fi
! 4083:
! 4084: echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
! 4085: echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
! 4086: if test "${lt_cv_deplibs_check_method+set}" = set; then
! 4087: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4088: else
! 4089: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 4090: lt_cv_file_magic_test_file=
! 4091: lt_cv_deplibs_check_method='unknown'
! 4092: # Need to set the preceding variable on all platforms that support
! 4093: # interlibrary dependencies.
! 4094: # 'none' -- dependencies not supported.
! 4095: # `unknown' -- same as none, but documents that we really don't know.
! 4096: # 'pass_all' -- all dependencies passed with no checks.
! 4097: # 'test_compile' -- check by making test program.
! 4098: # 'file_magic [[regex]]' -- check by looking for files in library path
! 4099: # which responds to the $file_magic_cmd with a given egrep regex.
! 4100: # If you have `file' or equivalent on your system and you're not sure
! 4101: # whether `pass_all' will *always* work, you probably want this one.
! 4102:
! 4103: case $host_os in
! 4104: aix4* | aix5*)
! 4105: lt_cv_deplibs_check_method=pass_all
! 4106: ;;
! 4107:
! 4108: beos*)
! 4109: lt_cv_deplibs_check_method=pass_all
! 4110: ;;
! 4111:
! 4112: bsdi4*)
! 4113: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 4114: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4115: lt_cv_file_magic_test_file=/shlib/libc.so
! 4116: ;;
! 4117:
! 4118: cygwin* | mingw* | pw32*)
! 4119: lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
! 4120: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 4121: ;;
! 4122:
! 4123: darwin* | rhapsody*)
! 4124: lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
! 4125: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 4126: case "$host_os" in
! 4127: rhapsody* | darwin1.[012])
! 4128: lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
! 4129: ;;
! 4130: *) # Darwin 1.3 on
! 4131: lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
! 4132: ;;
! 4133: esac
! 4134: ;;
! 4135:
! 4136: freebsd*)
! 4137: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4138: case $host_cpu in
! 4139: i*86 )
! 4140: # Not sure whether the presence of OpenBSD here was a mistake.
! 4141: # Let's accept both of them until this is cleared up.
! 4142: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
! 4143: lt_cv_file_magic_cmd=/usr/bin/file
! 4144: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 4145: ;;
! 4146: esac
! 4147: else
! 4148: lt_cv_deplibs_check_method=pass_all
! 4149: fi
! 4150: ;;
! 4151:
! 4152: gnu*)
! 4153: lt_cv_deplibs_check_method=pass_all
! 4154: ;;
! 4155:
! 4156: hpux10.20*|hpux11*)
! 4157: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
! 4158: lt_cv_file_magic_cmd=/usr/bin/file
! 4159: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 4160: ;;
! 4161:
! 4162: irix5* | irix6* | nonstopux*)
! 4163: case $host_os in
! 4164: irix5* | nonstopux*)
! 4165: # this will be overridden with pass_all, but let us keep it just in case
! 4166: lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
! 4167: ;;
! 4168: *)
! 4169: case $LD in
! 4170: *-32|*"-32 ") libmagic=32-bit;;
! 4171: *-n32|*"-n32 ") libmagic=N32;;
! 4172: *-64|*"-64 ") libmagic=64-bit;;
! 4173: *) libmagic=never-match;;
! 4174: esac
! 4175: # this will be overridden with pass_all, but let us keep it just in case
! 4176: lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
! 4177: ;;
! 4178: esac
! 4179: lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
! 4180: lt_cv_deplibs_check_method=pass_all
! 4181: ;;
! 4182:
! 4183: # This must be Linux ELF.
! 4184: linux-gnu*)
! 4185: case $host_cpu in
! 4186: alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
! 4187: lt_cv_deplibs_check_method=pass_all ;;
! 4188: *)
! 4189: # glibc up to 2.1.1 does not perform some relocations on ARM
! 4190: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
! 4191: esac
! 4192: lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
! 4193: ;;
! 4194:
! 4195: netbsd*)
! 4196: if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
! 4197: lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
! 4198: else
! 4199: lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
! 4200: fi
! 4201: ;;
! 4202:
! 4203: newos6*)
! 4204: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 4205: lt_cv_file_magic_cmd=/usr/bin/file
! 4206: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 4207: ;;
! 4208:
! 4209: openbsd*)
! 4210: lt_cv_file_magic_cmd=/usr/bin/file
! 4211: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 4212: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 4213: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
! 4214: else
! 4215: lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
! 4216: fi
! 4217: ;;
! 4218:
! 4219: osf3* | osf4* | osf5*)
! 4220: # this will be overridden with pass_all, but let us keep it just in case
! 4221: lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
! 4222: lt_cv_file_magic_test_file=/shlib/libc.so
! 4223: lt_cv_deplibs_check_method=pass_all
! 4224: ;;
! 4225:
! 4226: sco3.2v5*)
! 4227: lt_cv_deplibs_check_method=pass_all
! 4228: ;;
! 4229:
! 4230: solaris*)
! 4231: lt_cv_deplibs_check_method=pass_all
! 4232: lt_cv_file_magic_test_file=/lib/libc.so
! 4233: ;;
! 4234:
! 4235: sysv5uw[78]* | sysv4*uw2*)
! 4236: lt_cv_deplibs_check_method=pass_all
! 4237: ;;
! 4238:
! 4239: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 4240: case $host_vendor in
! 4241: motorola)
! 4242: 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]'
! 4243: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 4244: ;;
! 4245: ncr)
! 4246: lt_cv_deplibs_check_method=pass_all
! 4247: ;;
! 4248: sequent)
! 4249: lt_cv_file_magic_cmd='/bin/file'
! 4250: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 4251: ;;
! 4252: sni)
! 4253: lt_cv_file_magic_cmd='/bin/file'
! 4254: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 4255: lt_cv_file_magic_test_file=/lib/libc.so
! 4256: ;;
! 4257: siemens)
! 4258: lt_cv_deplibs_check_method=pass_all
! 4259: ;;
! 4260: esac
! 4261: ;;
! 4262: esac
! 4263:
! 4264: fi
! 4265: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! 4266: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
! 4267: file_magic_cmd=$lt_cv_file_magic_cmd
! 4268: deplibs_check_method=$lt_cv_deplibs_check_method
! 4269:
! 4270:
! 4271:
! 4272:
! 4273:
! 4274:
! 4275:
! 4276:
! 4277: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 4278: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
! 4279: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
! 4280: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! 4281: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4282: else
! 4283:
! 4284: # These are sane defaults that work on at least a few old systems.
! 4285: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 4286:
! 4287: # Character class describing NM global symbol codes.
! 4288: symcode='[BCDEGRST]'
! 4289:
! 4290: # Regexp to match symbols that can be accessed directly from C.
! 4291: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 4292:
! 4293: # Transform the above into a raw symbol and a C symbol.
! 4294: symxfrm='\1 \2\3 \3'
! 4295:
! 4296: # Transform an extracted symbol line into a proper C declaration
! 4297: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
! 4298:
! 4299: # Transform an extracted symbol line into symbol name and symbol address
! 4300: 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'"
! 4301:
! 4302: # Define system-specific variables.
! 4303: case $host_os in
! 4304: aix*)
! 4305: symcode='[BCDT]'
! 4306: ;;
! 4307: cygwin* | mingw* | pw32*)
! 4308: symcode='[ABCDGISTW]'
! 4309: ;;
! 4310: hpux*) # Its linker distinguishes data from code symbols
! 4311: lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 4312: 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'"
! 4313: ;;
! 4314: irix* | nonstopux*)
! 4315: symcode='[BCDEGRST]'
! 4316: ;;
! 4317: osf*)
! 4318: symcode='[BCDEGQRST]'
! 4319: ;;
! 4320: solaris* | sysv5*)
! 4321: symcode='[BDT]'
! 4322: ;;
! 4323: sysv4)
! 4324: symcode='[DFNSTU]'
! 4325: ;;
! 4326: esac
! 4327:
! 4328: # Handle CRLF in mingw tool chain
! 4329: opt_cr=
! 4330: case $host_os in
! 4331: mingw*)
! 4332: opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 4333: ;;
! 4334: esac
! 4335:
! 4336: # If we're using GNU nm, then use its standard symbol codes.
! 4337: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
! 4338: symcode='[ABCDGISTW]'
! 4339: fi
! 4340:
! 4341: # Try without a prefix undercore, then with it.
! 4342: for ac_symprfx in "" "_"; do
! 4343:
! 4344: # Write the raw and C identifiers.
! 4345: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
! 4346:
! 4347: # Check to see that the pipe works correctly.
! 4348: pipe_works=no
! 4349: rm -f conftest*
! 4350: cat > conftest.$ac_ext <<EOF
! 4351: #ifdef __cplusplus
! 4352: extern "C" {
! 4353: #endif
! 4354: char nm_test_var;
! 4355: void nm_test_func(){}
! 4356: #ifdef __cplusplus
! 4357: }
! 4358: #endif
! 4359: int main(){nm_test_var='a';nm_test_func();return(0);}
! 4360: EOF
! 4361:
! 4362: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4363: (eval $ac_compile) 2>&5
! 4364: ac_status=$?
! 4365: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4366: (exit $ac_status); }; then
! 4367: # Now try to grab the symbols.
! 4368: nlist=conftest.nm
! 4369: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! 4370: (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
! 4371: ac_status=$?
! 4372: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4373: (exit $ac_status); } && test -s "$nlist"; then
! 4374: # Try sorting and uniquifying the output.
! 4375: if sort "$nlist" | uniq > "$nlist"T; then
! 4376: mv -f "$nlist"T "$nlist"
! 4377: else
! 4378: rm -f "$nlist"T
! 4379: fi
! 4380:
! 4381: # Make sure that we snagged all the symbols we need.
! 4382: if egrep ' nm_test_var$' "$nlist" >/dev/null; then
! 4383: if egrep ' nm_test_func$' "$nlist" >/dev/null; then
! 4384: cat <<EOF > conftest.$ac_ext
! 4385: #ifdef __cplusplus
! 4386: extern "C" {
! 4387: #endif
! 4388:
! 4389: EOF
! 4390: # Now generate the symbol file.
! 4391: eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
! 4392:
! 4393: cat <<EOF >> conftest.$ac_ext
! 4394: #if defined (__STDC__) && __STDC__
! 4395: # define lt_ptr void *
! 4396: #else
! 4397: # define lt_ptr char *
! 4398: # define const
! 4399: #endif
! 4400:
! 4401: /* The mapping between symbol names and symbols. */
! 4402: const struct {
! 4403: const char *name;
! 4404: lt_ptr address;
! 4405: }
! 4406: lt_preloaded_symbols[] =
! 4407: {
! 4408: EOF
! 4409: sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
! 4410: cat <<\EOF >> conftest.$ac_ext
! 4411: {0, (lt_ptr) 0}
! 4412: };
! 4413:
! 4414: #ifdef __cplusplus
! 4415: }
! 4416: #endif
! 4417: EOF
! 4418: # Now try linking the two files.
! 4419: mv conftest.$ac_objext conftstm.$ac_objext
! 4420: save_LIBS="$LIBS"
! 4421: save_CFLAGS="$CFLAGS"
! 4422: LIBS="conftstm.$ac_objext"
! 4423: CFLAGS="$CFLAGS$no_builtin_flag"
! 4424: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4425: (eval $ac_link) 2>&5
! 4426: ac_status=$?
! 4427: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4428: (exit $ac_status); } && test -s conftest$ac_exeext; then
! 4429: pipe_works=yes
! 4430: fi
! 4431: LIBS="$save_LIBS"
! 4432: CFLAGS="$save_CFLAGS"
! 4433: else
! 4434: echo "cannot find nm_test_func in $nlist" >&5
! 4435: fi
! 4436: else
! 4437: echo "cannot find nm_test_var in $nlist" >&5
! 4438: fi
! 4439: else
! 4440: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 4441: fi
! 4442: else
! 4443: echo "$progname: failed program was:" >&5
! 4444: cat conftest.$ac_ext >&5
! 4445: fi
! 4446: rm -f conftest* conftst*
! 4447:
! 4448: # Do not use the global_symbol_pipe unless it works.
! 4449: if test "$pipe_works" = yes; then
! 4450: break
! 4451: else
! 4452: lt_cv_sys_global_symbol_pipe=
! 4453: fi
! 4454: done
! 4455:
! 4456: fi
! 4457:
! 4458: global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
! 4459: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 4460: global_symbol_to_cdecl=
! 4461: global_symbol_to_c_name_address=
! 4462: else
! 4463: global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
! 4464: global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
! 4465: fi
! 4466: if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
! 4467: then
! 4468: echo "$as_me:$LINENO: result: failed" >&5
! 4469: echo "${ECHO_T}failed" >&6
! 4470: else
! 4471: echo "$as_me:$LINENO: result: ok" >&5
! 4472: echo "${ECHO_T}ok" >&6
! 4473: fi
! 4474:
! 4475: ac_ext=c
! 4476: ac_cpp='$CPP $CPPFLAGS'
! 4477: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4478: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4479: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4480: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 4481: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 4482: # On Suns, sometimes $CPP names a directory.
! 4483: if test -n "$CPP" && test -d "$CPP"; then
! 4484: CPP=
! 4485: fi
! 4486: if test -z "$CPP"; then
! 4487: if test "${ac_cv_prog_CPP+set}" = set; then
! 4488: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4489: else
! 4490: # Double quotes because CPP needs to be expanded
! 4491: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 4492: do
! 4493: ac_preproc_ok=false
! 4494: for ac_c_preproc_warn_flag in '' yes
! 4495: do
! 4496: # Use a header file that comes with gcc, so configuring glibc
! 4497: # with a fresh cross-compiler works.
! 4498: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4499: # <limits.h> exists even on freestanding compilers.
! 4500: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4501: # not just through cpp. "Syntax error" is here to catch this case.
! 4502: cat >conftest.$ac_ext <<_ACEOF
! 4503: /* confdefs.h. */
! 4504: _ACEOF
! 4505: cat confdefs.h >>conftest.$ac_ext
! 4506: cat >>conftest.$ac_ext <<_ACEOF
! 4507: /* end confdefs.h. */
! 4508: #ifdef __STDC__
! 4509: # include <limits.h>
! 4510: #else
! 4511: # include <assert.h>
! 4512: #endif
! 4513: Syntax error
! 4514: _ACEOF
! 4515: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4516: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4517: ac_status=$?
! 4518: grep -v '^ *+' conftest.er1 >conftest.err
! 4519: rm -f conftest.er1
! 4520: cat conftest.err >&5
! 4521: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4522: (exit $ac_status); } >/dev/null; then
! 4523: if test -s conftest.err; then
! 4524: ac_cpp_err=$ac_c_preproc_warn_flag
! 4525: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4526: else
! 4527: ac_cpp_err=
! 4528: fi
! 4529: else
! 4530: ac_cpp_err=yes
! 4531: fi
! 4532: if test -z "$ac_cpp_err"; then
! 4533: :
! 4534: else
! 4535: echo "$as_me: failed program was:" >&5
! 4536: sed 's/^/| /' conftest.$ac_ext >&5
! 4537:
! 4538: # Broken: fails on valid input.
! 4539: continue
! 4540: fi
! 4541: rm -f conftest.err conftest.$ac_ext
! 4542:
! 4543: # OK, works on sane cases. Now check whether non-existent headers
! 4544: # can be detected and how.
! 4545: cat >conftest.$ac_ext <<_ACEOF
! 4546: /* confdefs.h. */
! 4547: _ACEOF
! 4548: cat confdefs.h >>conftest.$ac_ext
! 4549: cat >>conftest.$ac_ext <<_ACEOF
! 4550: /* end confdefs.h. */
! 4551: #include <ac_nonexistent.h>
! 4552: _ACEOF
! 4553: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4554: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4555: ac_status=$?
! 4556: grep -v '^ *+' conftest.er1 >conftest.err
! 4557: rm -f conftest.er1
! 4558: cat conftest.err >&5
! 4559: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4560: (exit $ac_status); } >/dev/null; then
! 4561: if test -s conftest.err; then
! 4562: ac_cpp_err=$ac_c_preproc_warn_flag
! 4563: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4564: else
! 4565: ac_cpp_err=
! 4566: fi
! 4567: else
! 4568: ac_cpp_err=yes
! 4569: fi
! 4570: if test -z "$ac_cpp_err"; then
! 4571: # Broken: success on invalid input.
! 4572: continue
! 4573: else
! 4574: echo "$as_me: failed program was:" >&5
! 4575: sed 's/^/| /' conftest.$ac_ext >&5
! 4576:
! 4577: # Passes both tests.
! 4578: ac_preproc_ok=:
! 4579: break
! 4580: fi
! 4581: rm -f conftest.err conftest.$ac_ext
! 4582:
! 4583: done
! 4584: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4585: rm -f conftest.err conftest.$ac_ext
! 4586: if $ac_preproc_ok; then
! 4587: break
! 4588: fi
! 4589:
! 4590: done
! 4591: ac_cv_prog_CPP=$CPP
! 4592:
! 4593: fi
! 4594: CPP=$ac_cv_prog_CPP
! 4595: else
! 4596: ac_cv_prog_CPP=$CPP
! 4597: fi
! 4598: echo "$as_me:$LINENO: result: $CPP" >&5
! 4599: echo "${ECHO_T}$CPP" >&6
! 4600: ac_preproc_ok=false
! 4601: for ac_c_preproc_warn_flag in '' yes
! 4602: do
! 4603: # Use a header file that comes with gcc, so configuring glibc
! 4604: # with a fresh cross-compiler works.
! 4605: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4606: # <limits.h> exists even on freestanding compilers.
! 4607: # On the NeXT, cc -E runs the code through the compiler's parser,
! 4608: # not just through cpp. "Syntax error" is here to catch this case.
! 4609: cat >conftest.$ac_ext <<_ACEOF
! 4610: /* confdefs.h. */
! 4611: _ACEOF
! 4612: cat confdefs.h >>conftest.$ac_ext
! 4613: cat >>conftest.$ac_ext <<_ACEOF
! 4614: /* end confdefs.h. */
! 4615: #ifdef __STDC__
! 4616: # include <limits.h>
! 4617: #else
! 4618: # include <assert.h>
! 4619: #endif
! 4620: Syntax error
! 4621: _ACEOF
! 4622: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4623: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4624: ac_status=$?
! 4625: grep -v '^ *+' conftest.er1 >conftest.err
! 4626: rm -f conftest.er1
! 4627: cat conftest.err >&5
! 4628: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4629: (exit $ac_status); } >/dev/null; then
! 4630: if test -s conftest.err; then
! 4631: ac_cpp_err=$ac_c_preproc_warn_flag
! 4632: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4633: else
! 4634: ac_cpp_err=
! 4635: fi
! 4636: else
! 4637: ac_cpp_err=yes
! 4638: fi
! 4639: if test -z "$ac_cpp_err"; then
! 4640: :
! 4641: else
! 4642: echo "$as_me: failed program was:" >&5
! 4643: sed 's/^/| /' conftest.$ac_ext >&5
! 4644:
! 4645: # Broken: fails on valid input.
! 4646: continue
! 4647: fi
! 4648: rm -f conftest.err conftest.$ac_ext
! 4649:
! 4650: # OK, works on sane cases. Now check whether non-existent headers
! 4651: # can be detected and how.
! 4652: cat >conftest.$ac_ext <<_ACEOF
! 4653: /* confdefs.h. */
! 4654: _ACEOF
! 4655: cat confdefs.h >>conftest.$ac_ext
! 4656: cat >>conftest.$ac_ext <<_ACEOF
! 4657: /* end confdefs.h. */
! 4658: #include <ac_nonexistent.h>
! 4659: _ACEOF
! 4660: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4661: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4662: ac_status=$?
! 4663: grep -v '^ *+' conftest.er1 >conftest.err
! 4664: rm -f conftest.er1
! 4665: cat conftest.err >&5
! 4666: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4667: (exit $ac_status); } >/dev/null; then
! 4668: if test -s conftest.err; then
! 4669: ac_cpp_err=$ac_c_preproc_warn_flag
! 4670: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 4671: else
! 4672: ac_cpp_err=
! 4673: fi
! 4674: else
! 4675: ac_cpp_err=yes
! 4676: fi
! 4677: if test -z "$ac_cpp_err"; then
! 4678: # Broken: success on invalid input.
! 4679: continue
! 4680: else
! 4681: echo "$as_me: failed program was:" >&5
! 4682: sed 's/^/| /' conftest.$ac_ext >&5
! 4683:
! 4684: # Passes both tests.
! 4685: ac_preproc_ok=:
! 4686: break
! 4687: fi
! 4688: rm -f conftest.err conftest.$ac_ext
! 4689:
! 4690: done
! 4691: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 4692: rm -f conftest.err conftest.$ac_ext
! 4693: if $ac_preproc_ok; then
! 4694: :
! 4695: else
! 4696: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 4697: See \`config.log' for more details." >&5
! 4698: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 4699: See \`config.log' for more details." >&2;}
! 4700: { (exit 1); exit 1; }; }
! 4701: fi
! 4702:
! 4703: ac_ext=c
! 4704: ac_cpp='$CPP $CPPFLAGS'
! 4705: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 4706: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 4707: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 4708:
! 4709:
! 4710: echo "$as_me:$LINENO: checking for egrep" >&5
! 4711: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 4712: if test "${ac_cv_prog_egrep+set}" = set; then
! 4713: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4714: else
! 4715: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 4716: then ac_cv_prog_egrep='grep -E'
! 4717: else ac_cv_prog_egrep='egrep'
! 4718: fi
! 4719: fi
! 4720: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 4721: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 4722: EGREP=$ac_cv_prog_egrep
! 4723:
! 4724:
! 4725: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 4726: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 4727: if test "${ac_cv_header_stdc+set}" = set; then
! 4728: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4729: else
! 4730: cat >conftest.$ac_ext <<_ACEOF
! 4731: /* confdefs.h. */
! 4732: _ACEOF
! 4733: cat confdefs.h >>conftest.$ac_ext
! 4734: cat >>conftest.$ac_ext <<_ACEOF
! 4735: /* end confdefs.h. */
! 4736: #include <stdlib.h>
! 4737: #include <stdarg.h>
! 4738: #include <string.h>
! 4739: #include <float.h>
! 4740:
! 4741: int
! 4742: main ()
! 4743: {
! 4744:
! 4745: ;
! 4746: return 0;
! 4747: }
! 4748: _ACEOF
! 4749: rm -f conftest.$ac_objext
! 4750: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4751: (eval $ac_compile) 2>conftest.er1
! 4752: ac_status=$?
! 4753: grep -v '^ *+' conftest.er1 >conftest.err
! 4754: rm -f conftest.er1
! 4755: cat conftest.err >&5
! 4756: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4757: (exit $ac_status); } &&
! 4758: { ac_try='test -z "$ac_c_werror_flag"
! 4759: || test ! -s conftest.err'
! 4760: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4761: (eval $ac_try) 2>&5
! 4762: ac_status=$?
! 4763: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4764: (exit $ac_status); }; } &&
! 4765: { ac_try='test -s conftest.$ac_objext'
! 4766: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4767: (eval $ac_try) 2>&5
! 4768: ac_status=$?
! 4769: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4770: (exit $ac_status); }; }; then
! 4771: ac_cv_header_stdc=yes
! 4772: else
! 4773: echo "$as_me: failed program was:" >&5
! 4774: sed 's/^/| /' conftest.$ac_ext >&5
! 4775:
! 4776: ac_cv_header_stdc=no
! 4777: fi
! 4778: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4779:
! 4780: if test $ac_cv_header_stdc = yes; then
! 4781: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 4782: cat >conftest.$ac_ext <<_ACEOF
! 4783: /* confdefs.h. */
! 4784: _ACEOF
! 4785: cat confdefs.h >>conftest.$ac_ext
! 4786: cat >>conftest.$ac_ext <<_ACEOF
! 4787: /* end confdefs.h. */
! 4788: #include <string.h>
! 4789:
! 4790: _ACEOF
! 4791: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4792: $EGREP "memchr" >/dev/null 2>&1; then
! 4793: :
! 4794: else
! 4795: ac_cv_header_stdc=no
! 4796: fi
! 4797: rm -f conftest*
! 4798:
! 4799: fi
! 4800:
! 4801: if test $ac_cv_header_stdc = yes; then
! 4802: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 4803: cat >conftest.$ac_ext <<_ACEOF
! 4804: /* confdefs.h. */
! 4805: _ACEOF
! 4806: cat confdefs.h >>conftest.$ac_ext
! 4807: cat >>conftest.$ac_ext <<_ACEOF
! 4808: /* end confdefs.h. */
! 4809: #include <stdlib.h>
! 4810:
! 4811: _ACEOF
! 4812: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 4813: $EGREP "free" >/dev/null 2>&1; then
! 4814: :
! 4815: else
! 4816: ac_cv_header_stdc=no
! 4817: fi
! 4818: rm -f conftest*
! 4819:
! 4820: fi
! 4821:
! 4822: if test $ac_cv_header_stdc = yes; then
! 4823: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 4824: if test "$cross_compiling" = yes; then
! 4825: :
! 4826: else
! 4827: cat >conftest.$ac_ext <<_ACEOF
! 4828: /* confdefs.h. */
! 4829: _ACEOF
! 4830: cat confdefs.h >>conftest.$ac_ext
! 4831: cat >>conftest.$ac_ext <<_ACEOF
! 4832: /* end confdefs.h. */
! 4833: #include <ctype.h>
! 4834: #if ((' ' & 0x0FF) == 0x020)
! 4835: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 4836: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 4837: #else
! 4838: # define ISLOWER(c) \
! 4839: (('a' <= (c) && (c) <= 'i') \
! 4840: || ('j' <= (c) && (c) <= 'r') \
! 4841: || ('s' <= (c) && (c) <= 'z'))
! 4842: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 4843: #endif
! 4844:
! 4845: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 4846: int
! 4847: main ()
! 4848: {
! 4849: int i;
! 4850: for (i = 0; i < 256; i++)
! 4851: if (XOR (islower (i), ISLOWER (i))
! 4852: || toupper (i) != TOUPPER (i))
! 4853: exit(2);
! 4854: exit (0);
! 4855: }
! 4856: _ACEOF
! 4857: rm -f conftest$ac_exeext
! 4858: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4859: (eval $ac_link) 2>&5
! 4860: ac_status=$?
! 4861: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4862: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4863: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4864: (eval $ac_try) 2>&5
! 4865: ac_status=$?
! 4866: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4867: (exit $ac_status); }; }; then
! 4868: :
! 4869: else
! 4870: echo "$as_me: program exited with status $ac_status" >&5
! 4871: echo "$as_me: failed program was:" >&5
! 4872: sed 's/^/| /' conftest.$ac_ext >&5
! 4873:
! 4874: ( exit $ac_status )
! 4875: ac_cv_header_stdc=no
! 4876: fi
! 4877: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4878: fi
! 4879: fi
! 4880: fi
! 4881: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 4882: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 4883: if test $ac_cv_header_stdc = yes; then
! 4884:
! 4885: cat >>confdefs.h <<\_ACEOF
! 4886: #define STDC_HEADERS 1
! 4887: _ACEOF
! 4888:
! 4889: fi
! 4890:
! 4891: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 4892:
! 4893:
! 4894:
! 4895:
! 4896:
! 4897:
! 4898:
! 4899:
! 4900:
! 4901: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 4902: inttypes.h stdint.h unistd.h
! 4903: do
! 4904: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4905: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4906: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4907: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4908: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4909: else
! 4910: cat >conftest.$ac_ext <<_ACEOF
! 4911: /* confdefs.h. */
! 4912: _ACEOF
! 4913: cat confdefs.h >>conftest.$ac_ext
! 4914: cat >>conftest.$ac_ext <<_ACEOF
! 4915: /* end confdefs.h. */
! 4916: $ac_includes_default
! 4917:
! 4918: #include <$ac_header>
! 4919: _ACEOF
! 4920: rm -f conftest.$ac_objext
! 4921: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4922: (eval $ac_compile) 2>conftest.er1
! 4923: ac_status=$?
! 4924: grep -v '^ *+' conftest.er1 >conftest.err
! 4925: rm -f conftest.er1
! 4926: cat conftest.err >&5
! 4927: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4928: (exit $ac_status); } &&
! 4929: { ac_try='test -z "$ac_c_werror_flag"
! 4930: || test ! -s conftest.err'
! 4931: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4932: (eval $ac_try) 2>&5
! 4933: ac_status=$?
! 4934: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4935: (exit $ac_status); }; } &&
! 4936: { ac_try='test -s conftest.$ac_objext'
! 4937: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4938: (eval $ac_try) 2>&5
! 4939: ac_status=$?
! 4940: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4941: (exit $ac_status); }; }; then
! 4942: eval "$as_ac_Header=yes"
! 4943: else
! 4944: echo "$as_me: failed program was:" >&5
! 4945: sed 's/^/| /' conftest.$ac_ext >&5
! 4946:
! 4947: eval "$as_ac_Header=no"
! 4948: fi
! 4949: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4950: fi
! 4951: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4952: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4953: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4954: cat >>confdefs.h <<_ACEOF
! 4955: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4956: _ACEOF
! 4957:
! 4958: fi
! 4959:
! 4960: done
! 4961:
! 4962:
! 4963:
! 4964: for ac_header in dlfcn.h
! 4965: do
! 4966: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4967: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4968: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4969: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4970: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4971: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4972: fi
! 4973: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4974: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4975: else
! 4976: # Is the header compilable?
! 4977: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4978: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 4979: cat >conftest.$ac_ext <<_ACEOF
! 4980: /* confdefs.h. */
! 4981: _ACEOF
! 4982: cat confdefs.h >>conftest.$ac_ext
! 4983: cat >>conftest.$ac_ext <<_ACEOF
! 4984: /* end confdefs.h. */
! 4985: $ac_includes_default
! 4986: #include <$ac_header>
! 4987: _ACEOF
! 4988: rm -f conftest.$ac_objext
! 4989: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4990: (eval $ac_compile) 2>conftest.er1
! 4991: ac_status=$?
! 4992: grep -v '^ *+' conftest.er1 >conftest.err
! 4993: rm -f conftest.er1
! 4994: cat conftest.err >&5
! 4995: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4996: (exit $ac_status); } &&
! 4997: { ac_try='test -z "$ac_c_werror_flag"
! 4998: || test ! -s conftest.err'
! 4999: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5000: (eval $ac_try) 2>&5
! 5001: ac_status=$?
! 5002: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5003: (exit $ac_status); }; } &&
! 5004: { ac_try='test -s conftest.$ac_objext'
! 5005: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5006: (eval $ac_try) 2>&5
! 5007: ac_status=$?
! 5008: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5009: (exit $ac_status); }; }; then
! 5010: ac_header_compiler=yes
! 5011: else
! 5012: echo "$as_me: failed program was:" >&5
! 5013: sed 's/^/| /' conftest.$ac_ext >&5
! 5014:
! 5015: ac_header_compiler=no
! 5016: fi
! 5017: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 5018: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 5019: echo "${ECHO_T}$ac_header_compiler" >&6
! 5020:
! 5021: # Is the header present?
! 5022: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 5023: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 5024: cat >conftest.$ac_ext <<_ACEOF
! 5025: /* confdefs.h. */
! 5026: _ACEOF
! 5027: cat confdefs.h >>conftest.$ac_ext
! 5028: cat >>conftest.$ac_ext <<_ACEOF
! 5029: /* end confdefs.h. */
! 5030: #include <$ac_header>
! 5031: _ACEOF
! 5032: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5033: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5034: ac_status=$?
! 5035: grep -v '^ *+' conftest.er1 >conftest.err
! 5036: rm -f conftest.er1
! 5037: cat conftest.err >&5
! 5038: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5039: (exit $ac_status); } >/dev/null; then
! 5040: if test -s conftest.err; then
! 5041: ac_cpp_err=$ac_c_preproc_warn_flag
! 5042: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 5043: else
! 5044: ac_cpp_err=
! 5045: fi
! 5046: else
! 5047: ac_cpp_err=yes
! 5048: fi
! 5049: if test -z "$ac_cpp_err"; then
! 5050: ac_header_preproc=yes
! 5051: else
! 5052: echo "$as_me: failed program was:" >&5
! 5053: sed 's/^/| /' conftest.$ac_ext >&5
! 5054:
! 5055: ac_header_preproc=no
! 5056: fi
! 5057: rm -f conftest.err conftest.$ac_ext
! 5058: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 5059: echo "${ECHO_T}$ac_header_preproc" >&6
! 5060:
! 5061: # So? What about this header?
! 5062: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 5063: yes:no: )
! 5064: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 5065: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 5066: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 5067: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 5068: ac_header_preproc=yes
! 5069: ;;
! 5070: no:yes:* )
! 5071: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 5072: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 5073: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 5074: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 5075: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 5076: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 5077: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 5078: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 5079: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 5080: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 5081: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 5082: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 5083: (
! 5084: cat <<\_ASBOX
! 5085: ## ------------------------------------------ ##
! 5086: ## Report this to the AC_PACKAGE_NAME lists. ##
! 5087: ## ------------------------------------------ ##
! 5088: _ASBOX
! 5089: ) |
! 5090: sed "s/^/$as_me: WARNING: /" >&2
! 5091: ;;
! 5092: esac
! 5093: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5094: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 5095: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 5096: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5097: else
! 5098: eval "$as_ac_Header=\$ac_header_preproc"
! 5099: fi
! 5100: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 5101: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 5102:
! 5103: fi
! 5104: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 5105: cat >>confdefs.h <<_ACEOF
! 5106: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5107: _ACEOF
! 5108:
! 5109: fi
! 5110:
! 5111: done
! 5112:
! 5113:
! 5114:
! 5115:
! 5116:
! 5117:
! 5118: # Only perform the check for file, if the check method requires it
! 5119: case $deplibs_check_method in
! 5120: file_magic*)
! 5121: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 5122: echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! 5123: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! 5124: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 5125: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5126: else
! 5127: case $MAGIC_CMD in
! 5128: /*)
! 5129: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 5130: ;;
! 5131: ?:/*)
! 5132: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
! 5133: ;;
! 5134: *)
! 5135: ac_save_MAGIC_CMD="$MAGIC_CMD"
! 5136: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 5137: ac_dummy="/usr/bin:$PATH"
! 5138: for ac_dir in $ac_dummy; do
! 5139: test -z "$ac_dir" && ac_dir=.
! 5140: if test -f $ac_dir/${ac_tool_prefix}file; then
! 5141: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 5142: if test -n "$file_magic_test_file"; then
! 5143: case $deplibs_check_method in
! 5144: "file_magic "*)
! 5145: file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
! 5146: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 5147: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 5148: egrep "$file_magic_regex" > /dev/null; then
! 5149: :
! 5150: else
! 5151: cat <<EOF 1>&2
! 5152:
! 5153: *** Warning: the command libtool uses to detect shared libraries,
! 5154: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 5155: *** The result is that libtool may fail to recognize shared libraries
! 5156: *** as such. This will affect the creation of libtool libraries that
! 5157: *** depend on shared libraries, but programs linked with such libtool
! 5158: *** libraries will work regardless of this problem. Nevertheless, you
! 5159: *** may want to report the problem to your system manager and/or to
! 5160: *** bug-libtool@gnu.org
! 5161:
! 5162: EOF
! 5163: fi ;;
! 5164: esac
! 5165: fi
! 5166: break
! 5167: fi
! 5168: done
! 5169: IFS="$ac_save_ifs"
! 5170: MAGIC_CMD="$ac_save_MAGIC_CMD"
! 5171: ;;
! 5172: esac
! 5173: fi
! 5174:
! 5175: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 5176: if test -n "$MAGIC_CMD"; then
! 5177: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 5178: echo "${ECHO_T}$MAGIC_CMD" >&6
! 5179: else
! 5180: echo "$as_me:$LINENO: result: no" >&5
! 5181: echo "${ECHO_T}no" >&6
! 5182: fi
! 5183:
! 5184: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 5185: if test -n "$ac_tool_prefix"; then
! 5186: echo "$as_me:$LINENO: checking for file" >&5
! 5187: echo $ECHO_N "checking for file... $ECHO_C" >&6
! 5188: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! 5189: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5190: else
! 5191: case $MAGIC_CMD in
! 5192: /*)
! 5193: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 5194: ;;
! 5195: ?:/*)
! 5196: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
! 5197: ;;
! 5198: *)
! 5199: ac_save_MAGIC_CMD="$MAGIC_CMD"
! 5200: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 5201: ac_dummy="/usr/bin:$PATH"
! 5202: for ac_dir in $ac_dummy; do
! 5203: test -z "$ac_dir" && ac_dir=.
! 5204: if test -f $ac_dir/file; then
! 5205: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 5206: if test -n "$file_magic_test_file"; then
! 5207: case $deplibs_check_method in
! 5208: "file_magic "*)
! 5209: file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
! 5210: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 5211: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 5212: egrep "$file_magic_regex" > /dev/null; then
! 5213: :
! 5214: else
! 5215: cat <<EOF 1>&2
! 5216:
! 5217: *** Warning: the command libtool uses to detect shared libraries,
! 5218: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 5219: *** The result is that libtool may fail to recognize shared libraries
! 5220: *** as such. This will affect the creation of libtool libraries that
! 5221: *** depend on shared libraries, but programs linked with such libtool
! 5222: *** libraries will work regardless of this problem. Nevertheless, you
! 5223: *** may want to report the problem to your system manager and/or to
! 5224: *** bug-libtool@gnu.org
! 5225:
! 5226: EOF
! 5227: fi ;;
! 5228: esac
! 5229: fi
! 5230: break
! 5231: fi
! 5232: done
! 5233: IFS="$ac_save_ifs"
! 5234: MAGIC_CMD="$ac_save_MAGIC_CMD"
! 5235: ;;
! 5236: esac
! 5237: fi
! 5238:
! 5239: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 5240: if test -n "$MAGIC_CMD"; then
! 5241: echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! 5242: echo "${ECHO_T}$MAGIC_CMD" >&6
! 5243: else
! 5244: echo "$as_me:$LINENO: result: no" >&5
! 5245: echo "${ECHO_T}no" >&6
! 5246: fi
! 5247:
! 5248: else
! 5249: MAGIC_CMD=:
! 5250: fi
! 5251: fi
! 5252:
! 5253: fi
! 5254: ;;
! 5255: esac
! 5256:
! 5257: if test -n "$ac_tool_prefix"; then
! 5258: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5259: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5260: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5261: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5262: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 5263: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5264: else
! 5265: if test -n "$RANLIB"; then
! 5266: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5267: else
! 5268: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5269: for as_dir in $PATH
! 5270: do
! 5271: IFS=$as_save_IFS
! 5272: test -z "$as_dir" && as_dir=.
! 5273: for ac_exec_ext in '' $ac_executable_extensions; do
! 5274: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5275: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5276: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5277: break 2
! 5278: fi
! 5279: done
! 5280: done
! 5281:
! 5282: fi
! 5283: fi
! 5284: RANLIB=$ac_cv_prog_RANLIB
! 5285: if test -n "$RANLIB"; then
! 5286: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 5287: echo "${ECHO_T}$RANLIB" >&6
! 5288: else
! 5289: echo "$as_me:$LINENO: result: no" >&5
! 5290: echo "${ECHO_T}no" >&6
! 5291: fi
! 5292:
! 5293: fi
! 5294: if test -z "$ac_cv_prog_RANLIB"; then
! 5295: ac_ct_RANLIB=$RANLIB
! 5296: # Extract the first word of "ranlib", so it can be a program name with args.
! 5297: set dummy ranlib; ac_word=$2
! 5298: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5299: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5300: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 5301: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5302: else
! 5303: if test -n "$ac_ct_RANLIB"; then
! 5304: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5305: else
! 5306: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5307: for as_dir in $PATH
! 5308: do
! 5309: IFS=$as_save_IFS
! 5310: test -z "$as_dir" && as_dir=.
! 5311: for ac_exec_ext in '' $ac_executable_extensions; do
! 5312: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5313: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5314: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5315: break 2
! 5316: fi
! 5317: done
! 5318: done
! 5319:
! 5320: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 5321: fi
! 5322: fi
! 5323: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5324: if test -n "$ac_ct_RANLIB"; then
! 5325: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 5326: echo "${ECHO_T}$ac_ct_RANLIB" >&6
! 5327: else
! 5328: echo "$as_me:$LINENO: result: no" >&5
! 5329: echo "${ECHO_T}no" >&6
! 5330: fi
! 5331:
! 5332: RANLIB=$ac_ct_RANLIB
! 5333: else
! 5334: RANLIB="$ac_cv_prog_RANLIB"
! 5335: fi
! 5336:
! 5337: if test -n "$ac_tool_prefix"; then
! 5338: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5339: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5340: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5341: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5342: if test "${ac_cv_prog_STRIP+set}" = set; then
! 5343: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5344: else
! 5345: if test -n "$STRIP"; then
! 5346: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5347: else
! 5348: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5349: for as_dir in $PATH
! 5350: do
! 5351: IFS=$as_save_IFS
! 5352: test -z "$as_dir" && as_dir=.
! 5353: for ac_exec_ext in '' $ac_executable_extensions; do
! 5354: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5355: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5356: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5357: break 2
! 5358: fi
! 5359: done
! 5360: done
! 5361:
! 5362: fi
! 5363: fi
! 5364: STRIP=$ac_cv_prog_STRIP
! 5365: if test -n "$STRIP"; then
! 5366: echo "$as_me:$LINENO: result: $STRIP" >&5
! 5367: echo "${ECHO_T}$STRIP" >&6
! 5368: else
! 5369: echo "$as_me:$LINENO: result: no" >&5
! 5370: echo "${ECHO_T}no" >&6
! 5371: fi
! 5372:
! 5373: fi
! 5374: if test -z "$ac_cv_prog_STRIP"; then
! 5375: ac_ct_STRIP=$STRIP
! 5376: # Extract the first word of "strip", so it can be a program name with args.
! 5377: set dummy strip; ac_word=$2
! 5378: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 5379: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 5380: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 5381: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5382: else
! 5383: if test -n "$ac_ct_STRIP"; then
! 5384: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 5385: else
! 5386: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5387: for as_dir in $PATH
! 5388: do
! 5389: IFS=$as_save_IFS
! 5390: test -z "$as_dir" && as_dir=.
! 5391: for ac_exec_ext in '' $ac_executable_extensions; do
! 5392: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5393: ac_cv_prog_ac_ct_STRIP="strip"
! 5394: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5395: break 2
! 5396: fi
! 5397: done
! 5398: done
! 5399:
! 5400: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
! 5401: fi
! 5402: fi
! 5403: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5404: if test -n "$ac_ct_STRIP"; then
! 5405: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 5406: echo "${ECHO_T}$ac_ct_STRIP" >&6
! 5407: else
! 5408: echo "$as_me:$LINENO: result: no" >&5
! 5409: echo "${ECHO_T}no" >&6
! 5410: fi
! 5411:
! 5412: STRIP=$ac_ct_STRIP
! 5413: else
! 5414: STRIP="$ac_cv_prog_STRIP"
! 5415: fi
! 5416:
! 5417:
! 5418: enable_dlopen=no
! 5419: enable_win32_dll=no
! 5420:
! 5421: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 5422: if test "${enable_libtool_lock+set}" = set; then
! 5423: enableval="$enable_libtool_lock"
! 5424:
! 5425: fi;
! 5426: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 5427:
! 5428: # Some flags need to be propagated to the compiler or linker for good
! 5429: # libtool support.
! 5430: case $host in
! 5431: *-*-irix6*)
! 5432: # Find out which ABI we are using.
! 5433: echo '#line 5433 "configure"' > conftest.$ac_ext
! 5434: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5435: (eval $ac_compile) 2>&5
! 5436: ac_status=$?
! 5437: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5438: (exit $ac_status); }; then
! 5439: case `/usr/bin/file conftest.$ac_objext` in
! 5440: *32-bit*)
! 5441: LD="${LD-ld} -32"
! 5442: ;;
! 5443: *N32*)
! 5444: LD="${LD-ld} -n32"
! 5445: ;;
! 5446: *64-bit*)
! 5447: LD="${LD-ld} -64"
! 5448: ;;
! 5449: esac
! 5450: fi
! 5451: rm -rf conftest*
! 5452: ;;
! 5453:
! 5454: *-*-sco3.2v5*)
! 5455: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 5456: SAVE_CFLAGS="$CFLAGS"
! 5457: CFLAGS="$CFLAGS -belf"
! 5458: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 5459: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 5460: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 5461: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5462: else
! 5463:
! 5464:
! 5465: ac_ext=c
! 5466: ac_cpp='$CPP $CPPFLAGS'
! 5467: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5468: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5469: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5470:
! 5471: cat >conftest.$ac_ext <<_ACEOF
! 5472: /* confdefs.h. */
! 5473: _ACEOF
! 5474: cat confdefs.h >>conftest.$ac_ext
! 5475: cat >>conftest.$ac_ext <<_ACEOF
! 5476: /* end confdefs.h. */
! 5477:
! 5478: int
! 5479: main ()
! 5480: {
! 5481:
! 5482: ;
! 5483: return 0;
! 5484: }
! 5485: _ACEOF
! 5486: rm -f conftest.$ac_objext conftest$ac_exeext
! 5487: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5488: (eval $ac_link) 2>conftest.er1
! 5489: ac_status=$?
! 5490: grep -v '^ *+' conftest.er1 >conftest.err
! 5491: rm -f conftest.er1
! 5492: cat conftest.err >&5
! 5493: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5494: (exit $ac_status); } &&
! 5495: { ac_try='test -z "$ac_c_werror_flag"
! 5496: || test ! -s conftest.err'
! 5497: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5498: (eval $ac_try) 2>&5
! 5499: ac_status=$?
! 5500: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5501: (exit $ac_status); }; } &&
! 5502: { ac_try='test -s conftest$ac_exeext'
! 5503: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5504: (eval $ac_try) 2>&5
! 5505: ac_status=$?
! 5506: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5507: (exit $ac_status); }; }; then
! 5508: lt_cv_cc_needs_belf=yes
! 5509: else
! 5510: echo "$as_me: failed program was:" >&5
! 5511: sed 's/^/| /' conftest.$ac_ext >&5
! 5512:
! 5513: lt_cv_cc_needs_belf=no
! 5514: fi
! 5515: rm -f conftest.err conftest.$ac_objext \
! 5516: conftest$ac_exeext conftest.$ac_ext
! 5517: ac_ext=c
! 5518: ac_cpp='$CPP $CPPFLAGS'
! 5519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5522:
! 5523: fi
! 5524: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 5525: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
! 5526: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 5527: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 5528: CFLAGS="$SAVE_CFLAGS"
! 5529: fi
! 5530: ;;
! 5531:
! 5532:
! 5533: esac
! 5534:
! 5535: # Sed substitution that helps us do robust quoting. It backslashifies
! 5536: # metacharacters that are still active within double-quoted strings.
! 5537: Xsed='sed -e s/^X//'
! 5538: sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
! 5539:
! 5540: # Same as above, but do not quote variable references.
! 5541: double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
! 5542:
! 5543: # Sed substitution to delay expansion of an escaped shell variable in a
! 5544: # double_quote_subst'ed string.
! 5545: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 5546:
! 5547: # Constants:
! 5548: rm="rm -f"
! 5549:
! 5550: # Global variables:
! 5551: default_ofile=libtool
! 5552: can_build_shared=yes
! 5553:
! 5554: # All known linkers require a `.a' archive for static linking (except M$VC,
! 5555: # which needs '.lib').
! 5556: libext=a
! 5557: ltmain="$ac_aux_dir/ltmain.sh"
! 5558: ofile="$default_ofile"
! 5559: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 5560: need_locks="$enable_libtool_lock"
! 5561:
! 5562: old_CC="$CC"
! 5563: old_CFLAGS="$CFLAGS"
! 5564:
! 5565: # Set sane defaults for various variables
! 5566: test -z "$AR" && AR=ar
! 5567: test -z "$AR_FLAGS" && AR_FLAGS=cru
! 5568: test -z "$AS" && AS=as
! 5569: test -z "$CC" && CC=cc
! 5570: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 5571: test -z "$LD" && LD=ld
! 5572: test -z "$LN_S" && LN_S="ln -s"
! 5573: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 5574: test -z "$NM" && NM=nm
! 5575: test -z "$OBJDUMP" && OBJDUMP=objdump
! 5576: test -z "$RANLIB" && RANLIB=:
! 5577: test -z "$STRIP" && STRIP=:
! 5578: test -z "$ac_objext" && ac_objext=o
! 5579:
! 5580: if test x"$host" != x"$build"; then
! 5581: ac_tool_prefix=${host_alias}-
! 5582: else
! 5583: ac_tool_prefix=
! 5584: fi
! 5585:
! 5586: # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
! 5587: case $host_os in
! 5588: linux-gnu*) ;;
! 5589: linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
! 5590: esac
! 5591:
! 5592: case $host_os in
! 5593: aix3*)
! 5594: # AIX sometimes has problems with the GCC collect2 program. For some
! 5595: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 5596: # vanish in a puff of smoke.
! 5597: if test "X${COLLECT_NAMES+set}" != Xset; then
! 5598: COLLECT_NAMES=
! 5599: export COLLECT_NAMES
! 5600: fi
! 5601: ;;
! 5602: esac
! 5603:
! 5604: # Determine commands to create old-style static archives.
! 5605: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
! 5606: old_postinstall_cmds='chmod 644 $oldlib'
! 5607: old_postuninstall_cmds=
! 5608:
! 5609: if test -n "$RANLIB"; then
! 5610: case $host_os in
! 5611: openbsd*)
! 5612: old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
! 5613: ;;
! 5614: *)
! 5615: old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
! 5616: ;;
! 5617: esac
! 5618: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 5619: fi
! 5620:
! 5621: # Allow CC to be a program name with arguments.
! 5622: set dummy $CC
! 5623: compiler="$2"
! 5624:
! 5625: ## FIXME: this should be a separate macro
! 5626: ##
! 5627: echo "$as_me:$LINENO: checking for objdir" >&5
! 5628: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 5629: rm -f .libs 2>/dev/null
! 5630: mkdir .libs 2>/dev/null
! 5631: if test -d .libs; then
! 5632: objdir=.libs
! 5633: else
! 5634: # MS-DOS does not allow filenames that begin with a dot.
! 5635: objdir=_libs
! 5636: fi
! 5637: rmdir .libs 2>/dev/null
! 5638: echo "$as_me:$LINENO: result: $objdir" >&5
! 5639: echo "${ECHO_T}$objdir" >&6
! 5640: ##
! 5641: ## END FIXME
! 5642:
! 5643:
! 5644: ## FIXME: this should be a separate macro
! 5645: ##
! 5646:
! 5647: # Check whether --with-pic or --without-pic was given.
! 5648: if test "${with_pic+set}" = set; then
! 5649: withval="$with_pic"
! 5650: pic_mode="$withval"
! 5651: else
! 5652: pic_mode=default
! 5653: fi;
! 5654: test -z "$pic_mode" && pic_mode=default
! 5655:
! 5656: # We assume here that the value for lt_cv_prog_cc_pic will not be cached
! 5657: # in isolation, and that seeing it set (from the cache) indicates that
! 5658: # the associated values are set (in the cache) correctly too.
! 5659: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! 5660: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! 5661: if test "${lt_cv_prog_cc_pic+set}" = set; then
! 5662: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5663: else
! 5664: lt_cv_prog_cc_pic=
! 5665: lt_cv_prog_cc_shlib=
! 5666: lt_cv_prog_cc_wl=
! 5667: lt_cv_prog_cc_static=
! 5668: lt_cv_prog_cc_no_builtin=
! 5669: lt_cv_prog_cc_can_build_shared=$can_build_shared
! 5670:
! 5671: if test "$GCC" = yes; then
! 5672: lt_cv_prog_cc_wl='-Wl,'
! 5673: lt_cv_prog_cc_static='-static'
! 5674:
! 5675: case $host_os in
! 5676: aix*)
! 5677: # Below there is a dirty hack to force normal static linking with -ldl
! 5678: # The problem is because libdl dynamically linked with both libc and
! 5679: # libC (AIX C++ library), which obviously doesn't included in libraries
! 5680: # list by gcc. This cause undefined symbols with -static flags.
! 5681: # This hack allows C programs to be linked with "-static -ldl", but
! 5682: # not sure about C++ programs.
! 5683: lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
! 5684: ;;
! 5685: amigaos*)
! 5686: # FIXME: we need at least 68020 code to build shared libraries, but
! 5687: # adding the `-m68020' flag to GCC prevents building anything better,
! 5688: # like `-m68040'.
! 5689: lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
! 5690: ;;
! 5691: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 5692: # PIC is the default for these OSes.
! 5693: ;;
! 5694: darwin* | rhapsody*)
! 5695: # PIC is the default on this platform
! 5696: # Common symbols not allowed in MH_DYLIB files
! 5697: lt_cv_prog_cc_pic='-fno-common'
! 5698: ;;
! 5699: cygwin* | mingw* | pw32* | os2*)
! 5700: # This hack is so that the source file can tell whether it is being
! 5701: # built for inclusion in a dll (and should export symbols for example).
! 5702: lt_cv_prog_cc_pic='-DDLL_EXPORT'
! 5703: ;;
! 5704: sysv4*MP*)
! 5705: if test -d /usr/nec; then
! 5706: lt_cv_prog_cc_pic=-Kconform_pic
! 5707: fi
! 5708: ;;
! 5709: *)
! 5710: lt_cv_prog_cc_pic='-fPIC'
! 5711: ;;
! 5712: esac
! 5713: else
! 5714: # PORTME Check for PIC flags for the system compiler.
! 5715: case $host_os in
! 5716: aix3* | aix4* | aix5*)
! 5717: lt_cv_prog_cc_wl='-Wl,'
! 5718: # All AIX code is PIC.
! 5719: if test "$host_cpu" = ia64; then
! 5720: # AIX 5 now supports IA64 processor
! 5721: lt_cv_prog_cc_static='-Bstatic'
! 5722: else
! 5723: lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
! 5724: fi
! 5725: ;;
! 5726:
! 5727: hpux9* | hpux10* | hpux11*)
! 5728: # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
! 5729: lt_cv_prog_cc_wl='-Wl,'
! 5730: lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
! 5731: lt_cv_prog_cc_pic='+Z'
! 5732: ;;
! 5733:
! 5734: irix5* | irix6* | nonstopux*)
! 5735: lt_cv_prog_cc_wl='-Wl,'
! 5736: lt_cv_prog_cc_static='-non_shared'
! 5737: # PIC (with -KPIC) is the default.
! 5738: ;;
! 5739:
! 5740: cygwin* | mingw* | pw32* | os2*)
! 5741: # This hack is so that the source file can tell whether it is being
! 5742: # built for inclusion in a dll (and should export symbols for example).
! 5743: lt_cv_prog_cc_pic='-DDLL_EXPORT'
! 5744: ;;
! 5745:
! 5746: newsos6)
! 5747: lt_cv_prog_cc_pic='-KPIC'
! 5748: lt_cv_prog_cc_static='-Bstatic'
! 5749: ;;
! 5750:
! 5751: osf3* | osf4* | osf5*)
! 5752: # All OSF/1 code is PIC.
! 5753: lt_cv_prog_cc_wl='-Wl,'
! 5754: lt_cv_prog_cc_static='-non_shared'
! 5755: ;;
! 5756:
! 5757: sco3.2v5*)
! 5758: lt_cv_prog_cc_pic='-Kpic'
! 5759: lt_cv_prog_cc_static='-dn'
! 5760: lt_cv_prog_cc_shlib='-belf'
! 5761: ;;
! 5762:
! 5763: solaris*)
! 5764: lt_cv_prog_cc_pic='-KPIC'
! 5765: lt_cv_prog_cc_static='-Bstatic'
! 5766: lt_cv_prog_cc_wl='-Wl,'
! 5767: ;;
! 5768:
! 5769: sunos4*)
! 5770: lt_cv_prog_cc_pic='-PIC'
! 5771: lt_cv_prog_cc_static='-Bstatic'
! 5772: lt_cv_prog_cc_wl='-Qoption ld '
! 5773: ;;
! 5774:
! 5775: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 5776: lt_cv_prog_cc_pic='-KPIC'
! 5777: lt_cv_prog_cc_static='-Bstatic'
! 5778: lt_cv_prog_cc_wl='-Wl,'
! 5779: ;;
! 5780:
! 5781: uts4*)
! 5782: lt_cv_prog_cc_pic='-pic'
! 5783: lt_cv_prog_cc_static='-Bstatic'
! 5784: ;;
! 5785:
! 5786: sysv4*MP*)
! 5787: if test -d /usr/nec ;then
! 5788: lt_cv_prog_cc_pic='-Kconform_pic'
! 5789: lt_cv_prog_cc_static='-Bstatic'
! 5790: fi
! 5791: ;;
! 5792:
! 5793: *)
! 5794: lt_cv_prog_cc_can_build_shared=no
! 5795: ;;
! 5796: esac
! 5797: fi
! 5798:
! 5799: fi
! 5800:
! 5801: if test -z "$lt_cv_prog_cc_pic"; then
! 5802: echo "$as_me:$LINENO: result: none" >&5
! 5803: echo "${ECHO_T}none" >&6
! 5804: else
! 5805: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
! 5806: echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
! 5807:
! 5808: # Check to make sure the pic_flag actually works.
! 5809: echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
! 5810: echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
! 5811: if test "${lt_cv_prog_cc_pic_works+set}" = set; then
! 5812: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5813: else
! 5814: save_CFLAGS="$CFLAGS"
! 5815: CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
! 5816: cat >conftest.$ac_ext <<_ACEOF
! 5817: /* confdefs.h. */
! 5818: _ACEOF
! 5819: cat confdefs.h >>conftest.$ac_ext
! 5820: cat >>conftest.$ac_ext <<_ACEOF
! 5821: /* end confdefs.h. */
! 5822:
! 5823: int
! 5824: main ()
! 5825: {
! 5826:
! 5827: ;
! 5828: return 0;
! 5829: }
! 5830: _ACEOF
! 5831: rm -f conftest.$ac_objext
! 5832: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5833: (eval $ac_compile) 2>conftest.er1
! 5834: ac_status=$?
! 5835: grep -v '^ *+' conftest.er1 >conftest.err
! 5836: rm -f conftest.er1
! 5837: cat conftest.err >&5
! 5838: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5839: (exit $ac_status); } &&
! 5840: { ac_try='test -z "$ac_c_werror_flag"
! 5841: || test ! -s conftest.err'
! 5842: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5843: (eval $ac_try) 2>&5
! 5844: ac_status=$?
! 5845: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5846: (exit $ac_status); }; } &&
! 5847: { ac_try='test -s conftest.$ac_objext'
! 5848: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5849: (eval $ac_try) 2>&5
! 5850: ac_status=$?
! 5851: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5852: (exit $ac_status); }; }; then
! 5853: case $host_os in
! 5854: hpux9* | hpux10* | hpux11*)
! 5855: # On HP-UX, both CC and GCC only warn that PIC is supported... then
! 5856: # they create non-PIC objects. So, if there were any warnings, we
! 5857: # assume that PIC is not supported.
! 5858: if test -s conftest.err; then
! 5859: lt_cv_prog_cc_pic_works=no
! 5860: else
! 5861: lt_cv_prog_cc_pic_works=yes
! 5862: fi
! 5863: ;;
! 5864: *)
! 5865: lt_cv_prog_cc_pic_works=yes
! 5866: ;;
! 5867: esac
! 5868:
! 5869: else
! 5870: echo "$as_me: failed program was:" >&5
! 5871: sed 's/^/| /' conftest.$ac_ext >&5
! 5872:
! 5873: lt_cv_prog_cc_pic_works=no
! 5874:
! 5875: fi
! 5876: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 5877: CFLAGS="$save_CFLAGS"
! 5878:
! 5879: fi
! 5880:
! 5881:
! 5882: if test "X$lt_cv_prog_cc_pic_works" = Xno; then
! 5883: lt_cv_prog_cc_pic=
! 5884: lt_cv_prog_cc_can_build_shared=no
! 5885: else
! 5886: lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
! 5887: fi
! 5888:
! 5889: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
! 5890: echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
! 5891: fi
! 5892: ##
! 5893: ## END FIXME
! 5894:
! 5895: # Check for any special shared library compilation flags.
! 5896: if test -n "$lt_cv_prog_cc_shlib"; then
! 5897: { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
! 5898: echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
! 5899: if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
! 5900: else
! 5901: { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
! 5902: echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
! 5903: lt_cv_prog_cc_can_build_shared=no
! 5904: fi
! 5905: fi
! 5906:
! 5907: ## FIXME: this should be a separate macro
! 5908: ##
! 5909: echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
! 5910: echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
! 5911: if test "${lt_cv_prog_cc_static_works+set}" = set; then
! 5912: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5913: else
! 5914: lt_cv_prog_cc_static_works=no
! 5915: save_LDFLAGS="$LDFLAGS"
! 5916: LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
! 5917: cat >conftest.$ac_ext <<_ACEOF
! 5918: /* confdefs.h. */
! 5919: _ACEOF
! 5920: cat confdefs.h >>conftest.$ac_ext
! 5921: cat >>conftest.$ac_ext <<_ACEOF
! 5922: /* end confdefs.h. */
! 5923:
! 5924: int
! 5925: main ()
! 5926: {
! 5927:
! 5928: ;
! 5929: return 0;
! 5930: }
! 5931: _ACEOF
! 5932: rm -f conftest.$ac_objext conftest$ac_exeext
! 5933: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5934: (eval $ac_link) 2>conftest.er1
! 5935: ac_status=$?
! 5936: grep -v '^ *+' conftest.er1 >conftest.err
! 5937: rm -f conftest.er1
! 5938: cat conftest.err >&5
! 5939: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5940: (exit $ac_status); } &&
! 5941: { ac_try='test -z "$ac_c_werror_flag"
! 5942: || test ! -s conftest.err'
! 5943: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5944: (eval $ac_try) 2>&5
! 5945: ac_status=$?
! 5946: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5947: (exit $ac_status); }; } &&
! 5948: { ac_try='test -s conftest$ac_exeext'
! 5949: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5950: (eval $ac_try) 2>&5
! 5951: ac_status=$?
! 5952: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5953: (exit $ac_status); }; }; then
! 5954: lt_cv_prog_cc_static_works=yes
! 5955: else
! 5956: echo "$as_me: failed program was:" >&5
! 5957: sed 's/^/| /' conftest.$ac_ext >&5
! 5958:
! 5959: fi
! 5960: rm -f conftest.err conftest.$ac_objext \
! 5961: conftest$ac_exeext conftest.$ac_ext
! 5962: LDFLAGS="$save_LDFLAGS"
! 5963:
! 5964: fi
! 5965:
! 5966:
! 5967: # Belt *and* braces to stop my trousers falling down:
! 5968: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
! 5969: echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
! 5970: echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
! 5971:
! 5972: pic_flag="$lt_cv_prog_cc_pic"
! 5973: special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
! 5974: wl="$lt_cv_prog_cc_wl"
! 5975: link_static_flag="$lt_cv_prog_cc_static"
! 5976: no_builtin_flag="$lt_cv_prog_cc_no_builtin"
! 5977: can_build_shared="$lt_cv_prog_cc_can_build_shared"
! 5978: ##
! 5979: ## END FIXME
! 5980:
! 5981:
! 5982: ## FIXME: this should be a separate macro
! 5983: ##
! 5984: # Check to see if options -o and -c are simultaneously supported by compiler
! 5985: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
! 5986: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
! 5987: if test "${lt_cv_compiler_c_o+set}" = set; then
! 5988: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5989: else
! 5990:
! 5991: $rm -r conftest 2>/dev/null
! 5992: mkdir conftest
! 5993: cd conftest
! 5994: echo "int some_variable = 0;" > conftest.$ac_ext
! 5995: mkdir out
! 5996: # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
! 5997: # that will create temporary files in the current directory regardless of
! 5998: # the output directory. Thus, making CWD read-only will cause this test
! 5999: # to fail, enabling locking or at least warning the user not to do parallel
! 6000: # builds.
! 6001: chmod -w .
! 6002: save_CFLAGS="$CFLAGS"
! 6003: CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
! 6004: compiler_c_o=no
! 6005: if { (eval echo configure:6005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
! 6006: # The compiler can only warn and ignore the option if not recognized
! 6007: # So say no if there are warnings
! 6008: if test -s out/conftest.err; then
! 6009: lt_cv_compiler_c_o=no
! 6010: else
! 6011: lt_cv_compiler_c_o=yes
! 6012: fi
! 6013: else
! 6014: # Append any errors to the config.log.
! 6015: cat out/conftest.err 1>&5
! 6016: lt_cv_compiler_c_o=no
! 6017: fi
! 6018: CFLAGS="$save_CFLAGS"
! 6019: chmod u+w .
! 6020: $rm conftest* out/*
! 6021: rmdir out
! 6022: cd ..
! 6023: rmdir conftest
! 6024: $rm -r conftest 2>/dev/null
! 6025:
! 6026: fi
! 6027:
! 6028: compiler_c_o=$lt_cv_compiler_c_o
! 6029: echo "$as_me:$LINENO: result: $compiler_c_o" >&5
! 6030: echo "${ECHO_T}$compiler_c_o" >&6
! 6031:
! 6032: if test x"$compiler_c_o" = x"yes"; then
! 6033: # Check to see if we can write to a .lo
! 6034: echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
! 6035: echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
! 6036: if test "${lt_cv_compiler_o_lo+set}" = set; then
! 6037: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6038: else
! 6039:
! 6040: lt_cv_compiler_o_lo=no
! 6041: save_CFLAGS="$CFLAGS"
! 6042: CFLAGS="$CFLAGS -c -o conftest.lo"
! 6043: save_objext="$ac_objext"
! 6044: ac_objext=lo
! 6045: cat >conftest.$ac_ext <<_ACEOF
! 6046: /* confdefs.h. */
! 6047: _ACEOF
! 6048: cat confdefs.h >>conftest.$ac_ext
! 6049: cat >>conftest.$ac_ext <<_ACEOF
! 6050: /* end confdefs.h. */
! 6051:
! 6052: int
! 6053: main ()
! 6054: {
! 6055: int some_variable = 0;
! 6056: ;
! 6057: return 0;
! 6058: }
! 6059: _ACEOF
! 6060: rm -f conftest.$ac_objext
! 6061: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6062: (eval $ac_compile) 2>conftest.er1
! 6063: ac_status=$?
! 6064: grep -v '^ *+' conftest.er1 >conftest.err
! 6065: rm -f conftest.er1
! 6066: cat conftest.err >&5
! 6067: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6068: (exit $ac_status); } &&
! 6069: { ac_try='test -z "$ac_c_werror_flag"
! 6070: || test ! -s conftest.err'
! 6071: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6072: (eval $ac_try) 2>&5
! 6073: ac_status=$?
! 6074: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6075: (exit $ac_status); }; } &&
! 6076: { ac_try='test -s conftest.$ac_objext'
! 6077: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6078: (eval $ac_try) 2>&5
! 6079: ac_status=$?
! 6080: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6081: (exit $ac_status); }; }; then
! 6082: # The compiler can only warn and ignore the option if not recognized
! 6083: # So say no if there are warnings
! 6084: if test -s conftest.err; then
! 6085: lt_cv_compiler_o_lo=no
! 6086: else
! 6087: lt_cv_compiler_o_lo=yes
! 6088: fi
! 6089:
! 6090: else
! 6091: echo "$as_me: failed program was:" >&5
! 6092: sed 's/^/| /' conftest.$ac_ext >&5
! 6093:
! 6094: fi
! 6095: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 6096: ac_objext="$save_objext"
! 6097: CFLAGS="$save_CFLAGS"
! 6098:
! 6099: fi
! 6100:
! 6101: compiler_o_lo=$lt_cv_compiler_o_lo
! 6102: echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
! 6103: echo "${ECHO_T}$compiler_o_lo" >&6
! 6104: else
! 6105: compiler_o_lo=no
! 6106: fi
! 6107: ##
! 6108: ## END FIXME
! 6109:
! 6110: ## FIXME: this should be a separate macro
! 6111: ##
! 6112: # Check to see if we can do hard links to lock some files if needed
! 6113: hard_links="nottested"
! 6114: if test "$compiler_c_o" = no && test "$need_locks" != no; then
! 6115: # do not overwrite the value of need_locks provided by the user
! 6116: echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! 6117: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
! 6118: hard_links=yes
! 6119: $rm conftest*
! 6120: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 6121: touch conftest.a
! 6122: ln conftest.a conftest.b 2>&5 || hard_links=no
! 6123: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 6124: echo "$as_me:$LINENO: result: $hard_links" >&5
! 6125: echo "${ECHO_T}$hard_links" >&6
! 6126: if test "$hard_links" = no; then
! 6127: { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 6128: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 6129: need_locks=warn
! 6130: fi
! 6131: else
! 6132: need_locks=no
! 6133: fi
! 6134: ##
! 6135: ## END FIXME
! 6136:
! 6137: ## FIXME: this should be a separate macro
! 6138: ##
! 6139: if test "$GCC" = yes; then
! 6140: # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
! 6141: echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 6142: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
! 6143: echo "int some_variable = 0;" > conftest.$ac_ext
! 6144: save_CFLAGS="$CFLAGS"
! 6145: CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
! 6146: compiler_rtti_exceptions=no
! 6147: cat >conftest.$ac_ext <<_ACEOF
! 6148: /* confdefs.h. */
! 6149: _ACEOF
! 6150: cat confdefs.h >>conftest.$ac_ext
! 6151: cat >>conftest.$ac_ext <<_ACEOF
! 6152: /* end confdefs.h. */
! 6153:
! 6154: int
! 6155: main ()
! 6156: {
! 6157: int some_variable = 0;
! 6158: ;
! 6159: return 0;
! 6160: }
! 6161: _ACEOF
! 6162: rm -f conftest.$ac_objext
! 6163: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 6164: (eval $ac_compile) 2>conftest.er1
! 6165: ac_status=$?
! 6166: grep -v '^ *+' conftest.er1 >conftest.err
! 6167: rm -f conftest.er1
! 6168: cat conftest.err >&5
! 6169: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6170: (exit $ac_status); } &&
! 6171: { ac_try='test -z "$ac_c_werror_flag"
! 6172: || test ! -s conftest.err'
! 6173: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6174: (eval $ac_try) 2>&5
! 6175: ac_status=$?
! 6176: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6177: (exit $ac_status); }; } &&
! 6178: { ac_try='test -s conftest.$ac_objext'
! 6179: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 6180: (eval $ac_try) 2>&5
! 6181: ac_status=$?
! 6182: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6183: (exit $ac_status); }; }; then
! 6184: # The compiler can only warn and ignore the option if not recognized
! 6185: # So say no if there are warnings
! 6186: if test -s conftest.err; then
! 6187: compiler_rtti_exceptions=no
! 6188: else
! 6189: compiler_rtti_exceptions=yes
! 6190: fi
! 6191:
! 6192: else
! 6193: echo "$as_me: failed program was:" >&5
! 6194: sed 's/^/| /' conftest.$ac_ext >&5
! 6195:
! 6196: fi
! 6197: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 6198: CFLAGS="$save_CFLAGS"
! 6199: echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
! 6200: echo "${ECHO_T}$compiler_rtti_exceptions" >&6
! 6201:
! 6202: if test "$compiler_rtti_exceptions" = "yes"; then
! 6203: no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
! 6204: else
! 6205: no_builtin_flag=' -fno-builtin'
! 6206: fi
! 6207: fi
! 6208: ##
! 6209: ## END FIXME
! 6210:
! 6211: ## FIXME: this should be a separate macro
! 6212: ##
! 6213: # See if the linker supports building shared libraries.
! 6214: echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
! 6215: echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
! 6216:
! 6217: allow_undefined_flag=
! 6218: no_undefined_flag=
! 6219: need_lib_prefix=unknown
! 6220: need_version=unknown
! 6221: # when you set need_version to no, make sure it does not cause -set_version
! 6222: # flags to be left without arguments
! 6223: archive_cmds=
! 6224: archive_expsym_cmds=
! 6225: old_archive_from_new_cmds=
! 6226: old_archive_from_expsyms_cmds=
! 6227: export_dynamic_flag_spec=
! 6228: whole_archive_flag_spec=
! 6229: thread_safe_flag_spec=
! 6230: hardcode_into_libs=no
! 6231: hardcode_libdir_flag_spec=
! 6232: hardcode_libdir_separator=
! 6233: hardcode_direct=no
! 6234: hardcode_minus_L=no
! 6235: hardcode_shlibpath_var=unsupported
! 6236: runpath_var=
! 6237: link_all_deplibs=unknown
! 6238: always_export_symbols=no
! 6239: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 6240: # include_expsyms should be a list of space-separated symbols to be *always*
! 6241: # included in the symbol list
! 6242: include_expsyms=
! 6243: # exclude_expsyms can be an egrep regular expression of symbols to exclude
! 6244: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 6245: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 6246: # as well as any symbol that contains `d'.
! 6247: exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
! 6248: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 6249: # platforms (ab)use it in PIC code, but their linkers get confused if
! 6250: # the symbol is explicitly referenced. Since portable code cannot
! 6251: # rely on this symbol name, it's probably fine to never include it in
! 6252: # preloaded symbol tables.
! 6253: extract_expsyms_cmds=
! 6254:
! 6255: case $host_os in
! 6256: cygwin* | mingw* | pw32*)
! 6257: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 6258: # When not using gcc, we currently assume that we are using
! 6259: # Microsoft Visual C++.
! 6260: if test "$GCC" != yes; then
! 6261: with_gnu_ld=no
! 6262: fi
! 6263: ;;
! 6264: openbsd*)
! 6265: with_gnu_ld=no
! 6266: ;;
! 6267: esac
! 6268:
! 6269: ld_shlibs=yes
! 6270: if test "$with_gnu_ld" = yes; then
! 6271: # If archive_cmds runs LD, not CC, wlarc should be empty
! 6272: wlarc='${wl}'
! 6273:
! 6274: # See if GNU ld supports shared libraries.
! 6275: case $host_os in
! 6276: aix3* | aix4* | aix5*)
! 6277: # On AIX, the GNU linker is very broken
! 6278: # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
! 6279: ld_shlibs=no
! 6280: cat <<EOF 1>&2
! 6281:
! 6282: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
! 6283: *** to be unable to reliably create shared libraries on AIX.
! 6284: *** Therefore, libtool is disabling shared libraries support. If you
! 6285: *** really care for shared libraries, you may want to modify your PATH
! 6286: *** so that a non-GNU linker is found, and then restart.
! 6287:
! 6288: EOF
! 6289: ;;
! 6290:
! 6291: amigaos*)
! 6292: 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)'
! 6293: hardcode_libdir_flag_spec='-L$libdir'
! 6294: hardcode_minus_L=yes
! 6295:
! 6296: # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
! 6297: # that the semantics of dynamic libraries on AmigaOS, at least up
! 6298: # to version 4, is to share data among multiple programs linked
! 6299: # with the same dynamic library. Since this doesn't match the
! 6300: # behavior of shared libraries on other platforms, we can use
! 6301: # them.
! 6302: ld_shlibs=no
! 6303: ;;
! 6304:
! 6305: beos*)
! 6306: if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 6307: allow_undefined_flag=unsupported
! 6308: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 6309: # support --undefined. This deserves some investigation. FIXME
! 6310: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6311: else
! 6312: ld_shlibs=no
! 6313: fi
! 6314: ;;
! 6315:
! 6316: cygwin* | mingw* | pw32*)
! 6317: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 6318: # no search path for DLLs.
! 6319: hardcode_libdir_flag_spec='-L$libdir'
! 6320: allow_undefined_flag=unsupported
! 6321: always_export_symbols=yes
! 6322:
! 6323: extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
! 6324: sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
! 6325: test -f $output_objdir/impgen.exe || (cd $output_objdir && \
! 6326: if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
! 6327: else $CC -o impgen impgen.c ; fi)~
! 6328: $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
! 6329:
! 6330: old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
! 6331:
! 6332: # cygwin and mingw dlls have different entry points and sets of symbols
! 6333: # to exclude.
! 6334: # FIXME: what about values for MSVC?
! 6335: dll_entry=__cygwin_dll_entry@12
! 6336: dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
! 6337: case $host_os in
! 6338: mingw*)
! 6339: # mingw values
! 6340: dll_entry=_DllMainCRTStartup@12
! 6341: dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
! 6342: ;;
! 6343: esac
! 6344:
! 6345: # mingw and cygwin differ, and it's simplest to just exclude the union
! 6346: # of the two symbol sets.
! 6347: dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
! 6348:
! 6349: # recent cygwin and mingw systems supply a stub DllMain which the user
! 6350: # can override, but on older systems we have to supply one (in ltdll.c)
! 6351: if test "x$lt_cv_need_dllmain" = "xyes"; then
! 6352: ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
! 6353: 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~
! 6354: test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
! 6355: else
! 6356: ltdll_obj=
! 6357: ltdll_cmds=
! 6358: fi
! 6359:
! 6360: # Extract the symbol export list from an `--export-all' def file,
! 6361: # then regenerate the def file from the symbol export list, so that
! 6362: # the compiled dll only exports the symbol export list.
! 6363: # Be careful not to strip the DATA tag left be newer dlltools.
! 6364: export_symbols_cmds="$ltdll_cmds"'
! 6365: $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
! 6366: sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
! 6367:
! 6368: # If the export-symbols file already is a .def file (1st line
! 6369: # is EXPORTS), use it as is.
! 6370: # If DATA tags from a recent dlltool are present, honour them!
! 6371: archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
! 6372: cp $export_symbols $output_objdir/$soname-def;
! 6373: else
! 6374: echo EXPORTS > $output_objdir/$soname-def;
! 6375: _lt_hint=1;
! 6376: cat $export_symbols | while read symbol; do
! 6377: set dummy \$symbol;
! 6378: case \$# in
! 6379: 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
! 6380: 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
! 6381: *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
! 6382: esac;
! 6383: _lt_hint=`expr 1 + \$_lt_hint`;
! 6384: done;
! 6385: fi~
! 6386: '"$ltdll_cmds"'
! 6387: $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~
! 6388: $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~
! 6389: $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~
! 6390: $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~
! 6391: $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
! 6392: ;;
! 6393:
! 6394: netbsd*)
! 6395: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 6396: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 6397: wlarc=
! 6398: else
! 6399: archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6400: archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 6401: fi
! 6402: ;;
! 6403:
! 6404: solaris* | sysv5*)
! 6405: if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
! 6406: ld_shlibs=no
! 6407: cat <<EOF 1>&2
! 6408:
! 6409: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 6410: *** create shared libraries on Solaris systems. Therefore, libtool
! 6411: *** is disabling shared libraries support. We urge you to upgrade GNU
! 6412: *** binutils to release 2.9.1 or newer. Another option is to modify
! 6413: *** your PATH or compiler configuration so that the native linker is
! 6414: *** used, and then restart.
! 6415:
! 6416: EOF
! 6417: elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 6418: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6419: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 6420: else
! 6421: ld_shlibs=no
! 6422: fi
! 6423: ;;
! 6424:
! 6425: sunos4*)
! 6426: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 6427: wlarc=
! 6428: hardcode_direct=yes
! 6429: hardcode_shlibpath_var=no
! 6430: ;;
! 6431:
! 6432: *)
! 6433: if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
! 6434: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 6435: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 6436: else
! 6437: ld_shlibs=no
! 6438: fi
! 6439: ;;
! 6440: esac
! 6441:
! 6442: if test "$ld_shlibs" = yes; then
! 6443: runpath_var=LD_RUN_PATH
! 6444: hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
! 6445: export_dynamic_flag_spec='${wl}--export-dynamic'
! 6446: case $host_os in
! 6447: cygwin* | mingw* | pw32*)
! 6448: # dlltool doesn't understand --whole-archive et. al.
! 6449: whole_archive_flag_spec=
! 6450: ;;
! 6451: *)
! 6452: # ancient GNU ld didn't support --whole-archive et. al.
! 6453: if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
! 6454: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 6455: else
! 6456: whole_archive_flag_spec=
! 6457: fi
! 6458: ;;
! 6459: esac
! 6460: fi
! 6461: else
! 6462: # PORTME fill in a description of your system's linker (not GNU ld)
! 6463: case $host_os in
! 6464: aix3*)
! 6465: allow_undefined_flag=unsupported
! 6466: always_export_symbols=yes
! 6467: 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'
! 6468: # Note: this linker hardcodes the directories in LIBPATH if there
! 6469: # are no directories specified by -L.
! 6470: hardcode_minus_L=yes
! 6471: if test "$GCC" = yes && test -z "$link_static_flag"; then
! 6472: # Neither direct hardcoding nor static linking is supported with a
! 6473: # broken collect2.
! 6474: hardcode_direct=unsupported
! 6475: fi
! 6476: ;;
! 6477:
! 6478: aix4* | aix5*)
! 6479: if test "$host_cpu" = ia64; then
! 6480: # On IA64, the linker does run time linking by default, so we don't
! 6481: # have to do anything special.
! 6482: aix_use_runtimelinking=no
! 6483: exp_sym_flag='-Bexport'
! 6484: no_entry_flag=""
! 6485: else
! 6486: aix_use_runtimelinking=no
! 6487:
! 6488: # Test if we are trying to use run time linking or normal
! 6489: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 6490: # need to do runtime linking.
! 6491: case $host_os in aix4.[23]|aix4.[23].*|aix5*)
! 6492: for ld_flag in $LDFLAGS; do
! 6493: case $ld_flag in
! 6494: *-brtl*)
! 6495: aix_use_runtimelinking=yes
! 6496: break
! 6497: ;;
! 6498: esac
! 6499: done
! 6500: esac
! 6501:
! 6502: exp_sym_flag='-bexport'
! 6503: no_entry_flag='-bnoentry'
! 6504: fi
! 6505:
! 6506: # When large executables or shared objects are built, AIX ld can
! 6507: # have problems creating the table of contents. If linking a library
! 6508: # or program results in "error TOC overflow" add -mminimal-toc to
! 6509: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 6510: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 6511:
! 6512: hardcode_direct=yes
! 6513: archive_cmds=''
! 6514: hardcode_libdir_separator=':'
! 6515: if test "$GCC" = yes; then
! 6516: case $host_os in aix4.[012]|aix4.[012].*)
! 6517: collect2name=`${CC} -print-prog-name=collect2`
! 6518: if test -f "$collect2name" && \
! 6519: strings "$collect2name" | grep resolve_lib_name >/dev/null
! 6520: then
! 6521: # We have reworked collect2
! 6522: hardcode_direct=yes
! 6523: else
! 6524: # We have old collect2
! 6525: hardcode_direct=unsupported
! 6526: # It fails to find uninstalled libraries when the uninstalled
! 6527: # path is not listed in the libpath. Setting hardcode_minus_L
! 6528: # to unsupported forces relinking
! 6529: hardcode_minus_L=yes
! 6530: hardcode_libdir_flag_spec='-L$libdir'
! 6531: hardcode_libdir_separator=
! 6532: fi
! 6533: esac
! 6534:
! 6535: shared_flag='-shared'
! 6536: else
! 6537: # not using gcc
! 6538: if test "$host_cpu" = ia64; then
! 6539: shared_flag='${wl}-G'
! 6540: else
! 6541: if test "$aix_use_runtimelinking" = yes; then
! 6542: shared_flag='${wl}-G'
! 6543: else
! 6544: shared_flag='${wl}-bM:SRE'
! 6545: fi
! 6546: fi
! 6547: fi
! 6548:
! 6549: # It seems that -bexpall can do strange things, so it is better to
! 6550: # generate a list of symbols to export.
! 6551: always_export_symbols=yes
! 6552: if test "$aix_use_runtimelinking" = yes; then
! 6553: # Warning - without using the other runtime loading flags (-brtl),
! 6554: # -berok will link without error, but may produce a broken library.
! 6555: allow_undefined_flag='-berok'
! 6556: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
! 6557: 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"
! 6558: else
! 6559: if test "$host_cpu" = ia64; then
! 6560: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 6561: allow_undefined_flag="-z nodefs"
! 6562: 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"
! 6563: else
! 6564: hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
! 6565: # Warning - without using the other run time loading flags,
! 6566: # -berok will link without error, but may produce a broken library.
! 6567: allow_undefined_flag='${wl}-berok'
! 6568: # This is a bit strange, but is similar to how AIX traditionally builds
! 6569: # it's shared libraries.
! 6570: 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'
! 6571: fi
! 6572: fi
! 6573: ;;
! 6574:
! 6575: amigaos*)
! 6576: 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)'
! 6577: hardcode_libdir_flag_spec='-L$libdir'
! 6578: hardcode_minus_L=yes
! 6579: # see comment about different semantics on the GNU ld section
! 6580: ld_shlibs=no
! 6581: ;;
! 6582:
! 6583: cygwin* | mingw* | pw32*)
! 6584: # When not using gcc, we currently assume that we are using
! 6585: # Microsoft Visual C++.
! 6586: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 6587: # no search path for DLLs.
! 6588: hardcode_libdir_flag_spec=' '
! 6589: allow_undefined_flag=unsupported
! 6590: # Tell ltmain to make .lib files, not .a files.
! 6591: libext=lib
! 6592: # FIXME: Setting linknames here is a bad hack.
! 6593: archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
! 6594: # The linker will automatically build a .lib file if we build a DLL.
! 6595: old_archive_from_new_cmds='true'
! 6596: # FIXME: Should let the user specify the lib program.
! 6597: old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
! 6598: fix_srcfile_path='`cygpath -w "$srcfile"`'
! 6599: ;;
! 6600:
! 6601: darwin* | rhapsody*)
! 6602: case "$host_os" in
! 6603: rhapsody* | darwin1.[012])
! 6604: allow_undefined_flag='-undefined suppress'
! 6605: ;;
! 6606: *) # Darwin 1.3 on
! 6607: allow_undefined_flag='-flat_namespace -undefined suppress'
! 6608: ;;
! 6609: esac
! 6610: # FIXME: Relying on posixy $() will cause problems for
! 6611: # cross-compilation, but unfortunately the echo tests do not
! 6612: # yet detect zsh echo's removal of \ escapes. Also zsh mangles
! 6613: # `"' quotes if we put them in here... so don't!
! 6614: 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)'
! 6615: # We need to add '_' to the symbols in $export_symbols first
! 6616: #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
! 6617: hardcode_direct=yes
! 6618: hardcode_shlibpath_var=no
! 6619: whole_archive_flag_spec='-all_load $convenience'
! 6620: ;;
! 6621:
! 6622: freebsd1*)
! 6623: ld_shlibs=no
! 6624: ;;
! 6625:
! 6626: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 6627: # support. Future versions do this automatically, but an explicit c++rt0.o
! 6628: # does not break anything, and helps significantly (at the cost of a little
! 6629: # extra space).
! 6630: freebsd2.2*)
! 6631: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 6632: hardcode_libdir_flag_spec='-R$libdir'
! 6633: hardcode_direct=yes
! 6634: hardcode_shlibpath_var=no
! 6635: ;;
! 6636:
! 6637: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 6638: freebsd2*)
! 6639: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 6640: hardcode_direct=yes
! 6641: hardcode_minus_L=yes
! 6642: hardcode_shlibpath_var=no
! 6643: ;;
! 6644:
! 6645: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 6646: freebsd*)
! 6647: archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
! 6648: hardcode_libdir_flag_spec='-R$libdir'
! 6649: hardcode_direct=yes
! 6650: hardcode_shlibpath_var=no
! 6651: ;;
! 6652:
! 6653: hpux9* | hpux10* | hpux11*)
! 6654: case $host_os in
! 6655: 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' ;;
! 6656: *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
! 6657: esac
! 6658: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 6659: hardcode_libdir_separator=:
! 6660: hardcode_direct=yes
! 6661: hardcode_minus_L=yes # Not in the search PATH, but as the default
! 6662: # location of the library.
! 6663: export_dynamic_flag_spec='${wl}-E'
! 6664: ;;
! 6665:
! 6666: irix5* | irix6* | nonstopux*)
! 6667: if test "$GCC" = yes; then
! 6668: 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'
! 6669: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6670: else
! 6671: 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'
! 6672: hardcode_libdir_flag_spec='-rpath $libdir'
! 6673: fi
! 6674: hardcode_libdir_separator=:
! 6675: link_all_deplibs=yes
! 6676: ;;
! 6677:
! 6678: netbsd*)
! 6679: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 6680: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 6681: else
! 6682: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 6683: fi
! 6684: hardcode_libdir_flag_spec='-R$libdir'
! 6685: hardcode_direct=yes
! 6686: hardcode_shlibpath_var=no
! 6687: ;;
! 6688:
! 6689: newsos6)
! 6690: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6691: hardcode_direct=yes
! 6692: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6693: hardcode_libdir_separator=:
! 6694: hardcode_shlibpath_var=no
! 6695: ;;
! 6696:
! 6697: openbsd*)
! 6698: hardcode_direct=yes
! 6699: hardcode_shlibpath_var=no
! 6700: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 6701: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 6702: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 6703: export_dynamic_flag_spec='${wl}-E'
! 6704: else
! 6705: case "$host_os" in
! 6706: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 6707: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 6708: hardcode_libdir_flag_spec='-R$libdir'
! 6709: ;;
! 6710: *)
! 6711: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 6712: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 6713: ;;
! 6714: esac
! 6715: fi
! 6716: ;;
! 6717:
! 6718: os2*)
! 6719: hardcode_libdir_flag_spec='-L$libdir'
! 6720: hardcode_minus_L=yes
! 6721: allow_undefined_flag=unsupported
! 6722: 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'
! 6723: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 6724: ;;
! 6725:
! 6726: osf3*)
! 6727: if test "$GCC" = yes; then
! 6728: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 6729: 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'
! 6730: else
! 6731: allow_undefined_flag=' -expect_unresolved \*'
! 6732: 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'
! 6733: fi
! 6734: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6735: hardcode_libdir_separator=:
! 6736: ;;
! 6737:
! 6738: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 6739: if test "$GCC" = yes; then
! 6740: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 6741: 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'
! 6742: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 6743: else
! 6744: allow_undefined_flag=' -expect_unresolved \*'
! 6745: 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'
! 6746: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
! 6747: $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'
! 6748:
! 6749: #Both c and cxx compiler support -rpath directly
! 6750: hardcode_libdir_flag_spec='-rpath $libdir'
! 6751: fi
! 6752: hardcode_libdir_separator=:
! 6753: ;;
! 6754:
! 6755: sco3.2v5*)
! 6756: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6757: hardcode_shlibpath_var=no
! 6758: runpath_var=LD_RUN_PATH
! 6759: hardcode_runpath_var=yes
! 6760: export_dynamic_flag_spec='${wl}-Bexport'
! 6761: ;;
! 6762:
! 6763: solaris*)
! 6764: # gcc --version < 3.0 without binutils cannot create self contained
! 6765: # shared libraries reliably, requiring libgcc.a to resolve some of
! 6766: # the object symbols generated in some cases. Libraries that use
! 6767: # assert need libgcc.a to resolve __eprintf, for example. Linking
! 6768: # a copy of libgcc.a into every shared library to guarantee resolving
! 6769: # such symbols causes other problems: According to Tim Van Holder
! 6770: # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
! 6771: # (to the application) exception stack for one thing.
! 6772: no_undefined_flag=' -z defs'
! 6773: if test "$GCC" = yes; then
! 6774: case `$CC --version 2>/dev/null` in
! 6775: [12].*)
! 6776: cat <<EOF 1>&2
! 6777:
! 6778: *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
! 6779: *** create self contained shared libraries on Solaris systems, without
! 6780: *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
! 6781: *** -no-undefined support, which will at least allow you to build shared
! 6782: *** libraries. However, you may find that when you link such libraries
! 6783: *** into an application without using GCC, you have to manually add
! 6784: *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
! 6785: *** upgrade to a newer version of GCC. Another option is to rebuild your
! 6786: *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
! 6787:
! 6788: EOF
! 6789: no_undefined_flag=
! 6790: ;;
! 6791: esac
! 6792: fi
! 6793: # $CC -shared without GNU ld will not create a library from C++
! 6794: # object files and a static libstdc++, better avoid it by now
! 6795: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6796: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 6797: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 6798: hardcode_libdir_flag_spec='-R$libdir'
! 6799: hardcode_shlibpath_var=no
! 6800: case $host_os in
! 6801: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 6802: *) # Supported since Solaris 2.6 (maybe 2.5.1?)
! 6803: whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
! 6804: esac
! 6805: link_all_deplibs=yes
! 6806: ;;
! 6807:
! 6808: sunos4*)
! 6809: if test "x$host_vendor" = xsequent; then
! 6810: # Use $CC to link under sequent, because it throws in some extra .o
! 6811: # files that make .init and .fini sections work.
! 6812: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 6813: else
! 6814: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 6815: fi
! 6816: hardcode_libdir_flag_spec='-L$libdir'
! 6817: hardcode_direct=yes
! 6818: hardcode_minus_L=yes
! 6819: hardcode_shlibpath_var=no
! 6820: ;;
! 6821:
! 6822: sysv4)
! 6823: case $host_vendor in
! 6824: sni)
! 6825: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6826: hardcode_direct=yes # is this really true???
! 6827: ;;
! 6828: siemens)
! 6829: ## LD is ld it makes a PLAMLIB
! 6830: ## CC just makes a GrossModule.
! 6831: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 6832: reload_cmds='$CC -r -o $output$reload_objs'
! 6833: hardcode_direct=no
! 6834: ;;
! 6835: motorola)
! 6836: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6837: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 6838: ;;
! 6839: esac
! 6840: runpath_var='LD_RUN_PATH'
! 6841: hardcode_shlibpath_var=no
! 6842: ;;
! 6843:
! 6844: sysv4.3*)
! 6845: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6846: hardcode_shlibpath_var=no
! 6847: export_dynamic_flag_spec='-Bexport'
! 6848: ;;
! 6849:
! 6850: sysv5*)
! 6851: no_undefined_flag=' -z text'
! 6852: # $CC -shared without GNU ld will not create a library from C++
! 6853: # object files and a static libstdc++, better avoid it by now
! 6854: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6855: archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
! 6856: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
! 6857: hardcode_libdir_flag_spec=
! 6858: hardcode_shlibpath_var=no
! 6859: runpath_var='LD_RUN_PATH'
! 6860: ;;
! 6861:
! 6862: uts4*)
! 6863: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6864: hardcode_libdir_flag_spec='-L$libdir'
! 6865: hardcode_shlibpath_var=no
! 6866: ;;
! 6867:
! 6868: dgux*)
! 6869: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6870: hardcode_libdir_flag_spec='-L$libdir'
! 6871: hardcode_shlibpath_var=no
! 6872: ;;
! 6873:
! 6874: sysv4*MP*)
! 6875: if test -d /usr/nec; then
! 6876: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 6877: hardcode_shlibpath_var=no
! 6878: runpath_var=LD_RUN_PATH
! 6879: hardcode_runpath_var=yes
! 6880: ld_shlibs=yes
! 6881: fi
! 6882: ;;
! 6883:
! 6884: sysv4.2uw2*)
! 6885: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 6886: hardcode_direct=yes
! 6887: hardcode_minus_L=no
! 6888: hardcode_shlibpath_var=no
! 6889: hardcode_runpath_var=yes
! 6890: runpath_var=LD_RUN_PATH
! 6891: ;;
! 6892:
! 6893: sysv5uw7* | unixware7*)
! 6894: no_undefined_flag='${wl}-z ${wl}text'
! 6895: if test "$GCC" = yes; then
! 6896: archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 6897: else
! 6898: archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 6899: fi
! 6900: runpath_var='LD_RUN_PATH'
! 6901: hardcode_shlibpath_var=no
! 6902: ;;
! 6903:
! 6904: *)
! 6905: ld_shlibs=no
! 6906: ;;
! 6907: esac
! 6908: fi
! 6909: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! 6910: echo "${ECHO_T}$ld_shlibs" >&6
! 6911: test "$ld_shlibs" = no && can_build_shared=no
! 6912: ##
! 6913: ## END FIXME
! 6914:
! 6915: ## FIXME: this should be a separate macro
! 6916: ##
! 6917: # Check hardcoding attributes.
! 6918: echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
! 6919: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
! 6920: hardcode_action=
! 6921: if test -n "$hardcode_libdir_flag_spec" || \
! 6922: test -n "$runpath_var"; then
! 6923:
! 6924: # We can hardcode non-existant directories.
! 6925: if test "$hardcode_direct" != no &&
! 6926: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 6927: # have to relink, otherwise we might link with an installed library
! 6928: # when we should be linking with a yet-to-be-installed one
! 6929: ## test "$hardcode_shlibpath_var" != no &&
! 6930: test "$hardcode_minus_L" != no; then
! 6931: # Linking always hardcodes the temporary library directory.
! 6932: hardcode_action=relink
! 6933: else
! 6934: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 6935: hardcode_action=immediate
! 6936: fi
! 6937: else
! 6938: # We cannot hardcode anything, or else we can only hardcode existing
! 6939: # directories.
! 6940: hardcode_action=unsupported
! 6941: fi
! 6942: echo "$as_me:$LINENO: result: $hardcode_action" >&5
! 6943: echo "${ECHO_T}$hardcode_action" >&6
! 6944: ##
! 6945: ## END FIXME
! 6946:
! 6947: ## FIXME: this should be a separate macro
! 6948: ##
! 6949: striplib=
! 6950: old_striplib=
! 6951: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! 6952: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
! 6953: if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
! 6954: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 6955: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 6956: echo "$as_me:$LINENO: result: yes" >&5
! 6957: echo "${ECHO_T}yes" >&6
! 6958: else
! 6959: echo "$as_me:$LINENO: result: no" >&5
! 6960: echo "${ECHO_T}no" >&6
! 6961: fi
! 6962: ##
! 6963: ## END FIXME
! 6964:
! 6965: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 6966: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 6967:
! 6968: ## FIXME: this should be a separate macro
! 6969: ##
! 6970: # PORTME Fill in your ld.so characteristics
! 6971: echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! 6972: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
! 6973: library_names_spec=
! 6974: libname_spec='lib$name'
! 6975: soname_spec=
! 6976: postinstall_cmds=
! 6977: postuninstall_cmds=
! 6978: finish_cmds=
! 6979: finish_eval=
! 6980: shlibpath_var=
! 6981: shlibpath_overrides_runpath=unknown
! 6982: version_type=none
! 6983: dynamic_linker="$host_os ld.so"
! 6984: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 6985: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 6986:
! 6987: case $host_os in
! 6988: aix3*)
! 6989: version_type=linux
! 6990: library_names_spec='${libname}${release}.so$versuffix $libname.a'
! 6991: shlibpath_var=LIBPATH
! 6992:
! 6993: # AIX has no versioning support, so we append a major version to the name.
! 6994: soname_spec='${libname}${release}.so$major'
! 6995: ;;
! 6996:
! 6997: aix4* | aix5*)
! 6998: version_type=linux
! 6999: need_lib_prefix=no
! 7000: need_version=no
! 7001: hardcode_into_libs=yes
! 7002: if test "$host_cpu" = ia64; then
! 7003: # AIX 5 supports IA64
! 7004: library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
! 7005: shlibpath_var=LD_LIBRARY_PATH
! 7006: else
! 7007: # With GCC up to 2.95.x, collect2 would create an import file
! 7008: # for dependence libraries. The import file would start with
! 7009: # the line `#! .'. This would cause the generated library to
! 7010: # depend on `.', always an invalid library. This was fixed in
! 7011: # development snapshots of GCC prior to 3.0.
! 7012: case $host_os in
! 7013: aix4 | aix4.[01] | aix4.[01].*)
! 7014: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 7015: echo ' yes '
! 7016: echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
! 7017: :
! 7018: else
! 7019: can_build_shared=no
! 7020: fi
! 7021: ;;
! 7022: esac
! 7023: # AIX (on Power*) has no versioning support, so currently we can
! 7024: # not hardcode correct soname into executable. Probably we can
! 7025: # add versioning support to collect2, so additional links can
! 7026: # be useful in future.
! 7027: if test "$aix_use_runtimelinking" = yes; then
! 7028: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 7029: # instead of lib<name>.a to let people know that these are not
! 7030: # typical AIX shared libraries.
! 7031: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7032: else
! 7033: # We preserve .a as extension for shared libraries through AIX4.2
! 7034: # and later when we are not doing run time linking.
! 7035: library_names_spec='${libname}${release}.a $libname.a'
! 7036: soname_spec='${libname}${release}.so$major'
! 7037: fi
! 7038: shlibpath_var=LIBPATH
! 7039: fi
! 7040: hardcode_into_libs=yes
! 7041: ;;
! 7042:
! 7043: amigaos*)
! 7044: library_names_spec='$libname.ixlibrary $libname.a'
! 7045: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 7046: 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'
! 7047: ;;
! 7048:
! 7049: beos*)
! 7050: library_names_spec='${libname}.so'
! 7051: dynamic_linker="$host_os ld.so"
! 7052: shlibpath_var=LIBRARY_PATH
! 7053: ;;
! 7054:
! 7055: bsdi4*)
! 7056: version_type=linux
! 7057: need_version=no
! 7058: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7059: soname_spec='${libname}${release}.so$major'
! 7060: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 7061: shlibpath_var=LD_LIBRARY_PATH
! 7062: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 7063: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 7064: export_dynamic_flag_spec=-rdynamic
! 7065: # the default ld.so.conf also contains /usr/contrib/lib and
! 7066: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 7067: # libtool to hard-code these into programs
! 7068: ;;
! 7069:
! 7070: cygwin* | mingw* | pw32*)
! 7071: version_type=windows
! 7072: need_version=no
! 7073: need_lib_prefix=no
! 7074: case $GCC,$host_os in
! 7075: yes,cygwin*)
! 7076: library_names_spec='$libname.dll.a'
! 7077: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
! 7078: postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
! 7079: dldir=$destdir/`dirname \$dlpath`~
! 7080: test -d \$dldir || mkdir -p \$dldir~
! 7081: $install_prog .libs/$dlname \$dldir/$dlname'
! 7082: postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 7083: dlpath=$dir/\$dldll~
! 7084: $rm \$dlpath'
! 7085: ;;
! 7086: yes,mingw*)
! 7087: library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
! 7088: sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
! 7089: ;;
! 7090: yes,pw32*)
! 7091: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
! 7092: ;;
! 7093: *)
! 7094: library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
! 7095: ;;
! 7096: esac
! 7097: dynamic_linker='Win32 ld.exe'
! 7098: # FIXME: first we should search . and the directory the executable is in
! 7099: shlibpath_var=PATH
! 7100: ;;
! 7101:
! 7102: darwin* | rhapsody*)
! 7103: dynamic_linker="$host_os dyld"
! 7104: version_type=darwin
! 7105: need_lib_prefix=no
! 7106: need_version=no
! 7107: # FIXME: Relying on posixy $() will cause problems for
! 7108: # cross-compilation, but unfortunately the echo tests do not
! 7109: # yet detect zsh echo's removal of \ escapes.
! 7110: 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)'
! 7111: soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
! 7112: shlibpath_overrides_runpath=yes
! 7113: shlibpath_var=DYLD_LIBRARY_PATH
! 7114: ;;
! 7115:
! 7116: freebsd1*)
! 7117: dynamic_linker=no
! 7118: ;;
! 7119:
! 7120: freebsd*)
! 7121: objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
! 7122: version_type=freebsd-$objformat
! 7123: case $version_type in
! 7124: freebsd-elf*)
! 7125: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
! 7126: need_version=no
! 7127: need_lib_prefix=no
! 7128: ;;
! 7129: freebsd-*)
! 7130: library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
! 7131: need_version=yes
! 7132: ;;
! 7133: esac
! 7134: shlibpath_var=LD_LIBRARY_PATH
! 7135: case $host_os in
! 7136: freebsd2*)
! 7137: shlibpath_overrides_runpath=yes
! 7138: ;;
! 7139: *)
! 7140: shlibpath_overrides_runpath=no
! 7141: hardcode_into_libs=yes
! 7142: ;;
! 7143: esac
! 7144: ;;
! 7145:
! 7146: gnu*)
! 7147: version_type=linux
! 7148: need_lib_prefix=no
! 7149: need_version=no
! 7150: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
! 7151: soname_spec='${libname}${release}.so$major'
! 7152: shlibpath_var=LD_LIBRARY_PATH
! 7153: hardcode_into_libs=yes
! 7154: ;;
! 7155:
! 7156: hpux9* | hpux10* | hpux11*)
! 7157: # Give a soname corresponding to the major version so that dld.sl refuses to
! 7158: # link against other versions.
! 7159: dynamic_linker="$host_os dld.sl"
! 7160: version_type=sunos
! 7161: need_lib_prefix=no
! 7162: need_version=no
! 7163: shlibpath_var=SHLIB_PATH
! 7164: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 7165: library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
! 7166: soname_spec='${libname}${release}.sl$major'
! 7167: # HP-UX runs *really* slowly unless shared libraries are mode 555.
! 7168: postinstall_cmds='chmod 555 $lib'
! 7169: ;;
! 7170:
! 7171: irix5* | irix6* | nonstopux*)
! 7172: case $host_os in
! 7173: nonstopux*) version_type=nonstopux ;;
! 7174: *) version_type=irix ;;
! 7175: esac
! 7176: need_lib_prefix=no
! 7177: need_version=no
! 7178: soname_spec='${libname}${release}.so$major'
! 7179: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
! 7180: case $host_os in
! 7181: irix5* | nonstopux*)
! 7182: libsuff= shlibsuff=
! 7183: ;;
! 7184: *)
! 7185: case $LD in # libtool.m4 will add one of these switches to LD
! 7186: *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
! 7187: *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
! 7188: *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 7189: *) libsuff= shlibsuff= libmagic=never-match;;
! 7190: esac
! 7191: ;;
! 7192: esac
! 7193: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 7194: shlibpath_overrides_runpath=no
! 7195: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 7196: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 7197: ;;
! 7198:
! 7199: # No shared lib support for Linux oldld, aout, or coff.
! 7200: linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
! 7201: dynamic_linker=no
! 7202: ;;
! 7203:
! 7204: # This must be Linux ELF.
! 7205: linux-gnu*)
! 7206: version_type=linux
! 7207: need_lib_prefix=no
! 7208: need_version=no
! 7209: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7210: soname_spec='${libname}${release}.so$major'
! 7211: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 7212: shlibpath_var=LD_LIBRARY_PATH
! 7213: shlibpath_overrides_runpath=no
! 7214: # This implies no fast_install, which is unacceptable.
! 7215: # Some rework will be needed to allow for fast_install
! 7216: # before this can be enabled.
! 7217: hardcode_into_libs=yes
! 7218:
! 7219: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 7220: # powerpc, because MkLinux only supported shared libraries with the
! 7221: # GNU dynamic linker. Since this was broken with cross compilers,
! 7222: # most powerpc-linux boxes support dynamic linking these days and
! 7223: # people can always --disable-shared, the test was removed, and we
! 7224: # assume the GNU/Linux dynamic linker is in use.
! 7225: dynamic_linker='GNU/Linux ld.so'
! 7226: ;;
! 7227:
! 7228: netbsd*)
! 7229: version_type=sunos
! 7230: need_lib_prefix=no
! 7231: need_version=no
! 7232: if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
! 7233: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 7234: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 7235: dynamic_linker='NetBSD (a.out) ld.so'
! 7236: else
! 7237: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
! 7238: soname_spec='${libname}${release}.so$major'
! 7239: dynamic_linker='NetBSD ld.elf_so'
! 7240: fi
! 7241: shlibpath_var=LD_LIBRARY_PATH
! 7242: shlibpath_overrides_runpath=yes
! 7243: hardcode_into_libs=yes
! 7244: ;;
! 7245:
! 7246: newsos6)
! 7247: version_type=linux
! 7248: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7249: shlibpath_var=LD_LIBRARY_PATH
! 7250: shlibpath_overrides_runpath=yes
! 7251: ;;
! 7252:
! 7253: openbsd*)
! 7254: version_type=sunos
! 7255: need_lib_prefix=no
! 7256: need_version=no
! 7257: if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 7258: case "$host_os" in
! 7259: openbsd2.[89] | openbsd2.[89].*)
! 7260: shlibpath_overrides_runpath=no
! 7261: ;;
! 7262: *)
! 7263: shlibpath_overrides_runpath=yes
! 7264: ;;
! 7265: esac
! 7266: else
! 7267: shlibpath_overrides_runpath=yes
! 7268: fi
! 7269: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 7270: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 7271: shlibpath_var=LD_LIBRARY_PATH
! 7272: ;;
! 7273:
! 7274: os2*)
! 7275: libname_spec='$name'
! 7276: need_lib_prefix=no
! 7277: library_names_spec='$libname.dll $libname.a'
! 7278: dynamic_linker='OS/2 ld.exe'
! 7279: shlibpath_var=LIBPATH
! 7280: ;;
! 7281:
! 7282: osf3* | osf4* | osf5*)
! 7283: version_type=osf
! 7284: need_version=no
! 7285: soname_spec='${libname}${release}.so$major'
! 7286: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7287: shlibpath_var=LD_LIBRARY_PATH
! 7288: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 7289: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 7290: hardcode_into_libs=yes
! 7291: ;;
! 7292:
! 7293: sco3.2v5*)
! 7294: version_type=osf
! 7295: soname_spec='${libname}${release}.so$major'
! 7296: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7297: shlibpath_var=LD_LIBRARY_PATH
! 7298: ;;
! 7299:
! 7300: solaris*)
! 7301: version_type=linux
! 7302: need_lib_prefix=no
! 7303: need_version=no
! 7304: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7305: soname_spec='${libname}${release}.so$major'
! 7306: shlibpath_var=LD_LIBRARY_PATH
! 7307: shlibpath_overrides_runpath=yes
! 7308: hardcode_into_libs=yes
! 7309: # ldd complains unless libraries are executable
! 7310: postinstall_cmds='chmod +x $lib'
! 7311: ;;
! 7312:
! 7313: sunos4*)
! 7314: version_type=sunos
! 7315: library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
! 7316: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 7317: shlibpath_var=LD_LIBRARY_PATH
! 7318: shlibpath_overrides_runpath=yes
! 7319: if test "$with_gnu_ld" = yes; then
! 7320: need_lib_prefix=no
! 7321: fi
! 7322: need_version=yes
! 7323: ;;
! 7324:
! 7325: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 7326: version_type=linux
! 7327: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7328: soname_spec='${libname}${release}.so$major'
! 7329: shlibpath_var=LD_LIBRARY_PATH
! 7330: case $host_vendor in
! 7331: sni)
! 7332: shlibpath_overrides_runpath=no
! 7333: need_lib_prefix=no
! 7334: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 7335: runpath_var=LD_RUN_PATH
! 7336: ;;
! 7337: siemens)
! 7338: need_lib_prefix=no
! 7339: ;;
! 7340: motorola)
! 7341: need_lib_prefix=no
! 7342: need_version=no
! 7343: shlibpath_overrides_runpath=no
! 7344: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 7345: ;;
! 7346: esac
! 7347: ;;
! 7348:
! 7349: uts4*)
! 7350: version_type=linux
! 7351: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7352: soname_spec='${libname}${release}.so$major'
! 7353: shlibpath_var=LD_LIBRARY_PATH
! 7354: ;;
! 7355:
! 7356: dgux*)
! 7357: version_type=linux
! 7358: need_lib_prefix=no
! 7359: need_version=no
! 7360: library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
! 7361: soname_spec='${libname}${release}.so$major'
! 7362: shlibpath_var=LD_LIBRARY_PATH
! 7363: ;;
! 7364:
! 7365: sysv4*MP*)
! 7366: if test -d /usr/nec ;then
! 7367: version_type=linux
! 7368: library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
! 7369: soname_spec='$libname.so.$major'
! 7370: shlibpath_var=LD_LIBRARY_PATH
! 7371: fi
! 7372: ;;
! 7373:
! 7374: *)
! 7375: dynamic_linker=no
! 7376: ;;
! 7377: esac
! 7378: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! 7379: echo "${ECHO_T}$dynamic_linker" >&6
! 7380: test "$dynamic_linker" = no && can_build_shared=no
! 7381: ##
! 7382: ## END FIXME
! 7383:
! 7384: ## FIXME: this should be a separate macro
! 7385: ##
! 7386: # Report the final consequences.
! 7387: echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! 7388: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! 7389: echo "$as_me:$LINENO: result: $can_build_shared" >&5
! 7390: echo "${ECHO_T}$can_build_shared" >&6
! 7391: ##
! 7392: ## END FIXME
! 7393:
! 7394: ## FIXME: this should be a separate macro
! 7395: ##
! 7396: echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! 7397: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
! 7398: test "$can_build_shared" = "no" && enable_shared=no
! 7399:
! 7400: # On AIX, shared libraries and static libraries use the same namespace, and
! 7401: # are all built from PIC.
! 7402: case "$host_os" in
! 7403: aix3*)
! 7404: test "$enable_shared" = yes && enable_static=no
! 7405: if test -n "$RANLIB"; then
! 7406: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 7407: postinstall_cmds='$RANLIB $lib'
! 7408: fi
! 7409: ;;
! 7410:
! 7411: aix4*)
! 7412: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 7413: test "$enable_shared" = yes && enable_static=no
! 7414: fi
! 7415: ;;
! 7416: esac
! 7417: echo "$as_me:$LINENO: result: $enable_shared" >&5
! 7418: echo "${ECHO_T}$enable_shared" >&6
! 7419: ##
! 7420: ## END FIXME
! 7421:
! 7422: ## FIXME: this should be a separate macro
! 7423: ##
! 7424: echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! 7425: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
! 7426: # Make sure either enable_shared or enable_static is yes.
! 7427: test "$enable_shared" = yes || enable_static=yes
! 7428: echo "$as_me:$LINENO: result: $enable_static" >&5
! 7429: echo "${ECHO_T}$enable_static" >&6
! 7430: ##
! 7431: ## END FIXME
! 7432:
! 7433: if test "$hardcode_action" = relink; then
! 7434: # Fast installation is not supported
! 7435: enable_fast_install=no
! 7436: elif test "$shlibpath_overrides_runpath" = yes ||
! 7437: test "$enable_shared" = no; then
! 7438: # Fast installation is not necessary
! 7439: enable_fast_install=needless
! 7440: fi
! 7441:
! 7442: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 7443: if test "$GCC" = yes; then
! 7444: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 7445: fi
! 7446:
! 7447: if test "x$enable_dlopen" != xyes; then
! 7448: enable_dlopen=unknown
! 7449: enable_dlopen_self=unknown
! 7450: enable_dlopen_self_static=unknown
! 7451: else
! 7452: lt_cv_dlopen=no
! 7453: lt_cv_dlopen_libs=
! 7454:
! 7455: case $host_os in
! 7456: beos*)
! 7457: lt_cv_dlopen="load_add_on"
! 7458: lt_cv_dlopen_libs=
! 7459: lt_cv_dlopen_self=yes
! 7460: ;;
! 7461:
! 7462: cygwin* | mingw* | pw32*)
! 7463: lt_cv_dlopen="LoadLibrary"
! 7464: lt_cv_dlopen_libs=
! 7465: ;;
! 7466:
! 7467: *)
! 7468: echo "$as_me:$LINENO: checking for shl_load" >&5
! 7469: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 7470: if test "${ac_cv_func_shl_load+set}" = set; then
! 7471: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7472: else
! 7473: cat >conftest.$ac_ext <<_ACEOF
! 7474: /* confdefs.h. */
! 7475: _ACEOF
! 7476: cat confdefs.h >>conftest.$ac_ext
! 7477: cat >>conftest.$ac_ext <<_ACEOF
! 7478: /* end confdefs.h. */
! 7479: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
! 7480: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 7481: #define shl_load innocuous_shl_load
! 7482:
! 7483: /* System header to define __stub macros and hopefully few prototypes,
! 7484: which can conflict with char shl_load (); below.
! 7485: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 7486: <limits.h> exists even on freestanding compilers. */
! 7487:
! 7488: #ifdef __STDC__
! 7489: # include <limits.h>
! 7490: #else
! 7491: # include <assert.h>
! 7492: #endif
! 7493:
! 7494: #undef shl_load
! 7495:
! 7496: /* Override any gcc2 internal prototype to avoid an error. */
! 7497: #ifdef __cplusplus
! 7498: extern "C"
! 7499: {
! 7500: #endif
! 7501: /* We use char because int might match the return type of a gcc2
! 7502: builtin and then its argument prototype would still apply. */
! 7503: char shl_load ();
! 7504: /* The GNU C library defines this for functions which it implements
! 7505: to always fail with ENOSYS. Some functions are actually named
! 7506: something starting with __ and the normal name is an alias. */
! 7507: #if defined (__stub_shl_load) || defined (__stub___shl_load)
! 7508: choke me
! 7509: #else
! 7510: char (*f) () = shl_load;
! 7511: #endif
! 7512: #ifdef __cplusplus
! 7513: }
! 7514: #endif
! 7515:
! 7516: int
! 7517: main ()
! 7518: {
! 7519: return f != shl_load;
! 7520: ;
! 7521: return 0;
! 7522: }
! 7523: _ACEOF
! 7524: rm -f conftest.$ac_objext conftest$ac_exeext
! 7525: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7526: (eval $ac_link) 2>conftest.er1
! 7527: ac_status=$?
! 7528: grep -v '^ *+' conftest.er1 >conftest.err
! 7529: rm -f conftest.er1
! 7530: cat conftest.err >&5
! 7531: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7532: (exit $ac_status); } &&
! 7533: { ac_try='test -z "$ac_c_werror_flag"
! 7534: || test ! -s conftest.err'
! 7535: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7536: (eval $ac_try) 2>&5
! 7537: ac_status=$?
! 7538: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7539: (exit $ac_status); }; } &&
! 7540: { ac_try='test -s conftest$ac_exeext'
! 7541: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7542: (eval $ac_try) 2>&5
! 7543: ac_status=$?
! 7544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7545: (exit $ac_status); }; }; then
! 7546: ac_cv_func_shl_load=yes
! 7547: else
! 7548: echo "$as_me: failed program was:" >&5
! 7549: sed 's/^/| /' conftest.$ac_ext >&5
! 7550:
! 7551: ac_cv_func_shl_load=no
! 7552: fi
! 7553: rm -f conftest.err conftest.$ac_objext \
! 7554: conftest$ac_exeext conftest.$ac_ext
! 7555: fi
! 7556: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 7557: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 7558: if test $ac_cv_func_shl_load = yes; then
! 7559: lt_cv_dlopen="shl_load"
! 7560: else
! 7561: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 7562: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 7563: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 7564: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7565: else
! 7566: ac_check_lib_save_LIBS=$LIBS
! 7567: LIBS="-ldld $LIBS"
! 7568: cat >conftest.$ac_ext <<_ACEOF
! 7569: /* confdefs.h. */
! 7570: _ACEOF
! 7571: cat confdefs.h >>conftest.$ac_ext
! 7572: cat >>conftest.$ac_ext <<_ACEOF
! 7573: /* end confdefs.h. */
! 7574:
! 7575: /* Override any gcc2 internal prototype to avoid an error. */
! 7576: #ifdef __cplusplus
! 7577: extern "C"
! 7578: #endif
! 7579: /* We use char because int might match the return type of a gcc2
! 7580: builtin and then its argument prototype would still apply. */
! 7581: char shl_load ();
! 7582: int
! 7583: main ()
! 7584: {
! 7585: shl_load ();
! 7586: ;
! 7587: return 0;
! 7588: }
! 7589: _ACEOF
! 7590: rm -f conftest.$ac_objext conftest$ac_exeext
! 7591: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7592: (eval $ac_link) 2>conftest.er1
! 7593: ac_status=$?
! 7594: grep -v '^ *+' conftest.er1 >conftest.err
! 7595: rm -f conftest.er1
! 7596: cat conftest.err >&5
! 7597: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7598: (exit $ac_status); } &&
! 7599: { ac_try='test -z "$ac_c_werror_flag"
! 7600: || test ! -s conftest.err'
! 7601: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7602: (eval $ac_try) 2>&5
! 7603: ac_status=$?
! 7604: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7605: (exit $ac_status); }; } &&
! 7606: { ac_try='test -s conftest$ac_exeext'
! 7607: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7608: (eval $ac_try) 2>&5
! 7609: ac_status=$?
! 7610: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7611: (exit $ac_status); }; }; then
! 7612: ac_cv_lib_dld_shl_load=yes
! 7613: else
! 7614: echo "$as_me: failed program was:" >&5
! 7615: sed 's/^/| /' conftest.$ac_ext >&5
! 7616:
! 7617: ac_cv_lib_dld_shl_load=no
! 7618: fi
! 7619: rm -f conftest.err conftest.$ac_objext \
! 7620: conftest$ac_exeext conftest.$ac_ext
! 7621: LIBS=$ac_check_lib_save_LIBS
! 7622: fi
! 7623: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 7624: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 7625: if test $ac_cv_lib_dld_shl_load = yes; then
! 7626: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
! 7627: else
! 7628: echo "$as_me:$LINENO: checking for dlopen" >&5
! 7629: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 7630: if test "${ac_cv_func_dlopen+set}" = set; then
! 7631: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7632: else
! 7633: cat >conftest.$ac_ext <<_ACEOF
! 7634: /* confdefs.h. */
! 7635: _ACEOF
! 7636: cat confdefs.h >>conftest.$ac_ext
! 7637: cat >>conftest.$ac_ext <<_ACEOF
! 7638: /* end confdefs.h. */
! 7639: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
! 7640: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 7641: #define dlopen innocuous_dlopen
! 7642:
! 7643: /* System header to define __stub macros and hopefully few prototypes,
! 7644: which can conflict with char dlopen (); below.
! 7645: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 7646: <limits.h> exists even on freestanding compilers. */
! 7647:
! 7648: #ifdef __STDC__
! 7649: # include <limits.h>
! 7650: #else
! 7651: # include <assert.h>
! 7652: #endif
! 7653:
! 7654: #undef dlopen
! 7655:
! 7656: /* Override any gcc2 internal prototype to avoid an error. */
! 7657: #ifdef __cplusplus
! 7658: extern "C"
! 7659: {
! 7660: #endif
! 7661: /* We use char because int might match the return type of a gcc2
! 7662: builtin and then its argument prototype would still apply. */
! 7663: char dlopen ();
! 7664: /* The GNU C library defines this for functions which it implements
! 7665: to always fail with ENOSYS. Some functions are actually named
! 7666: something starting with __ and the normal name is an alias. */
! 7667: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 7668: choke me
! 7669: #else
! 7670: char (*f) () = dlopen;
! 7671: #endif
! 7672: #ifdef __cplusplus
! 7673: }
! 7674: #endif
! 7675:
! 7676: int
! 7677: main ()
! 7678: {
! 7679: return f != dlopen;
! 7680: ;
! 7681: return 0;
! 7682: }
! 7683: _ACEOF
! 7684: rm -f conftest.$ac_objext conftest$ac_exeext
! 7685: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7686: (eval $ac_link) 2>conftest.er1
! 7687: ac_status=$?
! 7688: grep -v '^ *+' conftest.er1 >conftest.err
! 7689: rm -f conftest.er1
! 7690: cat conftest.err >&5
! 7691: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7692: (exit $ac_status); } &&
! 7693: { ac_try='test -z "$ac_c_werror_flag"
! 7694: || test ! -s conftest.err'
! 7695: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7696: (eval $ac_try) 2>&5
! 7697: ac_status=$?
! 7698: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7699: (exit $ac_status); }; } &&
! 7700: { ac_try='test -s conftest$ac_exeext'
! 7701: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7702: (eval $ac_try) 2>&5
! 7703: ac_status=$?
! 7704: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7705: (exit $ac_status); }; }; then
! 7706: ac_cv_func_dlopen=yes
! 7707: else
! 7708: echo "$as_me: failed program was:" >&5
! 7709: sed 's/^/| /' conftest.$ac_ext >&5
! 7710:
! 7711: ac_cv_func_dlopen=no
! 7712: fi
! 7713: rm -f conftest.err conftest.$ac_objext \
! 7714: conftest$ac_exeext conftest.$ac_ext
! 7715: fi
! 7716: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 7717: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 7718: if test $ac_cv_func_dlopen = yes; then
! 7719: lt_cv_dlopen="dlopen"
! 7720: else
! 7721: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 7722: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 7723: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 7724: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7725: else
! 7726: ac_check_lib_save_LIBS=$LIBS
! 7727: LIBS="-ldl $LIBS"
! 7728: cat >conftest.$ac_ext <<_ACEOF
! 7729: /* confdefs.h. */
! 7730: _ACEOF
! 7731: cat confdefs.h >>conftest.$ac_ext
! 7732: cat >>conftest.$ac_ext <<_ACEOF
! 7733: /* end confdefs.h. */
! 7734:
! 7735: /* Override any gcc2 internal prototype to avoid an error. */
! 7736: #ifdef __cplusplus
! 7737: extern "C"
! 7738: #endif
! 7739: /* We use char because int might match the return type of a gcc2
! 7740: builtin and then its argument prototype would still apply. */
! 7741: char dlopen ();
! 7742: int
! 7743: main ()
! 7744: {
! 7745: dlopen ();
! 7746: ;
! 7747: return 0;
! 7748: }
! 7749: _ACEOF
! 7750: rm -f conftest.$ac_objext conftest$ac_exeext
! 7751: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7752: (eval $ac_link) 2>conftest.er1
! 7753: ac_status=$?
! 7754: grep -v '^ *+' conftest.er1 >conftest.err
! 7755: rm -f conftest.er1
! 7756: cat conftest.err >&5
! 7757: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7758: (exit $ac_status); } &&
! 7759: { ac_try='test -z "$ac_c_werror_flag"
! 7760: || test ! -s conftest.err'
! 7761: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7762: (eval $ac_try) 2>&5
! 7763: ac_status=$?
! 7764: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7765: (exit $ac_status); }; } &&
! 7766: { ac_try='test -s conftest$ac_exeext'
! 7767: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7768: (eval $ac_try) 2>&5
! 7769: ac_status=$?
! 7770: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7771: (exit $ac_status); }; }; then
! 7772: ac_cv_lib_dl_dlopen=yes
! 7773: else
! 7774: echo "$as_me: failed program was:" >&5
! 7775: sed 's/^/| /' conftest.$ac_ext >&5
! 7776:
! 7777: ac_cv_lib_dl_dlopen=no
! 7778: fi
! 7779: rm -f conftest.err conftest.$ac_objext \
! 7780: conftest$ac_exeext conftest.$ac_ext
! 7781: LIBS=$ac_check_lib_save_LIBS
! 7782: fi
! 7783: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 7784: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 7785: if test $ac_cv_lib_dl_dlopen = yes; then
! 7786: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 7787: else
! 7788: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! 7789: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! 7790: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! 7791: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7792: else
! 7793: ac_check_lib_save_LIBS=$LIBS
! 7794: LIBS="-lsvld $LIBS"
! 7795: cat >conftest.$ac_ext <<_ACEOF
! 7796: /* confdefs.h. */
! 7797: _ACEOF
! 7798: cat confdefs.h >>conftest.$ac_ext
! 7799: cat >>conftest.$ac_ext <<_ACEOF
! 7800: /* end confdefs.h. */
! 7801:
! 7802: /* Override any gcc2 internal prototype to avoid an error. */
! 7803: #ifdef __cplusplus
! 7804: extern "C"
! 7805: #endif
! 7806: /* We use char because int might match the return type of a gcc2
! 7807: builtin and then its argument prototype would still apply. */
! 7808: char dlopen ();
! 7809: int
! 7810: main ()
! 7811: {
! 7812: dlopen ();
! 7813: ;
! 7814: return 0;
! 7815: }
! 7816: _ACEOF
! 7817: rm -f conftest.$ac_objext conftest$ac_exeext
! 7818: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7819: (eval $ac_link) 2>conftest.er1
! 7820: ac_status=$?
! 7821: grep -v '^ *+' conftest.er1 >conftest.err
! 7822: rm -f conftest.er1
! 7823: cat conftest.err >&5
! 7824: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7825: (exit $ac_status); } &&
! 7826: { ac_try='test -z "$ac_c_werror_flag"
! 7827: || test ! -s conftest.err'
! 7828: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7829: (eval $ac_try) 2>&5
! 7830: ac_status=$?
! 7831: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7832: (exit $ac_status); }; } &&
! 7833: { ac_try='test -s conftest$ac_exeext'
! 7834: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7835: (eval $ac_try) 2>&5
! 7836: ac_status=$?
! 7837: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7838: (exit $ac_status); }; }; then
! 7839: ac_cv_lib_svld_dlopen=yes
! 7840: else
! 7841: echo "$as_me: failed program was:" >&5
! 7842: sed 's/^/| /' conftest.$ac_ext >&5
! 7843:
! 7844: ac_cv_lib_svld_dlopen=no
! 7845: fi
! 7846: rm -f conftest.err conftest.$ac_objext \
! 7847: conftest$ac_exeext conftest.$ac_ext
! 7848: LIBS=$ac_check_lib_save_LIBS
! 7849: fi
! 7850: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! 7851: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! 7852: if test $ac_cv_lib_svld_dlopen = yes; then
! 7853: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 7854: else
! 7855: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 7856: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 7857: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 7858: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7859: else
! 7860: ac_check_lib_save_LIBS=$LIBS
! 7861: LIBS="-ldld $LIBS"
! 7862: cat >conftest.$ac_ext <<_ACEOF
! 7863: /* confdefs.h. */
! 7864: _ACEOF
! 7865: cat confdefs.h >>conftest.$ac_ext
! 7866: cat >>conftest.$ac_ext <<_ACEOF
! 7867: /* end confdefs.h. */
! 7868:
! 7869: /* Override any gcc2 internal prototype to avoid an error. */
! 7870: #ifdef __cplusplus
! 7871: extern "C"
! 7872: #endif
! 7873: /* We use char because int might match the return type of a gcc2
! 7874: builtin and then its argument prototype would still apply. */
! 7875: char dld_link ();
! 7876: int
! 7877: main ()
! 7878: {
! 7879: dld_link ();
! 7880: ;
! 7881: return 0;
! 7882: }
! 7883: _ACEOF
! 7884: rm -f conftest.$ac_objext conftest$ac_exeext
! 7885: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 7886: (eval $ac_link) 2>conftest.er1
! 7887: ac_status=$?
! 7888: grep -v '^ *+' conftest.er1 >conftest.err
! 7889: rm -f conftest.er1
! 7890: cat conftest.err >&5
! 7891: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7892: (exit $ac_status); } &&
! 7893: { ac_try='test -z "$ac_c_werror_flag"
! 7894: || test ! -s conftest.err'
! 7895: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7896: (eval $ac_try) 2>&5
! 7897: ac_status=$?
! 7898: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7899: (exit $ac_status); }; } &&
! 7900: { ac_try='test -s conftest$ac_exeext'
! 7901: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 7902: (eval $ac_try) 2>&5
! 7903: ac_status=$?
! 7904: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7905: (exit $ac_status); }; }; then
! 7906: ac_cv_lib_dld_dld_link=yes
! 7907: else
! 7908: echo "$as_me: failed program was:" >&5
! 7909: sed 's/^/| /' conftest.$ac_ext >&5
! 7910:
! 7911: ac_cv_lib_dld_dld_link=no
! 7912: fi
! 7913: rm -f conftest.err conftest.$ac_objext \
! 7914: conftest$ac_exeext conftest.$ac_ext
! 7915: LIBS=$ac_check_lib_save_LIBS
! 7916: fi
! 7917: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 7918: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 7919: if test $ac_cv_lib_dld_dld_link = yes; then
! 7920: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
! 7921: fi
! 7922:
! 7923:
! 7924: fi
! 7925:
! 7926:
! 7927: fi
! 7928:
! 7929:
! 7930: fi
! 7931:
! 7932:
! 7933: fi
! 7934:
! 7935:
! 7936: fi
! 7937:
! 7938: ;;
! 7939: esac
! 7940:
! 7941: if test "x$lt_cv_dlopen" != xno; then
! 7942: enable_dlopen=yes
! 7943: else
! 7944: enable_dlopen=no
! 7945: fi
! 7946:
! 7947: case $lt_cv_dlopen in
! 7948: dlopen)
! 7949: save_CPPFLAGS="$CPPFLAGS"
! 7950: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 7951:
! 7952: save_LDFLAGS="$LDFLAGS"
! 7953: eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 7954:
! 7955: save_LIBS="$LIBS"
! 7956: LIBS="$lt_cv_dlopen_libs $LIBS"
! 7957:
! 7958: echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! 7959: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! 7960: if test "${lt_cv_dlopen_self+set}" = set; then
! 7961: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7962: else
! 7963: if test "$cross_compiling" = yes; then :
! 7964: lt_cv_dlopen_self=cross
! 7965: else
! 7966: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 7967: lt_status=$lt_dlunknown
! 7968: cat > conftest.$ac_ext <<EOF
! 7969: #line 7969 "configure"
! 7970: #include "confdefs.h"
! 7971:
! 7972: #if HAVE_DLFCN_H
! 7973: #include <dlfcn.h>
! 7974: #endif
! 7975:
! 7976: #include <stdio.h>
! 7977:
! 7978: #ifdef RTLD_GLOBAL
! 7979: # define LT_DLGLOBAL RTLD_GLOBAL
! 7980: #else
! 7981: # ifdef DL_GLOBAL
! 7982: # define LT_DLGLOBAL DL_GLOBAL
! 7983: # else
! 7984: # define LT_DLGLOBAL 0
! 7985: # endif
! 7986: #endif
! 7987:
! 7988: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 7989: find out it does not work in some platform. */
! 7990: #ifndef LT_DLLAZY_OR_NOW
! 7991: # ifdef RTLD_LAZY
! 7992: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 7993: # else
! 7994: # ifdef DL_LAZY
! 7995: # define LT_DLLAZY_OR_NOW DL_LAZY
! 7996: # else
! 7997: # ifdef RTLD_NOW
! 7998: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 7999: # else
! 8000: # ifdef DL_NOW
! 8001: # define LT_DLLAZY_OR_NOW DL_NOW
! 8002: # else
! 8003: # define LT_DLLAZY_OR_NOW 0
! 8004: # endif
! 8005: # endif
! 8006: # endif
! 8007: # endif
! 8008: #endif
! 8009:
! 8010: #ifdef __cplusplus
! 8011: extern "C" void exit (int);
! 8012: #endif
! 8013:
! 8014: void fnord() { int i=42;}
! 8015: int main ()
! 8016: {
! 8017: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 8018: int status = $lt_dlunknown;
! 8019:
! 8020: if (self)
! 8021: {
! 8022: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 8023: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 8024: /* dlclose (self); */
! 8025: }
! 8026:
! 8027: exit (status);
! 8028: }
! 8029: EOF
! 8030: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8031: (eval $ac_link) 2>&5
! 8032: ac_status=$?
! 8033: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8034: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 8035: (./conftest; exit; ) 2>/dev/null
! 8036: lt_status=$?
! 8037: case x$lt_status in
! 8038: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 8039: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 8040: x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
! 8041: esac
! 8042: else :
! 8043: # compilation failed
! 8044: lt_cv_dlopen_self=no
! 8045: fi
! 8046: fi
! 8047: rm -fr conftest*
! 8048:
! 8049:
! 8050: fi
! 8051: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! 8052: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
! 8053:
! 8054: if test "x$lt_cv_dlopen_self" = xyes; then
! 8055: LDFLAGS="$LDFLAGS $link_static_flag"
! 8056: echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
! 8057: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
! 8058: if test "${lt_cv_dlopen_self_static+set}" = set; then
! 8059: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8060: else
! 8061: if test "$cross_compiling" = yes; then :
! 8062: lt_cv_dlopen_self_static=cross
! 8063: else
! 8064: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 8065: lt_status=$lt_dlunknown
! 8066: cat > conftest.$ac_ext <<EOF
! 8067: #line 8067 "configure"
! 8068: #include "confdefs.h"
! 8069:
! 8070: #if HAVE_DLFCN_H
! 8071: #include <dlfcn.h>
! 8072: #endif
! 8073:
! 8074: #include <stdio.h>
! 8075:
! 8076: #ifdef RTLD_GLOBAL
! 8077: # define LT_DLGLOBAL RTLD_GLOBAL
! 8078: #else
! 8079: # ifdef DL_GLOBAL
! 8080: # define LT_DLGLOBAL DL_GLOBAL
! 8081: # else
! 8082: # define LT_DLGLOBAL 0
! 8083: # endif
! 8084: #endif
! 8085:
! 8086: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 8087: find out it does not work in some platform. */
! 8088: #ifndef LT_DLLAZY_OR_NOW
! 8089: # ifdef RTLD_LAZY
! 8090: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 8091: # else
! 8092: # ifdef DL_LAZY
! 8093: # define LT_DLLAZY_OR_NOW DL_LAZY
! 8094: # else
! 8095: # ifdef RTLD_NOW
! 8096: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 8097: # else
! 8098: # ifdef DL_NOW
! 8099: # define LT_DLLAZY_OR_NOW DL_NOW
! 8100: # else
! 8101: # define LT_DLLAZY_OR_NOW 0
! 8102: # endif
! 8103: # endif
! 8104: # endif
! 8105: # endif
! 8106: #endif
! 8107:
! 8108: #ifdef __cplusplus
! 8109: extern "C" void exit (int);
! 8110: #endif
! 8111:
! 8112: void fnord() { int i=42;}
! 8113: int main ()
! 8114: {
! 8115: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 8116: int status = $lt_dlunknown;
! 8117:
! 8118: if (self)
! 8119: {
! 8120: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 8121: else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 8122: /* dlclose (self); */
! 8123: }
! 8124:
! 8125: exit (status);
! 8126: }
! 8127: EOF
! 8128: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 8129: (eval $ac_link) 2>&5
! 8130: ac_status=$?
! 8131: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8132: (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
! 8133: (./conftest; exit; ) 2>/dev/null
! 8134: lt_status=$?
! 8135: case x$lt_status in
! 8136: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 8137: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 8138: x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
! 8139: esac
! 8140: else :
! 8141: # compilation failed
! 8142: lt_cv_dlopen_self_static=no
! 8143: fi
! 8144: fi
! 8145: rm -fr conftest*
! 8146:
! 8147:
! 8148: fi
! 8149: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! 8150: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
! 8151: fi
! 8152:
! 8153: CPPFLAGS="$save_CPPFLAGS"
! 8154: LDFLAGS="$save_LDFLAGS"
! 8155: LIBS="$save_LIBS"
! 8156: ;;
! 8157: esac
! 8158:
! 8159: case $lt_cv_dlopen_self in
! 8160: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 8161: *) enable_dlopen_self=unknown ;;
! 8162: esac
! 8163:
! 8164: case $lt_cv_dlopen_self_static in
! 8165: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 8166: *) enable_dlopen_self_static=unknown ;;
! 8167: esac
! 8168: fi
! 8169:
! 8170:
! 8171: ## FIXME: this should be a separate macro
! 8172: ##
! 8173: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 8174: case $archive_cmds in
! 8175: *'~'*)
! 8176: # FIXME: we may have to deal with multi-command sequences.
! 8177: ;;
! 8178: '$CC '*)
! 8179: # Test whether the compiler implicitly links with -lc since on some
! 8180: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 8181: # to ld, don't add -lc before -lgcc.
! 8182: echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
! 8183: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
! 8184: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! 8185: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8186: else
! 8187: $rm conftest*
! 8188: echo 'static int dummy;' > conftest.$ac_ext
! 8189:
! 8190: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8191: (eval $ac_compile) 2>&5
! 8192: ac_status=$?
! 8193: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8194: (exit $ac_status); }; then
! 8195: soname=conftest
! 8196: lib=conftest
! 8197: libobjs=conftest.$ac_objext
! 8198: deplibs=
! 8199: wl=$lt_cv_prog_cc_wl
! 8200: compiler_flags=-v
! 8201: linker_flags=-v
! 8202: verstring=
! 8203: output_objdir=.
! 8204: libname=conftest
! 8205: save_allow_undefined_flag=$allow_undefined_flag
! 8206: allow_undefined_flag=
! 8207: if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
! 8208: (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 8209: ac_status=$?
! 8210: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8211: (exit $ac_status); }
! 8212: then
! 8213: lt_cv_archive_cmds_need_lc=no
! 8214: else
! 8215: lt_cv_archive_cmds_need_lc=yes
! 8216: fi
! 8217: allow_undefined_flag=$save_allow_undefined_flag
! 8218: else
! 8219: cat conftest.err 1>&5
! 8220: fi
! 8221: fi
! 8222:
! 8223: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! 8224: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
! 8225: ;;
! 8226: esac
! 8227: fi
! 8228: need_lc=${lt_cv_archive_cmds_need_lc-yes}
! 8229: ##
! 8230: ## END FIXME
! 8231:
! 8232: ## FIXME: this should be a separate macro
! 8233: ##
! 8234: # The second clause should only fire when bootstrapping the
! 8235: # libtool distribution, otherwise you forgot to ship ltmain.sh
! 8236: # with your package, and you will get complaints that there are
! 8237: # no rules to generate ltmain.sh.
! 8238: if test -f "$ltmain"; then
! 8239: :
! 8240: else
! 8241: # If there is no Makefile yet, we rely on a make rule to execute
! 8242: # `config.status --recheck' to rerun these tests and create the
! 8243: # libtool script then.
! 8244: test -f Makefile && make "$ltmain"
! 8245: fi
! 8246:
! 8247: if test -f "$ltmain"; then
! 8248: trap "$rm \"${ofile}T\"; exit 1" 1 2 15
! 8249: $rm -f "${ofile}T"
! 8250:
! 8251: echo creating $ofile
! 8252:
! 8253: # Now quote all the things that may contain metacharacters while being
! 8254: # careful not to overquote the AC_SUBSTed values. We take copies of the
! 8255: # variables and quote the copies for generation of the libtool script.
! 8256: for var in echo old_CC old_CFLAGS SED \
! 8257: AR AR_FLAGS CC LD LN_S NM SHELL \
! 8258: reload_flag reload_cmds wl \
! 8259: pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
! 8260: thread_safe_flag_spec whole_archive_flag_spec libname_spec \
! 8261: library_names_spec soname_spec \
! 8262: RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
! 8263: old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
! 8264: postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
! 8265: old_striplib striplib file_magic_cmd export_symbols_cmds \
! 8266: deplibs_check_method allow_undefined_flag no_undefined_flag \
! 8267: finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
! 8268: global_symbol_to_c_name_address \
! 8269: hardcode_libdir_flag_spec hardcode_libdir_separator \
! 8270: sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
! 8271: compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
! 8272:
! 8273: case $var in
! 8274: reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
! 8275: old_postinstall_cmds | old_postuninstall_cmds | \
! 8276: export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
! 8277: extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
! 8278: postinstall_cmds | postuninstall_cmds | \
! 8279: finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
! 8280: # Double-quote double-evaled strings.
! 8281: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 8282: ;;
! 8283: *)
! 8284: eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 8285: ;;
! 8286: esac
! 8287: done
! 8288:
! 8289: cat <<__EOF__ > "${ofile}T"
! 8290: #! $SHELL
! 8291:
! 8292: # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 8293: # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
! 8294: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 8295: #
! 8296: # Copyright (C) 1996-2000 Free Software Foundation, Inc.
! 8297: # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
! 8298: #
! 8299: # This program is free software; you can redistribute it and/or modify
! 8300: # it under the terms of the GNU General Public License as published by
! 8301: # the Free Software Foundation; either version 2 of the License, or
! 8302: # (at your option) any later version.
! 8303: #
! 8304: # This program is distributed in the hope that it will be useful, but
! 8305: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 8306: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 8307: # General Public License for more details.
! 8308: #
! 8309: # You should have received a copy of the GNU General Public License
! 8310: # along with this program; if not, write to the Free Software
! 8311: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
! 8312: #
! 8313: # As a special exception to the GNU General Public License, if you
! 8314: # distribute this file as part of a program that contains a
! 8315: # configuration script generated by Autoconf, you may include it under
! 8316: # the same distribution terms that you use for the rest of that program.
! 8317:
! 8318: # A sed that does not truncate output.
! 8319: SED=$lt_SED
! 8320:
! 8321: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 8322: Xsed="${SED} -e s/^X//"
! 8323:
! 8324: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 8325: # if CDPATH is set.
! 8326: if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
! 8327:
! 8328: # ### BEGIN LIBTOOL CONFIG
! 8329:
! 8330: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 8331:
! 8332: # Shell to use when invoking shell scripts.
! 8333: SHELL=$lt_SHELL
! 8334:
! 8335: # Whether or not to build shared libraries.
! 8336: build_libtool_libs=$enable_shared
! 8337:
! 8338: # Whether or not to build static libraries.
! 8339: build_old_libs=$enable_static
! 8340:
! 8341: # Whether or not to add -lc for building shared libraries.
! 8342: build_libtool_need_lc=$need_lc
! 8343:
! 8344: # Whether or not to optimize for fast installation.
! 8345: fast_install=$enable_fast_install
! 8346:
! 8347: # The host system.
! 8348: host_alias=$host_alias
! 8349: host=$host
! 8350:
! 8351: # An echo program that does not interpret backslashes.
! 8352: echo=$lt_echo
! 8353:
! 8354: # The archiver.
! 8355: AR=$lt_AR
! 8356: AR_FLAGS=$lt_AR_FLAGS
! 8357:
! 8358: # The default C compiler.
! 8359: CC=$lt_CC
! 8360:
! 8361: # Is the compiler the GNU C compiler?
! 8362: with_gcc=$GCC
! 8363:
! 8364: # The linker used to build libraries.
! 8365: LD=$lt_LD
! 8366:
! 8367: # Whether we need hard or soft links.
! 8368: LN_S=$lt_LN_S
! 8369:
! 8370: # A BSD-compatible nm program.
! 8371: NM=$lt_NM
! 8372:
! 8373: # A symbol stripping program
! 8374: STRIP=$STRIP
! 8375:
! 8376: # Used to examine libraries when file_magic_cmd begins "file"
! 8377: MAGIC_CMD=$MAGIC_CMD
! 8378:
! 8379: # Used on cygwin: DLL creation program.
! 8380: DLLTOOL="$DLLTOOL"
! 8381:
! 8382: # Used on cygwin: object dumper.
! 8383: OBJDUMP="$OBJDUMP"
! 8384:
! 8385: # Used on cygwin: assembler.
! 8386: AS="$AS"
! 8387:
! 8388: # The name of the directory that contains temporary libtool files.
! 8389: objdir=$objdir
! 8390:
! 8391: # How to create reloadable object files.
! 8392: reload_flag=$lt_reload_flag
! 8393: reload_cmds=$lt_reload_cmds
! 8394:
! 8395: # How to pass a linker flag through the compiler.
! 8396: wl=$lt_wl
! 8397:
! 8398: # Object file suffix (normally "o").
! 8399: objext="$ac_objext"
! 8400:
! 8401: # Old archive suffix (normally "a").
! 8402: libext="$libext"
! 8403:
! 8404: # Executable file suffix (normally "").
! 8405: exeext="$exeext"
! 8406:
! 8407: # Additional compiler flags for building library objects.
! 8408: pic_flag=$lt_pic_flag
! 8409: pic_mode=$pic_mode
! 8410:
! 8411: # Does compiler simultaneously support -c and -o options?
! 8412: compiler_c_o=$lt_compiler_c_o
! 8413:
! 8414: # Can we write directly to a .lo ?
! 8415: compiler_o_lo=$lt_compiler_o_lo
! 8416:
! 8417: # Must we lock files when doing compilation ?
! 8418: need_locks=$lt_need_locks
! 8419:
! 8420: # Do we need the lib prefix for modules?
! 8421: need_lib_prefix=$need_lib_prefix
! 8422:
! 8423: # Do we need a version for libraries?
! 8424: need_version=$need_version
! 8425:
! 8426: # Whether dlopen is supported.
! 8427: dlopen_support=$enable_dlopen
! 8428:
! 8429: # Whether dlopen of programs is supported.
! 8430: dlopen_self=$enable_dlopen_self
! 8431:
! 8432: # Whether dlopen of statically linked programs is supported.
! 8433: dlopen_self_static=$enable_dlopen_self_static
! 8434:
! 8435: # Compiler flag to prevent dynamic linking.
! 8436: link_static_flag=$lt_link_static_flag
! 8437:
! 8438: # Compiler flag to turn off builtin functions.
! 8439: no_builtin_flag=$lt_no_builtin_flag
! 8440:
! 8441: # Compiler flag to allow reflexive dlopens.
! 8442: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 8443:
! 8444: # Compiler flag to generate shared objects directly from archives.
! 8445: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 8446:
! 8447: # Compiler flag to generate thread-safe objects.
! 8448: thread_safe_flag_spec=$lt_thread_safe_flag_spec
! 8449:
! 8450: # Library versioning type.
! 8451: version_type=$version_type
! 8452:
! 8453: # Format of library name prefix.
! 8454: libname_spec=$lt_libname_spec
! 8455:
! 8456: # List of archive names. First name is the real one, the rest are links.
! 8457: # The last name is the one that the linker finds with -lNAME.
! 8458: library_names_spec=$lt_library_names_spec
! 8459:
! 8460: # The coded name of the library, if different from the real name.
! 8461: soname_spec=$lt_soname_spec
! 8462:
! 8463: # Commands used to build and install an old-style archive.
! 8464: RANLIB=$lt_RANLIB
! 8465: old_archive_cmds=$lt_old_archive_cmds
! 8466: old_postinstall_cmds=$lt_old_postinstall_cmds
! 8467: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 8468:
! 8469: # Create an old-style archive from a shared archive.
! 8470: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 8471:
! 8472: # Create a temporary old-style archive to link instead of a shared archive.
! 8473: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 8474:
! 8475: # Commands used to build and install a shared archive.
! 8476: archive_cmds=$lt_archive_cmds
! 8477: archive_expsym_cmds=$lt_archive_expsym_cmds
! 8478: postinstall_cmds=$lt_postinstall_cmds
! 8479: postuninstall_cmds=$lt_postuninstall_cmds
! 8480:
! 8481: # Commands to strip libraries.
! 8482: old_striplib=$lt_old_striplib
! 8483: striplib=$lt_striplib
! 8484:
! 8485: # Method to check whether dependent libraries are shared objects.
! 8486: deplibs_check_method=$lt_deplibs_check_method
! 8487:
! 8488: # Command to use when deplibs_check_method == file_magic.
! 8489: file_magic_cmd=$lt_file_magic_cmd
! 8490:
! 8491: # Flag that allows shared libraries with undefined symbols to be built.
! 8492: allow_undefined_flag=$lt_allow_undefined_flag
! 8493:
! 8494: # Flag that forces no undefined symbols.
! 8495: no_undefined_flag=$lt_no_undefined_flag
! 8496:
! 8497: # Commands used to finish a libtool library installation in a directory.
! 8498: finish_cmds=$lt_finish_cmds
! 8499:
! 8500: # Same as above, but a single script fragment to be evaled but not shown.
! 8501: finish_eval=$lt_finish_eval
! 8502:
! 8503: # Take the output of nm and produce a listing of raw symbols and C names.
! 8504: global_symbol_pipe=$lt_global_symbol_pipe
! 8505:
! 8506: # Transform the output of nm in a proper C declaration
! 8507: global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
! 8508:
! 8509: # Transform the output of nm in a C name address pair
! 8510: global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
! 8511:
! 8512: # This is the shared library runtime path variable.
! 8513: runpath_var=$runpath_var
! 8514:
! 8515: # This is the shared library path variable.
! 8516: shlibpath_var=$shlibpath_var
! 8517:
! 8518: # Is shlibpath searched before the hard-coded library search path?
! 8519: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 8520:
! 8521: # How to hardcode a shared library path into an executable.
! 8522: hardcode_action=$hardcode_action
! 8523:
! 8524: # Whether we should hardcode library paths into libraries.
! 8525: hardcode_into_libs=$hardcode_into_libs
! 8526:
! 8527: # Flag to hardcode \$libdir into a binary during linking.
! 8528: # This must work even if \$libdir does not exist.
! 8529: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 8530:
! 8531: # Whether we need a single -rpath flag with a separated argument.
! 8532: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 8533:
! 8534: # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
! 8535: # resulting binary.
! 8536: hardcode_direct=$hardcode_direct
! 8537:
! 8538: # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
! 8539: # resulting binary.
! 8540: hardcode_minus_L=$hardcode_minus_L
! 8541:
! 8542: # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
! 8543: # the resulting binary.
! 8544: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 8545:
! 8546: # Variables whose values should be saved in libtool wrapper scripts and
! 8547: # restored at relink time.
! 8548: variables_saved_for_relink="$variables_saved_for_relink"
! 8549:
! 8550: # Whether libtool must link a program against all its dependency libraries.
! 8551: link_all_deplibs=$link_all_deplibs
! 8552:
! 8553: # Compile-time system search path for libraries
! 8554: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 8555:
! 8556: # Run-time system search path for libraries
! 8557: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 8558:
! 8559: # Fix the shell variable \$srcfile for the compiler.
! 8560: fix_srcfile_path="$fix_srcfile_path"
! 8561:
! 8562: # Set to yes if exported symbols are required.
! 8563: always_export_symbols=$always_export_symbols
! 8564:
! 8565: # The commands to list exported symbols.
! 8566: export_symbols_cmds=$lt_export_symbols_cmds
! 8567:
! 8568: # The commands to extract the exported symbol list from a shared archive.
! 8569: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 8570:
! 8571: # Symbols that should not be listed in the preloaded symbols.
! 8572: exclude_expsyms=$lt_exclude_expsyms
! 8573:
! 8574: # Symbols that must always be exported.
! 8575: include_expsyms=$lt_include_expsyms
! 8576:
! 8577: # ### END LIBTOOL CONFIG
! 8578:
! 8579: __EOF__
! 8580:
! 8581: case $host_os in
! 8582: aix3*)
! 8583: cat <<\EOF >> "${ofile}T"
! 8584:
! 8585: # AIX sometimes has problems with the GCC collect2 program. For some
! 8586: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 8587: # vanish in a puff of smoke.
! 8588: if test "X${COLLECT_NAMES+set}" != Xset; then
! 8589: COLLECT_NAMES=
! 8590: export COLLECT_NAMES
! 8591: fi
! 8592: EOF
! 8593: ;;
! 8594: esac
! 8595:
! 8596: case $host_os in
! 8597: cygwin* | mingw* | pw32* | os2*)
! 8598: cat <<'EOF' >> "${ofile}T"
! 8599: # This is a source program that is used to create dlls on Windows
! 8600: # Don't remove nor modify the starting and closing comments
! 8601: # /* ltdll.c starts here */
! 8602: # #define WIN32_LEAN_AND_MEAN
! 8603: # #include <windows.h>
! 8604: # #undef WIN32_LEAN_AND_MEAN
! 8605: # #include <stdio.h>
! 8606: #
! 8607: # #ifndef __CYGWIN__
! 8608: # # ifdef __CYGWIN32__
! 8609: # # define __CYGWIN__ __CYGWIN32__
! 8610: # # endif
! 8611: # #endif
! 8612: #
! 8613: # #ifdef __cplusplus
! 8614: # extern "C" {
! 8615: # #endif
! 8616: # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
! 8617: # #ifdef __cplusplus
! 8618: # }
! 8619: # #endif
! 8620: #
! 8621: # #ifdef __CYGWIN__
! 8622: # #include <cygwin/cygwin_dll.h>
! 8623: # DECLARE_CYGWIN_DLL( DllMain );
! 8624: # #endif
! 8625: # HINSTANCE __hDllInstance_base;
! 8626: #
! 8627: # BOOL APIENTRY
! 8628: # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
! 8629: # {
! 8630: # __hDllInstance_base = hInst;
! 8631: # return TRUE;
! 8632: # }
! 8633: # /* ltdll.c ends here */
! 8634: # This is a source program that is used to create import libraries
! 8635: # on Windows for dlls which lack them. Don't remove nor modify the
! 8636: # starting and closing comments
! 8637: # /* impgen.c starts here */
! 8638: # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
! 8639: #
! 8640: # This file is part of GNU libtool.
! 8641: #
! 8642: # This program is free software; you can redistribute it and/or modify
! 8643: # it under the terms of the GNU General Public License as published by
! 8644: # the Free Software Foundation; either version 2 of the License, or
! 8645: # (at your option) any later version.
! 8646: #
! 8647: # This program is distributed in the hope that it will be useful,
! 8648: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 8649: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 8650: # GNU General Public License for more details.
! 8651: #
! 8652: # You should have received a copy of the GNU General Public License
! 8653: # along with this program; if not, write to the Free Software
! 8654: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
! 8655: # */
! 8656: #
! 8657: # #include <stdio.h> /* for printf() */
! 8658: # #include <unistd.h> /* for open(), lseek(), read() */
! 8659: # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
! 8660: # #include <string.h> /* for strdup() */
! 8661: #
! 8662: # /* O_BINARY isn't required (or even defined sometimes) under Unix */
! 8663: # #ifndef O_BINARY
! 8664: # #define O_BINARY 0
! 8665: # #endif
! 8666: #
! 8667: # static unsigned int
! 8668: # pe_get16 (fd, offset)
! 8669: # int fd;
! 8670: # int offset;
! 8671: # {
! 8672: # unsigned char b[2];
! 8673: # lseek (fd, offset, SEEK_SET);
! 8674: # read (fd, b, 2);
! 8675: # return b[0] + (b[1]<<8);
! 8676: # }
! 8677: #
! 8678: # static unsigned int
! 8679: # pe_get32 (fd, offset)
! 8680: # int fd;
! 8681: # int offset;
! 8682: # {
! 8683: # unsigned char b[4];
! 8684: # lseek (fd, offset, SEEK_SET);
! 8685: # read (fd, b, 4);
! 8686: # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
! 8687: # }
! 8688: #
! 8689: # static unsigned int
! 8690: # pe_as32 (ptr)
! 8691: # void *ptr;
! 8692: # {
! 8693: # unsigned char *b = ptr;
! 8694: # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
! 8695: # }
! 8696: #
! 8697: # int
! 8698: # main (argc, argv)
! 8699: # int argc;
! 8700: # char *argv[];
! 8701: # {
! 8702: # int dll;
! 8703: # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
! 8704: # unsigned long export_rva, export_size, nsections, secptr, expptr;
! 8705: # unsigned long name_rvas, nexp;
! 8706: # unsigned char *expdata, *erva;
! 8707: # char *filename, *dll_name;
! 8708: #
! 8709: # filename = argv[1];
! 8710: #
! 8711: # dll = open(filename, O_RDONLY|O_BINARY);
! 8712: # if (dll < 1)
! 8713: # return 1;
! 8714: #
! 8715: # dll_name = filename;
! 8716: #
! 8717: # for (i=0; filename[i]; i++)
! 8718: # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
! 8719: # dll_name = filename + i +1;
! 8720: #
! 8721: # pe_header_offset = pe_get32 (dll, 0x3c);
! 8722: # opthdr_ofs = pe_header_offset + 4 + 20;
! 8723: # num_entries = pe_get32 (dll, opthdr_ofs + 92);
! 8724: #
! 8725: # if (num_entries < 1) /* no exports */
! 8726: # return 1;
! 8727: #
! 8728: # export_rva = pe_get32 (dll, opthdr_ofs + 96);
! 8729: # export_size = pe_get32 (dll, opthdr_ofs + 100);
! 8730: # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
! 8731: # secptr = (pe_header_offset + 4 + 20 +
! 8732: # pe_get16 (dll, pe_header_offset + 4 + 16));
! 8733: #
! 8734: # expptr = 0;
! 8735: # for (i = 0; i < nsections; i++)
! 8736: # {
! 8737: # char sname[8];
! 8738: # unsigned long secptr1 = secptr + 40 * i;
! 8739: # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
! 8740: # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
! 8741: # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
! 8742: # lseek(dll, secptr1, SEEK_SET);
! 8743: # read(dll, sname, 8);
! 8744: # if (vaddr <= export_rva && vaddr+vsize > export_rva)
! 8745: # {
! 8746: # expptr = fptr + (export_rva - vaddr);
! 8747: # if (export_rva + export_size > vaddr + vsize)
! 8748: # export_size = vsize - (export_rva - vaddr);
! 8749: # break;
! 8750: # }
! 8751: # }
! 8752: #
! 8753: # expdata = (unsigned char*)malloc(export_size);
! 8754: # lseek (dll, expptr, SEEK_SET);
! 8755: # read (dll, expdata, export_size);
! 8756: # erva = expdata - export_rva;
! 8757: #
! 8758: # nexp = pe_as32 (expdata+24);
! 8759: # name_rvas = pe_as32 (expdata+32);
! 8760: #
! 8761: # printf ("EXPORTS\n");
! 8762: # for (i = 0; i<nexp; i++)
! 8763: # {
! 8764: # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
! 8765: # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
! 8766: # }
! 8767: #
! 8768: # return 0;
! 8769: # }
! 8770: # /* impgen.c ends here */
! 8771:
! 8772: EOF
! 8773: ;;
! 8774: esac
! 8775:
! 8776: # We use sed instead of cat because bash on DJGPP gets confused if
! 8777: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 8778: # text mode, it properly converts lines to CR/LF. This bash problem
! 8779: # is reportedly fixed, but why not run on old versions too?
! 8780: sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
! 8781:
! 8782: mv -f "${ofile}T" "$ofile" || \
! 8783: (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
! 8784: chmod +x "$ofile"
! 8785: fi
! 8786: ##
! 8787: ## END FIXME
! 8788:
! 8789:
! 8790:
! 8791:
! 8792:
! 8793: # This can be used to rebuild libtool when needed
! 8794: LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
! 8795:
! 8796: # Always use rootdir libtool.
! 8797: LIBTOOL="$ac_aux_dir/libtool"
! 8798:
! 8799: # Prevent multiple expansion
! 8800:
! 8801:
! 8802:
! 8803:
! 8804: subdirs="$subdirs libltdl"
! 8805:
! 8806:
! 8807:
! 8808:
! 8809:
! 8810:
! 8811:
! 8812:
! 8813:
! 8814: for ac_header in stdio.h \
! 8815: stdlib.h \
! 8816: string.h \
! 8817: setjmp.h \
! 8818: ctype.h
! 8819:
! 8820: do
! 8821: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 8822: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8823: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 8824: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 8825: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8826: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8827: fi
! 8828: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 8829: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 8830: else
! 8831: # Is the header compilable?
! 8832: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 8833: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 8834: cat >conftest.$ac_ext <<_ACEOF
! 8835: /* confdefs.h. */
! 8836: _ACEOF
! 8837: cat confdefs.h >>conftest.$ac_ext
! 8838: cat >>conftest.$ac_ext <<_ACEOF
! 8839: /* end confdefs.h. */
! 8840: $ac_includes_default
! 8841: #include <$ac_header>
! 8842: _ACEOF
! 8843: rm -f conftest.$ac_objext
! 8844: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8845: (eval $ac_compile) 2>conftest.er1
! 8846: ac_status=$?
! 8847: grep -v '^ *+' conftest.er1 >conftest.err
! 8848: rm -f conftest.er1
! 8849: cat conftest.err >&5
! 8850: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8851: (exit $ac_status); } &&
! 8852: { ac_try='test -z "$ac_c_werror_flag"
! 8853: || test ! -s conftest.err'
! 8854: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8855: (eval $ac_try) 2>&5
! 8856: ac_status=$?
! 8857: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8858: (exit $ac_status); }; } &&
! 8859: { ac_try='test -s conftest.$ac_objext'
! 8860: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 8861: (eval $ac_try) 2>&5
! 8862: ac_status=$?
! 8863: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8864: (exit $ac_status); }; }; then
! 8865: ac_header_compiler=yes
! 8866: else
! 8867: echo "$as_me: failed program was:" >&5
! 8868: sed 's/^/| /' conftest.$ac_ext >&5
! 8869:
! 8870: ac_header_compiler=no
! 8871: fi
! 8872: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 8873: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 8874: echo "${ECHO_T}$ac_header_compiler" >&6
! 8875:
! 8876: # Is the header present?
! 8877: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 8878: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 8879: cat >conftest.$ac_ext <<_ACEOF
! 8880: /* confdefs.h. */
! 8881: _ACEOF
! 8882: cat confdefs.h >>conftest.$ac_ext
! 8883: cat >>conftest.$ac_ext <<_ACEOF
! 8884: /* end confdefs.h. */
! 8885: #include <$ac_header>
! 8886: _ACEOF
! 8887: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 8888: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 8889: ac_status=$?
! 8890: grep -v '^ *+' conftest.er1 >conftest.err
! 8891: rm -f conftest.er1
! 8892: cat conftest.err >&5
! 8893: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8894: (exit $ac_status); } >/dev/null; then
! 8895: if test -s conftest.err; then
! 8896: ac_cpp_err=$ac_c_preproc_warn_flag
! 8897: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 8898: else
! 8899: ac_cpp_err=
! 8900: fi
! 8901: else
! 8902: ac_cpp_err=yes
! 8903: fi
! 8904: if test -z "$ac_cpp_err"; then
! 8905: ac_header_preproc=yes
! 8906: else
! 8907: echo "$as_me: failed program was:" >&5
! 8908: sed 's/^/| /' conftest.$ac_ext >&5
! 8909:
! 8910: ac_header_preproc=no
! 8911: fi
! 8912: rm -f conftest.err conftest.$ac_ext
! 8913: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 8914: echo "${ECHO_T}$ac_header_preproc" >&6
! 8915:
! 8916: # So? What about this header?
! 8917: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 8918: yes:no: )
! 8919: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 8920: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 8921: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 8922: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 8923: ac_header_preproc=yes
! 8924: ;;
! 8925: no:yes:* )
! 8926: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 8927: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 8928: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 8929: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 8930: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 8931: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 8932: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 8933: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 8934: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 8935: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 8936: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 8937: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 8938: (
! 8939: cat <<\_ASBOX
! 8940: ## ------------------------------------------ ##
! 8941: ## Report this to the AC_PACKAGE_NAME lists. ##
! 8942: ## ------------------------------------------ ##
! 8943: _ASBOX
! 8944: ) |
! 8945: sed "s/^/$as_me: WARNING: /" >&2
! 8946: ;;
! 8947: esac
! 8948: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 8949: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 8950: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 8951: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8952: else
! 8953: eval "$as_ac_Header=\$ac_header_preproc"
! 8954: fi
! 8955: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 8956: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 8957:
! 8958: fi
! 8959: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 8960: cat >>confdefs.h <<_ACEOF
! 8961: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 8962: _ACEOF
! 8963:
! 8964: fi
! 8965:
! 8966: done
! 8967:
! 8968:
! 8969:
! 8970: echo "$as_me:$LINENO: checking for size_t" >&5
! 8971: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
! 8972: if test "${ac_cv_type_size_t+set}" = set; then
! 8973: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8974: else
! 8975: cat >conftest.$ac_ext <<_ACEOF
! 8976: /* confdefs.h. */
! 8977: _ACEOF
! 8978: cat confdefs.h >>conftest.$ac_ext
! 8979: cat >>conftest.$ac_ext <<_ACEOF
! 8980: /* end confdefs.h. */
! 8981: $ac_includes_default
! 8982: int
! 8983: main ()
! 8984: {
! 8985: if ((size_t *) 0)
! 8986: return 0;
! 8987: if (sizeof (size_t))
! 8988: return 0;
! 8989: ;
! 8990: return 0;
! 8991: }
! 8992: _ACEOF
! 8993: rm -f conftest.$ac_objext
! 8994: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 8995: (eval $ac_compile) 2>conftest.er1
! 8996: ac_status=$?
! 8997: grep -v '^ *+' conftest.er1 >conftest.err
! 8998: rm -f conftest.er1
! 8999: cat conftest.err >&5
! 9000: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9001: (exit $ac_status); } &&
! 9002: { ac_try='test -z "$ac_c_werror_flag"
! 9003: || test ! -s conftest.err'
! 9004: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9005: (eval $ac_try) 2>&5
! 9006: ac_status=$?
! 9007: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9008: (exit $ac_status); }; } &&
! 9009: { ac_try='test -s conftest.$ac_objext'
! 9010: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 9011: (eval $ac_try) 2>&5
! 9012: ac_status=$?
! 9013: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9014: (exit $ac_status); }; }; then
! 9015: ac_cv_type_size_t=yes
! 9016: else
! 9017: echo "$as_me: failed program was:" >&5
! 9018: sed 's/^/| /' conftest.$ac_ext >&5
! 9019:
! 9020: ac_cv_type_size_t=no
! 9021: fi
! 9022: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 9023: fi
! 9024: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 9025: echo "${ECHO_T}$ac_cv_type_size_t" >&6
! 9026: if test $ac_cv_type_size_t = yes; then
! 9027: :
! 9028: else
! 9029:
! 9030: cat >>confdefs.h <<_ACEOF
! 9031: #define size_t unsigned
! 9032: _ACEOF
! 9033:
! 9034: fi
! 9035:
! 9036:
! 9037:
! 9038:
! 9039: ac_config_files="$ac_config_files Makefile"
! 9040: cat >confcache <<\_ACEOF
! 9041: # This file is a shell script that caches the results of configure
! 9042: # tests run on this system so they can be shared between configure
! 9043: # scripts and configure runs, see configure's option --config-cache.
! 9044: # It is not useful on other systems. If it contains results you don't
! 9045: # want to keep, you may remove or edit it.
! 9046: #
! 9047: # config.status only pays attention to the cache file if you give it
! 9048: # the --recheck option to rerun configure.
! 9049: #
! 9050: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 9051: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 9052: # following values.
! 9053:
! 9054: _ACEOF
! 9055:
! 9056: # The following way of writing the cache mishandles newlines in values,
! 9057: # but we know of no workaround that is simple, portable, and efficient.
! 9058: # So, don't put newlines in cache variables' values.
! 9059: # Ultrix sh set writes to stderr and can't be redirected directly,
! 9060: # and sets the high bit in the cache file unless we assign to the vars.
! 9061: {
! 9062: (set) 2>&1 |
! 9063: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 9064: *ac_space=\ *)
! 9065: # `set' does not quote correctly, so add quotes (double-quote
! 9066: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 9067: sed -n \
! 9068: "s/'/'\\\\''/g;
! 9069: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 9070: ;;
! 9071: *)
! 9072: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 9073: sed -n \
! 9074: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 9075: ;;
! 9076: esac;
! 9077: } |
! 9078: sed '
! 9079: t clear
! 9080: : clear
! 9081: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 9082: t end
! 9083: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 9084: : end' >>confcache
! 9085: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 9086: if test -w $cache_file; then
! 9087: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 9088: cat confcache >$cache_file
! 9089: else
! 9090: echo "not updating unwritable cache $cache_file"
! 9091: fi
! 9092: fi
! 9093: rm -f confcache
! 9094:
! 9095: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 9096: # Let make expand exec_prefix.
! 9097: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 9098:
! 9099: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 9100: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 9101: # trailing colons and then remove the whole line if VPATH becomes empty
! 9102: # (actually we leave an empty line to preserve line numbers).
! 9103: if test "x$srcdir" = x.; then
! 9104: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 9105: s/:*\$(srcdir):*/:/;
! 9106: s/:*\${srcdir}:*/:/;
! 9107: s/:*@srcdir@:*/:/;
! 9108: s/^\([^=]*=[ ]*\):*/\1/;
! 9109: s/:*$//;
! 9110: s/^[^=]*=[ ]*$//;
! 9111: }'
! 9112: fi
! 9113:
! 9114: DEFS=-DHAVE_CONFIG_H
! 9115:
! 9116: ac_libobjs=
! 9117: ac_ltlibobjs=
! 9118: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 9119: # 1. Remove the extension, and $U if already installed.
! 9120: ac_i=`echo "$ac_i" |
! 9121: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 9122: # 2. Add them.
! 9123: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 9124: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 9125: done
! 9126: LIBOBJS=$ac_libobjs
! 9127:
! 9128: LTLIBOBJS=$ac_ltlibobjs
! 9129:
! 9130:
! 9131: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 9132: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 9133: Usually this means the macro was only invoked conditionally." >&5
! 9134: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 9135: Usually this means the macro was only invoked conditionally." >&2;}
! 9136: { (exit 1); exit 1; }; }
! 9137: fi
! 9138: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
! 9139: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
! 9140: Usually this means the macro was only invoked conditionally." >&5
! 9141: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
! 9142: Usually this means the macro was only invoked conditionally." >&2;}
! 9143: { (exit 1); exit 1; }; }
! 9144: fi
! 9145: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 9146: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 9147: Usually this means the macro was only invoked conditionally." >&5
! 9148: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 9149: Usually this means the macro was only invoked conditionally." >&2;}
! 9150: { (exit 1); exit 1; }; }
! 9151: fi
! 9152:
! 9153: : ${CONFIG_STATUS=./config.status}
! 9154: ac_clean_files_save=$ac_clean_files
! 9155: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 9156: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 9157: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 9158: cat >$CONFIG_STATUS <<_ACEOF
! 9159: #! $SHELL
! 9160: # Generated by $as_me.
! 9161: # Run this file to recreate the current configuration.
! 9162: # Compiler output produced by configure, useful for debugging
! 9163: # configure, is in config.log if it exists.
! 9164:
! 9165: debug=false
! 9166: ac_cs_recheck=false
! 9167: ac_cs_silent=false
! 9168: SHELL=\${CONFIG_SHELL-$SHELL}
! 9169: _ACEOF
! 9170:
! 9171: cat >>$CONFIG_STATUS <<\_ACEOF
! 9172: ## --------------------- ##
! 9173: ## M4sh Initialization. ##
! 9174: ## --------------------- ##
! 9175:
! 9176: # Be Bourne compatible
! 9177: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 9178: emulate sh
! 9179: NULLCMD=:
! 9180: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 9181: # is contrary to our usage. Disable this feature.
! 9182: alias -g '${1+"$@"}'='"$@"'
! 9183: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 9184: set -o posix
! 9185: fi
! 9186: DUALCASE=1; export DUALCASE # for MKS sh
! 9187:
! 9188: # Support unset when possible.
! 9189: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 9190: as_unset=unset
! 9191: else
! 9192: as_unset=false
! 9193: fi
! 9194:
! 9195:
! 9196: # Work around bugs in pre-3.0 UWIN ksh.
! 9197: $as_unset ENV MAIL MAILPATH
! 9198: PS1='$ '
! 9199: PS2='> '
! 9200: PS4='+ '
! 9201:
! 9202: # NLS nuisances.
! 9203: for as_var in \
! 9204: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 9205: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 9206: LC_TELEPHONE LC_TIME
! 9207: do
! 9208: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 9209: eval $as_var=C; export $as_var
! 9210: else
! 9211: $as_unset $as_var
! 9212: fi
! 9213: done
! 9214:
! 9215: # Required to use basename.
! 9216: if expr a : '\(a\)' >/dev/null 2>&1; then
! 9217: as_expr=expr
! 9218: else
! 9219: as_expr=false
! 9220: fi
! 9221:
! 9222: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 9223: as_basename=basename
! 9224: else
! 9225: as_basename=false
! 9226: fi
! 9227:
! 9228:
! 9229: # Name of the executable.
! 9230: as_me=`$as_basename "$0" ||
! 9231: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 9232: X"$0" : 'X\(//\)$' \| \
! 9233: X"$0" : 'X\(/\)$' \| \
! 9234: . : '\(.\)' 2>/dev/null ||
! 9235: echo X/"$0" |
! 9236: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 9237: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 9238: /^X\/\(\/\).*/{ s//\1/; q; }
! 9239: s/.*/./; q'`
! 9240:
! 9241:
! 9242: # PATH needs CR, and LINENO needs CR and PATH.
! 9243: # Avoid depending upon Character Ranges.
! 9244: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 9245: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 9246: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 9247: as_cr_digits='0123456789'
! 9248: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 9249:
! 9250: # The user is always right.
! 9251: if test "${PATH_SEPARATOR+set}" != set; then
! 9252: echo "#! /bin/sh" >conf$$.sh
! 9253: echo "exit 0" >>conf$$.sh
! 9254: chmod +x conf$$.sh
! 9255: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 9256: PATH_SEPARATOR=';'
! 9257: else
! 9258: PATH_SEPARATOR=:
! 9259: fi
! 9260: rm -f conf$$.sh
! 9261: fi
! 9262:
! 9263:
! 9264: as_lineno_1=$LINENO
! 9265: as_lineno_2=$LINENO
! 9266: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 9267: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 9268: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 9269: # Find who we are. Look in the path if we contain no path at all
! 9270: # relative or not.
! 9271: case $0 in
! 9272: *[\\/]* ) as_myself=$0 ;;
! 9273: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9274: for as_dir in $PATH
! 9275: do
! 9276: IFS=$as_save_IFS
! 9277: test -z "$as_dir" && as_dir=.
! 9278: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 9279: done
! 9280:
! 9281: ;;
! 9282: esac
! 9283: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 9284: # in which case we are not to be found in the path.
! 9285: if test "x$as_myself" = x; then
! 9286: as_myself=$0
! 9287: fi
! 9288: if test ! -f "$as_myself"; then
! 9289: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 9290: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 9291: { (exit 1); exit 1; }; }
! 9292: fi
! 9293: case $CONFIG_SHELL in
! 9294: '')
! 9295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9296: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 9297: do
! 9298: IFS=$as_save_IFS
! 9299: test -z "$as_dir" && as_dir=.
! 9300: for as_base in sh bash ksh sh5; do
! 9301: case $as_dir in
! 9302: /*)
! 9303: if ("$as_dir/$as_base" -c '
! 9304: as_lineno_1=$LINENO
! 9305: as_lineno_2=$LINENO
! 9306: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 9307: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 9308: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 9309: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 9310: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 9311: CONFIG_SHELL=$as_dir/$as_base
! 9312: export CONFIG_SHELL
! 9313: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 9314: fi;;
! 9315: esac
! 9316: done
! 9317: done
! 9318: ;;
! 9319: esac
! 9320:
! 9321: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 9322: # uniformly replaced by the line number. The first 'sed' inserts a
! 9323: # line-number line before each line; the second 'sed' does the real
! 9324: # work. The second script uses 'N' to pair each line-number line
! 9325: # with the numbered line, and appends trailing '-' during
! 9326: # substitution so that $LINENO is not a special case at line end.
! 9327: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 9328: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 9329: sed '=' <$as_myself |
! 9330: sed '
! 9331: N
! 9332: s,$,-,
! 9333: : loop
! 9334: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 9335: t loop
! 9336: s,-$,,
! 9337: s,^['$as_cr_digits']*\n,,
! 9338: ' >$as_me.lineno &&
! 9339: chmod +x $as_me.lineno ||
! 9340: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 9341: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 9342: { (exit 1); exit 1; }; }
! 9343:
! 9344: # Don't try to exec as it changes $[0], causing all sort of problems
! 9345: # (the dirname of $[0] is not the place where we might find the
! 9346: # original and so on. Autoconf is especially sensible to this).
! 9347: . ./$as_me.lineno
! 9348: # Exit status is that of the last command.
! 9349: exit
! 9350: }
! 9351:
! 9352:
! 9353: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 9354: *c*,-n*) ECHO_N= ECHO_C='
! 9355: ' ECHO_T=' ' ;;
! 9356: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 9357: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 9358: esac
! 9359:
! 9360: if expr a : '\(a\)' >/dev/null 2>&1; then
! 9361: as_expr=expr
! 9362: else
! 9363: as_expr=false
! 9364: fi
! 9365:
! 9366: rm -f conf$$ conf$$.exe conf$$.file
! 9367: echo >conf$$.file
! 9368: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 9369: # We could just check for DJGPP; but this test a) works b) is more generic
! 9370: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 9371: if test -f conf$$.exe; then
! 9372: # Don't use ln at all; we don't have any links
! 9373: as_ln_s='cp -p'
! 9374: else
! 9375: as_ln_s='ln -s'
! 9376: fi
! 9377: elif ln conf$$.file conf$$ 2>/dev/null; then
! 9378: as_ln_s=ln
! 9379: else
! 9380: as_ln_s='cp -p'
! 9381: fi
! 9382: rm -f conf$$ conf$$.exe conf$$.file
! 9383:
! 9384: if mkdir -p . 2>/dev/null; then
! 9385: as_mkdir_p=:
! 9386: else
! 9387: test -d ./-p && rmdir ./-p
! 9388: as_mkdir_p=false
! 9389: fi
! 9390:
! 9391: as_executable_p="test -f"
! 9392:
! 9393: # Sed expression to map a string onto a valid CPP name.
! 9394: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 9395:
! 9396: # Sed expression to map a string onto a valid variable name.
! 9397: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 9398:
! 9399:
! 9400: # IFS
! 9401: # We need space, tab and new line, in precisely that order.
! 9402: as_nl='
! 9403: '
! 9404: IFS=" $as_nl"
! 9405:
! 9406: # CDPATH.
! 9407: $as_unset CDPATH
! 9408:
! 9409: exec 6>&1
! 9410:
! 9411: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 9412: # report actual input values of CONFIG_FILES etc. instead of their
! 9413: # values after options handling. Logging --version etc. is OK.
! 9414: exec 5>>config.log
! 9415: {
! 9416: echo
! 9417: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 9418: ## Running $as_me. ##
! 9419: _ASBOX
! 9420: } >&5
! 9421: cat >&5 <<_CSEOF
! 9422:
! 9423: This file was extended by $as_me, which was
! 9424: generated by GNU Autoconf 2.59. Invocation command line was
! 9425:
! 9426: CONFIG_FILES = $CONFIG_FILES
! 9427: CONFIG_HEADERS = $CONFIG_HEADERS
! 9428: CONFIG_LINKS = $CONFIG_LINKS
! 9429: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 9430: $ $0 $@
! 9431:
! 9432: _CSEOF
! 9433: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 9434: echo >&5
! 9435: _ACEOF
! 9436:
! 9437: # Files that config.status was made for.
! 9438: if test -n "$ac_config_files"; then
! 9439: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 9440: fi
! 9441:
! 9442: if test -n "$ac_config_headers"; then
! 9443: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 9444: fi
! 9445:
! 9446: if test -n "$ac_config_links"; then
! 9447: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 9448: fi
! 9449:
! 9450: if test -n "$ac_config_commands"; then
! 9451: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 9452: fi
! 9453:
! 9454: cat >>$CONFIG_STATUS <<\_ACEOF
! 9455:
! 9456: ac_cs_usage="\
! 9457: \`$as_me' instantiates files from templates according to the
! 9458: current configuration.
! 9459:
! 9460: Usage: $0 [OPTIONS] [FILE]...
! 9461:
! 9462: -h, --help print this help, then exit
! 9463: -V, --version print version number, then exit
! 9464: -q, --quiet do not print progress messages
! 9465: -d, --debug don't remove temporary files
! 9466: --recheck update $as_me by reconfiguring in the same conditions
! 9467: --file=FILE[:TEMPLATE]
! 9468: instantiate the configuration file FILE
! 9469: --header=FILE[:TEMPLATE]
! 9470: instantiate the configuration header FILE
! 9471:
! 9472: Configuration files:
! 9473: $config_files
! 9474:
! 9475: Configuration headers:
! 9476: $config_headers
! 9477:
! 9478: Configuration commands:
! 9479: $config_commands
! 9480:
! 9481: Report bugs to <bug-autoconf@gnu.org>."
! 9482: _ACEOF
! 9483:
! 9484: cat >>$CONFIG_STATUS <<_ACEOF
! 9485: ac_cs_version="\\
! 9486: config.status
! 9487: configured by $0, generated by GNU Autoconf 2.59,
! 9488: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 9489:
! 9490: Copyright (C) 2003 Free Software Foundation, Inc.
! 9491: This config.status script is free software; the Free Software Foundation
! 9492: gives unlimited permission to copy, distribute and modify it."
! 9493: srcdir=$srcdir
! 9494: INSTALL="$INSTALL"
! 9495: _ACEOF
! 9496:
! 9497: cat >>$CONFIG_STATUS <<\_ACEOF
! 9498: # If no file are specified by the user, then we need to provide default
! 9499: # value. By we need to know if files were specified by the user.
! 9500: ac_need_defaults=:
! 9501: while test $# != 0
! 9502: do
! 9503: case $1 in
! 9504: --*=*)
! 9505: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 9506: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 9507: ac_shift=:
! 9508: ;;
! 9509: -*)
! 9510: ac_option=$1
! 9511: ac_optarg=$2
! 9512: ac_shift=shift
! 9513: ;;
! 9514: *) # This is not an option, so the user has probably given explicit
! 9515: # arguments.
! 9516: ac_option=$1
! 9517: ac_need_defaults=false;;
! 9518: esac
! 9519:
! 9520: case $ac_option in
! 9521: # Handling of the options.
! 9522: _ACEOF
! 9523: cat >>$CONFIG_STATUS <<\_ACEOF
! 9524: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 9525: ac_cs_recheck=: ;;
! 9526: --version | --vers* | -V )
! 9527: echo "$ac_cs_version"; exit 0 ;;
! 9528: --he | --h)
! 9529: # Conflict between --help and --header
! 9530: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 9531: Try \`$0 --help' for more information." >&5
! 9532: echo "$as_me: error: ambiguous option: $1
! 9533: Try \`$0 --help' for more information." >&2;}
! 9534: { (exit 1); exit 1; }; };;
! 9535: --help | --hel | -h )
! 9536: echo "$ac_cs_usage"; exit 0 ;;
! 9537: --debug | --d* | -d )
! 9538: debug=: ;;
! 9539: --file | --fil | --fi | --f )
! 9540: $ac_shift
! 9541: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 9542: ac_need_defaults=false;;
! 9543: --header | --heade | --head | --hea )
! 9544: $ac_shift
! 9545: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 9546: ac_need_defaults=false;;
! 9547: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 9548: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 9549: ac_cs_silent=: ;;
! 9550:
! 9551: # This is an error.
! 9552: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 9553: Try \`$0 --help' for more information." >&5
! 9554: echo "$as_me: error: unrecognized option: $1
! 9555: Try \`$0 --help' for more information." >&2;}
! 9556: { (exit 1); exit 1; }; } ;;
! 9557:
! 9558: *) ac_config_targets="$ac_config_targets $1" ;;
! 9559:
! 9560: esac
! 9561: shift
! 9562: done
! 9563:
! 9564: ac_configure_extra_args=
! 9565:
! 9566: if $ac_cs_silent; then
! 9567: exec 6>/dev/null
! 9568: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 9569: fi
! 9570:
! 9571: _ACEOF
! 9572: cat >>$CONFIG_STATUS <<_ACEOF
! 9573: if \$ac_cs_recheck; then
! 9574: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 9575: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 9576: fi
! 9577:
! 9578: _ACEOF
! 9579:
! 9580: cat >>$CONFIG_STATUS <<_ACEOF
! 9581: #
! 9582: # INIT-COMMANDS section.
! 9583: #
! 9584:
! 9585: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 9586:
! 9587: _ACEOF
! 9588:
! 9589:
! 9590:
! 9591: cat >>$CONFIG_STATUS <<\_ACEOF
! 9592: for ac_config_target in $ac_config_targets
! 9593: do
! 9594: case "$ac_config_target" in
! 9595: # Handling of arguments.
! 9596: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 9597: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 9598: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 9599: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 9600: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 9601: { (exit 1); exit 1; }; };;
! 9602: esac
! 9603: done
! 9604:
! 9605: # If the user did not use the arguments to specify the items to instantiate,
! 9606: # then the envvar interface is used. Set only those that are not.
! 9607: # We use the long form for the default assignment because of an extremely
! 9608: # bizarre bug on SunOS 4.1.3.
! 9609: if $ac_need_defaults; then
! 9610: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 9611: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 9612: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 9613: fi
! 9614:
! 9615: # Have a temporary directory for convenience. Make it in the build tree
! 9616: # simply because there is no reason to put it here, and in addition,
! 9617: # creating and moving files from /tmp can sometimes cause problems.
! 9618: # Create a temporary directory, and hook for its removal unless debugging.
! 9619: $debug ||
! 9620: {
! 9621: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 9622: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 9623: }
! 9624:
! 9625: # Create a (secure) tmp directory for tmp files.
! 9626:
! 9627: {
! 9628: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 9629: test -n "$tmp" && test -d "$tmp"
! 9630: } ||
! 9631: {
! 9632: tmp=./confstat$$-$RANDOM
! 9633: (umask 077 && mkdir $tmp)
! 9634: } ||
! 9635: {
! 9636: echo "$me: cannot create a temporary directory in ." >&2
! 9637: { (exit 1); exit 1; }
! 9638: }
! 9639:
! 9640: _ACEOF
! 9641:
! 9642: cat >>$CONFIG_STATUS <<_ACEOF
! 9643:
! 9644: #
! 9645: # CONFIG_FILES section.
! 9646: #
! 9647:
! 9648: # No need to generate the scripts if there are no CONFIG_FILES.
! 9649: # This happens for instance when ./config.status config.h
! 9650: if test -n "\$CONFIG_FILES"; then
! 9651: # Protect against being on the right side of a sed subst in config.status.
! 9652: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 9653: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 9654: s,@SHELL@,$SHELL,;t t
! 9655: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 9656: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 9657: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 9658: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 9659: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 9660: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 9661: s,@exec_prefix@,$exec_prefix,;t t
! 9662: s,@prefix@,$prefix,;t t
! 9663: s,@program_transform_name@,$program_transform_name,;t t
! 9664: s,@bindir@,$bindir,;t t
! 9665: s,@sbindir@,$sbindir,;t t
! 9666: s,@libexecdir@,$libexecdir,;t t
! 9667: s,@datadir@,$datadir,;t t
! 9668: s,@sysconfdir@,$sysconfdir,;t t
! 9669: s,@sharedstatedir@,$sharedstatedir,;t t
! 9670: s,@localstatedir@,$localstatedir,;t t
! 9671: s,@libdir@,$libdir,;t t
! 9672: s,@includedir@,$includedir,;t t
! 9673: s,@oldincludedir@,$oldincludedir,;t t
! 9674: s,@infodir@,$infodir,;t t
! 9675: s,@mandir@,$mandir,;t t
! 9676: s,@build_alias@,$build_alias,;t t
! 9677: s,@host_alias@,$host_alias,;t t
! 9678: s,@target_alias@,$target_alias,;t t
! 9679: s,@DEFS@,$DEFS,;t t
! 9680: s,@ECHO_C@,$ECHO_C,;t t
! 9681: s,@ECHO_N@,$ECHO_N,;t t
! 9682: s,@ECHO_T@,$ECHO_T,;t t
! 9683: s,@LIBS@,$LIBS,;t t
! 9684: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 9685: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 9686: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 9687: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 9688: s,@PACKAGE@,$PACKAGE,;t t
! 9689: s,@VERSION@,$VERSION,;t t
! 9690: s,@ACLOCAL@,$ACLOCAL,;t t
! 9691: s,@AUTOCONF@,$AUTOCONF,;t t
! 9692: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 9693: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 9694: s,@MAKEINFO@,$MAKEINFO,;t t
! 9695: s,@install_sh@,$install_sh,;t t
! 9696: s,@STRIP@,$STRIP,;t t
! 9697: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 9698: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 9699: s,@mkdir_p@,$mkdir_p,;t t
! 9700: s,@AWK@,$AWK,;t t
! 9701: s,@SET_MAKE@,$SET_MAKE,;t t
! 9702: s,@am__leading_dot@,$am__leading_dot,;t t
! 9703: s,@AMTAR@,$AMTAR,;t t
! 9704: s,@am__tar@,$am__tar,;t t
! 9705: s,@am__untar@,$am__untar,;t t
! 9706: s,@SQLITE_INC@,$SQLITE_INC,;t t
! 9707: s,@CXX@,$CXX,;t t
! 9708: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 9709: s,@LDFLAGS@,$LDFLAGS,;t t
! 9710: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 9711: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 9712: s,@EXEEXT@,$EXEEXT,;t t
! 9713: s,@OBJEXT@,$OBJEXT,;t t
! 9714: s,@DEPDIR@,$DEPDIR,;t t
! 9715: s,@am__include@,$am__include,;t t
! 9716: s,@am__quote@,$am__quote,;t t
! 9717: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 9718: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 9719: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 9720: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
! 9721: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
! 9722: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
! 9723: s,@CC@,$CC,;t t
! 9724: s,@CFLAGS@,$CFLAGS,;t t
! 9725: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 9726: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 9727: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 9728: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 9729: s,@INCLTDL@,$INCLTDL,;t t
! 9730: s,@LIBLTDL@,$LIBLTDL,;t t
! 9731: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 9732: s,@build@,$build,;t t
! 9733: s,@build_cpu@,$build_cpu,;t t
! 9734: s,@build_vendor@,$build_vendor,;t t
! 9735: s,@build_os@,$build_os,;t t
! 9736: s,@host@,$host,;t t
! 9737: s,@host_cpu@,$host_cpu,;t t
! 9738: s,@host_vendor@,$host_vendor,;t t
! 9739: s,@host_os@,$host_os,;t t
! 9740: s,@LN_S@,$LN_S,;t t
! 9741: s,@ECHO@,$ECHO,;t t
! 9742: s,@RANLIB@,$RANLIB,;t t
! 9743: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 9744: s,@CPP@,$CPP,;t t
! 9745: s,@EGREP@,$EGREP,;t t
! 9746: s,@LIBTOOL@,$LIBTOOL,;t t
! 9747: s,@subdirs@,$subdirs,;t t
! 9748: s,@LIBOBJS@,$LIBOBJS,;t t
! 9749: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 9750: CEOF
! 9751:
! 9752: _ACEOF
! 9753:
! 9754: cat >>$CONFIG_STATUS <<\_ACEOF
! 9755: # Split the substitutions into bite-sized pieces for seds with
! 9756: # small command number limits, like on Digital OSF/1 and HP-UX.
! 9757: ac_max_sed_lines=48
! 9758: ac_sed_frag=1 # Number of current file.
! 9759: ac_beg=1 # First line for current file.
! 9760: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 9761: ac_more_lines=:
! 9762: ac_sed_cmds=
! 9763: while $ac_more_lines; do
! 9764: if test $ac_beg -gt 1; then
! 9765: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 9766: else
! 9767: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 9768: fi
! 9769: if test ! -s $tmp/subs.frag; then
! 9770: ac_more_lines=false
! 9771: else
! 9772: # The purpose of the label and of the branching condition is to
! 9773: # speed up the sed processing (if there are no `@' at all, there
! 9774: # is no need to browse any of the substitutions).
! 9775: # These are the two extra sed commands mentioned above.
! 9776: (echo ':t
! 9777: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 9778: if test -z "$ac_sed_cmds"; then
! 9779: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 9780: else
! 9781: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 9782: fi
! 9783: ac_sed_frag=`expr $ac_sed_frag + 1`
! 9784: ac_beg=$ac_end
! 9785: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 9786: fi
! 9787: done
! 9788: if test -z "$ac_sed_cmds"; then
! 9789: ac_sed_cmds=cat
! 9790: fi
! 9791: fi # test -n "$CONFIG_FILES"
! 9792:
! 9793: _ACEOF
! 9794: cat >>$CONFIG_STATUS <<\_ACEOF
! 9795: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 9796: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 9797: case $ac_file in
! 9798: - | *:- | *:-:* ) # input from stdin
! 9799: cat >$tmp/stdin
! 9800: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 9801: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 9802: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 9803: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 9804: * ) ac_file_in=$ac_file.in ;;
! 9805: esac
! 9806:
! 9807: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 9808: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 9809: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9810: X"$ac_file" : 'X\(//\)[^/]' \| \
! 9811: X"$ac_file" : 'X\(//\)$' \| \
! 9812: X"$ac_file" : 'X\(/\)' \| \
! 9813: . : '\(.\)' 2>/dev/null ||
! 9814: echo X"$ac_file" |
! 9815: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 9816: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 9817: /^X\(\/\/\)$/{ s//\1/; q; }
! 9818: /^X\(\/\).*/{ s//\1/; q; }
! 9819: s/.*/./; q'`
! 9820: { if $as_mkdir_p; then
! 9821: mkdir -p "$ac_dir"
! 9822: else
! 9823: as_dir="$ac_dir"
! 9824: as_dirs=
! 9825: while test ! -d "$as_dir"; do
! 9826: as_dirs="$as_dir $as_dirs"
! 9827: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 9828: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9829: X"$as_dir" : 'X\(//\)[^/]' \| \
! 9830: X"$as_dir" : 'X\(//\)$' \| \
! 9831: X"$as_dir" : 'X\(/\)' \| \
! 9832: . : '\(.\)' 2>/dev/null ||
! 9833: echo X"$as_dir" |
! 9834: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 9835: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 9836: /^X\(\/\/\)$/{ s//\1/; q; }
! 9837: /^X\(\/\).*/{ s//\1/; q; }
! 9838: s/.*/./; q'`
! 9839: done
! 9840: test ! -n "$as_dirs" || mkdir $as_dirs
! 9841: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 9842: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 9843: { (exit 1); exit 1; }; }; }
! 9844:
! 9845: ac_builddir=.
! 9846:
! 9847: if test "$ac_dir" != .; then
! 9848: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 9849: # A "../" for each directory in $ac_dir_suffix.
! 9850: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 9851: else
! 9852: ac_dir_suffix= ac_top_builddir=
! 9853: fi
! 9854:
! 9855: case $srcdir in
! 9856: .) # No --srcdir option. We are building in place.
! 9857: ac_srcdir=.
! 9858: if test -z "$ac_top_builddir"; then
! 9859: ac_top_srcdir=.
! 9860: else
! 9861: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 9862: fi ;;
! 9863: [\\/]* | ?:[\\/]* ) # Absolute path.
! 9864: ac_srcdir=$srcdir$ac_dir_suffix;
! 9865: ac_top_srcdir=$srcdir ;;
! 9866: *) # Relative path.
! 9867: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 9868: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 9869: esac
! 9870:
! 9871: # Do not use `cd foo && pwd` to compute absolute paths, because
! 9872: # the directories may not exist.
! 9873: case `pwd` in
! 9874: .) ac_abs_builddir="$ac_dir";;
! 9875: *)
! 9876: case "$ac_dir" in
! 9877: .) ac_abs_builddir=`pwd`;;
! 9878: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 9879: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 9880: esac;;
! 9881: esac
! 9882: case $ac_abs_builddir in
! 9883: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 9884: *)
! 9885: case ${ac_top_builddir}. in
! 9886: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 9887: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 9888: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 9889: esac;;
! 9890: esac
! 9891: case $ac_abs_builddir in
! 9892: .) ac_abs_srcdir=$ac_srcdir;;
! 9893: *)
! 9894: case $ac_srcdir in
! 9895: .) ac_abs_srcdir=$ac_abs_builddir;;
! 9896: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 9897: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 9898: esac;;
! 9899: esac
! 9900: case $ac_abs_builddir in
! 9901: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 9902: *)
! 9903: case $ac_top_srcdir in
! 9904: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 9905: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 9906: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 9907: esac;;
! 9908: esac
! 9909:
! 9910:
! 9911: case $INSTALL in
! 9912: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 9913: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
! 9914: esac
! 9915:
! 9916: if test x"$ac_file" != x-; then
! 9917: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 9918: echo "$as_me: creating $ac_file" >&6;}
! 9919: rm -f "$ac_file"
! 9920: fi
! 9921: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 9922: # use $as_me), people would be surprised to read:
! 9923: # /* config.h. Generated by config.status. */
! 9924: if test x"$ac_file" = x-; then
! 9925: configure_input=
! 9926: else
! 9927: configure_input="$ac_file. "
! 9928: fi
! 9929: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 9930: sed 's,.*/,,'` by configure."
! 9931:
! 9932: # First look for the input files in the build tree, otherwise in the
! 9933: # src tree.
! 9934: ac_file_inputs=`IFS=:
! 9935: for f in $ac_file_in; do
! 9936: case $f in
! 9937: -) echo $tmp/stdin ;;
! 9938: [\\/$]*)
! 9939: # Absolute (can't be DOS-style, as IFS=:)
! 9940: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 9941: echo "$as_me: error: cannot find input file: $f" >&2;}
! 9942: { (exit 1); exit 1; }; }
! 9943: echo "$f";;
! 9944: *) # Relative
! 9945: if test -f "$f"; then
! 9946: # Build tree
! 9947: echo "$f"
! 9948: elif test -f "$srcdir/$f"; then
! 9949: # Source tree
! 9950: echo "$srcdir/$f"
! 9951: else
! 9952: # /dev/null tree
! 9953: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 9954: echo "$as_me: error: cannot find input file: $f" >&2;}
! 9955: { (exit 1); exit 1; }; }
! 9956: fi;;
! 9957: esac
! 9958: done` || { (exit 1); exit 1; }
! 9959: _ACEOF
! 9960: cat >>$CONFIG_STATUS <<_ACEOF
! 9961: sed "$ac_vpsub
! 9962: $extrasub
! 9963: _ACEOF
! 9964: cat >>$CONFIG_STATUS <<\_ACEOF
! 9965: :t
! 9966: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 9967: s,@configure_input@,$configure_input,;t t
! 9968: s,@srcdir@,$ac_srcdir,;t t
! 9969: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 9970: s,@top_srcdir@,$ac_top_srcdir,;t t
! 9971: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 9972: s,@builddir@,$ac_builddir,;t t
! 9973: s,@abs_builddir@,$ac_abs_builddir,;t t
! 9974: s,@top_builddir@,$ac_top_builddir,;t t
! 9975: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 9976: s,@INSTALL@,$ac_INSTALL,;t t
! 9977: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 9978: rm -f $tmp/stdin
! 9979: if test x"$ac_file" != x-; then
! 9980: mv $tmp/out $ac_file
! 9981: else
! 9982: cat $tmp/out
! 9983: rm -f $tmp/out
! 9984: fi
! 9985:
! 9986: done
! 9987: _ACEOF
! 9988: cat >>$CONFIG_STATUS <<\_ACEOF
! 9989:
! 9990: #
! 9991: # CONFIG_HEADER section.
! 9992: #
! 9993:
! 9994: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 9995: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 9996: #
! 9997: # ac_d sets the value in "#define NAME VALUE" lines.
! 9998: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 9999: ac_dB='[ ].*$,\1#\2'
! 10000: ac_dC=' '
! 10001: ac_dD=',;t'
! 10002: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 10003: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 10004: ac_uB='$,\1#\2define\3'
! 10005: ac_uC=' '
! 10006: ac_uD=',;t'
! 10007:
! 10008: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 10009: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 10010: case $ac_file in
! 10011: - | *:- | *:-:* ) # input from stdin
! 10012: cat >$tmp/stdin
! 10013: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 10014: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 10015: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 10016: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 10017: * ) ac_file_in=$ac_file.in ;;
! 10018: esac
! 10019:
! 10020: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 10021: echo "$as_me: creating $ac_file" >&6;}
! 10022:
! 10023: # First look for the input files in the build tree, otherwise in the
! 10024: # src tree.
! 10025: ac_file_inputs=`IFS=:
! 10026: for f in $ac_file_in; do
! 10027: case $f in
! 10028: -) echo $tmp/stdin ;;
! 10029: [\\/$]*)
! 10030: # Absolute (can't be DOS-style, as IFS=:)
! 10031: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 10032: echo "$as_me: error: cannot find input file: $f" >&2;}
! 10033: { (exit 1); exit 1; }; }
! 10034: # Do quote $f, to prevent DOS paths from being IFS'd.
! 10035: echo "$f";;
! 10036: *) # Relative
! 10037: if test -f "$f"; then
! 10038: # Build tree
! 10039: echo "$f"
! 10040: elif test -f "$srcdir/$f"; then
! 10041: # Source tree
! 10042: echo "$srcdir/$f"
! 10043: else
! 10044: # /dev/null tree
! 10045: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 10046: echo "$as_me: error: cannot find input file: $f" >&2;}
! 10047: { (exit 1); exit 1; }; }
! 10048: fi;;
! 10049: esac
! 10050: done` || { (exit 1); exit 1; }
! 10051: # Remove the trailing spaces.
! 10052: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 10053:
! 10054: _ACEOF
! 10055:
! 10056: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 10057: # `conftest.undefs', that substitutes the proper values into
! 10058: # config.h.in to produce config.h. The first handles `#define'
! 10059: # templates, and the second `#undef' templates.
! 10060: # And first: Protect against being on the right side of a sed subst in
! 10061: # config.status. Protect against being in an unquoted here document
! 10062: # in config.status.
! 10063: rm -f conftest.defines conftest.undefs
! 10064: # Using a here document instead of a string reduces the quoting nightmare.
! 10065: # Putting comments in sed scripts is not portable.
! 10066: #
! 10067: # `end' is used to avoid that the second main sed command (meant for
! 10068: # 0-ary CPP macros) applies to n-ary macro definitions.
! 10069: # See the Autoconf documentation for `clear'.
! 10070: cat >confdef2sed.sed <<\_ACEOF
! 10071: s/[\\&,]/\\&/g
! 10072: s,[\\$`],\\&,g
! 10073: t clear
! 10074: : clear
! 10075: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 10076: t end
! 10077: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 10078: : end
! 10079: _ACEOF
! 10080: # If some macros were called several times there might be several times
! 10081: # the same #defines, which is useless. Nevertheless, we may not want to
! 10082: # sort them, since we want the *last* AC-DEFINE to be honored.
! 10083: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 10084: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 10085: rm -f confdef2sed.sed
! 10086:
! 10087: # This sed command replaces #undef with comments. This is necessary, for
! 10088: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 10089: # on some systems where configure will not decide to define it.
! 10090: cat >>conftest.undefs <<\_ACEOF
! 10091: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 10092: _ACEOF
! 10093:
! 10094: # Break up conftest.defines because some shells have a limit on the size
! 10095: # of here documents, and old seds have small limits too (100 cmds).
! 10096: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 10097: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 10098: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 10099: echo ' :' >>$CONFIG_STATUS
! 10100: rm -f conftest.tail
! 10101: while grep . conftest.defines >/dev/null
! 10102: do
! 10103: # Write a limited-size here document to $tmp/defines.sed.
! 10104: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 10105: # Speed up: don't consider the non `#define' lines.
! 10106: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 10107: # Work around the forget-to-reset-the-flag bug.
! 10108: echo 't clr' >>$CONFIG_STATUS
! 10109: echo ': clr' >>$CONFIG_STATUS
! 10110: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 10111: echo 'CEOF
! 10112: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 10113: rm -f $tmp/in
! 10114: mv $tmp/out $tmp/in
! 10115: ' >>$CONFIG_STATUS
! 10116: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 10117: rm -f conftest.defines
! 10118: mv conftest.tail conftest.defines
! 10119: done
! 10120: rm -f conftest.defines
! 10121: echo ' fi # grep' >>$CONFIG_STATUS
! 10122: echo >>$CONFIG_STATUS
! 10123:
! 10124: # Break up conftest.undefs because some shells have a limit on the size
! 10125: # of here documents, and old seds have small limits too (100 cmds).
! 10126: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 10127: rm -f conftest.tail
! 10128: while grep . conftest.undefs >/dev/null
! 10129: do
! 10130: # Write a limited-size here document to $tmp/undefs.sed.
! 10131: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 10132: # Speed up: don't consider the non `#undef'
! 10133: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 10134: # Work around the forget-to-reset-the-flag bug.
! 10135: echo 't clr' >>$CONFIG_STATUS
! 10136: echo ': clr' >>$CONFIG_STATUS
! 10137: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 10138: echo 'CEOF
! 10139: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 10140: rm -f $tmp/in
! 10141: mv $tmp/out $tmp/in
! 10142: ' >>$CONFIG_STATUS
! 10143: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 10144: rm -f conftest.undefs
! 10145: mv conftest.tail conftest.undefs
! 10146: done
! 10147: rm -f conftest.undefs
! 10148:
! 10149: cat >>$CONFIG_STATUS <<\_ACEOF
! 10150: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 10151: # use $as_me), people would be surprised to read:
! 10152: # /* config.h. Generated by config.status. */
! 10153: if test x"$ac_file" = x-; then
! 10154: echo "/* Generated by configure. */" >$tmp/config.h
! 10155: else
! 10156: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 10157: fi
! 10158: cat $tmp/in >>$tmp/config.h
! 10159: rm -f $tmp/in
! 10160: if test x"$ac_file" != x-; then
! 10161: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 10162: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 10163: echo "$as_me: $ac_file is unchanged" >&6;}
! 10164: else
! 10165: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 10166: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10167: X"$ac_file" : 'X\(//\)[^/]' \| \
! 10168: X"$ac_file" : 'X\(//\)$' \| \
! 10169: X"$ac_file" : 'X\(/\)' \| \
! 10170: . : '\(.\)' 2>/dev/null ||
! 10171: echo X"$ac_file" |
! 10172: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10173: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10174: /^X\(\/\/\)$/{ s//\1/; q; }
! 10175: /^X\(\/\).*/{ s//\1/; q; }
! 10176: s/.*/./; q'`
! 10177: { if $as_mkdir_p; then
! 10178: mkdir -p "$ac_dir"
! 10179: else
! 10180: as_dir="$ac_dir"
! 10181: as_dirs=
! 10182: while test ! -d "$as_dir"; do
! 10183: as_dirs="$as_dir $as_dirs"
! 10184: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 10185: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10186: X"$as_dir" : 'X\(//\)[^/]' \| \
! 10187: X"$as_dir" : 'X\(//\)$' \| \
! 10188: X"$as_dir" : 'X\(/\)' \| \
! 10189: . : '\(.\)' 2>/dev/null ||
! 10190: echo X"$as_dir" |
! 10191: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10192: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10193: /^X\(\/\/\)$/{ s//\1/; q; }
! 10194: /^X\(\/\).*/{ s//\1/; q; }
! 10195: s/.*/./; q'`
! 10196: done
! 10197: test ! -n "$as_dirs" || mkdir $as_dirs
! 10198: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 10199: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 10200: { (exit 1); exit 1; }; }; }
! 10201:
! 10202: rm -f $ac_file
! 10203: mv $tmp/config.h $ac_file
! 10204: fi
! 10205: else
! 10206: cat $tmp/config.h
! 10207: rm -f $tmp/config.h
! 10208: fi
! 10209: # Compute $ac_file's index in $config_headers.
! 10210: _am_stamp_count=1
! 10211: for _am_header in $config_headers :; do
! 10212: case $_am_header in
! 10213: $ac_file | $ac_file:* )
! 10214: break ;;
! 10215: * )
! 10216: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 10217: esac
! 10218: done
! 10219: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 10220: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10221: X$ac_file : 'X\(//\)[^/]' \| \
! 10222: X$ac_file : 'X\(//\)$' \| \
! 10223: X$ac_file : 'X\(/\)' \| \
! 10224: . : '\(.\)' 2>/dev/null ||
! 10225: echo X$ac_file |
! 10226: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10227: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10228: /^X\(\/\/\)$/{ s//\1/; q; }
! 10229: /^X\(\/\).*/{ s//\1/; q; }
! 10230: s/.*/./; q'`/stamp-h$_am_stamp_count
! 10231: done
! 10232: _ACEOF
! 10233: cat >>$CONFIG_STATUS <<\_ACEOF
! 10234:
! 10235: #
! 10236: # CONFIG_COMMANDS section.
! 10237: #
! 10238: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 10239: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 10240: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 10241: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 10242: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10243: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 10244: X"$ac_dest" : 'X\(//\)$' \| \
! 10245: X"$ac_dest" : 'X\(/\)' \| \
! 10246: . : '\(.\)' 2>/dev/null ||
! 10247: echo X"$ac_dest" |
! 10248: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10249: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10250: /^X\(\/\/\)$/{ s//\1/; q; }
! 10251: /^X\(\/\).*/{ s//\1/; q; }
! 10252: s/.*/./; q'`
! 10253: { if $as_mkdir_p; then
! 10254: mkdir -p "$ac_dir"
! 10255: else
! 10256: as_dir="$ac_dir"
! 10257: as_dirs=
! 10258: while test ! -d "$as_dir"; do
! 10259: as_dirs="$as_dir $as_dirs"
! 10260: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 10261: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10262: X"$as_dir" : 'X\(//\)[^/]' \| \
! 10263: X"$as_dir" : 'X\(//\)$' \| \
! 10264: X"$as_dir" : 'X\(/\)' \| \
! 10265: . : '\(.\)' 2>/dev/null ||
! 10266: echo X"$as_dir" |
! 10267: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10268: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10269: /^X\(\/\/\)$/{ s//\1/; q; }
! 10270: /^X\(\/\).*/{ s//\1/; q; }
! 10271: s/.*/./; q'`
! 10272: done
! 10273: test ! -n "$as_dirs" || mkdir $as_dirs
! 10274: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 10275: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 10276: { (exit 1); exit 1; }; }; }
! 10277:
! 10278: ac_builddir=.
! 10279:
! 10280: if test "$ac_dir" != .; then
! 10281: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 10282: # A "../" for each directory in $ac_dir_suffix.
! 10283: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 10284: else
! 10285: ac_dir_suffix= ac_top_builddir=
! 10286: fi
! 10287:
! 10288: case $srcdir in
! 10289: .) # No --srcdir option. We are building in place.
! 10290: ac_srcdir=.
! 10291: if test -z "$ac_top_builddir"; then
! 10292: ac_top_srcdir=.
! 10293: else
! 10294: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 10295: fi ;;
! 10296: [\\/]* | ?:[\\/]* ) # Absolute path.
! 10297: ac_srcdir=$srcdir$ac_dir_suffix;
! 10298: ac_top_srcdir=$srcdir ;;
! 10299: *) # Relative path.
! 10300: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 10301: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 10302: esac
! 10303:
! 10304: # Do not use `cd foo && pwd` to compute absolute paths, because
! 10305: # the directories may not exist.
! 10306: case `pwd` in
! 10307: .) ac_abs_builddir="$ac_dir";;
! 10308: *)
! 10309: case "$ac_dir" in
! 10310: .) ac_abs_builddir=`pwd`;;
! 10311: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 10312: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 10313: esac;;
! 10314: esac
! 10315: case $ac_abs_builddir in
! 10316: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 10317: *)
! 10318: case ${ac_top_builddir}. in
! 10319: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 10320: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 10321: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 10322: esac;;
! 10323: esac
! 10324: case $ac_abs_builddir in
! 10325: .) ac_abs_srcdir=$ac_srcdir;;
! 10326: *)
! 10327: case $ac_srcdir in
! 10328: .) ac_abs_srcdir=$ac_abs_builddir;;
! 10329: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 10330: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 10331: esac;;
! 10332: esac
! 10333: case $ac_abs_builddir in
! 10334: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 10335: *)
! 10336: case $ac_top_srcdir in
! 10337: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 10338: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 10339: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 10340: esac;;
! 10341: esac
! 10342:
! 10343:
! 10344: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 10345: echo "$as_me: executing $ac_dest commands" >&6;}
! 10346: case $ac_dest in
! 10347: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 10348: # Strip MF so we end up with the name of the file.
! 10349: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 10350: # Check whether this is an Automake generated Makefile or not.
! 10351: # We used to match only the files named `Makefile.in', but
! 10352: # some people rename them; so instead we look at the file content.
! 10353: # Grep'ing the first line is not enough: some people post-process
! 10354: # each Makefile.in and add a new line on top of each file to say so.
! 10355: # So let's grep whole file.
! 10356: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 10357: dirpart=`(dirname "$mf") 2>/dev/null ||
! 10358: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10359: X"$mf" : 'X\(//\)[^/]' \| \
! 10360: X"$mf" : 'X\(//\)$' \| \
! 10361: X"$mf" : 'X\(/\)' \| \
! 10362: . : '\(.\)' 2>/dev/null ||
! 10363: echo X"$mf" |
! 10364: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10365: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10366: /^X\(\/\/\)$/{ s//\1/; q; }
! 10367: /^X\(\/\).*/{ s//\1/; q; }
! 10368: s/.*/./; q'`
! 10369: else
! 10370: continue
! 10371: fi
! 10372: # Extract the definition of DEPDIR, am__include, and am__quote
! 10373: # from the Makefile without running `make'.
! 10374: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 10375: test -z "$DEPDIR" && continue
! 10376: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 10377: test -z "am__include" && continue
! 10378: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 10379: # When using ansi2knr, U may be empty or an underscore; expand it
! 10380: U=`sed -n 's/^U = //p' < "$mf"`
! 10381: # Find all dependency output files, they are included files with
! 10382: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 10383: # simplest approach to changing $(DEPDIR) to its actual value in the
! 10384: # expansion.
! 10385: for file in `sed -n "
! 10386: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 10387: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 10388: # Make sure the directory exists.
! 10389: test -f "$dirpart/$file" && continue
! 10390: fdir=`(dirname "$file") 2>/dev/null ||
! 10391: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10392: X"$file" : 'X\(//\)[^/]' \| \
! 10393: X"$file" : 'X\(//\)$' \| \
! 10394: X"$file" : 'X\(/\)' \| \
! 10395: . : '\(.\)' 2>/dev/null ||
! 10396: echo X"$file" |
! 10397: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10398: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10399: /^X\(\/\/\)$/{ s//\1/; q; }
! 10400: /^X\(\/\).*/{ s//\1/; q; }
! 10401: s/.*/./; q'`
! 10402: { if $as_mkdir_p; then
! 10403: mkdir -p $dirpart/$fdir
! 10404: else
! 10405: as_dir=$dirpart/$fdir
! 10406: as_dirs=
! 10407: while test ! -d "$as_dir"; do
! 10408: as_dirs="$as_dir $as_dirs"
! 10409: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 10410: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10411: X"$as_dir" : 'X\(//\)[^/]' \| \
! 10412: X"$as_dir" : 'X\(//\)$' \| \
! 10413: X"$as_dir" : 'X\(/\)' \| \
! 10414: . : '\(.\)' 2>/dev/null ||
! 10415: echo X"$as_dir" |
! 10416: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10417: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10418: /^X\(\/\/\)$/{ s//\1/; q; }
! 10419: /^X\(\/\).*/{ s//\1/; q; }
! 10420: s/.*/./; q'`
! 10421: done
! 10422: test ! -n "$as_dirs" || mkdir $as_dirs
! 10423: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 10424: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 10425: { (exit 1); exit 1; }; }; }
! 10426:
! 10427: # echo "creating $dirpart/$file"
! 10428: echo '# dummy' > "$dirpart/$file"
! 10429: done
! 10430: done
! 10431: ;;
! 10432: esac
! 10433: done
! 10434: _ACEOF
! 10435:
! 10436: cat >>$CONFIG_STATUS <<\_ACEOF
! 10437:
! 10438: { (exit 0); exit 0; }
! 10439: _ACEOF
! 10440: chmod +x $CONFIG_STATUS
! 10441: ac_clean_files=$ac_clean_files_save
! 10442:
! 10443:
! 10444: # configure is writing to config.log, and then calls config.status.
! 10445: # config.status does its own redirection, appending to config.log.
! 10446: # Unfortunately, on DOS this fails, as config.log is still kept open
! 10447: # by configure, so config.status won't be able to write to it; its
! 10448: # output is simply discarded. So we exec the FD to /dev/null,
! 10449: # effectively closing config.log, so it can be properly (re)opened and
! 10450: # appended to by config.status. When coming back to configure, we
! 10451: # need to make the FD available again.
! 10452: if test "$no_create" != yes; then
! 10453: ac_cs_success=:
! 10454: ac_config_status_args=
! 10455: test "$silent" = yes &&
! 10456: ac_config_status_args="$ac_config_status_args --quiet"
! 10457: exec 5>/dev/null
! 10458: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 10459: exec 5>>config.log
! 10460: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 10461: # would make configure fail if this is the last instruction.
! 10462: $ac_cs_success || { (exit 1); exit 1; }
! 10463: fi
! 10464:
! 10465: #
! 10466: # CONFIG_SUBDIRS section.
! 10467: #
! 10468: if test "$no_recursion" != yes; then
! 10469:
! 10470: # Remove --cache-file and --srcdir arguments so they do not pile up.
! 10471: ac_sub_configure_args=
! 10472: ac_prev=
! 10473: for ac_arg in $ac_configure_args; do
! 10474: if test -n "$ac_prev"; then
! 10475: ac_prev=
! 10476: continue
! 10477: fi
! 10478: case $ac_arg in
! 10479: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 10480: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 10481: ac_prev=cache_file ;;
! 10482: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 10483: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
! 10484: | --c=*)
! 10485: ;;
! 10486: --config-cache | -C)
! 10487: ;;
! 10488: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 10489: ac_prev=srcdir ;;
! 10490: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 10491: ;;
! 10492: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 10493: ac_prev=prefix ;;
! 10494: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 10495: ;;
! 10496: *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
! 10497: esac
! 10498: done
! 10499:
! 10500: # Always prepend --prefix to ensure using the same prefix
! 10501: # in subdir configurations.
! 10502: ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
! 10503:
! 10504: ac_popdir=`pwd`
! 10505: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
! 10506:
! 10507: # Do not complain, so a configure script can configure whichever
! 10508: # parts of a large source tree are present.
! 10509: test -d $srcdir/$ac_dir || continue
! 10510:
! 10511: { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
! 10512: echo "$as_me: configuring in $ac_dir" >&6;}
! 10513: { if $as_mkdir_p; then
! 10514: mkdir -p "$ac_dir"
! 10515: else
! 10516: as_dir="$ac_dir"
! 10517: as_dirs=
! 10518: while test ! -d "$as_dir"; do
! 10519: as_dirs="$as_dir $as_dirs"
! 10520: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 10521: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 10522: X"$as_dir" : 'X\(//\)[^/]' \| \
! 10523: X"$as_dir" : 'X\(//\)$' \| \
! 10524: X"$as_dir" : 'X\(/\)' \| \
! 10525: . : '\(.\)' 2>/dev/null ||
! 10526: echo X"$as_dir" |
! 10527: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 10528: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 10529: /^X\(\/\/\)$/{ s//\1/; q; }
! 10530: /^X\(\/\).*/{ s//\1/; q; }
! 10531: s/.*/./; q'`
! 10532: done
! 10533: test ! -n "$as_dirs" || mkdir $as_dirs
! 10534: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 10535: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 10536: { (exit 1); exit 1; }; }; }
! 10537:
! 10538: ac_builddir=.
! 10539:
! 10540: if test "$ac_dir" != .; then
! 10541: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 10542: # A "../" for each directory in $ac_dir_suffix.
! 10543: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 10544: else
! 10545: ac_dir_suffix= ac_top_builddir=
! 10546: fi
! 10547:
! 10548: case $srcdir in
! 10549: .) # No --srcdir option. We are building in place.
! 10550: ac_srcdir=.
! 10551: if test -z "$ac_top_builddir"; then
! 10552: ac_top_srcdir=.
! 10553: else
! 10554: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 10555: fi ;;
! 10556: [\\/]* | ?:[\\/]* ) # Absolute path.
! 10557: ac_srcdir=$srcdir$ac_dir_suffix;
! 10558: ac_top_srcdir=$srcdir ;;
! 10559: *) # Relative path.
! 10560: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 10561: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 10562: esac
! 10563:
! 10564: # Do not use `cd foo && pwd` to compute absolute paths, because
! 10565: # the directories may not exist.
! 10566: case `pwd` in
! 10567: .) ac_abs_builddir="$ac_dir";;
! 10568: *)
! 10569: case "$ac_dir" in
! 10570: .) ac_abs_builddir=`pwd`;;
! 10571: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 10572: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 10573: esac;;
! 10574: esac
! 10575: case $ac_abs_builddir in
! 10576: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 10577: *)
! 10578: case ${ac_top_builddir}. in
! 10579: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 10580: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 10581: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 10582: esac;;
! 10583: esac
! 10584: case $ac_abs_builddir in
! 10585: .) ac_abs_srcdir=$ac_srcdir;;
! 10586: *)
! 10587: case $ac_srcdir in
! 10588: .) ac_abs_srcdir=$ac_abs_builddir;;
! 10589: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 10590: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 10591: esac;;
! 10592: esac
! 10593: case $ac_abs_builddir in
! 10594: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 10595: *)
! 10596: case $ac_top_srcdir in
! 10597: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 10598: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 10599: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 10600: esac;;
! 10601: esac
! 10602:
! 10603:
! 10604: cd $ac_dir
! 10605:
! 10606: # Check for guested configure; otherwise get Cygnus style configure.
! 10607: if test -f $ac_srcdir/configure.gnu; then
! 10608: ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
! 10609: elif test -f $ac_srcdir/configure; then
! 10610: ac_sub_configure="$SHELL '$ac_srcdir/configure'"
! 10611: elif test -f $ac_srcdir/configure.in; then
! 10612: ac_sub_configure=$ac_configure
! 10613: else
! 10614: { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
! 10615: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
! 10616: ac_sub_configure=
! 10617: fi
! 10618:
! 10619: # The recursion is here.
! 10620: if test -n "$ac_sub_configure"; then
! 10621: # Make the cache file name correct relative to the subdirectory.
! 10622: case $cache_file in
! 10623: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
! 10624: *) # Relative path.
! 10625: ac_sub_cache_file=$ac_top_builddir$cache_file ;;
! 10626: esac
! 10627:
! 10628: { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
! 10629: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
! 10630: # The eval makes quoting arguments work.
! 10631: eval $ac_sub_configure $ac_sub_configure_args \
! 10632: --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
! 10633: { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
! 10634: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
! 10635: { (exit 1); exit 1; }; }
! 10636: fi
! 10637:
! 10638: cd $ac_popdir
! 10639: done
! 10640: fi
! 10641:
E-mail: