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