Annotation of libaitcfg/configure, revision 1.30.2.4

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

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