Annotation of libaitio/configure, revision 1.9

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.9     ! misho       3: # Generated by GNU Autoconf 2.68 for libaitio 1.7.
1.1       misho       4: #
                      5: # Report bugs to <misho@openbsd-bg.org>.
                      6: #
1.9     ! misho       7: #
1.1       misho       8: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.9     ! misho       9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
        !            10: # Foundation, Inc.
        !            11: #
        !            12: #
1.1       misho      13: # This configure script is free software; the Free Software Foundation
                     14: # gives unlimited permission to copy, distribute and modify it.
1.9     ! misho      15: ## -------------------- ##
        !            16: ## M4sh Initialization. ##
        !            17: ## -------------------- ##
1.1       misho      18: 
                     19: # Be more Bourne compatible
                     20: DUALCASE=1; export DUALCASE # for MKS sh
1.9     ! misho      21: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      22:   emulate sh
                     23:   NULLCMD=:
1.9     ! misho      24:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho      25:   # is contrary to our usage.  Disable this feature.
                     26:   alias -g '${1+"$@"}'='"$@"'
                     27:   setopt NO_GLOB_SUBST
                     28: else
1.9     ! misho      29:   case `(set -o) 2>/dev/null` in #(
        !            30:   *posix*) :
        !            31:     set -o posix ;; #(
        !            32:   *) :
        !            33:      ;;
1.1       misho      34: esac
                     35: fi
                     36: 
                     37: 
1.9     ! misho      38: as_nl='
        !            39: '
        !            40: export as_nl
        !            41: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !            42: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !            43: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !            44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !            45: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !            46: # but without wasting forks for bash or zsh.
        !            47: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !            48:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            49:   as_echo='print -r --'
        !            50:   as_echo_n='print -rn --'
        !            51: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            52:   as_echo='printf %s\n'
        !            53:   as_echo_n='printf %s'
        !            54: else
        !            55:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !            56:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !            57:     as_echo_n='/usr/ucb/echo -n'
1.1       misho      58:   else
1.9     ! misho      59:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !            60:     as_echo_n_body='eval
        !            61:       arg=$1;
        !            62:       case $arg in #(
        !            63:       *"$as_nl"*)
        !            64:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !            65:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !            66:       esac;
        !            67:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !            68:     '
        !            69:     export as_echo_n_body
        !            70:     as_echo_n='sh -c $as_echo_n_body as_echo'
1.1       misho      71:   fi
1.9     ! misho      72:   export as_echo_body
        !            73:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho      74: fi
                     75: 
1.9     ! misho      76: # The user is always right.
        !            77: if test "${PATH_SEPARATOR+set}" != set; then
        !            78:   PATH_SEPARATOR=:
        !            79:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !            80:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !            81:       PATH_SEPARATOR=';'
        !            82:   }
1.1       misho      83: fi
                     84: 
                     85: 
                     86: # IFS
                     87: # We need space, tab and new line, in precisely that order.  Quoting is
                     88: # there to prevent editors from complaining about space-tab.
                     89: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     90: # splitting by setting IFS to empty value.)
                     91: IFS=" ""       $as_nl"
                     92: 
                     93: # Find who we are.  Look in the path if we contain no directory separator.
