Annotation of libaitio/configure, revision 1.6.2.2

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

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