Annotation of libaitcli/configure, revision 1.4

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

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