1.9     ! misho      94: as_myself=
        !            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.
        !           220:        # Preserve -v and -x to the replacement shell.
        !           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
        !           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+"$@"}
        !           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
        !           241:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
        !           242: $0: misho@openbsd-bg.org about your system, including any
        !           243: $0: error possibly output before this message. Then install
        !           244: $0: a modern shell, or manually run the script under such a
        !           245: $0: shell if you do have one."
        !           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"
        !           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.9     ! misho     370: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           371: # ----------------------------------------
        !           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
        !           374: # script with STATUS, using 1 if that was 0.
        !           375: as_fn_error ()
        !           376: {
        !           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
        !           381:   fi
        !           382:   $as_echo "$as_me: error: $2" >&2
        !           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.9     ! misho     540: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           541: exec 6>&1
1.1       misho     542: 
                    543: # Name of the host.
1.9     ! 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.9     ! misho     563: PACKAGE_VERSION='1.7'
        !           564: PACKAGE_STRING='libaitio 1.7'
1.1       misho     565: PACKAGE_BUGREPORT='misho@openbsd-bg.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
                    685: CPP'
                    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.9     ! 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 &&
        !           795:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           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 &&
        !           821:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           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 &&
        !          1025:       as_fn_error $? "invalid package name: $ac_useropt"
        !          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 &&
        !          1041:       as_fn_error $? "invalid package name: $ac_useropt"
        !          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.9     ! 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]* )
        !          1080:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        !          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
        !          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.9     ! 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) ;;
        !          1104:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
        !          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.9     ! 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.9     ! 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.9     ! 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.9     ! 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.9     ! 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.9     ! 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.9     ! misho    1228: \`configure' configures libaitio 1.7 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.9     ! 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.9     ! misho    1294:      short | recursive ) echo "Configuration of libaitio 1.7:";;
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.9     ! 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.9     ! misho    1318: Report bugs to <misho@openbsd-bg.org>.
        !          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
        !          1381: libaitio configure 1.7
        !          1382: generated by GNU Autoconf 2.68
        !          1383: 
        !          1384: Copyright (C) 2010 Free Software Foundation, Inc.
        !          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
        !          1428:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1429:   as_fn_set_status $ac_retval
        !          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
        !          1474:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1475:   as_fn_set_status $ac_retval
        !          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
        !          1500:   test $ac_status = 0; } > conftest.i && {
        !          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
        !          1511:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1512:   as_fn_set_status $ac_retval
        !          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
        !          1524:   if eval \${$3+:} false; then :
        !          1525:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1526: $as_echo_n "checking for $2... " >&6; }
        !          1527: if eval \${$3+:} false; then :
        !          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
        !          1563: rm -f conftest.err conftest.i conftest.$ac_ext
        !          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;}
        !          1586: ( $as_echo "## ----------------------------------- ##
        !          1587: ## Report this to misho@openbsd-bg.org ##
        !          1588: ## ----------------------------------- ##"
        !          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; }
        !          1594: if eval \${$3+:} false; then :
        !          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
        !          1603:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          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
        !          1644:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1645:   as_fn_set_status $ac_retval
        !          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; }
        !          1658: if eval \${$3+:} false; then :
        !          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; }
        !          1676:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          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; }
        !          1688: if eval \${$3+:} false; then :
        !          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; }
        !          1743:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          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.9     ! misho    1750: It was created by libaitio $as_me 1.7, which was
        !          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.9     ! misho    1861:     $as_echo "## ---------------- ##
1.1       misho    1862: ## Cache variables. ##
1.9     ! 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.9     ! misho    1897:     $as_echo "## ----------------- ##
1.1       misho    1898: ## Output variables. ##
1.9     ! 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.9     ! misho    1912:       $as_echo "## ------------------- ##
1.1       misho    1913: ## File substitutions. ##
1.9     ! 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.9     ! misho    1928:       $as_echo "## ----------- ##
1.1       misho    1929: ## confdefs.h. ##
1.9     ! 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.9     ! 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
        !          2001:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          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.9     ! 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.9     ! 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
        !          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;}
        !          2085:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
        !          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; }
        !          2113: if ${ac_cv_prog_CC+:} false; then :
        !          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; }
        !          2153: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          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; }
        !          2206: if ${ac_cv_prog_CC+:} false; then :
        !          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; }
        !          2246: if ${ac_cv_prog_CC+:} false; then :
        !          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; }
        !          2305: if ${ac_cv_prog_CC+:} false; then :
        !          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; }
        !          2349: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          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;}
        !          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
        !          2426:   rm -f conftest.er1 conftest.err
        !          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.  */
                   2433: 
                   2434: int
                   2435: main ()
                   2436: {
                   2437: 
                   2438:   ;
                   2439:   return 0;
                   2440: }
                   2441: _ACEOF
                   2442: ac_clean_files_save=$ac_clean_files
1.9     ! 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.9     ! 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; }
        !          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 :
        !          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;}
        !          2518: as_fn_error 77 "C compiler cannot create executables
        !          2519: See \`config.log' for more details" "$LINENO" 5; }
        !          2520: else
        !          2521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2522: $as_echo "yes" >&6; }
        !          2523: fi
        !          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.9     ! 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;}
        !          2561: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          2562: See \`config.log' for more details" "$LINENO" 5; }
        !          2563: fi
        !          2564: rm -f conftest conftest$ac_cv_exeext
        !          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.9     ! 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;}
        !          2619: as_fn_error $? "cannot run C compiled programs.
        !          2620: If you meant to cross compile, use \`--host'.
        !          2621: See \`config.log' for more details" "$LINENO" 5; }
        !          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
        !          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; }
        !          2632: if ${ac_cv_objext+:} false; then :
        !          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;}
        !          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; }
        !          2683: if ${ac_cv_c_compiler_gnu+:} false; then :
        !          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; }
        !          2720: if ${ac_cv_prog_cc_g+:} false; then :
        !          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; }
        !          2798: if ${ac_cv_prog_cc_c89+:} false; then :
        !          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
                   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
                   2908: done
                   2909: if test -z "$ac_aux_dir"; then
1.9     ! 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.9     ! misho    2939: if ${ac_cv_path_install+:} false; then :
        !          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.9     ! misho    3018:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
        !          3019: 
        !          3020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          3021: $as_echo_n "checking build system type... " >&6; }
        !          3022: if ${ac_cv_build+:} false; then :
        !          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.9     ! 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.9     ! 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.9     ! 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; }
        !          3056: if ${ac_cv_host+:} false; then :
        !          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.9     ! 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.9     ! 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; }
        !          3089: if ${ac_cv_target+:} false; then :
        !          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.9     ! 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.9     ! 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; }
        !          3132: if ${ac_cv_prog_MKDEP+:} false; then :
        !          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; }
        !          3172: if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
        !          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; }
        !          3227: if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
        !          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; }
        !          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: 
                   3270: 
1.5       misho    3271: # Checks for header files.
1.1       misho    3272: ac_ext=c
                   3273: ac_cpp='$CPP $CPPFLAGS'
                   3274: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3275: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3276: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9     ! misho    3277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
        !          3278: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.1       misho    3279: # On Suns, sometimes $CPP names a directory.
                   3280: if test -n "$CPP" && test -d "$CPP"; then
                   3281:   CPP=
                   3282: fi
                   3283: if test -z "$CPP"; then
1.9     ! misho    3284:   if ${ac_cv_prog_CPP+:} false; then :
        !          3285:   $as_echo_n "(cached) " >&6
1.1       misho    3286: else
                   3287:       # Double quotes because CPP needs to be expanded
                   3288:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3289:     do
                   3290:       ac_preproc_ok=false
                   3291: for ac_c_preproc_warn_flag in '' yes
                   3292: do
                   3293:   # Use a header file that comes with gcc, so configuring glibc
                   3294:   # with a fresh cross-compiler works.
                   3295:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3296:   # <limits.h> exists even on freestanding compilers.
                   3297:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3298:   # not just through cpp. "Syntax error" is here to catch this case.
1.9     ! misho    3299:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3300: /* end confdefs.h.  */
                   3301: #ifdef __STDC__
                   3302: # include <limits.h>
                   3303: #else
                   3304: # include <assert.h>
                   3305: #endif
                   3306:                     Syntax error
                   3307: _ACEOF
1.9     ! misho    3308: if ac_fn_c_try_cpp "$LINENO"; then :
        !          3309: 
1.1       misho    3310: else
                   3311:   # Broken: fails on valid input.
                   3312: continue
                   3313: fi
1.9     ! misho    3314: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3315: 
                   3316:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3317:   # can be detected and how.
1.9     ! misho    3318:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3319: /* end confdefs.h.  */
                   3320: #include <ac_nonexistent.h>
                   3321: _ACEOF
1.9     ! misho    3322: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3323:   # Broken: success on invalid input.
                   3324: continue
                   3325: else
                   3326:   # Passes both tests.
                   3327: ac_preproc_ok=:
                   3328: break
                   3329: fi
1.9     ! misho    3330: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3331: 
                   3332: done
                   3333: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9     ! misho    3334: rm -f conftest.i conftest.err conftest.$ac_ext
        !          3335: if $ac_preproc_ok; then :
1.1       misho    3336:   break
                   3337: fi
                   3338: 
                   3339:     done
                   3340:     ac_cv_prog_CPP=$CPP
                   3341: 
                   3342: fi
                   3343:   CPP=$ac_cv_prog_CPP
                   3344: else
                   3345:   ac_cv_prog_CPP=$CPP
                   3346: fi
1.9     ! misho    3347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
        !          3348: $as_echo "$CPP" >&6; }
1.1       misho    3349: ac_preproc_ok=false
                   3350: for ac_c_preproc_warn_flag in '' yes
                   3351: do
                   3352:   # Use a header file that comes with gcc, so configuring glibc
                   3353:   # with a fresh cross-compiler works.
                   3354:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3355:   # <limits.h> exists even on freestanding compilers.
                   3356:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3357:   # not just through cpp. "Syntax error" is here to catch this case.
1.9     ! misho    3358:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3359: /* end confdefs.h.  */
                   3360: #ifdef __STDC__
                   3361: # include <limits.h>
                   3362: #else
                   3363: # include <assert.h>
                   3364: #endif
                   3365:                     Syntax error
                   3366: _ACEOF
1.9     ! misho    3367: if ac_fn_c_try_cpp "$LINENO"; then :
        !          3368: 
1.1       misho    3369: else
                   3370:   # Broken: fails on valid input.
                   3371: continue
                   3372: fi
1.9     ! misho    3373: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3374: 
                   3375:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3376:   # can be detected and how.
1.9     ! misho    3377:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3378: /* end confdefs.h.  */
                   3379: #include <ac_nonexistent.h>
                   3380: _ACEOF
1.9     ! misho    3381: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3382:   # Broken: success on invalid input.
                   3383: continue
                   3384: else
                   3385:   # Passes both tests.
                   3386: ac_preproc_ok=:
                   3387: break
                   3388: fi
1.9     ! misho    3389: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3390: 
                   3391: done
                   3392: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9     ! misho    3393: rm -f conftest.i conftest.err conftest.$ac_ext
        !          3394: if $ac_preproc_ok; then :
        !          3395: 
1.1       misho    3396: else
1.9     ! misho    3397:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3398: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3399: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
        !          3400: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3401: fi
                   3402: 
                   3403: ac_ext=c
                   3404: ac_cpp='$CPP $CPPFLAGS'
                   3405: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3406: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3407: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3408: 
                   3409: 
1.9     ! misho    3410: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          3411: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
        !          3412: if ${ac_cv_path_GREP+:} false; then :
        !          3413:   $as_echo_n "(cached) " >&6
1.1       misho    3414: else
1.9     ! misho    3415:   if test -z "$GREP"; then
1.1       misho    3416:   ac_path_GREP_found=false
1.9     ! misho    3417:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          3418:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    3419: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3420: do
                   3421:   IFS=$as_save_IFS
                   3422:   test -z "$as_dir" && as_dir=.
1.9     ! misho    3423:     for ac_prog in grep ggrep; do
        !          3424:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3425:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
        !          3426:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
        !          3427: # Check for GNU ac_path_GREP and select it if it is found.
1.1       misho    3428:   # Check for GNU $ac_path_GREP
                   3429: case `"$ac_path_GREP" --version 2>&1` in
                   3430: *GNU*)
                   3431:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   3432: *)
                   3433:   ac_count=0
1.9     ! misho    3434:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    3435:   while :
                   3436:   do
                   3437:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3438:     mv "conftest.tmp" "conftest.in"
                   3439:     cp "conftest.in" "conftest.nl"
1.9     ! misho    3440:     $as_echo 'GREP' >> "conftest.nl"
1.1       misho    3441:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3442:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.9     ! misho    3443:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3444:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3445:       # Best one so far, save it but keep looking for a better one
                   3446:       ac_cv_path_GREP="$ac_path_GREP"
                   3447:       ac_path_GREP_max=$ac_count
                   3448:     fi
                   3449:     # 10*(2^10) chars as input seems more than enough
                   3450:     test $ac_count -gt 10 && break
                   3451:   done
                   3452:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3453: esac
                   3454: 
1.9     ! misho    3455:       $ac_path_GREP_found && break 3
        !          3456:     done
        !          3457:   done
1.1       misho    3458:   done
                   3459: IFS=$as_save_IFS
1.9     ! misho    3460:   if test -z "$ac_cv_path_GREP"; then
        !          3461:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          3462:   fi
1.1       misho    3463: else
                   3464:   ac_cv_path_GREP=$GREP
                   3465: fi
                   3466: 
                   3467: fi
1.9     ! misho    3468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          3469: $as_echo "$ac_cv_path_GREP" >&6; }
1.1       misho    3470:  GREP="$ac_cv_path_GREP"
                   3471: 
                   3472: 
1.9     ! misho    3473: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          3474: $as_echo_n "checking for egrep... " >&6; }
        !          3475: if ${ac_cv_path_EGREP+:} false; then :
        !          3476:   $as_echo_n "(cached) " >&6
1.1       misho    3477: else
                   3478:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   3479:    then ac_cv_path_EGREP="$GREP -E"
                   3480:    else
1.9     ! misho    3481:      if test -z "$EGREP"; then
1.1       misho    3482:   ac_path_EGREP_found=false
1.9     ! misho    3483:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          3484:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    3485: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3486: do
                   3487:   IFS=$as_save_IFS
                   3488:   test -z "$as_dir" && as_dir=.
1.9     ! misho    3489:     for ac_prog in egrep; do
        !          3490:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3491:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          3492:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
        !          3493: # Check for GNU ac_path_EGREP and select it if it is found.
1.1       misho    3494:   # Check for GNU $ac_path_EGREP
                   3495: case `"$ac_path_EGREP" --version 2>&1` in
                   3496: *GNU*)
                   3497:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   3498: *)
                   3499:   ac_count=0
1.9     ! misho    3500:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    3501:   while :
                   3502:   do
                   3503:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3504:     mv "conftest.tmp" "conftest.in"
                   3505:     cp "conftest.in" "conftest.nl"
1.9     ! misho    3506:     $as_echo 'EGREP' >> "conftest.nl"
1.1       misho    3507:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3508:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.9     ! misho    3509:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3510:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   3511:       # Best one so far, save it but keep looking for a better one
                   3512:       ac_cv_path_EGREP="$ac_path_EGREP"
                   3513:       ac_path_EGREP_max=$ac_count
                   3514:     fi
                   3515:     # 10*(2^10) chars as input seems more than enough
                   3516:     test $ac_count -gt 10 && break
                   3517:   done
                   3518:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3519: esac
                   3520: 
1.9     ! misho    3521:       $ac_path_EGREP_found && break 3
        !          3522:     done
        !          3523:   done
1.1       misho    3524:   done
                   3525: IFS=$as_save_IFS
1.9     ! misho    3526:   if test -z "$ac_cv_path_EGREP"; then
        !          3527:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          3528:   fi
1.1       misho    3529: else
                   3530:   ac_cv_path_EGREP=$EGREP
                   3531: fi
                   3532: 
                   3533:    fi
                   3534: fi
1.9     ! misho    3535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          3536: $as_echo "$ac_cv_path_EGREP" >&6; }
1.1       misho    3537:  EGREP="$ac_cv_path_EGREP"
                   3538: 
                   3539: 
1.9     ! misho    3540: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          3541: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          3542: if ${ac_cv_header_stdc+:} false; then :
        !          3543:   $as_echo_n "(cached) " >&6
1.1       misho    3544: else
1.9     ! misho    3545:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3546: /* end confdefs.h.  */
                   3547: #include <stdlib.h>
                   3548: #include <stdarg.h>
                   3549: #include <string.h>
                   3550: #include <float.h>
                   3551: 
                   3552: int
                   3553: main ()
                   3554: {
                   3555: 
                   3556:   ;
                   3557:   return 0;
                   3558: }
                   3559: _ACEOF
1.9     ! misho    3560: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3561:   ac_cv_header_stdc=yes
                   3562: else
1.9     ! misho    3563:   ac_cv_header_stdc=no
1.1       misho    3564: fi
                   3565: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3566: 
                   3567: if test $ac_cv_header_stdc = yes; then
                   3568:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.9     ! misho    3569:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3570: /* end confdefs.h.  */
                   3571: #include <string.h>
                   3572: 
                   3573: _ACEOF
                   3574: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.9     ! misho    3575:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          3576: 
1.1       misho    3577: else
                   3578:   ac_cv_header_stdc=no
                   3579: fi
                   3580: rm -f conftest*
                   3581: 
                   3582: fi
                   3583: 
                   3584: if test $ac_cv_header_stdc = yes; then
                   3585:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.9     ! misho    3586:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3587: /* end confdefs.h.  */
                   3588: #include <stdlib.h>
                   3589: 
                   3590: _ACEOF
                   3591: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.9     ! misho    3592:   $EGREP "free" >/dev/null 2>&1; then :
        !          3593: 
1.1       misho    3594: else
                   3595:   ac_cv_header_stdc=no
                   3596: fi
                   3597: rm -f conftest*
                   3598: 
                   3599: fi
                   3600: 
                   3601: if test $ac_cv_header_stdc = yes; then
                   3602:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.9     ! misho    3603:   if test "$cross_compiling" = yes; then :
1.1       misho    3604:   :
                   3605: else
1.9     ! misho    3606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3607: /* end confdefs.h.  */
                   3608: #include <ctype.h>
                   3609: #include <stdlib.h>
                   3610: #if ((' ' & 0x0FF) == 0x020)
                   3611: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   3612: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   3613: #else
                   3614: # define ISLOWER(c) \
                   3615:                   (('a' <= (c) && (c) <= 'i') \
                   3616:                     || ('j' <= (c) && (c) <= 'r') \
                   3617:                     || ('s' <= (c) && (c) <= 'z'))
                   3618: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   3619: #endif
                   3620: 
                   3621: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   3622: int
                   3623: main ()
                   3624: {
                   3625:   int i;
                   3626:   for (i = 0; i < 256; i++)
                   3627:     if (XOR (islower (i), ISLOWER (i))
                   3628:        || toupper (i) != TOUPPER (i))
                   3629:       return 2;
                   3630:   return 0;
                   3631: }
                   3632: _ACEOF
1.9     ! misho    3633: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    3634: 
                   3635: else
1.9     ! misho    3636:   ac_cv_header_stdc=no
        !          3637: fi
        !          3638: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          3639:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          3640: fi
1.1       misho    3641: 
                   3642: fi
1.9     ! misho    3643: fi
        !          3644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          3645: $as_echo "$ac_cv_header_stdc" >&6; }
        !          3646: if test $ac_cv_header_stdc = yes; then
1.1       misho    3647: 
1.9     ! misho    3648: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    3649: 
                   3650: fi
1.9     ! misho    3651: 
        !          3652: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
        !          3653: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          3654:                  inttypes.h stdint.h unistd.h
        !          3655: do :
        !          3656:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          3657: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          3658: "
        !          3659: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          3660:   cat >>confdefs.h <<_ACEOF
        !          3661: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          3662: _ACEOF
1.1       misho    3663: 
                   3664: fi
1.9     ! misho    3665: 
        !          3666: done
        !          3667: 
        !          3668: 
        !          3669: for ac_header in stdlib.h string.h sys/ioctl.h termios.h unistd.h
        !          3670: do :
        !          3671:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          3672: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          3673: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3674:   cat >>confdefs.h <<_ACEOF
1.9     ! misho    3675: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    3676: _ACEOF
                   3677: 
                   3678: fi
                   3679: 
                   3680: done
                   3681: 
                   3682: 
                   3683: # Checks for typedefs, structures, and compiler characteristics.
1.9     ! misho    3684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
        !          3685: $as_echo_n "checking for inline... " >&6; }
        !          3686: if ${ac_cv_c_inline+:} false; then :
        !          3687:   $as_echo_n "(cached) " >&6
1.1       misho    3688: else
                   3689:   ac_cv_c_inline=no
                   3690: for ac_kw in inline __inline__ __inline; do
1.9     ! misho    3691:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3692: /* end confdefs.h.  */
                   3693: #ifndef __cplusplus
                   3694: typedef int foo_t;
                   3695: static $ac_kw foo_t static_foo () {return 0; }
                   3696: $ac_kw foo_t foo () {return 0; }
                   3697: #endif
                   3698: 
                   3699: _ACEOF
1.9     ! misho    3700: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3701:   ac_cv_c_inline=$ac_kw
                   3702: fi
                   3703: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3704:   test "$ac_cv_c_inline" != no && break
                   3705: done
                   3706: 
                   3707: fi
1.9     ! misho    3708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
        !          3709: $as_echo "$ac_cv_c_inline" >&6; }
1.1       misho    3710: 
                   3711: case $ac_cv_c_inline in
                   3712:   inline | yes) ;;
                   3713:   *)
                   3714:     case $ac_cv_c_inline in
                   3715:       no) ac_val=;;
                   3716:       *) ac_val=$ac_cv_c_inline;;
                   3717:     esac
                   3718:     cat >>confdefs.h <<_ACEOF
                   3719: #ifndef __cplusplus
                   3720: #define inline $ac_val
                   3721: #endif
                   3722: _ACEOF
                   3723:     ;;
                   3724: esac
                   3725: 
                   3726: 
                   3727: # Checks for library functions.
                   3728: for ac_header in stdlib.h
1.9     ! misho    3729: do :
        !          3730:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
        !          3731: if test "x$ac_cv_header_stdlib_h" = xyes; then :
1.1       misho    3732:   cat >>confdefs.h <<_ACEOF
1.9     ! misho    3733: #define HAVE_STDLIB_H 1
1.1       misho    3734: _ACEOF
                   3735: 
                   3736: fi
                   3737: 
                   3738: done
                   3739: 
1.9     ! misho    3740: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
        !          3741: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
        !          3742: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
        !          3743:   $as_echo_n "(cached) " >&6
1.1       misho    3744: else
1.9     ! misho    3745:   if test "$cross_compiling" = yes; then :
1.1       misho    3746:   ac_cv_func_malloc_0_nonnull=no
                   3747: else
1.9     ! misho    3748:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3749: /* end confdefs.h.  */
                   3750: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   3751: # include <stdlib.h>
                   3752: #else
                   3753: char *malloc ();
                   3754: #endif
                   3755: 
                   3756: int
                   3757: main ()
                   3758: {
                   3759: return ! malloc (0);
                   3760:   ;
                   3761:   return 0;
                   3762: }
                   3763: _ACEOF
1.9     ! misho    3764: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    3765:   ac_cv_func_malloc_0_nonnull=yes
                   3766: else
1.9     ! misho    3767:   ac_cv_func_malloc_0_nonnull=no
1.1       misho    3768: fi
1.9     ! misho    3769: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          3770:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    3771: fi
                   3772: 
                   3773: fi
1.9     ! misho    3774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
        !          3775: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
        !          3776: if test $ac_cv_func_malloc_0_nonnull = yes; then :
1.1       misho    3777: 
1.9     ! misho    3778: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
1.1       misho    3779: 
                   3780: else
1.9     ! misho    3781:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
1.1       misho    3782: 
                   3783:    case " $LIBOBJS " in
                   3784:   *" malloc.$ac_objext "* ) ;;
                   3785:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
                   3786:  ;;
                   3787: esac
                   3788: 
                   3789: 
1.9     ! misho    3790: $as_echo "#define malloc rpl_malloc" >>confdefs.h
1.1       misho    3791: 
                   3792: fi
                   3793: 
                   3794: 
                   3795: for ac_header in stdlib.h
1.9     ! misho    3796: do :
        !          3797:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
        !          3798: if test "x$ac_cv_header_stdlib_h" = xyes; then :
1.1       misho    3799:   cat >>confdefs.h <<_ACEOF
1.9     ! misho    3800: #define HAVE_STDLIB_H 1
1.1       misho    3801: _ACEOF
                   3802: 
                   3803: fi
                   3804: 
                   3805: done
                   3806: 
1.9     ! misho    3807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
        !          3808: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
        !          3809: if ${ac_cv_func_realloc_0_nonnull+:} false; then :
        !          3810:   $as_echo_n "(cached) " >&6
1.1       misho    3811: else
1.9     ! misho    3812:   if test "$cross_compiling" = yes; then :
1.1       misho    3813:   ac_cv_func_realloc_0_nonnull=no
                   3814: else
1.9     ! misho    3815:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3816: /* end confdefs.h.  */
                   3817: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   3818: # include <stdlib.h>
                   3819: #else
                   3820: char *realloc ();
                   3821: #endif
                   3822: 
                   3823: int
                   3824: main ()
                   3825: {
                   3826: return ! realloc (0, 0);
                   3827:   ;
                   3828:   return 0;
                   3829: }
                   3830: _ACEOF
1.9     ! misho    3831: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    3832:   ac_cv_func_realloc_0_nonnull=yes
                   3833: else
1.9     ! misho    3834:   ac_cv_func_realloc_0_nonnull=no
1.1       misho    3835: fi
1.9     ! misho    3836: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          3837:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    3838: fi
                   3839: 
                   3840: fi
1.9     ! misho    3841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
        !          3842: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
        !          3843: if test $ac_cv_func_realloc_0_nonnull = yes; then :
1.1       misho    3844: 
1.9     ! misho    3845: $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
1.1       misho    3846: 
                   3847: else
1.9     ! misho    3848:   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
1.1       misho    3849: 
                   3850:    case " $LIBOBJS " in
                   3851:   *" realloc.$ac_objext "* ) ;;
                   3852:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
                   3853:  ;;
                   3854: esac
                   3855: 
                   3856: 
1.9     ! misho    3857: $as_echo "#define realloc rpl_realloc" >>confdefs.h
1.1       misho    3858: 
                   3859: fi
                   3860: 
                   3861: 
                   3862: for ac_func in memset regcomp strchr strerror
1.9     ! misho    3863: do :
        !          3864:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          3865: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          3866: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       misho    3867:   cat >>confdefs.h <<_ACEOF
1.9     ! misho    3868: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       misho    3869: _ACEOF
                   3870: 
                   3871: fi
                   3872: done
                   3873: 
                   3874: 
                   3875: DEBUG=no
1.9     ! misho    3876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
        !          3877: $as_echo_n "checking Debug Build... " >&6; }
1.1       misho    3878: # Check whether --enable-debug was given.
1.9     ! misho    3879: if test "${enable_debug+set}" = set; then :
1.1       misho    3880:   enableval=$enable_debug;  DEBUG=$enableval
                   3881:                case "$enableval" in
                   3882:                        yes)
                   3883: 
1.9     ! misho    3884: $as_echo "#define __DEBUG /**/" >>confdefs.h
1.1       misho    3885: 
                   3886:                                CFLAGS="-g ${CFLAGS}"
                   3887:                                ;;
                   3888:                        *)
                   3889: 
1.9     ! misho    3890: $as_echo "#define NDEBUG /**/" >>confdefs.h
1.1       misho    3891: 
                   3892:                                ;;
                   3893:                esac
                   3894: fi
                   3895: 
1.9     ! misho    3896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
        !          3897: $as_echo "$DEBUG" >&6; }
1.1       misho    3898: 
1.7       misho    3899: AIO=no
1.9     ! misho    3900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking AIO Build" >&5
        !          3901: $as_echo_n "checking AIO Build... " >&6; }
1.5       misho    3902: # Check whether --enable-aio was given.
1.9     ! misho    3903: if test "${enable_aio+set}" = set; then :
1.5       misho    3904:   enableval=$enable_aio;  AIO=$enableval
                   3905:                case "$enableval" in
                   3906:                        yes)
                   3907: 
1.9     ! misho    3908: $as_echo "#define AIO_OPS /**/" >>confdefs.h
1.5       misho    3909: 
                   3910:                                ;;
                   3911:                        *)
                   3912:                                ;;
                   3913:                esac
                   3914: fi
                   3915: 
1.9     ! misho    3916: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5
        !          3917: $as_echo "$AIO" >&6; }
1.5       misho    3918: 
1.2       misho    3919: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
1.1       misho    3920: 
                   3921: cat >confcache <<\_ACEOF
                   3922: # This file is a shell script that caches the results of configure
                   3923: # tests run on this system so they can be shared between configure
                   3924: # scripts and configure runs, see configure's option --config-cache.
                   3925: # It is not useful on other systems.  If it contains results you don't
                   3926: # want to keep, you may remove or edit it.
                   3927: #
                   3928: # config.status only pays attention to the cache file if you give it
                   3929: # the --recheck option to rerun configure.
                   3930: #
                   3931: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   3932: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   3933: # following values.
                   3934: 
                   3935: _ACEOF
                   3936: 
                   3937: # The following way of writing the cache mishandles newlines in values,
                   3938: # but we know of no workaround that is simple, portable, and efficient.
                   3939: # So, we kill variables containing newlines.
                   3940: # Ultrix sh set writes to stderr and can't be redirected directly,
                   3941: # and sets the high bit in the cache file unless we assign to the vars.
                   3942: (
                   3943:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   3944:     eval ac_val=\$$ac_var
                   3945:     case $ac_val in #(
                   3946:     *${as_nl}*)
                   3947:       case $ac_var in #(
1.9     ! misho    3948:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          3949: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    3950:       esac
                   3951:       case $ac_var in #(
                   3952:       _ | IFS | as_nl) ;; #(
1.9     ! misho    3953:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          3954:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    3955:       esac ;;
                   3956:     esac
                   3957:   done
                   3958: 
                   3959:   (set) 2>&1 |
                   3960:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   3961:     *${as_nl}ac_space=\ *)
1.9     ! misho    3962:       # `set' does not quote correctly, so add quotes: double-quote
        !          3963:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       misho    3964:       sed -n \
                   3965:        "s/'/'\\\\''/g;
                   3966:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   3967:       ;; #(
                   3968:     *)
                   3969:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   3970:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   3971:       ;;
                   3972:     esac |
                   3973:     sort
                   3974: ) |
                   3975:   sed '
                   3976:      /^ac_cv_env_/b end
                   3977:      t clear
                   3978:      :clear
                   3979:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   3980:      t end
                   3981:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   3982:      :end' >>confcache
                   3983: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   3984:   if test -w "$cache_file"; then
