[BACK]Return to configure CVS log [TXT][DIR] Up to [contributed] / early-roguelike / urogue

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

CVSweb