Annotation of libaitwww/configure, revision 1.10

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

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