Annotation of libaitio/configure, revision 1.20

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

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