Annotation of libaitcfg/configure, revision 1.30.2.5

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

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