1.9     ! misho    3985:     if test "x$cache_file" != "x/dev/null"; then
        !          3986:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          3987: $as_echo "$as_me: updating cache $cache_file" >&6;}
        !          3988:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          3989:        cat confcache >"$cache_file"
        !          3990:       else
        !          3991:         case $cache_file in #(
        !          3992:         */* | ?:*)
        !          3993:          mv -f confcache "$cache_file"$$ &&
        !          3994:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          3995:         *)
        !          3996:          mv -f confcache "$cache_file" ;;
        !          3997:        esac
        !          3998:       fi
        !          3999:     fi
1.1       misho    4000:   else
1.9     ! misho    4001:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          4002: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       misho    4003:   fi
                   4004: fi
                   4005: rm -f confcache
                   4006: 
                   4007: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   4008: # Let make expand exec_prefix.
                   4009: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   4010: 
                   4011: DEFS=-DHAVE_CONFIG_H
                   4012: 
                   4013: ac_libobjs=
                   4014: ac_ltlibobjs=
1.9     ! misho    4015: U=
1.1       misho    4016: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   4017:   # 1. Remove the extension, and $U if already installed.
                   4018:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.9     ! misho    4019:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       misho    4020:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   4021:   #    will be set to the directory where LIBOBJS objects are built.
1.9     ! misho    4022:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          4023:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       misho    4024: done
                   4025: LIBOBJS=$ac_libobjs
                   4026: 
                   4027: LTLIBOBJS=$ac_ltlibobjs
                   4028: 
                   4029: 
                   4030: 
1.9     ! misho    4031: : "${CONFIG_STATUS=./config.status}"
        !          4032: ac_write_fail=0
1.1       misho    4033: ac_clean_files_save=$ac_clean_files
                   4034: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.9     ! misho    4035: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          4036: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          4037: as_write_fail=0
        !          4038: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       misho    4039: #! $SHELL
                   4040: # Generated by $as_me.
                   4041: # Run this file to recreate the current configuration.
                   4042: # Compiler output produced by configure, useful for debugging
                   4043: # configure, is in config.log if it exists.
                   4044: 
                   4045: debug=false
                   4046: ac_cs_recheck=false
                   4047: ac_cs_silent=false
1.9     ! misho    4048: 
1.1       misho    4049: SHELL=\${CONFIG_SHELL-$SHELL}
1.9     ! misho    4050: export SHELL
        !          4051: _ASEOF
        !          4052: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          4053: ## -------------------- ##
        !          4054: ## M4sh Initialization. ##
        !          4055: ## -------------------- ##
1.1       misho    4056: 
                   4057: # Be more Bourne compatible
                   4058: DUALCASE=1; export DUALCASE # for MKS sh
1.9     ! misho    4059: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho    4060:   emulate sh
                   4061:   NULLCMD=:
1.9     ! misho    4062:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho    4063:   # is contrary to our usage.  Disable this feature.
                   4064:   alias -g '${1+"$@"}'='"$@"'
                   4065:   setopt NO_GLOB_SUBST
                   4066: else
1.9     ! misho    4067:   case `(set -o) 2>/dev/null` in #(
        !          4068:   *posix*) :
        !          4069:     set -o posix ;; #(
        !          4070:   *) :
        !          4071:      ;;
1.1       misho    4072: esac
                   4073: fi
                   4074: 
                   4075: 
1.9     ! misho    4076: as_nl='
        !          4077: '
        !          4078: export as_nl
        !          4079: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !          4080: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          4081: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !          4082: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !          4083: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          4084: # but without wasting forks for bash or zsh.
        !          4085: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          4086:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          4087:   as_echo='print -r --'
        !          4088:   as_echo_n='print -rn --'
        !          4089: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          4090:   as_echo='printf %s\n'
        !          4091:   as_echo_n='printf %s'
        !          4092: else
        !          4093:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !          4094:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !          4095:     as_echo_n='/usr/ucb/echo -n'
1.1       misho    4096:   else
1.9     ! misho    4097:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !          4098:     as_echo_n_body='eval
        !          4099:       arg=$1;
        !          4100:       case $arg in #(
        !          4101:       *"$as_nl"*)
        !          4102:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !          4103:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !          4104:       esac;
        !          4105:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !          4106:     '
        !          4107:     export as_echo_n_body
        !          4108:     as_echo_n='sh -c $as_echo_n_body as_echo'
1.1       misho    4109:   fi
1.9     ! misho    4110:   export as_echo_body
        !          4111:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho    4112: fi
                   4113: 
1.9     ! misho    4114: # The user is always right.
        !          4115: if test "${PATH_SEPARATOR+set}" != set; then
        !          4116:   PATH_SEPARATOR=:
        !          4117:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !          4118:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !          4119:       PATH_SEPARATOR=';'
        !          4120:   }
1.1       misho    4121: fi
                   4122: 
                   4123: 
                   4124: # IFS
                   4125: # We need space, tab and new line, in precisely that order.  Quoting is
                   4126: # there to prevent editors from complaining about space-tab.
                   4127: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   4128: # splitting by setting IFS to empty value.)
                   4129: IFS=" ""       $as_nl"
                   4130: 
                   4131: # Find who we are.  Look in the path if we contain no directory separator.
1.9     ! misho    4132: as_myself=
        !          4133: case $0 in #((
1.1       misho    4134:   *[\\/]* ) as_myself=$0 ;;
                   4135:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4136: for as_dir in $PATH
                   4137: do
                   4138:   IFS=$as_save_IFS
                   4139:   test -z "$as_dir" && as_dir=.
1.9     ! misho    4140:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          4141:   done
1.1       misho    4142: IFS=$as_save_IFS
                   4143: 
                   4144:      ;;
                   4145: esac
                   4146: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   4147: # in which case we are not to be found in the path.
                   4148: if test "x$as_myself" = x; then
                   4149:   as_myself=$0
                   4150: fi
                   4151: if test ! -f "$as_myself"; then
1.9     ! misho    4152:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !          4153:   exit 1
1.1       misho    4154: fi
                   4155: 
1.9     ! misho    4156: # Unset variables that we do not need and which cause bugs (e.g. in
        !          4157: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          4158: # suppresses any "Segmentation fault" message there.  '((' could
        !          4159: # trigger a bug in pdksh 5.2.14.
        !          4160: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          4161: do eval test x\${$as_var+set} = xset \
        !          4162:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho    4163: done
                   4164: PS1='$ '
                   4165: PS2='> '
                   4166: PS4='+ '
                   4167: 
                   4168: # NLS nuisances.
1.9     ! misho    4169: LC_ALL=C
        !          4170: export LC_ALL
        !          4171: LANGUAGE=C
        !          4172: export LANGUAGE
        !          4173: 
        !          4174: # CDPATH.
        !          4175: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          4176: 
        !          4177: 
        !          4178: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          4179: # ----------------------------------------
        !          4180: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          4181: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          4182: # script with STATUS, using 1 if that was 0.
        !          4183: as_fn_error ()
        !          4184: {
        !          4185:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          4186:   if test "$4"; then
        !          4187:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          4188:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.7       misho    4189:   fi
1.9     ! misho    4190:   $as_echo "$as_me: error: $2" >&2
        !          4191:   as_fn_exit $as_status
        !          4192: } # as_fn_error
        !          4193: 
        !          4194: 
        !          4195: # as_fn_set_status STATUS
        !          4196: # -----------------------
        !          4197: # Set $? to STATUS, without forking.
        !          4198: as_fn_set_status ()
        !          4199: {
        !          4200:   return $1
        !          4201: } # as_fn_set_status
        !          4202: 
        !          4203: # as_fn_exit STATUS
        !          4204: # -----------------
        !          4205: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          4206: as_fn_exit ()
        !          4207: {
        !          4208:   set +e
        !          4209:   as_fn_set_status $1
        !          4210:   exit $1
        !          4211: } # as_fn_exit
        !          4212: 
        !          4213: # as_fn_unset VAR
        !          4214: # ---------------
        !          4215: # Portably unset VAR.
        !          4216: as_fn_unset ()
        !          4217: {
        !          4218:   { eval $1=; unset $1;}
        !          4219: }
        !          4220: as_unset=as_fn_unset
        !          4221: # as_fn_append VAR VALUE
        !          4222: # ----------------------
        !          4223: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          4224: # advantage of any shell optimizations that allow amortized linear growth over
        !          4225: # repeated appends, instead of the typical quadratic growth present in naive
        !          4226: # implementations.
        !          4227: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          4228:   eval 'as_fn_append ()
        !          4229:   {
        !          4230:     eval $1+=\$2
        !          4231:   }'
        !          4232: else
        !          4233:   as_fn_append ()
        !          4234:   {
        !          4235:     eval $1=\$$1\$2
        !          4236:   }
        !          4237: fi # as_fn_append
        !          4238: 
        !          4239: # as_fn_arith ARG...
        !          4240: # ------------------
        !          4241: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          4242: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          4243: # must be portable across $(()) and expr.
        !          4244: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          4245:   eval 'as_fn_arith ()
        !          4246:   {
        !          4247:     as_val=$(( $* ))
        !          4248:   }'
        !          4249: else
        !          4250:   as_fn_arith ()
        !          4251:   {
        !          4252:     as_val=`expr "$@" || test $? -eq 1`
        !          4253:   }
        !          4254: fi # as_fn_arith
        !          4255: 
1.1       misho    4256: 
                   4257: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   4258:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   4259:   as_expr=expr
                   4260: else
                   4261:   as_expr=false
                   4262: fi
                   4263: 
                   4264: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   4265:   as_basename=basename
                   4266: else
                   4267:   as_basename=false
                   4268: fi
                   4269: 
1.9     ! misho    4270: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !          4271:   as_dirname=dirname
        !          4272: else
        !          4273:   as_dirname=false
        !          4274: fi
1.1       misho    4275: 
                   4276: as_me=`$as_basename -- "$0" ||
                   4277: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   4278:         X"$0" : 'X\(//\)$' \| \
                   4279:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.9     ! misho    4280: $as_echo X/"$0" |
1.1       misho    4281:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   4282:            s//\1/
                   4283:            q
                   4284:          }
                   4285:          /^X\/\(\/\/\)$/{
                   4286:            s//\1/
                   4287:            q
                   4288:          }
                   4289:          /^X\/\(\/\).*/{
                   4290:            s//\1/
                   4291:            q
                   4292:          }
                   4293:          s/.*/./; q'`
                   4294: 
