Annotation of embedaddon/dhcp/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.61 for DHCP 4.1-ESV-R4.
! 4: #
! 5: # Report bugs to <dhcp-users@isc.org>.
! 6: #
! 7: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 8: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
! 9: # This configure script is free software; the Free Software Foundation
! 10: # gives unlimited permission to copy, distribute and modify it.
! 11: ## --------------------- ##
! 12: ## M4sh Initialization. ##
! 13: ## --------------------- ##
! 14:
! 15: # Be more Bourne compatible
! 16: DUALCASE=1; export DUALCASE # for MKS sh
! 17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 18: emulate sh
! 19: NULLCMD=:
! 20: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 21: # is contrary to our usage. Disable this feature.
! 22: alias -g '${1+"$@"}'='"$@"'
! 23: setopt NO_GLOB_SUBST
! 24: else
! 25: case `(set -o) 2>/dev/null` in
! 26: *posix*) set -o posix ;;
! 27: esac
! 28:
! 29: fi
! 30:
! 31:
! 32:
! 33:
! 34: # PATH needs CR
! 35: # Avoid depending upon Character Ranges.
! 36: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 37: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 38: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 39: as_cr_digits='0123456789'
! 40: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 41:
! 42: # The user is always right.
! 43: if test "${PATH_SEPARATOR+set}" != set; then
! 44: echo "#! /bin/sh" >conf$$.sh
! 45: echo "exit 0" >>conf$$.sh
! 46: chmod +x conf$$.sh
! 47: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 48: PATH_SEPARATOR=';'
! 49: else
! 50: PATH_SEPARATOR=:
! 51: fi
! 52: rm -f conf$$.sh
! 53: fi
! 54:
! 55: # Support unset when possible.
! 56: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 57: as_unset=unset
! 58: else
! 59: as_unset=false
! 60: fi
! 61:
! 62:
! 63: # IFS
! 64: # We need space, tab and new line, in precisely that order. Quoting is
! 65: # there to prevent editors from complaining about space-tab.
! 66: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 67: # splitting by setting IFS to empty value.)
! 68: as_nl='
! 69: '
! 70: IFS=" "" $as_nl"
! 71:
! 72: # Find who we are. Look in the path if we contain no directory separator.
! 73: case $0 in
! 74: *[\\/]* ) as_myself=$0 ;;
! 75: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 76: for as_dir in $PATH
! 77: do
! 78: IFS=$as_save_IFS
! 79: test -z "$as_dir" && as_dir=.
! 80: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 81: done
! 82: IFS=$as_save_IFS
! 83:
! 84: ;;
! 85: esac
! 86: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 87: # in which case we are not to be found in the path.
! 88: if test "x$as_myself" = x; then
! 89: as_myself=$0
! 90: fi
! 91: if test ! -f "$as_myself"; then
! 92: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 93: { (exit 1); exit 1; }
! 94: fi
! 95:
! 96: # Work around bugs in pre-3.0 UWIN ksh.
! 97: for as_var in ENV MAIL MAILPATH
! 98: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 99: done
! 100: PS1='$ '
! 101: PS2='> '
! 102: PS4='+ '
! 103:
! 104: # NLS nuisances.
! 105: for as_var in \
! 106: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 107: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 108: LC_TELEPHONE LC_TIME
! 109: do
! 110: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 111: eval $as_var=C; export $as_var
! 112: else
! 113: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 114: fi
! 115: done
! 116:
! 117: # Required to use basename.
! 118: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 119: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 120: as_expr=expr
! 121: else
! 122: as_expr=false
! 123: fi
! 124:
! 125: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 126: as_basename=basename
! 127: else
! 128: as_basename=false
! 129: fi
! 130:
! 131:
! 132: # Name of the executable.
! 133: as_me=`$as_basename -- "$0" ||
! 134: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 135: X"$0" : 'X\(//\)$' \| \
! 136: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 137: echo X/"$0" |
! 138: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 139: s//\1/
! 140: q
! 141: }
! 142: /^X\/\(\/\/\)$/{
! 143: s//\1/
! 144: q
! 145: }
! 146: /^X\/\(\/\).*/{
! 147: s//\1/
! 148: q
! 149: }
! 150: s/.*/./; q'`
! 151:
! 152: # CDPATH.
! 153: $as_unset CDPATH
! 154:
! 155:
! 156: if test "x$CONFIG_SHELL" = x; then
! 157: if (eval ":") 2>/dev/null; then
! 158: as_have_required=yes
! 159: else
! 160: as_have_required=no
! 161: fi
! 162:
! 163: if test $as_have_required = yes && (eval ":
! 164: (as_func_return () {
! 165: (exit \$1)
! 166: }
! 167: as_func_success () {
! 168: as_func_return 0
! 169: }
! 170: as_func_failure () {
! 171: as_func_return 1
! 172: }
! 173: as_func_ret_success () {
! 174: return 0
! 175: }
! 176: as_func_ret_failure () {
! 177: return 1
! 178: }
! 179:
! 180: exitcode=0
! 181: if as_func_success; then
! 182: :
! 183: else
! 184: exitcode=1
! 185: echo as_func_success failed.
! 186: fi
! 187:
! 188: if as_func_failure; then
! 189: exitcode=1
! 190: echo as_func_failure succeeded.
! 191: fi
! 192:
! 193: if as_func_ret_success; then
! 194: :
! 195: else
! 196: exitcode=1
! 197: echo as_func_ret_success failed.
! 198: fi
! 199:
! 200: if as_func_ret_failure; then
! 201: exitcode=1
! 202: echo as_func_ret_failure succeeded.
! 203: fi
! 204:
! 205: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 206: :
! 207: else
! 208: exitcode=1
! 209: echo positional parameters were not saved.
! 210: fi
! 211:
! 212: test \$exitcode = 0) || { (exit 1); exit 1; }
! 213:
! 214: (
! 215: as_lineno_1=\$LINENO
! 216: as_lineno_2=\$LINENO
! 217: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
! 218: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
! 219: ") 2> /dev/null; then
! 220: :
! 221: else
! 222: as_candidate_shells=
! 223: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 224: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 225: do
! 226: IFS=$as_save_IFS
! 227: test -z "$as_dir" && as_dir=.
! 228: case $as_dir in
! 229: /*)
! 230: for as_base in sh bash ksh sh5; do
! 231: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
! 232: done;;
! 233: esac
! 234: done
! 235: IFS=$as_save_IFS
! 236:
! 237:
! 238: for as_shell in $as_candidate_shells $SHELL; do
! 239: # Try only shells that exist, to save several forks.
! 240: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 241: { ("$as_shell") 2> /dev/null <<\_ASEOF
! 242: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 243: emulate sh
! 244: NULLCMD=:
! 245: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 246: # is contrary to our usage. Disable this feature.
! 247: alias -g '${1+"$@"}'='"$@"'
! 248: setopt NO_GLOB_SUBST
! 249: else
! 250: case `(set -o) 2>/dev/null` in
! 251: *posix*) set -o posix ;;
! 252: esac
! 253:
! 254: fi
! 255:
! 256:
! 257: :
! 258: _ASEOF
! 259: }; then
! 260: CONFIG_SHELL=$as_shell
! 261: as_have_required=yes
! 262: if { "$as_shell" 2> /dev/null <<\_ASEOF
! 263: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 264: emulate sh
! 265: NULLCMD=:
! 266: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 267: # is contrary to our usage. Disable this feature.
! 268: alias -g '${1+"$@"}'='"$@"'
! 269: setopt NO_GLOB_SUBST
! 270: else
! 271: case `(set -o) 2>/dev/null` in
! 272: *posix*) set -o posix ;;
! 273: esac
! 274:
! 275: fi
! 276:
! 277:
! 278: :
! 279: (as_func_return () {
! 280: (exit $1)
! 281: }
! 282: as_func_success () {
! 283: as_func_return 0
! 284: }
! 285: as_func_failure () {
! 286: as_func_return 1
! 287: }
! 288: as_func_ret_success () {
! 289: return 0
! 290: }
! 291: as_func_ret_failure () {
! 292: return 1
! 293: }
! 294:
! 295: exitcode=0
! 296: if as_func_success; then
! 297: :
! 298: else
! 299: exitcode=1
! 300: echo as_func_success failed.
! 301: fi
! 302:
! 303: if as_func_failure; then
! 304: exitcode=1
! 305: echo as_func_failure succeeded.
! 306: fi
! 307:
! 308: if as_func_ret_success; then
! 309: :
! 310: else
! 311: exitcode=1
! 312: echo as_func_ret_success failed.
! 313: fi
! 314:
! 315: if as_func_ret_failure; then
! 316: exitcode=1
! 317: echo as_func_ret_failure succeeded.
! 318: fi
! 319:
! 320: if ( set x; as_func_ret_success y && test x = "$1" ); then
! 321: :
! 322: else
! 323: exitcode=1
! 324: echo positional parameters were not saved.
! 325: fi
! 326:
! 327: test $exitcode = 0) || { (exit 1); exit 1; }
! 328:
! 329: (
! 330: as_lineno_1=$LINENO
! 331: as_lineno_2=$LINENO
! 332: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 333: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
! 334:
! 335: _ASEOF
! 336: }; then
! 337: break
! 338: fi
! 339:
! 340: fi
! 341:
! 342: done
! 343:
! 344: if test "x$CONFIG_SHELL" != x; then
! 345: for as_var in BASH_ENV ENV
! 346: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 347: done
! 348: export CONFIG_SHELL
! 349: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 350: fi
! 351:
! 352:
! 353: if test $as_have_required = no; then
! 354: echo This script requires a shell more modern than all the
! 355: echo shells that I found on your system. Please install a
! 356: echo modern shell, or manually run the script under such a
! 357: echo shell if you do have one.
! 358: { (exit 1); exit 1; }
! 359: fi
! 360:
! 361:
! 362: fi
! 363:
! 364: fi
! 365:
! 366:
! 367:
! 368: (eval "as_func_return () {
! 369: (exit \$1)
! 370: }
! 371: as_func_success () {
! 372: as_func_return 0
! 373: }
! 374: as_func_failure () {
! 375: as_func_return 1
! 376: }
! 377: as_func_ret_success () {
! 378: return 0
! 379: }
! 380: as_func_ret_failure () {
! 381: return 1
! 382: }
! 383:
! 384: exitcode=0
! 385: if as_func_success; then
! 386: :
! 387: else
! 388: exitcode=1
! 389: echo as_func_success failed.
! 390: fi
! 391:
! 392: if as_func_failure; then
! 393: exitcode=1
! 394: echo as_func_failure succeeded.
! 395: fi
! 396:
! 397: if as_func_ret_success; then
! 398: :
! 399: else
! 400: exitcode=1
! 401: echo as_func_ret_success failed.
! 402: fi
! 403:
! 404: if as_func_ret_failure; then
! 405: exitcode=1
! 406: echo as_func_ret_failure succeeded.
! 407: fi
! 408:
! 409: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 410: :
! 411: else
! 412: exitcode=1
! 413: echo positional parameters were not saved.
! 414: fi
! 415:
! 416: test \$exitcode = 0") || {
! 417: echo No shell found that supports shell functions.
! 418: echo Please tell autoconf@gnu.org about your system,
! 419: echo including any error possibly output before this
! 420: echo message
! 421: }
! 422:
! 423:
! 424:
! 425: as_lineno_1=$LINENO
! 426: as_lineno_2=$LINENO
! 427: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 428: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 429:
! 430: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 431: # uniformly replaced by the line number. The first 'sed' inserts a
! 432: # line-number line after each line using $LINENO; the second 'sed'
! 433: # does the real work. The second script uses 'N' to pair each
! 434: # line-number line with the line containing $LINENO, and appends
! 435: # trailing '-' during substitution so that $LINENO is not a special
! 436: # case at line end.
! 437: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 438: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 439: # E. McMahon (1931-1989) for sed's syntax. :-)
! 440: sed -n '
! 441: p
! 442: /[$]LINENO/=
! 443: ' <$as_myself |
! 444: sed '
! 445: s/[$]LINENO.*/&-/
! 446: t lineno
! 447: b
! 448: :lineno
! 449: N
! 450: :loop
! 451: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 452: t loop
! 453: s/-\n.*//
! 454: ' >$as_me.lineno &&
! 455: chmod +x "$as_me.lineno" ||
! 456: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 457: { (exit 1); exit 1; }; }
! 458:
! 459: # Don't try to exec as it changes $[0], causing all sort of problems
! 460: # (the dirname of $[0] is not the place where we might find the
! 461: # original and so on. Autoconf is especially sensitive to this).
! 462: . "./$as_me.lineno"
! 463: # Exit status is that of the last command.
! 464: exit
! 465: }
! 466:
! 467:
! 468: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 469: as_dirname=dirname
! 470: else
! 471: as_dirname=false
! 472: fi
! 473:
! 474: ECHO_C= ECHO_N= ECHO_T=
! 475: case `echo -n x` in
! 476: -n*)
! 477: case `echo 'x\c'` in
! 478: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 479: *) ECHO_C='\c';;
! 480: esac;;
! 481: *)
! 482: ECHO_N='-n';;
! 483: esac
! 484:
! 485: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 486: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 487: as_expr=expr
! 488: else
! 489: as_expr=false
! 490: fi
! 491:
! 492: rm -f conf$$ conf$$.exe conf$$.file
! 493: if test -d conf$$.dir; then
! 494: rm -f conf$$.dir/conf$$.file
! 495: else
! 496: rm -f conf$$.dir
! 497: mkdir conf$$.dir
! 498: fi
! 499: echo >conf$$.file
! 500: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 501: as_ln_s='ln -s'
! 502: # ... but there are two gotchas:
! 503: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 504: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 505: # In both cases, we have to default to `cp -p'.
! 506: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 507: as_ln_s='cp -p'
! 508: elif ln conf$$.file conf$$ 2>/dev/null; then
! 509: as_ln_s=ln
! 510: else
! 511: as_ln_s='cp -p'
! 512: fi
! 513: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 514: rmdir conf$$.dir 2>/dev/null
! 515:
! 516: if mkdir -p . 2>/dev/null; then
! 517: as_mkdir_p=:
! 518: else
! 519: test -d ./-p && rmdir ./-p
! 520: as_mkdir_p=false
! 521: fi
! 522:
! 523: if test -x / >/dev/null 2>&1; then
! 524: as_test_x='test -x'
! 525: else
! 526: if ls -dL / >/dev/null 2>&1; then
! 527: as_ls_L_option=L
! 528: else
! 529: as_ls_L_option=
! 530: fi
! 531: as_test_x='
! 532: eval sh -c '\''
! 533: if test -d "$1"; then
! 534: test -d "$1/.";
! 535: else
! 536: case $1 in
! 537: -*)set "./$1";;
! 538: esac;
! 539: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 540: ???[sx]*):;;*)false;;esac;fi
! 541: '\'' sh
! 542: '
! 543: fi
! 544: as_executable_p=$as_test_x
! 545:
! 546: # Sed expression to map a string onto a valid CPP name.
! 547: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 548:
! 549: # Sed expression to map a string onto a valid variable name.
! 550: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 551:
! 552:
! 553:
! 554: exec 7<&0 </dev/null 6>&1
! 555:
! 556: # Name of the host.
! 557: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 558: # so uname gets run too.
! 559: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 560:
! 561: #
! 562: # Initializations.
! 563: #
! 564: ac_default_prefix=/usr/local
! 565: ac_clean_files=
! 566: ac_config_libobj_dir=.
! 567: LIBOBJS=
! 568: cross_compiling=no
! 569: subdirs=
! 570: MFLAGS=
! 571: MAKEFLAGS=
! 572: SHELL=${CONFIG_SHELL-/bin/sh}
! 573:
! 574: # Identity of this package.
! 575: PACKAGE_NAME='DHCP'
! 576: PACKAGE_TARNAME='dhcp'
! 577: PACKAGE_VERSION='4.1-ESV-R4'
! 578: PACKAGE_STRING='DHCP 4.1-ESV-R4'
! 579: PACKAGE_BUGREPORT='dhcp-users@isc.org'
! 580:
! 581: # Factoring default headers for most tests.
! 582: ac_includes_default="\
! 583: #include <stdio.h>
! 584: #ifdef HAVE_SYS_TYPES_H
! 585: # include <sys/types.h>
! 586: #endif
! 587: #ifdef HAVE_SYS_STAT_H
! 588: # include <sys/stat.h>
! 589: #endif
! 590: #ifdef STDC_HEADERS
! 591: # include <stdlib.h>
! 592: # include <stddef.h>
! 593: #else
! 594: # ifdef HAVE_STDLIB_H
! 595: # include <stdlib.h>
! 596: # endif
! 597: #endif
! 598: #ifdef HAVE_STRING_H
! 599: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 600: # include <memory.h>
! 601: # endif
! 602: # include <string.h>
! 603: #endif
! 604: #ifdef HAVE_STRINGS_H
! 605: # include <strings.h>
! 606: #endif
! 607: #ifdef HAVE_INTTYPES_H
! 608: # include <inttypes.h>
! 609: #endif
! 610: #ifdef HAVE_STDINT_H
! 611: # include <stdint.h>
! 612: #endif
! 613: #ifdef HAVE_UNISTD_H
! 614: # include <unistd.h>
! 615: #endif"
! 616:
! 617: ac_subst_vars='SHELL
! 618: PATH_SEPARATOR
! 619: PACKAGE_NAME
! 620: PACKAGE_TARNAME
! 621: PACKAGE_VERSION
! 622: PACKAGE_STRING
! 623: PACKAGE_BUGREPORT
! 624: exec_prefix
! 625: prefix
! 626: program_transform_name
! 627: bindir
! 628: sbindir
! 629: libexecdir
! 630: datarootdir
! 631: datadir
! 632: sysconfdir
! 633: sharedstatedir
! 634: localstatedir
! 635: includedir
! 636: oldincludedir
! 637: docdir
! 638: infodir
! 639: htmldir
! 640: dvidir
! 641: pdfdir
! 642: psdir
! 643: libdir
! 644: localedir
! 645: mandir
! 646: DEFS
! 647: ECHO_C
! 648: ECHO_N
! 649: ECHO_T
! 650: LIBS
! 651: build_alias
! 652: host_alias
! 653: target_alias
! 654: INSTALL_PROGRAM
! 655: INSTALL_SCRIPT
! 656: INSTALL_DATA
! 657: am__isrc
! 658: CYGPATH_W
! 659: PACKAGE
! 660: VERSION
! 661: ACLOCAL
! 662: AUTOCONF
! 663: AUTOMAKE
! 664: AUTOHEADER
! 665: MAKEINFO
! 666: install_sh
! 667: STRIP
! 668: INSTALL_STRIP_PROGRAM
! 669: mkdir_p
! 670: AWK
! 671: SET_MAKE
! 672: am__leading_dot
! 673: AMTAR
! 674: am__tar
! 675: am__untar
! 676: MAINTAINER_MODE_TRUE
! 677: MAINTAINER_MODE_FALSE
! 678: MAINT
! 679: CC
! 680: CFLAGS
! 681: LDFLAGS
! 682: CPPFLAGS
! 683: ac_ct_CC
! 684: EXEEXT
! 685: OBJEXT
! 686: DEPDIR
! 687: am__include
! 688: am__quote
! 689: AMDEP_TRUE
! 690: AMDEP_FALSE
! 691: AMDEPBACKSLASH
! 692: CCDEPMODE
! 693: am__fastdepCC_TRUE
! 694: am__fastdepCC_FALSE
! 695: CPP
! 696: GREP
! 697: EGREP
! 698: RANLIB
! 699: byte_order
! 700: ac_prefix_program
! 701: LIBOBJS
! 702: LTLIBOBJS'
! 703: ac_subst_files=''
! 704: ac_precious_vars='build_alias
! 705: host_alias
! 706: target_alias
! 707: CC
! 708: CFLAGS
! 709: LDFLAGS
! 710: LIBS
! 711: CPPFLAGS
! 712: CPP'
! 713:
! 714:
! 715: # Initialize some variables set by options.
! 716: ac_init_help=
! 717: ac_init_version=false
! 718: # The variables have the same names as the options, with
! 719: # dashes changed to underlines.
! 720: cache_file=/dev/null
! 721: exec_prefix=NONE
! 722: no_create=
! 723: no_recursion=
! 724: prefix=NONE
! 725: program_prefix=NONE
! 726: program_suffix=NONE
! 727: program_transform_name=s,x,x,
! 728: silent=
! 729: site=
! 730: srcdir=
! 731: verbose=
! 732: x_includes=NONE
! 733: x_libraries=NONE
! 734:
! 735: # Installation directory options.
! 736: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 737: # and all the variables that are supposed to be based on exec_prefix
! 738: # by default will actually change.
! 739: # Use braces instead of parens because sh, perl, etc. also accept them.
! 740: # (The list follows the same order as the GNU Coding Standards.)
! 741: bindir='${exec_prefix}/bin'
! 742: sbindir='${exec_prefix}/sbin'
! 743: libexecdir='${exec_prefix}/libexec'
! 744: datarootdir='${prefix}/share'
! 745: datadir='${datarootdir}'
! 746: sysconfdir='${prefix}/etc'
! 747: sharedstatedir='${prefix}/com'
! 748: localstatedir='${prefix}/var'
! 749: includedir='${prefix}/include'
! 750: oldincludedir='/usr/include'
! 751: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 752: infodir='${datarootdir}/info'
! 753: htmldir='${docdir}'
! 754: dvidir='${docdir}'
! 755: pdfdir='${docdir}'
! 756: psdir='${docdir}'
! 757: libdir='${exec_prefix}/lib'
! 758: localedir='${datarootdir}/locale'
! 759: mandir='${datarootdir}/man'
! 760:
! 761: ac_prev=
! 762: ac_dashdash=
! 763: for ac_option
! 764: do
! 765: # If the previous option needs an argument, assign it.
! 766: if test -n "$ac_prev"; then
! 767: eval $ac_prev=\$ac_option
! 768: ac_prev=
! 769: continue
! 770: fi
! 771:
! 772: case $ac_option in
! 773: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 774: *) ac_optarg=yes ;;
! 775: esac
! 776:
! 777: # Accept the important Cygnus configure options, so we can diagnose typos.
! 778:
! 779: case $ac_dashdash$ac_option in
! 780: --)
! 781: ac_dashdash=yes ;;
! 782:
! 783: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 784: ac_prev=bindir ;;
! 785: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 786: bindir=$ac_optarg ;;
! 787:
! 788: -build | --build | --buil | --bui | --bu)
! 789: ac_prev=build_alias ;;
! 790: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 791: build_alias=$ac_optarg ;;
! 792:
! 793: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 794: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 795: ac_prev=cache_file ;;
! 796: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 797: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 798: cache_file=$ac_optarg ;;
! 799:
! 800: --config-cache | -C)
! 801: cache_file=config.cache ;;
! 802:
! 803: -datadir | --datadir | --datadi | --datad)
! 804: ac_prev=datadir ;;
! 805: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 806: datadir=$ac_optarg ;;
! 807:
! 808: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 809: | --dataroo | --dataro | --datar)
! 810: ac_prev=datarootdir ;;
! 811: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 812: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 813: datarootdir=$ac_optarg ;;
! 814:
! 815: -disable-* | --disable-*)
! 816: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 817: # Reject names that are not valid shell variable names.
! 818: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 819: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 820: { (exit 1); exit 1; }; }
! 821: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
! 822: eval enable_$ac_feature=no ;;
! 823:
! 824: -docdir | --docdir | --docdi | --doc | --do)
! 825: ac_prev=docdir ;;
! 826: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 827: docdir=$ac_optarg ;;
! 828:
! 829: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 830: ac_prev=dvidir ;;
! 831: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 832: dvidir=$ac_optarg ;;
! 833:
! 834: -enable-* | --enable-*)
! 835: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 836: # Reject names that are not valid shell variable names.
! 837: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 838: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 839: { (exit 1); exit 1; }; }
! 840: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
! 841: eval enable_$ac_feature=\$ac_optarg ;;
! 842:
! 843: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 844: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 845: | --exec | --exe | --ex)
! 846: ac_prev=exec_prefix ;;
! 847: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 848: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 849: | --exec=* | --exe=* | --ex=*)
! 850: exec_prefix=$ac_optarg ;;
! 851:
! 852: -gas | --gas | --ga | --g)
! 853: # Obsolete; use --with-gas.
! 854: with_gas=yes ;;
! 855:
! 856: -help | --help | --hel | --he | -h)
! 857: ac_init_help=long ;;
! 858: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 859: ac_init_help=recursive ;;
! 860: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 861: ac_init_help=short ;;
! 862:
! 863: -host | --host | --hos | --ho)
! 864: ac_prev=host_alias ;;
! 865: -host=* | --host=* | --hos=* | --ho=*)
! 866: host_alias=$ac_optarg ;;
! 867:
! 868: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 869: ac_prev=htmldir ;;
! 870: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 871: | --ht=*)
! 872: htmldir=$ac_optarg ;;
! 873:
! 874: -includedir | --includedir | --includedi | --included | --include \
! 875: | --includ | --inclu | --incl | --inc)
! 876: ac_prev=includedir ;;
! 877: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 878: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 879: includedir=$ac_optarg ;;
! 880:
! 881: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 882: ac_prev=infodir ;;
! 883: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 884: infodir=$ac_optarg ;;
! 885:
! 886: -libdir | --libdir | --libdi | --libd)
! 887: ac_prev=libdir ;;
! 888: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 889: libdir=$ac_optarg ;;
! 890:
! 891: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 892: | --libexe | --libex | --libe)
! 893: ac_prev=libexecdir ;;
! 894: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 895: | --libexe=* | --libex=* | --libe=*)
! 896: libexecdir=$ac_optarg ;;
! 897:
! 898: -localedir | --localedir | --localedi | --localed | --locale)
! 899: ac_prev=localedir ;;
! 900: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 901: localedir=$ac_optarg ;;
! 902:
! 903: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 904: | --localstate | --localstat | --localsta | --localst | --locals)
! 905: ac_prev=localstatedir ;;
! 906: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 907: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 908: localstatedir=$ac_optarg ;;
! 909:
! 910: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 911: ac_prev=mandir ;;
! 912: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 913: mandir=$ac_optarg ;;
! 914:
! 915: -nfp | --nfp | --nf)
! 916: # Obsolete; use --without-fp.
! 917: with_fp=no ;;
! 918:
! 919: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 920: | --no-cr | --no-c | -n)
! 921: no_create=yes ;;
! 922:
! 923: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 924: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 925: no_recursion=yes ;;
! 926:
! 927: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 928: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 929: | --oldin | --oldi | --old | --ol | --o)
! 930: ac_prev=oldincludedir ;;
! 931: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 932: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 933: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 934: oldincludedir=$ac_optarg ;;
! 935:
! 936: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 937: ac_prev=prefix ;;
! 938: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 939: prefix=$ac_optarg ;;
! 940:
! 941: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 942: | --program-pre | --program-pr | --program-p)
! 943: ac_prev=program_prefix ;;
! 944: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 945: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 946: program_prefix=$ac_optarg ;;
! 947:
! 948: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 949: | --program-suf | --program-su | --program-s)
! 950: ac_prev=program_suffix ;;
! 951: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 952: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 953: program_suffix=$ac_optarg ;;
! 954:
! 955: -program-transform-name | --program-transform-name \
! 956: | --program-transform-nam | --program-transform-na \
! 957: | --program-transform-n | --program-transform- \
! 958: | --program-transform | --program-transfor \
! 959: | --program-transfo | --program-transf \
! 960: | --program-trans | --program-tran \
! 961: | --progr-tra | --program-tr | --program-t)
! 962: ac_prev=program_transform_name ;;
! 963: -program-transform-name=* | --program-transform-name=* \
! 964: | --program-transform-nam=* | --program-transform-na=* \
! 965: | --program-transform-n=* | --program-transform-=* \
! 966: | --program-transform=* | --program-transfor=* \
! 967: | --program-transfo=* | --program-transf=* \
! 968: | --program-trans=* | --program-tran=* \
! 969: | --progr-tra=* | --program-tr=* | --program-t=*)
! 970: program_transform_name=$ac_optarg ;;
! 971:
! 972: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 973: ac_prev=pdfdir ;;
! 974: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 975: pdfdir=$ac_optarg ;;
! 976:
! 977: -psdir | --psdir | --psdi | --psd | --ps)
! 978: ac_prev=psdir ;;
! 979: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 980: psdir=$ac_optarg ;;
! 981:
! 982: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 983: | -silent | --silent | --silen | --sile | --sil)
! 984: silent=yes ;;
! 985:
! 986: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 987: ac_prev=sbindir ;;
! 988: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 989: | --sbi=* | --sb=*)
! 990: sbindir=$ac_optarg ;;
! 991:
! 992: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 993: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 994: | --sharedst | --shareds | --shared | --share | --shar \
! 995: | --sha | --sh)
! 996: ac_prev=sharedstatedir ;;
! 997: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 998: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 999: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1000: | --sha=* | --sh=*)
! 1001: sharedstatedir=$ac_optarg ;;
! 1002:
! 1003: -site | --site | --sit)
! 1004: ac_prev=site ;;
! 1005: -site=* | --site=* | --sit=*)
! 1006: site=$ac_optarg ;;
! 1007:
! 1008: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1009: ac_prev=srcdir ;;
! 1010: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1011: srcdir=$ac_optarg ;;
! 1012:
! 1013: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1014: | --syscon | --sysco | --sysc | --sys | --sy)
! 1015: ac_prev=sysconfdir ;;
! 1016: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1017: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1018: sysconfdir=$ac_optarg ;;
! 1019:
! 1020: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1021: ac_prev=target_alias ;;
! 1022: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1023: target_alias=$ac_optarg ;;
! 1024:
! 1025: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1026: verbose=yes ;;
! 1027:
! 1028: -version | --version | --versio | --versi | --vers | -V)
! 1029: ac_init_version=: ;;
! 1030:
! 1031: -with-* | --with-*)
! 1032: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1033: # Reject names that are not valid shell variable names.
! 1034: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1035: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 1036: { (exit 1); exit 1; }; }
! 1037: ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
! 1038: eval with_$ac_package=\$ac_optarg ;;
! 1039:
! 1040: -without-* | --without-*)
! 1041: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1042: # Reject names that are not valid shell variable names.
! 1043: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1044: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 1045: { (exit 1); exit 1; }; }
! 1046: ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
! 1047: eval with_$ac_package=no ;;
! 1048:
! 1049: --x)
! 1050: # Obsolete; use --with-x.
! 1051: with_x=yes ;;
! 1052:
! 1053: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1054: | --x-incl | --x-inc | --x-in | --x-i)
! 1055: ac_prev=x_includes ;;
! 1056: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1057: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1058: x_includes=$ac_optarg ;;
! 1059:
! 1060: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1061: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1062: ac_prev=x_libraries ;;
! 1063: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1064: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1065: x_libraries=$ac_optarg ;;
! 1066:
! 1067: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 1068: Try \`$0 --help' for more information." >&2
! 1069: { (exit 1); exit 1; }; }
! 1070: ;;
! 1071:
! 1072: *=*)
! 1073: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1074: # Reject names that are not valid shell variable names.
! 1075: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1076: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1077: { (exit 1); exit 1; }; }
! 1078: eval $ac_envvar=\$ac_optarg
! 1079: export $ac_envvar ;;
! 1080:
! 1081: *)
! 1082: # FIXME: should be removed in autoconf 3.0.
! 1083: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1084: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1085: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1086: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1087: ;;
! 1088:
! 1089: esac
! 1090: done
! 1091:
! 1092: if test -n "$ac_prev"; then
! 1093: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1094: { echo "$as_me: error: missing argument to $ac_option" >&2
! 1095: { (exit 1); exit 1; }; }
! 1096: fi
! 1097:
! 1098: # Be sure to have absolute directory names.
! 1099: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1100: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1101: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1102: libdir localedir mandir
! 1103: do
! 1104: eval ac_val=\$$ac_var
! 1105: case $ac_val in
! 1106: [\\/$]* | ?:[\\/]* ) continue;;
! 1107: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1108: esac
! 1109: { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1110: { (exit 1); exit 1; }; }
! 1111: done
! 1112:
! 1113: # There might be people who depend on the old broken behavior: `$host'
! 1114: # used to hold the argument of --host etc.
! 1115: # FIXME: To remove some day.
! 1116: build=$build_alias
! 1117: host=$host_alias
! 1118: target=$target_alias
! 1119:
! 1120: # FIXME: To remove some day.
! 1121: if test "x$host_alias" != x; then
! 1122: if test "x$build_alias" = x; then
! 1123: cross_compiling=maybe
! 1124: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1125: If a cross compiler is detected then cross compile mode will be used." >&2
! 1126: elif test "x$build_alias" != "x$host_alias"; then
! 1127: cross_compiling=yes
! 1128: fi
! 1129: fi
! 1130:
! 1131: ac_tool_prefix=
! 1132: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1133:
! 1134: test "$silent" = yes && exec 6>/dev/null
! 1135:
! 1136:
! 1137: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1138: ac_ls_di=`ls -di .` &&
! 1139: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1140: { echo "$as_me: error: Working directory cannot be determined" >&2
! 1141: { (exit 1); exit 1; }; }
! 1142: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1143: { echo "$as_me: error: pwd does not report name of working directory" >&2
! 1144: { (exit 1); exit 1; }; }
! 1145:
! 1146:
! 1147: # Find the source files, if location was not specified.
! 1148: if test -z "$srcdir"; then
! 1149: ac_srcdir_defaulted=yes
! 1150: # Try the directory containing this script, then the parent directory.
! 1151: ac_confdir=`$as_dirname -- "$0" ||
! 1152: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1153: X"$0" : 'X\(//\)[^/]' \| \
! 1154: X"$0" : 'X\(//\)$' \| \
! 1155: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 1156: echo X"$0" |
! 1157: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1158: s//\1/
! 1159: q
! 1160: }
! 1161: /^X\(\/\/\)[^/].*/{
! 1162: s//\1/
! 1163: q
! 1164: }
! 1165: /^X\(\/\/\)$/{
! 1166: s//\1/
! 1167: q
! 1168: }
! 1169: /^X\(\/\).*/{
! 1170: s//\1/
! 1171: q
! 1172: }
! 1173: s/.*/./; q'`
! 1174: srcdir=$ac_confdir
! 1175: if test ! -r "$srcdir/$ac_unique_file"; then
! 1176: srcdir=..
! 1177: fi
! 1178: else
! 1179: ac_srcdir_defaulted=no
! 1180: fi
! 1181: if test ! -r "$srcdir/$ac_unique_file"; then
! 1182: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1183: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1184: { (exit 1); exit 1; }; }
! 1185: fi
! 1186: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1187: ac_abs_confdir=`(
! 1188: cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
! 1189: { (exit 1); exit 1; }; }
! 1190: pwd)`
! 1191: # When building in place, set srcdir=.
! 1192: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1193: srcdir=.
! 1194: fi
! 1195: # Remove unnecessary trailing slashes from srcdir.
! 1196: # Double slashes in file names in object file debugging info
! 1197: # mess up M-x gdb in Emacs.
! 1198: case $srcdir in
! 1199: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1200: esac
! 1201: for ac_var in $ac_precious_vars; do
! 1202: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1203: eval ac_env_${ac_var}_value=\$${ac_var}
! 1204: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1205: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1206: done
! 1207:
! 1208: #
! 1209: # Report the --help message.
! 1210: #
! 1211: if test "$ac_init_help" = "long"; then
! 1212: # Omit some internal or obsolete options to make the list less imposing.
! 1213: # This message is too long to be a string in the A/UX 3.1 sh.
! 1214: cat <<_ACEOF
! 1215: \`configure' configures DHCP 4.1-ESV-R4 to adapt to many kinds of systems.
! 1216:
! 1217: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1218:
! 1219: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1220: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1221:
! 1222: Defaults for the options are specified in brackets.
! 1223:
! 1224: Configuration:
! 1225: -h, --help display this help and exit
! 1226: --help=short display options specific to this package
! 1227: --help=recursive display the short help of all the included packages
! 1228: -V, --version display version information and exit
! 1229: -q, --quiet, --silent do not print \`checking...' messages
! 1230: --cache-file=FILE cache test results in FILE [disabled]
! 1231: -C, --config-cache alias for \`--cache-file=config.cache'
! 1232: -n, --no-create do not create output files
! 1233: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1234:
! 1235: Installation directories:
! 1236: --prefix=PREFIX install architecture-independent files in PREFIX
! 1237: [$ac_default_prefix]
! 1238: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1239: [PREFIX]
! 1240:
! 1241: By default, \`make install' will install all the files in
! 1242: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1243: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1244: for instance \`--prefix=\$HOME'.
! 1245:
! 1246: For better control, use the options below.
! 1247:
! 1248: Fine tuning of the installation directories:
! 1249: --bindir=DIR user executables [EPREFIX/bin]
! 1250: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1251: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1252: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1253: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1254: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1255: --libdir=DIR object code libraries [EPREFIX/lib]
! 1256: --includedir=DIR C header files [PREFIX/include]
! 1257: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1258: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1259: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1260: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1261: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1262: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1263: --docdir=DIR documentation root [DATAROOTDIR/doc/dhcp]
! 1264: --htmldir=DIR html documentation [DOCDIR]
! 1265: --dvidir=DIR dvi documentation [DOCDIR]
! 1266: --pdfdir=DIR pdf documentation [DOCDIR]
! 1267: --psdir=DIR ps documentation [DOCDIR]
! 1268: _ACEOF
! 1269:
! 1270: cat <<\_ACEOF
! 1271:
! 1272: Program names:
! 1273: --program-prefix=PREFIX prepend PREFIX to installed program names
! 1274: --program-suffix=SUFFIX append SUFFIX to installed program names
! 1275: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 1276: _ACEOF
! 1277: fi
! 1278:
! 1279: if test -n "$ac_init_help"; then
! 1280: case $ac_init_help in
! 1281: short | recursive ) echo "Configuration of DHCP 4.1-ESV-R4:";;
! 1282: esac
! 1283: cat <<\_ACEOF
! 1284:
! 1285: Optional Features:
! 1286: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1287: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1288: --enable-maintainer-mode enable make rules and dependencies not useful
! 1289: (and sometimes confusing) to the casual installer
! 1290: --disable-dependency-tracking speeds up one-time build
! 1291: --enable-dependency-tracking do not reject slow dependency extractors
! 1292: --enable-debug create a debug-only version of the software (default
! 1293: is no).
! 1294: --enable-failover enable support for failover (default is yes)
! 1295: --enable-execute enable support for execute() in config (default is
! 1296: yes)
! 1297: --enable-tracing enable support for server activity tracing (default
! 1298: is yes)
! 1299: --enable-delayed-ack queues multiple DHCPACK replies (default is no)
! 1300: --enable-dhcpv6 enable support for DHCPv6 (default is yes)
! 1301: --enable-paranoia enable support for chroot/setuid (default is no)
! 1302: --enable-early-chroot enable chrooting prior to configuration (default is
! 1303: no)
! 1304: --enable-ipv4-pktinfo enable use of pktinfo on IPv4 sockets (default is
! 1305: no)
! 1306: --enable-use-sockets use the standard BSD socket API (default is no)
! 1307:
! 1308: Optional Packages:
! 1309: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1310: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1311: --with-srv-lease-file=PATH
! 1312: File for dhcpd leases (default is
! 1313: LOCALSTATEDIR/db/dhcpd.leases)
! 1314: --with-srv6-lease-file=PATH
! 1315: File for dhcpd6 leases (default is
! 1316: LOCALSTATEDIR/db/dhcpd6.leases)
! 1317: --with-cli-lease-file=PATH
! 1318: File for dhclient leases (default is
! 1319: LOCALSTATEDIR/db/dhclient.leases)
! 1320: --with-cli6-lease-file=PATH
! 1321: File for dhclient6 leases (default is
! 1322: LOCALSTATEDIR/db/dhclient6.leases)
! 1323: --with-srv-pid-file=PATH
! 1324: File for dhcpd process information (default is
! 1325: LOCALSTATEDIR/run/dhcpd.pid)
! 1326: --with-srv6-pid-file=PATH
! 1327: File for dhcpd6 process information (default is
! 1328: LOCALSTATEDIR/run/dhcpd6.pid)
! 1329: --with-cli-pid-file=PATH
! 1330: File for dhclient process information (default is
! 1331: LOCALSTATEDIR/run/dhclient.pid)
! 1332: --with-cli6-pid-file=PATH
! 1333: File for dhclient6 process information (default is
! 1334: LOCALSTATEDIR/run/dhclient6.pid)
! 1335: --with-relay-pid-file=PATH
! 1336: File for dhcrelay process information (default is
! 1337: LOCALSTATEDIR/run/dhcrelay.pid)
! 1338: --with-relay6-pid-file=PATH
! 1339: File for dhcrelay6 process information (default is
! 1340: LOCALSTATEDIR/run/dhcrelay6.pid)
! 1341:
! 1342: Some influential environment variables:
! 1343: CC C compiler command
! 1344: CFLAGS C compiler flags
! 1345: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1346: nonstandard directory <lib dir>
! 1347: LIBS libraries to pass to the linker, e.g. -l<library>
! 1348: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1349: you have headers in a nonstandard directory <include dir>
! 1350: CPP C preprocessor
! 1351:
! 1352: Use these variables to override the choices made by `configure' or to help
! 1353: it to find libraries and programs with nonstandard names/locations.
! 1354:
! 1355: Report bugs to <dhcp-users@isc.org>.
! 1356: _ACEOF
! 1357: ac_status=$?
! 1358: fi
! 1359:
! 1360: if test "$ac_init_help" = "recursive"; then
! 1361: # If there are subdirs, report their specific --help.
! 1362: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1363: test -d "$ac_dir" || continue
! 1364: ac_builddir=.
! 1365:
! 1366: case "$ac_dir" in
! 1367: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1368: *)
! 1369: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 1370: # A ".." for each directory in $ac_dir_suffix.
! 1371: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
! 1372: case $ac_top_builddir_sub in
! 1373: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1374: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1375: esac ;;
! 1376: esac
! 1377: ac_abs_top_builddir=$ac_pwd
! 1378: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1379: # for backward compatibility:
! 1380: ac_top_builddir=$ac_top_build_prefix
! 1381:
! 1382: case $srcdir in
! 1383: .) # We are building in place.
! 1384: ac_srcdir=.
! 1385: ac_top_srcdir=$ac_top_builddir_sub
! 1386: ac_abs_top_srcdir=$ac_pwd ;;
! 1387: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1388: ac_srcdir=$srcdir$ac_dir_suffix;
! 1389: ac_top_srcdir=$srcdir
! 1390: ac_abs_top_srcdir=$srcdir ;;
! 1391: *) # Relative name.
! 1392: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1393: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1394: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1395: esac
! 1396: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1397:
! 1398: cd "$ac_dir" || { ac_status=$?; continue; }
! 1399: # Check for guested configure.
! 1400: if test -f "$ac_srcdir/configure.gnu"; then
! 1401: echo &&
! 1402: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1403: elif test -f "$ac_srcdir/configure"; then
! 1404: echo &&
! 1405: $SHELL "$ac_srcdir/configure" --help=recursive
! 1406: else
! 1407: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1408: fi || ac_status=$?
! 1409: cd "$ac_pwd" || { ac_status=$?; break; }
! 1410: done
! 1411: fi
! 1412:
! 1413: test -n "$ac_init_help" && exit $ac_status
! 1414: if $ac_init_version; then
! 1415: cat <<\_ACEOF
! 1416: DHCP configure 4.1-ESV-R4
! 1417: generated by GNU Autoconf 2.61
! 1418:
! 1419: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1420: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
! 1421: This configure script is free software; the Free Software Foundation
! 1422: gives unlimited permission to copy, distribute and modify it.
! 1423: _ACEOF
! 1424: exit
! 1425: fi
! 1426: cat >config.log <<_ACEOF
! 1427: This file contains any messages produced by compilers while
! 1428: running configure, to aid debugging if configure makes a mistake.
! 1429:
! 1430: It was created by DHCP $as_me 4.1-ESV-R4, which was
! 1431: generated by GNU Autoconf 2.61. Invocation command line was
! 1432:
! 1433: $ $0 $@
! 1434:
! 1435: _ACEOF
! 1436: exec 5>>config.log
! 1437: {
! 1438: cat <<_ASUNAME
! 1439: ## --------- ##
! 1440: ## Platform. ##
! 1441: ## --------- ##
! 1442:
! 1443: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1444: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1445: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1446: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1447: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1448:
! 1449: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1450: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1451:
! 1452: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1453: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1454: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1455: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1456: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1457: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1458: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1459:
! 1460: _ASUNAME
! 1461:
! 1462: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1463: for as_dir in $PATH
! 1464: do
! 1465: IFS=$as_save_IFS
! 1466: test -z "$as_dir" && as_dir=.
! 1467: echo "PATH: $as_dir"
! 1468: done
! 1469: IFS=$as_save_IFS
! 1470:
! 1471: } >&5
! 1472:
! 1473: cat >&5 <<_ACEOF
! 1474:
! 1475:
! 1476: ## ----------- ##
! 1477: ## Core tests. ##
! 1478: ## ----------- ##
! 1479:
! 1480: _ACEOF
! 1481:
! 1482:
! 1483: # Keep a trace of the command line.
! 1484: # Strip out --no-create and --no-recursion so they do not pile up.
! 1485: # Strip out --silent because we don't want to record it for future runs.
! 1486: # Also quote any args containing shell meta-characters.
! 1487: # Make two passes to allow for proper duplicate-argument suppression.
! 1488: ac_configure_args=
! 1489: ac_configure_args0=
! 1490: ac_configure_args1=
! 1491: ac_must_keep_next=false
! 1492: for ac_pass in 1 2
! 1493: do
! 1494: for ac_arg
! 1495: do
! 1496: case $ac_arg in
! 1497: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1498: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1499: | -silent | --silent | --silen | --sile | --sil)
! 1500: continue ;;
! 1501: *\'*)
! 1502: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1503: esac
! 1504: case $ac_pass in
! 1505: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1506: 2)
! 1507: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1508: if test $ac_must_keep_next = true; then
! 1509: ac_must_keep_next=false # Got value, back to normal.
! 1510: else
! 1511: case $ac_arg in
! 1512: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1513: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1514: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1515: | -with-* | --with-* | -without-* | --without-* | --x)
! 1516: case "$ac_configure_args0 " in
! 1517: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1518: esac
! 1519: ;;
! 1520: -* ) ac_must_keep_next=true ;;
! 1521: esac
! 1522: fi
! 1523: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1524: ;;
! 1525: esac
! 1526: done
! 1527: done
! 1528: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1529: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1530:
! 1531: # When interrupted or exit'd, cleanup temporary files, and complete
! 1532: # config.log. We remove comments because anyway the quotes in there
! 1533: # would cause problems or look ugly.
! 1534: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1535: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1536: trap 'exit_status=$?
! 1537: # Save into config.log some information that might help in debugging.
! 1538: {
! 1539: echo
! 1540:
! 1541: cat <<\_ASBOX
! 1542: ## ---------------- ##
! 1543: ## Cache variables. ##
! 1544: ## ---------------- ##
! 1545: _ASBOX
! 1546: echo
! 1547: # The following way of writing the cache mishandles newlines in values,
! 1548: (
! 1549: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1550: eval ac_val=\$$ac_var
! 1551: case $ac_val in #(
! 1552: *${as_nl}*)
! 1553: case $ac_var in #(
! 1554: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1555: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 1556: esac
! 1557: case $ac_var in #(
! 1558: _ | IFS | as_nl) ;; #(
! 1559: *) $as_unset $ac_var ;;
! 1560: esac ;;
! 1561: esac
! 1562: done
! 1563: (set) 2>&1 |
! 1564: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1565: *${as_nl}ac_space=\ *)
! 1566: sed -n \
! 1567: "s/'\''/'\''\\\\'\'''\''/g;
! 1568: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1569: ;; #(
! 1570: *)
! 1571: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1572: ;;
! 1573: esac |
! 1574: sort
! 1575: )
! 1576: echo
! 1577:
! 1578: cat <<\_ASBOX
! 1579: ## ----------------- ##
! 1580: ## Output variables. ##
! 1581: ## ----------------- ##
! 1582: _ASBOX
! 1583: echo
! 1584: for ac_var in $ac_subst_vars
! 1585: do
! 1586: eval ac_val=\$$ac_var
! 1587: case $ac_val in
! 1588: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1589: esac
! 1590: echo "$ac_var='\''$ac_val'\''"
! 1591: done | sort
! 1592: echo
! 1593:
! 1594: if test -n "$ac_subst_files"; then
! 1595: cat <<\_ASBOX
! 1596: ## ------------------- ##
! 1597: ## File substitutions. ##
! 1598: ## ------------------- ##
! 1599: _ASBOX
! 1600: echo
! 1601: for ac_var in $ac_subst_files
! 1602: do
! 1603: eval ac_val=\$$ac_var
! 1604: case $ac_val in
! 1605: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1606: esac
! 1607: echo "$ac_var='\''$ac_val'\''"
! 1608: done | sort
! 1609: echo
! 1610: fi
! 1611:
! 1612: if test -s confdefs.h; then
! 1613: cat <<\_ASBOX
! 1614: ## ----------- ##
! 1615: ## confdefs.h. ##
! 1616: ## ----------- ##
! 1617: _ASBOX
! 1618: echo
! 1619: cat confdefs.h
! 1620: echo
! 1621: fi
! 1622: test "$ac_signal" != 0 &&
! 1623: echo "$as_me: caught signal $ac_signal"
! 1624: echo "$as_me: exit $exit_status"
! 1625: } >&5
! 1626: rm -f core *.core core.conftest.* &&
! 1627: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1628: exit $exit_status
! 1629: ' 0
! 1630: for ac_signal in 1 2 13 15; do
! 1631: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1632: done
! 1633: ac_signal=0
! 1634:
! 1635: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1636: rm -f -r conftest* confdefs.h
! 1637:
! 1638: # Predefined preprocessor variables.
! 1639:
! 1640: cat >>confdefs.h <<_ACEOF
! 1641: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1642: _ACEOF
! 1643:
! 1644:
! 1645: cat >>confdefs.h <<_ACEOF
! 1646: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1647: _ACEOF
! 1648:
! 1649:
! 1650: cat >>confdefs.h <<_ACEOF
! 1651: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1652: _ACEOF
! 1653:
! 1654:
! 1655: cat >>confdefs.h <<_ACEOF
! 1656: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1657: _ACEOF
! 1658:
! 1659:
! 1660: cat >>confdefs.h <<_ACEOF
! 1661: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1662: _ACEOF
! 1663:
! 1664:
! 1665: # Let the site file select an alternate cache file if it wants to.
! 1666: # Prefer explicitly selected file to automatically selected ones.
! 1667: if test -n "$CONFIG_SITE"; then
! 1668: set x "$CONFIG_SITE"
! 1669: elif test "x$prefix" != xNONE; then
! 1670: set x "$prefix/share/config.site" "$prefix/etc/config.site"
! 1671: else
! 1672: set x "$ac_default_prefix/share/config.site" \
! 1673: "$ac_default_prefix/etc/config.site"
! 1674: fi
! 1675: shift
! 1676: for ac_site_file
! 1677: do
! 1678: if test -r "$ac_site_file"; then
! 1679: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1680: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1681: sed 's/^/| /' "$ac_site_file" >&5
! 1682: . "$ac_site_file"
! 1683: fi
! 1684: done
! 1685:
! 1686: if test -r "$cache_file"; then
! 1687: # Some versions of bash will fail to source /dev/null (special
! 1688: # files actually), so we avoid doing that.
! 1689: if test -f "$cache_file"; then
! 1690: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1691: echo "$as_me: loading cache $cache_file" >&6;}
! 1692: case $cache_file in
! 1693: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1694: *) . "./$cache_file";;
! 1695: esac
! 1696: fi
! 1697: else
! 1698: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1699: echo "$as_me: creating cache $cache_file" >&6;}
! 1700: >$cache_file
! 1701: fi
! 1702:
! 1703: # Check that the precious variables saved in the cache have kept the same
! 1704: # value.
! 1705: ac_cache_corrupted=false
! 1706: for ac_var in $ac_precious_vars; do
! 1707: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1708: eval ac_new_set=\$ac_env_${ac_var}_set
! 1709: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1710: eval ac_new_val=\$ac_env_${ac_var}_value
! 1711: case $ac_old_set,$ac_new_set in
! 1712: set,)
! 1713: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1714: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1715: ac_cache_corrupted=: ;;
! 1716: ,set)
! 1717: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1718: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1719: ac_cache_corrupted=: ;;
! 1720: ,);;
! 1721: *)
! 1722: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1723: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1724: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1725: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1726: echo "$as_me: former value: $ac_old_val" >&2;}
! 1727: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1728: echo "$as_me: current value: $ac_new_val" >&2;}
! 1729: ac_cache_corrupted=:
! 1730: fi;;
! 1731: esac
! 1732: # Pass precious variables to config.status.
! 1733: if test "$ac_new_set" = set; then
! 1734: case $ac_new_val in
! 1735: *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1736: *) ac_arg=$ac_var=$ac_new_val ;;
! 1737: esac
! 1738: case " $ac_configure_args " in
! 1739: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1740: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1741: esac
! 1742: fi
! 1743: done
! 1744: if $ac_cache_corrupted; then
! 1745: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1746: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1747: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1748: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1749: { (exit 1); exit 1; }; }
! 1750: fi
! 1751:
! 1752:
! 1753:
! 1754:
! 1755:
! 1756:
! 1757:
! 1758:
! 1759:
! 1760:
! 1761:
! 1762:
! 1763:
! 1764:
! 1765:
! 1766:
! 1767:
! 1768:
! 1769:
! 1770:
! 1771:
! 1772:
! 1773:
! 1774:
! 1775:
! 1776: ac_ext=c
! 1777: ac_cpp='$CPP $CPPFLAGS'
! 1778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1781:
! 1782:
! 1783:
! 1784: # we specify "foreign" to avoid having to have the GNU mandated files,
! 1785: # like AUTHORS, COPYING, and such
! 1786: am__api_version='1.10'
! 1787:
! 1788: ac_aux_dir=
! 1789: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 1790: if test -f "$ac_dir/install-sh"; then
! 1791: ac_aux_dir=$ac_dir
! 1792: ac_install_sh="$ac_aux_dir/install-sh -c"
! 1793: break
! 1794: elif test -f "$ac_dir/install.sh"; then
! 1795: ac_aux_dir=$ac_dir
! 1796: ac_install_sh="$ac_aux_dir/install.sh -c"
! 1797: break
! 1798: elif test -f "$ac_dir/shtool"; then
! 1799: ac_aux_dir=$ac_dir
! 1800: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1801: break
! 1802: fi
! 1803: done
! 1804: if test -z "$ac_aux_dir"; then
! 1805: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 1806: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
! 1807: { (exit 1); exit 1; }; }
! 1808: fi
! 1809:
! 1810: # These three variables are undocumented and unsupported,
! 1811: # and are intended to be withdrawn in a future Autoconf release.
! 1812: # They can cause serious problems if a builder's source tree is in a directory
! 1813: # whose full name contains unusual characters.
! 1814: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 1815: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 1816: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 1817:
! 1818:
! 1819: # Find a good install program. We prefer a C program (faster),
! 1820: # so one script is as good as another. But avoid the broken or
! 1821: # incompatible versions:
! 1822: # SysV /etc/install, /usr/sbin/install
! 1823: # SunOS /usr/etc/install
! 1824: # IRIX /sbin/install
! 1825: # AIX /bin/install
! 1826: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 1827: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 1828: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 1829: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 1830: # OS/2's system install, which has a completely different semantic
! 1831: # ./install, which can be erroneously created by make from ./install.sh.
! 1832: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 1833: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
! 1834: if test -z "$INSTALL"; then
! 1835: if test "${ac_cv_path_install+set}" = set; then
! 1836: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1837: else
! 1838: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1839: for as_dir in $PATH
! 1840: do
! 1841: IFS=$as_save_IFS
! 1842: test -z "$as_dir" && as_dir=.
! 1843: # Account for people who put trailing slashes in PATH elements.
! 1844: case $as_dir/ in
! 1845: ./ | .// | /cC/* | \
! 1846: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 1847: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 1848: /usr/ucb/* ) ;;
! 1849: *)
! 1850: # OSF1 and SCO ODT 3.0 have their own names for install.
! 1851: # Don't use installbsd from OSF since it installs stuff as root
! 1852: # by default.
! 1853: for ac_prog in ginstall scoinst install; do
! 1854: for ac_exec_ext in '' $ac_executable_extensions; do
! 1855: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 1856: if test $ac_prog = install &&
! 1857: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1858: # AIX install. It has an incompatible calling convention.
! 1859: :
! 1860: elif test $ac_prog = install &&
! 1861: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 1862: # program-specific install script used by HP pwplus--don't use.
! 1863: :
! 1864: else
! 1865: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 1866: break 3
! 1867: fi
! 1868: fi
! 1869: done
! 1870: done
! 1871: ;;
! 1872: esac
! 1873: done
! 1874: IFS=$as_save_IFS
! 1875:
! 1876:
! 1877: fi
! 1878: if test "${ac_cv_path_install+set}" = set; then
! 1879: INSTALL=$ac_cv_path_install
! 1880: else
! 1881: # As a last resort, use the slow shell script. Don't cache a
! 1882: # value for INSTALL within a source directory, because that will
! 1883: # break other packages using the cache if that directory is
! 1884: # removed, or if the value is a relative name.
! 1885: INSTALL=$ac_install_sh
! 1886: fi
! 1887: fi
! 1888: { echo "$as_me:$LINENO: result: $INSTALL" >&5
! 1889: echo "${ECHO_T}$INSTALL" >&6; }
! 1890:
! 1891: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 1892: # It thinks the first close brace ends the variable substitution.
! 1893: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 1894:
! 1895: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 1896:
! 1897: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 1898:
! 1899: { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! 1900: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
! 1901: # Just in case
! 1902: sleep 1
! 1903: echo timestamp > conftest.file
! 1904: # Do `set' in a subshell so we don't clobber the current shell's
! 1905: # arguments. Must try -L first in case configure is actually a
! 1906: # symlink; some systems play weird games with the mod time of symlinks
! 1907: # (eg FreeBSD returns the mod time of the symlink's containing
! 1908: # directory).
! 1909: if (
! 1910: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
! 1911: if test "$*" = "X"; then
! 1912: # -L didn't work.
! 1913: set X `ls -t $srcdir/configure conftest.file`
! 1914: fi
! 1915: rm -f conftest.file
! 1916: if test "$*" != "X $srcdir/configure conftest.file" \
! 1917: && test "$*" != "X conftest.file $srcdir/configure"; then
! 1918:
! 1919: # If neither matched, then we have a broken ls. This can happen
! 1920: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 1921: # broken ls alias from the environment. This has actually
! 1922: # happened. Such a system could not be considered "sane".
! 1923: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
! 1924: alias in your environment" >&5
! 1925: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 1926: alias in your environment" >&2;}
! 1927: { (exit 1); exit 1; }; }
! 1928: fi
! 1929:
! 1930: test "$2" = conftest.file
! 1931: )
! 1932: then
! 1933: # Ok.
! 1934: :
! 1935: else
! 1936: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
! 1937: Check your system clock" >&5
! 1938: echo "$as_me: error: newly created file is older than distributed files!
! 1939: Check your system clock" >&2;}
! 1940: { (exit 1); exit 1; }; }
! 1941: fi
! 1942: { echo "$as_me:$LINENO: result: yes" >&5
! 1943: echo "${ECHO_T}yes" >&6; }
! 1944: test "$program_prefix" != NONE &&
! 1945: program_transform_name="s&^&$program_prefix&;$program_transform_name"
! 1946: # Use a double $ so make ignores it.
! 1947: test "$program_suffix" != NONE &&
! 1948: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
! 1949: # Double any \ or $. echo might interpret backslashes.
! 1950: # By default was `s,x,x', remove it if useless.
! 1951: cat <<\_ACEOF >conftest.sed
! 1952: s/[\\$]/&&/g;s/;s,x,x,$//
! 1953: _ACEOF
! 1954: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! 1955: rm -f conftest.sed
! 1956:
! 1957: # expand $ac_aux_dir to an absolute path
! 1958: am_aux_dir=`cd $ac_aux_dir && pwd`
! 1959:
! 1960: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 1961: # Use eval to expand $SHELL
! 1962: if eval "$MISSING --run true"; then
! 1963: am_missing_run="$MISSING --run "
! 1964: else
! 1965: am_missing_run=
! 1966: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 1967: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 1968: fi
! 1969:
! 1970: { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
! 1971: echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
! 1972: if test -z "$MKDIR_P"; then
! 1973: if test "${ac_cv_path_mkdir+set}" = set; then
! 1974: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1975: else
! 1976: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1977: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
! 1978: do
! 1979: IFS=$as_save_IFS
! 1980: test -z "$as_dir" && as_dir=.
! 1981: for ac_prog in mkdir gmkdir; do
! 1982: for ac_exec_ext in '' $ac_executable_extensions; do
! 1983: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
! 1984: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
! 1985: 'mkdir (GNU coreutils) '* | \
! 1986: 'mkdir (coreutils) '* | \
! 1987: 'mkdir (fileutils) '4.1*)
! 1988: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
! 1989: break 3;;
! 1990: esac
! 1991: done
! 1992: done
! 1993: done
! 1994: IFS=$as_save_IFS
! 1995:
! 1996: fi
! 1997:
! 1998: if test "${ac_cv_path_mkdir+set}" = set; then
! 1999: MKDIR_P="$ac_cv_path_mkdir -p"
! 2000: else
! 2001: # As a last resort, use the slow shell script. Don't cache a
! 2002: # value for MKDIR_P within a source directory, because that will
! 2003: # break other packages using the cache if that directory is
! 2004: # removed, or if the value is a relative name.
! 2005: test -d ./--version && rmdir ./--version
! 2006: MKDIR_P="$ac_install_sh -d"
! 2007: fi
! 2008: fi
! 2009: { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
! 2010: echo "${ECHO_T}$MKDIR_P" >&6; }
! 2011:
! 2012: mkdir_p="$MKDIR_P"
! 2013: case $mkdir_p in
! 2014: [\\/$]* | ?:[\\/]*) ;;
! 2015: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
! 2016: esac
! 2017:
! 2018: for ac_prog in gawk mawk nawk awk
! 2019: do
! 2020: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2021: set dummy $ac_prog; ac_word=$2
! 2022: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2023: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2024: if test "${ac_cv_prog_AWK+set}" = set; then
! 2025: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2026: else
! 2027: if test -n "$AWK"; then
! 2028: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 2029: else
! 2030: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2031: for as_dir in $PATH
! 2032: do
! 2033: IFS=$as_save_IFS
! 2034: test -z "$as_dir" && as_dir=.
! 2035: for ac_exec_ext in '' $ac_executable_extensions; do
! 2036: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2037: ac_cv_prog_AWK="$ac_prog"
! 2038: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2039: break 2
! 2040: fi
! 2041: done
! 2042: done
! 2043: IFS=$as_save_IFS
! 2044:
! 2045: fi
! 2046: fi
! 2047: AWK=$ac_cv_prog_AWK
! 2048: if test -n "$AWK"; then
! 2049: { echo "$as_me:$LINENO: result: $AWK" >&5
! 2050: echo "${ECHO_T}$AWK" >&6; }
! 2051: else
! 2052: { echo "$as_me:$LINENO: result: no" >&5
! 2053: echo "${ECHO_T}no" >&6; }
! 2054: fi
! 2055:
! 2056:
! 2057: test -n "$AWK" && break
! 2058: done
! 2059:
! 2060: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 2061: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
! 2062: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
! 2063: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
! 2064: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2065: else
! 2066: cat >conftest.make <<\_ACEOF
! 2067: SHELL = /bin/sh
! 2068: all:
! 2069: @echo '@@@%%%=$(MAKE)=@@@%%%'
! 2070: _ACEOF
! 2071: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2072: case `${MAKE-make} -f conftest.make 2>/dev/null` in
! 2073: *@@@%%%=?*=@@@%%%*)
! 2074: eval ac_cv_prog_make_${ac_make}_set=yes;;
! 2075: *)
! 2076: eval ac_cv_prog_make_${ac_make}_set=no;;
! 2077: esac
! 2078: rm -f conftest.make
! 2079: fi
! 2080: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
! 2081: { echo "$as_me:$LINENO: result: yes" >&5
! 2082: echo "${ECHO_T}yes" >&6; }
! 2083: SET_MAKE=
! 2084: else
! 2085: { echo "$as_me:$LINENO: result: no" >&5
! 2086: echo "${ECHO_T}no" >&6; }
! 2087: SET_MAKE="MAKE=${MAKE-make}"
! 2088: fi
! 2089:
! 2090: rm -rf .tst 2>/dev/null
! 2091: mkdir .tst 2>/dev/null
! 2092: if test -d .tst; then
! 2093: am__leading_dot=.
! 2094: else
! 2095: am__leading_dot=_
! 2096: fi
! 2097: rmdir .tst 2>/dev/null
! 2098:
! 2099: if test "`cd $srcdir && pwd`" != "`pwd`"; then
! 2100: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
! 2101: # is not polluted with repeated "-I."
! 2102: am__isrc=' -I$(srcdir)'
! 2103: # test to see if srcdir already configured
! 2104: if test -f $srcdir/config.status; then
! 2105: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 2106: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 2107: { (exit 1); exit 1; }; }
! 2108: fi
! 2109: fi
! 2110:
! 2111: # test whether we have cygpath
! 2112: if test -z "$CYGPATH_W"; then
! 2113: if (cygpath --version) >/dev/null 2>/dev/null; then
! 2114: CYGPATH_W='cygpath -w'
! 2115: else
! 2116: CYGPATH_W=echo
! 2117: fi
! 2118: fi
! 2119:
! 2120:
! 2121: # Define the identity of the package.
! 2122: PACKAGE='dhcp'
! 2123: VERSION='4.1-ESV-R4'
! 2124:
! 2125:
! 2126: cat >>confdefs.h <<_ACEOF
! 2127: #define PACKAGE "$PACKAGE"
! 2128: _ACEOF
! 2129:
! 2130:
! 2131: cat >>confdefs.h <<_ACEOF
! 2132: #define VERSION "$VERSION"
! 2133: _ACEOF
! 2134:
! 2135: # Some tools Automake needs.
! 2136:
! 2137: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 2138:
! 2139:
! 2140: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 2141:
! 2142:
! 2143: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
! 2144:
! 2145:
! 2146: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 2147:
! 2148:
! 2149: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
! 2150:
! 2151: install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
! 2152:
! 2153: # Installed binaries are usually stripped using `strip' when the user
! 2154: # run `make install-strip'. However `strip' might not be the right
! 2155: # tool to use in cross-compilation environments, therefore Automake
! 2156: # will honor the `STRIP' environment variable to overrule this program.
! 2157: if test "$cross_compiling" != no; then
! 2158: if test -n "$ac_tool_prefix"; then
! 2159: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 2160: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 2161: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2162: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2163: if test "${ac_cv_prog_STRIP+set}" = set; then
! 2164: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2165: else
! 2166: if test -n "$STRIP"; then
! 2167: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 2168: else
! 2169: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2170: for as_dir in $PATH
! 2171: do
! 2172: IFS=$as_save_IFS
! 2173: test -z "$as_dir" && as_dir=.
! 2174: for ac_exec_ext in '' $ac_executable_extensions; do
! 2175: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2176: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 2177: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2178: break 2
! 2179: fi
! 2180: done
! 2181: done
! 2182: IFS=$as_save_IFS
! 2183:
! 2184: fi
! 2185: fi
! 2186: STRIP=$ac_cv_prog_STRIP
! 2187: if test -n "$STRIP"; then
! 2188: { echo "$as_me:$LINENO: result: $STRIP" >&5
! 2189: echo "${ECHO_T}$STRIP" >&6; }
! 2190: else
! 2191: { echo "$as_me:$LINENO: result: no" >&5
! 2192: echo "${ECHO_T}no" >&6; }
! 2193: fi
! 2194:
! 2195:
! 2196: fi
! 2197: if test -z "$ac_cv_prog_STRIP"; then
! 2198: ac_ct_STRIP=$STRIP
! 2199: # Extract the first word of "strip", so it can be a program name with args.
! 2200: set dummy strip; ac_word=$2
! 2201: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2202: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2203: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 2204: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2205: else
! 2206: if test -n "$ac_ct_STRIP"; then
! 2207: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 2208: else
! 2209: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2210: for as_dir in $PATH
! 2211: do
! 2212: IFS=$as_save_IFS
! 2213: test -z "$as_dir" && as_dir=.
! 2214: for ac_exec_ext in '' $ac_executable_extensions; do
! 2215: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2216: ac_cv_prog_ac_ct_STRIP="strip"
! 2217: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2218: break 2
! 2219: fi
! 2220: done
! 2221: done
! 2222: IFS=$as_save_IFS
! 2223:
! 2224: fi
! 2225: fi
! 2226: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 2227: if test -n "$ac_ct_STRIP"; then
! 2228: { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 2229: echo "${ECHO_T}$ac_ct_STRIP" >&6; }
! 2230: else
! 2231: { echo "$as_me:$LINENO: result: no" >&5
! 2232: echo "${ECHO_T}no" >&6; }
! 2233: fi
! 2234:
! 2235: if test "x$ac_ct_STRIP" = x; then
! 2236: STRIP=":"
! 2237: else
! 2238: case $cross_compiling:$ac_tool_warned in
! 2239: yes:)
! 2240: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2241: whose name does not start with the host triplet. If you think this
! 2242: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2243: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2244: whose name does not start with the host triplet. If you think this
! 2245: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2246: ac_tool_warned=yes ;;
! 2247: esac
! 2248: STRIP=$ac_ct_STRIP
! 2249: fi
! 2250: else
! 2251: STRIP="$ac_cv_prog_STRIP"
! 2252: fi
! 2253:
! 2254: fi
! 2255: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
! 2256:
! 2257: # We need awk for the "check" target. The system "awk" is bad on
! 2258: # some platforms.
! 2259: # Always define AMTAR for backward compatibility.
! 2260:
! 2261: AMTAR=${AMTAR-"${am_missing_run}tar"}
! 2262:
! 2263: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
! 2264:
! 2265:
! 2266:
! 2267:
! 2268:
! 2269:
! 2270: # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
! 2271: # the configure and makefiles. Without it users doing things that
! 2272: # change the timestamps on the code, like checking it into a cvs
! 2273: # tree, could trigger a rebuild of the infrastructure files which
! 2274: # might fail if they don't have the correct tools.
! 2275: { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
! 2276: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
! 2277: # Check whether --enable-maintainer-mode was given.
! 2278: if test "${enable_maintainer_mode+set}" = set; then
! 2279: enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
! 2280: else
! 2281: USE_MAINTAINER_MODE=no
! 2282: fi
! 2283:
! 2284: { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! 2285: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
! 2286: if test $USE_MAINTAINER_MODE = yes; then
! 2287: MAINTAINER_MODE_TRUE=
! 2288: MAINTAINER_MODE_FALSE='#'
! 2289: else
! 2290: MAINTAINER_MODE_TRUE='#'
! 2291: MAINTAINER_MODE_FALSE=
! 2292: fi
! 2293:
! 2294: MAINT=$MAINTAINER_MODE_TRUE
! 2295:
! 2296:
! 2297:
! 2298: # We want to turn on warnings if we are using gcc and the user did
! 2299: # not specify CFLAGS. The autoconf check for the C compiler sets the
! 2300: # CFLAGS if gcc is used, so we will save it before we run that check.
! 2301: SAVE_CFLAGS="$CFLAGS"
! 2302:
! 2303: # Now find our C compiler.
! 2304: ac_ext=c
! 2305: ac_cpp='$CPP $CPPFLAGS'
! 2306: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2307: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2308: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2309: if test -n "$ac_tool_prefix"; then
! 2310: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2311: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2312: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2313: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2314: if test "${ac_cv_prog_CC+set}" = set; then
! 2315: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2316: else
! 2317: if test -n "$CC"; then
! 2318: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2319: else
! 2320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2321: for as_dir in $PATH
! 2322: do
! 2323: IFS=$as_save_IFS
! 2324: test -z "$as_dir" && as_dir=.
! 2325: for ac_exec_ext in '' $ac_executable_extensions; do
! 2326: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2327: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2328: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2329: break 2
! 2330: fi
! 2331: done
! 2332: done
! 2333: IFS=$as_save_IFS
! 2334:
! 2335: fi
! 2336: fi
! 2337: CC=$ac_cv_prog_CC
! 2338: if test -n "$CC"; then
! 2339: { echo "$as_me:$LINENO: result: $CC" >&5
! 2340: echo "${ECHO_T}$CC" >&6; }
! 2341: else
! 2342: { echo "$as_me:$LINENO: result: no" >&5
! 2343: echo "${ECHO_T}no" >&6; }
! 2344: fi
! 2345:
! 2346:
! 2347: fi
! 2348: if test -z "$ac_cv_prog_CC"; then
! 2349: ac_ct_CC=$CC
! 2350: # Extract the first word of "gcc", so it can be a program name with args.
! 2351: set dummy gcc; ac_word=$2
! 2352: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2353: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2354: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2355: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2356: else
! 2357: if test -n "$ac_ct_CC"; then
! 2358: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2359: else
! 2360: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2361: for as_dir in $PATH
! 2362: do
! 2363: IFS=$as_save_IFS
! 2364: test -z "$as_dir" && as_dir=.
! 2365: for ac_exec_ext in '' $ac_executable_extensions; do
! 2366: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2367: ac_cv_prog_ac_ct_CC="gcc"
! 2368: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2369: break 2
! 2370: fi
! 2371: done
! 2372: done
! 2373: IFS=$as_save_IFS
! 2374:
! 2375: fi
! 2376: fi
! 2377: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2378: if test -n "$ac_ct_CC"; then
! 2379: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2380: echo "${ECHO_T}$ac_ct_CC" >&6; }
! 2381: else
! 2382: { echo "$as_me:$LINENO: result: no" >&5
! 2383: echo "${ECHO_T}no" >&6; }
! 2384: fi
! 2385:
! 2386: if test "x$ac_ct_CC" = x; then
! 2387: CC=""
! 2388: else
! 2389: case $cross_compiling:$ac_tool_warned in
! 2390: yes:)
! 2391: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2392: whose name does not start with the host triplet. If you think this
! 2393: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2394: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2395: whose name does not start with the host triplet. If you think this
! 2396: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2397: ac_tool_warned=yes ;;
! 2398: esac
! 2399: CC=$ac_ct_CC
! 2400: fi
! 2401: else
! 2402: CC="$ac_cv_prog_CC"
! 2403: fi
! 2404:
! 2405: if test -z "$CC"; then
! 2406: if test -n "$ac_tool_prefix"; then
! 2407: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2408: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2409: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2410: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2411: if test "${ac_cv_prog_CC+set}" = set; then
! 2412: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2413: else
! 2414: if test -n "$CC"; then
! 2415: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2416: else
! 2417: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2418: for as_dir in $PATH
! 2419: do
! 2420: IFS=$as_save_IFS
! 2421: test -z "$as_dir" && as_dir=.
! 2422: for ac_exec_ext in '' $ac_executable_extensions; do
! 2423: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2424: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2425: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2426: break 2
! 2427: fi
! 2428: done
! 2429: done
! 2430: IFS=$as_save_IFS
! 2431:
! 2432: fi
! 2433: fi
! 2434: CC=$ac_cv_prog_CC
! 2435: if test -n "$CC"; then
! 2436: { echo "$as_me:$LINENO: result: $CC" >&5
! 2437: echo "${ECHO_T}$CC" >&6; }
! 2438: else
! 2439: { echo "$as_me:$LINENO: result: no" >&5
! 2440: echo "${ECHO_T}no" >&6; }
! 2441: fi
! 2442:
! 2443:
! 2444: fi
! 2445: fi
! 2446: if test -z "$CC"; then
! 2447: # Extract the first word of "cc", so it can be a program name with args.
! 2448: set dummy cc; ac_word=$2
! 2449: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2450: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2451: if test "${ac_cv_prog_CC+set}" = set; then
! 2452: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2453: else
! 2454: if test -n "$CC"; then
! 2455: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2456: else
! 2457: ac_prog_rejected=no
! 2458: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2459: for as_dir in $PATH
! 2460: do
! 2461: IFS=$as_save_IFS
! 2462: test -z "$as_dir" && as_dir=.
! 2463: for ac_exec_ext in '' $ac_executable_extensions; do
! 2464: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2465: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2466: ac_prog_rejected=yes
! 2467: continue
! 2468: fi
! 2469: ac_cv_prog_CC="cc"
! 2470: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2471: break 2
! 2472: fi
! 2473: done
! 2474: done
! 2475: IFS=$as_save_IFS
! 2476:
! 2477: if test $ac_prog_rejected = yes; then
! 2478: # We found a bogon in the path, so make sure we never use it.
! 2479: set dummy $ac_cv_prog_CC
! 2480: shift
! 2481: if test $# != 0; then
! 2482: # We chose a different compiler from the bogus one.
! 2483: # However, it has the same basename, so the bogon will be chosen
! 2484: # first if we set CC to just the basename; use the full file name.
! 2485: shift
! 2486: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2487: fi
! 2488: fi
! 2489: fi
! 2490: fi
! 2491: CC=$ac_cv_prog_CC
! 2492: if test -n "$CC"; then
! 2493: { echo "$as_me:$LINENO: result: $CC" >&5
! 2494: echo "${ECHO_T}$CC" >&6; }
! 2495: else
! 2496: { echo "$as_me:$LINENO: result: no" >&5
! 2497: echo "${ECHO_T}no" >&6; }
! 2498: fi
! 2499:
! 2500:
! 2501: fi
! 2502: if test -z "$CC"; then
! 2503: if test -n "$ac_tool_prefix"; then
! 2504: for ac_prog in cl.exe
! 2505: do
! 2506: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2507: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2508: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2509: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2510: if test "${ac_cv_prog_CC+set}" = set; then
! 2511: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2512: else
! 2513: if test -n "$CC"; then
! 2514: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2515: else
! 2516: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2517: for as_dir in $PATH
! 2518: do
! 2519: IFS=$as_save_IFS
! 2520: test -z "$as_dir" && as_dir=.
! 2521: for ac_exec_ext in '' $ac_executable_extensions; do
! 2522: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2523: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2524: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2525: break 2
! 2526: fi
! 2527: done
! 2528: done
! 2529: IFS=$as_save_IFS
! 2530:
! 2531: fi
! 2532: fi
! 2533: CC=$ac_cv_prog_CC
! 2534: if test -n "$CC"; then
! 2535: { echo "$as_me:$LINENO: result: $CC" >&5
! 2536: echo "${ECHO_T}$CC" >&6; }
! 2537: else
! 2538: { echo "$as_me:$LINENO: result: no" >&5
! 2539: echo "${ECHO_T}no" >&6; }
! 2540: fi
! 2541:
! 2542:
! 2543: test -n "$CC" && break
! 2544: done
! 2545: fi
! 2546: if test -z "$CC"; then
! 2547: ac_ct_CC=$CC
! 2548: for ac_prog in cl.exe
! 2549: do
! 2550: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2551: set dummy $ac_prog; ac_word=$2
! 2552: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2553: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2554: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2555: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2556: else
! 2557: if test -n "$ac_ct_CC"; then
! 2558: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2559: else
! 2560: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2561: for as_dir in $PATH
! 2562: do
! 2563: IFS=$as_save_IFS
! 2564: test -z "$as_dir" && as_dir=.
! 2565: for ac_exec_ext in '' $ac_executable_extensions; do
! 2566: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2567: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2568: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2569: break 2
! 2570: fi
! 2571: done
! 2572: done
! 2573: IFS=$as_save_IFS
! 2574:
! 2575: fi
! 2576: fi
! 2577: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2578: if test -n "$ac_ct_CC"; then
! 2579: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2580: echo "${ECHO_T}$ac_ct_CC" >&6; }
! 2581: else
! 2582: { echo "$as_me:$LINENO: result: no" >&5
! 2583: echo "${ECHO_T}no" >&6; }
! 2584: fi
! 2585:
! 2586:
! 2587: test -n "$ac_ct_CC" && break
! 2588: done
! 2589:
! 2590: if test "x$ac_ct_CC" = x; then
! 2591: CC=""
! 2592: else
! 2593: case $cross_compiling:$ac_tool_warned in
! 2594: yes:)
! 2595: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2596: whose name does not start with the host triplet. If you think this
! 2597: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2598: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2599: whose name does not start with the host triplet. If you think this
! 2600: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2601: ac_tool_warned=yes ;;
! 2602: esac
! 2603: CC=$ac_ct_CC
! 2604: fi
! 2605: fi
! 2606:
! 2607: fi
! 2608:
! 2609:
! 2610: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2611: See \`config.log' for more details." >&5
! 2612: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2613: See \`config.log' for more details." >&2;}
! 2614: { (exit 1); exit 1; }; }
! 2615:
! 2616: # Provide some information about the compiler.
! 2617: echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2618: ac_compiler=`set X $ac_compile; echo $2`
! 2619: { (ac_try="$ac_compiler --version >&5"
! 2620: case "(($ac_try" in
! 2621: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2622: *) ac_try_echo=$ac_try;;
! 2623: esac
! 2624: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2625: (eval "$ac_compiler --version >&5") 2>&5
! 2626: ac_status=$?
! 2627: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2628: (exit $ac_status); }
! 2629: { (ac_try="$ac_compiler -v >&5"
! 2630: case "(($ac_try" in
! 2631: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2632: *) ac_try_echo=$ac_try;;
! 2633: esac
! 2634: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2635: (eval "$ac_compiler -v >&5") 2>&5
! 2636: ac_status=$?
! 2637: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2638: (exit $ac_status); }
! 2639: { (ac_try="$ac_compiler -V >&5"
! 2640: case "(($ac_try" in
! 2641: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2642: *) ac_try_echo=$ac_try;;
! 2643: esac
! 2644: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2645: (eval "$ac_compiler -V >&5") 2>&5
! 2646: ac_status=$?
! 2647: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2648: (exit $ac_status); }
! 2649:
! 2650: cat >conftest.$ac_ext <<_ACEOF
! 2651: /* confdefs.h. */
! 2652: _ACEOF
! 2653: cat confdefs.h >>conftest.$ac_ext
! 2654: cat >>conftest.$ac_ext <<_ACEOF
! 2655: /* end confdefs.h. */
! 2656:
! 2657: int
! 2658: main ()
! 2659: {
! 2660:
! 2661: ;
! 2662: return 0;
! 2663: }
! 2664: _ACEOF
! 2665: ac_clean_files_save=$ac_clean_files
! 2666: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2667: # Try to create an executable without -o first, disregard a.out.
! 2668: # It will help us diagnose broken compilers, and finding out an intuition
! 2669: # of exeext.
! 2670: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2671: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
! 2672: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2673: #
! 2674: # List of possible output files, starting from the most likely.
! 2675: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
! 2676: # only as a last resort. b.out is created by i960 compilers.
! 2677: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
! 2678: #
! 2679: # The IRIX 6 linker writes into existing files which may not be
! 2680: # executable, retaining their permissions. Remove them first so a
! 2681: # subsequent execution test works.
! 2682: ac_rmfiles=
! 2683: for ac_file in $ac_files
! 2684: do
! 2685: case $ac_file in
! 2686: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
! 2687: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2688: esac
! 2689: done
! 2690: rm -f $ac_rmfiles
! 2691:
! 2692: if { (ac_try="$ac_link_default"
! 2693: case "(($ac_try" in
! 2694: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2695: *) ac_try_echo=$ac_try;;
! 2696: esac
! 2697: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2698: (eval "$ac_link_default") 2>&5
! 2699: ac_status=$?
! 2700: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2701: (exit $ac_status); }; then
! 2702: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2703: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2704: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2705: # so that the user can short-circuit this test for compilers unknown to
! 2706: # Autoconf.
! 2707: for ac_file in $ac_files ''
! 2708: do
! 2709: test -f "$ac_file" || continue
! 2710: case $ac_file in
! 2711: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
! 2712: ;;
! 2713: [ab].out )
! 2714: # We found the default executable, but exeext='' is most
! 2715: # certainly right.
! 2716: break;;
! 2717: *.* )
! 2718: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2719: then :; else
! 2720: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2721: fi
! 2722: # We set ac_cv_exeext here because the later test for it is not
! 2723: # safe: cross compilers may not add the suffix if given an `-o'
! 2724: # argument, so we may need to know it at that point already.
! 2725: # Even if this section looks crufty: it has the advantage of
! 2726: # actually working.
! 2727: break;;
! 2728: * )
! 2729: break;;
! 2730: esac
! 2731: done
! 2732: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2733:
! 2734: else
! 2735: ac_file=''
! 2736: fi
! 2737:
! 2738: { echo "$as_me:$LINENO: result: $ac_file" >&5
! 2739: echo "${ECHO_T}$ac_file" >&6; }
! 2740: if test -z "$ac_file"; then
! 2741: echo "$as_me: failed program was:" >&5
! 2742: sed 's/^/| /' conftest.$ac_ext >&5
! 2743:
! 2744: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2745: See \`config.log' for more details." >&5
! 2746: echo "$as_me: error: C compiler cannot create executables
! 2747: See \`config.log' for more details." >&2;}
! 2748: { (exit 77); exit 77; }; }
! 2749: fi
! 2750:
! 2751: ac_exeext=$ac_cv_exeext
! 2752:
! 2753: # Check that the compiler produces executables we can run. If not, either
! 2754: # the compiler is broken, or we cross compile.
! 2755: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2756: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
! 2757: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2758: # If not cross compiling, check that we can run a simple program.
! 2759: if test "$cross_compiling" != yes; then
! 2760: if { ac_try='./$ac_file'
! 2761: { (case "(($ac_try" in
! 2762: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2763: *) ac_try_echo=$ac_try;;
! 2764: esac
! 2765: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2766: (eval "$ac_try") 2>&5
! 2767: ac_status=$?
! 2768: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2769: (exit $ac_status); }; }; then
! 2770: cross_compiling=no
! 2771: else
! 2772: if test "$cross_compiling" = maybe; then
! 2773: cross_compiling=yes
! 2774: else
! 2775: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2776: If you meant to cross compile, use \`--host'.
! 2777: See \`config.log' for more details." >&5
! 2778: echo "$as_me: error: cannot run C compiled programs.
! 2779: If you meant to cross compile, use \`--host'.
! 2780: See \`config.log' for more details." >&2;}
! 2781: { (exit 1); exit 1; }; }
! 2782: fi
! 2783: fi
! 2784: fi
! 2785: { echo "$as_me:$LINENO: result: yes" >&5
! 2786: echo "${ECHO_T}yes" >&6; }
! 2787:
! 2788: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2789: ac_clean_files=$ac_clean_files_save
! 2790: # Check that the compiler produces executables we can run. If not, either
! 2791: # the compiler is broken, or we cross compile.
! 2792: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2793: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
! 2794: { echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2795: echo "${ECHO_T}$cross_compiling" >&6; }
! 2796:
! 2797: { echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2798: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
! 2799: if { (ac_try="$ac_link"
! 2800: case "(($ac_try" in
! 2801: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2802: *) ac_try_echo=$ac_try;;
! 2803: esac
! 2804: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2805: (eval "$ac_link") 2>&5
! 2806: ac_status=$?
! 2807: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2808: (exit $ac_status); }; then
! 2809: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2810: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2811: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2812: # `rm'.
! 2813: for ac_file in conftest.exe conftest conftest.*; do
! 2814: test -f "$ac_file" || continue
! 2815: case $ac_file in
! 2816: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
! 2817: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2818: break;;
! 2819: * ) break;;
! 2820: esac
! 2821: done
! 2822: else
! 2823: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2824: See \`config.log' for more details." >&5
! 2825: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2826: See \`config.log' for more details." >&2;}
! 2827: { (exit 1); exit 1; }; }
! 2828: fi
! 2829:
! 2830: rm -f conftest$ac_cv_exeext
! 2831: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2832: echo "${ECHO_T}$ac_cv_exeext" >&6; }
! 2833:
! 2834: rm -f conftest.$ac_ext
! 2835: EXEEXT=$ac_cv_exeext
! 2836: ac_exeext=$EXEEXT
! 2837: { echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2838: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
! 2839: if test "${ac_cv_objext+set}" = set; then
! 2840: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2841: else
! 2842: cat >conftest.$ac_ext <<_ACEOF
! 2843: /* confdefs.h. */
! 2844: _ACEOF
! 2845: cat confdefs.h >>conftest.$ac_ext
! 2846: cat >>conftest.$ac_ext <<_ACEOF
! 2847: /* end confdefs.h. */
! 2848:
! 2849: int
! 2850: main ()
! 2851: {
! 2852:
! 2853: ;
! 2854: return 0;
! 2855: }
! 2856: _ACEOF
! 2857: rm -f conftest.o conftest.obj
! 2858: if { (ac_try="$ac_compile"
! 2859: case "(($ac_try" in
! 2860: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2861: *) ac_try_echo=$ac_try;;
! 2862: esac
! 2863: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2864: (eval "$ac_compile") 2>&5
! 2865: ac_status=$?
! 2866: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2867: (exit $ac_status); }; then
! 2868: for ac_file in conftest.o conftest.obj conftest.*; do
! 2869: test -f "$ac_file" || continue;
! 2870: case $ac_file in
! 2871: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
! 2872: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2873: break;;
! 2874: esac
! 2875: done
! 2876: else
! 2877: echo "$as_me: failed program was:" >&5
! 2878: sed 's/^/| /' conftest.$ac_ext >&5
! 2879:
! 2880: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2881: See \`config.log' for more details." >&5
! 2882: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2883: See \`config.log' for more details." >&2;}
! 2884: { (exit 1); exit 1; }; }
! 2885: fi
! 2886:
! 2887: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2888: fi
! 2889: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2890: echo "${ECHO_T}$ac_cv_objext" >&6; }
! 2891: OBJEXT=$ac_cv_objext
! 2892: ac_objext=$OBJEXT
! 2893: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2894: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
! 2895: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2896: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2897: else
! 2898: cat >conftest.$ac_ext <<_ACEOF
! 2899: /* confdefs.h. */
! 2900: _ACEOF
! 2901: cat confdefs.h >>conftest.$ac_ext
! 2902: cat >>conftest.$ac_ext <<_ACEOF
! 2903: /* end confdefs.h. */
! 2904:
! 2905: int
! 2906: main ()
! 2907: {
! 2908: #ifndef __GNUC__
! 2909: choke me
! 2910: #endif
! 2911:
! 2912: ;
! 2913: return 0;
! 2914: }
! 2915: _ACEOF
! 2916: rm -f conftest.$ac_objext
! 2917: if { (ac_try="$ac_compile"
! 2918: case "(($ac_try" in
! 2919: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2920: *) ac_try_echo=$ac_try;;
! 2921: esac
! 2922: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2923: (eval "$ac_compile") 2>conftest.er1
! 2924: ac_status=$?
! 2925: grep -v '^ *+' conftest.er1 >conftest.err
! 2926: rm -f conftest.er1
! 2927: cat conftest.err >&5
! 2928: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2929: (exit $ac_status); } && {
! 2930: test -z "$ac_c_werror_flag" ||
! 2931: test ! -s conftest.err
! 2932: } && test -s conftest.$ac_objext; then
! 2933: ac_compiler_gnu=yes
! 2934: else
! 2935: echo "$as_me: failed program was:" >&5
! 2936: sed 's/^/| /' conftest.$ac_ext >&5
! 2937:
! 2938: ac_compiler_gnu=no
! 2939: fi
! 2940:
! 2941: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2942: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2943:
! 2944: fi
! 2945: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2946: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
! 2947: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2948: ac_test_CFLAGS=${CFLAGS+set}
! 2949: ac_save_CFLAGS=$CFLAGS
! 2950: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2951: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
! 2952: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2953: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2954: else
! 2955: ac_save_c_werror_flag=$ac_c_werror_flag
! 2956: ac_c_werror_flag=yes
! 2957: ac_cv_prog_cc_g=no
! 2958: CFLAGS="-g"
! 2959: cat >conftest.$ac_ext <<_ACEOF
! 2960: /* confdefs.h. */
! 2961: _ACEOF
! 2962: cat confdefs.h >>conftest.$ac_ext
! 2963: cat >>conftest.$ac_ext <<_ACEOF
! 2964: /* end confdefs.h. */
! 2965:
! 2966: int
! 2967: main ()
! 2968: {
! 2969:
! 2970: ;
! 2971: return 0;
! 2972: }
! 2973: _ACEOF
! 2974: rm -f conftest.$ac_objext
! 2975: if { (ac_try="$ac_compile"
! 2976: case "(($ac_try" in
! 2977: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2978: *) ac_try_echo=$ac_try;;
! 2979: esac
! 2980: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2981: (eval "$ac_compile") 2>conftest.er1
! 2982: ac_status=$?
! 2983: grep -v '^ *+' conftest.er1 >conftest.err
! 2984: rm -f conftest.er1
! 2985: cat conftest.err >&5
! 2986: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2987: (exit $ac_status); } && {
! 2988: test -z "$ac_c_werror_flag" ||
! 2989: test ! -s conftest.err
! 2990: } && test -s conftest.$ac_objext; then
! 2991: ac_cv_prog_cc_g=yes
! 2992: else
! 2993: echo "$as_me: failed program was:" >&5
! 2994: sed 's/^/| /' conftest.$ac_ext >&5
! 2995:
! 2996: CFLAGS=""
! 2997: cat >conftest.$ac_ext <<_ACEOF
! 2998: /* confdefs.h. */
! 2999: _ACEOF
! 3000: cat confdefs.h >>conftest.$ac_ext
! 3001: cat >>conftest.$ac_ext <<_ACEOF
! 3002: /* end confdefs.h. */
! 3003:
! 3004: int
! 3005: main ()
! 3006: {
! 3007:
! 3008: ;
! 3009: return 0;
! 3010: }
! 3011: _ACEOF
! 3012: rm -f conftest.$ac_objext
! 3013: if { (ac_try="$ac_compile"
! 3014: case "(($ac_try" in
! 3015: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3016: *) ac_try_echo=$ac_try;;
! 3017: esac
! 3018: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3019: (eval "$ac_compile") 2>conftest.er1
! 3020: ac_status=$?
! 3021: grep -v '^ *+' conftest.er1 >conftest.err
! 3022: rm -f conftest.er1
! 3023: cat conftest.err >&5
! 3024: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3025: (exit $ac_status); } && {
! 3026: test -z "$ac_c_werror_flag" ||
! 3027: test ! -s conftest.err
! 3028: } && test -s conftest.$ac_objext; then
! 3029: :
! 3030: else
! 3031: echo "$as_me: failed program was:" >&5
! 3032: sed 's/^/| /' conftest.$ac_ext >&5
! 3033:
! 3034: ac_c_werror_flag=$ac_save_c_werror_flag
! 3035: CFLAGS="-g"
! 3036: cat >conftest.$ac_ext <<_ACEOF
! 3037: /* confdefs.h. */
! 3038: _ACEOF
! 3039: cat confdefs.h >>conftest.$ac_ext
! 3040: cat >>conftest.$ac_ext <<_ACEOF
! 3041: /* end confdefs.h. */
! 3042:
! 3043: int
! 3044: main ()
! 3045: {
! 3046:
! 3047: ;
! 3048: return 0;
! 3049: }
! 3050: _ACEOF
! 3051: rm -f conftest.$ac_objext
! 3052: if { (ac_try="$ac_compile"
! 3053: case "(($ac_try" in
! 3054: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3055: *) ac_try_echo=$ac_try;;
! 3056: esac
! 3057: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3058: (eval "$ac_compile") 2>conftest.er1
! 3059: ac_status=$?
! 3060: grep -v '^ *+' conftest.er1 >conftest.err
! 3061: rm -f conftest.er1
! 3062: cat conftest.err >&5
! 3063: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3064: (exit $ac_status); } && {
! 3065: test -z "$ac_c_werror_flag" ||
! 3066: test ! -s conftest.err
! 3067: } && test -s conftest.$ac_objext; then
! 3068: ac_cv_prog_cc_g=yes
! 3069: else
! 3070: echo "$as_me: failed program was:" >&5
! 3071: sed 's/^/| /' conftest.$ac_ext >&5
! 3072:
! 3073:
! 3074: fi
! 3075:
! 3076: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3077: fi
! 3078:
! 3079: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3080: fi
! 3081:
! 3082: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3083: ac_c_werror_flag=$ac_save_c_werror_flag
! 3084: fi
! 3085: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 3086: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
! 3087: if test "$ac_test_CFLAGS" = set; then
! 3088: CFLAGS=$ac_save_CFLAGS
! 3089: elif test $ac_cv_prog_cc_g = yes; then
! 3090: if test "$GCC" = yes; then
! 3091: CFLAGS="-g -O2"
! 3092: else
! 3093: CFLAGS="-g"
! 3094: fi
! 3095: else
! 3096: if test "$GCC" = yes; then
! 3097: CFLAGS="-O2"
! 3098: else
! 3099: CFLAGS=
! 3100: fi
! 3101: fi
! 3102: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 3103: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
! 3104: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 3105: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3106: else
! 3107: ac_cv_prog_cc_c89=no
! 3108: ac_save_CC=$CC
! 3109: cat >conftest.$ac_ext <<_ACEOF
! 3110: /* confdefs.h. */
! 3111: _ACEOF
! 3112: cat confdefs.h >>conftest.$ac_ext
! 3113: cat >>conftest.$ac_ext <<_ACEOF
! 3114: /* end confdefs.h. */
! 3115: #include <stdarg.h>
! 3116: #include <stdio.h>
! 3117: #include <sys/types.h>
! 3118: #include <sys/stat.h>
! 3119: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3120: struct buf { int x; };
! 3121: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3122: static char *e (p, i)
! 3123: char **p;
! 3124: int i;
! 3125: {
! 3126: return p[i];
! 3127: }
! 3128: static char *f (char * (*g) (char **, int), char **p, ...)
! 3129: {
! 3130: char *s;
! 3131: va_list v;
! 3132: va_start (v,p);
! 3133: s = g (p, va_arg (v,int));
! 3134: va_end (v);
! 3135: return s;
! 3136: }
! 3137:
! 3138: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3139: function prototypes and stuff, but not '\xHH' hex character constants.
! 3140: These don't provoke an error unfortunately, instead are silently treated
! 3141: as 'x'. The following induces an error, until -std is added to get
! 3142: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3143: array size at least. It's necessary to write '\x00'==0 to get something
! 3144: that's true only with -std. */
! 3145: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3146:
! 3147: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3148: inside strings and character constants. */
! 3149: #define FOO(x) 'x'
! 3150: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3151:
! 3152: int test (int i, double x);
! 3153: struct s1 {int (*f) (int a);};
! 3154: struct s2 {int (*f) (double a);};
! 3155: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3156: int argc;
! 3157: char **argv;
! 3158: int
! 3159: main ()
! 3160: {
! 3161: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3162: ;
! 3163: return 0;
! 3164: }
! 3165: _ACEOF
! 3166: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3167: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3168: do
! 3169: CC="$ac_save_CC $ac_arg"
! 3170: rm -f conftest.$ac_objext
! 3171: if { (ac_try="$ac_compile"
! 3172: case "(($ac_try" in
! 3173: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3174: *) ac_try_echo=$ac_try;;
! 3175: esac
! 3176: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3177: (eval "$ac_compile") 2>conftest.er1
! 3178: ac_status=$?
! 3179: grep -v '^ *+' conftest.er1 >conftest.err
! 3180: rm -f conftest.er1
! 3181: cat conftest.err >&5
! 3182: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3183: (exit $ac_status); } && {
! 3184: test -z "$ac_c_werror_flag" ||
! 3185: test ! -s conftest.err
! 3186: } && test -s conftest.$ac_objext; then
! 3187: ac_cv_prog_cc_c89=$ac_arg
! 3188: else
! 3189: echo "$as_me: failed program was:" >&5
! 3190: sed 's/^/| /' conftest.$ac_ext >&5
! 3191:
! 3192:
! 3193: fi
! 3194:
! 3195: rm -f core conftest.err conftest.$ac_objext
! 3196: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3197: done
! 3198: rm -f conftest.$ac_ext
! 3199: CC=$ac_save_CC
! 3200:
! 3201: fi
! 3202: # AC_CACHE_VAL
! 3203: case "x$ac_cv_prog_cc_c89" in
! 3204: x)
! 3205: { echo "$as_me:$LINENO: result: none needed" >&5
! 3206: echo "${ECHO_T}none needed" >&6; } ;;
! 3207: xno)
! 3208: { echo "$as_me:$LINENO: result: unsupported" >&5
! 3209: echo "${ECHO_T}unsupported" >&6; } ;;
! 3210: *)
! 3211: CC="$CC $ac_cv_prog_cc_c89"
! 3212: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 3213: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
! 3214: esac
! 3215:
! 3216:
! 3217: ac_ext=c
! 3218: ac_cpp='$CPP $CPPFLAGS'
! 3219: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3220: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3221: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3222: DEPDIR="${am__leading_dot}deps"
! 3223:
! 3224: ac_config_commands="$ac_config_commands depfiles"
! 3225:
! 3226:
! 3227: am_make=${MAKE-make}
! 3228: cat > confinc << 'END'
! 3229: am__doit:
! 3230: @echo done
! 3231: .PHONY: am__doit
! 3232: END
! 3233: # If we don't find an include directive, just comment out the code.
! 3234: { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 3235: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
! 3236: am__include="#"
! 3237: am__quote=
! 3238: _am_result=none
! 3239: # First try GNU make style include.
! 3240: echo "include confinc" > confmf
! 3241: # We grep out `Entering directory' and `Leaving directory'
! 3242: # messages which can occur if `w' ends up in MAKEFLAGS.
! 3243: # In particular we don't look at `^make:' because GNU make might
! 3244: # be invoked under some other name (usually "gmake"), in which
! 3245: # case it prints its new name instead of `make'.
! 3246: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 3247: am__include=include
! 3248: am__quote=
! 3249: _am_result=GNU
! 3250: fi
! 3251: # Now try BSD make style include.
! 3252: if test "$am__include" = "#"; then
! 3253: echo '.include "confinc"' > confmf
! 3254: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 3255: am__include=.include
! 3256: am__quote="\""
! 3257: _am_result=BSD
! 3258: fi
! 3259: fi
! 3260:
! 3261:
! 3262: { echo "$as_me:$LINENO: result: $_am_result" >&5
! 3263: echo "${ECHO_T}$_am_result" >&6; }
! 3264: rm -f confinc confmf
! 3265:
! 3266: # Check whether --enable-dependency-tracking was given.
! 3267: if test "${enable_dependency_tracking+set}" = set; then
! 3268: enableval=$enable_dependency_tracking;
! 3269: fi
! 3270:
! 3271: if test "x$enable_dependency_tracking" != xno; then
! 3272: am_depcomp="$ac_aux_dir/depcomp"
! 3273: AMDEPBACKSLASH='\'
! 3274: fi
! 3275: if test "x$enable_dependency_tracking" != xno; then
! 3276: AMDEP_TRUE=
! 3277: AMDEP_FALSE='#'
! 3278: else
! 3279: AMDEP_TRUE='#'
! 3280: AMDEP_FALSE=
! 3281: fi
! 3282:
! 3283:
! 3284:
! 3285: depcc="$CC" am_compiler_list=
! 3286:
! 3287: { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 3288: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
! 3289: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 3290: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3291: else
! 3292: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 3293: # We make a subdir and do the tests there. Otherwise we can end up
! 3294: # making bogus files that we don't know about and never remove. For
! 3295: # instance it was reported that on HP-UX the gcc test will end up
! 3296: # making a dummy file named `D' -- because `-MD' means `put the output
! 3297: # in D'.
! 3298: mkdir conftest.dir
! 3299: # Copy depcomp to subdir because otherwise we won't find it if we're
! 3300: # using a relative directory.
! 3301: cp "$am_depcomp" conftest.dir
! 3302: cd conftest.dir
! 3303: # We will build objects and dependencies in a subdirectory because
! 3304: # it helps to detect inapplicable dependency modes. For instance
! 3305: # both Tru64's cc and ICC support -MD to output dependencies as a
! 3306: # side effect of compilation, but ICC will put the dependencies in
! 3307: # the current directory while Tru64 will put them in the object
! 3308: # directory.
! 3309: mkdir sub
! 3310:
! 3311: am_cv_CC_dependencies_compiler_type=none
! 3312: if test "$am_compiler_list" = ""; then
! 3313: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 3314: fi
! 3315: for depmode in $am_compiler_list; do
! 3316: # Setup a source with many dependencies, because some compilers
! 3317: # like to wrap large dependency lists on column 80 (with \), and
! 3318: # we should not choose a depcomp mode which is confused by this.
! 3319: #
! 3320: # We need to recreate these files for each test, as the compiler may
! 3321: # overwrite some of them when testing with obscure command lines.
! 3322: # This happens at least with the AIX C compiler.
! 3323: : > sub/conftest.c
! 3324: for i in 1 2 3 4 5 6; do
! 3325: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 3326: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
! 3327: # Solaris 8's {/usr,}/bin/sh.
! 3328: touch sub/conftst$i.h
! 3329: done
! 3330: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 3331:
! 3332: case $depmode in
! 3333: nosideeffect)
! 3334: # after this tag, mechanisms are not by side-effect, so they'll
! 3335: # only be used when explicitly requested
! 3336: if test "x$enable_dependency_tracking" = xyes; then
! 3337: continue
! 3338: else
! 3339: break
! 3340: fi
! 3341: ;;
! 3342: none) break ;;
! 3343: esac
! 3344: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 3345: # mode. It turns out that the SunPro C++ compiler does not properly
! 3346: # handle `-M -o', and we need to detect this.
! 3347: if depmode=$depmode \
! 3348: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
! 3349: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 3350: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
! 3351: >/dev/null 2>conftest.err &&
! 3352: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 3353: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 3354: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
! 3355: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 3356: # icc doesn't choke on unknown options, it will just issue warnings
! 3357: # or remarks (even with -Werror). So we grep stderr for any message
! 3358: # that says an option was ignored or not supported.
! 3359: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 3360: # icc: Command line warning: ignoring option '-M'; no argument required
! 3361: # The diagnosis changed in icc 8.0:
! 3362: # icc: Command line remark: option '-MP' not supported
! 3363: if (grep 'ignoring option' conftest.err ||
! 3364: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 3365: am_cv_CC_dependencies_compiler_type=$depmode
! 3366: break
! 3367: fi
! 3368: fi
! 3369: done
! 3370:
! 3371: cd ..
! 3372: rm -rf conftest.dir
! 3373: else
! 3374: am_cv_CC_dependencies_compiler_type=none
! 3375: fi
! 3376:
! 3377: fi
! 3378: { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 3379: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
! 3380: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 3381:
! 3382: if
! 3383: test "x$enable_dependency_tracking" != xno \
! 3384: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 3385: am__fastdepCC_TRUE=
! 3386: am__fastdepCC_FALSE='#'
! 3387: else
! 3388: am__fastdepCC_TRUE='#'
! 3389: am__fastdepCC_FALSE=
! 3390: fi
! 3391:
! 3392:
! 3393:
! 3394: # Suppress warnings about --datarootdir
! 3395:
! 3396:
! 3397: # If we have gcc, and AC_PROG_CC changed the flags, then we know the
! 3398: # user did not specify any flags. Add warnings in this case.
! 3399: if test "$GCC" = "yes"; then
! 3400: if test "$CFLAGS" != "$SAVE_CFLAGS"; then
! 3401: STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
! 3402: fi
! 3403: fi
! 3404:
! 3405: # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
! 3406: # parts of the IPv6 Advanced Socket API as a result. This is stupid
! 3407: # as it breaks how the two halves (Basic and Advanced) of the IPv6
! 3408: # Socket API were designed to be used but we have to live with it.
! 3409: # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
! 3410:
! 3411: cat >>confdefs.h <<\_ACEOF
! 3412: #define _GNU_SOURCE 1
! 3413: _ACEOF
! 3414:
! 3415:
! 3416:
! 3417: ac_ext=c
! 3418: ac_cpp='$CPP $CPPFLAGS'
! 3419: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3420: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3421: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3422: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3423: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
! 3424: # On Suns, sometimes $CPP names a directory.
! 3425: if test -n "$CPP" && test -d "$CPP"; then
! 3426: CPP=
! 3427: fi
! 3428: if test -z "$CPP"; then
! 3429: if test "${ac_cv_prog_CPP+set}" = set; then
! 3430: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3431: else
! 3432: # Double quotes because CPP needs to be expanded
! 3433: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3434: do
! 3435: ac_preproc_ok=false
! 3436: for ac_c_preproc_warn_flag in '' yes
! 3437: do
! 3438: # Use a header file that comes with gcc, so configuring glibc
! 3439: # with a fresh cross-compiler works.
! 3440: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3441: # <limits.h> exists even on freestanding compilers.
! 3442: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3443: # not just through cpp. "Syntax error" is here to catch this case.
! 3444: cat >conftest.$ac_ext <<_ACEOF
! 3445: /* confdefs.h. */
! 3446: _ACEOF
! 3447: cat confdefs.h >>conftest.$ac_ext
! 3448: cat >>conftest.$ac_ext <<_ACEOF
! 3449: /* end confdefs.h. */
! 3450: #ifdef __STDC__
! 3451: # include <limits.h>
! 3452: #else
! 3453: # include <assert.h>
! 3454: #endif
! 3455: Syntax error
! 3456: _ACEOF
! 3457: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3458: case "(($ac_try" in
! 3459: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3460: *) ac_try_echo=$ac_try;;
! 3461: esac
! 3462: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3463: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3464: ac_status=$?
! 3465: grep -v '^ *+' conftest.er1 >conftest.err
! 3466: rm -f conftest.er1
! 3467: cat conftest.err >&5
! 3468: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3469: (exit $ac_status); } >/dev/null && {
! 3470: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3471: test ! -s conftest.err
! 3472: }; then
! 3473: :
! 3474: else
! 3475: echo "$as_me: failed program was:" >&5
! 3476: sed 's/^/| /' conftest.$ac_ext >&5
! 3477:
! 3478: # Broken: fails on valid input.
! 3479: continue
! 3480: fi
! 3481:
! 3482: rm -f conftest.err conftest.$ac_ext
! 3483:
! 3484: # OK, works on sane cases. Now check whether nonexistent headers
! 3485: # can be detected and how.
! 3486: cat >conftest.$ac_ext <<_ACEOF
! 3487: /* confdefs.h. */
! 3488: _ACEOF
! 3489: cat confdefs.h >>conftest.$ac_ext
! 3490: cat >>conftest.$ac_ext <<_ACEOF
! 3491: /* end confdefs.h. */
! 3492: #include <ac_nonexistent.h>
! 3493: _ACEOF
! 3494: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3495: case "(($ac_try" in
! 3496: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3497: *) ac_try_echo=$ac_try;;
! 3498: esac
! 3499: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3500: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3501: ac_status=$?
! 3502: grep -v '^ *+' conftest.er1 >conftest.err
! 3503: rm -f conftest.er1
! 3504: cat conftest.err >&5
! 3505: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3506: (exit $ac_status); } >/dev/null && {
! 3507: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3508: test ! -s conftest.err
! 3509: }; then
! 3510: # Broken: success on invalid input.
! 3511: continue
! 3512: else
! 3513: echo "$as_me: failed program was:" >&5
! 3514: sed 's/^/| /' conftest.$ac_ext >&5
! 3515:
! 3516: # Passes both tests.
! 3517: ac_preproc_ok=:
! 3518: break
! 3519: fi
! 3520:
! 3521: rm -f conftest.err conftest.$ac_ext
! 3522:
! 3523: done
! 3524: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3525: rm -f conftest.err conftest.$ac_ext
! 3526: if $ac_preproc_ok; then
! 3527: break
! 3528: fi
! 3529:
! 3530: done
! 3531: ac_cv_prog_CPP=$CPP
! 3532:
! 3533: fi
! 3534: CPP=$ac_cv_prog_CPP
! 3535: else
! 3536: ac_cv_prog_CPP=$CPP
! 3537: fi
! 3538: { echo "$as_me:$LINENO: result: $CPP" >&5
! 3539: echo "${ECHO_T}$CPP" >&6; }
! 3540: ac_preproc_ok=false
! 3541: for ac_c_preproc_warn_flag in '' yes
! 3542: do
! 3543: # Use a header file that comes with gcc, so configuring glibc
! 3544: # with a fresh cross-compiler works.
! 3545: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3546: # <limits.h> exists even on freestanding compilers.
! 3547: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3548: # not just through cpp. "Syntax error" is here to catch this case.
! 3549: cat >conftest.$ac_ext <<_ACEOF
! 3550: /* confdefs.h. */
! 3551: _ACEOF
! 3552: cat confdefs.h >>conftest.$ac_ext
! 3553: cat >>conftest.$ac_ext <<_ACEOF
! 3554: /* end confdefs.h. */
! 3555: #ifdef __STDC__
! 3556: # include <limits.h>
! 3557: #else
! 3558: # include <assert.h>
! 3559: #endif
! 3560: Syntax error
! 3561: _ACEOF
! 3562: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3563: case "(($ac_try" in
! 3564: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3565: *) ac_try_echo=$ac_try;;
! 3566: esac
! 3567: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3568: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3569: ac_status=$?
! 3570: grep -v '^ *+' conftest.er1 >conftest.err
! 3571: rm -f conftest.er1
! 3572: cat conftest.err >&5
! 3573: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3574: (exit $ac_status); } >/dev/null && {
! 3575: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3576: test ! -s conftest.err
! 3577: }; then
! 3578: :
! 3579: else
! 3580: echo "$as_me: failed program was:" >&5
! 3581: sed 's/^/| /' conftest.$ac_ext >&5
! 3582:
! 3583: # Broken: fails on valid input.
! 3584: continue
! 3585: fi
! 3586:
! 3587: rm -f conftest.err conftest.$ac_ext
! 3588:
! 3589: # OK, works on sane cases. Now check whether nonexistent headers
! 3590: # can be detected and how.
! 3591: cat >conftest.$ac_ext <<_ACEOF
! 3592: /* confdefs.h. */
! 3593: _ACEOF
! 3594: cat confdefs.h >>conftest.$ac_ext
! 3595: cat >>conftest.$ac_ext <<_ACEOF
! 3596: /* end confdefs.h. */
! 3597: #include <ac_nonexistent.h>
! 3598: _ACEOF
! 3599: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3600: case "(($ac_try" in
! 3601: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3602: *) ac_try_echo=$ac_try;;
! 3603: esac
! 3604: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3605: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3606: ac_status=$?
! 3607: grep -v '^ *+' conftest.er1 >conftest.err
! 3608: rm -f conftest.er1
! 3609: cat conftest.err >&5
! 3610: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3611: (exit $ac_status); } >/dev/null && {
! 3612: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3613: test ! -s conftest.err
! 3614: }; then
! 3615: # Broken: success on invalid input.
! 3616: continue
! 3617: else
! 3618: echo "$as_me: failed program was:" >&5
! 3619: sed 's/^/| /' conftest.$ac_ext >&5
! 3620:
! 3621: # Passes both tests.
! 3622: ac_preproc_ok=:
! 3623: break
! 3624: fi
! 3625:
! 3626: rm -f conftest.err conftest.$ac_ext
! 3627:
! 3628: done
! 3629: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3630: rm -f conftest.err conftest.$ac_ext
! 3631: if $ac_preproc_ok; then
! 3632: :
! 3633: else
! 3634: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3635: See \`config.log' for more details." >&5
! 3636: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3637: See \`config.log' for more details." >&2;}
! 3638: { (exit 1); exit 1; }; }
! 3639: fi
! 3640:
! 3641: ac_ext=c
! 3642: ac_cpp='$CPP $CPPFLAGS'
! 3643: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3644: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3645: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3646:
! 3647:
! 3648: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 3649: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
! 3650: if test "${ac_cv_path_GREP+set}" = set; then
! 3651: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3652: else
! 3653: # Extract the first word of "grep ggrep" to use in msg output
! 3654: if test -z "$GREP"; then
! 3655: set dummy grep ggrep; ac_prog_name=$2
! 3656: if test "${ac_cv_path_GREP+set}" = set; then
! 3657: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3658: else
! 3659: ac_path_GREP_found=false
! 3660: # Loop through the user's path and test for each of PROGNAME-LIST
! 3661: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3662: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3663: do
! 3664: IFS=$as_save_IFS
! 3665: test -z "$as_dir" && as_dir=.
! 3666: for ac_prog in grep ggrep; do
! 3667: for ac_exec_ext in '' $ac_executable_extensions; do
! 3668: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 3669: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 3670: # Check for GNU ac_path_GREP and select it if it is found.
! 3671: # Check for GNU $ac_path_GREP
! 3672: case `"$ac_path_GREP" --version 2>&1` in
! 3673: *GNU*)
! 3674: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 3675: *)
! 3676: ac_count=0
! 3677: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
! 3678: while :
! 3679: do
! 3680: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3681: mv "conftest.tmp" "conftest.in"
! 3682: cp "conftest.in" "conftest.nl"
! 3683: echo 'GREP' >> "conftest.nl"
! 3684: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3685: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3686: ac_count=`expr $ac_count + 1`
! 3687: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 3688: # Best one so far, save it but keep looking for a better one
! 3689: ac_cv_path_GREP="$ac_path_GREP"
! 3690: ac_path_GREP_max=$ac_count
! 3691: fi
! 3692: # 10*(2^10) chars as input seems more than enough
! 3693: test $ac_count -gt 10 && break
! 3694: done
! 3695: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3696: esac
! 3697:
! 3698:
! 3699: $ac_path_GREP_found && break 3
! 3700: done
! 3701: done
! 3702:
! 3703: done
! 3704: IFS=$as_save_IFS
! 3705:
! 3706:
! 3707: fi
! 3708:
! 3709: GREP="$ac_cv_path_GREP"
! 3710: if test -z "$GREP"; then
! 3711: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3712: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3713: { (exit 1); exit 1; }; }
! 3714: fi
! 3715:
! 3716: else
! 3717: ac_cv_path_GREP=$GREP
! 3718: fi
! 3719:
! 3720:
! 3721: fi
! 3722: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 3723: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
! 3724: GREP="$ac_cv_path_GREP"
! 3725:
! 3726:
! 3727: { echo "$as_me:$LINENO: checking for egrep" >&5
! 3728: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
! 3729: if test "${ac_cv_path_EGREP+set}" = set; then
! 3730: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3731: else
! 3732: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3733: then ac_cv_path_EGREP="$GREP -E"
! 3734: else
! 3735: # Extract the first word of "egrep" to use in msg output
! 3736: if test -z "$EGREP"; then
! 3737: set dummy egrep; ac_prog_name=$2
! 3738: if test "${ac_cv_path_EGREP+set}" = set; then
! 3739: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3740: else
! 3741: ac_path_EGREP_found=false
! 3742: # Loop through the user's path and test for each of PROGNAME-LIST
! 3743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3744: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3745: do
! 3746: IFS=$as_save_IFS
! 3747: test -z "$as_dir" && as_dir=.
! 3748: for ac_prog in egrep; do
! 3749: for ac_exec_ext in '' $ac_executable_extensions; do
! 3750: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 3751: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 3752: # Check for GNU ac_path_EGREP and select it if it is found.
! 3753: # Check for GNU $ac_path_EGREP
! 3754: case `"$ac_path_EGREP" --version 2>&1` in
! 3755: *GNU*)
! 3756: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 3757: *)
! 3758: ac_count=0
! 3759: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
! 3760: while :
! 3761: do
! 3762: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3763: mv "conftest.tmp" "conftest.in"
! 3764: cp "conftest.in" "conftest.nl"
! 3765: echo 'EGREP' >> "conftest.nl"
! 3766: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3767: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3768: ac_count=`expr $ac_count + 1`
! 3769: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 3770: # Best one so far, save it but keep looking for a better one
! 3771: ac_cv_path_EGREP="$ac_path_EGREP"
! 3772: ac_path_EGREP_max=$ac_count
! 3773: fi
! 3774: # 10*(2^10) chars as input seems more than enough
! 3775: test $ac_count -gt 10 && break
! 3776: done
! 3777: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3778: esac
! 3779:
! 3780:
! 3781: $ac_path_EGREP_found && break 3
! 3782: done
! 3783: done
! 3784:
! 3785: done
! 3786: IFS=$as_save_IFS
! 3787:
! 3788:
! 3789: fi
! 3790:
! 3791: EGREP="$ac_cv_path_EGREP"
! 3792: if test -z "$EGREP"; then
! 3793: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3794: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3795: { (exit 1); exit 1; }; }
! 3796: fi
! 3797:
! 3798: else
! 3799: ac_cv_path_EGREP=$EGREP
! 3800: fi
! 3801:
! 3802:
! 3803: fi
! 3804: fi
! 3805: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 3806: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
! 3807: EGREP="$ac_cv_path_EGREP"
! 3808:
! 3809:
! 3810:
! 3811: { echo "$as_me:$LINENO: checking for AIX" >&5
! 3812: echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
! 3813: cat >conftest.$ac_ext <<_ACEOF
! 3814: /* confdefs.h. */
! 3815: _ACEOF
! 3816: cat confdefs.h >>conftest.$ac_ext
! 3817: cat >>conftest.$ac_ext <<_ACEOF
! 3818: /* end confdefs.h. */
! 3819: #ifdef _AIX
! 3820: yes
! 3821: #endif
! 3822:
! 3823: _ACEOF
! 3824: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3825: $EGREP "yes" >/dev/null 2>&1; then
! 3826: { echo "$as_me:$LINENO: result: yes" >&5
! 3827: echo "${ECHO_T}yes" >&6; }
! 3828: cat >>confdefs.h <<\_ACEOF
! 3829: #define _ALL_SOURCE 1
! 3830: _ACEOF
! 3831:
! 3832: else
! 3833: { echo "$as_me:$LINENO: result: no" >&5
! 3834: echo "${ECHO_T}no" >&6; }
! 3835: fi
! 3836: rm -f conftest*
! 3837:
! 3838:
! 3839: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3840: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
! 3841: if test "${ac_cv_header_stdc+set}" = set; then
! 3842: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3843: else
! 3844: cat >conftest.$ac_ext <<_ACEOF
! 3845: /* confdefs.h. */
! 3846: _ACEOF
! 3847: cat confdefs.h >>conftest.$ac_ext
! 3848: cat >>conftest.$ac_ext <<_ACEOF
! 3849: /* end confdefs.h. */
! 3850: #include <stdlib.h>
! 3851: #include <stdarg.h>
! 3852: #include <string.h>
! 3853: #include <float.h>
! 3854:
! 3855: int
! 3856: main ()
! 3857: {
! 3858:
! 3859: ;
! 3860: return 0;
! 3861: }
! 3862: _ACEOF
! 3863: rm -f conftest.$ac_objext
! 3864: if { (ac_try="$ac_compile"
! 3865: case "(($ac_try" in
! 3866: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3867: *) ac_try_echo=$ac_try;;
! 3868: esac
! 3869: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3870: (eval "$ac_compile") 2>conftest.er1
! 3871: ac_status=$?
! 3872: grep -v '^ *+' conftest.er1 >conftest.err
! 3873: rm -f conftest.er1
! 3874: cat conftest.err >&5
! 3875: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3876: (exit $ac_status); } && {
! 3877: test -z "$ac_c_werror_flag" ||
! 3878: test ! -s conftest.err
! 3879: } && test -s conftest.$ac_objext; then
! 3880: ac_cv_header_stdc=yes
! 3881: else
! 3882: echo "$as_me: failed program was:" >&5
! 3883: sed 's/^/| /' conftest.$ac_ext >&5
! 3884:
! 3885: ac_cv_header_stdc=no
! 3886: fi
! 3887:
! 3888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3889:
! 3890: if test $ac_cv_header_stdc = yes; then
! 3891: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3892: cat >conftest.$ac_ext <<_ACEOF
! 3893: /* confdefs.h. */
! 3894: _ACEOF
! 3895: cat confdefs.h >>conftest.$ac_ext
! 3896: cat >>conftest.$ac_ext <<_ACEOF
! 3897: /* end confdefs.h. */
! 3898: #include <string.h>
! 3899:
! 3900: _ACEOF
! 3901: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3902: $EGREP "memchr" >/dev/null 2>&1; then
! 3903: :
! 3904: else
! 3905: ac_cv_header_stdc=no
! 3906: fi
! 3907: rm -f conftest*
! 3908:
! 3909: fi
! 3910:
! 3911: if test $ac_cv_header_stdc = yes; then
! 3912: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3913: cat >conftest.$ac_ext <<_ACEOF
! 3914: /* confdefs.h. */
! 3915: _ACEOF
! 3916: cat confdefs.h >>conftest.$ac_ext
! 3917: cat >>conftest.$ac_ext <<_ACEOF
! 3918: /* end confdefs.h. */
! 3919: #include <stdlib.h>
! 3920:
! 3921: _ACEOF
! 3922: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3923: $EGREP "free" >/dev/null 2>&1; then
! 3924: :
! 3925: else
! 3926: ac_cv_header_stdc=no
! 3927: fi
! 3928: rm -f conftest*
! 3929:
! 3930: fi
! 3931:
! 3932: if test $ac_cv_header_stdc = yes; then
! 3933: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3934: if test "$cross_compiling" = yes; then
! 3935: :
! 3936: else
! 3937: cat >conftest.$ac_ext <<_ACEOF
! 3938: /* confdefs.h. */
! 3939: _ACEOF
! 3940: cat confdefs.h >>conftest.$ac_ext
! 3941: cat >>conftest.$ac_ext <<_ACEOF
! 3942: /* end confdefs.h. */
! 3943: #include <ctype.h>
! 3944: #include <stdlib.h>
! 3945: #if ((' ' & 0x0FF) == 0x020)
! 3946: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3947: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3948: #else
! 3949: # define ISLOWER(c) \
! 3950: (('a' <= (c) && (c) <= 'i') \
! 3951: || ('j' <= (c) && (c) <= 'r') \
! 3952: || ('s' <= (c) && (c) <= 'z'))
! 3953: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3954: #endif
! 3955:
! 3956: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3957: int
! 3958: main ()
! 3959: {
! 3960: int i;
! 3961: for (i = 0; i < 256; i++)
! 3962: if (XOR (islower (i), ISLOWER (i))
! 3963: || toupper (i) != TOUPPER (i))
! 3964: return 2;
! 3965: return 0;
! 3966: }
! 3967: _ACEOF
! 3968: rm -f conftest$ac_exeext
! 3969: if { (ac_try="$ac_link"
! 3970: case "(($ac_try" in
! 3971: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3972: *) ac_try_echo=$ac_try;;
! 3973: esac
! 3974: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3975: (eval "$ac_link") 2>&5
! 3976: ac_status=$?
! 3977: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3978: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3979: { (case "(($ac_try" in
! 3980: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3981: *) ac_try_echo=$ac_try;;
! 3982: esac
! 3983: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3984: (eval "$ac_try") 2>&5
! 3985: ac_status=$?
! 3986: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3987: (exit $ac_status); }; }; then
! 3988: :
! 3989: else
! 3990: echo "$as_me: program exited with status $ac_status" >&5
! 3991: echo "$as_me: failed program was:" >&5
! 3992: sed 's/^/| /' conftest.$ac_ext >&5
! 3993:
! 3994: ( exit $ac_status )
! 3995: ac_cv_header_stdc=no
! 3996: fi
! 3997: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3998: fi
! 3999:
! 4000:
! 4001: fi
! 4002: fi
! 4003: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 4004: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
! 4005: if test $ac_cv_header_stdc = yes; then
! 4006:
! 4007: cat >>confdefs.h <<\_ACEOF
! 4008: #define STDC_HEADERS 1
! 4009: _ACEOF
! 4010:
! 4011: fi
! 4012:
! 4013: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 4014:
! 4015:
! 4016:
! 4017:
! 4018:
! 4019:
! 4020:
! 4021:
! 4022:
! 4023: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 4024: inttypes.h stdint.h unistd.h
! 4025: do
! 4026: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4027: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4028: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 4029: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4030: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4031: else
! 4032: cat >conftest.$ac_ext <<_ACEOF
! 4033: /* confdefs.h. */
! 4034: _ACEOF
! 4035: cat confdefs.h >>conftest.$ac_ext
! 4036: cat >>conftest.$ac_ext <<_ACEOF
! 4037: /* end confdefs.h. */
! 4038: $ac_includes_default
! 4039:
! 4040: #include <$ac_header>
! 4041: _ACEOF
! 4042: rm -f conftest.$ac_objext
! 4043: if { (ac_try="$ac_compile"
! 4044: case "(($ac_try" in
! 4045: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4046: *) ac_try_echo=$ac_try;;
! 4047: esac
! 4048: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4049: (eval "$ac_compile") 2>conftest.er1
! 4050: ac_status=$?
! 4051: grep -v '^ *+' conftest.er1 >conftest.err
! 4052: rm -f conftest.er1
! 4053: cat conftest.err >&5
! 4054: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4055: (exit $ac_status); } && {
! 4056: test -z "$ac_c_werror_flag" ||
! 4057: test ! -s conftest.err
! 4058: } && test -s conftest.$ac_objext; then
! 4059: eval "$as_ac_Header=yes"
! 4060: else
! 4061: echo "$as_me: failed program was:" >&5
! 4062: sed 's/^/| /' conftest.$ac_ext >&5
! 4063:
! 4064: eval "$as_ac_Header=no"
! 4065: fi
! 4066:
! 4067: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4068: fi
! 4069: ac_res=`eval echo '${'$as_ac_Header'}'`
! 4070: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 4071: echo "${ECHO_T}$ac_res" >&6; }
! 4072: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4073: cat >>confdefs.h <<_ACEOF
! 4074: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4075: _ACEOF
! 4076:
! 4077: fi
! 4078:
! 4079: done
! 4080:
! 4081:
! 4082: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 4083: { echo "$as_me:$LINENO: checking for minix/config.h" >&5
! 4084: echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
! 4085: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 4086: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4087: fi
! 4088: { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
! 4089: echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
! 4090: else
! 4091: # Is the header compilable?
! 4092: { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
! 4093: echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
! 4094: cat >conftest.$ac_ext <<_ACEOF
! 4095: /* confdefs.h. */
! 4096: _ACEOF
! 4097: cat confdefs.h >>conftest.$ac_ext
! 4098: cat >>conftest.$ac_ext <<_ACEOF
! 4099: /* end confdefs.h. */
! 4100: $ac_includes_default
! 4101: #include <minix/config.h>
! 4102: _ACEOF
! 4103: rm -f conftest.$ac_objext
! 4104: if { (ac_try="$ac_compile"
! 4105: case "(($ac_try" in
! 4106: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4107: *) ac_try_echo=$ac_try;;
! 4108: esac
! 4109: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4110: (eval "$ac_compile") 2>conftest.er1
! 4111: ac_status=$?
! 4112: grep -v '^ *+' conftest.er1 >conftest.err
! 4113: rm -f conftest.er1
! 4114: cat conftest.err >&5
! 4115: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4116: (exit $ac_status); } && {
! 4117: test -z "$ac_c_werror_flag" ||
! 4118: test ! -s conftest.err
! 4119: } && test -s conftest.$ac_objext; then
! 4120: ac_header_compiler=yes
! 4121: else
! 4122: echo "$as_me: failed program was:" >&5
! 4123: sed 's/^/| /' conftest.$ac_ext >&5
! 4124:
! 4125: ac_header_compiler=no
! 4126: fi
! 4127:
! 4128: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4129: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4130: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 4131:
! 4132: # Is the header present?
! 4133: { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
! 4134: echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
! 4135: cat >conftest.$ac_ext <<_ACEOF
! 4136: /* confdefs.h. */
! 4137: _ACEOF
! 4138: cat confdefs.h >>conftest.$ac_ext
! 4139: cat >>conftest.$ac_ext <<_ACEOF
! 4140: /* end confdefs.h. */
! 4141: #include <minix/config.h>
! 4142: _ACEOF
! 4143: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4144: case "(($ac_try" in
! 4145: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4146: *) ac_try_echo=$ac_try;;
! 4147: esac
! 4148: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4149: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4150: ac_status=$?
! 4151: grep -v '^ *+' conftest.er1 >conftest.err
! 4152: rm -f conftest.er1
! 4153: cat conftest.err >&5
! 4154: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4155: (exit $ac_status); } >/dev/null && {
! 4156: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4157: test ! -s conftest.err
! 4158: }; then
! 4159: ac_header_preproc=yes
! 4160: else
! 4161: echo "$as_me: failed program was:" >&5
! 4162: sed 's/^/| /' conftest.$ac_ext >&5
! 4163:
! 4164: ac_header_preproc=no
! 4165: fi
! 4166:
! 4167: rm -f conftest.err conftest.$ac_ext
! 4168: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4169: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 4170:
! 4171: # So? What about this header?
! 4172: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4173: yes:no: )
! 4174: { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 4175: echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4176: { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
! 4177: echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
! 4178: ac_header_preproc=yes
! 4179: ;;
! 4180: no:yes:* )
! 4181: { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
! 4182: echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
! 4183: { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
! 4184: echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
! 4185: { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
! 4186: echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
! 4187: { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
! 4188: echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 4189: { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
! 4190: echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
! 4191: { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
! 4192: echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
! 4193: ( cat <<\_ASBOX
! 4194: ## --------------------------------- ##
! 4195: ## Report this to dhcp-users@isc.org ##
! 4196: ## --------------------------------- ##
! 4197: _ASBOX
! 4198: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4199: ;;
! 4200: esac
! 4201: { echo "$as_me:$LINENO: checking for minix/config.h" >&5
! 4202: echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
! 4203: if test "${ac_cv_header_minix_config_h+set}" = set; then
! 4204: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4205: else
! 4206: ac_cv_header_minix_config_h=$ac_header_preproc
! 4207: fi
! 4208: { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
! 4209: echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
! 4210:
! 4211: fi
! 4212: if test $ac_cv_header_minix_config_h = yes; then
! 4213: MINIX=yes
! 4214: else
! 4215: MINIX=
! 4216: fi
! 4217:
! 4218:
! 4219: if test "$MINIX" = yes; then
! 4220:
! 4221: cat >>confdefs.h <<\_ACEOF
! 4222: #define _POSIX_SOURCE 1
! 4223: _ACEOF
! 4224:
! 4225:
! 4226: cat >>confdefs.h <<\_ACEOF
! 4227: #define _POSIX_1_SOURCE 2
! 4228: _ACEOF
! 4229:
! 4230:
! 4231: cat >>confdefs.h <<\_ACEOF
! 4232: #define _MINIX 1
! 4233: _ACEOF
! 4234:
! 4235: fi
! 4236:
! 4237:
! 4238:
! 4239:
! 4240:
! 4241:
! 4242:
! 4243:
! 4244:
! 4245:
! 4246:
! 4247: { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
! 4248: echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
! 4249: if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
! 4250: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4251: else
! 4252: cat >conftest.$ac_ext <<_ACEOF
! 4253: /* confdefs.h. */
! 4254: _ACEOF
! 4255: cat confdefs.h >>conftest.$ac_ext
! 4256: cat >>conftest.$ac_ext <<_ACEOF
! 4257: /* end confdefs.h. */
! 4258:
! 4259: # define __EXTENSIONS__ 1
! 4260: $ac_includes_default
! 4261: int
! 4262: main ()
! 4263: {
! 4264:
! 4265: ;
! 4266: return 0;
! 4267: }
! 4268: _ACEOF
! 4269: rm -f conftest.$ac_objext
! 4270: if { (ac_try="$ac_compile"
! 4271: case "(($ac_try" in
! 4272: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4273: *) ac_try_echo=$ac_try;;
! 4274: esac
! 4275: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4276: (eval "$ac_compile") 2>conftest.er1
! 4277: ac_status=$?
! 4278: grep -v '^ *+' conftest.er1 >conftest.err
! 4279: rm -f conftest.er1
! 4280: cat conftest.err >&5
! 4281: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4282: (exit $ac_status); } && {
! 4283: test -z "$ac_c_werror_flag" ||
! 4284: test ! -s conftest.err
! 4285: } && test -s conftest.$ac_objext; then
! 4286: ac_cv_safe_to_define___extensions__=yes
! 4287: else
! 4288: echo "$as_me: failed program was:" >&5
! 4289: sed 's/^/| /' conftest.$ac_ext >&5
! 4290:
! 4291: ac_cv_safe_to_define___extensions__=no
! 4292: fi
! 4293:
! 4294: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4295: fi
! 4296: { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
! 4297: echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
! 4298: test $ac_cv_safe_to_define___extensions__ = yes &&
! 4299: cat >>confdefs.h <<\_ACEOF
! 4300: #define __EXTENSIONS__ 1
! 4301: _ACEOF
! 4302:
! 4303: cat >>confdefs.h <<\_ACEOF
! 4304: #define _POSIX_PTHREAD_SEMANTICS 1
! 4305: _ACEOF
! 4306:
! 4307: cat >>confdefs.h <<\_ACEOF
! 4308: #define _TANDEM_SOURCE 1
! 4309: _ACEOF
! 4310:
! 4311:
! 4312:
! 4313: if test -n "$ac_tool_prefix"; then
! 4314: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 4315: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 4316: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4317: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 4318: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 4319: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4320: else
! 4321: if test -n "$RANLIB"; then
! 4322: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 4323: else
! 4324: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4325: for as_dir in $PATH
! 4326: do
! 4327: IFS=$as_save_IFS
! 4328: test -z "$as_dir" && as_dir=.
! 4329: for ac_exec_ext in '' $ac_executable_extensions; do
! 4330: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4331: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 4332: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4333: break 2
! 4334: fi
! 4335: done
! 4336: done
! 4337: IFS=$as_save_IFS
! 4338:
! 4339: fi
! 4340: fi
! 4341: RANLIB=$ac_cv_prog_RANLIB
! 4342: if test -n "$RANLIB"; then
! 4343: { echo "$as_me:$LINENO: result: $RANLIB" >&5
! 4344: echo "${ECHO_T}$RANLIB" >&6; }
! 4345: else
! 4346: { echo "$as_me:$LINENO: result: no" >&5
! 4347: echo "${ECHO_T}no" >&6; }
! 4348: fi
! 4349:
! 4350:
! 4351: fi
! 4352: if test -z "$ac_cv_prog_RANLIB"; then
! 4353: ac_ct_RANLIB=$RANLIB
! 4354: # Extract the first word of "ranlib", so it can be a program name with args.
! 4355: set dummy ranlib; ac_word=$2
! 4356: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4357: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 4358: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 4359: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4360: else
! 4361: if test -n "$ac_ct_RANLIB"; then
! 4362: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 4363: else
! 4364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4365: for as_dir in $PATH
! 4366: do
! 4367: IFS=$as_save_IFS
! 4368: test -z "$as_dir" && as_dir=.
! 4369: for ac_exec_ext in '' $ac_executable_extensions; do
! 4370: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4371: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 4372: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4373: break 2
! 4374: fi
! 4375: done
! 4376: done
! 4377: IFS=$as_save_IFS
! 4378:
! 4379: fi
! 4380: fi
! 4381: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 4382: if test -n "$ac_ct_RANLIB"; then
! 4383: { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 4384: echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
! 4385: else
! 4386: { echo "$as_me:$LINENO: result: no" >&5
! 4387: echo "${ECHO_T}no" >&6; }
! 4388: fi
! 4389:
! 4390: if test "x$ac_ct_RANLIB" = x; then
! 4391: RANLIB=":"
! 4392: else
! 4393: case $cross_compiling:$ac_tool_warned in
! 4394: yes:)
! 4395: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 4396: whose name does not start with the host triplet. If you think this
! 4397: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 4398: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 4399: whose name does not start with the host triplet. If you think this
! 4400: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 4401: ac_tool_warned=yes ;;
! 4402: esac
! 4403: RANLIB=$ac_ct_RANLIB
! 4404: fi
! 4405: else
! 4406: RANLIB="$ac_cv_prog_RANLIB"
! 4407: fi
! 4408:
! 4409: ac_config_headers="$ac_config_headers includes/config.h"
! 4410:
! 4411:
! 4412: # we sometimes need to know byte order for building packets
! 4413: { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
! 4414: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
! 4415: if test "${ac_cv_c_bigendian+set}" = set; then
! 4416: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4417: else
! 4418: # See if sys/param.h defines the BYTE_ORDER macro.
! 4419: cat >conftest.$ac_ext <<_ACEOF
! 4420: /* confdefs.h. */
! 4421: _ACEOF
! 4422: cat confdefs.h >>conftest.$ac_ext
! 4423: cat >>conftest.$ac_ext <<_ACEOF
! 4424: /* end confdefs.h. */
! 4425: #include <sys/types.h>
! 4426: #include <sys/param.h>
! 4427:
! 4428: int
! 4429: main ()
! 4430: {
! 4431: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
! 4432: && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
! 4433: bogus endian macros
! 4434: #endif
! 4435:
! 4436: ;
! 4437: return 0;
! 4438: }
! 4439: _ACEOF
! 4440: rm -f conftest.$ac_objext
! 4441: if { (ac_try="$ac_compile"
! 4442: case "(($ac_try" in
! 4443: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4444: *) ac_try_echo=$ac_try;;
! 4445: esac
! 4446: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4447: (eval "$ac_compile") 2>conftest.er1
! 4448: ac_status=$?
! 4449: grep -v '^ *+' conftest.er1 >conftest.err
! 4450: rm -f conftest.er1
! 4451: cat conftest.err >&5
! 4452: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4453: (exit $ac_status); } && {
! 4454: test -z "$ac_c_werror_flag" ||
! 4455: test ! -s conftest.err
! 4456: } && test -s conftest.$ac_objext; then
! 4457: # It does; now see whether it defined to BIG_ENDIAN or not.
! 4458: cat >conftest.$ac_ext <<_ACEOF
! 4459: /* confdefs.h. */
! 4460: _ACEOF
! 4461: cat confdefs.h >>conftest.$ac_ext
! 4462: cat >>conftest.$ac_ext <<_ACEOF
! 4463: /* end confdefs.h. */
! 4464: #include <sys/types.h>
! 4465: #include <sys/param.h>
! 4466:
! 4467: int
! 4468: main ()
! 4469: {
! 4470: #if BYTE_ORDER != BIG_ENDIAN
! 4471: not big endian
! 4472: #endif
! 4473:
! 4474: ;
! 4475: return 0;
! 4476: }
! 4477: _ACEOF
! 4478: rm -f conftest.$ac_objext
! 4479: if { (ac_try="$ac_compile"
! 4480: case "(($ac_try" in
! 4481: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4482: *) ac_try_echo=$ac_try;;
! 4483: esac
! 4484: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4485: (eval "$ac_compile") 2>conftest.er1
! 4486: ac_status=$?
! 4487: grep -v '^ *+' conftest.er1 >conftest.err
! 4488: rm -f conftest.er1
! 4489: cat conftest.err >&5
! 4490: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4491: (exit $ac_status); } && {
! 4492: test -z "$ac_c_werror_flag" ||
! 4493: test ! -s conftest.err
! 4494: } && test -s conftest.$ac_objext; then
! 4495: ac_cv_c_bigendian=yes
! 4496: else
! 4497: echo "$as_me: failed program was:" >&5
! 4498: sed 's/^/| /' conftest.$ac_ext >&5
! 4499:
! 4500: ac_cv_c_bigendian=no
! 4501: fi
! 4502:
! 4503: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4504: else
! 4505: echo "$as_me: failed program was:" >&5
! 4506: sed 's/^/| /' conftest.$ac_ext >&5
! 4507:
! 4508: # It does not; compile a test program.
! 4509: if test "$cross_compiling" = yes; then
! 4510: # try to guess the endianness by grepping values into an object file
! 4511: ac_cv_c_bigendian=unknown
! 4512: cat >conftest.$ac_ext <<_ACEOF
! 4513: /* confdefs.h. */
! 4514: _ACEOF
! 4515: cat confdefs.h >>conftest.$ac_ext
! 4516: cat >>conftest.$ac_ext <<_ACEOF
! 4517: /* end confdefs.h. */
! 4518: short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
! 4519: short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
! 4520: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
! 4521: short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
! 4522: short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
! 4523: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
! 4524: int
! 4525: main ()
! 4526: {
! 4527: _ascii (); _ebcdic ();
! 4528: ;
! 4529: return 0;
! 4530: }
! 4531: _ACEOF
! 4532: rm -f conftest.$ac_objext
! 4533: if { (ac_try="$ac_compile"
! 4534: case "(($ac_try" in
! 4535: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4536: *) ac_try_echo=$ac_try;;
! 4537: esac
! 4538: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4539: (eval "$ac_compile") 2>conftest.er1
! 4540: ac_status=$?
! 4541: grep -v '^ *+' conftest.er1 >conftest.err
! 4542: rm -f conftest.er1
! 4543: cat conftest.err >&5
! 4544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4545: (exit $ac_status); } && {
! 4546: test -z "$ac_c_werror_flag" ||
! 4547: test ! -s conftest.err
! 4548: } && test -s conftest.$ac_objext; then
! 4549: if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
! 4550: ac_cv_c_bigendian=yes
! 4551: fi
! 4552: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
! 4553: if test "$ac_cv_c_bigendian" = unknown; then
! 4554: ac_cv_c_bigendian=no
! 4555: else
! 4556: # finding both strings is unlikely to happen, but who knows?
! 4557: ac_cv_c_bigendian=unknown
! 4558: fi
! 4559: fi
! 4560: else
! 4561: echo "$as_me: failed program was:" >&5
! 4562: sed 's/^/| /' conftest.$ac_ext >&5
! 4563:
! 4564:
! 4565: fi
! 4566:
! 4567: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4568: else
! 4569: cat >conftest.$ac_ext <<_ACEOF
! 4570: /* confdefs.h. */
! 4571: _ACEOF
! 4572: cat confdefs.h >>conftest.$ac_ext
! 4573: cat >>conftest.$ac_ext <<_ACEOF
! 4574: /* end confdefs.h. */
! 4575: $ac_includes_default
! 4576: int
! 4577: main ()
! 4578: {
! 4579:
! 4580: /* Are we little or big endian? From Harbison&Steele. */
! 4581: union
! 4582: {
! 4583: long int l;
! 4584: char c[sizeof (long int)];
! 4585: } u;
! 4586: u.l = 1;
! 4587: return u.c[sizeof (long int) - 1] == 1;
! 4588:
! 4589: ;
! 4590: return 0;
! 4591: }
! 4592: _ACEOF
! 4593: rm -f conftest$ac_exeext
! 4594: if { (ac_try="$ac_link"
! 4595: case "(($ac_try" in
! 4596: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4597: *) ac_try_echo=$ac_try;;
! 4598: esac
! 4599: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4600: (eval "$ac_link") 2>&5
! 4601: ac_status=$?
! 4602: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4603: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4604: { (case "(($ac_try" in
! 4605: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4606: *) ac_try_echo=$ac_try;;
! 4607: esac
! 4608: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 4609: (eval "$ac_try") 2>&5
! 4610: ac_status=$?
! 4611: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4612: (exit $ac_status); }; }; then
! 4613: ac_cv_c_bigendian=no
! 4614: else
! 4615: echo "$as_me: program exited with status $ac_status" >&5
! 4616: echo "$as_me: failed program was:" >&5
! 4617: sed 's/^/| /' conftest.$ac_ext >&5
! 4618:
! 4619: ( exit $ac_status )
! 4620: ac_cv_c_bigendian=yes
! 4621: fi
! 4622: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4623: fi
! 4624:
! 4625:
! 4626: fi
! 4627:
! 4628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4629: fi
! 4630: { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
! 4631: echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
! 4632: case $ac_cv_c_bigendian in
! 4633: yes)
! 4634: byte_order=BIG_ENDIAN
! 4635: ;;
! 4636: no)
! 4637: byte_order=LITTLE_ENDIAN
! 4638: ;;
! 4639: *)
! 4640: { { echo "$as_me:$LINENO: error: unknown endianness
! 4641: presetting ac_cv_c_bigendian=no (or yes) will help" >&5
! 4642: echo "$as_me: error: unknown endianness
! 4643: presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
! 4644: { (exit 1); exit 1; }; } ;;
! 4645: esac
! 4646:
! 4647:
! 4648: cat >>confdefs.h <<_ACEOF
! 4649: #define DHCP_BYTE_ORDER $byte_order
! 4650: _ACEOF
! 4651:
! 4652:
! 4653: # Optional compile-time DEBUGging.
! 4654: # Check whether --enable-debug was given.
! 4655: if test "${enable_debug+set}" = set; then
! 4656: enableval=$enable_debug;
! 4657: fi
! 4658:
! 4659: # This is very much off by default.
! 4660: if test "$enable_debug" = "yes" ; then
! 4661:
! 4662: cat >>confdefs.h <<\_ACEOF
! 4663: #define DEBUG 1
! 4664: _ACEOF
! 4665:
! 4666: # Just override CFLAGS to totally to remove optimization.
! 4667: CFLAGS="-g"
! 4668: fi
! 4669: # XXX: there are actually quite a lot more DEBUG_ features we could enable,
! 4670: # but I don't want to pollute the --help space.
! 4671: #
! 4672: #/* #define DEBUG_TOKENS */
! 4673: #/* #define DEBUG_PACKET */
! 4674: #/* #define DEBUG_EXPRESSIONS */
! 4675: #/* #define DEBUG_FIND_LEASE */
! 4676: #/* #define DEBUG_EXPRESSION_PARSE */
! 4677: #/* #define DEBUG_CLASS_MATCHING */
! 4678: #/* #define DEBUG_MEMORY_LEAKAGE */
! 4679: #/* #define DEBUG_MALLOC_POOL */
! 4680: #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
! 4681: #/* #define DEBUG_RC_HISTORY */
! 4682: #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
! 4683: #/* #define RC_HISTORY_MAX 10240 */
! 4684: #/* #define POINTER_DEBUG */
! 4685: #/* #define DEBUG_FAILOVER_MESSAGES */
! 4686: #/* #define DEBUG_FAILOVER_TIMING */
! 4687: #/* #define DEBUG_DUMP_ALL_LEASES */
! 4688:
! 4689: # Failover optional compile-time feature.
! 4690: # Check whether --enable-failover was given.
! 4691: if test "${enable_failover+set}" = set; then
! 4692: enableval=$enable_failover;
! 4693: fi
! 4694:
! 4695: # Failover is on by default, so define if it is not explicitly disabled.
! 4696: if test "$enable_failover" != "no"; then
! 4697:
! 4698: cat >>confdefs.h <<\_ACEOF
! 4699: #define FAILOVER_PROTOCOL 1
! 4700: _ACEOF
! 4701:
! 4702: fi
! 4703:
! 4704: # execute() support.
! 4705: # Check whether --enable-execute was given.
! 4706: if test "${enable_execute+set}" = set; then
! 4707: enableval=$enable_execute;
! 4708: fi
! 4709:
! 4710: # execute() is on by default, so define if it is not explicitly disabled.
! 4711: if test "$enable_execute" != "no" ; then
! 4712:
! 4713: cat >>confdefs.h <<\_ACEOF
! 4714: #define ENABLE_EXECUTE 1
! 4715: _ACEOF
! 4716:
! 4717: fi
! 4718:
! 4719: # Server tracing support.
! 4720: # Check whether --enable-tracing was given.
! 4721: if test "${enable_tracing+set}" = set; then
! 4722: enableval=$enable_tracing;
! 4723: fi
! 4724:
! 4725: # tracing is on by default, so define if it is not explicitly disabled.
! 4726: if test "$enable_tracing" != "no" ; then
! 4727:
! 4728: cat >>confdefs.h <<\_ACEOF
! 4729: #define TRACING 1
! 4730: _ACEOF
! 4731:
! 4732: fi
! 4733:
! 4734: # Delayed-ack feature support (experimental).
! 4735: # Check whether --enable-delayed_ack was given.
! 4736: if test "${enable_delayed_ack+set}" = set; then
! 4737: enableval=$enable_delayed_ack;
! 4738: fi
! 4739:
! 4740: if test "$enable_delayed_ack" = "yes"; then
! 4741:
! 4742: cat >>confdefs.h <<\_ACEOF
! 4743: #define DELAYED_ACK 1
! 4744: _ACEOF
! 4745:
! 4746: fi
! 4747:
! 4748: # DHCPv6 optional compile-time feature.
! 4749: # Check whether --enable-dhcpv6 was given.
! 4750: if test "${enable_dhcpv6+set}" = set; then
! 4751: enableval=$enable_dhcpv6;
! 4752: fi
! 4753:
! 4754: # DHCPv6 is on by default, so define if it is not explicitly disabled.
! 4755: if test "$enable_dhcpv6" != "no"; then
! 4756:
! 4757: cat >>confdefs.h <<\_ACEOF
! 4758: #define DHCPv6 1
! 4759: _ACEOF
! 4760:
! 4761: fi
! 4762:
! 4763: # PARANOIA is off by default (until we can test it with all features)
! 4764: # Check whether --enable-paranoia was given.
! 4765: if test "${enable_paranoia+set}" = set; then
! 4766: enableval=$enable_paranoia;
! 4767: fi
! 4768:
! 4769: # Check whether --enable-early_chroot was given.
! 4770: if test "${enable_early_chroot+set}" = set; then
! 4771: enableval=$enable_early_chroot;
! 4772: fi
! 4773:
! 4774: # If someone enables early chroot, but does not enable paranoia, do so for
! 4775: # them.
! 4776: if test "$enable_paranoia" != "yes" && \
! 4777: test "$enable_early_chroot" = "yes" ; then
! 4778: enable_paranoia="yes"
! 4779: fi
! 4780:
! 4781: if test "$enable_paranoia" = "yes" ; then
! 4782:
! 4783: cat >>confdefs.h <<\_ACEOF
! 4784: #define PARANOIA 1
! 4785: _ACEOF
! 4786:
! 4787: fi
! 4788: if test "$enable_early_chroot" = "yes" ; then
! 4789:
! 4790: cat >>confdefs.h <<\_ACEOF
! 4791: #define EARLY_CHROOT 1
! 4792: _ACEOF
! 4793:
! 4794: fi
! 4795:
! 4796: # Check whether --enable-IPv4_PKTINFO was given.
! 4797: if test "${enable_IPv4_PKTINFO+set}" = set; then
! 4798: enableval=$enable_IPv4_PKTINFO;
! 4799: fi
! 4800:
! 4801:
! 4802: if test "$enable_ipv4_pktinfo" = "yes"; then
! 4803:
! 4804: cat >>confdefs.h <<\_ACEOF
! 4805: #define USE_V4_PKTINFO 1
! 4806: _ACEOF
! 4807:
! 4808: fi
! 4809:
! 4810: # Check whether --enable-USE_SOCKETS was given.
! 4811: if test "${enable_USE_SOCKETS+set}" = set; then
! 4812: enableval=$enable_USE_SOCKETS;
! 4813: fi
! 4814:
! 4815:
! 4816: if test "$enable_use_sockets" = "yes"; then
! 4817:
! 4818: cat >>confdefs.h <<\_ACEOF
! 4819: #define USE_SOCKETS 1
! 4820: _ACEOF
! 4821:
! 4822: fi
! 4823:
! 4824: ###
! 4825: ### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
! 4826: ### need to look there and potentially overwrite by default (but not if
! 4827: ### the user configures an alternate value). LOCALSTATEDIR is totally
! 4828: ### braindead. No one uses /usr/local/var/db/ nor /usr/local/var/run, and
! 4829: ### they would be insane for suggesting it. We need to look in /var/for
! 4830: ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
! 4831: ### default.
! 4832: ###
! 4833: if test "x$prefix" = xNONE; then
! 4834: echo $ECHO_N "checking for prefix by $ECHO_C" >&6
! 4835: # Extract the first word of "dhcpd", so it can be a program name with args.
! 4836: set dummy dhcpd; ac_word=$2
! 4837: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 4838: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 4839: if test "${ac_cv_path_ac_prefix_program+set}" = set; then
! 4840: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4841: else
! 4842: case $ac_prefix_program in
! 4843: [\\/]* | ?:[\\/]*)
! 4844: ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
! 4845: ;;
! 4846: *)
! 4847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4848: for as_dir in $PATH
! 4849: do
! 4850: IFS=$as_save_IFS
! 4851: test -z "$as_dir" && as_dir=.
! 4852: for ac_exec_ext in '' $ac_executable_extensions; do
! 4853: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 4854: ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
! 4855: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4856: break 2
! 4857: fi
! 4858: done
! 4859: done
! 4860: IFS=$as_save_IFS
! 4861:
! 4862: ;;
! 4863: esac
! 4864: fi
! 4865: ac_prefix_program=$ac_cv_path_ac_prefix_program
! 4866: if test -n "$ac_prefix_program"; then
! 4867: { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
! 4868: echo "${ECHO_T}$ac_prefix_program" >&6; }
! 4869: else
! 4870: { echo "$as_me:$LINENO: result: no" >&5
! 4871: echo "${ECHO_T}no" >&6; }
! 4872: fi
! 4873:
! 4874:
! 4875: if test -n "$ac_prefix_program"; then
! 4876: prefix=`$as_dirname -- "$ac_prefix_program" ||
! 4877: $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4878: X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
! 4879: X"$ac_prefix_program" : 'X\(//\)$' \| \
! 4880: X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
! 4881: echo X"$ac_prefix_program" |
! 4882: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4883: s//\1/
! 4884: q
! 4885: }
! 4886: /^X\(\/\/\)[^/].*/{
! 4887: s//\1/
! 4888: q
! 4889: }
! 4890: /^X\(\/\/\)$/{
! 4891: s//\1/
! 4892: q
! 4893: }
! 4894: /^X\(\/\).*/{
! 4895: s//\1/
! 4896: q
! 4897: }
! 4898: s/.*/./; q'`
! 4899: prefix=`$as_dirname -- "$prefix" ||
! 4900: $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4901: X"$prefix" : 'X\(//\)[^/]' \| \
! 4902: X"$prefix" : 'X\(//\)$' \| \
! 4903: X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
! 4904: echo X"$prefix" |
! 4905: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4906: s//\1/
! 4907: q
! 4908: }
! 4909: /^X\(\/\/\)[^/].*/{
! 4910: s//\1/
! 4911: q
! 4912: }
! 4913: /^X\(\/\/\)$/{
! 4914: s//\1/
! 4915: q
! 4916: }
! 4917: /^X\(\/\).*/{
! 4918: s//\1/
! 4919: q
! 4920: }
! 4921: s/.*/./; q'`
! 4922: fi
! 4923: fi
! 4924:
! 4925:
! 4926: # XXX - isn't there SOME WAY to default autoconf to /var instead of
! 4927: # /usr/local/var/no/one/has/this/please/stop/trying?
! 4928: case "$localstatedir" in
! 4929: '${prefix}/var')
! 4930: localstatedir=/var
! 4931: ;;
! 4932: esac
! 4933:
! 4934: # Allow specification of alternate state files
! 4935:
! 4936: # Check whether --with-srv-lease-file was given.
! 4937: if test "${with_srv_lease_file+set}" = set; then
! 4938: withval=$with_srv_lease_file;
! 4939: cat >>confdefs.h <<_ACEOF
! 4940: #define _PATH_DHCPD_DB "$withval"
! 4941: _ACEOF
! 4942:
! 4943: fi
! 4944:
! 4945:
! 4946: echo -n "checking for dhcpd.leases location..."
! 4947: if [ "x$with_srv_lease_file" = "x" ] ; then
! 4948: if [ -d "${localstatedir}/db" ] ; then
! 4949: with_srv_lease_file="${localstatedir}/db/dhcpd.leases"
! 4950: elif [ -d "${localstatedir}/state" ] ; then
! 4951: if [ -d "${localstatedir}/state/dhcp" ] ; then
! 4952: with_srv_lease_file="${localstatedir}/state/dhcp/dhcpd.leases"
! 4953: else
! 4954: with_srv_lease_file="${localstatedir}/state/dhcpd.leases"
! 4955: fi
! 4956: elif [ -d "${localstatedir}/lib" ] ; then
! 4957: if [ -d "${localstatedir}/lib/dhcp" ] ; then
! 4958: with_srv_lease_file="${localstatedir}/lib/dhcp/dhcpd.leases"
! 4959: else
! 4960: with_srv_lease_file="${localstatedir}/lib/dhcpd.leases"
! 4961: fi
! 4962: elif [ -d "${localstatedir}/etc" ] ; then
! 4963: with_srv_lease_file="${localstatedir}/etc/dhcpd.leases"
! 4964: else
! 4965: with_srv_lease_file="/etc/dhcpd.leases"
! 4966: fi
! 4967: fi
! 4968: echo "$with_srv_lease_file"
! 4969:
! 4970:
! 4971: # Check whether --with-srv6-lease-file was given.
! 4972: if test "${with_srv6_lease_file+set}" = set; then
! 4973: withval=$with_srv6_lease_file;
! 4974: cat >>confdefs.h <<_ACEOF
! 4975: #define _PATH_DHCPD6_DB "$withval"
! 4976: _ACEOF
! 4977:
! 4978: fi
! 4979:
! 4980:
! 4981: echo -n "checking for dhcpd6.leases location..."
! 4982: if [ "x$with_srv6_lease_file" = "x" ] ; then
! 4983: if [ -d "${localstatedir}/db" ] ; then
! 4984: with_srv6_lease_file="${localstatedir}/db/dhcpd6.leases"
! 4985: elif [ -d "${localstatedir}/state" ] ; then
! 4986: if [ -d "${localstatedir}/state/dhcp" ] ; then
! 4987: with_srv6_lease_file="${localstatedir}/state/dhcp/dhcpd6.leases"
! 4988: else
! 4989: with_srv6_lease_file="${localstatedir}/state/dhcpd6.leases"
! 4990: fi
! 4991: elif [ -d "${localstatedir}/lib" ] ; then
! 4992: if [ -d "${localstatedir}/lib/dhcp" ] ; then
! 4993: with_srv6_lease_file="${localstatedir}/lib/dhcp/dhcpd6.leases"
! 4994: else
! 4995: with_srv6_lease_file="${localstatedir}/lib/dhcpd6.leases"
! 4996: fi
! 4997: elif [ -d "${localstatedir}/etc" ] ; then
! 4998: with_srv6_lease_file="${localstatedir}/etc/dhcpd6.leases"
! 4999: else
! 5000: with_srv6_lease_file="/etc/dhcpd6.leases"
! 5001: fi
! 5002: fi
! 5003: echo "$with_srv6_lease_file"
! 5004:
! 5005:
! 5006: # Check whether --with-cli-lease-file was given.
! 5007: if test "${with_cli_lease_file+set}" = set; then
! 5008: withval=$with_cli_lease_file;
! 5009: cat >>confdefs.h <<_ACEOF
! 5010: #define _PATH_DHCLIENT_DB "$withval"
! 5011: _ACEOF
! 5012:
! 5013: fi
! 5014:
! 5015:
! 5016: echo -n "checking for dhclient.leases location..."
! 5017: if [ "x$with_cli_lease_file" = "x" ] ; then
! 5018: if [ -d "${localstatedir}/db" ] ; then
! 5019: with_cli_lease_file="${localstatedir}/db/dhclient.leases"
! 5020: elif [ -d "${localstatedir}/state" ] ; then
! 5021: if [ -d "${localstatedir}/state/dhcp" ] ; then
! 5022: with_cli_lease_file="${localstatedir}/state/dhcp/dhclient.leases"
! 5023: else
! 5024: with_cli_lease_file="${localstatedir}/state/dhclient.leases"
! 5025: fi
! 5026: elif [ -d "${localstatedir}/lib" ] ; then
! 5027: if [ -d "${localstatedir}/lib/dhcp" ] ; then
! 5028: with_cli_lease_file="${localstatedir}/lib/dhcp/dhclient.leases"
! 5029: else
! 5030: with_cli_lease_file="${localstatedir}/lib/dhclient.leases"
! 5031: fi
! 5032: elif [ -d "${localstatedir}/etc" ] ; then
! 5033: with_cli_lease_file="${localstatedir}/etc/dhclient.leases"
! 5034: else
! 5035: with_cli_lease_file="/etc/dhclient.leases"
! 5036: fi
! 5037: fi
! 5038: echo "$with_cli_lease_file"
! 5039:
! 5040:
! 5041: # Check whether --with-cli6-lease-file was given.
! 5042: if test "${with_cli6_lease_file+set}" = set; then
! 5043: withval=$with_cli6_lease_file;
! 5044: cat >>confdefs.h <<_ACEOF
! 5045: #define _PATH_DHCLIENT6_DB "$withval"
! 5046: _ACEOF
! 5047:
! 5048: fi
! 5049:
! 5050:
! 5051: echo -n "checking for dhclient6.leases location..."
! 5052: if [ "x$with_cli6_lease_file" = "x" ] ; then
! 5053: if [ -d "${localstatedir}/db" ] ; then
! 5054: with_cli6_lease_file="${localstatedir}/db/dhclient6.leases"
! 5055: elif [ -d "${localstatedir}/state" ] ; then
! 5056: if [ -d "${localstatedir}/state/dhcp" ] ; then
! 5057: with_cli6_lease_file="${localstatedir}/state/dhcp/dhclient6.leases"
! 5058: else
! 5059: with_cli6_lease_file="${localstatedir}/state/dhclient6.leases"
! 5060: fi
! 5061: elif [ -d "${localstatedir}/lib" ] ; then
! 5062: if [ -d "${localstatedir}/lib/dhcp" ] ; then
! 5063: with_cli6_lease_file="${localstatedir}/lib/dhcp/dhclient6.leases"
! 5064: else
! 5065: with_cli6_lease_file="${localstatedir}/lib/dhclient6.leases"
! 5066: fi
! 5067: elif [ -d "${localstatedir}/etc" ] ; then
! 5068: with_cli6_lease_file="${localstatedir}/etc/dhclient6.leases"
! 5069: else
! 5070: with_cli6_lease_file="/etc/dhclient6.leases"
! 5071: fi
! 5072: fi
! 5073: echo "$with_cli6_lease_file"
! 5074:
! 5075:
! 5076: # Check whether --with-srv-pid-file was given.
! 5077: if test "${with_srv_pid_file+set}" = set; then
! 5078: withval=$with_srv_pid_file;
! 5079: cat >>confdefs.h <<_ACEOF
! 5080: #define _PATH_DHCPD_PID "$withval"
! 5081: _ACEOF
! 5082:
! 5083: fi
! 5084:
! 5085:
! 5086: # Check whether --with-srv6-pid-file was given.
! 5087: if test "${with_srv6_pid_file+set}" = set; then
! 5088: withval=$with_srv6_pid_file;
! 5089: cat >>confdefs.h <<_ACEOF
! 5090: #define _PATH_DHCPD6_PID "$withval"
! 5091: _ACEOF
! 5092:
! 5093: fi
! 5094:
! 5095:
! 5096: # Check whether --with-cli-pid-file was given.
! 5097: if test "${with_cli_pid_file+set}" = set; then
! 5098: withval=$with_cli_pid_file;
! 5099: cat >>confdefs.h <<_ACEOF
! 5100: #define _PATH_DHCLIENT_PID "$withval"
! 5101: _ACEOF
! 5102:
! 5103: fi
! 5104:
! 5105:
! 5106: # Check whether --with-cli6-pid-file was given.
! 5107: if test "${with_cli6_pid_file+set}" = set; then
! 5108: withval=$with_cli6_pid_file;
! 5109: cat >>confdefs.h <<_ACEOF
! 5110: #define _PATH_DHCLIENT6_PID "$withval"
! 5111: _ACEOF
! 5112:
! 5113: fi
! 5114:
! 5115:
! 5116: # Check whether --with-relay-pid-file was given.
! 5117: if test "${with_relay_pid_file+set}" = set; then
! 5118: withval=$with_relay_pid_file;
! 5119: cat >>confdefs.h <<_ACEOF
! 5120: #define _PATH_DHCRELAY_PID "$withval"
! 5121: _ACEOF
! 5122:
! 5123: fi
! 5124:
! 5125:
! 5126: # Check whether --with-relay6-pid-file was given.
! 5127: if test "${with_relay6_pid_file+set}" = set; then
! 5128: withval=$with_relay6_pid_file;
! 5129: cat >>confdefs.h <<_ACEOF
! 5130: #define _PATH_DHCRELAY6_PID "$withval"
! 5131: _ACEOF
! 5132:
! 5133: fi
! 5134:
! 5135:
! 5136: # Check basic types.
! 5137:
! 5138: { echo "$as_me:$LINENO: checking for int8_t" >&5
! 5139: echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
! 5140: if test "${ac_cv_c_int8_t+set}" = set; then
! 5141: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5142: else
! 5143: ac_cv_c_int8_t=no
! 5144: for ac_type in 'int8_t' 'int' 'long int' \
! 5145: 'long long int' 'short int' 'signed char'; do
! 5146: cat >conftest.$ac_ext <<_ACEOF
! 5147: /* confdefs.h. */
! 5148: _ACEOF
! 5149: cat confdefs.h >>conftest.$ac_ext
! 5150: cat >>conftest.$ac_ext <<_ACEOF
! 5151: /* end confdefs.h. */
! 5152: $ac_includes_default
! 5153: int
! 5154: main ()
! 5155: {
! 5156: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
! 5157: test_array [0] = 0
! 5158:
! 5159: ;
! 5160: return 0;
! 5161: }
! 5162: _ACEOF
! 5163: rm -f conftest.$ac_objext
! 5164: if { (ac_try="$ac_compile"
! 5165: case "(($ac_try" in
! 5166: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5167: *) ac_try_echo=$ac_try;;
! 5168: esac
! 5169: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5170: (eval "$ac_compile") 2>conftest.er1
! 5171: ac_status=$?
! 5172: grep -v '^ *+' conftest.er1 >conftest.err
! 5173: rm -f conftest.er1
! 5174: cat conftest.err >&5
! 5175: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5176: (exit $ac_status); } && {
! 5177: test -z "$ac_c_werror_flag" ||
! 5178: test ! -s conftest.err
! 5179: } && test -s conftest.$ac_objext; then
! 5180: cat >conftest.$ac_ext <<_ACEOF
! 5181: /* confdefs.h. */
! 5182: _ACEOF
! 5183: cat confdefs.h >>conftest.$ac_ext
! 5184: cat >>conftest.$ac_ext <<_ACEOF
! 5185: /* end confdefs.h. */
! 5186: $ac_includes_default
! 5187: int
! 5188: main ()
! 5189: {
! 5190: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
! 5191: < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
! 5192: test_array [0] = 0
! 5193:
! 5194: ;
! 5195: return 0;
! 5196: }
! 5197: _ACEOF
! 5198: rm -f conftest.$ac_objext
! 5199: if { (ac_try="$ac_compile"
! 5200: case "(($ac_try" in
! 5201: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5202: *) ac_try_echo=$ac_try;;
! 5203: esac
! 5204: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5205: (eval "$ac_compile") 2>conftest.er1
! 5206: ac_status=$?
! 5207: grep -v '^ *+' conftest.er1 >conftest.err
! 5208: rm -f conftest.er1
! 5209: cat conftest.err >&5
! 5210: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5211: (exit $ac_status); } && {
! 5212: test -z "$ac_c_werror_flag" ||
! 5213: test ! -s conftest.err
! 5214: } && test -s conftest.$ac_objext; then
! 5215: :
! 5216: else
! 5217: echo "$as_me: failed program was:" >&5
! 5218: sed 's/^/| /' conftest.$ac_ext >&5
! 5219:
! 5220: case $ac_type in
! 5221: int8_t) ac_cv_c_int8_t=yes ;;
! 5222: *) ac_cv_c_int8_t=$ac_type ;;
! 5223: esac
! 5224:
! 5225: fi
! 5226:
! 5227: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5228: else
! 5229: echo "$as_me: failed program was:" >&5
! 5230: sed 's/^/| /' conftest.$ac_ext >&5
! 5231:
! 5232:
! 5233: fi
! 5234:
! 5235: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5236: test "$ac_cv_c_int8_t" != no && break
! 5237: done
! 5238: fi
! 5239: { echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
! 5240: echo "${ECHO_T}$ac_cv_c_int8_t" >&6; }
! 5241: case $ac_cv_c_int8_t in #(
! 5242: no|yes) ;; #(
! 5243: *)
! 5244:
! 5245: cat >>confdefs.h <<_ACEOF
! 5246: #define int8_t $ac_cv_c_int8_t
! 5247: _ACEOF
! 5248: ;;
! 5249: esac
! 5250:
! 5251:
! 5252: { echo "$as_me:$LINENO: checking for int16_t" >&5
! 5253: echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
! 5254: if test "${ac_cv_c_int16_t+set}" = set; then
! 5255: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5256: else
! 5257: ac_cv_c_int16_t=no
! 5258: for ac_type in 'int16_t' 'int' 'long int' \
! 5259: 'long long int' 'short int' 'signed char'; do
! 5260: cat >conftest.$ac_ext <<_ACEOF
! 5261: /* confdefs.h. */
! 5262: _ACEOF
! 5263: cat confdefs.h >>conftest.$ac_ext
! 5264: cat >>conftest.$ac_ext <<_ACEOF
! 5265: /* end confdefs.h. */
! 5266: $ac_includes_default
! 5267: int
! 5268: main ()
! 5269: {
! 5270: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
! 5271: test_array [0] = 0
! 5272:
! 5273: ;
! 5274: return 0;
! 5275: }
! 5276: _ACEOF
! 5277: rm -f conftest.$ac_objext
! 5278: if { (ac_try="$ac_compile"
! 5279: case "(($ac_try" in
! 5280: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5281: *) ac_try_echo=$ac_try;;
! 5282: esac
! 5283: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5284: (eval "$ac_compile") 2>conftest.er1
! 5285: ac_status=$?
! 5286: grep -v '^ *+' conftest.er1 >conftest.err
! 5287: rm -f conftest.er1
! 5288: cat conftest.err >&5
! 5289: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5290: (exit $ac_status); } && {
! 5291: test -z "$ac_c_werror_flag" ||
! 5292: test ! -s conftest.err
! 5293: } && test -s conftest.$ac_objext; then
! 5294: cat >conftest.$ac_ext <<_ACEOF
! 5295: /* confdefs.h. */
! 5296: _ACEOF
! 5297: cat confdefs.h >>conftest.$ac_ext
! 5298: cat >>conftest.$ac_ext <<_ACEOF
! 5299: /* end confdefs.h. */
! 5300: $ac_includes_default
! 5301: int
! 5302: main ()
! 5303: {
! 5304: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
! 5305: < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
! 5306: test_array [0] = 0
! 5307:
! 5308: ;
! 5309: return 0;
! 5310: }
! 5311: _ACEOF
! 5312: rm -f conftest.$ac_objext
! 5313: if { (ac_try="$ac_compile"
! 5314: case "(($ac_try" in
! 5315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5316: *) ac_try_echo=$ac_try;;
! 5317: esac
! 5318: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5319: (eval "$ac_compile") 2>conftest.er1
! 5320: ac_status=$?
! 5321: grep -v '^ *+' conftest.er1 >conftest.err
! 5322: rm -f conftest.er1
! 5323: cat conftest.err >&5
! 5324: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5325: (exit $ac_status); } && {
! 5326: test -z "$ac_c_werror_flag" ||
! 5327: test ! -s conftest.err
! 5328: } && test -s conftest.$ac_objext; then
! 5329: :
! 5330: else
! 5331: echo "$as_me: failed program was:" >&5
! 5332: sed 's/^/| /' conftest.$ac_ext >&5
! 5333:
! 5334: case $ac_type in
! 5335: int16_t) ac_cv_c_int16_t=yes ;;
! 5336: *) ac_cv_c_int16_t=$ac_type ;;
! 5337: esac
! 5338:
! 5339: fi
! 5340:
! 5341: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5342: else
! 5343: echo "$as_me: failed program was:" >&5
! 5344: sed 's/^/| /' conftest.$ac_ext >&5
! 5345:
! 5346:
! 5347: fi
! 5348:
! 5349: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5350: test "$ac_cv_c_int16_t" != no && break
! 5351: done
! 5352: fi
! 5353: { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
! 5354: echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
! 5355: case $ac_cv_c_int16_t in #(
! 5356: no|yes) ;; #(
! 5357: *)
! 5358:
! 5359: cat >>confdefs.h <<_ACEOF
! 5360: #define int16_t $ac_cv_c_int16_t
! 5361: _ACEOF
! 5362: ;;
! 5363: esac
! 5364:
! 5365:
! 5366: { echo "$as_me:$LINENO: checking for int32_t" >&5
! 5367: echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
! 5368: if test "${ac_cv_c_int32_t+set}" = set; then
! 5369: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5370: else
! 5371: ac_cv_c_int32_t=no
! 5372: for ac_type in 'int32_t' 'int' 'long int' \
! 5373: 'long long int' 'short int' 'signed char'; do
! 5374: cat >conftest.$ac_ext <<_ACEOF
! 5375: /* confdefs.h. */
! 5376: _ACEOF
! 5377: cat confdefs.h >>conftest.$ac_ext
! 5378: cat >>conftest.$ac_ext <<_ACEOF
! 5379: /* end confdefs.h. */
! 5380: $ac_includes_default
! 5381: int
! 5382: main ()
! 5383: {
! 5384: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
! 5385: test_array [0] = 0
! 5386:
! 5387: ;
! 5388: return 0;
! 5389: }
! 5390: _ACEOF
! 5391: rm -f conftest.$ac_objext
! 5392: if { (ac_try="$ac_compile"
! 5393: case "(($ac_try" in
! 5394: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5395: *) ac_try_echo=$ac_try;;
! 5396: esac
! 5397: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5398: (eval "$ac_compile") 2>conftest.er1
! 5399: ac_status=$?
! 5400: grep -v '^ *+' conftest.er1 >conftest.err
! 5401: rm -f conftest.er1
! 5402: cat conftest.err >&5
! 5403: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5404: (exit $ac_status); } && {
! 5405: test -z "$ac_c_werror_flag" ||
! 5406: test ! -s conftest.err
! 5407: } && test -s conftest.$ac_objext; then
! 5408: cat >conftest.$ac_ext <<_ACEOF
! 5409: /* confdefs.h. */
! 5410: _ACEOF
! 5411: cat confdefs.h >>conftest.$ac_ext
! 5412: cat >>conftest.$ac_ext <<_ACEOF
! 5413: /* end confdefs.h. */
! 5414: $ac_includes_default
! 5415: int
! 5416: main ()
! 5417: {
! 5418: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
! 5419: < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
! 5420: test_array [0] = 0
! 5421:
! 5422: ;
! 5423: return 0;
! 5424: }
! 5425: _ACEOF
! 5426: rm -f conftest.$ac_objext
! 5427: if { (ac_try="$ac_compile"
! 5428: case "(($ac_try" in
! 5429: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5430: *) ac_try_echo=$ac_try;;
! 5431: esac
! 5432: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5433: (eval "$ac_compile") 2>conftest.er1
! 5434: ac_status=$?
! 5435: grep -v '^ *+' conftest.er1 >conftest.err
! 5436: rm -f conftest.er1
! 5437: cat conftest.err >&5
! 5438: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5439: (exit $ac_status); } && {
! 5440: test -z "$ac_c_werror_flag" ||
! 5441: test ! -s conftest.err
! 5442: } && test -s conftest.$ac_objext; then
! 5443: :
! 5444: else
! 5445: echo "$as_me: failed program was:" >&5
! 5446: sed 's/^/| /' conftest.$ac_ext >&5
! 5447:
! 5448: case $ac_type in
! 5449: int32_t) ac_cv_c_int32_t=yes ;;
! 5450: *) ac_cv_c_int32_t=$ac_type ;;
! 5451: esac
! 5452:
! 5453: fi
! 5454:
! 5455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5456: else
! 5457: echo "$as_me: failed program was:" >&5
! 5458: sed 's/^/| /' conftest.$ac_ext >&5
! 5459:
! 5460:
! 5461: fi
! 5462:
! 5463: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5464: test "$ac_cv_c_int32_t" != no && break
! 5465: done
! 5466: fi
! 5467: { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
! 5468: echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
! 5469: case $ac_cv_c_int32_t in #(
! 5470: no|yes) ;; #(
! 5471: *)
! 5472:
! 5473: cat >>confdefs.h <<_ACEOF
! 5474: #define int32_t $ac_cv_c_int32_t
! 5475: _ACEOF
! 5476: ;;
! 5477: esac
! 5478:
! 5479:
! 5480: { echo "$as_me:$LINENO: checking for int64_t" >&5
! 5481: echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
! 5482: if test "${ac_cv_c_int64_t+set}" = set; then
! 5483: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5484: else
! 5485: ac_cv_c_int64_t=no
! 5486: for ac_type in 'int64_t' 'int' 'long int' \
! 5487: 'long long int' 'short int' 'signed char'; do
! 5488: cat >conftest.$ac_ext <<_ACEOF
! 5489: /* confdefs.h. */
! 5490: _ACEOF
! 5491: cat confdefs.h >>conftest.$ac_ext
! 5492: cat >>conftest.$ac_ext <<_ACEOF
! 5493: /* end confdefs.h. */
! 5494: $ac_includes_default
! 5495: int
! 5496: main ()
! 5497: {
! 5498: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
! 5499: test_array [0] = 0
! 5500:
! 5501: ;
! 5502: return 0;
! 5503: }
! 5504: _ACEOF
! 5505: rm -f conftest.$ac_objext
! 5506: if { (ac_try="$ac_compile"
! 5507: case "(($ac_try" in
! 5508: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5509: *) ac_try_echo=$ac_try;;
! 5510: esac
! 5511: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5512: (eval "$ac_compile") 2>conftest.er1
! 5513: ac_status=$?
! 5514: grep -v '^ *+' conftest.er1 >conftest.err
! 5515: rm -f conftest.er1
! 5516: cat conftest.err >&5
! 5517: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5518: (exit $ac_status); } && {
! 5519: test -z "$ac_c_werror_flag" ||
! 5520: test ! -s conftest.err
! 5521: } && test -s conftest.$ac_objext; then
! 5522: cat >conftest.$ac_ext <<_ACEOF
! 5523: /* confdefs.h. */
! 5524: _ACEOF
! 5525: cat confdefs.h >>conftest.$ac_ext
! 5526: cat >>conftest.$ac_ext <<_ACEOF
! 5527: /* end confdefs.h. */
! 5528: $ac_includes_default
! 5529: int
! 5530: main ()
! 5531: {
! 5532: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
! 5533: < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
! 5534: test_array [0] = 0
! 5535:
! 5536: ;
! 5537: return 0;
! 5538: }
! 5539: _ACEOF
! 5540: rm -f conftest.$ac_objext
! 5541: if { (ac_try="$ac_compile"
! 5542: case "(($ac_try" in
! 5543: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5544: *) ac_try_echo=$ac_try;;
! 5545: esac
! 5546: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5547: (eval "$ac_compile") 2>conftest.er1
! 5548: ac_status=$?
! 5549: grep -v '^ *+' conftest.er1 >conftest.err
! 5550: rm -f conftest.er1
! 5551: cat conftest.err >&5
! 5552: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5553: (exit $ac_status); } && {
! 5554: test -z "$ac_c_werror_flag" ||
! 5555: test ! -s conftest.err
! 5556: } && test -s conftest.$ac_objext; then
! 5557: :
! 5558: else
! 5559: echo "$as_me: failed program was:" >&5
! 5560: sed 's/^/| /' conftest.$ac_ext >&5
! 5561:
! 5562: case $ac_type in
! 5563: int64_t) ac_cv_c_int64_t=yes ;;
! 5564: *) ac_cv_c_int64_t=$ac_type ;;
! 5565: esac
! 5566:
! 5567: fi
! 5568:
! 5569: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5570: else
! 5571: echo "$as_me: failed program was:" >&5
! 5572: sed 's/^/| /' conftest.$ac_ext >&5
! 5573:
! 5574:
! 5575: fi
! 5576:
! 5577: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5578: test "$ac_cv_c_int64_t" != no && break
! 5579: done
! 5580: fi
! 5581: { echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
! 5582: echo "${ECHO_T}$ac_cv_c_int64_t" >&6; }
! 5583: case $ac_cv_c_int64_t in #(
! 5584: no|yes) ;; #(
! 5585: *)
! 5586:
! 5587: cat >>confdefs.h <<_ACEOF
! 5588: #define int64_t $ac_cv_c_int64_t
! 5589: _ACEOF
! 5590: ;;
! 5591: esac
! 5592:
! 5593:
! 5594: # Some systems need the u_intX_t types defined across.
! 5595: { echo "$as_me:$LINENO: checking for u_int8_t" >&5
! 5596: echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6; }
! 5597: if test "${ac_cv_type_u_int8_t+set}" = set; then
! 5598: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5599: else
! 5600: cat >conftest.$ac_ext <<_ACEOF
! 5601: /* confdefs.h. */
! 5602: _ACEOF
! 5603: cat confdefs.h >>conftest.$ac_ext
! 5604: cat >>conftest.$ac_ext <<_ACEOF
! 5605: /* end confdefs.h. */
! 5606: $ac_includes_default
! 5607: typedef u_int8_t ac__type_new_;
! 5608: int
! 5609: main ()
! 5610: {
! 5611: if ((ac__type_new_ *) 0)
! 5612: return 0;
! 5613: if (sizeof (ac__type_new_))
! 5614: return 0;
! 5615: ;
! 5616: return 0;
! 5617: }
! 5618: _ACEOF
! 5619: rm -f conftest.$ac_objext
! 5620: if { (ac_try="$ac_compile"
! 5621: case "(($ac_try" in
! 5622: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5623: *) ac_try_echo=$ac_try;;
! 5624: esac
! 5625: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5626: (eval "$ac_compile") 2>conftest.er1
! 5627: ac_status=$?
! 5628: grep -v '^ *+' conftest.er1 >conftest.err
! 5629: rm -f conftest.er1
! 5630: cat conftest.err >&5
! 5631: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5632: (exit $ac_status); } && {
! 5633: test -z "$ac_c_werror_flag" ||
! 5634: test ! -s conftest.err
! 5635: } && test -s conftest.$ac_objext; then
! 5636: ac_cv_type_u_int8_t=yes
! 5637: else
! 5638: echo "$as_me: failed program was:" >&5
! 5639: sed 's/^/| /' conftest.$ac_ext >&5
! 5640:
! 5641: ac_cv_type_u_int8_t=no
! 5642: fi
! 5643:
! 5644: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5645: fi
! 5646: { echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
! 5647: echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6; }
! 5648: if test $ac_cv_type_u_int8_t = yes; then
! 5649: :
! 5650: else
! 5651:
! 5652:
! 5653: { echo "$as_me:$LINENO: checking for uint8_t" >&5
! 5654: echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
! 5655: if test "${ac_cv_c_uint8_t+set}" = set; then
! 5656: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5657: else
! 5658: ac_cv_c_uint8_t=no
! 5659: for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
! 5660: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 5661: cat >conftest.$ac_ext <<_ACEOF
! 5662: /* confdefs.h. */
! 5663: _ACEOF
! 5664: cat confdefs.h >>conftest.$ac_ext
! 5665: cat >>conftest.$ac_ext <<_ACEOF
! 5666: /* end confdefs.h. */
! 5667: $ac_includes_default
! 5668: int
! 5669: main ()
! 5670: {
! 5671: static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
! 5672: test_array [0] = 0
! 5673:
! 5674: ;
! 5675: return 0;
! 5676: }
! 5677: _ACEOF
! 5678: rm -f conftest.$ac_objext
! 5679: if { (ac_try="$ac_compile"
! 5680: case "(($ac_try" in
! 5681: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5682: *) ac_try_echo=$ac_try;;
! 5683: esac
! 5684: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5685: (eval "$ac_compile") 2>conftest.er1
! 5686: ac_status=$?
! 5687: grep -v '^ *+' conftest.er1 >conftest.err
! 5688: rm -f conftest.er1
! 5689: cat conftest.err >&5
! 5690: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5691: (exit $ac_status); } && {
! 5692: test -z "$ac_c_werror_flag" ||
! 5693: test ! -s conftest.err
! 5694: } && test -s conftest.$ac_objext; then
! 5695: case $ac_type in
! 5696: uint8_t) ac_cv_c_uint8_t=yes ;;
! 5697: *) ac_cv_c_uint8_t=$ac_type ;;
! 5698: esac
! 5699:
! 5700: else
! 5701: echo "$as_me: failed program was:" >&5
! 5702: sed 's/^/| /' conftest.$ac_ext >&5
! 5703:
! 5704:
! 5705: fi
! 5706:
! 5707: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5708: test "$ac_cv_c_uint8_t" != no && break
! 5709: done
! 5710: fi
! 5711: { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
! 5712: echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
! 5713: case $ac_cv_c_uint8_t in #(
! 5714: no|yes) ;; #(
! 5715: *)
! 5716:
! 5717: cat >>confdefs.h <<\_ACEOF
! 5718: #define _UINT8_T 1
! 5719: _ACEOF
! 5720:
! 5721:
! 5722: cat >>confdefs.h <<_ACEOF
! 5723: #define uint8_t $ac_cv_c_uint8_t
! 5724: _ACEOF
! 5725: ;;
! 5726: esac
! 5727:
! 5728:
! 5729: cat >>confdefs.h <<\_ACEOF
! 5730: #define u_int8_t uint8_t
! 5731: _ACEOF
! 5732:
! 5733:
! 5734: fi
! 5735:
! 5736: { echo "$as_me:$LINENO: checking for u_int16_t" >&5
! 5737: echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
! 5738: if test "${ac_cv_type_u_int16_t+set}" = set; then
! 5739: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5740: else
! 5741: cat >conftest.$ac_ext <<_ACEOF
! 5742: /* confdefs.h. */
! 5743: _ACEOF
! 5744: cat confdefs.h >>conftest.$ac_ext
! 5745: cat >>conftest.$ac_ext <<_ACEOF
! 5746: /* end confdefs.h. */
! 5747: $ac_includes_default
! 5748: typedef u_int16_t ac__type_new_;
! 5749: int
! 5750: main ()
! 5751: {
! 5752: if ((ac__type_new_ *) 0)
! 5753: return 0;
! 5754: if (sizeof (ac__type_new_))
! 5755: return 0;
! 5756: ;
! 5757: return 0;
! 5758: }
! 5759: _ACEOF
! 5760: rm -f conftest.$ac_objext
! 5761: if { (ac_try="$ac_compile"
! 5762: case "(($ac_try" in
! 5763: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5764: *) ac_try_echo=$ac_try;;
! 5765: esac
! 5766: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5767: (eval "$ac_compile") 2>conftest.er1
! 5768: ac_status=$?
! 5769: grep -v '^ *+' conftest.er1 >conftest.err
! 5770: rm -f conftest.er1
! 5771: cat conftest.err >&5
! 5772: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5773: (exit $ac_status); } && {
! 5774: test -z "$ac_c_werror_flag" ||
! 5775: test ! -s conftest.err
! 5776: } && test -s conftest.$ac_objext; then
! 5777: ac_cv_type_u_int16_t=yes
! 5778: else
! 5779: echo "$as_me: failed program was:" >&5
! 5780: sed 's/^/| /' conftest.$ac_ext >&5
! 5781:
! 5782: ac_cv_type_u_int16_t=no
! 5783: fi
! 5784:
! 5785: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5786: fi
! 5787: { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
! 5788: echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
! 5789: if test $ac_cv_type_u_int16_t = yes; then
! 5790: :
! 5791: else
! 5792:
! 5793:
! 5794: { echo "$as_me:$LINENO: checking for uint16_t" >&5
! 5795: echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
! 5796: if test "${ac_cv_c_uint16_t+set}" = set; then
! 5797: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5798: else
! 5799: ac_cv_c_uint16_t=no
! 5800: for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
! 5801: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 5802: cat >conftest.$ac_ext <<_ACEOF
! 5803: /* confdefs.h. */
! 5804: _ACEOF
! 5805: cat confdefs.h >>conftest.$ac_ext
! 5806: cat >>conftest.$ac_ext <<_ACEOF
! 5807: /* end confdefs.h. */
! 5808: $ac_includes_default
! 5809: int
! 5810: main ()
! 5811: {
! 5812: static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
! 5813: test_array [0] = 0
! 5814:
! 5815: ;
! 5816: return 0;
! 5817: }
! 5818: _ACEOF
! 5819: rm -f conftest.$ac_objext
! 5820: if { (ac_try="$ac_compile"
! 5821: case "(($ac_try" in
! 5822: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5823: *) ac_try_echo=$ac_try;;
! 5824: esac
! 5825: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5826: (eval "$ac_compile") 2>conftest.er1
! 5827: ac_status=$?
! 5828: grep -v '^ *+' conftest.er1 >conftest.err
! 5829: rm -f conftest.er1
! 5830: cat conftest.err >&5
! 5831: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5832: (exit $ac_status); } && {
! 5833: test -z "$ac_c_werror_flag" ||
! 5834: test ! -s conftest.err
! 5835: } && test -s conftest.$ac_objext; then
! 5836: case $ac_type in
! 5837: uint16_t) ac_cv_c_uint16_t=yes ;;
! 5838: *) ac_cv_c_uint16_t=$ac_type ;;
! 5839: esac
! 5840:
! 5841: else
! 5842: echo "$as_me: failed program was:" >&5
! 5843: sed 's/^/| /' conftest.$ac_ext >&5
! 5844:
! 5845:
! 5846: fi
! 5847:
! 5848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5849: test "$ac_cv_c_uint16_t" != no && break
! 5850: done
! 5851: fi
! 5852: { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
! 5853: echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
! 5854: case $ac_cv_c_uint16_t in #(
! 5855: no|yes) ;; #(
! 5856: *)
! 5857:
! 5858:
! 5859: cat >>confdefs.h <<_ACEOF
! 5860: #define uint16_t $ac_cv_c_uint16_t
! 5861: _ACEOF
! 5862: ;;
! 5863: esac
! 5864:
! 5865:
! 5866: cat >>confdefs.h <<\_ACEOF
! 5867: #define u_int16_t uint16_t
! 5868: _ACEOF
! 5869:
! 5870:
! 5871: fi
! 5872:
! 5873: { echo "$as_me:$LINENO: checking for u_int32_t" >&5
! 5874: echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
! 5875: if test "${ac_cv_type_u_int32_t+set}" = set; then
! 5876: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5877: else
! 5878: cat >conftest.$ac_ext <<_ACEOF
! 5879: /* confdefs.h. */
! 5880: _ACEOF
! 5881: cat confdefs.h >>conftest.$ac_ext
! 5882: cat >>conftest.$ac_ext <<_ACEOF
! 5883: /* end confdefs.h. */
! 5884: $ac_includes_default
! 5885: typedef u_int32_t ac__type_new_;
! 5886: int
! 5887: main ()
! 5888: {
! 5889: if ((ac__type_new_ *) 0)
! 5890: return 0;
! 5891: if (sizeof (ac__type_new_))
! 5892: return 0;
! 5893: ;
! 5894: return 0;
! 5895: }
! 5896: _ACEOF
! 5897: rm -f conftest.$ac_objext
! 5898: if { (ac_try="$ac_compile"
! 5899: case "(($ac_try" in
! 5900: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5901: *) ac_try_echo=$ac_try;;
! 5902: esac
! 5903: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5904: (eval "$ac_compile") 2>conftest.er1
! 5905: ac_status=$?
! 5906: grep -v '^ *+' conftest.er1 >conftest.err
! 5907: rm -f conftest.er1
! 5908: cat conftest.err >&5
! 5909: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5910: (exit $ac_status); } && {
! 5911: test -z "$ac_c_werror_flag" ||
! 5912: test ! -s conftest.err
! 5913: } && test -s conftest.$ac_objext; then
! 5914: ac_cv_type_u_int32_t=yes
! 5915: else
! 5916: echo "$as_me: failed program was:" >&5
! 5917: sed 's/^/| /' conftest.$ac_ext >&5
! 5918:
! 5919: ac_cv_type_u_int32_t=no
! 5920: fi
! 5921:
! 5922: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5923: fi
! 5924: { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
! 5925: echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
! 5926: if test $ac_cv_type_u_int32_t = yes; then
! 5927: :
! 5928: else
! 5929:
! 5930:
! 5931: { echo "$as_me:$LINENO: checking for uint32_t" >&5
! 5932: echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
! 5933: if test "${ac_cv_c_uint32_t+set}" = set; then
! 5934: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5935: else
! 5936: ac_cv_c_uint32_t=no
! 5937: for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
! 5938: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 5939: cat >conftest.$ac_ext <<_ACEOF
! 5940: /* confdefs.h. */
! 5941: _ACEOF
! 5942: cat confdefs.h >>conftest.$ac_ext
! 5943: cat >>conftest.$ac_ext <<_ACEOF
! 5944: /* end confdefs.h. */
! 5945: $ac_includes_default
! 5946: int
! 5947: main ()
! 5948: {
! 5949: static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
! 5950: test_array [0] = 0
! 5951:
! 5952: ;
! 5953: return 0;
! 5954: }
! 5955: _ACEOF
! 5956: rm -f conftest.$ac_objext
! 5957: if { (ac_try="$ac_compile"
! 5958: case "(($ac_try" in
! 5959: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5960: *) ac_try_echo=$ac_try;;
! 5961: esac
! 5962: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 5963: (eval "$ac_compile") 2>conftest.er1
! 5964: ac_status=$?
! 5965: grep -v '^ *+' conftest.er1 >conftest.err
! 5966: rm -f conftest.er1
! 5967: cat conftest.err >&5
! 5968: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5969: (exit $ac_status); } && {
! 5970: test -z "$ac_c_werror_flag" ||
! 5971: test ! -s conftest.err
! 5972: } && test -s conftest.$ac_objext; then
! 5973: case $ac_type in
! 5974: uint32_t) ac_cv_c_uint32_t=yes ;;
! 5975: *) ac_cv_c_uint32_t=$ac_type ;;
! 5976: esac
! 5977:
! 5978: else
! 5979: echo "$as_me: failed program was:" >&5
! 5980: sed 's/^/| /' conftest.$ac_ext >&5
! 5981:
! 5982:
! 5983: fi
! 5984:
! 5985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5986: test "$ac_cv_c_uint32_t" != no && break
! 5987: done
! 5988: fi
! 5989: { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
! 5990: echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
! 5991: case $ac_cv_c_uint32_t in #(
! 5992: no|yes) ;; #(
! 5993: *)
! 5994:
! 5995: cat >>confdefs.h <<\_ACEOF
! 5996: #define _UINT32_T 1
! 5997: _ACEOF
! 5998:
! 5999:
! 6000: cat >>confdefs.h <<_ACEOF
! 6001: #define uint32_t $ac_cv_c_uint32_t
! 6002: _ACEOF
! 6003: ;;
! 6004: esac
! 6005:
! 6006:
! 6007: cat >>confdefs.h <<\_ACEOF
! 6008: #define u_int32_t uint32_t
! 6009: _ACEOF
! 6010:
! 6011:
! 6012: fi
! 6013:
! 6014: { echo "$as_me:$LINENO: checking for u_int64_t" >&5
! 6015: echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
! 6016: if test "${ac_cv_type_u_int64_t+set}" = set; then
! 6017: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6018: else
! 6019: cat >conftest.$ac_ext <<_ACEOF
! 6020: /* confdefs.h. */
! 6021: _ACEOF
! 6022: cat confdefs.h >>conftest.$ac_ext
! 6023: cat >>conftest.$ac_ext <<_ACEOF
! 6024: /* end confdefs.h. */
! 6025: $ac_includes_default
! 6026: typedef u_int64_t ac__type_new_;
! 6027: int
! 6028: main ()
! 6029: {
! 6030: if ((ac__type_new_ *) 0)
! 6031: return 0;
! 6032: if (sizeof (ac__type_new_))
! 6033: return 0;
! 6034: ;
! 6035: return 0;
! 6036: }
! 6037: _ACEOF
! 6038: rm -f conftest.$ac_objext
! 6039: if { (ac_try="$ac_compile"
! 6040: case "(($ac_try" in
! 6041: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6042: *) ac_try_echo=$ac_try;;
! 6043: esac
! 6044: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6045: (eval "$ac_compile") 2>conftest.er1
! 6046: ac_status=$?
! 6047: grep -v '^ *+' conftest.er1 >conftest.err
! 6048: rm -f conftest.er1
! 6049: cat conftest.err >&5
! 6050: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6051: (exit $ac_status); } && {
! 6052: test -z "$ac_c_werror_flag" ||
! 6053: test ! -s conftest.err
! 6054: } && test -s conftest.$ac_objext; then
! 6055: ac_cv_type_u_int64_t=yes
! 6056: else
! 6057: echo "$as_me: failed program was:" >&5
! 6058: sed 's/^/| /' conftest.$ac_ext >&5
! 6059:
! 6060: ac_cv_type_u_int64_t=no
! 6061: fi
! 6062:
! 6063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6064: fi
! 6065: { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
! 6066: echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
! 6067: if test $ac_cv_type_u_int64_t = yes; then
! 6068: :
! 6069: else
! 6070:
! 6071:
! 6072: { echo "$as_me:$LINENO: checking for uint64_t" >&5
! 6073: echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
! 6074: if test "${ac_cv_c_uint64_t+set}" = set; then
! 6075: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6076: else
! 6077: ac_cv_c_uint64_t=no
! 6078: for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
! 6079: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 6080: cat >conftest.$ac_ext <<_ACEOF
! 6081: /* confdefs.h. */
! 6082: _ACEOF
! 6083: cat confdefs.h >>conftest.$ac_ext
! 6084: cat >>conftest.$ac_ext <<_ACEOF
! 6085: /* end confdefs.h. */
! 6086: $ac_includes_default
! 6087: int
! 6088: main ()
! 6089: {
! 6090: static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
! 6091: test_array [0] = 0
! 6092:
! 6093: ;
! 6094: return 0;
! 6095: }
! 6096: _ACEOF
! 6097: rm -f conftest.$ac_objext
! 6098: if { (ac_try="$ac_compile"
! 6099: case "(($ac_try" in
! 6100: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6101: *) ac_try_echo=$ac_try;;
! 6102: esac
! 6103: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6104: (eval "$ac_compile") 2>conftest.er1
! 6105: ac_status=$?
! 6106: grep -v '^ *+' conftest.er1 >conftest.err
! 6107: rm -f conftest.er1
! 6108: cat conftest.err >&5
! 6109: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6110: (exit $ac_status); } && {
! 6111: test -z "$ac_c_werror_flag" ||
! 6112: test ! -s conftest.err
! 6113: } && test -s conftest.$ac_objext; then
! 6114: case $ac_type in
! 6115: uint64_t) ac_cv_c_uint64_t=yes ;;
! 6116: *) ac_cv_c_uint64_t=$ac_type ;;
! 6117: esac
! 6118:
! 6119: else
! 6120: echo "$as_me: failed program was:" >&5
! 6121: sed 's/^/| /' conftest.$ac_ext >&5
! 6122:
! 6123:
! 6124: fi
! 6125:
! 6126: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6127: test "$ac_cv_c_uint64_t" != no && break
! 6128: done
! 6129: fi
! 6130: { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
! 6131: echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
! 6132: case $ac_cv_c_uint64_t in #(
! 6133: no|yes) ;; #(
! 6134: *)
! 6135:
! 6136: cat >>confdefs.h <<\_ACEOF
! 6137: #define _UINT64_T 1
! 6138: _ACEOF
! 6139:
! 6140:
! 6141: cat >>confdefs.h <<_ACEOF
! 6142: #define uint64_t $ac_cv_c_uint64_t
! 6143: _ACEOF
! 6144: ;;
! 6145: esac
! 6146:
! 6147:
! 6148: cat >>confdefs.h <<\_ACEOF
! 6149: #define u_int64_t uint64_t
! 6150: _ACEOF
! 6151:
! 6152:
! 6153: fi
! 6154:
! 6155:
! 6156: # see if ifaddrs.h is available
! 6157:
! 6158: for ac_header in ifaddrs.h
! 6159: do
! 6160: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6161: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6162: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6163: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 6164: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6165: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6166: fi
! 6167: ac_res=`eval echo '${'$as_ac_Header'}'`
! 6168: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 6169: echo "${ECHO_T}$ac_res" >&6; }
! 6170: else
! 6171: # Is the header compilable?
! 6172: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 6173: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
! 6174: cat >conftest.$ac_ext <<_ACEOF
! 6175: /* confdefs.h. */
! 6176: _ACEOF
! 6177: cat confdefs.h >>conftest.$ac_ext
! 6178: cat >>conftest.$ac_ext <<_ACEOF
! 6179: /* end confdefs.h. */
! 6180: $ac_includes_default
! 6181: #include <$ac_header>
! 6182: _ACEOF
! 6183: rm -f conftest.$ac_objext
! 6184: if { (ac_try="$ac_compile"
! 6185: case "(($ac_try" in
! 6186: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6187: *) ac_try_echo=$ac_try;;
! 6188: esac
! 6189: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6190: (eval "$ac_compile") 2>conftest.er1
! 6191: ac_status=$?
! 6192: grep -v '^ *+' conftest.er1 >conftest.err
! 6193: rm -f conftest.er1
! 6194: cat conftest.err >&5
! 6195: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6196: (exit $ac_status); } && {
! 6197: test -z "$ac_c_werror_flag" ||
! 6198: test ! -s conftest.err
! 6199: } && test -s conftest.$ac_objext; then
! 6200: ac_header_compiler=yes
! 6201: else
! 6202: echo "$as_me: failed program was:" >&5
! 6203: sed 's/^/| /' conftest.$ac_ext >&5
! 6204:
! 6205: ac_header_compiler=no
! 6206: fi
! 6207:
! 6208: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6209: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 6210: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 6211:
! 6212: # Is the header present?
! 6213: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 6214: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
! 6215: cat >conftest.$ac_ext <<_ACEOF
! 6216: /* confdefs.h. */
! 6217: _ACEOF
! 6218: cat confdefs.h >>conftest.$ac_ext
! 6219: cat >>conftest.$ac_ext <<_ACEOF
! 6220: /* end confdefs.h. */
! 6221: #include <$ac_header>
! 6222: _ACEOF
! 6223: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6224: case "(($ac_try" in
! 6225: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6226: *) ac_try_echo=$ac_try;;
! 6227: esac
! 6228: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6229: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6230: ac_status=$?
! 6231: grep -v '^ *+' conftest.er1 >conftest.err
! 6232: rm -f conftest.er1
! 6233: cat conftest.err >&5
! 6234: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6235: (exit $ac_status); } >/dev/null && {
! 6236: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 6237: test ! -s conftest.err
! 6238: }; then
! 6239: ac_header_preproc=yes
! 6240: else
! 6241: echo "$as_me: failed program was:" >&5
! 6242: sed 's/^/| /' conftest.$ac_ext >&5
! 6243:
! 6244: ac_header_preproc=no
! 6245: fi
! 6246:
! 6247: rm -f conftest.err conftest.$ac_ext
! 6248: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 6249: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 6250:
! 6251: # So? What about this header?
! 6252: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 6253: yes:no: )
! 6254: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 6255: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 6256: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 6257: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 6258: ac_header_preproc=yes
! 6259: ;;
! 6260: no:yes:* )
! 6261: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 6262: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 6263: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 6264: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 6265: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 6266: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 6267: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 6268: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 6269: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 6270: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 6271: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 6272: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 6273: ( cat <<\_ASBOX
! 6274: ## --------------------------------- ##
! 6275: ## Report this to dhcp-users@isc.org ##
! 6276: ## --------------------------------- ##
! 6277: _ASBOX
! 6278: ) | sed "s/^/$as_me: WARNING: /" >&2
! 6279: ;;
! 6280: esac
! 6281: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6282: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 6283: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6284: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6285: else
! 6286: eval "$as_ac_Header=\$ac_header_preproc"
! 6287: fi
! 6288: ac_res=`eval echo '${'$as_ac_Header'}'`
! 6289: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 6290: echo "${ECHO_T}$ac_res" >&6; }
! 6291:
! 6292: fi
! 6293: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 6294: cat >>confdefs.h <<_ACEOF
! 6295: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 6296: _ACEOF
! 6297:
! 6298: fi
! 6299:
! 6300: done
! 6301:
! 6302:
! 6303: # figure out what IPv4 interface code to use
! 6304:
! 6305: for ac_header in linux/types.h
! 6306: do
! 6307: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6308: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6309: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6310: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 6311: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6312: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6313: fi
! 6314: ac_res=`eval echo '${'$as_ac_Header'}'`
! 6315: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 6316: echo "${ECHO_T}$ac_res" >&6; }
! 6317: else
! 6318: # Is the header compilable?
! 6319: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 6320: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
! 6321: cat >conftest.$ac_ext <<_ACEOF
! 6322: /* confdefs.h. */
! 6323: _ACEOF
! 6324: cat confdefs.h >>conftest.$ac_ext
! 6325: cat >>conftest.$ac_ext <<_ACEOF
! 6326: /* end confdefs.h. */
! 6327: $ac_includes_default
! 6328: #include <$ac_header>
! 6329: _ACEOF
! 6330: rm -f conftest.$ac_objext
! 6331: if { (ac_try="$ac_compile"
! 6332: case "(($ac_try" in
! 6333: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6334: *) ac_try_echo=$ac_try;;
! 6335: esac
! 6336: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6337: (eval "$ac_compile") 2>conftest.er1
! 6338: ac_status=$?
! 6339: grep -v '^ *+' conftest.er1 >conftest.err
! 6340: rm -f conftest.er1
! 6341: cat conftest.err >&5
! 6342: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6343: (exit $ac_status); } && {
! 6344: test -z "$ac_c_werror_flag" ||
! 6345: test ! -s conftest.err
! 6346: } && test -s conftest.$ac_objext; then
! 6347: ac_header_compiler=yes
! 6348: else
! 6349: echo "$as_me: failed program was:" >&5
! 6350: sed 's/^/| /' conftest.$ac_ext >&5
! 6351:
! 6352: ac_header_compiler=no
! 6353: fi
! 6354:
! 6355: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6356: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 6357: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 6358:
! 6359: # Is the header present?
! 6360: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 6361: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
! 6362: cat >conftest.$ac_ext <<_ACEOF
! 6363: /* confdefs.h. */
! 6364: _ACEOF
! 6365: cat confdefs.h >>conftest.$ac_ext
! 6366: cat >>conftest.$ac_ext <<_ACEOF
! 6367: /* end confdefs.h. */
! 6368: #include <$ac_header>
! 6369: _ACEOF
! 6370: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6371: case "(($ac_try" in
! 6372: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6373: *) ac_try_echo=$ac_try;;
! 6374: esac
! 6375: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6376: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6377: ac_status=$?
! 6378: grep -v '^ *+' conftest.er1 >conftest.err
! 6379: rm -f conftest.er1
! 6380: cat conftest.err >&5
! 6381: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6382: (exit $ac_status); } >/dev/null && {
! 6383: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 6384: test ! -s conftest.err
! 6385: }; then
! 6386: ac_header_preproc=yes
! 6387: else
! 6388: echo "$as_me: failed program was:" >&5
! 6389: sed 's/^/| /' conftest.$ac_ext >&5
! 6390:
! 6391: ac_header_preproc=no
! 6392: fi
! 6393:
! 6394: rm -f conftest.err conftest.$ac_ext
! 6395: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 6396: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 6397:
! 6398: # So? What about this header?
! 6399: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 6400: yes:no: )
! 6401: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 6402: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 6403: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 6404: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 6405: ac_header_preproc=yes
! 6406: ;;
! 6407: no:yes:* )
! 6408: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 6409: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 6410: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 6411: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 6412: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 6413: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 6414: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 6415: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 6416: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 6417: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 6418: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 6419: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 6420: ( cat <<\_ASBOX
! 6421: ## --------------------------------- ##
! 6422: ## Report this to dhcp-users@isc.org ##
! 6423: ## --------------------------------- ##
! 6424: _ASBOX
! 6425: ) | sed "s/^/$as_me: WARNING: /" >&2
! 6426: ;;
! 6427: esac
! 6428: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6429: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 6430: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6431: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6432: else
! 6433: eval "$as_ac_Header=\$ac_header_preproc"
! 6434: fi
! 6435: ac_res=`eval echo '${'$as_ac_Header'}'`
! 6436: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 6437: echo "${ECHO_T}$ac_res" >&6; }
! 6438:
! 6439: fi
! 6440: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 6441: cat >>confdefs.h <<_ACEOF
! 6442: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 6443: _ACEOF
! 6444:
! 6445: fi
! 6446:
! 6447: done
! 6448: # needed for linux/filter.h on old systems
! 6449:
! 6450: { echo "$as_me:$LINENO: checking for linux/filter.h" >&5
! 6451: echo $ECHO_N "checking for linux/filter.h... $ECHO_C" >&6; }
! 6452: if test "${ac_cv_header_linux_filter_h+set}" = set; then
! 6453: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6454: else
! 6455: cat >conftest.$ac_ext <<_ACEOF
! 6456: /* confdefs.h. */
! 6457: _ACEOF
! 6458: cat confdefs.h >>conftest.$ac_ext
! 6459: cat >>conftest.$ac_ext <<_ACEOF
! 6460: /* end confdefs.h. */
! 6461:
! 6462: #ifdef HAVE_LINUX_TYPES_H
! 6463: #include <linux/types.h>
! 6464: #endif
! 6465:
! 6466:
! 6467: #include <linux/filter.h>
! 6468: _ACEOF
! 6469: rm -f conftest.$ac_objext
! 6470: if { (ac_try="$ac_compile"
! 6471: case "(($ac_try" in
! 6472: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6473: *) ac_try_echo=$ac_try;;
! 6474: esac
! 6475: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6476: (eval "$ac_compile") 2>conftest.er1
! 6477: ac_status=$?
! 6478: grep -v '^ *+' conftest.er1 >conftest.err
! 6479: rm -f conftest.er1
! 6480: cat conftest.err >&5
! 6481: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6482: (exit $ac_status); } && {
! 6483: test -z "$ac_c_werror_flag" ||
! 6484: test ! -s conftest.err
! 6485: } && test -s conftest.$ac_objext; then
! 6486: ac_cv_header_linux_filter_h=yes
! 6487: else
! 6488: echo "$as_me: failed program was:" >&5
! 6489: sed 's/^/| /' conftest.$ac_ext >&5
! 6490:
! 6491: ac_cv_header_linux_filter_h=no
! 6492: fi
! 6493:
! 6494: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6495: fi
! 6496: { echo "$as_me:$LINENO: result: $ac_cv_header_linux_filter_h" >&5
! 6497: echo "${ECHO_T}$ac_cv_header_linux_filter_h" >&6; }
! 6498: if test $ac_cv_header_linux_filter_h = yes; then
! 6499: DO_LPF=1
! 6500: fi
! 6501:
! 6502:
! 6503: if test -n "$DO_LPF"
! 6504: then
! 6505:
! 6506: cat >>confdefs.h <<\_ACEOF
! 6507: #define HAVE_LPF 1
! 6508: _ACEOF
! 6509:
! 6510: else
! 6511: if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
! 6512: { echo "$as_me:$LINENO: checking for sys/dlpi.h" >&5
! 6513: echo $ECHO_N "checking for sys/dlpi.h... $ECHO_C" >&6; }
! 6514: if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
! 6515: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6516: fi
! 6517: { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dlpi_h" >&5
! 6518: echo "${ECHO_T}$ac_cv_header_sys_dlpi_h" >&6; }
! 6519: else
! 6520: # Is the header compilable?
! 6521: { echo "$as_me:$LINENO: checking sys/dlpi.h usability" >&5
! 6522: echo $ECHO_N "checking sys/dlpi.h usability... $ECHO_C" >&6; }
! 6523: cat >conftest.$ac_ext <<_ACEOF
! 6524: /* confdefs.h. */
! 6525: _ACEOF
! 6526: cat confdefs.h >>conftest.$ac_ext
! 6527: cat >>conftest.$ac_ext <<_ACEOF
! 6528: /* end confdefs.h. */
! 6529: $ac_includes_default
! 6530: #include <sys/dlpi.h>
! 6531: _ACEOF
! 6532: rm -f conftest.$ac_objext
! 6533: if { (ac_try="$ac_compile"
! 6534: case "(($ac_try" in
! 6535: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6536: *) ac_try_echo=$ac_try;;
! 6537: esac
! 6538: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6539: (eval "$ac_compile") 2>conftest.er1
! 6540: ac_status=$?
! 6541: grep -v '^ *+' conftest.er1 >conftest.err
! 6542: rm -f conftest.er1
! 6543: cat conftest.err >&5
! 6544: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6545: (exit $ac_status); } && {
! 6546: test -z "$ac_c_werror_flag" ||
! 6547: test ! -s conftest.err
! 6548: } && test -s conftest.$ac_objext; then
! 6549: ac_header_compiler=yes
! 6550: else
! 6551: echo "$as_me: failed program was:" >&5
! 6552: sed 's/^/| /' conftest.$ac_ext >&5
! 6553:
! 6554: ac_header_compiler=no
! 6555: fi
! 6556:
! 6557: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6558: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 6559: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 6560:
! 6561: # Is the header present?
! 6562: { echo "$as_me:$LINENO: checking sys/dlpi.h presence" >&5
! 6563: echo $ECHO_N "checking sys/dlpi.h presence... $ECHO_C" >&6; }
! 6564: cat >conftest.$ac_ext <<_ACEOF
! 6565: /* confdefs.h. */
! 6566: _ACEOF
! 6567: cat confdefs.h >>conftest.$ac_ext
! 6568: cat >>conftest.$ac_ext <<_ACEOF
! 6569: /* end confdefs.h. */
! 6570: #include <sys/dlpi.h>
! 6571: _ACEOF
! 6572: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6573: case "(($ac_try" in
! 6574: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6575: *) ac_try_echo=$ac_try;;
! 6576: esac
! 6577: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6578: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6579: ac_status=$?
! 6580: grep -v '^ *+' conftest.er1 >conftest.err
! 6581: rm -f conftest.er1
! 6582: cat conftest.err >&5
! 6583: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6584: (exit $ac_status); } >/dev/null && {
! 6585: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 6586: test ! -s conftest.err
! 6587: }; then
! 6588: ac_header_preproc=yes
! 6589: else
! 6590: echo "$as_me: failed program was:" >&5
! 6591: sed 's/^/| /' conftest.$ac_ext >&5
! 6592:
! 6593: ac_header_preproc=no
! 6594: fi
! 6595:
! 6596: rm -f conftest.err conftest.$ac_ext
! 6597: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 6598: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 6599:
! 6600: # So? What about this header?
! 6601: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 6602: yes:no: )
! 6603: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 6604: echo "$as_me: WARNING: sys/dlpi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 6605: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: proceeding with the compiler's result" >&5
! 6606: echo "$as_me: WARNING: sys/dlpi.h: proceeding with the compiler's result" >&2;}
! 6607: ac_header_preproc=yes
! 6608: ;;
! 6609: no:yes:* )
! 6610: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: present but cannot be compiled" >&5
! 6611: echo "$as_me: WARNING: sys/dlpi.h: present but cannot be compiled" >&2;}
! 6612: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: check for missing prerequisite headers?" >&5
! 6613: echo "$as_me: WARNING: sys/dlpi.h: check for missing prerequisite headers?" >&2;}
! 6614: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: see the Autoconf documentation" >&5
! 6615: echo "$as_me: WARNING: sys/dlpi.h: see the Autoconf documentation" >&2;}
! 6616: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: section \"Present But Cannot Be Compiled\"" >&5
! 6617: echo "$as_me: WARNING: sys/dlpi.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 6618: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: proceeding with the preprocessor's result" >&5
! 6619: echo "$as_me: WARNING: sys/dlpi.h: proceeding with the preprocessor's result" >&2;}
! 6620: { echo "$as_me:$LINENO: WARNING: sys/dlpi.h: in the future, the compiler will take precedence" >&5
! 6621: echo "$as_me: WARNING: sys/dlpi.h: in the future, the compiler will take precedence" >&2;}
! 6622: ( cat <<\_ASBOX
! 6623: ## --------------------------------- ##
! 6624: ## Report this to dhcp-users@isc.org ##
! 6625: ## --------------------------------- ##
! 6626: _ASBOX
! 6627: ) | sed "s/^/$as_me: WARNING: /" >&2
! 6628: ;;
! 6629: esac
! 6630: { echo "$as_me:$LINENO: checking for sys/dlpi.h" >&5
! 6631: echo $ECHO_N "checking for sys/dlpi.h... $ECHO_C" >&6; }
! 6632: if test "${ac_cv_header_sys_dlpi_h+set}" = set; then
! 6633: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6634: else
! 6635: ac_cv_header_sys_dlpi_h=$ac_header_preproc
! 6636: fi
! 6637: { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dlpi_h" >&5
! 6638: echo "${ECHO_T}$ac_cv_header_sys_dlpi_h" >&6; }
! 6639:
! 6640: fi
! 6641: if test $ac_cv_header_sys_dlpi_h = yes; then
! 6642: DO_DLPI=1
! 6643: fi
! 6644:
! 6645:
! 6646: if test -n "$DO_DLPI"
! 6647: then
! 6648:
! 6649: cat >>confdefs.h <<\_ACEOF
! 6650: #define HAVE_DLPI 1
! 6651: _ACEOF
! 6652:
! 6653: else
! 6654: if test "${ac_cv_header_net_bpf_h+set}" = set; then
! 6655: { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
! 6656: echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
! 6657: if test "${ac_cv_header_net_bpf_h+set}" = set; then
! 6658: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6659: fi
! 6660: { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
! 6661: echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
! 6662: else
! 6663: # Is the header compilable?
! 6664: { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
! 6665: echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
! 6666: cat >conftest.$ac_ext <<_ACEOF
! 6667: /* confdefs.h. */
! 6668: _ACEOF
! 6669: cat confdefs.h >>conftest.$ac_ext
! 6670: cat >>conftest.$ac_ext <<_ACEOF
! 6671: /* end confdefs.h. */
! 6672: $ac_includes_default
! 6673: #include <net/bpf.h>
! 6674: _ACEOF
! 6675: rm -f conftest.$ac_objext
! 6676: if { (ac_try="$ac_compile"
! 6677: case "(($ac_try" in
! 6678: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6679: *) ac_try_echo=$ac_try;;
! 6680: esac
! 6681: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6682: (eval "$ac_compile") 2>conftest.er1
! 6683: ac_status=$?
! 6684: grep -v '^ *+' conftest.er1 >conftest.err
! 6685: rm -f conftest.er1
! 6686: cat conftest.err >&5
! 6687: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6688: (exit $ac_status); } && {
! 6689: test -z "$ac_c_werror_flag" ||
! 6690: test ! -s conftest.err
! 6691: } && test -s conftest.$ac_objext; then
! 6692: ac_header_compiler=yes
! 6693: else
! 6694: echo "$as_me: failed program was:" >&5
! 6695: sed 's/^/| /' conftest.$ac_ext >&5
! 6696:
! 6697: ac_header_compiler=no
! 6698: fi
! 6699:
! 6700: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6701: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 6702: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 6703:
! 6704: # Is the header present?
! 6705: { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
! 6706: echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
! 6707: cat >conftest.$ac_ext <<_ACEOF
! 6708: /* confdefs.h. */
! 6709: _ACEOF
! 6710: cat confdefs.h >>conftest.$ac_ext
! 6711: cat >>conftest.$ac_ext <<_ACEOF
! 6712: /* end confdefs.h. */
! 6713: #include <net/bpf.h>
! 6714: _ACEOF
! 6715: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 6716: case "(($ac_try" in
! 6717: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6718: *) ac_try_echo=$ac_try;;
! 6719: esac
! 6720: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6721: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 6722: ac_status=$?
! 6723: grep -v '^ *+' conftest.er1 >conftest.err
! 6724: rm -f conftest.er1
! 6725: cat conftest.err >&5
! 6726: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6727: (exit $ac_status); } >/dev/null && {
! 6728: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 6729: test ! -s conftest.err
! 6730: }; then
! 6731: ac_header_preproc=yes
! 6732: else
! 6733: echo "$as_me: failed program was:" >&5
! 6734: sed 's/^/| /' conftest.$ac_ext >&5
! 6735:
! 6736: ac_header_preproc=no
! 6737: fi
! 6738:
! 6739: rm -f conftest.err conftest.$ac_ext
! 6740: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 6741: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 6742:
! 6743: # So? What about this header?
! 6744: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 6745: yes:no: )
! 6746: { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 6747: echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 6748: { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result" >&5
! 6749: echo "$as_me: WARNING: net/bpf.h: proceeding with the compiler's result" >&2;}
! 6750: ac_header_preproc=yes
! 6751: ;;
! 6752: no:yes:* )
! 6753: { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
! 6754: echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
! 6755: { echo "$as_me:$LINENO: WARNING: net/bpf.h: check for missing prerequisite headers?" >&5
! 6756: echo "$as_me: WARNING: net/bpf.h: check for missing prerequisite headers?" >&2;}
! 6757: { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
! 6758: echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
! 6759: { echo "$as_me:$LINENO: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&5
! 6760: echo "$as_me: WARNING: net/bpf.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 6761: { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&5
! 6762: echo "$as_me: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&2;}
! 6763: { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
! 6764: echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
! 6765: ( cat <<\_ASBOX
! 6766: ## --------------------------------- ##
! 6767: ## Report this to dhcp-users@isc.org ##
! 6768: ## --------------------------------- ##
! 6769: _ASBOX
! 6770: ) | sed "s/^/$as_me: WARNING: /" >&2
! 6771: ;;
! 6772: esac
! 6773: { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
! 6774: echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
! 6775: if test "${ac_cv_header_net_bpf_h+set}" = set; then
! 6776: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6777: else
! 6778: ac_cv_header_net_bpf_h=$ac_header_preproc
! 6779: fi
! 6780: { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
! 6781: echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
! 6782:
! 6783: fi
! 6784: if test $ac_cv_header_net_bpf_h = yes; then
! 6785: DO_BPF=1
! 6786: fi
! 6787:
! 6788:
! 6789: if test -n "$DO_BPF"
! 6790: then
! 6791:
! 6792: cat >>confdefs.h <<\_ACEOF
! 6793: #define HAVE_BPF ""
! 6794: _ACEOF
! 6795:
! 6796: fi
! 6797: fi
! 6798: fi
! 6799:
! 6800: # SIOCGLIFCONF uses some transport structures. Trick is not all platforms
! 6801: # use the same structures. We like to use 'struct lifconf' and 'struct
! 6802: # lifreq', but we'll use these other structures if they're present. HPUX
! 6803: # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
! 6804: # int value.
! 6805: #
! 6806: { echo "$as_me:$LINENO: checking for struct lifnum" >&5
! 6807: echo $ECHO_N "checking for struct lifnum... $ECHO_C" >&6; }
! 6808: cat >conftest.$ac_ext <<_ACEOF
! 6809: /* confdefs.h. */
! 6810: _ACEOF
! 6811: cat confdefs.h >>conftest.$ac_ext
! 6812: cat >>conftest.$ac_ext <<_ACEOF
! 6813: /* end confdefs.h. */
! 6814: #include <sys/types.h>
! 6815: #include <sys/socket.h>
! 6816: #include <net/if.h>
! 6817:
! 6818: int
! 6819: main ()
! 6820: {
! 6821: struct lifnum a;
! 6822:
! 6823: ;
! 6824: return 0;
! 6825: }
! 6826: _ACEOF
! 6827: rm -f conftest.$ac_objext
! 6828: if { (ac_try="$ac_compile"
! 6829: case "(($ac_try" in
! 6830: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6831: *) ac_try_echo=$ac_try;;
! 6832: esac
! 6833: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6834: (eval "$ac_compile") 2>conftest.er1
! 6835: ac_status=$?
! 6836: grep -v '^ *+' conftest.er1 >conftest.err
! 6837: rm -f conftest.er1
! 6838: cat conftest.err >&5
! 6839: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6840: (exit $ac_status); } && {
! 6841: test -z "$ac_c_werror_flag" ||
! 6842: test ! -s conftest.err
! 6843: } && test -s conftest.$ac_objext; then
! 6844: { echo "$as_me:$LINENO: result: yes" >&5
! 6845: echo "${ECHO_T}yes" >&6; }
! 6846:
! 6847: cat >>confdefs.h <<\_ACEOF
! 6848: #define ISC_PLATFORM_HAVELIFNUM 1
! 6849: _ACEOF
! 6850:
! 6851: else
! 6852: echo "$as_me: failed program was:" >&5
! 6853: sed 's/^/| /' conftest.$ac_ext >&5
! 6854:
! 6855: { echo "$as_me:$LINENO: result: no" >&5
! 6856: echo "${ECHO_T}no" >&6; }
! 6857: fi
! 6858:
! 6859: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6860:
! 6861: { echo "$as_me:$LINENO: checking for struct if_laddrconf" >&5
! 6862: echo $ECHO_N "checking for struct if_laddrconf... $ECHO_C" >&6; }
! 6863: cat >conftest.$ac_ext <<_ACEOF
! 6864: /* confdefs.h. */
! 6865: _ACEOF
! 6866: cat confdefs.h >>conftest.$ac_ext
! 6867: cat >>conftest.$ac_ext <<_ACEOF
! 6868: /* end confdefs.h. */
! 6869: #include <sys/types.h>
! 6870: #include <net/if6.h>
! 6871:
! 6872: int
! 6873: main ()
! 6874: {
! 6875: struct if_laddrconf a;
! 6876:
! 6877: ;
! 6878: return 0;
! 6879: }
! 6880: _ACEOF
! 6881: rm -f conftest.$ac_objext
! 6882: if { (ac_try="$ac_compile"
! 6883: case "(($ac_try" in
! 6884: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6885: *) ac_try_echo=$ac_try;;
! 6886: esac
! 6887: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6888: (eval "$ac_compile") 2>conftest.er1
! 6889: ac_status=$?
! 6890: grep -v '^ *+' conftest.er1 >conftest.err
! 6891: rm -f conftest.er1
! 6892: cat conftest.err >&5
! 6893: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6894: (exit $ac_status); } && {
! 6895: test -z "$ac_c_werror_flag" ||
! 6896: test ! -s conftest.err
! 6897: } && test -s conftest.$ac_objext; then
! 6898: { echo "$as_me:$LINENO: result: yes" >&5
! 6899: echo "${ECHO_T}yes" >&6; }
! 6900:
! 6901: cat >>confdefs.h <<\_ACEOF
! 6902: #define ISC_PLATFORM_HAVEIF_LADDRCONF 1
! 6903: _ACEOF
! 6904:
! 6905: else
! 6906: echo "$as_me: failed program was:" >&5
! 6907: sed 's/^/| /' conftest.$ac_ext >&5
! 6908:
! 6909: { echo "$as_me:$LINENO: result: no" >&5
! 6910: echo "${ECHO_T}no" >&6; }
! 6911: fi
! 6912:
! 6913: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 6914:
! 6915: { echo "$as_me:$LINENO: checking for struct if_laddrreq" >&5
! 6916: echo $ECHO_N "checking for struct if_laddrreq... $ECHO_C" >&6; }
! 6917: cat >conftest.$ac_ext <<_ACEOF
! 6918: /* confdefs.h. */
! 6919: _ACEOF
! 6920: cat confdefs.h >>conftest.$ac_ext
! 6921: cat >>conftest.$ac_ext <<_ACEOF
! 6922: /* end confdefs.h. */
! 6923: #include <sys/types.h>
! 6924: #include <net/if6.h>
! 6925:
! 6926: int
! 6927: main ()
! 6928: {
! 6929: struct if_laddrreq a;
! 6930:
! 6931: ;
! 6932: return 0;
! 6933: }
! 6934: _ACEOF
! 6935: rm -f conftest.$ac_objext conftest$ac_exeext
! 6936: if { (ac_try="$ac_link"
! 6937: case "(($ac_try" in
! 6938: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 6939: *) ac_try_echo=$ac_try;;
! 6940: esac
! 6941: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 6942: (eval "$ac_link") 2>conftest.er1
! 6943: ac_status=$?
! 6944: grep -v '^ *+' conftest.er1 >conftest.err
! 6945: rm -f conftest.er1
! 6946: cat conftest.err >&5
! 6947: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 6948: (exit $ac_status); } && {
! 6949: test -z "$ac_c_werror_flag" ||
! 6950: test ! -s conftest.err
! 6951: } && test -s conftest$ac_exeext &&
! 6952: $as_test_x conftest$ac_exeext; then
! 6953: { echo "$as_me:$LINENO: result: yes" >&5
! 6954: echo "${ECHO_T}yes" >&6; }
! 6955:
! 6956: cat >>confdefs.h <<\_ACEOF
! 6957: #define ISC_PLATFORM_HAVEIF_LADDRREQ 1
! 6958: _ACEOF
! 6959:
! 6960: else
! 6961: echo "$as_me: failed program was:" >&5
! 6962: sed 's/^/| /' conftest.$ac_ext >&5
! 6963:
! 6964: { echo "$as_me:$LINENO: result: no" >&5
! 6965: echo "${ECHO_T}no" >&6; }
! 6966: fi
! 6967:
! 6968: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 6969: conftest$ac_exeext conftest.$ac_ext
! 6970:
! 6971: # Look for optional headers.
! 6972:
! 6973:
! 6974:
! 6975:
! 6976: for ac_header in sys/socket.h net/if_dl.h net/if6.h regex.h
! 6977: do
! 6978: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 6979: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6980: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 6981: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 6982: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 6983: echo $ECHO_N "(cached) $ECHO_C" >&6
! 6984: fi
! 6985: ac_res=`eval echo '${'$as_ac_Header'}'`
! 6986: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 6987: echo "${ECHO_T}$ac_res" >&6; }
! 6988: else
! 6989: # Is the header compilable?
! 6990: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 6991: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
! 6992: cat >conftest.$ac_ext <<_ACEOF
! 6993: /* confdefs.h. */
! 6994: _ACEOF
! 6995: cat confdefs.h >>conftest.$ac_ext
! 6996: cat >>conftest.$ac_ext <<_ACEOF
! 6997: /* end confdefs.h. */
! 6998: $ac_includes_default
! 6999: #include <$ac_header>
! 7000: _ACEOF
! 7001: rm -f conftest.$ac_objext
! 7002: if { (ac_try="$ac_compile"
! 7003: case "(($ac_try" in
! 7004: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7005: *) ac_try_echo=$ac_try;;
! 7006: esac
! 7007: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7008: (eval "$ac_compile") 2>conftest.er1
! 7009: ac_status=$?
! 7010: grep -v '^ *+' conftest.er1 >conftest.err
! 7011: rm -f conftest.er1
! 7012: cat conftest.err >&5
! 7013: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7014: (exit $ac_status); } && {
! 7015: test -z "$ac_c_werror_flag" ||
! 7016: test ! -s conftest.err
! 7017: } && test -s conftest.$ac_objext; then
! 7018: ac_header_compiler=yes
! 7019: else
! 7020: echo "$as_me: failed program was:" >&5
! 7021: sed 's/^/| /' conftest.$ac_ext >&5
! 7022:
! 7023: ac_header_compiler=no
! 7024: fi
! 7025:
! 7026: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7027: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 7028: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 7029:
! 7030: # Is the header present?
! 7031: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 7032: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
! 7033: cat >conftest.$ac_ext <<_ACEOF
! 7034: /* confdefs.h. */
! 7035: _ACEOF
! 7036: cat confdefs.h >>conftest.$ac_ext
! 7037: cat >>conftest.$ac_ext <<_ACEOF
! 7038: /* end confdefs.h. */
! 7039: #include <$ac_header>
! 7040: _ACEOF
! 7041: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 7042: case "(($ac_try" in
! 7043: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7044: *) ac_try_echo=$ac_try;;
! 7045: esac
! 7046: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7047: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 7048: ac_status=$?
! 7049: grep -v '^ *+' conftest.er1 >conftest.err
! 7050: rm -f conftest.er1
! 7051: cat conftest.err >&5
! 7052: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7053: (exit $ac_status); } >/dev/null && {
! 7054: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 7055: test ! -s conftest.err
! 7056: }; then
! 7057: ac_header_preproc=yes
! 7058: else
! 7059: echo "$as_me: failed program was:" >&5
! 7060: sed 's/^/| /' conftest.$ac_ext >&5
! 7061:
! 7062: ac_header_preproc=no
! 7063: fi
! 7064:
! 7065: rm -f conftest.err conftest.$ac_ext
! 7066: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 7067: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 7068:
! 7069: # So? What about this header?
! 7070: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 7071: yes:no: )
! 7072: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 7073: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 7074: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 7075: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 7076: ac_header_preproc=yes
! 7077: ;;
! 7078: no:yes:* )
! 7079: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 7080: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 7081: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 7082: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 7083: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 7084: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 7085: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 7086: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 7087: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 7088: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 7089: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 7090: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 7091: ( cat <<\_ASBOX
! 7092: ## --------------------------------- ##
! 7093: ## Report this to dhcp-users@isc.org ##
! 7094: ## --------------------------------- ##
! 7095: _ASBOX
! 7096: ) | sed "s/^/$as_me: WARNING: /" >&2
! 7097: ;;
! 7098: esac
! 7099: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 7100: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 7101: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 7102: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7103: else
! 7104: eval "$as_ac_Header=\$ac_header_preproc"
! 7105: fi
! 7106: ac_res=`eval echo '${'$as_ac_Header'}'`
! 7107: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 7108: echo "${ECHO_T}$ac_res" >&6; }
! 7109:
! 7110: fi
! 7111: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 7112: cat >>confdefs.h <<_ACEOF
! 7113: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 7114: _ACEOF
! 7115:
! 7116: fi
! 7117:
! 7118: done
! 7119:
! 7120:
! 7121: # Solaris needs some libraries for functions
! 7122: { echo "$as_me:$LINENO: checking for library containing socket" >&5
! 7123: echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
! 7124: if test "${ac_cv_search_socket+set}" = set; then
! 7125: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7126: else
! 7127: ac_func_search_save_LIBS=$LIBS
! 7128: cat >conftest.$ac_ext <<_ACEOF
! 7129: /* confdefs.h. */
! 7130: _ACEOF
! 7131: cat confdefs.h >>conftest.$ac_ext
! 7132: cat >>conftest.$ac_ext <<_ACEOF
! 7133: /* end confdefs.h. */
! 7134:
! 7135: /* Override any GCC internal prototype to avoid an error.
! 7136: Use char because int might match the return type of a GCC
! 7137: builtin and then its argument prototype would still apply. */
! 7138: #ifdef __cplusplus
! 7139: extern "C"
! 7140: #endif
! 7141: char socket ();
! 7142: int
! 7143: main ()
! 7144: {
! 7145: return socket ();
! 7146: ;
! 7147: return 0;
! 7148: }
! 7149: _ACEOF
! 7150: for ac_lib in '' socket; do
! 7151: if test -z "$ac_lib"; then
! 7152: ac_res="none required"
! 7153: else
! 7154: ac_res=-l$ac_lib
! 7155: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 7156: fi
! 7157: rm -f conftest.$ac_objext conftest$ac_exeext
! 7158: if { (ac_try="$ac_link"
! 7159: case "(($ac_try" in
! 7160: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7161: *) ac_try_echo=$ac_try;;
! 7162: esac
! 7163: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7164: (eval "$ac_link") 2>conftest.er1
! 7165: ac_status=$?
! 7166: grep -v '^ *+' conftest.er1 >conftest.err
! 7167: rm -f conftest.er1
! 7168: cat conftest.err >&5
! 7169: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7170: (exit $ac_status); } && {
! 7171: test -z "$ac_c_werror_flag" ||
! 7172: test ! -s conftest.err
! 7173: } && test -s conftest$ac_exeext &&
! 7174: $as_test_x conftest$ac_exeext; then
! 7175: ac_cv_search_socket=$ac_res
! 7176: else
! 7177: echo "$as_me: failed program was:" >&5
! 7178: sed 's/^/| /' conftest.$ac_ext >&5
! 7179:
! 7180:
! 7181: fi
! 7182:
! 7183: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7184: conftest$ac_exeext
! 7185: if test "${ac_cv_search_socket+set}" = set; then
! 7186: break
! 7187: fi
! 7188: done
! 7189: if test "${ac_cv_search_socket+set}" = set; then
! 7190: :
! 7191: else
! 7192: ac_cv_search_socket=no
! 7193: fi
! 7194: rm conftest.$ac_ext
! 7195: LIBS=$ac_func_search_save_LIBS
! 7196: fi
! 7197: { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
! 7198: echo "${ECHO_T}$ac_cv_search_socket" >&6; }
! 7199: ac_res=$ac_cv_search_socket
! 7200: if test "$ac_res" != no; then
! 7201: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 7202:
! 7203: fi
! 7204:
! 7205: { echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
! 7206: echo $ECHO_N "checking for library containing inet_ntoa... $ECHO_C" >&6; }
! 7207: if test "${ac_cv_search_inet_ntoa+set}" = set; then
! 7208: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7209: else
! 7210: ac_func_search_save_LIBS=$LIBS
! 7211: cat >conftest.$ac_ext <<_ACEOF
! 7212: /* confdefs.h. */
! 7213: _ACEOF
! 7214: cat confdefs.h >>conftest.$ac_ext
! 7215: cat >>conftest.$ac_ext <<_ACEOF
! 7216: /* end confdefs.h. */
! 7217:
! 7218: /* Override any GCC internal prototype to avoid an error.
! 7219: Use char because int might match the return type of a GCC
! 7220: builtin and then its argument prototype would still apply. */
! 7221: #ifdef __cplusplus
! 7222: extern "C"
! 7223: #endif
! 7224: char inet_ntoa ();
! 7225: int
! 7226: main ()
! 7227: {
! 7228: return inet_ntoa ();
! 7229: ;
! 7230: return 0;
! 7231: }
! 7232: _ACEOF
! 7233: for ac_lib in '' nsl; do
! 7234: if test -z "$ac_lib"; then
! 7235: ac_res="none required"
! 7236: else
! 7237: ac_res=-l$ac_lib
! 7238: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 7239: fi
! 7240: rm -f conftest.$ac_objext conftest$ac_exeext
! 7241: if { (ac_try="$ac_link"
! 7242: case "(($ac_try" in
! 7243: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7244: *) ac_try_echo=$ac_try;;
! 7245: esac
! 7246: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7247: (eval "$ac_link") 2>conftest.er1
! 7248: ac_status=$?
! 7249: grep -v '^ *+' conftest.er1 >conftest.err
! 7250: rm -f conftest.er1
! 7251: cat conftest.err >&5
! 7252: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7253: (exit $ac_status); } && {
! 7254: test -z "$ac_c_werror_flag" ||
! 7255: test ! -s conftest.err
! 7256: } && test -s conftest$ac_exeext &&
! 7257: $as_test_x conftest$ac_exeext; then
! 7258: ac_cv_search_inet_ntoa=$ac_res
! 7259: else
! 7260: echo "$as_me: failed program was:" >&5
! 7261: sed 's/^/| /' conftest.$ac_ext >&5
! 7262:
! 7263:
! 7264: fi
! 7265:
! 7266: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7267: conftest$ac_exeext
! 7268: if test "${ac_cv_search_inet_ntoa+set}" = set; then
! 7269: break
! 7270: fi
! 7271: done
! 7272: if test "${ac_cv_search_inet_ntoa+set}" = set; then
! 7273: :
! 7274: else
! 7275: ac_cv_search_inet_ntoa=no
! 7276: fi
! 7277: rm conftest.$ac_ext
! 7278: LIBS=$ac_func_search_save_LIBS
! 7279: fi
! 7280: { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
! 7281: echo "${ECHO_T}$ac_cv_search_inet_ntoa" >&6; }
! 7282: ac_res=$ac_cv_search_inet_ntoa
! 7283: if test "$ac_res" != no; then
! 7284: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 7285:
! 7286: fi
! 7287:
! 7288:
! 7289: { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
! 7290: echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
! 7291: if test "${ac_cv_search_inet_aton+set}" = set; then
! 7292: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7293: else
! 7294: ac_func_search_save_LIBS=$LIBS
! 7295: cat >conftest.$ac_ext <<_ACEOF
! 7296: /* confdefs.h. */
! 7297: _ACEOF
! 7298: cat confdefs.h >>conftest.$ac_ext
! 7299: cat >>conftest.$ac_ext <<_ACEOF
! 7300: /* end confdefs.h. */
! 7301:
! 7302: /* Override any GCC internal prototype to avoid an error.
! 7303: Use char because int might match the return type of a GCC
! 7304: builtin and then its argument prototype would still apply. */
! 7305: #ifdef __cplusplus
! 7306: extern "C"
! 7307: #endif
! 7308: char inet_aton ();
! 7309: int
! 7310: main ()
! 7311: {
! 7312: return inet_aton ();
! 7313: ;
! 7314: return 0;
! 7315: }
! 7316: _ACEOF
! 7317: for ac_lib in '' socket nsl; do
! 7318: if test -z "$ac_lib"; then
! 7319: ac_res="none required"
! 7320: else
! 7321: ac_res=-l$ac_lib
! 7322: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 7323: fi
! 7324: rm -f conftest.$ac_objext conftest$ac_exeext
! 7325: if { (ac_try="$ac_link"
! 7326: case "(($ac_try" in
! 7327: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7328: *) ac_try_echo=$ac_try;;
! 7329: esac
! 7330: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7331: (eval "$ac_link") 2>conftest.er1
! 7332: ac_status=$?
! 7333: grep -v '^ *+' conftest.er1 >conftest.err
! 7334: rm -f conftest.er1
! 7335: cat conftest.err >&5
! 7336: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7337: (exit $ac_status); } && {
! 7338: test -z "$ac_c_werror_flag" ||
! 7339: test ! -s conftest.err
! 7340: } && test -s conftest$ac_exeext &&
! 7341: $as_test_x conftest$ac_exeext; then
! 7342: ac_cv_search_inet_aton=$ac_res
! 7343: else
! 7344: echo "$as_me: failed program was:" >&5
! 7345: sed 's/^/| /' conftest.$ac_ext >&5
! 7346:
! 7347:
! 7348: fi
! 7349:
! 7350: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7351: conftest$ac_exeext
! 7352: if test "${ac_cv_search_inet_aton+set}" = set; then
! 7353: break
! 7354: fi
! 7355: done
! 7356: if test "${ac_cv_search_inet_aton+set}" = set; then
! 7357: :
! 7358: else
! 7359: ac_cv_search_inet_aton=no
! 7360: fi
! 7361: rm conftest.$ac_ext
! 7362: LIBS=$ac_func_search_save_LIBS
! 7363: fi
! 7364: { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
! 7365: echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
! 7366: ac_res=$ac_cv_search_inet_aton
! 7367: if test "$ac_res" != no; then
! 7368: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 7369:
! 7370: else
! 7371:
! 7372: cat >>confdefs.h <<\_ACEOF
! 7373: #define NEED_INET_ATON 1
! 7374: _ACEOF
! 7375:
! 7376: fi
! 7377:
! 7378:
! 7379: # Check for a standalone regex library.
! 7380: { echo "$as_me:$LINENO: checking for library containing regcomp" >&5
! 7381: echo $ECHO_N "checking for library containing regcomp... $ECHO_C" >&6; }
! 7382: if test "${ac_cv_search_regcomp+set}" = set; then
! 7383: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7384: else
! 7385: ac_func_search_save_LIBS=$LIBS
! 7386: cat >conftest.$ac_ext <<_ACEOF
! 7387: /* confdefs.h. */
! 7388: _ACEOF
! 7389: cat confdefs.h >>conftest.$ac_ext
! 7390: cat >>conftest.$ac_ext <<_ACEOF
! 7391: /* end confdefs.h. */
! 7392:
! 7393: /* Override any GCC internal prototype to avoid an error.
! 7394: Use char because int might match the return type of a GCC
! 7395: builtin and then its argument prototype would still apply. */
! 7396: #ifdef __cplusplus
! 7397: extern "C"
! 7398: #endif
! 7399: char regcomp ();
! 7400: int
! 7401: main ()
! 7402: {
! 7403: return regcomp ();
! 7404: ;
! 7405: return 0;
! 7406: }
! 7407: _ACEOF
! 7408: for ac_lib in '' regex; do
! 7409: if test -z "$ac_lib"; then
! 7410: ac_res="none required"
! 7411: else
! 7412: ac_res=-l$ac_lib
! 7413: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 7414: fi
! 7415: rm -f conftest.$ac_objext conftest$ac_exeext
! 7416: if { (ac_try="$ac_link"
! 7417: case "(($ac_try" in
! 7418: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7419: *) ac_try_echo=$ac_try;;
! 7420: esac
! 7421: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7422: (eval "$ac_link") 2>conftest.er1
! 7423: ac_status=$?
! 7424: grep -v '^ *+' conftest.er1 >conftest.err
! 7425: rm -f conftest.er1
! 7426: cat conftest.err >&5
! 7427: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7428: (exit $ac_status); } && {
! 7429: test -z "$ac_c_werror_flag" ||
! 7430: test ! -s conftest.err
! 7431: } && test -s conftest$ac_exeext &&
! 7432: $as_test_x conftest$ac_exeext; then
! 7433: ac_cv_search_regcomp=$ac_res
! 7434: else
! 7435: echo "$as_me: failed program was:" >&5
! 7436: sed 's/^/| /' conftest.$ac_ext >&5
! 7437:
! 7438:
! 7439: fi
! 7440:
! 7441: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7442: conftest$ac_exeext
! 7443: if test "${ac_cv_search_regcomp+set}" = set; then
! 7444: break
! 7445: fi
! 7446: done
! 7447: if test "${ac_cv_search_regcomp+set}" = set; then
! 7448: :
! 7449: else
! 7450: ac_cv_search_regcomp=no
! 7451: fi
! 7452: rm conftest.$ac_ext
! 7453: LIBS=$ac_func_search_save_LIBS
! 7454: fi
! 7455: { echo "$as_me:$LINENO: result: $ac_cv_search_regcomp" >&5
! 7456: echo "${ECHO_T}$ac_cv_search_regcomp" >&6; }
! 7457: ac_res=$ac_cv_search_regcomp
! 7458: if test "$ac_res" != no; then
! 7459: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 7460:
! 7461: fi
! 7462:
! 7463:
! 7464: # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
! 7465: { echo "$as_me:$LINENO: checking for library containing if_nametoindex" >&5
! 7466: echo $ECHO_N "checking for library containing if_nametoindex... $ECHO_C" >&6; }
! 7467: if test "${ac_cv_search_if_nametoindex+set}" = set; then
! 7468: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7469: else
! 7470: ac_func_search_save_LIBS=$LIBS
! 7471: cat >conftest.$ac_ext <<_ACEOF
! 7472: /* confdefs.h. */
! 7473: _ACEOF
! 7474: cat confdefs.h >>conftest.$ac_ext
! 7475: cat >>conftest.$ac_ext <<_ACEOF
! 7476: /* end confdefs.h. */
! 7477:
! 7478: /* Override any GCC internal prototype to avoid an error.
! 7479: Use char because int might match the return type of a GCC
! 7480: builtin and then its argument prototype would still apply. */
! 7481: #ifdef __cplusplus
! 7482: extern "C"
! 7483: #endif
! 7484: char if_nametoindex ();
! 7485: int
! 7486: main ()
! 7487: {
! 7488: return if_nametoindex ();
! 7489: ;
! 7490: return 0;
! 7491: }
! 7492: _ACEOF
! 7493: for ac_lib in '' ipv6; do
! 7494: if test -z "$ac_lib"; then
! 7495: ac_res="none required"
! 7496: else
! 7497: ac_res=-l$ac_lib
! 7498: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 7499: fi
! 7500: rm -f conftest.$ac_objext conftest$ac_exeext
! 7501: if { (ac_try="$ac_link"
! 7502: case "(($ac_try" in
! 7503: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7504: *) ac_try_echo=$ac_try;;
! 7505: esac
! 7506: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7507: (eval "$ac_link") 2>conftest.er1
! 7508: ac_status=$?
! 7509: grep -v '^ *+' conftest.er1 >conftest.err
! 7510: rm -f conftest.er1
! 7511: cat conftest.err >&5
! 7512: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7513: (exit $ac_status); } && {
! 7514: test -z "$ac_c_werror_flag" ||
! 7515: test ! -s conftest.err
! 7516: } && test -s conftest$ac_exeext &&
! 7517: $as_test_x conftest$ac_exeext; then
! 7518: ac_cv_search_if_nametoindex=$ac_res
! 7519: else
! 7520: echo "$as_me: failed program was:" >&5
! 7521: sed 's/^/| /' conftest.$ac_ext >&5
! 7522:
! 7523:
! 7524: fi
! 7525:
! 7526: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 7527: conftest$ac_exeext
! 7528: if test "${ac_cv_search_if_nametoindex+set}" = set; then
! 7529: break
! 7530: fi
! 7531: done
! 7532: if test "${ac_cv_search_if_nametoindex+set}" = set; then
! 7533: :
! 7534: else
! 7535: ac_cv_search_if_nametoindex=no
! 7536: fi
! 7537: rm conftest.$ac_ext
! 7538: LIBS=$ac_func_search_save_LIBS
! 7539: fi
! 7540: { echo "$as_me:$LINENO: result: $ac_cv_search_if_nametoindex" >&5
! 7541: echo "${ECHO_T}$ac_cv_search_if_nametoindex" >&6; }
! 7542: ac_res=$ac_cv_search_if_nametoindex
! 7543: if test "$ac_res" != no; then
! 7544: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 7545:
! 7546: fi
! 7547:
! 7548:
! 7549: # check for /dev/random (declares HAVE_DEV_RANDOM)
! 7550: { echo "$as_me:$LINENO: checking for /dev/random" >&5
! 7551: echo $ECHO_N "checking for /dev/random... $ECHO_C" >&6; }
! 7552: if test "${ac_cv_file__dev_random+set}" = set; then
! 7553: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7554: else
! 7555: test "$cross_compiling" = yes &&
! 7556: { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
! 7557: echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
! 7558: { (exit 1); exit 1; }; }
! 7559: if test -r "/dev/random"; then
! 7560: ac_cv_file__dev_random=yes
! 7561: else
! 7562: ac_cv_file__dev_random=no
! 7563: fi
! 7564: fi
! 7565: { echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&5
! 7566: echo "${ECHO_T}$ac_cv_file__dev_random" >&6; }
! 7567: if test $ac_cv_file__dev_random = yes; then
! 7568:
! 7569: cat >>confdefs.h <<\_ACEOF
! 7570: #define HAVE_DEV_RANDOM 1
! 7571: _ACEOF
! 7572:
! 7573: fi
! 7574:
! 7575:
! 7576: # see if there is a "sa_len" field in our interface information structure
! 7577: { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
! 7578: echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
! 7579: if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
! 7580: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7581: else
! 7582: cat >conftest.$ac_ext <<_ACEOF
! 7583: /* confdefs.h. */
! 7584: _ACEOF
! 7585: cat confdefs.h >>conftest.$ac_ext
! 7586: cat >>conftest.$ac_ext <<_ACEOF
! 7587: /* end confdefs.h. */
! 7588: #include <sys/socket.h>
! 7589:
! 7590: int
! 7591: main ()
! 7592: {
! 7593: static struct sockaddr ac_aggr;
! 7594: if (ac_aggr.sa_len)
! 7595: return 0;
! 7596: ;
! 7597: return 0;
! 7598: }
! 7599: _ACEOF
! 7600: rm -f conftest.$ac_objext
! 7601: if { (ac_try="$ac_compile"
! 7602: case "(($ac_try" in
! 7603: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7604: *) ac_try_echo=$ac_try;;
! 7605: esac
! 7606: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7607: (eval "$ac_compile") 2>conftest.er1
! 7608: ac_status=$?
! 7609: grep -v '^ *+' conftest.er1 >conftest.err
! 7610: rm -f conftest.er1
! 7611: cat conftest.err >&5
! 7612: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7613: (exit $ac_status); } && {
! 7614: test -z "$ac_c_werror_flag" ||
! 7615: test ! -s conftest.err
! 7616: } && test -s conftest.$ac_objext; then
! 7617: ac_cv_member_struct_sockaddr_sa_len=yes
! 7618: else
! 7619: echo "$as_me: failed program was:" >&5
! 7620: sed 's/^/| /' conftest.$ac_ext >&5
! 7621:
! 7622: cat >conftest.$ac_ext <<_ACEOF
! 7623: /* confdefs.h. */
! 7624: _ACEOF
! 7625: cat confdefs.h >>conftest.$ac_ext
! 7626: cat >>conftest.$ac_ext <<_ACEOF
! 7627: /* end confdefs.h. */
! 7628: #include <sys/socket.h>
! 7629:
! 7630: int
! 7631: main ()
! 7632: {
! 7633: static struct sockaddr ac_aggr;
! 7634: if (sizeof ac_aggr.sa_len)
! 7635: return 0;
! 7636: ;
! 7637: return 0;
! 7638: }
! 7639: _ACEOF
! 7640: rm -f conftest.$ac_objext
! 7641: if { (ac_try="$ac_compile"
! 7642: case "(($ac_try" in
! 7643: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7644: *) ac_try_echo=$ac_try;;
! 7645: esac
! 7646: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7647: (eval "$ac_compile") 2>conftest.er1
! 7648: ac_status=$?
! 7649: grep -v '^ *+' conftest.er1 >conftest.err
! 7650: rm -f conftest.er1
! 7651: cat conftest.err >&5
! 7652: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7653: (exit $ac_status); } && {
! 7654: test -z "$ac_c_werror_flag" ||
! 7655: test ! -s conftest.err
! 7656: } && test -s conftest.$ac_objext; then
! 7657: ac_cv_member_struct_sockaddr_sa_len=yes
! 7658: else
! 7659: echo "$as_me: failed program was:" >&5
! 7660: sed 's/^/| /' conftest.$ac_ext >&5
! 7661:
! 7662: ac_cv_member_struct_sockaddr_sa_len=no
! 7663: fi
! 7664:
! 7665: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7666: fi
! 7667:
! 7668: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7669: fi
! 7670: { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
! 7671: echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
! 7672: if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
! 7673:
! 7674: cat >>confdefs.h <<\_ACEOF
! 7675: #define HAVE_SA_LEN
! 7676: _ACEOF
! 7677:
! 7678: fi
! 7679:
! 7680:
! 7681: # figure out pointer size
! 7682: { echo "$as_me:$LINENO: checking for struct iaddr *" >&5
! 7683: echo $ECHO_N "checking for struct iaddr *... $ECHO_C" >&6; }
! 7684: if test "${ac_cv_type_struct_iaddr_p+set}" = set; then
! 7685: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7686: else
! 7687: cat >conftest.$ac_ext <<_ACEOF
! 7688: /* confdefs.h. */
! 7689: _ACEOF
! 7690: cat confdefs.h >>conftest.$ac_ext
! 7691: cat >>conftest.$ac_ext <<_ACEOF
! 7692: /* end confdefs.h. */
! 7693:
! 7694: #include "includes/inet.h"
! 7695: #include <stdio.h>
! 7696:
! 7697:
! 7698: typedef struct iaddr * ac__type_new_;
! 7699: int
! 7700: main ()
! 7701: {
! 7702: if ((ac__type_new_ *) 0)
! 7703: return 0;
! 7704: if (sizeof (ac__type_new_))
! 7705: return 0;
! 7706: ;
! 7707: return 0;
! 7708: }
! 7709: _ACEOF
! 7710: rm -f conftest.$ac_objext
! 7711: if { (ac_try="$ac_compile"
! 7712: case "(($ac_try" in
! 7713: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7714: *) ac_try_echo=$ac_try;;
! 7715: esac
! 7716: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7717: (eval "$ac_compile") 2>conftest.er1
! 7718: ac_status=$?
! 7719: grep -v '^ *+' conftest.er1 >conftest.err
! 7720: rm -f conftest.er1
! 7721: cat conftest.err >&5
! 7722: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7723: (exit $ac_status); } && {
! 7724: test -z "$ac_c_werror_flag" ||
! 7725: test ! -s conftest.err
! 7726: } && test -s conftest.$ac_objext; then
! 7727: ac_cv_type_struct_iaddr_p=yes
! 7728: else
! 7729: echo "$as_me: failed program was:" >&5
! 7730: sed 's/^/| /' conftest.$ac_ext >&5
! 7731:
! 7732: ac_cv_type_struct_iaddr_p=no
! 7733: fi
! 7734:
! 7735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7736: fi
! 7737: { echo "$as_me:$LINENO: result: $ac_cv_type_struct_iaddr_p" >&5
! 7738: echo "${ECHO_T}$ac_cv_type_struct_iaddr_p" >&6; }
! 7739:
! 7740: # The cast to long int works around a bug in the HP C Compiler
! 7741: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 7742: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 7743: # This bug is HP SR number 8606223364.
! 7744: { echo "$as_me:$LINENO: checking size of struct iaddr *" >&5
! 7745: echo $ECHO_N "checking size of struct iaddr *... $ECHO_C" >&6; }
! 7746: if test "${ac_cv_sizeof_struct_iaddr_p+set}" = set; then
! 7747: echo $ECHO_N "(cached) $ECHO_C" >&6
! 7748: else
! 7749: if test "$cross_compiling" = yes; then
! 7750: # Depending upon the size, compute the lo and hi bounds.
! 7751: cat >conftest.$ac_ext <<_ACEOF
! 7752: /* confdefs.h. */
! 7753: _ACEOF
! 7754: cat confdefs.h >>conftest.$ac_ext
! 7755: cat >>conftest.$ac_ext <<_ACEOF
! 7756: /* end confdefs.h. */
! 7757:
! 7758: #include "includes/inet.h"
! 7759: #include <stdio.h>
! 7760:
! 7761:
! 7762: typedef struct iaddr * ac__type_sizeof_;
! 7763: int
! 7764: main ()
! 7765: {
! 7766: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
! 7767: test_array [0] = 0
! 7768:
! 7769: ;
! 7770: return 0;
! 7771: }
! 7772: _ACEOF
! 7773: rm -f conftest.$ac_objext
! 7774: if { (ac_try="$ac_compile"
! 7775: case "(($ac_try" in
! 7776: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7777: *) ac_try_echo=$ac_try;;
! 7778: esac
! 7779: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7780: (eval "$ac_compile") 2>conftest.er1
! 7781: ac_status=$?
! 7782: grep -v '^ *+' conftest.er1 >conftest.err
! 7783: rm -f conftest.er1
! 7784: cat conftest.err >&5
! 7785: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7786: (exit $ac_status); } && {
! 7787: test -z "$ac_c_werror_flag" ||
! 7788: test ! -s conftest.err
! 7789: } && test -s conftest.$ac_objext; then
! 7790: ac_lo=0 ac_mid=0
! 7791: while :; do
! 7792: cat >conftest.$ac_ext <<_ACEOF
! 7793: /* confdefs.h. */
! 7794: _ACEOF
! 7795: cat confdefs.h >>conftest.$ac_ext
! 7796: cat >>conftest.$ac_ext <<_ACEOF
! 7797: /* end confdefs.h. */
! 7798:
! 7799: #include "includes/inet.h"
! 7800: #include <stdio.h>
! 7801:
! 7802:
! 7803: typedef struct iaddr * ac__type_sizeof_;
! 7804: int
! 7805: main ()
! 7806: {
! 7807: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
! 7808: test_array [0] = 0
! 7809:
! 7810: ;
! 7811: return 0;
! 7812: }
! 7813: _ACEOF
! 7814: rm -f conftest.$ac_objext
! 7815: if { (ac_try="$ac_compile"
! 7816: case "(($ac_try" in
! 7817: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7818: *) ac_try_echo=$ac_try;;
! 7819: esac
! 7820: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7821: (eval "$ac_compile") 2>conftest.er1
! 7822: ac_status=$?
! 7823: grep -v '^ *+' conftest.er1 >conftest.err
! 7824: rm -f conftest.er1
! 7825: cat conftest.err >&5
! 7826: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7827: (exit $ac_status); } && {
! 7828: test -z "$ac_c_werror_flag" ||
! 7829: test ! -s conftest.err
! 7830: } && test -s conftest.$ac_objext; then
! 7831: ac_hi=$ac_mid; break
! 7832: else
! 7833: echo "$as_me: failed program was:" >&5
! 7834: sed 's/^/| /' conftest.$ac_ext >&5
! 7835:
! 7836: ac_lo=`expr $ac_mid + 1`
! 7837: if test $ac_lo -le $ac_mid; then
! 7838: ac_lo= ac_hi=
! 7839: break
! 7840: fi
! 7841: ac_mid=`expr 2 '*' $ac_mid + 1`
! 7842: fi
! 7843:
! 7844: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7845: done
! 7846: else
! 7847: echo "$as_me: failed program was:" >&5
! 7848: sed 's/^/| /' conftest.$ac_ext >&5
! 7849:
! 7850: cat >conftest.$ac_ext <<_ACEOF
! 7851: /* confdefs.h. */
! 7852: _ACEOF
! 7853: cat confdefs.h >>conftest.$ac_ext
! 7854: cat >>conftest.$ac_ext <<_ACEOF
! 7855: /* end confdefs.h. */
! 7856:
! 7857: #include "includes/inet.h"
! 7858: #include <stdio.h>
! 7859:
! 7860:
! 7861: typedef struct iaddr * ac__type_sizeof_;
! 7862: int
! 7863: main ()
! 7864: {
! 7865: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
! 7866: test_array [0] = 0
! 7867:
! 7868: ;
! 7869: return 0;
! 7870: }
! 7871: _ACEOF
! 7872: rm -f conftest.$ac_objext
! 7873: if { (ac_try="$ac_compile"
! 7874: case "(($ac_try" in
! 7875: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7876: *) ac_try_echo=$ac_try;;
! 7877: esac
! 7878: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7879: (eval "$ac_compile") 2>conftest.er1
! 7880: ac_status=$?
! 7881: grep -v '^ *+' conftest.er1 >conftest.err
! 7882: rm -f conftest.er1
! 7883: cat conftest.err >&5
! 7884: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7885: (exit $ac_status); } && {
! 7886: test -z "$ac_c_werror_flag" ||
! 7887: test ! -s conftest.err
! 7888: } && test -s conftest.$ac_objext; then
! 7889: ac_hi=-1 ac_mid=-1
! 7890: while :; do
! 7891: cat >conftest.$ac_ext <<_ACEOF
! 7892: /* confdefs.h. */
! 7893: _ACEOF
! 7894: cat confdefs.h >>conftest.$ac_ext
! 7895: cat >>conftest.$ac_ext <<_ACEOF
! 7896: /* end confdefs.h. */
! 7897:
! 7898: #include "includes/inet.h"
! 7899: #include <stdio.h>
! 7900:
! 7901:
! 7902: typedef struct iaddr * ac__type_sizeof_;
! 7903: int
! 7904: main ()
! 7905: {
! 7906: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
! 7907: test_array [0] = 0
! 7908:
! 7909: ;
! 7910: return 0;
! 7911: }
! 7912: _ACEOF
! 7913: rm -f conftest.$ac_objext
! 7914: if { (ac_try="$ac_compile"
! 7915: case "(($ac_try" in
! 7916: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7917: *) ac_try_echo=$ac_try;;
! 7918: esac
! 7919: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7920: (eval "$ac_compile") 2>conftest.er1
! 7921: ac_status=$?
! 7922: grep -v '^ *+' conftest.er1 >conftest.err
! 7923: rm -f conftest.er1
! 7924: cat conftest.err >&5
! 7925: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7926: (exit $ac_status); } && {
! 7927: test -z "$ac_c_werror_flag" ||
! 7928: test ! -s conftest.err
! 7929: } && test -s conftest.$ac_objext; then
! 7930: ac_lo=$ac_mid; break
! 7931: else
! 7932: echo "$as_me: failed program was:" >&5
! 7933: sed 's/^/| /' conftest.$ac_ext >&5
! 7934:
! 7935: ac_hi=`expr '(' $ac_mid ')' - 1`
! 7936: if test $ac_mid -le $ac_hi; then
! 7937: ac_lo= ac_hi=
! 7938: break
! 7939: fi
! 7940: ac_mid=`expr 2 '*' $ac_mid`
! 7941: fi
! 7942:
! 7943: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7944: done
! 7945: else
! 7946: echo "$as_me: failed program was:" >&5
! 7947: sed 's/^/| /' conftest.$ac_ext >&5
! 7948:
! 7949: ac_lo= ac_hi=
! 7950: fi
! 7951:
! 7952: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7953: fi
! 7954:
! 7955: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7956: # Binary search between lo and hi bounds.
! 7957: while test "x$ac_lo" != "x$ac_hi"; do
! 7958: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 7959: cat >conftest.$ac_ext <<_ACEOF
! 7960: /* confdefs.h. */
! 7961: _ACEOF
! 7962: cat confdefs.h >>conftest.$ac_ext
! 7963: cat >>conftest.$ac_ext <<_ACEOF
! 7964: /* end confdefs.h. */
! 7965:
! 7966: #include "includes/inet.h"
! 7967: #include <stdio.h>
! 7968:
! 7969:
! 7970: typedef struct iaddr * ac__type_sizeof_;
! 7971: int
! 7972: main ()
! 7973: {
! 7974: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
! 7975: test_array [0] = 0
! 7976:
! 7977: ;
! 7978: return 0;
! 7979: }
! 7980: _ACEOF
! 7981: rm -f conftest.$ac_objext
! 7982: if { (ac_try="$ac_compile"
! 7983: case "(($ac_try" in
! 7984: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 7985: *) ac_try_echo=$ac_try;;
! 7986: esac
! 7987: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 7988: (eval "$ac_compile") 2>conftest.er1
! 7989: ac_status=$?
! 7990: grep -v '^ *+' conftest.er1 >conftest.err
! 7991: rm -f conftest.er1
! 7992: cat conftest.err >&5
! 7993: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 7994: (exit $ac_status); } && {
! 7995: test -z "$ac_c_werror_flag" ||
! 7996: test ! -s conftest.err
! 7997: } && test -s conftest.$ac_objext; then
! 7998: ac_hi=$ac_mid
! 7999: else
! 8000: echo "$as_me: failed program was:" >&5
! 8001: sed 's/^/| /' conftest.$ac_ext >&5
! 8002:
! 8003: ac_lo=`expr '(' $ac_mid ')' + 1`
! 8004: fi
! 8005:
! 8006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8007: done
! 8008: case $ac_lo in
! 8009: ?*) ac_cv_sizeof_struct_iaddr_p=$ac_lo;;
! 8010: '') if test "$ac_cv_type_struct_iaddr_p" = yes; then
! 8011: { { echo "$as_me:$LINENO: error: cannot compute sizeof (struct iaddr *)
! 8012: See \`config.log' for more details." >&5
! 8013: echo "$as_me: error: cannot compute sizeof (struct iaddr *)
! 8014: See \`config.log' for more details." >&2;}
! 8015: { (exit 77); exit 77; }; }
! 8016: else
! 8017: ac_cv_sizeof_struct_iaddr_p=0
! 8018: fi ;;
! 8019: esac
! 8020: else
! 8021: cat >conftest.$ac_ext <<_ACEOF
! 8022: /* confdefs.h. */
! 8023: _ACEOF
! 8024: cat confdefs.h >>conftest.$ac_ext
! 8025: cat >>conftest.$ac_ext <<_ACEOF
! 8026: /* end confdefs.h. */
! 8027:
! 8028: #include "includes/inet.h"
! 8029: #include <stdio.h>
! 8030:
! 8031:
! 8032: typedef struct iaddr * ac__type_sizeof_;
! 8033: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
! 8034: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
! 8035: #include <stdio.h>
! 8036: #include <stdlib.h>
! 8037: int
! 8038: main ()
! 8039: {
! 8040:
! 8041: FILE *f = fopen ("conftest.val", "w");
! 8042: if (! f)
! 8043: return 1;
! 8044: if (((long int) (sizeof (ac__type_sizeof_))) < 0)
! 8045: {
! 8046: long int i = longval ();
! 8047: if (i != ((long int) (sizeof (ac__type_sizeof_))))
! 8048: return 1;
! 8049: fprintf (f, "%ld\n", i);
! 8050: }
! 8051: else
! 8052: {
! 8053: unsigned long int i = ulongval ();
! 8054: if (i != ((long int) (sizeof (ac__type_sizeof_))))
! 8055: return 1;
! 8056: fprintf (f, "%lu\n", i);
! 8057: }
! 8058: return ferror (f) || fclose (f) != 0;
! 8059:
! 8060: ;
! 8061: return 0;
! 8062: }
! 8063: _ACEOF
! 8064: rm -f conftest$ac_exeext
! 8065: if { (ac_try="$ac_link"
! 8066: case "(($ac_try" in
! 8067: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8068: *) ac_try_echo=$ac_try;;
! 8069: esac
! 8070: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8071: (eval "$ac_link") 2>&5
! 8072: ac_status=$?
! 8073: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8074: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 8075: { (case "(($ac_try" in
! 8076: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8077: *) ac_try_echo=$ac_try;;
! 8078: esac
! 8079: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8080: (eval "$ac_try") 2>&5
! 8081: ac_status=$?
! 8082: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8083: (exit $ac_status); }; }; then
! 8084: ac_cv_sizeof_struct_iaddr_p=`cat conftest.val`
! 8085: else
! 8086: echo "$as_me: program exited with status $ac_status" >&5
! 8087: echo "$as_me: failed program was:" >&5
! 8088: sed 's/^/| /' conftest.$ac_ext >&5
! 8089:
! 8090: ( exit $ac_status )
! 8091: if test "$ac_cv_type_struct_iaddr_p" = yes; then
! 8092: { { echo "$as_me:$LINENO: error: cannot compute sizeof (struct iaddr *)
! 8093: See \`config.log' for more details." >&5
! 8094: echo "$as_me: error: cannot compute sizeof (struct iaddr *)
! 8095: See \`config.log' for more details." >&2;}
! 8096: { (exit 77); exit 77; }; }
! 8097: else
! 8098: ac_cv_sizeof_struct_iaddr_p=0
! 8099: fi
! 8100: fi
! 8101: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 8102: fi
! 8103: rm -f conftest.val
! 8104: fi
! 8105: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_struct_iaddr_p" >&5
! 8106: echo "${ECHO_T}$ac_cv_sizeof_struct_iaddr_p" >&6; }
! 8107:
! 8108:
! 8109:
! 8110: cat >>confdefs.h <<_ACEOF
! 8111: #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
! 8112: _ACEOF
! 8113:
! 8114:
! 8115:
! 8116: # Solaris does not have the msg_control or msg_controlen members in
! 8117: # in the msghdr structure unless you define:
! 8118: #
! 8119: # _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
! 8120: #
! 8121: # See the "standards" man page for details.
! 8122: #
! 8123: # We check for the msg_control member, and if it is not found, we check
! 8124: # again with the appropriate defines added to the CFLAGS. (In order to
! 8125: # do this we have to remove the check from the cache, which is what the
! 8126: # "unset" is for.)
! 8127: { echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
! 8128: echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6; }
! 8129: if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
! 8130: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8131: else
! 8132: cat >conftest.$ac_ext <<_ACEOF
! 8133: /* confdefs.h. */
! 8134: _ACEOF
! 8135: cat confdefs.h >>conftest.$ac_ext
! 8136: cat >>conftest.$ac_ext <<_ACEOF
! 8137: /* end confdefs.h. */
! 8138:
! 8139: #include <sys/types.h>
! 8140: #include <sys/socket.h>
! 8141:
! 8142:
! 8143: int
! 8144: main ()
! 8145: {
! 8146: static struct msghdr ac_aggr;
! 8147: if (ac_aggr.msg_control)
! 8148: return 0;
! 8149: ;
! 8150: return 0;
! 8151: }
! 8152: _ACEOF
! 8153: rm -f conftest.$ac_objext
! 8154: if { (ac_try="$ac_compile"
! 8155: case "(($ac_try" in
! 8156: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8157: *) ac_try_echo=$ac_try;;
! 8158: esac
! 8159: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8160: (eval "$ac_compile") 2>conftest.er1
! 8161: ac_status=$?
! 8162: grep -v '^ *+' conftest.er1 >conftest.err
! 8163: rm -f conftest.er1
! 8164: cat conftest.err >&5
! 8165: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8166: (exit $ac_status); } && {
! 8167: test -z "$ac_c_werror_flag" ||
! 8168: test ! -s conftest.err
! 8169: } && test -s conftest.$ac_objext; then
! 8170: ac_cv_member_struct_msghdr_msg_control=yes
! 8171: else
! 8172: echo "$as_me: failed program was:" >&5
! 8173: sed 's/^/| /' conftest.$ac_ext >&5
! 8174:
! 8175: cat >conftest.$ac_ext <<_ACEOF
! 8176: /* confdefs.h. */
! 8177: _ACEOF
! 8178: cat confdefs.h >>conftest.$ac_ext
! 8179: cat >>conftest.$ac_ext <<_ACEOF
! 8180: /* end confdefs.h. */
! 8181:
! 8182: #include <sys/types.h>
! 8183: #include <sys/socket.h>
! 8184:
! 8185:
! 8186: int
! 8187: main ()
! 8188: {
! 8189: static struct msghdr ac_aggr;
! 8190: if (sizeof ac_aggr.msg_control)
! 8191: return 0;
! 8192: ;
! 8193: return 0;
! 8194: }
! 8195: _ACEOF
! 8196: rm -f conftest.$ac_objext
! 8197: if { (ac_try="$ac_compile"
! 8198: case "(($ac_try" in
! 8199: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8200: *) ac_try_echo=$ac_try;;
! 8201: esac
! 8202: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8203: (eval "$ac_compile") 2>conftest.er1
! 8204: ac_status=$?
! 8205: grep -v '^ *+' conftest.er1 >conftest.err
! 8206: rm -f conftest.er1
! 8207: cat conftest.err >&5
! 8208: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8209: (exit $ac_status); } && {
! 8210: test -z "$ac_c_werror_flag" ||
! 8211: test ! -s conftest.err
! 8212: } && test -s conftest.$ac_objext; then
! 8213: ac_cv_member_struct_msghdr_msg_control=yes
! 8214: else
! 8215: echo "$as_me: failed program was:" >&5
! 8216: sed 's/^/| /' conftest.$ac_ext >&5
! 8217:
! 8218: ac_cv_member_struct_msghdr_msg_control=no
! 8219: fi
! 8220:
! 8221: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8222: fi
! 8223:
! 8224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8225: fi
! 8226: { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
! 8227: echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6; }
! 8228: if test $ac_cv_member_struct_msghdr_msg_control = yes; then
! 8229: :
! 8230: else
! 8231: CFLAGS="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
! 8232: CFLAGS="$CFLAGS -D__EXTENSIONS__"
! 8233: unset ac_cv_member_struct_msghdr_msg_control
! 8234: { echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
! 8235: echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6; }
! 8236: if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
! 8237: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8238: else
! 8239: cat >conftest.$ac_ext <<_ACEOF
! 8240: /* confdefs.h. */
! 8241: _ACEOF
! 8242: cat confdefs.h >>conftest.$ac_ext
! 8243: cat >>conftest.$ac_ext <<_ACEOF
! 8244: /* end confdefs.h. */
! 8245:
! 8246: #include <sys/types.h>
! 8247: #include <sys/socket.h>
! 8248:
! 8249:
! 8250: int
! 8251: main ()
! 8252: {
! 8253: static struct msghdr ac_aggr;
! 8254: if (ac_aggr.msg_control)
! 8255: return 0;
! 8256: ;
! 8257: return 0;
! 8258: }
! 8259: _ACEOF
! 8260: rm -f conftest.$ac_objext
! 8261: if { (ac_try="$ac_compile"
! 8262: case "(($ac_try" in
! 8263: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8264: *) ac_try_echo=$ac_try;;
! 8265: esac
! 8266: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8267: (eval "$ac_compile") 2>conftest.er1
! 8268: ac_status=$?
! 8269: grep -v '^ *+' conftest.er1 >conftest.err
! 8270: rm -f conftest.er1
! 8271: cat conftest.err >&5
! 8272: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8273: (exit $ac_status); } && {
! 8274: test -z "$ac_c_werror_flag" ||
! 8275: test ! -s conftest.err
! 8276: } && test -s conftest.$ac_objext; then
! 8277: ac_cv_member_struct_msghdr_msg_control=yes
! 8278: else
! 8279: echo "$as_me: failed program was:" >&5
! 8280: sed 's/^/| /' conftest.$ac_ext >&5
! 8281:
! 8282: cat >conftest.$ac_ext <<_ACEOF
! 8283: /* confdefs.h. */
! 8284: _ACEOF
! 8285: cat confdefs.h >>conftest.$ac_ext
! 8286: cat >>conftest.$ac_ext <<_ACEOF
! 8287: /* end confdefs.h. */
! 8288:
! 8289: #include <sys/types.h>
! 8290: #include <sys/socket.h>
! 8291:
! 8292:
! 8293: int
! 8294: main ()
! 8295: {
! 8296: static struct msghdr ac_aggr;
! 8297: if (sizeof ac_aggr.msg_control)
! 8298: return 0;
! 8299: ;
! 8300: return 0;
! 8301: }
! 8302: _ACEOF
! 8303: rm -f conftest.$ac_objext
! 8304: if { (ac_try="$ac_compile"
! 8305: case "(($ac_try" in
! 8306: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8307: *) ac_try_echo=$ac_try;;
! 8308: esac
! 8309: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8310: (eval "$ac_compile") 2>conftest.er1
! 8311: ac_status=$?
! 8312: grep -v '^ *+' conftest.er1 >conftest.err
! 8313: rm -f conftest.er1
! 8314: cat conftest.err >&5
! 8315: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8316: (exit $ac_status); } && {
! 8317: test -z "$ac_c_werror_flag" ||
! 8318: test ! -s conftest.err
! 8319: } && test -s conftest.$ac_objext; then
! 8320: ac_cv_member_struct_msghdr_msg_control=yes
! 8321: else
! 8322: echo "$as_me: failed program was:" >&5
! 8323: sed 's/^/| /' conftest.$ac_ext >&5
! 8324:
! 8325: ac_cv_member_struct_msghdr_msg_control=no
! 8326: fi
! 8327:
! 8328: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8329: fi
! 8330:
! 8331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8332: fi
! 8333: { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
! 8334: echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6; }
! 8335: if test $ac_cv_member_struct_msghdr_msg_control = yes; then
! 8336: :
! 8337: else
! 8338: { { echo "$as_me:$LINENO: error: Missing msg_control member in
! 8339: msg_control structure." >&5
! 8340: echo "$as_me: error: Missing msg_control member in
! 8341: msg_control structure." >&2;}
! 8342: { (exit 1); exit 1; }; }
! 8343: fi
! 8344:
! 8345:
! 8346: fi
! 8347:
! 8348:
! 8349: # Append selected warning levels to CFLAGS before substitution (but after
! 8350: # AC_TRY_COMPILE & etc).
! 8351: CFLAGS="$CFLAGS $STD_CWARNINGS"
! 8352:
! 8353:
! 8354: { echo "$as_me:$LINENO: checking for flexible array members" >&5
! 8355: echo $ECHO_N "checking for flexible array members... $ECHO_C" >&6; }
! 8356: if test "${ac_cv_c_flexmember+set}" = set; then
! 8357: echo $ECHO_N "(cached) $ECHO_C" >&6
! 8358: else
! 8359: cat >conftest.$ac_ext <<_ACEOF
! 8360: /* confdefs.h. */
! 8361: _ACEOF
! 8362: cat confdefs.h >>conftest.$ac_ext
! 8363: cat >>conftest.$ac_ext <<_ACEOF
! 8364: /* end confdefs.h. */
! 8365: #include <stdlib.h>
! 8366: #include <stdio.h>
! 8367: #include <stddef.h>
! 8368: struct s { int n; double d[]; };
! 8369: int
! 8370: main ()
! 8371: {
! 8372: int m = getchar ();
! 8373: struct s *p = malloc (offsetof (struct s, d)
! 8374: + m * sizeof (double));
! 8375: p->d[0] = 0.0;
! 8376: return p->d != (double *) NULL;
! 8377: ;
! 8378: return 0;
! 8379: }
! 8380: _ACEOF
! 8381: rm -f conftest.$ac_objext
! 8382: if { (ac_try="$ac_compile"
! 8383: case "(($ac_try" in
! 8384: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 8385: *) ac_try_echo=$ac_try;;
! 8386: esac
! 8387: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 8388: (eval "$ac_compile") 2>conftest.er1
! 8389: ac_status=$?
! 8390: grep -v '^ *+' conftest.er1 >conftest.err
! 8391: rm -f conftest.er1
! 8392: cat conftest.err >&5
! 8393: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8394: (exit $ac_status); } && {
! 8395: test -z "$ac_c_werror_flag" ||
! 8396: test ! -s conftest.err
! 8397: } && test -s conftest.$ac_objext; then
! 8398: ac_cv_c_flexmember=yes
! 8399: else
! 8400: echo "$as_me: failed program was:" >&5
! 8401: sed 's/^/| /' conftest.$ac_ext >&5
! 8402:
! 8403: ac_cv_c_flexmember=no
! 8404: fi
! 8405:
! 8406: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 8407: fi
! 8408: { echo "$as_me:$LINENO: result: $ac_cv_c_flexmember" >&5
! 8409: echo "${ECHO_T}$ac_cv_c_flexmember" >&6; }
! 8410: if test $ac_cv_c_flexmember = yes; then
! 8411:
! 8412: cat >>confdefs.h <<\_ACEOF
! 8413: #define FLEXIBLE_ARRAY_MEMBER
! 8414: _ACEOF
! 8415:
! 8416: else
! 8417: cat >>confdefs.h <<\_ACEOF
! 8418: #define FLEXIBLE_ARRAY_MEMBER 1
! 8419: _ACEOF
! 8420:
! 8421: fi
! 8422:
! 8423:
! 8424: ac_config_files="$ac_config_files Makefile client/Makefile common/Makefile common/tests/Makefile dhcpctl/Makefile dst/Makefile includes/Makefile minires/Makefile omapip/Makefile relay/Makefile server/Makefile tests/Makefile"
! 8425:
! 8426: cat >confcache <<\_ACEOF
! 8427: # This file is a shell script that caches the results of configure
! 8428: # tests run on this system so they can be shared between configure
! 8429: # scripts and configure runs, see configure's option --config-cache.
! 8430: # It is not useful on other systems. If it contains results you don't
! 8431: # want to keep, you may remove or edit it.
! 8432: #
! 8433: # config.status only pays attention to the cache file if you give it
! 8434: # the --recheck option to rerun configure.
! 8435: #
! 8436: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 8437: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 8438: # following values.
! 8439:
! 8440: _ACEOF
! 8441:
! 8442: # The following way of writing the cache mishandles newlines in values,
! 8443: # but we know of no workaround that is simple, portable, and efficient.
! 8444: # So, we kill variables containing newlines.
! 8445: # Ultrix sh set writes to stderr and can't be redirected directly,
! 8446: # and sets the high bit in the cache file unless we assign to the vars.
! 8447: (
! 8448: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 8449: eval ac_val=\$$ac_var
! 8450: case $ac_val in #(
! 8451: *${as_nl}*)
! 8452: case $ac_var in #(
! 8453: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 8454: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 8455: esac
! 8456: case $ac_var in #(
! 8457: _ | IFS | as_nl) ;; #(
! 8458: *) $as_unset $ac_var ;;
! 8459: esac ;;
! 8460: esac
! 8461: done
! 8462:
! 8463: (set) 2>&1 |
! 8464: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 8465: *${as_nl}ac_space=\ *)
! 8466: # `set' does not quote correctly, so add quotes (double-quote
! 8467: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 8468: sed -n \
! 8469: "s/'/'\\\\''/g;
! 8470: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 8471: ;; #(
! 8472: *)
! 8473: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 8474: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 8475: ;;
! 8476: esac |
! 8477: sort
! 8478: ) |
! 8479: sed '
! 8480: /^ac_cv_env_/b end
! 8481: t clear
! 8482: :clear
! 8483: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 8484: t end
! 8485: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 8486: :end' >>confcache
! 8487: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 8488: if test -w "$cache_file"; then
! 8489: test "x$cache_file" != "x/dev/null" &&
! 8490: { echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 8491: echo "$as_me: updating cache $cache_file" >&6;}
! 8492: cat confcache >$cache_file
! 8493: else
! 8494: { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 8495: echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 8496: fi
! 8497: fi
! 8498: rm -f confcache
! 8499:
! 8500: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 8501: # Let make expand exec_prefix.
! 8502: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 8503:
! 8504: DEFS=-DHAVE_CONFIG_H
! 8505:
! 8506: ac_libobjs=
! 8507: ac_ltlibobjs=
! 8508: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 8509: # 1. Remove the extension, and $U if already installed.
! 8510: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 8511: ac_i=`echo "$ac_i" | sed "$ac_script"`
! 8512: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 8513: # will be set to the directory where LIBOBJS objects are built.
! 8514: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 8515: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 8516: done
! 8517: LIBOBJS=$ac_libobjs
! 8518:
! 8519: LTLIBOBJS=$ac_ltlibobjs
! 8520:
! 8521:
! 8522: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
! 8523: { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
! 8524: Usually this means the macro was only invoked conditionally." >&5
! 8525: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
! 8526: Usually this means the macro was only invoked conditionally." >&2;}
! 8527: { (exit 1); exit 1; }; }
! 8528: fi
! 8529: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 8530: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 8531: Usually this means the macro was only invoked conditionally." >&5
! 8532: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 8533: Usually this means the macro was only invoked conditionally." >&2;}
! 8534: { (exit 1); exit 1; }; }
! 8535: fi
! 8536: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 8537: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 8538: Usually this means the macro was only invoked conditionally." >&5
! 8539: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 8540: Usually this means the macro was only invoked conditionally." >&2;}
! 8541: { (exit 1); exit 1; }; }
! 8542: fi
! 8543:
! 8544: : ${CONFIG_STATUS=./config.status}
! 8545: ac_clean_files_save=$ac_clean_files
! 8546: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 8547: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 8548: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 8549: cat >$CONFIG_STATUS <<_ACEOF
! 8550: #! $SHELL
! 8551: # Generated by $as_me.
! 8552: # Run this file to recreate the current configuration.
! 8553: # Compiler output produced by configure, useful for debugging
! 8554: # configure, is in config.log if it exists.
! 8555:
! 8556: debug=false
! 8557: ac_cs_recheck=false
! 8558: ac_cs_silent=false
! 8559: SHELL=\${CONFIG_SHELL-$SHELL}
! 8560: _ACEOF
! 8561:
! 8562: cat >>$CONFIG_STATUS <<\_ACEOF
! 8563: ## --------------------- ##
! 8564: ## M4sh Initialization. ##
! 8565: ## --------------------- ##
! 8566:
! 8567: # Be more Bourne compatible
! 8568: DUALCASE=1; export DUALCASE # for MKS sh
! 8569: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 8570: emulate sh
! 8571: NULLCMD=:
! 8572: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 8573: # is contrary to our usage. Disable this feature.
! 8574: alias -g '${1+"$@"}'='"$@"'
! 8575: setopt NO_GLOB_SUBST
! 8576: else
! 8577: case `(set -o) 2>/dev/null` in
! 8578: *posix*) set -o posix ;;
! 8579: esac
! 8580:
! 8581: fi
! 8582:
! 8583:
! 8584:
! 8585:
! 8586: # PATH needs CR
! 8587: # Avoid depending upon Character Ranges.
! 8588: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 8589: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 8590: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 8591: as_cr_digits='0123456789'
! 8592: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 8593:
! 8594: # The user is always right.
! 8595: if test "${PATH_SEPARATOR+set}" != set; then
! 8596: echo "#! /bin/sh" >conf$$.sh
! 8597: echo "exit 0" >>conf$$.sh
! 8598: chmod +x conf$$.sh
! 8599: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 8600: PATH_SEPARATOR=';'
! 8601: else
! 8602: PATH_SEPARATOR=:
! 8603: fi
! 8604: rm -f conf$$.sh
! 8605: fi
! 8606:
! 8607: # Support unset when possible.
! 8608: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 8609: as_unset=unset
! 8610: else
! 8611: as_unset=false
! 8612: fi
! 8613:
! 8614:
! 8615: # IFS
! 8616: # We need space, tab and new line, in precisely that order. Quoting is
! 8617: # there to prevent editors from complaining about space-tab.
! 8618: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 8619: # splitting by setting IFS to empty value.)
! 8620: as_nl='
! 8621: '
! 8622: IFS=" "" $as_nl"
! 8623:
! 8624: # Find who we are. Look in the path if we contain no directory separator.
! 8625: case $0 in
! 8626: *[\\/]* ) as_myself=$0 ;;
! 8627: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8628: for as_dir in $PATH
! 8629: do
! 8630: IFS=$as_save_IFS
! 8631: test -z "$as_dir" && as_dir=.
! 8632: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 8633: done
! 8634: IFS=$as_save_IFS
! 8635:
! 8636: ;;
! 8637: esac
! 8638: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 8639: # in which case we are not to be found in the path.
! 8640: if test "x$as_myself" = x; then
! 8641: as_myself=$0
! 8642: fi
! 8643: if test ! -f "$as_myself"; then
! 8644: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 8645: { (exit 1); exit 1; }
! 8646: fi
! 8647:
! 8648: # Work around bugs in pre-3.0 UWIN ksh.
! 8649: for as_var in ENV MAIL MAILPATH
! 8650: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 8651: done
! 8652: PS1='$ '
! 8653: PS2='> '
! 8654: PS4='+ '
! 8655:
! 8656: # NLS nuisances.
! 8657: for as_var in \
! 8658: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 8659: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 8660: LC_TELEPHONE LC_TIME
! 8661: do
! 8662: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 8663: eval $as_var=C; export $as_var
! 8664: else
! 8665: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 8666: fi
! 8667: done
! 8668:
! 8669: # Required to use basename.
! 8670: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 8671: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 8672: as_expr=expr
! 8673: else
! 8674: as_expr=false
! 8675: fi
! 8676:
! 8677: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 8678: as_basename=basename
! 8679: else
! 8680: as_basename=false
! 8681: fi
! 8682:
! 8683:
! 8684: # Name of the executable.
! 8685: as_me=`$as_basename -- "$0" ||
! 8686: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 8687: X"$0" : 'X\(//\)$' \| \
! 8688: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 8689: echo X/"$0" |
! 8690: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 8691: s//\1/
! 8692: q
! 8693: }
! 8694: /^X\/\(\/\/\)$/{
! 8695: s//\1/
! 8696: q
! 8697: }
! 8698: /^X\/\(\/\).*/{
! 8699: s//\1/
! 8700: q
! 8701: }
! 8702: s/.*/./; q'`
! 8703:
! 8704: # CDPATH.
! 8705: $as_unset CDPATH
! 8706:
! 8707:
! 8708:
! 8709: as_lineno_1=$LINENO
! 8710: as_lineno_2=$LINENO
! 8711: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 8712: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 8713:
! 8714: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 8715: # uniformly replaced by the line number. The first 'sed' inserts a
! 8716: # line-number line after each line using $LINENO; the second 'sed'
! 8717: # does the real work. The second script uses 'N' to pair each
! 8718: # line-number line with the line containing $LINENO, and appends
! 8719: # trailing '-' during substitution so that $LINENO is not a special
! 8720: # case at line end.
! 8721: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 8722: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 8723: # E. McMahon (1931-1989) for sed's syntax. :-)
! 8724: sed -n '
! 8725: p
! 8726: /[$]LINENO/=
! 8727: ' <$as_myself |
! 8728: sed '
! 8729: s/[$]LINENO.*/&-/
! 8730: t lineno
! 8731: b
! 8732: :lineno
! 8733: N
! 8734: :loop
! 8735: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 8736: t loop
! 8737: s/-\n.*//
! 8738: ' >$as_me.lineno &&
! 8739: chmod +x "$as_me.lineno" ||
! 8740: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 8741: { (exit 1); exit 1; }; }
! 8742:
! 8743: # Don't try to exec as it changes $[0], causing all sort of problems
! 8744: # (the dirname of $[0] is not the place where we might find the
! 8745: # original and so on. Autoconf is especially sensitive to this).
! 8746: . "./$as_me.lineno"
! 8747: # Exit status is that of the last command.
! 8748: exit
! 8749: }
! 8750:
! 8751:
! 8752: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 8753: as_dirname=dirname
! 8754: else
! 8755: as_dirname=false
! 8756: fi
! 8757:
! 8758: ECHO_C= ECHO_N= ECHO_T=
! 8759: case `echo -n x` in
! 8760: -n*)
! 8761: case `echo 'x\c'` in
! 8762: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 8763: *) ECHO_C='\c';;
! 8764: esac;;
! 8765: *)
! 8766: ECHO_N='-n';;
! 8767: esac
! 8768:
! 8769: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 8770: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 8771: as_expr=expr
! 8772: else
! 8773: as_expr=false
! 8774: fi
! 8775:
! 8776: rm -f conf$$ conf$$.exe conf$$.file
! 8777: if test -d conf$$.dir; then
! 8778: rm -f conf$$.dir/conf$$.file
! 8779: else
! 8780: rm -f conf$$.dir
! 8781: mkdir conf$$.dir
! 8782: fi
! 8783: echo >conf$$.file
! 8784: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 8785: as_ln_s='ln -s'
! 8786: # ... but there are two gotchas:
! 8787: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 8788: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 8789: # In both cases, we have to default to `cp -p'.
! 8790: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 8791: as_ln_s='cp -p'
! 8792: elif ln conf$$.file conf$$ 2>/dev/null; then
! 8793: as_ln_s=ln
! 8794: else
! 8795: as_ln_s='cp -p'
! 8796: fi
! 8797: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 8798: rmdir conf$$.dir 2>/dev/null
! 8799:
! 8800: if mkdir -p . 2>/dev/null; then
! 8801: as_mkdir_p=:
! 8802: else
! 8803: test -d ./-p && rmdir ./-p
! 8804: as_mkdir_p=false
! 8805: fi
! 8806:
! 8807: if test -x / >/dev/null 2>&1; then
! 8808: as_test_x='test -x'
! 8809: else
! 8810: if ls -dL / >/dev/null 2>&1; then
! 8811: as_ls_L_option=L
! 8812: else
! 8813: as_ls_L_option=
! 8814: fi
! 8815: as_test_x='
! 8816: eval sh -c '\''
! 8817: if test -d "$1"; then
! 8818: test -d "$1/.";
! 8819: else
! 8820: case $1 in
! 8821: -*)set "./$1";;
! 8822: esac;
! 8823: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 8824: ???[sx]*):;;*)false;;esac;fi
! 8825: '\'' sh
! 8826: '
! 8827: fi
! 8828: as_executable_p=$as_test_x
! 8829:
! 8830: # Sed expression to map a string onto a valid CPP name.
! 8831: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 8832:
! 8833: # Sed expression to map a string onto a valid variable name.
! 8834: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 8835:
! 8836:
! 8837: exec 6>&1
! 8838:
! 8839: # Save the log message, to keep $[0] and so on meaningful, and to
! 8840: # report actual input values of CONFIG_FILES etc. instead of their
! 8841: # values after options handling.
! 8842: ac_log="
! 8843: This file was extended by DHCP $as_me 4.1-ESV-R4, which was
! 8844: generated by GNU Autoconf 2.61. Invocation command line was
! 8845:
! 8846: CONFIG_FILES = $CONFIG_FILES
! 8847: CONFIG_HEADERS = $CONFIG_HEADERS
! 8848: CONFIG_LINKS = $CONFIG_LINKS
! 8849: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 8850: $ $0 $@
! 8851:
! 8852: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 8853: "
! 8854:
! 8855: _ACEOF
! 8856:
! 8857: cat >>$CONFIG_STATUS <<_ACEOF
! 8858: # Files that config.status was made for.
! 8859: config_files="$ac_config_files"
! 8860: config_headers="$ac_config_headers"
! 8861: config_commands="$ac_config_commands"
! 8862:
! 8863: _ACEOF
! 8864:
! 8865: cat >>$CONFIG_STATUS <<\_ACEOF
! 8866: ac_cs_usage="\
! 8867: \`$as_me' instantiates files from templates according to the
! 8868: current configuration.
! 8869:
! 8870: Usage: $0 [OPTIONS] [FILE]...
! 8871:
! 8872: -h, --help print this help, then exit
! 8873: -V, --version print version number and configuration settings, then exit
! 8874: -q, --quiet do not print progress messages
! 8875: -d, --debug don't remove temporary files
! 8876: --recheck update $as_me by reconfiguring in the same conditions
! 8877: --file=FILE[:TEMPLATE]
! 8878: instantiate the configuration file FILE
! 8879: --header=FILE[:TEMPLATE]
! 8880: instantiate the configuration header FILE
! 8881:
! 8882: Configuration files:
! 8883: $config_files
! 8884:
! 8885: Configuration headers:
! 8886: $config_headers
! 8887:
! 8888: Configuration commands:
! 8889: $config_commands
! 8890:
! 8891: Report bugs to <bug-autoconf@gnu.org>."
! 8892:
! 8893: _ACEOF
! 8894: cat >>$CONFIG_STATUS <<_ACEOF
! 8895: ac_cs_version="\\
! 8896: DHCP config.status 4.1-ESV-R4
! 8897: configured by $0, generated by GNU Autoconf 2.61,
! 8898: with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 8899:
! 8900: Copyright (C) 2006 Free Software Foundation, Inc.
! 8901: This config.status script is free software; the Free Software Foundation
! 8902: gives unlimited permission to copy, distribute and modify it."
! 8903:
! 8904: ac_pwd='$ac_pwd'
! 8905: srcdir='$srcdir'
! 8906: INSTALL='$INSTALL'
! 8907: MKDIR_P='$MKDIR_P'
! 8908: _ACEOF
! 8909:
! 8910: cat >>$CONFIG_STATUS <<\_ACEOF
! 8911: # If no file are specified by the user, then we need to provide default
! 8912: # value. By we need to know if files were specified by the user.
! 8913: ac_need_defaults=:
! 8914: while test $# != 0
! 8915: do
! 8916: case $1 in
! 8917: --*=*)
! 8918: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 8919: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 8920: ac_shift=:
! 8921: ;;
! 8922: *)
! 8923: ac_option=$1
! 8924: ac_optarg=$2
! 8925: ac_shift=shift
! 8926: ;;
! 8927: esac
! 8928:
! 8929: case $ac_option in
! 8930: # Handling of the options.
! 8931: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 8932: ac_cs_recheck=: ;;
! 8933: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 8934: echo "$ac_cs_version"; exit ;;
! 8935: --debug | --debu | --deb | --de | --d | -d )
! 8936: debug=: ;;
! 8937: --file | --fil | --fi | --f )
! 8938: $ac_shift
! 8939: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 8940: ac_need_defaults=false;;
! 8941: --header | --heade | --head | --hea )
! 8942: $ac_shift
! 8943: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 8944: ac_need_defaults=false;;
! 8945: --he | --h)
! 8946: # Conflict between --help and --header
! 8947: { echo "$as_me: error: ambiguous option: $1
! 8948: Try \`$0 --help' for more information." >&2
! 8949: { (exit 1); exit 1; }; };;
! 8950: --help | --hel | -h )
! 8951: echo "$ac_cs_usage"; exit ;;
! 8952: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 8953: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 8954: ac_cs_silent=: ;;
! 8955:
! 8956: # This is an error.
! 8957: -*) { echo "$as_me: error: unrecognized option: $1
! 8958: Try \`$0 --help' for more information." >&2
! 8959: { (exit 1); exit 1; }; } ;;
! 8960:
! 8961: *) ac_config_targets="$ac_config_targets $1"
! 8962: ac_need_defaults=false ;;
! 8963:
! 8964: esac
! 8965: shift
! 8966: done
! 8967:
! 8968: ac_configure_extra_args=
! 8969:
! 8970: if $ac_cs_silent; then
! 8971: exec 6>/dev/null
! 8972: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 8973: fi
! 8974:
! 8975: _ACEOF
! 8976: cat >>$CONFIG_STATUS <<_ACEOF
! 8977: if \$ac_cs_recheck; then
! 8978: echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 8979: CONFIG_SHELL=$SHELL
! 8980: export CONFIG_SHELL
! 8981: exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 8982: fi
! 8983:
! 8984: _ACEOF
! 8985: cat >>$CONFIG_STATUS <<\_ACEOF
! 8986: exec 5>>config.log
! 8987: {
! 8988: echo
! 8989: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 8990: ## Running $as_me. ##
! 8991: _ASBOX
! 8992: echo "$ac_log"
! 8993: } >&5
! 8994:
! 8995: _ACEOF
! 8996: cat >>$CONFIG_STATUS <<_ACEOF
! 8997: #
! 8998: # INIT-COMMANDS
! 8999: #
! 9000: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 9001:
! 9002: _ACEOF
! 9003:
! 9004: cat >>$CONFIG_STATUS <<\_ACEOF
! 9005:
! 9006: # Handling of arguments.
! 9007: for ac_config_target in $ac_config_targets
! 9008: do
! 9009: case $ac_config_target in
! 9010: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 9011: "includes/config.h") CONFIG_HEADERS="$CONFIG_HEADERS includes/config.h" ;;
! 9012: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 9013: "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
! 9014: "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
! 9015: "common/tests/Makefile") CONFIG_FILES="$CONFIG_FILES common/tests/Makefile" ;;
! 9016: "dhcpctl/Makefile") CONFIG_FILES="$CONFIG_FILES dhcpctl/Makefile" ;;
! 9017: "dst/Makefile") CONFIG_FILES="$CONFIG_FILES dst/Makefile" ;;
! 9018: "includes/Makefile") CONFIG_FILES="$CONFIG_FILES includes/Makefile" ;;
! 9019: "minires/Makefile") CONFIG_FILES="$CONFIG_FILES minires/Makefile" ;;
! 9020: "omapip/Makefile") CONFIG_FILES="$CONFIG_FILES omapip/Makefile" ;;
! 9021: "relay/Makefile") CONFIG_FILES="$CONFIG_FILES relay/Makefile" ;;
! 9022: "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
! 9023: "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
! 9024:
! 9025: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 9026: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 9027: { (exit 1); exit 1; }; };;
! 9028: esac
! 9029: done
! 9030:
! 9031:
! 9032: # If the user did not use the arguments to specify the items to instantiate,
! 9033: # then the envvar interface is used. Set only those that are not.
! 9034: # We use the long form for the default assignment because of an extremely
! 9035: # bizarre bug on SunOS 4.1.3.
! 9036: if $ac_need_defaults; then
! 9037: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 9038: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 9039: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 9040: fi
! 9041:
! 9042: # Have a temporary directory for convenience. Make it in the build tree
! 9043: # simply because there is no reason against having it here, and in addition,
! 9044: # creating and moving files from /tmp can sometimes cause problems.
! 9045: # Hook for its removal unless debugging.
! 9046: # Note that there is a small window in which the directory will not be cleaned:
! 9047: # after its creation but before its name has been assigned to `$tmp'.
! 9048: $debug ||
! 9049: {
! 9050: tmp=
! 9051: trap 'exit_status=$?
! 9052: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 9053: ' 0
! 9054: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 9055: }
! 9056: # Create a (secure) tmp directory for tmp files.
! 9057:
! 9058: {
! 9059: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 9060: test -n "$tmp" && test -d "$tmp"
! 9061: } ||
! 9062: {
! 9063: tmp=./conf$$-$RANDOM
! 9064: (umask 077 && mkdir "$tmp")
! 9065: } ||
! 9066: {
! 9067: echo "$me: cannot create a temporary directory in ." >&2
! 9068: { (exit 1); exit 1; }
! 9069: }
! 9070:
! 9071: #
! 9072: # Set up the sed scripts for CONFIG_FILES section.
! 9073: #
! 9074:
! 9075: # No need to generate the scripts if there are no CONFIG_FILES.
! 9076: # This happens for instance when ./config.status config.h
! 9077: if test -n "$CONFIG_FILES"; then
! 9078:
! 9079: _ACEOF
! 9080:
! 9081:
! 9082:
! 9083: ac_delim='%!_!# '
! 9084: for ac_last_try in false false false false false :; do
! 9085: cat >conf$$subs.sed <<_ACEOF
! 9086: SHELL!$SHELL$ac_delim
! 9087: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
! 9088: PACKAGE_NAME!$PACKAGE_NAME$ac_delim
! 9089: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
! 9090: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
! 9091: PACKAGE_STRING!$PACKAGE_STRING$ac_delim
! 9092: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
! 9093: exec_prefix!$exec_prefix$ac_delim
! 9094: prefix!$prefix$ac_delim
! 9095: program_transform_name!$program_transform_name$ac_delim
! 9096: bindir!$bindir$ac_delim
! 9097: sbindir!$sbindir$ac_delim
! 9098: libexecdir!$libexecdir$ac_delim
! 9099: datarootdir!$datarootdir$ac_delim
! 9100: datadir!$datadir$ac_delim
! 9101: sysconfdir!$sysconfdir$ac_delim
! 9102: sharedstatedir!$sharedstatedir$ac_delim
! 9103: localstatedir!$localstatedir$ac_delim
! 9104: includedir!$includedir$ac_delim
! 9105: oldincludedir!$oldincludedir$ac_delim
! 9106: docdir!$docdir$ac_delim
! 9107: infodir!$infodir$ac_delim
! 9108: htmldir!$htmldir$ac_delim
! 9109: dvidir!$dvidir$ac_delim
! 9110: pdfdir!$pdfdir$ac_delim
! 9111: psdir!$psdir$ac_delim
! 9112: libdir!$libdir$ac_delim
! 9113: localedir!$localedir$ac_delim
! 9114: mandir!$mandir$ac_delim
! 9115: DEFS!$DEFS$ac_delim
! 9116: ECHO_C!$ECHO_C$ac_delim
! 9117: ECHO_N!$ECHO_N$ac_delim
! 9118: ECHO_T!$ECHO_T$ac_delim
! 9119: LIBS!$LIBS$ac_delim
! 9120: build_alias!$build_alias$ac_delim
! 9121: host_alias!$host_alias$ac_delim
! 9122: target_alias!$target_alias$ac_delim
! 9123: INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
! 9124: INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
! 9125: INSTALL_DATA!$INSTALL_DATA$ac_delim
! 9126: am__isrc!$am__isrc$ac_delim
! 9127: CYGPATH_W!$CYGPATH_W$ac_delim
! 9128: PACKAGE!$PACKAGE$ac_delim
! 9129: VERSION!$VERSION$ac_delim
! 9130: ACLOCAL!$ACLOCAL$ac_delim
! 9131: AUTOCONF!$AUTOCONF$ac_delim
! 9132: AUTOMAKE!$AUTOMAKE$ac_delim
! 9133: AUTOHEADER!$AUTOHEADER$ac_delim
! 9134: MAKEINFO!$MAKEINFO$ac_delim
! 9135: install_sh!$install_sh$ac_delim
! 9136: STRIP!$STRIP$ac_delim
! 9137: INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
! 9138: mkdir_p!$mkdir_p$ac_delim
! 9139: AWK!$AWK$ac_delim
! 9140: SET_MAKE!$SET_MAKE$ac_delim
! 9141: am__leading_dot!$am__leading_dot$ac_delim
! 9142: AMTAR!$AMTAR$ac_delim
! 9143: am__tar!$am__tar$ac_delim
! 9144: am__untar!$am__untar$ac_delim
! 9145: MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
! 9146: MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
! 9147: MAINT!$MAINT$ac_delim
! 9148: CC!$CC$ac_delim
! 9149: CFLAGS!$CFLAGS$ac_delim
! 9150: LDFLAGS!$LDFLAGS$ac_delim
! 9151: CPPFLAGS!$CPPFLAGS$ac_delim
! 9152: ac_ct_CC!$ac_ct_CC$ac_delim
! 9153: EXEEXT!$EXEEXT$ac_delim
! 9154: OBJEXT!$OBJEXT$ac_delim
! 9155: DEPDIR!$DEPDIR$ac_delim
! 9156: am__include!$am__include$ac_delim
! 9157: am__quote!$am__quote$ac_delim
! 9158: AMDEP_TRUE!$AMDEP_TRUE$ac_delim
! 9159: AMDEP_FALSE!$AMDEP_FALSE$ac_delim
! 9160: AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
! 9161: CCDEPMODE!$CCDEPMODE$ac_delim
! 9162: am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
! 9163: am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
! 9164: CPP!$CPP$ac_delim
! 9165: GREP!$GREP$ac_delim
! 9166: EGREP!$EGREP$ac_delim
! 9167: RANLIB!$RANLIB$ac_delim
! 9168: byte_order!$byte_order$ac_delim
! 9169: ac_prefix_program!$ac_prefix_program$ac_delim
! 9170: LIBOBJS!$LIBOBJS$ac_delim
! 9171: LTLIBOBJS!$LTLIBOBJS$ac_delim
! 9172: _ACEOF
! 9173:
! 9174: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
! 9175: break
! 9176: elif $ac_last_try; then
! 9177: { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 9178: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 9179: { (exit 1); exit 1; }; }
! 9180: else
! 9181: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 9182: fi
! 9183: done
! 9184:
! 9185: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
! 9186: if test -n "$ac_eof"; then
! 9187: ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
! 9188: ac_eof=`expr $ac_eof + 1`
! 9189: fi
! 9190:
! 9191: cat >>$CONFIG_STATUS <<_ACEOF
! 9192: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
! 9193: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
! 9194: _ACEOF
! 9195: sed '
! 9196: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
! 9197: s/^/s,@/; s/!/@,|#_!!_#|/
! 9198: :n
! 9199: t n
! 9200: s/'"$ac_delim"'$/,g/; t
! 9201: s/$/\\/; p
! 9202: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
! 9203: ' >>$CONFIG_STATUS <conf$$subs.sed
! 9204: rm -f conf$$subs.sed
! 9205: cat >>$CONFIG_STATUS <<_ACEOF
! 9206: :end
! 9207: s/|#_!!_#|//g
! 9208: CEOF$ac_eof
! 9209: _ACEOF
! 9210:
! 9211:
! 9212: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 9213: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 9214: # trailing colons and then remove the whole line if VPATH becomes empty
! 9215: # (actually we leave an empty line to preserve line numbers).
! 9216: if test "x$srcdir" = x.; then
! 9217: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 9218: s/:*\$(srcdir):*/:/
! 9219: s/:*\${srcdir}:*/:/
! 9220: s/:*@srcdir@:*/:/
! 9221: s/^\([^=]*=[ ]*\):*/\1/
! 9222: s/:*$//
! 9223: s/^[^=]*=[ ]*$//
! 9224: }'
! 9225: fi
! 9226:
! 9227: cat >>$CONFIG_STATUS <<\_ACEOF
! 9228: fi # test -n "$CONFIG_FILES"
! 9229:
! 9230:
! 9231: for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
! 9232: do
! 9233: case $ac_tag in
! 9234: :[FHLC]) ac_mode=$ac_tag; continue;;
! 9235: esac
! 9236: case $ac_mode$ac_tag in
! 9237: :[FHL]*:*);;
! 9238: :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! 9239: echo "$as_me: error: Invalid tag $ac_tag." >&2;}
! 9240: { (exit 1); exit 1; }; };;
! 9241: :[FH]-) ac_tag=-:-;;
! 9242: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 9243: esac
! 9244: ac_save_IFS=$IFS
! 9245: IFS=:
! 9246: set x $ac_tag
! 9247: IFS=$ac_save_IFS
! 9248: shift
! 9249: ac_file=$1
! 9250: shift
! 9251:
! 9252: case $ac_mode in
! 9253: :L) ac_source=$1;;
! 9254: :[FH])
! 9255: ac_file_inputs=
! 9256: for ac_f
! 9257: do
! 9258: case $ac_f in
! 9259: -) ac_f="$tmp/stdin";;
! 9260: *) # Look for the file first in the build tree, then in the source tree
! 9261: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 9262: # because $ac_f cannot contain `:'.
! 9263: test -f "$ac_f" ||
! 9264: case $ac_f in
! 9265: [\\/$]*) false;;
! 9266: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 9267: esac ||
! 9268: { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 9269: echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 9270: { (exit 1); exit 1; }; };;
! 9271: esac
! 9272: ac_file_inputs="$ac_file_inputs $ac_f"
! 9273: done
! 9274:
! 9275: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 9276: # use $as_me), people would be surprised to read:
! 9277: # /* config.h. Generated by config.status. */
! 9278: configure_input="Generated from "`IFS=:
! 9279: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
! 9280: if test x"$ac_file" != x-; then
! 9281: configure_input="$ac_file. $configure_input"
! 9282: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 9283: echo "$as_me: creating $ac_file" >&6;}
! 9284: fi
! 9285:
! 9286: case $ac_tag in
! 9287: *:-:* | *:-) cat >"$tmp/stdin";;
! 9288: esac
! 9289: ;;
! 9290: esac
! 9291:
! 9292: ac_dir=`$as_dirname -- "$ac_file" ||
! 9293: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9294: X"$ac_file" : 'X\(//\)[^/]' \| \
! 9295: X"$ac_file" : 'X\(//\)$' \| \
! 9296: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 9297: echo X"$ac_file" |
! 9298: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9299: s//\1/
! 9300: q
! 9301: }
! 9302: /^X\(\/\/\)[^/].*/{
! 9303: s//\1/
! 9304: q
! 9305: }
! 9306: /^X\(\/\/\)$/{
! 9307: s//\1/
! 9308: q
! 9309: }
! 9310: /^X\(\/\).*/{
! 9311: s//\1/
! 9312: q
! 9313: }
! 9314: s/.*/./; q'`
! 9315: { as_dir="$ac_dir"
! 9316: case $as_dir in #(
! 9317: -*) as_dir=./$as_dir;;
! 9318: esac
! 9319: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 9320: as_dirs=
! 9321: while :; do
! 9322: case $as_dir in #(
! 9323: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
! 9324: *) as_qdir=$as_dir;;
! 9325: esac
! 9326: as_dirs="'$as_qdir' $as_dirs"
! 9327: as_dir=`$as_dirname -- "$as_dir" ||
! 9328: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9329: X"$as_dir" : 'X\(//\)[^/]' \| \
! 9330: X"$as_dir" : 'X\(//\)$' \| \
! 9331: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 9332: echo X"$as_dir" |
! 9333: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9334: s//\1/
! 9335: q
! 9336: }
! 9337: /^X\(\/\/\)[^/].*/{
! 9338: s//\1/
! 9339: q
! 9340: }
! 9341: /^X\(\/\/\)$/{
! 9342: s//\1/
! 9343: q
! 9344: }
! 9345: /^X\(\/\).*/{
! 9346: s//\1/
! 9347: q
! 9348: }
! 9349: s/.*/./; q'`
! 9350: test -d "$as_dir" && break
! 9351: done
! 9352: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 9353: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 9354: echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 9355: { (exit 1); exit 1; }; }; }
! 9356: ac_builddir=.
! 9357:
! 9358: case "$ac_dir" in
! 9359: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 9360: *)
! 9361: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 9362: # A ".." for each directory in $ac_dir_suffix.
! 9363: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
! 9364: case $ac_top_builddir_sub in
! 9365: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 9366: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 9367: esac ;;
! 9368: esac
! 9369: ac_abs_top_builddir=$ac_pwd
! 9370: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 9371: # for backward compatibility:
! 9372: ac_top_builddir=$ac_top_build_prefix
! 9373:
! 9374: case $srcdir in
! 9375: .) # We are building in place.
! 9376: ac_srcdir=.
! 9377: ac_top_srcdir=$ac_top_builddir_sub
! 9378: ac_abs_top_srcdir=$ac_pwd ;;
! 9379: [\\/]* | ?:[\\/]* ) # Absolute name.
! 9380: ac_srcdir=$srcdir$ac_dir_suffix;
! 9381: ac_top_srcdir=$srcdir
! 9382: ac_abs_top_srcdir=$srcdir ;;
! 9383: *) # Relative name.
! 9384: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 9385: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 9386: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 9387: esac
! 9388: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 9389:
! 9390:
! 9391: case $ac_mode in
! 9392: :F)
! 9393: #
! 9394: # CONFIG_FILE
! 9395: #
! 9396:
! 9397: case $INSTALL in
! 9398: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 9399: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 9400: esac
! 9401: ac_MKDIR_P=$MKDIR_P
! 9402: case $MKDIR_P in
! 9403: [\\/$]* | ?:[\\/]* ) ;;
! 9404: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
! 9405: esac
! 9406: _ACEOF
! 9407:
! 9408:
! 9409: # Neutralize VPATH when `$srcdir' = `.'.
! 9410: # Shell code in configure.ac might set extrasub.
! 9411: # FIXME: do we really want to maintain this feature?
! 9412: cat >>$CONFIG_STATUS <<_ACEOF
! 9413: sed "$ac_vpsub
! 9414: $extrasub
! 9415: _ACEOF
! 9416: cat >>$CONFIG_STATUS <<\_ACEOF
! 9417: :t
! 9418: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 9419: s&@configure_input@&$configure_input&;t t
! 9420: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 9421: s&@srcdir@&$ac_srcdir&;t t
! 9422: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 9423: s&@top_srcdir@&$ac_top_srcdir&;t t
! 9424: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 9425: s&@builddir@&$ac_builddir&;t t
! 9426: s&@abs_builddir@&$ac_abs_builddir&;t t
! 9427: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 9428: s&@INSTALL@&$ac_INSTALL&;t t
! 9429: s&@MKDIR_P@&$ac_MKDIR_P&;t t
! 9430: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
! 9431:
! 9432:
! 9433: rm -f "$tmp/stdin"
! 9434: case $ac_file in
! 9435: -) cat "$tmp/out"; rm -f "$tmp/out";;
! 9436: *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
! 9437: esac
! 9438: ;;
! 9439: :H)
! 9440: #
! 9441: # CONFIG_HEADER
! 9442: #
! 9443: _ACEOF
! 9444:
! 9445: # Transform confdefs.h into a sed script `conftest.defines', that
! 9446: # substitutes the proper values into config.h.in to produce config.h.
! 9447: rm -f conftest.defines conftest.tail
! 9448: # First, append a space to every undef/define line, to ease matching.
! 9449: echo 's/$/ /' >conftest.defines
! 9450: # Then, protect against being on the right side of a sed subst, or in
! 9451: # an unquoted here document, in config.status. If some macros were
! 9452: # called several times there might be several #defines for the same
! 9453: # symbol, which is useless. But do not sort them, since the last
! 9454: # AC_DEFINE must be honored.
! 9455: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 9456: # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
! 9457: # NAME is the cpp macro being defined, VALUE is the value it is being given.
! 9458: # PARAMS is the parameter list in the macro definition--in most cases, it's
! 9459: # just an empty string.
! 9460: ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
! 9461: ac_dB='\\)[ (].*,\\1define\\2'
! 9462: ac_dC=' '
! 9463: ac_dD=' ,'
! 9464:
! 9465: uniq confdefs.h |
! 9466: sed -n '
! 9467: t rset
! 9468: :rset
! 9469: s/^[ ]*#[ ]*define[ ][ ]*//
! 9470: t ok
! 9471: d
! 9472: :ok
! 9473: s/[\\&,]/\\&/g
! 9474: s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
! 9475: s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
! 9476: ' >>conftest.defines
! 9477:
! 9478: # Remove the space that was appended to ease matching.
! 9479: # Then replace #undef with comments. This is necessary, for
! 9480: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 9481: # on some systems where configure will not decide to define it.
! 9482: # (The regexp can be short, since the line contains either #define or #undef.)
! 9483: echo 's/ $//
! 9484: s,^[ #]*u.*,/* & */,' >>conftest.defines
! 9485:
! 9486: # Break up conftest.defines:
! 9487: ac_max_sed_lines=50
! 9488:
! 9489: # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
! 9490: # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
! 9491: # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
! 9492: # et cetera.
! 9493: ac_in='$ac_file_inputs'
! 9494: ac_out='"$tmp/out1"'
! 9495: ac_nxt='"$tmp/out2"'
! 9496:
! 9497: while :
! 9498: do
! 9499: # Write a here document:
! 9500: cat >>$CONFIG_STATUS <<_ACEOF
! 9501: # First, check the format of the line:
! 9502: cat >"\$tmp/defines.sed" <<\\CEOF
! 9503: /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
! 9504: /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
! 9505: b
! 9506: :def
! 9507: _ACEOF
! 9508: sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
! 9509: echo 'CEOF
! 9510: sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
! 9511: ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
! 9512: sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
! 9513: grep . conftest.tail >/dev/null || break
! 9514: rm -f conftest.defines
! 9515: mv conftest.tail conftest.defines
! 9516: done
! 9517: rm -f conftest.defines conftest.tail
! 9518:
! 9519: echo "ac_result=$ac_in" >>$CONFIG_STATUS
! 9520: cat >>$CONFIG_STATUS <<\_ACEOF
! 9521: if test x"$ac_file" != x-; then
! 9522: echo "/* $configure_input */" >"$tmp/config.h"
! 9523: cat "$ac_result" >>"$tmp/config.h"
! 9524: if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
! 9525: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 9526: echo "$as_me: $ac_file is unchanged" >&6;}
! 9527: else
! 9528: rm -f $ac_file
! 9529: mv "$tmp/config.h" $ac_file
! 9530: fi
! 9531: else
! 9532: echo "/* $configure_input */"
! 9533: cat "$ac_result"
! 9534: fi
! 9535: rm -f "$tmp/out12"
! 9536: # Compute $ac_file's index in $config_headers.
! 9537: _am_arg=$ac_file
! 9538: _am_stamp_count=1
! 9539: for _am_header in $config_headers :; do
! 9540: case $_am_header in
! 9541: $_am_arg | $_am_arg:* )
! 9542: break ;;
! 9543: * )
! 9544: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 9545: esac
! 9546: done
! 9547: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! 9548: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9549: X"$_am_arg" : 'X\(//\)[^/]' \| \
! 9550: X"$_am_arg" : 'X\(//\)$' \| \
! 9551: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! 9552: echo X"$_am_arg" |
! 9553: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9554: s//\1/
! 9555: q
! 9556: }
! 9557: /^X\(\/\/\)[^/].*/{
! 9558: s//\1/
! 9559: q
! 9560: }
! 9561: /^X\(\/\/\)$/{
! 9562: s//\1/
! 9563: q
! 9564: }
! 9565: /^X\(\/\).*/{
! 9566: s//\1/
! 9567: q
! 9568: }
! 9569: s/.*/./; q'`/stamp-h$_am_stamp_count
! 9570: ;;
! 9571:
! 9572: :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
! 9573: echo "$as_me: executing $ac_file commands" >&6;}
! 9574: ;;
! 9575: esac
! 9576:
! 9577:
! 9578: case $ac_file$ac_mode in
! 9579: "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 9580: # Strip MF so we end up with the name of the file.
! 9581: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 9582: # Check whether this is an Automake generated Makefile or not.
! 9583: # We used to match only the files named `Makefile.in', but
! 9584: # some people rename them; so instead we look at the file content.
! 9585: # Grep'ing the first line is not enough: some people post-process
! 9586: # each Makefile.in and add a new line on top of each file to say so.
! 9587: # Grep'ing the whole file is not good either: AIX grep has a line
! 9588: # limit of 2048, but all sed's we know have understand at least 4000.
! 9589: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
! 9590: dirpart=`$as_dirname -- "$mf" ||
! 9591: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9592: X"$mf" : 'X\(//\)[^/]' \| \
! 9593: X"$mf" : 'X\(//\)$' \| \
! 9594: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 9595: echo X"$mf" |
! 9596: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9597: s//\1/
! 9598: q
! 9599: }
! 9600: /^X\(\/\/\)[^/].*/{
! 9601: s//\1/
! 9602: q
! 9603: }
! 9604: /^X\(\/\/\)$/{
! 9605: s//\1/
! 9606: q
! 9607: }
! 9608: /^X\(\/\).*/{
! 9609: s//\1/
! 9610: q
! 9611: }
! 9612: s/.*/./; q'`
! 9613: else
! 9614: continue
! 9615: fi
! 9616: # Extract the definition of DEPDIR, am__include, and am__quote
! 9617: # from the Makefile without running `make'.
! 9618: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 9619: test -z "$DEPDIR" && continue
! 9620: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 9621: test -z "am__include" && continue
! 9622: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 9623: # When using ansi2knr, U may be empty or an underscore; expand it
! 9624: U=`sed -n 's/^U = //p' < "$mf"`
! 9625: # Find all dependency output files, they are included files with
! 9626: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 9627: # simplest approach to changing $(DEPDIR) to its actual value in the
! 9628: # expansion.
! 9629: for file in `sed -n "
! 9630: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 9631: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 9632: # Make sure the directory exists.
! 9633: test -f "$dirpart/$file" && continue
! 9634: fdir=`$as_dirname -- "$file" ||
! 9635: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9636: X"$file" : 'X\(//\)[^/]' \| \
! 9637: X"$file" : 'X\(//\)$' \| \
! 9638: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 9639: echo X"$file" |
! 9640: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9641: s//\1/
! 9642: q
! 9643: }
! 9644: /^X\(\/\/\)[^/].*/{
! 9645: s//\1/
! 9646: q
! 9647: }
! 9648: /^X\(\/\/\)$/{
! 9649: s//\1/
! 9650: q
! 9651: }
! 9652: /^X\(\/\).*/{
! 9653: s//\1/
! 9654: q
! 9655: }
! 9656: s/.*/./; q'`
! 9657: { as_dir=$dirpart/$fdir
! 9658: case $as_dir in #(
! 9659: -*) as_dir=./$as_dir;;
! 9660: esac
! 9661: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 9662: as_dirs=
! 9663: while :; do
! 9664: case $as_dir in #(
! 9665: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
! 9666: *) as_qdir=$as_dir;;
! 9667: esac
! 9668: as_dirs="'$as_qdir' $as_dirs"
! 9669: as_dir=`$as_dirname -- "$as_dir" ||
! 9670: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 9671: X"$as_dir" : 'X\(//\)[^/]' \| \
! 9672: X"$as_dir" : 'X\(//\)$' \| \
! 9673: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 9674: echo X"$as_dir" |
! 9675: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 9676: s//\1/
! 9677: q
! 9678: }
! 9679: /^X\(\/\/\)[^/].*/{
! 9680: s//\1/
! 9681: q
! 9682: }
! 9683: /^X\(\/\/\)$/{
! 9684: s//\1/
! 9685: q
! 9686: }
! 9687: /^X\(\/\).*/{
! 9688: s//\1/
! 9689: q
! 9690: }
! 9691: s/.*/./; q'`
! 9692: test -d "$as_dir" && break
! 9693: done
! 9694: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 9695: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 9696: echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 9697: { (exit 1); exit 1; }; }; }
! 9698: # echo "creating $dirpart/$file"
! 9699: echo '# dummy' > "$dirpart/$file"
! 9700: done
! 9701: done
! 9702: ;;
! 9703:
! 9704: esac
! 9705: done # for ac_tag
! 9706:
! 9707:
! 9708: { (exit 0); exit 0; }
! 9709: _ACEOF
! 9710: chmod +x $CONFIG_STATUS
! 9711: ac_clean_files=$ac_clean_files_save
! 9712:
! 9713:
! 9714: # configure is writing to config.log, and then calls config.status.
! 9715: # config.status does its own redirection, appending to config.log.
! 9716: # Unfortunately, on DOS this fails, as config.log is still kept open
! 9717: # by configure, so config.status won't be able to write to it; its
! 9718: # output is simply discarded. So we exec the FD to /dev/null,
! 9719: # effectively closing config.log, so it can be properly (re)opened and
! 9720: # appended to by config.status. When coming back to configure, we
! 9721: # need to make the FD available again.
! 9722: if test "$no_create" != yes; then
! 9723: ac_cs_success=:
! 9724: ac_config_status_args=
! 9725: test "$silent" = yes &&
! 9726: ac_config_status_args="$ac_config_status_args --quiet"
! 9727: exec 5>/dev/null
! 9728: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 9729: exec 5>>config.log
! 9730: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 9731: # would make configure fail if this is the last instruction.
! 9732: $ac_cs_success || { (exit 1); exit 1; }
! 9733: fi
! 9734:
! 9735:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>