Annotation of libaitwww/configure, revision 1.3.2.1

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

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