Annotation of libaitsched/configure, revision 1.34.2.2

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

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