Annotation of libaitio/configure, revision 1.30

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

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