Annotation of embedaddon/trafshow/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.59.
! 4: #
! 5: # Copyright (C) 2003 Free Software Foundation, Inc.
! 6: # This configure script is free software; the Free Software Foundation
! 7: # gives unlimited permission to copy, distribute and modify it.
! 8: ## --------------------- ##
! 9: ## M4sh Initialization. ##
! 10: ## --------------------- ##
! 11:
! 12: # Be Bourne compatible
! 13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 14: emulate sh
! 15: NULLCMD=:
! 16: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 17: # is contrary to our usage. Disable this feature.
! 18: alias -g '${1+"$@"}'='"$@"'
! 19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 20: set -o posix
! 21: fi
! 22: DUALCASE=1; export DUALCASE # for MKS sh
! 23:
! 24: # Support unset when possible.
! 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 26: as_unset=unset
! 27: else
! 28: as_unset=false
! 29: fi
! 30:
! 31:
! 32: # Work around bugs in pre-3.0 UWIN ksh.
! 33: $as_unset ENV MAIL MAILPATH
! 34: PS1='$ '
! 35: PS2='> '
! 36: PS4='+ '
! 37:
! 38: # NLS nuisances.
! 39: for as_var in \
! 40: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 41: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 42: LC_TELEPHONE LC_TIME
! 43: do
! 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 45: eval $as_var=C; export $as_var
! 46: else
! 47: $as_unset $as_var
! 48: fi
! 49: done
! 50:
! 51: # Required to use basename.
! 52: if expr a : '\(a\)' >/dev/null 2>&1; then
! 53: as_expr=expr
! 54: else
! 55: as_expr=false
! 56: fi
! 57:
! 58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 59: as_basename=basename
! 60: else
! 61: as_basename=false
! 62: fi
! 63:
! 64:
! 65: # Name of the executable.
! 66: as_me=`$as_basename "$0" ||
! 67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 68: X"$0" : 'X\(//\)$' \| \
! 69: X"$0" : 'X\(/\)$' \| \
! 70: . : '\(.\)' 2>/dev/null ||
! 71: echo X/"$0" |
! 72: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 73: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 74: /^X\/\(\/\).*/{ s//\1/; q; }
! 75: s/.*/./; q'`
! 76:
! 77:
! 78: # PATH needs CR, and LINENO needs CR and PATH.
! 79: # Avoid depending upon Character Ranges.
! 80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 83: as_cr_digits='0123456789'
! 84: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 85:
! 86: # The user is always right.
! 87: if test "${PATH_SEPARATOR+set}" != set; then
! 88: echo "#! /bin/sh" >conf$$.sh
! 89: echo "exit 0" >>conf$$.sh
! 90: chmod +x conf$$.sh
! 91: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 92: PATH_SEPARATOR=';'
! 93: else
! 94: PATH_SEPARATOR=:
! 95: fi
! 96: rm -f conf$$.sh
! 97: fi
! 98:
! 99:
! 100: as_lineno_1=$LINENO
! 101: as_lineno_2=$LINENO
! 102: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 103: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 104: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 105: # Find who we are. Look in the path if we contain no path at all
! 106: # relative or not.
! 107: case $0 in
! 108: *[\\/]* ) as_myself=$0 ;;
! 109: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 110: for as_dir in $PATH
! 111: do
! 112: IFS=$as_save_IFS
! 113: test -z "$as_dir" && as_dir=.
! 114: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 115: done
! 116:
! 117: ;;
! 118: esac
! 119: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 120: # in which case we are not to be found in the path.
! 121: if test "x$as_myself" = x; then
! 122: as_myself=$0
! 123: fi
! 124: if test ! -f "$as_myself"; then
! 125: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
! 126: { (exit 1); exit 1; }; }
! 127: fi
! 128: case $CONFIG_SHELL in
! 129: '')
! 130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 132: do
! 133: IFS=$as_save_IFS
! 134: test -z "$as_dir" && as_dir=.
! 135: for as_base in sh bash ksh sh5; do
! 136: case $as_dir in
! 137: /*)
! 138: if ("$as_dir/$as_base" -c '
! 139: as_lineno_1=$LINENO
! 140: as_lineno_2=$LINENO
! 141: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 142: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 143: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 144: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 145: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 146: CONFIG_SHELL=$as_dir/$as_base
! 147: export CONFIG_SHELL
! 148: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 149: fi;;
! 150: esac
! 151: done
! 152: done
! 153: ;;
! 154: esac
! 155:
! 156: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 157: # uniformly replaced by the line number. The first 'sed' inserts a
! 158: # line-number line before each line; the second 'sed' does the real
! 159: # work. The second script uses 'N' to pair each line-number line
! 160: # with the numbered line, and appends trailing '-' during
! 161: # substitution so that $LINENO is not a special case at line end.
! 162: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 163: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 164: sed '=' <$as_myself |
! 165: sed '
! 166: N
! 167: s,$,-,
! 168: : loop
! 169: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 170: t loop
! 171: s,-$,,
! 172: s,^['$as_cr_digits']*\n,,
! 173: ' >$as_me.lineno &&
! 174: chmod +x $as_me.lineno ||
! 175: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 176: { (exit 1); exit 1; }; }
! 177:
! 178: # Don't try to exec as it changes $[0], causing all sort of problems
! 179: # (the dirname of $[0] is not the place where we might find the
! 180: # original and so on. Autoconf is especially sensible to this).
! 181: . ./$as_me.lineno
! 182: # Exit status is that of the last command.
! 183: exit
! 184: }
! 185:
! 186:
! 187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 188: *c*,-n*) ECHO_N= ECHO_C='
! 189: ' ECHO_T=' ' ;;
! 190: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 191: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 192: esac
! 193:
! 194: if expr a : '\(a\)' >/dev/null 2>&1; then
! 195: as_expr=expr
! 196: else
! 197: as_expr=false
! 198: fi
! 199:
! 200: rm -f conf$$ conf$$.exe conf$$.file
! 201: echo >conf$$.file
! 202: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 203: # We could just check for DJGPP; but this test a) works b) is more generic
! 204: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 205: if test -f conf$$.exe; then
! 206: # Don't use ln at all; we don't have any links
! 207: as_ln_s='cp -p'
! 208: else
! 209: as_ln_s='ln -s'
! 210: fi
! 211: elif ln conf$$.file conf$$ 2>/dev/null; then
! 212: as_ln_s=ln
! 213: else
! 214: as_ln_s='cp -p'
! 215: fi
! 216: rm -f conf$$ conf$$.exe conf$$.file
! 217:
! 218: if mkdir -p . 2>/dev/null; then
! 219: as_mkdir_p=:
! 220: else
! 221: test -d ./-p && rmdir ./-p
! 222: as_mkdir_p=false
! 223: fi
! 224:
! 225: as_executable_p="test -f"
! 226:
! 227: # Sed expression to map a string onto a valid CPP name.
! 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 229:
! 230: # Sed expression to map a string onto a valid variable name.
! 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 232:
! 233:
! 234: # IFS
! 235: # We need space, tab and new line, in precisely that order.
! 236: as_nl='
! 237: '
! 238: IFS=" $as_nl"
! 239:
! 240: # CDPATH.
! 241: $as_unset CDPATH
! 242:
! 243:
! 244: # Name of the host.
! 245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 246: # so uname gets run too.
! 247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 248:
! 249: exec 6>&1
! 250:
! 251: #
! 252: # Initializations.
! 253: #
! 254: ac_default_prefix=/usr/local
! 255: ac_config_libobj_dir=.
! 256: cross_compiling=no
! 257: subdirs=
! 258: MFLAGS=
! 259: MAKEFLAGS=
! 260: SHELL=${CONFIG_SHELL-/bin/sh}
! 261:
! 262: # Maximum number of lines to put in a shell here document.
! 263: # This variable seems obsolete. It should probably be removed, and
! 264: # only ac_max_sed_lines should be used.
! 265: : ${ac_max_here_lines=38}
! 266:
! 267: # Identity of this package.
! 268: PACKAGE_NAME=
! 269: PACKAGE_TARNAME=
! 270: PACKAGE_VERSION=
! 271: PACKAGE_STRING=
! 272: PACKAGE_BUGREPORT=
! 273:
! 274: ac_unique_file="trafshow.c"
! 275: # Factoring default headers for most tests.
! 276: ac_includes_default="\
! 277: #include <stdio.h>
! 278: #if HAVE_SYS_TYPES_H
! 279: # include <sys/types.h>
! 280: #endif
! 281: #if HAVE_SYS_STAT_H
! 282: # include <sys/stat.h>
! 283: #endif
! 284: #if STDC_HEADERS
! 285: # include <stdlib.h>
! 286: # include <stddef.h>
! 287: #else
! 288: # if HAVE_STDLIB_H
! 289: # include <stdlib.h>
! 290: # endif
! 291: #endif
! 292: #if HAVE_STRING_H
! 293: # if !STDC_HEADERS && HAVE_MEMORY_H
! 294: # include <memory.h>
! 295: # endif
! 296: # include <string.h>
! 297: #endif
! 298: #if HAVE_STRINGS_H
! 299: # include <strings.h>
! 300: #endif
! 301: #if HAVE_INTTYPES_H
! 302: # include <inttypes.h>
! 303: #else
! 304: # if HAVE_STDINT_H
! 305: # include <stdint.h>
! 306: # endif
! 307: #endif
! 308: #if HAVE_UNISTD_H
! 309: # include <unistd.h>
! 310: #endif"
! 311:
! 312: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS LIBOBJS LTLIBOBJS'
! 313: ac_subst_files=''
! 314:
! 315: # Initialize some variables set by options.
! 316: ac_init_help=
! 317: ac_init_version=false
! 318: # The variables have the same names as the options, with
! 319: # dashes changed to underlines.
! 320: cache_file=/dev/null
! 321: exec_prefix=NONE
! 322: no_create=
! 323: no_recursion=
! 324: prefix=NONE
! 325: program_prefix=NONE
! 326: program_suffix=NONE
! 327: program_transform_name=s,x,x,
! 328: silent=
! 329: site=
! 330: srcdir=
! 331: verbose=
! 332: x_includes=NONE
! 333: x_libraries=NONE
! 334:
! 335: # Installation directory options.
! 336: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 337: # and all the variables that are supposed to be based on exec_prefix
! 338: # by default will actually change.
! 339: # Use braces instead of parens because sh, perl, etc. also accept them.
! 340: bindir='${exec_prefix}/bin'
! 341: sbindir='${exec_prefix}/sbin'
! 342: libexecdir='${exec_prefix}/libexec'
! 343: datadir='${prefix}/share'
! 344: sysconfdir='${prefix}/etc'
! 345: sharedstatedir='${prefix}/com'
! 346: localstatedir='${prefix}/var'
! 347: libdir='${exec_prefix}/lib'
! 348: includedir='${prefix}/include'
! 349: oldincludedir='/usr/include'
! 350: infodir='${prefix}/info'
! 351: mandir='${prefix}/man'
! 352:
! 353: ac_prev=
! 354: for ac_option
! 355: do
! 356: # If the previous option needs an argument, assign it.
! 357: if test -n "$ac_prev"; then
! 358: eval "$ac_prev=\$ac_option"
! 359: ac_prev=
! 360: continue
! 361: fi
! 362:
! 363: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
! 364:
! 365: # Accept the important Cygnus configure options, so we can diagnose typos.
! 366:
! 367: case $ac_option in
! 368:
! 369: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 370: ac_prev=bindir ;;
! 371: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 372: bindir=$ac_optarg ;;
! 373:
! 374: -build | --build | --buil | --bui | --bu)
! 375: ac_prev=build_alias ;;
! 376: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 377: build_alias=$ac_optarg ;;
! 378:
! 379: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 380: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 381: ac_prev=cache_file ;;
! 382: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 383: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 384: cache_file=$ac_optarg ;;
! 385:
! 386: --config-cache | -C)
! 387: cache_file=config.cache ;;
! 388:
! 389: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 390: ac_prev=datadir ;;
! 391: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 392: | --da=*)
! 393: datadir=$ac_optarg ;;
! 394:
! 395: -disable-* | --disable-*)
! 396: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 397: # Reject names that are not valid shell variable names.
! 398: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 399: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 400: { (exit 1); exit 1; }; }
! 401: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 402: eval "enable_$ac_feature=no" ;;
! 403:
! 404: -enable-* | --enable-*)
! 405: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 406: # Reject names that are not valid shell variable names.
! 407: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 408: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 409: { (exit 1); exit 1; }; }
! 410: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 411: case $ac_option in
! 412: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 413: *) ac_optarg=yes ;;
! 414: esac
! 415: eval "enable_$ac_feature='$ac_optarg'" ;;
! 416:
! 417: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 418: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 419: | --exec | --exe | --ex)
! 420: ac_prev=exec_prefix ;;
! 421: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 422: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 423: | --exec=* | --exe=* | --ex=*)
! 424: exec_prefix=$ac_optarg ;;
! 425:
! 426: -gas | --gas | --ga | --g)
! 427: # Obsolete; use --with-gas.
! 428: with_gas=yes ;;
! 429:
! 430: -help | --help | --hel | --he | -h)
! 431: ac_init_help=long ;;
! 432: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 433: ac_init_help=recursive ;;
! 434: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 435: ac_init_help=short ;;
! 436:
! 437: -host | --host | --hos | --ho)
! 438: ac_prev=host_alias ;;
! 439: -host=* | --host=* | --hos=* | --ho=*)
! 440: host_alias=$ac_optarg ;;
! 441:
! 442: -includedir | --includedir | --includedi | --included | --include \
! 443: | --includ | --inclu | --incl | --inc)
! 444: ac_prev=includedir ;;
! 445: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 446: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 447: includedir=$ac_optarg ;;
! 448:
! 449: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 450: ac_prev=infodir ;;
! 451: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 452: infodir=$ac_optarg ;;
! 453:
! 454: -libdir | --libdir | --libdi | --libd)
! 455: ac_prev=libdir ;;
! 456: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 457: libdir=$ac_optarg ;;
! 458:
! 459: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 460: | --libexe | --libex | --libe)
! 461: ac_prev=libexecdir ;;
! 462: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 463: | --libexe=* | --libex=* | --libe=*)
! 464: libexecdir=$ac_optarg ;;
! 465:
! 466: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 467: | --localstate | --localstat | --localsta | --localst \
! 468: | --locals | --local | --loca | --loc | --lo)
! 469: ac_prev=localstatedir ;;
! 470: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 471: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 472: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 473: localstatedir=$ac_optarg ;;
! 474:
! 475: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 476: ac_prev=mandir ;;
! 477: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 478: mandir=$ac_optarg ;;
! 479:
! 480: -nfp | --nfp | --nf)
! 481: # Obsolete; use --without-fp.
! 482: with_fp=no ;;
! 483:
! 484: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 485: | --no-cr | --no-c | -n)
! 486: no_create=yes ;;
! 487:
! 488: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 489: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 490: no_recursion=yes ;;
! 491:
! 492: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 493: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 494: | --oldin | --oldi | --old | --ol | --o)
! 495: ac_prev=oldincludedir ;;
! 496: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 497: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 498: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 499: oldincludedir=$ac_optarg ;;
! 500:
! 501: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 502: ac_prev=prefix ;;
! 503: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 504: prefix=$ac_optarg ;;
! 505:
! 506: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 507: | --program-pre | --program-pr | --program-p)
! 508: ac_prev=program_prefix ;;
! 509: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 510: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 511: program_prefix=$ac_optarg ;;
! 512:
! 513: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 514: | --program-suf | --program-su | --program-s)
! 515: ac_prev=program_suffix ;;
! 516: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 517: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 518: program_suffix=$ac_optarg ;;
! 519:
! 520: -program-transform-name | --program-transform-name \
! 521: | --program-transform-nam | --program-transform-na \
! 522: | --program-transform-n | --program-transform- \
! 523: | --program-transform | --program-transfor \
! 524: | --program-transfo | --program-transf \
! 525: | --program-trans | --program-tran \
! 526: | --progr-tra | --program-tr | --program-t)
! 527: ac_prev=program_transform_name ;;
! 528: -program-transform-name=* | --program-transform-name=* \
! 529: | --program-transform-nam=* | --program-transform-na=* \
! 530: | --program-transform-n=* | --program-transform-=* \
! 531: | --program-transform=* | --program-transfor=* \
! 532: | --program-transfo=* | --program-transf=* \
! 533: | --program-trans=* | --program-tran=* \
! 534: | --progr-tra=* | --program-tr=* | --program-t=*)
! 535: program_transform_name=$ac_optarg ;;
! 536:
! 537: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 538: | -silent | --silent | --silen | --sile | --sil)
! 539: silent=yes ;;
! 540:
! 541: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 542: ac_prev=sbindir ;;
! 543: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 544: | --sbi=* | --sb=*)
! 545: sbindir=$ac_optarg ;;
! 546:
! 547: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 548: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 549: | --sharedst | --shareds | --shared | --share | --shar \
! 550: | --sha | --sh)
! 551: ac_prev=sharedstatedir ;;
! 552: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 553: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 554: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 555: | --sha=* | --sh=*)
! 556: sharedstatedir=$ac_optarg ;;
! 557:
! 558: -site | --site | --sit)
! 559: ac_prev=site ;;
! 560: -site=* | --site=* | --sit=*)
! 561: site=$ac_optarg ;;
! 562:
! 563: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 564: ac_prev=srcdir ;;
! 565: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 566: srcdir=$ac_optarg ;;
! 567:
! 568: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 569: | --syscon | --sysco | --sysc | --sys | --sy)
! 570: ac_prev=sysconfdir ;;
! 571: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 572: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 573: sysconfdir=$ac_optarg ;;
! 574:
! 575: -target | --target | --targe | --targ | --tar | --ta | --t)
! 576: ac_prev=target_alias ;;
! 577: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 578: target_alias=$ac_optarg ;;
! 579:
! 580: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 581: verbose=yes ;;
! 582:
! 583: -version | --version | --versio | --versi | --vers | -V)
! 584: ac_init_version=: ;;
! 585:
! 586: -with-* | --with-*)
! 587: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 588: # Reject names that are not valid shell variable names.
! 589: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 590: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 591: { (exit 1); exit 1; }; }
! 592: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 593: case $ac_option in
! 594: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
! 595: *) ac_optarg=yes ;;
! 596: esac
! 597: eval "with_$ac_package='$ac_optarg'" ;;
! 598:
! 599: -without-* | --without-*)
! 600: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 601: # Reject names that are not valid shell variable names.
! 602: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 603: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 604: { (exit 1); exit 1; }; }
! 605: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 606: eval "with_$ac_package=no" ;;
! 607:
! 608: --x)
! 609: # Obsolete; use --with-x.
! 610: with_x=yes ;;
! 611:
! 612: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 613: | --x-incl | --x-inc | --x-in | --x-i)
! 614: ac_prev=x_includes ;;
! 615: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 616: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 617: x_includes=$ac_optarg ;;
! 618:
! 619: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 620: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 621: ac_prev=x_libraries ;;
! 622: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 623: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 624: x_libraries=$ac_optarg ;;
! 625:
! 626: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 627: Try \`$0 --help' for more information." >&2
! 628: { (exit 1); exit 1; }; }
! 629: ;;
! 630:
! 631: *=*)
! 632: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 633: # Reject names that are not valid shell variable names.
! 634: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 635: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 636: { (exit 1); exit 1; }; }
! 637: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 638: eval "$ac_envvar='$ac_optarg'"
! 639: export $ac_envvar ;;
! 640:
! 641: *)
! 642: # FIXME: should be removed in autoconf 3.0.
! 643: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 644: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 645: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 646: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 647: ;;
! 648:
! 649: esac
! 650: done
! 651:
! 652: if test -n "$ac_prev"; then
! 653: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 654: { echo "$as_me: error: missing argument to $ac_option" >&2
! 655: { (exit 1); exit 1; }; }
! 656: fi
! 657:
! 658: # Be sure to have absolute paths.
! 659: for ac_var in exec_prefix prefix
! 660: do
! 661: eval ac_val=$`echo $ac_var`
! 662: case $ac_val in
! 663: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 664: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 665: { (exit 1); exit 1; }; };;
! 666: esac
! 667: done
! 668:
! 669: # Be sure to have absolute paths.
! 670: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 671: localstatedir libdir includedir oldincludedir infodir mandir
! 672: do
! 673: eval ac_val=$`echo $ac_var`
! 674: case $ac_val in
! 675: [\\/$]* | ?:[\\/]* ) ;;
! 676: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 677: { (exit 1); exit 1; }; };;
! 678: esac
! 679: done
! 680:
! 681: # There might be people who depend on the old broken behavior: `$host'
! 682: # used to hold the argument of --host etc.
! 683: # FIXME: To remove some day.
! 684: build=$build_alias
! 685: host=$host_alias
! 686: target=$target_alias
! 687:
! 688: # FIXME: To remove some day.
! 689: if test "x$host_alias" != x; then
! 690: if test "x$build_alias" = x; then
! 691: cross_compiling=maybe
! 692: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 693: If a cross compiler is detected then cross compile mode will be used." >&2
! 694: elif test "x$build_alias" != "x$host_alias"; then
! 695: cross_compiling=yes
! 696: fi
! 697: fi
! 698:
! 699: ac_tool_prefix=
! 700: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 701:
! 702: test "$silent" = yes && exec 6>/dev/null
! 703:
! 704:
! 705: # Find the source files, if location was not specified.
! 706: if test -z "$srcdir"; then
! 707: ac_srcdir_defaulted=yes
! 708: # Try the directory containing this script, then its parent.
! 709: ac_confdir=`(dirname "$0") 2>/dev/null ||
! 710: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 711: X"$0" : 'X\(//\)[^/]' \| \
! 712: X"$0" : 'X\(//\)$' \| \
! 713: X"$0" : 'X\(/\)' \| \
! 714: . : '\(.\)' 2>/dev/null ||
! 715: echo X"$0" |
! 716: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 717: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 718: /^X\(\/\/\)$/{ s//\1/; q; }
! 719: /^X\(\/\).*/{ s//\1/; q; }
! 720: s/.*/./; q'`
! 721: srcdir=$ac_confdir
! 722: if test ! -r $srcdir/$ac_unique_file; then
! 723: srcdir=..
! 724: fi
! 725: else
! 726: ac_srcdir_defaulted=no
! 727: fi
! 728: if test ! -r $srcdir/$ac_unique_file; then
! 729: if test "$ac_srcdir_defaulted" = yes; then
! 730: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 731: { (exit 1); exit 1; }; }
! 732: else
! 733: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 734: { (exit 1); exit 1; }; }
! 735: fi
! 736: fi
! 737: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
! 738: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
! 739: { (exit 1); exit 1; }; }
! 740: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 741: ac_env_build_alias_set=${build_alias+set}
! 742: ac_env_build_alias_value=$build_alias
! 743: ac_cv_env_build_alias_set=${build_alias+set}
! 744: ac_cv_env_build_alias_value=$build_alias
! 745: ac_env_host_alias_set=${host_alias+set}
! 746: ac_env_host_alias_value=$host_alias
! 747: ac_cv_env_host_alias_set=${host_alias+set}
! 748: ac_cv_env_host_alias_value=$host_alias
! 749: ac_env_target_alias_set=${target_alias+set}
! 750: ac_env_target_alias_value=$target_alias
! 751: ac_cv_env_target_alias_set=${target_alias+set}
! 752: ac_cv_env_target_alias_value=$target_alias
! 753: ac_env_CC_set=${CC+set}
! 754: ac_env_CC_value=$CC
! 755: ac_cv_env_CC_set=${CC+set}
! 756: ac_cv_env_CC_value=$CC
! 757: ac_env_CFLAGS_set=${CFLAGS+set}
! 758: ac_env_CFLAGS_value=$CFLAGS
! 759: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 760: ac_cv_env_CFLAGS_value=$CFLAGS
! 761: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 762: ac_env_LDFLAGS_value=$LDFLAGS
! 763: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 764: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 765: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 766: ac_env_CPPFLAGS_value=$CPPFLAGS
! 767: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 768: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 769: ac_env_CPP_set=${CPP+set}
! 770: ac_env_CPP_value=$CPP
! 771: ac_cv_env_CPP_set=${CPP+set}
! 772: ac_cv_env_CPP_value=$CPP
! 773:
! 774: #
! 775: # Report the --help message.
! 776: #
! 777: if test "$ac_init_help" = "long"; then
! 778: # Omit some internal or obsolete options to make the list less imposing.
! 779: # This message is too long to be a string in the A/UX 3.1 sh.
! 780: cat <<_ACEOF
! 781: \`configure' configures this package to adapt to many kinds of systems.
! 782:
! 783: Usage: $0 [OPTION]... [VAR=VALUE]...
! 784:
! 785: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 786: VAR=VALUE. See below for descriptions of some of the useful variables.
! 787:
! 788: Defaults for the options are specified in brackets.
! 789:
! 790: Configuration:
! 791: -h, --help display this help and exit
! 792: --help=short display options specific to this package
! 793: --help=recursive display the short help of all the included packages
! 794: -V, --version display version information and exit
! 795: -q, --quiet, --silent do not print \`checking...' messages
! 796: --cache-file=FILE cache test results in FILE [disabled]
! 797: -C, --config-cache alias for \`--cache-file=config.cache'
! 798: -n, --no-create do not create output files
! 799: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 800:
! 801: _ACEOF
! 802:
! 803: cat <<_ACEOF
! 804: Installation directories:
! 805: --prefix=PREFIX install architecture-independent files in PREFIX
! 806: [$ac_default_prefix]
! 807: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 808: [PREFIX]
! 809:
! 810: By default, \`make install' will install all the files in
! 811: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 812: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 813: for instance \`--prefix=\$HOME'.
! 814:
! 815: For better control, use the options below.
! 816:
! 817: Fine tuning of the installation directories:
! 818: --bindir=DIR user executables [EPREFIX/bin]
! 819: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 820: --libexecdir=DIR program executables [EPREFIX/libexec]
! 821: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 822: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 823: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 824: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 825: --libdir=DIR object code libraries [EPREFIX/lib]
! 826: --includedir=DIR C header files [PREFIX/include]
! 827: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 828: --infodir=DIR info documentation [PREFIX/info]
! 829: --mandir=DIR man documentation [PREFIX/man]
! 830: _ACEOF
! 831:
! 832: cat <<\_ACEOF
! 833:
! 834: System types:
! 835: --build=BUILD configure for building on BUILD [guessed]
! 836: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 837: --target=TARGET configure for building compilers for TARGET [HOST]
! 838: _ACEOF
! 839: fi
! 840:
! 841: if test -n "$ac_init_help"; then
! 842:
! 843: cat <<\_ACEOF
! 844:
! 845: Some influential environment variables:
! 846: CC C compiler command
! 847: CFLAGS C compiler flags
! 848: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 849: nonstandard directory <lib dir>
! 850: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 851: headers in a nonstandard directory <include dir>
! 852: CPP C preprocessor
! 853:
! 854: Use these variables to override the choices made by `configure' or to help
! 855: it to find libraries and programs with nonstandard names/locations.
! 856:
! 857: _ACEOF
! 858: fi
! 859:
! 860: if test "$ac_init_help" = "recursive"; then
! 861: # If there are subdirs, report their specific --help.
! 862: ac_popdir=`pwd`
! 863: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 864: test -d $ac_dir || continue
! 865: ac_builddir=.
! 866:
! 867: if test "$ac_dir" != .; then
! 868: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 869: # A "../" for each directory in $ac_dir_suffix.
! 870: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 871: else
! 872: ac_dir_suffix= ac_top_builddir=
! 873: fi
! 874:
! 875: case $srcdir in
! 876: .) # No --srcdir option. We are building in place.
! 877: ac_srcdir=.
! 878: if test -z "$ac_top_builddir"; then
! 879: ac_top_srcdir=.
! 880: else
! 881: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 882: fi ;;
! 883: [\\/]* | ?:[\\/]* ) # Absolute path.
! 884: ac_srcdir=$srcdir$ac_dir_suffix;
! 885: ac_top_srcdir=$srcdir ;;
! 886: *) # Relative path.
! 887: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 888: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 889: esac
! 890:
! 891: # Do not use `cd foo && pwd` to compute absolute paths, because
! 892: # the directories may not exist.
! 893: case `pwd` in
! 894: .) ac_abs_builddir="$ac_dir";;
! 895: *)
! 896: case "$ac_dir" in
! 897: .) ac_abs_builddir=`pwd`;;
! 898: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 899: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 900: esac;;
! 901: esac
! 902: case $ac_abs_builddir in
! 903: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 904: *)
! 905: case ${ac_top_builddir}. in
! 906: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 907: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 908: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 909: esac;;
! 910: esac
! 911: case $ac_abs_builddir in
! 912: .) ac_abs_srcdir=$ac_srcdir;;
! 913: *)
! 914: case $ac_srcdir in
! 915: .) ac_abs_srcdir=$ac_abs_builddir;;
! 916: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 917: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 918: esac;;
! 919: esac
! 920: case $ac_abs_builddir in
! 921: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 922: *)
! 923: case $ac_top_srcdir in
! 924: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 925: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 926: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 927: esac;;
! 928: esac
! 929:
! 930: cd $ac_dir
! 931: # Check for guested configure; otherwise get Cygnus style configure.
! 932: if test -f $ac_srcdir/configure.gnu; then
! 933: echo
! 934: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 935: elif test -f $ac_srcdir/configure; then
! 936: echo
! 937: $SHELL $ac_srcdir/configure --help=recursive
! 938: elif test -f $ac_srcdir/configure.ac ||
! 939: test -f $ac_srcdir/configure.in; then
! 940: echo
! 941: $ac_configure --help
! 942: else
! 943: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 944: fi
! 945: cd "$ac_popdir"
! 946: done
! 947: fi
! 948:
! 949: test -n "$ac_init_help" && exit 0
! 950: if $ac_init_version; then
! 951: cat <<\_ACEOF
! 952:
! 953: Copyright (C) 2003 Free Software Foundation, Inc.
! 954: This configure script is free software; the Free Software Foundation
! 955: gives unlimited permission to copy, distribute and modify it.
! 956: _ACEOF
! 957: exit 0
! 958: fi
! 959: exec 5>config.log
! 960: cat >&5 <<_ACEOF
! 961: This file contains any messages produced by compilers while
! 962: running configure, to aid debugging if configure makes a mistake.
! 963:
! 964: It was created by $as_me, which was
! 965: generated by GNU Autoconf 2.59. Invocation command line was
! 966:
! 967: $ $0 $@
! 968:
! 969: _ACEOF
! 970: {
! 971: cat <<_ASUNAME
! 972: ## --------- ##
! 973: ## Platform. ##
! 974: ## --------- ##
! 975:
! 976: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 977: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 978: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 979: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 980: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 981:
! 982: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 983: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 984:
! 985: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 986: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 987: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 988: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 989: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 990: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 991: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 992:
! 993: _ASUNAME
! 994:
! 995: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 996: for as_dir in $PATH
! 997: do
! 998: IFS=$as_save_IFS
! 999: test -z "$as_dir" && as_dir=.
! 1000: echo "PATH: $as_dir"
! 1001: done
! 1002:
! 1003: } >&5
! 1004:
! 1005: cat >&5 <<_ACEOF
! 1006:
! 1007:
! 1008: ## ----------- ##
! 1009: ## Core tests. ##
! 1010: ## ----------- ##
! 1011:
! 1012: _ACEOF
! 1013:
! 1014:
! 1015: # Keep a trace of the command line.
! 1016: # Strip out --no-create and --no-recursion so they do not pile up.
! 1017: # Strip out --silent because we don't want to record it for future runs.
! 1018: # Also quote any args containing shell meta-characters.
! 1019: # Make two passes to allow for proper duplicate-argument suppression.
! 1020: ac_configure_args=
! 1021: ac_configure_args0=
! 1022: ac_configure_args1=
! 1023: ac_sep=
! 1024: ac_must_keep_next=false
! 1025: for ac_pass in 1 2
! 1026: do
! 1027: for ac_arg
! 1028: do
! 1029: case $ac_arg in
! 1030: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1031: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1032: | -silent | --silent | --silen | --sile | --sil)
! 1033: continue ;;
! 1034: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1035: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1036: esac
! 1037: case $ac_pass in
! 1038: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1039: 2)
! 1040: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1041: if test $ac_must_keep_next = true; then
! 1042: ac_must_keep_next=false # Got value, back to normal.
! 1043: else
! 1044: case $ac_arg in
! 1045: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1046: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1047: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1048: | -with-* | --with-* | -without-* | --without-* | --x)
! 1049: case "$ac_configure_args0 " in
! 1050: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1051: esac
! 1052: ;;
! 1053: -* ) ac_must_keep_next=true ;;
! 1054: esac
! 1055: fi
! 1056: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 1057: # Get rid of the leading space.
! 1058: ac_sep=" "
! 1059: ;;
! 1060: esac
! 1061: done
! 1062: done
! 1063: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1064: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1065:
! 1066: # When interrupted or exit'd, cleanup temporary files, and complete
! 1067: # config.log. We remove comments because anyway the quotes in there
! 1068: # would cause problems or look ugly.
! 1069: # WARNING: Be sure not to use single quotes in there, as some shells,
! 1070: # such as our DU 5.0 friend, will then `close' the trap.
! 1071: trap 'exit_status=$?
! 1072: # Save into config.log some information that might help in debugging.
! 1073: {
! 1074: echo
! 1075:
! 1076: cat <<\_ASBOX
! 1077: ## ---------------- ##
! 1078: ## Cache variables. ##
! 1079: ## ---------------- ##
! 1080: _ASBOX
! 1081: echo
! 1082: # The following way of writing the cache mishandles newlines in values,
! 1083: {
! 1084: (set) 2>&1 |
! 1085: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 1086: *ac_space=\ *)
! 1087: sed -n \
! 1088: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 1089: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 1090: ;;
! 1091: *)
! 1092: sed -n \
! 1093: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 1094: ;;
! 1095: esac;
! 1096: }
! 1097: echo
! 1098:
! 1099: cat <<\_ASBOX
! 1100: ## ----------------- ##
! 1101: ## Output variables. ##
! 1102: ## ----------------- ##
! 1103: _ASBOX
! 1104: echo
! 1105: for ac_var in $ac_subst_vars
! 1106: do
! 1107: eval ac_val=$`echo $ac_var`
! 1108: echo "$ac_var='"'"'$ac_val'"'"'"
! 1109: done | sort
! 1110: echo
! 1111:
! 1112: if test -n "$ac_subst_files"; then
! 1113: cat <<\_ASBOX
! 1114: ## ------------- ##
! 1115: ## Output files. ##
! 1116: ## ------------- ##
! 1117: _ASBOX
! 1118: echo
! 1119: for ac_var in $ac_subst_files
! 1120: do
! 1121: eval ac_val=$`echo $ac_var`
! 1122: echo "$ac_var='"'"'$ac_val'"'"'"
! 1123: done | sort
! 1124: echo
! 1125: fi
! 1126:
! 1127: if test -s confdefs.h; then
! 1128: cat <<\_ASBOX
! 1129: ## ----------- ##
! 1130: ## confdefs.h. ##
! 1131: ## ----------- ##
! 1132: _ASBOX
! 1133: echo
! 1134: sed "/^$/d" confdefs.h | sort
! 1135: echo
! 1136: fi
! 1137: test "$ac_signal" != 0 &&
! 1138: echo "$as_me: caught signal $ac_signal"
! 1139: echo "$as_me: exit $exit_status"
! 1140: } >&5
! 1141: rm -f core *.core &&
! 1142: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1143: exit $exit_status
! 1144: ' 0
! 1145: for ac_signal in 1 2 13 15; do
! 1146: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1147: done
! 1148: ac_signal=0
! 1149:
! 1150: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1151: rm -rf conftest* confdefs.h
! 1152: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1153: echo >confdefs.h
! 1154:
! 1155: # Predefined preprocessor variables.
! 1156:
! 1157: cat >>confdefs.h <<_ACEOF
! 1158: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1159: _ACEOF
! 1160:
! 1161:
! 1162: cat >>confdefs.h <<_ACEOF
! 1163: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1164: _ACEOF
! 1165:
! 1166:
! 1167: cat >>confdefs.h <<_ACEOF
! 1168: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1169: _ACEOF
! 1170:
! 1171:
! 1172: cat >>confdefs.h <<_ACEOF
! 1173: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1174: _ACEOF
! 1175:
! 1176:
! 1177: cat >>confdefs.h <<_ACEOF
! 1178: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1179: _ACEOF
! 1180:
! 1181:
! 1182: # Let the site file select an alternate cache file if it wants to.
! 1183: # Prefer explicitly selected file to automatically selected ones.
! 1184: if test -z "$CONFIG_SITE"; then
! 1185: if test "x$prefix" != xNONE; then
! 1186: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 1187: else
! 1188: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 1189: fi
! 1190: fi
! 1191: for ac_site_file in $CONFIG_SITE; do
! 1192: if test -r "$ac_site_file"; then
! 1193: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1194: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1195: sed 's/^/| /' "$ac_site_file" >&5
! 1196: . "$ac_site_file"
! 1197: fi
! 1198: done
! 1199:
! 1200: if test -r "$cache_file"; then
! 1201: # Some versions of bash will fail to source /dev/null (special
! 1202: # files actually), so we avoid doing that.
! 1203: if test -f "$cache_file"; then
! 1204: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1205: echo "$as_me: loading cache $cache_file" >&6;}
! 1206: case $cache_file in
! 1207: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1208: *) . ./$cache_file;;
! 1209: esac
! 1210: fi
! 1211: else
! 1212: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1213: echo "$as_me: creating cache $cache_file" >&6;}
! 1214: >$cache_file
! 1215: fi
! 1216:
! 1217: # Check that the precious variables saved in the cache have kept the same
! 1218: # value.
! 1219: ac_cache_corrupted=false
! 1220: for ac_var in `(set) 2>&1 |
! 1221: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1222: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1223: eval ac_new_set=\$ac_env_${ac_var}_set
! 1224: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1225: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1226: case $ac_old_set,$ac_new_set in
! 1227: set,)
! 1228: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1229: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1230: ac_cache_corrupted=: ;;
! 1231: ,set)
! 1232: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1233: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1234: ac_cache_corrupted=: ;;
! 1235: ,);;
! 1236: *)
! 1237: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1238: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1239: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1240: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1241: echo "$as_me: former value: $ac_old_val" >&2;}
! 1242: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1243: echo "$as_me: current value: $ac_new_val" >&2;}
! 1244: ac_cache_corrupted=:
! 1245: fi;;
! 1246: esac
! 1247: # Pass precious variables to config.status.
! 1248: if test "$ac_new_set" = set; then
! 1249: case $ac_new_val in
! 1250: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1251: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1252: *) ac_arg=$ac_var=$ac_new_val ;;
! 1253: esac
! 1254: case " $ac_configure_args " in
! 1255: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1256: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1257: esac
! 1258: fi
! 1259: done
! 1260: if $ac_cache_corrupted; then
! 1261: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1262: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1263: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1264: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1265: { (exit 1); exit 1; }; }
! 1266: fi
! 1267:
! 1268: ac_ext=c
! 1269: ac_cpp='$CPP $CPPFLAGS'
! 1270: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1271: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1272: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1273:
! 1274:
! 1275:
! 1276:
! 1277:
! 1278:
! 1279:
! 1280:
! 1281:
! 1282:
! 1283:
! 1284:
! 1285:
! 1286:
! 1287:
! 1288:
! 1289:
! 1290:
! 1291:
! 1292: ac_config_headers="$ac_config_headers config.h"
! 1293:
! 1294:
! 1295: ac_aux_dir=
! 1296: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
! 1297: if test -f $ac_dir/install-sh; then
! 1298: ac_aux_dir=$ac_dir
! 1299: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1300: break
! 1301: elif test -f $ac_dir/install.sh; then
! 1302: ac_aux_dir=$ac_dir
! 1303: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1304: break
! 1305: elif test -f $ac_dir/shtool; then
! 1306: ac_aux_dir=$ac_dir
! 1307: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1308: break
! 1309: fi
! 1310: done
! 1311: if test -z "$ac_aux_dir"; then
! 1312: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
! 1313: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
! 1314: { (exit 1); exit 1; }; }
! 1315: fi
! 1316: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1317: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1318: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
! 1319:
! 1320: # Make sure we can run config.sub.
! 1321: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 1322: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! 1323: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 1324: { (exit 1); exit 1; }; }
! 1325:
! 1326: echo "$as_me:$LINENO: checking build system type" >&5
! 1327: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 1328: if test "${ac_cv_build+set}" = set; then
! 1329: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1330: else
! 1331: ac_cv_build_alias=$build_alias
! 1332: test -z "$ac_cv_build_alias" &&
! 1333: ac_cv_build_alias=`$ac_config_guess`
! 1334: test -z "$ac_cv_build_alias" &&
! 1335: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 1336: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 1337: { (exit 1); exit 1; }; }
! 1338: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 1339: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
! 1340: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! 1341: { (exit 1); exit 1; }; }
! 1342:
! 1343: fi
! 1344: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 1345: echo "${ECHO_T}$ac_cv_build" >&6
! 1346: build=$ac_cv_build
! 1347: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1348: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1349: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1350:
! 1351:
! 1352: echo "$as_me:$LINENO: checking host system type" >&5
! 1353: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 1354: if test "${ac_cv_host+set}" = set; then
! 1355: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1356: else
! 1357: ac_cv_host_alias=$host_alias
! 1358: test -z "$ac_cv_host_alias" &&
! 1359: ac_cv_host_alias=$ac_cv_build_alias
! 1360: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 1361: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 1362: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 1363: { (exit 1); exit 1; }; }
! 1364:
! 1365: fi
! 1366: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 1367: echo "${ECHO_T}$ac_cv_host" >&6
! 1368: host=$ac_cv_host
! 1369: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1370: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1371: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1372:
! 1373:
! 1374: echo "$as_me:$LINENO: checking target system type" >&5
! 1375: echo $ECHO_N "checking target system type... $ECHO_C" >&6
! 1376: if test "${ac_cv_target+set}" = set; then
! 1377: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1378: else
! 1379: ac_cv_target_alias=$target_alias
! 1380: test "x$ac_cv_target_alias" = "x" &&
! 1381: ac_cv_target_alias=$ac_cv_host_alias
! 1382: ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
! 1383: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
! 1384: echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
! 1385: { (exit 1); exit 1; }; }
! 1386:
! 1387: fi
! 1388: echo "$as_me:$LINENO: result: $ac_cv_target" >&5
! 1389: echo "${ECHO_T}$ac_cv_target" >&6
! 1390: target=$ac_cv_target
! 1391: target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1392: target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1393: target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1394:
! 1395:
! 1396: # The aliases save the names the user supplied, while $host etc.
! 1397: # will get canonicalized.
! 1398: test -n "$target_alias" &&
! 1399: test "$program_prefix$program_suffix$program_transform_name" = \
! 1400: NONENONEs,x,x, &&
! 1401: program_prefix=${target_alias}-
! 1402:
! 1403: ac_ext=c
! 1404: ac_cpp='$CPP $CPPFLAGS'
! 1405: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1406: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1407: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1408: if test -n "$ac_tool_prefix"; then
! 1409: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1410: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1411: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1412: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1413: if test "${ac_cv_prog_CC+set}" = set; then
! 1414: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1415: else
! 1416: if test -n "$CC"; then
! 1417: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1418: else
! 1419: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1420: for as_dir in $PATH
! 1421: do
! 1422: IFS=$as_save_IFS
! 1423: test -z "$as_dir" && as_dir=.
! 1424: for ac_exec_ext in '' $ac_executable_extensions; do
! 1425: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1426: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1427: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1428: break 2
! 1429: fi
! 1430: done
! 1431: done
! 1432:
! 1433: fi
! 1434: fi
! 1435: CC=$ac_cv_prog_CC
! 1436: if test -n "$CC"; then
! 1437: echo "$as_me:$LINENO: result: $CC" >&5
! 1438: echo "${ECHO_T}$CC" >&6
! 1439: else
! 1440: echo "$as_me:$LINENO: result: no" >&5
! 1441: echo "${ECHO_T}no" >&6
! 1442: fi
! 1443:
! 1444: fi
! 1445: if test -z "$ac_cv_prog_CC"; then
! 1446: ac_ct_CC=$CC
! 1447: # Extract the first word of "gcc", so it can be a program name with args.
! 1448: set dummy gcc; ac_word=$2
! 1449: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1450: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1451: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1452: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1453: else
! 1454: if test -n "$ac_ct_CC"; then
! 1455: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1456: else
! 1457: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1458: for as_dir in $PATH
! 1459: do
! 1460: IFS=$as_save_IFS
! 1461: test -z "$as_dir" && as_dir=.
! 1462: for ac_exec_ext in '' $ac_executable_extensions; do
! 1463: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1464: ac_cv_prog_ac_ct_CC="gcc"
! 1465: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1466: break 2
! 1467: fi
! 1468: done
! 1469: done
! 1470:
! 1471: fi
! 1472: fi
! 1473: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1474: if test -n "$ac_ct_CC"; then
! 1475: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1476: echo "${ECHO_T}$ac_ct_CC" >&6
! 1477: else
! 1478: echo "$as_me:$LINENO: result: no" >&5
! 1479: echo "${ECHO_T}no" >&6
! 1480: fi
! 1481:
! 1482: CC=$ac_ct_CC
! 1483: else
! 1484: CC="$ac_cv_prog_CC"
! 1485: fi
! 1486:
! 1487: if test -z "$CC"; then
! 1488: if test -n "$ac_tool_prefix"; then
! 1489: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1490: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1491: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1492: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1493: if test "${ac_cv_prog_CC+set}" = set; then
! 1494: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1495: else
! 1496: if test -n "$CC"; then
! 1497: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1498: else
! 1499: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1500: for as_dir in $PATH
! 1501: do
! 1502: IFS=$as_save_IFS
! 1503: test -z "$as_dir" && as_dir=.
! 1504: for ac_exec_ext in '' $ac_executable_extensions; do
! 1505: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1506: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1507: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1508: break 2
! 1509: fi
! 1510: done
! 1511: done
! 1512:
! 1513: fi
! 1514: fi
! 1515: CC=$ac_cv_prog_CC
! 1516: if test -n "$CC"; then
! 1517: echo "$as_me:$LINENO: result: $CC" >&5
! 1518: echo "${ECHO_T}$CC" >&6
! 1519: else
! 1520: echo "$as_me:$LINENO: result: no" >&5
! 1521: echo "${ECHO_T}no" >&6
! 1522: fi
! 1523:
! 1524: fi
! 1525: if test -z "$ac_cv_prog_CC"; then
! 1526: ac_ct_CC=$CC
! 1527: # Extract the first word of "cc", so it can be a program name with args.
! 1528: set dummy cc; ac_word=$2
! 1529: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1530: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1531: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1532: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1533: else
! 1534: if test -n "$ac_ct_CC"; then
! 1535: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1536: else
! 1537: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1538: for as_dir in $PATH
! 1539: do
! 1540: IFS=$as_save_IFS
! 1541: test -z "$as_dir" && as_dir=.
! 1542: for ac_exec_ext in '' $ac_executable_extensions; do
! 1543: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1544: ac_cv_prog_ac_ct_CC="cc"
! 1545: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1546: break 2
! 1547: fi
! 1548: done
! 1549: done
! 1550:
! 1551: fi
! 1552: fi
! 1553: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1554: if test -n "$ac_ct_CC"; then
! 1555: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1556: echo "${ECHO_T}$ac_ct_CC" >&6
! 1557: else
! 1558: echo "$as_me:$LINENO: result: no" >&5
! 1559: echo "${ECHO_T}no" >&6
! 1560: fi
! 1561:
! 1562: CC=$ac_ct_CC
! 1563: else
! 1564: CC="$ac_cv_prog_CC"
! 1565: fi
! 1566:
! 1567: fi
! 1568: if test -z "$CC"; then
! 1569: # Extract the first word of "cc", so it can be a program name with args.
! 1570: set dummy cc; ac_word=$2
! 1571: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1572: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1573: if test "${ac_cv_prog_CC+set}" = set; then
! 1574: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1575: else
! 1576: if test -n "$CC"; then
! 1577: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1578: else
! 1579: ac_prog_rejected=no
! 1580: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1581: for as_dir in $PATH
! 1582: do
! 1583: IFS=$as_save_IFS
! 1584: test -z "$as_dir" && as_dir=.
! 1585: for ac_exec_ext in '' $ac_executable_extensions; do
! 1586: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1587: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 1588: ac_prog_rejected=yes
! 1589: continue
! 1590: fi
! 1591: ac_cv_prog_CC="cc"
! 1592: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1593: break 2
! 1594: fi
! 1595: done
! 1596: done
! 1597:
! 1598: if test $ac_prog_rejected = yes; then
! 1599: # We found a bogon in the path, so make sure we never use it.
! 1600: set dummy $ac_cv_prog_CC
! 1601: shift
! 1602: if test $# != 0; then
! 1603: # We chose a different compiler from the bogus one.
! 1604: # However, it has the same basename, so the bogon will be chosen
! 1605: # first if we set CC to just the basename; use the full file name.
! 1606: shift
! 1607: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 1608: fi
! 1609: fi
! 1610: fi
! 1611: fi
! 1612: CC=$ac_cv_prog_CC
! 1613: if test -n "$CC"; then
! 1614: echo "$as_me:$LINENO: result: $CC" >&5
! 1615: echo "${ECHO_T}$CC" >&6
! 1616: else
! 1617: echo "$as_me:$LINENO: result: no" >&5
! 1618: echo "${ECHO_T}no" >&6
! 1619: fi
! 1620:
! 1621: fi
! 1622: if test -z "$CC"; then
! 1623: if test -n "$ac_tool_prefix"; then
! 1624: for ac_prog in cl
! 1625: do
! 1626: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1627: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1628: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1629: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1630: if test "${ac_cv_prog_CC+set}" = set; then
! 1631: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1632: else
! 1633: if test -n "$CC"; then
! 1634: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1635: else
! 1636: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1637: for as_dir in $PATH
! 1638: do
! 1639: IFS=$as_save_IFS
! 1640: test -z "$as_dir" && as_dir=.
! 1641: for ac_exec_ext in '' $ac_executable_extensions; do
! 1642: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1643: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 1644: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1645: break 2
! 1646: fi
! 1647: done
! 1648: done
! 1649:
! 1650: fi
! 1651: fi
! 1652: CC=$ac_cv_prog_CC
! 1653: if test -n "$CC"; then
! 1654: echo "$as_me:$LINENO: result: $CC" >&5
! 1655: echo "${ECHO_T}$CC" >&6
! 1656: else
! 1657: echo "$as_me:$LINENO: result: no" >&5
! 1658: echo "${ECHO_T}no" >&6
! 1659: fi
! 1660:
! 1661: test -n "$CC" && break
! 1662: done
! 1663: fi
! 1664: if test -z "$CC"; then
! 1665: ac_ct_CC=$CC
! 1666: for ac_prog in cl
! 1667: do
! 1668: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1669: set dummy $ac_prog; ac_word=$2
! 1670: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1671: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1672: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1673: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1674: else
! 1675: if test -n "$ac_ct_CC"; then
! 1676: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1677: else
! 1678: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1679: for as_dir in $PATH
! 1680: do
! 1681: IFS=$as_save_IFS
! 1682: test -z "$as_dir" && as_dir=.
! 1683: for ac_exec_ext in '' $ac_executable_extensions; do
! 1684: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1685: ac_cv_prog_ac_ct_CC="$ac_prog"
! 1686: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1687: break 2
! 1688: fi
! 1689: done
! 1690: done
! 1691:
! 1692: fi
! 1693: fi
! 1694: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1695: if test -n "$ac_ct_CC"; then
! 1696: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1697: echo "${ECHO_T}$ac_ct_CC" >&6
! 1698: else
! 1699: echo "$as_me:$LINENO: result: no" >&5
! 1700: echo "${ECHO_T}no" >&6
! 1701: fi
! 1702:
! 1703: test -n "$ac_ct_CC" && break
! 1704: done
! 1705:
! 1706: CC=$ac_ct_CC
! 1707: fi
! 1708:
! 1709: fi
! 1710:
! 1711:
! 1712: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 1713: See \`config.log' for more details." >&5
! 1714: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 1715: See \`config.log' for more details." >&2;}
! 1716: { (exit 1); exit 1; }; }
! 1717:
! 1718: # Provide some information about the compiler.
! 1719: echo "$as_me:$LINENO:" \
! 1720: "checking for C compiler version" >&5
! 1721: ac_compiler=`set X $ac_compile; echo $2`
! 1722: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 1723: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 1724: ac_status=$?
! 1725: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1726: (exit $ac_status); }
! 1727: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 1728: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 1729: ac_status=$?
! 1730: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1731: (exit $ac_status); }
! 1732: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 1733: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 1734: ac_status=$?
! 1735: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1736: (exit $ac_status); }
! 1737:
! 1738: cat >conftest.$ac_ext <<_ACEOF
! 1739: /* confdefs.h. */
! 1740: _ACEOF
! 1741: cat confdefs.h >>conftest.$ac_ext
! 1742: cat >>conftest.$ac_ext <<_ACEOF
! 1743: /* end confdefs.h. */
! 1744:
! 1745: int
! 1746: main ()
! 1747: {
! 1748:
! 1749: ;
! 1750: return 0;
! 1751: }
! 1752: _ACEOF
! 1753: ac_clean_files_save=$ac_clean_files
! 1754: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 1755: # Try to create an executable without -o first, disregard a.out.
! 1756: # It will help us diagnose broken compilers, and finding out an intuition
! 1757: # of exeext.
! 1758: echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 1759: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
! 1760: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 1761: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 1762: (eval $ac_link_default) 2>&5
! 1763: ac_status=$?
! 1764: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1765: (exit $ac_status); }; then
! 1766: # Find the output, starting from the most likely. This scheme is
! 1767: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 1768: # resort.
! 1769:
! 1770: # Be careful to initialize this variable, since it used to be cached.
! 1771: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 1772: ac_cv_exeext=
! 1773: # b.out is created by i960 compilers.
! 1774: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
! 1775: do
! 1776: test -f "$ac_file" || continue
! 1777: case $ac_file in
! 1778: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
! 1779: ;;
! 1780: conftest.$ac_ext )
! 1781: # This is the source file.
! 1782: ;;
! 1783: [ab].out )
! 1784: # We found the default executable, but exeext='' is most
! 1785: # certainly right.
! 1786: break;;
! 1787: *.* )
! 1788: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 1789: # FIXME: I believe we export ac_cv_exeext for Libtool,
! 1790: # but it would be cool to find out if it's true. Does anybody
! 1791: # maintain Libtool? --akim.
! 1792: export ac_cv_exeext
! 1793: break;;
! 1794: * )
! 1795: break;;
! 1796: esac
! 1797: done
! 1798: else
! 1799: echo "$as_me: failed program was:" >&5
! 1800: sed 's/^/| /' conftest.$ac_ext >&5
! 1801:
! 1802: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 1803: See \`config.log' for more details." >&5
! 1804: echo "$as_me: error: C compiler cannot create executables
! 1805: See \`config.log' for more details." >&2;}
! 1806: { (exit 77); exit 77; }; }
! 1807: fi
! 1808:
! 1809: ac_exeext=$ac_cv_exeext
! 1810: echo "$as_me:$LINENO: result: $ac_file" >&5
! 1811: echo "${ECHO_T}$ac_file" >&6
! 1812:
! 1813: # Check the compiler produces executables we can run. If not, either
! 1814: # the compiler is broken, or we cross compile.
! 1815: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 1816: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 1817: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 1818: # If not cross compiling, check that we can run a simple program.
! 1819: if test "$cross_compiling" != yes; then
! 1820: if { ac_try='./$ac_file'
! 1821: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1822: (eval $ac_try) 2>&5
! 1823: ac_status=$?
! 1824: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1825: (exit $ac_status); }; }; then
! 1826: cross_compiling=no
! 1827: else
! 1828: if test "$cross_compiling" = maybe; then
! 1829: cross_compiling=yes
! 1830: else
! 1831: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 1832: If you meant to cross compile, use \`--host'.
! 1833: See \`config.log' for more details." >&5
! 1834: echo "$as_me: error: cannot run C compiled programs.
! 1835: If you meant to cross compile, use \`--host'.
! 1836: See \`config.log' for more details." >&2;}
! 1837: { (exit 1); exit 1; }; }
! 1838: fi
! 1839: fi
! 1840: fi
! 1841: echo "$as_me:$LINENO: result: yes" >&5
! 1842: echo "${ECHO_T}yes" >&6
! 1843:
! 1844: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 1845: ac_clean_files=$ac_clean_files_save
! 1846: # Check the compiler produces executables we can run. If not, either
! 1847: # the compiler is broken, or we cross compile.
! 1848: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 1849: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 1850: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 1851: echo "${ECHO_T}$cross_compiling" >&6
! 1852:
! 1853: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 1854: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 1855: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 1856: (eval $ac_link) 2>&5
! 1857: ac_status=$?
! 1858: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1859: (exit $ac_status); }; then
! 1860: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 1861: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 1862: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 1863: # `rm'.
! 1864: for ac_file in conftest.exe conftest conftest.*; do
! 1865: test -f "$ac_file" || continue
! 1866: case $ac_file in
! 1867: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
! 1868: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 1869: export ac_cv_exeext
! 1870: break;;
! 1871: * ) break;;
! 1872: esac
! 1873: done
! 1874: else
! 1875: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 1876: See \`config.log' for more details." >&5
! 1877: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 1878: See \`config.log' for more details." >&2;}
! 1879: { (exit 1); exit 1; }; }
! 1880: fi
! 1881:
! 1882: rm -f conftest$ac_cv_exeext
! 1883: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 1884: echo "${ECHO_T}$ac_cv_exeext" >&6
! 1885:
! 1886: rm -f conftest.$ac_ext
! 1887: EXEEXT=$ac_cv_exeext
! 1888: ac_exeext=$EXEEXT
! 1889: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 1890: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 1891: if test "${ac_cv_objext+set}" = set; then
! 1892: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1893: else
! 1894: cat >conftest.$ac_ext <<_ACEOF
! 1895: /* confdefs.h. */
! 1896: _ACEOF
! 1897: cat confdefs.h >>conftest.$ac_ext
! 1898: cat >>conftest.$ac_ext <<_ACEOF
! 1899: /* end confdefs.h. */
! 1900:
! 1901: int
! 1902: main ()
! 1903: {
! 1904:
! 1905: ;
! 1906: return 0;
! 1907: }
! 1908: _ACEOF
! 1909: rm -f conftest.o conftest.obj
! 1910: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1911: (eval $ac_compile) 2>&5
! 1912: ac_status=$?
! 1913: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1914: (exit $ac_status); }; then
! 1915: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 1916: case $ac_file in
! 1917: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! 1918: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 1919: break;;
! 1920: esac
! 1921: done
! 1922: else
! 1923: echo "$as_me: failed program was:" >&5
! 1924: sed 's/^/| /' conftest.$ac_ext >&5
! 1925:
! 1926: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 1927: See \`config.log' for more details." >&5
! 1928: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 1929: See \`config.log' for more details." >&2;}
! 1930: { (exit 1); exit 1; }; }
! 1931: fi
! 1932:
! 1933: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 1934: fi
! 1935: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 1936: echo "${ECHO_T}$ac_cv_objext" >&6
! 1937: OBJEXT=$ac_cv_objext
! 1938: ac_objext=$OBJEXT
! 1939: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 1940: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 1941: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 1942: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1943: else
! 1944: cat >conftest.$ac_ext <<_ACEOF
! 1945: /* confdefs.h. */
! 1946: _ACEOF
! 1947: cat confdefs.h >>conftest.$ac_ext
! 1948: cat >>conftest.$ac_ext <<_ACEOF
! 1949: /* end confdefs.h. */
! 1950:
! 1951: int
! 1952: main ()
! 1953: {
! 1954: #ifndef __GNUC__
! 1955: choke me
! 1956: #endif
! 1957:
! 1958: ;
! 1959: return 0;
! 1960: }
! 1961: _ACEOF
! 1962: rm -f conftest.$ac_objext
! 1963: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 1964: (eval $ac_compile) 2>conftest.er1
! 1965: ac_status=$?
! 1966: grep -v '^ *+' conftest.er1 >conftest.err
! 1967: rm -f conftest.er1
! 1968: cat conftest.err >&5
! 1969: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1970: (exit $ac_status); } &&
! 1971: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 1972: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1973: (eval $ac_try) 2>&5
! 1974: ac_status=$?
! 1975: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1976: (exit $ac_status); }; } &&
! 1977: { ac_try='test -s conftest.$ac_objext'
! 1978: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 1979: (eval $ac_try) 2>&5
! 1980: ac_status=$?
! 1981: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 1982: (exit $ac_status); }; }; then
! 1983: ac_compiler_gnu=yes
! 1984: else
! 1985: echo "$as_me: failed program was:" >&5
! 1986: sed 's/^/| /' conftest.$ac_ext >&5
! 1987:
! 1988: ac_compiler_gnu=no
! 1989: fi
! 1990: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 1991: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 1992:
! 1993: fi
! 1994: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 1995: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 1996: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 1997: ac_test_CFLAGS=${CFLAGS+set}
! 1998: ac_save_CFLAGS=$CFLAGS
! 1999: CFLAGS="-g"
! 2000: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2001: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 2002: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2003: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2004: else
! 2005: cat >conftest.$ac_ext <<_ACEOF
! 2006: /* confdefs.h. */
! 2007: _ACEOF
! 2008: cat confdefs.h >>conftest.$ac_ext
! 2009: cat >>conftest.$ac_ext <<_ACEOF
! 2010: /* end confdefs.h. */
! 2011:
! 2012: int
! 2013: main ()
! 2014: {
! 2015:
! 2016: ;
! 2017: return 0;
! 2018: }
! 2019: _ACEOF
! 2020: rm -f conftest.$ac_objext
! 2021: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2022: (eval $ac_compile) 2>conftest.er1
! 2023: ac_status=$?
! 2024: grep -v '^ *+' conftest.er1 >conftest.err
! 2025: rm -f conftest.er1
! 2026: cat conftest.err >&5
! 2027: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2028: (exit $ac_status); } &&
! 2029: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2030: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2031: (eval $ac_try) 2>&5
! 2032: ac_status=$?
! 2033: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2034: (exit $ac_status); }; } &&
! 2035: { ac_try='test -s conftest.$ac_objext'
! 2036: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2037: (eval $ac_try) 2>&5
! 2038: ac_status=$?
! 2039: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2040: (exit $ac_status); }; }; then
! 2041: ac_cv_prog_cc_g=yes
! 2042: else
! 2043: echo "$as_me: failed program was:" >&5
! 2044: sed 's/^/| /' conftest.$ac_ext >&5
! 2045:
! 2046: ac_cv_prog_cc_g=no
! 2047: fi
! 2048: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2049: fi
! 2050: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2051: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
! 2052: if test "$ac_test_CFLAGS" = set; then
! 2053: CFLAGS=$ac_save_CFLAGS
! 2054: elif test $ac_cv_prog_cc_g = yes; then
! 2055: if test "$GCC" = yes; then
! 2056: CFLAGS="-g -O2"
! 2057: else
! 2058: CFLAGS="-g"
! 2059: fi
! 2060: else
! 2061: if test "$GCC" = yes; then
! 2062: CFLAGS="-O2"
! 2063: else
! 2064: CFLAGS=
! 2065: fi
! 2066: fi
! 2067: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 2068: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 2069: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 2070: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2071: else
! 2072: ac_cv_prog_cc_stdc=no
! 2073: ac_save_CC=$CC
! 2074: cat >conftest.$ac_ext <<_ACEOF
! 2075: /* confdefs.h. */
! 2076: _ACEOF
! 2077: cat confdefs.h >>conftest.$ac_ext
! 2078: cat >>conftest.$ac_ext <<_ACEOF
! 2079: /* end confdefs.h. */
! 2080: #include <stdarg.h>
! 2081: #include <stdio.h>
! 2082: #include <sys/types.h>
! 2083: #include <sys/stat.h>
! 2084: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2085: struct buf { int x; };
! 2086: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2087: static char *e (p, i)
! 2088: char **p;
! 2089: int i;
! 2090: {
! 2091: return p[i];
! 2092: }
! 2093: static char *f (char * (*g) (char **, int), char **p, ...)
! 2094: {
! 2095: char *s;
! 2096: va_list v;
! 2097: va_start (v,p);
! 2098: s = g (p, va_arg (v,int));
! 2099: va_end (v);
! 2100: return s;
! 2101: }
! 2102:
! 2103: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2104: function prototypes and stuff, but not '\xHH' hex character constants.
! 2105: These don't provoke an error unfortunately, instead are silently treated
! 2106: as 'x'. The following induces an error, until -std1 is added to get
! 2107: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2108: array size at least. It's necessary to write '\x00'==0 to get something
! 2109: that's true only with -std1. */
! 2110: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2111:
! 2112: int test (int i, double x);
! 2113: struct s1 {int (*f) (int a);};
! 2114: struct s2 {int (*f) (double a);};
! 2115: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2116: int argc;
! 2117: char **argv;
! 2118: int
! 2119: main ()
! 2120: {
! 2121: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2122: ;
! 2123: return 0;
! 2124: }
! 2125: _ACEOF
! 2126: # Don't try gcc -ansi; that turns off useful extensions and
! 2127: # breaks some systems' header files.
! 2128: # AIX -qlanglvl=ansi
! 2129: # Ultrix and OSF/1 -std1
! 2130: # HP-UX 10.20 and later -Ae
! 2131: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 2132: # SVR4 -Xc -D__EXTENSIONS__
! 2133: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2134: do
! 2135: CC="$ac_save_CC $ac_arg"
! 2136: rm -f conftest.$ac_objext
! 2137: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2138: (eval $ac_compile) 2>conftest.er1
! 2139: ac_status=$?
! 2140: grep -v '^ *+' conftest.er1 >conftest.err
! 2141: rm -f conftest.er1
! 2142: cat conftest.err >&5
! 2143: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2144: (exit $ac_status); } &&
! 2145: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2146: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2147: (eval $ac_try) 2>&5
! 2148: ac_status=$?
! 2149: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2150: (exit $ac_status); }; } &&
! 2151: { ac_try='test -s conftest.$ac_objext'
! 2152: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2153: (eval $ac_try) 2>&5
! 2154: ac_status=$?
! 2155: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2156: (exit $ac_status); }; }; then
! 2157: ac_cv_prog_cc_stdc=$ac_arg
! 2158: break
! 2159: else
! 2160: echo "$as_me: failed program was:" >&5
! 2161: sed 's/^/| /' conftest.$ac_ext >&5
! 2162:
! 2163: fi
! 2164: rm -f conftest.err conftest.$ac_objext
! 2165: done
! 2166: rm -f conftest.$ac_ext conftest.$ac_objext
! 2167: CC=$ac_save_CC
! 2168:
! 2169: fi
! 2170:
! 2171: case "x$ac_cv_prog_cc_stdc" in
! 2172: x|xno)
! 2173: echo "$as_me:$LINENO: result: none needed" >&5
! 2174: echo "${ECHO_T}none needed" >&6 ;;
! 2175: *)
! 2176: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 2177: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 2178: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 2179: esac
! 2180:
! 2181: # Some people use a C++ compiler to compile C. Since we use `exit',
! 2182: # in C++ we need to declare it. In case someone uses the same compiler
! 2183: # for both compiling C and C++ we need to have the C++ compiler decide
! 2184: # the declaration of exit, since it's the most demanding environment.
! 2185: cat >conftest.$ac_ext <<_ACEOF
! 2186: #ifndef __cplusplus
! 2187: choke me
! 2188: #endif
! 2189: _ACEOF
! 2190: rm -f conftest.$ac_objext
! 2191: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2192: (eval $ac_compile) 2>conftest.er1
! 2193: ac_status=$?
! 2194: grep -v '^ *+' conftest.er1 >conftest.err
! 2195: rm -f conftest.er1
! 2196: cat conftest.err >&5
! 2197: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2198: (exit $ac_status); } &&
! 2199: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2200: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2201: (eval $ac_try) 2>&5
! 2202: ac_status=$?
! 2203: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2204: (exit $ac_status); }; } &&
! 2205: { ac_try='test -s conftest.$ac_objext'
! 2206: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2207: (eval $ac_try) 2>&5
! 2208: ac_status=$?
! 2209: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2210: (exit $ac_status); }; }; then
! 2211: for ac_declaration in \
! 2212: '' \
! 2213: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2214: 'extern "C" void std::exit (int); using std::exit;' \
! 2215: 'extern "C" void exit (int) throw ();' \
! 2216: 'extern "C" void exit (int);' \
! 2217: 'void exit (int);'
! 2218: do
! 2219: cat >conftest.$ac_ext <<_ACEOF
! 2220: /* confdefs.h. */
! 2221: _ACEOF
! 2222: cat confdefs.h >>conftest.$ac_ext
! 2223: cat >>conftest.$ac_ext <<_ACEOF
! 2224: /* end confdefs.h. */
! 2225: $ac_declaration
! 2226: #include <stdlib.h>
! 2227: int
! 2228: main ()
! 2229: {
! 2230: exit (42);
! 2231: ;
! 2232: return 0;
! 2233: }
! 2234: _ACEOF
! 2235: rm -f conftest.$ac_objext
! 2236: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2237: (eval $ac_compile) 2>conftest.er1
! 2238: ac_status=$?
! 2239: grep -v '^ *+' conftest.er1 >conftest.err
! 2240: rm -f conftest.er1
! 2241: cat conftest.err >&5
! 2242: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2243: (exit $ac_status); } &&
! 2244: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2245: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2246: (eval $ac_try) 2>&5
! 2247: ac_status=$?
! 2248: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2249: (exit $ac_status); }; } &&
! 2250: { ac_try='test -s conftest.$ac_objext'
! 2251: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2252: (eval $ac_try) 2>&5
! 2253: ac_status=$?
! 2254: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2255: (exit $ac_status); }; }; then
! 2256: :
! 2257: else
! 2258: echo "$as_me: failed program was:" >&5
! 2259: sed 's/^/| /' conftest.$ac_ext >&5
! 2260:
! 2261: continue
! 2262: fi
! 2263: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2264: cat >conftest.$ac_ext <<_ACEOF
! 2265: /* confdefs.h. */
! 2266: _ACEOF
! 2267: cat confdefs.h >>conftest.$ac_ext
! 2268: cat >>conftest.$ac_ext <<_ACEOF
! 2269: /* end confdefs.h. */
! 2270: $ac_declaration
! 2271: int
! 2272: main ()
! 2273: {
! 2274: exit (42);
! 2275: ;
! 2276: return 0;
! 2277: }
! 2278: _ACEOF
! 2279: rm -f conftest.$ac_objext
! 2280: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2281: (eval $ac_compile) 2>conftest.er1
! 2282: ac_status=$?
! 2283: grep -v '^ *+' conftest.er1 >conftest.err
! 2284: rm -f conftest.er1
! 2285: cat conftest.err >&5
! 2286: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2287: (exit $ac_status); } &&
! 2288: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2289: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2290: (eval $ac_try) 2>&5
! 2291: ac_status=$?
! 2292: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2293: (exit $ac_status); }; } &&
! 2294: { ac_try='test -s conftest.$ac_objext'
! 2295: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2296: (eval $ac_try) 2>&5
! 2297: ac_status=$?
! 2298: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2299: (exit $ac_status); }; }; then
! 2300: break
! 2301: else
! 2302: echo "$as_me: failed program was:" >&5
! 2303: sed 's/^/| /' conftest.$ac_ext >&5
! 2304:
! 2305: fi
! 2306: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2307: done
! 2308: rm -f conftest*
! 2309: if test -n "$ac_declaration"; then
! 2310: echo '#ifdef __cplusplus' >>confdefs.h
! 2311: echo $ac_declaration >>confdefs.h
! 2312: echo '#endif' >>confdefs.h
! 2313: fi
! 2314:
! 2315: else
! 2316: echo "$as_me: failed program was:" >&5
! 2317: sed 's/^/| /' conftest.$ac_ext >&5
! 2318:
! 2319: fi
! 2320: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 2321: ac_ext=c
! 2322: ac_cpp='$CPP $CPPFLAGS'
! 2323: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2324: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2325: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2326:
! 2327: for ac_prog in 'bison -y' byacc
! 2328: do
! 2329: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2330: set dummy $ac_prog; ac_word=$2
! 2331: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2332: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2333: if test "${ac_cv_prog_YACC+set}" = set; then
! 2334: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2335: else
! 2336: if test -n "$YACC"; then
! 2337: ac_cv_prog_YACC="$YACC" # Let the user override the test.
! 2338: else
! 2339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2340: for as_dir in $PATH
! 2341: do
! 2342: IFS=$as_save_IFS
! 2343: test -z "$as_dir" && as_dir=.
! 2344: for ac_exec_ext in '' $ac_executable_extensions; do
! 2345: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2346: ac_cv_prog_YACC="$ac_prog"
! 2347: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2348: break 2
! 2349: fi
! 2350: done
! 2351: done
! 2352:
! 2353: fi
! 2354: fi
! 2355: YACC=$ac_cv_prog_YACC
! 2356: if test -n "$YACC"; then
! 2357: echo "$as_me:$LINENO: result: $YACC" >&5
! 2358: echo "${ECHO_T}$YACC" >&6
! 2359: else
! 2360: echo "$as_me:$LINENO: result: no" >&5
! 2361: echo "${ECHO_T}no" >&6
! 2362: fi
! 2363:
! 2364: test -n "$YACC" && break
! 2365: done
! 2366: test -n "$YACC" || YACC="yacc"
! 2367:
! 2368:
! 2369: for ac_prog in flex lex
! 2370: do
! 2371: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2372: set dummy $ac_prog; ac_word=$2
! 2373: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2374: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2375: if test "${ac_cv_prog_LEX+set}" = set; then
! 2376: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2377: else
! 2378: if test -n "$LEX"; then
! 2379: ac_cv_prog_LEX="$LEX" # Let the user override the test.
! 2380: else
! 2381: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2382: for as_dir in $PATH
! 2383: do
! 2384: IFS=$as_save_IFS
! 2385: test -z "$as_dir" && as_dir=.
! 2386: for ac_exec_ext in '' $ac_executable_extensions; do
! 2387: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 2388: ac_cv_prog_LEX="$ac_prog"
! 2389: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2390: break 2
! 2391: fi
! 2392: done
! 2393: done
! 2394:
! 2395: fi
! 2396: fi
! 2397: LEX=$ac_cv_prog_LEX
! 2398: if test -n "$LEX"; then
! 2399: echo "$as_me:$LINENO: result: $LEX" >&5
! 2400: echo "${ECHO_T}$LEX" >&6
! 2401: else
! 2402: echo "$as_me:$LINENO: result: no" >&5
! 2403: echo "${ECHO_T}no" >&6
! 2404: fi
! 2405:
! 2406: test -n "$LEX" && break
! 2407: done
! 2408: test -n "$LEX" || LEX=":"
! 2409:
! 2410: if test -z "$LEXLIB"
! 2411: then
! 2412: echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
! 2413: echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
! 2414: if test "${ac_cv_lib_fl_yywrap+set}" = set; then
! 2415: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2416: else
! 2417: ac_check_lib_save_LIBS=$LIBS
! 2418: LIBS="-lfl $LIBS"
! 2419: cat >conftest.$ac_ext <<_ACEOF
! 2420: /* confdefs.h. */
! 2421: _ACEOF
! 2422: cat confdefs.h >>conftest.$ac_ext
! 2423: cat >>conftest.$ac_ext <<_ACEOF
! 2424: /* end confdefs.h. */
! 2425:
! 2426: /* Override any gcc2 internal prototype to avoid an error. */
! 2427: #ifdef __cplusplus
! 2428: extern "C"
! 2429: #endif
! 2430: /* We use char because int might match the return type of a gcc2
! 2431: builtin and then its argument prototype would still apply. */
! 2432: char yywrap ();
! 2433: int
! 2434: main ()
! 2435: {
! 2436: yywrap ();
! 2437: ;
! 2438: return 0;
! 2439: }
! 2440: _ACEOF
! 2441: rm -f conftest.$ac_objext conftest$ac_exeext
! 2442: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2443: (eval $ac_link) 2>conftest.er1
! 2444: ac_status=$?
! 2445: grep -v '^ *+' conftest.er1 >conftest.err
! 2446: rm -f conftest.er1
! 2447: cat conftest.err >&5
! 2448: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2449: (exit $ac_status); } &&
! 2450: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2451: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2452: (eval $ac_try) 2>&5
! 2453: ac_status=$?
! 2454: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2455: (exit $ac_status); }; } &&
! 2456: { ac_try='test -s conftest$ac_exeext'
! 2457: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2458: (eval $ac_try) 2>&5
! 2459: ac_status=$?
! 2460: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2461: (exit $ac_status); }; }; then
! 2462: ac_cv_lib_fl_yywrap=yes
! 2463: else
! 2464: echo "$as_me: failed program was:" >&5
! 2465: sed 's/^/| /' conftest.$ac_ext >&5
! 2466:
! 2467: ac_cv_lib_fl_yywrap=no
! 2468: fi
! 2469: rm -f conftest.err conftest.$ac_objext \
! 2470: conftest$ac_exeext conftest.$ac_ext
! 2471: LIBS=$ac_check_lib_save_LIBS
! 2472: fi
! 2473: echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
! 2474: echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
! 2475: if test $ac_cv_lib_fl_yywrap = yes; then
! 2476: LEXLIB="-lfl"
! 2477: else
! 2478: echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
! 2479: echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
! 2480: if test "${ac_cv_lib_l_yywrap+set}" = set; then
! 2481: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2482: else
! 2483: ac_check_lib_save_LIBS=$LIBS
! 2484: LIBS="-ll $LIBS"
! 2485: cat >conftest.$ac_ext <<_ACEOF
! 2486: /* confdefs.h. */
! 2487: _ACEOF
! 2488: cat confdefs.h >>conftest.$ac_ext
! 2489: cat >>conftest.$ac_ext <<_ACEOF
! 2490: /* end confdefs.h. */
! 2491:
! 2492: /* Override any gcc2 internal prototype to avoid an error. */
! 2493: #ifdef __cplusplus
! 2494: extern "C"
! 2495: #endif
! 2496: /* We use char because int might match the return type of a gcc2
! 2497: builtin and then its argument prototype would still apply. */
! 2498: char yywrap ();
! 2499: int
! 2500: main ()
! 2501: {
! 2502: yywrap ();
! 2503: ;
! 2504: return 0;
! 2505: }
! 2506: _ACEOF
! 2507: rm -f conftest.$ac_objext conftest$ac_exeext
! 2508: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2509: (eval $ac_link) 2>conftest.er1
! 2510: ac_status=$?
! 2511: grep -v '^ *+' conftest.er1 >conftest.err
! 2512: rm -f conftest.er1
! 2513: cat conftest.err >&5
! 2514: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2515: (exit $ac_status); } &&
! 2516: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2517: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2518: (eval $ac_try) 2>&5
! 2519: ac_status=$?
! 2520: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2521: (exit $ac_status); }; } &&
! 2522: { ac_try='test -s conftest$ac_exeext'
! 2523: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2524: (eval $ac_try) 2>&5
! 2525: ac_status=$?
! 2526: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2527: (exit $ac_status); }; }; then
! 2528: ac_cv_lib_l_yywrap=yes
! 2529: else
! 2530: echo "$as_me: failed program was:" >&5
! 2531: sed 's/^/| /' conftest.$ac_ext >&5
! 2532:
! 2533: ac_cv_lib_l_yywrap=no
! 2534: fi
! 2535: rm -f conftest.err conftest.$ac_objext \
! 2536: conftest$ac_exeext conftest.$ac_ext
! 2537: LIBS=$ac_check_lib_save_LIBS
! 2538: fi
! 2539: echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
! 2540: echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
! 2541: if test $ac_cv_lib_l_yywrap = yes; then
! 2542: LEXLIB="-ll"
! 2543: fi
! 2544:
! 2545: fi
! 2546:
! 2547: fi
! 2548:
! 2549: if test "x$LEX" != "x:"; then
! 2550: echo "$as_me:$LINENO: checking lex output file root" >&5
! 2551: echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
! 2552: if test "${ac_cv_prog_lex_root+set}" = set; then
! 2553: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2554: else
! 2555: # The minimal lex program is just a single line: %%. But some broken lexes
! 2556: # (Solaris, I think it was) want two %% lines, so accommodate them.
! 2557: cat >conftest.l <<_ACEOF
! 2558: %%
! 2559: %%
! 2560: _ACEOF
! 2561: { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
! 2562: (eval $LEX conftest.l) 2>&5
! 2563: ac_status=$?
! 2564: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2565: (exit $ac_status); }
! 2566: if test -f lex.yy.c; then
! 2567: ac_cv_prog_lex_root=lex.yy
! 2568: elif test -f lexyy.c; then
! 2569: ac_cv_prog_lex_root=lexyy
! 2570: else
! 2571: { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
! 2572: echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
! 2573: { (exit 1); exit 1; }; }
! 2574: fi
! 2575: fi
! 2576: echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
! 2577: echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
! 2578: rm -f conftest.l
! 2579: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
! 2580:
! 2581: echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
! 2582: echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
! 2583: if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
! 2584: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2585: else
! 2586: # POSIX says lex can declare yytext either as a pointer or an array; the
! 2587: # default is implementation-dependent. Figure out which it is, since
! 2588: # not all implementations provide the %pointer and %array declarations.
! 2589: ac_cv_prog_lex_yytext_pointer=no
! 2590: echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
! 2591: ac_save_LIBS=$LIBS
! 2592: LIBS="$LIBS $LEXLIB"
! 2593: cat >conftest.$ac_ext <<_ACEOF
! 2594: `cat $LEX_OUTPUT_ROOT.c`
! 2595: _ACEOF
! 2596: rm -f conftest.$ac_objext conftest$ac_exeext
! 2597: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2598: (eval $ac_link) 2>conftest.er1
! 2599: ac_status=$?
! 2600: grep -v '^ *+' conftest.er1 >conftest.err
! 2601: rm -f conftest.er1
! 2602: cat conftest.err >&5
! 2603: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2604: (exit $ac_status); } &&
! 2605: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2606: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2607: (eval $ac_try) 2>&5
! 2608: ac_status=$?
! 2609: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2610: (exit $ac_status); }; } &&
! 2611: { ac_try='test -s conftest$ac_exeext'
! 2612: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2613: (eval $ac_try) 2>&5
! 2614: ac_status=$?
! 2615: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2616: (exit $ac_status); }; }; then
! 2617: ac_cv_prog_lex_yytext_pointer=yes
! 2618: else
! 2619: echo "$as_me: failed program was:" >&5
! 2620: sed 's/^/| /' conftest.$ac_ext >&5
! 2621:
! 2622: fi
! 2623: rm -f conftest.err conftest.$ac_objext \
! 2624: conftest$ac_exeext conftest.$ac_ext
! 2625: LIBS=$ac_save_LIBS
! 2626: rm -f "${LEX_OUTPUT_ROOT}.c"
! 2627:
! 2628: fi
! 2629: echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
! 2630: echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
! 2631: if test $ac_cv_prog_lex_yytext_pointer = yes; then
! 2632:
! 2633: cat >>confdefs.h <<\_ACEOF
! 2634: #define YYTEXT_POINTER 1
! 2635: _ACEOF
! 2636:
! 2637: fi
! 2638:
! 2639: fi
! 2640: ac_ext=c
! 2641: ac_cpp='$CPP $CPPFLAGS'
! 2642: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2643: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2644: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2645: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 2646: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
! 2647: # On Suns, sometimes $CPP names a directory.
! 2648: if test -n "$CPP" && test -d "$CPP"; then
! 2649: CPP=
! 2650: fi
! 2651: if test -z "$CPP"; then
! 2652: if test "${ac_cv_prog_CPP+set}" = set; then
! 2653: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2654: else
! 2655: # Double quotes because CPP needs to be expanded
! 2656: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2657: do
! 2658: ac_preproc_ok=false
! 2659: for ac_c_preproc_warn_flag in '' yes
! 2660: do
! 2661: # Use a header file that comes with gcc, so configuring glibc
! 2662: # with a fresh cross-compiler works.
! 2663: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 2664: # <limits.h> exists even on freestanding compilers.
! 2665: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2666: # not just through cpp. "Syntax error" is here to catch this case.
! 2667: cat >conftest.$ac_ext <<_ACEOF
! 2668: /* confdefs.h. */
! 2669: _ACEOF
! 2670: cat confdefs.h >>conftest.$ac_ext
! 2671: cat >>conftest.$ac_ext <<_ACEOF
! 2672: /* end confdefs.h. */
! 2673: #ifdef __STDC__
! 2674: # include <limits.h>
! 2675: #else
! 2676: # include <assert.h>
! 2677: #endif
! 2678: Syntax error
! 2679: _ACEOF
! 2680: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2681: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2682: ac_status=$?
! 2683: grep -v '^ *+' conftest.er1 >conftest.err
! 2684: rm -f conftest.er1
! 2685: cat conftest.err >&5
! 2686: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2687: (exit $ac_status); } >/dev/null; then
! 2688: if test -s conftest.err; then
! 2689: ac_cpp_err=$ac_c_preproc_warn_flag
! 2690: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 2691: else
! 2692: ac_cpp_err=
! 2693: fi
! 2694: else
! 2695: ac_cpp_err=yes
! 2696: fi
! 2697: if test -z "$ac_cpp_err"; then
! 2698: :
! 2699: else
! 2700: echo "$as_me: failed program was:" >&5
! 2701: sed 's/^/| /' conftest.$ac_ext >&5
! 2702:
! 2703: # Broken: fails on valid input.
! 2704: continue
! 2705: fi
! 2706: rm -f conftest.err conftest.$ac_ext
! 2707:
! 2708: # OK, works on sane cases. Now check whether non-existent headers
! 2709: # can be detected and how.
! 2710: cat >conftest.$ac_ext <<_ACEOF
! 2711: /* confdefs.h. */
! 2712: _ACEOF
! 2713: cat confdefs.h >>conftest.$ac_ext
! 2714: cat >>conftest.$ac_ext <<_ACEOF
! 2715: /* end confdefs.h. */
! 2716: #include <ac_nonexistent.h>
! 2717: _ACEOF
! 2718: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2719: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2720: ac_status=$?
! 2721: grep -v '^ *+' conftest.er1 >conftest.err
! 2722: rm -f conftest.er1
! 2723: cat conftest.err >&5
! 2724: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2725: (exit $ac_status); } >/dev/null; then
! 2726: if test -s conftest.err; then
! 2727: ac_cpp_err=$ac_c_preproc_warn_flag
! 2728: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 2729: else
! 2730: ac_cpp_err=
! 2731: fi
! 2732: else
! 2733: ac_cpp_err=yes
! 2734: fi
! 2735: if test -z "$ac_cpp_err"; then
! 2736: # Broken: success on invalid input.
! 2737: continue
! 2738: else
! 2739: echo "$as_me: failed program was:" >&5
! 2740: sed 's/^/| /' conftest.$ac_ext >&5
! 2741:
! 2742: # Passes both tests.
! 2743: ac_preproc_ok=:
! 2744: break
! 2745: fi
! 2746: rm -f conftest.err conftest.$ac_ext
! 2747:
! 2748: done
! 2749: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2750: rm -f conftest.err conftest.$ac_ext
! 2751: if $ac_preproc_ok; then
! 2752: break
! 2753: fi
! 2754:
! 2755: done
! 2756: ac_cv_prog_CPP=$CPP
! 2757:
! 2758: fi
! 2759: CPP=$ac_cv_prog_CPP
! 2760: else
! 2761: ac_cv_prog_CPP=$CPP
! 2762: fi
! 2763: echo "$as_me:$LINENO: result: $CPP" >&5
! 2764: echo "${ECHO_T}$CPP" >&6
! 2765: ac_preproc_ok=false
! 2766: for ac_c_preproc_warn_flag in '' yes
! 2767: do
! 2768: # Use a header file that comes with gcc, so configuring glibc
! 2769: # with a fresh cross-compiler works.
! 2770: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 2771: # <limits.h> exists even on freestanding compilers.
! 2772: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2773: # not just through cpp. "Syntax error" is here to catch this case.
! 2774: cat >conftest.$ac_ext <<_ACEOF
! 2775: /* confdefs.h. */
! 2776: _ACEOF
! 2777: cat confdefs.h >>conftest.$ac_ext
! 2778: cat >>conftest.$ac_ext <<_ACEOF
! 2779: /* end confdefs.h. */
! 2780: #ifdef __STDC__
! 2781: # include <limits.h>
! 2782: #else
! 2783: # include <assert.h>
! 2784: #endif
! 2785: Syntax error
! 2786: _ACEOF
! 2787: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2788: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2789: ac_status=$?
! 2790: grep -v '^ *+' conftest.er1 >conftest.err
! 2791: rm -f conftest.er1
! 2792: cat conftest.err >&5
! 2793: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2794: (exit $ac_status); } >/dev/null; then
! 2795: if test -s conftest.err; then
! 2796: ac_cpp_err=$ac_c_preproc_warn_flag
! 2797: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 2798: else
! 2799: ac_cpp_err=
! 2800: fi
! 2801: else
! 2802: ac_cpp_err=yes
! 2803: fi
! 2804: if test -z "$ac_cpp_err"; then
! 2805: :
! 2806: else
! 2807: echo "$as_me: failed program was:" >&5
! 2808: sed 's/^/| /' conftest.$ac_ext >&5
! 2809:
! 2810: # Broken: fails on valid input.
! 2811: continue
! 2812: fi
! 2813: rm -f conftest.err conftest.$ac_ext
! 2814:
! 2815: # OK, works on sane cases. Now check whether non-existent headers
! 2816: # can be detected and how.
! 2817: cat >conftest.$ac_ext <<_ACEOF
! 2818: /* confdefs.h. */
! 2819: _ACEOF
! 2820: cat confdefs.h >>conftest.$ac_ext
! 2821: cat >>conftest.$ac_ext <<_ACEOF
! 2822: /* end confdefs.h. */
! 2823: #include <ac_nonexistent.h>
! 2824: _ACEOF
! 2825: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2826: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2827: ac_status=$?
! 2828: grep -v '^ *+' conftest.er1 >conftest.err
! 2829: rm -f conftest.er1
! 2830: cat conftest.err >&5
! 2831: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2832: (exit $ac_status); } >/dev/null; then
! 2833: if test -s conftest.err; then
! 2834: ac_cpp_err=$ac_c_preproc_warn_flag
! 2835: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 2836: else
! 2837: ac_cpp_err=
! 2838: fi
! 2839: else
! 2840: ac_cpp_err=yes
! 2841: fi
! 2842: if test -z "$ac_cpp_err"; then
! 2843: # Broken: success on invalid input.
! 2844: continue
! 2845: else
! 2846: echo "$as_me: failed program was:" >&5
! 2847: sed 's/^/| /' conftest.$ac_ext >&5
! 2848:
! 2849: # Passes both tests.
! 2850: ac_preproc_ok=:
! 2851: break
! 2852: fi
! 2853: rm -f conftest.err conftest.$ac_ext
! 2854:
! 2855: done
! 2856: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2857: rm -f conftest.err conftest.$ac_ext
! 2858: if $ac_preproc_ok; then
! 2859: :
! 2860: else
! 2861: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 2862: See \`config.log' for more details." >&5
! 2863: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 2864: See \`config.log' for more details." >&2;}
! 2865: { (exit 1); exit 1; }; }
! 2866: fi
! 2867:
! 2868: ac_ext=c
! 2869: ac_cpp='$CPP $CPPFLAGS'
! 2870: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2871: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2872: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2873:
! 2874:
! 2875:
! 2876: echo "$as_me:$LINENO: checking for egrep" >&5
! 2877: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 2878: if test "${ac_cv_prog_egrep+set}" = set; then
! 2879: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2880: else
! 2881: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 2882: then ac_cv_prog_egrep='grep -E'
! 2883: else ac_cv_prog_egrep='egrep'
! 2884: fi
! 2885: fi
! 2886: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 2887: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 2888: EGREP=$ac_cv_prog_egrep
! 2889:
! 2890:
! 2891:
! 2892: echo "$as_me:$LINENO: checking for AIX" >&5
! 2893: echo $ECHO_N "checking for AIX... $ECHO_C" >&6
! 2894: cat >conftest.$ac_ext <<_ACEOF
! 2895: /* confdefs.h. */
! 2896: _ACEOF
! 2897: cat confdefs.h >>conftest.$ac_ext
! 2898: cat >>conftest.$ac_ext <<_ACEOF
! 2899: /* end confdefs.h. */
! 2900: #ifdef _AIX
! 2901: yes
! 2902: #endif
! 2903:
! 2904: _ACEOF
! 2905: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2906: $EGREP "yes" >/dev/null 2>&1; then
! 2907: echo "$as_me:$LINENO: result: yes" >&5
! 2908: echo "${ECHO_T}yes" >&6
! 2909: cat >>confdefs.h <<\_ACEOF
! 2910: #define _ALL_SOURCE 1
! 2911: _ACEOF
! 2912:
! 2913: else
! 2914: echo "$as_me:$LINENO: result: no" >&5
! 2915: echo "${ECHO_T}no" >&6
! 2916: fi
! 2917: rm -f conftest*
! 2918:
! 2919:
! 2920:
! 2921:
! 2922:
! 2923:
! 2924: ac_ext=c
! 2925: ac_cpp='$CPP $CPPFLAGS'
! 2926: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2927: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2928: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2929:
! 2930: acx_pthread_ok=no
! 2931:
! 2932: # We used to check for pthread.h first, but this fails if pthread.h
! 2933: # requires special compiler flags (e.g. on True64 or Sequent).
! 2934: # It gets checked for in the link test anyway.
! 2935:
! 2936: # First of all, check if the user has set any of the PTHREAD_LIBS,
! 2937: # etcetera environment variables, and if threads linking works using
! 2938: # them:
! 2939: if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
! 2940: save_CFLAGS="$CFLAGS"
! 2941: CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
! 2942: save_LIBS="$LIBS"
! 2943: LIBS="$PTHREAD_LIBS $LIBS"
! 2944: echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
! 2945: echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
! 2946: cat >conftest.$ac_ext <<_ACEOF
! 2947: /* confdefs.h. */
! 2948: _ACEOF
! 2949: cat confdefs.h >>conftest.$ac_ext
! 2950: cat >>conftest.$ac_ext <<_ACEOF
! 2951: /* end confdefs.h. */
! 2952:
! 2953: /* Override any gcc2 internal prototype to avoid an error. */
! 2954: #ifdef __cplusplus
! 2955: extern "C"
! 2956: #endif
! 2957: /* We use char because int might match the return type of a gcc2
! 2958: builtin and then its argument prototype would still apply. */
! 2959: char pthread_join ();
! 2960: int
! 2961: main ()
! 2962: {
! 2963: pthread_join ();
! 2964: ;
! 2965: return 0;
! 2966: }
! 2967: _ACEOF
! 2968: rm -f conftest.$ac_objext conftest$ac_exeext
! 2969: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2970: (eval $ac_link) 2>conftest.er1
! 2971: ac_status=$?
! 2972: grep -v '^ *+' conftest.er1 >conftest.err
! 2973: rm -f conftest.er1
! 2974: cat conftest.err >&5
! 2975: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2976: (exit $ac_status); } &&
! 2977: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 2978: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2979: (eval $ac_try) 2>&5
! 2980: ac_status=$?
! 2981: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2982: (exit $ac_status); }; } &&
! 2983: { ac_try='test -s conftest$ac_exeext'
! 2984: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2985: (eval $ac_try) 2>&5
! 2986: ac_status=$?
! 2987: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2988: (exit $ac_status); }; }; then
! 2989: acx_pthread_ok=yes
! 2990: else
! 2991: echo "$as_me: failed program was:" >&5
! 2992: sed 's/^/| /' conftest.$ac_ext >&5
! 2993:
! 2994: fi
! 2995: rm -f conftest.err conftest.$ac_objext \
! 2996: conftest$ac_exeext conftest.$ac_ext
! 2997: echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
! 2998: echo "${ECHO_T}$acx_pthread_ok" >&6
! 2999: if test x"$acx_pthread_ok" = xno; then
! 3000: PTHREAD_LIBS=""
! 3001: PTHREAD_CFLAGS=""
! 3002: fi
! 3003: LIBS="$save_LIBS"
! 3004: CFLAGS="$save_CFLAGS"
! 3005: fi
! 3006:
! 3007: # We must check for the threads library under a number of different
! 3008: # names; the ordering is very important because some systems
! 3009: # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
! 3010: # libraries is broken (non-POSIX).
! 3011:
! 3012: # Create a list of thread flags to try. Items starting with a "-" are
! 3013: # C compiler flags, and other items are library names, except for "none"
! 3014: # which indicates that we try without any flags at all, and "pthread-config"
! 3015: # which is a program returning the flags for the Pth emulation library.
! 3016:
! 3017: acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
! 3018:
! 3019: # The ordering *is* (sometimes) important. Some notes on the
! 3020: # individual items follow:
! 3021:
! 3022: # pthreads: AIX (must check this before -lpthread)
! 3023: # none: in case threads are in libc; should be tried before -Kthread and
! 3024: # other compiler flags to prevent continual compiler warnings
! 3025: # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
! 3026: # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
! 3027: # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
! 3028: # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
! 3029: # -pthreads: Solaris/gcc
! 3030: # -mthreads: Mingw32/gcc, Lynx/gcc
! 3031: # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
! 3032: # doesn't hurt to check since this sometimes defines pthreads too;
! 3033: # also defines -D_REENTRANT)
! 3034: # pthread: Linux, etcetera
! 3035: # --thread-safe: KAI C++
! 3036: # pthread-config: use pthread-config program (for GNU Pth library)
! 3037:
! 3038: case "${host_cpu}-${host_os}" in
! 3039: *solaris*)
! 3040:
! 3041: # On Solaris (at least, for some versions), libc contains stubbed
! 3042: # (non-functional) versions of the pthreads routines, so link-based
! 3043: # tests will erroneously succeed. (We need to link with -pthread or
! 3044: # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
! 3045: # a function called by this macro, so we could check for that, but
! 3046: # who knows whether they'll stub that too in a future libc.) So,
! 3047: # we'll just look for -pthreads and -lpthread first:
! 3048:
! 3049: acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
! 3050: ;;
! 3051: esac
! 3052:
! 3053: if test x"$acx_pthread_ok" = xno; then
! 3054: for flag in $acx_pthread_flags; do
! 3055:
! 3056: case $flag in
! 3057: none)
! 3058: echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
! 3059: echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
! 3060: ;;
! 3061:
! 3062: -*)
! 3063: echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
! 3064: echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
! 3065: PTHREAD_CFLAGS="$flag"
! 3066: ;;
! 3067:
! 3068: pthread-config)
! 3069: # Extract the first word of "pthread-config", so it can be a program name with args.
! 3070: set dummy pthread-config; ac_word=$2
! 3071: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3072: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3073: if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
! 3074: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3075: else
! 3076: if test -n "$acx_pthread_config"; then
! 3077: ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
! 3078: else
! 3079: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3080: for as_dir in $PATH
! 3081: do
! 3082: IFS=$as_save_IFS
! 3083: test -z "$as_dir" && as_dir=.
! 3084: for ac_exec_ext in '' $ac_executable_extensions; do
! 3085: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3086: ac_cv_prog_acx_pthread_config="yes"
! 3087: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3088: break 2
! 3089: fi
! 3090: done
! 3091: done
! 3092:
! 3093: test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
! 3094: fi
! 3095: fi
! 3096: acx_pthread_config=$ac_cv_prog_acx_pthread_config
! 3097: if test -n "$acx_pthread_config"; then
! 3098: echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
! 3099: echo "${ECHO_T}$acx_pthread_config" >&6
! 3100: else
! 3101: echo "$as_me:$LINENO: result: no" >&5
! 3102: echo "${ECHO_T}no" >&6
! 3103: fi
! 3104:
! 3105: if test x"$acx_pthread_config" = xno; then continue; fi
! 3106: PTHREAD_CFLAGS="`pthread-config --cflags`"
! 3107: PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
! 3108: ;;
! 3109:
! 3110: *)
! 3111: echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
! 3112: echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
! 3113: PTHREAD_LIBS="-l$flag"
! 3114: ;;
! 3115: esac
! 3116:
! 3117: save_LIBS="$LIBS"
! 3118: save_CFLAGS="$CFLAGS"
! 3119: LIBS="$PTHREAD_LIBS $LIBS"
! 3120: CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
! 3121:
! 3122: # Check for various functions. We must include pthread.h,
! 3123: # since some functions may be macros. (On the Sequent, we
! 3124: # need a special flag -Kthread to make this header compile.)
! 3125: # We check for pthread_join because it is in -lpthread on IRIX
! 3126: # while pthread_create is in libc. We check for pthread_attr_init
! 3127: # due to DEC craziness with -lpthreads. We check for
! 3128: # pthread_cleanup_push because it is one of the few pthread
! 3129: # functions on Solaris that doesn't have a non-functional libc stub.
! 3130: # We try pthread_create on general principles.
! 3131: cat >conftest.$ac_ext <<_ACEOF
! 3132: /* confdefs.h. */
! 3133: _ACEOF
! 3134: cat confdefs.h >>conftest.$ac_ext
! 3135: cat >>conftest.$ac_ext <<_ACEOF
! 3136: /* end confdefs.h. */
! 3137: #include <pthread.h>
! 3138: int
! 3139: main ()
! 3140: {
! 3141: pthread_t th; pthread_join(th, 0);
! 3142: pthread_attr_init(0); pthread_cleanup_push(0, 0);
! 3143: pthread_create(0,0,0,0); pthread_cleanup_pop(0);
! 3144: ;
! 3145: return 0;
! 3146: }
! 3147: _ACEOF
! 3148: rm -f conftest.$ac_objext conftest$ac_exeext
! 3149: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3150: (eval $ac_link) 2>conftest.er1
! 3151: ac_status=$?
! 3152: grep -v '^ *+' conftest.er1 >conftest.err
! 3153: rm -f conftest.er1
! 3154: cat conftest.err >&5
! 3155: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3156: (exit $ac_status); } &&
! 3157: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3158: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3159: (eval $ac_try) 2>&5
! 3160: ac_status=$?
! 3161: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3162: (exit $ac_status); }; } &&
! 3163: { ac_try='test -s conftest$ac_exeext'
! 3164: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3165: (eval $ac_try) 2>&5
! 3166: ac_status=$?
! 3167: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3168: (exit $ac_status); }; }; then
! 3169: acx_pthread_ok=yes
! 3170: else
! 3171: echo "$as_me: failed program was:" >&5
! 3172: sed 's/^/| /' conftest.$ac_ext >&5
! 3173:
! 3174: fi
! 3175: rm -f conftest.err conftest.$ac_objext \
! 3176: conftest$ac_exeext conftest.$ac_ext
! 3177:
! 3178: LIBS="$save_LIBS"
! 3179: CFLAGS="$save_CFLAGS"
! 3180:
! 3181: echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
! 3182: echo "${ECHO_T}$acx_pthread_ok" >&6
! 3183: if test "x$acx_pthread_ok" = xyes; then
! 3184: break;
! 3185: fi
! 3186:
! 3187: PTHREAD_LIBS=""
! 3188: PTHREAD_CFLAGS=""
! 3189: done
! 3190: fi
! 3191:
! 3192: # Various other checks:
! 3193: if test "x$acx_pthread_ok" = xyes; then
! 3194: save_LIBS="$LIBS"
! 3195: LIBS="$PTHREAD_LIBS $LIBS"
! 3196: save_CFLAGS="$CFLAGS"
! 3197: CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
! 3198:
! 3199: # Detect AIX lossage: threads are created detached by default
! 3200: # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
! 3201: echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
! 3202: echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
! 3203: cat >conftest.$ac_ext <<_ACEOF
! 3204: /* confdefs.h. */
! 3205: _ACEOF
! 3206: cat confdefs.h >>conftest.$ac_ext
! 3207: cat >>conftest.$ac_ext <<_ACEOF
! 3208: /* end confdefs.h. */
! 3209: #include <pthread.h>
! 3210: int
! 3211: main ()
! 3212: {
! 3213: int attr=PTHREAD_CREATE_JOINABLE;
! 3214: ;
! 3215: return 0;
! 3216: }
! 3217: _ACEOF
! 3218: rm -f conftest.$ac_objext conftest$ac_exeext
! 3219: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3220: (eval $ac_link) 2>conftest.er1
! 3221: ac_status=$?
! 3222: grep -v '^ *+' conftest.er1 >conftest.err
! 3223: rm -f conftest.er1
! 3224: cat conftest.err >&5
! 3225: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3226: (exit $ac_status); } &&
! 3227: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3228: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3229: (eval $ac_try) 2>&5
! 3230: ac_status=$?
! 3231: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3232: (exit $ac_status); }; } &&
! 3233: { ac_try='test -s conftest$ac_exeext'
! 3234: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3235: (eval $ac_try) 2>&5
! 3236: ac_status=$?
! 3237: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3238: (exit $ac_status); }; }; then
! 3239: ok=PTHREAD_CREATE_JOINABLE
! 3240: else
! 3241: echo "$as_me: failed program was:" >&5
! 3242: sed 's/^/| /' conftest.$ac_ext >&5
! 3243:
! 3244: ok=unknown
! 3245: fi
! 3246: rm -f conftest.err conftest.$ac_objext \
! 3247: conftest$ac_exeext conftest.$ac_ext
! 3248: if test x"$ok" = xunknown; then
! 3249: cat >conftest.$ac_ext <<_ACEOF
! 3250: /* confdefs.h. */
! 3251: _ACEOF
! 3252: cat confdefs.h >>conftest.$ac_ext
! 3253: cat >>conftest.$ac_ext <<_ACEOF
! 3254: /* end confdefs.h. */
! 3255: #include <pthread.h>
! 3256: int
! 3257: main ()
! 3258: {
! 3259: int attr=PTHREAD_CREATE_UNDETACHED;
! 3260: ;
! 3261: return 0;
! 3262: }
! 3263: _ACEOF
! 3264: rm -f conftest.$ac_objext conftest$ac_exeext
! 3265: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3266: (eval $ac_link) 2>conftest.er1
! 3267: ac_status=$?
! 3268: grep -v '^ *+' conftest.er1 >conftest.err
! 3269: rm -f conftest.er1
! 3270: cat conftest.err >&5
! 3271: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3272: (exit $ac_status); } &&
! 3273: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3274: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3275: (eval $ac_try) 2>&5
! 3276: ac_status=$?
! 3277: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3278: (exit $ac_status); }; } &&
! 3279: { ac_try='test -s conftest$ac_exeext'
! 3280: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3281: (eval $ac_try) 2>&5
! 3282: ac_status=$?
! 3283: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3284: (exit $ac_status); }; }; then
! 3285: ok=PTHREAD_CREATE_UNDETACHED
! 3286: else
! 3287: echo "$as_me: failed program was:" >&5
! 3288: sed 's/^/| /' conftest.$ac_ext >&5
! 3289:
! 3290: ok=unknown
! 3291: fi
! 3292: rm -f conftest.err conftest.$ac_objext \
! 3293: conftest$ac_exeext conftest.$ac_ext
! 3294: fi
! 3295: if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
! 3296:
! 3297: cat >>confdefs.h <<\_ACEOF
! 3298: #define PTHREAD_CREATE_JOINABLE $ok
! 3299: _ACEOF
! 3300:
! 3301: fi
! 3302: echo "$as_me:$LINENO: result: ${ok}" >&5
! 3303: echo "${ECHO_T}${ok}" >&6
! 3304: if test x"$ok" = xunknown; then
! 3305: { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
! 3306: echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
! 3307: fi
! 3308:
! 3309: echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
! 3310: echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
! 3311: flag=no
! 3312: case "${host_cpu}-${host_os}" in
! 3313: *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
! 3314: *solaris*) flag="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
! 3315: *-osf* | *-hpux*) flag="-D_REENTRANT";;
! 3316: esac
! 3317: echo "$as_me:$LINENO: result: ${flag}" >&5
! 3318: echo "${ECHO_T}${flag}" >&6
! 3319: if test "x$flag" != xno; then
! 3320: PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
! 3321: fi
! 3322:
! 3323: LIBS="$save_LIBS"
! 3324: CFLAGS="$save_CFLAGS"
! 3325:
! 3326: # More AIX lossage: must compile with cc_r
! 3327: # Extract the first word of "cc_r", so it can be a program name with args.
! 3328: set dummy cc_r; ac_word=$2
! 3329: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3330: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3331: if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
! 3332: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3333: else
! 3334: if test -n "$PTHREAD_CC"; then
! 3335: ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
! 3336: else
! 3337: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3338: for as_dir in $PATH
! 3339: do
! 3340: IFS=$as_save_IFS
! 3341: test -z "$as_dir" && as_dir=.
! 3342: for ac_exec_ext in '' $ac_executable_extensions; do
! 3343: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3344: ac_cv_prog_PTHREAD_CC="cc_r"
! 3345: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3346: break 2
! 3347: fi
! 3348: done
! 3349: done
! 3350:
! 3351: test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
! 3352: fi
! 3353: fi
! 3354: PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
! 3355: if test -n "$PTHREAD_CC"; then
! 3356: echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
! 3357: echo "${ECHO_T}$PTHREAD_CC" >&6
! 3358: else
! 3359: echo "$as_me:$LINENO: result: no" >&5
! 3360: echo "${ECHO_T}no" >&6
! 3361: fi
! 3362:
! 3363: else
! 3364: PTHREAD_CC="$CC"
! 3365: fi
! 3366:
! 3367:
! 3368:
! 3369:
! 3370:
! 3371: # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
! 3372: if test x"$acx_pthread_ok" = xyes; then
! 3373:
! 3374: cat >>confdefs.h <<\_ACEOF
! 3375: #define HAVE_PTHREAD 1
! 3376: _ACEOF
! 3377:
! 3378: :
! 3379: else
! 3380: acx_pthread_ok=no
! 3381: { { echo "$as_me:$LINENO: error: cannot find pthread; see the INSTALL notes" >&5
! 3382: echo "$as_me: error: cannot find pthread; see the INSTALL notes" >&2;}
! 3383: { (exit 1); exit 1; }; }
! 3384: fi
! 3385: ac_ext=c
! 3386: ac_cpp='$CPP $CPPFLAGS'
! 3387: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3388: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3389: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3390:
! 3391:
! 3392:
! 3393: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3394: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 3395: if test "${ac_cv_header_stdc+set}" = set; then
! 3396: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3397: else
! 3398: cat >conftest.$ac_ext <<_ACEOF
! 3399: /* confdefs.h. */
! 3400: _ACEOF
! 3401: cat confdefs.h >>conftest.$ac_ext
! 3402: cat >>conftest.$ac_ext <<_ACEOF
! 3403: /* end confdefs.h. */
! 3404: #include <stdlib.h>
! 3405: #include <stdarg.h>
! 3406: #include <string.h>
! 3407: #include <float.h>
! 3408:
! 3409: int
! 3410: main ()
! 3411: {
! 3412:
! 3413: ;
! 3414: return 0;
! 3415: }
! 3416: _ACEOF
! 3417: rm -f conftest.$ac_objext
! 3418: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3419: (eval $ac_compile) 2>conftest.er1
! 3420: ac_status=$?
! 3421: grep -v '^ *+' conftest.er1 >conftest.err
! 3422: rm -f conftest.er1
! 3423: cat conftest.err >&5
! 3424: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3425: (exit $ac_status); } &&
! 3426: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3427: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3428: (eval $ac_try) 2>&5
! 3429: ac_status=$?
! 3430: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3431: (exit $ac_status); }; } &&
! 3432: { ac_try='test -s conftest.$ac_objext'
! 3433: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3434: (eval $ac_try) 2>&5
! 3435: ac_status=$?
! 3436: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3437: (exit $ac_status); }; }; then
! 3438: ac_cv_header_stdc=yes
! 3439: else
! 3440: echo "$as_me: failed program was:" >&5
! 3441: sed 's/^/| /' conftest.$ac_ext >&5
! 3442:
! 3443: ac_cv_header_stdc=no
! 3444: fi
! 3445: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3446:
! 3447: if test $ac_cv_header_stdc = yes; then
! 3448: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3449: cat >conftest.$ac_ext <<_ACEOF
! 3450: /* confdefs.h. */
! 3451: _ACEOF
! 3452: cat confdefs.h >>conftest.$ac_ext
! 3453: cat >>conftest.$ac_ext <<_ACEOF
! 3454: /* end confdefs.h. */
! 3455: #include <string.h>
! 3456:
! 3457: _ACEOF
! 3458: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3459: $EGREP "memchr" >/dev/null 2>&1; then
! 3460: :
! 3461: else
! 3462: ac_cv_header_stdc=no
! 3463: fi
! 3464: rm -f conftest*
! 3465:
! 3466: fi
! 3467:
! 3468: if test $ac_cv_header_stdc = yes; then
! 3469: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3470: cat >conftest.$ac_ext <<_ACEOF
! 3471: /* confdefs.h. */
! 3472: _ACEOF
! 3473: cat confdefs.h >>conftest.$ac_ext
! 3474: cat >>conftest.$ac_ext <<_ACEOF
! 3475: /* end confdefs.h. */
! 3476: #include <stdlib.h>
! 3477:
! 3478: _ACEOF
! 3479: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3480: $EGREP "free" >/dev/null 2>&1; then
! 3481: :
! 3482: else
! 3483: ac_cv_header_stdc=no
! 3484: fi
! 3485: rm -f conftest*
! 3486:
! 3487: fi
! 3488:
! 3489: if test $ac_cv_header_stdc = yes; then
! 3490: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3491: if test "$cross_compiling" = yes; then
! 3492: :
! 3493: else
! 3494: cat >conftest.$ac_ext <<_ACEOF
! 3495: /* confdefs.h. */
! 3496: _ACEOF
! 3497: cat confdefs.h >>conftest.$ac_ext
! 3498: cat >>conftest.$ac_ext <<_ACEOF
! 3499: /* end confdefs.h. */
! 3500: #include <ctype.h>
! 3501: #if ((' ' & 0x0FF) == 0x020)
! 3502: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3503: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3504: #else
! 3505: # define ISLOWER(c) \
! 3506: (('a' <= (c) && (c) <= 'i') \
! 3507: || ('j' <= (c) && (c) <= 'r') \
! 3508: || ('s' <= (c) && (c) <= 'z'))
! 3509: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3510: #endif
! 3511:
! 3512: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3513: int
! 3514: main ()
! 3515: {
! 3516: int i;
! 3517: for (i = 0; i < 256; i++)
! 3518: if (XOR (islower (i), ISLOWER (i))
! 3519: || toupper (i) != TOUPPER (i))
! 3520: exit(2);
! 3521: exit (0);
! 3522: }
! 3523: _ACEOF
! 3524: rm -f conftest$ac_exeext
! 3525: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3526: (eval $ac_link) 2>&5
! 3527: ac_status=$?
! 3528: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3529: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3530: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3531: (eval $ac_try) 2>&5
! 3532: ac_status=$?
! 3533: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3534: (exit $ac_status); }; }; then
! 3535: :
! 3536: else
! 3537: echo "$as_me: program exited with status $ac_status" >&5
! 3538: echo "$as_me: failed program was:" >&5
! 3539: sed 's/^/| /' conftest.$ac_ext >&5
! 3540:
! 3541: ( exit $ac_status )
! 3542: ac_cv_header_stdc=no
! 3543: fi
! 3544: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3545: fi
! 3546: fi
! 3547: fi
! 3548: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 3549: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 3550: if test $ac_cv_header_stdc = yes; then
! 3551:
! 3552: cat >>confdefs.h <<\_ACEOF
! 3553: #define STDC_HEADERS 1
! 3554: _ACEOF
! 3555:
! 3556: fi
! 3557:
! 3558: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
! 3559: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
! 3560: if test "${ac_cv_header_time+set}" = set; then
! 3561: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3562: else
! 3563: cat >conftest.$ac_ext <<_ACEOF
! 3564: /* confdefs.h. */
! 3565: _ACEOF
! 3566: cat confdefs.h >>conftest.$ac_ext
! 3567: cat >>conftest.$ac_ext <<_ACEOF
! 3568: /* end confdefs.h. */
! 3569: #include <sys/types.h>
! 3570: #include <sys/time.h>
! 3571: #include <time.h>
! 3572:
! 3573: int
! 3574: main ()
! 3575: {
! 3576: if ((struct tm *) 0)
! 3577: return 0;
! 3578: ;
! 3579: return 0;
! 3580: }
! 3581: _ACEOF
! 3582: rm -f conftest.$ac_objext
! 3583: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3584: (eval $ac_compile) 2>conftest.er1
! 3585: ac_status=$?
! 3586: grep -v '^ *+' conftest.er1 >conftest.err
! 3587: rm -f conftest.er1
! 3588: cat conftest.err >&5
! 3589: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3590: (exit $ac_status); } &&
! 3591: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3592: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3593: (eval $ac_try) 2>&5
! 3594: ac_status=$?
! 3595: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3596: (exit $ac_status); }; } &&
! 3597: { ac_try='test -s conftest.$ac_objext'
! 3598: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3599: (eval $ac_try) 2>&5
! 3600: ac_status=$?
! 3601: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3602: (exit $ac_status); }; }; then
! 3603: ac_cv_header_time=yes
! 3604: else
! 3605: echo "$as_me: failed program was:" >&5
! 3606: sed 's/^/| /' conftest.$ac_ext >&5
! 3607:
! 3608: ac_cv_header_time=no
! 3609: fi
! 3610: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3611: fi
! 3612: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
! 3613: echo "${ECHO_T}$ac_cv_header_time" >&6
! 3614: if test $ac_cv_header_time = yes; then
! 3615:
! 3616: cat >>confdefs.h <<\_ACEOF
! 3617: #define TIME_WITH_SYS_TIME 1
! 3618: _ACEOF
! 3619:
! 3620: fi
! 3621:
! 3622: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3623:
! 3624:
! 3625:
! 3626:
! 3627:
! 3628:
! 3629:
! 3630:
! 3631:
! 3632: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3633: inttypes.h stdint.h unistd.h
! 3634: do
! 3635: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3636: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3637: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3638: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3639: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3640: else
! 3641: cat >conftest.$ac_ext <<_ACEOF
! 3642: /* confdefs.h. */
! 3643: _ACEOF
! 3644: cat confdefs.h >>conftest.$ac_ext
! 3645: cat >>conftest.$ac_ext <<_ACEOF
! 3646: /* end confdefs.h. */
! 3647: $ac_includes_default
! 3648:
! 3649: #include <$ac_header>
! 3650: _ACEOF
! 3651: rm -f conftest.$ac_objext
! 3652: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3653: (eval $ac_compile) 2>conftest.er1
! 3654: ac_status=$?
! 3655: grep -v '^ *+' conftest.er1 >conftest.err
! 3656: rm -f conftest.er1
! 3657: cat conftest.err >&5
! 3658: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3659: (exit $ac_status); } &&
! 3660: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3661: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3662: (eval $ac_try) 2>&5
! 3663: ac_status=$?
! 3664: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3665: (exit $ac_status); }; } &&
! 3666: { ac_try='test -s conftest.$ac_objext'
! 3667: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3668: (eval $ac_try) 2>&5
! 3669: ac_status=$?
! 3670: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3671: (exit $ac_status); }; }; then
! 3672: eval "$as_ac_Header=yes"
! 3673: else
! 3674: echo "$as_me: failed program was:" >&5
! 3675: sed 's/^/| /' conftest.$ac_ext >&5
! 3676:
! 3677: eval "$as_ac_Header=no"
! 3678: fi
! 3679: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3680: fi
! 3681: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3682: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3683: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 3684: cat >>confdefs.h <<_ACEOF
! 3685: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3686: _ACEOF
! 3687:
! 3688: fi
! 3689:
! 3690: done
! 3691:
! 3692:
! 3693:
! 3694:
! 3695:
! 3696:
! 3697: for ac_header in sys/termios.h net/if_dl.h paths.h resolv.h
! 3698: do
! 3699: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3700: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3701: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3702: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3703: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3704: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3705: fi
! 3706: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3707: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3708: else
! 3709: # Is the header compilable?
! 3710: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 3711: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 3712: cat >conftest.$ac_ext <<_ACEOF
! 3713: /* confdefs.h. */
! 3714: _ACEOF
! 3715: cat confdefs.h >>conftest.$ac_ext
! 3716: cat >>conftest.$ac_ext <<_ACEOF
! 3717: /* end confdefs.h. */
! 3718: $ac_includes_default
! 3719: #include <$ac_header>
! 3720: _ACEOF
! 3721: rm -f conftest.$ac_objext
! 3722: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3723: (eval $ac_compile) 2>conftest.er1
! 3724: ac_status=$?
! 3725: grep -v '^ *+' conftest.er1 >conftest.err
! 3726: rm -f conftest.er1
! 3727: cat conftest.err >&5
! 3728: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3729: (exit $ac_status); } &&
! 3730: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3731: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3732: (eval $ac_try) 2>&5
! 3733: ac_status=$?
! 3734: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3735: (exit $ac_status); }; } &&
! 3736: { ac_try='test -s conftest.$ac_objext'
! 3737: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3738: (eval $ac_try) 2>&5
! 3739: ac_status=$?
! 3740: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3741: (exit $ac_status); }; }; then
! 3742: ac_header_compiler=yes
! 3743: else
! 3744: echo "$as_me: failed program was:" >&5
! 3745: sed 's/^/| /' conftest.$ac_ext >&5
! 3746:
! 3747: ac_header_compiler=no
! 3748: fi
! 3749: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3750: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3751: echo "${ECHO_T}$ac_header_compiler" >&6
! 3752:
! 3753: # Is the header present?
! 3754: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 3755: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 3756: cat >conftest.$ac_ext <<_ACEOF
! 3757: /* confdefs.h. */
! 3758: _ACEOF
! 3759: cat confdefs.h >>conftest.$ac_ext
! 3760: cat >>conftest.$ac_ext <<_ACEOF
! 3761: /* end confdefs.h. */
! 3762: #include <$ac_header>
! 3763: _ACEOF
! 3764: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3765: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3766: ac_status=$?
! 3767: grep -v '^ *+' conftest.er1 >conftest.err
! 3768: rm -f conftest.er1
! 3769: cat conftest.err >&5
! 3770: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3771: (exit $ac_status); } >/dev/null; then
! 3772: if test -s conftest.err; then
! 3773: ac_cpp_err=$ac_c_preproc_warn_flag
! 3774: ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
! 3775: else
! 3776: ac_cpp_err=
! 3777: fi
! 3778: else
! 3779: ac_cpp_err=yes
! 3780: fi
! 3781: if test -z "$ac_cpp_err"; then
! 3782: ac_header_preproc=yes
! 3783: else
! 3784: echo "$as_me: failed program was:" >&5
! 3785: sed 's/^/| /' conftest.$ac_ext >&5
! 3786:
! 3787: ac_header_preproc=no
! 3788: fi
! 3789: rm -f conftest.err conftest.$ac_ext
! 3790: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3791: echo "${ECHO_T}$ac_header_preproc" >&6
! 3792:
! 3793: # So? What about this header?
! 3794: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3795: yes:no: )
! 3796: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 3797: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3798: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 3799: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 3800: ac_header_preproc=yes
! 3801: ;;
! 3802: no:yes:* )
! 3803: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 3804: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 3805: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 3806: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 3807: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 3808: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 3809: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 3810: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 3811: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 3812: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 3813: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 3814: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 3815: (
! 3816: cat <<\_ASBOX
! 3817: ## ------------------------------------------ ##
! 3818: ## Report this to the AC_PACKAGE_NAME lists. ##
! 3819: ## ------------------------------------------ ##
! 3820: _ASBOX
! 3821: ) |
! 3822: sed "s/^/$as_me: WARNING: /" >&2
! 3823: ;;
! 3824: esac
! 3825: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3826: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3827: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3828: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3829: else
! 3830: eval "$as_ac_Header=\$ac_header_preproc"
! 3831: fi
! 3832: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3833: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3834:
! 3835: fi
! 3836: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 3837: cat >>confdefs.h <<_ACEOF
! 3838: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3839: _ACEOF
! 3840:
! 3841: fi
! 3842:
! 3843: done
! 3844:
! 3845:
! 3846: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 3847: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 3848: if test "${ac_cv_c_const+set}" = set; then
! 3849: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3850: else
! 3851: cat >conftest.$ac_ext <<_ACEOF
! 3852: /* confdefs.h. */
! 3853: _ACEOF
! 3854: cat confdefs.h >>conftest.$ac_ext
! 3855: cat >>conftest.$ac_ext <<_ACEOF
! 3856: /* end confdefs.h. */
! 3857:
! 3858: int
! 3859: main ()
! 3860: {
! 3861: /* FIXME: Include the comments suggested by Paul. */
! 3862: #ifndef __cplusplus
! 3863: /* Ultrix mips cc rejects this. */
! 3864: typedef int charset[2];
! 3865: const charset x;
! 3866: /* SunOS 4.1.1 cc rejects this. */
! 3867: char const *const *ccp;
! 3868: char **p;
! 3869: /* NEC SVR4.0.2 mips cc rejects this. */
! 3870: struct point {int x, y;};
! 3871: static struct point const zero = {0,0};
! 3872: /* AIX XL C 1.02.0.0 rejects this.
! 3873: It does not let you subtract one const X* pointer from another in
! 3874: an arm of an if-expression whose if-part is not a constant
! 3875: expression */
! 3876: const char *g = "string";
! 3877: ccp = &g + (g ? g-g : 0);
! 3878: /* HPUX 7.0 cc rejects these. */
! 3879: ++ccp;
! 3880: p = (char**) ccp;
! 3881: ccp = (char const *const *) p;
! 3882: { /* SCO 3.2v4 cc rejects this. */
! 3883: char *t;
! 3884: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 3885:
! 3886: *t++ = 0;
! 3887: }
! 3888: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 3889: int x[] = {25, 17};
! 3890: const int *foo = &x[0];
! 3891: ++foo;
! 3892: }
! 3893: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 3894: typedef const int *iptr;
! 3895: iptr p = 0;
! 3896: ++p;
! 3897: }
! 3898: { /* AIX XL C 1.02.0.0 rejects this saying
! 3899: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 3900: struct s { int j; const int *ap[3]; };
! 3901: struct s *b; b->j = 5;
! 3902: }
! 3903: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 3904: const int foo = 10;
! 3905: }
! 3906: #endif
! 3907:
! 3908: ;
! 3909: return 0;
! 3910: }
! 3911: _ACEOF
! 3912: rm -f conftest.$ac_objext
! 3913: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3914: (eval $ac_compile) 2>conftest.er1
! 3915: ac_status=$?
! 3916: grep -v '^ *+' conftest.er1 >conftest.err
! 3917: rm -f conftest.er1
! 3918: cat conftest.err >&5
! 3919: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3920: (exit $ac_status); } &&
! 3921: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3922: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3923: (eval $ac_try) 2>&5
! 3924: ac_status=$?
! 3925: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3926: (exit $ac_status); }; } &&
! 3927: { ac_try='test -s conftest.$ac_objext'
! 3928: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3929: (eval $ac_try) 2>&5
! 3930: ac_status=$?
! 3931: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3932: (exit $ac_status); }; }; then
! 3933: ac_cv_c_const=yes
! 3934: else
! 3935: echo "$as_me: failed program was:" >&5
! 3936: sed 's/^/| /' conftest.$ac_ext >&5
! 3937:
! 3938: ac_cv_c_const=no
! 3939: fi
! 3940: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 3941: fi
! 3942: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 3943: echo "${ECHO_T}$ac_cv_c_const" >&6
! 3944: if test $ac_cv_c_const = no; then
! 3945:
! 3946: cat >>confdefs.h <<\_ACEOF
! 3947: #define const
! 3948: _ACEOF
! 3949:
! 3950: fi
! 3951:
! 3952: echo "$as_me:$LINENO: checking for u_int8_t" >&5
! 3953: echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
! 3954: if test "${ac_cv_type_u_int8_t+set}" = set; then
! 3955: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3956: else
! 3957: cat >conftest.$ac_ext <<_ACEOF
! 3958: /* confdefs.h. */
! 3959: _ACEOF
! 3960: cat confdefs.h >>conftest.$ac_ext
! 3961: cat >>conftest.$ac_ext <<_ACEOF
! 3962: /* end confdefs.h. */
! 3963: $ac_includes_default
! 3964: int
! 3965: main ()
! 3966: {
! 3967: if ((u_int8_t *) 0)
! 3968: return 0;
! 3969: if (sizeof (u_int8_t))
! 3970: return 0;
! 3971: ;
! 3972: return 0;
! 3973: }
! 3974: _ACEOF
! 3975: rm -f conftest.$ac_objext
! 3976: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3977: (eval $ac_compile) 2>conftest.er1
! 3978: ac_status=$?
! 3979: grep -v '^ *+' conftest.er1 >conftest.err
! 3980: rm -f conftest.er1
! 3981: cat conftest.err >&5
! 3982: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3983: (exit $ac_status); } &&
! 3984: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 3985: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3986: (eval $ac_try) 2>&5
! 3987: ac_status=$?
! 3988: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3989: (exit $ac_status); }; } &&
! 3990: { ac_try='test -s conftest.$ac_objext'
! 3991: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3992: (eval $ac_try) 2>&5
! 3993: ac_status=$?
! 3994: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3995: (exit $ac_status); }; }; then
! 3996: ac_cv_type_u_int8_t=yes
! 3997: else
! 3998: echo "$as_me: failed program was:" >&5
! 3999: sed 's/^/| /' conftest.$ac_ext >&5
! 4000:
! 4001: ac_cv_type_u_int8_t=no
! 4002: fi
! 4003: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4004: fi
! 4005: echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
! 4006: echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
! 4007: if test $ac_cv_type_u_int8_t = yes; then
! 4008: :
! 4009: else
! 4010:
! 4011: cat >>confdefs.h <<_ACEOF
! 4012: #define u_int8_t unsigned char
! 4013: _ACEOF
! 4014:
! 4015: fi
! 4016:
! 4017: echo "$as_me:$LINENO: checking for u_int16_t" >&5
! 4018: echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
! 4019: if test "${ac_cv_type_u_int16_t+set}" = set; then
! 4020: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4021: else
! 4022: cat >conftest.$ac_ext <<_ACEOF
! 4023: /* confdefs.h. */
! 4024: _ACEOF
! 4025: cat confdefs.h >>conftest.$ac_ext
! 4026: cat >>conftest.$ac_ext <<_ACEOF
! 4027: /* end confdefs.h. */
! 4028: $ac_includes_default
! 4029: int
! 4030: main ()
! 4031: {
! 4032: if ((u_int16_t *) 0)
! 4033: return 0;
! 4034: if (sizeof (u_int16_t))
! 4035: return 0;
! 4036: ;
! 4037: return 0;
! 4038: }
! 4039: _ACEOF
! 4040: rm -f conftest.$ac_objext
! 4041: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4042: (eval $ac_compile) 2>conftest.er1
! 4043: ac_status=$?
! 4044: grep -v '^ *+' conftest.er1 >conftest.err
! 4045: rm -f conftest.er1
! 4046: cat conftest.err >&5
! 4047: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4048: (exit $ac_status); } &&
! 4049: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4050: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4051: (eval $ac_try) 2>&5
! 4052: ac_status=$?
! 4053: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4054: (exit $ac_status); }; } &&
! 4055: { ac_try='test -s conftest.$ac_objext'
! 4056: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4057: (eval $ac_try) 2>&5
! 4058: ac_status=$?
! 4059: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4060: (exit $ac_status); }; }; then
! 4061: ac_cv_type_u_int16_t=yes
! 4062: else
! 4063: echo "$as_me: failed program was:" >&5
! 4064: sed 's/^/| /' conftest.$ac_ext >&5
! 4065:
! 4066: ac_cv_type_u_int16_t=no
! 4067: fi
! 4068: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4069: fi
! 4070: echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
! 4071: echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
! 4072: if test $ac_cv_type_u_int16_t = yes; then
! 4073: :
! 4074: else
! 4075:
! 4076: cat >>confdefs.h <<_ACEOF
! 4077: #define u_int16_t unsigned short
! 4078: _ACEOF
! 4079:
! 4080: fi
! 4081:
! 4082: echo "$as_me:$LINENO: checking for u_int32_t" >&5
! 4083: echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
! 4084: if test "${ac_cv_type_u_int32_t+set}" = set; then
! 4085: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4086: else
! 4087: cat >conftest.$ac_ext <<_ACEOF
! 4088: /* confdefs.h. */
! 4089: _ACEOF
! 4090: cat confdefs.h >>conftest.$ac_ext
! 4091: cat >>conftest.$ac_ext <<_ACEOF
! 4092: /* end confdefs.h. */
! 4093: $ac_includes_default
! 4094: int
! 4095: main ()
! 4096: {
! 4097: if ((u_int32_t *) 0)
! 4098: return 0;
! 4099: if (sizeof (u_int32_t))
! 4100: return 0;
! 4101: ;
! 4102: return 0;
! 4103: }
! 4104: _ACEOF
! 4105: rm -f conftest.$ac_objext
! 4106: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4107: (eval $ac_compile) 2>conftest.er1
! 4108: ac_status=$?
! 4109: grep -v '^ *+' conftest.er1 >conftest.err
! 4110: rm -f conftest.er1
! 4111: cat conftest.err >&5
! 4112: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4113: (exit $ac_status); } &&
! 4114: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4115: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4116: (eval $ac_try) 2>&5
! 4117: ac_status=$?
! 4118: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4119: (exit $ac_status); }; } &&
! 4120: { ac_try='test -s conftest.$ac_objext'
! 4121: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4122: (eval $ac_try) 2>&5
! 4123: ac_status=$?
! 4124: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4125: (exit $ac_status); }; }; then
! 4126: ac_cv_type_u_int32_t=yes
! 4127: else
! 4128: echo "$as_me: failed program was:" >&5
! 4129: sed 's/^/| /' conftest.$ac_ext >&5
! 4130:
! 4131: ac_cv_type_u_int32_t=no
! 4132: fi
! 4133: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4134: fi
! 4135: echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
! 4136: echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
! 4137: if test $ac_cv_type_u_int32_t = yes; then
! 4138: :
! 4139: else
! 4140:
! 4141: cat >>confdefs.h <<_ACEOF
! 4142: #define u_int32_t unsigned int
! 4143: _ACEOF
! 4144:
! 4145: fi
! 4146:
! 4147: echo "$as_me:$LINENO: checking for u_int64_t" >&5
! 4148: echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
! 4149: if test "${ac_cv_type_u_int64_t+set}" = set; then
! 4150: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4151: else
! 4152: cat >conftest.$ac_ext <<_ACEOF
! 4153: /* confdefs.h. */
! 4154: _ACEOF
! 4155: cat confdefs.h >>conftest.$ac_ext
! 4156: cat >>conftest.$ac_ext <<_ACEOF
! 4157: /* end confdefs.h. */
! 4158: $ac_includes_default
! 4159: int
! 4160: main ()
! 4161: {
! 4162: if ((u_int64_t *) 0)
! 4163: return 0;
! 4164: if (sizeof (u_int64_t))
! 4165: return 0;
! 4166: ;
! 4167: return 0;
! 4168: }
! 4169: _ACEOF
! 4170: rm -f conftest.$ac_objext
! 4171: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4172: (eval $ac_compile) 2>conftest.er1
! 4173: ac_status=$?
! 4174: grep -v '^ *+' conftest.er1 >conftest.err
! 4175: rm -f conftest.er1
! 4176: cat conftest.err >&5
! 4177: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4178: (exit $ac_status); } &&
! 4179: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4180: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4181: (eval $ac_try) 2>&5
! 4182: ac_status=$?
! 4183: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4184: (exit $ac_status); }; } &&
! 4185: { ac_try='test -s conftest.$ac_objext'
! 4186: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4187: (eval $ac_try) 2>&5
! 4188: ac_status=$?
! 4189: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4190: (exit $ac_status); }; }; then
! 4191: ac_cv_type_u_int64_t=yes
! 4192: else
! 4193: echo "$as_me: failed program was:" >&5
! 4194: sed 's/^/| /' conftest.$ac_ext >&5
! 4195:
! 4196: ac_cv_type_u_int64_t=no
! 4197: fi
! 4198: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4199: fi
! 4200: echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
! 4201: echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
! 4202: if test $ac_cv_type_u_int64_t = yes; then
! 4203: :
! 4204: else
! 4205:
! 4206: cat >>confdefs.h <<_ACEOF
! 4207: #define u_int64_t unsigned long long
! 4208: _ACEOF
! 4209:
! 4210: fi
! 4211:
! 4212:
! 4213: echo "$as_me:$LINENO: checking for in_addr_t" >&5
! 4214: echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
! 4215: if test "${ac_cv_type_in_addr_t+set}" = set; then
! 4216: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4217: else
! 4218: cat >conftest.$ac_ext <<_ACEOF
! 4219: /* confdefs.h. */
! 4220: _ACEOF
! 4221: cat confdefs.h >>conftest.$ac_ext
! 4222: cat >>conftest.$ac_ext <<_ACEOF
! 4223: /* end confdefs.h. */
! 4224:
! 4225: #include <sys/types.h>
! 4226: #include <netinet/in.h>
! 4227:
! 4228: int
! 4229: main ()
! 4230: {
! 4231: in_addr_t ipaddr
! 4232: ;
! 4233: return 0;
! 4234: }
! 4235: _ACEOF
! 4236: rm -f conftest.$ac_objext
! 4237: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4238: (eval $ac_compile) 2>conftest.er1
! 4239: ac_status=$?
! 4240: grep -v '^ *+' conftest.er1 >conftest.err
! 4241: rm -f conftest.er1
! 4242: cat conftest.err >&5
! 4243: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4244: (exit $ac_status); } &&
! 4245: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4246: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4247: (eval $ac_try) 2>&5
! 4248: ac_status=$?
! 4249: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4250: (exit $ac_status); }; } &&
! 4251: { ac_try='test -s conftest.$ac_objext'
! 4252: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4253: (eval $ac_try) 2>&5
! 4254: ac_status=$?
! 4255: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4256: (exit $ac_status); }; }; then
! 4257: ac_cv_type_in_addr_t="yes"
! 4258: else
! 4259: echo "$as_me: failed program was:" >&5
! 4260: sed 's/^/| /' conftest.$ac_ext >&5
! 4261:
! 4262: ac_cv_type_in_addr_t="unsigned int"
! 4263:
! 4264: fi
! 4265: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4266:
! 4267: fi
! 4268: echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
! 4269: echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
! 4270: if test "$ac_cv_type_in_addr_t" != yes; then
! 4271: cat >>confdefs.h <<_ACEOF
! 4272: #define in_addr_t $ac_cv_type_in_addr_t
! 4273: _ACEOF
! 4274:
! 4275: fi
! 4276:
! 4277: echo "$as_me:$LINENO: checking for socklen_t" >&5
! 4278: echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
! 4279: if test "${ac_cv_type_socklen_t+set}" = set; then
! 4280: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4281: else
! 4282: cat >conftest.$ac_ext <<_ACEOF
! 4283: /* confdefs.h. */
! 4284: _ACEOF
! 4285: cat confdefs.h >>conftest.$ac_ext
! 4286: cat >>conftest.$ac_ext <<_ACEOF
! 4287: /* end confdefs.h. */
! 4288:
! 4289: #include <sys/types.h>
! 4290: #include <sys/socket.h>
! 4291: #include <netdb.h>
! 4292:
! 4293: int
! 4294: main ()
! 4295: {
! 4296: socklen_t slen
! 4297: ;
! 4298: return 0;
! 4299: }
! 4300: _ACEOF
! 4301: rm -f conftest.$ac_objext
! 4302: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4303: (eval $ac_compile) 2>conftest.er1
! 4304: ac_status=$?
! 4305: grep -v '^ *+' conftest.er1 >conftest.err
! 4306: rm -f conftest.er1
! 4307: cat conftest.err >&5
! 4308: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4309: (exit $ac_status); } &&
! 4310: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4311: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4312: (eval $ac_try) 2>&5
! 4313: ac_status=$?
! 4314: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4315: (exit $ac_status); }; } &&
! 4316: { ac_try='test -s conftest.$ac_objext'
! 4317: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4318: (eval $ac_try) 2>&5
! 4319: ac_status=$?
! 4320: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4321: (exit $ac_status); }; }; then
! 4322: ac_cv_type_socklen_t="yes"
! 4323: else
! 4324: echo "$as_me: failed program was:" >&5
! 4325: sed 's/^/| /' conftest.$ac_ext >&5
! 4326:
! 4327: ac_cv_type_socklen_t="int"
! 4328:
! 4329: fi
! 4330: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4331:
! 4332: fi
! 4333: echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
! 4334: echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
! 4335: if test "$ac_cv_type_socklen_t" != yes; then
! 4336: cat >>confdefs.h <<_ACEOF
! 4337: #define socklen_t $ac_cv_type_socklen_t
! 4338: _ACEOF
! 4339:
! 4340: fi
! 4341:
! 4342: echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
! 4343: echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
! 4344: if test "${ac_cv_sockaddr_storage+set}" = set; then
! 4345: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4346: else
! 4347: cat >conftest.$ac_ext <<_ACEOF
! 4348: /* confdefs.h. */
! 4349: _ACEOF
! 4350: cat confdefs.h >>conftest.$ac_ext
! 4351: cat >>conftest.$ac_ext <<_ACEOF
! 4352: /* end confdefs.h. */
! 4353:
! 4354: #include <sys/types.h>
! 4355: #include <sys/socket.h>
! 4356: #include <netinet/in.h>
! 4357:
! 4358: int
! 4359: main ()
! 4360: {
! 4361: struct sockaddr_storage ss
! 4362: ;
! 4363: return 0;
! 4364: }
! 4365: _ACEOF
! 4366: rm -f conftest.$ac_objext
! 4367: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4368: (eval $ac_compile) 2>conftest.er1
! 4369: ac_status=$?
! 4370: grep -v '^ *+' conftest.er1 >conftest.err
! 4371: rm -f conftest.er1
! 4372: cat conftest.err >&5
! 4373: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4374: (exit $ac_status); } &&
! 4375: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4376: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4377: (eval $ac_try) 2>&5
! 4378: ac_status=$?
! 4379: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4380: (exit $ac_status); }; } &&
! 4381: { ac_try='test -s conftest.$ac_objext'
! 4382: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4383: (eval $ac_try) 2>&5
! 4384: ac_status=$?
! 4385: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4386: (exit $ac_status); }; }; then
! 4387: ac_cv_sockaddr_storage="yes"
! 4388: else
! 4389: echo "$as_me: failed program was:" >&5
! 4390: sed 's/^/| /' conftest.$ac_ext >&5
! 4391:
! 4392: ac_cv_sockaddr_storage="no"
! 4393:
! 4394: fi
! 4395: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4396:
! 4397: fi
! 4398: echo "$as_me:$LINENO: result: $ac_cv_sockaddr_storage" >&5
! 4399: echo "${ECHO_T}$ac_cv_sockaddr_storage" >&6
! 4400: if test "$ac_cv_sockaddr_storage" != no; then
! 4401: cat >>confdefs.h <<\_ACEOF
! 4402: #define HAVE_SOCKADDR_STORAGE 1
! 4403: _ACEOF
! 4404:
! 4405: fi
! 4406:
! 4407: echo "$as_me:$LINENO: checking for struct ether_addr" >&5
! 4408: echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6
! 4409: if test "${ac_cv_ether_addr+set}" = set; then
! 4410: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4411: else
! 4412: cat >conftest.$ac_ext <<_ACEOF
! 4413: /* confdefs.h. */
! 4414: _ACEOF
! 4415: cat confdefs.h >>conftest.$ac_ext
! 4416: cat >>conftest.$ac_ext <<_ACEOF
! 4417: /* end confdefs.h. */
! 4418:
! 4419: #include <sys/types.h>
! 4420: #include <sys/socket.h>
! 4421: #include <net/if.h>
! 4422: #include <netinet/if_ether.h>
! 4423:
! 4424: int
! 4425: main ()
! 4426: {
! 4427: struct ether_addr ea
! 4428: ;
! 4429: return 0;
! 4430: }
! 4431: _ACEOF
! 4432: rm -f conftest.$ac_objext
! 4433: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4434: (eval $ac_compile) 2>conftest.er1
! 4435: ac_status=$?
! 4436: grep -v '^ *+' conftest.er1 >conftest.err
! 4437: rm -f conftest.er1
! 4438: cat conftest.err >&5
! 4439: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4440: (exit $ac_status); } &&
! 4441: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4442: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4443: (eval $ac_try) 2>&5
! 4444: ac_status=$?
! 4445: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4446: (exit $ac_status); }; } &&
! 4447: { ac_try='test -s conftest.$ac_objext'
! 4448: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4449: (eval $ac_try) 2>&5
! 4450: ac_status=$?
! 4451: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4452: (exit $ac_status); }; }; then
! 4453: ac_cv_ether_addr="yes"
! 4454: else
! 4455: echo "$as_me: failed program was:" >&5
! 4456: sed 's/^/| /' conftest.$ac_ext >&5
! 4457:
! 4458: ac_cv_ether_addr="no"
! 4459:
! 4460: fi
! 4461: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
! 4462:
! 4463: fi
! 4464: echo "$as_me:$LINENO: result: $ac_cv_ether_addr" >&5
! 4465: echo "${ECHO_T}$ac_cv_ether_addr" >&6
! 4466: if test "$ac_cv_ether_addr" != no; then
! 4467: cat >>confdefs.h <<\_ACEOF
! 4468: #define HAVE_ETHER_ADDR 1
! 4469: _ACEOF
! 4470:
! 4471: fi
! 4472:
! 4473:
! 4474: echo "$as_me:$LINENO: checking for main in -lresolv" >&5
! 4475: echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
! 4476: if test "${ac_cv_lib_resolv_main+set}" = set; then
! 4477: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4478: else
! 4479: ac_check_lib_save_LIBS=$LIBS
! 4480: LIBS="-lresolv $LIBS"
! 4481: cat >conftest.$ac_ext <<_ACEOF
! 4482: /* confdefs.h. */
! 4483: _ACEOF
! 4484: cat confdefs.h >>conftest.$ac_ext
! 4485: cat >>conftest.$ac_ext <<_ACEOF
! 4486: /* end confdefs.h. */
! 4487:
! 4488:
! 4489: int
! 4490: main ()
! 4491: {
! 4492: main ();
! 4493: ;
! 4494: return 0;
! 4495: }
! 4496: _ACEOF
! 4497: rm -f conftest.$ac_objext conftest$ac_exeext
! 4498: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4499: (eval $ac_link) 2>conftest.er1
! 4500: ac_status=$?
! 4501: grep -v '^ *+' conftest.er1 >conftest.err
! 4502: rm -f conftest.er1
! 4503: cat conftest.err >&5
! 4504: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4505: (exit $ac_status); } &&
! 4506: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4507: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4508: (eval $ac_try) 2>&5
! 4509: ac_status=$?
! 4510: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4511: (exit $ac_status); }; } &&
! 4512: { ac_try='test -s conftest$ac_exeext'
! 4513: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4514: (eval $ac_try) 2>&5
! 4515: ac_status=$?
! 4516: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4517: (exit $ac_status); }; }; then
! 4518: ac_cv_lib_resolv_main=yes
! 4519: else
! 4520: echo "$as_me: failed program was:" >&5
! 4521: sed 's/^/| /' conftest.$ac_ext >&5
! 4522:
! 4523: ac_cv_lib_resolv_main=no
! 4524: fi
! 4525: rm -f conftest.err conftest.$ac_objext \
! 4526: conftest$ac_exeext conftest.$ac_ext
! 4527: LIBS=$ac_check_lib_save_LIBS
! 4528: fi
! 4529: echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
! 4530: echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
! 4531: if test $ac_cv_lib_resolv_main = yes; then
! 4532: cat >>confdefs.h <<_ACEOF
! 4533: #define HAVE_LIBRESOLV 1
! 4534: _ACEOF
! 4535:
! 4536: LIBS="-lresolv $LIBS"
! 4537:
! 4538: fi
! 4539:
! 4540:
! 4541: echo "$as_me:$LINENO: checking for main in -linet" >&5
! 4542: echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6
! 4543: if test "${ac_cv_lib_inet_main+set}" = set; then
! 4544: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4545: else
! 4546: ac_check_lib_save_LIBS=$LIBS
! 4547: LIBS="-linet $LIBS"
! 4548: cat >conftest.$ac_ext <<_ACEOF
! 4549: /* confdefs.h. */
! 4550: _ACEOF
! 4551: cat confdefs.h >>conftest.$ac_ext
! 4552: cat >>conftest.$ac_ext <<_ACEOF
! 4553: /* end confdefs.h. */
! 4554:
! 4555:
! 4556: int
! 4557: main ()
! 4558: {
! 4559: main ();
! 4560: ;
! 4561: return 0;
! 4562: }
! 4563: _ACEOF
! 4564: rm -f conftest.$ac_objext conftest$ac_exeext
! 4565: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4566: (eval $ac_link) 2>conftest.er1
! 4567: ac_status=$?
! 4568: grep -v '^ *+' conftest.er1 >conftest.err
! 4569: rm -f conftest.er1
! 4570: cat conftest.err >&5
! 4571: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4572: (exit $ac_status); } &&
! 4573: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4574: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4575: (eval $ac_try) 2>&5
! 4576: ac_status=$?
! 4577: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4578: (exit $ac_status); }; } &&
! 4579: { ac_try='test -s conftest$ac_exeext'
! 4580: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4581: (eval $ac_try) 2>&5
! 4582: ac_status=$?
! 4583: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4584: (exit $ac_status); }; }; then
! 4585: ac_cv_lib_inet_main=yes
! 4586: else
! 4587: echo "$as_me: failed program was:" >&5
! 4588: sed 's/^/| /' conftest.$ac_ext >&5
! 4589:
! 4590: ac_cv_lib_inet_main=no
! 4591: fi
! 4592: rm -f conftest.err conftest.$ac_objext \
! 4593: conftest$ac_exeext conftest.$ac_ext
! 4594: LIBS=$ac_check_lib_save_LIBS
! 4595: fi
! 4596: echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
! 4597: echo "${ECHO_T}$ac_cv_lib_inet_main" >&6
! 4598: if test $ac_cv_lib_inet_main = yes; then
! 4599: cat >>confdefs.h <<_ACEOF
! 4600: #define HAVE_LIBINET 1
! 4601: _ACEOF
! 4602:
! 4603: LIBS="-linet $LIBS"
! 4604:
! 4605: fi
! 4606:
! 4607:
! 4608: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
! 4609: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
! 4610: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
! 4611: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4612: else
! 4613: ac_check_lib_save_LIBS=$LIBS
! 4614: LIBS="-lnsl $LIBS"
! 4615: cat >conftest.$ac_ext <<_ACEOF
! 4616: /* confdefs.h. */
! 4617: _ACEOF
! 4618: cat confdefs.h >>conftest.$ac_ext
! 4619: cat >>conftest.$ac_ext <<_ACEOF
! 4620: /* end confdefs.h. */
! 4621:
! 4622: /* Override any gcc2 internal prototype to avoid an error. */
! 4623: #ifdef __cplusplus
! 4624: extern "C"
! 4625: #endif
! 4626: /* We use char because int might match the return type of a gcc2
! 4627: builtin and then its argument prototype would still apply. */
! 4628: char gethostbyname ();
! 4629: int
! 4630: main ()
! 4631: {
! 4632: gethostbyname ();
! 4633: ;
! 4634: return 0;
! 4635: }
! 4636: _ACEOF
! 4637: rm -f conftest.$ac_objext conftest$ac_exeext
! 4638: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4639: (eval $ac_link) 2>conftest.er1
! 4640: ac_status=$?
! 4641: grep -v '^ *+' conftest.er1 >conftest.err
! 4642: rm -f conftest.er1
! 4643: cat conftest.err >&5
! 4644: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4645: (exit $ac_status); } &&
! 4646: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4647: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4648: (eval $ac_try) 2>&5
! 4649: ac_status=$?
! 4650: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4651: (exit $ac_status); }; } &&
! 4652: { ac_try='test -s conftest$ac_exeext'
! 4653: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4654: (eval $ac_try) 2>&5
! 4655: ac_status=$?
! 4656: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4657: (exit $ac_status); }; }; then
! 4658: ac_cv_lib_nsl_gethostbyname=yes
! 4659: else
! 4660: echo "$as_me: failed program was:" >&5
! 4661: sed 's/^/| /' conftest.$ac_ext >&5
! 4662:
! 4663: ac_cv_lib_nsl_gethostbyname=no
! 4664: fi
! 4665: rm -f conftest.err conftest.$ac_objext \
! 4666: conftest$ac_exeext conftest.$ac_ext
! 4667: LIBS=$ac_check_lib_save_LIBS
! 4668: fi
! 4669: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 4670: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
! 4671: if test $ac_cv_lib_nsl_gethostbyname = yes; then
! 4672: cat >>confdefs.h <<_ACEOF
! 4673: #define HAVE_LIBNSL 1
! 4674: _ACEOF
! 4675:
! 4676: LIBS="-lnsl $LIBS"
! 4677:
! 4678: fi
! 4679:
! 4680:
! 4681: echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
! 4682: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
! 4683: if test "${ac_cv_lib_socket_connect+set}" = set; then
! 4684: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4685: else
! 4686: ac_check_lib_save_LIBS=$LIBS
! 4687: LIBS="-lsocket $LIBS"
! 4688: cat >conftest.$ac_ext <<_ACEOF
! 4689: /* confdefs.h. */
! 4690: _ACEOF
! 4691: cat confdefs.h >>conftest.$ac_ext
! 4692: cat >>conftest.$ac_ext <<_ACEOF
! 4693: /* end confdefs.h. */
! 4694:
! 4695: /* Override any gcc2 internal prototype to avoid an error. */
! 4696: #ifdef __cplusplus
! 4697: extern "C"
! 4698: #endif
! 4699: /* We use char because int might match the return type of a gcc2
! 4700: builtin and then its argument prototype would still apply. */
! 4701: char connect ();
! 4702: int
! 4703: main ()
! 4704: {
! 4705: connect ();
! 4706: ;
! 4707: return 0;
! 4708: }
! 4709: _ACEOF
! 4710: rm -f conftest.$ac_objext conftest$ac_exeext
! 4711: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4712: (eval $ac_link) 2>conftest.er1
! 4713: ac_status=$?
! 4714: grep -v '^ *+' conftest.er1 >conftest.err
! 4715: rm -f conftest.er1
! 4716: cat conftest.err >&5
! 4717: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4718: (exit $ac_status); } &&
! 4719: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4720: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4721: (eval $ac_try) 2>&5
! 4722: ac_status=$?
! 4723: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4724: (exit $ac_status); }; } &&
! 4725: { ac_try='test -s conftest$ac_exeext'
! 4726: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4727: (eval $ac_try) 2>&5
! 4728: ac_status=$?
! 4729: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4730: (exit $ac_status); }; }; then
! 4731: ac_cv_lib_socket_connect=yes
! 4732: else
! 4733: echo "$as_me: failed program was:" >&5
! 4734: sed 's/^/| /' conftest.$ac_ext >&5
! 4735:
! 4736: ac_cv_lib_socket_connect=no
! 4737: fi
! 4738: rm -f conftest.err conftest.$ac_objext \
! 4739: conftest$ac_exeext conftest.$ac_ext
! 4740: LIBS=$ac_check_lib_save_LIBS
! 4741: fi
! 4742: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
! 4743: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
! 4744: if test $ac_cv_lib_socket_connect = yes; then
! 4745: cat >>confdefs.h <<_ACEOF
! 4746: #define HAVE_LIBSOCKET 1
! 4747: _ACEOF
! 4748:
! 4749: LIBS="-lsocket $LIBS"
! 4750:
! 4751: fi
! 4752:
! 4753:
! 4754:
! 4755: for ac_func in siginterrupt
! 4756: do
! 4757: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4758: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4759: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 4760: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 4761: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4762: else
! 4763: cat >conftest.$ac_ext <<_ACEOF
! 4764: /* confdefs.h. */
! 4765: _ACEOF
! 4766: cat confdefs.h >>conftest.$ac_ext
! 4767: cat >>conftest.$ac_ext <<_ACEOF
! 4768: /* end confdefs.h. */
! 4769: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 4770: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 4771: #define $ac_func innocuous_$ac_func
! 4772:
! 4773: /* System header to define __stub macros and hopefully few prototypes,
! 4774: which can conflict with char $ac_func (); below.
! 4775: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4776: <limits.h> exists even on freestanding compilers. */
! 4777:
! 4778: #ifdef __STDC__
! 4779: # include <limits.h>
! 4780: #else
! 4781: # include <assert.h>
! 4782: #endif
! 4783:
! 4784: #undef $ac_func
! 4785:
! 4786: /* Override any gcc2 internal prototype to avoid an error. */
! 4787: #ifdef __cplusplus
! 4788: extern "C"
! 4789: {
! 4790: #endif
! 4791: /* We use char because int might match the return type of a gcc2
! 4792: builtin and then its argument prototype would still apply. */
! 4793: char $ac_func ();
! 4794: /* The GNU C library defines this for functions which it implements
! 4795: to always fail with ENOSYS. Some functions are actually named
! 4796: something starting with __ and the normal name is an alias. */
! 4797: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 4798: choke me
! 4799: #else
! 4800: char (*f) () = $ac_func;
! 4801: #endif
! 4802: #ifdef __cplusplus
! 4803: }
! 4804: #endif
! 4805:
! 4806: int
! 4807: main ()
! 4808: {
! 4809: return f != $ac_func;
! 4810: ;
! 4811: return 0;
! 4812: }
! 4813: _ACEOF
! 4814: rm -f conftest.$ac_objext conftest$ac_exeext
! 4815: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4816: (eval $ac_link) 2>conftest.er1
! 4817: ac_status=$?
! 4818: grep -v '^ *+' conftest.er1 >conftest.err
! 4819: rm -f conftest.er1
! 4820: cat conftest.err >&5
! 4821: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4822: (exit $ac_status); } &&
! 4823: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4824: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4825: (eval $ac_try) 2>&5
! 4826: ac_status=$?
! 4827: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4828: (exit $ac_status); }; } &&
! 4829: { ac_try='test -s conftest$ac_exeext'
! 4830: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4831: (eval $ac_try) 2>&5
! 4832: ac_status=$?
! 4833: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4834: (exit $ac_status); }; }; then
! 4835: eval "$as_ac_var=yes"
! 4836: else
! 4837: echo "$as_me: failed program was:" >&5
! 4838: sed 's/^/| /' conftest.$ac_ext >&5
! 4839:
! 4840: eval "$as_ac_var=no"
! 4841: fi
! 4842: rm -f conftest.err conftest.$ac_objext \
! 4843: conftest$ac_exeext conftest.$ac_ext
! 4844: fi
! 4845: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 4846: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 4847: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 4848: cat >>confdefs.h <<_ACEOF
! 4849: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4850: _ACEOF
! 4851:
! 4852: fi
! 4853: done
! 4854:
! 4855:
! 4856:
! 4857:
! 4858: for ac_func in snprintf strftime strcasecmp
! 4859: do
! 4860: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4861: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4862: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 4863: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 4864: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4865: else
! 4866: cat >conftest.$ac_ext <<_ACEOF
! 4867: /* confdefs.h. */
! 4868: _ACEOF
! 4869: cat confdefs.h >>conftest.$ac_ext
! 4870: cat >>conftest.$ac_ext <<_ACEOF
! 4871: /* end confdefs.h. */
! 4872: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 4873: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 4874: #define $ac_func innocuous_$ac_func
! 4875:
! 4876: /* System header to define __stub macros and hopefully few prototypes,
! 4877: which can conflict with char $ac_func (); below.
! 4878: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4879: <limits.h> exists even on freestanding compilers. */
! 4880:
! 4881: #ifdef __STDC__
! 4882: # include <limits.h>
! 4883: #else
! 4884: # include <assert.h>
! 4885: #endif
! 4886:
! 4887: #undef $ac_func
! 4888:
! 4889: /* Override any gcc2 internal prototype to avoid an error. */
! 4890: #ifdef __cplusplus
! 4891: extern "C"
! 4892: {
! 4893: #endif
! 4894: /* We use char because int might match the return type of a gcc2
! 4895: builtin and then its argument prototype would still apply. */
! 4896: char $ac_func ();
! 4897: /* The GNU C library defines this for functions which it implements
! 4898: to always fail with ENOSYS. Some functions are actually named
! 4899: something starting with __ and the normal name is an alias. */
! 4900: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 4901: choke me
! 4902: #else
! 4903: char (*f) () = $ac_func;
! 4904: #endif
! 4905: #ifdef __cplusplus
! 4906: }
! 4907: #endif
! 4908:
! 4909: int
! 4910: main ()
! 4911: {
! 4912: return f != $ac_func;
! 4913: ;
! 4914: return 0;
! 4915: }
! 4916: _ACEOF
! 4917: rm -f conftest.$ac_objext conftest$ac_exeext
! 4918: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4919: (eval $ac_link) 2>conftest.er1
! 4920: ac_status=$?
! 4921: grep -v '^ *+' conftest.er1 >conftest.err
! 4922: rm -f conftest.er1
! 4923: cat conftest.err >&5
! 4924: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4925: (exit $ac_status); } &&
! 4926: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 4927: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4928: (eval $ac_try) 2>&5
! 4929: ac_status=$?
! 4930: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4931: (exit $ac_status); }; } &&
! 4932: { ac_try='test -s conftest$ac_exeext'
! 4933: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4934: (eval $ac_try) 2>&5
! 4935: ac_status=$?
! 4936: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4937: (exit $ac_status); }; }; then
! 4938: eval "$as_ac_var=yes"
! 4939: else
! 4940: echo "$as_me: failed program was:" >&5
! 4941: sed 's/^/| /' conftest.$ac_ext >&5
! 4942:
! 4943: eval "$as_ac_var=no"
! 4944: fi
! 4945: rm -f conftest.err conftest.$ac_objext \
! 4946: conftest$ac_exeext conftest.$ac_ext
! 4947: fi
! 4948: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 4949: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 4950: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 4951: cat >>confdefs.h <<_ACEOF
! 4952: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4953: _ACEOF
! 4954:
! 4955: else
! 4956: case $LIBOBJS in
! 4957: "$ac_func.$ac_objext" | \
! 4958: *" $ac_func.$ac_objext" | \
! 4959: "$ac_func.$ac_objext "* | \
! 4960: *" $ac_func.$ac_objext "* ) ;;
! 4961: *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
! 4962: esac
! 4963:
! 4964: fi
! 4965: done
! 4966:
! 4967:
! 4968:
! 4969:
! 4970: echo "$as_me:$LINENO: checking for pcap_findalldevs in -lpcap" >&5
! 4971: echo $ECHO_N "checking for pcap_findalldevs in -lpcap... $ECHO_C" >&6
! 4972: if test "${ac_cv_lib_pcap_pcap_findalldevs+set}" = set; then
! 4973: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4974: else
! 4975: ac_check_lib_save_LIBS=$LIBS
! 4976: LIBS="-lpcap $LIBS"
! 4977: cat >conftest.$ac_ext <<_ACEOF
! 4978: /* confdefs.h. */
! 4979: _ACEOF
! 4980: cat confdefs.h >>conftest.$ac_ext
! 4981: cat >>conftest.$ac_ext <<_ACEOF
! 4982: /* end confdefs.h. */
! 4983:
! 4984: /* Override any gcc2 internal prototype to avoid an error. */
! 4985: #ifdef __cplusplus
! 4986: extern "C"
! 4987: #endif
! 4988: /* We use char because int might match the return type of a gcc2
! 4989: builtin and then its argument prototype would still apply. */
! 4990: char pcap_findalldevs ();
! 4991: int
! 4992: main ()
! 4993: {
! 4994: pcap_findalldevs ();
! 4995: ;
! 4996: return 0;
! 4997: }
! 4998: _ACEOF
! 4999: rm -f conftest.$ac_objext conftest$ac_exeext
! 5000: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5001: (eval $ac_link) 2>conftest.er1
! 5002: ac_status=$?
! 5003: grep -v '^ *+' conftest.er1 >conftest.err
! 5004: rm -f conftest.er1
! 5005: cat conftest.err >&5
! 5006: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5007: (exit $ac_status); } &&
! 5008: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5009: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5010: (eval $ac_try) 2>&5
! 5011: ac_status=$?
! 5012: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5013: (exit $ac_status); }; } &&
! 5014: { ac_try='test -s conftest$ac_exeext'
! 5015: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5016: (eval $ac_try) 2>&5
! 5017: ac_status=$?
! 5018: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5019: (exit $ac_status); }; }; then
! 5020: ac_cv_lib_pcap_pcap_findalldevs=yes
! 5021: else
! 5022: echo "$as_me: failed program was:" >&5
! 5023: sed 's/^/| /' conftest.$ac_ext >&5
! 5024:
! 5025: ac_cv_lib_pcap_pcap_findalldevs=no
! 5026: fi
! 5027: rm -f conftest.err conftest.$ac_objext \
! 5028: conftest$ac_exeext conftest.$ac_ext
! 5029: LIBS=$ac_check_lib_save_LIBS
! 5030: fi
! 5031: echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_findalldevs" >&5
! 5032: echo "${ECHO_T}$ac_cv_lib_pcap_pcap_findalldevs" >&6
! 5033: if test $ac_cv_lib_pcap_pcap_findalldevs = yes; then
! 5034: cat >>confdefs.h <<_ACEOF
! 5035: #define HAVE_LIBPCAP 1
! 5036: _ACEOF
! 5037:
! 5038: LIBS="-lpcap $LIBS"
! 5039:
! 5040: else
! 5041: { { echo "$as_me:$LINENO: error: at least libpcap 0.7 is required; see the INSTALL notes" >&5
! 5042: echo "$as_me: error: at least libpcap 0.7 is required; see the INSTALL notes" >&2;}
! 5043: { (exit 1); exit 1; }; }
! 5044: fi
! 5045:
! 5046:
! 5047: for ac_func in pcap_dump_flush
! 5048: do
! 5049: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5050: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5051: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5052: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5053: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5054: else
! 5055: cat >conftest.$ac_ext <<_ACEOF
! 5056: /* confdefs.h. */
! 5057: _ACEOF
! 5058: cat confdefs.h >>conftest.$ac_ext
! 5059: cat >>conftest.$ac_ext <<_ACEOF
! 5060: /* end confdefs.h. */
! 5061: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5062: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5063: #define $ac_func innocuous_$ac_func
! 5064:
! 5065: /* System header to define __stub macros and hopefully few prototypes,
! 5066: which can conflict with char $ac_func (); below.
! 5067: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5068: <limits.h> exists even on freestanding compilers. */
! 5069:
! 5070: #ifdef __STDC__
! 5071: # include <limits.h>
! 5072: #else
! 5073: # include <assert.h>
! 5074: #endif
! 5075:
! 5076: #undef $ac_func
! 5077:
! 5078: /* Override any gcc2 internal prototype to avoid an error. */
! 5079: #ifdef __cplusplus
! 5080: extern "C"
! 5081: {
! 5082: #endif
! 5083: /* We use char because int might match the return type of a gcc2
! 5084: builtin and then its argument prototype would still apply. */
! 5085: char $ac_func ();
! 5086: /* The GNU C library defines this for functions which it implements
! 5087: to always fail with ENOSYS. Some functions are actually named
! 5088: something starting with __ and the normal name is an alias. */
! 5089: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5090: choke me
! 5091: #else
! 5092: char (*f) () = $ac_func;
! 5093: #endif
! 5094: #ifdef __cplusplus
! 5095: }
! 5096: #endif
! 5097:
! 5098: int
! 5099: main ()
! 5100: {
! 5101: return f != $ac_func;
! 5102: ;
! 5103: return 0;
! 5104: }
! 5105: _ACEOF
! 5106: rm -f conftest.$ac_objext conftest$ac_exeext
! 5107: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5108: (eval $ac_link) 2>conftest.er1
! 5109: ac_status=$?
! 5110: grep -v '^ *+' conftest.er1 >conftest.err
! 5111: rm -f conftest.er1
! 5112: cat conftest.err >&5
! 5113: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5114: (exit $ac_status); } &&
! 5115: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5116: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5117: (eval $ac_try) 2>&5
! 5118: ac_status=$?
! 5119: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5120: (exit $ac_status); }; } &&
! 5121: { ac_try='test -s conftest$ac_exeext'
! 5122: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5123: (eval $ac_try) 2>&5
! 5124: ac_status=$?
! 5125: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5126: (exit $ac_status); }; }; then
! 5127: eval "$as_ac_var=yes"
! 5128: else
! 5129: echo "$as_me: failed program was:" >&5
! 5130: sed 's/^/| /' conftest.$ac_ext >&5
! 5131:
! 5132: eval "$as_ac_var=no"
! 5133: fi
! 5134: rm -f conftest.err conftest.$ac_objext \
! 5135: conftest$ac_exeext conftest.$ac_ext
! 5136: fi
! 5137: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5138: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5139: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5140: cat >>confdefs.h <<_ACEOF
! 5141: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5142: _ACEOF
! 5143:
! 5144: fi
! 5145: done
! 5146:
! 5147:
! 5148: for ac_func in pcap_get_selectable_fd
! 5149: do
! 5150: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5151: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5152: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5153: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5154: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5155: else
! 5156: cat >conftest.$ac_ext <<_ACEOF
! 5157: /* confdefs.h. */
! 5158: _ACEOF
! 5159: cat confdefs.h >>conftest.$ac_ext
! 5160: cat >>conftest.$ac_ext <<_ACEOF
! 5161: /* end confdefs.h. */
! 5162: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5163: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5164: #define $ac_func innocuous_$ac_func
! 5165:
! 5166: /* System header to define __stub macros and hopefully few prototypes,
! 5167: which can conflict with char $ac_func (); below.
! 5168: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5169: <limits.h> exists even on freestanding compilers. */
! 5170:
! 5171: #ifdef __STDC__
! 5172: # include <limits.h>
! 5173: #else
! 5174: # include <assert.h>
! 5175: #endif
! 5176:
! 5177: #undef $ac_func
! 5178:
! 5179: /* Override any gcc2 internal prototype to avoid an error. */
! 5180: #ifdef __cplusplus
! 5181: extern "C"
! 5182: {
! 5183: #endif
! 5184: /* We use char because int might match the return type of a gcc2
! 5185: builtin and then its argument prototype would still apply. */
! 5186: char $ac_func ();
! 5187: /* The GNU C library defines this for functions which it implements
! 5188: to always fail with ENOSYS. Some functions are actually named
! 5189: something starting with __ and the normal name is an alias. */
! 5190: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5191: choke me
! 5192: #else
! 5193: char (*f) () = $ac_func;
! 5194: #endif
! 5195: #ifdef __cplusplus
! 5196: }
! 5197: #endif
! 5198:
! 5199: int
! 5200: main ()
! 5201: {
! 5202: return f != $ac_func;
! 5203: ;
! 5204: return 0;
! 5205: }
! 5206: _ACEOF
! 5207: rm -f conftest.$ac_objext conftest$ac_exeext
! 5208: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5209: (eval $ac_link) 2>conftest.er1
! 5210: ac_status=$?
! 5211: grep -v '^ *+' conftest.er1 >conftest.err
! 5212: rm -f conftest.er1
! 5213: cat conftest.err >&5
! 5214: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5215: (exit $ac_status); } &&
! 5216: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5217: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5218: (eval $ac_try) 2>&5
! 5219: ac_status=$?
! 5220: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5221: (exit $ac_status); }; } &&
! 5222: { ac_try='test -s conftest$ac_exeext'
! 5223: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5224: (eval $ac_try) 2>&5
! 5225: ac_status=$?
! 5226: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5227: (exit $ac_status); }; }; then
! 5228: eval "$as_ac_var=yes"
! 5229: else
! 5230: echo "$as_me: failed program was:" >&5
! 5231: sed 's/^/| /' conftest.$ac_ext >&5
! 5232:
! 5233: eval "$as_ac_var=no"
! 5234: fi
! 5235: rm -f conftest.err conftest.$ac_objext \
! 5236: conftest$ac_exeext conftest.$ac_ext
! 5237: fi
! 5238: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5239: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5240: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5241: cat >>confdefs.h <<_ACEOF
! 5242: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5243: _ACEOF
! 5244:
! 5245: fi
! 5246: done
! 5247:
! 5248:
! 5249:
! 5250: echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
! 5251: echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
! 5252: if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
! 5253: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5254: else
! 5255: ac_check_lib_save_LIBS=$LIBS
! 5256: LIBS="-ltermcap $LIBS"
! 5257: cat >conftest.$ac_ext <<_ACEOF
! 5258: /* confdefs.h. */
! 5259: _ACEOF
! 5260: cat confdefs.h >>conftest.$ac_ext
! 5261: cat >>conftest.$ac_ext <<_ACEOF
! 5262: /* end confdefs.h. */
! 5263:
! 5264: /* Override any gcc2 internal prototype to avoid an error. */
! 5265: #ifdef __cplusplus
! 5266: extern "C"
! 5267: #endif
! 5268: /* We use char because int might match the return type of a gcc2
! 5269: builtin and then its argument prototype would still apply. */
! 5270: char tgetent ();
! 5271: int
! 5272: main ()
! 5273: {
! 5274: tgetent ();
! 5275: ;
! 5276: return 0;
! 5277: }
! 5278: _ACEOF
! 5279: rm -f conftest.$ac_objext conftest$ac_exeext
! 5280: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5281: (eval $ac_link) 2>conftest.er1
! 5282: ac_status=$?
! 5283: grep -v '^ *+' conftest.er1 >conftest.err
! 5284: rm -f conftest.er1
! 5285: cat conftest.err >&5
! 5286: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5287: (exit $ac_status); } &&
! 5288: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5289: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5290: (eval $ac_try) 2>&5
! 5291: ac_status=$?
! 5292: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5293: (exit $ac_status); }; } &&
! 5294: { ac_try='test -s conftest$ac_exeext'
! 5295: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5296: (eval $ac_try) 2>&5
! 5297: ac_status=$?
! 5298: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5299: (exit $ac_status); }; }; then
! 5300: ac_cv_lib_termcap_tgetent=yes
! 5301: else
! 5302: echo "$as_me: failed program was:" >&5
! 5303: sed 's/^/| /' conftest.$ac_ext >&5
! 5304:
! 5305: ac_cv_lib_termcap_tgetent=no
! 5306: fi
! 5307: rm -f conftest.err conftest.$ac_objext \
! 5308: conftest$ac_exeext conftest.$ac_ext
! 5309: LIBS=$ac_check_lib_save_LIBS
! 5310: fi
! 5311: echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
! 5312: echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
! 5313: if test $ac_cv_lib_termcap_tgetent = yes; then
! 5314: cat >>confdefs.h <<_ACEOF
! 5315: #define HAVE_LIBTERMCAP 1
! 5316: _ACEOF
! 5317:
! 5318: LIBS="-ltermcap $LIBS"
! 5319:
! 5320: fi
! 5321:
! 5322:
! 5323: echo "$as_me:$LINENO: checking for curses library" >&5
! 5324: echo $ECHO_N "checking for curses library... $ECHO_C" >&6
! 5325: if test "${ac_cv_have_curses+set}" = set; then
! 5326: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5327: else
! 5328: ac_cv_save_CFLAGS="$CFLAGS"
! 5329: ac_cv_save_LIBS="$LIBS"
! 5330: LIBS="-lslang $ac_cv_save_LIBS"
! 5331: cat >conftest.$ac_ext <<_ACEOF
! 5332: /* confdefs.h. */
! 5333: _ACEOF
! 5334: cat confdefs.h >>conftest.$ac_ext
! 5335: cat >>conftest.$ac_ext <<_ACEOF
! 5336: /* end confdefs.h. */
! 5337: #include <slcurses.h>
! 5338: int
! 5339: main ()
! 5340: {
! 5341: initscr();
! 5342: ;
! 5343: return 0;
! 5344: }
! 5345: _ACEOF
! 5346: rm -f conftest.$ac_objext conftest$ac_exeext
! 5347: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5348: (eval $ac_link) 2>conftest.er1
! 5349: ac_status=$?
! 5350: grep -v '^ *+' conftest.er1 >conftest.err
! 5351: rm -f conftest.er1
! 5352: cat conftest.err >&5
! 5353: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5354: (exit $ac_status); } &&
! 5355: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5356: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5357: (eval $ac_try) 2>&5
! 5358: ac_status=$?
! 5359: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5360: (exit $ac_status); }; } &&
! 5361: { ac_try='test -s conftest$ac_exeext'
! 5362: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5363: (eval $ac_try) 2>&5
! 5364: ac_status=$?
! 5365: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5366: (exit $ac_status); }; }; then
! 5367: ac_cv_have_curses="slang"
! 5368: else
! 5369: echo "$as_me: failed program was:" >&5
! 5370: sed 's/^/| /' conftest.$ac_ext >&5
! 5371:
! 5372: LIBS="-lncurses $ac_cv_save_LIBS"
! 5373: cat >conftest.$ac_ext <<_ACEOF
! 5374: /* confdefs.h. */
! 5375: _ACEOF
! 5376: cat confdefs.h >>conftest.$ac_ext
! 5377: cat >>conftest.$ac_ext <<_ACEOF
! 5378: /* end confdefs.h. */
! 5379: #include <ncurses.h>
! 5380: int
! 5381: main ()
! 5382: {
! 5383: initscr();
! 5384: ;
! 5385: return 0;
! 5386: }
! 5387: _ACEOF
! 5388: rm -f conftest.$ac_objext conftest$ac_exeext
! 5389: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5390: (eval $ac_link) 2>conftest.er1
! 5391: ac_status=$?
! 5392: grep -v '^ *+' conftest.er1 >conftest.err
! 5393: rm -f conftest.er1
! 5394: cat conftest.err >&5
! 5395: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5396: (exit $ac_status); } &&
! 5397: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5398: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5399: (eval $ac_try) 2>&5
! 5400: ac_status=$?
! 5401: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5402: (exit $ac_status); }; } &&
! 5403: { ac_try='test -s conftest$ac_exeext'
! 5404: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5405: (eval $ac_try) 2>&5
! 5406: ac_status=$?
! 5407: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5408: (exit $ac_status); }; }; then
! 5409: ac_cv_have_curses="ncurses"
! 5410: else
! 5411: echo "$as_me: failed program was:" >&5
! 5412: sed 's/^/| /' conftest.$ac_ext >&5
! 5413:
! 5414: CFLAGS="-I/usr/include/ncurses $ac_cv_save_CFLAGS"
! 5415: cat >conftest.$ac_ext <<_ACEOF
! 5416: /* confdefs.h. */
! 5417: _ACEOF
! 5418: cat confdefs.h >>conftest.$ac_ext
! 5419: cat >>conftest.$ac_ext <<_ACEOF
! 5420: /* end confdefs.h. */
! 5421: #include <ncurses.h>
! 5422: int
! 5423: main ()
! 5424: {
! 5425: initscr();
! 5426: ;
! 5427: return 0;
! 5428: }
! 5429: _ACEOF
! 5430: rm -f conftest.$ac_objext conftest$ac_exeext
! 5431: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5432: (eval $ac_link) 2>conftest.er1
! 5433: ac_status=$?
! 5434: grep -v '^ *+' conftest.er1 >conftest.err
! 5435: rm -f conftest.er1
! 5436: cat conftest.err >&5
! 5437: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5438: (exit $ac_status); } &&
! 5439: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5440: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5441: (eval $ac_try) 2>&5
! 5442: ac_status=$?
! 5443: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5444: (exit $ac_status); }; } &&
! 5445: { ac_try='test -s conftest$ac_exeext'
! 5446: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5447: (eval $ac_try) 2>&5
! 5448: ac_status=$?
! 5449: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5450: (exit $ac_status); }; }; then
! 5451: ac_cv_have_curses="n_curses"
! 5452: else
! 5453: echo "$as_me: failed program was:" >&5
! 5454: sed 's/^/| /' conftest.$ac_ext >&5
! 5455:
! 5456: LIBS="-lcurses $ac_cv_save_LIBS"
! 5457: cat >conftest.$ac_ext <<_ACEOF
! 5458: /* confdefs.h. */
! 5459: _ACEOF
! 5460: cat confdefs.h >>conftest.$ac_ext
! 5461: cat >>conftest.$ac_ext <<_ACEOF
! 5462: /* end confdefs.h. */
! 5463: #include <curses.h>
! 5464: int
! 5465: main ()
! 5466: {
! 5467: initscr();
! 5468: ;
! 5469: return 0;
! 5470: }
! 5471: _ACEOF
! 5472: rm -f conftest.$ac_objext conftest$ac_exeext
! 5473: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5474: (eval $ac_link) 2>conftest.er1
! 5475: ac_status=$?
! 5476: grep -v '^ *+' conftest.er1 >conftest.err
! 5477: rm -f conftest.er1
! 5478: cat conftest.err >&5
! 5479: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5480: (exit $ac_status); } &&
! 5481: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5482: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5483: (eval $ac_try) 2>&5
! 5484: ac_status=$?
! 5485: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5486: (exit $ac_status); }; } &&
! 5487: { ac_try='test -s conftest$ac_exeext'
! 5488: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5489: (eval $ac_try) 2>&5
! 5490: ac_status=$?
! 5491: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5492: (exit $ac_status); }; }; then
! 5493: ac_cv_have_curses="curses"
! 5494: else
! 5495: echo "$as_me: failed program was:" >&5
! 5496: sed 's/^/| /' conftest.$ac_ext >&5
! 5497:
! 5498: ac_cv_have_curses="none"
! 5499:
! 5500: fi
! 5501: rm -f conftest.err conftest.$ac_objext \
! 5502: conftest$ac_exeext conftest.$ac_ext
! 5503:
! 5504: fi
! 5505: rm -f conftest.err conftest.$ac_objext \
! 5506: conftest$ac_exeext conftest.$ac_ext
! 5507:
! 5508: fi
! 5509: rm -f conftest.err conftest.$ac_objext \
! 5510: conftest$ac_exeext conftest.$ac_ext
! 5511:
! 5512: fi
! 5513: rm -f conftest.err conftest.$ac_objext \
! 5514: conftest$ac_exeext conftest.$ac_ext
! 5515: CFLAGS="$ac_cv_save_CFLAGS"
! 5516:
! 5517: fi
! 5518:
! 5519: echo "$as_me:$LINENO: result: $ac_cv_have_curses" >&5
! 5520: echo "${ECHO_T}$ac_cv_have_curses" >&6
! 5521:
! 5522: case "$ac_cv_have_curses" in
! 5523:
! 5524: slang)
! 5525: cat >>confdefs.h <<\_ACEOF
! 5526: #define HAVE_SLCURSES 1
! 5527: _ACEOF
! 5528:
! 5529: cat >>confdefs.h <<\_ACEOF
! 5530: #define HAVE_HAS_COLORS 1
! 5531: _ACEOF
! 5532:
! 5533: ;;
! 5534: ncurses)
! 5535: cat >>confdefs.h <<\_ACEOF
! 5536: #define HAVE_NCURSES 1
! 5537: _ACEOF
! 5538:
! 5539:
! 5540: for ac_func in has_colors
! 5541: do
! 5542: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5543: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5544: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5545: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5546: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5547: else
! 5548: cat >conftest.$ac_ext <<_ACEOF
! 5549: /* confdefs.h. */
! 5550: _ACEOF
! 5551: cat confdefs.h >>conftest.$ac_ext
! 5552: cat >>conftest.$ac_ext <<_ACEOF
! 5553: /* end confdefs.h. */
! 5554: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5555: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5556: #define $ac_func innocuous_$ac_func
! 5557:
! 5558: /* System header to define __stub macros and hopefully few prototypes,
! 5559: which can conflict with char $ac_func (); below.
! 5560: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5561: <limits.h> exists even on freestanding compilers. */
! 5562:
! 5563: #ifdef __STDC__
! 5564: # include <limits.h>
! 5565: #else
! 5566: # include <assert.h>
! 5567: #endif
! 5568:
! 5569: #undef $ac_func
! 5570:
! 5571: /* Override any gcc2 internal prototype to avoid an error. */
! 5572: #ifdef __cplusplus
! 5573: extern "C"
! 5574: {
! 5575: #endif
! 5576: /* We use char because int might match the return type of a gcc2
! 5577: builtin and then its argument prototype would still apply. */
! 5578: char $ac_func ();
! 5579: /* The GNU C library defines this for functions which it implements
! 5580: to always fail with ENOSYS. Some functions are actually named
! 5581: something starting with __ and the normal name is an alias. */
! 5582: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5583: choke me
! 5584: #else
! 5585: char (*f) () = $ac_func;
! 5586: #endif
! 5587: #ifdef __cplusplus
! 5588: }
! 5589: #endif
! 5590:
! 5591: int
! 5592: main ()
! 5593: {
! 5594: return f != $ac_func;
! 5595: ;
! 5596: return 0;
! 5597: }
! 5598: _ACEOF
! 5599: rm -f conftest.$ac_objext conftest$ac_exeext
! 5600: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5601: (eval $ac_link) 2>conftest.er1
! 5602: ac_status=$?
! 5603: grep -v '^ *+' conftest.er1 >conftest.err
! 5604: rm -f conftest.er1
! 5605: cat conftest.err >&5
! 5606: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5607: (exit $ac_status); } &&
! 5608: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5609: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5610: (eval $ac_try) 2>&5
! 5611: ac_status=$?
! 5612: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5613: (exit $ac_status); }; } &&
! 5614: { ac_try='test -s conftest$ac_exeext'
! 5615: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5616: (eval $ac_try) 2>&5
! 5617: ac_status=$?
! 5618: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5619: (exit $ac_status); }; }; then
! 5620: eval "$as_ac_var=yes"
! 5621: else
! 5622: echo "$as_me: failed program was:" >&5
! 5623: sed 's/^/| /' conftest.$ac_ext >&5
! 5624:
! 5625: eval "$as_ac_var=no"
! 5626: fi
! 5627: rm -f conftest.err conftest.$ac_objext \
! 5628: conftest$ac_exeext conftest.$ac_ext
! 5629: fi
! 5630: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5631: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5632: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5633: cat >>confdefs.h <<_ACEOF
! 5634: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5635: _ACEOF
! 5636:
! 5637: fi
! 5638: done
! 5639:
! 5640: ;;
! 5641: n_curses)
! 5642: CFLAGS="-I/usr/include/ncurses $CFLAGS"
! 5643: cat >>confdefs.h <<\_ACEOF
! 5644: #define HAVE_NCURSES 1
! 5645: _ACEOF
! 5646:
! 5647:
! 5648: for ac_func in has_colors
! 5649: do
! 5650: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5651: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5652: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5653: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5654: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5655: else
! 5656: cat >conftest.$ac_ext <<_ACEOF
! 5657: /* confdefs.h. */
! 5658: _ACEOF
! 5659: cat confdefs.h >>conftest.$ac_ext
! 5660: cat >>conftest.$ac_ext <<_ACEOF
! 5661: /* end confdefs.h. */
! 5662: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5663: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5664: #define $ac_func innocuous_$ac_func
! 5665:
! 5666: /* System header to define __stub macros and hopefully few prototypes,
! 5667: which can conflict with char $ac_func (); below.
! 5668: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5669: <limits.h> exists even on freestanding compilers. */
! 5670:
! 5671: #ifdef __STDC__
! 5672: # include <limits.h>
! 5673: #else
! 5674: # include <assert.h>
! 5675: #endif
! 5676:
! 5677: #undef $ac_func
! 5678:
! 5679: /* Override any gcc2 internal prototype to avoid an error. */
! 5680: #ifdef __cplusplus
! 5681: extern "C"
! 5682: {
! 5683: #endif
! 5684: /* We use char because int might match the return type of a gcc2
! 5685: builtin and then its argument prototype would still apply. */
! 5686: char $ac_func ();
! 5687: /* The GNU C library defines this for functions which it implements
! 5688: to always fail with ENOSYS. Some functions are actually named
! 5689: something starting with __ and the normal name is an alias. */
! 5690: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5691: choke me
! 5692: #else
! 5693: char (*f) () = $ac_func;
! 5694: #endif
! 5695: #ifdef __cplusplus
! 5696: }
! 5697: #endif
! 5698:
! 5699: int
! 5700: main ()
! 5701: {
! 5702: return f != $ac_func;
! 5703: ;
! 5704: return 0;
! 5705: }
! 5706: _ACEOF
! 5707: rm -f conftest.$ac_objext conftest$ac_exeext
! 5708: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5709: (eval $ac_link) 2>conftest.er1
! 5710: ac_status=$?
! 5711: grep -v '^ *+' conftest.er1 >conftest.err
! 5712: rm -f conftest.er1
! 5713: cat conftest.err >&5
! 5714: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5715: (exit $ac_status); } &&
! 5716: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5717: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5718: (eval $ac_try) 2>&5
! 5719: ac_status=$?
! 5720: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5721: (exit $ac_status); }; } &&
! 5722: { ac_try='test -s conftest$ac_exeext'
! 5723: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5724: (eval $ac_try) 2>&5
! 5725: ac_status=$?
! 5726: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5727: (exit $ac_status); }; }; then
! 5728: eval "$as_ac_var=yes"
! 5729: else
! 5730: echo "$as_me: failed program was:" >&5
! 5731: sed 's/^/| /' conftest.$ac_ext >&5
! 5732:
! 5733: eval "$as_ac_var=no"
! 5734: fi
! 5735: rm -f conftest.err conftest.$ac_objext \
! 5736: conftest$ac_exeext conftest.$ac_ext
! 5737: fi
! 5738: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5739: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5740: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5741: cat >>confdefs.h <<_ACEOF
! 5742: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5743: _ACEOF
! 5744:
! 5745: fi
! 5746: done
! 5747:
! 5748: ;;
! 5749: curses)
! 5750: cat >>confdefs.h <<\_ACEOF
! 5751: #define HAVE_CURSES 1
! 5752: _ACEOF
! 5753:
! 5754:
! 5755: for ac_func in has_colors
! 5756: do
! 5757: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5758: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5759: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5760: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5761: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5762: else
! 5763: cat >conftest.$ac_ext <<_ACEOF
! 5764: /* confdefs.h. */
! 5765: _ACEOF
! 5766: cat confdefs.h >>conftest.$ac_ext
! 5767: cat >>conftest.$ac_ext <<_ACEOF
! 5768: /* end confdefs.h. */
! 5769: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5770: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5771: #define $ac_func innocuous_$ac_func
! 5772:
! 5773: /* System header to define __stub macros and hopefully few prototypes,
! 5774: which can conflict with char $ac_func (); below.
! 5775: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5776: <limits.h> exists even on freestanding compilers. */
! 5777:
! 5778: #ifdef __STDC__
! 5779: # include <limits.h>
! 5780: #else
! 5781: # include <assert.h>
! 5782: #endif
! 5783:
! 5784: #undef $ac_func
! 5785:
! 5786: /* Override any gcc2 internal prototype to avoid an error. */
! 5787: #ifdef __cplusplus
! 5788: extern "C"
! 5789: {
! 5790: #endif
! 5791: /* We use char because int might match the return type of a gcc2
! 5792: builtin and then its argument prototype would still apply. */
! 5793: char $ac_func ();
! 5794: /* The GNU C library defines this for functions which it implements
! 5795: to always fail with ENOSYS. Some functions are actually named
! 5796: something starting with __ and the normal name is an alias. */
! 5797: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5798: choke me
! 5799: #else
! 5800: char (*f) () = $ac_func;
! 5801: #endif
! 5802: #ifdef __cplusplus
! 5803: }
! 5804: #endif
! 5805:
! 5806: int
! 5807: main ()
! 5808: {
! 5809: return f != $ac_func;
! 5810: ;
! 5811: return 0;
! 5812: }
! 5813: _ACEOF
! 5814: rm -f conftest.$ac_objext conftest$ac_exeext
! 5815: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5816: (eval $ac_link) 2>conftest.er1
! 5817: ac_status=$?
! 5818: grep -v '^ *+' conftest.er1 >conftest.err
! 5819: rm -f conftest.er1
! 5820: cat conftest.err >&5
! 5821: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5822: (exit $ac_status); } &&
! 5823: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5824: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5825: (eval $ac_try) 2>&5
! 5826: ac_status=$?
! 5827: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5828: (exit $ac_status); }; } &&
! 5829: { ac_try='test -s conftest$ac_exeext'
! 5830: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5831: (eval $ac_try) 2>&5
! 5832: ac_status=$?
! 5833: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5834: (exit $ac_status); }; }; then
! 5835: eval "$as_ac_var=yes"
! 5836: else
! 5837: echo "$as_me: failed program was:" >&5
! 5838: sed 's/^/| /' conftest.$ac_ext >&5
! 5839:
! 5840: eval "$as_ac_var=no"
! 5841: fi
! 5842: rm -f conftest.err conftest.$ac_objext \
! 5843: conftest$ac_exeext conftest.$ac_ext
! 5844: fi
! 5845: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5846: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5847: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5848: cat >>confdefs.h <<_ACEOF
! 5849: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5850: _ACEOF
! 5851:
! 5852: fi
! 5853: done
! 5854:
! 5855: ;;
! 5856: *)
! 5857: { { echo "$as_me:$LINENO: error: cannot find curses; see the INSTALL notes" >&5
! 5858: echo "$as_me: error: cannot find curses; see the INSTALL notes" >&2;}
! 5859: { (exit 1); exit 1; }; }
! 5860: ;;
! 5861: esac
! 5862:
! 5863:
! 5864:
! 5865:
! 5866:
! 5867:
! 5868: for ac_func in bkgd wbkgd wredrawln resizeterm use_default_colors
! 5869: do
! 5870: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5871: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5872: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5873: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5874: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5875: else
! 5876: cat >conftest.$ac_ext <<_ACEOF
! 5877: /* confdefs.h. */
! 5878: _ACEOF
! 5879: cat confdefs.h >>conftest.$ac_ext
! 5880: cat >>conftest.$ac_ext <<_ACEOF
! 5881: /* end confdefs.h. */
! 5882: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5883: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5884: #define $ac_func innocuous_$ac_func
! 5885:
! 5886: /* System header to define __stub macros and hopefully few prototypes,
! 5887: which can conflict with char $ac_func (); below.
! 5888: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5889: <limits.h> exists even on freestanding compilers. */
! 5890:
! 5891: #ifdef __STDC__
! 5892: # include <limits.h>
! 5893: #else
! 5894: # include <assert.h>
! 5895: #endif
! 5896:
! 5897: #undef $ac_func
! 5898:
! 5899: /* Override any gcc2 internal prototype to avoid an error. */
! 5900: #ifdef __cplusplus
! 5901: extern "C"
! 5902: {
! 5903: #endif
! 5904: /* We use char because int might match the return type of a gcc2
! 5905: builtin and then its argument prototype would still apply. */
! 5906: char $ac_func ();
! 5907: /* The GNU C library defines this for functions which it implements
! 5908: to always fail with ENOSYS. Some functions are actually named
! 5909: something starting with __ and the normal name is an alias. */
! 5910: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 5911: choke me
! 5912: #else
! 5913: char (*f) () = $ac_func;
! 5914: #endif
! 5915: #ifdef __cplusplus
! 5916: }
! 5917: #endif
! 5918:
! 5919: int
! 5920: main ()
! 5921: {
! 5922: return f != $ac_func;
! 5923: ;
! 5924: return 0;
! 5925: }
! 5926: _ACEOF
! 5927: rm -f conftest.$ac_objext conftest$ac_exeext
! 5928: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5929: (eval $ac_link) 2>conftest.er1
! 5930: ac_status=$?
! 5931: grep -v '^ *+' conftest.er1 >conftest.err
! 5932: rm -f conftest.er1
! 5933: cat conftest.err >&5
! 5934: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5935: (exit $ac_status); } &&
! 5936: { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
! 5937: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5938: (eval $ac_try) 2>&5
! 5939: ac_status=$?
! 5940: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5941: (exit $ac_status); }; } &&
! 5942: { ac_try='test -s conftest$ac_exeext'
! 5943: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5944: (eval $ac_try) 2>&5
! 5945: ac_status=$?
! 5946: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5947: (exit $ac_status); }; }; then
! 5948: eval "$as_ac_var=yes"
! 5949: else
! 5950: echo "$as_me: failed program was:" >&5
! 5951: sed 's/^/| /' conftest.$ac_ext >&5
! 5952:
! 5953: eval "$as_ac_var=no"
! 5954: fi
! 5955: rm -f conftest.err conftest.$ac_objext \
! 5956: conftest$ac_exeext conftest.$ac_ext
! 5957: fi
! 5958: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5959: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5960: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5961: cat >>confdefs.h <<_ACEOF
! 5962: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5963: _ACEOF
! 5964:
! 5965: fi
! 5966: done
! 5967:
! 5968:
! 5969: ac_config_files="$ac_config_files Makefile"
! 5970: cat >confcache <<\_ACEOF
! 5971: # This file is a shell script that caches the results of configure
! 5972: # tests run on this system so they can be shared between configure
! 5973: # scripts and configure runs, see configure's option --config-cache.
! 5974: # It is not useful on other systems. If it contains results you don't
! 5975: # want to keep, you may remove or edit it.
! 5976: #
! 5977: # config.status only pays attention to the cache file if you give it
! 5978: # the --recheck option to rerun configure.
! 5979: #
! 5980: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 5981: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 5982: # following values.
! 5983:
! 5984: _ACEOF
! 5985:
! 5986: # The following way of writing the cache mishandles newlines in values,
! 5987: # but we know of no workaround that is simple, portable, and efficient.
! 5988: # So, don't put newlines in cache variables' values.
! 5989: # Ultrix sh set writes to stderr and can't be redirected directly,
! 5990: # and sets the high bit in the cache file unless we assign to the vars.
! 5991: {
! 5992: (set) 2>&1 |
! 5993: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 5994: *ac_space=\ *)
! 5995: # `set' does not quote correctly, so add quotes (double-quote
! 5996: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 5997: sed -n \
! 5998: "s/'/'\\\\''/g;
! 5999: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 6000: ;;
! 6001: *)
! 6002: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 6003: sed -n \
! 6004: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 6005: ;;
! 6006: esac;
! 6007: } |
! 6008: sed '
! 6009: t clear
! 6010: : clear
! 6011: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 6012: t end
! 6013: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 6014: : end' >>confcache
! 6015: if diff $cache_file confcache >/dev/null 2>&1; then :; else
! 6016: if test -w $cache_file; then
! 6017: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 6018: cat confcache >$cache_file
! 6019: else
! 6020: echo "not updating unwritable cache $cache_file"
! 6021: fi
! 6022: fi
! 6023: rm -f confcache
! 6024:
! 6025: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 6026: # Let make expand exec_prefix.
! 6027: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 6028:
! 6029: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 6030: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 6031: # trailing colons and then remove the whole line if VPATH becomes empty
! 6032: # (actually we leave an empty line to preserve line numbers).
! 6033: if test "x$srcdir" = x.; then
! 6034: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 6035: s/:*\$(srcdir):*/:/;
! 6036: s/:*\${srcdir}:*/:/;
! 6037: s/:*@srcdir@:*/:/;
! 6038: s/^\([^=]*=[ ]*\):*/\1/;
! 6039: s/:*$//;
! 6040: s/^[^=]*=[ ]*$//;
! 6041: }'
! 6042: fi
! 6043:
! 6044: DEFS=-DHAVE_CONFIG_H
! 6045:
! 6046: ac_libobjs=
! 6047: ac_ltlibobjs=
! 6048: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 6049: # 1. Remove the extension, and $U if already installed.
! 6050: ac_i=`echo "$ac_i" |
! 6051: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 6052: # 2. Add them.
! 6053: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 6054: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 6055: done
! 6056: LIBOBJS=$ac_libobjs
! 6057:
! 6058: LTLIBOBJS=$ac_ltlibobjs
! 6059:
! 6060:
! 6061:
! 6062: : ${CONFIG_STATUS=./config.status}
! 6063: ac_clean_files_save=$ac_clean_files
! 6064: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 6065: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 6066: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 6067: cat >$CONFIG_STATUS <<_ACEOF
! 6068: #! $SHELL
! 6069: # Generated by $as_me.
! 6070: # Run this file to recreate the current configuration.
! 6071: # Compiler output produced by configure, useful for debugging
! 6072: # configure, is in config.log if it exists.
! 6073:
! 6074: debug=false
! 6075: ac_cs_recheck=false
! 6076: ac_cs_silent=false
! 6077: SHELL=\${CONFIG_SHELL-$SHELL}
! 6078: _ACEOF
! 6079:
! 6080: cat >>$CONFIG_STATUS <<\_ACEOF
! 6081: ## --------------------- ##
! 6082: ## M4sh Initialization. ##
! 6083: ## --------------------- ##
! 6084:
! 6085: # Be Bourne compatible
! 6086: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 6087: emulate sh
! 6088: NULLCMD=:
! 6089: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 6090: # is contrary to our usage. Disable this feature.
! 6091: alias -g '${1+"$@"}'='"$@"'
! 6092: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 6093: set -o posix
! 6094: fi
! 6095: DUALCASE=1; export DUALCASE # for MKS sh
! 6096:
! 6097: # Support unset when possible.
! 6098: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 6099: as_unset=unset
! 6100: else
! 6101: as_unset=false
! 6102: fi
! 6103:
! 6104:
! 6105: # Work around bugs in pre-3.0 UWIN ksh.
! 6106: $as_unset ENV MAIL MAILPATH
! 6107: PS1='$ '
! 6108: PS2='> '
! 6109: PS4='+ '
! 6110:
! 6111: # NLS nuisances.
! 6112: for as_var in \
! 6113: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 6114: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 6115: LC_TELEPHONE LC_TIME
! 6116: do
! 6117: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 6118: eval $as_var=C; export $as_var
! 6119: else
! 6120: $as_unset $as_var
! 6121: fi
! 6122: done
! 6123:
! 6124: # Required to use basename.
! 6125: if expr a : '\(a\)' >/dev/null 2>&1; then
! 6126: as_expr=expr
! 6127: else
! 6128: as_expr=false
! 6129: fi
! 6130:
! 6131: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 6132: as_basename=basename
! 6133: else
! 6134: as_basename=false
! 6135: fi
! 6136:
! 6137:
! 6138: # Name of the executable.
! 6139: as_me=`$as_basename "$0" ||
! 6140: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 6141: X"$0" : 'X\(//\)$' \| \
! 6142: X"$0" : 'X\(/\)$' \| \
! 6143: . : '\(.\)' 2>/dev/null ||
! 6144: echo X/"$0" |
! 6145: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 6146: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 6147: /^X\/\(\/\).*/{ s//\1/; q; }
! 6148: s/.*/./; q'`
! 6149:
! 6150:
! 6151: # PATH needs CR, and LINENO needs CR and PATH.
! 6152: # Avoid depending upon Character Ranges.
! 6153: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 6154: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 6155: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 6156: as_cr_digits='0123456789'
! 6157: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 6158:
! 6159: # The user is always right.
! 6160: if test "${PATH_SEPARATOR+set}" != set; then
! 6161: echo "#! /bin/sh" >conf$$.sh
! 6162: echo "exit 0" >>conf$$.sh
! 6163: chmod +x conf$$.sh
! 6164: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 6165: PATH_SEPARATOR=';'
! 6166: else
! 6167: PATH_SEPARATOR=:
! 6168: fi
! 6169: rm -f conf$$.sh
! 6170: fi
! 6171:
! 6172:
! 6173: as_lineno_1=$LINENO
! 6174: as_lineno_2=$LINENO
! 6175: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 6176: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 6177: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 6178: # Find who we are. Look in the path if we contain no path at all
! 6179: # relative or not.
! 6180: case $0 in
! 6181: *[\\/]* ) as_myself=$0 ;;
! 6182: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6183: for as_dir in $PATH
! 6184: do
! 6185: IFS=$as_save_IFS
! 6186: test -z "$as_dir" && as_dir=.
! 6187: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 6188: done
! 6189:
! 6190: ;;
! 6191: esac
! 6192: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 6193: # in which case we are not to be found in the path.
! 6194: if test "x$as_myself" = x; then
! 6195: as_myself=$0
! 6196: fi
! 6197: if test ! -f "$as_myself"; then
! 6198: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 6199: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 6200: { (exit 1); exit 1; }; }
! 6201: fi
! 6202: case $CONFIG_SHELL in
! 6203: '')
! 6204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6205: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 6206: do
! 6207: IFS=$as_save_IFS
! 6208: test -z "$as_dir" && as_dir=.
! 6209: for as_base in sh bash ksh sh5; do
! 6210: case $as_dir in
! 6211: /*)
! 6212: if ("$as_dir/$as_base" -c '
! 6213: as_lineno_1=$LINENO
! 6214: as_lineno_2=$LINENO
! 6215: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 6216: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 6217: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 6218: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 6219: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 6220: CONFIG_SHELL=$as_dir/$as_base
! 6221: export CONFIG_SHELL
! 6222: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 6223: fi;;
! 6224: esac
! 6225: done
! 6226: done
! 6227: ;;
! 6228: esac
! 6229:
! 6230: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 6231: # uniformly replaced by the line number. The first 'sed' inserts a
! 6232: # line-number line before each line; the second 'sed' does the real
! 6233: # work. The second script uses 'N' to pair each line-number line
! 6234: # with the numbered line, and appends trailing '-' during
! 6235: # substitution so that $LINENO is not a special case at line end.
! 6236: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 6237: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 6238: sed '=' <$as_myself |
! 6239: sed '
! 6240: N
! 6241: s,$,-,
! 6242: : loop
! 6243: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 6244: t loop
! 6245: s,-$,,
! 6246: s,^['$as_cr_digits']*\n,,
! 6247: ' >$as_me.lineno &&
! 6248: chmod +x $as_me.lineno ||
! 6249: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 6250: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 6251: { (exit 1); exit 1; }; }
! 6252:
! 6253: # Don't try to exec as it changes $[0], causing all sort of problems
! 6254: # (the dirname of $[0] is not the place where we might find the
! 6255: # original and so on. Autoconf is especially sensible to this).
! 6256: . ./$as_me.lineno
! 6257: # Exit status is that of the last command.
! 6258: exit
! 6259: }
! 6260:
! 6261:
! 6262: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 6263: *c*,-n*) ECHO_N= ECHO_C='
! 6264: ' ECHO_T=' ' ;;
! 6265: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 6266: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 6267: esac
! 6268:
! 6269: if expr a : '\(a\)' >/dev/null 2>&1; then
! 6270: as_expr=expr
! 6271: else
! 6272: as_expr=false
! 6273: fi
! 6274:
! 6275: rm -f conf$$ conf$$.exe conf$$.file
! 6276: echo >conf$$.file
! 6277: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 6278: # We could just check for DJGPP; but this test a) works b) is more generic
! 6279: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 6280: if test -f conf$$.exe; then
! 6281: # Don't use ln at all; we don't have any links
! 6282: as_ln_s='cp -p'
! 6283: else
! 6284: as_ln_s='ln -s'
! 6285: fi
! 6286: elif ln conf$$.file conf$$ 2>/dev/null; then
! 6287: as_ln_s=ln
! 6288: else
! 6289: as_ln_s='cp -p'
! 6290: fi
! 6291: rm -f conf$$ conf$$.exe conf$$.file
! 6292:
! 6293: if mkdir -p . 2>/dev/null; then
! 6294: as_mkdir_p=:
! 6295: else
! 6296: test -d ./-p && rmdir ./-p
! 6297: as_mkdir_p=false
! 6298: fi
! 6299:
! 6300: as_executable_p="test -f"
! 6301:
! 6302: # Sed expression to map a string onto a valid CPP name.
! 6303: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 6304:
! 6305: # Sed expression to map a string onto a valid variable name.
! 6306: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 6307:
! 6308:
! 6309: # IFS
! 6310: # We need space, tab and new line, in precisely that order.
! 6311: as_nl='
! 6312: '
! 6313: IFS=" $as_nl"
! 6314:
! 6315: # CDPATH.
! 6316: $as_unset CDPATH
! 6317:
! 6318: exec 6>&1
! 6319:
! 6320: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 6321: # report actual input values of CONFIG_FILES etc. instead of their
! 6322: # values after options handling. Logging --version etc. is OK.
! 6323: exec 5>>config.log
! 6324: {
! 6325: echo
! 6326: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 6327: ## Running $as_me. ##
! 6328: _ASBOX
! 6329: } >&5
! 6330: cat >&5 <<_CSEOF
! 6331:
! 6332: This file was extended by $as_me, which was
! 6333: generated by GNU Autoconf 2.59. Invocation command line was
! 6334:
! 6335: CONFIG_FILES = $CONFIG_FILES
! 6336: CONFIG_HEADERS = $CONFIG_HEADERS
! 6337: CONFIG_LINKS = $CONFIG_LINKS
! 6338: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 6339: $ $0 $@
! 6340:
! 6341: _CSEOF
! 6342: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 6343: echo >&5
! 6344: _ACEOF
! 6345:
! 6346: # Files that config.status was made for.
! 6347: if test -n "$ac_config_files"; then
! 6348: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 6349: fi
! 6350:
! 6351: if test -n "$ac_config_headers"; then
! 6352: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 6353: fi
! 6354:
! 6355: if test -n "$ac_config_links"; then
! 6356: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 6357: fi
! 6358:
! 6359: if test -n "$ac_config_commands"; then
! 6360: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 6361: fi
! 6362:
! 6363: cat >>$CONFIG_STATUS <<\_ACEOF
! 6364:
! 6365: ac_cs_usage="\
! 6366: \`$as_me' instantiates files from templates according to the
! 6367: current configuration.
! 6368:
! 6369: Usage: $0 [OPTIONS] [FILE]...
! 6370:
! 6371: -h, --help print this help, then exit
! 6372: -V, --version print version number, then exit
! 6373: -q, --quiet do not print progress messages
! 6374: -d, --debug don't remove temporary files
! 6375: --recheck update $as_me by reconfiguring in the same conditions
! 6376: --file=FILE[:TEMPLATE]
! 6377: instantiate the configuration file FILE
! 6378: --header=FILE[:TEMPLATE]
! 6379: instantiate the configuration header FILE
! 6380:
! 6381: Configuration files:
! 6382: $config_files
! 6383:
! 6384: Configuration headers:
! 6385: $config_headers
! 6386:
! 6387: Report bugs to <bug-autoconf@gnu.org>."
! 6388: _ACEOF
! 6389:
! 6390: cat >>$CONFIG_STATUS <<_ACEOF
! 6391: ac_cs_version="\\
! 6392: config.status
! 6393: configured by $0, generated by GNU Autoconf 2.59,
! 6394: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 6395:
! 6396: Copyright (C) 2003 Free Software Foundation, Inc.
! 6397: This config.status script is free software; the Free Software Foundation
! 6398: gives unlimited permission to copy, distribute and modify it."
! 6399: srcdir=$srcdir
! 6400: _ACEOF
! 6401:
! 6402: cat >>$CONFIG_STATUS <<\_ACEOF
! 6403: # If no file are specified by the user, then we need to provide default
! 6404: # value. By we need to know if files were specified by the user.
! 6405: ac_need_defaults=:
! 6406: while test $# != 0
! 6407: do
! 6408: case $1 in
! 6409: --*=*)
! 6410: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 6411: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 6412: ac_shift=:
! 6413: ;;
! 6414: -*)
! 6415: ac_option=$1
! 6416: ac_optarg=$2
! 6417: ac_shift=shift
! 6418: ;;
! 6419: *) # This is not an option, so the user has probably given explicit
! 6420: # arguments.
! 6421: ac_option=$1
! 6422: ac_need_defaults=false;;
! 6423: esac
! 6424:
! 6425: case $ac_option in
! 6426: # Handling of the options.
! 6427: _ACEOF
! 6428: cat >>$CONFIG_STATUS <<\_ACEOF
! 6429: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 6430: ac_cs_recheck=: ;;
! 6431: --version | --vers* | -V )
! 6432: echo "$ac_cs_version"; exit 0 ;;
! 6433: --he | --h)
! 6434: # Conflict between --help and --header
! 6435: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 6436: Try \`$0 --help' for more information." >&5
! 6437: echo "$as_me: error: ambiguous option: $1
! 6438: Try \`$0 --help' for more information." >&2;}
! 6439: { (exit 1); exit 1; }; };;
! 6440: --help | --hel | -h )
! 6441: echo "$ac_cs_usage"; exit 0 ;;
! 6442: --debug | --d* | -d )
! 6443: debug=: ;;
! 6444: --file | --fil | --fi | --f )
! 6445: $ac_shift
! 6446: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 6447: ac_need_defaults=false;;
! 6448: --header | --heade | --head | --hea )
! 6449: $ac_shift
! 6450: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 6451: ac_need_defaults=false;;
! 6452: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 6453: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 6454: ac_cs_silent=: ;;
! 6455:
! 6456: # This is an error.
! 6457: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 6458: Try \`$0 --help' for more information." >&5
! 6459: echo "$as_me: error: unrecognized option: $1
! 6460: Try \`$0 --help' for more information." >&2;}
! 6461: { (exit 1); exit 1; }; } ;;
! 6462:
! 6463: *) ac_config_targets="$ac_config_targets $1" ;;
! 6464:
! 6465: esac
! 6466: shift
! 6467: done
! 6468:
! 6469: ac_configure_extra_args=
! 6470:
! 6471: if $ac_cs_silent; then
! 6472: exec 6>/dev/null
! 6473: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 6474: fi
! 6475:
! 6476: _ACEOF
! 6477: cat >>$CONFIG_STATUS <<_ACEOF
! 6478: if \$ac_cs_recheck; then
! 6479: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 6480: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 6481: fi
! 6482:
! 6483: _ACEOF
! 6484:
! 6485:
! 6486:
! 6487:
! 6488:
! 6489: cat >>$CONFIG_STATUS <<\_ACEOF
! 6490: for ac_config_target in $ac_config_targets
! 6491: do
! 6492: case "$ac_config_target" in
! 6493: # Handling of arguments.
! 6494: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 6495: "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 6496: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 6497: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 6498: { (exit 1); exit 1; }; };;
! 6499: esac
! 6500: done
! 6501:
! 6502: # If the user did not use the arguments to specify the items to instantiate,
! 6503: # then the envvar interface is used. Set only those that are not.
! 6504: # We use the long form for the default assignment because of an extremely
! 6505: # bizarre bug on SunOS 4.1.3.
! 6506: if $ac_need_defaults; then
! 6507: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 6508: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 6509: fi
! 6510:
! 6511: # Have a temporary directory for convenience. Make it in the build tree
! 6512: # simply because there is no reason to put it here, and in addition,
! 6513: # creating and moving files from /tmp can sometimes cause problems.
! 6514: # Create a temporary directory, and hook for its removal unless debugging.
! 6515: $debug ||
! 6516: {
! 6517: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 6518: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 6519: }
! 6520:
! 6521: # Create a (secure) tmp directory for tmp files.
! 6522:
! 6523: {
! 6524: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 6525: test -n "$tmp" && test -d "$tmp"
! 6526: } ||
! 6527: {
! 6528: tmp=./confstat$$-$RANDOM
! 6529: (umask 077 && mkdir $tmp)
! 6530: } ||
! 6531: {
! 6532: echo "$me: cannot create a temporary directory in ." >&2
! 6533: { (exit 1); exit 1; }
! 6534: }
! 6535:
! 6536: _ACEOF
! 6537:
! 6538: cat >>$CONFIG_STATUS <<_ACEOF
! 6539:
! 6540: #
! 6541: # CONFIG_FILES section.
! 6542: #
! 6543:
! 6544: # No need to generate the scripts if there are no CONFIG_FILES.
! 6545: # This happens for instance when ./config.status config.h
! 6546: if test -n "\$CONFIG_FILES"; then
! 6547: # Protect against being on the right side of a sed subst in config.status.
! 6548: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 6549: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 6550: s,@SHELL@,$SHELL,;t t
! 6551: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 6552: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 6553: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 6554: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 6555: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 6556: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 6557: s,@exec_prefix@,$exec_prefix,;t t
! 6558: s,@prefix@,$prefix,;t t
! 6559: s,@program_transform_name@,$program_transform_name,;t t
! 6560: s,@bindir@,$bindir,;t t
! 6561: s,@sbindir@,$sbindir,;t t
! 6562: s,@libexecdir@,$libexecdir,;t t
! 6563: s,@datadir@,$datadir,;t t
! 6564: s,@sysconfdir@,$sysconfdir,;t t
! 6565: s,@sharedstatedir@,$sharedstatedir,;t t
! 6566: s,@localstatedir@,$localstatedir,;t t
! 6567: s,@libdir@,$libdir,;t t
! 6568: s,@includedir@,$includedir,;t t
! 6569: s,@oldincludedir@,$oldincludedir,;t t
! 6570: s,@infodir@,$infodir,;t t
! 6571: s,@mandir@,$mandir,;t t
! 6572: s,@build_alias@,$build_alias,;t t
! 6573: s,@host_alias@,$host_alias,;t t
! 6574: s,@target_alias@,$target_alias,;t t
! 6575: s,@DEFS@,$DEFS,;t t
! 6576: s,@ECHO_C@,$ECHO_C,;t t
! 6577: s,@ECHO_N@,$ECHO_N,;t t
! 6578: s,@ECHO_T@,$ECHO_T,;t t
! 6579: s,@LIBS@,$LIBS,;t t
! 6580: s,@build@,$build,;t t
! 6581: s,@build_cpu@,$build_cpu,;t t
! 6582: s,@build_vendor@,$build_vendor,;t t
! 6583: s,@build_os@,$build_os,;t t
! 6584: s,@host@,$host,;t t
! 6585: s,@host_cpu@,$host_cpu,;t t
! 6586: s,@host_vendor@,$host_vendor,;t t
! 6587: s,@host_os@,$host_os,;t t
! 6588: s,@target@,$target,;t t
! 6589: s,@target_cpu@,$target_cpu,;t t
! 6590: s,@target_vendor@,$target_vendor,;t t
! 6591: s,@target_os@,$target_os,;t t
! 6592: s,@CC@,$CC,;t t
! 6593: s,@CFLAGS@,$CFLAGS,;t t
! 6594: s,@LDFLAGS@,$LDFLAGS,;t t
! 6595: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 6596: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 6597: s,@EXEEXT@,$EXEEXT,;t t
! 6598: s,@OBJEXT@,$OBJEXT,;t t
! 6599: s,@YACC@,$YACC,;t t
! 6600: s,@LEX@,$LEX,;t t
! 6601: s,@LEXLIB@,$LEXLIB,;t t
! 6602: s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
! 6603: s,@CPP@,$CPP,;t t
! 6604: s,@EGREP@,$EGREP,;t t
! 6605: s,@acx_pthread_config@,$acx_pthread_config,;t t
! 6606: s,@PTHREAD_CC@,$PTHREAD_CC,;t t
! 6607: s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
! 6608: s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
! 6609: s,@LIBOBJS@,$LIBOBJS,;t t
! 6610: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
! 6611: CEOF
! 6612:
! 6613: _ACEOF
! 6614:
! 6615: cat >>$CONFIG_STATUS <<\_ACEOF
! 6616: # Split the substitutions into bite-sized pieces for seds with
! 6617: # small command number limits, like on Digital OSF/1 and HP-UX.
! 6618: ac_max_sed_lines=48
! 6619: ac_sed_frag=1 # Number of current file.
! 6620: ac_beg=1 # First line for current file.
! 6621: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 6622: ac_more_lines=:
! 6623: ac_sed_cmds=
! 6624: while $ac_more_lines; do
! 6625: if test $ac_beg -gt 1; then
! 6626: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 6627: else
! 6628: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 6629: fi
! 6630: if test ! -s $tmp/subs.frag; then
! 6631: ac_more_lines=false
! 6632: else
! 6633: # The purpose of the label and of the branching condition is to
! 6634: # speed up the sed processing (if there are no `@' at all, there
! 6635: # is no need to browse any of the substitutions).
! 6636: # These are the two extra sed commands mentioned above.
! 6637: (echo ':t
! 6638: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 6639: if test -z "$ac_sed_cmds"; then
! 6640: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 6641: else
! 6642: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 6643: fi
! 6644: ac_sed_frag=`expr $ac_sed_frag + 1`
! 6645: ac_beg=$ac_end
! 6646: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 6647: fi
! 6648: done
! 6649: if test -z "$ac_sed_cmds"; then
! 6650: ac_sed_cmds=cat
! 6651: fi
! 6652: fi # test -n "$CONFIG_FILES"
! 6653:
! 6654: _ACEOF
! 6655: cat >>$CONFIG_STATUS <<\_ACEOF
! 6656: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
! 6657: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 6658: case $ac_file in
! 6659: - | *:- | *:-:* ) # input from stdin
! 6660: cat >$tmp/stdin
! 6661: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6662: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6663: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6664: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6665: * ) ac_file_in=$ac_file.in ;;
! 6666: esac
! 6667:
! 6668: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 6669: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 6670: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6671: X"$ac_file" : 'X\(//\)[^/]' \| \
! 6672: X"$ac_file" : 'X\(//\)$' \| \
! 6673: X"$ac_file" : 'X\(/\)' \| \
! 6674: . : '\(.\)' 2>/dev/null ||
! 6675: echo X"$ac_file" |
! 6676: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6677: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6678: /^X\(\/\/\)$/{ s//\1/; q; }
! 6679: /^X\(\/\).*/{ s//\1/; q; }
! 6680: s/.*/./; q'`
! 6681: { if $as_mkdir_p; then
! 6682: mkdir -p "$ac_dir"
! 6683: else
! 6684: as_dir="$ac_dir"
! 6685: as_dirs=
! 6686: while test ! -d "$as_dir"; do
! 6687: as_dirs="$as_dir $as_dirs"
! 6688: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 6689: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6690: X"$as_dir" : 'X\(//\)[^/]' \| \
! 6691: X"$as_dir" : 'X\(//\)$' \| \
! 6692: X"$as_dir" : 'X\(/\)' \| \
! 6693: . : '\(.\)' 2>/dev/null ||
! 6694: echo X"$as_dir" |
! 6695: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6696: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6697: /^X\(\/\/\)$/{ s//\1/; q; }
! 6698: /^X\(\/\).*/{ s//\1/; q; }
! 6699: s/.*/./; q'`
! 6700: done
! 6701: test ! -n "$as_dirs" || mkdir $as_dirs
! 6702: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 6703: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 6704: { (exit 1); exit 1; }; }; }
! 6705:
! 6706: ac_builddir=.
! 6707:
! 6708: if test "$ac_dir" != .; then
! 6709: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 6710: # A "../" for each directory in $ac_dir_suffix.
! 6711: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 6712: else
! 6713: ac_dir_suffix= ac_top_builddir=
! 6714: fi
! 6715:
! 6716: case $srcdir in
! 6717: .) # No --srcdir option. We are building in place.
! 6718: ac_srcdir=.
! 6719: if test -z "$ac_top_builddir"; then
! 6720: ac_top_srcdir=.
! 6721: else
! 6722: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 6723: fi ;;
! 6724: [\\/]* | ?:[\\/]* ) # Absolute path.
! 6725: ac_srcdir=$srcdir$ac_dir_suffix;
! 6726: ac_top_srcdir=$srcdir ;;
! 6727: *) # Relative path.
! 6728: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 6729: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 6730: esac
! 6731:
! 6732: # Do not use `cd foo && pwd` to compute absolute paths, because
! 6733: # the directories may not exist.
! 6734: case `pwd` in
! 6735: .) ac_abs_builddir="$ac_dir";;
! 6736: *)
! 6737: case "$ac_dir" in
! 6738: .) ac_abs_builddir=`pwd`;;
! 6739: [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
! 6740: *) ac_abs_builddir=`pwd`/"$ac_dir";;
! 6741: esac;;
! 6742: esac
! 6743: case $ac_abs_builddir in
! 6744: .) ac_abs_top_builddir=${ac_top_builddir}.;;
! 6745: *)
! 6746: case ${ac_top_builddir}. in
! 6747: .) ac_abs_top_builddir=$ac_abs_builddir;;
! 6748: [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
! 6749: *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
! 6750: esac;;
! 6751: esac
! 6752: case $ac_abs_builddir in
! 6753: .) ac_abs_srcdir=$ac_srcdir;;
! 6754: *)
! 6755: case $ac_srcdir in
! 6756: .) ac_abs_srcdir=$ac_abs_builddir;;
! 6757: [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
! 6758: *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
! 6759: esac;;
! 6760: esac
! 6761: case $ac_abs_builddir in
! 6762: .) ac_abs_top_srcdir=$ac_top_srcdir;;
! 6763: *)
! 6764: case $ac_top_srcdir in
! 6765: .) ac_abs_top_srcdir=$ac_abs_builddir;;
! 6766: [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
! 6767: *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
! 6768: esac;;
! 6769: esac
! 6770:
! 6771:
! 6772:
! 6773: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 6774: # use $as_me), people would be surprised to read:
! 6775: # /* config.h. Generated by config.status. */
! 6776: if test x"$ac_file" = x-; then
! 6777: configure_input=
! 6778: else
! 6779: configure_input="$ac_file. "
! 6780: fi
! 6781: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 6782: sed 's,.*/,,'` by configure."
! 6783:
! 6784: # First look for the input files in the build tree, otherwise in the
! 6785: # src tree.
! 6786: ac_file_inputs=`IFS=:
! 6787: for f in $ac_file_in; do
! 6788: case $f in
! 6789: -) echo $tmp/stdin ;;
! 6790: [\\/$]*)
! 6791: # Absolute (can't be DOS-style, as IFS=:)
! 6792: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6793: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6794: { (exit 1); exit 1; }; }
! 6795: echo "$f";;
! 6796: *) # Relative
! 6797: if test -f "$f"; then
! 6798: # Build tree
! 6799: echo "$f"
! 6800: elif test -f "$srcdir/$f"; then
! 6801: # Source tree
! 6802: echo "$srcdir/$f"
! 6803: else
! 6804: # /dev/null tree
! 6805: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6806: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6807: { (exit 1); exit 1; }; }
! 6808: fi;;
! 6809: esac
! 6810: done` || { (exit 1); exit 1; }
! 6811:
! 6812: if test x"$ac_file" != x-; then
! 6813: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 6814: echo "$as_me: creating $ac_file" >&6;}
! 6815: rm -f "$ac_file"
! 6816: fi
! 6817: _ACEOF
! 6818: cat >>$CONFIG_STATUS <<_ACEOF
! 6819: sed "$ac_vpsub
! 6820: $extrasub
! 6821: _ACEOF
! 6822: cat >>$CONFIG_STATUS <<\_ACEOF
! 6823: :t
! 6824: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 6825: s,@configure_input@,$configure_input,;t t
! 6826: s,@srcdir@,$ac_srcdir,;t t
! 6827: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 6828: s,@top_srcdir@,$ac_top_srcdir,;t t
! 6829: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 6830: s,@builddir@,$ac_builddir,;t t
! 6831: s,@abs_builddir@,$ac_abs_builddir,;t t
! 6832: s,@top_builddir@,$ac_top_builddir,;t t
! 6833: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 6834: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 6835: rm -f $tmp/stdin
! 6836: if test x"$ac_file" != x-; then
! 6837: mv $tmp/out $ac_file
! 6838: else
! 6839: cat $tmp/out
! 6840: rm -f $tmp/out
! 6841: fi
! 6842:
! 6843: done
! 6844: _ACEOF
! 6845: cat >>$CONFIG_STATUS <<\_ACEOF
! 6846:
! 6847: #
! 6848: # CONFIG_HEADER section.
! 6849: #
! 6850:
! 6851: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 6852: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 6853: #
! 6854: # ac_d sets the value in "#define NAME VALUE" lines.
! 6855: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 6856: ac_dB='[ ].*$,\1#\2'
! 6857: ac_dC=' '
! 6858: ac_dD=',;t'
! 6859: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 6860: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 6861: ac_uB='$,\1#\2define\3'
! 6862: ac_uC=' '
! 6863: ac_uD=',;t'
! 6864:
! 6865: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
! 6866: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 6867: case $ac_file in
! 6868: - | *:- | *:-:* ) # input from stdin
! 6869: cat >$tmp/stdin
! 6870: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6871: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6872: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6873: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6874: * ) ac_file_in=$ac_file.in ;;
! 6875: esac
! 6876:
! 6877: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 6878: echo "$as_me: creating $ac_file" >&6;}
! 6879:
! 6880: # First look for the input files in the build tree, otherwise in the
! 6881: # src tree.
! 6882: ac_file_inputs=`IFS=:
! 6883: for f in $ac_file_in; do
! 6884: case $f in
! 6885: -) echo $tmp/stdin ;;
! 6886: [\\/$]*)
! 6887: # Absolute (can't be DOS-style, as IFS=:)
! 6888: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6889: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6890: { (exit 1); exit 1; }; }
! 6891: # Do quote $f, to prevent DOS paths from being IFS'd.
! 6892: echo "$f";;
! 6893: *) # Relative
! 6894: if test -f "$f"; then
! 6895: # Build tree
! 6896: echo "$f"
! 6897: elif test -f "$srcdir/$f"; then
! 6898: # Source tree
! 6899: echo "$srcdir/$f"
! 6900: else
! 6901: # /dev/null tree
! 6902: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6903: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6904: { (exit 1); exit 1; }; }
! 6905: fi;;
! 6906: esac
! 6907: done` || { (exit 1); exit 1; }
! 6908: # Remove the trailing spaces.
! 6909: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 6910:
! 6911: _ACEOF
! 6912:
! 6913: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 6914: # `conftest.undefs', that substitutes the proper values into
! 6915: # config.h.in to produce config.h. The first handles `#define'
! 6916: # templates, and the second `#undef' templates.
! 6917: # And first: Protect against being on the right side of a sed subst in
! 6918: # config.status. Protect against being in an unquoted here document
! 6919: # in config.status.
! 6920: rm -f conftest.defines conftest.undefs
! 6921: # Using a here document instead of a string reduces the quoting nightmare.
! 6922: # Putting comments in sed scripts is not portable.
! 6923: #
! 6924: # `end' is used to avoid that the second main sed command (meant for
! 6925: # 0-ary CPP macros) applies to n-ary macro definitions.
! 6926: # See the Autoconf documentation for `clear'.
! 6927: cat >confdef2sed.sed <<\_ACEOF
! 6928: s/[\\&,]/\\&/g
! 6929: s,[\\$`],\\&,g
! 6930: t clear
! 6931: : clear
! 6932: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 6933: t end
! 6934: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 6935: : end
! 6936: _ACEOF
! 6937: # If some macros were called several times there might be several times
! 6938: # the same #defines, which is useless. Nevertheless, we may not want to
! 6939: # sort them, since we want the *last* AC-DEFINE to be honored.
! 6940: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 6941: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 6942: rm -f confdef2sed.sed
! 6943:
! 6944: # This sed command replaces #undef with comments. This is necessary, for
! 6945: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 6946: # on some systems where configure will not decide to define it.
! 6947: cat >>conftest.undefs <<\_ACEOF
! 6948: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 6949: _ACEOF
! 6950:
! 6951: # Break up conftest.defines because some shells have a limit on the size
! 6952: # of here documents, and old seds have small limits too (100 cmds).
! 6953: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 6954: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 6955: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 6956: echo ' :' >>$CONFIG_STATUS
! 6957: rm -f conftest.tail
! 6958: while grep . conftest.defines >/dev/null
! 6959: do
! 6960: # Write a limited-size here document to $tmp/defines.sed.
! 6961: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 6962: # Speed up: don't consider the non `#define' lines.
! 6963: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 6964: # Work around the forget-to-reset-the-flag bug.
! 6965: echo 't clr' >>$CONFIG_STATUS
! 6966: echo ': clr' >>$CONFIG_STATUS
! 6967: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 6968: echo 'CEOF
! 6969: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 6970: rm -f $tmp/in
! 6971: mv $tmp/out $tmp/in
! 6972: ' >>$CONFIG_STATUS
! 6973: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 6974: rm -f conftest.defines
! 6975: mv conftest.tail conftest.defines
! 6976: done
! 6977: rm -f conftest.defines
! 6978: echo ' fi # grep' >>$CONFIG_STATUS
! 6979: echo >>$CONFIG_STATUS
! 6980:
! 6981: # Break up conftest.undefs because some shells have a limit on the size
! 6982: # of here documents, and old seds have small limits too (100 cmds).
! 6983: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
! 6984: rm -f conftest.tail
! 6985: while grep . conftest.undefs >/dev/null
! 6986: do
! 6987: # Write a limited-size here document to $tmp/undefs.sed.
! 6988: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 6989: # Speed up: don't consider the non `#undef'
! 6990: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 6991: # Work around the forget-to-reset-the-flag bug.
! 6992: echo 't clr' >>$CONFIG_STATUS
! 6993: echo ': clr' >>$CONFIG_STATUS
! 6994: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
! 6995: echo 'CEOF
! 6996: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 6997: rm -f $tmp/in
! 6998: mv $tmp/out $tmp/in
! 6999: ' >>$CONFIG_STATUS
! 7000: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 7001: rm -f conftest.undefs
! 7002: mv conftest.tail conftest.undefs
! 7003: done
! 7004: rm -f conftest.undefs
! 7005:
! 7006: cat >>$CONFIG_STATUS <<\_ACEOF
! 7007: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 7008: # use $as_me), people would be surprised to read:
! 7009: # /* config.h. Generated by config.status. */
! 7010: if test x"$ac_file" = x-; then
! 7011: echo "/* Generated by configure. */" >$tmp/config.h
! 7012: else
! 7013: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 7014: fi
! 7015: cat $tmp/in >>$tmp/config.h
! 7016: rm -f $tmp/in
! 7017: if test x"$ac_file" != x-; then
! 7018: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 7019: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 7020: echo "$as_me: $ac_file is unchanged" >&6;}
! 7021: else
! 7022: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 7023: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 7024: X"$ac_file" : 'X\(//\)[^/]' \| \
! 7025: X"$ac_file" : 'X\(//\)$' \| \
! 7026: X"$ac_file" : 'X\(/\)' \| \
! 7027: . : '\(.\)' 2>/dev/null ||
! 7028: echo X"$ac_file" |
! 7029: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 7030: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 7031: /^X\(\/\/\)$/{ s//\1/; q; }
! 7032: /^X\(\/\).*/{ s//\1/; q; }
! 7033: s/.*/./; q'`
! 7034: { if $as_mkdir_p; then
! 7035: mkdir -p "$ac_dir"
! 7036: else
! 7037: as_dir="$ac_dir"
! 7038: as_dirs=
! 7039: while test ! -d "$as_dir"; do
! 7040: as_dirs="$as_dir $as_dirs"
! 7041: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 7042: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 7043: X"$as_dir" : 'X\(//\)[^/]' \| \
! 7044: X"$as_dir" : 'X\(//\)$' \| \
! 7045: X"$as_dir" : 'X\(/\)' \| \
! 7046: . : '\(.\)' 2>/dev/null ||
! 7047: echo X"$as_dir" |
! 7048: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 7049: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 7050: /^X\(\/\/\)$/{ s//\1/; q; }
! 7051: /^X\(\/\).*/{ s//\1/; q; }
! 7052: s/.*/./; q'`
! 7053: done
! 7054: test ! -n "$as_dirs" || mkdir $as_dirs
! 7055: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 7056: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 7057: { (exit 1); exit 1; }; }; }
! 7058:
! 7059: rm -f $ac_file
! 7060: mv $tmp/config.h $ac_file
! 7061: fi
! 7062: else
! 7063: cat $tmp/config.h
! 7064: rm -f $tmp/config.h
! 7065: fi
! 7066: done
! 7067: _ACEOF
! 7068:
! 7069: cat >>$CONFIG_STATUS <<\_ACEOF
! 7070:
! 7071: { (exit 0); exit 0; }
! 7072: _ACEOF
! 7073: chmod +x $CONFIG_STATUS
! 7074: ac_clean_files=$ac_clean_files_save
! 7075:
! 7076:
! 7077: # configure is writing to config.log, and then calls config.status.
! 7078: # config.status does its own redirection, appending to config.log.
! 7079: # Unfortunately, on DOS this fails, as config.log is still kept open
! 7080: # by configure, so config.status won't be able to write to it; its
! 7081: # output is simply discarded. So we exec the FD to /dev/null,
! 7082: # effectively closing config.log, so it can be properly (re)opened and
! 7083: # appended to by config.status. When coming back to configure, we
! 7084: # need to make the FD available again.
! 7085: if test "$no_create" != yes; then
! 7086: ac_cs_success=:
! 7087: ac_config_status_args=
! 7088: test "$silent" = yes &&
! 7089: ac_config_status_args="$ac_config_status_args --quiet"
! 7090: exec 5>/dev/null
! 7091: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 7092: exec 5>>config.log
! 7093: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 7094: # would make configure fail if this is the last instruction.
! 7095: $ac_cs_success || { (exit 1); exit 1; }
! 7096: fi
! 7097:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>