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