Annotation of libaitio/configure, revision 1.12

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

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