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