1.9     ! misho    4295: # Avoid depending upon Character Ranges.
        !          4296: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          4297: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          4298: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          4299: as_cr_digits='0123456789'
        !          4300: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho    4301: 
                   4302: ECHO_C= ECHO_N= ECHO_T=
1.9     ! misho    4303: case `echo -n x` in #(((((
1.1       misho    4304: -n*)
1.9     ! misho    4305:   case `echo 'xy\c'` in
1.1       misho    4306:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.9     ! misho    4307:   xy)  ECHO_C='\c';;
        !          4308:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          4309:        ECHO_T='        ';;
1.1       misho    4310:   esac;;
                   4311: *)
                   4312:   ECHO_N='-n';;
                   4313: esac
1.7       misho    4314: 
1.1       misho    4315: rm -f conf$$ conf$$.exe conf$$.file
                   4316: if test -d conf$$.dir; then
                   4317:   rm -f conf$$.dir/conf$$.file
                   4318: else
                   4319:   rm -f conf$$.dir
1.9     ! misho    4320:   mkdir conf$$.dir 2>/dev/null
1.1       misho    4321: fi
1.9     ! misho    4322: if (echo >conf$$.file) 2>/dev/null; then
        !          4323:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          4324:     as_ln_s='ln -s'
        !          4325:     # ... but there are two gotchas:
        !          4326:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !          4327:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !          4328:     # In both cases, we have to default to `cp -p'.
        !          4329:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !          4330:       as_ln_s='cp -p'
        !          4331:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !          4332:     as_ln_s=ln
        !          4333:   else
