Annotation of libaitio/configure, revision 1.15.2.1

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

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