Annotation of fwmaker/configure, revision 1.2

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>