Annotation of libaitcfg/configure, revision 1.29.2.2

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

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