1.1       misho    4334:     as_ln_s='cp -p'
1.9     ! misho    4335:   fi
1.1       misho    4336: else
                   4337:   as_ln_s='cp -p'
                   4338: fi
                   4339: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   4340: rmdir conf$$.dir 2>/dev/null
                   4341: 
1.9     ! misho    4342: 
        !          4343: # as_fn_mkdir_p
        !          4344: # -------------
        !          4345: # Create "$as_dir" as a directory, including parents if necessary.
        !          4346: as_fn_mkdir_p ()
        !          4347: {
        !          4348: 
        !          4349:   case $as_dir in #(
        !          4350:   -*) as_dir=./$as_dir;;
        !          4351:   esac
        !          4352:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          4353:     as_dirs=
        !          4354:     while :; do
        !          4355:       case $as_dir in #(
        !          4356:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          4357:       *) as_qdir=$as_dir;;
        !          4358:       esac
        !          4359:       as_dirs="'$as_qdir' $as_dirs"
        !          4360:       as_dir=`$as_dirname -- "$as_dir" ||
        !          4361: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          4362:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          4363:         X"$as_dir" : 'X\(//\)$' \| \
        !          4364:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          4365: $as_echo X"$as_dir" |
        !          4366:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          4367:            s//\1/
        !          4368:            q
        !          4369:          }
        !          4370:          /^X\(\/\/\)[^/].*/{
        !          4371:            s//\1/
        !          4372:            q
        !          4373:          }
        !          4374:          /^X\(\/\/\)$/{
        !          4375:            s//\1/
        !          4376:            q
        !          4377:          }
        !          4378:          /^X\(\/\).*/{
        !          4379:            s//\1/
        !          4380:            q
        !          4381:          }
        !          4382:          s/.*/./; q'`
        !          4383:       test -d "$as_dir" && break
        !          4384:     done
        !          4385:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          4386:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !          4387: 
        !          4388: 
        !          4389: } # as_fn_mkdir_p
1.1       misho    4390: if mkdir -p . 2>/dev/null; then
1.9     ! misho    4391:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho    4392: else
                   4393:   test -d ./-p && rmdir ./-p
                   4394:   as_mkdir_p=false
                   4395: fi
                   4396: 
                   4397: if test -x / >/dev/null 2>&1; then
                   4398:   as_test_x='test -x'
                   4399: else
                   4400:   if ls -dL / >/dev/null 2>&1; then
                   4401:     as_ls_L_option=L
                   4402:   else
                   4403:     as_ls_L_option=
                   4404:   fi
                   4405:   as_test_x='
                   4406:     eval sh -c '\''
                   4407:       if test -d "$1"; then
