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