Annotation of libelwix/configure, revision 1.29.2.2

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

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