1.9     ! misho    4408:        test -d "$1/.";
1.1       misho    4409:       else
1.9     ! misho    4410:        case $1 in #(
        !          4411:        -*)set "./$1";;
1.1       misho    4412:        esac;
1.9     ! misho    4413:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       misho    4414:        ???[sx]*):;;*)false;;esac;fi
                   4415:     '\'' sh
                   4416:   '
                   4417: fi
                   4418: as_executable_p=$as_test_x
                   4419: 
                   4420: # Sed expression to map a string onto a valid CPP name.
                   4421: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   4422: 
                   4423: # Sed expression to map a string onto a valid variable name.
                   4424: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   4425: 
                   4426: 
                   4427: exec 6>&1
1.9     ! misho    4428: ## ----------------------------------- ##
        !          4429: ## Main body of $CONFIG_STATUS script. ##
        !          4430: ## ----------------------------------- ##
        !          4431: _ASEOF
        !          4432: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misho    4433: 
1.9     ! misho    4434: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          4435: # Save the log message, to keep $0 and so on meaningful, and to
1.1       misho    4436: # report actual input values of CONFIG_FILES etc. instead of their
                   4437: # values after options handling.
                   4438: ac_log="
1.9     ! misho    4439: This file was extended by libaitio $as_me 1.7, which was
        !          4440: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       misho    4441: 
                   4442:   CONFIG_FILES    = $CONFIG_FILES
                   4443:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   4444:   CONFIG_LINKS    = $CONFIG_LINKS
                   4445:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   4446:   $ $0 $@
                   4447: 
                   4448: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   4449: "
                   4450: 
                   4451: _ACEOF
                   4452: 
1.9     ! misho    4453: case $ac_config_files in *"
        !          4454: "*) set x $ac_config_files; shift; ac_config_files=$*;;
        !          4455: esac
        !          4456: 
        !          4457: case $ac_config_headers in *"
        !          4458: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
        !          4459: esac
        !          4460: 
        !          4461: 
        !          4462: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4463: # Files that config.status was made for.
                   4464: config_files="$ac_config_files"
                   4465: config_headers="$ac_config_headers"
                   4466: 
                   4467: _ACEOF
                   4468: 
1.9     ! misho    4469: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4470: ac_cs_usage="\
1.9     ! misho    4471: \`$as_me' instantiates files and other configuration actions
        !          4472: from templates according to the current configuration.  Unless the files
        !          4473: and actions are specified as TAGs, all are instantiated by default.
1.1       misho    4474: 
1.9     ! misho    4475: Usage: $0 [OPTION]... [TAG]...
1.1       misho    4476: 
                   4477:   -h, --help       print this help, then exit
                   4478:   -V, --version    print version number and configuration settings, then exit
1.9     ! misho    4479:       --config     print configuration, then exit
        !          4480:   -q, --quiet, --silent
        !          4481:                    do not print progress messages
1.1       misho    4482:   -d, --debug      don't remove temporary files
                   4483:       --recheck    update $as_me by reconfiguring in the same conditions
1.9     ! misho    4484:       --file=FILE[:TEMPLATE]
        !          4485:                    instantiate the configuration file FILE
        !          4486:       --header=FILE[:TEMPLATE]
        !          4487:                    instantiate the configuration header FILE
1.1       misho    4488: 
                   4489: Configuration files:
                   4490: $config_files
                   4491: 
                   4492: Configuration headers:
                   4493: $config_headers
                   4494: 
1.9     ! misho    4495: Report bugs to <misho@openbsd-bg.org>."
1.1       misho    4496: 
                   4497: _ACEOF
1.9     ! misho    4498: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          4499: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       misho    4500: ac_cs_version="\\
1.9     ! misho    4501: libaitio config.status 1.7
        !          4502: configured by $0, generated by GNU Autoconf 2.68,
        !          4503:   with options \\"\$ac_cs_config\\"
1.1       misho    4504: 
1.9     ! misho    4505: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       misho    4506: This config.status script is free software; the Free Software Foundation
                   4507: gives unlimited permission to copy, distribute and modify it."
                   4508: 
                   4509: ac_pwd='$ac_pwd'
                   4510: srcdir='$srcdir'
                   4511: INSTALL='$INSTALL'
1.9     ! misho    4512: test -n "\$AWK" || AWK=awk
1.1       misho    4513: _ACEOF
                   4514: 
1.9     ! misho    4515: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          4516: # The default lists apply if the user does not specify any file.
1.1       misho    4517: ac_need_defaults=:
                   4518: while test $# != 0
                   4519: do
                   4520:   case $1 in
1.9     ! misho    4521:   --*=?*)
1.1       misho    4522:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   4523:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   4524:     ac_shift=:
                   4525:     ;;
1.9     ! misho    4526:   --*=)
        !          4527:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          4528:     ac_optarg=
        !          4529:     ac_shift=:
        !          4530:     ;;
1.1       misho    4531:   *)
                   4532:     ac_option=$1
                   4533:     ac_optarg=$2
                   4534:     ac_shift=shift
                   4535:     ;;
                   4536:   esac
                   4537: 
                   4538:   case $ac_option in
                   4539:   # Handling of the options.
                   4540:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   4541:     ac_cs_recheck=: ;;
                   4542:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.9     ! misho    4543:     $as_echo "$ac_cs_version"; exit ;;
        !          4544:   --config | --confi | --conf | --con | --co | --c )
        !          4545:     $as_echo "$ac_cs_config"; exit ;;
1.1       misho    4546:   --debug | --debu | --deb | --de | --d | -d )
                   4547:     debug=: ;;
                   4548:   --file | --fil | --fi | --f )
                   4549:     $ac_shift
1.9     ! misho    4550:     case $ac_optarg in
        !          4551:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          4552:     '') as_fn_error $? "missing file argument" ;;
        !          4553:     esac
        !          4554:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       misho    4555:     ac_need_defaults=false;;
                   4556:   --header | --heade | --head | --hea )
                   4557:     $ac_shift
1.9     ! misho    4558:     case $ac_optarg in
        !          4559:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          4560:     esac
        !          4561:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       misho    4562:     ac_need_defaults=false;;
                   4563:   --he | --h)
                   4564:     # Conflict between --help and --header
