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

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

CVSweb