Annotation of libelwix/configure, revision 1.64.2.5

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

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