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