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