1.9     ! misho    4565:     as_fn_error $? "ambiguous option: \`$1'
        !          4566: Try \`$0 --help' for more information.";;
1.1       misho    4567:   --help | --hel | -h )
1.9     ! misho    4568:     $as_echo "$ac_cs_usage"; exit ;;
1.1       misho    4569:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   4570:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   4571:     ac_cs_silent=: ;;
                   4572: 
                   4573:   # This is an error.
1.9     ! misho    4574:   -*) as_fn_error $? "unrecognized option: \`$1'
        !          4575: Try \`$0 --help' for more information." ;;
1.1       misho    4576: 
1.9     ! misho    4577:   *) as_fn_append ac_config_targets " $1"
1.1       misho    4578:      ac_need_defaults=false ;;
                   4579: 
                   4580:   esac
                   4581:   shift
                   4582: done
                   4583: 
                   4584: ac_configure_extra_args=
                   4585: 
                   4586: if $ac_cs_silent; then
                   4587:   exec 6>/dev/null
                   4588:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   4589: fi
                   4590: 
                   4591: _ACEOF
1.9     ! misho    4592: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4593: if \$ac_cs_recheck; then
1.9     ! misho    4594:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          4595:   shift
        !          4596:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
        !          4597:   CONFIG_SHELL='$SHELL'
1.1       misho    4598:   export CONFIG_SHELL
1.9     ! misho    4599:   exec "\$@"
1.1       misho    4600: fi
                   4601: 
                   4602: _ACEOF
1.9     ! misho    4603: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4604: exec 5>>config.log
                   4605: {
                   4606:   echo
                   4607:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   4608: ## Running $as_me. ##
                   4609: _ASBOX
1.9     ! misho    4610:   $as_echo "$ac_log"
1.1       misho    4611: } >&5
                   4612: 
                   4613: _ACEOF
1.9     ! misho    4614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4615: _ACEOF
                   4616: 
1.9     ! misho    4617: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4618: 
                   4619: # Handling of arguments.
                   4620: for ac_config_target in $ac_config_targets
                   4621: do
                   4622:   case $ac_config_target in
                   4623:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
                   4624:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   4625:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
                   4626:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   4627:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   4628: 
1.9     ! misho    4629:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    4630:   esac
                   4631: done
                   4632: 
                   4633: 
                   4634: # If the user did not use the arguments to specify the items to instantiate,
                   4635: # then the envvar interface is used.  Set only those that are not.
                   4636: # We use the long form for the default assignment because of an extremely
                   4637: # bizarre bug on SunOS 4.1.3.
                   4638: if $ac_need_defaults; then
                   4639:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   4640:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   4641: fi
                   4642: 
                   4643: # Have a temporary directory for convenience.  Make it in the build tree
                   4644: # simply because there is no reason against having it here, and in addition,
                   4645: # creating and moving files from /tmp can sometimes cause problems.
                   4646: # Hook for its removal unless debugging.
                   4647: # Note that there is a small window in which the directory will not be cleaned:
                   4648: # after its creation but before its name has been assigned to `$tmp'.
                   4649: $debug ||
                   4650: {
1.9     ! misho    4651:   tmp= ac_tmp=
1.1       misho    4652:   trap 'exit_status=$?
1.9     ! misho    4653:   : "${ac_tmp:=$tmp}"
        !          4654:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    4655: ' 0
1.9     ! misho    4656:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    4657: }
                   4658: # Create a (secure) tmp directory for tmp files.
                   4659: 
                   4660: {
                   4661:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.9     ! misho    4662:   test -d "$tmp"
1.1       misho    4663: }  ||
                   4664: {
                   4665:   tmp=./conf$$-$RANDOM
                   4666:   (umask 077 && mkdir "$tmp")
1.9     ! misho    4667: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          4668: ac_tmp=$tmp
        !          4669: 
        !          4670: # Set up the scripts for CONFIG_FILES section.
        !          4671: # No need to generate them if there are no CONFIG_FILES.
        !          4672: # This happens for instance with `./config.status config.h'.
        !          4673: if test -n "$CONFIG_FILES"; then
1.1       misho    4674: 
1.7       misho    4675: 
1.9     ! misho    4676: ac_cr=`echo X | tr X '\015'`
        !          4677: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          4678: # But we know of no other shell where ac_cr would be empty at this
        !          4679: # point, so we can use a bashism as a fallback.
        !          4680: if test "x$ac_cr" = x; then
        !          4681:   eval ac_cr=\$\'\\r\'
        !          4682: fi
        !          4683: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
        !          4684: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
        !          4685:   ac_cs_awk_cr='\\r'
        !          4686: else
        !          4687:   ac_cs_awk_cr=$ac_cr
        !          4688: fi
1.1       misho    4689: 
1.9     ! misho    4690: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.7       misho    4691: _ACEOF
1.1       misho    4692: 
                   4693: 
1.9     ! misho    4694: {
        !          4695:   echo "cat >conf$$subs.awk <<_ACEOF" &&
        !          4696:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
        !          4697:   echo "_ACEOF"
        !          4698: } >conf$$subs.sh ||
        !          4699:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          4700: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    4701: ac_delim='%!_!# '
                   4702: for ac_last_try in false false false false false :; do
1.9     ! misho    4703:   . ./conf$$subs.sh ||
        !          4704:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    4705: 
1.9     ! misho    4706:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
        !          4707:   if test $ac_delim_n = $ac_delim_num; then
1.1       misho    4708:     break
                   4709:   elif $ac_last_try; then
1.9     ! misho    4710:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    4711:   else
                   4712:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   4713:   fi
                   4714: done
1.9     ! misho    4715: rm -f conf$$subs.sh
1.1       misho    4716: 
1.9     ! misho    4717: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          4718: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    4719: _ACEOF
1.9     ! misho    4720: sed -n '
        !          4721: h
        !          4722: s/^/S["/; s/!.*/"]=/
        !          4723: p
        !          4724: g
        !          4725: s/^[^!]*!//
        !          4726: :repl
        !          4727: t repl
        !          4728: s/'"$ac_delim"'$//
        !          4729: t delim
        !          4730: :nl
        !          4731: h
        !          4732: s/\(.\{148\}\)..*/\1/
        !          4733: t more1
        !          4734: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
        !          4735: p
        !          4736: n
        !          4737: b repl
        !          4738: :more1
        !          4739: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          4740: p
        !          4741: g
        !          4742: s/.\{148\}//
        !          4743: t nl
        !          4744: :delim
        !          4745: h
        !          4746: s/\(.\{148\}\)..*/\1/
        !          4747: t more2
        !          4748: s/["\\]/\\&/g; s/^/"/; s/$/"/
        !          4749: p
        !          4750: b
        !          4751: :more2
        !          4752: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          4753: p
        !          4754: g
        !          4755: s/.\{148\}//
        !          4756: t delim
        !          4757: ' <conf$$subs.awk | sed '
        !          4758: /^[^""]/{
        !          4759:   N
        !          4760:   s/\n//
        !          4761: }
        !          4762: ' >>$CONFIG_STATUS || ac_write_fail=1
        !          4763: rm -f conf$$subs.awk
        !          4764: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          4765: _ACAWK
        !          4766: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
        !          4767:   for (key in S) S_is_set[key] = 1
        !          4768:   FS = ""
        !          4769: 
        !          4770: }
        !          4771: {
        !          4772:   line = $ 0
        !          4773:   nfields = split(line, field, "@")
        !          4774:   substed = 0
        !          4775:   len = length(field[1])
        !          4776:   for (i = 2; i < nfields; i++) {
        !          4777:     key = field[i]
        !          4778:     keylen = length(key)
        !          4779:     if (S_is_set[key]) {
        !          4780:       value = S[key]
        !          4781:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
        !          4782:       len += length(value) + length(field[++i])
        !          4783:       substed = 1
        !          4784:     } else
        !          4785:       len += 1 + keylen
        !          4786:   }
1.1       misho    4787: 
1.9     ! misho    4788:   print line
        !          4789: }
        !          4790: 
        !          4791: _ACAWK
        !          4792: _ACEOF
        !          4793: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          4794: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
        !          4795:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
        !          4796: else
        !          4797:   cat
        !          4798: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          4799:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
        !          4800: _ACEOF
1.1       misho    4801: 
1.9     ! misho    4802: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          4803: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    4804: # trailing colons and then remove the whole line if VPATH becomes empty
                   4805: # (actually we leave an empty line to preserve line numbers).
                   4806: if test "x$srcdir" = x.; then
1.9     ! misho    4807:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          4808: h
        !          4809: s///
        !          4810: s/^/:/
        !          4811: s/[     ]*$/:/
        !          4812: s/:\$(srcdir):/:/g
        !          4813: s/:\${srcdir}:/:/g
        !          4814: s/:@srcdir@:/:/g
        !          4815: s/^:*//
1.1       misho    4816: s/:*$//
1.9     ! misho    4817: x
        !          4818: s/\(=[  ]*\).*/\1/
        !          4819: G
        !          4820: s/\n//
1.1       misho    4821: s/^[^=]*=[      ]*$//
                   4822: }'
                   4823: fi
                   4824: 
1.9     ! misho    4825: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4826: fi # test -n "$CONFIG_FILES"
                   4827: 
1.9     ! misho    4828: # Set up the scripts for CONFIG_HEADERS section.
        !          4829: # No need to generate them if there are no CONFIG_HEADERS.
        !          4830: # This happens for instance with `./config.status Makefile'.
        !          4831: if test -n "$CONFIG_HEADERS"; then
        !          4832: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
        !          4833: BEGIN {
        !          4834: _ACEOF
        !          4835: 
        !          4836: # Transform confdefs.h into an awk script `defines.awk', embedded as
        !          4837: # here-document in config.status, that substitutes the proper values into
        !          4838: # config.h.in to produce config.h.
        !          4839: 
        !          4840: # Create a delimiter string that does not exist in confdefs.h, to ease
        !          4841: # handling of long lines.
        !          4842: ac_delim='%!_!# '
        !          4843: for ac_last_try in false false :; do
        !          4844:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          4845:   if test -z "$ac_tt"; then
        !          4846:     break
        !          4847:   elif $ac_last_try; then
        !          4848:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
        !          4849:   else
        !          4850:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          4851:   fi
        !          4852: done
        !          4853: 
        !          4854: # For the awk script, D is an array of macro values keyed by name,
        !          4855: # likewise P contains macro parameters if any.  Preserve backslash
        !          4856: # newline sequences.
        !          4857: 
        !          4858: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
        !          4859: sed -n '
        !          4860: s/.\{148\}/&'"$ac_delim"'/g
        !          4861: t rset
        !          4862: :rset
        !          4863: s/^[    ]*#[    ]*define[       ][      ]*/ /
        !          4864: t def
        !          4865: d
        !          4866: :def
        !          4867: s/\\$//
        !          4868: t bsnl
        !          4869: s/["\\]/\\&/g
        !          4870: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          4871: D["\1"]=" \3"/p
        !          4872: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
        !          4873: d
        !          4874: :bsnl
        !          4875: s/["\\]/\\&/g
        !          4876: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          4877: D["\1"]=" \3\\\\\\n"\\/p
        !          4878: t cont
        !          4879: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
        !          4880: t cont
        !          4881: d
        !          4882: :cont
        !          4883: n
        !          4884: s/.\{148\}/&'"$ac_delim"'/g
        !          4885: t clear
        !          4886: :clear
        !          4887: s/\\$//
        !          4888: t bsnlc
        !          4889: s/["\\]/\\&/g; s/^/"/; s/$/"/p
        !          4890: d
        !          4891: :bsnlc
        !          4892: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
        !          4893: b cont
        !          4894: ' <confdefs.h | sed '
        !          4895: s/'"$ac_delim"'/"\\\
        !          4896: "/g' >>$CONFIG_STATUS || ac_write_fail=1
        !          4897: 
        !          4898: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          4899:   for (key in D) D_is_set[key] = 1
        !          4900:   FS = ""
        !          4901: }
        !          4902: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
        !          4903:   line = \$ 0
        !          4904:   split(line, arg, " ")
        !          4905:   if (arg[1] == "#") {
        !          4906:     defundef = arg[2]
        !          4907:     mac1 = arg[3]
        !          4908:   } else {
        !          4909:     defundef = substr(arg[1], 2)
        !          4910:     mac1 = arg[2]
        !          4911:   }
        !          4912:   split(mac1, mac2, "(") #)
        !          4913:   macro = mac2[1]
        !          4914:   prefix = substr(line, 1, index(line, defundef) - 1)
        !          4915:   if (D_is_set[macro]) {
        !          4916:     # Preserve the white space surrounding the "#".
        !          4917:     print prefix "define", macro P[macro] D[macro]
        !          4918:     next
        !          4919:   } else {
        !          4920:     # Replace #undef with comments.  This is necessary, for example,
        !          4921:     # in the case of _POSIX_SOURCE, which is predefined and required
        !          4922:     # on some systems where configure will not decide to define it.
        !          4923:     if (defundef == "undef") {
        !          4924:       print "/*", prefix defundef, macro, "*/"
        !          4925:       next
        !          4926:     }
        !          4927:   }
        !          4928: }
        !          4929: { print }
        !          4930: _ACAWK
        !          4931: _ACEOF
        !          4932: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          4933:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
        !          4934: fi # test -n "$CONFIG_HEADERS"
        !          4935: 
1.1       misho    4936: 
1.9     ! misho    4937: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
        !          4938: shift
        !          4939: for ac_tag
1.1       misho    4940: do
                   4941:   case $ac_tag in
                   4942:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   4943:   esac
                   4944:   case $ac_mode$ac_tag in
                   4945:   :[FHL]*:*);;
1.9     ! misho    4946:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    4947:   :[FH]-) ac_tag=-:-;;
                   4948:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   4949:   esac
                   4950:   ac_save_IFS=$IFS
                   4951:   IFS=:
                   4952:   set x $ac_tag
                   4953:   IFS=$ac_save_IFS
                   4954:   shift
                   4955:   ac_file=$1
                   4956:   shift
                   4957: 
                   4958:   case $ac_mode in
                   4959:   :L) ac_source=$1;;
                   4960:   :[FH])
                   4961:     ac_file_inputs=
                   4962:     for ac_f
                   4963:     do
                   4964:       case $ac_f in
