Annotation of ansh/configure, revision 1.2
1.2 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.68 for ansh 1.0.
! 4: #
! 5: # Report bugs to <misho@elwix.org>.
! 6: #
! 7: #
! 8: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
! 10: # Foundation, Inc.
! 11: #
! 12: #
! 13: # This configure script is free software; the Free Software Foundation
! 14: # gives unlimited permission to copy, distribute and modify it.
! 15: ## -------------------- ##
! 16: ## M4sh Initialization. ##
! 17: ## -------------------- ##
! 18:
! 19: # Be more Bourne compatible
! 20: DUALCASE=1; export DUALCASE # for MKS sh
! 21: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 22: emulate sh
! 23: NULLCMD=:
! 24: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 25: # is contrary to our usage. Disable this feature.
! 26: alias -g '${1+"$@"}'='"$@"'
! 27: setopt NO_GLOB_SUBST
! 28: else
! 29: case `(set -o) 2>/dev/null` in #(
! 30: *posix*) :
! 31: set -o posix ;; #(
! 32: *) :
! 33: ;;
! 34: esac
! 35: fi
! 36:
! 37:
! 38: as_nl='
! 39: '
! 40: export as_nl
! 41: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 42: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 43: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 45: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 46: # but without wasting forks for bash or zsh.
! 47: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 48: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 49: as_echo='print -r --'
! 50: as_echo_n='print -rn --'
! 51: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 52: as_echo='printf %s\n'
! 53: as_echo_n='printf %s'
! 54: else
! 55: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 56: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 57: as_echo_n='/usr/ucb/echo -n'
! 58: else
! 59: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 60: as_echo_n_body='eval
! 61: arg=$1;
! 62: case $arg in #(
! 63: *"$as_nl"*)
! 64: expr "X$arg" : "X\\(.*\\)$as_nl";
! 65: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 66: esac;
! 67: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 68: '
! 69: export as_echo_n_body
! 70: as_echo_n='sh -c $as_echo_n_body as_echo'
! 71: fi
! 72: export as_echo_body
! 73: as_echo='sh -c $as_echo_body as_echo'
! 74: fi
! 75:
! 76: # The user is always right.
! 77: if test "${PATH_SEPARATOR+set}" != set; then
! 78: PATH_SEPARATOR=:
! 79: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 80: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 81: PATH_SEPARATOR=';'
! 82: }
! 83: fi
! 84:
! 85:
! 86: # IFS
! 87: # We need space, tab and new line, in precisely that order. Quoting is
! 88: # there to prevent editors from complaining about space-tab.
! 89: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 90: # splitting by setting IFS to empty value.)
! 91: IFS=" "" $as_nl"
! 92:
! 93: # Find who we are. Look in the path if we contain no directory separator.
! 94: as_myself=
! 95: case $0 in #((
! 96: *[\\/]* ) as_myself=$0 ;;
! 97: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 98: for as_dir in $PATH
! 99: do
! 100: IFS=$as_save_IFS
! 101: test -z "$as_dir" && as_dir=.
! 102: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 103: done
! 104: IFS=$as_save_IFS
! 105:
! 106: ;;
! 107: esac
! 108: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 109: # in which case we are not to be found in the path.
! 110: if test "x$as_myself" = x; then
! 111: as_myself=$0
! 112: fi
! 113: if test ! -f "$as_myself"; then
! 114: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 115: exit 1
! 116: fi
! 117:
! 118: # Unset variables that we do not need and which cause bugs (e.g. in
! 119: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 120: # suppresses any "Segmentation fault" message there. '((' could
! 121: # trigger a bug in pdksh 5.2.14.
! 122: for as_var in BASH_ENV ENV MAIL MAILPATH
! 123: do eval test x\${$as_var+set} = xset \
! 124: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 125: done
! 126: PS1='$ '
! 127: PS2='> '
! 128: PS4='+ '
! 129:
! 130: # NLS nuisances.
! 131: LC_ALL=C
! 132: export LC_ALL
! 133: LANGUAGE=C
! 134: export LANGUAGE
! 135:
! 136: # CDPATH.
! 137: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 138:
! 139: if test "x$CONFIG_SHELL" = x; then
! 140: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
! 141: emulate sh
! 142: NULLCMD=:
! 143: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
! 144: # is contrary to our usage. Disable this feature.
! 145: alias -g '\${1+\"\$@\"}'='\"\$@\"'
! 146: setopt NO_GLOB_SUBST
! 147: else
! 148: case \`(set -o) 2>/dev/null\` in #(
! 149: *posix*) :
! 150: set -o posix ;; #(
! 151: *) :
! 152: ;;
! 153: esac
! 154: fi
! 155: "
! 156: as_required="as_fn_return () { (exit \$1); }
! 157: as_fn_success () { as_fn_return 0; }
! 158: as_fn_failure () { as_fn_return 1; }
! 159: as_fn_ret_success () { return 0; }
! 160: as_fn_ret_failure () { return 1; }
! 161:
! 162: exitcode=0
! 163: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
! 164: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
! 165: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
! 166: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
! 167: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
! 168:
! 169: else
! 170: exitcode=1; echo positional parameters were not saved.
! 171: fi
! 172: test x\$exitcode = x0 || exit 1"
! 173: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
! 174: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
! 175: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
! 176: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
! 177: test \$(( 1 + 1 )) = 2 || exit 1"
! 178: if (eval "$as_required") 2>/dev/null; then :
! 179: as_have_required=yes
! 180: else
! 181: as_have_required=no
! 182: fi
! 183: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
! 184:
! 185: else
! 186: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 187: as_found=false
! 188: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 189: do
! 190: IFS=$as_save_IFS
! 191: test -z "$as_dir" && as_dir=.
! 192: as_found=:
! 193: case $as_dir in #(
! 194: /*)
! 195: for as_base in sh bash ksh sh5; do
! 196: # Try only shells that exist, to save several forks.
! 197: as_shell=$as_dir/$as_base
! 198: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 199: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 200: CONFIG_SHELL=$as_shell as_have_required=yes
! 201: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 202: break 2
! 203: fi
! 204: fi
! 205: done;;
! 206: esac
! 207: as_found=false
! 208: done
! 209: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
! 210: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
! 211: CONFIG_SHELL=$SHELL as_have_required=yes
! 212: fi; }
! 213: IFS=$as_save_IFS
! 214:
! 215:
! 216: if test "x$CONFIG_SHELL" != x; then :
! 217: # We cannot yet assume a decent shell, so we have to provide a
! 218: # neutralization value for shells without unset; and this also
! 219: # works around shells that cannot unset nonexistent variables.
! 220: # Preserve -v and -x to the replacement shell.
! 221: BASH_ENV=/dev/null
! 222: ENV=/dev/null
! 223: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
! 224: export CONFIG_SHELL
! 225: case $- in # ((((
! 226: *v*x* | *x*v* ) as_opts=-vx ;;
! 227: *v* ) as_opts=-v ;;
! 228: *x* ) as_opts=-x ;;
! 229: * ) as_opts= ;;
! 230: esac
! 231: exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
! 232: fi
! 233:
! 234: if test x$as_have_required = xno; then :
! 235: $as_echo "$0: This script requires a shell more modern than all"
! 236: $as_echo "$0: the shells that I found on your system."
! 237: if test x${ZSH_VERSION+set} = xset ; then
! 238: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
! 239: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
! 240: else
! 241: $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org
! 242: $0: about your system, including any error possibly output
! 243: $0: before this message. Then install a modern shell, or
! 244: $0: manually run the script under such a shell if you do
! 245: $0: have one."
! 246: fi
! 247: exit 1
! 248: fi
! 249: fi
! 250: fi
! 251: SHELL=${CONFIG_SHELL-/bin/sh}
! 252: export SHELL
! 253: # Unset more variables known to interfere with behavior of common tools.
! 254: CLICOLOR_FORCE= GREP_OPTIONS=
! 255: unset CLICOLOR_FORCE GREP_OPTIONS
! 256:
! 257: ## --------------------- ##
! 258: ## M4sh Shell Functions. ##
! 259: ## --------------------- ##
! 260: # as_fn_unset VAR
! 261: # ---------------
! 262: # Portably unset VAR.
! 263: as_fn_unset ()
! 264: {
! 265: { eval $1=; unset $1;}
! 266: }
! 267: as_unset=as_fn_unset
! 268:
! 269: # as_fn_set_status STATUS
! 270: # -----------------------
! 271: # Set $? to STATUS, without forking.
! 272: as_fn_set_status ()
! 273: {
! 274: return $1
! 275: } # as_fn_set_status
! 276:
! 277: # as_fn_exit STATUS
! 278: # -----------------
! 279: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 280: as_fn_exit ()
! 281: {
! 282: set +e
! 283: as_fn_set_status $1
! 284: exit $1
! 285: } # as_fn_exit
! 286:
! 287: # as_fn_mkdir_p
! 288: # -------------
! 289: # Create "$as_dir" as a directory, including parents if necessary.
! 290: as_fn_mkdir_p ()
! 291: {
! 292:
! 293: case $as_dir in #(
! 294: -*) as_dir=./$as_dir;;
! 295: esac
! 296: test -d "$as_dir" || eval $as_mkdir_p || {
! 297: as_dirs=
! 298: while :; do
! 299: case $as_dir in #(
! 300: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 301: *) as_qdir=$as_dir;;
! 302: esac
! 303: as_dirs="'$as_qdir' $as_dirs"
! 304: as_dir=`$as_dirname -- "$as_dir" ||
! 305: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 306: X"$as_dir" : 'X\(//\)[^/]' \| \
! 307: X"$as_dir" : 'X\(//\)$' \| \
! 308: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 309: $as_echo X"$as_dir" |
! 310: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 311: s//\1/
! 312: q
! 313: }
! 314: /^X\(\/\/\)[^/].*/{
! 315: s//\1/
! 316: q
! 317: }
! 318: /^X\(\/\/\)$/{
! 319: s//\1/
! 320: q
! 321: }
! 322: /^X\(\/\).*/{
! 323: s//\1/
! 324: q
! 325: }
! 326: s/.*/./; q'`
! 327: test -d "$as_dir" && break
! 328: done
! 329: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 330: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 331:
! 332:
! 333: } # as_fn_mkdir_p
! 334: # as_fn_append VAR VALUE
! 335: # ----------------------
! 336: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 337: # advantage of any shell optimizations that allow amortized linear growth over
! 338: # repeated appends, instead of the typical quadratic growth present in naive
! 339: # implementations.
! 340: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 341: eval 'as_fn_append ()
! 342: {
! 343: eval $1+=\$2
! 344: }'
! 345: else
! 346: as_fn_append ()
! 347: {
! 348: eval $1=\$$1\$2
! 349: }
! 350: fi # as_fn_append
! 351:
! 352: # as_fn_arith ARG...
! 353: # ------------------
! 354: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 355: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 356: # must be portable across $(()) and expr.
! 357: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 358: eval 'as_fn_arith ()
! 359: {
! 360: as_val=$(( $* ))
! 361: }'
! 362: else
! 363: as_fn_arith ()
! 364: {
! 365: as_val=`expr "$@" || test $? -eq 1`
! 366: }
! 367: fi # as_fn_arith
! 368:
! 369:
! 370: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 371: # ----------------------------------------
! 372: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 373: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 374: # script with STATUS, using 1 if that was 0.
! 375: as_fn_error ()
! 376: {
! 377: as_status=$1; test $as_status -eq 0 && as_status=1
! 378: if test "$4"; then
! 379: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 380: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 381: fi
! 382: $as_echo "$as_me: error: $2" >&2
! 383: as_fn_exit $as_status
! 384: } # as_fn_error
! 385:
! 386: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 387: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 388: as_expr=expr
! 389: else
! 390: as_expr=false
! 391: fi
! 392:
! 393: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 394: as_basename=basename
! 395: else
! 396: as_basename=false
! 397: fi
! 398:
! 399: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 400: as_dirname=dirname
! 401: else
! 402: as_dirname=false
! 403: fi
! 404:
! 405: as_me=`$as_basename -- "$0" ||
! 406: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 407: X"$0" : 'X\(//\)$' \| \
! 408: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 409: $as_echo X/"$0" |
! 410: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 411: s//\1/
! 412: q
! 413: }
! 414: /^X\/\(\/\/\)$/{
! 415: s//\1/
! 416: q
! 417: }
! 418: /^X\/\(\/\).*/{
! 419: s//\1/
! 420: q
! 421: }
! 422: s/.*/./; q'`
! 423:
! 424: # Avoid depending upon Character Ranges.
! 425: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 426: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 427: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 428: as_cr_digits='0123456789'
! 429: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 430:
! 431:
! 432: as_lineno_1=$LINENO as_lineno_1a=$LINENO
! 433: as_lineno_2=$LINENO as_lineno_2a=$LINENO
! 434: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
! 435: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
! 436: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
! 437: sed -n '
! 438: p
! 439: /[$]LINENO/=
! 440: ' <$as_myself |
! 441: sed '
! 442: s/[$]LINENO.*/&-/
! 443: t lineno
! 444: b
! 445: :lineno
! 446: N
! 447: :loop
! 448: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 449: t loop
! 450: s/-\n.*//
! 451: ' >$as_me.lineno &&
! 452: chmod +x "$as_me.lineno" ||
! 453: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
! 454:
! 455: # Don't try to exec as it changes $[0], causing all sort of problems
! 456: # (the dirname of $[0] is not the place where we might find the
! 457: # original and so on. Autoconf is especially sensitive to this).
! 458: . "./$as_me.lineno"
! 459: # Exit status is that of the last command.
! 460: exit
! 461: }
! 462:
! 463: ECHO_C= ECHO_N= ECHO_T=
! 464: case `echo -n x` in #(((((
! 465: -n*)
! 466: case `echo 'xy\c'` in
! 467: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 468: xy) ECHO_C='\c';;
! 469: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 470: ECHO_T=' ';;
! 471: esac;;
! 472: *)
! 473: ECHO_N='-n';;
! 474: esac
! 475:
! 476: rm -f conf$$ conf$$.exe conf$$.file
! 477: if test -d conf$$.dir; then
! 478: rm -f conf$$.dir/conf$$.file
! 479: else
! 480: rm -f conf$$.dir
! 481: mkdir conf$$.dir 2>/dev/null
! 482: fi
! 483: if (echo >conf$$.file) 2>/dev/null; then
! 484: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 485: as_ln_s='ln -s'
! 486: # ... but there are two gotchas:
! 487: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 488: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 489: # In both cases, we have to default to `cp -p'.
! 490: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 491: as_ln_s='cp -p'
! 492: elif ln conf$$.file conf$$ 2>/dev/null; then
! 493: as_ln_s=ln
! 494: else
! 495: as_ln_s='cp -p'
! 496: fi
! 497: else
! 498: as_ln_s='cp -p'
! 499: fi
! 500: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 501: rmdir conf$$.dir 2>/dev/null
! 502:
! 503: if mkdir -p . 2>/dev/null; then
! 504: as_mkdir_p='mkdir -p "$as_dir"'
! 505: else
! 506: test -d ./-p && rmdir ./-p
! 507: as_mkdir_p=false
! 508: fi
! 509:
! 510: if test -x / >/dev/null 2>&1; then
! 511: as_test_x='test -x'
! 512: else
! 513: if ls -dL / >/dev/null 2>&1; then
! 514: as_ls_L_option=L
! 515: else
! 516: as_ls_L_option=
! 517: fi
! 518: as_test_x='
! 519: eval sh -c '\''
! 520: if test -d "$1"; then
! 521: test -d "$1/.";
! 522: else
! 523: case $1 in #(
! 524: -*)set "./$1";;
! 525: esac;
! 526: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 527: ???[sx]*):;;*)false;;esac;fi
! 528: '\'' sh
! 529: '
! 530: fi
! 531: as_executable_p=$as_test_x
! 532:
! 533: # Sed expression to map a string onto a valid CPP name.
! 534: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 535:
! 536: # Sed expression to map a string onto a valid variable name.
! 537: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 538:
! 539:
! 540: test -n "$DJDIR" || exec 7<&0 </dev/null
! 541: exec 6>&1
! 542:
! 543: # Name of the host.
! 544: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
! 545: # so uname gets run too.
! 546: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 547:
! 548: #
! 549: # Initializations.
! 550: #
! 551: ac_default_prefix=/usr/local
! 552: ac_clean_files=
! 553: ac_config_libobj_dir=.
! 554: LIBOBJS=
! 555: cross_compiling=no
! 556: subdirs=
! 557: MFLAGS=
! 558: MAKEFLAGS=
! 559:
! 560: # Identity of this package.
! 561: PACKAGE_NAME='ansh'
! 562: PACKAGE_TARNAME='ansh'
! 563: PACKAGE_VERSION='1.0'
! 564: PACKAGE_STRING='ansh 1.0'
! 565: PACKAGE_BUGREPORT='misho@elwix.org'
! 566: PACKAGE_URL=''
! 567:
! 568: ac_unique_file="src/anshd.c"
! 569: # Factoring default headers for most tests.
! 570: ac_includes_default="\
! 571: #include <stdio.h>
! 572: #ifdef HAVE_SYS_TYPES_H
! 573: # include <sys/types.h>
! 574: #endif
! 575: #ifdef HAVE_SYS_STAT_H
! 576: # include <sys/stat.h>
! 577: #endif
! 578: #ifdef STDC_HEADERS
! 579: # include <stdlib.h>
! 580: # include <stddef.h>
! 581: #else
! 582: # ifdef HAVE_STDLIB_H
! 583: # include <stdlib.h>
! 584: # endif
! 585: #endif
! 586: #ifdef HAVE_STRING_H
! 587: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 588: # include <memory.h>
! 589: # endif
! 590: # include <string.h>
! 591: #endif
! 592: #ifdef HAVE_STRINGS_H
! 593: # include <strings.h>
! 594: #endif
! 595: #ifdef HAVE_INTTYPES_H
! 596: # include <inttypes.h>
! 597: #endif
! 598: #ifdef HAVE_STDINT_H
! 599: # include <stdint.h>
! 600: #endif
! 601: #ifdef HAVE_UNISTD_H
! 602: # include <unistd.h>
! 603: #endif"
! 604:
! 605: ac_subst_vars='LTLIBOBJS
! 606: LIBOBJS
! 607: EGREP
! 608: GREP
! 609: CPP
! 610: MKDEP
! 611: target_os
! 612: target_vendor
! 613: target_cpu
! 614: target
! 615: host_os
! 616: host_vendor
! 617: host_cpu
! 618: host
! 619: build_os
! 620: build_vendor
! 621: build_cpu
! 622: build
! 623: INSTALL_DATA
! 624: INSTALL_SCRIPT
! 625: INSTALL_PROGRAM
! 626: OBJEXT
! 627: EXEEXT
! 628: ac_ct_CC
! 629: CPPFLAGS
! 630: LDFLAGS
! 631: CFLAGS
! 632: CC
! 633: target_alias
! 634: host_alias
! 635: build_alias
! 636: LIBS
! 637: ECHO_T
! 638: ECHO_N
! 639: ECHO_C
! 640: DEFS
! 641: mandir
! 642: localedir
! 643: libdir
! 644: psdir
! 645: pdfdir
! 646: dvidir
! 647: htmldir
! 648: infodir
! 649: docdir
! 650: oldincludedir
! 651: includedir
! 652: localstatedir
! 653: sharedstatedir
! 654: sysconfdir
! 655: datadir
! 656: datarootdir
! 657: libexecdir
! 658: sbindir
! 659: bindir
! 660: program_transform_name
! 661: prefix
! 662: exec_prefix
! 663: PACKAGE_URL
! 664: PACKAGE_BUGREPORT
! 665: PACKAGE_STRING
! 666: PACKAGE_VERSION
! 667: PACKAGE_TARNAME
! 668: PACKAGE_NAME
! 669: PATH_SEPARATOR
! 670: SHELL'
! 671: ac_subst_files=''
! 672: ac_user_opts='
! 673: enable_option_checking
! 674: '
! 675: ac_precious_vars='build_alias
! 676: host_alias
! 677: target_alias
! 678: CC
! 679: CFLAGS
! 680: LDFLAGS
! 681: LIBS
! 682: CPPFLAGS
! 683: CPP
! 684: CPPFLAGS'
! 685:
! 686:
! 687: # Initialize some variables set by options.
! 688: ac_init_help=
! 689: ac_init_version=false
! 690: ac_unrecognized_opts=
! 691: ac_unrecognized_sep=
! 692: # The variables have the same names as the options, with
! 693: # dashes changed to underlines.
! 694: cache_file=/dev/null
! 695: exec_prefix=NONE
! 696: no_create=
! 697: no_recursion=
! 698: prefix=NONE
! 699: program_prefix=NONE
! 700: program_suffix=NONE
! 701: program_transform_name=s,x,x,
! 702: silent=
! 703: site=
! 704: srcdir=
! 705: verbose=
! 706: x_includes=NONE
! 707: x_libraries=NONE
! 708:
! 709: # Installation directory options.
! 710: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 711: # and all the variables that are supposed to be based on exec_prefix
! 712: # by default will actually change.
! 713: # Use braces instead of parens because sh, perl, etc. also accept them.
! 714: # (The list follows the same order as the GNU Coding Standards.)
! 715: bindir='${exec_prefix}/bin'
! 716: sbindir='${exec_prefix}/sbin'
! 717: libexecdir='${exec_prefix}/libexec'
! 718: datarootdir='${prefix}/share'
! 719: datadir='${datarootdir}'
! 720: sysconfdir='${prefix}/etc'
! 721: sharedstatedir='${prefix}/com'
! 722: localstatedir='${prefix}/var'
! 723: includedir='${prefix}/include'
! 724: oldincludedir='/usr/include'
! 725: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 726: infodir='${datarootdir}/info'
! 727: htmldir='${docdir}'
! 728: dvidir='${docdir}'
! 729: pdfdir='${docdir}'
! 730: psdir='${docdir}'
! 731: libdir='${exec_prefix}/lib'
! 732: localedir='${datarootdir}/locale'
! 733: mandir='${datarootdir}/man'
! 734:
! 735: ac_prev=
! 736: ac_dashdash=
! 737: for ac_option
! 738: do
! 739: # If the previous option needs an argument, assign it.
! 740: if test -n "$ac_prev"; then
! 741: eval $ac_prev=\$ac_option
! 742: ac_prev=
! 743: continue
! 744: fi
! 745:
! 746: case $ac_option in
! 747: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 748: *=) ac_optarg= ;;
! 749: *) ac_optarg=yes ;;
! 750: esac
! 751:
! 752: # Accept the important Cygnus configure options, so we can diagnose typos.
! 753:
! 754: case $ac_dashdash$ac_option in
! 755: --)
! 756: ac_dashdash=yes ;;
! 757:
! 758: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 759: ac_prev=bindir ;;
! 760: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 761: bindir=$ac_optarg ;;
! 762:
! 763: -build | --build | --buil | --bui | --bu)
! 764: ac_prev=build_alias ;;
! 765: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 766: build_alias=$ac_optarg ;;
! 767:
! 768: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 769: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 770: ac_prev=cache_file ;;
! 771: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 772: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 773: cache_file=$ac_optarg ;;
! 774:
! 775: --config-cache | -C)
! 776: cache_file=config.cache ;;
! 777:
! 778: -datadir | --datadir | --datadi | --datad)
! 779: ac_prev=datadir ;;
! 780: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 781: datadir=$ac_optarg ;;
! 782:
! 783: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 784: | --dataroo | --dataro | --datar)
! 785: ac_prev=datarootdir ;;
! 786: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 787: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 788: datarootdir=$ac_optarg ;;
! 789:
! 790: -disable-* | --disable-*)
! 791: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 792: # Reject names that are not valid shell variable names.
! 793: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 794: as_fn_error $? "invalid feature name: $ac_useropt"
! 795: ac_useropt_orig=$ac_useropt
! 796: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 797: case $ac_user_opts in
! 798: *"
! 799: "enable_$ac_useropt"
! 800: "*) ;;
! 801: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 802: ac_unrecognized_sep=', ';;
! 803: esac
! 804: eval enable_$ac_useropt=no ;;
! 805:
! 806: -docdir | --docdir | --docdi | --doc | --do)
! 807: ac_prev=docdir ;;
! 808: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 809: docdir=$ac_optarg ;;
! 810:
! 811: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 812: ac_prev=dvidir ;;
! 813: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 814: dvidir=$ac_optarg ;;
! 815:
! 816: -enable-* | --enable-*)
! 817: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 818: # Reject names that are not valid shell variable names.
! 819: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 820: as_fn_error $? "invalid feature name: $ac_useropt"
! 821: ac_useropt_orig=$ac_useropt
! 822: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 823: case $ac_user_opts in
! 824: *"
! 825: "enable_$ac_useropt"
! 826: "*) ;;
! 827: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 828: ac_unrecognized_sep=', ';;
! 829: esac
! 830: eval enable_$ac_useropt=\$ac_optarg ;;
! 831:
! 832: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 833: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 834: | --exec | --exe | --ex)
! 835: ac_prev=exec_prefix ;;
! 836: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 837: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 838: | --exec=* | --exe=* | --ex=*)
! 839: exec_prefix=$ac_optarg ;;
! 840:
! 841: -gas | --gas | --ga | --g)
! 842: # Obsolete; use --with-gas.
! 843: with_gas=yes ;;
! 844:
! 845: -help | --help | --hel | --he | -h)
! 846: ac_init_help=long ;;
! 847: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 848: ac_init_help=recursive ;;
! 849: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 850: ac_init_help=short ;;
! 851:
! 852: -host | --host | --hos | --ho)
! 853: ac_prev=host_alias ;;
! 854: -host=* | --host=* | --hos=* | --ho=*)
! 855: host_alias=$ac_optarg ;;
! 856:
! 857: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 858: ac_prev=htmldir ;;
! 859: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 860: | --ht=*)
! 861: htmldir=$ac_optarg ;;
! 862:
! 863: -includedir | --includedir | --includedi | --included | --include \
! 864: | --includ | --inclu | --incl | --inc)
! 865: ac_prev=includedir ;;
! 866: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 867: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 868: includedir=$ac_optarg ;;
! 869:
! 870: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 871: ac_prev=infodir ;;
! 872: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 873: infodir=$ac_optarg ;;
! 874:
! 875: -libdir | --libdir | --libdi | --libd)
! 876: ac_prev=libdir ;;
! 877: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 878: libdir=$ac_optarg ;;
! 879:
! 880: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 881: | --libexe | --libex | --libe)
! 882: ac_prev=libexecdir ;;
! 883: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 884: | --libexe=* | --libex=* | --libe=*)
! 885: libexecdir=$ac_optarg ;;
! 886:
! 887: -localedir | --localedir | --localedi | --localed | --locale)
! 888: ac_prev=localedir ;;
! 889: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 890: localedir=$ac_optarg ;;
! 891:
! 892: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 893: | --localstate | --localstat | --localsta | --localst | --locals)
! 894: ac_prev=localstatedir ;;
! 895: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 896: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 897: localstatedir=$ac_optarg ;;
! 898:
! 899: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 900: ac_prev=mandir ;;
! 901: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 902: mandir=$ac_optarg ;;
! 903:
! 904: -nfp | --nfp | --nf)
! 905: # Obsolete; use --without-fp.
! 906: with_fp=no ;;
! 907:
! 908: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 909: | --no-cr | --no-c | -n)
! 910: no_create=yes ;;
! 911:
! 912: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 913: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 914: no_recursion=yes ;;
! 915:
! 916: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 917: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 918: | --oldin | --oldi | --old | --ol | --o)
! 919: ac_prev=oldincludedir ;;
! 920: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 921: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 922: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 923: oldincludedir=$ac_optarg ;;
! 924:
! 925: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 926: ac_prev=prefix ;;
! 927: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 928: prefix=$ac_optarg ;;
! 929:
! 930: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 931: | --program-pre | --program-pr | --program-p)
! 932: ac_prev=program_prefix ;;
! 933: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 934: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 935: program_prefix=$ac_optarg ;;
! 936:
! 937: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 938: | --program-suf | --program-su | --program-s)
! 939: ac_prev=program_suffix ;;
! 940: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 941: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 942: program_suffix=$ac_optarg ;;
! 943:
! 944: -program-transform-name | --program-transform-name \
! 945: | --program-transform-nam | --program-transform-na \
! 946: | --program-transform-n | --program-transform- \
! 947: | --program-transform | --program-transfor \
! 948: | --program-transfo | --program-transf \
! 949: | --program-trans | --program-tran \
! 950: | --progr-tra | --program-tr | --program-t)
! 951: ac_prev=program_transform_name ;;
! 952: -program-transform-name=* | --program-transform-name=* \
! 953: | --program-transform-nam=* | --program-transform-na=* \
! 954: | --program-transform-n=* | --program-transform-=* \
! 955: | --program-transform=* | --program-transfor=* \
! 956: | --program-transfo=* | --program-transf=* \
! 957: | --program-trans=* | --program-tran=* \
! 958: | --progr-tra=* | --program-tr=* | --program-t=*)
! 959: program_transform_name=$ac_optarg ;;
! 960:
! 961: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 962: ac_prev=pdfdir ;;
! 963: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 964: pdfdir=$ac_optarg ;;
! 965:
! 966: -psdir | --psdir | --psdi | --psd | --ps)
! 967: ac_prev=psdir ;;
! 968: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 969: psdir=$ac_optarg ;;
! 970:
! 971: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 972: | -silent | --silent | --silen | --sile | --sil)
! 973: silent=yes ;;
! 974:
! 975: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 976: ac_prev=sbindir ;;
! 977: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 978: | --sbi=* | --sb=*)
! 979: sbindir=$ac_optarg ;;
! 980:
! 981: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 982: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 983: | --sharedst | --shareds | --shared | --share | --shar \
! 984: | --sha | --sh)
! 985: ac_prev=sharedstatedir ;;
! 986: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 987: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 988: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 989: | --sha=* | --sh=*)
! 990: sharedstatedir=$ac_optarg ;;
! 991:
! 992: -site | --site | --sit)
! 993: ac_prev=site ;;
! 994: -site=* | --site=* | --sit=*)
! 995: site=$ac_optarg ;;
! 996:
! 997: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 998: ac_prev=srcdir ;;
! 999: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1000: srcdir=$ac_optarg ;;
! 1001:
! 1002: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1003: | --syscon | --sysco | --sysc | --sys | --sy)
! 1004: ac_prev=sysconfdir ;;
! 1005: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1006: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1007: sysconfdir=$ac_optarg ;;
! 1008:
! 1009: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1010: ac_prev=target_alias ;;
! 1011: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1012: target_alias=$ac_optarg ;;
! 1013:
! 1014: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1015: verbose=yes ;;
! 1016:
! 1017: -version | --version | --versio | --versi | --vers | -V)
! 1018: ac_init_version=: ;;
! 1019:
! 1020: -with-* | --with-*)
! 1021: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1022: # Reject names that are not valid shell variable names.
! 1023: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1024: as_fn_error $? "invalid package name: $ac_useropt"
! 1025: ac_useropt_orig=$ac_useropt
! 1026: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1027: case $ac_user_opts in
! 1028: *"
! 1029: "with_$ac_useropt"
! 1030: "*) ;;
! 1031: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1032: ac_unrecognized_sep=', ';;
! 1033: esac
! 1034: eval with_$ac_useropt=\$ac_optarg ;;
! 1035:
! 1036: -without-* | --without-*)
! 1037: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1038: # Reject names that are not valid shell variable names.
! 1039: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1040: as_fn_error $? "invalid package name: $ac_useropt"
! 1041: ac_useropt_orig=$ac_useropt
! 1042: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1043: case $ac_user_opts in
! 1044: *"
! 1045: "with_$ac_useropt"
! 1046: "*) ;;
! 1047: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1048: ac_unrecognized_sep=', ';;
! 1049: esac
! 1050: eval with_$ac_useropt=no ;;
! 1051:
! 1052: --x)
! 1053: # Obsolete; use --with-x.
! 1054: with_x=yes ;;
! 1055:
! 1056: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1057: | --x-incl | --x-inc | --x-in | --x-i)
! 1058: ac_prev=x_includes ;;
! 1059: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1060: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1061: x_includes=$ac_optarg ;;
! 1062:
! 1063: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1064: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1065: ac_prev=x_libraries ;;
! 1066: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1067: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1068: x_libraries=$ac_optarg ;;
! 1069:
! 1070: -*) as_fn_error $? "unrecognized option: \`$ac_option'
! 1071: Try \`$0 --help' for more information"
! 1072: ;;
! 1073:
! 1074: *=*)
! 1075: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1076: # Reject names that are not valid shell variable names.
! 1077: case $ac_envvar in #(
! 1078: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1079: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
! 1080: esac
! 1081: eval $ac_envvar=\$ac_optarg
! 1082: export $ac_envvar ;;
! 1083:
! 1084: *)
! 1085: # FIXME: should be removed in autoconf 3.0.
! 1086: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1087: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1088: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1089: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
! 1090: ;;
! 1091:
! 1092: esac
! 1093: done
! 1094:
! 1095: if test -n "$ac_prev"; then
! 1096: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1097: as_fn_error $? "missing argument to $ac_option"
! 1098: fi
! 1099:
! 1100: if test -n "$ac_unrecognized_opts"; then
! 1101: case $enable_option_checking in
! 1102: no) ;;
! 1103: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! 1104: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1105: esac
! 1106: fi
! 1107:
! 1108: # Check all directory arguments for consistency.
! 1109: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1110: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1111: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1112: libdir localedir mandir
! 1113: do
! 1114: eval ac_val=\$$ac_var
! 1115: # Remove trailing slashes.
! 1116: case $ac_val in
! 1117: */ )
! 1118: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1119: eval $ac_var=\$ac_val;;
! 1120: esac
! 1121: # Be sure to have absolute directory names.
! 1122: case $ac_val in
! 1123: [\\/$]* | ?:[\\/]* ) continue;;
! 1124: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1125: esac
! 1126: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
! 1127: done
! 1128:
! 1129: # There might be people who depend on the old broken behavior: `$host'
! 1130: # used to hold the argument of --host etc.
! 1131: # FIXME: To remove some day.
! 1132: build=$build_alias
! 1133: host=$host_alias
! 1134: target=$target_alias
! 1135:
! 1136: # FIXME: To remove some day.
! 1137: if test "x$host_alias" != x; then
! 1138: if test "x$build_alias" = x; then
! 1139: cross_compiling=maybe
! 1140: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
! 1141: If a cross compiler is detected then cross compile mode will be used" >&2
! 1142: elif test "x$build_alias" != "x$host_alias"; then
! 1143: cross_compiling=yes
! 1144: fi
! 1145: fi
! 1146:
! 1147: ac_tool_prefix=
! 1148: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1149:
! 1150: test "$silent" = yes && exec 6>/dev/null
! 1151:
! 1152:
! 1153: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1154: ac_ls_di=`ls -di .` &&
! 1155: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1156: as_fn_error $? "working directory cannot be determined"
! 1157: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1158: as_fn_error $? "pwd does not report name of working directory"
! 1159:
! 1160:
! 1161: # Find the source files, if location was not specified.
! 1162: if test -z "$srcdir"; then
! 1163: ac_srcdir_defaulted=yes
! 1164: # Try the directory containing this script, then the parent directory.
! 1165: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1166: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1167: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1168: X"$as_myself" : 'X\(//\)$' \| \
! 1169: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1170: $as_echo X"$as_myself" |
! 1171: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1172: s//\1/
! 1173: q
! 1174: }
! 1175: /^X\(\/\/\)[^/].*/{
! 1176: s//\1/
! 1177: q
! 1178: }
! 1179: /^X\(\/\/\)$/{
! 1180: s//\1/
! 1181: q
! 1182: }
! 1183: /^X\(\/\).*/{
! 1184: s//\1/
! 1185: q
! 1186: }
! 1187: s/.*/./; q'`
! 1188: srcdir=$ac_confdir
! 1189: if test ! -r "$srcdir/$ac_unique_file"; then
! 1190: srcdir=..
! 1191: fi
! 1192: else
! 1193: ac_srcdir_defaulted=no
! 1194: fi
! 1195: if test ! -r "$srcdir/$ac_unique_file"; then
! 1196: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1197: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
! 1198: fi
! 1199: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1200: ac_abs_confdir=`(
! 1201: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
! 1202: pwd)`
! 1203: # When building in place, set srcdir=.
! 1204: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1205: srcdir=.
! 1206: fi
! 1207: # Remove unnecessary trailing slashes from srcdir.
! 1208: # Double slashes in file names in object file debugging info
! 1209: # mess up M-x gdb in Emacs.
! 1210: case $srcdir in
! 1211: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1212: esac
! 1213: for ac_var in $ac_precious_vars; do
! 1214: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1215: eval ac_env_${ac_var}_value=\$${ac_var}
! 1216: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1217: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1218: done
! 1219:
! 1220: #
! 1221: # Report the --help message.
! 1222: #
! 1223: if test "$ac_init_help" = "long"; then
! 1224: # Omit some internal or obsolete options to make the list less imposing.
! 1225: # This message is too long to be a string in the A/UX 3.1 sh.
! 1226: cat <<_ACEOF
! 1227: \`configure' configures ansh 1.0 to adapt to many kinds of systems.
! 1228:
! 1229: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1230:
! 1231: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1232: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1233:
! 1234: Defaults for the options are specified in brackets.
! 1235:
! 1236: Configuration:
! 1237: -h, --help display this help and exit
! 1238: --help=short display options specific to this package
! 1239: --help=recursive display the short help of all the included packages
! 1240: -V, --version display version information and exit
! 1241: -q, --quiet, --silent do not print \`checking ...' messages
! 1242: --cache-file=FILE cache test results in FILE [disabled]
! 1243: -C, --config-cache alias for \`--cache-file=config.cache'
! 1244: -n, --no-create do not create output files
! 1245: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1246:
! 1247: Installation directories:
! 1248: --prefix=PREFIX install architecture-independent files in PREFIX
! 1249: [$ac_default_prefix]
! 1250: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1251: [PREFIX]
! 1252:
! 1253: By default, \`make install' will install all the files in
! 1254: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1255: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1256: for instance \`--prefix=\$HOME'.
! 1257:
! 1258: For better control, use the options below.
! 1259:
! 1260: Fine tuning of the installation directories:
! 1261: --bindir=DIR user executables [EPREFIX/bin]
! 1262: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1263: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1264: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1265: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1266: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1267: --libdir=DIR object code libraries [EPREFIX/lib]
! 1268: --includedir=DIR C header files [PREFIX/include]
! 1269: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1270: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1271: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1272: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1273: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1274: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1275: --docdir=DIR documentation root [DATAROOTDIR/doc/ansh]
! 1276: --htmldir=DIR html documentation [DOCDIR]
! 1277: --dvidir=DIR dvi documentation [DOCDIR]
! 1278: --pdfdir=DIR pdf documentation [DOCDIR]
! 1279: --psdir=DIR ps documentation [DOCDIR]
! 1280: _ACEOF
! 1281:
! 1282: cat <<\_ACEOF
! 1283:
! 1284: System types:
! 1285: --build=BUILD configure for building on BUILD [guessed]
! 1286: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1287: --target=TARGET configure for building compilers for TARGET [HOST]
! 1288: _ACEOF
! 1289: fi
! 1290:
! 1291: if test -n "$ac_init_help"; then
! 1292: case $ac_init_help in
! 1293: short | recursive ) echo "Configuration of ansh 1.0:";;
! 1294: esac
! 1295: cat <<\_ACEOF
! 1296:
! 1297: Some influential environment variables:
! 1298: CC C compiler command
! 1299: CFLAGS C compiler flags
! 1300: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1301: nonstandard directory <lib dir>
! 1302: LIBS libraries to pass to the linker, e.g. -l<library>
! 1303: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1304: you have headers in a nonstandard directory <include dir>
! 1305: CPP C preprocessor
! 1306:
! 1307: Use these variables to override the choices made by `configure' or to help
! 1308: it to find libraries and programs with nonstandard names/locations.
! 1309:
! 1310: Report bugs to <misho@elwix.org>.
! 1311: _ACEOF
! 1312: ac_status=$?
! 1313: fi
! 1314:
! 1315: if test "$ac_init_help" = "recursive"; then
! 1316: # If there are subdirs, report their specific --help.
! 1317: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1318: test -d "$ac_dir" ||
! 1319: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1320: continue
! 1321: ac_builddir=.
! 1322:
! 1323: case "$ac_dir" in
! 1324: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1325: *)
! 1326: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1327: # A ".." for each directory in $ac_dir_suffix.
! 1328: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1329: case $ac_top_builddir_sub in
! 1330: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1331: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1332: esac ;;
! 1333: esac
! 1334: ac_abs_top_builddir=$ac_pwd
! 1335: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1336: # for backward compatibility:
! 1337: ac_top_builddir=$ac_top_build_prefix
! 1338:
! 1339: case $srcdir in
! 1340: .) # We are building in place.
! 1341: ac_srcdir=.
! 1342: ac_top_srcdir=$ac_top_builddir_sub
! 1343: ac_abs_top_srcdir=$ac_pwd ;;
! 1344: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1345: ac_srcdir=$srcdir$ac_dir_suffix;
! 1346: ac_top_srcdir=$srcdir
! 1347: ac_abs_top_srcdir=$srcdir ;;
! 1348: *) # Relative name.
! 1349: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1350: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1351: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1352: esac
! 1353: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1354:
! 1355: cd "$ac_dir" || { ac_status=$?; continue; }
! 1356: # Check for guested configure.
! 1357: if test -f "$ac_srcdir/configure.gnu"; then
! 1358: echo &&
! 1359: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1360: elif test -f "$ac_srcdir/configure"; then
! 1361: echo &&
! 1362: $SHELL "$ac_srcdir/configure" --help=recursive
! 1363: else
! 1364: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1365: fi || ac_status=$?
! 1366: cd "$ac_pwd" || { ac_status=$?; break; }
! 1367: done
! 1368: fi
! 1369:
! 1370: test -n "$ac_init_help" && exit $ac_status
! 1371: if $ac_init_version; then
! 1372: cat <<\_ACEOF
! 1373: ansh configure 1.0
! 1374: generated by GNU Autoconf 2.68
! 1375:
! 1376: Copyright (C) 2010 Free Software Foundation, Inc.
! 1377: This configure script is free software; the Free Software Foundation
! 1378: gives unlimited permission to copy, distribute and modify it.
! 1379: _ACEOF
! 1380: exit
! 1381: fi
! 1382:
! 1383: ## ------------------------ ##
! 1384: ## Autoconf initialization. ##
! 1385: ## ------------------------ ##
! 1386:
! 1387: # ac_fn_c_try_compile LINENO
! 1388: # --------------------------
! 1389: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1390: ac_fn_c_try_compile ()
! 1391: {
! 1392: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1393: rm -f conftest.$ac_objext
! 1394: if { { ac_try="$ac_compile"
! 1395: case "(($ac_try" in
! 1396: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1397: *) ac_try_echo=$ac_try;;
! 1398: esac
! 1399: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1400: $as_echo "$ac_try_echo"; } >&5
! 1401: (eval "$ac_compile") 2>conftest.err
! 1402: ac_status=$?
! 1403: if test -s conftest.err; then
! 1404: grep -v '^ *+' conftest.err >conftest.er1
! 1405: cat conftest.er1 >&5
! 1406: mv -f conftest.er1 conftest.err
! 1407: fi
! 1408: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1409: test $ac_status = 0; } && {
! 1410: test -z "$ac_c_werror_flag" ||
! 1411: test ! -s conftest.err
! 1412: } && test -s conftest.$ac_objext; then :
! 1413: ac_retval=0
! 1414: else
! 1415: $as_echo "$as_me: failed program was:" >&5
! 1416: sed 's/^/| /' conftest.$ac_ext >&5
! 1417:
! 1418: ac_retval=1
! 1419: fi
! 1420: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1421: as_fn_set_status $ac_retval
! 1422:
! 1423: } # ac_fn_c_try_compile
! 1424:
! 1425: # ac_fn_c_try_link LINENO
! 1426: # -----------------------
! 1427: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1428: ac_fn_c_try_link ()
! 1429: {
! 1430: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1431: rm -f conftest.$ac_objext conftest$ac_exeext
! 1432: if { { ac_try="$ac_link"
! 1433: case "(($ac_try" in
! 1434: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1435: *) ac_try_echo=$ac_try;;
! 1436: esac
! 1437: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1438: $as_echo "$ac_try_echo"; } >&5
! 1439: (eval "$ac_link") 2>conftest.err
! 1440: ac_status=$?
! 1441: if test -s conftest.err; then
! 1442: grep -v '^ *+' conftest.err >conftest.er1
! 1443: cat conftest.er1 >&5
! 1444: mv -f conftest.er1 conftest.err
! 1445: fi
! 1446: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1447: test $ac_status = 0; } && {
! 1448: test -z "$ac_c_werror_flag" ||
! 1449: test ! -s conftest.err
! 1450: } && test -s conftest$ac_exeext && {
! 1451: test "$cross_compiling" = yes ||
! 1452: $as_test_x conftest$ac_exeext
! 1453: }; then :
! 1454: ac_retval=0
! 1455: else
! 1456: $as_echo "$as_me: failed program was:" >&5
! 1457: sed 's/^/| /' conftest.$ac_ext >&5
! 1458:
! 1459: ac_retval=1
! 1460: fi
! 1461: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1462: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1463: # interfere with the next link command; also delete a directory that is
! 1464: # left behind by Apple's compiler. We do this before executing the actions.
! 1465: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1466: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1467: as_fn_set_status $ac_retval
! 1468:
! 1469: } # ac_fn_c_try_link
! 1470:
! 1471: # ac_fn_c_try_cpp LINENO
! 1472: # ----------------------
! 1473: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
! 1474: ac_fn_c_try_cpp ()
! 1475: {
! 1476: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1477: if { { ac_try="$ac_cpp conftest.$ac_ext"
! 1478: case "(($ac_try" in
! 1479: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1480: *) ac_try_echo=$ac_try;;
! 1481: esac
! 1482: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1483: $as_echo "$ac_try_echo"; } >&5
! 1484: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
! 1485: ac_status=$?
! 1486: if test -s conftest.err; then
! 1487: grep -v '^ *+' conftest.err >conftest.er1
! 1488: cat conftest.er1 >&5
! 1489: mv -f conftest.er1 conftest.err
! 1490: fi
! 1491: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1492: test $ac_status = 0; } > conftest.i && {
! 1493: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 1494: test ! -s conftest.err
! 1495: }; then :
! 1496: ac_retval=0
! 1497: else
! 1498: $as_echo "$as_me: failed program was:" >&5
! 1499: sed 's/^/| /' conftest.$ac_ext >&5
! 1500:
! 1501: ac_retval=1
! 1502: fi
! 1503: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1504: as_fn_set_status $ac_retval
! 1505:
! 1506: } # ac_fn_c_try_cpp
! 1507:
! 1508: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
! 1509: # -------------------------------------------------------
! 1510: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
! 1511: # the include files in INCLUDES and setting the cache variable VAR
! 1512: # accordingly.
! 1513: ac_fn_c_check_header_mongrel ()
! 1514: {
! 1515: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1516: if eval \${$3+:} false; then :
! 1517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1518: $as_echo_n "checking for $2... " >&6; }
! 1519: if eval \${$3+:} false; then :
! 1520: $as_echo_n "(cached) " >&6
! 1521: fi
! 1522: eval ac_res=\$$3
! 1523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1524: $as_echo "$ac_res" >&6; }
! 1525: else
! 1526: # Is the header compilable?
! 1527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
! 1528: $as_echo_n "checking $2 usability... " >&6; }
! 1529: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1530: /* end confdefs.h. */
! 1531: $4
! 1532: #include <$2>
! 1533: _ACEOF
! 1534: if ac_fn_c_try_compile "$LINENO"; then :
! 1535: ac_header_compiler=yes
! 1536: else
! 1537: ac_header_compiler=no
! 1538: fi
! 1539: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
! 1541: $as_echo "$ac_header_compiler" >&6; }
! 1542:
! 1543: # Is the header present?
! 1544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
! 1545: $as_echo_n "checking $2 presence... " >&6; }
! 1546: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1547: /* end confdefs.h. */
! 1548: #include <$2>
! 1549: _ACEOF
! 1550: if ac_fn_c_try_cpp "$LINENO"; then :
! 1551: ac_header_preproc=yes
! 1552: else
! 1553: ac_header_preproc=no
! 1554: fi
! 1555: rm -f conftest.err conftest.i conftest.$ac_ext
! 1556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
! 1557: $as_echo "$ac_header_preproc" >&6; }
! 1558:
! 1559: # So? What about this header?
! 1560: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
! 1561: yes:no: )
! 1562: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
! 1563: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 1564: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1565: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1566: ;;
! 1567: no:yes:* )
! 1568: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
! 1569: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
! 1570: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
! 1571: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
! 1572: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
! 1573: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
! 1574: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
! 1575: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
! 1576: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 1577: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 1578: ( $as_echo "## ------------------------------ ##
! 1579: ## Report this to misho@elwix.org ##
! 1580: ## ------------------------------ ##"
! 1581: ) | sed "s/^/$as_me: WARNING: /" >&2
! 1582: ;;
! 1583: esac
! 1584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1585: $as_echo_n "checking for $2... " >&6; }
! 1586: if eval \${$3+:} false; then :
! 1587: $as_echo_n "(cached) " >&6
! 1588: else
! 1589: eval "$3=\$ac_header_compiler"
! 1590: fi
! 1591: eval ac_res=\$$3
! 1592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1593: $as_echo "$ac_res" >&6; }
! 1594: fi
! 1595: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1596:
! 1597: } # ac_fn_c_check_header_mongrel
! 1598:
! 1599: # ac_fn_c_try_run LINENO
! 1600: # ----------------------
! 1601: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
! 1602: # that executables *can* be run.
! 1603: ac_fn_c_try_run ()
! 1604: {
! 1605: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1606: if { { ac_try="$ac_link"
! 1607: case "(($ac_try" in
! 1608: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1609: *) ac_try_echo=$ac_try;;
! 1610: esac
! 1611: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1612: $as_echo "$ac_try_echo"; } >&5
! 1613: (eval "$ac_link") 2>&5
! 1614: ac_status=$?
! 1615: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1616: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
! 1617: { { case "(($ac_try" in
! 1618: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1619: *) ac_try_echo=$ac_try;;
! 1620: esac
! 1621: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1622: $as_echo "$ac_try_echo"; } >&5
! 1623: (eval "$ac_try") 2>&5
! 1624: ac_status=$?
! 1625: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1626: test $ac_status = 0; }; }; then :
! 1627: ac_retval=0
! 1628: else
! 1629: $as_echo "$as_me: program exited with status $ac_status" >&5
! 1630: $as_echo "$as_me: failed program was:" >&5
! 1631: sed 's/^/| /' conftest.$ac_ext >&5
! 1632:
! 1633: ac_retval=$ac_status
! 1634: fi
! 1635: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1636: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1637: as_fn_set_status $ac_retval
! 1638:
! 1639: } # ac_fn_c_try_run
! 1640:
! 1641: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
! 1642: # -------------------------------------------------------
! 1643: # Tests whether HEADER exists and can be compiled using the include files in
! 1644: # INCLUDES, setting the cache variable VAR accordingly.
! 1645: ac_fn_c_check_header_compile ()
! 1646: {
! 1647: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1649: $as_echo_n "checking for $2... " >&6; }
! 1650: if eval \${$3+:} false; then :
! 1651: $as_echo_n "(cached) " >&6
! 1652: else
! 1653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1654: /* end confdefs.h. */
! 1655: $4
! 1656: #include <$2>
! 1657: _ACEOF
! 1658: if ac_fn_c_try_compile "$LINENO"; then :
! 1659: eval "$3=yes"
! 1660: else
! 1661: eval "$3=no"
! 1662: fi
! 1663: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1664: fi
! 1665: eval ac_res=\$$3
! 1666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1667: $as_echo "$ac_res" >&6; }
! 1668: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1669:
! 1670: } # ac_fn_c_check_header_compile
! 1671:
! 1672: # ac_fn_c_find_intX_t LINENO BITS VAR
! 1673: # -----------------------------------
! 1674: # Finds a signed integer type with width BITS, setting cache variable VAR
! 1675: # accordingly.
! 1676: ac_fn_c_find_intX_t ()
! 1677: {
! 1678: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
! 1680: $as_echo_n "checking for int$2_t... " >&6; }
! 1681: if eval \${$3+:} false; then :
! 1682: $as_echo_n "(cached) " >&6
! 1683: else
! 1684: eval "$3=no"
! 1685: # Order is important - never check a type that is potentially smaller
! 1686: # than half of the expected target width.
! 1687: for ac_type in int$2_t 'int' 'long int' \
! 1688: 'long long int' 'short int' 'signed char'; do
! 1689: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1690: /* end confdefs.h. */
! 1691: $ac_includes_default
! 1692: enum { N = $2 / 2 - 1 };
! 1693: int
! 1694: main ()
! 1695: {
! 1696: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
! 1697: test_array [0] = 0
! 1698:
! 1699: ;
! 1700: return 0;
! 1701: }
! 1702: _ACEOF
! 1703: if ac_fn_c_try_compile "$LINENO"; then :
! 1704: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1705: /* end confdefs.h. */
! 1706: $ac_includes_default
! 1707: enum { N = $2 / 2 - 1 };
! 1708: int
! 1709: main ()
! 1710: {
! 1711: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
! 1712: < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
! 1713: test_array [0] = 0
! 1714:
! 1715: ;
! 1716: return 0;
! 1717: }
! 1718: _ACEOF
! 1719: if ac_fn_c_try_compile "$LINENO"; then :
! 1720:
! 1721: else
! 1722: case $ac_type in #(
! 1723: int$2_t) :
! 1724: eval "$3=yes" ;; #(
! 1725: *) :
! 1726: eval "$3=\$ac_type" ;;
! 1727: esac
! 1728: fi
! 1729: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1730: fi
! 1731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1732: if eval test \"x\$"$3"\" = x"no"; then :
! 1733:
! 1734: else
! 1735: break
! 1736: fi
! 1737: done
! 1738: fi
! 1739: eval ac_res=\$$3
! 1740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1741: $as_echo "$ac_res" >&6; }
! 1742: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1743:
! 1744: } # ac_fn_c_find_intX_t
! 1745:
! 1746: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
! 1747: # -------------------------------------------
! 1748: # Tests whether TYPE exists after having included INCLUDES, setting cache
! 1749: # variable VAR accordingly.
! 1750: ac_fn_c_check_type ()
! 1751: {
! 1752: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1754: $as_echo_n "checking for $2... " >&6; }
! 1755: if eval \${$3+:} false; then :
! 1756: $as_echo_n "(cached) " >&6
! 1757: else
! 1758: eval "$3=no"
! 1759: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1760: /* end confdefs.h. */
! 1761: $4
! 1762: int
! 1763: main ()
! 1764: {
! 1765: if (sizeof ($2))
! 1766: return 0;
! 1767: ;
! 1768: return 0;
! 1769: }
! 1770: _ACEOF
! 1771: if ac_fn_c_try_compile "$LINENO"; then :
! 1772: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1773: /* end confdefs.h. */
! 1774: $4
! 1775: int
! 1776: main ()
! 1777: {
! 1778: if (sizeof (($2)))
! 1779: return 0;
! 1780: ;
! 1781: return 0;
! 1782: }
! 1783: _ACEOF
! 1784: if ac_fn_c_try_compile "$LINENO"; then :
! 1785:
! 1786: else
! 1787: eval "$3=yes"
! 1788: fi
! 1789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1790: fi
! 1791: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1792: fi
! 1793: eval ac_res=\$$3
! 1794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1795: $as_echo "$ac_res" >&6; }
! 1796: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1797:
! 1798: } # ac_fn_c_check_type
! 1799:
! 1800: # ac_fn_c_find_uintX_t LINENO BITS VAR
! 1801: # ------------------------------------
! 1802: # Finds an unsigned integer type with width BITS, setting cache variable VAR
! 1803: # accordingly.
! 1804: ac_fn_c_find_uintX_t ()
! 1805: {
! 1806: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
! 1808: $as_echo_n "checking for uint$2_t... " >&6; }
! 1809: if eval \${$3+:} false; then :
! 1810: $as_echo_n "(cached) " >&6
! 1811: else
! 1812: eval "$3=no"
! 1813: # Order is important - never check a type that is potentially smaller
! 1814: # than half of the expected target width.
! 1815: for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
! 1816: 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
! 1817: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1818: /* end confdefs.h. */
! 1819: $ac_includes_default
! 1820: int
! 1821: main ()
! 1822: {
! 1823: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
! 1824: test_array [0] = 0
! 1825:
! 1826: ;
! 1827: return 0;
! 1828: }
! 1829: _ACEOF
! 1830: if ac_fn_c_try_compile "$LINENO"; then :
! 1831: case $ac_type in #(
! 1832: uint$2_t) :
! 1833: eval "$3=yes" ;; #(
! 1834: *) :
! 1835: eval "$3=\$ac_type" ;;
! 1836: esac
! 1837: fi
! 1838: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1839: if eval test \"x\$"$3"\" = x"no"; then :
! 1840:
! 1841: else
! 1842: break
! 1843: fi
! 1844: done
! 1845: fi
! 1846: eval ac_res=\$$3
! 1847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1848: $as_echo "$ac_res" >&6; }
! 1849: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1850:
! 1851: } # ac_fn_c_find_uintX_t
! 1852:
! 1853: # ac_fn_c_check_func LINENO FUNC VAR
! 1854: # ----------------------------------
! 1855: # Tests whether FUNC exists, setting the cache variable VAR accordingly
! 1856: ac_fn_c_check_func ()
! 1857: {
! 1858: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1860: $as_echo_n "checking for $2... " >&6; }
! 1861: if eval \${$3+:} false; then :
! 1862: $as_echo_n "(cached) " >&6
! 1863: else
! 1864: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1865: /* end confdefs.h. */
! 1866: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
! 1867: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 1868: #define $2 innocuous_$2
! 1869:
! 1870: /* System header to define __stub macros and hopefully few prototypes,
! 1871: which can conflict with char $2 (); below.
! 1872: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 1873: <limits.h> exists even on freestanding compilers. */
! 1874:
! 1875: #ifdef __STDC__
! 1876: # include <limits.h>
! 1877: #else
! 1878: # include <assert.h>
! 1879: #endif
! 1880:
! 1881: #undef $2
! 1882:
! 1883: /* Override any GCC internal prototype to avoid an error.
! 1884: Use char because int might match the return type of a GCC
! 1885: builtin and then its argument prototype would still apply. */
! 1886: #ifdef __cplusplus
! 1887: extern "C"
! 1888: #endif
! 1889: char $2 ();
! 1890: /* The GNU C library defines this for functions which it implements
! 1891: to always fail with ENOSYS. Some functions are actually named
! 1892: something starting with __ and the normal name is an alias. */
! 1893: #if defined __stub_$2 || defined __stub___$2
! 1894: choke me
! 1895: #endif
! 1896:
! 1897: int
! 1898: main ()
! 1899: {
! 1900: return $2 ();
! 1901: ;
! 1902: return 0;
! 1903: }
! 1904: _ACEOF
! 1905: if ac_fn_c_try_link "$LINENO"; then :
! 1906: eval "$3=yes"
! 1907: else
! 1908: eval "$3=no"
! 1909: fi
! 1910: rm -f core conftest.err conftest.$ac_objext \
! 1911: conftest$ac_exeext conftest.$ac_ext
! 1912: fi
! 1913: eval ac_res=\$$3
! 1914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1915: $as_echo "$ac_res" >&6; }
! 1916: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1917:
! 1918: } # ac_fn_c_check_func
! 1919: cat >config.log <<_ACEOF
! 1920: This file contains any messages produced by compilers while
! 1921: running configure, to aid debugging if configure makes a mistake.
! 1922:
! 1923: It was created by ansh $as_me 1.0, which was
! 1924: generated by GNU Autoconf 2.68. Invocation command line was
! 1925:
! 1926: $ $0 $@
! 1927:
! 1928: _ACEOF
! 1929: exec 5>>config.log
! 1930: {
! 1931: cat <<_ASUNAME
! 1932: ## --------- ##
! 1933: ## Platform. ##
! 1934: ## --------- ##
! 1935:
! 1936: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1937: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1938: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1939: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1940: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1941:
! 1942: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1943: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1944:
! 1945: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1946: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1947: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1948: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1949: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1950: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1951: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1952:
! 1953: _ASUNAME
! 1954:
! 1955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1956: for as_dir in $PATH
! 1957: do
! 1958: IFS=$as_save_IFS
! 1959: test -z "$as_dir" && as_dir=.
! 1960: $as_echo "PATH: $as_dir"
! 1961: done
! 1962: IFS=$as_save_IFS
! 1963:
! 1964: } >&5
! 1965:
! 1966: cat >&5 <<_ACEOF
! 1967:
! 1968:
! 1969: ## ----------- ##
! 1970: ## Core tests. ##
! 1971: ## ----------- ##
! 1972:
! 1973: _ACEOF
! 1974:
! 1975:
! 1976: # Keep a trace of the command line.
! 1977: # Strip out --no-create and --no-recursion so they do not pile up.
! 1978: # Strip out --silent because we don't want to record it for future runs.
! 1979: # Also quote any args containing shell meta-characters.
! 1980: # Make two passes to allow for proper duplicate-argument suppression.
! 1981: ac_configure_args=
! 1982: ac_configure_args0=
! 1983: ac_configure_args1=
! 1984: ac_must_keep_next=false
! 1985: for ac_pass in 1 2
! 1986: do
! 1987: for ac_arg
! 1988: do
! 1989: case $ac_arg in
! 1990: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1991: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1992: | -silent | --silent | --silen | --sile | --sil)
! 1993: continue ;;
! 1994: *\'*)
! 1995: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1996: esac
! 1997: case $ac_pass in
! 1998: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 1999: 2)
! 2000: as_fn_append ac_configure_args1 " '$ac_arg'"
! 2001: if test $ac_must_keep_next = true; then
! 2002: ac_must_keep_next=false # Got value, back to normal.
! 2003: else
! 2004: case $ac_arg in
! 2005: *=* | --config-cache | -C | -disable-* | --disable-* \
! 2006: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 2007: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 2008: | -with-* | --with-* | -without-* | --without-* | --x)
! 2009: case "$ac_configure_args0 " in
! 2010: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 2011: esac
! 2012: ;;
! 2013: -* ) ac_must_keep_next=true ;;
! 2014: esac
! 2015: fi
! 2016: as_fn_append ac_configure_args " '$ac_arg'"
! 2017: ;;
! 2018: esac
! 2019: done
! 2020: done
! 2021: { ac_configure_args0=; unset ac_configure_args0;}
! 2022: { ac_configure_args1=; unset ac_configure_args1;}
! 2023:
! 2024: # When interrupted or exit'd, cleanup temporary files, and complete
! 2025: # config.log. We remove comments because anyway the quotes in there
! 2026: # would cause problems or look ugly.
! 2027: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 2028: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 2029: trap 'exit_status=$?
! 2030: # Save into config.log some information that might help in debugging.
! 2031: {
! 2032: echo
! 2033:
! 2034: $as_echo "## ---------------- ##
! 2035: ## Cache variables. ##
! 2036: ## ---------------- ##"
! 2037: echo
! 2038: # The following way of writing the cache mishandles newlines in values,
! 2039: (
! 2040: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 2041: eval ac_val=\$$ac_var
! 2042: case $ac_val in #(
! 2043: *${as_nl}*)
! 2044: case $ac_var in #(
! 2045: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 2046: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 2047: esac
! 2048: case $ac_var in #(
! 2049: _ | IFS | as_nl) ;; #(
! 2050: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 2051: *) { eval $ac_var=; unset $ac_var;} ;;
! 2052: esac ;;
! 2053: esac
! 2054: done
! 2055: (set) 2>&1 |
! 2056: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 2057: *${as_nl}ac_space=\ *)
! 2058: sed -n \
! 2059: "s/'\''/'\''\\\\'\'''\''/g;
! 2060: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 2061: ;; #(
! 2062: *)
! 2063: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 2064: ;;
! 2065: esac |
! 2066: sort
! 2067: )
! 2068: echo
! 2069:
! 2070: $as_echo "## ----------------- ##
! 2071: ## Output variables. ##
! 2072: ## ----------------- ##"
! 2073: echo
! 2074: for ac_var in $ac_subst_vars
! 2075: do
! 2076: eval ac_val=\$$ac_var
! 2077: case $ac_val in
! 2078: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2079: esac
! 2080: $as_echo "$ac_var='\''$ac_val'\''"
! 2081: done | sort
! 2082: echo
! 2083:
! 2084: if test -n "$ac_subst_files"; then
! 2085: $as_echo "## ------------------- ##
! 2086: ## File substitutions. ##
! 2087: ## ------------------- ##"
! 2088: echo
! 2089: for ac_var in $ac_subst_files
! 2090: do
! 2091: eval ac_val=\$$ac_var
! 2092: case $ac_val in
! 2093: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2094: esac
! 2095: $as_echo "$ac_var='\''$ac_val'\''"
! 2096: done | sort
! 2097: echo
! 2098: fi
! 2099:
! 2100: if test -s confdefs.h; then
! 2101: $as_echo "## ----------- ##
! 2102: ## confdefs.h. ##
! 2103: ## ----------- ##"
! 2104: echo
! 2105: cat confdefs.h
! 2106: echo
! 2107: fi
! 2108: test "$ac_signal" != 0 &&
! 2109: $as_echo "$as_me: caught signal $ac_signal"
! 2110: $as_echo "$as_me: exit $exit_status"
! 2111: } >&5
! 2112: rm -f core *.core core.conftest.* &&
! 2113: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 2114: exit $exit_status
! 2115: ' 0
! 2116: for ac_signal in 1 2 13 15; do
! 2117: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
! 2118: done
! 2119: ac_signal=0
! 2120:
! 2121: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 2122: rm -f -r conftest* confdefs.h
! 2123:
! 2124: $as_echo "/* confdefs.h */" > confdefs.h
! 2125:
! 2126: # Predefined preprocessor variables.
! 2127:
! 2128: cat >>confdefs.h <<_ACEOF
! 2129: #define PACKAGE_NAME "$PACKAGE_NAME"
! 2130: _ACEOF
! 2131:
! 2132: cat >>confdefs.h <<_ACEOF
! 2133: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 2134: _ACEOF
! 2135:
! 2136: cat >>confdefs.h <<_ACEOF
! 2137: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 2138: _ACEOF
! 2139:
! 2140: cat >>confdefs.h <<_ACEOF
! 2141: #define PACKAGE_STRING "$PACKAGE_STRING"
! 2142: _ACEOF
! 2143:
! 2144: cat >>confdefs.h <<_ACEOF
! 2145: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 2146: _ACEOF
! 2147:
! 2148: cat >>confdefs.h <<_ACEOF
! 2149: #define PACKAGE_URL "$PACKAGE_URL"
! 2150: _ACEOF
! 2151:
! 2152:
! 2153: # Let the site file select an alternate cache file if it wants to.
! 2154: # Prefer an explicitly selected file to automatically selected ones.
! 2155: ac_site_file1=NONE
! 2156: ac_site_file2=NONE
! 2157: if test -n "$CONFIG_SITE"; then
! 2158: # We do not want a PATH search for config.site.
! 2159: case $CONFIG_SITE in #((
! 2160: -*) ac_site_file1=./$CONFIG_SITE;;
! 2161: */*) ac_site_file1=$CONFIG_SITE;;
! 2162: *) ac_site_file1=./$CONFIG_SITE;;
! 2163: esac
! 2164: elif test "x$prefix" != xNONE; then
! 2165: ac_site_file1=$prefix/share/config.site
! 2166: ac_site_file2=$prefix/etc/config.site
! 2167: else
! 2168: ac_site_file1=$ac_default_prefix/share/config.site
! 2169: ac_site_file2=$ac_default_prefix/etc/config.site
! 2170: fi
! 2171: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 2172: do
! 2173: test "x$ac_site_file" = xNONE && continue
! 2174: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 2175: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 2176: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 2177: sed 's/^/| /' "$ac_site_file" >&5
! 2178: . "$ac_site_file" \
! 2179: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2180: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2181: as_fn_error $? "failed to load site script $ac_site_file
! 2182: See \`config.log' for more details" "$LINENO" 5; }
! 2183: fi
! 2184: done
! 2185:
! 2186: if test -r "$cache_file"; then
! 2187: # Some versions of bash will fail to source /dev/null (special files
! 2188: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 2189: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 2190: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 2191: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 2192: case $cache_file in
! 2193: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 2194: *) . "./$cache_file";;
! 2195: esac
! 2196: fi
! 2197: else
! 2198: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 2199: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 2200: >$cache_file
! 2201: fi
! 2202:
! 2203: # Check that the precious variables saved in the cache have kept the same
! 2204: # value.
! 2205: ac_cache_corrupted=false
! 2206: for ac_var in $ac_precious_vars; do
! 2207: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 2208: eval ac_new_set=\$ac_env_${ac_var}_set
! 2209: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 2210: eval ac_new_val=\$ac_env_${ac_var}_value
! 2211: case $ac_old_set,$ac_new_set in
! 2212: set,)
! 2213: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 2214: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 2215: ac_cache_corrupted=: ;;
! 2216: ,set)
! 2217: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 2218: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 2219: ac_cache_corrupted=: ;;
! 2220: ,);;
! 2221: *)
! 2222: if test "x$ac_old_val" != "x$ac_new_val"; then
! 2223: # differences in whitespace do not lead to failure.
! 2224: ac_old_val_w=`echo x $ac_old_val`
! 2225: ac_new_val_w=`echo x $ac_new_val`
! 2226: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 2227: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 2228: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 2229: ac_cache_corrupted=:
! 2230: else
! 2231: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 2232: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 2233: eval $ac_var=\$ac_old_val
! 2234: fi
! 2235: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 2236: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 2237: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 2238: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 2239: fi;;
! 2240: esac
! 2241: # Pass precious variables to config.status.
! 2242: if test "$ac_new_set" = set; then
! 2243: case $ac_new_val in
! 2244: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2245: *) ac_arg=$ac_var=$ac_new_val ;;
! 2246: esac
! 2247: case " $ac_configure_args " in
! 2248: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2249: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
! 2250: esac
! 2251: fi
! 2252: done
! 2253: if $ac_cache_corrupted; then
! 2254: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2255: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2256: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 2257: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2258: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 2259: fi
! 2260: ## -------------------- ##
! 2261: ## Main body of script. ##
! 2262: ## -------------------- ##
! 2263:
! 2264: ac_ext=c
! 2265: ac_cpp='$CPP $CPPFLAGS'
! 2266: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2267: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2268: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2269:
! 2270:
! 2271:
! 2272: ac_config_headers="$ac_config_headers inc/config.h"
! 2273:
! 2274:
! 2275: # Checks for programs.
! 2276: ac_ext=c
! 2277: ac_cpp='$CPP $CPPFLAGS'
! 2278: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2279: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2280: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2281: if test -n "$ac_tool_prefix"; then
! 2282: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 2283: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 2284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2285: $as_echo_n "checking for $ac_word... " >&6; }
! 2286: if ${ac_cv_prog_CC+:} false; then :
! 2287: $as_echo_n "(cached) " >&6
! 2288: else
! 2289: if test -n "$CC"; then
! 2290: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2291: else
! 2292: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2293: for as_dir in $PATH
! 2294: do
! 2295: IFS=$as_save_IFS
! 2296: test -z "$as_dir" && as_dir=.
! 2297: for ac_exec_ext in '' $ac_executable_extensions; do
! 2298: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2299: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 2300: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2301: break 2
! 2302: fi
! 2303: done
! 2304: done
! 2305: IFS=$as_save_IFS
! 2306:
! 2307: fi
! 2308: fi
! 2309: CC=$ac_cv_prog_CC
! 2310: if test -n "$CC"; then
! 2311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2312: $as_echo "$CC" >&6; }
! 2313: else
! 2314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2315: $as_echo "no" >&6; }
! 2316: fi
! 2317:
! 2318:
! 2319: fi
! 2320: if test -z "$ac_cv_prog_CC"; then
! 2321: ac_ct_CC=$CC
! 2322: # Extract the first word of "gcc", so it can be a program name with args.
! 2323: set dummy gcc; ac_word=$2
! 2324: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2325: $as_echo_n "checking for $ac_word... " >&6; }
! 2326: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 2327: $as_echo_n "(cached) " >&6
! 2328: else
! 2329: if test -n "$ac_ct_CC"; then
! 2330: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2331: else
! 2332: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2333: for as_dir in $PATH
! 2334: do
! 2335: IFS=$as_save_IFS
! 2336: test -z "$as_dir" && as_dir=.
! 2337: for ac_exec_ext in '' $ac_executable_extensions; do
! 2338: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2339: ac_cv_prog_ac_ct_CC="gcc"
! 2340: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2341: break 2
! 2342: fi
! 2343: done
! 2344: done
! 2345: IFS=$as_save_IFS
! 2346:
! 2347: fi
! 2348: fi
! 2349: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2350: if test -n "$ac_ct_CC"; then
! 2351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 2352: $as_echo "$ac_ct_CC" >&6; }
! 2353: else
! 2354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2355: $as_echo "no" >&6; }
! 2356: fi
! 2357:
! 2358: if test "x$ac_ct_CC" = x; then
! 2359: CC=""
! 2360: else
! 2361: case $cross_compiling:$ac_tool_warned in
! 2362: yes:)
! 2363: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2364: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2365: ac_tool_warned=yes ;;
! 2366: esac
! 2367: CC=$ac_ct_CC
! 2368: fi
! 2369: else
! 2370: CC="$ac_cv_prog_CC"
! 2371: fi
! 2372:
! 2373: if test -z "$CC"; then
! 2374: if test -n "$ac_tool_prefix"; then
! 2375: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 2376: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 2377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2378: $as_echo_n "checking for $ac_word... " >&6; }
! 2379: if ${ac_cv_prog_CC+:} false; then :
! 2380: $as_echo_n "(cached) " >&6
! 2381: else
! 2382: if test -n "$CC"; then
! 2383: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2384: else
! 2385: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2386: for as_dir in $PATH
! 2387: do
! 2388: IFS=$as_save_IFS
! 2389: test -z "$as_dir" && as_dir=.
! 2390: for ac_exec_ext in '' $ac_executable_extensions; do
! 2391: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2392: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 2393: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2394: break 2
! 2395: fi
! 2396: done
! 2397: done
! 2398: IFS=$as_save_IFS
! 2399:
! 2400: fi
! 2401: fi
! 2402: CC=$ac_cv_prog_CC
! 2403: if test -n "$CC"; then
! 2404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2405: $as_echo "$CC" >&6; }
! 2406: else
! 2407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2408: $as_echo "no" >&6; }
! 2409: fi
! 2410:
! 2411:
! 2412: fi
! 2413: fi
! 2414: if test -z "$CC"; then
! 2415: # Extract the first word of "cc", so it can be a program name with args.
! 2416: set dummy cc; ac_word=$2
! 2417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2418: $as_echo_n "checking for $ac_word... " >&6; }
! 2419: if ${ac_cv_prog_CC+:} false; then :
! 2420: $as_echo_n "(cached) " >&6
! 2421: else
! 2422: if test -n "$CC"; then
! 2423: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2424: else
! 2425: ac_prog_rejected=no
! 2426: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2427: for as_dir in $PATH
! 2428: do
! 2429: IFS=$as_save_IFS
! 2430: test -z "$as_dir" && as_dir=.
! 2431: for ac_exec_ext in '' $ac_executable_extensions; do
! 2432: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2433: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 2434: ac_prog_rejected=yes
! 2435: continue
! 2436: fi
! 2437: ac_cv_prog_CC="cc"
! 2438: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2439: break 2
! 2440: fi
! 2441: done
! 2442: done
! 2443: IFS=$as_save_IFS
! 2444:
! 2445: if test $ac_prog_rejected = yes; then
! 2446: # We found a bogon in the path, so make sure we never use it.
! 2447: set dummy $ac_cv_prog_CC
! 2448: shift
! 2449: if test $# != 0; then
! 2450: # We chose a different compiler from the bogus one.
! 2451: # However, it has the same basename, so the bogon will be chosen
! 2452: # first if we set CC to just the basename; use the full file name.
! 2453: shift
! 2454: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 2455: fi
! 2456: fi
! 2457: fi
! 2458: fi
! 2459: CC=$ac_cv_prog_CC
! 2460: if test -n "$CC"; then
! 2461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2462: $as_echo "$CC" >&6; }
! 2463: else
! 2464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2465: $as_echo "no" >&6; }
! 2466: fi
! 2467:
! 2468:
! 2469: fi
! 2470: if test -z "$CC"; then
! 2471: if test -n "$ac_tool_prefix"; then
! 2472: for ac_prog in cl.exe
! 2473: do
! 2474: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2475: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2476: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2477: $as_echo_n "checking for $ac_word... " >&6; }
! 2478: if ${ac_cv_prog_CC+:} false; then :
! 2479: $as_echo_n "(cached) " >&6
! 2480: else
! 2481: if test -n "$CC"; then
! 2482: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2483: else
! 2484: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2485: for as_dir in $PATH
! 2486: do
! 2487: IFS=$as_save_IFS
! 2488: test -z "$as_dir" && as_dir=.
! 2489: for ac_exec_ext in '' $ac_executable_extensions; do
! 2490: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2491: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2492: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2493: break 2
! 2494: fi
! 2495: done
! 2496: done
! 2497: IFS=$as_save_IFS
! 2498:
! 2499: fi
! 2500: fi
! 2501: CC=$ac_cv_prog_CC
! 2502: if test -n "$CC"; then
! 2503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 2504: $as_echo "$CC" >&6; }
! 2505: else
! 2506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2507: $as_echo "no" >&6; }
! 2508: fi
! 2509:
! 2510:
! 2511: test -n "$CC" && break
! 2512: done
! 2513: fi
! 2514: if test -z "$CC"; then
! 2515: ac_ct_CC=$CC
! 2516: for ac_prog in cl.exe
! 2517: do
! 2518: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2519: set dummy $ac_prog; ac_word=$2
! 2520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 2521: $as_echo_n "checking for $ac_word... " >&6; }
! 2522: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 2523: $as_echo_n "(cached) " >&6
! 2524: else
! 2525: if test -n "$ac_ct_CC"; then
! 2526: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2527: else
! 2528: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2529: for as_dir in $PATH
! 2530: do
! 2531: IFS=$as_save_IFS
! 2532: test -z "$as_dir" && as_dir=.
! 2533: for ac_exec_ext in '' $ac_executable_extensions; do
! 2534: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2535: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2536: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2537: break 2
! 2538: fi
! 2539: done
! 2540: done
! 2541: IFS=$as_save_IFS
! 2542:
! 2543: fi
! 2544: fi
! 2545: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2546: if test -n "$ac_ct_CC"; then
! 2547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 2548: $as_echo "$ac_ct_CC" >&6; }
! 2549: else
! 2550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2551: $as_echo "no" >&6; }
! 2552: fi
! 2553:
! 2554:
! 2555: test -n "$ac_ct_CC" && break
! 2556: done
! 2557:
! 2558: if test "x$ac_ct_CC" = x; then
! 2559: CC=""
! 2560: else
! 2561: case $cross_compiling:$ac_tool_warned in
! 2562: yes:)
! 2563: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 2564: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2565: ac_tool_warned=yes ;;
! 2566: esac
! 2567: CC=$ac_ct_CC
! 2568: fi
! 2569: fi
! 2570:
! 2571: fi
! 2572:
! 2573:
! 2574: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2575: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2576: as_fn_error $? "no acceptable C compiler found in \$PATH
! 2577: See \`config.log' for more details" "$LINENO" 5; }
! 2578:
! 2579: # Provide some information about the compiler.
! 2580: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 2581: set X $ac_compile
! 2582: ac_compiler=$2
! 2583: for ac_option in --version -v -V -qversion; do
! 2584: { { ac_try="$ac_compiler $ac_option >&5"
! 2585: case "(($ac_try" in
! 2586: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2587: *) ac_try_echo=$ac_try;;
! 2588: esac
! 2589: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2590: $as_echo "$ac_try_echo"; } >&5
! 2591: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 2592: ac_status=$?
! 2593: if test -s conftest.err; then
! 2594: sed '10a\
! 2595: ... rest of stderr output deleted ...
! 2596: 10q' conftest.err >conftest.er1
! 2597: cat conftest.er1 >&5
! 2598: fi
! 2599: rm -f conftest.er1 conftest.err
! 2600: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2601: test $ac_status = 0; }
! 2602: done
! 2603:
! 2604: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2605: /* end confdefs.h. */
! 2606:
! 2607: int
! 2608: main ()
! 2609: {
! 2610:
! 2611: ;
! 2612: return 0;
! 2613: }
! 2614: _ACEOF
! 2615: ac_clean_files_save=$ac_clean_files
! 2616: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2617: # Try to create an executable without -o first, disregard a.out.
! 2618: # It will help us diagnose broken compilers, and finding out an intuition
! 2619: # of exeext.
! 2620: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 2621: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2622: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2623:
! 2624: # The possible output files:
! 2625: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2626:
! 2627: ac_rmfiles=
! 2628: for ac_file in $ac_files
! 2629: do
! 2630: case $ac_file in
! 2631: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2632: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2633: esac
! 2634: done
! 2635: rm -f $ac_rmfiles
! 2636:
! 2637: if { { ac_try="$ac_link_default"
! 2638: case "(($ac_try" in
! 2639: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2640: *) ac_try_echo=$ac_try;;
! 2641: esac
! 2642: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2643: $as_echo "$ac_try_echo"; } >&5
! 2644: (eval "$ac_link_default") 2>&5
! 2645: ac_status=$?
! 2646: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2647: test $ac_status = 0; }; then :
! 2648: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2649: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2650: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2651: # so that the user can short-circuit this test for compilers unknown to
! 2652: # Autoconf.
! 2653: for ac_file in $ac_files ''
! 2654: do
! 2655: test -f "$ac_file" || continue
! 2656: case $ac_file in
! 2657: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2658: ;;
! 2659: [ab].out )
! 2660: # We found the default executable, but exeext='' is most
! 2661: # certainly right.
! 2662: break;;
! 2663: *.* )
! 2664: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2665: then :; else
! 2666: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2667: fi
! 2668: # We set ac_cv_exeext here because the later test for it is not
! 2669: # safe: cross compilers may not add the suffix if given an `-o'
! 2670: # argument, so we may need to know it at that point already.
! 2671: # Even if this section looks crufty: it has the advantage of
! 2672: # actually working.
! 2673: break;;
! 2674: * )
! 2675: break;;
! 2676: esac
! 2677: done
! 2678: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2679:
! 2680: else
! 2681: ac_file=''
! 2682: fi
! 2683: if test -z "$ac_file"; then :
! 2684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 2685: $as_echo "no" >&6; }
! 2686: $as_echo "$as_me: failed program was:" >&5
! 2687: sed 's/^/| /' conftest.$ac_ext >&5
! 2688:
! 2689: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2690: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2691: as_fn_error 77 "C compiler cannot create executables
! 2692: See \`config.log' for more details" "$LINENO" 5; }
! 2693: else
! 2694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 2695: $as_echo "yes" >&6; }
! 2696: fi
! 2697: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 2698: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 2700: $as_echo "$ac_file" >&6; }
! 2701: ac_exeext=$ac_cv_exeext
! 2702:
! 2703: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2704: ac_clean_files=$ac_clean_files_save
! 2705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 2706: $as_echo_n "checking for suffix of executables... " >&6; }
! 2707: if { { ac_try="$ac_link"
! 2708: case "(($ac_try" in
! 2709: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2710: *) ac_try_echo=$ac_try;;
! 2711: esac
! 2712: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2713: $as_echo "$ac_try_echo"; } >&5
! 2714: (eval "$ac_link") 2>&5
! 2715: ac_status=$?
! 2716: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2717: test $ac_status = 0; }; then :
! 2718: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2719: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2720: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2721: # `rm'.
! 2722: for ac_file in conftest.exe conftest conftest.*; do
! 2723: test -f "$ac_file" || continue
! 2724: case $ac_file in
! 2725: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2726: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2727: break;;
! 2728: * ) break;;
! 2729: esac
! 2730: done
! 2731: else
! 2732: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2733: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2734: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
! 2735: See \`config.log' for more details" "$LINENO" 5; }
! 2736: fi
! 2737: rm -f conftest conftest$ac_cv_exeext
! 2738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 2739: $as_echo "$ac_cv_exeext" >&6; }
! 2740:
! 2741: rm -f conftest.$ac_ext
! 2742: EXEEXT=$ac_cv_exeext
! 2743: ac_exeext=$EXEEXT
! 2744: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2745: /* end confdefs.h. */
! 2746: #include <stdio.h>
! 2747: int
! 2748: main ()
! 2749: {
! 2750: FILE *f = fopen ("conftest.out", "w");
! 2751: return ferror (f) || fclose (f) != 0;
! 2752:
! 2753: ;
! 2754: return 0;
! 2755: }
! 2756: _ACEOF
! 2757: ac_clean_files="$ac_clean_files conftest.out"
! 2758: # Check that the compiler produces executables we can run. If not, either
! 2759: # the compiler is broken, or we cross compile.
! 2760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 2761: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2762: if test "$cross_compiling" != yes; then
! 2763: { { ac_try="$ac_link"
! 2764: case "(($ac_try" in
! 2765: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2766: *) ac_try_echo=$ac_try;;
! 2767: esac
! 2768: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2769: $as_echo "$ac_try_echo"; } >&5
! 2770: (eval "$ac_link") 2>&5
! 2771: ac_status=$?
! 2772: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2773: test $ac_status = 0; }
! 2774: if { ac_try='./conftest$ac_cv_exeext'
! 2775: { { case "(($ac_try" in
! 2776: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2777: *) ac_try_echo=$ac_try;;
! 2778: esac
! 2779: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2780: $as_echo "$ac_try_echo"; } >&5
! 2781: (eval "$ac_try") 2>&5
! 2782: ac_status=$?
! 2783: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2784: test $ac_status = 0; }; }; then
! 2785: cross_compiling=no
! 2786: else
! 2787: if test "$cross_compiling" = maybe; then
! 2788: cross_compiling=yes
! 2789: else
! 2790: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2791: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2792: as_fn_error $? "cannot run C compiled programs.
! 2793: If you meant to cross compile, use \`--host'.
! 2794: See \`config.log' for more details" "$LINENO" 5; }
! 2795: fi
! 2796: fi
! 2797: fi
! 2798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 2799: $as_echo "$cross_compiling" >&6; }
! 2800:
! 2801: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
! 2802: ac_clean_files=$ac_clean_files_save
! 2803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 2804: $as_echo_n "checking for suffix of object files... " >&6; }
! 2805: if ${ac_cv_objext+:} false; then :
! 2806: $as_echo_n "(cached) " >&6
! 2807: else
! 2808: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2809: /* end confdefs.h. */
! 2810:
! 2811: int
! 2812: main ()
! 2813: {
! 2814:
! 2815: ;
! 2816: return 0;
! 2817: }
! 2818: _ACEOF
! 2819: rm -f conftest.o conftest.obj
! 2820: if { { ac_try="$ac_compile"
! 2821: case "(($ac_try" in
! 2822: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2823: *) ac_try_echo=$ac_try;;
! 2824: esac
! 2825: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 2826: $as_echo "$ac_try_echo"; } >&5
! 2827: (eval "$ac_compile") 2>&5
! 2828: ac_status=$?
! 2829: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 2830: test $ac_status = 0; }; then :
! 2831: for ac_file in conftest.o conftest.obj conftest.*; do
! 2832: test -f "$ac_file" || continue;
! 2833: case $ac_file in
! 2834: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 2835: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2836: break;;
! 2837: esac
! 2838: done
! 2839: else
! 2840: $as_echo "$as_me: failed program was:" >&5
! 2841: sed 's/^/| /' conftest.$ac_ext >&5
! 2842:
! 2843: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2844: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2845: as_fn_error $? "cannot compute suffix of object files: cannot compile
! 2846: See \`config.log' for more details" "$LINENO" 5; }
! 2847: fi
! 2848: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2849: fi
! 2850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 2851: $as_echo "$ac_cv_objext" >&6; }
! 2852: OBJEXT=$ac_cv_objext
! 2853: ac_objext=$OBJEXT
! 2854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 2855: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2856: if ${ac_cv_c_compiler_gnu+:} false; then :
! 2857: $as_echo_n "(cached) " >&6
! 2858: else
! 2859: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2860: /* end confdefs.h. */
! 2861:
! 2862: int
! 2863: main ()
! 2864: {
! 2865: #ifndef __GNUC__
! 2866: choke me
! 2867: #endif
! 2868:
! 2869: ;
! 2870: return 0;
! 2871: }
! 2872: _ACEOF
! 2873: if ac_fn_c_try_compile "$LINENO"; then :
! 2874: ac_compiler_gnu=yes
! 2875: else
! 2876: ac_compiler_gnu=no
! 2877: fi
! 2878: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2879: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2880:
! 2881: fi
! 2882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 2883: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2884: if test $ac_compiler_gnu = yes; then
! 2885: GCC=yes
! 2886: else
! 2887: GCC=
! 2888: fi
! 2889: ac_test_CFLAGS=${CFLAGS+set}
! 2890: ac_save_CFLAGS=$CFLAGS
! 2891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 2892: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2893: if ${ac_cv_prog_cc_g+:} false; then :
! 2894: $as_echo_n "(cached) " >&6
! 2895: else
! 2896: ac_save_c_werror_flag=$ac_c_werror_flag
! 2897: ac_c_werror_flag=yes
! 2898: ac_cv_prog_cc_g=no
! 2899: CFLAGS="-g"
! 2900: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2901: /* end confdefs.h. */
! 2902:
! 2903: int
! 2904: main ()
! 2905: {
! 2906:
! 2907: ;
! 2908: return 0;
! 2909: }
! 2910: _ACEOF
! 2911: if ac_fn_c_try_compile "$LINENO"; then :
! 2912: ac_cv_prog_cc_g=yes
! 2913: else
! 2914: CFLAGS=""
! 2915: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2916: /* end confdefs.h. */
! 2917:
! 2918: int
! 2919: main ()
! 2920: {
! 2921:
! 2922: ;
! 2923: return 0;
! 2924: }
! 2925: _ACEOF
! 2926: if ac_fn_c_try_compile "$LINENO"; then :
! 2927:
! 2928: else
! 2929: ac_c_werror_flag=$ac_save_c_werror_flag
! 2930: CFLAGS="-g"
! 2931: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2932: /* end confdefs.h. */
! 2933:
! 2934: int
! 2935: main ()
! 2936: {
! 2937:
! 2938: ;
! 2939: return 0;
! 2940: }
! 2941: _ACEOF
! 2942: if ac_fn_c_try_compile "$LINENO"; then :
! 2943: ac_cv_prog_cc_g=yes
! 2944: fi
! 2945: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2946: fi
! 2947: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2948: fi
! 2949: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2950: ac_c_werror_flag=$ac_save_c_werror_flag
! 2951: fi
! 2952: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 2953: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 2954: if test "$ac_test_CFLAGS" = set; then
! 2955: CFLAGS=$ac_save_CFLAGS
! 2956: elif test $ac_cv_prog_cc_g = yes; then
! 2957: if test "$GCC" = yes; then
! 2958: CFLAGS="-g -O2"
! 2959: else
! 2960: CFLAGS="-g"
! 2961: fi
! 2962: else
! 2963: if test "$GCC" = yes; then
! 2964: CFLAGS="-O2"
! 2965: else
! 2966: CFLAGS=
! 2967: fi
! 2968: fi
! 2969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 2970: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2971: if ${ac_cv_prog_cc_c89+:} false; then :
! 2972: $as_echo_n "(cached) " >&6
! 2973: else
! 2974: ac_cv_prog_cc_c89=no
! 2975: ac_save_CC=$CC
! 2976: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2977: /* end confdefs.h. */
! 2978: #include <stdarg.h>
! 2979: #include <stdio.h>
! 2980: #include <sys/types.h>
! 2981: #include <sys/stat.h>
! 2982: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2983: struct buf { int x; };
! 2984: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2985: static char *e (p, i)
! 2986: char **p;
! 2987: int i;
! 2988: {
! 2989: return p[i];
! 2990: }
! 2991: static char *f (char * (*g) (char **, int), char **p, ...)
! 2992: {
! 2993: char *s;
! 2994: va_list v;
! 2995: va_start (v,p);
! 2996: s = g (p, va_arg (v,int));
! 2997: va_end (v);
! 2998: return s;
! 2999: }
! 3000:
! 3001: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3002: function prototypes and stuff, but not '\xHH' hex character constants.
! 3003: These don't provoke an error unfortunately, instead are silently treated
! 3004: as 'x'. The following induces an error, until -std is added to get
! 3005: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3006: array size at least. It's necessary to write '\x00'==0 to get something
! 3007: that's true only with -std. */
! 3008: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3009:
! 3010: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3011: inside strings and character constants. */
! 3012: #define FOO(x) 'x'
! 3013: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3014:
! 3015: int test (int i, double x);
! 3016: struct s1 {int (*f) (int a);};
! 3017: struct s2 {int (*f) (double a);};
! 3018: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3019: int argc;
! 3020: char **argv;
! 3021: int
! 3022: main ()
! 3023: {
! 3024: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3025: ;
! 3026: return 0;
! 3027: }
! 3028: _ACEOF
! 3029: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3030: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3031: do
! 3032: CC="$ac_save_CC $ac_arg"
! 3033: if ac_fn_c_try_compile "$LINENO"; then :
! 3034: ac_cv_prog_cc_c89=$ac_arg
! 3035: fi
! 3036: rm -f core conftest.err conftest.$ac_objext
! 3037: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3038: done
! 3039: rm -f conftest.$ac_ext
! 3040: CC=$ac_save_CC
! 3041:
! 3042: fi
! 3043: # AC_CACHE_VAL
! 3044: case "x$ac_cv_prog_cc_c89" in
! 3045: x)
! 3046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 3047: $as_echo "none needed" >&6; } ;;
! 3048: xno)
! 3049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 3050: $as_echo "unsupported" >&6; } ;;
! 3051: *)
! 3052: CC="$CC $ac_cv_prog_cc_c89"
! 3053: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 3054: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 3055: esac
! 3056: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 3057:
! 3058: fi
! 3059:
! 3060: ac_ext=c
! 3061: ac_cpp='$CPP $CPPFLAGS'
! 3062: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3063: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3064: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3065:
! 3066: ac_aux_dir=
! 3067: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 3068: if test -f "$ac_dir/install-sh"; then
! 3069: ac_aux_dir=$ac_dir
! 3070: ac_install_sh="$ac_aux_dir/install-sh -c"
! 3071: break
! 3072: elif test -f "$ac_dir/install.sh"; then
! 3073: ac_aux_dir=$ac_dir
! 3074: ac_install_sh="$ac_aux_dir/install.sh -c"
! 3075: break
! 3076: elif test -f "$ac_dir/shtool"; then
! 3077: ac_aux_dir=$ac_dir
! 3078: ac_install_sh="$ac_aux_dir/shtool install -c"
! 3079: break
! 3080: fi
! 3081: done
! 3082: if test -z "$ac_aux_dir"; then
! 3083: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 3084: fi
! 3085:
! 3086: # These three variables are undocumented and unsupported,
! 3087: # and are intended to be withdrawn in a future Autoconf release.
! 3088: # They can cause serious problems if a builder's source tree is in a directory
! 3089: # whose full name contains unusual characters.
! 3090: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 3091: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 3092: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 3093:
! 3094:
! 3095: # Find a good install program. We prefer a C program (faster),
! 3096: # so one script is as good as another. But avoid the broken or
! 3097: # incompatible versions:
! 3098: # SysV /etc/install, /usr/sbin/install
! 3099: # SunOS /usr/etc/install
! 3100: # IRIX /sbin/install
! 3101: # AIX /bin/install
! 3102: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 3103: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 3104: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 3105: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 3106: # OS/2's system install, which has a completely different semantic
! 3107: # ./install, which can be erroneously created by make from ./install.sh.
! 3108: # Reject install programs that cannot install multiple files.
! 3109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
! 3110: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 3111: if test -z "$INSTALL"; then
! 3112: if ${ac_cv_path_install+:} false; then :
! 3113: $as_echo_n "(cached) " >&6
! 3114: else
! 3115: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3116: for as_dir in $PATH
! 3117: do
! 3118: IFS=$as_save_IFS
! 3119: test -z "$as_dir" && as_dir=.
! 3120: # Account for people who put trailing slashes in PATH elements.
! 3121: case $as_dir/ in #((
! 3122: ./ | .// | /[cC]/* | \
! 3123: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 3124: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
! 3125: /usr/ucb/* ) ;;
! 3126: *)
! 3127: # OSF1 and SCO ODT 3.0 have their own names for install.
! 3128: # Don't use installbsd from OSF since it installs stuff as root
! 3129: # by default.
! 3130: for ac_prog in ginstall scoinst install; do
! 3131: for ac_exec_ext in '' $ac_executable_extensions; do
! 3132: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 3133: if test $ac_prog = install &&
! 3134: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 3135: # AIX install. It has an incompatible calling convention.
! 3136: :
! 3137: elif test $ac_prog = install &&
! 3138: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 3139: # program-specific install script used by HP pwplus--don't use.
! 3140: :
! 3141: else
! 3142: rm -rf conftest.one conftest.two conftest.dir
! 3143: echo one > conftest.one
! 3144: echo two > conftest.two
! 3145: mkdir conftest.dir
! 3146: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 3147: test -s conftest.one && test -s conftest.two &&
! 3148: test -s conftest.dir/conftest.one &&
! 3149: test -s conftest.dir/conftest.two
! 3150: then
! 3151: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 3152: break 3
! 3153: fi
! 3154: fi
! 3155: fi
! 3156: done
! 3157: done
! 3158: ;;
! 3159: esac
! 3160:
! 3161: done
! 3162: IFS=$as_save_IFS
! 3163:
! 3164: rm -rf conftest.one conftest.two conftest.dir
! 3165:
! 3166: fi
! 3167: if test "${ac_cv_path_install+set}" = set; then
! 3168: INSTALL=$ac_cv_path_install
! 3169: else
! 3170: # As a last resort, use the slow shell script. Don't cache a
! 3171: # value for INSTALL within a source directory, because that will
! 3172: # break other packages using the cache if that directory is
! 3173: # removed, or if the value is a relative name.
! 3174: INSTALL=$ac_install_sh
! 3175: fi
! 3176: fi
! 3177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
! 3178: $as_echo "$INSTALL" >&6; }
! 3179:
! 3180: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 3181: # It thinks the first close brace ends the variable substitution.
! 3182: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 3183:
! 3184: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 3185:
! 3186: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 3187:
! 3188:
! 3189: # Make sure we can run config.sub.
! 3190: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 3191: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
! 3192:
! 3193: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! 3194: $as_echo_n "checking build system type... " >&6; }
! 3195: if ${ac_cv_build+:} false; then :
! 3196: $as_echo_n "(cached) " >&6
! 3197: else
! 3198: ac_build_alias=$build_alias
! 3199: test "x$ac_build_alias" = x &&
! 3200: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 3201: test "x$ac_build_alias" = x &&
! 3202: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
! 3203: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 3204: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
! 3205:
! 3206: fi
! 3207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! 3208: $as_echo "$ac_cv_build" >&6; }
! 3209: case $ac_cv_build in
! 3210: *-*-*) ;;
! 3211: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
! 3212: esac
! 3213: build=$ac_cv_build
! 3214: ac_save_IFS=$IFS; IFS='-'
! 3215: set x $ac_cv_build
! 3216: shift
! 3217: build_cpu=$1
! 3218: build_vendor=$2
! 3219: shift; shift
! 3220: # Remember, the first character of IFS is used to create $*,
! 3221: # except with old shells:
! 3222: build_os=$*
! 3223: IFS=$ac_save_IFS
! 3224: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 3225:
! 3226:
! 3227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! 3228: $as_echo_n "checking host system type... " >&6; }
! 3229: if ${ac_cv_host+:} false; then :
! 3230: $as_echo_n "(cached) " >&6
! 3231: else
! 3232: if test "x$host_alias" = x; then
! 3233: ac_cv_host=$ac_cv_build
! 3234: else
! 3235: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 3236: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
! 3237: fi
! 3238:
! 3239: fi
! 3240: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! 3241: $as_echo "$ac_cv_host" >&6; }
! 3242: case $ac_cv_host in
! 3243: *-*-*) ;;
! 3244: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
! 3245: esac
! 3246: host=$ac_cv_host
! 3247: ac_save_IFS=$IFS; IFS='-'
! 3248: set x $ac_cv_host
! 3249: shift
! 3250: host_cpu=$1
! 3251: host_vendor=$2
! 3252: shift; shift
! 3253: # Remember, the first character of IFS is used to create $*,
! 3254: # except with old shells:
! 3255: host_os=$*
! 3256: IFS=$ac_save_IFS
! 3257: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 3258:
! 3259:
! 3260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
! 3261: $as_echo_n "checking target system type... " >&6; }
! 3262: if ${ac_cv_target+:} false; then :
! 3263: $as_echo_n "(cached) " >&6
! 3264: else
! 3265: if test "x$target_alias" = x; then
! 3266: ac_cv_target=$ac_cv_host
! 3267: else
! 3268: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 3269: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
! 3270: fi
! 3271:
! 3272: fi
! 3273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
! 3274: $as_echo "$ac_cv_target" >&6; }
! 3275: case $ac_cv_target in
! 3276: *-*-*) ;;
! 3277: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
! 3278: esac
! 3279: target=$ac_cv_target
! 3280: ac_save_IFS=$IFS; IFS='-'
! 3281: set x $ac_cv_target
! 3282: shift
! 3283: target_cpu=$1
! 3284: target_vendor=$2
! 3285: shift; shift
! 3286: # Remember, the first character of IFS is used to create $*,
! 3287: # except with old shells:
! 3288: target_os=$*
! 3289: IFS=$ac_save_IFS
! 3290: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 3291:
! 3292:
! 3293: # The aliases save the names the user supplied, while $host etc.
! 3294: # will get canonicalized.
! 3295: test -n "$target_alias" &&
! 3296: test "$program_prefix$program_suffix$program_transform_name" = \
! 3297: NONENONEs,x,x, &&
! 3298: program_prefix=${target_alias}-
! 3299:
! 3300: if test -n "$ac_tool_prefix"; then
! 3301: # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
! 3302: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
! 3303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3304: $as_echo_n "checking for $ac_word... " >&6; }
! 3305: if ${ac_cv_prog_MKDEP+:} false; then :
! 3306: $as_echo_n "(cached) " >&6
! 3307: else
! 3308: if test -n "$MKDEP"; then
! 3309: ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
! 3310: else
! 3311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3312: for as_dir in $PATH
! 3313: do
! 3314: IFS=$as_save_IFS
! 3315: test -z "$as_dir" && as_dir=.
! 3316: for ac_exec_ext in '' $ac_executable_extensions; do
! 3317: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3318: ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
! 3319: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3320: break 2
! 3321: fi
! 3322: done
! 3323: done
! 3324: IFS=$as_save_IFS
! 3325:
! 3326: fi
! 3327: fi
! 3328: MKDEP=$ac_cv_prog_MKDEP
! 3329: if test -n "$MKDEP"; then
! 3330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5
! 3331: $as_echo "$MKDEP" >&6; }
! 3332: else
! 3333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3334: $as_echo "no" >&6; }
! 3335: fi
! 3336:
! 3337:
! 3338: fi
! 3339: if test -z "$ac_cv_prog_MKDEP"; then
! 3340: ac_ct_MKDEP=$MKDEP
! 3341: # Extract the first word of "mkdep", so it can be a program name with args.
! 3342: set dummy mkdep; ac_word=$2
! 3343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3344: $as_echo_n "checking for $ac_word... " >&6; }
! 3345: if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
! 3346: $as_echo_n "(cached) " >&6
! 3347: else
! 3348: if test -n "$ac_ct_MKDEP"; then
! 3349: ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
! 3350: else
! 3351: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3352: for as_dir in $PATH
! 3353: do
! 3354: IFS=$as_save_IFS
! 3355: test -z "$as_dir" && as_dir=.
! 3356: for ac_exec_ext in '' $ac_executable_extensions; do
! 3357: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3358: ac_cv_prog_ac_ct_MKDEP="mkdep"
! 3359: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3360: break 2
! 3361: fi
! 3362: done
! 3363: done
! 3364: IFS=$as_save_IFS
! 3365:
! 3366: fi
! 3367: fi
! 3368: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
! 3369: if test -n "$ac_ct_MKDEP"; then
! 3370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MKDEP" >&5
! 3371: $as_echo "$ac_ct_MKDEP" >&6; }
! 3372: else
! 3373: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3374: $as_echo "no" >&6; }
! 3375: fi
! 3376:
! 3377: if test "x$ac_ct_MKDEP" = x; then
! 3378: MKDEP="no"
! 3379: else
! 3380: case $cross_compiling:$ac_tool_warned in
! 3381: yes:)
! 3382: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3383: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3384: ac_tool_warned=yes ;;
! 3385: esac
! 3386: MKDEP=$ac_ct_MKDEP
! 3387: fi
! 3388: else
! 3389: MKDEP="$ac_cv_prog_MKDEP"
! 3390: fi
! 3391:
! 3392:
! 3393:
! 3394: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
! 3395: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
! 3396:
! 3397: # Checks for libraries.
! 3398:
! 3399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ctr128_encrypt in -lcrypto" >&5
! 3400: $as_echo_n "checking for AES_ctr128_encrypt in -lcrypto... " >&6; }
! 3401: if ${ac_cv_lib_crypto_AES_ctr128_encrypt+:} false; then :
! 3402: $as_echo_n "(cached) " >&6
! 3403: else
! 3404: ac_check_lib_save_LIBS=$LIBS
! 3405: LIBS="-lcrypto $LIBS"
! 3406: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3407: /* end confdefs.h. */
! 3408:
! 3409: /* Override any GCC internal prototype to avoid an error.
! 3410: Use char because int might match the return type of a GCC
! 3411: builtin and then its argument prototype would still apply. */
! 3412: #ifdef __cplusplus
! 3413: extern "C"
! 3414: #endif
! 3415: char AES_ctr128_encrypt ();
! 3416: int
! 3417: main ()
! 3418: {
! 3419: return AES_ctr128_encrypt ();
! 3420: ;
! 3421: return 0;
! 3422: }
! 3423: _ACEOF
! 3424: if ac_fn_c_try_link "$LINENO"; then :
! 3425: ac_cv_lib_crypto_AES_ctr128_encrypt=yes
! 3426: else
! 3427: ac_cv_lib_crypto_AES_ctr128_encrypt=no
! 3428: fi
! 3429: rm -f core conftest.err conftest.$ac_objext \
! 3430: conftest$ac_exeext conftest.$ac_ext
! 3431: LIBS=$ac_check_lib_save_LIBS
! 3432: fi
! 3433: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ctr128_encrypt" >&5
! 3434: $as_echo "$ac_cv_lib_crypto_AES_ctr128_encrypt" >&6; }
! 3435: if test "x$ac_cv_lib_crypto_AES_ctr128_encrypt" = xyes; then :
! 3436: cat >>confdefs.h <<_ACEOF
! 3437: #define HAVE_LIBCRYPTO 1
! 3438: _ACEOF
! 3439:
! 3440: LIBS="-lcrypto $LIBS"
! 3441:
! 3442: fi
! 3443:
! 3444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
! 3445: $as_echo_n "checking for openpty in -lutil... " >&6; }
! 3446: if ${ac_cv_lib_util_openpty+:} false; then :
! 3447: $as_echo_n "(cached) " >&6
! 3448: else
! 3449: ac_check_lib_save_LIBS=$LIBS
! 3450: LIBS="-lutil $LIBS"
! 3451: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3452: /* end confdefs.h. */
! 3453:
! 3454: /* Override any GCC internal prototype to avoid an error.
! 3455: Use char because int might match the return type of a GCC
! 3456: builtin and then its argument prototype would still apply. */
! 3457: #ifdef __cplusplus
! 3458: extern "C"
! 3459: #endif
! 3460: char openpty ();
! 3461: int
! 3462: main ()
! 3463: {
! 3464: return openpty ();
! 3465: ;
! 3466: return 0;
! 3467: }
! 3468: _ACEOF
! 3469: if ac_fn_c_try_link "$LINENO"; then :
! 3470: ac_cv_lib_util_openpty=yes
! 3471: else
! 3472: ac_cv_lib_util_openpty=no
! 3473: fi
! 3474: rm -f core conftest.err conftest.$ac_objext \
! 3475: conftest$ac_exeext conftest.$ac_ext
! 3476: LIBS=$ac_check_lib_save_LIBS
! 3477: fi
! 3478: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
! 3479: $as_echo "$ac_cv_lib_util_openpty" >&6; }
! 3480: if test "x$ac_cv_lib_util_openpty" = xyes; then :
! 3481: cat >>confdefs.h <<_ACEOF
! 3482: #define HAVE_LIBUTIL 1
! 3483: _ACEOF
! 3484:
! 3485: LIBS="-lutil $LIBS"
! 3486:
! 3487: fi
! 3488:
! 3489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcAdler in -laitcrc" >&5
! 3490: $as_echo_n "checking for crcAdler in -laitcrc... " >&6; }
! 3491: if ${ac_cv_lib_aitcrc_crcAdler+:} false; then :
! 3492: $as_echo_n "(cached) " >&6
! 3493: else
! 3494: ac_check_lib_save_LIBS=$LIBS
! 3495: LIBS="-laitcrc $LIBS"
! 3496: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3497: /* end confdefs.h. */
! 3498:
! 3499: /* Override any GCC internal prototype to avoid an error.
! 3500: Use char because int might match the return type of a GCC
! 3501: builtin and then its argument prototype would still apply. */
! 3502: #ifdef __cplusplus
! 3503: extern "C"
! 3504: #endif
! 3505: char crcAdler ();
! 3506: int
! 3507: main ()
! 3508: {
! 3509: return crcAdler ();
! 3510: ;
! 3511: return 0;
! 3512: }
! 3513: _ACEOF
! 3514: if ac_fn_c_try_link "$LINENO"; then :
! 3515: ac_cv_lib_aitcrc_crcAdler=yes
! 3516: else
! 3517: ac_cv_lib_aitcrc_crcAdler=no
! 3518: fi
! 3519: rm -f core conftest.err conftest.$ac_objext \
! 3520: conftest$ac_exeext conftest.$ac_ext
! 3521: LIBS=$ac_check_lib_save_LIBS
! 3522: fi
! 3523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcrc_crcAdler" >&5
! 3524: $as_echo "$ac_cv_lib_aitcrc_crcAdler" >&6; }
! 3525: if test "x$ac_cv_lib_aitcrc_crcAdler" = xyes; then :
! 3526: cat >>confdefs.h <<_ACEOF
! 3527: #define HAVE_LIBAITCRC 1
! 3528: _ACEOF
! 3529:
! 3530: LIBS="-laitcrc $LIBS"
! 3531:
! 3532: fi
! 3533:
! 3534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioForkPTY in -laitio" >&5
! 3535: $as_echo_n "checking for ioForkPTY in -laitio... " >&6; }
! 3536: if ${ac_cv_lib_aitio_ioForkPTY+:} false; then :
! 3537: $as_echo_n "(cached) " >&6
! 3538: else
! 3539: ac_check_lib_save_LIBS=$LIBS
! 3540: LIBS="-laitio $LIBS"
! 3541: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3542: /* end confdefs.h. */
! 3543:
! 3544: /* Override any GCC internal prototype to avoid an error.
! 3545: Use char because int might match the return type of a GCC
! 3546: builtin and then its argument prototype would still apply. */
! 3547: #ifdef __cplusplus
! 3548: extern "C"
! 3549: #endif
! 3550: char ioForkPTY ();
! 3551: int
! 3552: main ()
! 3553: {
! 3554: return ioForkPTY ();
! 3555: ;
! 3556: return 0;
! 3557: }
! 3558: _ACEOF
! 3559: if ac_fn_c_try_link "$LINENO"; then :
! 3560: ac_cv_lib_aitio_ioForkPTY=yes
! 3561: else
! 3562: ac_cv_lib_aitio_ioForkPTY=no
! 3563: fi
! 3564: rm -f core conftest.err conftest.$ac_objext \
! 3565: conftest$ac_exeext conftest.$ac_ext
! 3566: LIBS=$ac_check_lib_save_LIBS
! 3567: fi
! 3568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_ioForkPTY" >&5
! 3569: $as_echo "$ac_cv_lib_aitio_ioForkPTY" >&6; }
! 3570: if test "x$ac_cv_lib_aitio_ioForkPTY" = xyes; then :
! 3571: cat >>confdefs.h <<_ACEOF
! 3572: #define HAVE_LIBAITIO 1
! 3573: _ACEOF
! 3574:
! 3575: LIBS="-laitio $LIBS"
! 3576:
! 3577: fi
! 3578:
! 3579: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedRead in -laitsched" >&5
! 3580: $as_echo_n "checking for schedRead in -laitsched... " >&6; }
! 3581: if ${ac_cv_lib_aitsched_schedRead+:} false; then :
! 3582: $as_echo_n "(cached) " >&6
! 3583: else
! 3584: ac_check_lib_save_LIBS=$LIBS
! 3585: LIBS="-laitsched $LIBS"
! 3586: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3587: /* end confdefs.h. */
! 3588:
! 3589: /* Override any GCC internal prototype to avoid an error.
! 3590: Use char because int might match the return type of a GCC
! 3591: builtin and then its argument prototype would still apply. */
! 3592: #ifdef __cplusplus
! 3593: extern "C"
! 3594: #endif
! 3595: char schedRead ();
! 3596: int
! 3597: main ()
! 3598: {
! 3599: return schedRead ();
! 3600: ;
! 3601: return 0;
! 3602: }
! 3603: _ACEOF
! 3604: if ac_fn_c_try_link "$LINENO"; then :
! 3605: ac_cv_lib_aitsched_schedRead=yes
! 3606: else
! 3607: ac_cv_lib_aitsched_schedRead=no
! 3608: fi
! 3609: rm -f core conftest.err conftest.$ac_objext \
! 3610: conftest$ac_exeext conftest.$ac_ext
! 3611: LIBS=$ac_check_lib_save_LIBS
! 3612: fi
! 3613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedRead" >&5
! 3614: $as_echo "$ac_cv_lib_aitsched_schedRead" >&6; }
! 3615: if test "x$ac_cv_lib_aitsched_schedRead" = xyes; then :
! 3616: cat >>confdefs.h <<_ACEOF
! 3617: #define HAVE_LIBAITSCHED 1
! 3618: _ACEOF
! 3619:
! 3620: LIBS="-laitsched $LIBS"
! 3621:
! 3622: fi
! 3623:
! 3624:
! 3625: # Checks for header files.
! 3626: ac_ext=c
! 3627: ac_cpp='$CPP $CPPFLAGS'
! 3628: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3629: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3630: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 3632: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 3633: # On Suns, sometimes $CPP names a directory.
! 3634: if test -n "$CPP" && test -d "$CPP"; then
! 3635: CPP=
! 3636: fi
! 3637: if test -z "$CPP"; then
! 3638: if ${ac_cv_prog_CPP+:} false; then :
! 3639: $as_echo_n "(cached) " >&6
! 3640: else
! 3641: # Double quotes because CPP needs to be expanded
! 3642: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3643: do
! 3644: ac_preproc_ok=false
! 3645: for ac_c_preproc_warn_flag in '' yes
! 3646: do
! 3647: # Use a header file that comes with gcc, so configuring glibc
! 3648: # with a fresh cross-compiler works.
! 3649: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3650: # <limits.h> exists even on freestanding compilers.
! 3651: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3652: # not just through cpp. "Syntax error" is here to catch this case.
! 3653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3654: /* end confdefs.h. */
! 3655: #ifdef __STDC__
! 3656: # include <limits.h>
! 3657: #else
! 3658: # include <assert.h>
! 3659: #endif
! 3660: Syntax error
! 3661: _ACEOF
! 3662: if ac_fn_c_try_cpp "$LINENO"; then :
! 3663:
! 3664: else
! 3665: # Broken: fails on valid input.
! 3666: continue
! 3667: fi
! 3668: rm -f conftest.err conftest.i conftest.$ac_ext
! 3669:
! 3670: # OK, works on sane cases. Now check whether nonexistent headers
! 3671: # can be detected and how.
! 3672: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3673: /* end confdefs.h. */
! 3674: #include <ac_nonexistent.h>
! 3675: _ACEOF
! 3676: if ac_fn_c_try_cpp "$LINENO"; then :
! 3677: # Broken: success on invalid input.
! 3678: continue
! 3679: else
! 3680: # Passes both tests.
! 3681: ac_preproc_ok=:
! 3682: break
! 3683: fi
! 3684: rm -f conftest.err conftest.i conftest.$ac_ext
! 3685:
! 3686: done
! 3687: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3688: rm -f conftest.i conftest.err conftest.$ac_ext
! 3689: if $ac_preproc_ok; then :
! 3690: break
! 3691: fi
! 3692:
! 3693: done
! 3694: ac_cv_prog_CPP=$CPP
! 3695:
! 3696: fi
! 3697: CPP=$ac_cv_prog_CPP
! 3698: else
! 3699: ac_cv_prog_CPP=$CPP
! 3700: fi
! 3701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 3702: $as_echo "$CPP" >&6; }
! 3703: ac_preproc_ok=false
! 3704: for ac_c_preproc_warn_flag in '' yes
! 3705: do
! 3706: # Use a header file that comes with gcc, so configuring glibc
! 3707: # with a fresh cross-compiler works.
! 3708: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3709: # <limits.h> exists even on freestanding compilers.
! 3710: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3711: # not just through cpp. "Syntax error" is here to catch this case.
! 3712: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3713: /* end confdefs.h. */
! 3714: #ifdef __STDC__
! 3715: # include <limits.h>
! 3716: #else
! 3717: # include <assert.h>
! 3718: #endif
! 3719: Syntax error
! 3720: _ACEOF
! 3721: if ac_fn_c_try_cpp "$LINENO"; then :
! 3722:
! 3723: else
! 3724: # Broken: fails on valid input.
! 3725: continue
! 3726: fi
! 3727: rm -f conftest.err conftest.i conftest.$ac_ext
! 3728:
! 3729: # OK, works on sane cases. Now check whether nonexistent headers
! 3730: # can be detected and how.
! 3731: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3732: /* end confdefs.h. */
! 3733: #include <ac_nonexistent.h>
! 3734: _ACEOF
! 3735: if ac_fn_c_try_cpp "$LINENO"; then :
! 3736: # Broken: success on invalid input.
! 3737: continue
! 3738: else
! 3739: # Passes both tests.
! 3740: ac_preproc_ok=:
! 3741: break
! 3742: fi
! 3743: rm -f conftest.err conftest.i conftest.$ac_ext
! 3744:
! 3745: done
! 3746: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3747: rm -f conftest.i conftest.err conftest.$ac_ext
! 3748: if $ac_preproc_ok; then :
! 3749:
! 3750: else
! 3751: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3752: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3753: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! 3754: See \`config.log' for more details" "$LINENO" 5; }
! 3755: fi
! 3756:
! 3757: ac_ext=c
! 3758: ac_cpp='$CPP $CPPFLAGS'
! 3759: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3760: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3761: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3762:
! 3763:
! 3764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! 3765: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 3766: if ${ac_cv_path_GREP+:} false; then :
! 3767: $as_echo_n "(cached) " >&6
! 3768: else
! 3769: if test -z "$GREP"; then
! 3770: ac_path_GREP_found=false
! 3771: # Loop through the user's path and test for each of PROGNAME-LIST
! 3772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3773: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3774: do
! 3775: IFS=$as_save_IFS
! 3776: test -z "$as_dir" && as_dir=.
! 3777: for ac_prog in grep ggrep; do
! 3778: for ac_exec_ext in '' $ac_executable_extensions; do
! 3779: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 3780: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 3781: # Check for GNU ac_path_GREP and select it if it is found.
! 3782: # Check for GNU $ac_path_GREP
! 3783: case `"$ac_path_GREP" --version 2>&1` in
! 3784: *GNU*)
! 3785: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 3786: *)
! 3787: ac_count=0
! 3788: $as_echo_n 0123456789 >"conftest.in"
! 3789: while :
! 3790: do
! 3791: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3792: mv "conftest.tmp" "conftest.in"
! 3793: cp "conftest.in" "conftest.nl"
! 3794: $as_echo 'GREP' >> "conftest.nl"
! 3795: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3796: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3797: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 3798: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 3799: # Best one so far, save it but keep looking for a better one
! 3800: ac_cv_path_GREP="$ac_path_GREP"
! 3801: ac_path_GREP_max=$ac_count
! 3802: fi
! 3803: # 10*(2^10) chars as input seems more than enough
! 3804: test $ac_count -gt 10 && break
! 3805: done
! 3806: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3807: esac
! 3808:
! 3809: $ac_path_GREP_found && break 3
! 3810: done
! 3811: done
! 3812: done
! 3813: IFS=$as_save_IFS
! 3814: if test -z "$ac_cv_path_GREP"; then
! 3815: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 3816: fi
! 3817: else
! 3818: ac_cv_path_GREP=$GREP
! 3819: fi
! 3820:
! 3821: fi
! 3822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! 3823: $as_echo "$ac_cv_path_GREP" >&6; }
! 3824: GREP="$ac_cv_path_GREP"
! 3825:
! 3826:
! 3827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! 3828: $as_echo_n "checking for egrep... " >&6; }
! 3829: if ${ac_cv_path_EGREP+:} false; then :
! 3830: $as_echo_n "(cached) " >&6
! 3831: else
! 3832: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3833: then ac_cv_path_EGREP="$GREP -E"
! 3834: else
! 3835: if test -z "$EGREP"; then
! 3836: ac_path_EGREP_found=false
! 3837: # Loop through the user's path and test for each of PROGNAME-LIST
! 3838: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3839: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3840: do
! 3841: IFS=$as_save_IFS
! 3842: test -z "$as_dir" && as_dir=.
! 3843: for ac_prog in egrep; do
! 3844: for ac_exec_ext in '' $ac_executable_extensions; do
! 3845: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 3846: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 3847: # Check for GNU ac_path_EGREP and select it if it is found.
! 3848: # Check for GNU $ac_path_EGREP
! 3849: case `"$ac_path_EGREP" --version 2>&1` in
! 3850: *GNU*)
! 3851: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 3852: *)
! 3853: ac_count=0
! 3854: $as_echo_n 0123456789 >"conftest.in"
! 3855: while :
! 3856: do
! 3857: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3858: mv "conftest.tmp" "conftest.in"
! 3859: cp "conftest.in" "conftest.nl"
! 3860: $as_echo 'EGREP' >> "conftest.nl"
! 3861: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3862: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3863: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 3864: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 3865: # Best one so far, save it but keep looking for a better one
! 3866: ac_cv_path_EGREP="$ac_path_EGREP"
! 3867: ac_path_EGREP_max=$ac_count
! 3868: fi
! 3869: # 10*(2^10) chars as input seems more than enough
! 3870: test $ac_count -gt 10 && break
! 3871: done
! 3872: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3873: esac
! 3874:
! 3875: $ac_path_EGREP_found && break 3
! 3876: done
! 3877: done
! 3878: done
! 3879: IFS=$as_save_IFS
! 3880: if test -z "$ac_cv_path_EGREP"; then
! 3881: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 3882: fi
! 3883: else
! 3884: ac_cv_path_EGREP=$EGREP
! 3885: fi
! 3886:
! 3887: fi
! 3888: fi
! 3889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! 3890: $as_echo "$ac_cv_path_EGREP" >&6; }
! 3891: EGREP="$ac_cv_path_EGREP"
! 3892:
! 3893:
! 3894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 3895: $as_echo_n "checking for ANSI C header files... " >&6; }
! 3896: if ${ac_cv_header_stdc+:} false; then :
! 3897: $as_echo_n "(cached) " >&6
! 3898: else
! 3899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3900: /* end confdefs.h. */
! 3901: #include <stdlib.h>
! 3902: #include <stdarg.h>
! 3903: #include <string.h>
! 3904: #include <float.h>
! 3905:
! 3906: int
! 3907: main ()
! 3908: {
! 3909:
! 3910: ;
! 3911: return 0;
! 3912: }
! 3913: _ACEOF
! 3914: if ac_fn_c_try_compile "$LINENO"; then :
! 3915: ac_cv_header_stdc=yes
! 3916: else
! 3917: ac_cv_header_stdc=no
! 3918: fi
! 3919: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3920:
! 3921: if test $ac_cv_header_stdc = yes; then
! 3922: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3923: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3924: /* end confdefs.h. */
! 3925: #include <string.h>
! 3926:
! 3927: _ACEOF
! 3928: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3929: $EGREP "memchr" >/dev/null 2>&1; then :
! 3930:
! 3931: else
! 3932: ac_cv_header_stdc=no
! 3933: fi
! 3934: rm -f conftest*
! 3935:
! 3936: fi
! 3937:
! 3938: if test $ac_cv_header_stdc = yes; then
! 3939: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3940: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3941: /* end confdefs.h. */
! 3942: #include <stdlib.h>
! 3943:
! 3944: _ACEOF
! 3945: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3946: $EGREP "free" >/dev/null 2>&1; then :
! 3947:
! 3948: else
! 3949: ac_cv_header_stdc=no
! 3950: fi
! 3951: rm -f conftest*
! 3952:
! 3953: fi
! 3954:
! 3955: if test $ac_cv_header_stdc = yes; then
! 3956: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3957: if test "$cross_compiling" = yes; then :
! 3958: :
! 3959: else
! 3960: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3961: /* end confdefs.h. */
! 3962: #include <ctype.h>
! 3963: #include <stdlib.h>
! 3964: #if ((' ' & 0x0FF) == 0x020)
! 3965: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3966: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3967: #else
! 3968: # define ISLOWER(c) \
! 3969: (('a' <= (c) && (c) <= 'i') \
! 3970: || ('j' <= (c) && (c) <= 'r') \
! 3971: || ('s' <= (c) && (c) <= 'z'))
! 3972: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3973: #endif
! 3974:
! 3975: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3976: int
! 3977: main ()
! 3978: {
! 3979: int i;
! 3980: for (i = 0; i < 256; i++)
! 3981: if (XOR (islower (i), ISLOWER (i))
! 3982: || toupper (i) != TOUPPER (i))
! 3983: return 2;
! 3984: return 0;
! 3985: }
! 3986: _ACEOF
! 3987: if ac_fn_c_try_run "$LINENO"; then :
! 3988:
! 3989: else
! 3990: ac_cv_header_stdc=no
! 3991: fi
! 3992: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 3993: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 3994: fi
! 3995:
! 3996: fi
! 3997: fi
! 3998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 3999: $as_echo "$ac_cv_header_stdc" >&6; }
! 4000: if test $ac_cv_header_stdc = yes; then
! 4001:
! 4002: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 4003:
! 4004: fi
! 4005:
! 4006: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 4007: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 4008: inttypes.h stdint.h unistd.h
! 4009: do :
! 4010: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4011: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
! 4012: "
! 4013: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 4014: cat >>confdefs.h <<_ACEOF
! 4015: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4016: _ACEOF
! 4017:
! 4018: fi
! 4019:
! 4020: done
! 4021:
! 4022:
! 4023: for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h syslog.h unistd.h
! 4024: do :
! 4025: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4026: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 4027: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 4028: cat >>confdefs.h <<_ACEOF
! 4029: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4030: _ACEOF
! 4031:
! 4032: fi
! 4033:
! 4034: done
! 4035:
! 4036:
! 4037: # Checks for typedefs, structures, and compiler characteristics.
! 4038: ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
! 4039: case $ac_cv_c_int8_t in #(
! 4040: no|yes) ;; #(
! 4041: *)
! 4042:
! 4043: cat >>confdefs.h <<_ACEOF
! 4044: #define int8_t $ac_cv_c_int8_t
! 4045: _ACEOF
! 4046: ;;
! 4047: esac
! 4048:
! 4049: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
! 4050: if test "x$ac_cv_type_pid_t" = xyes; then :
! 4051:
! 4052: else
! 4053:
! 4054: cat >>confdefs.h <<_ACEOF
! 4055: #define pid_t int
! 4056: _ACEOF
! 4057:
! 4058: fi
! 4059:
! 4060: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
! 4061: case $ac_cv_c_uint16_t in #(
! 4062: no|yes) ;; #(
! 4063: *)
! 4064:
! 4065:
! 4066: cat >>confdefs.h <<_ACEOF
! 4067: #define uint16_t $ac_cv_c_uint16_t
! 4068: _ACEOF
! 4069: ;;
! 4070: esac
! 4071:
! 4072: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
! 4073: case $ac_cv_c_uint32_t in #(
! 4074: no|yes) ;; #(
! 4075: *)
! 4076:
! 4077: $as_echo "#define _UINT32_T 1" >>confdefs.h
! 4078:
! 4079:
! 4080: cat >>confdefs.h <<_ACEOF
! 4081: #define uint32_t $ac_cv_c_uint32_t
! 4082: _ACEOF
! 4083: ;;
! 4084: esac
! 4085:
! 4086: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
! 4087: case $ac_cv_c_uint8_t in #(
! 4088: no|yes) ;; #(
! 4089: *)
! 4090:
! 4091: $as_echo "#define _UINT8_T 1" >>confdefs.h
! 4092:
! 4093:
! 4094: cat >>confdefs.h <<_ACEOF
! 4095: #define uint8_t $ac_cv_c_uint8_t
! 4096: _ACEOF
! 4097: ;;
! 4098: esac
! 4099:
! 4100:
! 4101: # Checks for library functions.
! 4102: for ac_header in vfork.h
! 4103: do :
! 4104: ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
! 4105: if test "x$ac_cv_header_vfork_h" = xyes; then :
! 4106: cat >>confdefs.h <<_ACEOF
! 4107: #define HAVE_VFORK_H 1
! 4108: _ACEOF
! 4109:
! 4110: fi
! 4111:
! 4112: done
! 4113:
! 4114: for ac_func in fork vfork
! 4115: do :
! 4116: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4117: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 4118: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 4119: cat >>confdefs.h <<_ACEOF
! 4120: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4121: _ACEOF
! 4122:
! 4123: fi
! 4124: done
! 4125:
! 4126: if test "x$ac_cv_func_fork" = xyes; then
! 4127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
! 4128: $as_echo_n "checking for working fork... " >&6; }
! 4129: if ${ac_cv_func_fork_works+:} false; then :
! 4130: $as_echo_n "(cached) " >&6
! 4131: else
! 4132: if test "$cross_compiling" = yes; then :
! 4133: ac_cv_func_fork_works=cross
! 4134: else
! 4135: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4136: /* end confdefs.h. */
! 4137: $ac_includes_default
! 4138: int
! 4139: main ()
! 4140: {
! 4141:
! 4142: /* By Ruediger Kuhlmann. */
! 4143: return fork () < 0;
! 4144:
! 4145: ;
! 4146: return 0;
! 4147: }
! 4148: _ACEOF
! 4149: if ac_fn_c_try_run "$LINENO"; then :
! 4150: ac_cv_func_fork_works=yes
! 4151: else
! 4152: ac_cv_func_fork_works=no
! 4153: fi
! 4154: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 4155: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 4156: fi
! 4157:
! 4158: fi
! 4159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
! 4160: $as_echo "$ac_cv_func_fork_works" >&6; }
! 4161:
! 4162: else
! 4163: ac_cv_func_fork_works=$ac_cv_func_fork
! 4164: fi
! 4165: if test "x$ac_cv_func_fork_works" = xcross; then
! 4166: case $host in
! 4167: *-*-amigaos* | *-*-msdosdjgpp*)
! 4168: # Override, as these systems have only a dummy fork() stub
! 4169: ac_cv_func_fork_works=no
! 4170: ;;
! 4171: *)
! 4172: ac_cv_func_fork_works=yes
! 4173: ;;
! 4174: esac
! 4175: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
! 4176: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
! 4177: fi
! 4178: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 4179: if test "x$ac_cv_func_vfork" = xyes; then
! 4180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
! 4181: $as_echo_n "checking for working vfork... " >&6; }
! 4182: if ${ac_cv_func_vfork_works+:} false; then :
! 4183: $as_echo_n "(cached) " >&6
! 4184: else
! 4185: if test "$cross_compiling" = yes; then :
! 4186: ac_cv_func_vfork_works=cross
! 4187: else
! 4188: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4189: /* end confdefs.h. */
! 4190: /* Thanks to Paul Eggert for this test. */
! 4191: $ac_includes_default
! 4192: #include <sys/wait.h>
! 4193: #ifdef HAVE_VFORK_H
! 4194: # include <vfork.h>
! 4195: #endif
! 4196: /* On some sparc systems, changes by the child to local and incoming
! 4197: argument registers are propagated back to the parent. The compiler
! 4198: is told about this with #include <vfork.h>, but some compilers
! 4199: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
! 4200: static variable whose address is put into a register that is
! 4201: clobbered by the vfork. */
! 4202: static void
! 4203: #ifdef __cplusplus
! 4204: sparc_address_test (int arg)
! 4205: # else
! 4206: sparc_address_test (arg) int arg;
! 4207: #endif
! 4208: {
! 4209: static pid_t child;
! 4210: if (!child) {
! 4211: child = vfork ();
! 4212: if (child < 0) {
! 4213: perror ("vfork");
! 4214: _exit(2);
! 4215: }
! 4216: if (!child) {
! 4217: arg = getpid();
! 4218: write(-1, "", 0);
! 4219: _exit (arg);
! 4220: }
! 4221: }
! 4222: }
! 4223:
! 4224: int
! 4225: main ()
! 4226: {
! 4227: pid_t parent = getpid ();
! 4228: pid_t child;
! 4229:
! 4230: sparc_address_test (0);
! 4231:
! 4232: child = vfork ();
! 4233:
! 4234: if (child == 0) {
! 4235: /* Here is another test for sparc vfork register problems. This
! 4236: test uses lots of local variables, at least as many local
! 4237: variables as main has allocated so far including compiler
! 4238: temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
! 4239: 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
! 4240: reuse the register of parent for one of the local variables,
! 4241: since it will think that parent can't possibly be used any more
! 4242: in this routine. Assigning to the local variable will thus
! 4243: munge parent in the parent process. */
! 4244: pid_t
! 4245: p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
! 4246: p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
! 4247: /* Convince the compiler that p..p7 are live; otherwise, it might
! 4248: use the same hardware register for all 8 local variables. */
! 4249: if (p != p1 || p != p2 || p != p3 || p != p4
! 4250: || p != p5 || p != p6 || p != p7)
! 4251: _exit(1);
! 4252:
! 4253: /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
! 4254: from child file descriptors. If the child closes a descriptor
! 4255: before it execs or exits, this munges the parent's descriptor
! 4256: as well. Test for this by closing stdout in the child. */
! 4257: _exit(close(fileno(stdout)) != 0);
! 4258: } else {
! 4259: int status;
! 4260: struct stat st;
! 4261:
! 4262: while (wait(&status) != child)
! 4263: ;
! 4264: return (
! 4265: /* Was there some problem with vforking? */
! 4266: child < 0
! 4267:
! 4268: /* Did the child fail? (This shouldn't happen.) */
! 4269: || status
! 4270:
! 4271: /* Did the vfork/compiler bug occur? */
! 4272: || parent != getpid()
! 4273:
! 4274: /* Did the file descriptor bug occur? */
! 4275: || fstat(fileno(stdout), &st) != 0
! 4276: );
! 4277: }
! 4278: }
! 4279: _ACEOF
! 4280: if ac_fn_c_try_run "$LINENO"; then :
! 4281: ac_cv_func_vfork_works=yes
! 4282: else
! 4283: ac_cv_func_vfork_works=no
! 4284: fi
! 4285: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 4286: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 4287: fi
! 4288:
! 4289: fi
! 4290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
! 4291: $as_echo "$ac_cv_func_vfork_works" >&6; }
! 4292:
! 4293: fi;
! 4294: if test "x$ac_cv_func_fork_works" = xcross; then
! 4295: ac_cv_func_vfork_works=$ac_cv_func_vfork
! 4296: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
! 4297: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
! 4298: fi
! 4299:
! 4300: if test "x$ac_cv_func_vfork_works" = xyes; then
! 4301:
! 4302: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
! 4303:
! 4304: else
! 4305:
! 4306: $as_echo "#define vfork fork" >>confdefs.h
! 4307:
! 4308: fi
! 4309: if test "x$ac_cv_func_fork_works" = xyes; then
! 4310:
! 4311: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
! 4312:
! 4313: fi
! 4314:
! 4315: for ac_header in stdlib.h
! 4316: do :
! 4317: ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
! 4318: if test "x$ac_cv_header_stdlib_h" = xyes; then :
! 4319: cat >>confdefs.h <<_ACEOF
! 4320: #define HAVE_STDLIB_H 1
! 4321: _ACEOF
! 4322:
! 4323: fi
! 4324:
! 4325: done
! 4326:
! 4327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
! 4328: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
! 4329: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
! 4330: $as_echo_n "(cached) " >&6
! 4331: else
! 4332: if test "$cross_compiling" = yes; then :
! 4333: ac_cv_func_malloc_0_nonnull=no
! 4334: else
! 4335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 4336: /* end confdefs.h. */
! 4337: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! 4338: # include <stdlib.h>
! 4339: #else
! 4340: char *malloc ();
! 4341: #endif
! 4342:
! 4343: int
! 4344: main ()
! 4345: {
! 4346: return ! malloc (0);
! 4347: ;
! 4348: return 0;
! 4349: }
! 4350: _ACEOF
! 4351: if ac_fn_c_try_run "$LINENO"; then :
! 4352: ac_cv_func_malloc_0_nonnull=yes
! 4353: else
! 4354: ac_cv_func_malloc_0_nonnull=no
! 4355: fi
! 4356: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 4357: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 4358: fi
! 4359:
! 4360: fi
! 4361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
! 4362: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
! 4363: if test $ac_cv_func_malloc_0_nonnull = yes; then :
! 4364:
! 4365: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
! 4366:
! 4367: else
! 4368: $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
! 4369:
! 4370: case " $LIBOBJS " in
! 4371: *" malloc.$ac_objext "* ) ;;
! 4372: *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
! 4373: ;;
! 4374: esac
! 4375:
! 4376:
! 4377: $as_echo "#define malloc rpl_malloc" >>confdefs.h
! 4378:
! 4379: fi
! 4380:
! 4381:
! 4382: for ac_func in dup2 endpwent gethostbyname memset select socket strerror strtol
! 4383: do :
! 4384: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4385: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 4386: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 4387: cat >>confdefs.h <<_ACEOF
! 4388: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4389: _ACEOF
! 4390:
! 4391: fi
! 4392: done
! 4393:
! 4394:
! 4395: ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile src/Makefile"
! 4396:
! 4397: cat >confcache <<\_ACEOF
! 4398: # This file is a shell script that caches the results of configure
! 4399: # tests run on this system so they can be shared between configure
! 4400: # scripts and configure runs, see configure's option --config-cache.
! 4401: # It is not useful on other systems. If it contains results you don't
! 4402: # want to keep, you may remove or edit it.
! 4403: #
! 4404: # config.status only pays attention to the cache file if you give it
! 4405: # the --recheck option to rerun configure.
! 4406: #
! 4407: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 4408: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 4409: # following values.
! 4410:
! 4411: _ACEOF
! 4412:
! 4413: # The following way of writing the cache mishandles newlines in values,
! 4414: # but we know of no workaround that is simple, portable, and efficient.
! 4415: # So, we kill variables containing newlines.
! 4416: # Ultrix sh set writes to stderr and can't be redirected directly,
! 4417: # and sets the high bit in the cache file unless we assign to the vars.
! 4418: (
! 4419: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 4420: eval ac_val=\$$ac_var
! 4421: case $ac_val in #(
! 4422: *${as_nl}*)
! 4423: case $ac_var in #(
! 4424: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 4425: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 4426: esac
! 4427: case $ac_var in #(
! 4428: _ | IFS | as_nl) ;; #(
! 4429: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 4430: *) { eval $ac_var=; unset $ac_var;} ;;
! 4431: esac ;;
! 4432: esac
! 4433: done
! 4434:
! 4435: (set) 2>&1 |
! 4436: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 4437: *${as_nl}ac_space=\ *)
! 4438: # `set' does not quote correctly, so add quotes: double-quote
! 4439: # substitution turns \\\\ into \\, and sed turns \\ into \.
! 4440: sed -n \
! 4441: "s/'/'\\\\''/g;
! 4442: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 4443: ;; #(
! 4444: *)
! 4445: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 4446: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 4447: ;;
! 4448: esac |
! 4449: sort
! 4450: ) |
! 4451: sed '
! 4452: /^ac_cv_env_/b end
! 4453: t clear
! 4454: :clear
! 4455: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 4456: t end
! 4457: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 4458: :end' >>confcache
! 4459: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 4460: if test -w "$cache_file"; then
! 4461: if test "x$cache_file" != "x/dev/null"; then
! 4462: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 4463: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 4464: if test ! -f "$cache_file" || test -h "$cache_file"; then
! 4465: cat confcache >"$cache_file"
! 4466: else
! 4467: case $cache_file in #(
! 4468: */* | ?:*)
! 4469: mv -f confcache "$cache_file"$$ &&
! 4470: mv -f "$cache_file"$$ "$cache_file" ;; #(
! 4471: *)
! 4472: mv -f confcache "$cache_file" ;;
! 4473: esac
! 4474: fi
! 4475: fi
! 4476: else
! 4477: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 4478: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 4479: fi
! 4480: fi
! 4481: rm -f confcache
! 4482:
! 4483: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 4484: # Let make expand exec_prefix.
! 4485: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 4486:
! 4487: DEFS=-DHAVE_CONFIG_H
! 4488:
! 4489: ac_libobjs=
! 4490: ac_ltlibobjs=
! 4491: U=
! 4492: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 4493: # 1. Remove the extension, and $U if already installed.
! 4494: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 4495: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 4496: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 4497: # will be set to the directory where LIBOBJS objects are built.
! 4498: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 4499: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 4500: done
! 4501: LIBOBJS=$ac_libobjs
! 4502:
! 4503: LTLIBOBJS=$ac_ltlibobjs
! 4504:
! 4505:
! 4506:
! 4507: : "${CONFIG_STATUS=./config.status}"
! 4508: ac_write_fail=0
! 4509: ac_clean_files_save=$ac_clean_files
! 4510: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 4511: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 4512: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 4513: as_write_fail=0
! 4514: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
! 4515: #! $SHELL
! 4516: # Generated by $as_me.
! 4517: # Run this file to recreate the current configuration.
! 4518: # Compiler output produced by configure, useful for debugging
! 4519: # configure, is in config.log if it exists.
! 4520:
! 4521: debug=false
! 4522: ac_cs_recheck=false
! 4523: ac_cs_silent=false
! 4524:
! 4525: SHELL=\${CONFIG_SHELL-$SHELL}
! 4526: export SHELL
! 4527: _ASEOF
! 4528: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 4529: ## -------------------- ##
! 4530: ## M4sh Initialization. ##
! 4531: ## -------------------- ##
! 4532:
! 4533: # Be more Bourne compatible
! 4534: DUALCASE=1; export DUALCASE # for MKS sh
! 4535: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 4536: emulate sh
! 4537: NULLCMD=:
! 4538: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 4539: # is contrary to our usage. Disable this feature.
! 4540: alias -g '${1+"$@"}'='"$@"'
! 4541: setopt NO_GLOB_SUBST
! 4542: else
! 4543: case `(set -o) 2>/dev/null` in #(
! 4544: *posix*) :
! 4545: set -o posix ;; #(
! 4546: *) :
! 4547: ;;
! 4548: esac
! 4549: fi
! 4550:
! 4551:
! 4552: as_nl='
! 4553: '
! 4554: export as_nl
! 4555: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 4556: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 4557: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 4558: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 4559: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 4560: # but without wasting forks for bash or zsh.
! 4561: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 4562: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 4563: as_echo='print -r --'
! 4564: as_echo_n='print -rn --'
! 4565: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 4566: as_echo='printf %s\n'
! 4567: as_echo_n='printf %s'
! 4568: else
! 4569: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 4570: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 4571: as_echo_n='/usr/ucb/echo -n'
! 4572: else
! 4573: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 4574: as_echo_n_body='eval
! 4575: arg=$1;
! 4576: case $arg in #(
! 4577: *"$as_nl"*)
! 4578: expr "X$arg" : "X\\(.*\\)$as_nl";
! 4579: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 4580: esac;
! 4581: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 4582: '
! 4583: export as_echo_n_body
! 4584: as_echo_n='sh -c $as_echo_n_body as_echo'
! 4585: fi
! 4586: export as_echo_body
! 4587: as_echo='sh -c $as_echo_body as_echo'
! 4588: fi
! 4589:
! 4590: # The user is always right.
! 4591: if test "${PATH_SEPARATOR+set}" != set; then
! 4592: PATH_SEPARATOR=:
! 4593: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 4594: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 4595: PATH_SEPARATOR=';'
! 4596: }
! 4597: fi
! 4598:
! 4599:
! 4600: # IFS
! 4601: # We need space, tab and new line, in precisely that order. Quoting is
! 4602: # there to prevent editors from complaining about space-tab.
! 4603: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 4604: # splitting by setting IFS to empty value.)
! 4605: IFS=" "" $as_nl"
! 4606:
! 4607: # Find who we are. Look in the path if we contain no directory separator.
! 4608: as_myself=
! 4609: case $0 in #((
! 4610: *[\\/]* ) as_myself=$0 ;;
! 4611: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4612: for as_dir in $PATH
! 4613: do
! 4614: IFS=$as_save_IFS
! 4615: test -z "$as_dir" && as_dir=.
! 4616: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 4617: done
! 4618: IFS=$as_save_IFS
! 4619:
! 4620: ;;
! 4621: esac
! 4622: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 4623: # in which case we are not to be found in the path.
! 4624: if test "x$as_myself" = x; then
! 4625: as_myself=$0
! 4626: fi
! 4627: if test ! -f "$as_myself"; then
! 4628: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 4629: exit 1
! 4630: fi
! 4631:
! 4632: # Unset variables that we do not need and which cause bugs (e.g. in
! 4633: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 4634: # suppresses any "Segmentation fault" message there. '((' could
! 4635: # trigger a bug in pdksh 5.2.14.
! 4636: for as_var in BASH_ENV ENV MAIL MAILPATH
! 4637: do eval test x\${$as_var+set} = xset \
! 4638: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 4639: done
! 4640: PS1='$ '
! 4641: PS2='> '
! 4642: PS4='+ '
! 4643:
! 4644: # NLS nuisances.
! 4645: LC_ALL=C
! 4646: export LC_ALL
! 4647: LANGUAGE=C
! 4648: export LANGUAGE
! 4649:
! 4650: # CDPATH.
! 4651: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 4652:
! 4653:
! 4654: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 4655: # ----------------------------------------
! 4656: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 4657: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 4658: # script with STATUS, using 1 if that was 0.
! 4659: as_fn_error ()
! 4660: {
! 4661: as_status=$1; test $as_status -eq 0 && as_status=1
! 4662: if test "$4"; then
! 4663: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 4664: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 4665: fi
! 4666: $as_echo "$as_me: error: $2" >&2
! 4667: as_fn_exit $as_status
! 4668: } # as_fn_error
! 4669:
! 4670:
! 4671: # as_fn_set_status STATUS
! 4672: # -----------------------
! 4673: # Set $? to STATUS, without forking.
! 4674: as_fn_set_status ()
! 4675: {
! 4676: return $1
! 4677: } # as_fn_set_status
! 4678:
! 4679: # as_fn_exit STATUS
! 4680: # -----------------
! 4681: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 4682: as_fn_exit ()
! 4683: {
! 4684: set +e
! 4685: as_fn_set_status $1
! 4686: exit $1
! 4687: } # as_fn_exit
! 4688:
! 4689: # as_fn_unset VAR
! 4690: # ---------------
! 4691: # Portably unset VAR.
! 4692: as_fn_unset ()
! 4693: {
! 4694: { eval $1=; unset $1;}
! 4695: }
! 4696: as_unset=as_fn_unset
! 4697: # as_fn_append VAR VALUE
! 4698: # ----------------------
! 4699: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 4700: # advantage of any shell optimizations that allow amortized linear growth over
! 4701: # repeated appends, instead of the typical quadratic growth present in naive
! 4702: # implementations.
! 4703: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 4704: eval 'as_fn_append ()
! 4705: {
! 4706: eval $1+=\$2
! 4707: }'
! 4708: else
! 4709: as_fn_append ()
! 4710: {
! 4711: eval $1=\$$1\$2
! 4712: }
! 4713: fi # as_fn_append
! 4714:
! 4715: # as_fn_arith ARG...
! 4716: # ------------------
! 4717: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 4718: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 4719: # must be portable across $(()) and expr.
! 4720: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 4721: eval 'as_fn_arith ()
! 4722: {
! 4723: as_val=$(( $* ))
! 4724: }'
! 4725: else
! 4726: as_fn_arith ()
! 4727: {
! 4728: as_val=`expr "$@" || test $? -eq 1`
! 4729: }
! 4730: fi # as_fn_arith
! 4731:
! 4732:
! 4733: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 4734: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 4735: as_expr=expr
! 4736: else
! 4737: as_expr=false
! 4738: fi
! 4739:
! 4740: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 4741: as_basename=basename
! 4742: else
! 4743: as_basename=false
! 4744: fi
! 4745:
! 4746: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 4747: as_dirname=dirname
! 4748: else
! 4749: as_dirname=false
! 4750: fi
! 4751:
! 4752: as_me=`$as_basename -- "$0" ||
! 4753: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 4754: X"$0" : 'X\(//\)$' \| \
! 4755: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 4756: $as_echo X/"$0" |
! 4757: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 4758: s//\1/
! 4759: q
! 4760: }
! 4761: /^X\/\(\/\/\)$/{
! 4762: s//\1/
! 4763: q
! 4764: }
! 4765: /^X\/\(\/\).*/{
! 4766: s//\1/
! 4767: q
! 4768: }
! 4769: s/.*/./; q'`
! 4770:
! 4771: # Avoid depending upon Character Ranges.
! 4772: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 4773: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 4774: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 4775: as_cr_digits='0123456789'
! 4776: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 4777:
! 4778: ECHO_C= ECHO_N= ECHO_T=
! 4779: case `echo -n x` in #(((((
! 4780: -n*)
! 4781: case `echo 'xy\c'` in
! 4782: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 4783: xy) ECHO_C='\c';;
! 4784: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 4785: ECHO_T=' ';;
! 4786: esac;;
! 4787: *)
! 4788: ECHO_N='-n';;
! 4789: esac
! 4790:
! 4791: rm -f conf$$ conf$$.exe conf$$.file
! 4792: if test -d conf$$.dir; then
! 4793: rm -f conf$$.dir/conf$$.file
! 4794: else
! 4795: rm -f conf$$.dir
! 4796: mkdir conf$$.dir 2>/dev/null
! 4797: fi
! 4798: if (echo >conf$$.file) 2>/dev/null; then
! 4799: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 4800: as_ln_s='ln -s'
! 4801: # ... but there are two gotchas:
! 4802: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 4803: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 4804: # In both cases, we have to default to `cp -p'.
! 4805: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 4806: as_ln_s='cp -p'
! 4807: elif ln conf$$.file conf$$ 2>/dev/null; then
! 4808: as_ln_s=ln
! 4809: else
! 4810: as_ln_s='cp -p'
! 4811: fi
! 4812: else
! 4813: as_ln_s='cp -p'
! 4814: fi
! 4815: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 4816: rmdir conf$$.dir 2>/dev/null
! 4817:
! 4818:
! 4819: # as_fn_mkdir_p
! 4820: # -------------
! 4821: # Create "$as_dir" as a directory, including parents if necessary.
! 4822: as_fn_mkdir_p ()
! 4823: {
! 4824:
! 4825: case $as_dir in #(
! 4826: -*) as_dir=./$as_dir;;
! 4827: esac
! 4828: test -d "$as_dir" || eval $as_mkdir_p || {
! 4829: as_dirs=
! 4830: while :; do
! 4831: case $as_dir in #(
! 4832: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 4833: *) as_qdir=$as_dir;;
! 4834: esac
! 4835: as_dirs="'$as_qdir' $as_dirs"
! 4836: as_dir=`$as_dirname -- "$as_dir" ||
! 4837: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4838: X"$as_dir" : 'X\(//\)[^/]' \| \
! 4839: X"$as_dir" : 'X\(//\)$' \| \
! 4840: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 4841: $as_echo X"$as_dir" |
! 4842: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4843: s//\1/
! 4844: q
! 4845: }
! 4846: /^X\(\/\/\)[^/].*/{
! 4847: s//\1/
! 4848: q
! 4849: }
! 4850: /^X\(\/\/\)$/{
! 4851: s//\1/
! 4852: q
! 4853: }
! 4854: /^X\(\/\).*/{
! 4855: s//\1/
! 4856: q
! 4857: }
! 4858: s/.*/./; q'`
! 4859: test -d "$as_dir" && break
! 4860: done
! 4861: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 4862: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 4863:
! 4864:
! 4865: } # as_fn_mkdir_p
! 4866: if mkdir -p . 2>/dev/null; then
! 4867: as_mkdir_p='mkdir -p "$as_dir"'
! 4868: else
! 4869: test -d ./-p && rmdir ./-p
! 4870: as_mkdir_p=false
! 4871: fi
! 4872:
! 4873: if test -x / >/dev/null 2>&1; then
! 4874: as_test_x='test -x'
! 4875: else
! 4876: if ls -dL / >/dev/null 2>&1; then
! 4877: as_ls_L_option=L
! 4878: else
! 4879: as_ls_L_option=
! 4880: fi
! 4881: as_test_x='
! 4882: eval sh -c '\''
! 4883: if test -d "$1"; then
! 4884: test -d "$1/.";
! 4885: else
! 4886: case $1 in #(
! 4887: -*)set "./$1";;
! 4888: esac;
! 4889: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 4890: ???[sx]*):;;*)false;;esac;fi
! 4891: '\'' sh
! 4892: '
! 4893: fi
! 4894: as_executable_p=$as_test_x
! 4895:
! 4896: # Sed expression to map a string onto a valid CPP name.
! 4897: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 4898:
! 4899: # Sed expression to map a string onto a valid variable name.
! 4900: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 4901:
! 4902:
! 4903: exec 6>&1
! 4904: ## ----------------------------------- ##
! 4905: ## Main body of $CONFIG_STATUS script. ##
! 4906: ## ----------------------------------- ##
! 4907: _ASEOF
! 4908: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
! 4909:
! 4910: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4911: # Save the log message, to keep $0 and so on meaningful, and to
! 4912: # report actual input values of CONFIG_FILES etc. instead of their
! 4913: # values after options handling.
! 4914: ac_log="
! 4915: This file was extended by ansh $as_me 1.0, which was
! 4916: generated by GNU Autoconf 2.68. Invocation command line was
! 4917:
! 4918: CONFIG_FILES = $CONFIG_FILES
! 4919: CONFIG_HEADERS = $CONFIG_HEADERS
! 4920: CONFIG_LINKS = $CONFIG_LINKS
! 4921: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 4922: $ $0 $@
! 4923:
! 4924: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 4925: "
! 4926:
! 4927: _ACEOF
! 4928:
! 4929: case $ac_config_files in *"
! 4930: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 4931: esac
! 4932:
! 4933: case $ac_config_headers in *"
! 4934: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 4935: esac
! 4936:
! 4937:
! 4938: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4939: # Files that config.status was made for.
! 4940: config_files="$ac_config_files"
! 4941: config_headers="$ac_config_headers"
! 4942:
! 4943: _ACEOF
! 4944:
! 4945: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4946: ac_cs_usage="\
! 4947: \`$as_me' instantiates files and other configuration actions
! 4948: from templates according to the current configuration. Unless the files
! 4949: and actions are specified as TAGs, all are instantiated by default.
! 4950:
! 4951: Usage: $0 [OPTION]... [TAG]...
! 4952:
! 4953: -h, --help print this help, then exit
! 4954: -V, --version print version number and configuration settings, then exit
! 4955: --config print configuration, then exit
! 4956: -q, --quiet, --silent
! 4957: do not print progress messages
! 4958: -d, --debug don't remove temporary files
! 4959: --recheck update $as_me by reconfiguring in the same conditions
! 4960: --file=FILE[:TEMPLATE]
! 4961: instantiate the configuration file FILE
! 4962: --header=FILE[:TEMPLATE]
! 4963: instantiate the configuration header FILE
! 4964:
! 4965: Configuration files:
! 4966: $config_files
! 4967:
! 4968: Configuration headers:
! 4969: $config_headers
! 4970:
! 4971: Report bugs to <misho@elwix.org>."
! 4972:
! 4973: _ACEOF
! 4974: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 4975: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
! 4976: ac_cs_version="\\
! 4977: ansh config.status 1.0
! 4978: configured by $0, generated by GNU Autoconf 2.68,
! 4979: with options \\"\$ac_cs_config\\"
! 4980:
! 4981: Copyright (C) 2010 Free Software Foundation, Inc.
! 4982: This config.status script is free software; the Free Software Foundation
! 4983: gives unlimited permission to copy, distribute and modify it."
! 4984:
! 4985: ac_pwd='$ac_pwd'
! 4986: srcdir='$srcdir'
! 4987: INSTALL='$INSTALL'
! 4988: test -n "\$AWK" || AWK=awk
! 4989: _ACEOF
! 4990:
! 4991: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4992: # The default lists apply if the user does not specify any file.
! 4993: ac_need_defaults=:
! 4994: while test $# != 0
! 4995: do
! 4996: case $1 in
! 4997: --*=?*)
! 4998: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 4999: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 5000: ac_shift=:
! 5001: ;;
! 5002: --*=)
! 5003: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 5004: ac_optarg=
! 5005: ac_shift=:
! 5006: ;;
! 5007: *)
! 5008: ac_option=$1
! 5009: ac_optarg=$2
! 5010: ac_shift=shift
! 5011: ;;
! 5012: esac
! 5013:
! 5014: case $ac_option in
! 5015: # Handling of the options.
! 5016: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 5017: ac_cs_recheck=: ;;
! 5018: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 5019: $as_echo "$ac_cs_version"; exit ;;
! 5020: --config | --confi | --conf | --con | --co | --c )
! 5021: $as_echo "$ac_cs_config"; exit ;;
! 5022: --debug | --debu | --deb | --de | --d | -d )
! 5023: debug=: ;;
! 5024: --file | --fil | --fi | --f )
! 5025: $ac_shift
! 5026: case $ac_optarg in
! 5027: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 5028: '') as_fn_error $? "missing file argument" ;;
! 5029: esac
! 5030: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 5031: ac_need_defaults=false;;
! 5032: --header | --heade | --head | --hea )
! 5033: $ac_shift
! 5034: case $ac_optarg in
! 5035: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 5036: esac
! 5037: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
! 5038: ac_need_defaults=false;;
! 5039: --he | --h)
! 5040: # Conflict between --help and --header
! 5041: as_fn_error $? "ambiguous option: \`$1'
! 5042: Try \`$0 --help' for more information.";;
! 5043: --help | --hel | -h )
! 5044: $as_echo "$ac_cs_usage"; exit ;;
! 5045: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 5046: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 5047: ac_cs_silent=: ;;
! 5048:
! 5049: # This is an error.
! 5050: -*) as_fn_error $? "unrecognized option: \`$1'
! 5051: Try \`$0 --help' for more information." ;;
! 5052:
! 5053: *) as_fn_append ac_config_targets " $1"
! 5054: ac_need_defaults=false ;;
! 5055:
! 5056: esac
! 5057: shift
! 5058: done
! 5059:
! 5060: ac_configure_extra_args=
! 5061:
! 5062: if $ac_cs_silent; then
! 5063: exec 6>/dev/null
! 5064: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 5065: fi
! 5066:
! 5067: _ACEOF
! 5068: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5069: if \$ac_cs_recheck; then
! 5070: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 5071: shift
! 5072: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 5073: CONFIG_SHELL='$SHELL'
! 5074: export CONFIG_SHELL
! 5075: exec "\$@"
! 5076: fi
! 5077:
! 5078: _ACEOF
! 5079: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5080: exec 5>>config.log
! 5081: {
! 5082: echo
! 5083: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 5084: ## Running $as_me. ##
! 5085: _ASBOX
! 5086: $as_echo "$ac_log"
! 5087: } >&5
! 5088:
! 5089: _ACEOF
! 5090: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5091: _ACEOF
! 5092:
! 5093: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5094:
! 5095: # Handling of arguments.
! 5096: for ac_config_target in $ac_config_targets
! 5097: do
! 5098: case $ac_config_target in
! 5099: "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
! 5100: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 5101: "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
! 5102: "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
! 5103: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 5104:
! 5105: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
! 5106: esac
! 5107: done
! 5108:
! 5109:
! 5110: # If the user did not use the arguments to specify the items to instantiate,
! 5111: # then the envvar interface is used. Set only those that are not.
! 5112: # We use the long form for the default assignment because of an extremely
! 5113: # bizarre bug on SunOS 4.1.3.
! 5114: if $ac_need_defaults; then
! 5115: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 5116: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 5117: fi
! 5118:
! 5119: # Have a temporary directory for convenience. Make it in the build tree
! 5120: # simply because there is no reason against having it here, and in addition,
! 5121: # creating and moving files from /tmp can sometimes cause problems.
! 5122: # Hook for its removal unless debugging.
! 5123: # Note that there is a small window in which the directory will not be cleaned:
! 5124: # after its creation but before its name has been assigned to `$tmp'.
! 5125: $debug ||
! 5126: {
! 5127: tmp= ac_tmp=
! 5128: trap 'exit_status=$?
! 5129: : "${ac_tmp:=$tmp}"
! 5130: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
! 5131: ' 0
! 5132: trap 'as_fn_exit 1' 1 2 13 15
! 5133: }
! 5134: # Create a (secure) tmp directory for tmp files.
! 5135:
! 5136: {
! 5137: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 5138: test -d "$tmp"
! 5139: } ||
! 5140: {
! 5141: tmp=./conf$$-$RANDOM
! 5142: (umask 077 && mkdir "$tmp")
! 5143: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 5144: ac_tmp=$tmp
! 5145:
! 5146: # Set up the scripts for CONFIG_FILES section.
! 5147: # No need to generate them if there are no CONFIG_FILES.
! 5148: # This happens for instance with `./config.status config.h'.
! 5149: if test -n "$CONFIG_FILES"; then
! 5150:
! 5151:
! 5152: ac_cr=`echo X | tr X '\015'`
! 5153: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 5154: # But we know of no other shell where ac_cr would be empty at this
! 5155: # point, so we can use a bashism as a fallback.
! 5156: if test "x$ac_cr" = x; then
! 5157: eval ac_cr=\$\'\\r\'
! 5158: fi
! 5159: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 5160: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 5161: ac_cs_awk_cr='\\r'
! 5162: else
! 5163: ac_cs_awk_cr=$ac_cr
! 5164: fi
! 5165:
! 5166: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
! 5167: _ACEOF
! 5168:
! 5169:
! 5170: {
! 5171: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 5172: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 5173: echo "_ACEOF"
! 5174: } >conf$$subs.sh ||
! 5175: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 5176: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
! 5177: ac_delim='%!_!# '
! 5178: for ac_last_try in false false false false false :; do
! 5179: . ./conf$$subs.sh ||
! 5180: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 5181:
! 5182: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 5183: if test $ac_delim_n = $ac_delim_num; then
! 5184: break
! 5185: elif $ac_last_try; then
! 5186: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 5187: else
! 5188: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 5189: fi
! 5190: done
! 5191: rm -f conf$$subs.sh
! 5192:
! 5193: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5194: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
! 5195: _ACEOF
! 5196: sed -n '
! 5197: h
! 5198: s/^/S["/; s/!.*/"]=/
! 5199: p
! 5200: g
! 5201: s/^[^!]*!//
! 5202: :repl
! 5203: t repl
! 5204: s/'"$ac_delim"'$//
! 5205: t delim
! 5206: :nl
! 5207: h
! 5208: s/\(.\{148\}\)..*/\1/
! 5209: t more1
! 5210: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 5211: p
! 5212: n
! 5213: b repl
! 5214: :more1
! 5215: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 5216: p
! 5217: g
! 5218: s/.\{148\}//
! 5219: t nl
! 5220: :delim
! 5221: h
! 5222: s/\(.\{148\}\)..*/\1/
! 5223: t more2
! 5224: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 5225: p
! 5226: b
! 5227: :more2
! 5228: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 5229: p
! 5230: g
! 5231: s/.\{148\}//
! 5232: t delim
! 5233: ' <conf$$subs.awk | sed '
! 5234: /^[^""]/{
! 5235: N
! 5236: s/\n//
! 5237: }
! 5238: ' >>$CONFIG_STATUS || ac_write_fail=1
! 5239: rm -f conf$$subs.awk
! 5240: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5241: _ACAWK
! 5242: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
! 5243: for (key in S) S_is_set[key] = 1
! 5244: FS = ""
! 5245:
! 5246: }
! 5247: {
! 5248: line = $ 0
! 5249: nfields = split(line, field, "@")
! 5250: substed = 0
! 5251: len = length(field[1])
! 5252: for (i = 2; i < nfields; i++) {
! 5253: key = field[i]
! 5254: keylen = length(key)
! 5255: if (S_is_set[key]) {
! 5256: value = S[key]
! 5257: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 5258: len += length(value) + length(field[++i])
! 5259: substed = 1
! 5260: } else
! 5261: len += 1 + keylen
! 5262: }
! 5263:
! 5264: print line
! 5265: }
! 5266:
! 5267: _ACAWK
! 5268: _ACEOF
! 5269: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5270: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 5271: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 5272: else
! 5273: cat
! 5274: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
! 5275: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
! 5276: _ACEOF
! 5277:
! 5278: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
! 5279: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
! 5280: # trailing colons and then remove the whole line if VPATH becomes empty
! 5281: # (actually we leave an empty line to preserve line numbers).
! 5282: if test "x$srcdir" = x.; then
! 5283: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
! 5284: h
! 5285: s///
! 5286: s/^/:/
! 5287: s/[ ]*$/:/
! 5288: s/:\$(srcdir):/:/g
! 5289: s/:\${srcdir}:/:/g
! 5290: s/:@srcdir@:/:/g
! 5291: s/^:*//
! 5292: s/:*$//
! 5293: x
! 5294: s/\(=[ ]*\).*/\1/
! 5295: G
! 5296: s/\n//
! 5297: s/^[^=]*=[ ]*$//
! 5298: }'
! 5299: fi
! 5300:
! 5301: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5302: fi # test -n "$CONFIG_FILES"
! 5303:
! 5304: # Set up the scripts for CONFIG_HEADERS section.
! 5305: # No need to generate them if there are no CONFIG_HEADERS.
! 5306: # This happens for instance with `./config.status Makefile'.
! 5307: if test -n "$CONFIG_HEADERS"; then
! 5308: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
! 5309: BEGIN {
! 5310: _ACEOF
! 5311:
! 5312: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 5313: # here-document in config.status, that substitutes the proper values into
! 5314: # config.h.in to produce config.h.
! 5315:
! 5316: # Create a delimiter string that does not exist in confdefs.h, to ease
! 5317: # handling of long lines.
! 5318: ac_delim='%!_!# '
! 5319: for ac_last_try in false false :; do
! 5320: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
! 5321: if test -z "$ac_tt"; then
! 5322: break
! 5323: elif $ac_last_try; then
! 5324: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
! 5325: else
! 5326: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 5327: fi
! 5328: done
! 5329:
! 5330: # For the awk script, D is an array of macro values keyed by name,
! 5331: # likewise P contains macro parameters if any. Preserve backslash
! 5332: # newline sequences.
! 5333:
! 5334: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 5335: sed -n '
! 5336: s/.\{148\}/&'"$ac_delim"'/g
! 5337: t rset
! 5338: :rset
! 5339: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 5340: t def
! 5341: d
! 5342: :def
! 5343: s/\\$//
! 5344: t bsnl
! 5345: s/["\\]/\\&/g
! 5346: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 5347: D["\1"]=" \3"/p
! 5348: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 5349: d
! 5350: :bsnl
! 5351: s/["\\]/\\&/g
! 5352: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 5353: D["\1"]=" \3\\\\\\n"\\/p
! 5354: t cont
! 5355: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 5356: t cont
! 5357: d
! 5358: :cont
! 5359: n
! 5360: s/.\{148\}/&'"$ac_delim"'/g
! 5361: t clear
! 5362: :clear
! 5363: s/\\$//
! 5364: t bsnlc
! 5365: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 5366: d
! 5367: :bsnlc
! 5368: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 5369: b cont
! 5370: ' <confdefs.h | sed '
! 5371: s/'"$ac_delim"'/"\\\
! 5372: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 5373:
! 5374: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5375: for (key in D) D_is_set[key] = 1
! 5376: FS = ""
! 5377: }
! 5378: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 5379: line = \$ 0
! 5380: split(line, arg, " ")
! 5381: if (arg[1] == "#") {
! 5382: defundef = arg[2]
! 5383: mac1 = arg[3]
! 5384: } else {
! 5385: defundef = substr(arg[1], 2)
! 5386: mac1 = arg[2]
! 5387: }
! 5388: split(mac1, mac2, "(") #)
! 5389: macro = mac2[1]
! 5390: prefix = substr(line, 1, index(line, defundef) - 1)
! 5391: if (D_is_set[macro]) {
! 5392: # Preserve the white space surrounding the "#".
! 5393: print prefix "define", macro P[macro] D[macro]
! 5394: next
! 5395: } else {
! 5396: # Replace #undef with comments. This is necessary, for example,
! 5397: # in the case of _POSIX_SOURCE, which is predefined and required
! 5398: # on some systems where configure will not decide to define it.
! 5399: if (defundef == "undef") {
! 5400: print "/*", prefix defundef, macro, "*/"
! 5401: next
! 5402: }
! 5403: }
! 5404: }
! 5405: { print }
! 5406: _ACAWK
! 5407: _ACEOF
! 5408: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5409: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
! 5410: fi # test -n "$CONFIG_HEADERS"
! 5411:
! 5412:
! 5413: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
! 5414: shift
! 5415: for ac_tag
! 5416: do
! 5417: case $ac_tag in
! 5418: :[FHLC]) ac_mode=$ac_tag; continue;;
! 5419: esac
! 5420: case $ac_mode$ac_tag in
! 5421: :[FHL]*:*);;
! 5422: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 5423: :[FH]-) ac_tag=-:-;;
! 5424: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 5425: esac
! 5426: ac_save_IFS=$IFS
! 5427: IFS=:
! 5428: set x $ac_tag
! 5429: IFS=$ac_save_IFS
! 5430: shift
! 5431: ac_file=$1
! 5432: shift
! 5433:
! 5434: case $ac_mode in
! 5435: :L) ac_source=$1;;
! 5436: :[FH])
! 5437: ac_file_inputs=
! 5438: for ac_f
! 5439: do
! 5440: case $ac_f in
! 5441: -) ac_f="$ac_tmp/stdin";;
! 5442: *) # Look for the file first in the build tree, then in the source tree
! 5443: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 5444: # because $ac_f cannot contain `:'.
! 5445: test -f "$ac_f" ||
! 5446: case $ac_f in
! 5447: [\\/$]*) false;;
! 5448: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 5449: esac ||
! 5450: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 5451: esac
! 5452: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 5453: as_fn_append ac_file_inputs " '$ac_f'"
! 5454: done
! 5455:
! 5456: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 5457: # use $as_me), people would be surprised to read:
! 5458: # /* config.h. Generated by config.status. */
! 5459: configure_input='Generated from '`
! 5460: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 5461: `' by configure.'
! 5462: if test x"$ac_file" != x-; then
! 5463: configure_input="$ac_file. $configure_input"
! 5464: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 5465: $as_echo "$as_me: creating $ac_file" >&6;}
! 5466: fi
! 5467: # Neutralize special characters interpreted by sed in replacement strings.
! 5468: case $configure_input in #(
! 5469: *\&* | *\|* | *\\* )
! 5470: ac_sed_conf_input=`$as_echo "$configure_input" |
! 5471: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 5472: *) ac_sed_conf_input=$configure_input;;
! 5473: esac
! 5474:
! 5475: case $ac_tag in
! 5476: *:-:* | *:-) cat >"$ac_tmp/stdin" \
! 5477: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 5478: esac
! 5479: ;;
! 5480: esac
! 5481:
! 5482: ac_dir=`$as_dirname -- "$ac_file" ||
! 5483: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 5484: X"$ac_file" : 'X\(//\)[^/]' \| \
! 5485: X"$ac_file" : 'X\(//\)$' \| \
! 5486: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 5487: $as_echo X"$ac_file" |
! 5488: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 5489: s//\1/
! 5490: q
! 5491: }
! 5492: /^X\(\/\/\)[^/].*/{
! 5493: s//\1/
! 5494: q
! 5495: }
! 5496: /^X\(\/\/\)$/{
! 5497: s//\1/
! 5498: q
! 5499: }
! 5500: /^X\(\/\).*/{
! 5501: s//\1/
! 5502: q
! 5503: }
! 5504: s/.*/./; q'`
! 5505: as_dir="$ac_dir"; as_fn_mkdir_p
! 5506: ac_builddir=.
! 5507:
! 5508: case "$ac_dir" in
! 5509: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 5510: *)
! 5511: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 5512: # A ".." for each directory in $ac_dir_suffix.
! 5513: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 5514: case $ac_top_builddir_sub in
! 5515: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 5516: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 5517: esac ;;
! 5518: esac
! 5519: ac_abs_top_builddir=$ac_pwd
! 5520: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 5521: # for backward compatibility:
! 5522: ac_top_builddir=$ac_top_build_prefix
! 5523:
! 5524: case $srcdir in
! 5525: .) # We are building in place.
! 5526: ac_srcdir=.
! 5527: ac_top_srcdir=$ac_top_builddir_sub
! 5528: ac_abs_top_srcdir=$ac_pwd ;;
! 5529: [\\/]* | ?:[\\/]* ) # Absolute name.
! 5530: ac_srcdir=$srcdir$ac_dir_suffix;
! 5531: ac_top_srcdir=$srcdir
! 5532: ac_abs_top_srcdir=$srcdir ;;
! 5533: *) # Relative name.
! 5534: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 5535: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 5536: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 5537: esac
! 5538: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 5539:
! 5540:
! 5541: case $ac_mode in
! 5542: :F)
! 5543: #
! 5544: # CONFIG_FILE
! 5545: #
! 5546:
! 5547: case $INSTALL in
! 5548: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 5549: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 5550: esac
! 5551: _ACEOF
! 5552:
! 5553: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5554: # If the template does not know about datarootdir, expand it.
! 5555: # FIXME: This hack should be removed a few years after 2.60.
! 5556: ac_datarootdir_hack=; ac_datarootdir_seen=
! 5557: ac_sed_dataroot='
! 5558: /datarootdir/ {
! 5559: p
! 5560: q
! 5561: }
! 5562: /@datadir@/p
! 5563: /@docdir@/p
! 5564: /@infodir@/p
! 5565: /@localedir@/p
! 5566: /@mandir@/p'
! 5567: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 5568: *datarootdir*) ac_datarootdir_seen=yes;;
! 5569: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 5570: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 5571: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 5572: _ACEOF
! 5573: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5574: ac_datarootdir_hack='
! 5575: s&@datadir@&$datadir&g
! 5576: s&@docdir@&$docdir&g
! 5577: s&@infodir@&$infodir&g
! 5578: s&@localedir@&$localedir&g
! 5579: s&@mandir@&$mandir&g
! 5580: s&\\\${datarootdir}&$datarootdir&g' ;;
! 5581: esac
! 5582: _ACEOF
! 5583:
! 5584: # Neutralize VPATH when `$srcdir' = `.'.
! 5585: # Shell code in configure.ac might set extrasub.
! 5586: # FIXME: do we really want to maintain this feature?
! 5587: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5588: ac_sed_extra="$ac_vpsub
! 5589: $extrasub
! 5590: _ACEOF
! 5591: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5592: :t
! 5593: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 5594: s|@configure_input@|$ac_sed_conf_input|;t t
! 5595: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 5596: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 5597: s&@srcdir@&$ac_srcdir&;t t
! 5598: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 5599: s&@top_srcdir@&$ac_top_srcdir&;t t
! 5600: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 5601: s&@builddir@&$ac_builddir&;t t
! 5602: s&@abs_builddir@&$ac_abs_builddir&;t t
! 5603: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 5604: s&@INSTALL@&$ac_INSTALL&;t t
! 5605: $ac_datarootdir_hack
! 5606: "
! 5607: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
! 5608: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 5609:
! 5610: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 5611: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
! 5612: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
! 5613: "$ac_tmp/out"`; test -z "$ac_out"; } &&
! 5614: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 5615: which seems to be undefined. Please make sure it is defined" >&5
! 5616: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 5617: which seems to be undefined. Please make sure it is defined" >&2;}
! 5618:
! 5619: rm -f "$ac_tmp/stdin"
! 5620: case $ac_file in
! 5621: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
! 5622: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
! 5623: esac \
! 5624: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 5625: ;;
! 5626: :H)
! 5627: #
! 5628: # CONFIG_HEADER
! 5629: #
! 5630: if test x"$ac_file" != x-; then
! 5631: {
! 5632: $as_echo "/* $configure_input */" \
! 5633: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
! 5634: } >"$ac_tmp/config.h" \
! 5635: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 5636: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
! 5637: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! 5638: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 5639: else
! 5640: rm -f "$ac_file"
! 5641: mv "$ac_tmp/config.h" "$ac_file" \
! 5642: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 5643: fi
! 5644: else
! 5645: $as_echo "/* $configure_input */" \
! 5646: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
! 5647: || as_fn_error $? "could not create -" "$LINENO" 5
! 5648: fi
! 5649: ;;
! 5650:
! 5651:
! 5652: esac
! 5653:
! 5654: done # for ac_tag
! 5655:
! 5656:
! 5657: as_fn_exit 0
! 5658: _ACEOF
! 5659: ac_clean_files=$ac_clean_files_save
! 5660:
! 5661: test $ac_write_fail = 0 ||
! 5662: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 5663:
! 5664:
! 5665: # configure is writing to config.log, and then calls config.status.
! 5666: # config.status does its own redirection, appending to config.log.
! 5667: # Unfortunately, on DOS this fails, as config.log is still kept open
! 5668: # by configure, so config.status won't be able to write to it; its
! 5669: # output is simply discarded. So we exec the FD to /dev/null,
! 5670: # effectively closing config.log, so it can be properly (re)opened and
! 5671: # appended to by config.status. When coming back to configure, we
! 5672: # need to make the FD available again.
! 5673: if test "$no_create" != yes; then
! 5674: ac_cs_success=:
! 5675: ac_config_status_args=
! 5676: test "$silent" = yes &&
! 5677: ac_config_status_args="$ac_config_status_args --quiet"
! 5678: exec 5>/dev/null
! 5679: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 5680: exec 5>>config.log
! 5681: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 5682: # would make configure fail if this is the last instruction.
! 5683: $ac_cs_success || as_fn_exit 1
! 5684: fi
! 5685: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 5686: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 5687: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 5688: fi
! 5689:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>