Annotation of OpenXM/src/ox_ntl/configure, Revision 1.1
1.1 ! iwane 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.53.
! 4: #
! 5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 6: # Free Software Foundation, Inc.
! 7: # This configure script is free software; the Free Software Foundation
! 8: # gives unlimited permission to copy, distribute and modify it.
! 9:
! 10: if expr a : '\(a\)' >/dev/null 2>&1; then
! 11: as_expr=expr
! 12: else
! 13: as_expr=false
! 14: fi
! 15:
! 16:
! 17: ## --------------------- ##
! 18: ## M4sh Initialization. ##
! 19: ## --------------------- ##
! 20:
! 21: # Be Bourne compatible
! 22: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 23: emulate sh
! 24: NULLCMD=:
! 25: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 26: set -o posix
! 27: fi
! 28:
! 29: # NLS nuisances.
! 30: # Support unset when possible.
! 31: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 32: as_unset=unset
! 33: else
! 34: as_unset=false
! 35: fi
! 36:
! 37: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
! 38: { $as_unset LANG || test "${LANG+set}" != set; } ||
! 39: { LANG=C; export LANG; }
! 40: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
! 41: { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
! 42: { LC_ALL=C; export LC_ALL; }
! 43: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
! 44: { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
! 45: { LC_TIME=C; export LC_TIME; }
! 46: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
! 47: { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
! 48: { LC_CTYPE=C; export LC_CTYPE; }
! 49: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
! 50: { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
! 51: { LANGUAGE=C; export LANGUAGE; }
! 52: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
! 53: { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
! 54: { LC_COLLATE=C; export LC_COLLATE; }
! 55: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
! 56: { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
! 57: { LC_NUMERIC=C; export LC_NUMERIC; }
! 58: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
! 59: { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
! 60: { LC_MESSAGES=C; export LC_MESSAGES; }
! 61:
! 62:
! 63: # Name of the executable.
! 64: as_me=`(basename "$0") 2>/dev/null ||
! 65: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 66: X"$0" : 'X\(//\)$' \| \
! 67: X"$0" : 'X\(/\)$' \| \
! 68: . : '\(.\)' 2>/dev/null ||
! 69: echo X/"$0" |
! 70: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 71: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 72: /^X\/\(\/\).*/{ s//\1/; q; }
! 73: s/.*/./; q'`
! 74:
! 75: # PATH needs CR, and LINENO needs CR and PATH.
! 76: # Avoid depending upon Character Ranges.
! 77: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 78: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 79: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 80: as_cr_digits='0123456789'
! 81: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 82:
! 83: # The user is always right.
! 84: if test "${PATH_SEPARATOR+set}" != set; then
! 85: echo "#! /bin/sh" >conftest.sh
! 86: echo "exit 0" >>conftest.sh
! 87: chmod +x conftest.sh
! 88: if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
! 89: PATH_SEPARATOR=';'
! 90: else
! 91: PATH_SEPARATOR=:
! 92: fi
! 93: rm -f conftest.sh
! 94: fi
! 95:
! 96:
! 97: as_lineno_1=$LINENO
! 98: as_lineno_2=$LINENO
! 99: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 100: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 101: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 102: # Find who we are. Look in the path if we contain no path at all
! 103: # relative or not.
! 104: case $0 in
! 105: *[\\/]* ) as_myself=$0 ;;
! 106: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 107: for as_dir in $PATH
! 108: do
! 109: IFS=$as_save_IFS
! 110: test -z "$as_dir" && as_dir=.
! 111: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 112: done
! 113:
! 114: ;;
! 115: esac
! 116: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 117: # in which case we are not to be found in the path.
! 118: if test "x$as_myself" = x; then
! 119: as_myself=$0
! 120: fi
! 121: if test ! -f "$as_myself"; then
! 122: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
! 123: { (exit 1); exit 1; }; }
! 124: fi
! 125: case $CONFIG_SHELL in
! 126: '')
! 127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 128: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 129: do
! 130: IFS=$as_save_IFS
! 131: test -z "$as_dir" && as_dir=.
! 132: for as_base in sh bash ksh sh5; do
! 133: case $as_dir in
! 134: /*)
! 135: if ("$as_dir/$as_base" -c '
! 136: as_lineno_1=$LINENO
! 137: as_lineno_2=$LINENO
! 138: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 139: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 140: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 141: CONFIG_SHELL=$as_dir/$as_base
! 142: export CONFIG_SHELL
! 143: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 144: fi;;
! 145: esac
! 146: done
! 147: done
! 148: ;;
! 149: esac
! 150:
! 151: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 152: # uniformly replaced by the line number. The first 'sed' inserts a
! 153: # line-number line before each line; the second 'sed' does the real
! 154: # work. The second script uses 'N' to pair each line-number line
! 155: # with the numbered line, and appends trailing '-' during
! 156: # substitution so that $LINENO is not a special case at line end.
! 157: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 158: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 159: sed '=' <$as_myself |
! 160: sed '
! 161: N
! 162: s,$,-,
! 163: : loop
! 164: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 165: t loop
! 166: s,-$,,
! 167: s,^['$as_cr_digits']*\n,,
! 168: ' >$as_me.lineno &&
! 169: chmod +x $as_me.lineno ||
! 170: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 171: { (exit 1); exit 1; }; }
! 172:
! 173: # Don't try to exec as it changes $[0], causing all sort of problems
! 174: # (the dirname of $[0] is not the place where we might find the
! 175: # original and so on. Autoconf is especially sensible to this).
! 176: . ./$as_me.lineno
! 177: # Exit status is that of the last command.
! 178: exit
! 179: }
! 180:
! 181:
! 182: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 183: *c*,-n*) ECHO_N= ECHO_C='
! 184: ' ECHO_T=' ' ;;
! 185: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 186: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 187: esac
! 188:
! 189: if expr a : '\(a\)' >/dev/null 2>&1; then
! 190: as_expr=expr
! 191: else
! 192: as_expr=false
! 193: fi
! 194:
! 195: rm -f conf$$ conf$$.exe conf$$.file
! 196: echo >conf$$.file
! 197: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 198: # We could just check for DJGPP; but this test a) works b) is more generic
! 199: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 200: if test -f conf$$.exe; then
! 201: # Don't use ln at all; we don't have any links
! 202: as_ln_s='cp -p'
! 203: else
! 204: as_ln_s='ln -s'
! 205: fi
! 206: elif ln conf$$.file conf$$ 2>/dev/null; then
! 207: as_ln_s=ln
! 208: else
! 209: as_ln_s='cp -p'
! 210: fi
! 211: rm -f conf$$ conf$$.exe conf$$.file
! 212:
! 213: as_executable_p="test -f"
! 214:
! 215: # Sed expression to map a string onto a valid CPP name.
! 216: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 217:
! 218: # Sed expression to map a string onto a valid variable name.
! 219: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 220:
! 221:
! 222: # IFS
! 223: # We need space, tab and new line, in precisely that order.
! 224: as_nl='
! 225: '
! 226: IFS=" $as_nl"
! 227:
! 228: # CDPATH.
! 229: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
! 230:
! 231:
! 232: # Name of the host.
! 233: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 234: # so uname gets run too.
! 235: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 236:
! 237: exec 6>&1
! 238:
! 239: #
! 240: # Initializations.
! 241: #
! 242: ac_default_prefix=/usr/local
! 243: cross_compiling=no
! 244: subdirs=
! 245: MFLAGS=
! 246: MAKEFLAGS=
! 247: SHELL=${CONFIG_SHELL-/bin/sh}
! 248:
! 249: # Maximum number of lines to put in a shell here document.
! 250: # This variable seems obsolete. It should probably be removed, and
! 251: # only ac_max_sed_lines should be used.
! 252: : ${ac_max_here_lines=38}
! 253:
! 254: # Identity of this package.
! 255: PACKAGE_NAME=
! 256: PACKAGE_TARNAME=
! 257: PACKAGE_VERSION=
! 258: PACKAGE_STRING=
! 259: PACKAGE_BUGREPORT=
! 260:
! 261: ac_unique_file="main.cpp"
! 262:
! 263: # Initialize some variables set by options.
! 264: ac_init_help=
! 265: ac_init_version=false
! 266: # The variables have the same names as the options, with
! 267: # dashes changed to underlines.
! 268: cache_file=/dev/null
! 269: exec_prefix=NONE
! 270: no_create=
! 271: no_recursion=
! 272: prefix=NONE
! 273: program_prefix=NONE
! 274: program_suffix=NONE
! 275: program_transform_name=s,x,x,
! 276: silent=
! 277: site=
! 278: srcdir=
! 279: verbose=
! 280: x_includes=NONE
! 281: x_libraries=NONE
! 282:
! 283: # Installation directory options.
! 284: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 285: # and all the variables that are supposed to be based on exec_prefix
! 286: # by default will actually change.
! 287: # Use braces instead of parens because sh, perl, etc. also accept them.
! 288: bindir='${exec_prefix}/bin'
! 289: sbindir='${exec_prefix}/sbin'
! 290: libexecdir='${exec_prefix}/libexec'
! 291: datadir='${prefix}/share'
! 292: sysconfdir='${prefix}/etc'
! 293: sharedstatedir='${prefix}/com'
! 294: localstatedir='${prefix}/var'
! 295: libdir='${exec_prefix}/lib'
! 296: includedir='${prefix}/include'
! 297: oldincludedir='/usr/include'
! 298: infodir='${prefix}/info'
! 299: mandir='${prefix}/man'
! 300:
! 301: ac_prev=
! 302: for ac_option
! 303: do
! 304: # If the previous option needs an argument, assign it.
! 305: if test -n "$ac_prev"; then
! 306: eval "$ac_prev=\$ac_option"
! 307: ac_prev=
! 308: continue
! 309: fi
! 310:
! 311: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
! 312:
! 313: # Accept the important Cygnus configure options, so we can diagnose typos.
! 314:
! 315: case $ac_option in
! 316:
! 317: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 318: ac_prev=bindir ;;
! 319: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 320: bindir=$ac_optarg ;;
! 321:
! 322: -build | --build | --buil | --bui | --bu)
! 323: ac_prev=build_alias ;;
! 324: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 325: build_alias=$ac_optarg ;;
! 326:
! 327: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 328: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 329: ac_prev=cache_file ;;
! 330: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 331: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 332: cache_file=$ac_optarg ;;
! 333:
! 334: --config-cache | -C)
! 335: cache_file=config.cache ;;
! 336:
! 337: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 338: ac_prev=datadir ;;
! 339: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 340: | --da=*)
! 341: datadir=$ac_optarg ;;
! 342:
! 343: -disable-* | --disable-*)
! 344: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 345: # Reject names that are not valid shell variable names.
! 346: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 347: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 348: { (exit 1); exit 1; }; }
! 349: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 350: eval "enable_$ac_feature=no" ;;
! 351:
! 352: -enable-* | --enable-*)
! 353: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 354: # Reject names that are not valid shell variable names.
! 355: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 356: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 357: { (exit 1); exit 1; }; }
! 358: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 359: case $ac_option in
! 360: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 361: *) ac_optarg=yes ;;
! 362: esac
! 363: eval "enable_$ac_feature='$ac_optarg'" ;;
! 364:
! 365: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 366: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 367: | --exec | --exe | --ex)
! 368: ac_prev=exec_prefix ;;
! 369: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 370: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 371: | --exec=* | --exe=* | --ex=*)
! 372: exec_prefix=$ac_optarg ;;
! 373:
! 374: -gas | --gas | --ga | --g)
! 375: # Obsolete; use --with-gas.
! 376: with_gas=yes ;;
! 377:
! 378: -help | --help | --hel | --he | -h)
! 379: ac_init_help=long ;;
! 380: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 381: ac_init_help=recursive ;;
! 382: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 383: ac_init_help=short ;;
! 384:
! 385: -host | --host | --hos | --ho)
! 386: ac_prev=host_alias ;;
! 387: -host=* | --host=* | --hos=* | --ho=*)
! 388: host_alias=$ac_optarg ;;
! 389:
! 390: -includedir | --includedir | --includedi | --included | --include \
! 391: | --includ | --inclu | --incl | --inc)
! 392: ac_prev=includedir ;;
! 393: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 394: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 395: includedir=$ac_optarg ;;
! 396:
! 397: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 398: ac_prev=infodir ;;
! 399: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 400: infodir=$ac_optarg ;;
! 401:
! 402: -libdir | --libdir | --libdi | --libd)
! 403: ac_prev=libdir ;;
! 404: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 405: libdir=$ac_optarg ;;
! 406:
! 407: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 408: | --libexe | --libex | --libe)
! 409: ac_prev=libexecdir ;;
! 410: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 411: | --libexe=* | --libex=* | --libe=*)
! 412: libexecdir=$ac_optarg ;;
! 413:
! 414: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 415: | --localstate | --localstat | --localsta | --localst \
! 416: | --locals | --local | --loca | --loc | --lo)
! 417: ac_prev=localstatedir ;;
! 418: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 419: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 420: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 421: localstatedir=$ac_optarg ;;
! 422:
! 423: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 424: ac_prev=mandir ;;
! 425: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 426: mandir=$ac_optarg ;;
! 427:
! 428: -nfp | --nfp | --nf)
! 429: # Obsolete; use --without-fp.
! 430: with_fp=no ;;
! 431:
! 432: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 433: | --no-cr | --no-c | -n)
! 434: no_create=yes ;;
! 435:
! 436: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 437: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 438: no_recursion=yes ;;
! 439:
! 440: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 441: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 442: | --oldin | --oldi | --old | --ol | --o)
! 443: ac_prev=oldincludedir ;;
! 444: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 445: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 446: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 447: oldincludedir=$ac_optarg ;;
! 448:
! 449: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 450: ac_prev=prefix ;;
! 451: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 452: prefix=$ac_optarg ;;
! 453:
! 454: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 455: | --program-pre | --program-pr | --program-p)
! 456: ac_prev=program_prefix ;;
! 457: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 458: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 459: program_prefix=$ac_optarg ;;
! 460:
! 461: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 462: | --program-suf | --program-su | --program-s)
! 463: ac_prev=program_suffix ;;
! 464: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 465: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 466: program_suffix=$ac_optarg ;;
! 467:
! 468: -program-transform-name | --program-transform-name \
! 469: | --program-transform-nam | --program-transform-na \
! 470: | --program-transform-n | --program-transform- \
! 471: | --program-transform | --program-transfor \
! 472: | --program-transfo | --program-transf \
! 473: | --program-trans | --program-tran \
! 474: | --progr-tra | --program-tr | --program-t)
! 475: ac_prev=program_transform_name ;;
! 476: -program-transform-name=* | --program-transform-name=* \
! 477: | --program-transform-nam=* | --program-transform-na=* \
! 478: | --program-transform-n=* | --program-transform-=* \
! 479: | --program-transform=* | --program-transfor=* \
! 480: | --program-transfo=* | --program-transf=* \
! 481: | --program-trans=* | --program-tran=* \
! 482: | --progr-tra=* | --program-tr=* | --program-t=*)
! 483: program_transform_name=$ac_optarg ;;
! 484:
! 485: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 486: | -silent | --silent | --silen | --sile | --sil)
! 487: silent=yes ;;
! 488:
! 489: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 490: ac_prev=sbindir ;;
! 491: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 492: | --sbi=* | --sb=*)
! 493: sbindir=$ac_optarg ;;
! 494:
! 495: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 496: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 497: | --sharedst | --shareds | --shared | --share | --shar \
! 498: | --sha | --sh)
! 499: ac_prev=sharedstatedir ;;
! 500: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 501: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 502: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 503: | --sha=* | --sh=*)
! 504: sharedstatedir=$ac_optarg ;;
! 505:
! 506: -site | --site | --sit)
! 507: ac_prev=site ;;
! 508: -site=* | --site=* | --sit=*)
! 509: site=$ac_optarg ;;
! 510:
! 511: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 512: ac_prev=srcdir ;;
! 513: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 514: srcdir=$ac_optarg ;;
! 515:
! 516: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 517: | --syscon | --sysco | --sysc | --sys | --sy)
! 518: ac_prev=sysconfdir ;;
! 519: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 520: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 521: sysconfdir=$ac_optarg ;;
! 522:
! 523: -target | --target | --targe | --targ | --tar | --ta | --t)
! 524: ac_prev=target_alias ;;
! 525: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 526: target_alias=$ac_optarg ;;
! 527:
! 528: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 529: verbose=yes ;;
! 530:
! 531: -version | --version | --versio | --versi | --vers | -V)
! 532: ac_init_version=: ;;
! 533:
! 534: -with-* | --with-*)
! 535: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 536: # Reject names that are not valid shell variable names.
! 537: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 538: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 539: { (exit 1); exit 1; }; }
! 540: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 541: case $ac_option in
! 542: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 543: *) ac_optarg=yes ;;
! 544: esac
! 545: eval "with_$ac_package='$ac_optarg'" ;;
! 546:
! 547: -without-* | --without-*)
! 548: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 549: # Reject names that are not valid shell variable names.
! 550: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 551: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 552: { (exit 1); exit 1; }; }
! 553: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 554: eval "with_$ac_package=no" ;;
! 555:
! 556: --x)
! 557: # Obsolete; use --with-x.
! 558: with_x=yes ;;
! 559:
! 560: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 561: | --x-incl | --x-inc | --x-in | --x-i)
! 562: ac_prev=x_includes ;;
! 563: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 564: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 565: x_includes=$ac_optarg ;;
! 566:
! 567: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 568: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 569: ac_prev=x_libraries ;;
! 570: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 571: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 572: x_libraries=$ac_optarg ;;
! 573:
! 574: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 575: Try \`$0 --help' for more information." >&2
! 576: { (exit 1); exit 1; }; }
! 577: ;;
! 578:
! 579: *=*)
! 580: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 581: # Reject names that are not valid shell variable names.
! 582: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 583: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 584: { (exit 1); exit 1; }; }
! 585: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 586: eval "$ac_envvar='$ac_optarg'"
! 587: export $ac_envvar ;;
! 588:
! 589: *)
! 590: # FIXME: should be removed in autoconf 3.0.
! 591: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 592: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 593: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 594: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 595: ;;
! 596:
! 597: esac
! 598: done
! 599:
! 600: if test -n "$ac_prev"; then
! 601: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 602: { echo "$as_me: error: missing argument to $ac_option" >&2
! 603: { (exit 1); exit 1; }; }
! 604: fi
! 605:
! 606: # Be sure to have absolute paths.
! 607: for ac_var in exec_prefix prefix
! 608: do
! 609: eval ac_val=$`echo $ac_var`
! 610: case $ac_val in
! 611: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 612: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 613: { (exit 1); exit 1; }; };;
! 614: esac
! 615: done
! 616:
! 617: # Be sure to have absolute paths.
! 618: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 619: localstatedir libdir includedir oldincludedir infodir mandir
! 620: do
! 621: eval ac_val=$`echo $ac_var`
! 622: case $ac_val in
! 623: [\\/$]* | ?:[\\/]* ) ;;
! 624: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 625: { (exit 1); exit 1; }; };;
! 626: esac
! 627: done
! 628:
! 629: # There might be people who depend on the old broken behavior: `$host'
! 630: # used to hold the argument of --host etc.
! 631: # FIXME: To remove some day.
! 632: build=$build_alias
! 633: host=$host_alias
! 634: target=$target_alias
! 635:
! 636: # FIXME: To remove some day.
! 637: if test "x$host_alias" != x; then
! 638: if test "x$build_alias" = x; then
! 639: cross_compiling=maybe
! 640: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 641: If a cross compiler is detected then cross compile mode will be used." >&2
! 642: elif test "x$build_alias" != "x$host_alias"; then
! 643: cross_compiling=yes
! 644: fi
! 645: fi
! 646:
! 647: ac_tool_prefix=
! 648: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 649:
! 650: test "$silent" = yes && exec 6>/dev/null
! 651:
! 652:
! 653: # Find the source files, if location was not specified.
! 654: if test -z "$srcdir"; then
! 655: ac_srcdir_defaulted=yes
! 656: # Try the directory containing this script, then its parent.
! 657: ac_confdir=`(dirname "$0") 2>/dev/null ||
! 658: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 659: X"$0" : 'X\(//\)[^/]' \| \
! 660: X"$0" : 'X\(//\)$' \| \
! 661: X"$0" : 'X\(/\)' \| \
! 662: . : '\(.\)' 2>/dev/null ||
! 663: echo X"$0" |
! 664: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 665: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 666: /^X\(\/\/\)$/{ s//\1/; q; }
! 667: /^X\(\/\).*/{ s//\1/; q; }
! 668: s/.*/./; q'`
! 669: srcdir=$ac_confdir
! 670: if test ! -r $srcdir/$ac_unique_file; then
! 671: srcdir=..
! 672: fi
! 673: else
! 674: ac_srcdir_defaulted=no
! 675: fi
! 676: if test ! -r $srcdir/$ac_unique_file; then
! 677: if test "$ac_srcdir_defaulted" = yes; then
! 678: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 679: { (exit 1); exit 1; }; }
! 680: else
! 681: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 682: { (exit 1); exit 1; }; }
! 683: fi
! 684: fi
! 685: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 686: ac_env_build_alias_set=${build_alias+set}
! 687: ac_env_build_alias_value=$build_alias
! 688: ac_cv_env_build_alias_set=${build_alias+set}
! 689: ac_cv_env_build_alias_value=$build_alias
! 690: ac_env_host_alias_set=${host_alias+set}
! 691: ac_env_host_alias_value=$host_alias
! 692: ac_cv_env_host_alias_set=${host_alias+set}
! 693: ac_cv_env_host_alias_value=$host_alias
! 694: ac_env_target_alias_set=${target_alias+set}
! 695: ac_env_target_alias_value=$target_alias
! 696: ac_cv_env_target_alias_set=${target_alias+set}
! 697: ac_cv_env_target_alias_value=$target_alias
! 698: ac_env_CC_set=${CC+set}
! 699: ac_env_CC_value=$CC
! 700: ac_cv_env_CC_set=${CC+set}
! 701: ac_cv_env_CC_value=$CC
! 702: ac_env_CFLAGS_set=${CFLAGS+set}
! 703: ac_env_CFLAGS_value=$CFLAGS
! 704: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 705: ac_cv_env_CFLAGS_value=$CFLAGS
! 706: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 707: ac_env_LDFLAGS_value=$LDFLAGS
! 708: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 709: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 710: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 711: ac_env_CPPFLAGS_value=$CPPFLAGS
! 712: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 713: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 714: ac_env_CXX_set=${CXX+set}
! 715: ac_env_CXX_value=$CXX
! 716: ac_cv_env_CXX_set=${CXX+set}
! 717: ac_cv_env_CXX_value=$CXX
! 718: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
! 719: ac_env_CXXFLAGS_value=$CXXFLAGS
! 720: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
! 721: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
! 722: ac_env_CPP_set=${CPP+set}
! 723: ac_env_CPP_value=$CPP
! 724: ac_cv_env_CPP_set=${CPP+set}
! 725: ac_cv_env_CPP_value=$CPP
! 726:
! 727: #
! 728: # Report the --help message.
! 729: #
! 730: if test "$ac_init_help" = "long"; then
! 731: # Omit some internal or obsolete options to make the list less imposing.
! 732: # This message is too long to be a string in the A/UX 3.1 sh.
! 733: cat <<_ACEOF
! 734: \`configure' configures this package to adapt to many kinds of systems.
! 735:
! 736: Usage: $0 [OPTION]... [VAR=VALUE]...
! 737:
! 738: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 739: VAR=VALUE. See below for descriptions of some of the useful variables.
! 740:
! 741: Defaults for the options are specified in brackets.
! 742:
! 743: Configuration:
! 744: -h, --help display this help and exit
! 745: --help=short display options specific to this package
! 746: --help=recursive display the short help of all the included packages
! 747: -V, --version display version information and exit
! 748: -q, --quiet, --silent do not print \`checking...' messages
! 749: --cache-file=FILE cache test results in FILE [disabled]
! 750: -C, --config-cache alias for \`--cache-file=config.cache'
! 751: -n, --no-create do not create output files
! 752: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 753:
! 754: _ACEOF
! 755:
! 756: cat <<_ACEOF
! 757: Installation directories:
! 758: --prefix=PREFIX install architecture-independent files in PREFIX
! 759: [$ac_default_prefix]
! 760: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 761: [PREFIX]
! 762:
! 763: By default, \`make install' will install all the files in
! 764: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 765: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 766: for instance \`--prefix=\$HOME'.
! 767:
! 768: For better control, use the options below.
! 769:
! 770: Fine tuning of the installation directories:
! 771: --bindir=DIR user executables [EPREFIX/bin]
! 772: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 773: --libexecdir=DIR program executables [EPREFIX/libexec]
! 774: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 775: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 776: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 777: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 778: --libdir=DIR object code libraries [EPREFIX/lib]
! 779: --includedir=DIR C header files [PREFIX/include]
! 780: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 781: --infodir=DIR info documentation [PREFIX/info]
! 782: --mandir=DIR man documentation [PREFIX/man]
! 783: _ACEOF
! 784:
! 785: cat <<\_ACEOF
! 786: _ACEOF
! 787: fi
! 788:
! 789: if test -n "$ac_init_help"; then
! 790:
! 791: cat <<\_ACEOF
! 792:
! 793: Optional Features:
! 794: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 795: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 796: --enable-debug Build a debugging version
! 797:
! 798: Some influential environment variables:
! 799: CC C compiler command
! 800: CFLAGS C compiler flags
! 801: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 802: nonstandard directory <lib dir>
! 803: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 804: headers in a nonstandard directory <include dir>
! 805: CXX C++ compiler command
! 806: CXXFLAGS C++ compiler flags
! 807: CPP C preprocessor
! 808:
! 809: Use these variables to override the choices made by `configure' or to help
! 810: it to find libraries and programs with nonstandard names/locations.
! 811:
! 812: _ACEOF
! 813: fi
! 814:
! 815: if test "$ac_init_help" = "recursive"; then
! 816: # If there are subdirs, report their specific --help.
! 817: ac_popdir=`pwd`
! 818: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 819: test -d $ac_dir || continue
! 820: ac_builddir=.
! 821:
! 822: if test "$ac_dir" != .; then
! 823: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 824: # A "../" for each directory in $ac_dir_suffix.
! 825: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 826: else
! 827: ac_dir_suffix= ac_top_builddir=
! 828: fi
! 829:
! 830: case $srcdir in
! 831: .) # No --srcdir option. We are building in place.
! 832: ac_srcdir=.
! 833: if test -z "$ac_top_builddir"; then
! 834: ac_top_srcdir=.
! 835: else
! 836: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 837: fi ;;
! 838: [\\/]* | ?:[\\/]* ) # Absolute path.
! 839: ac_srcdir=$srcdir$ac_dir_suffix;
! 840: ac_top_srcdir=$srcdir ;;
! 841: *) # Relative path.
! 842: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 843: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 844: esac
! 845: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 846: # absolute.
! 847: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 848: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! 849: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 850: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 851:
! 852: cd $ac_dir
! 853: # Check for guested configure; otherwise get Cygnus style configure.
! 854: if test -f $ac_srcdir/configure.gnu; then
! 855: echo
! 856: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 857: elif test -f $ac_srcdir/configure; then
! 858: echo
! 859: $SHELL $ac_srcdir/configure --help=recursive
! 860: elif test -f $ac_srcdir/configure.ac ||
! 861: test -f $ac_srcdir/configure.in; then
! 862: echo
! 863: $ac_configure --help
! 864: else
! 865: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 866: fi
! 867: cd $ac_popdir
! 868: done
! 869: fi
! 870:
! 871: test -n "$ac_init_help" && exit 0
! 872: if $ac_init_version; then
! 873: cat <<\_ACEOF
! 874:
! 875: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 876: Free Software Foundation, Inc.
! 877: This configure script is free software; the Free Software Foundation
! 878: gives unlimited permission to copy, distribute and modify it.
! 879: _ACEOF
! 880: exit 0
! 881: fi
! 882: exec 5>config.log
! 883: cat >&5 <<_ACEOF
! 884: This file contains any messages produced by compilers while
! 885: running configure, to aid debugging if configure makes a mistake.
! 886:
! 887: It was created by $as_me, which was
! 888: generated by GNU Autoconf 2.53. Invocation command line was
! 889:
! 890: $ $0 $@
! 891:
! 892: _ACEOF
! 893: {
! 894: cat <<_ASUNAME
! 895: ## --------- ##
! 896: ## Platform. ##
! 897: ## --------- ##
! 898:
! 899: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 900: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 901: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 902: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 903: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 904:
! 905: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 906: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 907:
! 908: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 909: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 910: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 911: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 912: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 913: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 914: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 915:
! 916: _ASUNAME
! 917:
! 918: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 919: for as_dir in $PATH
! 920: do
! 921: IFS=$as_save_IFS
! 922: test -z "$as_dir" && as_dir=.
! 923: echo "PATH: $as_dir"
! 924: done
! 925:
! 926: } >&5
! 927:
! 928: cat >&5 <<_ACEOF
! 929:
! 930:
! 931: ## ----------- ##
! 932: ## Core tests. ##
! 933: ## ----------- ##
! 934:
! 935: _ACEOF
! 936:
! 937:
! 938: # Keep a trace of the command line.
! 939: # Strip out --no-create and --no-recursion so they do not pile up.
! 940: # Also quote any args containing shell meta-characters.
! 941: ac_configure_args=
! 942: ac_sep=
! 943: for ac_arg
! 944: do
! 945: case $ac_arg in
! 946: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 947: | --no-cr | --no-c | -n ) continue ;;
! 948: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 949: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 950: continue ;;
! 951: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 952: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 953: esac
! 954: case " $ac_configure_args " in
! 955: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 956: *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 957: ac_sep=" " ;;
! 958: esac
! 959: # Get rid of the leading space.
! 960: done
! 961:
! 962: # When interrupted or exit'd, cleanup temporary files, and complete
! 963: # config.log. We remove comments because anyway the quotes in there
! 964: # would cause problems or look ugly.
! 965: # WARNING: Be sure not to use single quotes in there, as some shells,
! 966: # such as our DU 5.0 friend, will then `close' the trap.
! 967: trap 'exit_status=$?
! 968: # Save into config.log some information that might help in debugging.
! 969: {
! 970: echo
! 971: cat <<\_ASBOX
! 972: ## ---------------- ##
! 973: ## Cache variables. ##
! 974: ## ---------------- ##
! 975: _ASBOX
! 976: echo
! 977: # The following way of writing the cache mishandles newlines in values,
! 978: {
! 979: (set) 2>&1 |
! 980: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 981: *ac_space=\ *)
! 982: sed -n \
! 983: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 984: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 985: ;;
! 986: *)
! 987: sed -n \
! 988: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 989: ;;
! 990: esac;
! 991: }
! 992: echo
! 993: if test -s confdefs.h; then
! 994: cat <<\_ASBOX
! 995: ## ----------- ##
! 996: ## confdefs.h. ##
! 997: ## ----------- ##
! 998: _ASBOX
! 999: echo
! 1000: sed "/^$/d" confdefs.h
! 1001: echo
! 1002: fi
! 1003: test "$ac_signal" != 0 &&
! 1004: echo "$as_me: caught signal $ac_signal"
! 1005: echo "$as_me: exit $exit_status"
! 1006: } >&5
! 1007: rm -f core core.* *.core &&
! 1008: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1009: exit $exit_status
! 1010: ' 0
! 1011: for ac_signal in 1 2 13 15; do
! 1012: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1013: done
! 1014: ac_signal=0
! 1015:
! 1016: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1017: rm -rf conftest* confdefs.h
! 1018: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1019: echo >confdefs.h
! 1020:
! 1021: # Predefined preprocessor variables.
! 1022:
! 1023: cat >>confdefs.h <<_ACEOF
! 1024: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1025: _ACEOF
! 1026:
! 1027:
! 1028: cat >>confdefs.h <<_ACEOF
! 1029: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1030: _ACEOF
! 1031:
! 1032:
! 1033: cat >>confdefs.h <<_ACEOF
! 1034: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1035: _ACEOF
! 1036:
! 1037:
! 1038: cat >>confdefs.h <<_ACEOF
! 1039: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1040: _ACEOF
! 1041:
! 1042:
! 1043: cat >>confdefs.h <<_ACEOF
! 1044: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1045: _ACEOF
! 1046:
! 1047:
! 1048: # Let the site file select an alternate cache file if it wants to.
! 1049: # Prefer explicitly selected file to automatically selected ones.
! 1050: if test -z "$CONFIG_SITE"; then
! 1051: if test "x$prefix" != xNONE; then
! 1052: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 1053: else
! 1054: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 1055: fi
! 1056: fi
! 1057: for ac_site_file in $CONFIG_SITE; do
! 1058: if test -r "$ac_site_file"; then
! 1059: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1060: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1061: sed 's/^/| /' "$ac_site_file" >&5
! 1062: . "$ac_site_file"
! 1063: fi
! 1064: done
! 1065:
! 1066: if test -r "$cache_file"; then
! 1067: # Some versions of bash will fail to source /dev/null (special
! 1068: # files actually), so we avoid doing that.
! 1069: if test -f "$cache_file"; then
! 1070: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1071: echo "$as_me: loading cache $cache_file" >&6;}
! 1072: case $cache_file in
! 1073: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1074: *) . ./$cache_file;;
! 1075: esac
! 1076: fi
! 1077: else
! 1078: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1079: echo "$as_me: creating cache $cache_file" >&6;}
! 1080: >$cache_file
! 1081: fi
! 1082:
! 1083: # Check that the precious variables saved in the cache have kept the same
! 1084: # value.
! 1085: ac_cache_corrupted=false
! 1086: for ac_var in `(set) 2>&1 |
! 1087: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1088: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1089: eval ac_new_set=\$ac_env_${ac_var}_set
! 1090: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1091: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1092: case $ac_old_set,$ac_new_set in
! 1093: set,)
! 1094: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1095: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1096: ac_cache_corrupted=: ;;
! 1097: ,set)
! 1098: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1099: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1100: ac_cache_corrupted=: ;;
! 1101: ,);;
! 1102: *)
! 1103: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1104: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1105: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1106: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1107: echo "$as_me: former value: $ac_old_val" >&2;}
! 1108: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1109: echo "$as_me: current value: $ac_new_val" >&2;}
! 1110: ac_cache_corrupted=:
! 1111: fi;;
! 1112: esac
! 1113: # Pass precious variables to config.status.
! 1114: if test "$ac_new_set" = set; then
! 1115: case $ac_new_val in
! 1116: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1117: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1118: *) ac_arg=$ac_var=$ac_new_val ;;
! 1119: esac
! 1120: case " $ac_configure_args " in
! 1121: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1122: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1123: esac
! 1124: fi
! 1125: done
! 1126: if $ac_cache_corrupted; then
! 1127: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1128: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1129: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1130: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1131: { (exit 1); exit 1; }; }
! 1132: fi
! 1133:
! 1134: ac_ext=c
! 1135: ac_cpp='$CPP $CPPFLAGS'
! 1136: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1137: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1138: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1139:
! 1140:
! 1141:
! 1142:
! 1143:
! 1144:
! 1145:
! 1146:
! 1147:
! 1148:
! 1149:
! 1150:
! 1151:
! 1152:
! 1153:
! 1154:
! 1155:
! 1156:
! 1157: ac_config_headers="$ac_config_headers config.h"
! 1158:
! 1159:
! 1160:
! 1161:
! 1162:
! 1163:
! 1164:
! 1165: echo "$as_me:$LINENO: checking if --enable-debug option secified" >&5
! 1166: echo $ECHO_N "checking if --enable-debug option secified... $ECHO_C" >&6
! 1167: # Check whether --enable-debug or --disable-debug was given.
! 1168: if test "${enable_debug+set}" = set; then
! 1169: enableval="$enable_debug"
! 1170:
! 1171: echo "$as_me:$LINENO: result: yes" >&5
! 1172: echo "${ECHO_T}yes" >&6
! 1173:
! 1174: cat >>confdefs.h <<\_ACEOF
! 1175: #define DEBUG 1
! 1176: _ACEOF
! 1177:
! 1178: OPTFLAG=${OPTFLAG-"-g"}
! 1179:
! 1180: else
! 1181:
! 1182: echo "$as_me:$LINENO: result: no" >&5
! 1183: echo "${ECHO_T}no" >&6
! 1184:
! 1185: fi;
! 1186:
! 1187:
! 1188:
! 1189: ac_ext=c
! 1190: ac_cpp='$CPP $CPPFLAGS'
! 1191: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1192: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1193: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1194: if test -n "$ac_tool_prefix"; then
! 1195: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1196: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1197: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1198: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1199: if test "${ac_cv_prog_CC+set}" = set; then
! 1200: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1201: else
! 1202: if test -n "$CC"; then
! 1203: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1204: else
! 1205: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1206: for as_dir in $PATH
! 1207: do
! 1208: IFS=$as_save_IFS
! 1209: test -z "$as_dir" && as_dir=.
! 1210: for ac_exec_ext in '' $ac_executable_extensions; do
! 1211: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1212: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1213: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1214: break 2
! 1215: fi
! 1216: done
! 1217: done
! 1218:
! 1219: fi
! 1220: fi
! 1221: CC=$ac_cv_prog_CC
! 1222: if test -n "$CC"; then
! 1223: echo "$as_me:$LINENO: result: $CC" >&5
! 1224: echo "${ECHO_T}$CC" >&6
! 1225: else
! 1226: echo "$as_me:$LINENO: result: no" >&5
! 1227: echo "${ECHO_T}no" >&6
! 1228: fi
! 1229:
! 1230: fi
! 1231: if test -z "$ac_cv_prog_CC"; then
! 1232: ac_ct_CC=$CC
! 1233: # Extract the first word of "gcc", so it can be a program name with args.
! 1234: set dummy gcc; ac_word=$2
! 1235: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1236: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1237: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1238: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1239: else
! 1240: if test -n "$ac_ct_CC"; then
! 1241: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1242: else
! 1243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1244: for as_dir in $PATH
! 1245: do
! 1246: IFS=$as_save_IFS
! 1247: test -z "$as_dir" && as_dir=.
! 1248: for ac_exec_ext in '' $ac_executable_extensions; do
! 1249: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1250: ac_cv_prog_ac_ct_CC="gcc"
! 1251: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1252: break 2
! 1253: fi
! 1254: done
! 1255: done
! 1256:
! 1257: fi
! 1258: fi
! 1259: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1260: if test -n "$ac_ct_CC"; then
! 1261: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1262: echo "${ECHO_T}$ac_ct_CC" >&6
! 1263: else
! 1264: echo "$as_me:$LINENO: result: no" >&5
! 1265: echo "${ECHO_T}no" >&6
! 1266: fi
! 1267:
! 1268: CC=$ac_ct_CC
! 1269: else
! 1270: CC="$ac_cv_prog_CC"
! 1271: fi
! 1272:
! 1273: if test -z "$CC"; then
! 1274: if test -n "$ac_tool_prefix"; then
! 1275: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1276: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1277: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1278: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1279: if test "${ac_cv_prog_CC+set}" = set; then
! 1280: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1281: else
! 1282: if test -n "$CC"; then
! 1283: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1284: else
! 1285: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1286: for as_dir in $PATH
! 1287: do
! 1288: IFS=$as_save_IFS
! 1289: test -z "$as_dir" && as_dir=.
! 1290: for ac_exec_ext in '' $ac_executable_extensions; do
! 1291: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1292: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1293: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1294: break 2
! 1295: fi
! 1296: done
! 1297: done
! 1298:
! 1299: fi
! 1300: fi
! 1301: CC=$ac_cv_prog_CC
! 1302: if test -n "$CC"; then
! 1303: echo "$as_me:$LINENO: result: $CC" >&5
! 1304: echo "${ECHO_T}$CC" >&6
! 1305: else
! 1306: echo "$as_me:$LINENO: result: no" >&5
! 1307: echo "${ECHO_T}no" >&6
! 1308: fi
! 1309:
! 1310: fi
! 1311: if test -z "$ac_cv_prog_CC"; then
! 1312: ac_ct_CC=$CC
! 1313: # Extract the first word of "cc", so it can be a program name with args.
! 1314: set dummy cc; ac_word=$2
! 1315: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1316: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1317: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1318: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1319: else
! 1320: if test -n "$ac_ct_CC"; then
! 1321: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1322: else
! 1323: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1324: for as_dir in $PATH
! 1325: do
! 1326: IFS=$as_save_IFS
! 1327: test -z "$as_dir" && as_dir=.
! 1328: for ac_exec_ext in '' $ac_executable_extensions; do
! 1329: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1330: ac_cv_prog_ac_ct_CC="cc"
! 1331: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1332: break 2
! 1333: fi
! 1334: done
! 1335: done
! 1336:
! 1337: fi
! 1338: fi
! 1339: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1340: if test -n "$ac_ct_CC"; then
! 1341: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1342: echo "${ECHO_T}$ac_ct_CC" >&6
! 1343: else
! 1344: echo "$as_me:$LINENO: result: no" >&5
! 1345: echo "${ECHO_T}no" >&6
! 1346: fi
! 1347:
! 1348: CC=$ac_ct_CC
! 1349: else
! 1350: CC="$ac_cv_prog_CC"
! 1351: fi
! 1352:
! 1353: fi
! 1354: if test -z "$CC"; then
! 1355: # Extract the first word of "cc", so it can be a program name with args.
! 1356: set dummy cc; ac_word=$2
! 1357: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1358: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1359: if test "${ac_cv_prog_CC+set}" = set; then
! 1360: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1361: else
! 1362: if test -n "$CC"; then
! 1363: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1364: else
! 1365: ac_prog_rejected=no
! 1366: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1367: for as_dir in $PATH
! 1368: do
! 1369: IFS=$as_save_IFS
! 1370: test -z "$as_dir" && as_dir=.
! 1371: for ac_exec_ext in '' $ac_executable_extensions; do
! 1372: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1373: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 1374: ac_prog_rejected=yes
! 1375: continue
! 1376: fi
! 1377: ac_cv_prog_CC="cc"
! 1378: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1379: break 2
! 1380: fi
! 1381: done
! 1382: done
! 1383:
! 1384: if test $ac_prog_rejected = yes; then
! 1385: # We found a bogon in the path, so make sure we never use it.
! 1386: set dummy $ac_cv_prog_CC
! 1387: shift
! 1388: if test $# != 0; then
! 1389: # We chose a different compiler from the bogus one.
! 1390: # However, it has the same basename, so the bogon will be chosen
! 1391: # first if we set CC to just the basename; use the full file name.
! 1392: shift
! 1393: set dummy "$as_dir/$ac_word" ${1+"$@"}
! 1394: shift
! 1395: ac_cv_prog_CC="$@"
! 1396: fi
! 1397: fi
! 1398: fi
! 1399: fi
! 1400: CC=$ac_cv_prog_CC
! 1401: if test -n "$CC"; then
! 1402: echo "$as_me:$LINENO: result: $CC" >&5
! 1403: echo "${ECHO_T}$CC" >&6
! 1404: else
! 1405: echo "$as_me:$LINENO: result: no" >&5
! 1406: echo "${ECHO_T}no" >&6
! 1407: fi
! 1408:
! 1409: fi
! 1410: if test -z "$CC"; then
! 1411: if test -n "$ac_tool_prefix"; then
! 1412: for ac_prog in cl
! 1413: do
! 1414: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1415: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1416: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1417: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1418: if test "${ac_cv_prog_CC+set}" = set; then
! 1419: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1420: else
! 1421: if test -n "$CC"; then
! 1422: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1423: else
! 1424: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1425: for as_dir in $PATH
! 1426: do
! 1427: IFS=$as_save_IFS
! 1428: test -z "$as_dir" && as_dir=.
! 1429: for ac_exec_ext in '' $ac_executable_extensions; do
! 1430: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1431: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 1432: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1433: break 2
! 1434: fi
! 1435: done
! 1436: done
! 1437:
! 1438: fi
! 1439: fi
! 1440: CC=$ac_cv_prog_CC
! 1441: if test -n "$CC"; then
! 1442: echo "$as_me:$LINENO: result: $CC" >&5
! 1443: echo "${ECHO_T}$CC" >&6
! 1444: else
! 1445: echo "$as_me:$LINENO: result: no" >&5
! 1446: echo "${ECHO_T}no" >&6
! 1447: fi
! 1448:
! 1449: test -n "$CC" && break
! 1450: done
! 1451: fi
! 1452: if test -z "$CC"; then
! 1453: ac_ct_CC=$CC
! 1454: for ac_prog in cl
! 1455: do
! 1456: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1457: set dummy $ac_prog; ac_word=$2
! 1458: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1459: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1460: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1461: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1462: else
! 1463: if test -n "$ac_ct_CC"; then
! 1464: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1465: else
! 1466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1467: for as_dir in $PATH
! 1468: do
! 1469: IFS=$as_save_IFS
! 1470: test -z "$as_dir" && as_dir=.
! 1471: for ac_exec_ext in '' $ac_executable_extensions; do
! 1472: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1473: ac_cv_prog_ac_ct_CC="$ac_prog"
! 1474: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1475: break 2
! 1476: fi
! 1477: done
! 1478: done
! 1479:
! 1480: fi
! 1481: fi
! 1482: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1483: if test -n "$ac_ct_CC"; then
! 1484: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1485: echo "${ECHO_T}$ac_ct_CC" >&6
! 1486: else
! 1487: echo "$as_me:$LINENO: result: no" >&5
! 1488: echo "${ECHO_T}no" >&6
! 1489: fi
! 1490:
! 1491: test -n "$ac_ct_CC" && break
! 1492: done
! 1493:
! 1494: CC=$ac_ct_CC
! 1495: fi
! 1496:
! 1497: fi
! 1498:
! 1499:
! 1500: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
! 1501: echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
! 1502: { (exit 1); exit 1; }; }
! 1503:
! 1504: # Provide some information about the compiler.
! 1505: echo "$as_me:$LINENO:" \
! 1506: "checking for C compiler version" >&5
! 1507: ac_compiler=`set X $ac_compile; echo $2`
! 1508: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 1509: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 1510: ac_status=$?
! 1511: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1512: (exit $ac_status); }
! 1513: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 1514: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 1515: ac_status=$?
! 1516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1517: (exit $ac_status); }
! 1518: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 1519: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 1520: ac_status=$?
! 1521: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1522: (exit $ac_status); }
! 1523:
! 1524: cat >conftest.$ac_ext <<_ACEOF
! 1525: #line $LINENO "configure"
! 1526: #include "confdefs.h"
! 1527:
! 1528: #ifdef F77_DUMMY_MAIN
! 1529: # ifdef __cplusplus
! 1530: extern "C"
! 1531: # endif
! 1532: int F77_DUMMY_MAIN() { return 1; }
! 1533: #endif
! 1534: int
! 1535: main ()
! 1536: {
! 1537:
! 1538: ;
! 1539: return 0;
! 1540: }
! 1541: _ACEOF
! 1542: ac_clean_files_save=$ac_clean_files
! 1543: ac_clean_files="$ac_clean_files a.out a.exe"
! 1544: # Try to create an executable without -o first, disregard a.out.
! 1545: # It will help us diagnose broken compilers, and finding out an intuition
! 1546: # of exeext.
! 1547: echo "$as_me:$LINENO: checking for C compiler default output" >&5
! 1548: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
! 1549: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 1550: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 1551: (eval $ac_link_default) 2>&5
! 1552: ac_status=$?
! 1553: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1554: (exit $ac_status); }; then
! 1555: # Find the output, starting from the most likely. This scheme is
! 1556: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 1557: # resort.
! 1558:
! 1559: # Be careful to initialize this variable, since it used to be cached.
! 1560: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 1561: ac_cv_exeext=
! 1562: for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
! 1563: ls a.out conftest 2>/dev/null;
! 1564: ls a.* conftest.* 2>/dev/null`; do
! 1565: case $ac_file in
! 1566: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
! 1567: a.out ) # We found the default executable, but exeext='' is most
! 1568: # certainly right.
! 1569: break;;
! 1570: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 1571: # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
! 1572: export ac_cv_exeext
! 1573: break;;
! 1574: * ) break;;
! 1575: esac
! 1576: done
! 1577: else
! 1578: echo "$as_me: failed program was:" >&5
! 1579: cat conftest.$ac_ext >&5
! 1580: { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
! 1581: echo "$as_me: error: C compiler cannot create executables" >&2;}
! 1582: { (exit 77); exit 77; }; }
! 1583: fi
! 1584:
! 1585: ac_exeext=$ac_cv_exeext
! 1586: echo "$as_me:$LINENO: result: $ac_file" >&5
! 1587: echo "${ECHO_T}$ac_file" >&6
! 1588:
! 1589: # Check the compiler produces executables we can run. If not, either
! 1590: # the compiler is broken, or we cross compile.
! 1591: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 1592: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 1593: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 1594: # If not cross compiling, check that we can run a simple program.
! 1595: if test "$cross_compiling" != yes; then
! 1596: if { ac_try='./$ac_file'
! 1597: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1598: (eval $ac_try) 2>&5
! 1599: ac_status=$?
! 1600: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1601: (exit $ac_status); }; }; then
! 1602: cross_compiling=no
! 1603: else
! 1604: if test "$cross_compiling" = maybe; then
! 1605: cross_compiling=yes
! 1606: else
! 1607: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 1608: If you meant to cross compile, use \`--host'." >&5
! 1609: echo "$as_me: error: cannot run C compiled programs.
! 1610: If you meant to cross compile, use \`--host'." >&2;}
! 1611: { (exit 1); exit 1; }; }
! 1612: fi
! 1613: fi
! 1614: fi
! 1615: echo "$as_me:$LINENO: result: yes" >&5
! 1616: echo "${ECHO_T}yes" >&6
! 1617:
! 1618: rm -f a.out a.exe conftest$ac_cv_exeext
! 1619: ac_clean_files=$ac_clean_files_save
! 1620: # Check the compiler produces executables we can run. If not, either
! 1621: # the compiler is broken, or we cross compile.
! 1622: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 1623: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 1624: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 1625: echo "${ECHO_T}$cross_compiling" >&6
! 1626:
! 1627: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 1628: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 1629: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 1630: (eval $ac_link) 2>&5
! 1631: ac_status=$?
! 1632: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1633: (exit $ac_status); }; then
! 1634: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 1635: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 1636: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 1637: # `rm'.
! 1638: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
! 1639: case $ac_file in
! 1640: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
! 1641: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 1642: export ac_cv_exeext
! 1643: break;;
! 1644: * ) break;;
! 1645: esac
! 1646: done
! 1647: else
! 1648: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
! 1649: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
! 1650: { (exit 1); exit 1; }; }
! 1651: fi
! 1652:
! 1653: rm -f conftest$ac_cv_exeext
! 1654: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 1655: echo "${ECHO_T}$ac_cv_exeext" >&6
! 1656:
! 1657: rm -f conftest.$ac_ext
! 1658: EXEEXT=$ac_cv_exeext
! 1659: ac_exeext=$EXEEXT
! 1660: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 1661: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 1662: if test "${ac_cv_objext+set}" = set; then
! 1663: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1664: else
! 1665: cat >conftest.$ac_ext <<_ACEOF
! 1666: #line $LINENO "configure"
! 1667: #include "confdefs.h"
! 1668:
! 1669: #ifdef F77_DUMMY_MAIN
! 1670: # ifdef __cplusplus
! 1671: extern "C"
! 1672: # endif
! 1673: int F77_DUMMY_MAIN() { return 1; }
! 1674: #endif
! 1675: int
! 1676: main ()
! 1677: {
! 1678:
! 1679: ;
! 1680: return 0;
! 1681: }
! 1682: _ACEOF
! 1683: rm -f conftest.o conftest.obj
! 1684: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1685: (eval $ac_compile) 2>&5
! 1686: ac_status=$?
! 1687: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1688: (exit $ac_status); }; then
! 1689: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 1690: case $ac_file in
! 1691: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
! 1692: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 1693: break;;
! 1694: esac
! 1695: done
! 1696: else
! 1697: echo "$as_me: failed program was:" >&5
! 1698: cat conftest.$ac_ext >&5
! 1699: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
! 1700: echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
! 1701: { (exit 1); exit 1; }; }
! 1702: fi
! 1703:
! 1704: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 1705: fi
! 1706: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 1707: echo "${ECHO_T}$ac_cv_objext" >&6
! 1708: OBJEXT=$ac_cv_objext
! 1709: ac_objext=$OBJEXT
! 1710: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 1711: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 1712: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 1713: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1714: else
! 1715: cat >conftest.$ac_ext <<_ACEOF
! 1716: #line $LINENO "configure"
! 1717: #include "confdefs.h"
! 1718:
! 1719: #ifdef F77_DUMMY_MAIN
! 1720: # ifdef __cplusplus
! 1721: extern "C"
! 1722: # endif
! 1723: int F77_DUMMY_MAIN() { return 1; }
! 1724: #endif
! 1725: int
! 1726: main ()
! 1727: {
! 1728: #ifndef __GNUC__
! 1729: choke me
! 1730: #endif
! 1731:
! 1732: ;
! 1733: return 0;
! 1734: }
! 1735: _ACEOF
! 1736: rm -f conftest.$ac_objext
! 1737: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1738: (eval $ac_compile) 2>&5
! 1739: ac_status=$?
! 1740: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1741: (exit $ac_status); } &&
! 1742: { ac_try='test -s conftest.$ac_objext'
! 1743: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1744: (eval $ac_try) 2>&5
! 1745: ac_status=$?
! 1746: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1747: (exit $ac_status); }; }; then
! 1748: ac_compiler_gnu=yes
! 1749: else
! 1750: echo "$as_me: failed program was:" >&5
! 1751: cat conftest.$ac_ext >&5
! 1752: ac_compiler_gnu=no
! 1753: fi
! 1754: rm -f conftest.$ac_objext conftest.$ac_ext
! 1755: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 1756:
! 1757: fi
! 1758: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 1759: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 1760: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 1761: ac_test_CFLAGS=${CFLAGS+set}
! 1762: ac_save_CFLAGS=$CFLAGS
! 1763: CFLAGS="-g"
! 1764: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 1765: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 1766: if test "${ac_cv_prog_cc_g+set}" = set; then
! 1767: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1768: else
! 1769: cat >conftest.$ac_ext <<_ACEOF
! 1770: #line $LINENO "configure"
! 1771: #include "confdefs.h"
! 1772:
! 1773: #ifdef F77_DUMMY_MAIN
! 1774: # ifdef __cplusplus
! 1775: extern "C"
! 1776: # endif
! 1777: int F77_DUMMY_MAIN() { return 1; }
! 1778: #endif
! 1779: int
! 1780: main ()
! 1781: {
! 1782:
! 1783: ;
! 1784: return 0;
! 1785: }
! 1786: _ACEOF
! 1787: rm -f conftest.$ac_objext
! 1788: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1789: (eval $ac_compile) 2>&5
! 1790: ac_status=$?
! 1791: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1792: (exit $ac_status); } &&
! 1793: { ac_try='test -s conftest.$ac_objext'
! 1794: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1795: (eval $ac_try) 2>&5
! 1796: ac_status=$?
! 1797: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1798: (exit $ac_status); }; }; then
! 1799: ac_cv_prog_cc_g=yes
! 1800: else
! 1801: echo "$as_me: failed program was:" >&5
! 1802: cat conftest.$ac_ext >&5
! 1803: ac_cv_prog_cc_g=no
! 1804: fi
! 1805: rm -f conftest.$ac_objext conftest.$ac_ext
! 1806: fi
! 1807: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 1808: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
! 1809: if test "$ac_test_CFLAGS" = set; then
! 1810: CFLAGS=$ac_save_CFLAGS
! 1811: elif test $ac_cv_prog_cc_g = yes; then
! 1812: if test "$GCC" = yes; then
! 1813: CFLAGS="-g -O2"
! 1814: else
! 1815: CFLAGS="-g"
! 1816: fi
! 1817: else
! 1818: if test "$GCC" = yes; then
! 1819: CFLAGS="-O2"
! 1820: else
! 1821: CFLAGS=
! 1822: fi
! 1823: fi
! 1824: # Some people use a C++ compiler to compile C. Since we use `exit',
! 1825: # in C++ we need to declare it. In case someone uses the same compiler
! 1826: # for both compiling C and C++ we need to have the C++ compiler decide
! 1827: # the declaration of exit, since it's the most demanding environment.
! 1828: cat >conftest.$ac_ext <<_ACEOF
! 1829: #ifndef __cplusplus
! 1830: choke me
! 1831: #endif
! 1832: _ACEOF
! 1833: rm -f conftest.$ac_objext
! 1834: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1835: (eval $ac_compile) 2>&5
! 1836: ac_status=$?
! 1837: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1838: (exit $ac_status); } &&
! 1839: { ac_try='test -s conftest.$ac_objext'
! 1840: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1841: (eval $ac_try) 2>&5
! 1842: ac_status=$?
! 1843: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1844: (exit $ac_status); }; }; then
! 1845: for ac_declaration in \
! 1846: ''\
! 1847: '#include <stdlib.h>' \
! 1848: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 1849: 'extern "C" void std::exit (int); using std::exit;' \
! 1850: 'extern "C" void exit (int) throw ();' \
! 1851: 'extern "C" void exit (int);' \
! 1852: 'void exit (int);'
! 1853: do
! 1854: cat >conftest.$ac_ext <<_ACEOF
! 1855: #line $LINENO "configure"
! 1856: #include "confdefs.h"
! 1857: #include <stdlib.h>
! 1858: $ac_declaration
! 1859: #ifdef F77_DUMMY_MAIN
! 1860: # ifdef __cplusplus
! 1861: extern "C"
! 1862: # endif
! 1863: int F77_DUMMY_MAIN() { return 1; }
! 1864: #endif
! 1865: int
! 1866: main ()
! 1867: {
! 1868: exit (42);
! 1869: ;
! 1870: return 0;
! 1871: }
! 1872: _ACEOF
! 1873: rm -f conftest.$ac_objext
! 1874: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1875: (eval $ac_compile) 2>&5
! 1876: ac_status=$?
! 1877: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1878: (exit $ac_status); } &&
! 1879: { ac_try='test -s conftest.$ac_objext'
! 1880: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1881: (eval $ac_try) 2>&5
! 1882: ac_status=$?
! 1883: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1884: (exit $ac_status); }; }; then
! 1885: :
! 1886: else
! 1887: echo "$as_me: failed program was:" >&5
! 1888: cat conftest.$ac_ext >&5
! 1889: continue
! 1890: fi
! 1891: rm -f conftest.$ac_objext conftest.$ac_ext
! 1892: cat >conftest.$ac_ext <<_ACEOF
! 1893: #line $LINENO "configure"
! 1894: #include "confdefs.h"
! 1895: $ac_declaration
! 1896: #ifdef F77_DUMMY_MAIN
! 1897: # ifdef __cplusplus
! 1898: extern "C"
! 1899: # endif
! 1900: int F77_DUMMY_MAIN() { return 1; }
! 1901: #endif
! 1902: int
! 1903: main ()
! 1904: {
! 1905: exit (42);
! 1906: ;
! 1907: return 0;
! 1908: }
! 1909: _ACEOF
! 1910: rm -f conftest.$ac_objext
! 1911: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1912: (eval $ac_compile) 2>&5
! 1913: ac_status=$?
! 1914: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1915: (exit $ac_status); } &&
! 1916: { ac_try='test -s conftest.$ac_objext'
! 1917: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1918: (eval $ac_try) 2>&5
! 1919: ac_status=$?
! 1920: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1921: (exit $ac_status); }; }; then
! 1922: break
! 1923: else
! 1924: echo "$as_me: failed program was:" >&5
! 1925: cat conftest.$ac_ext >&5
! 1926: fi
! 1927: rm -f conftest.$ac_objext conftest.$ac_ext
! 1928: done
! 1929: rm -f conftest*
! 1930: if test -n "$ac_declaration"; then
! 1931: echo '#ifdef __cplusplus' >>confdefs.h
! 1932: echo $ac_declaration >>confdefs.h
! 1933: echo '#endif' >>confdefs.h
! 1934: fi
! 1935:
! 1936: else
! 1937: echo "$as_me: failed program was:" >&5
! 1938: cat conftest.$ac_ext >&5
! 1939: fi
! 1940: rm -f conftest.$ac_objext conftest.$ac_ext
! 1941: ac_ext=c
! 1942: ac_cpp='$CPP $CPPFLAGS'
! 1943: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1944: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1945: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1946:
! 1947: ac_ext=cc
! 1948: ac_cpp='$CXXCPP $CPPFLAGS'
! 1949: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1950: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1951: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
! 1952: if test -n "$ac_tool_prefix"; then
! 1953: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 1954: do
! 1955: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1956: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1957: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1958: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1959: if test "${ac_cv_prog_CXX+set}" = set; then
! 1960: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1961: else
! 1962: if test -n "$CXX"; then
! 1963: ac_cv_prog_CXX="$CXX" # Let the user override the test.
! 1964: else
! 1965: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1966: for as_dir in $PATH
! 1967: do
! 1968: IFS=$as_save_IFS
! 1969: test -z "$as_dir" && as_dir=.
! 1970: for ac_exec_ext in '' $ac_executable_extensions; do
! 1971: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1972: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
! 1973: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1974: break 2
! 1975: fi
! 1976: done
! 1977: done
! 1978:
! 1979: fi
! 1980: fi
! 1981: CXX=$ac_cv_prog_CXX
! 1982: if test -n "$CXX"; then
! 1983: echo "$as_me:$LINENO: result: $CXX" >&5
! 1984: echo "${ECHO_T}$CXX" >&6
! 1985: else
! 1986: echo "$as_me:$LINENO: result: no" >&5
! 1987: echo "${ECHO_T}no" >&6
! 1988: fi
! 1989:
! 1990: test -n "$CXX" && break
! 1991: done
! 1992: fi
! 1993: if test -z "$CXX"; then
! 1994: ac_ct_CXX=$CXX
! 1995: for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
! 1996: do
! 1997: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1998: set dummy $ac_prog; ac_word=$2
! 1999: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2000: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2001: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
! 2002: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2003: else
! 2004: if test -n "$ac_ct_CXX"; then
! 2005: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
! 2006: else
! 2007: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2008: for as_dir in $PATH
! 2009: do
! 2010: IFS=$as_save_IFS
! 2011: test -z "$as_dir" && as_dir=.
! 2012: for ac_exec_ext in '' $ac_executable_extensions; do
! 2013: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2014: ac_cv_prog_ac_ct_CXX="$ac_prog"
! 2015: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2016: break 2
! 2017: fi
! 2018: done
! 2019: done
! 2020:
! 2021: fi
! 2022: fi
! 2023: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
! 2024: if test -n "$ac_ct_CXX"; then
! 2025: echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
! 2026: echo "${ECHO_T}$ac_ct_CXX" >&6
! 2027: else
! 2028: echo "$as_me:$LINENO: result: no" >&5
! 2029: echo "${ECHO_T}no" >&6
! 2030: fi
! 2031:
! 2032: test -n "$ac_ct_CXX" && break
! 2033: done
! 2034: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
! 2035:
! 2036: CXX=$ac_ct_CXX
! 2037: fi
! 2038:
! 2039:
! 2040: # Provide some information about the compiler.
! 2041: echo "$as_me:$LINENO:" \
! 2042: "checking for C++ compiler version" >&5
! 2043: ac_compiler=`set X $ac_compile; echo $2`
! 2044: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 2045: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 2046: ac_status=$?
! 2047: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2048: (exit $ac_status); }
! 2049: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 2050: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 2051: ac_status=$?
! 2052: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2053: (exit $ac_status); }
! 2054: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 2055: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 2056: ac_status=$?
! 2057: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2058: (exit $ac_status); }
! 2059:
! 2060: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
! 2061: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
! 2062: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
! 2063: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2064: else
! 2065: cat >conftest.$ac_ext <<_ACEOF
! 2066: #line $LINENO "configure"
! 2067: #include "confdefs.h"
! 2068:
! 2069: #ifdef F77_DUMMY_MAIN
! 2070: # ifdef __cplusplus
! 2071: extern "C"
! 2072: # endif
! 2073: int F77_DUMMY_MAIN() { return 1; }
! 2074: #endif
! 2075: int
! 2076: main ()
! 2077: {
! 2078: #ifndef __GNUC__
! 2079: choke me
! 2080: #endif
! 2081:
! 2082: ;
! 2083: return 0;
! 2084: }
! 2085: _ACEOF
! 2086: rm -f conftest.$ac_objext
! 2087: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2088: (eval $ac_compile) 2>&5
! 2089: ac_status=$?
! 2090: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2091: (exit $ac_status); } &&
! 2092: { ac_try='test -s conftest.$ac_objext'
! 2093: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2094: (eval $ac_try) 2>&5
! 2095: ac_status=$?
! 2096: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2097: (exit $ac_status); }; }; then
! 2098: ac_compiler_gnu=yes
! 2099: else
! 2100: echo "$as_me: failed program was:" >&5
! 2101: cat conftest.$ac_ext >&5
! 2102: ac_compiler_gnu=no
! 2103: fi
! 2104: rm -f conftest.$ac_objext conftest.$ac_ext
! 2105: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
! 2106:
! 2107: fi
! 2108: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
! 2109: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
! 2110: GXX=`test $ac_compiler_gnu = yes && echo yes`
! 2111: ac_test_CXXFLAGS=${CXXFLAGS+set}
! 2112: ac_save_CXXFLAGS=$CXXFLAGS
! 2113: CXXFLAGS="-g"
! 2114: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
! 2115: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
! 2116: if test "${ac_cv_prog_cxx_g+set}" = set; then
! 2117: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2118: else
! 2119: cat >conftest.$ac_ext <<_ACEOF
! 2120: #line $LINENO "configure"
! 2121: #include "confdefs.h"
! 2122:
! 2123: #ifdef F77_DUMMY_MAIN
! 2124: # ifdef __cplusplus
! 2125: extern "C"
! 2126: # endif
! 2127: int F77_DUMMY_MAIN() { return 1; }
! 2128: #endif
! 2129: int
! 2130: main ()
! 2131: {
! 2132:
! 2133: ;
! 2134: return 0;
! 2135: }
! 2136: _ACEOF
! 2137: rm -f conftest.$ac_objext
! 2138: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2139: (eval $ac_compile) 2>&5
! 2140: ac_status=$?
! 2141: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2142: (exit $ac_status); } &&
! 2143: { ac_try='test -s conftest.$ac_objext'
! 2144: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2145: (eval $ac_try) 2>&5
! 2146: ac_status=$?
! 2147: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2148: (exit $ac_status); }; }; then
! 2149: ac_cv_prog_cxx_g=yes
! 2150: else
! 2151: echo "$as_me: failed program was:" >&5
! 2152: cat conftest.$ac_ext >&5
! 2153: ac_cv_prog_cxx_g=no
! 2154: fi
! 2155: rm -f conftest.$ac_objext conftest.$ac_ext
! 2156: fi
! 2157: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
! 2158: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
! 2159: if test "$ac_test_CXXFLAGS" = set; then
! 2160: CXXFLAGS=$ac_save_CXXFLAGS
! 2161: elif test $ac_cv_prog_cxx_g = yes; then
! 2162: if test "$GXX" = yes; then
! 2163: CXXFLAGS="-g -O2"
! 2164: else
! 2165: CXXFLAGS="-g"
! 2166: fi
! 2167: else
! 2168: if test "$GXX" = yes; then
! 2169: CXXFLAGS="-O2"
! 2170: else
! 2171: CXXFLAGS=
! 2172: fi
! 2173: fi
! 2174: for ac_declaration in \
! 2175: ''\
! 2176: '#include <stdlib.h>' \
! 2177: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2178: 'extern "C" void std::exit (int); using std::exit;' \
! 2179: 'extern "C" void exit (int) throw ();' \
! 2180: 'extern "C" void exit (int);' \
! 2181: 'void exit (int);'
! 2182: do
! 2183: cat >conftest.$ac_ext <<_ACEOF
! 2184: #line $LINENO "configure"
! 2185: #include "confdefs.h"
! 2186: #include <stdlib.h>
! 2187: $ac_declaration
! 2188: #ifdef F77_DUMMY_MAIN
! 2189: # ifdef __cplusplus
! 2190: extern "C"
! 2191: # endif
! 2192: int F77_DUMMY_MAIN() { return 1; }
! 2193: #endif
! 2194: int
! 2195: main ()
! 2196: {
! 2197: exit (42);
! 2198: ;
! 2199: return 0;
! 2200: }
! 2201: _ACEOF
! 2202: rm -f conftest.$ac_objext
! 2203: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2204: (eval $ac_compile) 2>&5
! 2205: ac_status=$?
! 2206: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2207: (exit $ac_status); } &&
! 2208: { ac_try='test -s conftest.$ac_objext'
! 2209: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2210: (eval $ac_try) 2>&5
! 2211: ac_status=$?
! 2212: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2213: (exit $ac_status); }; }; then
! 2214: :
! 2215: else
! 2216: echo "$as_me: failed program was:" >&5
! 2217: cat conftest.$ac_ext >&5
! 2218: continue
! 2219: fi
! 2220: rm -f conftest.$ac_objext conftest.$ac_ext
! 2221: cat >conftest.$ac_ext <<_ACEOF
! 2222: #line $LINENO "configure"
! 2223: #include "confdefs.h"
! 2224: $ac_declaration
! 2225: #ifdef F77_DUMMY_MAIN
! 2226: # ifdef __cplusplus
! 2227: extern "C"
! 2228: # endif
! 2229: int F77_DUMMY_MAIN() { return 1; }
! 2230: #endif
! 2231: int
! 2232: main ()
! 2233: {
! 2234: exit (42);
! 2235: ;
! 2236: return 0;
! 2237: }
! 2238: _ACEOF
! 2239: rm -f conftest.$ac_objext
! 2240: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2241: (eval $ac_compile) 2>&5
! 2242: ac_status=$?
! 2243: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2244: (exit $ac_status); } &&
! 2245: { ac_try='test -s conftest.$ac_objext'
! 2246: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2247: (eval $ac_try) 2>&5
! 2248: ac_status=$?
! 2249: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2250: (exit $ac_status); }; }; then
! 2251: break
! 2252: else
! 2253: echo "$as_me: failed program was:" >&5
! 2254: cat conftest.$ac_ext >&5
! 2255: fi
! 2256: rm -f conftest.$ac_objext conftest.$ac_ext
! 2257: done
! 2258: rm -f conftest*
! 2259: if test -n "$ac_declaration"; then
! 2260: echo '#ifdef __cplusplus' >>confdefs.h
! 2261: echo $ac_declaration >>confdefs.h
! 2262: echo '#endif' >>confdefs.h
! 2263: fi
! 2264:
! 2265: ac_ext=c
! 2266: ac_cpp='$CPP $CPPFLAGS'
! 2267: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2268: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2269: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2270:
! 2271: if test x$CC = xgcc; then
! 2272: CFLAGS="-Wall $CFLAGS"
! 2273: fi
! 2274: if test x$CXX = xg++; then
! 2275: CXXFLAGS="-Wall $CXXFLAGS"
! 2276: fi
! 2277:
! 2278:
! 2279:
! 2280:
! 2281:
! 2282:
! 2283: ac_ext=c
! 2284: ac_cpp='$CPP $CPPFLAGS'
! 2285: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2286: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2287: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2288: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 2289: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 2290: # On Suns, sometimes $CPP names a directory.
! 2291: if test -n "$CPP" && test -d "$CPP"; then
! 2292: CPP=
! 2293: fi
! 2294: if test -z "$CPP"; then
! 2295: if test "${ac_cv_prog_CPP+set}" = set; then
! 2296: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2297: else
! 2298: # Double quotes because CPP needs to be expanded
! 2299: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2300: do
! 2301: ac_preproc_ok=false
! 2302: for ac_c_preproc_warn_flag in '' yes
! 2303: do
! 2304: # Use a header file that comes with gcc, so configuring glibc
! 2305: # with a fresh cross-compiler works.
! 2306: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2307: # not just through cpp. "Syntax error" is here to catch this case.
! 2308: cat >conftest.$ac_ext <<_ACEOF
! 2309: #line $LINENO "configure"
! 2310: #include "confdefs.h"
! 2311: #include <assert.h>
! 2312: Syntax error
! 2313: _ACEOF
! 2314: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2315: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2316: ac_status=$?
! 2317: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2318: rm -f conftest.er1
! 2319: cat conftest.err >&5
! 2320: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2321: (exit $ac_status); } >/dev/null; then
! 2322: if test -s conftest.err; then
! 2323: ac_cpp_err=$ac_c_preproc_warn_flag
! 2324: else
! 2325: ac_cpp_err=
! 2326: fi
! 2327: else
! 2328: ac_cpp_err=yes
! 2329: fi
! 2330: if test -z "$ac_cpp_err"; then
! 2331: :
! 2332: else
! 2333: echo "$as_me: failed program was:" >&5
! 2334: cat conftest.$ac_ext >&5
! 2335: # Broken: fails on valid input.
! 2336: continue
! 2337: fi
! 2338: rm -f conftest.err conftest.$ac_ext
! 2339:
! 2340: # OK, works on sane cases. Now check whether non-existent headers
! 2341: # can be detected and how.
! 2342: cat >conftest.$ac_ext <<_ACEOF
! 2343: #line $LINENO "configure"
! 2344: #include "confdefs.h"
! 2345: #include <ac_nonexistent.h>
! 2346: _ACEOF
! 2347: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2348: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2349: ac_status=$?
! 2350: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2351: rm -f conftest.er1
! 2352: cat conftest.err >&5
! 2353: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2354: (exit $ac_status); } >/dev/null; then
! 2355: if test -s conftest.err; then
! 2356: ac_cpp_err=$ac_c_preproc_warn_flag
! 2357: else
! 2358: ac_cpp_err=
! 2359: fi
! 2360: else
! 2361: ac_cpp_err=yes
! 2362: fi
! 2363: if test -z "$ac_cpp_err"; then
! 2364: # Broken: success on invalid input.
! 2365: continue
! 2366: else
! 2367: echo "$as_me: failed program was:" >&5
! 2368: cat conftest.$ac_ext >&5
! 2369: # Passes both tests.
! 2370: ac_preproc_ok=:
! 2371: break
! 2372: fi
! 2373: rm -f conftest.err conftest.$ac_ext
! 2374:
! 2375: done
! 2376: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2377: rm -f conftest.err conftest.$ac_ext
! 2378: if $ac_preproc_ok; then
! 2379: break
! 2380: fi
! 2381:
! 2382: done
! 2383: ac_cv_prog_CPP=$CPP
! 2384:
! 2385: fi
! 2386: CPP=$ac_cv_prog_CPP
! 2387: else
! 2388: ac_cv_prog_CPP=$CPP
! 2389: fi
! 2390: echo "$as_me:$LINENO: result: $CPP" >&5
! 2391: echo "${ECHO_T}$CPP" >&6
! 2392: ac_preproc_ok=false
! 2393: for ac_c_preproc_warn_flag in '' yes
! 2394: do
! 2395: # Use a header file that comes with gcc, so configuring glibc
! 2396: # with a fresh cross-compiler works.
! 2397: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2398: # not just through cpp. "Syntax error" is here to catch this case.
! 2399: cat >conftest.$ac_ext <<_ACEOF
! 2400: #line $LINENO "configure"
! 2401: #include "confdefs.h"
! 2402: #include <assert.h>
! 2403: Syntax error
! 2404: _ACEOF
! 2405: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2406: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2407: ac_status=$?
! 2408: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2409: rm -f conftest.er1
! 2410: cat conftest.err >&5
! 2411: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2412: (exit $ac_status); } >/dev/null; then
! 2413: if test -s conftest.err; then
! 2414: ac_cpp_err=$ac_c_preproc_warn_flag
! 2415: else
! 2416: ac_cpp_err=
! 2417: fi
! 2418: else
! 2419: ac_cpp_err=yes
! 2420: fi
! 2421: if test -z "$ac_cpp_err"; then
! 2422: :
! 2423: else
! 2424: echo "$as_me: failed program was:" >&5
! 2425: cat conftest.$ac_ext >&5
! 2426: # Broken: fails on valid input.
! 2427: continue
! 2428: fi
! 2429: rm -f conftest.err conftest.$ac_ext
! 2430:
! 2431: # OK, works on sane cases. Now check whether non-existent headers
! 2432: # can be detected and how.
! 2433: cat >conftest.$ac_ext <<_ACEOF
! 2434: #line $LINENO "configure"
! 2435: #include "confdefs.h"
! 2436: #include <ac_nonexistent.h>
! 2437: _ACEOF
! 2438: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2439: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2440: ac_status=$?
! 2441: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2442: rm -f conftest.er1
! 2443: cat conftest.err >&5
! 2444: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2445: (exit $ac_status); } >/dev/null; then
! 2446: if test -s conftest.err; then
! 2447: ac_cpp_err=$ac_c_preproc_warn_flag
! 2448: else
! 2449: ac_cpp_err=
! 2450: fi
! 2451: else
! 2452: ac_cpp_err=yes
! 2453: fi
! 2454: if test -z "$ac_cpp_err"; then
! 2455: # Broken: success on invalid input.
! 2456: continue
! 2457: else
! 2458: echo "$as_me: failed program was:" >&5
! 2459: cat conftest.$ac_ext >&5
! 2460: # Passes both tests.
! 2461: ac_preproc_ok=:
! 2462: break
! 2463: fi
! 2464: rm -f conftest.err conftest.$ac_ext
! 2465:
! 2466: done
! 2467: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2468: rm -f conftest.err conftest.$ac_ext
! 2469: if $ac_preproc_ok; then
! 2470: :
! 2471: else
! 2472: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
! 2473: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
! 2474: { (exit 1); exit 1; }; }
! 2475: fi
! 2476:
! 2477: ac_ext=c
! 2478: ac_cpp='$CPP $CPPFLAGS'
! 2479: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2480: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2481: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2482:
! 2483:
! 2484: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 2485: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 2486: if test "${ac_cv_header_stdc+set}" = set; then
! 2487: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2488: else
! 2489: cat >conftest.$ac_ext <<_ACEOF
! 2490: #line $LINENO "configure"
! 2491: #include "confdefs.h"
! 2492: #include <stdlib.h>
! 2493: #include <stdarg.h>
! 2494: #include <string.h>
! 2495: #include <float.h>
! 2496:
! 2497: _ACEOF
! 2498: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2499: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2500: ac_status=$?
! 2501: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2502: rm -f conftest.er1
! 2503: cat conftest.err >&5
! 2504: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2505: (exit $ac_status); } >/dev/null; then
! 2506: if test -s conftest.err; then
! 2507: ac_cpp_err=$ac_c_preproc_warn_flag
! 2508: else
! 2509: ac_cpp_err=
! 2510: fi
! 2511: else
! 2512: ac_cpp_err=yes
! 2513: fi
! 2514: if test -z "$ac_cpp_err"; then
! 2515: ac_cv_header_stdc=yes
! 2516: else
! 2517: echo "$as_me: failed program was:" >&5
! 2518: cat conftest.$ac_ext >&5
! 2519: ac_cv_header_stdc=no
! 2520: fi
! 2521: rm -f conftest.err conftest.$ac_ext
! 2522:
! 2523: if test $ac_cv_header_stdc = yes; then
! 2524: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 2525: cat >conftest.$ac_ext <<_ACEOF
! 2526: #line $LINENO "configure"
! 2527: #include "confdefs.h"
! 2528: #include <string.h>
! 2529:
! 2530: _ACEOF
! 2531: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2532: egrep "memchr" >/dev/null 2>&1; then
! 2533: :
! 2534: else
! 2535: ac_cv_header_stdc=no
! 2536: fi
! 2537: rm -f conftest*
! 2538:
! 2539: fi
! 2540:
! 2541: if test $ac_cv_header_stdc = yes; then
! 2542: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 2543: cat >conftest.$ac_ext <<_ACEOF
! 2544: #line $LINENO "configure"
! 2545: #include "confdefs.h"
! 2546: #include <stdlib.h>
! 2547:
! 2548: _ACEOF
! 2549: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2550: egrep "free" >/dev/null 2>&1; then
! 2551: :
! 2552: else
! 2553: ac_cv_header_stdc=no
! 2554: fi
! 2555: rm -f conftest*
! 2556:
! 2557: fi
! 2558:
! 2559: if test $ac_cv_header_stdc = yes; then
! 2560: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 2561: if test "$cross_compiling" = yes; then
! 2562: :
! 2563: else
! 2564: cat >conftest.$ac_ext <<_ACEOF
! 2565: #line $LINENO "configure"
! 2566: #include "confdefs.h"
! 2567: #include <ctype.h>
! 2568: #if ((' ' & 0x0FF) == 0x020)
! 2569: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 2570: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 2571: #else
! 2572: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
! 2573: || ('j' <= (c) && (c) <= 'r') \
! 2574: || ('s' <= (c) && (c) <= 'z'))
! 2575: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 2576: #endif
! 2577:
! 2578: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 2579: int
! 2580: main ()
! 2581: {
! 2582: int i;
! 2583: for (i = 0; i < 256; i++)
! 2584: if (XOR (islower (i), ISLOWER (i))
! 2585: || toupper (i) != TOUPPER (i))
! 2586: exit(2);
! 2587: exit (0);
! 2588: }
! 2589: _ACEOF
! 2590: rm -f conftest$ac_exeext
! 2591: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2592: (eval $ac_link) 2>&5
! 2593: ac_status=$?
! 2594: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2595: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 2596: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2597: (eval $ac_try) 2>&5
! 2598: ac_status=$?
! 2599: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2600: (exit $ac_status); }; }; then
! 2601: :
! 2602: else
! 2603: echo "$as_me: program exited with status $ac_status" >&5
! 2604: echo "$as_me: failed program was:" >&5
! 2605: cat conftest.$ac_ext >&5
! 2606: ( exit $ac_status )
! 2607: ac_cv_header_stdc=no
! 2608: fi
! 2609: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 2610: fi
! 2611: fi
! 2612: fi
! 2613: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 2614: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 2615: if test $ac_cv_header_stdc = yes; then
! 2616:
! 2617: cat >>confdefs.h <<\_ACEOF
! 2618: #define STDC_HEADERS 1
! 2619: _ACEOF
! 2620:
! 2621: fi
! 2622:
! 2623:
! 2624:
! 2625: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 2626: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 2627: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 2628: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2629: else
! 2630: ac_cv_prog_cc_stdc=no
! 2631: ac_save_CC=$CC
! 2632: cat >conftest.$ac_ext <<_ACEOF
! 2633: #line $LINENO "configure"
! 2634: #include "confdefs.h"
! 2635: #include <stdarg.h>
! 2636: #include <stdio.h>
! 2637: #include <sys/types.h>
! 2638: #include <sys/stat.h>
! 2639: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2640: struct buf { int x; };
! 2641: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2642: static char *e (p, i)
! 2643: char **p;
! 2644: int i;
! 2645: {
! 2646: return p[i];
! 2647: }
! 2648: static char *f (char * (*g) (char **, int), char **p, ...)
! 2649: {
! 2650: char *s;
! 2651: va_list v;
! 2652: va_start (v,p);
! 2653: s = g (p, va_arg (v,int));
! 2654: va_end (v);
! 2655: return s;
! 2656: }
! 2657: int test (int i, double x);
! 2658: struct s1 {int (*f) (int a);};
! 2659: struct s2 {int (*f) (double a);};
! 2660: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2661: int argc;
! 2662: char **argv;
! 2663: #ifdef F77_DUMMY_MAIN
! 2664: # ifdef __cplusplus
! 2665: extern "C"
! 2666: # endif
! 2667: int F77_DUMMY_MAIN() { return 1; }
! 2668: #endif
! 2669: int
! 2670: main ()
! 2671: {
! 2672: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2673: ;
! 2674: return 0;
! 2675: }
! 2676: _ACEOF
! 2677: # Don't try gcc -ansi; that turns off useful extensions and
! 2678: # breaks some systems' header files.
! 2679: # AIX -qlanglvl=ansi
! 2680: # Ultrix and OSF/1 -std1
! 2681: # HP-UX 10.20 and later -Ae
! 2682: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 2683: # SVR4 -Xc -D__EXTENSIONS__
! 2684: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2685: do
! 2686: CC="$ac_save_CC $ac_arg"
! 2687: rm -f conftest.$ac_objext
! 2688: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2689: (eval $ac_compile) 2>&5
! 2690: ac_status=$?
! 2691: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2692: (exit $ac_status); } &&
! 2693: { ac_try='test -s conftest.$ac_objext'
! 2694: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2695: (eval $ac_try) 2>&5
! 2696: ac_status=$?
! 2697: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2698: (exit $ac_status); }; }; then
! 2699: ac_cv_prog_cc_stdc=$ac_arg
! 2700: break
! 2701: else
! 2702: echo "$as_me: failed program was:" >&5
! 2703: cat conftest.$ac_ext >&5
! 2704: fi
! 2705: rm -f conftest.$ac_objext
! 2706: done
! 2707: rm -f conftest.$ac_ext conftest.$ac_objext
! 2708: CC=$ac_save_CC
! 2709:
! 2710: fi
! 2711:
! 2712: case "x$ac_cv_prog_cc_stdc" in
! 2713: x|xno)
! 2714: echo "$as_me:$LINENO: result: none needed" >&5
! 2715: echo "${ECHO_T}none needed" >&6 ;;
! 2716: *)
! 2717: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 2718: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 2719: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 2720: esac
! 2721:
! 2722: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 2723: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 2724: if test "${ac_cv_c_const+set}" = set; then
! 2725: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2726: else
! 2727: cat >conftest.$ac_ext <<_ACEOF
! 2728: #line $LINENO "configure"
! 2729: #include "confdefs.h"
! 2730:
! 2731: #ifdef F77_DUMMY_MAIN
! 2732: # ifdef __cplusplus
! 2733: extern "C"
! 2734: # endif
! 2735: int F77_DUMMY_MAIN() { return 1; }
! 2736: #endif
! 2737: int
! 2738: main ()
! 2739: {
! 2740: /* FIXME: Include the comments suggested by Paul. */
! 2741: #ifndef __cplusplus
! 2742: /* Ultrix mips cc rejects this. */
! 2743: typedef int charset[2];
! 2744: const charset x;
! 2745: /* SunOS 4.1.1 cc rejects this. */
! 2746: char const *const *ccp;
! 2747: char **p;
! 2748: /* NEC SVR4.0.2 mips cc rejects this. */
! 2749: struct point {int x, y;};
! 2750: static struct point const zero = {0,0};
! 2751: /* AIX XL C 1.02.0.0 rejects this.
! 2752: It does not let you subtract one const X* pointer from another in
! 2753: an arm of an if-expression whose if-part is not a constant
! 2754: expression */
! 2755: const char *g = "string";
! 2756: ccp = &g + (g ? g-g : 0);
! 2757: /* HPUX 7.0 cc rejects these. */
! 2758: ++ccp;
! 2759: p = (char**) ccp;
! 2760: ccp = (char const *const *) p;
! 2761: { /* SCO 3.2v4 cc rejects this. */
! 2762: char *t;
! 2763: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 2764:
! 2765: *t++ = 0;
! 2766: }
! 2767: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 2768: int x[] = {25, 17};
! 2769: const int *foo = &x[0];
! 2770: ++foo;
! 2771: }
! 2772: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 2773: typedef const int *iptr;
! 2774: iptr p = 0;
! 2775: ++p;
! 2776: }
! 2777: { /* AIX XL C 1.02.0.0 rejects this saying
! 2778: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 2779: struct s { int j; const int *ap[3]; };
! 2780: struct s *b; b->j = 5;
! 2781: }
! 2782: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 2783: const int foo = 10;
! 2784: }
! 2785: #endif
! 2786:
! 2787: ;
! 2788: return 0;
! 2789: }
! 2790: _ACEOF
! 2791: rm -f conftest.$ac_objext
! 2792: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2793: (eval $ac_compile) 2>&5
! 2794: ac_status=$?
! 2795: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2796: (exit $ac_status); } &&
! 2797: { ac_try='test -s conftest.$ac_objext'
! 2798: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2799: (eval $ac_try) 2>&5
! 2800: ac_status=$?
! 2801: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2802: (exit $ac_status); }; }; then
! 2803: ac_cv_c_const=yes
! 2804: else
! 2805: echo "$as_me: failed program was:" >&5
! 2806: cat conftest.$ac_ext >&5
! 2807: ac_cv_c_const=no
! 2808: fi
! 2809: rm -f conftest.$ac_objext conftest.$ac_ext
! 2810: fi
! 2811: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 2812: echo "${ECHO_T}$ac_cv_c_const" >&6
! 2813: if test $ac_cv_c_const = no; then
! 2814:
! 2815: cat >>confdefs.h <<\_ACEOF
! 2816: #define const
! 2817: _ACEOF
! 2818:
! 2819: fi
! 2820:
! 2821:
! 2822:
! 2823:
! 2824: echo "$as_me:$LINENO: checking return type of signal handlers" >&5
! 2825: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
! 2826: if test "${ac_cv_type_signal+set}" = set; then
! 2827: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2828: else
! 2829: cat >conftest.$ac_ext <<_ACEOF
! 2830: #line $LINENO "configure"
! 2831: #include "confdefs.h"
! 2832: #include <sys/types.h>
! 2833: #include <signal.h>
! 2834: #ifdef signal
! 2835: # undef signal
! 2836: #endif
! 2837: #ifdef __cplusplus
! 2838: extern "C" void (*signal (int, void (*)(int)))(int);
! 2839: #else
! 2840: void (*signal ()) ();
! 2841: #endif
! 2842:
! 2843: #ifdef F77_DUMMY_MAIN
! 2844: # ifdef __cplusplus
! 2845: extern "C"
! 2846: # endif
! 2847: int F77_DUMMY_MAIN() { return 1; }
! 2848: #endif
! 2849: int
! 2850: main ()
! 2851: {
! 2852: int i;
! 2853: ;
! 2854: return 0;
! 2855: }
! 2856: _ACEOF
! 2857: rm -f conftest.$ac_objext
! 2858: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2859: (eval $ac_compile) 2>&5
! 2860: ac_status=$?
! 2861: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2862: (exit $ac_status); } &&
! 2863: { ac_try='test -s conftest.$ac_objext'
! 2864: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2865: (eval $ac_try) 2>&5
! 2866: ac_status=$?
! 2867: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2868: (exit $ac_status); }; }; then
! 2869: ac_cv_type_signal=void
! 2870: else
! 2871: echo "$as_me: failed program was:" >&5
! 2872: cat conftest.$ac_ext >&5
! 2873: ac_cv_type_signal=int
! 2874: fi
! 2875: rm -f conftest.$ac_objext conftest.$ac_ext
! 2876: fi
! 2877: echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
! 2878: echo "${ECHO_T}$ac_cv_type_signal" >&6
! 2879:
! 2880: cat >>confdefs.h <<_ACEOF
! 2881: #define RETSIGTYPE $ac_cv_type_signal
! 2882: _ACEOF
! 2883:
! 2884:
! 2885:
! 2886: echo "$as_me:$LINENO: checking for socket" >&5
! 2887: echo $ECHO_N "checking for socket... $ECHO_C" >&6
! 2888: if test "${ac_cv_func_socket+set}" = set; then
! 2889: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2890: else
! 2891: cat >conftest.$ac_ext <<_ACEOF
! 2892: #line $LINENO "configure"
! 2893: #include "confdefs.h"
! 2894: /* System header to define __stub macros and hopefully few prototypes,
! 2895: which can conflict with char socket (); below. */
! 2896: #include <assert.h>
! 2897: /* Override any gcc2 internal prototype to avoid an error. */
! 2898: #ifdef __cplusplus
! 2899: extern "C"
! 2900: #endif
! 2901: /* We use char because int might match the return type of a gcc2
! 2902: builtin and then its argument prototype would still apply. */
! 2903: char socket ();
! 2904: char (*f) ();
! 2905:
! 2906: #ifdef F77_DUMMY_MAIN
! 2907: # ifdef __cplusplus
! 2908: extern "C"
! 2909: # endif
! 2910: int F77_DUMMY_MAIN() { return 1; }
! 2911: #endif
! 2912: int
! 2913: main ()
! 2914: {
! 2915: /* The GNU C library defines this for functions which it implements
! 2916: to always fail with ENOSYS. Some functions are actually named
! 2917: something starting with __ and the normal name is an alias. */
! 2918: #if defined (__stub_socket) || defined (__stub___socket)
! 2919: choke me
! 2920: #else
! 2921: f = socket;
! 2922: #endif
! 2923:
! 2924: ;
! 2925: return 0;
! 2926: }
! 2927: _ACEOF
! 2928: rm -f conftest.$ac_objext conftest$ac_exeext
! 2929: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2930: (eval $ac_link) 2>&5
! 2931: ac_status=$?
! 2932: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2933: (exit $ac_status); } &&
! 2934: { ac_try='test -s conftest$ac_exeext'
! 2935: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2936: (eval $ac_try) 2>&5
! 2937: ac_status=$?
! 2938: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2939: (exit $ac_status); }; }; then
! 2940: ac_cv_func_socket=yes
! 2941: else
! 2942: echo "$as_me: failed program was:" >&5
! 2943: cat conftest.$ac_ext >&5
! 2944: ac_cv_func_socket=no
! 2945: fi
! 2946: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 2947: fi
! 2948: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
! 2949: echo "${ECHO_T}$ac_cv_func_socket" >&6
! 2950:
! 2951: if test "$ac_cv_func_socket" = no ; then
! 2952:
! 2953: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
! 2954: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
! 2955: if test "${ac_cv_lib_socket_socket+set}" = set; then
! 2956: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2957: else
! 2958: ac_check_lib_save_LIBS=$LIBS
! 2959: LIBS="-lsocket $LIBS"
! 2960: cat >conftest.$ac_ext <<_ACEOF
! 2961: #line $LINENO "configure"
! 2962: #include "confdefs.h"
! 2963:
! 2964: /* Override any gcc2 internal prototype to avoid an error. */
! 2965: #ifdef __cplusplus
! 2966: extern "C"
! 2967: #endif
! 2968: /* We use char because int might match the return type of a gcc2
! 2969: builtin and then its argument prototype would still apply. */
! 2970: char socket ();
! 2971: #ifdef F77_DUMMY_MAIN
! 2972: # ifdef __cplusplus
! 2973: extern "C"
! 2974: # endif
! 2975: int F77_DUMMY_MAIN() { return 1; }
! 2976: #endif
! 2977: int
! 2978: main ()
! 2979: {
! 2980: socket ();
! 2981: ;
! 2982: return 0;
! 2983: }
! 2984: _ACEOF
! 2985: rm -f conftest.$ac_objext conftest$ac_exeext
! 2986: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2987: (eval $ac_link) 2>&5
! 2988: ac_status=$?
! 2989: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2990: (exit $ac_status); } &&
! 2991: { ac_try='test -s conftest$ac_exeext'
! 2992: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2993: (eval $ac_try) 2>&5
! 2994: ac_status=$?
! 2995: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2996: (exit $ac_status); }; }; then
! 2997: ac_cv_lib_socket_socket=yes
! 2998: else
! 2999: echo "$as_me: failed program was:" >&5
! 3000: cat conftest.$ac_ext >&5
! 3001: ac_cv_lib_socket_socket=no
! 3002: fi
! 3003: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3004: LIBS=$ac_check_lib_save_LIBS
! 3005: fi
! 3006: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
! 3007: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
! 3008: if test $ac_cv_lib_socket_socket = yes; then
! 3009: cat >>confdefs.h <<_ACEOF
! 3010: #define HAVE_LIBSOCKET 1
! 3011: _ACEOF
! 3012:
! 3013: LIBS="-lsocket $LIBS"
! 3014:
! 3015: fi
! 3016:
! 3017: fi
! 3018: echo "$as_me:$LINENO: checking for gethostbyname" >&5
! 3019: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
! 3020: if test "${ac_cv_func_gethostbyname+set}" = set; then
! 3021: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3022: else
! 3023: cat >conftest.$ac_ext <<_ACEOF
! 3024: #line $LINENO "configure"
! 3025: #include "confdefs.h"
! 3026: /* System header to define __stub macros and hopefully few prototypes,
! 3027: which can conflict with char gethostbyname (); below. */
! 3028: #include <assert.h>
! 3029: /* Override any gcc2 internal prototype to avoid an error. */
! 3030: #ifdef __cplusplus
! 3031: extern "C"
! 3032: #endif
! 3033: /* We use char because int might match the return type of a gcc2
! 3034: builtin and then its argument prototype would still apply. */
! 3035: char gethostbyname ();
! 3036: char (*f) ();
! 3037:
! 3038: #ifdef F77_DUMMY_MAIN
! 3039: # ifdef __cplusplus
! 3040: extern "C"
! 3041: # endif
! 3042: int F77_DUMMY_MAIN() { return 1; }
! 3043: #endif
! 3044: int
! 3045: main ()
! 3046: {
! 3047: /* The GNU C library defines this for functions which it implements
! 3048: to always fail with ENOSYS. Some functions are actually named
! 3049: something starting with __ and the normal name is an alias. */
! 3050: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
! 3051: choke me
! 3052: #else
! 3053: f = gethostbyname;
! 3054: #endif
! 3055:
! 3056: ;
! 3057: return 0;
! 3058: }
! 3059: _ACEOF
! 3060: rm -f conftest.$ac_objext conftest$ac_exeext
! 3061: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3062: (eval $ac_link) 2>&5
! 3063: ac_status=$?
! 3064: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3065: (exit $ac_status); } &&
! 3066: { ac_try='test -s conftest$ac_exeext'
! 3067: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3068: (eval $ac_try) 2>&5
! 3069: ac_status=$?
! 3070: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3071: (exit $ac_status); }; }; then
! 3072: ac_cv_func_gethostbyname=yes
! 3073: else
! 3074: echo "$as_me: failed program was:" >&5
! 3075: cat conftest.$ac_ext >&5
! 3076: ac_cv_func_gethostbyname=no
! 3077: fi
! 3078: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3079: fi
! 3080: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
! 3081: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
! 3082:
! 3083: if test "$ac_cv_func_gethostbyname" = no ; then
! 3084:
! 3085: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
! 3086: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
! 3087: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
! 3088: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3089: else
! 3090: ac_check_lib_save_LIBS=$LIBS
! 3091: LIBS="-lnsl $LIBS"
! 3092: cat >conftest.$ac_ext <<_ACEOF
! 3093: #line $LINENO "configure"
! 3094: #include "confdefs.h"
! 3095:
! 3096: /* Override any gcc2 internal prototype to avoid an error. */
! 3097: #ifdef __cplusplus
! 3098: extern "C"
! 3099: #endif
! 3100: /* We use char because int might match the return type of a gcc2
! 3101: builtin and then its argument prototype would still apply. */
! 3102: char gethostbyname ();
! 3103: #ifdef F77_DUMMY_MAIN
! 3104: # ifdef __cplusplus
! 3105: extern "C"
! 3106: # endif
! 3107: int F77_DUMMY_MAIN() { return 1; }
! 3108: #endif
! 3109: int
! 3110: main ()
! 3111: {
! 3112: gethostbyname ();
! 3113: ;
! 3114: return 0;
! 3115: }
! 3116: _ACEOF
! 3117: rm -f conftest.$ac_objext conftest$ac_exeext
! 3118: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3119: (eval $ac_link) 2>&5
! 3120: ac_status=$?
! 3121: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3122: (exit $ac_status); } &&
! 3123: { ac_try='test -s conftest$ac_exeext'
! 3124: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3125: (eval $ac_try) 2>&5
! 3126: ac_status=$?
! 3127: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3128: (exit $ac_status); }; }; then
! 3129: ac_cv_lib_nsl_gethostbyname=yes
! 3130: else
! 3131: echo "$as_me: failed program was:" >&5
! 3132: cat conftest.$ac_ext >&5
! 3133: ac_cv_lib_nsl_gethostbyname=no
! 3134: fi
! 3135: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3136: LIBS=$ac_check_lib_save_LIBS
! 3137: fi
! 3138: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 3139: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
! 3140: if test $ac_cv_lib_nsl_gethostbyname = yes; then
! 3141: cat >>confdefs.h <<_ACEOF
! 3142: #define HAVE_LIBNSL 1
! 3143: _ACEOF
! 3144:
! 3145: LIBS="-lnsl $LIBS"
! 3146:
! 3147: fi
! 3148:
! 3149: fi
! 3150: echo "$as_me:$LINENO: checking for dlopen" >&5
! 3151: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 3152: if test "${ac_cv_func_dlopen+set}" = set; then
! 3153: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3154: else
! 3155: cat >conftest.$ac_ext <<_ACEOF
! 3156: #line $LINENO "configure"
! 3157: #include "confdefs.h"
! 3158: /* System header to define __stub macros and hopefully few prototypes,
! 3159: which can conflict with char dlopen (); below. */
! 3160: #include <assert.h>
! 3161: /* Override any gcc2 internal prototype to avoid an error. */
! 3162: #ifdef __cplusplus
! 3163: extern "C"
! 3164: #endif
! 3165: /* We use char because int might match the return type of a gcc2
! 3166: builtin and then its argument prototype would still apply. */
! 3167: char dlopen ();
! 3168: char (*f) ();
! 3169:
! 3170: #ifdef F77_DUMMY_MAIN
! 3171: # ifdef __cplusplus
! 3172: extern "C"
! 3173: # endif
! 3174: int F77_DUMMY_MAIN() { return 1; }
! 3175: #endif
! 3176: int
! 3177: main ()
! 3178: {
! 3179: /* The GNU C library defines this for functions which it implements
! 3180: to always fail with ENOSYS. Some functions are actually named
! 3181: something starting with __ and the normal name is an alias. */
! 3182: #if defined (__stub_dlopen) || defined (__stub___dlopen)
! 3183: choke me
! 3184: #else
! 3185: f = dlopen;
! 3186: #endif
! 3187:
! 3188: ;
! 3189: return 0;
! 3190: }
! 3191: _ACEOF
! 3192: rm -f conftest.$ac_objext conftest$ac_exeext
! 3193: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3194: (eval $ac_link) 2>&5
! 3195: ac_status=$?
! 3196: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3197: (exit $ac_status); } &&
! 3198: { ac_try='test -s conftest$ac_exeext'
! 3199: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3200: (eval $ac_try) 2>&5
! 3201: ac_status=$?
! 3202: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3203: (exit $ac_status); }; }; then
! 3204: ac_cv_func_dlopen=yes
! 3205: else
! 3206: echo "$as_me: failed program was:" >&5
! 3207: cat conftest.$ac_ext >&5
! 3208: ac_cv_func_dlopen=no
! 3209: fi
! 3210: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3211: fi
! 3212: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 3213: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 3214:
! 3215: if test "$ac_cv_func_dlopen" = no; then
! 3216:
! 3217: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 3218: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 3219: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 3220: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3221: else
! 3222: ac_check_lib_save_LIBS=$LIBS
! 3223: LIBS="-ldl $LIBS"
! 3224: cat >conftest.$ac_ext <<_ACEOF
! 3225: #line $LINENO "configure"
! 3226: #include "confdefs.h"
! 3227:
! 3228: /* Override any gcc2 internal prototype to avoid an error. */
! 3229: #ifdef __cplusplus
! 3230: extern "C"
! 3231: #endif
! 3232: /* We use char because int might match the return type of a gcc2
! 3233: builtin and then its argument prototype would still apply. */
! 3234: char dlopen ();
! 3235: #ifdef F77_DUMMY_MAIN
! 3236: # ifdef __cplusplus
! 3237: extern "C"
! 3238: # endif
! 3239: int F77_DUMMY_MAIN() { return 1; }
! 3240: #endif
! 3241: int
! 3242: main ()
! 3243: {
! 3244: dlopen ();
! 3245: ;
! 3246: return 0;
! 3247: }
! 3248: _ACEOF
! 3249: rm -f conftest.$ac_objext conftest$ac_exeext
! 3250: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3251: (eval $ac_link) 2>&5
! 3252: ac_status=$?
! 3253: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3254: (exit $ac_status); } &&
! 3255: { ac_try='test -s conftest$ac_exeext'
! 3256: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3257: (eval $ac_try) 2>&5
! 3258: ac_status=$?
! 3259: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3260: (exit $ac_status); }; }; then
! 3261: ac_cv_lib_dl_dlopen=yes
! 3262: else
! 3263: echo "$as_me: failed program was:" >&5
! 3264: cat conftest.$ac_ext >&5
! 3265: ac_cv_lib_dl_dlopen=no
! 3266: fi
! 3267: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3268: LIBS=$ac_check_lib_save_LIBS
! 3269: fi
! 3270: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 3271: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 3272: if test $ac_cv_lib_dl_dlopen = yes; then
! 3273: cat >>confdefs.h <<_ACEOF
! 3274: #define HAVE_LIBDL 1
! 3275: _ACEOF
! 3276:
! 3277: LIBS="-ldl $LIBS"
! 3278:
! 3279: fi
! 3280:
! 3281: fi
! 3282:
! 3283: ac_config_files="$ac_config_files Makefile"
! 3284: cat >confcache <<\_ACEOF
! 3285: # This file is a shell script that caches the results of configure
! 3286: # tests run on this system so they can be shared between configure
! 3287: # scripts and configure runs, see configure's option --config-cache.
! 3288: # It is not useful on other systems. If it contains results you don't
! 3289: # want to keep, you may remove or edit it.
! 3290: #
! 3291: # config.status only pays attention to the cache file if you give it
! 3292: # the --recheck option to rerun configure.
! 3293: #
! 3294: # `ac_cv_env_foo' variables (set or unset) will be overriden when
! 3295: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 3296: # following values.
! 3297:
! 3298: _ACEOF
! 3299:
! 3300: # The following way of writing the cache mishandles newlines in values,
! 3301: # but we know of no workaround that is simple, portable, and efficient.
! 3302: # So, don't put newlines in cache variables' values.
! 3303: # Ultrix sh set writes to stderr and can't be redirected directly,
! 3304: # and sets the high bit in the cache file unless we assign to the vars.
! 3305: {
! 3306: (set) 2>&1 |
! 3307: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 3308: *ac_space=\ *)
! 3309: # `set' does not quote correctly, so add quotes (double-quote
! 3310: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 3311: sed -n \
! 3312: "s/'/'\\\\''/g;
! 3313: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 3314: ;;
! 3315: *)
! 3316: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 3317: sed -n \
! 3318: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 3319: ;;
! 3320: esac;
! 3321: } |
! 3322: sed '
! 3323: t clear
! 3324: : clear
! 3325: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 3326: t end
! 3327: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 3328: : end' >>confcache
! 3329: if cmp -s $cache_file confcache; then :; else
! 3330: if test -w $cache_file; then
! 3331: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 3332: cat confcache >$cache_file
! 3333: else
! 3334: echo "not updating unwritable cache $cache_file"
! 3335: fi
! 3336: fi
! 3337: rm -f confcache
! 3338:
! 3339: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 3340: # Let make expand exec_prefix.
! 3341: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 3342:
! 3343: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 3344: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 3345: # trailing colons and then remove the whole line if VPATH becomes empty
! 3346: # (actually we leave an empty line to preserve line numbers).
! 3347: if test "x$srcdir" = x.; then
! 3348: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 3349: s/:*\$(srcdir):*/:/;
! 3350: s/:*\${srcdir}:*/:/;
! 3351: s/:*@srcdir@:*/:/;
! 3352: s/^\([^=]*=[ ]*\):*/\1/;
! 3353: s/:*$//;
! 3354: s/^[^=]*=[ ]*$//;
! 3355: }'
! 3356: fi
! 3357:
! 3358: DEFS=-DHAVE_CONFIG_H
! 3359:
! 3360:
! 3361: : ${CONFIG_STATUS=./config.status}
! 3362: ac_clean_files_save=$ac_clean_files
! 3363: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 3364: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 3365: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 3366: cat >$CONFIG_STATUS <<_ACEOF
! 3367: #! $SHELL
! 3368: # Generated by $as_me.
! 3369: # Run this file to recreate the current configuration.
! 3370: # Compiler output produced by configure, useful for debugging
! 3371: # configure, is in config.log if it exists.
! 3372:
! 3373: debug=false
! 3374: SHELL=\${CONFIG_SHELL-$SHELL}
! 3375: _ACEOF
! 3376:
! 3377: cat >>$CONFIG_STATUS <<\_ACEOF
! 3378:
! 3379: ## --------------------- ##
! 3380: ## M4sh Initialization. ##
! 3381: ## --------------------- ##
! 3382:
! 3383: # Be Bourne compatible
! 3384: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 3385: emulate sh
! 3386: NULLCMD=:
! 3387: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 3388: set -o posix
! 3389: fi
! 3390:
! 3391: # NLS nuisances.
! 3392: # Support unset when possible.
! 3393: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 3394: as_unset=unset
! 3395: else
! 3396: as_unset=false
! 3397: fi
! 3398:
! 3399: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
! 3400: { $as_unset LANG || test "${LANG+set}" != set; } ||
! 3401: { LANG=C; export LANG; }
! 3402: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
! 3403: { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
! 3404: { LC_ALL=C; export LC_ALL; }
! 3405: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
! 3406: { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
! 3407: { LC_TIME=C; export LC_TIME; }
! 3408: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
! 3409: { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
! 3410: { LC_CTYPE=C; export LC_CTYPE; }
! 3411: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
! 3412: { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
! 3413: { LANGUAGE=C; export LANGUAGE; }
! 3414: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
! 3415: { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
! 3416: { LC_COLLATE=C; export LC_COLLATE; }
! 3417: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
! 3418: { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
! 3419: { LC_NUMERIC=C; export LC_NUMERIC; }
! 3420: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
! 3421: { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
! 3422: { LC_MESSAGES=C; export LC_MESSAGES; }
! 3423:
! 3424:
! 3425: # Name of the executable.
! 3426: as_me=`(basename "$0") 2>/dev/null ||
! 3427: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 3428: X"$0" : 'X\(//\)$' \| \
! 3429: X"$0" : 'X\(/\)$' \| \
! 3430: . : '\(.\)' 2>/dev/null ||
! 3431: echo X/"$0" |
! 3432: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 3433: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 3434: /^X\/\(\/\).*/{ s//\1/; q; }
! 3435: s/.*/./; q'`
! 3436:
! 3437: # PATH needs CR, and LINENO needs CR and PATH.
! 3438: # Avoid depending upon Character Ranges.
! 3439: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 3440: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 3441: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 3442: as_cr_digits='0123456789'
! 3443: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 3444:
! 3445: # The user is always right.
! 3446: if test "${PATH_SEPARATOR+set}" != set; then
! 3447: echo "#! /bin/sh" >conftest.sh
! 3448: echo "exit 0" >>conftest.sh
! 3449: chmod +x conftest.sh
! 3450: if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
! 3451: PATH_SEPARATOR=';'
! 3452: else
! 3453: PATH_SEPARATOR=:
! 3454: fi
! 3455: rm -f conftest.sh
! 3456: fi
! 3457:
! 3458:
! 3459: as_lineno_1=$LINENO
! 3460: as_lineno_2=$LINENO
! 3461: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 3462: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 3463: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 3464: # Find who we are. Look in the path if we contain no path at all
! 3465: # relative or not.
! 3466: case $0 in
! 3467: *[\\/]* ) as_myself=$0 ;;
! 3468: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3469: for as_dir in $PATH
! 3470: do
! 3471: IFS=$as_save_IFS
! 3472: test -z "$as_dir" && as_dir=.
! 3473: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 3474: done
! 3475:
! 3476: ;;
! 3477: esac
! 3478: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 3479: # in which case we are not to be found in the path.
! 3480: if test "x$as_myself" = x; then
! 3481: as_myself=$0
! 3482: fi
! 3483: if test ! -f "$as_myself"; then
! 3484: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 3485: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 3486: { (exit 1); exit 1; }; }
! 3487: fi
! 3488: case $CONFIG_SHELL in
! 3489: '')
! 3490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3491: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 3492: do
! 3493: IFS=$as_save_IFS
! 3494: test -z "$as_dir" && as_dir=.
! 3495: for as_base in sh bash ksh sh5; do
! 3496: case $as_dir in
! 3497: /*)
! 3498: if ("$as_dir/$as_base" -c '
! 3499: as_lineno_1=$LINENO
! 3500: as_lineno_2=$LINENO
! 3501: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 3502: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 3503: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 3504: CONFIG_SHELL=$as_dir/$as_base
! 3505: export CONFIG_SHELL
! 3506: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 3507: fi;;
! 3508: esac
! 3509: done
! 3510: done
! 3511: ;;
! 3512: esac
! 3513:
! 3514: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 3515: # uniformly replaced by the line number. The first 'sed' inserts a
! 3516: # line-number line before each line; the second 'sed' does the real
! 3517: # work. The second script uses 'N' to pair each line-number line
! 3518: # with the numbered line, and appends trailing '-' during
! 3519: # substitution so that $LINENO is not a special case at line end.
! 3520: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 3521: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 3522: sed '=' <$as_myself |
! 3523: sed '
! 3524: N
! 3525: s,$,-,
! 3526: : loop
! 3527: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 3528: t loop
! 3529: s,-$,,
! 3530: s,^['$as_cr_digits']*\n,,
! 3531: ' >$as_me.lineno &&
! 3532: chmod +x $as_me.lineno ||
! 3533: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 3534: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 3535: { (exit 1); exit 1; }; }
! 3536:
! 3537: # Don't try to exec as it changes $[0], causing all sort of problems
! 3538: # (the dirname of $[0] is not the place where we might find the
! 3539: # original and so on. Autoconf is especially sensible to this).
! 3540: . ./$as_me.lineno
! 3541: # Exit status is that of the last command.
! 3542: exit
! 3543: }
! 3544:
! 3545:
! 3546: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 3547: *c*,-n*) ECHO_N= ECHO_C='
! 3548: ' ECHO_T=' ' ;;
! 3549: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 3550: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 3551: esac
! 3552:
! 3553: if expr a : '\(a\)' >/dev/null 2>&1; then
! 3554: as_expr=expr
! 3555: else
! 3556: as_expr=false
! 3557: fi
! 3558:
! 3559: rm -f conf$$ conf$$.exe conf$$.file
! 3560: echo >conf$$.file
! 3561: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 3562: # We could just check for DJGPP; but this test a) works b) is more generic
! 3563: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 3564: if test -f conf$$.exe; then
! 3565: # Don't use ln at all; we don't have any links
! 3566: as_ln_s='cp -p'
! 3567: else
! 3568: as_ln_s='ln -s'
! 3569: fi
! 3570: elif ln conf$$.file conf$$ 2>/dev/null; then
! 3571: as_ln_s=ln
! 3572: else
! 3573: as_ln_s='cp -p'
! 3574: fi
! 3575: rm -f conf$$ conf$$.exe conf$$.file
! 3576:
! 3577: as_executable_p="test -f"
! 3578:
! 3579: # Sed expression to map a string onto a valid CPP name.
! 3580: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 3581:
! 3582: # Sed expression to map a string onto a valid variable name.
! 3583: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 3584:
! 3585:
! 3586: # IFS
! 3587: # We need space, tab and new line, in precisely that order.
! 3588: as_nl='
! 3589: '
! 3590: IFS=" $as_nl"
! 3591:
! 3592: # CDPATH.
! 3593: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
! 3594:
! 3595: exec 6>&1
! 3596:
! 3597: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 3598: # report actual input values of CONFIG_FILES etc. instead of their
! 3599: # values after options handling. Logging --version etc. is OK.
! 3600: exec 5>>config.log
! 3601: {
! 3602: echo
! 3603: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 3604: ## Running $as_me. ##
! 3605: _ASBOX
! 3606: } >&5
! 3607: cat >&5 <<_CSEOF
! 3608:
! 3609: This file was extended by $as_me, which was
! 3610: generated by GNU Autoconf 2.53. Invocation command line was
! 3611:
! 3612: CONFIG_FILES = $CONFIG_FILES
! 3613: CONFIG_HEADERS = $CONFIG_HEADERS
! 3614: CONFIG_LINKS = $CONFIG_LINKS
! 3615: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 3616: $ $0 $@
! 3617:
! 3618: _CSEOF
! 3619: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 3620: echo >&5
! 3621: _ACEOF
! 3622:
! 3623: # Files that config.status was made for.
! 3624: if test -n "$ac_config_files"; then
! 3625: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 3626: fi
! 3627:
! 3628: if test -n "$ac_config_headers"; then
! 3629: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 3630: fi
! 3631:
! 3632: if test -n "$ac_config_links"; then
! 3633: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 3634: fi
! 3635:
! 3636: if test -n "$ac_config_commands"; then
! 3637: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 3638: fi
! 3639:
! 3640: cat >>$CONFIG_STATUS <<\_ACEOF
! 3641:
! 3642: ac_cs_usage="\
! 3643: \`$as_me' instantiates files from templates according to the
! 3644: current configuration.
! 3645:
! 3646: Usage: $0 [OPTIONS] [FILE]...
! 3647:
! 3648: -h, --help print this help, then exit
! 3649: -V, --version print version number, then exit
! 3650: -d, --debug don't remove temporary files
! 3651: --recheck update $as_me by reconfiguring in the same conditions
! 3652: --file=FILE[:TEMPLATE]
! 3653: instantiate the configuration file FILE
! 3654: --header=FILE[:TEMPLATE]
! 3655: instantiate the configuration header FILE
! 3656:
! 3657: Configuration files:
! 3658: $config_files
! 3659:
! 3660: Configuration headers:
! 3661: $config_headers
! 3662:
! 3663: Report bugs to <bug-autoconf@gnu.org>."
! 3664: _ACEOF
! 3665:
! 3666: cat >>$CONFIG_STATUS <<_ACEOF
! 3667: ac_cs_version="\\
! 3668: config.status
! 3669: configured by $0, generated by GNU Autoconf 2.53,
! 3670: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 3671:
! 3672: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 3673: Free Software Foundation, Inc.
! 3674: This config.status script is free software; the Free Software Foundation
! 3675: gives unlimited permission to copy, distribute and modify it."
! 3676: srcdir=$srcdir
! 3677: _ACEOF
! 3678:
! 3679: cat >>$CONFIG_STATUS <<\_ACEOF
! 3680: # If no file are specified by the user, then we need to provide default
! 3681: # value. By we need to know if files were specified by the user.
! 3682: ac_need_defaults=:
! 3683: while test $# != 0
! 3684: do
! 3685: case $1 in
! 3686: --*=*)
! 3687: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 3688: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 3689: shift
! 3690: set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
! 3691: shift
! 3692: ;;
! 3693: -*);;
! 3694: *) # This is not an option, so the user has probably given explicit
! 3695: # arguments.
! 3696: ac_need_defaults=false;;
! 3697: esac
! 3698:
! 3699: case $1 in
! 3700: # Handling of the options.
! 3701: _ACEOF
! 3702: cat >>$CONFIG_STATUS <<_ACEOF
! 3703: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 3704: echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
! 3705: exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! 3706: _ACEOF
! 3707: cat >>$CONFIG_STATUS <<\_ACEOF
! 3708: --version | --vers* | -V )
! 3709: echo "$ac_cs_version"; exit 0 ;;
! 3710: --he | --h)
! 3711: # Conflict between --help and --header
! 3712: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 3713: Try \`$0 --help' for more information." >&5
! 3714: echo "$as_me: error: ambiguous option: $1
! 3715: Try \`$0 --help' for more information." >&2;}
! 3716: { (exit 1); exit 1; }; };;
! 3717: --help | --hel | -h )
! 3718: echo "$ac_cs_usage"; exit 0 ;;
! 3719: --debug | --d* | -d )
! 3720: debug=: ;;
! 3721: --file | --fil | --fi | --f )
! 3722: shift
! 3723: CONFIG_FILES="$CONFIG_FILES $1"
! 3724: ac_need_defaults=false;;
! 3725: --header | --heade | --head | --hea )
! 3726: shift
! 3727: CONFIG_HEADERS="$CONFIG_HEADERS $1"
! 3728: ac_need_defaults=false;;
! 3729:
! 3730: # This is an error.
! 3731: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 3732: Try \`$0 --help' for more information." >&5
! 3733: echo "$as_me: error: unrecognized option: $1
! 3734: Try \`$0 --help' for more information." >&2;}
! 3735: { (exit 1); exit 1; }; } ;;
! 3736:
! 3737: *) ac_config_targets="$ac_config_targets $1" ;;
! 3738:
! 3739: esac
! 3740: shift
! 3741: done
! 3742:
! 3743: _ACEOF
! 3744:
! 3745:
! 3746:
! 3747:
! 3748:
! 3749: cat >>$CONFIG_STATUS <<\_ACEOF
! 3750: for ac_config_target in $ac_config_targets
! 3751: do
! 3752: case "$ac_config_target" in
! 3753: # Handling of arguments.
! 3754: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 3755: "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 3756: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 3757: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 3758: { (exit 1); exit 1; }; };;
! 3759: esac
! 3760: done
! 3761:
! 3762: # If the user did not use the arguments to specify the items to instantiate,
! 3763: # then the envvar interface is used. Set only those that are not.
! 3764: # We use the long form for the default assignment because of an extremely
! 3765: # bizarre bug on SunOS 4.1.3.
! 3766: if $ac_need_defaults; then
! 3767: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 3768: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 3769: fi
! 3770:
! 3771: # Create a temporary directory, and hook for its removal unless debugging.
! 3772: $debug ||
! 3773: {
! 3774: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 3775: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 3776: }
! 3777:
! 3778: # Create a (secure) tmp directory for tmp files.
! 3779: : ${TMPDIR=/tmp}
! 3780: {
! 3781: tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
! 3782: test -n "$tmp" && test -d "$tmp"
! 3783: } ||
! 3784: {
! 3785: tmp=$TMPDIR/cs$$-$RANDOM
! 3786: (umask 077 && mkdir $tmp)
! 3787: } ||
! 3788: {
! 3789: echo "$me: cannot create a temporary directory in $TMPDIR" >&2
! 3790: { (exit 1); exit 1; }
! 3791: }
! 3792:
! 3793: _ACEOF
! 3794:
! 3795: cat >>$CONFIG_STATUS <<_ACEOF
! 3796:
! 3797: #
! 3798: # CONFIG_FILES section.
! 3799: #
! 3800:
! 3801: # No need to generate the scripts if there are no CONFIG_FILES.
! 3802: # This happens for instance when ./config.status config.h
! 3803: if test -n "\$CONFIG_FILES"; then
! 3804: # Protect against being on the right side of a sed subst in config.status.
! 3805: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 3806: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 3807: s,@SHELL@,$SHELL,;t t
! 3808: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 3809: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 3810: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 3811: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 3812: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 3813: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 3814: s,@exec_prefix@,$exec_prefix,;t t
! 3815: s,@prefix@,$prefix,;t t
! 3816: s,@program_transform_name@,$program_transform_name,;t t
! 3817: s,@bindir@,$bindir,;t t
! 3818: s,@sbindir@,$sbindir,;t t
! 3819: s,@libexecdir@,$libexecdir,;t t
! 3820: s,@datadir@,$datadir,;t t
! 3821: s,@sysconfdir@,$sysconfdir,;t t
! 3822: s,@sharedstatedir@,$sharedstatedir,;t t
! 3823: s,@localstatedir@,$localstatedir,;t t
! 3824: s,@libdir@,$libdir,;t t
! 3825: s,@includedir@,$includedir,;t t
! 3826: s,@oldincludedir@,$oldincludedir,;t t
! 3827: s,@infodir@,$infodir,;t t
! 3828: s,@mandir@,$mandir,;t t
! 3829: s,@build_alias@,$build_alias,;t t
! 3830: s,@host_alias@,$host_alias,;t t
! 3831: s,@target_alias@,$target_alias,;t t
! 3832: s,@DEFS@,$DEFS,;t t
! 3833: s,@ECHO_C@,$ECHO_C,;t t
! 3834: s,@ECHO_N@,$ECHO_N,;t t
! 3835: s,@ECHO_T@,$ECHO_T,;t t
! 3836: s,@LIBS@,$LIBS,;t t
! 3837: s,@OPTFLAG@,$OPTFLAG,;t t
! 3838: s,@CC@,$CC,;t t
! 3839: s,@CFLAGS@,$CFLAGS,;t t
! 3840: s,@LDFLAGS@,$LDFLAGS,;t t
! 3841: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 3842: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 3843: s,@EXEEXT@,$EXEEXT,;t t
! 3844: s,@OBJEXT@,$OBJEXT,;t t
! 3845: s,@CXX@,$CXX,;t t
! 3846: s,@CXXFLAGS@,$CXXFLAGS,;t t
! 3847: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
! 3848: s,@CPP@,$CPP,;t t
! 3849: CEOF
! 3850:
! 3851: _ACEOF
! 3852:
! 3853: cat >>$CONFIG_STATUS <<\_ACEOF
! 3854: # Split the substitutions into bite-sized pieces for seds with
! 3855: # small command number limits, like on Digital OSF/1 and HP-UX.
! 3856: ac_max_sed_lines=48
! 3857: ac_sed_frag=1 # Number of current file.
! 3858: ac_beg=1 # First line for current file.
! 3859: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 3860: ac_more_lines=:
! 3861: ac_sed_cmds=
! 3862: while $ac_more_lines; do
! 3863: if test $ac_beg -gt 1; then
! 3864: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 3865: else
! 3866: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 3867: fi
! 3868: if test ! -s $tmp/subs.frag; then
! 3869: ac_more_lines=false
! 3870: else
! 3871: # The purpose of the label and of the branching condition is to
! 3872: # speed up the sed processing (if there are no `@' at all, there
! 3873: # is no need to browse any of the substitutions).
! 3874: # These are the two extra sed commands mentioned above.
! 3875: (echo ':t
! 3876: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 3877: if test -z "$ac_sed_cmds"; then
! 3878: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 3879: else
! 3880: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 3881: fi
! 3882: ac_sed_frag=`expr $ac_sed_frag + 1`
! 3883: ac_beg=$ac_end
! 3884: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 3885: fi
! 3886: done
! 3887: if test -z "$ac_sed_cmds"; then
! 3888: ac_sed_cmds=cat
! 3889: fi
! 3890: fi # test -n "$CONFIG_FILES"
! 3891:
! 3892: _ACEOF
! 3893: cat >>$CONFIG_STATUS <<\_ACEOF
! 3894: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 3895: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 3896: case $ac_file in
! 3897: - | *:- | *:-:* ) # input from stdin
! 3898: cat >$tmp/stdin
! 3899: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 3900: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 3901: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 3902: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 3903: * ) ac_file_in=$ac_file.in ;;
! 3904: esac
! 3905:
! 3906: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 3907: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 3908: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 3909: X"$ac_file" : 'X\(//\)[^/]' \| \
! 3910: X"$ac_file" : 'X\(//\)$' \| \
! 3911: X"$ac_file" : 'X\(/\)' \| \
! 3912: . : '\(.\)' 2>/dev/null ||
! 3913: echo X"$ac_file" |
! 3914: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 3915: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 3916: /^X\(\/\/\)$/{ s//\1/; q; }
! 3917: /^X\(\/\).*/{ s//\1/; q; }
! 3918: s/.*/./; q'`
! 3919: { case "$ac_dir" in
! 3920: [\\/]* | ?:[\\/]* ) as_incr_dir=;;
! 3921: *) as_incr_dir=.;;
! 3922: esac
! 3923: as_dummy="$ac_dir"
! 3924: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
! 3925: case $as_mkdir_dir in
! 3926: # Skip DOS drivespec
! 3927: ?:) as_incr_dir=$as_mkdir_dir ;;
! 3928: *)
! 3929: as_incr_dir=$as_incr_dir/$as_mkdir_dir
! 3930: test -d "$as_incr_dir" ||
! 3931: mkdir "$as_incr_dir" ||
! 3932: { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! 3933: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
! 3934: { (exit 1); exit 1; }; }
! 3935: ;;
! 3936: esac
! 3937: done; }
! 3938:
! 3939: ac_builddir=.
! 3940:
! 3941: if test "$ac_dir" != .; then
! 3942: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 3943: # A "../" for each directory in $ac_dir_suffix.
! 3944: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 3945: else
! 3946: ac_dir_suffix= ac_top_builddir=
! 3947: fi
! 3948:
! 3949: case $srcdir in
! 3950: .) # No --srcdir option. We are building in place.
! 3951: ac_srcdir=.
! 3952: if test -z "$ac_top_builddir"; then
! 3953: ac_top_srcdir=.
! 3954: else
! 3955: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 3956: fi ;;
! 3957: [\\/]* | ?:[\\/]* ) # Absolute path.
! 3958: ac_srcdir=$srcdir$ac_dir_suffix;
! 3959: ac_top_srcdir=$srcdir ;;
! 3960: *) # Relative path.
! 3961: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 3962: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 3963: esac
! 3964: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 3965: # absolute.
! 3966: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 3967: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! 3968: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 3969: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 3970:
! 3971:
! 3972:
! 3973: if test x"$ac_file" != x-; then
! 3974: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 3975: echo "$as_me: creating $ac_file" >&6;}
! 3976: rm -f "$ac_file"
! 3977: fi
! 3978: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 3979: # use $as_me), people would be surprised to read:
! 3980: # /* config.h. Generated by config.status. */
! 3981: if test x"$ac_file" = x-; then
! 3982: configure_input=
! 3983: else
! 3984: configure_input="$ac_file. "
! 3985: fi
! 3986: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 3987: sed 's,.*/,,'` by configure."
! 3988:
! 3989: # First look for the input files in the build tree, otherwise in the
! 3990: # src tree.
! 3991: ac_file_inputs=`IFS=:
! 3992: for f in $ac_file_in; do
! 3993: case $f in
! 3994: -) echo $tmp/stdin ;;
! 3995: [\\/$]*)
! 3996: # Absolute (can't be DOS-style, as IFS=:)
! 3997: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 3998: echo "$as_me: error: cannot find input file: $f" >&2;}
! 3999: { (exit 1); exit 1; }; }
! 4000: echo $f;;
! 4001: *) # Relative
! 4002: if test -f "$f"; then
! 4003: # Build tree
! 4004: echo $f
! 4005: elif test -f "$srcdir/$f"; then
! 4006: # Source tree
! 4007: echo $srcdir/$f
! 4008: else
! 4009: # /dev/null tree
! 4010: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 4011: echo "$as_me: error: cannot find input file: $f" >&2;}
! 4012: { (exit 1); exit 1; }; }
! 4013: fi;;
! 4014: esac
! 4015: done` || { (exit 1); exit 1; }
! 4016: _ACEOF
! 4017: cat >>$CONFIG_STATUS <<_ACEOF
! 4018: sed "$ac_vpsub
! 4019: $extrasub
! 4020: _ACEOF
! 4021: cat >>$CONFIG_STATUS <<\_ACEOF
! 4022: :t
! 4023: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 4024: s,@configure_input@,$configure_input,;t t
! 4025: s,@srcdir@,$ac_srcdir,;t t
! 4026: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 4027: s,@top_srcdir@,$ac_top_srcdir,;t t
! 4028: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 4029: s,@builddir@,$ac_builddir,;t t
! 4030: s,@abs_builddir@,$ac_abs_builddir,;t t
! 4031: s,@top_builddir@,$ac_top_builddir,;t t
! 4032: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 4033: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 4034: rm -f $tmp/stdin
! 4035: if test x"$ac_file" != x-; then
! 4036: mv $tmp/out $ac_file
! 4037: else
! 4038: cat $tmp/out
! 4039: rm -f $tmp/out
! 4040: fi
! 4041:
! 4042: done
! 4043: _ACEOF
! 4044: cat >>$CONFIG_STATUS <<\_ACEOF
! 4045:
! 4046: #
! 4047: # CONFIG_HEADER section.
! 4048: #
! 4049:
! 4050: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 4051: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 4052: #
! 4053: # ac_d sets the value in "#define NAME VALUE" lines.
! 4054: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 4055: ac_dB='[ ].*$,\1#\2'
! 4056: ac_dC=' '
! 4057: ac_dD=',;t'
! 4058: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 4059: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 4060: ac_uB='$,\1#\2define\3'
! 4061: ac_uC=' '
! 4062: ac_uD=',;t'
! 4063:
! 4064: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 4065: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 4066: case $ac_file in
! 4067: - | *:- | *:-:* ) # input from stdin
! 4068: cat >$tmp/stdin
! 4069: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 4070: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 4071: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 4072: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 4073: * ) ac_file_in=$ac_file.in ;;
! 4074: esac
! 4075:
! 4076: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 4077: echo "$as_me: creating $ac_file" >&6;}
! 4078:
! 4079: # First look for the input files in the build tree, otherwise in the
! 4080: # src tree.
! 4081: ac_file_inputs=`IFS=:
! 4082: for f in $ac_file_in; do
! 4083: case $f in
! 4084: -) echo $tmp/stdin ;;
! 4085: [\\/$]*)
! 4086: # Absolute (can't be DOS-style, as IFS=:)
! 4087: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 4088: echo "$as_me: error: cannot find input file: $f" >&2;}
! 4089: { (exit 1); exit 1; }; }
! 4090: echo $f;;
! 4091: *) # Relative
! 4092: if test -f "$f"; then
! 4093: # Build tree
! 4094: echo $f
! 4095: elif test -f "$srcdir/$f"; then
! 4096: # Source tree
! 4097: echo $srcdir/$f
! 4098: else
! 4099: # /dev/null tree
! 4100: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 4101: echo "$as_me: error: cannot find input file: $f" >&2;}
! 4102: { (exit 1); exit 1; }; }
! 4103: fi;;
! 4104: esac
! 4105: done` || { (exit 1); exit 1; }
! 4106: # Remove the trailing spaces.
! 4107: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 4108:
! 4109: _ACEOF
! 4110:
! 4111: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 4112: # `conftest.undefs', that substitutes the proper values into
! 4113: # config.h.in to produce config.h. The first handles `#define'
! 4114: # templates, and the second `#undef' templates.
! 4115: # And first: Protect against being on the right side of a sed subst in
! 4116: # config.status. Protect against being in an unquoted here document
! 4117: # in config.status.
! 4118: rm -f conftest.defines conftest.undefs
! 4119: # Using a here document instead of a string reduces the quoting nightmare.
! 4120: # Putting comments in sed scripts is not portable.
! 4121: #
! 4122: # `end' is used to avoid that the second main sed command (meant for
! 4123: # 0-ary CPP macros) applies to n-ary macro definitions.
! 4124: # See the Autoconf documentation for `clear'.
! 4125: cat >confdef2sed.sed <<\_ACEOF
! 4126: s/[\\&,]/\\&/g
! 4127: s,[\\$`],\\&,g
! 4128: t clear
! 4129: : clear
! 4130: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 4131: t end
! 4132: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 4133: : end
! 4134: _ACEOF
! 4135: # If some macros were called several times there might be several times
! 4136: # the same #defines, which is useless. Nevertheless, we may not want to
! 4137: # sort them, since we want the *last* AC-DEFINE to be honored.
! 4138: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 4139: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 4140: rm -f confdef2sed.sed
! 4141:
! 4142: # This sed command replaces #undef with comments. This is necessary, for
! 4143: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 4144: # on some systems where configure will not decide to define it.
! 4145: cat >>conftest.undefs <<\_ACEOF
! 4146: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 4147: _ACEOF
! 4148:
! 4149: # Break up conftest.defines because some shells have a limit on the size
! 4150: # of here documents, and old seds have small limits too (100 cmds).
! 4151: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 4152: echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 4153: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 4154: echo ' :' >>$CONFIG_STATUS
! 4155: rm -f conftest.tail
! 4156: while grep . conftest.defines >/dev/null
! 4157: do
! 4158: # Write a limited-size here document to $tmp/defines.sed.
! 4159: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 4160: # Speed up: don't consider the non `#define' lines.
! 4161: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 4162: # Work around the forget-to-reset-the-flag bug.
! 4163: echo 't clr' >>$CONFIG_STATUS
! 4164: echo ': clr' >>$CONFIG_STATUS
! 4165: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 4166: echo 'CEOF
! 4167: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 4168: rm -f $tmp/in
! 4169: mv $tmp/out $tmp/in
! 4170: ' >>$CONFIG_STATUS
! 4171: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 4172: rm -f conftest.defines
! 4173: mv conftest.tail conftest.defines
! 4174: done
! 4175: rm -f conftest.defines
! 4176: echo ' fi # egrep' >>$CONFIG_STATUS
! 4177: echo >>$CONFIG_STATUS
! 4178:
! 4179: # Break up conftest.undefs because some shells have a limit on the size
! 4180: # of here documents, and old seds have small limits too (100 cmds).
! 4181: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 4182: rm -f conftest.tail
! 4183: while grep . conftest.undefs >/dev/null
! 4184: do
! 4185: # Write a limited-size here document to $tmp/undefs.sed.
! 4186: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 4187: # Speed up: don't consider the non `#undef'
! 4188: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 4189: # Work around the forget-to-reset-the-flag bug.
! 4190: echo 't clr' >>$CONFIG_STATUS
! 4191: echo ': clr' >>$CONFIG_STATUS
! 4192: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 4193: echo 'CEOF
! 4194: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 4195: rm -f $tmp/in
! 4196: mv $tmp/out $tmp/in
! 4197: ' >>$CONFIG_STATUS
! 4198: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 4199: rm -f conftest.undefs
! 4200: mv conftest.tail conftest.undefs
! 4201: done
! 4202: rm -f conftest.undefs
! 4203:
! 4204: cat >>$CONFIG_STATUS <<\_ACEOF
! 4205: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 4206: # use $as_me), people would be surprised to read:
! 4207: # /* config.h. Generated by config.status. */
! 4208: if test x"$ac_file" = x-; then
! 4209: echo "/* Generated by configure. */" >$tmp/config.h
! 4210: else
! 4211: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 4212: fi
! 4213: cat $tmp/in >>$tmp/config.h
! 4214: rm -f $tmp/in
! 4215: if test x"$ac_file" != x-; then
! 4216: if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
! 4217: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 4218: echo "$as_me: $ac_file is unchanged" >&6;}
! 4219: else
! 4220: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 4221: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4222: X"$ac_file" : 'X\(//\)[^/]' \| \
! 4223: X"$ac_file" : 'X\(//\)$' \| \
! 4224: X"$ac_file" : 'X\(/\)' \| \
! 4225: . : '\(.\)' 2>/dev/null ||
! 4226: echo X"$ac_file" |
! 4227: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 4228: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 4229: /^X\(\/\/\)$/{ s//\1/; q; }
! 4230: /^X\(\/\).*/{ s//\1/; q; }
! 4231: s/.*/./; q'`
! 4232: { case "$ac_dir" in
! 4233: [\\/]* | ?:[\\/]* ) as_incr_dir=;;
! 4234: *) as_incr_dir=.;;
! 4235: esac
! 4236: as_dummy="$ac_dir"
! 4237: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
! 4238: case $as_mkdir_dir in
! 4239: # Skip DOS drivespec
! 4240: ?:) as_incr_dir=$as_mkdir_dir ;;
! 4241: *)
! 4242: as_incr_dir=$as_incr_dir/$as_mkdir_dir
! 4243: test -d "$as_incr_dir" ||
! 4244: mkdir "$as_incr_dir" ||
! 4245: { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! 4246: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
! 4247: { (exit 1); exit 1; }; }
! 4248: ;;
! 4249: esac
! 4250: done; }
! 4251:
! 4252: rm -f $ac_file
! 4253: mv $tmp/config.h $ac_file
! 4254: fi
! 4255: else
! 4256: cat $tmp/config.h
! 4257: rm -f $tmp/config.h
! 4258: fi
! 4259: done
! 4260: _ACEOF
! 4261:
! 4262: cat >>$CONFIG_STATUS <<\_ACEOF
! 4263:
! 4264: { (exit 0); exit 0; }
! 4265: _ACEOF
! 4266: chmod +x $CONFIG_STATUS
! 4267: ac_clean_files=$ac_clean_files_save
! 4268:
! 4269:
! 4270: # configure is writing to config.log, and then calls config.status.
! 4271: # config.status does its own redirection, appending to config.log.
! 4272: # Unfortunately, on DOS this fails, as config.log is still kept open
! 4273: # by configure, so config.status won't be able to write to it; its
! 4274: # output is simply discarded. So we exec the FD to /dev/null,
! 4275: # effectively closing config.log, so it can be properly (re)opened and
! 4276: # appended to by config.status. When coming back to configure, we
! 4277: # need to make the FD available again.
! 4278: if test "$no_create" != yes; then
! 4279: ac_cs_success=:
! 4280: exec 5>/dev/null
! 4281: $SHELL $CONFIG_STATUS || ac_cs_success=false
! 4282: exec 5>>config.log
! 4283: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 4284: # would make configure fail if this is the last instruction.
! 4285: $ac_cs_success || { (exit 1); exit 1; }
! 4286: fi
! 4287:
! 4288:
! 4289:
! 4290:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>