1.9     ! misho    4965:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    4966:       *) # Look for the file first in the build tree, then in the source tree
                   4967:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   4968:         # because $ac_f cannot contain `:'.
                   4969:         test -f "$ac_f" ||
                   4970:           case $ac_f in
                   4971:           [\\/$]*) false;;
                   4972:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   4973:           esac ||
1.9     ! misho    4974:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    4975:       esac
1.9     ! misho    4976:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        !          4977:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       misho    4978:     done
                   4979: 
                   4980:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   4981:     # use $as_me), people would be surprised to read:
                   4982:     #    /* config.h.  Generated by config.status.  */
1.9     ! misho    4983:     configure_input='Generated from '`
        !          4984:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
        !          4985:        `' by configure.'
1.1       misho    4986:     if test x"$ac_file" != x-; then
                   4987:       configure_input="$ac_file.  $configure_input"
1.9     ! misho    4988:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          4989: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       misho    4990:     fi
1.9     ! misho    4991:     # Neutralize special characters interpreted by sed in replacement strings.
        !          4992:     case $configure_input in #(
        !          4993:     *\&* | *\|* | *\\* )
        !          4994:        ac_sed_conf_input=`$as_echo "$configure_input" |
        !          4995:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
        !          4996:     *) ac_sed_conf_input=$configure_input;;
        !          4997:     esac
1.1       misho    4998: 
                   4999:     case $ac_tag in
1.9     ! misho    5000:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          5001:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    5002:     esac
                   5003:     ;;
                   5004:   esac
                   5005: 
                   5006:   ac_dir=`$as_dirname -- "$ac_file" ||
                   5007: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5008:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   5009:         X"$ac_file" : 'X\(//\)$' \| \
                   5010:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.9     ! misho    5011: $as_echo X"$ac_file" |
1.1       misho    5012:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   5013:            s//\1/
                   5014:            q
                   5015:          }
                   5016:          /^X\(\/\/\)[^/].*/{
                   5017:            s//\1/
                   5018:            q
                   5019:          }
                   5020:          /^X\(\/\/\)$/{
                   5021:            s//\1/
                   5022:            q
                   5023:          }
                   5024:          /^X\(\/\).*/{
                   5025:            s//\1/
                   5026:            q
                   5027:          }
                   5028:          s/.*/./; q'`
1.9     ! misho    5029:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misho    5030:   ac_builddir=.
                   5031: 
                   5032: case "$ac_dir" in
                   5033: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   5034: *)
1.9     ! misho    5035:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       misho    5036:   # A ".." for each directory in $ac_dir_suffix.
1.9     ! misho    5037:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       misho    5038:   case $ac_top_builddir_sub in
                   5039:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   5040:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   5041:   esac ;;
                   5042: esac
                   5043: ac_abs_top_builddir=$ac_pwd
                   5044: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   5045: # for backward compatibility:
                   5046: ac_top_builddir=$ac_top_build_prefix
                   5047: 
                   5048: case $srcdir in
                   5049:   .)  # We are building in place.
                   5050:     ac_srcdir=.
                   5051:     ac_top_srcdir=$ac_top_builddir_sub
                   5052:     ac_abs_top_srcdir=$ac_pwd ;;
                   5053:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   5054:     ac_srcdir=$srcdir$ac_dir_suffix;
                   5055:     ac_top_srcdir=$srcdir
                   5056:     ac_abs_top_srcdir=$srcdir ;;
                   5057:   *) # Relative name.
                   5058:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   5059:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   5060:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   5061: esac
                   5062: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   5063: 
                   5064: 
                   5065:   case $ac_mode in
                   5066:   :F)
                   5067:   #
                   5068:   # CONFIG_FILE
                   5069:   #
                   5070: 
                   5071:   case $INSTALL in
                   5072:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   5073:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   5074:   esac
                   5075: _ACEOF
                   5076: 
1.9     ! misho    5077: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    5078: # If the template does not know about datarootdir, expand it.
                   5079: # FIXME: This hack should be removed a few years after 2.60.
                   5080: ac_datarootdir_hack=; ac_datarootdir_seen=
1.9     ! misho    5081: ac_sed_dataroot='
        !          5082: /datarootdir/ {
1.1       misho    5083:   p
                   5084:   q
                   5085: }
                   5086: /@datadir@/p
                   5087: /@docdir@/p
                   5088: /@infodir@/p
                   5089: /@localedir@/p
1.9     ! misho    5090: /@mandir@/p'
        !          5091: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       misho    5092: *datarootdir*) ac_datarootdir_seen=yes;;
                   5093: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.9     ! misho    5094:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          5095: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       misho    5096: _ACEOF
1.9     ! misho    5097: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    5098:   ac_datarootdir_hack='
                   5099:   s&@datadir@&$datadir&g
                   5100:   s&@docdir@&$docdir&g
                   5101:   s&@infodir@&$infodir&g
                   5102:   s&@localedir@&$localedir&g
                   5103:   s&@mandir@&$mandir&g
1.9     ! misho    5104:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       misho    5105: esac
                   5106: _ACEOF
                   5107: 
                   5108: # Neutralize VPATH when `$srcdir' = `.'.
                   5109: # Shell code in configure.ac might set extrasub.
                   5110: # FIXME: do we really want to maintain this feature?
1.9     ! misho    5111: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          5112: ac_sed_extra="$ac_vpsub
1.1       misho    5113: $extrasub
                   5114: _ACEOF
1.9     ! misho    5115: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    5116: :t
                   5117: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.9     ! misho    5118: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       misho    5119: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.9     ! misho    5120: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       misho    5121: s&@srcdir@&$ac_srcdir&;t t
                   5122: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   5123: s&@top_srcdir@&$ac_top_srcdir&;t t
                   5124: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   5125: s&@builddir@&$ac_builddir&;t t
                   5126: s&@abs_builddir@&$ac_abs_builddir&;t t
                   5127: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   5128: s&@INSTALL@&$ac_INSTALL&;t t
                   5129: $ac_datarootdir_hack
1.9     ! misho    5130: "
        !          5131: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          5132:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5133: 
                   5134: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.9     ! misho    5135:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          5136:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          5137:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
        !          5138:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          5139: which seems to be undefined.  Please make sure it is defined" >&5
        !          5140: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          5141: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    5142: 
1.9     ! misho    5143:   rm -f "$ac_tmp/stdin"
1.1       misho    5144:   case $ac_file in
1.9     ! misho    5145:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          5146:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
        !          5147:   esac \
        !          5148:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5149:  ;;
                   5150:   :H)
                   5151:   #
                   5152:   # CONFIG_HEADER
                   5153:   #
                   5154:   if test x"$ac_file" != x-; then
1.9     ! misho    5155:     {
        !          5156:       $as_echo "/* $configure_input  */" \
        !          5157:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          5158:     } >"$ac_tmp/config.h" \
        !          5159:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          5160:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
        !          5161:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          5162: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       misho    5163:     else
1.9     ! misho    5164:       rm -f "$ac_file"
        !          5165:       mv "$ac_tmp/config.h" "$ac_file" \
        !          5166:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5167:     fi
                   5168:   else
1.9     ! misho    5169:     $as_echo "/* $configure_input  */" \
        !          5170:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
        !          5171:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    5172:   fi
                   5173:  ;;
                   5174: 
                   5175: 
                   5176:   esac
                   5177: 
                   5178: done # for ac_tag
                   5179: 
                   5180: 
1.9     ! misho    5181: as_fn_exit 0
1.1       misho    5182: _ACEOF
                   5183: ac_clean_files=$ac_clean_files_save
                   5184: 
1.9     ! misho    5185: test $ac_write_fail = 0 ||
        !          5186:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
        !          5187: 
1.1       misho    5188: 
                   5189: # configure is writing to config.log, and then calls config.status.
                   5190: # config.status does its own redirection, appending to config.log.
                   5191: # Unfortunately, on DOS this fails, as config.log is still kept open
                   5192: # by configure, so config.status won't be able to write to it; its
                   5193: # output is simply discarded.  So we exec the FD to /dev/null,
                   5194: # effectively closing config.log, so it can be properly (re)opened and
                   5195: # appended to by config.status.  When coming back to configure, we
                   5196: # need to make the FD available again.
                   5197: if test "$no_create" != yes; then
                   5198:   ac_cs_success=:
                   5199:   ac_config_status_args=
                   5200:   test "$silent" = yes &&
                   5201:     ac_config_status_args="$ac_config_status_args --quiet"
                   5202:   exec 5>/dev/null
                   5203:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   5204:   exec 5>>config.log
                   5205:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   5206:   # would make configure fail if this is the last instruction.
1.9     ! misho    5207:   $ac_cs_success || as_fn_exit 1
        !          5208: fi
        !          5209: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
        !          5210:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          5211: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    5212: fi
                   5213: 

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