Annotation of tme/configure, revision 1.1.1.5

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.5 ! root        3: # Generated by GNU Autoconf 2.61.
1.1       root        4: #
1.1.1.5 ! root        5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
        !             6: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1       root        7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
                      9: ## --------------------- ##
                     10: ## M4sh Initialization.  ##
                     11: ## --------------------- ##
                     12: 
1.1.1.5 ! root       13: # Be more Bourne compatible
        !            14: DUALCASE=1; export DUALCASE # for MKS sh
1.1       root       15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     16:   emulate sh
                     17:   NULLCMD=:
                     18:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     19:   # is contrary to our usage.  Disable this feature.
                     20:   alias -g '${1+"$@"}'='"$@"'
1.1.1.5 ! root       21:   setopt NO_GLOB_SUBST
        !            22: else
        !            23:   case `(set -o) 2>/dev/null` in
        !            24:   *posix*) set -o posix ;;
        !            25: esac
        !            26: 
        !            27: fi
        !            28: 
        !            29: 
        !            30: 
        !            31: 
        !            32: # PATH needs CR
        !            33: # Avoid depending upon Character Ranges.
        !            34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !            35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !            36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !            37: as_cr_digits='0123456789'
        !            38: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !            39: 
        !            40: # The user is always right.
        !            41: if test "${PATH_SEPARATOR+set}" != set; then
        !            42:   echo "#! /bin/sh" >conf$$.sh
        !            43:   echo  "exit 0"   >>conf$$.sh
        !            44:   chmod +x conf$$.sh
        !            45:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
        !            46:     PATH_SEPARATOR=';'
        !            47:   else
        !            48:     PATH_SEPARATOR=:
        !            49:   fi
        !            50:   rm -f conf$$.sh
1.1       root       51: fi
                     52: 
                     53: # Support unset when possible.
1.1.1.5 ! root       54: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.1       root       55:   as_unset=unset
                     56: else
                     57:   as_unset=false
                     58: fi
                     59: 
                     60: 
1.1.1.5 ! root       61: # IFS
        !            62: # We need space, tab and new line, in precisely that order.  Quoting is
        !            63: # there to prevent editors from complaining about space-tab.
        !            64: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !            65: # splitting by setting IFS to empty value.)
        !            66: as_nl='
        !            67: '
        !            68: IFS=" ""       $as_nl"
        !            69: 
        !            70: # Find who we are.  Look in the path if we contain no directory separator.
        !            71: case $0 in
        !            72:   *[\\/]* ) as_myself=$0 ;;
        !            73:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !            74: for as_dir in $PATH
        !            75: do
        !            76:   IFS=$as_save_IFS
        !            77:   test -z "$as_dir" && as_dir=.
        !            78:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !            79: done
        !            80: IFS=$as_save_IFS
        !            81: 
        !            82:      ;;
        !            83: esac
        !            84: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !            85: # in which case we are not to be found in the path.
        !            86: if test "x$as_myself" = x; then
        !            87:   as_myself=$0
        !            88: fi
        !            89: if test ! -f "$as_myself"; then
        !            90:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !            91:   { (exit 1); exit 1; }
        !            92: fi
        !            93: 
1.1       root       94: # Work around bugs in pre-3.0 UWIN ksh.
1.1.1.5 ! root       95: for as_var in ENV MAIL MAILPATH
        !            96: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        !            97: done
1.1       root       98: PS1='$ '
                     99: PS2='> '
                    100: PS4='+ '
                    101: 
                    102: # NLS nuisances.
                    103: for as_var in \
                    104:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                    105:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                    106:   LC_TELEPHONE LC_TIME
                    107: do
1.1.1.5 ! root      108:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.1       root      109:     eval $as_var=C; export $as_var
                    110:   else
1.1.1.5 ! root      111:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.1       root      112:   fi
                    113: done
                    114: 
                    115: # Required to use basename.
1.1.1.5 ! root      116: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           117:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       root      118:   as_expr=expr
                    119: else
                    120:   as_expr=false
                    121: fi
                    122: 
1.1.1.5 ! root      123: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1       root      124:   as_basename=basename
                    125: else
                    126:   as_basename=false
                    127: fi
                    128: 
                    129: 
                    130: # Name of the executable.
1.1.1.5 ! root      131: as_me=`$as_basename -- "$0" ||
1.1       root      132: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    133:         X"$0" : 'X\(//\)$' \| \
1.1.1.5 ! root      134:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1       root      135: echo X/"$0" |
1.1.1.5 ! root      136:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           137:            s//\1/
        !           138:            q
        !           139:          }
        !           140:          /^X\/\(\/\/\)$/{
        !           141:            s//\1/
        !           142:            q
        !           143:          }
        !           144:          /^X\/\(\/\).*/{
        !           145:            s//\1/
        !           146:            q
        !           147:          }
        !           148:          s/.*/./; q'`
1.1       root      149: 
1.1.1.5 ! root      150: # CDPATH.
        !           151: $as_unset CDPATH
1.1       root      152: 
                    153: 
1.1.1.5 ! root      154: if test "x$CONFIG_SHELL" = x; then
        !           155:   if (eval ":") 2>/dev/null; then
        !           156:   as_have_required=yes
        !           157: else
        !           158:   as_have_required=no
        !           159: fi
        !           160: 
        !           161:   if test $as_have_required = yes &&    (eval ":
        !           162: (as_func_return () {
        !           163:   (exit \$1)
        !           164: }
        !           165: as_func_success () {
        !           166:   as_func_return 0
        !           167: }
        !           168: as_func_failure () {
        !           169:   as_func_return 1
        !           170: }
        !           171: as_func_ret_success () {
        !           172:   return 0
        !           173: }
        !           174: as_func_ret_failure () {
        !           175:   return 1
        !           176: }
        !           177: 
        !           178: exitcode=0
        !           179: if as_func_success; then
        !           180:   :
        !           181: else
        !           182:   exitcode=1
        !           183:   echo as_func_success failed.
1.1       root      184: fi
                    185: 
1.1.1.5 ! root      186: if as_func_failure; then
        !           187:   exitcode=1
        !           188:   echo as_func_failure succeeded.
        !           189: fi
1.1       root      190: 
1.1.1.5 ! root      191: if as_func_ret_success; then
        !           192:   :
        !           193: else
        !           194:   exitcode=1
        !           195:   echo as_func_ret_success failed.
        !           196: fi
1.1       root      197: 
1.1.1.5 ! root      198: if as_func_ret_failure; then
        !           199:   exitcode=1
        !           200:   echo as_func_ret_failure succeeded.
        !           201: fi
        !           202: 
        !           203: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
        !           204:   :
        !           205: else
        !           206:   exitcode=1
        !           207:   echo positional parameters were not saved.
        !           208: fi
        !           209: 
        !           210: test \$exitcode = 0) || { (exit 1); exit 1; }
        !           211: 
        !           212: (
        !           213:   as_lineno_1=\$LINENO
        !           214:   as_lineno_2=\$LINENO
        !           215:   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
        !           216:   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
        !           217: ") 2> /dev/null; then
        !           218:   :
        !           219: else
        !           220:   as_candidate_shells=
1.1       root      221:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    222: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    223: do
                    224:   IFS=$as_save_IFS
                    225:   test -z "$as_dir" && as_dir=.
1.1.1.5 ! root      226:   case $as_dir in
1.1       root      227:         /*)
1.1.1.5 ! root      228:           for as_base in sh bash ksh sh5; do
        !           229:             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
        !           230:           done;;
        !           231:        esac
        !           232: done
        !           233: IFS=$as_save_IFS
        !           234: 
        !           235: 
        !           236:       for as_shell in $as_candidate_shells $SHELL; do
        !           237:         # Try only shells that exist, to save several forks.
        !           238:         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           239:                { ("$as_shell") 2> /dev/null <<\_ASEOF
        !           240: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !           241:   emulate sh
        !           242:   NULLCMD=:
        !           243:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
        !           244:   # is contrary to our usage.  Disable this feature.
        !           245:   alias -g '${1+"$@"}'='"$@"'
        !           246:   setopt NO_GLOB_SUBST
        !           247: else
        !           248:   case `(set -o) 2>/dev/null` in
        !           249:   *posix*) set -o posix ;;
        !           250: esac
        !           251: 
        !           252: fi
        !           253: 
        !           254: 
        !           255: :
        !           256: _ASEOF
        !           257: }; then
        !           258:   CONFIG_SHELL=$as_shell
        !           259:               as_have_required=yes
        !           260:               if { "$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:   # Zsh 3.x and 4.x performs 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
        !           272: 
        !           273: fi
        !           274: 
        !           275: 
        !           276: :
        !           277: (as_func_return () {
        !           278:   (exit $1)
        !           279: }
        !           280: as_func_success () {
        !           281:   as_func_return 0
        !           282: }
        !           283: as_func_failure () {
        !           284:   as_func_return 1
        !           285: }
        !           286: as_func_ret_success () {
        !           287:   return 0
        !           288: }
        !           289: as_func_ret_failure () {
        !           290:   return 1
        !           291: }
        !           292: 
        !           293: exitcode=0
        !           294: if as_func_success; then
        !           295:   :
        !           296: else
        !           297:   exitcode=1
        !           298:   echo as_func_success failed.
        !           299: fi
        !           300: 
        !           301: if as_func_failure; then
        !           302:   exitcode=1
        !           303:   echo as_func_failure succeeded.
        !           304: fi
        !           305: 
        !           306: if as_func_ret_success; then
        !           307:   :
        !           308: else
        !           309:   exitcode=1
        !           310:   echo as_func_ret_success failed.
        !           311: fi
        !           312: 
        !           313: if as_func_ret_failure; then
        !           314:   exitcode=1
        !           315:   echo as_func_ret_failure succeeded.
        !           316: fi
        !           317: 
        !           318: if ( set x; as_func_ret_success y && test x = "$1" ); then
        !           319:   :
        !           320: else
        !           321:   exitcode=1
        !           322:   echo positional parameters were not saved.
        !           323: fi
        !           324: 
        !           325: test $exitcode = 0) || { (exit 1); exit 1; }
        !           326: 
        !           327: (
1.1       root      328:   as_lineno_1=$LINENO
                    329:   as_lineno_2=$LINENO
                    330:   test "x$as_lineno_1" != "x$as_lineno_2" &&
1.1.1.5 ! root      331:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
        !           332: 
        !           333: _ASEOF
        !           334: }; then
        !           335:   break
        !           336: fi
        !           337: 
        !           338: fi
        !           339: 
        !           340:       done
        !           341: 
        !           342:       if test "x$CONFIG_SHELL" != x; then
        !           343:   for as_var in BASH_ENV ENV
        !           344:         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        !           345:         done
        !           346:         export CONFIG_SHELL
        !           347:         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
        !           348: fi
        !           349: 
        !           350: 
        !           351:     if test $as_have_required = no; then
        !           352:   echo This script requires a shell more modern than all the
        !           353:       echo shells that I found on your system.  Please install a
        !           354:       echo modern shell, or manually run the script under such a
        !           355:       echo shell if you do have one.
        !           356:       { (exit 1); exit 1; }
        !           357: fi
        !           358: 
        !           359: 
        !           360: fi
        !           361: 
        !           362: fi
        !           363: 
        !           364: 
        !           365: 
        !           366: (eval "as_func_return () {
        !           367:   (exit \$1)
        !           368: }
        !           369: as_func_success () {
        !           370:   as_func_return 0
        !           371: }
        !           372: as_func_failure () {
        !           373:   as_func_return 1
        !           374: }
        !           375: as_func_ret_success () {
        !           376:   return 0
        !           377: }
        !           378: as_func_ret_failure () {
        !           379:   return 1
        !           380: }
        !           381: 
        !           382: exitcode=0
        !           383: if as_func_success; then
        !           384:   :
        !           385: else
        !           386:   exitcode=1
        !           387:   echo as_func_success failed.
        !           388: fi
        !           389: 
        !           390: if as_func_failure; then
        !           391:   exitcode=1
        !           392:   echo as_func_failure succeeded.
        !           393: fi
        !           394: 
        !           395: if as_func_ret_success; then
        !           396:   :
        !           397: else
        !           398:   exitcode=1
        !           399:   echo as_func_ret_success failed.
        !           400: fi
        !           401: 
        !           402: if as_func_ret_failure; then
        !           403:   exitcode=1
        !           404:   echo as_func_ret_failure succeeded.
        !           405: fi
        !           406: 
        !           407: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
        !           408:   :
        !           409: else
        !           410:   exitcode=1
        !           411:   echo positional parameters were not saved.
        !           412: fi
        !           413: 
        !           414: test \$exitcode = 0") || {
        !           415:   echo No shell found that supports shell functions.
        !           416:   echo Please tell autoconf@gnu.org about your system,
        !           417:   echo including any error possibly output before this
        !           418:   echo message
        !           419: }
        !           420: 
        !           421: 
        !           422: 
        !           423:   as_lineno_1=$LINENO
        !           424:   as_lineno_2=$LINENO
        !           425:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !           426:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1       root      427: 
                    428:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    429:   # uniformly replaced by the line number.  The first 'sed' inserts a
1.1.1.5 ! root      430:   # line-number line after each line using $LINENO; the second 'sed'
        !           431:   # does the real work.  The second script uses 'N' to pair each
        !           432:   # line-number line with the line containing $LINENO, and appends
        !           433:   # trailing '-' during substitution so that $LINENO is not a special
        !           434:   # case at line end.
1.1       root      435:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.1.1.5 ! root      436:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
        !           437:   # E. McMahon (1931-1989) for sed's syntax.  :-)
        !           438:   sed -n '
        !           439:     p
        !           440:     /[$]LINENO/=
        !           441:   ' <$as_myself |
1.1       root      442:     sed '
1.1.1.5 ! root      443:       s/[$]LINENO.*/&-/
        !           444:       t lineno
        !           445:       b
        !           446:       :lineno
1.1       root      447:       N
1.1.1.5 ! root      448:       :loop
        !           449:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1       root      450:       t loop
1.1.1.5 ! root      451:       s/-\n.*//
1.1       root      452:     ' >$as_me.lineno &&
1.1.1.5 ! root      453:   chmod +x "$as_me.lineno" ||
1.1       root      454:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    455:    { (exit 1); exit 1; }; }
                    456: 
                    457:   # Don't try to exec as it changes $[0], causing all sort of problems
                    458:   # (the dirname of $[0] is not the place where we might find the
1.1.1.5 ! root      459:   # original and so on.  Autoconf is especially sensitive to this).
        !           460:   . "./$as_me.lineno"
1.1       root      461:   # Exit status is that of the last command.
                    462:   exit
                    463: }
                    464: 
                    465: 
1.1.1.5 ! root      466: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           467:   as_dirname=dirname
        !           468: else
        !           469:   as_dirname=false
        !           470: fi
        !           471: 
        !           472: ECHO_C= ECHO_N= ECHO_T=
        !           473: case `echo -n x` in
        !           474: -n*)
        !           475:   case `echo 'x\c'` in
        !           476:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !           477:   *)   ECHO_C='\c';;
        !           478:   esac;;
        !           479: *)
        !           480:   ECHO_N='-n';;
1.1       root      481: esac
                    482: 
1.1.1.5 ! root      483: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           484:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       root      485:   as_expr=expr
                    486: else
                    487:   as_expr=false
                    488: fi
                    489: 
                    490: rm -f conf$$ conf$$.exe conf$$.file
1.1.1.5 ! root      491: if test -d conf$$.dir; then
        !           492:   rm -f conf$$.dir/conf$$.file
        !           493: else
        !           494:   rm -f conf$$.dir
        !           495:   mkdir conf$$.dir
        !           496: fi
1.1       root      497: echo >conf$$.file
                    498: if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1.1.5 ! root      499:   as_ln_s='ln -s'
        !           500:   # ... but there are two gotchas:
        !           501:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !           502:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !           503:   # In both cases, we have to default to `cp -p'.
        !           504:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1       root      505:     as_ln_s='cp -p'
                    506: elif ln conf$$.file conf$$ 2>/dev/null; then
                    507:   as_ln_s=ln
                    508: else
                    509:   as_ln_s='cp -p'
                    510: fi
1.1.1.5 ! root      511: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !           512: rmdir conf$$.dir 2>/dev/null
1.1       root      513: 
                    514: if mkdir -p . 2>/dev/null; then
                    515:   as_mkdir_p=:
                    516: else
1.1.1.5 ! root      517:   test -d ./-p && rmdir ./-p
1.1       root      518:   as_mkdir_p=false
                    519: fi
                    520: 
1.1.1.5 ! root      521: if test -x / >/dev/null 2>&1; then
        !           522:   as_test_x='test -x'
        !           523: else
        !           524:   if ls -dL / >/dev/null 2>&1; then
        !           525:     as_ls_L_option=L
        !           526:   else
        !           527:     as_ls_L_option=
        !           528:   fi
        !           529:   as_test_x='
        !           530:     eval sh -c '\''
        !           531:       if test -d "$1"; then
        !           532:         test -d "$1/.";
        !           533:       else
        !           534:        case $1 in
        !           535:         -*)set "./$1";;
        !           536:        esac;
        !           537:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
        !           538:        ???[sx]*):;;*)false;;esac;fi
        !           539:     '\'' sh
        !           540:   '
        !           541: fi
        !           542: as_executable_p=$as_test_x
1.1       root      543: 
                    544: # Sed expression to map a string onto a valid CPP name.
1.1.1.5 ! root      545: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1       root      546: 
                    547: # Sed expression to map a string onto a valid variable name.
1.1.1.5 ! root      548: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1       root      549: 
                    550: 
                    551: 
                    552: 
                    553: # Check that we are running under the correct shell.
                    554: SHELL=${CONFIG_SHELL-/bin/sh}
                    555: 
                    556: case X$ECHO in
                    557: X*--fallback-echo)
                    558:   # Remove one level of quotation (which was required for Make).
                    559:   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
                    560:   ;;
                    561: esac
                    562: 
                    563: echo=${ECHO-echo}
                    564: if test "X$1" = X--no-reexec; then
                    565:   # Discard the --no-reexec flag, and continue.
                    566:   shift
                    567: elif test "X$1" = X--fallback-echo; then
                    568:   # Avoid inline document here, it may be left over
                    569:   :
                    570: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
                    571:   # Yippee, $echo works!
                    572:   :
                    573: else
                    574:   # Restart under the correct shell.
                    575:   exec $SHELL "$0" --no-reexec ${1+"$@"}
                    576: fi
                    577: 
                    578: if test "X$1" = X--fallback-echo; then
                    579:   # used as fallback echo
                    580:   shift
                    581:   cat <<EOF
                    582: $*
                    583: EOF
                    584:   exit 0
                    585: fi
                    586: 
                    587: # The HP-UX ksh and POSIX shell print the target directory to stdout
                    588: # if CDPATH is set.
1.1.1.5 ! root      589: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       root      590: 
                    591: if test -z "$ECHO"; then
                    592: if test "X${echo_test_string+set}" != Xset; then
                    593: # find a string as large as possible, as long as the shell can cope with it
                    594:   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
                    595:     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1.1.1.5 ! root      596:     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
        !           597:        echo_test_string=`eval $cmd` &&
1.1       root      598:        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
                    599:     then
                    600:       break
                    601:     fi
                    602:   done
                    603: fi
                    604: 
                    605: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    606:    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    607:    test "X$echo_testing_string" = "X$echo_test_string"; then
                    608:   :
                    609: else
                    610:   # The Solaris, AIX, and Digital Unix default echo programs unquote
                    611:   # backslashes.  This makes it impossible to quote backslashes using
                    612:   #   echo "$something" | sed 's/\\/\\\\/g'
                    613:   #
                    614:   # So, first we look for a working echo in the user's PATH.
                    615: 
                    616:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                    617:   for dir in $PATH /usr/ucb; do
                    618:     IFS="$lt_save_ifs"
                    619:     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
                    620:        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
                    621:        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
                    622:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    623:       echo="$dir/echo"
                    624:       break
                    625:     fi
                    626:   done
                    627:   IFS="$lt_save_ifs"
                    628: 
                    629:   if test "X$echo" = Xecho; then
                    630:     # We didn't find a better echo, so look for alternatives.
                    631:     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
                    632:        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
                    633:        test "X$echo_testing_string" = "X$echo_test_string"; then
                    634:       # This shell has a builtin print -r that does the trick.
                    635:       echo='print -r'
                    636:     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
                    637:         test "X$CONFIG_SHELL" != X/bin/ksh; then
                    638:       # If we have ksh, try running configure again with it.
                    639:       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                    640:       export ORIGINAL_CONFIG_SHELL
                    641:       CONFIG_SHELL=/bin/ksh
                    642:       export CONFIG_SHELL
                    643:       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
                    644:     else
                    645:       # Try using printf.
                    646:       echo='printf %s\n'
                    647:       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
                    648:         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
                    649:         test "X$echo_testing_string" = "X$echo_test_string"; then
                    650:        # Cool, printf works
                    651:        :
                    652:       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    653:           test "X$echo_testing_string" = 'X\t' &&
                    654:           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    655:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    656:        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
                    657:        export CONFIG_SHELL
                    658:        SHELL="$CONFIG_SHELL"
                    659:        export SHELL
                    660:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    661:       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    662:           test "X$echo_testing_string" = 'X\t' &&
                    663:           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    664:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    665:        echo="$CONFIG_SHELL $0 --fallback-echo"
                    666:       else
                    667:        # maybe with a smaller string...
                    668:        prev=:
                    669: 
                    670:        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
                    671:          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
                    672:          then
                    673:            break
                    674:          fi
                    675:          prev="$cmd"
                    676:        done
                    677: 
                    678:        if test "$prev" != 'sed 50q "$0"'; then
                    679:          echo_test_string=`eval $prev`
                    680:          export echo_test_string
                    681:          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
                    682:        else
                    683:          # Oops.  We lost completely, so just stick with echo.
                    684:          echo=echo
                    685:        fi
                    686:       fi
                    687:     fi
                    688:   fi
                    689: fi
                    690: fi
                    691: 
                    692: # Copy echo and quote the copy suitably for passing to libtool from
                    693: # the Makefile, instead of quoting the original, which is used later.
                    694: ECHO=$echo
                    695: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
                    696:    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
                    697: fi
                    698: 
                    699: 
                    700: 
                    701: 
1.1.1.5 ! root      702: tagnames=${tagnames+${tagnames},}CXX
1.1       root      703: 
1.1.1.5 ! root      704: tagnames=${tagnames+${tagnames},}F77
        !           705: 
        !           706: exec 7<&0 </dev/null 6>&1
1.1       root      707: 
                    708: # Name of the host.
                    709: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    710: # so uname gets run too.
                    711: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    712: 
                    713: #
                    714: # Initializations.
                    715: #
                    716: ac_default_prefix=/usr/local
1.1.1.5 ! root      717: ac_clean_files=
1.1       root      718: ac_config_libobj_dir=.
1.1.1.5 ! root      719: LIBOBJS=
1.1       root      720: cross_compiling=no
                    721: subdirs=
                    722: MFLAGS=
                    723: MAKEFLAGS=
                    724: SHELL=${CONFIG_SHELL-/bin/sh}
                    725: 
                    726: # Identity of this package.
                    727: PACKAGE_NAME=
                    728: PACKAGE_TARNAME=
                    729: PACKAGE_VERSION=
                    730: PACKAGE_STRING=
                    731: PACKAGE_BUGREPORT=
                    732: 
                    733: ac_unique_file="ic/m68k/m68k-impl.h"
                    734: # Factoring default headers for most tests.
                    735: ac_includes_default="\
                    736: #include <stdio.h>
1.1.1.5 ! root      737: #ifdef HAVE_SYS_TYPES_H
1.1       root      738: # include <sys/types.h>
                    739: #endif
1.1.1.5 ! root      740: #ifdef HAVE_SYS_STAT_H
1.1       root      741: # include <sys/stat.h>
                    742: #endif
1.1.1.5 ! root      743: #ifdef STDC_HEADERS
1.1       root      744: # include <stdlib.h>
                    745: # include <stddef.h>
                    746: #else
1.1.1.5 ! root      747: # ifdef HAVE_STDLIB_H
1.1       root      748: #  include <stdlib.h>
                    749: # endif
                    750: #endif
1.1.1.5 ! root      751: #ifdef HAVE_STRING_H
        !           752: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1       root      753: #  include <memory.h>
                    754: # endif
                    755: # include <string.h>
                    756: #endif
1.1.1.5 ! root      757: #ifdef HAVE_STRINGS_H
1.1       root      758: # include <strings.h>
                    759: #endif
1.1.1.5 ! root      760: #ifdef HAVE_INTTYPES_H
1.1       root      761: # include <inttypes.h>
                    762: #endif
1.1.1.5 ! root      763: #ifdef HAVE_STDINT_H
        !           764: # include <stdint.h>
        !           765: #endif
        !           766: #ifdef HAVE_UNISTD_H
1.1       root      767: # include <unistd.h>
                    768: #endif"
                    769: 
1.1.1.5 ! root      770: ac_subst_vars='SHELL
        !           771: PATH_SEPARATOR
        !           772: PACKAGE_NAME
        !           773: PACKAGE_TARNAME
        !           774: PACKAGE_VERSION
        !           775: PACKAGE_STRING
        !           776: PACKAGE_BUGREPORT
        !           777: exec_prefix
        !           778: prefix
        !           779: program_transform_name
        !           780: bindir
        !           781: sbindir
        !           782: libexecdir
        !           783: datarootdir
        !           784: datadir
        !           785: sysconfdir
        !           786: sharedstatedir
        !           787: localstatedir
        !           788: includedir
        !           789: oldincludedir
        !           790: docdir
        !           791: infodir
        !           792: htmldir
        !           793: dvidir
        !           794: pdfdir
        !           795: psdir
        !           796: libdir
        !           797: localedir
        !           798: mandir
        !           799: DEFS
        !           800: ECHO_C
        !           801: ECHO_N
        !           802: ECHO_T
        !           803: LIBS
        !           804: build_alias
        !           805: host_alias
        !           806: target_alias
        !           807: build
        !           808: build_cpu
        !           809: build_vendor
        !           810: build_os
        !           811: host
        !           812: host_cpu
        !           813: host_vendor
        !           814: host_os
        !           815: target
        !           816: target_cpu
        !           817: target_vendor
        !           818: target_os
        !           819: INSTALL_PROGRAM
        !           820: INSTALL_SCRIPT
        !           821: INSTALL_DATA
        !           822: am__isrc
        !           823: CYGPATH_W
        !           824: PACKAGE
        !           825: VERSION
        !           826: ACLOCAL
        !           827: AUTOCONF
        !           828: AUTOMAKE
        !           829: AUTOHEADER
        !           830: MAKEINFO
        !           831: install_sh
        !           832: STRIP
        !           833: INSTALL_STRIP_PROGRAM
        !           834: mkdir_p
        !           835: AWK
        !           836: SET_MAKE
        !           837: am__leading_dot
        !           838: AMTAR
        !           839: am__tar
        !           840: am__untar
        !           841: CC
        !           842: CFLAGS
        !           843: LDFLAGS
        !           844: CPPFLAGS
        !           845: ac_ct_CC
        !           846: EXEEXT
        !           847: OBJEXT
        !           848: DEPDIR
        !           849: am__include
        !           850: am__quote
        !           851: AMDEP_TRUE
        !           852: AMDEP_FALSE
        !           853: AMDEPBACKSLASH
        !           854: CCDEPMODE
        !           855: am__fastdepCC_TRUE
        !           856: am__fastdepCC_FALSE
        !           857: CPP
        !           858: YACC
        !           859: YFLAGS
        !           860: GREP
        !           861: EGREP
        !           862: LIBOBJS
        !           863: PERL
        !           864: XMKMF
        !           865: X_CFLAGS
        !           866: X_PRE_LIBS
        !           867: X_LIBS
        !           868: X_EXTRA_LIBS
        !           869: PKG_CONFIG
        !           870: GTK_CFLAGS
        !           871: GTK_LIBS
        !           872: TME_FB_XLAT_DST
        !           873: TME_MACHINE_SUBDIRS
        !           874: TME_IC_SUBDIRS
        !           875: TME_ICS
        !           876: TME_SERIAL_SUBDIRS
        !           877: TME_SERIALS
        !           878: TME_BUS_SUBDIRS
        !           879: TME_FB_XLAT_SRC
        !           880: TME_HOSTS
        !           881: INCLTDL
        !           882: LIBLTDL
        !           883: SED
        !           884: LN_S
        !           885: ECHO
        !           886: AR
        !           887: RANLIB
        !           888: CXX
        !           889: CXXFLAGS
        !           890: ac_ct_CXX
        !           891: CXXDEPMODE
        !           892: am__fastdepCXX_TRUE
        !           893: am__fastdepCXX_FALSE
        !           894: CXXCPP
        !           895: F77
        !           896: FFLAGS
        !           897: ac_ct_F77
        !           898: LIBTOOL
        !           899: LTLIBOBJS
        !           900: subdirs
        !           901: TME_PREOPEN
        !           902: CFLAGS_NO_STRICT_ALIASING'
1.1       root      903: ac_subst_files=''
1.1.1.5 ! root      904:       ac_precious_vars='build_alias
        !           905: host_alias
        !           906: target_alias
        !           907: CC
        !           908: CFLAGS
        !           909: LDFLAGS
        !           910: LIBS
        !           911: CPPFLAGS
        !           912: CPP
        !           913: YACC
        !           914: YFLAGS
        !           915: XMKMF
        !           916: CXX
        !           917: CXXFLAGS
        !           918: CCC
        !           919: CXXCPP
        !           920: F77
        !           921: FFLAGS'
        !           922: ac_subdirs_all='libltdl'
1.1       root      923: 
                    924: # Initialize some variables set by options.
                    925: ac_init_help=
                    926: ac_init_version=false
                    927: # The variables have the same names as the options, with
                    928: # dashes changed to underlines.
                    929: cache_file=/dev/null
                    930: exec_prefix=NONE
                    931: no_create=
                    932: no_recursion=
                    933: prefix=NONE
                    934: program_prefix=NONE
                    935: program_suffix=NONE
                    936: program_transform_name=s,x,x,
                    937: silent=
                    938: site=
                    939: srcdir=
                    940: verbose=
                    941: x_includes=NONE
                    942: x_libraries=NONE
                    943: 
                    944: # Installation directory options.
                    945: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    946: # and all the variables that are supposed to be based on exec_prefix
                    947: # by default will actually change.
                    948: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1.1.5 ! root      949: # (The list follows the same order as the GNU Coding Standards.)
1.1       root      950: bindir='${exec_prefix}/bin'
                    951: sbindir='${exec_prefix}/sbin'
                    952: libexecdir='${exec_prefix}/libexec'
1.1.1.5 ! root      953: datarootdir='${prefix}/share'
        !           954: datadir='${datarootdir}'
1.1       root      955: sysconfdir='${prefix}/etc'
                    956: sharedstatedir='${prefix}/com'
                    957: localstatedir='${prefix}/var'
                    958: includedir='${prefix}/include'
                    959: oldincludedir='/usr/include'
1.1.1.5 ! root      960: docdir='${datarootdir}/doc/${PACKAGE}'
        !           961: infodir='${datarootdir}/info'
        !           962: htmldir='${docdir}'
        !           963: dvidir='${docdir}'
        !           964: pdfdir='${docdir}'
        !           965: psdir='${docdir}'
        !           966: libdir='${exec_prefix}/lib'
        !           967: localedir='${datarootdir}/locale'
        !           968: mandir='${datarootdir}/man'
1.1       root      969: 
                    970: ac_prev=
1.1.1.5 ! root      971: ac_dashdash=
1.1       root      972: for ac_option
                    973: do
                    974:   # If the previous option needs an argument, assign it.
                    975:   if test -n "$ac_prev"; then
1.1.1.5 ! root      976:     eval $ac_prev=\$ac_option
1.1       root      977:     ac_prev=
                    978:     continue
                    979:   fi
                    980: 
1.1.1.5 ! root      981:   case $ac_option in
        !           982:   *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !           983:   *)   ac_optarg=yes ;;
        !           984:   esac
1.1       root      985: 
                    986:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    987: 
1.1.1.5 ! root      988:   case $ac_dashdash$ac_option in
        !           989:   --)
        !           990:     ac_dashdash=yes ;;
1.1       root      991: 
                    992:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    993:     ac_prev=bindir ;;
                    994:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    995:     bindir=$ac_optarg ;;
                    996: 
                    997:   -build | --build | --buil | --bui | --bu)
                    998:     ac_prev=build_alias ;;
                    999:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                   1000:     build_alias=$ac_optarg ;;
                   1001: 
                   1002:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                   1003:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   1004:     ac_prev=cache_file ;;
                   1005:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   1006:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                   1007:     cache_file=$ac_optarg ;;
                   1008: 
                   1009:   --config-cache | -C)
                   1010:     cache_file=config.cache ;;
                   1011: 
1.1.1.5 ! root     1012:   -datadir | --datadir | --datadi | --datad)
1.1       root     1013:     ac_prev=datadir ;;
1.1.1.5 ! root     1014:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1       root     1015:     datadir=$ac_optarg ;;
                   1016: 
1.1.1.5 ! root     1017:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
        !          1018:   | --dataroo | --dataro | --datar)
        !          1019:     ac_prev=datarootdir ;;
        !          1020:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
        !          1021:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        !          1022:     datarootdir=$ac_optarg ;;
        !          1023: 
1.1       root     1024:   -disable-* | --disable-*)
                   1025:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                   1026:     # Reject names that are not valid shell variable names.
1.1.1.5 ! root     1027:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1       root     1028:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                   1029:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1030:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
        !          1031:     eval enable_$ac_feature=no ;;
        !          1032: 
        !          1033:   -docdir | --docdir | --docdi | --doc | --do)
        !          1034:     ac_prev=docdir ;;
        !          1035:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
        !          1036:     docdir=$ac_optarg ;;
        !          1037: 
        !          1038:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
        !          1039:     ac_prev=dvidir ;;
        !          1040:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
        !          1041:     dvidir=$ac_optarg ;;
1.1       root     1042: 
                   1043:   -enable-* | --enable-*)
                   1044:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                   1045:     # Reject names that are not valid shell variable names.
1.1.1.5 ! root     1046:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1       root     1047:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                   1048:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1049:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
        !          1050:     eval enable_$ac_feature=\$ac_optarg ;;
1.1       root     1051: 
                   1052:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1053:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1054:   | --exec | --exe | --ex)
                   1055:     ac_prev=exec_prefix ;;
                   1056:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1057:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1058:   | --exec=* | --exe=* | --ex=*)
                   1059:     exec_prefix=$ac_optarg ;;
                   1060: 
                   1061:   -gas | --gas | --ga | --g)
                   1062:     # Obsolete; use --with-gas.
                   1063:     with_gas=yes ;;
                   1064: 
                   1065:   -help | --help | --hel | --he | -h)
                   1066:     ac_init_help=long ;;
                   1067:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1068:     ac_init_help=recursive ;;
                   1069:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1070:     ac_init_help=short ;;
                   1071: 
                   1072:   -host | --host | --hos | --ho)
                   1073:     ac_prev=host_alias ;;
                   1074:   -host=* | --host=* | --hos=* | --ho=*)
                   1075:     host_alias=$ac_optarg ;;
                   1076: 
1.1.1.5 ! root     1077:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        !          1078:     ac_prev=htmldir ;;
        !          1079:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
        !          1080:   | --ht=*)
        !          1081:     htmldir=$ac_optarg ;;
        !          1082: 
1.1       root     1083:   -includedir | --includedir | --includedi | --included | --include \
                   1084:   | --includ | --inclu | --incl | --inc)
                   1085:     ac_prev=includedir ;;
                   1086:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1087:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1088:     includedir=$ac_optarg ;;
                   1089: 
                   1090:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1091:     ac_prev=infodir ;;
                   1092:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1093:     infodir=$ac_optarg ;;
                   1094: 
                   1095:   -libdir | --libdir | --libdi | --libd)
                   1096:     ac_prev=libdir ;;
                   1097:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1098:     libdir=$ac_optarg ;;
                   1099: 
                   1100:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1101:   | --libexe | --libex | --libe)
                   1102:     ac_prev=libexecdir ;;
                   1103:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1104:   | --libexe=* | --libex=* | --libe=*)
                   1105:     libexecdir=$ac_optarg ;;
                   1106: 
1.1.1.5 ! root     1107:   -localedir | --localedir | --localedi | --localed | --locale)
        !          1108:     ac_prev=localedir ;;
        !          1109:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        !          1110:     localedir=$ac_optarg ;;
        !          1111: 
1.1       root     1112:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.1.5 ! root     1113:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       root     1114:     ac_prev=localstatedir ;;
                   1115:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.1.5 ! root     1116:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1       root     1117:     localstatedir=$ac_optarg ;;
                   1118: 
                   1119:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1120:     ac_prev=mandir ;;
                   1121:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1122:     mandir=$ac_optarg ;;
                   1123: 
                   1124:   -nfp | --nfp | --nf)
                   1125:     # Obsolete; use --without-fp.
                   1126:     with_fp=no ;;
                   1127: 
                   1128:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1129:   | --no-cr | --no-c | -n)
                   1130:     no_create=yes ;;
                   1131: 
                   1132:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1133:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1134:     no_recursion=yes ;;
                   1135: 
                   1136:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1137:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1138:   | --oldin | --oldi | --old | --ol | --o)
                   1139:     ac_prev=oldincludedir ;;
                   1140:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1141:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1142:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1143:     oldincludedir=$ac_optarg ;;
                   1144: 
                   1145:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1146:     ac_prev=prefix ;;
                   1147:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1148:     prefix=$ac_optarg ;;
                   1149: 
                   1150:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1151:   | --program-pre | --program-pr | --program-p)
                   1152:     ac_prev=program_prefix ;;
                   1153:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1154:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1155:     program_prefix=$ac_optarg ;;
                   1156: 
                   1157:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1158:   | --program-suf | --program-su | --program-s)
                   1159:     ac_prev=program_suffix ;;
                   1160:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1161:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1162:     program_suffix=$ac_optarg ;;
                   1163: 
                   1164:   -program-transform-name | --program-transform-name \
                   1165:   | --program-transform-nam | --program-transform-na \
                   1166:   | --program-transform-n | --program-transform- \
                   1167:   | --program-transform | --program-transfor \
                   1168:   | --program-transfo | --program-transf \
                   1169:   | --program-trans | --program-tran \
                   1170:   | --progr-tra | --program-tr | --program-t)
                   1171:     ac_prev=program_transform_name ;;
                   1172:   -program-transform-name=* | --program-transform-name=* \
                   1173:   | --program-transform-nam=* | --program-transform-na=* \
                   1174:   | --program-transform-n=* | --program-transform-=* \
                   1175:   | --program-transform=* | --program-transfor=* \
                   1176:   | --program-transfo=* | --program-transf=* \
                   1177:   | --program-trans=* | --program-tran=* \
                   1178:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1179:     program_transform_name=$ac_optarg ;;
                   1180: 
1.1.1.5 ! root     1181:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
        !          1182:     ac_prev=pdfdir ;;
        !          1183:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
        !          1184:     pdfdir=$ac_optarg ;;
        !          1185: 
        !          1186:   -psdir | --psdir | --psdi | --psd | --ps)
        !          1187:     ac_prev=psdir ;;
        !          1188:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
        !          1189:     psdir=$ac_optarg ;;
        !          1190: 
1.1       root     1191:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1192:   | -silent | --silent | --silen | --sile | --sil)
                   1193:     silent=yes ;;
                   1194: 
                   1195:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1196:     ac_prev=sbindir ;;
                   1197:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1198:   | --sbi=* | --sb=*)
                   1199:     sbindir=$ac_optarg ;;
                   1200: 
                   1201:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1202:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1203:   | --sharedst | --shareds | --shared | --share | --shar \
                   1204:   | --sha | --sh)
                   1205:     ac_prev=sharedstatedir ;;
                   1206:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1207:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1208:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1209:   | --sha=* | --sh=*)
                   1210:     sharedstatedir=$ac_optarg ;;
                   1211: 
                   1212:   -site | --site | --sit)
                   1213:     ac_prev=site ;;
                   1214:   -site=* | --site=* | --sit=*)
                   1215:     site=$ac_optarg ;;
                   1216: 
                   1217:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1218:     ac_prev=srcdir ;;
                   1219:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1220:     srcdir=$ac_optarg ;;
                   1221: 
                   1222:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1223:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1224:     ac_prev=sysconfdir ;;
                   1225:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1226:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1227:     sysconfdir=$ac_optarg ;;
                   1228: 
                   1229:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1230:     ac_prev=target_alias ;;
                   1231:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1232:     target_alias=$ac_optarg ;;
                   1233: 
                   1234:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1235:     verbose=yes ;;
                   1236: 
                   1237:   -version | --version | --versio | --versi | --vers | -V)
                   1238:     ac_init_version=: ;;
                   1239: 
                   1240:   -with-* | --with-*)
                   1241:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1242:     # Reject names that are not valid shell variable names.
1.1.1.5 ! root     1243:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1       root     1244:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                   1245:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1246:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
        !          1247:     eval with_$ac_package=\$ac_optarg ;;
1.1       root     1248: 
                   1249:   -without-* | --without-*)
                   1250:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1251:     # Reject names that are not valid shell variable names.
1.1.1.5 ! root     1252:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1       root     1253:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                   1254:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1255:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
        !          1256:     eval with_$ac_package=no ;;
1.1       root     1257: 
                   1258:   --x)
                   1259:     # Obsolete; use --with-x.
                   1260:     with_x=yes ;;
                   1261: 
                   1262:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1263:   | --x-incl | --x-inc | --x-in | --x-i)
                   1264:     ac_prev=x_includes ;;
                   1265:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1266:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1267:     x_includes=$ac_optarg ;;
                   1268: 
                   1269:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1270:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1271:     ac_prev=x_libraries ;;
                   1272:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1273:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1274:     x_libraries=$ac_optarg ;;
                   1275: 
                   1276:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                   1277: Try \`$0 --help' for more information." >&2
                   1278:    { (exit 1); exit 1; }; }
                   1279:     ;;
                   1280: 
                   1281:   *=*)
                   1282:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1283:     # Reject names that are not valid shell variable names.
                   1284:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                   1285:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                   1286:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1287:     eval $ac_envvar=\$ac_optarg
1.1       root     1288:     export $ac_envvar ;;
                   1289: 
                   1290:   *)
                   1291:     # FIXME: should be removed in autoconf 3.0.
                   1292:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1293:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1294:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1295:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                   1296:     ;;
                   1297: 
                   1298:   esac
                   1299: done
                   1300: 
                   1301: if test -n "$ac_prev"; then
                   1302:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1303:   { echo "$as_me: error: missing argument to $ac_option" >&2
                   1304:    { (exit 1); exit 1; }; }
                   1305: fi
                   1306: 
1.1.1.5 ! root     1307: # Be sure to have absolute directory names.
        !          1308: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
        !          1309:                datadir sysconfdir sharedstatedir localstatedir includedir \
        !          1310:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
        !          1311:                libdir localedir mandir
1.1       root     1312: do
1.1.1.5 ! root     1313:   eval ac_val=\$$ac_var
1.1       root     1314:   case $ac_val in
1.1.1.5 ! root     1315:     [\\/$]* | ?:[\\/]* )  continue;;
        !          1316:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       root     1317:   esac
1.1.1.5 ! root     1318:   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
        !          1319:    { (exit 1); exit 1; }; }
1.1       root     1320: done
                   1321: 
                   1322: # There might be people who depend on the old broken behavior: `$host'
                   1323: # used to hold the argument of --host etc.
                   1324: # FIXME: To remove some day.
                   1325: build=$build_alias
                   1326: host=$host_alias
                   1327: target=$target_alias
                   1328: 
                   1329: # FIXME: To remove some day.
                   1330: if test "x$host_alias" != x; then
                   1331:   if test "x$build_alias" = x; then
                   1332:     cross_compiling=maybe
                   1333:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                   1334:     If a cross compiler is detected then cross compile mode will be used." >&2
                   1335:   elif test "x$build_alias" != "x$host_alias"; then
                   1336:     cross_compiling=yes
                   1337:   fi
                   1338: fi
                   1339: 
                   1340: ac_tool_prefix=
                   1341: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1342: 
                   1343: test "$silent" = yes && exec 6>/dev/null
                   1344: 
                   1345: 
1.1.1.5 ! root     1346: ac_pwd=`pwd` && test -n "$ac_pwd" &&
        !          1347: ac_ls_di=`ls -di .` &&
        !          1348: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
        !          1349:   { echo "$as_me: error: Working directory cannot be determined" >&2
        !          1350:    { (exit 1); exit 1; }; }
        !          1351: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
        !          1352:   { echo "$as_me: error: pwd does not report name of working directory" >&2
        !          1353:    { (exit 1); exit 1; }; }
        !          1354: 
        !          1355: 
        !          1356: # Find the source files, if location was not specified.
        !          1357: if test -z "$srcdir"; then
        !          1358:   ac_srcdir_defaulted=yes
        !          1359:   # Try the directory containing this script, then the parent directory.
        !          1360:   ac_confdir=`$as_dirname -- "$0" ||
1.1       root     1361: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.1.1.5 ! root     1362:         X"$0" : 'X\(//\)[^/]' \| \
        !          1363:         X"$0" : 'X\(//\)$' \| \
        !          1364:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1       root     1365: echo X"$0" |
1.1.1.5 ! root     1366:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          1367:            s//\1/
        !          1368:            q
        !          1369:          }
        !          1370:          /^X\(\/\/\)[^/].*/{
        !          1371:            s//\1/
        !          1372:            q
        !          1373:          }
        !          1374:          /^X\(\/\/\)$/{
        !          1375:            s//\1/
        !          1376:            q
        !          1377:          }
        !          1378:          /^X\(\/\).*/{
        !          1379:            s//\1/
        !          1380:            q
        !          1381:          }
        !          1382:          s/.*/./; q'`
1.1       root     1383:   srcdir=$ac_confdir
1.1.1.5 ! root     1384:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       root     1385:     srcdir=..
                   1386:   fi
                   1387: else
                   1388:   ac_srcdir_defaulted=no
                   1389: fi
1.1.1.5 ! root     1390: if test ! -r "$srcdir/$ac_unique_file"; then
        !          1391:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
        !          1392:   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.1       root     1393:    { (exit 1); exit 1; }; }
                   1394: fi
1.1.1.5 ! root     1395: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
        !          1396: ac_abs_confdir=`(
        !          1397:        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1.1       root     1398:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     1399:        pwd)`
        !          1400: # When building in place, set srcdir=.
        !          1401: if test "$ac_abs_confdir" = "$ac_pwd"; then
        !          1402:   srcdir=.
        !          1403: fi
        !          1404: # Remove unnecessary trailing slashes from srcdir.
        !          1405: # Double slashes in file names in object file debugging info
        !          1406: # mess up M-x gdb in Emacs.
        !          1407: case $srcdir in
        !          1408: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
        !          1409: esac
        !          1410: for ac_var in $ac_precious_vars; do
        !          1411:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
        !          1412:   eval ac_env_${ac_var}_value=\$${ac_var}
        !          1413:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
        !          1414:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
        !          1415: done
1.1       root     1416: 
                   1417: #
                   1418: # Report the --help message.
                   1419: #
                   1420: if test "$ac_init_help" = "long"; then
                   1421:   # Omit some internal or obsolete options to make the list less imposing.
                   1422:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1423:   cat <<_ACEOF
                   1424: \`configure' configures this package to adapt to many kinds of systems.
                   1425: 
                   1426: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1427: 
                   1428: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1429: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1430: 
                   1431: Defaults for the options are specified in brackets.
                   1432: 
                   1433: Configuration:
                   1434:   -h, --help              display this help and exit
                   1435:       --help=short        display options specific to this package
                   1436:       --help=recursive    display the short help of all the included packages
                   1437:   -V, --version           display version information and exit
                   1438:   -q, --quiet, --silent   do not print \`checking...' messages
                   1439:       --cache-file=FILE   cache test results in FILE [disabled]
                   1440:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1441:   -n, --no-create         do not create output files
                   1442:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1443: 
                   1444: Installation directories:
                   1445:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.1.1.5 ! root     1446:                          [$ac_default_prefix]
1.1       root     1447:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.1.1.5 ! root     1448:                          [PREFIX]
1.1       root     1449: 
                   1450: By default, \`make install' will install all the files in
                   1451: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1452: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1453: for instance \`--prefix=\$HOME'.
                   1454: 
                   1455: For better control, use the options below.
                   1456: 
                   1457: Fine tuning of the installation directories:
                   1458:   --bindir=DIR           user executables [EPREFIX/bin]
                   1459:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                   1460:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                   1461:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                   1462:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                   1463:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                   1464:   --libdir=DIR           object code libraries [EPREFIX/lib]
                   1465:   --includedir=DIR       C header files [PREFIX/include]
                   1466:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1.1.1.5 ! root     1467:   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
        !          1468:   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
        !          1469:   --infodir=DIR          info documentation [DATAROOTDIR/info]
        !          1470:   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
        !          1471:   --mandir=DIR           man documentation [DATAROOTDIR/man]
        !          1472:   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
        !          1473:   --htmldir=DIR          html documentation [DOCDIR]
        !          1474:   --dvidir=DIR           dvi documentation [DOCDIR]
        !          1475:   --pdfdir=DIR           pdf documentation [DOCDIR]
        !          1476:   --psdir=DIR            ps documentation [DOCDIR]
1.1       root     1477: _ACEOF
                   1478: 
                   1479:   cat <<\_ACEOF
                   1480: 
                   1481: Program names:
                   1482:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1483:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1484:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1485: 
1.1.1.2   root     1486: X features:
                   1487:   --x-includes=DIR    X include files are in DIR
                   1488:   --x-libraries=DIR   X library files are in DIR
                   1489: 
1.1       root     1490: System types:
                   1491:   --build=BUILD     configure for building on BUILD [guessed]
                   1492:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1493:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1494: _ACEOF
                   1495: fi
                   1496: 
                   1497: if test -n "$ac_init_help"; then
                   1498: 
                   1499:   cat <<\_ACEOF
                   1500: 
                   1501: Optional Features:
                   1502:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1503:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.5 ! root     1504:   --disable-dependency-tracking  speeds up one-time build
        !          1505:   --enable-dependency-tracking   do not reject slow dependency extractors
        !          1506:   --disable-gtktest       do not try to compile and run a test GTK+ program
        !          1507:   --enable-recode         enable recode (dynamic binary translation) (default=if target supports)
        !          1508:   --enable-shared[=PKGS]  build shared libraries [default=yes]
        !          1509:   --enable-static[=PKGS]  build static libraries [default=yes]
1.1       root     1510:   --enable-fast-install[=PKGS]
                   1511:                           optimize for fast installation [default=yes]
                   1512:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.1.1.4   root     1513:   --enable-debug          compile debuggable libraries and programs (default=don't)
1.1       root     1514:   --disable-warnings      don't compile with warnings turned on (default=do)
                   1515: 
                   1516: Optional Packages:
                   1517:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1518:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.2   root     1519:   --with-x                use the X Window System
1.1.1.3   root     1520:   --with-tme-host-displays=DISPLAYS  support host displays with these display formats
1.1       root     1521:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1522:   --with-pic              try to use only PIC/non-PIC objects [default=use
                   1523:                           both]
1.1.1.5 ! root     1524:   --with-tags[=TAGS]      include additional configurations [automatic]
1.1       root     1525: 
                   1526: Some influential environment variables:
                   1527:   CC          C compiler command
                   1528:   CFLAGS      C compiler flags
                   1529:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1530:               nonstandard directory <lib dir>
1.1.1.5 ! root     1531:   LIBS        libraries to pass to the linker, e.g. -l<library>
        !          1532:   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
        !          1533:               you have headers in a nonstandard directory <include dir>
1.1       root     1534:   CPP         C preprocessor
1.1.1.5 ! root     1535:   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
        !          1536:               the first program found out of: `bison -y', `byacc', `yacc'.
        !          1537:   YFLAGS      The list of arguments that will be passed by default to $YACC.
        !          1538:               This script will default YFLAGS to the empty string to avoid a
        !          1539:               default value of `-d' given by some make applications.
        !          1540:   XMKMF       Path to xmkmf, Makefile generator for X Window System
1.1       root     1541:   CXX         C++ compiler command
                   1542:   CXXFLAGS    C++ compiler flags
                   1543:   CXXCPP      C++ preprocessor
                   1544:   F77         Fortran 77 compiler command
                   1545:   FFLAGS      Fortran 77 compiler flags
                   1546: 
                   1547: Use these variables to override the choices made by `configure' or to help
                   1548: it to find libraries and programs with nonstandard names/locations.
                   1549: 
                   1550: _ACEOF
1.1.1.5 ! root     1551: ac_status=$?
1.1       root     1552: fi
                   1553: 
                   1554: if test "$ac_init_help" = "recursive"; then
                   1555:   # If there are subdirs, report their specific --help.
                   1556:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.1.5 ! root     1557:     test -d "$ac_dir" || continue
1.1       root     1558:     ac_builddir=.
                   1559: 
1.1.1.5 ! root     1560: case "$ac_dir" in
        !          1561: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1562: *)
1.1       root     1563:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1.1.5 ! root     1564:   # A ".." for each directory in $ac_dir_suffix.
        !          1565:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
        !          1566:   case $ac_top_builddir_sub in
        !          1567:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1568:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          1569:   esac ;;
        !          1570: esac
        !          1571: ac_abs_top_builddir=$ac_pwd
        !          1572: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          1573: # for backward compatibility:
        !          1574: ac_top_builddir=$ac_top_build_prefix
1.1       root     1575: 
                   1576: case $srcdir in
1.1.1.5 ! root     1577:   .)  # We are building in place.
1.1       root     1578:     ac_srcdir=.
1.1.1.5 ! root     1579:     ac_top_srcdir=$ac_top_builddir_sub
        !          1580:     ac_abs_top_srcdir=$ac_pwd ;;
        !          1581:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       root     1582:     ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1.5 ! root     1583:     ac_top_srcdir=$srcdir
        !          1584:     ac_abs_top_srcdir=$srcdir ;;
        !          1585:   *) # Relative name.
        !          1586:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          1587:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          1588:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
        !          1589: esac
        !          1590: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       root     1591: 
1.1.1.5 ! root     1592:     cd "$ac_dir" || { ac_status=$?; continue; }
        !          1593:     # Check for guested configure.
        !          1594:     if test -f "$ac_srcdir/configure.gnu"; then
        !          1595:       echo &&
        !          1596:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        !          1597:     elif test -f "$ac_srcdir/configure"; then
        !          1598:       echo &&
        !          1599:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1       root     1600:     else
                   1601:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.1.5 ! root     1602:     fi || ac_status=$?
        !          1603:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1       root     1604:   done
                   1605: fi
                   1606: 
1.1.1.5 ! root     1607: test -n "$ac_init_help" && exit $ac_status
1.1       root     1608: if $ac_init_version; then
                   1609:   cat <<\_ACEOF
1.1.1.5 ! root     1610: configure
        !          1611: generated by GNU Autoconf 2.61
1.1       root     1612: 
1.1.1.5 ! root     1613: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
        !          1614: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1       root     1615: This configure script is free software; the Free Software Foundation
                   1616: gives unlimited permission to copy, distribute and modify it.
                   1617: _ACEOF
1.1.1.5 ! root     1618:   exit
1.1       root     1619: fi
1.1.1.5 ! root     1620: cat >config.log <<_ACEOF
1.1       root     1621: This file contains any messages produced by compilers while
                   1622: running configure, to aid debugging if configure makes a mistake.
                   1623: 
                   1624: It was created by $as_me, which was
1.1.1.5 ! root     1625: generated by GNU Autoconf 2.61.  Invocation command line was
1.1       root     1626: 
                   1627:   $ $0 $@
                   1628: 
                   1629: _ACEOF
1.1.1.5 ! root     1630: exec 5>>config.log
1.1       root     1631: {
                   1632: cat <<_ASUNAME
                   1633: ## --------- ##
                   1634: ## Platform. ##
                   1635: ## --------- ##
                   1636: 
                   1637: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1638: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1639: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1640: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1641: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1642: 
                   1643: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1644: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1645: 
                   1646: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1647: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1648: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1.1.5 ! root     1649: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.1       root     1650: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1651: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1652: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1653: 
                   1654: _ASUNAME
                   1655: 
                   1656: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1657: for as_dir in $PATH
                   1658: do
                   1659:   IFS=$as_save_IFS
                   1660:   test -z "$as_dir" && as_dir=.
                   1661:   echo "PATH: $as_dir"
                   1662: done
1.1.1.5 ! root     1663: IFS=$as_save_IFS
1.1       root     1664: 
                   1665: } >&5
                   1666: 
                   1667: cat >&5 <<_ACEOF
                   1668: 
                   1669: 
                   1670: ## ----------- ##
                   1671: ## Core tests. ##
                   1672: ## ----------- ##
                   1673: 
                   1674: _ACEOF
                   1675: 
                   1676: 
                   1677: # Keep a trace of the command line.
                   1678: # Strip out --no-create and --no-recursion so they do not pile up.
                   1679: # Strip out --silent because we don't want to record it for future runs.
                   1680: # Also quote any args containing shell meta-characters.
                   1681: # Make two passes to allow for proper duplicate-argument suppression.
                   1682: ac_configure_args=
                   1683: ac_configure_args0=
                   1684: ac_configure_args1=
                   1685: ac_must_keep_next=false
                   1686: for ac_pass in 1 2
                   1687: do
                   1688:   for ac_arg
                   1689:   do
                   1690:     case $ac_arg in
                   1691:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1692:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1693:     | -silent | --silent | --silen | --sile | --sil)
                   1694:       continue ;;
1.1.1.5 ! root     1695:     *\'*)
1.1       root     1696:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1697:     esac
                   1698:     case $ac_pass in
                   1699:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1700:     2)
                   1701:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1702:       if test $ac_must_keep_next = true; then
1.1.1.5 ! root     1703:        ac_must_keep_next=false # Got value, back to normal.
1.1       root     1704:       else
1.1.1.5 ! root     1705:        case $ac_arg in
        !          1706:          *=* | --config-cache | -C | -disable-* | --disable-* \
        !          1707:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
        !          1708:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
        !          1709:          | -with-* | --with-* | -without-* | --without-* | --x)
        !          1710:            case "$ac_configure_args0 " in
        !          1711:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
        !          1712:            esac
        !          1713:            ;;
        !          1714:          -* ) ac_must_keep_next=true ;;
        !          1715:        esac
1.1       root     1716:       fi
1.1.1.5 ! root     1717:       ac_configure_args="$ac_configure_args '$ac_arg'"
1.1       root     1718:       ;;
                   1719:     esac
                   1720:   done
                   1721: done
                   1722: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1723: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1724: 
                   1725: # When interrupted or exit'd, cleanup temporary files, and complete
                   1726: # config.log.  We remove comments because anyway the quotes in there
                   1727: # would cause problems or look ugly.
1.1.1.5 ! root     1728: # WARNING: Use '\'' to represent an apostrophe within the trap.
        !          1729: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1       root     1730: trap 'exit_status=$?
                   1731:   # Save into config.log some information that might help in debugging.
                   1732:   {
                   1733:     echo
                   1734: 
                   1735:     cat <<\_ASBOX
                   1736: ## ---------------- ##
                   1737: ## Cache variables. ##
                   1738: ## ---------------- ##
                   1739: _ASBOX
                   1740:     echo
                   1741:     # The following way of writing the cache mishandles newlines in values,
1.1.1.5 ! root     1742: (
        !          1743:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        !          1744:     eval ac_val=\$$ac_var
        !          1745:     case $ac_val in #(
        !          1746:     *${as_nl}*)
        !          1747:       case $ac_var in #(
        !          1748:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
        !          1749: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
        !          1750:       esac
        !          1751:       case $ac_var in #(
        !          1752:       _ | IFS | as_nl) ;; #(
        !          1753:       *) $as_unset $ac_var ;;
        !          1754:       esac ;;
        !          1755:     esac
        !          1756:   done
1.1       root     1757:   (set) 2>&1 |
1.1.1.5 ! root     1758:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        !          1759:     *${as_nl}ac_space=\ *)
1.1       root     1760:       sed -n \
1.1.1.5 ! root     1761:        "s/'\''/'\''\\\\'\'''\''/g;
        !          1762:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
        !          1763:       ;; #(
1.1       root     1764:     *)
1.1.1.5 ! root     1765:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1       root     1766:       ;;
1.1.1.5 ! root     1767:     esac |
        !          1768:     sort
        !          1769: )
1.1       root     1770:     echo
                   1771: 
                   1772:     cat <<\_ASBOX
                   1773: ## ----------------- ##
                   1774: ## Output variables. ##
                   1775: ## ----------------- ##
                   1776: _ASBOX
                   1777:     echo
                   1778:     for ac_var in $ac_subst_vars
                   1779:     do
1.1.1.5 ! root     1780:       eval ac_val=\$$ac_var
        !          1781:       case $ac_val in
        !          1782:       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          1783:       esac
        !          1784:       echo "$ac_var='\''$ac_val'\''"
1.1       root     1785:     done | sort
                   1786:     echo
                   1787: 
                   1788:     if test -n "$ac_subst_files"; then
                   1789:       cat <<\_ASBOX
1.1.1.5 ! root     1790: ## ------------------- ##
        !          1791: ## File substitutions. ##
        !          1792: ## ------------------- ##
1.1       root     1793: _ASBOX
                   1794:       echo
                   1795:       for ac_var in $ac_subst_files
                   1796:       do
1.1.1.5 ! root     1797:        eval ac_val=\$$ac_var
        !          1798:        case $ac_val in
        !          1799:        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          1800:        esac
        !          1801:        echo "$ac_var='\''$ac_val'\''"
1.1       root     1802:       done | sort
                   1803:       echo
                   1804:     fi
                   1805: 
                   1806:     if test -s confdefs.h; then
                   1807:       cat <<\_ASBOX
                   1808: ## ----------- ##
                   1809: ## confdefs.h. ##
                   1810: ## ----------- ##
                   1811: _ASBOX
                   1812:       echo
1.1.1.5 ! root     1813:       cat confdefs.h
1.1       root     1814:       echo
                   1815:     fi
                   1816:     test "$ac_signal" != 0 &&
                   1817:       echo "$as_me: caught signal $ac_signal"
                   1818:     echo "$as_me: exit $exit_status"
                   1819:   } >&5
1.1.1.5 ! root     1820:   rm -f core *.core core.conftest.* &&
        !          1821:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1       root     1822:     exit $exit_status
1.1.1.5 ! root     1823: ' 0
1.1       root     1824: for ac_signal in 1 2 13 15; do
                   1825:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1826: done
                   1827: ac_signal=0
                   1828: 
                   1829: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.1.5 ! root     1830: rm -f -r conftest* confdefs.h
1.1       root     1831: 
                   1832: # Predefined preprocessor variables.
                   1833: 
                   1834: cat >>confdefs.h <<_ACEOF
                   1835: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1836: _ACEOF
                   1837: 
                   1838: 
                   1839: cat >>confdefs.h <<_ACEOF
                   1840: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1841: _ACEOF
                   1842: 
                   1843: 
                   1844: cat >>confdefs.h <<_ACEOF
                   1845: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1846: _ACEOF
                   1847: 
                   1848: 
                   1849: cat >>confdefs.h <<_ACEOF
                   1850: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1851: _ACEOF
                   1852: 
                   1853: 
                   1854: cat >>confdefs.h <<_ACEOF
                   1855: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1856: _ACEOF
                   1857: 
                   1858: 
                   1859: # Let the site file select an alternate cache file if it wants to.
                   1860: # Prefer explicitly selected file to automatically selected ones.
1.1.1.5 ! root     1861: if test -n "$CONFIG_SITE"; then
        !          1862:   set x "$CONFIG_SITE"
        !          1863: elif test "x$prefix" != xNONE; then
        !          1864:   set x "$prefix/share/config.site" "$prefix/etc/config.site"
        !          1865: else
        !          1866:   set x "$ac_default_prefix/share/config.site" \
        !          1867:        "$ac_default_prefix/etc/config.site"
1.1       root     1868: fi
1.1.1.5 ! root     1869: shift
        !          1870: for ac_site_file
        !          1871: do
1.1       root     1872:   if test -r "$ac_site_file"; then
                   1873:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1874: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1875:     sed 's/^/| /' "$ac_site_file" >&5
                   1876:     . "$ac_site_file"
                   1877:   fi
                   1878: done
                   1879: 
                   1880: if test -r "$cache_file"; then
                   1881:   # Some versions of bash will fail to source /dev/null (special
                   1882:   # files actually), so we avoid doing that.
                   1883:   if test -f "$cache_file"; then
                   1884:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1885: echo "$as_me: loading cache $cache_file" >&6;}
                   1886:     case $cache_file in
1.1.1.5 ! root     1887:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
        !          1888:       *)                      . "./$cache_file";;
1.1       root     1889:     esac
                   1890:   fi
                   1891: else
                   1892:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1893: echo "$as_me: creating cache $cache_file" >&6;}
                   1894:   >$cache_file
                   1895: fi
                   1896: 
                   1897: # Check that the precious variables saved in the cache have kept the same
                   1898: # value.
                   1899: ac_cache_corrupted=false
1.1.1.5 ! root     1900: for ac_var in $ac_precious_vars; do
1.1       root     1901:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1902:   eval ac_new_set=\$ac_env_${ac_var}_set
1.1.1.5 ! root     1903:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          1904:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1       root     1905:   case $ac_old_set,$ac_new_set in
                   1906:     set,)
                   1907:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1908: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1909:       ac_cache_corrupted=: ;;
                   1910:     ,set)
                   1911:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1912: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1913:       ac_cache_corrupted=: ;;
                   1914:     ,);;
                   1915:     *)
                   1916:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.1.5 ! root     1917:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1       root     1918: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1.1.5 ! root     1919:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.1       root     1920: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.1.1.5 ! root     1921:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.1       root     1922: echo "$as_me:   current value: $ac_new_val" >&2;}
1.1.1.5 ! root     1923:        ac_cache_corrupted=:
1.1       root     1924:       fi;;
                   1925:   esac
                   1926:   # Pass precious variables to config.status.
                   1927:   if test "$ac_new_set" = set; then
                   1928:     case $ac_new_val in
1.1.1.5 ! root     1929:     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     1930:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1931:     esac
                   1932:     case " $ac_configure_args " in
                   1933:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1934:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1935:     esac
                   1936:   fi
                   1937: done
                   1938: if $ac_cache_corrupted; then
                   1939:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1940: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1941:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1942: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1943:    { (exit 1); exit 1; }; }
                   1944: fi
                   1945: 
                   1946: 
                   1947: 
                   1948: 
                   1949: 
                   1950: 
                   1951: 
                   1952: 
                   1953: 
                   1954: 
                   1955: 
                   1956: 
                   1957: 
                   1958: 
                   1959: 
                   1960: 
                   1961: 
1.1.1.5 ! root     1962: ac_ext=c
        !          1963: ac_cpp='$CPP $CPPFLAGS'
        !          1964: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1965: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1966: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     1967: 
                   1968: 
                   1969: ac_aux_dir=
1.1.1.5 ! root     1970: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
        !          1971:   if test -f "$ac_dir/install-sh"; then
1.1       root     1972:     ac_aux_dir=$ac_dir
                   1973:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1974:     break
1.1.1.5 ! root     1975:   elif test -f "$ac_dir/install.sh"; then
1.1       root     1976:     ac_aux_dir=$ac_dir
                   1977:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1978:     break
1.1.1.5 ! root     1979:   elif test -f "$ac_dir/shtool"; then
1.1       root     1980:     ac_aux_dir=$ac_dir
                   1981:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1982:     break
                   1983:   fi
                   1984: done
                   1985: if test -z "$ac_aux_dir"; then
1.1.1.5 ! root     1986:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
        !          1987: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1.1       root     1988:    { (exit 1); exit 1; }; }
                   1989: fi
1.1.1.5 ! root     1990: 
        !          1991: # These three variables are undocumented and unsupported,
        !          1992: # and are intended to be withdrawn in a future Autoconf release.
        !          1993: # They can cause serious problems if a builder's source tree is in a directory
        !          1994: # whose full name contains unusual characters.
        !          1995: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
        !          1996: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
        !          1997: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
        !          1998: 
1.1       root     1999: 
                   2000: # Make sure we can run config.sub.
1.1.1.5 ! root     2001: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
        !          2002:   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
        !          2003: echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1.1       root     2004:    { (exit 1); exit 1; }; }
                   2005: 
1.1.1.5 ! root     2006: { echo "$as_me:$LINENO: checking build system type" >&5
        !          2007: echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1.1       root     2008: if test "${ac_cv_build+set}" = set; then
                   2009:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2010: else
1.1.1.5 ! root     2011:   ac_build_alias=$build_alias
        !          2012: test "x$ac_build_alias" = x &&
        !          2013:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
        !          2014: test "x$ac_build_alias" = x &&
1.1       root     2015:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   2016: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   2017:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     2018: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
        !          2019:   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
        !          2020: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1.1       root     2021:    { (exit 1); exit 1; }; }
                   2022: 
                   2023: fi
1.1.1.5 ! root     2024: { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
        !          2025: echo "${ECHO_T}$ac_cv_build" >&6; }
        !          2026: case $ac_cv_build in
        !          2027: *-*-*) ;;
        !          2028: *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
        !          2029: echo "$as_me: error: invalid value of canonical build" >&2;}
        !          2030:    { (exit 1); exit 1; }; };;
        !          2031: esac
1.1       root     2032: build=$ac_cv_build
1.1.1.5 ! root     2033: ac_save_IFS=$IFS; IFS='-'
        !          2034: set x $ac_cv_build
        !          2035: shift
        !          2036: build_cpu=$1
        !          2037: build_vendor=$2
        !          2038: shift; shift
        !          2039: # Remember, the first character of IFS is used to create $*,
        !          2040: # except with old shells:
        !          2041: build_os=$*
        !          2042: IFS=$ac_save_IFS
        !          2043: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.1       root     2044: 
                   2045: 
1.1.1.5 ! root     2046: { echo "$as_me:$LINENO: checking host system type" >&5
        !          2047: echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1.1       root     2048: if test "${ac_cv_host+set}" = set; then
                   2049:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2050: else
1.1.1.5 ! root     2051:   if test "x$host_alias" = x; then
        !          2052:   ac_cv_host=$ac_cv_build
        !          2053: else
        !          2054:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        !          2055:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
        !          2056: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.1       root     2057:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     2058: fi
1.1       root     2059: 
                   2060: fi
1.1.1.5 ! root     2061: { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
        !          2062: echo "${ECHO_T}$ac_cv_host" >&6; }
        !          2063: case $ac_cv_host in
        !          2064: *-*-*) ;;
        !          2065: *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
        !          2066: echo "$as_me: error: invalid value of canonical host" >&2;}
        !          2067:    { (exit 1); exit 1; }; };;
        !          2068: esac
1.1       root     2069: host=$ac_cv_host
1.1.1.5 ! root     2070: ac_save_IFS=$IFS; IFS='-'
        !          2071: set x $ac_cv_host
        !          2072: shift
        !          2073: host_cpu=$1
        !          2074: host_vendor=$2
        !          2075: shift; shift
        !          2076: # Remember, the first character of IFS is used to create $*,
        !          2077: # except with old shells:
        !          2078: host_os=$*
        !          2079: IFS=$ac_save_IFS
        !          2080: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1       root     2081: 
                   2082: 
1.1.1.5 ! root     2083: { echo "$as_me:$LINENO: checking target system type" >&5
        !          2084: echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1.1       root     2085: if test "${ac_cv_target+set}" = set; then
                   2086:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2087: else
1.1.1.5 ! root     2088:   if test "x$target_alias" = x; then
        !          2089:   ac_cv_target=$ac_cv_host
        !          2090: else
        !          2091:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
        !          2092:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
        !          2093: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1.1       root     2094:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     2095: fi
1.1       root     2096: 
                   2097: fi
1.1.1.5 ! root     2098: { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
        !          2099: echo "${ECHO_T}$ac_cv_target" >&6; }
        !          2100: case $ac_cv_target in
        !          2101: *-*-*) ;;
        !          2102: *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
        !          2103: echo "$as_me: error: invalid value of canonical target" >&2;}
        !          2104:    { (exit 1); exit 1; }; };;
        !          2105: esac
1.1       root     2106: target=$ac_cv_target
1.1.1.5 ! root     2107: ac_save_IFS=$IFS; IFS='-'
        !          2108: set x $ac_cv_target
        !          2109: shift
        !          2110: target_cpu=$1
        !          2111: target_vendor=$2
        !          2112: shift; shift
        !          2113: # Remember, the first character of IFS is used to create $*,
        !          2114: # except with old shells:
        !          2115: target_os=$*
        !          2116: IFS=$ac_save_IFS
        !          2117: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1.1       root     2118: 
                   2119: 
                   2120: # The aliases save the names the user supplied, while $host etc.
                   2121: # will get canonicalized.
                   2122: test -n "$target_alias" &&
                   2123:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2124:     NONENONEs,x,x, &&
                   2125:   program_prefix=${target_alias}-
1.1.1.5 ! root     2126: am__api_version='1.10'
        !          2127: 
1.1       root     2128: # Find a good install program.  We prefer a C program (faster),
                   2129: # so one script is as good as another.  But avoid the broken or
                   2130: # incompatible versions:
                   2131: # SysV /etc/install, /usr/sbin/install
                   2132: # SunOS /usr/etc/install
                   2133: # IRIX /sbin/install
                   2134: # AIX /bin/install
                   2135: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2136: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2137: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2138: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1.1.5 ! root     2139: # OS/2's system install, which has a completely different semantic
1.1       root     2140: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.5 ! root     2141: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          2142: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1.1       root     2143: if test -z "$INSTALL"; then
                   2144: if test "${ac_cv_path_install+set}" = set; then
                   2145:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2146: else
                   2147:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2148: for as_dir in $PATH
                   2149: do
                   2150:   IFS=$as_save_IFS
                   2151:   test -z "$as_dir" && as_dir=.
                   2152:   # Account for people who put trailing slashes in PATH elements.
                   2153: case $as_dir/ in
                   2154:   ./ | .// | /cC/* | \
                   2155:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.5 ! root     2156:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1       root     2157:   /usr/ucb/* ) ;;
                   2158:   *)
                   2159:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2160:     # Don't use installbsd from OSF since it installs stuff as root
                   2161:     # by default.
                   2162:     for ac_prog in ginstall scoinst install; do
                   2163:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2164:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
        !          2165:          if test $ac_prog = install &&
        !          2166:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2167:            # AIX install.  It has an incompatible calling convention.
        !          2168:            :
        !          2169:          elif test $ac_prog = install &&
        !          2170:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2171:            # program-specific install script used by HP pwplus--don't use.
        !          2172:            :
        !          2173:          else
        !          2174:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          2175:            break 3
        !          2176:          fi
        !          2177:        fi
1.1       root     2178:       done
                   2179:     done
                   2180:     ;;
                   2181: esac
                   2182: done
1.1.1.5 ! root     2183: IFS=$as_save_IFS
1.1       root     2184: 
                   2185: 
                   2186: fi
                   2187:   if test "${ac_cv_path_install+set}" = set; then
                   2188:     INSTALL=$ac_cv_path_install
                   2189:   else
1.1.1.5 ! root     2190:     # As a last resort, use the slow shell script.  Don't cache a
        !          2191:     # value for INSTALL within a source directory, because that will
1.1       root     2192:     # break other packages using the cache if that directory is
1.1.1.5 ! root     2193:     # removed, or if the value is a relative name.
1.1       root     2194:     INSTALL=$ac_install_sh
                   2195:   fi
                   2196: fi
1.1.1.5 ! root     2197: { echo "$as_me:$LINENO: result: $INSTALL" >&5
        !          2198: echo "${ECHO_T}$INSTALL" >&6; }
1.1       root     2199: 
                   2200: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2201: # It thinks the first close brace ends the variable substitution.
                   2202: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2203: 
                   2204: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2205: 
                   2206: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2207: 
1.1.1.5 ! root     2208: { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
        !          2209: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1.1       root     2210: # Just in case
                   2211: sleep 1
                   2212: echo timestamp > conftest.file
                   2213: # Do `set' in a subshell so we don't clobber the current shell's
                   2214: # arguments.  Must try -L first in case configure is actually a
                   2215: # symlink; some systems play weird games with the mod time of symlinks
                   2216: # (eg FreeBSD returns the mod time of the symlink's containing
                   2217: # directory).
                   2218: if (
                   2219:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
                   2220:    if test "$*" = "X"; then
                   2221:       # -L didn't work.
                   2222:       set X `ls -t $srcdir/configure conftest.file`
                   2223:    fi
                   2224:    rm -f conftest.file
                   2225:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2226:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2227: 
                   2228:       # If neither matched, then we have a broken ls.  This can happen
                   2229:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2230:       # broken ls alias from the environment.  This has actually
                   2231:       # happened.  Such a system could not be considered "sane".
                   2232:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   2233: alias in your environment" >&5
                   2234: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   2235: alias in your environment" >&2;}
                   2236:    { (exit 1); exit 1; }; }
                   2237:    fi
                   2238: 
                   2239:    test "$2" = conftest.file
                   2240:    )
                   2241: then
                   2242:    # Ok.
                   2243:    :
                   2244: else
                   2245:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   2246: Check your system clock" >&5
                   2247: echo "$as_me: error: newly created file is older than distributed files!
                   2248: Check your system clock" >&2;}
                   2249:    { (exit 1); exit 1; }; }
                   2250: fi
1.1.1.5 ! root     2251: { echo "$as_me:$LINENO: result: yes" >&5
        !          2252: echo "${ECHO_T}yes" >&6; }
1.1       root     2253: test "$program_prefix" != NONE &&
1.1.1.5 ! root     2254:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       root     2255: # Use a double $ so make ignores it.
                   2256: test "$program_suffix" != NONE &&
1.1.1.5 ! root     2257:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.1       root     2258: # Double any \ or $.  echo might interpret backslashes.
                   2259: # By default was `s,x,x', remove it if useless.
                   2260: cat <<\_ACEOF >conftest.sed
                   2261: s/[\\$]/&&/g;s/;s,x,x,$//
                   2262: _ACEOF
                   2263: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.1.1.5 ! root     2264: rm -f conftest.sed
1.1       root     2265: 
                   2266: # expand $ac_aux_dir to an absolute path
                   2267: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2268: 
                   2269: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   2270: # Use eval to expand $SHELL
                   2271: if eval "$MISSING --run true"; then
                   2272:   am_missing_run="$MISSING --run "
                   2273: else
                   2274:   am_missing_run=
                   2275:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   2276: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2277: fi
                   2278: 
1.1.1.5 ! root     2279: { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
        !          2280: echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
        !          2281: if test -z "$MKDIR_P"; then
        !          2282:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          2283:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2284: else
        !          2285:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2286: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
        !          2287: do
        !          2288:   IFS=$as_save_IFS
        !          2289:   test -z "$as_dir" && as_dir=.
        !          2290:   for ac_prog in mkdir gmkdir; do
        !          2291:         for ac_exec_ext in '' $ac_executable_extensions; do
        !          2292:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
        !          2293:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          2294:             'mkdir (GNU coreutils) '* | \
        !          2295:             'mkdir (coreutils) '* | \
        !          2296:             'mkdir (fileutils) '4.1*)
        !          2297:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
        !          2298:               break 3;;
        !          2299:           esac
        !          2300:         done
        !          2301:        done
        !          2302: done
        !          2303: IFS=$as_save_IFS
        !          2304: 
        !          2305: fi
        !          2306: 
        !          2307:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          2308:     MKDIR_P="$ac_cv_path_mkdir -p"
        !          2309:   else
        !          2310:     # As a last resort, use the slow shell script.  Don't cache a
        !          2311:     # value for MKDIR_P within a source directory, because that will
        !          2312:     # break other packages using the cache if that directory is
        !          2313:     # removed, or if the value is a relative name.
        !          2314:     test -d ./--version && rmdir ./--version
        !          2315:     MKDIR_P="$ac_install_sh -d"
        !          2316:   fi
        !          2317: fi
        !          2318: { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
        !          2319: echo "${ECHO_T}$MKDIR_P" >&6; }
        !          2320: 
        !          2321: mkdir_p="$MKDIR_P"
        !          2322: case $mkdir_p in
        !          2323:   [\\/$]* | ?:[\\/]*) ;;
        !          2324:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
        !          2325: esac
        !          2326: 
1.1       root     2327: for ac_prog in gawk mawk nawk awk
                   2328: do
                   2329:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2330: set dummy $ac_prog; ac_word=$2
1.1.1.5 ! root     2331: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2332: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2333: if test "${ac_cv_prog_AWK+set}" = set; then
                   2334:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2335: else
                   2336:   if test -n "$AWK"; then
                   2337:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2338: else
                   2339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2340: for as_dir in $PATH
                   2341: do
                   2342:   IFS=$as_save_IFS
                   2343:   test -z "$as_dir" && as_dir=.
                   2344:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2345:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2346:     ac_cv_prog_AWK="$ac_prog"
                   2347:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2348:     break 2
                   2349:   fi
                   2350: done
                   2351: done
1.1.1.5 ! root     2352: IFS=$as_save_IFS
1.1       root     2353: 
                   2354: fi
                   2355: fi
                   2356: AWK=$ac_cv_prog_AWK
                   2357: if test -n "$AWK"; then
1.1.1.5 ! root     2358:   { echo "$as_me:$LINENO: result: $AWK" >&5
        !          2359: echo "${ECHO_T}$AWK" >&6; }
1.1       root     2360: else
1.1.1.5 ! root     2361:   { echo "$as_me:$LINENO: result: no" >&5
        !          2362: echo "${ECHO_T}no" >&6; }
1.1       root     2363: fi
                   2364: 
1.1.1.5 ! root     2365: 
1.1       root     2366:   test -n "$AWK" && break
                   2367: done
                   2368: 
1.1.1.5 ! root     2369: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          2370: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
        !          2371: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          2372: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     2373:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2374: else
                   2375:   cat >conftest.make <<\_ACEOF
1.1.1.5 ! root     2376: SHELL = /bin/sh
1.1       root     2377: all:
1.1.1.5 ! root     2378:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.1       root     2379: _ACEOF
                   2380: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.5 ! root     2381: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          2382:   *@@@%%%=?*=@@@%%%*)
        !          2383:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          2384:   *)
        !          2385:     eval ac_cv_prog_make_${ac_make}_set=no;;
        !          2386: esac
1.1       root     2387: rm -f conftest.make
                   2388: fi
1.1.1.5 ! root     2389: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          2390:   { echo "$as_me:$LINENO: result: yes" >&5
        !          2391: echo "${ECHO_T}yes" >&6; }
1.1       root     2392:   SET_MAKE=
                   2393: else
1.1.1.5 ! root     2394:   { echo "$as_me:$LINENO: result: no" >&5
        !          2395: echo "${ECHO_T}no" >&6; }
1.1       root     2396:   SET_MAKE="MAKE=${MAKE-make}"
                   2397: fi
                   2398: 
1.1.1.5 ! root     2399: rm -rf .tst 2>/dev/null
        !          2400: mkdir .tst 2>/dev/null
        !          2401: if test -d .tst; then
        !          2402:   am__leading_dot=.
        !          2403: else
        !          2404:   am__leading_dot=_
        !          2405: fi
        !          2406: rmdir .tst 2>/dev/null
        !          2407: 
        !          2408: if test "`cd $srcdir && pwd`" != "`pwd`"; then
        !          2409:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
        !          2410:   # is not polluted with repeated "-I."
        !          2411:   am__isrc=' -I$(srcdir)'
        !          2412:   # test to see if srcdir already configured
        !          2413:   if test -f $srcdir/config.status; then
        !          2414:     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.1       root     2415: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   2416:    { (exit 1); exit 1; }; }
1.1.1.5 ! root     2417:   fi
1.1       root     2418: fi
                   2419: 
                   2420: # test whether we have cygpath
                   2421: if test -z "$CYGPATH_W"; then
                   2422:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2423:     CYGPATH_W='cygpath -w'
                   2424:   else
                   2425:     CYGPATH_W=echo
                   2426:   fi
                   2427: fi
                   2428: 
                   2429: 
                   2430: # Define the identity of the package.
                   2431:  PACKAGE=tme
1.1.1.5 ! root     2432:  VERSION=0.8
1.1       root     2433: 
                   2434: 
                   2435: cat >>confdefs.h <<_ACEOF
                   2436: #define PACKAGE "$PACKAGE"
                   2437: _ACEOF
                   2438: 
                   2439: 
                   2440: cat >>confdefs.h <<_ACEOF
                   2441: #define VERSION "$VERSION"
                   2442: _ACEOF
                   2443: 
                   2444: # Some tools Automake needs.
                   2445: 
                   2446: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2447: 
                   2448: 
                   2449: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2450: 
                   2451: 
                   2452: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2453: 
                   2454: 
                   2455: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2456: 
                   2457: 
                   2458: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2459: 
1.1.1.5 ! root     2460: install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1.1       root     2461: 
                   2462: # Installed binaries are usually stripped using `strip' when the user
                   2463: # run `make install-strip'.  However `strip' might not be the right
                   2464: # tool to use in cross-compilation environments, therefore Automake
                   2465: # will honor the `STRIP' environment variable to overrule this program.
                   2466: if test "$cross_compiling" != no; then
                   2467:   if test -n "$ac_tool_prefix"; then
                   2468:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2469: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1.1.5 ! root     2470: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2471: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2472: if test "${ac_cv_prog_STRIP+set}" = set; then
                   2473:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2474: else
                   2475:   if test -n "$STRIP"; then
                   2476:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2477: else
                   2478: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2479: for as_dir in $PATH
                   2480: do
                   2481:   IFS=$as_save_IFS
                   2482:   test -z "$as_dir" && as_dir=.
                   2483:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2484:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2485:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2486:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2487:     break 2
                   2488:   fi
                   2489: done
                   2490: done
1.1.1.5 ! root     2491: IFS=$as_save_IFS
1.1       root     2492: 
                   2493: fi
                   2494: fi
                   2495: STRIP=$ac_cv_prog_STRIP
                   2496: if test -n "$STRIP"; then
1.1.1.5 ! root     2497:   { echo "$as_me:$LINENO: result: $STRIP" >&5
        !          2498: echo "${ECHO_T}$STRIP" >&6; }
1.1       root     2499: else
1.1.1.5 ! root     2500:   { echo "$as_me:$LINENO: result: no" >&5
        !          2501: echo "${ECHO_T}no" >&6; }
1.1       root     2502: fi
                   2503: 
1.1.1.5 ! root     2504: 
1.1       root     2505: fi
                   2506: if test -z "$ac_cv_prog_STRIP"; then
                   2507:   ac_ct_STRIP=$STRIP
                   2508:   # Extract the first word of "strip", so it can be a program name with args.
                   2509: set dummy strip; ac_word=$2
1.1.1.5 ! root     2510: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2511: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2512: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   2513:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2514: else
                   2515:   if test -n "$ac_ct_STRIP"; then
                   2516:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2517: else
                   2518: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2519: for as_dir in $PATH
                   2520: do
                   2521:   IFS=$as_save_IFS
                   2522:   test -z "$as_dir" && as_dir=.
                   2523:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2524:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2525:     ac_cv_prog_ac_ct_STRIP="strip"
                   2526:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2527:     break 2
                   2528:   fi
                   2529: done
                   2530: done
1.1.1.5 ! root     2531: IFS=$as_save_IFS
1.1       root     2532: 
                   2533: fi
                   2534: fi
                   2535: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2536: if test -n "$ac_ct_STRIP"; then
1.1.1.5 ! root     2537:   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
        !          2538: echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1.1       root     2539: else
1.1.1.5 ! root     2540:   { echo "$as_me:$LINENO: result: no" >&5
        !          2541: echo "${ECHO_T}no" >&6; }
1.1       root     2542: fi
                   2543: 
1.1.1.5 ! root     2544:   if test "x$ac_ct_STRIP" = x; then
        !          2545:     STRIP=":"
        !          2546:   else
        !          2547:     case $cross_compiling:$ac_tool_warned in
        !          2548: yes:)
        !          2549: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
        !          2550: whose name does not start with the host triplet.  If you think this
        !          2551: configuration is useful to you, please write to autoconf@gnu.org." >&5
        !          2552: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
        !          2553: whose name does not start with the host triplet.  If you think this
        !          2554: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
        !          2555: ac_tool_warned=yes ;;
        !          2556: esac
        !          2557:     STRIP=$ac_ct_STRIP
        !          2558:   fi
1.1       root     2559: else
                   2560:   STRIP="$ac_cv_prog_STRIP"
                   2561: fi
                   2562: 
                   2563: fi
1.1.1.5 ! root     2564: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.1       root     2565: 
                   2566: # We need awk for the "check" target.  The system "awk" is bad on
                   2567: # some platforms.
1.1.1.5 ! root     2568: # Always define AMTAR for backward compatibility.
        !          2569: 
        !          2570: AMTAR=${AMTAR-"${am_missing_run}tar"}
        !          2571: 
        !          2572: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
        !          2573: 
1.1       root     2574: 
                   2575: 
                   2576: 
                   2577: 
1.1.1.5 ! root     2578: 
        !          2579: ac_config_headers="$ac_config_headers config.h"
1.1       root     2580: 
                   2581: 
                   2582: ac_ext=c
                   2583: ac_cpp='$CPP $CPPFLAGS'
                   2584: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2585: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2586: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2587: if test -n "$ac_tool_prefix"; then
                   2588:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2589: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.5 ! root     2590: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2591: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2592: if test "${ac_cv_prog_CC+set}" = set; then
                   2593:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2594: else
                   2595:   if test -n "$CC"; then
                   2596:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2597: else
                   2598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2599: for as_dir in $PATH
                   2600: do
                   2601:   IFS=$as_save_IFS
                   2602:   test -z "$as_dir" && as_dir=.
                   2603:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2604:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2605:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2606:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2607:     break 2
                   2608:   fi
                   2609: done
                   2610: done
1.1.1.5 ! root     2611: IFS=$as_save_IFS
1.1       root     2612: 
                   2613: fi
                   2614: fi
                   2615: CC=$ac_cv_prog_CC
                   2616: if test -n "$CC"; then
1.1.1.5 ! root     2617:   { echo "$as_me:$LINENO: result: $CC" >&5
        !          2618: echo "${ECHO_T}$CC" >&6; }
1.1       root     2619: else
1.1.1.5 ! root     2620:   { echo "$as_me:$LINENO: result: no" >&5
        !          2621: echo "${ECHO_T}no" >&6; }
1.1       root     2622: fi
                   2623: 
1.1.1.5 ! root     2624: 
1.1       root     2625: fi
                   2626: if test -z "$ac_cv_prog_CC"; then
                   2627:   ac_ct_CC=$CC
                   2628:   # Extract the first word of "gcc", so it can be a program name with args.
                   2629: set dummy gcc; ac_word=$2
1.1.1.5 ! root     2630: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2631: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2632: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2633:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2634: else
                   2635:   if test -n "$ac_ct_CC"; then
                   2636:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2637: else
                   2638: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2639: for as_dir in $PATH
                   2640: do
                   2641:   IFS=$as_save_IFS
                   2642:   test -z "$as_dir" && as_dir=.
                   2643:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2644:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2645:     ac_cv_prog_ac_ct_CC="gcc"
                   2646:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2647:     break 2
                   2648:   fi
                   2649: done
                   2650: done
1.1.1.5 ! root     2651: IFS=$as_save_IFS
1.1       root     2652: 
                   2653: fi
                   2654: fi
                   2655: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2656: if test -n "$ac_ct_CC"; then
1.1.1.5 ! root     2657:   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          2658: echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1       root     2659: else
1.1.1.5 ! root     2660:   { echo "$as_me:$LINENO: result: no" >&5
        !          2661: echo "${ECHO_T}no" >&6; }
1.1       root     2662: fi
                   2663: 
1.1.1.5 ! root     2664:   if test "x$ac_ct_CC" = x; then
        !          2665:     CC=""
        !          2666:   else
        !          2667:     case $cross_compiling:$ac_tool_warned in
        !          2668: yes:)
        !          2669: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
        !          2670: whose name does not start with the host triplet.  If you think this
        !          2671: configuration is useful to you, please write to autoconf@gnu.org." >&5
        !          2672: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
        !          2673: whose name does not start with the host triplet.  If you think this
        !          2674: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
        !          2675: ac_tool_warned=yes ;;
        !          2676: esac
        !          2677:     CC=$ac_ct_CC
        !          2678:   fi
1.1       root     2679: else
                   2680:   CC="$ac_cv_prog_CC"
                   2681: fi
                   2682: 
                   2683: if test -z "$CC"; then
1.1.1.5 ! root     2684:           if test -n "$ac_tool_prefix"; then
        !          2685:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       root     2686: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.5 ! root     2687: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2688: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2689: if test "${ac_cv_prog_CC+set}" = set; then
                   2690:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2691: else
                   2692:   if test -n "$CC"; then
                   2693:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2694: else
                   2695: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2696: for as_dir in $PATH
                   2697: do
                   2698:   IFS=$as_save_IFS
                   2699:   test -z "$as_dir" && as_dir=.
                   2700:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2701:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2702:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2703:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2704:     break 2
                   2705:   fi
                   2706: done
                   2707: done
1.1.1.5 ! root     2708: IFS=$as_save_IFS
1.1       root     2709: 
                   2710: fi
                   2711: fi
                   2712: CC=$ac_cv_prog_CC
                   2713: if test -n "$CC"; then
1.1.1.5 ! root     2714:   { echo "$as_me:$LINENO: result: $CC" >&5
        !          2715: echo "${ECHO_T}$CC" >&6; }
1.1       root     2716: else
1.1.1.5 ! root     2717:   { echo "$as_me:$LINENO: result: no" >&5
        !          2718: echo "${ECHO_T}no" >&6; }
1.1       root     2719: fi
                   2720: 
                   2721: 
1.1.1.5 ! root     2722:   fi
1.1       root     2723: fi
                   2724: if test -z "$CC"; then
                   2725:   # Extract the first word of "cc", so it can be a program name with args.
                   2726: set dummy cc; ac_word=$2
1.1.1.5 ! root     2727: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2728: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2729: if test "${ac_cv_prog_CC+set}" = set; then
                   2730:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2731: else
                   2732:   if test -n "$CC"; then
                   2733:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2734: else
                   2735:   ac_prog_rejected=no
                   2736: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2737: for as_dir in $PATH
                   2738: do
                   2739:   IFS=$as_save_IFS
                   2740:   test -z "$as_dir" && as_dir=.
                   2741:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2742:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2743:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2744:        ac_prog_rejected=yes
                   2745:        continue
                   2746:      fi
                   2747:     ac_cv_prog_CC="cc"
                   2748:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2749:     break 2
                   2750:   fi
                   2751: done
                   2752: done
1.1.1.5 ! root     2753: IFS=$as_save_IFS
1.1       root     2754: 
                   2755: if test $ac_prog_rejected = yes; then
                   2756:   # We found a bogon in the path, so make sure we never use it.
                   2757:   set dummy $ac_cv_prog_CC
                   2758:   shift
                   2759:   if test $# != 0; then
                   2760:     # We chose a different compiler from the bogus one.
                   2761:     # However, it has the same basename, so the bogon will be chosen
                   2762:     # first if we set CC to just the basename; use the full file name.
                   2763:     shift
                   2764:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2765:   fi
                   2766: fi
                   2767: fi
                   2768: fi
                   2769: CC=$ac_cv_prog_CC
                   2770: if test -n "$CC"; then
1.1.1.5 ! root     2771:   { echo "$as_me:$LINENO: result: $CC" >&5
        !          2772: echo "${ECHO_T}$CC" >&6; }
1.1       root     2773: else
1.1.1.5 ! root     2774:   { echo "$as_me:$LINENO: result: no" >&5
        !          2775: echo "${ECHO_T}no" >&6; }
1.1       root     2776: fi
                   2777: 
1.1.1.5 ! root     2778: 
1.1       root     2779: fi
                   2780: if test -z "$CC"; then
                   2781:   if test -n "$ac_tool_prefix"; then
1.1.1.5 ! root     2782:   for ac_prog in cl.exe
1.1       root     2783:   do
                   2784:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2785: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.5 ! root     2786: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2787: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2788: if test "${ac_cv_prog_CC+set}" = set; then
                   2789:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2790: else
                   2791:   if test -n "$CC"; then
                   2792:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2793: else
                   2794: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2795: for as_dir in $PATH
                   2796: do
                   2797:   IFS=$as_save_IFS
                   2798:   test -z "$as_dir" && as_dir=.
                   2799:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2800:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2801:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2802:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2803:     break 2
                   2804:   fi
                   2805: done
                   2806: done
1.1.1.5 ! root     2807: IFS=$as_save_IFS
1.1       root     2808: 
                   2809: fi
                   2810: fi
                   2811: CC=$ac_cv_prog_CC
                   2812: if test -n "$CC"; then
1.1.1.5 ! root     2813:   { echo "$as_me:$LINENO: result: $CC" >&5
        !          2814: echo "${ECHO_T}$CC" >&6; }
1.1       root     2815: else
1.1.1.5 ! root     2816:   { echo "$as_me:$LINENO: result: no" >&5
        !          2817: echo "${ECHO_T}no" >&6; }
1.1       root     2818: fi
                   2819: 
1.1.1.5 ! root     2820: 
1.1       root     2821:     test -n "$CC" && break
                   2822:   done
                   2823: fi
                   2824: if test -z "$CC"; then
                   2825:   ac_ct_CC=$CC
1.1.1.5 ! root     2826:   for ac_prog in cl.exe
1.1       root     2827: do
                   2828:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2829: set dummy $ac_prog; ac_word=$2
1.1.1.5 ! root     2830: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2831: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     2832: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2833:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2834: else
                   2835:   if test -n "$ac_ct_CC"; then
                   2836:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2837: else
                   2838: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2839: for as_dir in $PATH
                   2840: do
                   2841:   IFS=$as_save_IFS
                   2842:   test -z "$as_dir" && as_dir=.
                   2843:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     2844:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     2845:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2846:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2847:     break 2
                   2848:   fi
                   2849: done
                   2850: done
1.1.1.5 ! root     2851: IFS=$as_save_IFS
1.1       root     2852: 
                   2853: fi
                   2854: fi
                   2855: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2856: if test -n "$ac_ct_CC"; then
1.1.1.5 ! root     2857:   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          2858: echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1       root     2859: else
1.1.1.5 ! root     2860:   { echo "$as_me:$LINENO: result: no" >&5
        !          2861: echo "${ECHO_T}no" >&6; }
1.1       root     2862: fi
                   2863: 
1.1.1.5 ! root     2864: 
1.1       root     2865:   test -n "$ac_ct_CC" && break
                   2866: done
                   2867: 
1.1.1.5 ! root     2868:   if test "x$ac_ct_CC" = x; then
        !          2869:     CC=""
        !          2870:   else
        !          2871:     case $cross_compiling:$ac_tool_warned in
        !          2872: yes:)
        !          2873: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
        !          2874: whose name does not start with the host triplet.  If you think this
        !          2875: configuration is useful to you, please write to autoconf@gnu.org." >&5
        !          2876: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
        !          2877: whose name does not start with the host triplet.  If you think this
        !          2878: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
        !          2879: ac_tool_warned=yes ;;
        !          2880: esac
        !          2881:     CC=$ac_ct_CC
        !          2882:   fi
1.1       root     2883: fi
                   2884: 
                   2885: fi
                   2886: 
                   2887: 
                   2888: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2889: See \`config.log' for more details." >&5
                   2890: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2891: See \`config.log' for more details." >&2;}
                   2892:    { (exit 1); exit 1; }; }
                   2893: 
                   2894: # Provide some information about the compiler.
1.1.1.5 ! root     2895: echo "$as_me:$LINENO: checking for C compiler version" >&5
1.1       root     2896: ac_compiler=`set X $ac_compile; echo $2`
1.1.1.5 ! root     2897: { (ac_try="$ac_compiler --version >&5"
        !          2898: case "(($ac_try" in
        !          2899:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2900:   *) ac_try_echo=$ac_try;;
        !          2901: esac
        !          2902: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          2903:   (eval "$ac_compiler --version >&5") 2>&5
1.1       root     2904:   ac_status=$?
                   2905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2906:   (exit $ac_status); }
1.1.1.5 ! root     2907: { (ac_try="$ac_compiler -v >&5"
        !          2908: case "(($ac_try" in
        !          2909:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2910:   *) ac_try_echo=$ac_try;;
        !          2911: esac
        !          2912: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          2913:   (eval "$ac_compiler -v >&5") 2>&5
1.1       root     2914:   ac_status=$?
                   2915:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2916:   (exit $ac_status); }
1.1.1.5 ! root     2917: { (ac_try="$ac_compiler -V >&5"
        !          2918: case "(($ac_try" in
        !          2919:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2920:   *) ac_try_echo=$ac_try;;
        !          2921: esac
        !          2922: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          2923:   (eval "$ac_compiler -V >&5") 2>&5
1.1       root     2924:   ac_status=$?
                   2925:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2926:   (exit $ac_status); }
                   2927: 
                   2928: cat >conftest.$ac_ext <<_ACEOF
                   2929: /* confdefs.h.  */
                   2930: _ACEOF
                   2931: cat confdefs.h >>conftest.$ac_ext
                   2932: cat >>conftest.$ac_ext <<_ACEOF
                   2933: /* end confdefs.h.  */
                   2934: 
                   2935: int
                   2936: main ()
                   2937: {
                   2938: 
                   2939:   ;
                   2940:   return 0;
                   2941: }
                   2942: _ACEOF
                   2943: ac_clean_files_save=$ac_clean_files
                   2944: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2945: # Try to create an executable without -o first, disregard a.out.
                   2946: # It will help us diagnose broken compilers, and finding out an intuition
                   2947: # of exeext.
1.1.1.5 ! root     2948: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
        !          2949: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.1       root     2950: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1.1.5 ! root     2951: #
        !          2952: # List of possible output files, starting from the most likely.
        !          2953: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
        !          2954: # only as a last resort.  b.out is created by i960 compilers.
        !          2955: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
        !          2956: #
        !          2957: # The IRIX 6 linker writes into existing files which may not be
        !          2958: # executable, retaining their permissions.  Remove them first so a
        !          2959: # subsequent execution test works.
        !          2960: ac_rmfiles=
        !          2961: for ac_file in $ac_files
        !          2962: do
        !          2963:   case $ac_file in
        !          2964:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
        !          2965:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
        !          2966:   esac
        !          2967: done
        !          2968: rm -f $ac_rmfiles
        !          2969: 
        !          2970: if { (ac_try="$ac_link_default"
        !          2971: case "(($ac_try" in
        !          2972:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2973:   *) ac_try_echo=$ac_try;;
        !          2974: esac
        !          2975: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          2976:   (eval "$ac_link_default") 2>&5
1.1       root     2977:   ac_status=$?
                   2978:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2979:   (exit $ac_status); }; then
1.1.1.5 ! root     2980:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
        !          2981: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
        !          2982: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
        !          2983: # so that the user can short-circuit this test for compilers unknown to
        !          2984: # Autoconf.
        !          2985: for ac_file in $ac_files ''
1.1       root     2986: do
                   2987:   test -f "$ac_file" || continue
                   2988:   case $ac_file in
1.1.1.5 ! root     2989:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
        !          2990:        ;;
1.1       root     2991:     [ab].out )
1.1.1.5 ! root     2992:        # We found the default executable, but exeext='' is most
        !          2993:        # certainly right.
        !          2994:        break;;
1.1       root     2995:     *.* )
1.1.1.5 ! root     2996:         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
        !          2997:        then :; else
        !          2998:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          2999:        fi
        !          3000:        # We set ac_cv_exeext here because the later test for it is not
        !          3001:        # safe: cross compilers may not add the suffix if given an `-o'
        !          3002:        # argument, so we may need to know it at that point already.
        !          3003:        # Even if this section looks crufty: it has the advantage of
        !          3004:        # actually working.
        !          3005:        break;;
1.1       root     3006:     * )
1.1.1.5 ! root     3007:        break;;
1.1       root     3008:   esac
                   3009: done
1.1.1.5 ! root     3010: test "$ac_cv_exeext" = no && ac_cv_exeext=
        !          3011: 
1.1       root     3012: else
1.1.1.5 ! root     3013:   ac_file=''
        !          3014: fi
        !          3015: 
        !          3016: { echo "$as_me:$LINENO: result: $ac_file" >&5
        !          3017: echo "${ECHO_T}$ac_file" >&6; }
        !          3018: if test -z "$ac_file"; then
1.1       root     3019:   echo "$as_me: failed program was:" >&5
                   3020: sed 's/^/| /' conftest.$ac_ext >&5
                   3021: 
                   3022: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
                   3023: See \`config.log' for more details." >&5
                   3024: echo "$as_me: error: C compiler cannot create executables
                   3025: See \`config.log' for more details." >&2;}
                   3026:    { (exit 77); exit 77; }; }
                   3027: fi
                   3028: 
                   3029: ac_exeext=$ac_cv_exeext
                   3030: 
1.1.1.5 ! root     3031: # Check that the compiler produces executables we can run.  If not, either
1.1       root     3032: # the compiler is broken, or we cross compile.
1.1.1.5 ! root     3033: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
        !          3034: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.1       root     3035: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   3036: # If not cross compiling, check that we can run a simple program.
                   3037: if test "$cross_compiling" != yes; then
                   3038:   if { ac_try='./$ac_file'
1.1.1.5 ! root     3039:   { (case "(($ac_try" in
        !          3040:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3041:   *) ac_try_echo=$ac_try;;
        !          3042: esac
        !          3043: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3044:   (eval "$ac_try") 2>&5
1.1       root     3045:   ac_status=$?
                   3046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3047:   (exit $ac_status); }; }; then
                   3048:     cross_compiling=no
                   3049:   else
                   3050:     if test "$cross_compiling" = maybe; then
                   3051:        cross_compiling=yes
                   3052:     else
                   3053:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
                   3054: If you meant to cross compile, use \`--host'.
                   3055: See \`config.log' for more details." >&5
                   3056: echo "$as_me: error: cannot run C compiled programs.
                   3057: If you meant to cross compile, use \`--host'.
                   3058: See \`config.log' for more details." >&2;}
                   3059:    { (exit 1); exit 1; }; }
                   3060:     fi
                   3061:   fi
                   3062: fi
1.1.1.5 ! root     3063: { echo "$as_me:$LINENO: result: yes" >&5
        !          3064: echo "${ECHO_T}yes" >&6; }
1.1       root     3065: 
                   3066: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   3067: ac_clean_files=$ac_clean_files_save
1.1.1.5 ! root     3068: # Check that the compiler produces executables we can run.  If not, either
1.1       root     3069: # the compiler is broken, or we cross compile.
1.1.1.5 ! root     3070: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
        !          3071: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
        !          3072: { echo "$as_me:$LINENO: result: $cross_compiling" >&5
        !          3073: echo "${ECHO_T}$cross_compiling" >&6; }
        !          3074: 
        !          3075: { echo "$as_me:$LINENO: checking for suffix of executables" >&5
        !          3076: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
        !          3077: if { (ac_try="$ac_link"
        !          3078: case "(($ac_try" in
        !          3079:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3080:   *) ac_try_echo=$ac_try;;
        !          3081: esac
        !          3082: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3083:   (eval "$ac_link") 2>&5
1.1       root     3084:   ac_status=$?
                   3085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3086:   (exit $ac_status); }; then
                   3087:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3088: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3089: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3090: # `rm'.
                   3091: for ac_file in conftest.exe conftest conftest.*; do
                   3092:   test -f "$ac_file" || continue
                   3093:   case $ac_file in
1.1.1.5 ! root     3094:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.1       root     3095:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.1.1.5 ! root     3096:          break;;
1.1       root     3097:     * ) break;;
                   3098:   esac
                   3099: done
                   3100: else
                   3101:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   3102: See \`config.log' for more details." >&5
                   3103: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   3104: See \`config.log' for more details." >&2;}
                   3105:    { (exit 1); exit 1; }; }
                   3106: fi
                   3107: 
                   3108: rm -f conftest$ac_cv_exeext
1.1.1.5 ! root     3109: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
        !          3110: echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.1       root     3111: 
                   3112: rm -f conftest.$ac_ext
                   3113: EXEEXT=$ac_cv_exeext
                   3114: ac_exeext=$EXEEXT
1.1.1.5 ! root     3115: { echo "$as_me:$LINENO: checking for suffix of object files" >&5
        !          3116: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.1       root     3117: if test "${ac_cv_objext+set}" = set; then
                   3118:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3119: else
                   3120:   cat >conftest.$ac_ext <<_ACEOF
                   3121: /* confdefs.h.  */
                   3122: _ACEOF
                   3123: cat confdefs.h >>conftest.$ac_ext
                   3124: cat >>conftest.$ac_ext <<_ACEOF
                   3125: /* end confdefs.h.  */
                   3126: 
                   3127: int
                   3128: main ()
                   3129: {
                   3130: 
                   3131:   ;
                   3132:   return 0;
                   3133: }
                   3134: _ACEOF
                   3135: rm -f conftest.o conftest.obj
1.1.1.5 ! root     3136: if { (ac_try="$ac_compile"
        !          3137: case "(($ac_try" in
        !          3138:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3139:   *) ac_try_echo=$ac_try;;
        !          3140: esac
        !          3141: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3142:   (eval "$ac_compile") 2>&5
1.1       root     3143:   ac_status=$?
                   3144:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3145:   (exit $ac_status); }; then
1.1.1.5 ! root     3146:   for ac_file in conftest.o conftest.obj conftest.*; do
        !          3147:   test -f "$ac_file" || continue;
1.1       root     3148:   case $ac_file in
1.1.1.5 ! root     3149:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.1       root     3150:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3151:        break;;
                   3152:   esac
                   3153: done
                   3154: else
                   3155:   echo "$as_me: failed program was:" >&5
                   3156: sed 's/^/| /' conftest.$ac_ext >&5
                   3157: 
                   3158: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   3159: See \`config.log' for more details." >&5
                   3160: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   3161: See \`config.log' for more details." >&2;}
                   3162:    { (exit 1); exit 1; }; }
                   3163: fi
                   3164: 
                   3165: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3166: fi
1.1.1.5 ! root     3167: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
        !          3168: echo "${ECHO_T}$ac_cv_objext" >&6; }
1.1       root     3169: OBJEXT=$ac_cv_objext
                   3170: ac_objext=$OBJEXT
1.1.1.5 ! root     3171: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
        !          3172: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.1       root     3173: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   3174:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3175: else
                   3176:   cat >conftest.$ac_ext <<_ACEOF
                   3177: /* confdefs.h.  */
                   3178: _ACEOF
                   3179: cat confdefs.h >>conftest.$ac_ext
                   3180: cat >>conftest.$ac_ext <<_ACEOF
                   3181: /* end confdefs.h.  */
                   3182: 
                   3183: int
                   3184: main ()
                   3185: {
                   3186: #ifndef __GNUC__
                   3187:        choke me
                   3188: #endif
                   3189: 
                   3190:   ;
                   3191:   return 0;
                   3192: }
                   3193: _ACEOF
                   3194: rm -f conftest.$ac_objext
1.1.1.5 ! root     3195: if { (ac_try="$ac_compile"
        !          3196: case "(($ac_try" in
        !          3197:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3198:   *) ac_try_echo=$ac_try;;
        !          3199: esac
        !          3200: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3201:   (eval "$ac_compile") 2>conftest.er1
1.1       root     3202:   ac_status=$?
1.1.1.5 ! root     3203:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3204:   rm -f conftest.er1
        !          3205:   cat conftest.err >&5
1.1       root     3206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3207:   (exit $ac_status); } && {
        !          3208:         test -z "$ac_c_werror_flag" ||
        !          3209:         test ! -s conftest.err
        !          3210:        } && test -s conftest.$ac_objext; then
1.1       root     3211:   ac_compiler_gnu=yes
                   3212: else
                   3213:   echo "$as_me: failed program was:" >&5
                   3214: sed 's/^/| /' conftest.$ac_ext >&5
                   3215: 
1.1.1.5 ! root     3216:        ac_compiler_gnu=no
1.1       root     3217: fi
1.1.1.5 ! root     3218: 
        !          3219: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     3220: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3221: 
                   3222: fi
1.1.1.5 ! root     3223: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
        !          3224: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.1       root     3225: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3226: ac_test_CFLAGS=${CFLAGS+set}
                   3227: ac_save_CFLAGS=$CFLAGS
1.1.1.5 ! root     3228: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
        !          3229: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.1       root     3230: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3231:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3232: else
1.1.1.5 ! root     3233:   ac_save_c_werror_flag=$ac_c_werror_flag
        !          3234:    ac_c_werror_flag=yes
        !          3235:    ac_cv_prog_cc_g=no
        !          3236:    CFLAGS="-g"
        !          3237:    cat >conftest.$ac_ext <<_ACEOF
1.1       root     3238: /* confdefs.h.  */
                   3239: _ACEOF
                   3240: cat confdefs.h >>conftest.$ac_ext
                   3241: cat >>conftest.$ac_ext <<_ACEOF
                   3242: /* end confdefs.h.  */
                   3243: 
                   3244: int
                   3245: main ()
                   3246: {
                   3247: 
                   3248:   ;
                   3249:   return 0;
                   3250: }
                   3251: _ACEOF
                   3252: rm -f conftest.$ac_objext
1.1.1.5 ! root     3253: if { (ac_try="$ac_compile"
        !          3254: case "(($ac_try" in
        !          3255:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3256:   *) ac_try_echo=$ac_try;;
        !          3257: esac
        !          3258: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3259:   (eval "$ac_compile") 2>conftest.er1
1.1       root     3260:   ac_status=$?
1.1.1.5 ! root     3261:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3262:   rm -f conftest.er1
        !          3263:   cat conftest.err >&5
1.1       root     3264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3265:   (exit $ac_status); } && {
        !          3266:         test -z "$ac_c_werror_flag" ||
        !          3267:         test ! -s conftest.err
        !          3268:        } && test -s conftest.$ac_objext; then
1.1       root     3269:   ac_cv_prog_cc_g=yes
                   3270: else
                   3271:   echo "$as_me: failed program was:" >&5
                   3272: sed 's/^/| /' conftest.$ac_ext >&5
                   3273: 
1.1.1.5 ! root     3274:        CFLAGS=""
        !          3275:       cat >conftest.$ac_ext <<_ACEOF
1.1       root     3276: /* confdefs.h.  */
                   3277: _ACEOF
                   3278: cat confdefs.h >>conftest.$ac_ext
                   3279: cat >>conftest.$ac_ext <<_ACEOF
                   3280: /* end confdefs.h.  */
1.1.1.5 ! root     3281: 
1.1       root     3282: int
                   3283: main ()
                   3284: {
1.1.1.5 ! root     3285: 
1.1       root     3286:   ;
                   3287:   return 0;
                   3288: }
                   3289: _ACEOF
1.1.1.5 ! root     3290: rm -f conftest.$ac_objext
        !          3291: if { (ac_try="$ac_compile"
        !          3292: case "(($ac_try" in
        !          3293:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3294:   *) ac_try_echo=$ac_try;;
        !          3295: esac
        !          3296: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3297:   (eval "$ac_compile") 2>conftest.er1
1.1       root     3298:   ac_status=$?
1.1.1.5 ! root     3299:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3300:   rm -f conftest.er1
        !          3301:   cat conftest.err >&5
1.1       root     3302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3303:   (exit $ac_status); } && {
        !          3304:         test -z "$ac_c_werror_flag" ||
        !          3305:         test ! -s conftest.err
        !          3306:        } && test -s conftest.$ac_objext; then
        !          3307:   :
1.1       root     3308: else
                   3309:   echo "$as_me: failed program was:" >&5
                   3310: sed 's/^/| /' conftest.$ac_ext >&5
                   3311: 
1.1.1.5 ! root     3312:        ac_c_werror_flag=$ac_save_c_werror_flag
        !          3313:         CFLAGS="-g"
        !          3314:         cat >conftest.$ac_ext <<_ACEOF
1.1       root     3315: /* confdefs.h.  */
                   3316: _ACEOF
                   3317: cat confdefs.h >>conftest.$ac_ext
                   3318: cat >>conftest.$ac_ext <<_ACEOF
                   3319: /* end confdefs.h.  */
1.1.1.5 ! root     3320: 
1.1       root     3321: int
                   3322: main ()
                   3323: {
1.1.1.5 ! root     3324: 
1.1       root     3325:   ;
                   3326:   return 0;
                   3327: }
                   3328: _ACEOF
                   3329: rm -f conftest.$ac_objext
1.1.1.5 ! root     3330: if { (ac_try="$ac_compile"
        !          3331: case "(($ac_try" in
        !          3332:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3333:   *) ac_try_echo=$ac_try;;
        !          3334: esac
        !          3335: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3336:   (eval "$ac_compile") 2>conftest.er1
1.1       root     3337:   ac_status=$?
1.1.1.5 ! root     3338:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3339:   rm -f conftest.er1
        !          3340:   cat conftest.err >&5
1.1       root     3341:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3342:   (exit $ac_status); } && {
        !          3343:         test -z "$ac_c_werror_flag" ||
        !          3344:         test ! -s conftest.err
        !          3345:        } && test -s conftest.$ac_objext; then
        !          3346:   ac_cv_prog_cc_g=yes
1.1       root     3347: else
                   3348:   echo "$as_me: failed program was:" >&5
                   3349: sed 's/^/| /' conftest.$ac_ext >&5
                   3350: 
1.1.1.5 ! root     3351: 
1.1       root     3352: fi
1.1.1.5 ! root     3353: 
        !          3354: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3355: fi
        !          3356: 
        !          3357: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3358: fi
        !          3359: 
        !          3360: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3361:    ac_c_werror_flag=$ac_save_c_werror_flag
        !          3362: fi
        !          3363: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
        !          3364: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
        !          3365: if test "$ac_test_CFLAGS" = set; then
        !          3366:   CFLAGS=$ac_save_CFLAGS
        !          3367: elif test $ac_cv_prog_cc_g = yes; then
        !          3368:   if test "$GCC" = yes; then
        !          3369:     CFLAGS="-g -O2"
        !          3370:   else
        !          3371:     CFLAGS="-g"
        !          3372:   fi
        !          3373: else
        !          3374:   if test "$GCC" = yes; then
        !          3375:     CFLAGS="-O2"
        !          3376:   else
        !          3377:     CFLAGS=
        !          3378:   fi
        !          3379: fi
        !          3380: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
        !          3381: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
        !          3382: if test "${ac_cv_prog_cc_c89+set}" = set; then
        !          3383:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3384: else
        !          3385:   ac_cv_prog_cc_c89=no
        !          3386: ac_save_CC=$CC
        !          3387: cat >conftest.$ac_ext <<_ACEOF
1.1       root     3388: /* confdefs.h.  */
                   3389: _ACEOF
                   3390: cat confdefs.h >>conftest.$ac_ext
                   3391: cat >>conftest.$ac_ext <<_ACEOF
                   3392: /* end confdefs.h.  */
1.1.1.5 ! root     3393: #include <stdarg.h>
        !          3394: #include <stdio.h>
        !          3395: #include <sys/types.h>
        !          3396: #include <sys/stat.h>
        !          3397: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          3398: struct buf { int x; };
        !          3399: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          3400: static char *e (p, i)
        !          3401:      char **p;
        !          3402:      int i;
        !          3403: {
        !          3404:   return p[i];
        !          3405: }
        !          3406: static char *f (char * (*g) (char **, int), char **p, ...)
        !          3407: {
        !          3408:   char *s;
        !          3409:   va_list v;
        !          3410:   va_start (v,p);
        !          3411:   s = g (p, va_arg (v,int));
        !          3412:   va_end (v);
        !          3413:   return s;
        !          3414: }
        !          3415: 
        !          3416: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          3417:    function prototypes and stuff, but not '\xHH' hex character constants.
        !          3418:    These don't provoke an error unfortunately, instead are silently treated
        !          3419:    as 'x'.  The following induces an error, until -std is added to get
        !          3420:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
        !          3421:    array size at least.  It's necessary to write '\x00'==0 to get something
        !          3422:    that's true only with -std.  */
        !          3423: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
        !          3424: 
        !          3425: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          3426:    inside strings and character constants.  */
        !          3427: #define FOO(x) 'x'
        !          3428: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
        !          3429: 
        !          3430: int test (int i, double x);
        !          3431: struct s1 {int (*f) (int a);};
        !          3432: struct s2 {int (*f) (double a);};
        !          3433: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          3434: int argc;
        !          3435: char **argv;
1.1       root     3436: int
                   3437: main ()
                   3438: {
1.1.1.5 ! root     3439: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1.1       root     3440:   ;
                   3441:   return 0;
                   3442: }
                   3443: _ACEOF
1.1.1.5 ! root     3444: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
        !          3445:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          3446: do
        !          3447:   CC="$ac_save_CC $ac_arg"
        !          3448:   rm -f conftest.$ac_objext
        !          3449: if { (ac_try="$ac_compile"
        !          3450: case "(($ac_try" in
        !          3451:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3452:   *) ac_try_echo=$ac_try;;
        !          3453: esac
        !          3454: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3455:   (eval "$ac_compile") 2>conftest.er1
1.1       root     3456:   ac_status=$?
1.1.1.5 ! root     3457:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3458:   rm -f conftest.er1
        !          3459:   cat conftest.err >&5
1.1       root     3460:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3461:   (exit $ac_status); } && {
        !          3462:         test -z "$ac_c_werror_flag" ||
        !          3463:         test ! -s conftest.err
        !          3464:        } && test -s conftest.$ac_objext; then
        !          3465:   ac_cv_prog_cc_c89=$ac_arg
1.1       root     3466: else
                   3467:   echo "$as_me: failed program was:" >&5
                   3468: sed 's/^/| /' conftest.$ac_ext >&5
                   3469: 
1.1.1.5 ! root     3470: 
1.1       root     3471: fi
1.1.1.5 ! root     3472: 
        !          3473: rm -f core conftest.err conftest.$ac_objext
        !          3474:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1       root     3475: done
1.1.1.5 ! root     3476: rm -f conftest.$ac_ext
        !          3477: CC=$ac_save_CC
        !          3478: 
1.1       root     3479: fi
1.1.1.5 ! root     3480: # AC_CACHE_VAL
        !          3481: case "x$ac_cv_prog_cc_c89" in
        !          3482:   x)
        !          3483:     { echo "$as_me:$LINENO: result: none needed" >&5
        !          3484: echo "${ECHO_T}none needed" >&6; } ;;
        !          3485:   xno)
        !          3486:     { echo "$as_me:$LINENO: result: unsupported" >&5
        !          3487: echo "${ECHO_T}unsupported" >&6; } ;;
        !          3488:   *)
        !          3489:     CC="$CC $ac_cv_prog_cc_c89"
        !          3490:     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
        !          3491: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
        !          3492: esac
1.1       root     3493: 
                   3494: 
                   3495: ac_ext=c
                   3496: ac_cpp='$CPP $CPPFLAGS'
                   3497: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3498: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3499: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.5 ! root     3500: DEPDIR="${am__leading_dot}deps"
1.1       root     3501: 
1.1.1.5 ! root     3502: ac_config_commands="$ac_config_commands depfiles"
1.1       root     3503: 
                   3504: 
                   3505: am_make=${MAKE-make}
                   3506: cat > confinc << 'END'
1.1.1.5 ! root     3507: am__doit:
1.1       root     3508:        @echo done
1.1.1.5 ! root     3509: .PHONY: am__doit
1.1       root     3510: END
                   3511: # If we don't find an include directive, just comment out the code.
1.1.1.5 ! root     3512: { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
        !          3513: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1.1       root     3514: am__include="#"
                   3515: am__quote=
                   3516: _am_result=none
                   3517: # First try GNU make style include.
                   3518: echo "include confinc" > confmf
                   3519: # We grep out `Entering directory' and `Leaving directory'
                   3520: # messages which can occur if `w' ends up in MAKEFLAGS.
                   3521: # In particular we don't look at `^make:' because GNU make might
                   3522: # be invoked under some other name (usually "gmake"), in which
                   3523: # case it prints its new name instead of `make'.
                   3524: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   3525:    am__include=include
                   3526:    am__quote=
                   3527:    _am_result=GNU
                   3528: fi
                   3529: # Now try BSD make style include.
                   3530: if test "$am__include" = "#"; then
                   3531:    echo '.include "confinc"' > confmf
                   3532:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   3533:       am__include=.include
                   3534:       am__quote="\""
                   3535:       _am_result=BSD
                   3536:    fi
                   3537: fi
                   3538: 
                   3539: 
1.1.1.5 ! root     3540: { echo "$as_me:$LINENO: result: $_am_result" >&5
        !          3541: echo "${ECHO_T}$_am_result" >&6; }
1.1       root     3542: rm -f confinc confmf
                   3543: 
1.1.1.5 ! root     3544: # Check whether --enable-dependency-tracking was given.
1.1       root     3545: if test "${enable_dependency_tracking+set}" = set; then
1.1.1.5 ! root     3546:   enableval=$enable_dependency_tracking;
        !          3547: fi
1.1       root     3548: 
                   3549: if test "x$enable_dependency_tracking" != xno; then
                   3550:   am_depcomp="$ac_aux_dir/depcomp"
                   3551:   AMDEPBACKSLASH='\'
                   3552: fi
1.1.1.5 ! root     3553:  if test "x$enable_dependency_tracking" != xno; then
1.1       root     3554:   AMDEP_TRUE=
                   3555:   AMDEP_FALSE='#'
                   3556: else
                   3557:   AMDEP_TRUE='#'
                   3558:   AMDEP_FALSE=
                   3559: fi
                   3560: 
                   3561: 
                   3562: 
                   3563: depcc="$CC"   am_compiler_list=
                   3564: 
1.1.1.5 ! root     3565: { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
        !          3566: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.1       root     3567: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3568:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3569: else
                   3570:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3571:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3572:   # making bogus files that we don't know about and never remove.  For
                   3573:   # instance it was reported that on HP-UX the gcc test will end up
                   3574:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3575:   # in D'.
                   3576:   mkdir conftest.dir
                   3577:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3578:   # using a relative directory.
                   3579:   cp "$am_depcomp" conftest.dir
                   3580:   cd conftest.dir
1.1.1.5 ! root     3581:   # We will build objects and dependencies in a subdirectory because
        !          3582:   # it helps to detect inapplicable dependency modes.  For instance
        !          3583:   # both Tru64's cc and ICC support -MD to output dependencies as a
        !          3584:   # side effect of compilation, but ICC will put the dependencies in
        !          3585:   # the current directory while Tru64 will put them in the object
        !          3586:   # directory.
        !          3587:   mkdir sub
1.1       root     3588: 
                   3589:   am_cv_CC_dependencies_compiler_type=none
                   3590:   if test "$am_compiler_list" = ""; then
                   3591:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3592:   fi
                   3593:   for depmode in $am_compiler_list; do
1.1.1.5 ! root     3594:     # Setup a source with many dependencies, because some compilers
        !          3595:     # like to wrap large dependency lists on column 80 (with \), and
        !          3596:     # we should not choose a depcomp mode which is confused by this.
        !          3597:     #
1.1       root     3598:     # We need to recreate these files for each test, as the compiler may
                   3599:     # overwrite some of them when testing with obscure command lines.
                   3600:     # This happens at least with the AIX C compiler.
1.1.1.5 ! root     3601:     : > sub/conftest.c
        !          3602:     for i in 1 2 3 4 5 6; do
        !          3603:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
        !          3604:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
        !          3605:       # Solaris 8's {/usr,}/bin/sh.
        !          3606:       touch sub/conftst$i.h
        !          3607:     done
        !          3608:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1       root     3609: 
                   3610:     case $depmode in
                   3611:     nosideeffect)
                   3612:       # after this tag, mechanisms are not by side-effect, so they'll
                   3613:       # only be used when explicitly requested
                   3614:       if test "x$enable_dependency_tracking" = xyes; then
                   3615:        continue
                   3616:       else
                   3617:        break
                   3618:       fi
                   3619:       ;;
                   3620:     none) break ;;
                   3621:     esac
                   3622:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3623:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3624:     # handle `-M -o', and we need to detect this.
                   3625:     if depmode=$depmode \
1.1.1.5 ! root     3626:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
        !          3627:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
        !          3628:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
        !          3629:          >/dev/null 2>conftest.err &&
        !          3630:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
        !          3631:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
        !          3632:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.1       root     3633:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.1.1.5 ! root     3634:       # icc doesn't choke on unknown options, it will just issue warnings
        !          3635:       # or remarks (even with -Werror).  So we grep stderr for any message
        !          3636:       # that says an option was ignored or not supported.
        !          3637:       # When given -MP, icc 7.0 and 7.1 complain thusly:
        !          3638:       #   icc: Command line warning: ignoring option '-M'; no argument required
        !          3639:       # The diagnosis changed in icc 8.0:
        !          3640:       #   icc: Command line remark: option '-MP' not supported
        !          3641:       if (grep 'ignoring option' conftest.err ||
        !          3642:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        !          3643:         am_cv_CC_dependencies_compiler_type=$depmode
        !          3644:         break
        !          3645:       fi
1.1       root     3646:     fi
                   3647:   done
                   3648: 
                   3649:   cd ..
                   3650:   rm -rf conftest.dir
                   3651: else
                   3652:   am_cv_CC_dependencies_compiler_type=none
                   3653: fi
                   3654: 
                   3655: fi
1.1.1.5 ! root     3656: { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          3657: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.1       root     3658: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3659: 
1.1.1.5 ! root     3660:  if
1.1       root     3661:   test "x$enable_dependency_tracking" != xno \
                   3662:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3663:   am__fastdepCC_TRUE=
                   3664:   am__fastdepCC_FALSE='#'
                   3665: else
                   3666:   am__fastdepCC_TRUE='#'
                   3667:   am__fastdepCC_FALSE=
                   3668: fi
                   3669: 
                   3670: 
                   3671: ac_ext=c
                   3672: ac_cpp='$CPP $CPPFLAGS'
                   3673: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3674: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3675: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.5 ! root     3676: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
        !          3677: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.1       root     3678: # On Suns, sometimes $CPP names a directory.
                   3679: if test -n "$CPP" && test -d "$CPP"; then
                   3680:   CPP=
                   3681: fi
                   3682: if test -z "$CPP"; then
                   3683:   if test "${ac_cv_prog_CPP+set}" = set; then
                   3684:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3685: else
                   3686:       # Double quotes because CPP needs to be expanded
                   3687:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3688:     do
                   3689:       ac_preproc_ok=false
                   3690: for ac_c_preproc_warn_flag in '' yes
                   3691: do
                   3692:   # Use a header file that comes with gcc, so configuring glibc
                   3693:   # with a fresh cross-compiler works.
                   3694:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3695:   # <limits.h> exists even on freestanding compilers.
                   3696:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3697:   # not just through cpp. "Syntax error" is here to catch this case.
                   3698:   cat >conftest.$ac_ext <<_ACEOF
                   3699: /* confdefs.h.  */
                   3700: _ACEOF
                   3701: cat confdefs.h >>conftest.$ac_ext
                   3702: cat >>conftest.$ac_ext <<_ACEOF
                   3703: /* end confdefs.h.  */
                   3704: #ifdef __STDC__
                   3705: # include <limits.h>
                   3706: #else
                   3707: # include <assert.h>
                   3708: #endif
1.1.1.5 ! root     3709:                     Syntax error
1.1       root     3710: _ACEOF
1.1.1.5 ! root     3711: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          3712: case "(($ac_try" in
        !          3713:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3714:   *) ac_try_echo=$ac_try;;
        !          3715: esac
        !          3716: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3717:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     3718:   ac_status=$?
                   3719:   grep -v '^ *+' conftest.er1 >conftest.err
                   3720:   rm -f conftest.er1
                   3721:   cat conftest.err >&5
                   3722:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3723:   (exit $ac_status); } >/dev/null && {
        !          3724:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          3725:         test ! -s conftest.err
        !          3726:        }; then
1.1       root     3727:   :
                   3728: else
                   3729:   echo "$as_me: failed program was:" >&5
                   3730: sed 's/^/| /' conftest.$ac_ext >&5
                   3731: 
                   3732:   # Broken: fails on valid input.
                   3733: continue
                   3734: fi
1.1.1.5 ! root     3735: 
1.1       root     3736: rm -f conftest.err conftest.$ac_ext
                   3737: 
1.1.1.5 ! root     3738:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       root     3739:   # can be detected and how.
                   3740:   cat >conftest.$ac_ext <<_ACEOF
                   3741: /* confdefs.h.  */
                   3742: _ACEOF
                   3743: cat confdefs.h >>conftest.$ac_ext
                   3744: cat >>conftest.$ac_ext <<_ACEOF
                   3745: /* end confdefs.h.  */
                   3746: #include <ac_nonexistent.h>
                   3747: _ACEOF
1.1.1.5 ! root     3748: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          3749: case "(($ac_try" in
        !          3750:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3751:   *) ac_try_echo=$ac_try;;
        !          3752: esac
        !          3753: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3754:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     3755:   ac_status=$?
                   3756:   grep -v '^ *+' conftest.er1 >conftest.err
                   3757:   rm -f conftest.er1
                   3758:   cat conftest.err >&5
                   3759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3760:   (exit $ac_status); } >/dev/null && {
        !          3761:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          3762:         test ! -s conftest.err
        !          3763:        }; then
1.1       root     3764:   # Broken: success on invalid input.
                   3765: continue
                   3766: else
                   3767:   echo "$as_me: failed program was:" >&5
                   3768: sed 's/^/| /' conftest.$ac_ext >&5
                   3769: 
                   3770:   # Passes both tests.
                   3771: ac_preproc_ok=:
                   3772: break
                   3773: fi
1.1.1.5 ! root     3774: 
1.1       root     3775: rm -f conftest.err conftest.$ac_ext
                   3776: 
                   3777: done
                   3778: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   3779: rm -f conftest.err conftest.$ac_ext
                   3780: if $ac_preproc_ok; then
                   3781:   break
                   3782: fi
                   3783: 
                   3784:     done
                   3785:     ac_cv_prog_CPP=$CPP
                   3786: 
                   3787: fi
                   3788:   CPP=$ac_cv_prog_CPP
                   3789: else
                   3790:   ac_cv_prog_CPP=$CPP
                   3791: fi
1.1.1.5 ! root     3792: { echo "$as_me:$LINENO: result: $CPP" >&5
        !          3793: echo "${ECHO_T}$CPP" >&6; }
1.1       root     3794: ac_preproc_ok=false
                   3795: for ac_c_preproc_warn_flag in '' yes
                   3796: do
                   3797:   # Use a header file that comes with gcc, so configuring glibc
                   3798:   # with a fresh cross-compiler works.
                   3799:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3800:   # <limits.h> exists even on freestanding compilers.
                   3801:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3802:   # not just through cpp. "Syntax error" is here to catch this case.
                   3803:   cat >conftest.$ac_ext <<_ACEOF
                   3804: /* confdefs.h.  */
                   3805: _ACEOF
                   3806: cat confdefs.h >>conftest.$ac_ext
                   3807: cat >>conftest.$ac_ext <<_ACEOF
                   3808: /* end confdefs.h.  */
                   3809: #ifdef __STDC__
                   3810: # include <limits.h>
                   3811: #else
                   3812: # include <assert.h>
                   3813: #endif
1.1.1.5 ! root     3814:                     Syntax error
1.1       root     3815: _ACEOF
1.1.1.5 ! root     3816: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          3817: case "(($ac_try" in
        !          3818:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3819:   *) ac_try_echo=$ac_try;;
        !          3820: esac
        !          3821: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3822:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     3823:   ac_status=$?
                   3824:   grep -v '^ *+' conftest.er1 >conftest.err
                   3825:   rm -f conftest.er1
                   3826:   cat conftest.err >&5
                   3827:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3828:   (exit $ac_status); } >/dev/null && {
        !          3829:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          3830:         test ! -s conftest.err
        !          3831:        }; then
1.1       root     3832:   :
                   3833: else
                   3834:   echo "$as_me: failed program was:" >&5
                   3835: sed 's/^/| /' conftest.$ac_ext >&5
                   3836: 
                   3837:   # Broken: fails on valid input.
                   3838: continue
                   3839: fi
1.1.1.5 ! root     3840: 
1.1       root     3841: rm -f conftest.err conftest.$ac_ext
                   3842: 
1.1.1.5 ! root     3843:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       root     3844:   # can be detected and how.
                   3845:   cat >conftest.$ac_ext <<_ACEOF
                   3846: /* confdefs.h.  */
                   3847: _ACEOF
                   3848: cat confdefs.h >>conftest.$ac_ext
                   3849: cat >>conftest.$ac_ext <<_ACEOF
                   3850: /* end confdefs.h.  */
                   3851: #include <ac_nonexistent.h>
                   3852: _ACEOF
1.1.1.5 ! root     3853: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          3854: case "(($ac_try" in
        !          3855:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3856:   *) ac_try_echo=$ac_try;;
        !          3857: esac
        !          3858: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          3859:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     3860:   ac_status=$?
                   3861:   grep -v '^ *+' conftest.er1 >conftest.err
                   3862:   rm -f conftest.er1
                   3863:   cat conftest.err >&5
                   3864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     3865:   (exit $ac_status); } >/dev/null && {
        !          3866:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          3867:         test ! -s conftest.err
        !          3868:        }; then
1.1       root     3869:   # Broken: success on invalid input.
                   3870: continue
                   3871: else
                   3872:   echo "$as_me: failed program was:" >&5
                   3873: sed 's/^/| /' conftest.$ac_ext >&5
                   3874: 
                   3875:   # Passes both tests.
                   3876: ac_preproc_ok=:
                   3877: break
                   3878: fi
1.1.1.5 ! root     3879: 
1.1       root     3880: rm -f conftest.err conftest.$ac_ext
                   3881: 
                   3882: done
                   3883: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   3884: rm -f conftest.err conftest.$ac_ext
                   3885: if $ac_preproc_ok; then
                   3886:   :
                   3887: else
                   3888:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   3889: See \`config.log' for more details." >&5
                   3890: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   3891: See \`config.log' for more details." >&2;}
                   3892:    { (exit 1); exit 1; }; }
                   3893: fi
                   3894: 
                   3895: ac_ext=c
                   3896: ac_cpp='$CPP $CPPFLAGS'
                   3897: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3898: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3899: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3900: 
                   3901: for ac_prog in 'bison -y' byacc
                   3902: do
                   3903:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3904: set dummy $ac_prog; ac_word=$2
1.1.1.5 ! root     3905: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3906: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     3907: if test "${ac_cv_prog_YACC+set}" = set; then
                   3908:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3909: else
                   3910:   if test -n "$YACC"; then
                   3911:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3912: else
                   3913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3914: for as_dir in $PATH
                   3915: do
                   3916:   IFS=$as_save_IFS
                   3917:   test -z "$as_dir" && as_dir=.
                   3918:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     3919:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     3920:     ac_cv_prog_YACC="$ac_prog"
                   3921:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3922:     break 2
                   3923:   fi
                   3924: done
                   3925: done
1.1.1.5 ! root     3926: IFS=$as_save_IFS
1.1       root     3927: 
                   3928: fi
                   3929: fi
                   3930: YACC=$ac_cv_prog_YACC
                   3931: if test -n "$YACC"; then
1.1.1.5 ! root     3932:   { echo "$as_me:$LINENO: result: $YACC" >&5
        !          3933: echo "${ECHO_T}$YACC" >&6; }
1.1       root     3934: else
1.1.1.5 ! root     3935:   { echo "$as_me:$LINENO: result: no" >&5
        !          3936: echo "${ECHO_T}no" >&6; }
1.1       root     3937: fi
                   3938: 
1.1.1.5 ! root     3939: 
1.1       root     3940:   test -n "$YACC" && break
                   3941: done
                   3942: test -n "$YACC" || YACC="yacc"
                   3943: 
                   3944: # Find a good install program.  We prefer a C program (faster),
                   3945: # so one script is as good as another.  But avoid the broken or
                   3946: # incompatible versions:
                   3947: # SysV /etc/install, /usr/sbin/install
                   3948: # SunOS /usr/etc/install
                   3949: # IRIX /sbin/install
                   3950: # AIX /bin/install
                   3951: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   3952: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3953: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3954: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1.1.5 ! root     3955: # OS/2's system install, which has a completely different semantic
1.1       root     3956: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.5 ! root     3957: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          3958: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1.1       root     3959: if test -z "$INSTALL"; then
                   3960: if test "${ac_cv_path_install+set}" = set; then
                   3961:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3962: else
                   3963:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3964: for as_dir in $PATH
                   3965: do
                   3966:   IFS=$as_save_IFS
                   3967:   test -z "$as_dir" && as_dir=.
                   3968:   # Account for people who put trailing slashes in PATH elements.
                   3969: case $as_dir/ in
                   3970:   ./ | .// | /cC/* | \
                   3971:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.5 ! root     3972:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1       root     3973:   /usr/ucb/* ) ;;
                   3974:   *)
                   3975:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   3976:     # Don't use installbsd from OSF since it installs stuff as root
                   3977:     # by default.
                   3978:     for ac_prog in ginstall scoinst install; do
                   3979:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     3980:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
        !          3981:          if test $ac_prog = install &&
        !          3982:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3983:            # AIX install.  It has an incompatible calling convention.
        !          3984:            :
        !          3985:          elif test $ac_prog = install &&
        !          3986:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3987:            # program-specific install script used by HP pwplus--don't use.
        !          3988:            :
        !          3989:          else
        !          3990:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          3991:            break 3
        !          3992:          fi
        !          3993:        fi
1.1       root     3994:       done
                   3995:     done
                   3996:     ;;
                   3997: esac
                   3998: done
1.1.1.5 ! root     3999: IFS=$as_save_IFS
1.1       root     4000: 
                   4001: 
                   4002: fi
                   4003:   if test "${ac_cv_path_install+set}" = set; then
                   4004:     INSTALL=$ac_cv_path_install
                   4005:   else
1.1.1.5 ! root     4006:     # As a last resort, use the slow shell script.  Don't cache a
        !          4007:     # value for INSTALL within a source directory, because that will
1.1       root     4008:     # break other packages using the cache if that directory is
1.1.1.5 ! root     4009:     # removed, or if the value is a relative name.
1.1       root     4010:     INSTALL=$ac_install_sh
                   4011:   fi
                   4012: fi
1.1.1.5 ! root     4013: { echo "$as_me:$LINENO: result: $INSTALL" >&5
        !          4014: echo "${ECHO_T}$INSTALL" >&6; }
1.1       root     4015: 
                   4016: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   4017: # It thinks the first close brace ends the variable substitution.
                   4018: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   4019: 
                   4020: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   4021: 
                   4022: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   4023: 
1.1.1.5 ! root     4024: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          4025: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
        !          4026: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          4027: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4028:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4029: else
                   4030:   cat >conftest.make <<\_ACEOF
1.1.1.5 ! root     4031: SHELL = /bin/sh
1.1       root     4032: all:
1.1.1.5 ! root     4033:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.1       root     4034: _ACEOF
                   4035: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.5 ! root     4036: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          4037:   *@@@%%%=?*=@@@%%%*)
        !          4038:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          4039:   *)
        !          4040:     eval ac_cv_prog_make_${ac_make}_set=no;;
        !          4041: esac
1.1       root     4042: rm -f conftest.make
                   4043: fi
1.1.1.5 ! root     4044: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          4045:   { echo "$as_me:$LINENO: result: yes" >&5
        !          4046: echo "${ECHO_T}yes" >&6; }
1.1       root     4047:   SET_MAKE=
                   4048: else
1.1.1.5 ! root     4049:   { echo "$as_me:$LINENO: result: no" >&5
        !          4050: echo "${ECHO_T}no" >&6; }
1.1       root     4051:   SET_MAKE="MAKE=${MAKE-make}"
                   4052: fi
                   4053: 
                   4054: 
                   4055: 
                   4056: 
1.1.1.5 ! root     4057: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
        !          4058: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
        !          4059: if test "${ac_cv_path_GREP+set}" = set; then
1.1       root     4060:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4061: else
1.1.1.5 ! root     4062:   # Extract the first word of "grep ggrep" to use in msg output
        !          4063: if test -z "$GREP"; then
        !          4064: set dummy grep ggrep; ac_prog_name=$2
        !          4065: if test "${ac_cv_path_GREP+set}" = set; then
        !          4066:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4067: else
        !          4068:   ac_path_GREP_found=false
        !          4069: # Loop through the user's path and test for each of PROGNAME-LIST
        !          4070: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4071: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          4072: do
        !          4073:   IFS=$as_save_IFS
        !          4074:   test -z "$as_dir" && as_dir=.
        !          4075:   for ac_prog in grep ggrep; do
        !          4076:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          4077:     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
        !          4078:     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
        !          4079:     # Check for GNU ac_path_GREP and select it if it is found.
        !          4080:   # Check for GNU $ac_path_GREP
        !          4081: case `"$ac_path_GREP" --version 2>&1` in
        !          4082: *GNU*)
        !          4083:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
        !          4084: *)
        !          4085:   ac_count=0
        !          4086:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
        !          4087:   while :
        !          4088:   do
        !          4089:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          4090:     mv "conftest.tmp" "conftest.in"
        !          4091:     cp "conftest.in" "conftest.nl"
        !          4092:     echo 'GREP' >> "conftest.nl"
        !          4093:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          4094:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          4095:     ac_count=`expr $ac_count + 1`
        !          4096:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
        !          4097:       # Best one so far, save it but keep looking for a better one
        !          4098:       ac_cv_path_GREP="$ac_path_GREP"
        !          4099:       ac_path_GREP_max=$ac_count
        !          4100:     fi
        !          4101:     # 10*(2^10) chars as input seems more than enough
        !          4102:     test $ac_count -gt 10 && break
        !          4103:   done
        !          4104:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          4105: esac
        !          4106: 
        !          4107: 
        !          4108:     $ac_path_GREP_found && break 3
        !          4109:   done
        !          4110: done
        !          4111: 
        !          4112: done
        !          4113: IFS=$as_save_IFS
        !          4114: 
        !          4115: 
        !          4116: fi
        !          4117: 
        !          4118: GREP="$ac_cv_path_GREP"
        !          4119: if test -z "$GREP"; then
        !          4120:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
        !          4121: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
        !          4122:    { (exit 1); exit 1; }; }
        !          4123: fi
        !          4124: 
        !          4125: else
        !          4126:   ac_cv_path_GREP=$GREP
        !          4127: fi
        !          4128: 
        !          4129: 
        !          4130: fi
        !          4131: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
        !          4132: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
        !          4133:  GREP="$ac_cv_path_GREP"
        !          4134: 
        !          4135: 
        !          4136: { echo "$as_me:$LINENO: checking for egrep" >&5
        !          4137: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
        !          4138: if test "${ac_cv_path_EGREP+set}" = set; then
        !          4139:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4140: else
        !          4141:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
        !          4142:    then ac_cv_path_EGREP="$GREP -E"
        !          4143:    else
        !          4144:      # Extract the first word of "egrep" to use in msg output
        !          4145: if test -z "$EGREP"; then
        !          4146: set dummy egrep; ac_prog_name=$2
        !          4147: if test "${ac_cv_path_EGREP+set}" = set; then
        !          4148:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4149: else
        !          4150:   ac_path_EGREP_found=false
        !          4151: # Loop through the user's path and test for each of PROGNAME-LIST
        !          4152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4153: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          4154: do
        !          4155:   IFS=$as_save_IFS
        !          4156:   test -z "$as_dir" && as_dir=.
        !          4157:   for ac_prog in egrep; do
        !          4158:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          4159:     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          4160:     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
        !          4161:     # Check for GNU ac_path_EGREP and select it if it is found.
        !          4162:   # Check for GNU $ac_path_EGREP
        !          4163: case `"$ac_path_EGREP" --version 2>&1` in
        !          4164: *GNU*)
        !          4165:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
        !          4166: *)
        !          4167:   ac_count=0
        !          4168:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
        !          4169:   while :
        !          4170:   do
        !          4171:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          4172:     mv "conftest.tmp" "conftest.in"
        !          4173:     cp "conftest.in" "conftest.nl"
        !          4174:     echo 'EGREP' >> "conftest.nl"
        !          4175:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          4176:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          4177:     ac_count=`expr $ac_count + 1`
        !          4178:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
        !          4179:       # Best one so far, save it but keep looking for a better one
        !          4180:       ac_cv_path_EGREP="$ac_path_EGREP"
        !          4181:       ac_path_EGREP_max=$ac_count
1.1       root     4182:     fi
1.1.1.5 ! root     4183:     # 10*(2^10) chars as input seems more than enough
        !          4184:     test $ac_count -gt 10 && break
        !          4185:   done
        !          4186:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          4187: esac
        !          4188: 
        !          4189: 
        !          4190:     $ac_path_EGREP_found && break 3
        !          4191:   done
        !          4192: done
        !          4193: 
        !          4194: done
        !          4195: IFS=$as_save_IFS
        !          4196: 
        !          4197: 
        !          4198: fi
        !          4199: 
        !          4200: EGREP="$ac_cv_path_EGREP"
        !          4201: if test -z "$EGREP"; then
        !          4202:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
        !          4203: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
        !          4204:    { (exit 1); exit 1; }; }
        !          4205: fi
        !          4206: 
        !          4207: else
        !          4208:   ac_cv_path_EGREP=$EGREP
        !          4209: fi
        !          4210: 
        !          4211: 
        !          4212:    fi
1.1       root     4213: fi
1.1.1.5 ! root     4214: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
        !          4215: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
        !          4216:  EGREP="$ac_cv_path_EGREP"
1.1       root     4217: 
                   4218: 
1.1.1.5 ! root     4219: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
        !          4220: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.1       root     4221: if test "${ac_cv_header_stdc+set}" = set; then
                   4222:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4223: else
                   4224:   cat >conftest.$ac_ext <<_ACEOF
                   4225: /* confdefs.h.  */
                   4226: _ACEOF
                   4227: cat confdefs.h >>conftest.$ac_ext
                   4228: cat >>conftest.$ac_ext <<_ACEOF
                   4229: /* end confdefs.h.  */
                   4230: #include <stdlib.h>
                   4231: #include <stdarg.h>
                   4232: #include <string.h>
                   4233: #include <float.h>
                   4234: 
                   4235: int
                   4236: main ()
                   4237: {
                   4238: 
                   4239:   ;
                   4240:   return 0;
                   4241: }
                   4242: _ACEOF
                   4243: rm -f conftest.$ac_objext
1.1.1.5 ! root     4244: if { (ac_try="$ac_compile"
        !          4245: case "(($ac_try" in
        !          4246:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4247:   *) ac_try_echo=$ac_try;;
        !          4248: esac
        !          4249: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4250:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4251:   ac_status=$?
1.1.1.5 ! root     4252:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4253:   rm -f conftest.er1
        !          4254:   cat conftest.err >&5
1.1       root     4255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4256:   (exit $ac_status); } && {
        !          4257:         test -z "$ac_c_werror_flag" ||
        !          4258:         test ! -s conftest.err
        !          4259:        } && test -s conftest.$ac_objext; then
1.1       root     4260:   ac_cv_header_stdc=yes
                   4261: else
                   4262:   echo "$as_me: failed program was:" >&5
                   4263: sed 's/^/| /' conftest.$ac_ext >&5
                   4264: 
1.1.1.5 ! root     4265:        ac_cv_header_stdc=no
1.1       root     4266: fi
1.1.1.5 ! root     4267: 
        !          4268: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     4269: 
                   4270: if test $ac_cv_header_stdc = yes; then
                   4271:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4272:   cat >conftest.$ac_ext <<_ACEOF
                   4273: /* confdefs.h.  */
                   4274: _ACEOF
                   4275: cat confdefs.h >>conftest.$ac_ext
                   4276: cat >>conftest.$ac_ext <<_ACEOF
                   4277: /* end confdefs.h.  */
                   4278: #include <string.h>
                   4279: 
                   4280: _ACEOF
                   4281: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4282:   $EGREP "memchr" >/dev/null 2>&1; then
                   4283:   :
                   4284: else
                   4285:   ac_cv_header_stdc=no
                   4286: fi
                   4287: rm -f conftest*
                   4288: 
                   4289: fi
                   4290: 
                   4291: if test $ac_cv_header_stdc = yes; then
                   4292:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4293:   cat >conftest.$ac_ext <<_ACEOF
                   4294: /* confdefs.h.  */
                   4295: _ACEOF
                   4296: cat confdefs.h >>conftest.$ac_ext
                   4297: cat >>conftest.$ac_ext <<_ACEOF
                   4298: /* end confdefs.h.  */
                   4299: #include <stdlib.h>
                   4300: 
                   4301: _ACEOF
                   4302: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4303:   $EGREP "free" >/dev/null 2>&1; then
                   4304:   :
                   4305: else
                   4306:   ac_cv_header_stdc=no
                   4307: fi
                   4308: rm -f conftest*
                   4309: 
                   4310: fi
                   4311: 
                   4312: if test $ac_cv_header_stdc = yes; then
                   4313:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4314:   if test "$cross_compiling" = yes; then
                   4315:   :
                   4316: else
                   4317:   cat >conftest.$ac_ext <<_ACEOF
                   4318: /* confdefs.h.  */
                   4319: _ACEOF
                   4320: cat confdefs.h >>conftest.$ac_ext
                   4321: cat >>conftest.$ac_ext <<_ACEOF
                   4322: /* end confdefs.h.  */
                   4323: #include <ctype.h>
1.1.1.5 ! root     4324: #include <stdlib.h>
1.1       root     4325: #if ((' ' & 0x0FF) == 0x020)
                   4326: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4327: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4328: #else
                   4329: # define ISLOWER(c) \
1.1.1.5 ! root     4330:                   (('a' <= (c) && (c) <= 'i') \
        !          4331:                     || ('j' <= (c) && (c) <= 'r') \
        !          4332:                     || ('s' <= (c) && (c) <= 'z'))
1.1       root     4333: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4334: #endif
                   4335: 
                   4336: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4337: int
                   4338: main ()
                   4339: {
                   4340:   int i;
                   4341:   for (i = 0; i < 256; i++)
                   4342:     if (XOR (islower (i), ISLOWER (i))
1.1.1.5 ! root     4343:        || toupper (i) != TOUPPER (i))
        !          4344:       return 2;
        !          4345:   return 0;
1.1       root     4346: }
                   4347: _ACEOF
                   4348: rm -f conftest$ac_exeext
1.1.1.5 ! root     4349: if { (ac_try="$ac_link"
        !          4350: case "(($ac_try" in
        !          4351:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4352:   *) ac_try_echo=$ac_try;;
        !          4353: esac
        !          4354: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4355:   (eval "$ac_link") 2>&5
1.1       root     4356:   ac_status=$?
                   4357:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4358:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     4359:   { (case "(($ac_try" in
        !          4360:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4361:   *) ac_try_echo=$ac_try;;
        !          4362: esac
        !          4363: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4364:   (eval "$ac_try") 2>&5
1.1       root     4365:   ac_status=$?
                   4366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4367:   (exit $ac_status); }; }; then
                   4368:   :
                   4369: else
                   4370:   echo "$as_me: program exited with status $ac_status" >&5
                   4371: echo "$as_me: failed program was:" >&5
                   4372: sed 's/^/| /' conftest.$ac_ext >&5
                   4373: 
                   4374: ( exit $ac_status )
                   4375: ac_cv_header_stdc=no
                   4376: fi
1.1.1.5 ! root     4377: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     4378: fi
1.1.1.5 ! root     4379: 
        !          4380: 
1.1       root     4381: fi
                   4382: fi
1.1.1.5 ! root     4383: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
        !          4384: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.1       root     4385: if test $ac_cv_header_stdc = yes; then
                   4386: 
                   4387: cat >>confdefs.h <<\_ACEOF
                   4388: #define STDC_HEADERS 1
                   4389: _ACEOF
                   4390: 
                   4391: fi
                   4392: 
                   4393: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4394: 
                   4395: 
                   4396: 
                   4397: 
                   4398: 
                   4399: 
                   4400: 
                   4401: 
                   4402: 
                   4403: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.1.1.5 ! root     4404:                  inttypes.h stdint.h unistd.h
1.1       root     4405: do
                   4406: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.5 ! root     4407: { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4408: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4409: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4410:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4411: else
                   4412:   cat >conftest.$ac_ext <<_ACEOF
                   4413: /* confdefs.h.  */
                   4414: _ACEOF
                   4415: cat confdefs.h >>conftest.$ac_ext
                   4416: cat >>conftest.$ac_ext <<_ACEOF
                   4417: /* end confdefs.h.  */
                   4418: $ac_includes_default
                   4419: 
                   4420: #include <$ac_header>
                   4421: _ACEOF
                   4422: rm -f conftest.$ac_objext
1.1.1.5 ! root     4423: if { (ac_try="$ac_compile"
        !          4424: case "(($ac_try" in
        !          4425:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4426:   *) ac_try_echo=$ac_try;;
        !          4427: esac
        !          4428: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4429:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4430:   ac_status=$?
1.1.1.5 ! root     4431:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4432:   rm -f conftest.er1
        !          4433:   cat conftest.err >&5
1.1       root     4434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4435:   (exit $ac_status); } && {
        !          4436:         test -z "$ac_c_werror_flag" ||
        !          4437:         test ! -s conftest.err
        !          4438:        } && test -s conftest.$ac_objext; then
1.1       root     4439:   eval "$as_ac_Header=yes"
                   4440: else
                   4441:   echo "$as_me: failed program was:" >&5
                   4442: sed 's/^/| /' conftest.$ac_ext >&5
                   4443: 
1.1.1.5 ! root     4444:        eval "$as_ac_Header=no"
1.1       root     4445: fi
1.1.1.5 ! root     4446: 
        !          4447: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     4448: fi
1.1.1.5 ! root     4449: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4450:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4451: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     4452: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4453:   cat >>confdefs.h <<_ACEOF
                   4454: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4455: _ACEOF
                   4456: 
                   4457: fi
                   4458: 
                   4459: done
                   4460: 
                   4461: 
                   4462: 
                   4463: 
                   4464: 
                   4465: 
1.1.1.3   root     4466: 
                   4467: 
                   4468: for ac_header in unistd.h stdio.h memory.h stdarg.h limits.h float.h
1.1       root     4469: do
                   4470: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.5 ! root     4471: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
        !          4472:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4473: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4474: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4475:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4476: fi
1.1.1.5 ! root     4477: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4478:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4479: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     4480: else
                   4481:   # Is the header compilable?
1.1.1.5 ! root     4482: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          4483: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1       root     4484: cat >conftest.$ac_ext <<_ACEOF
                   4485: /* confdefs.h.  */
                   4486: _ACEOF
                   4487: cat confdefs.h >>conftest.$ac_ext
                   4488: cat >>conftest.$ac_ext <<_ACEOF
                   4489: /* end confdefs.h.  */
                   4490: $ac_includes_default
                   4491: #include <$ac_header>
                   4492: _ACEOF
                   4493: rm -f conftest.$ac_objext
1.1.1.5 ! root     4494: if { (ac_try="$ac_compile"
        !          4495: case "(($ac_try" in
        !          4496:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4497:   *) ac_try_echo=$ac_try;;
        !          4498: esac
        !          4499: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4500:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4501:   ac_status=$?
1.1.1.5 ! root     4502:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4503:   rm -f conftest.er1
        !          4504:   cat conftest.err >&5
1.1       root     4505:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4506:   (exit $ac_status); } && {
        !          4507:         test -z "$ac_c_werror_flag" ||
        !          4508:         test ! -s conftest.err
        !          4509:        } && test -s conftest.$ac_objext; then
1.1       root     4510:   ac_header_compiler=yes
                   4511: else
                   4512:   echo "$as_me: failed program was:" >&5
                   4513: sed 's/^/| /' conftest.$ac_ext >&5
                   4514: 
1.1.1.5 ! root     4515:        ac_header_compiler=no
1.1       root     4516: fi
1.1.1.5 ! root     4517: 
        !          4518: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4519: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          4520: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1       root     4521: 
                   4522: # Is the header present?
1.1.1.5 ! root     4523: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          4524: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1       root     4525: cat >conftest.$ac_ext <<_ACEOF
                   4526: /* confdefs.h.  */
                   4527: _ACEOF
                   4528: cat confdefs.h >>conftest.$ac_ext
                   4529: cat >>conftest.$ac_ext <<_ACEOF
                   4530: /* end confdefs.h.  */
                   4531: #include <$ac_header>
                   4532: _ACEOF
1.1.1.5 ! root     4533: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          4534: case "(($ac_try" in
        !          4535:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4536:   *) ac_try_echo=$ac_try;;
        !          4537: esac
        !          4538: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4539:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     4540:   ac_status=$?
                   4541:   grep -v '^ *+' conftest.er1 >conftest.err
                   4542:   rm -f conftest.er1
                   4543:   cat conftest.err >&5
                   4544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4545:   (exit $ac_status); } >/dev/null && {
        !          4546:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          4547:         test ! -s conftest.err
        !          4548:        }; then
1.1       root     4549:   ac_header_preproc=yes
                   4550: else
                   4551:   echo "$as_me: failed program was:" >&5
                   4552: sed 's/^/| /' conftest.$ac_ext >&5
                   4553: 
                   4554:   ac_header_preproc=no
                   4555: fi
1.1.1.5 ! root     4556: 
1.1       root     4557: rm -f conftest.err conftest.$ac_ext
1.1.1.5 ! root     4558: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          4559: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     4560: 
                   4561: # So?  What about this header?
1.1.1.5 ! root     4562: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          4563:   yes:no: )
1.1       root     4564:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4565: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.1.1.5 ! root     4566:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          4567: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          4568:     ac_header_preproc=yes
1.1       root     4569:     ;;
1.1.1.5 ! root     4570:   no:yes:* )
1.1       root     4571:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4572: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.1.1.5 ! root     4573:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          4574: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          4575:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          4576: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          4577:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          4578: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.1       root     4579:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4580: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.1.1.5 ! root     4581:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          4582: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          4583: 
1.1       root     4584:     ;;
                   4585: esac
1.1.1.5 ! root     4586: { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4587: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4588: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4589:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4590: else
1.1.1.5 ! root     4591:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     4592: fi
1.1.1.5 ! root     4593: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4594:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4595: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     4596: 
                   4597: fi
                   4598: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4599:   cat >>confdefs.h <<_ACEOF
                   4600: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4601: _ACEOF
                   4602: 
                   4603: fi
                   4604: 
                   4605: done
                   4606: 
                   4607: 
                   4608: 
                   4609: 
                   4610: 
                   4611: 
                   4612: for ac_header in sys/ioctl.h sys/sockio.h sys/socketio.h net/if_dl.h ioctls.h
                   4613: do
                   4614: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.5 ! root     4615: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
        !          4616:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4617: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4618: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4619:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4620: fi
1.1.1.5 ! root     4621: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4622:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4623: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     4624: else
                   4625:   # Is the header compilable?
1.1.1.5 ! root     4626: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          4627: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1       root     4628: cat >conftest.$ac_ext <<_ACEOF
                   4629: /* confdefs.h.  */
                   4630: _ACEOF
                   4631: cat confdefs.h >>conftest.$ac_ext
                   4632: cat >>conftest.$ac_ext <<_ACEOF
                   4633: /* end confdefs.h.  */
                   4634: $ac_includes_default
                   4635: #include <$ac_header>
                   4636: _ACEOF
                   4637: rm -f conftest.$ac_objext
1.1.1.5 ! root     4638: if { (ac_try="$ac_compile"
        !          4639: case "(($ac_try" in
        !          4640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4641:   *) ac_try_echo=$ac_try;;
        !          4642: esac
        !          4643: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4644:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4645:   ac_status=$?
1.1.1.5 ! root     4646:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4647:   rm -f conftest.er1
        !          4648:   cat conftest.err >&5
1.1       root     4649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4650:   (exit $ac_status); } && {
        !          4651:         test -z "$ac_c_werror_flag" ||
        !          4652:         test ! -s conftest.err
        !          4653:        } && test -s conftest.$ac_objext; then
1.1       root     4654:   ac_header_compiler=yes
                   4655: else
                   4656:   echo "$as_me: failed program was:" >&5
                   4657: sed 's/^/| /' conftest.$ac_ext >&5
                   4658: 
1.1.1.5 ! root     4659:        ac_header_compiler=no
1.1       root     4660: fi
1.1.1.5 ! root     4661: 
        !          4662: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4663: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          4664: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1       root     4665: 
                   4666: # Is the header present?
1.1.1.5 ! root     4667: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          4668: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1       root     4669: cat >conftest.$ac_ext <<_ACEOF
                   4670: /* confdefs.h.  */
                   4671: _ACEOF
                   4672: cat confdefs.h >>conftest.$ac_ext
                   4673: cat >>conftest.$ac_ext <<_ACEOF
                   4674: /* end confdefs.h.  */
                   4675: #include <$ac_header>
                   4676: _ACEOF
1.1.1.5 ! root     4677: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          4678: case "(($ac_try" in
        !          4679:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4680:   *) ac_try_echo=$ac_try;;
        !          4681: esac
        !          4682: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4683:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     4684:   ac_status=$?
                   4685:   grep -v '^ *+' conftest.er1 >conftest.err
                   4686:   rm -f conftest.er1
                   4687:   cat conftest.err >&5
                   4688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4689:   (exit $ac_status); } >/dev/null && {
        !          4690:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          4691:         test ! -s conftest.err
        !          4692:        }; then
1.1       root     4693:   ac_header_preproc=yes
                   4694: else
                   4695:   echo "$as_me: failed program was:" >&5
                   4696: sed 's/^/| /' conftest.$ac_ext >&5
                   4697: 
                   4698:   ac_header_preproc=no
                   4699: fi
1.1.1.5 ! root     4700: 
1.1       root     4701: rm -f conftest.err conftest.$ac_ext
1.1.1.5 ! root     4702: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          4703: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     4704: 
                   4705: # So?  What about this header?
1.1.1.5 ! root     4706: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          4707:   yes:no: )
1.1       root     4708:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4709: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.1.1.5 ! root     4710:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          4711: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          4712:     ac_header_preproc=yes
1.1       root     4713:     ;;
1.1.1.5 ! root     4714:   no:yes:* )
1.1       root     4715:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4716: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.1.1.5 ! root     4717:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          4718: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          4719:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          4720: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          4721:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          4722: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.1       root     4723:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4724: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.1.1.5 ! root     4725:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          4726: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          4727: 
1.1       root     4728:     ;;
                   4729: esac
1.1.1.5 ! root     4730: { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4731: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4732: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     4733:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4734: else
1.1.1.5 ! root     4735:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     4736: fi
1.1.1.5 ! root     4737: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4738:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4739: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     4740: 
                   4741: fi
                   4742: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4743:   cat >>confdefs.h <<_ACEOF
                   4744: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4745: _ACEOF
                   4746: 
                   4747: fi
                   4748: 
                   4749: done
                   4750: 
                   4751: 
1.1.1.3   root     4752: for ac_header in sys/bswap.h
                   4753: do
                   4754: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.5 ! root     4755: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
        !          4756:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4757: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4758: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.3   root     4759:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4760: fi
1.1.1.5 ! root     4761: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4762:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4763: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.3   root     4764: else
                   4765:   # Is the header compilable?
1.1.1.5 ! root     4766: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          4767: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.3   root     4768: cat >conftest.$ac_ext <<_ACEOF
                   4769: /* confdefs.h.  */
                   4770: _ACEOF
                   4771: cat confdefs.h >>conftest.$ac_ext
                   4772: cat >>conftest.$ac_ext <<_ACEOF
                   4773: /* end confdefs.h.  */
                   4774: $ac_includes_default
                   4775: #include <$ac_header>
                   4776: _ACEOF
                   4777: rm -f conftest.$ac_objext
1.1.1.5 ! root     4778: if { (ac_try="$ac_compile"
        !          4779: case "(($ac_try" in
        !          4780:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4781:   *) ac_try_echo=$ac_try;;
        !          4782: esac
        !          4783: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4784:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     4785:   ac_status=$?
1.1.1.5 ! root     4786:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4787:   rm -f conftest.er1
        !          4788:   cat conftest.err >&5
1.1.1.3   root     4789:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4790:   (exit $ac_status); } && {
        !          4791:         test -z "$ac_c_werror_flag" ||
        !          4792:         test ! -s conftest.err
        !          4793:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     4794:   ac_header_compiler=yes
                   4795: else
                   4796:   echo "$as_me: failed program was:" >&5
                   4797: sed 's/^/| /' conftest.$ac_ext >&5
                   4798: 
1.1.1.5 ! root     4799:        ac_header_compiler=no
1.1.1.3   root     4800: fi
1.1.1.5 ! root     4801: 
        !          4802: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4803: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          4804: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.3   root     4805: 
                   4806: # Is the header present?
1.1.1.5 ! root     4807: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          4808: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.3   root     4809: cat >conftest.$ac_ext <<_ACEOF
                   4810: /* confdefs.h.  */
                   4811: _ACEOF
                   4812: cat confdefs.h >>conftest.$ac_ext
                   4813: cat >>conftest.$ac_ext <<_ACEOF
                   4814: /* end confdefs.h.  */
                   4815: #include <$ac_header>
                   4816: _ACEOF
1.1.1.5 ! root     4817: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          4818: case "(($ac_try" in
        !          4819:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4820:   *) ac_try_echo=$ac_try;;
        !          4821: esac
        !          4822: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4823:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.3   root     4824:   ac_status=$?
                   4825:   grep -v '^ *+' conftest.er1 >conftest.err
                   4826:   rm -f conftest.er1
                   4827:   cat conftest.err >&5
                   4828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4829:   (exit $ac_status); } >/dev/null && {
        !          4830:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          4831:         test ! -s conftest.err
        !          4832:        }; then
1.1.1.3   root     4833:   ac_header_preproc=yes
                   4834: else
                   4835:   echo "$as_me: failed program was:" >&5
                   4836: sed 's/^/| /' conftest.$ac_ext >&5
                   4837: 
                   4838:   ac_header_preproc=no
                   4839: fi
1.1.1.5 ! root     4840: 
1.1.1.3   root     4841: rm -f conftest.err conftest.$ac_ext
1.1.1.5 ! root     4842: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          4843: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.3   root     4844: 
                   4845: # So?  What about this header?
1.1.1.5 ! root     4846: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          4847:   yes:no: )
1.1.1.3   root     4848:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   4849: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.1.1.5 ! root     4850:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          4851: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          4852:     ac_header_preproc=yes
1.1.1.3   root     4853:     ;;
1.1.1.5 ! root     4854:   no:yes:* )
1.1.1.3   root     4855:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   4856: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.1.1.5 ! root     4857:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          4858: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          4859:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          4860: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          4861:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          4862: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.1.1.3   root     4863:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   4864: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.1.1.5 ! root     4865:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          4866: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          4867: 
1.1.1.3   root     4868:     ;;
                   4869: esac
1.1.1.5 ! root     4870: { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          4871: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          4872: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.3   root     4873:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4874: else
1.1.1.5 ! root     4875:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.3   root     4876: fi
1.1.1.5 ! root     4877: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          4878:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          4879: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.3   root     4880: 
                   4881: fi
                   4882: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4883:   cat >>confdefs.h <<_ACEOF
                   4884: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4885: _ACEOF
                   4886: 
                   4887: fi
                   4888: 
                   4889: done
                   4890: 
                   4891: 
1.1.1.5 ! root     4892: { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
        !          4893: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
1.1       root     4894: if test "${ac_cv_c_bigendian+set}" = set; then
                   4895:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4896: else
                   4897:   # See if sys/param.h defines the BYTE_ORDER macro.
                   4898: cat >conftest.$ac_ext <<_ACEOF
                   4899: /* confdefs.h.  */
                   4900: _ACEOF
                   4901: cat confdefs.h >>conftest.$ac_ext
                   4902: cat >>conftest.$ac_ext <<_ACEOF
                   4903: /* end confdefs.h.  */
                   4904: #include <sys/types.h>
                   4905: #include <sys/param.h>
                   4906: 
                   4907: int
                   4908: main ()
                   4909: {
1.1.1.5 ! root     4910: #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
        !          4911:        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
1.1       root     4912:  bogus endian macros
                   4913: #endif
                   4914: 
                   4915:   ;
                   4916:   return 0;
                   4917: }
                   4918: _ACEOF
                   4919: rm -f conftest.$ac_objext
1.1.1.5 ! root     4920: if { (ac_try="$ac_compile"
        !          4921: case "(($ac_try" in
        !          4922:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4923:   *) ac_try_echo=$ac_try;;
        !          4924: esac
        !          4925: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4926:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4927:   ac_status=$?
1.1.1.5 ! root     4928:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4929:   rm -f conftest.er1
        !          4930:   cat conftest.err >&5
1.1       root     4931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4932:   (exit $ac_status); } && {
        !          4933:         test -z "$ac_c_werror_flag" ||
        !          4934:         test ! -s conftest.err
        !          4935:        } && test -s conftest.$ac_objext; then
1.1       root     4936:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   4937: cat >conftest.$ac_ext <<_ACEOF
                   4938: /* confdefs.h.  */
                   4939: _ACEOF
                   4940: cat confdefs.h >>conftest.$ac_ext
                   4941: cat >>conftest.$ac_ext <<_ACEOF
                   4942: /* end confdefs.h.  */
                   4943: #include <sys/types.h>
                   4944: #include <sys/param.h>
                   4945: 
                   4946: int
                   4947: main ()
                   4948: {
                   4949: #if BYTE_ORDER != BIG_ENDIAN
                   4950:  not big endian
                   4951: #endif
                   4952: 
                   4953:   ;
                   4954:   return 0;
                   4955: }
                   4956: _ACEOF
                   4957: rm -f conftest.$ac_objext
1.1.1.5 ! root     4958: if { (ac_try="$ac_compile"
        !          4959: case "(($ac_try" in
        !          4960:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4961:   *) ac_try_echo=$ac_try;;
        !          4962: esac
        !          4963: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4964:   (eval "$ac_compile") 2>conftest.er1
1.1       root     4965:   ac_status=$?
1.1.1.5 ! root     4966:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4967:   rm -f conftest.er1
        !          4968:   cat conftest.err >&5
1.1       root     4969:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     4970:   (exit $ac_status); } && {
        !          4971:         test -z "$ac_c_werror_flag" ||
        !          4972:         test ! -s conftest.err
        !          4973:        } && test -s conftest.$ac_objext; then
1.1       root     4974:   ac_cv_c_bigendian=yes
                   4975: else
                   4976:   echo "$as_me: failed program was:" >&5
                   4977: sed 's/^/| /' conftest.$ac_ext >&5
                   4978: 
1.1.1.5 ! root     4979:        ac_cv_c_bigendian=no
1.1       root     4980: fi
1.1.1.5 ! root     4981: 
        !          4982: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     4983: else
                   4984:   echo "$as_me: failed program was:" >&5
                   4985: sed 's/^/| /' conftest.$ac_ext >&5
                   4986: 
1.1.1.5 ! root     4987:        # It does not; compile a test program.
1.1       root     4988: if test "$cross_compiling" = yes; then
                   4989:   # try to guess the endianness by grepping values into an object file
                   4990:   ac_cv_c_bigendian=unknown
                   4991:   cat >conftest.$ac_ext <<_ACEOF
                   4992: /* confdefs.h.  */
                   4993: _ACEOF
                   4994: cat confdefs.h >>conftest.$ac_ext
                   4995: cat >>conftest.$ac_ext <<_ACEOF
                   4996: /* end confdefs.h.  */
1.1.1.5 ! root     4997: short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
        !          4998: short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
1.1       root     4999: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
1.1.1.5 ! root     5000: short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
        !          5001: short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
1.1       root     5002: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   5003: int
                   5004: main ()
                   5005: {
                   5006:  _ascii (); _ebcdic ();
                   5007:   ;
                   5008:   return 0;
                   5009: }
                   5010: _ACEOF
                   5011: rm -f conftest.$ac_objext
1.1.1.5 ! root     5012: if { (ac_try="$ac_compile"
        !          5013: case "(($ac_try" in
        !          5014:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5015:   *) ac_try_echo=$ac_try;;
        !          5016: esac
        !          5017: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5018:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5019:   ac_status=$?
1.1.1.5 ! root     5020:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5021:   rm -f conftest.er1
        !          5022:   cat conftest.err >&5
1.1       root     5023:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5024:   (exit $ac_status); } && {
        !          5025:         test -z "$ac_c_werror_flag" ||
        !          5026:         test ! -s conftest.err
        !          5027:        } && test -s conftest.$ac_objext; then
1.1       root     5028:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   5029:   ac_cv_c_bigendian=yes
                   5030: fi
                   5031: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   5032:   if test "$ac_cv_c_bigendian" = unknown; then
                   5033:     ac_cv_c_bigendian=no
                   5034:   else
                   5035:     # finding both strings is unlikely to happen, but who knows?
                   5036:     ac_cv_c_bigendian=unknown
                   5037:   fi
                   5038: fi
                   5039: else
                   5040:   echo "$as_me: failed program was:" >&5
                   5041: sed 's/^/| /' conftest.$ac_ext >&5
                   5042: 
1.1.1.5 ! root     5043: 
1.1       root     5044: fi
1.1.1.5 ! root     5045: 
        !          5046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5047: else
                   5048:   cat >conftest.$ac_ext <<_ACEOF
                   5049: /* confdefs.h.  */
                   5050: _ACEOF
                   5051: cat confdefs.h >>conftest.$ac_ext
                   5052: cat >>conftest.$ac_ext <<_ACEOF
                   5053: /* end confdefs.h.  */
1.1.1.5 ! root     5054: $ac_includes_default
1.1       root     5055: int
                   5056: main ()
                   5057: {
1.1.1.5 ! root     5058: 
1.1       root     5059:   /* Are we little or big endian?  From Harbison&Steele.  */
                   5060:   union
                   5061:   {
1.1.1.5 ! root     5062:     long int l;
        !          5063:     char c[sizeof (long int)];
1.1       root     5064:   } u;
                   5065:   u.l = 1;
1.1.1.5 ! root     5066:   return u.c[sizeof (long int) - 1] == 1;
        !          5067: 
        !          5068:   ;
        !          5069:   return 0;
1.1       root     5070: }
                   5071: _ACEOF
                   5072: rm -f conftest$ac_exeext
1.1.1.5 ! root     5073: if { (ac_try="$ac_link"
        !          5074: case "(($ac_try" in
        !          5075:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5076:   *) ac_try_echo=$ac_try;;
        !          5077: esac
        !          5078: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5079:   (eval "$ac_link") 2>&5
1.1       root     5080:   ac_status=$?
                   5081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5082:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     5083:   { (case "(($ac_try" in
        !          5084:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5085:   *) ac_try_echo=$ac_try;;
        !          5086: esac
        !          5087: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5088:   (eval "$ac_try") 2>&5
1.1       root     5089:   ac_status=$?
                   5090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5091:   (exit $ac_status); }; }; then
                   5092:   ac_cv_c_bigendian=no
                   5093: else
                   5094:   echo "$as_me: program exited with status $ac_status" >&5
                   5095: echo "$as_me: failed program was:" >&5
                   5096: sed 's/^/| /' conftest.$ac_ext >&5
                   5097: 
                   5098: ( exit $ac_status )
                   5099: ac_cv_c_bigendian=yes
                   5100: fi
1.1.1.5 ! root     5101: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5102: fi
1.1.1.5 ! root     5103: 
        !          5104: 
1.1       root     5105: fi
1.1.1.5 ! root     5106: 
        !          5107: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5108: fi
1.1.1.5 ! root     5109: { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
        !          5110: echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
1.1       root     5111: case $ac_cv_c_bigendian in
                   5112:   yes)
                   5113: 
                   5114: cat >>confdefs.h <<\_ACEOF
                   5115: #define WORDS_BIGENDIAN 1
                   5116: _ACEOF
                   5117:  ;;
                   5118:   no)
                   5119:      ;;
                   5120:   *)
                   5121:     { { echo "$as_me:$LINENO: error: unknown endianness
                   5122: presetting ac_cv_c_bigendian=no (or yes) will help" >&5
                   5123: echo "$as_me: error: unknown endianness
                   5124: presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
                   5125:    { (exit 1); exit 1; }; } ;;
                   5126: esac
                   5127: 
1.1.1.5 ! root     5128: { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
        !          5129: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
1.1       root     5130: if test "${ac_cv_c_const+set}" = set; then
                   5131:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5132: else
                   5133:   cat >conftest.$ac_ext <<_ACEOF
                   5134: /* confdefs.h.  */
                   5135: _ACEOF
                   5136: cat confdefs.h >>conftest.$ac_ext
                   5137: cat >>conftest.$ac_ext <<_ACEOF
                   5138: /* end confdefs.h.  */
                   5139: 
                   5140: int
                   5141: main ()
                   5142: {
                   5143: /* FIXME: Include the comments suggested by Paul. */
                   5144: #ifndef __cplusplus
                   5145:   /* Ultrix mips cc rejects this.  */
                   5146:   typedef int charset[2];
1.1.1.5 ! root     5147:   const charset cs;
1.1       root     5148:   /* SunOS 4.1.1 cc rejects this.  */
1.1.1.5 ! root     5149:   char const *const *pcpcc;
        !          5150:   char **ppc;
1.1       root     5151:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   5152:   struct point {int x, y;};
                   5153:   static struct point const zero = {0,0};
                   5154:   /* AIX XL C 1.02.0.0 rejects this.
                   5155:      It does not let you subtract one const X* pointer from another in
                   5156:      an arm of an if-expression whose if-part is not a constant
                   5157:      expression */
                   5158:   const char *g = "string";
1.1.1.5 ! root     5159:   pcpcc = &g + (g ? g-g : 0);
1.1       root     5160:   /* HPUX 7.0 cc rejects these. */
1.1.1.5 ! root     5161:   ++pcpcc;
        !          5162:   ppc = (char**) pcpcc;
        !          5163:   pcpcc = (char const *const *) ppc;
1.1       root     5164:   { /* SCO 3.2v4 cc rejects this.  */
                   5165:     char *t;
                   5166:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   5167: 
                   5168:     *t++ = 0;
1.1.1.5 ! root     5169:     if (s) return 0;
1.1       root     5170:   }
                   5171:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   5172:     int x[] = {25, 17};
                   5173:     const int *foo = &x[0];
                   5174:     ++foo;
                   5175:   }
                   5176:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   5177:     typedef const int *iptr;
                   5178:     iptr p = 0;
                   5179:     ++p;
                   5180:   }
                   5181:   { /* AIX XL C 1.02.0.0 rejects this saying
                   5182:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   5183:     struct s { int j; const int *ap[3]; };
                   5184:     struct s *b; b->j = 5;
                   5185:   }
                   5186:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   5187:     const int foo = 10;
1.1.1.5 ! root     5188:     if (!foo) return 0;
1.1       root     5189:   }
1.1.1.5 ! root     5190:   return !cs[0] && !zero.x;
1.1       root     5191: #endif
                   5192: 
                   5193:   ;
                   5194:   return 0;
                   5195: }
                   5196: _ACEOF
                   5197: rm -f conftest.$ac_objext
1.1.1.5 ! root     5198: if { (ac_try="$ac_compile"
        !          5199: case "(($ac_try" in
        !          5200:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5201:   *) ac_try_echo=$ac_try;;
        !          5202: esac
        !          5203: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5204:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5205:   ac_status=$?
1.1.1.5 ! root     5206:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5207:   rm -f conftest.er1
        !          5208:   cat conftest.err >&5
1.1       root     5209:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5210:   (exit $ac_status); } && {
        !          5211:         test -z "$ac_c_werror_flag" ||
        !          5212:         test ! -s conftest.err
        !          5213:        } && test -s conftest.$ac_objext; then
1.1       root     5214:   ac_cv_c_const=yes
                   5215: else
                   5216:   echo "$as_me: failed program was:" >&5
                   5217: sed 's/^/| /' conftest.$ac_ext >&5
                   5218: 
1.1.1.5 ! root     5219:        ac_cv_c_const=no
1.1       root     5220: fi
1.1.1.5 ! root     5221: 
        !          5222: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5223: fi
1.1.1.5 ! root     5224: { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
        !          5225: echo "${ECHO_T}$ac_cv_c_const" >&6; }
1.1       root     5226: if test $ac_cv_c_const = no; then
                   5227: 
                   5228: cat >>confdefs.h <<\_ACEOF
                   5229: #define const
                   5230: _ACEOF
                   5231: 
                   5232: fi
                   5233: 
1.1.1.5 ! root     5234: { echo "$as_me:$LINENO: checking for inline" >&5
        !          5235: echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
1.1       root     5236: if test "${ac_cv_c_inline+set}" = set; then
                   5237:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5238: else
                   5239:   ac_cv_c_inline=no
                   5240: for ac_kw in inline __inline__ __inline; do
                   5241:   cat >conftest.$ac_ext <<_ACEOF
                   5242: /* confdefs.h.  */
                   5243: _ACEOF
                   5244: cat confdefs.h >>conftest.$ac_ext
                   5245: cat >>conftest.$ac_ext <<_ACEOF
                   5246: /* end confdefs.h.  */
                   5247: #ifndef __cplusplus
                   5248: typedef int foo_t;
                   5249: static $ac_kw foo_t static_foo () {return 0; }
                   5250: $ac_kw foo_t foo () {return 0; }
                   5251: #endif
                   5252: 
                   5253: _ACEOF
                   5254: rm -f conftest.$ac_objext
1.1.1.5 ! root     5255: if { (ac_try="$ac_compile"
        !          5256: case "(($ac_try" in
        !          5257:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5258:   *) ac_try_echo=$ac_try;;
        !          5259: esac
        !          5260: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5261:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5262:   ac_status=$?
1.1.1.5 ! root     5263:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5264:   rm -f conftest.er1
        !          5265:   cat conftest.err >&5
1.1       root     5266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5267:   (exit $ac_status); } && {
        !          5268:         test -z "$ac_c_werror_flag" ||
        !          5269:         test ! -s conftest.err
        !          5270:        } && test -s conftest.$ac_objext; then
        !          5271:   ac_cv_c_inline=$ac_kw
1.1       root     5272: else
                   5273:   echo "$as_me: failed program was:" >&5
                   5274: sed 's/^/| /' conftest.$ac_ext >&5
                   5275: 
1.1.1.5 ! root     5276: 
1.1       root     5277: fi
1.1.1.5 ! root     5278: 
        !          5279: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5280:   test "$ac_cv_c_inline" != no && break
1.1       root     5281: done
                   5282: 
                   5283: fi
1.1.1.5 ! root     5284: { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
        !          5285: echo "${ECHO_T}$ac_cv_c_inline" >&6; }
        !          5286: 
        !          5287: 
1.1       root     5288: case $ac_cv_c_inline in
                   5289:   inline | yes) ;;
1.1.1.5 ! root     5290:   *)
        !          5291:     case $ac_cv_c_inline in
        !          5292:       no) ac_val=;;
        !          5293:       *) ac_val=$ac_cv_c_inline;;
        !          5294:     esac
        !          5295:     cat >>confdefs.h <<_ACEOF
        !          5296: #ifndef __cplusplus
        !          5297: #define inline $ac_val
        !          5298: #endif
1.1       root     5299: _ACEOF
1.1.1.5 ! root     5300:     ;;
1.1       root     5301: esac
                   5302: 
1.1.1.5 ! root     5303: { echo "$as_me:$LINENO: checking for working volatile" >&5
        !          5304: echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
1.1.1.3   root     5305: if test "${ac_cv_c_volatile+set}" = set; then
1.1.1.2   root     5306:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5307: else
                   5308:   cat >conftest.$ac_ext <<_ACEOF
                   5309: /* confdefs.h.  */
                   5310: _ACEOF
                   5311: cat confdefs.h >>conftest.$ac_ext
                   5312: cat >>conftest.$ac_ext <<_ACEOF
                   5313: /* end confdefs.h.  */
1.1.1.3   root     5314: 
1.1.1.2   root     5315: int
                   5316: main ()
                   5317: {
1.1.1.3   root     5318: 
                   5319: volatile int x;
1.1.1.5 ! root     5320: int * volatile y = (int *) 0;
        !          5321: return !x && !y;
1.1.1.2   root     5322:   ;
                   5323:   return 0;
                   5324: }
                   5325: _ACEOF
                   5326: rm -f conftest.$ac_objext
1.1.1.5 ! root     5327: if { (ac_try="$ac_compile"
        !          5328: case "(($ac_try" in
        !          5329:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5330:   *) ac_try_echo=$ac_try;;
        !          5331: esac
        !          5332: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5333:   (eval "$ac_compile") 2>conftest.er1
1.1.1.2   root     5334:   ac_status=$?
1.1.1.5 ! root     5335:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5336:   rm -f conftest.er1
        !          5337:   cat conftest.err >&5
1.1.1.2   root     5338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5339:   (exit $ac_status); } && {
        !          5340:         test -z "$ac_c_werror_flag" ||
        !          5341:         test ! -s conftest.err
        !          5342:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     5343:   ac_cv_c_volatile=yes
1.1.1.2   root     5344: else
                   5345:   echo "$as_me: failed program was:" >&5
                   5346: sed 's/^/| /' conftest.$ac_ext >&5
                   5347: 
1.1.1.5 ! root     5348:        ac_cv_c_volatile=no
1.1.1.2   root     5349: fi
1.1.1.5 ! root     5350: 
        !          5351: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.2   root     5352: fi
1.1.1.5 ! root     5353: { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
        !          5354: echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
1.1.1.3   root     5355: if test $ac_cv_c_volatile = no; then
1.1.1.2   root     5356: 
1.1.1.3   root     5357: cat >>confdefs.h <<\_ACEOF
                   5358: #define volatile
1.1.1.2   root     5359: _ACEOF
                   5360: 
                   5361: fi
                   5362: 
1.1.1.5 ! root     5363: 
        !          5364: 
        !          5365:   { echo "$as_me:$LINENO: checking for long double with more range or precision than double" >&5
        !          5366: echo $ECHO_N "checking for long double with more range or precision than double... $ECHO_C" >&6; }
        !          5367: if test "${ac_cv_type_long_double_wider+set}" = set; then
1.1       root     5368:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5369: else
                   5370:   cat >conftest.$ac_ext <<_ACEOF
                   5371: /* confdefs.h.  */
                   5372: _ACEOF
                   5373: cat confdefs.h >>conftest.$ac_ext
                   5374: cat >>conftest.$ac_ext <<_ACEOF
                   5375: /* end confdefs.h.  */
1.1.1.3   root     5376: #include <float.h>
1.1.1.5 ! root     5377:            long double const a[] =
        !          5378:              {
        !          5379:                 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
        !          5380:                 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
        !          5381:              };
        !          5382:            long double
        !          5383:            f (long double x)
        !          5384:            {
        !          5385:               return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
        !          5386:                        + (x ? f (x) : 'c'));
        !          5387:            }
        !          5388: 
1.1       root     5389: int
                   5390: main ()
                   5391: {
1.1.1.5 ! root     5392: static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
        !          5393:                   + (DBL_MANT_DIG < LDBL_MANT_DIG)
        !          5394:                   - (LDBL_MAX_EXP < DBL_MAX_EXP)
        !          5395:                   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
        !          5396:            && (int) LDBL_EPSILON == 0
        !          5397:          )];
1.1.1.3   root     5398: test_array [0] = 0
                   5399: 
1.1       root     5400:   ;
                   5401:   return 0;
                   5402: }
                   5403: _ACEOF
                   5404: rm -f conftest.$ac_objext
1.1.1.5 ! root     5405: if { (ac_try="$ac_compile"
        !          5406: case "(($ac_try" in
        !          5407:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5408:   *) ac_try_echo=$ac_try;;
        !          5409: esac
        !          5410: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5411:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5412:   ac_status=$?
1.1.1.5 ! root     5413:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5414:   rm -f conftest.er1
        !          5415:   cat conftest.err >&5
1.1       root     5416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5417:   (exit $ac_status); } && {
        !          5418:         test -z "$ac_c_werror_flag" ||
        !          5419:         test ! -s conftest.err
        !          5420:        } && test -s conftest.$ac_objext; then
        !          5421:   ac_cv_type_long_double_wider=yes
1.1       root     5422: else
                   5423:   echo "$as_me: failed program was:" >&5
                   5424: sed 's/^/| /' conftest.$ac_ext >&5
                   5425: 
1.1.1.5 ! root     5426:        ac_cv_type_long_double_wider=no
1.1       root     5427: fi
1.1.1.5 ! root     5428: 
        !          5429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5430: fi
1.1.1.5 ! root     5431: { echo "$as_me:$LINENO: result: $ac_cv_type_long_double_wider" >&5
        !          5432: echo "${ECHO_T}$ac_cv_type_long_double_wider" >&6; }
        !          5433:   if test $ac_cv_type_long_double_wider = yes; then
        !          5434: 
        !          5435: cat >>confdefs.h <<\_ACEOF
        !          5436: #define HAVE_LONG_DOUBLE_WIDER 1
        !          5437: _ACEOF
        !          5438: 
        !          5439:   fi
        !          5440: 
        !          5441:     ac_cv_c_long_double=$ac_cv_type_long_double_wider
        !          5442:     if test $ac_cv_c_long_double = yes; then
1.1       root     5443: 
1.1.1.3   root     5444: cat >>confdefs.h <<\_ACEOF
                   5445: #define HAVE_LONG_DOUBLE 1
                   5446: _ACEOF
                   5447: 
1.1.1.5 ! root     5448:     fi
1.1.1.3   root     5449: 
1.1.1.5 ! root     5450: { echo "$as_me:$LINENO: checking for size_t" >&5
        !          5451: echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
1.1.1.3   root     5452: if test "${ac_cv_type_size_t+set}" = set; then
1.1       root     5453:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5454: else
1.1.1.3   root     5455:   cat >conftest.$ac_ext <<_ACEOF
1.1       root     5456: /* confdefs.h.  */
                   5457: _ACEOF
                   5458: cat confdefs.h >>conftest.$ac_ext
                   5459: cat >>conftest.$ac_ext <<_ACEOF
                   5460: /* end confdefs.h.  */
                   5461: $ac_includes_default
1.1.1.5 ! root     5462: typedef size_t ac__type_new_;
1.1       root     5463: int
                   5464: main ()
                   5465: {
1.1.1.5 ! root     5466: if ((ac__type_new_ *) 0)
1.1.1.3   root     5467:   return 0;
1.1.1.5 ! root     5468: if (sizeof (ac__type_new_))
1.1.1.3   root     5469:   return 0;
1.1       root     5470:   ;
                   5471:   return 0;
                   5472: }
                   5473: _ACEOF
                   5474: rm -f conftest.$ac_objext
1.1.1.5 ! root     5475: if { (ac_try="$ac_compile"
        !          5476: case "(($ac_try" in
        !          5477:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5478:   *) ac_try_echo=$ac_try;;
        !          5479: esac
        !          5480: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5481:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5482:   ac_status=$?
1.1.1.5 ! root     5483:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5484:   rm -f conftest.er1
        !          5485:   cat conftest.err >&5
1.1       root     5486:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5487:   (exit $ac_status); } && {
        !          5488:         test -z "$ac_c_werror_flag" ||
        !          5489:         test ! -s conftest.err
        !          5490:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     5491:   ac_cv_type_size_t=yes
                   5492: else
                   5493:   echo "$as_me: failed program was:" >&5
                   5494: sed 's/^/| /' conftest.$ac_ext >&5
                   5495: 
1.1.1.5 ! root     5496:        ac_cv_type_size_t=no
1.1.1.3   root     5497: fi
1.1.1.5 ! root     5498: 
        !          5499: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     5500: fi
1.1.1.5 ! root     5501: { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
        !          5502: echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
1.1.1.3   root     5503: if test $ac_cv_type_size_t = yes; then
                   5504:   :
                   5505: else
                   5506: 
                   5507: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! root     5508: #define size_t unsigned int
1.1.1.3   root     5509: _ACEOF
                   5510: 
                   5511: fi
                   5512: 
1.1.1.5 ! root     5513: { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
        !          5514: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
1.1.1.3   root     5515: if test "${ac_cv_type_signal+set}" = set; then
                   5516:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5517: else
                   5518:   cat >conftest.$ac_ext <<_ACEOF
1.1       root     5519: /* confdefs.h.  */
                   5520: _ACEOF
                   5521: cat confdefs.h >>conftest.$ac_ext
                   5522: cat >>conftest.$ac_ext <<_ACEOF
                   5523: /* end confdefs.h.  */
1.1.1.3   root     5524: #include <sys/types.h>
                   5525: #include <signal.h>
                   5526: 
1.1       root     5527: int
                   5528: main ()
                   5529: {
1.1.1.5 ! root     5530: return *(signal (0, 0)) (0) == 1;
1.1       root     5531:   ;
                   5532:   return 0;
                   5533: }
                   5534: _ACEOF
                   5535: rm -f conftest.$ac_objext
1.1.1.5 ! root     5536: if { (ac_try="$ac_compile"
        !          5537: case "(($ac_try" in
        !          5538:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5539:   *) ac_try_echo=$ac_try;;
        !          5540: esac
        !          5541: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5542:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5543:   ac_status=$?
1.1.1.5 ! root     5544:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5545:   rm -f conftest.er1
        !          5546:   cat conftest.err >&5
1.1       root     5547:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5548:   (exit $ac_status); } && {
        !          5549:         test -z "$ac_c_werror_flag" ||
        !          5550:         test ! -s conftest.err
        !          5551:        } && test -s conftest.$ac_objext; then
        !          5552:   ac_cv_type_signal=int
1.1       root     5553: else
                   5554:   echo "$as_me: failed program was:" >&5
                   5555: sed 's/^/| /' conftest.$ac_ext >&5
                   5556: 
1.1.1.5 ! root     5557:        ac_cv_type_signal=void
1.1       root     5558: fi
1.1.1.5 ! root     5559: 
        !          5560: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     5561: fi
1.1.1.5 ! root     5562: { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
        !          5563: echo "${ECHO_T}$ac_cv_type_signal" >&6; }
1.1       root     5564: 
1.1.1.3   root     5565: cat >>confdefs.h <<_ACEOF
                   5566: #define RETSIGTYPE $ac_cv_type_signal
                   5567: _ACEOF
                   5568: 
                   5569: 
1.1.1.5 ! root     5570: { echo "$as_me:$LINENO: checking for long" >&5
        !          5571: echo $ECHO_N "checking for long... $ECHO_C" >&6; }
1.1.1.3   root     5572: if test "${ac_cv_type_long+set}" = set; then
                   5573:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5574: else
                   5575:   cat >conftest.$ac_ext <<_ACEOF
                   5576: /* confdefs.h.  */
                   5577: _ACEOF
                   5578: cat confdefs.h >>conftest.$ac_ext
                   5579: cat >>conftest.$ac_ext <<_ACEOF
                   5580: /* end confdefs.h.  */
                   5581: $ac_includes_default
1.1.1.5 ! root     5582: typedef long ac__type_new_;
1.1.1.3   root     5583: int
                   5584: main ()
                   5585: {
1.1.1.5 ! root     5586: if ((ac__type_new_ *) 0)
1.1.1.3   root     5587:   return 0;
1.1.1.5 ! root     5588: if (sizeof (ac__type_new_))
1.1.1.3   root     5589:   return 0;
                   5590:   ;
                   5591:   return 0;
                   5592: }
                   5593: _ACEOF
                   5594: rm -f conftest.$ac_objext
1.1.1.5 ! root     5595: if { (ac_try="$ac_compile"
        !          5596: case "(($ac_try" in
        !          5597:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5598:   *) ac_try_echo=$ac_try;;
        !          5599: esac
        !          5600: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5601:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     5602:   ac_status=$?
1.1.1.5 ! root     5603:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5604:   rm -f conftest.er1
        !          5605:   cat conftest.err >&5
1.1.1.3   root     5606:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5607:   (exit $ac_status); } && {
        !          5608:         test -z "$ac_c_werror_flag" ||
        !          5609:         test ! -s conftest.err
        !          5610:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     5611:   ac_cv_type_long=yes
                   5612: else
                   5613:   echo "$as_me: failed program was:" >&5
                   5614: sed 's/^/| /' conftest.$ac_ext >&5
                   5615: 
1.1.1.5 ! root     5616:        ac_cv_type_long=no
1.1.1.3   root     5617: fi
1.1.1.5 ! root     5618: 
        !          5619: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     5620: fi
1.1.1.5 ! root     5621: { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
        !          5622: echo "${ECHO_T}$ac_cv_type_long" >&6; }
1.1.1.3   root     5623: 
1.1.1.5 ! root     5624: # The cast to long int works around a bug in the HP C Compiler
        !          5625: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          5626: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          5627: # This bug is HP SR number 8606223364.
        !          5628: { echo "$as_me:$LINENO: checking size of long" >&5
        !          5629: echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
1.1.1.3   root     5630: if test "${ac_cv_sizeof_long+set}" = set; then
                   5631:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5632: else
                   5633:   if test "$cross_compiling" = yes; then
                   5634:   # Depending upon the size, compute the lo and hi bounds.
                   5635: cat >conftest.$ac_ext <<_ACEOF
                   5636: /* confdefs.h.  */
                   5637: _ACEOF
                   5638: cat confdefs.h >>conftest.$ac_ext
                   5639: cat >>conftest.$ac_ext <<_ACEOF
                   5640: /* end confdefs.h.  */
                   5641: $ac_includes_default
1.1.1.5 ! root     5642:    typedef long ac__type_sizeof_;
1.1.1.3   root     5643: int
                   5644: main ()
                   5645: {
1.1.1.5 ! root     5646: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.3   root     5647: test_array [0] = 0
                   5648: 
                   5649:   ;
                   5650:   return 0;
                   5651: }
                   5652: _ACEOF
                   5653: rm -f conftest.$ac_objext
1.1.1.5 ! root     5654: if { (ac_try="$ac_compile"
        !          5655: case "(($ac_try" in
        !          5656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5657:   *) ac_try_echo=$ac_try;;
        !          5658: esac
        !          5659: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5660:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     5661:   ac_status=$?
1.1.1.5 ! root     5662:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5663:   rm -f conftest.er1
        !          5664:   cat conftest.err >&5
1.1.1.3   root     5665:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5666:   (exit $ac_status); } && {
        !          5667:         test -z "$ac_c_werror_flag" ||
        !          5668:         test ! -s conftest.err
        !          5669:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     5670:   ac_lo=0 ac_mid=0
                   5671:   while :; do
                   5672:     cat >conftest.$ac_ext <<_ACEOF
                   5673: /* confdefs.h.  */
                   5674: _ACEOF
                   5675: cat confdefs.h >>conftest.$ac_ext
                   5676: cat >>conftest.$ac_ext <<_ACEOF
                   5677: /* end confdefs.h.  */
                   5678: $ac_includes_default
1.1.1.5 ! root     5679:    typedef long ac__type_sizeof_;
1.1.1.3   root     5680: int
                   5681: main ()
                   5682: {
1.1.1.5 ! root     5683: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     5684: test_array [0] = 0
                   5685: 
                   5686:   ;
                   5687:   return 0;
                   5688: }
                   5689: _ACEOF
                   5690: rm -f conftest.$ac_objext
1.1.1.5 ! root     5691: if { (ac_try="$ac_compile"
        !          5692: case "(($ac_try" in
        !          5693:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5694:   *) ac_try_echo=$ac_try;;
        !          5695: esac
        !          5696: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5697:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     5698:   ac_status=$?
1.1.1.5 ! root     5699:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5700:   rm -f conftest.er1
        !          5701:   cat conftest.err >&5
1.1.1.3   root     5702:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5703:   (exit $ac_status); } && {
        !          5704:         test -z "$ac_c_werror_flag" ||
        !          5705:         test ! -s conftest.err
        !          5706:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     5707:   ac_hi=$ac_mid; break
                   5708: else
                   5709:   echo "$as_me: failed program was:" >&5
                   5710: sed 's/^/| /' conftest.$ac_ext >&5
                   5711: 
1.1.1.5 ! root     5712:        ac_lo=`expr $ac_mid + 1`
        !          5713:                        if test $ac_lo -le $ac_mid; then
        !          5714:                          ac_lo= ac_hi=
        !          5715:                          break
        !          5716:                        fi
        !          5717:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     5718: fi
1.1.1.5 ! root     5719: 
        !          5720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     5721:   done
                   5722: else
                   5723:   echo "$as_me: failed program was:" >&5
                   5724: sed 's/^/| /' conftest.$ac_ext >&5
                   5725: 
1.1.1.5 ! root     5726:        cat >conftest.$ac_ext <<_ACEOF
1.1       root     5727: /* confdefs.h.  */
                   5728: _ACEOF
                   5729: cat confdefs.h >>conftest.$ac_ext
                   5730: cat >>conftest.$ac_ext <<_ACEOF
                   5731: /* end confdefs.h.  */
                   5732: $ac_includes_default
1.1.1.5 ! root     5733:    typedef long ac__type_sizeof_;
1.1       root     5734: int
                   5735: main ()
                   5736: {
1.1.1.5 ! root     5737: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1       root     5738: test_array [0] = 0
                   5739: 
                   5740:   ;
                   5741:   return 0;
                   5742: }
                   5743: _ACEOF
                   5744: rm -f conftest.$ac_objext
1.1.1.5 ! root     5745: if { (ac_try="$ac_compile"
        !          5746: case "(($ac_try" in
        !          5747:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5748:   *) ac_try_echo=$ac_try;;
        !          5749: esac
        !          5750: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5751:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5752:   ac_status=$?
1.1.1.5 ! root     5753:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5754:   rm -f conftest.er1
        !          5755:   cat conftest.err >&5
1.1       root     5756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5757:   (exit $ac_status); } && {
        !          5758:         test -z "$ac_c_werror_flag" ||
        !          5759:         test ! -s conftest.err
        !          5760:        } && test -s conftest.$ac_objext; then
1.1       root     5761:   ac_hi=-1 ac_mid=-1
                   5762:   while :; do
                   5763:     cat >conftest.$ac_ext <<_ACEOF
                   5764: /* confdefs.h.  */
                   5765: _ACEOF
                   5766: cat confdefs.h >>conftest.$ac_ext
                   5767: cat >>conftest.$ac_ext <<_ACEOF
                   5768: /* end confdefs.h.  */
                   5769: $ac_includes_default
1.1.1.5 ! root     5770:    typedef long ac__type_sizeof_;
1.1       root     5771: int
                   5772: main ()
                   5773: {
1.1.1.5 ! root     5774: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1       root     5775: test_array [0] = 0
                   5776: 
                   5777:   ;
                   5778:   return 0;
                   5779: }
                   5780: _ACEOF
                   5781: rm -f conftest.$ac_objext
1.1.1.5 ! root     5782: if { (ac_try="$ac_compile"
        !          5783: case "(($ac_try" in
        !          5784:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5785:   *) ac_try_echo=$ac_try;;
        !          5786: esac
        !          5787: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5788:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5789:   ac_status=$?
1.1.1.5 ! root     5790:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5791:   rm -f conftest.er1
        !          5792:   cat conftest.err >&5
1.1       root     5793:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5794:   (exit $ac_status); } && {
        !          5795:         test -z "$ac_c_werror_flag" ||
        !          5796:         test ! -s conftest.err
        !          5797:        } && test -s conftest.$ac_objext; then
1.1       root     5798:   ac_lo=$ac_mid; break
                   5799: else
                   5800:   echo "$as_me: failed program was:" >&5
                   5801: sed 's/^/| /' conftest.$ac_ext >&5
                   5802: 
1.1.1.5 ! root     5803:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          5804:                        if test $ac_mid -le $ac_hi; then
        !          5805:                          ac_lo= ac_hi=
        !          5806:                          break
        !          5807:                        fi
        !          5808:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     5809: fi
1.1.1.5 ! root     5810: 
        !          5811: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5812:   done
                   5813: else
                   5814:   echo "$as_me: failed program was:" >&5
                   5815: sed 's/^/| /' conftest.$ac_ext >&5
                   5816: 
1.1.1.5 ! root     5817:        ac_lo= ac_hi=
1.1       root     5818: fi
1.1.1.5 ! root     5819: 
        !          5820: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5821: fi
1.1.1.5 ! root     5822: 
        !          5823: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5824: # Binary search between lo and hi bounds.
                   5825: while test "x$ac_lo" != "x$ac_hi"; do
                   5826:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   5827:   cat >conftest.$ac_ext <<_ACEOF
                   5828: /* confdefs.h.  */
                   5829: _ACEOF
                   5830: cat confdefs.h >>conftest.$ac_ext
                   5831: cat >>conftest.$ac_ext <<_ACEOF
                   5832: /* end confdefs.h.  */
                   5833: $ac_includes_default
1.1.1.5 ! root     5834:    typedef long ac__type_sizeof_;
1.1       root     5835: int
                   5836: main ()
                   5837: {
1.1.1.5 ! root     5838: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1       root     5839: test_array [0] = 0
                   5840: 
                   5841:   ;
                   5842:   return 0;
                   5843: }
                   5844: _ACEOF
                   5845: rm -f conftest.$ac_objext
1.1.1.5 ! root     5846: if { (ac_try="$ac_compile"
        !          5847: case "(($ac_try" in
        !          5848:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5849:   *) ac_try_echo=$ac_try;;
        !          5850: esac
        !          5851: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5852:   (eval "$ac_compile") 2>conftest.er1
1.1       root     5853:   ac_status=$?
1.1.1.5 ! root     5854:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5855:   rm -f conftest.er1
        !          5856:   cat conftest.err >&5
1.1       root     5857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     5858:   (exit $ac_status); } && {
        !          5859:         test -z "$ac_c_werror_flag" ||
        !          5860:         test ! -s conftest.err
        !          5861:        } && test -s conftest.$ac_objext; then
1.1       root     5862:   ac_hi=$ac_mid
                   5863: else
                   5864:   echo "$as_me: failed program was:" >&5
                   5865: sed 's/^/| /' conftest.$ac_ext >&5
                   5866: 
1.1.1.5 ! root     5867:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1       root     5868: fi
1.1.1.5 ! root     5869: 
        !          5870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5871: done
                   5872: case $ac_lo in
                   5873: ?*) ac_cv_sizeof_long=$ac_lo;;
1.1.1.5 ! root     5874: '') if test "$ac_cv_type_long" = yes; then
        !          5875:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.1       root     5876: See \`config.log' for more details." >&5
1.1.1.5 ! root     5877: echo "$as_me: error: cannot compute sizeof (long)
1.1       root     5878: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     5879:    { (exit 77); exit 77; }; }
        !          5880:    else
        !          5881:      ac_cv_sizeof_long=0
        !          5882:    fi ;;
1.1       root     5883: esac
                   5884: else
                   5885:   cat >conftest.$ac_ext <<_ACEOF
                   5886: /* confdefs.h.  */
                   5887: _ACEOF
                   5888: cat confdefs.h >>conftest.$ac_ext
                   5889: cat >>conftest.$ac_ext <<_ACEOF
                   5890: /* end confdefs.h.  */
                   5891: $ac_includes_default
1.1.1.5 ! root     5892:    typedef long ac__type_sizeof_;
        !          5893: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          5894: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     5895: #include <stdio.h>
                   5896: #include <stdlib.h>
                   5897: int
                   5898: main ()
                   5899: {
                   5900: 
                   5901:   FILE *f = fopen ("conftest.val", "w");
                   5902:   if (! f)
1.1.1.5 ! root     5903:     return 1;
        !          5904:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1       root     5905:     {
1.1.1.5 ! root     5906:       long int i = longval ();
        !          5907:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          5908:        return 1;
1.1       root     5909:       fprintf (f, "%ld\n", i);
                   5910:     }
                   5911:   else
                   5912:     {
1.1.1.5 ! root     5913:       unsigned long int i = ulongval ();
        !          5914:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          5915:        return 1;
1.1       root     5916:       fprintf (f, "%lu\n", i);
                   5917:     }
1.1.1.5 ! root     5918:   return ferror (f) || fclose (f) != 0;
1.1       root     5919: 
                   5920:   ;
                   5921:   return 0;
                   5922: }
                   5923: _ACEOF
                   5924: rm -f conftest$ac_exeext
1.1.1.5 ! root     5925: if { (ac_try="$ac_link"
        !          5926: case "(($ac_try" in
        !          5927:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5928:   *) ac_try_echo=$ac_try;;
        !          5929: esac
        !          5930: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5931:   (eval "$ac_link") 2>&5
1.1       root     5932:   ac_status=$?
                   5933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5934:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     5935:   { (case "(($ac_try" in
        !          5936:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          5937:   *) ac_try_echo=$ac_try;;
        !          5938: esac
        !          5939: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          5940:   (eval "$ac_try") 2>&5
1.1       root     5941:   ac_status=$?
                   5942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5943:   (exit $ac_status); }; }; then
                   5944:   ac_cv_sizeof_long=`cat conftest.val`
                   5945: else
                   5946:   echo "$as_me: program exited with status $ac_status" >&5
                   5947: echo "$as_me: failed program was:" >&5
                   5948: sed 's/^/| /' conftest.$ac_ext >&5
                   5949: 
                   5950: ( exit $ac_status )
1.1.1.5 ! root     5951: if test "$ac_cv_type_long" = yes; then
        !          5952:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.1       root     5953: See \`config.log' for more details." >&5
1.1.1.5 ! root     5954: echo "$as_me: error: cannot compute sizeof (long)
1.1       root     5955: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     5956:    { (exit 77); exit 77; }; }
        !          5957:    else
        !          5958:      ac_cv_sizeof_long=0
        !          5959:    fi
1.1       root     5960: fi
1.1.1.5 ! root     5961: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5962: fi
                   5963: rm -f conftest.val
                   5964: fi
1.1.1.5 ! root     5965: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
        !          5966: echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
        !          5967: 
        !          5968: 
        !          5969: 
1.1       root     5970: cat >>confdefs.h <<_ACEOF
                   5971: #define SIZEOF_LONG $ac_cv_sizeof_long
                   5972: _ACEOF
                   5973: 
                   5974: 
1.1.1.5 ! root     5975: { echo "$as_me:$LINENO: checking for int" >&5
        !          5976: echo $ECHO_N "checking for int... $ECHO_C" >&6; }
1.1       root     5977: if test "${ac_cv_type_int+set}" = set; then
                   5978:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5979: else
                   5980:   cat >conftest.$ac_ext <<_ACEOF
                   5981: /* confdefs.h.  */
                   5982: _ACEOF
                   5983: cat confdefs.h >>conftest.$ac_ext
                   5984: cat >>conftest.$ac_ext <<_ACEOF
                   5985: /* end confdefs.h.  */
                   5986: $ac_includes_default
1.1.1.5 ! root     5987: typedef int ac__type_new_;
1.1       root     5988: int
                   5989: main ()
                   5990: {
1.1.1.5 ! root     5991: if ((ac__type_new_ *) 0)
1.1       root     5992:   return 0;
1.1.1.5 ! root     5993: if (sizeof (ac__type_new_))
1.1       root     5994:   return 0;
                   5995:   ;
                   5996:   return 0;
                   5997: }
                   5998: _ACEOF
                   5999: rm -f conftest.$ac_objext
1.1.1.5 ! root     6000: if { (ac_try="$ac_compile"
        !          6001: case "(($ac_try" in
        !          6002:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6003:   *) ac_try_echo=$ac_try;;
        !          6004: esac
        !          6005: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6006:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6007:   ac_status=$?
1.1.1.5 ! root     6008:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6009:   rm -f conftest.er1
        !          6010:   cat conftest.err >&5
1.1       root     6011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6012:   (exit $ac_status); } && {
        !          6013:         test -z "$ac_c_werror_flag" ||
        !          6014:         test ! -s conftest.err
        !          6015:        } && test -s conftest.$ac_objext; then
1.1       root     6016:   ac_cv_type_int=yes
                   6017: else
                   6018:   echo "$as_me: failed program was:" >&5
                   6019: sed 's/^/| /' conftest.$ac_ext >&5
                   6020: 
1.1.1.5 ! root     6021:        ac_cv_type_int=no
1.1       root     6022: fi
1.1.1.5 ! root     6023: 
        !          6024: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6025: fi
1.1.1.5 ! root     6026: { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
        !          6027: echo "${ECHO_T}$ac_cv_type_int" >&6; }
1.1       root     6028: 
1.1.1.5 ! root     6029: # The cast to long int works around a bug in the HP C Compiler
        !          6030: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6031: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6032: # This bug is HP SR number 8606223364.
        !          6033: { echo "$as_me:$LINENO: checking size of int" >&5
        !          6034: echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
1.1       root     6035: if test "${ac_cv_sizeof_int+set}" = set; then
                   6036:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6037: else
                   6038:   if test "$cross_compiling" = yes; then
                   6039:   # Depending upon the size, compute the lo and hi bounds.
                   6040: cat >conftest.$ac_ext <<_ACEOF
                   6041: /* confdefs.h.  */
                   6042: _ACEOF
                   6043: cat confdefs.h >>conftest.$ac_ext
                   6044: cat >>conftest.$ac_ext <<_ACEOF
                   6045: /* end confdefs.h.  */
                   6046: $ac_includes_default
1.1.1.5 ! root     6047:    typedef int ac__type_sizeof_;
1.1       root     6048: int
                   6049: main ()
                   6050: {
1.1.1.5 ! root     6051: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1       root     6052: test_array [0] = 0
                   6053: 
                   6054:   ;
                   6055:   return 0;
                   6056: }
                   6057: _ACEOF
                   6058: rm -f conftest.$ac_objext
1.1.1.5 ! root     6059: if { (ac_try="$ac_compile"
        !          6060: case "(($ac_try" in
        !          6061:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6062:   *) ac_try_echo=$ac_try;;
        !          6063: esac
        !          6064: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6065:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6066:   ac_status=$?
1.1.1.5 ! root     6067:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6068:   rm -f conftest.er1
        !          6069:   cat conftest.err >&5
1.1       root     6070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6071:   (exit $ac_status); } && {
        !          6072:         test -z "$ac_c_werror_flag" ||
        !          6073:         test ! -s conftest.err
        !          6074:        } && test -s conftest.$ac_objext; then
1.1       root     6075:   ac_lo=0 ac_mid=0
                   6076:   while :; do
                   6077:     cat >conftest.$ac_ext <<_ACEOF
                   6078: /* confdefs.h.  */
                   6079: _ACEOF
                   6080: cat confdefs.h >>conftest.$ac_ext
                   6081: cat >>conftest.$ac_ext <<_ACEOF
                   6082: /* end confdefs.h.  */
                   6083: $ac_includes_default
1.1.1.5 ! root     6084:    typedef int ac__type_sizeof_;
1.1       root     6085: int
                   6086: main ()
                   6087: {
1.1.1.5 ! root     6088: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1       root     6089: test_array [0] = 0
                   6090: 
                   6091:   ;
                   6092:   return 0;
                   6093: }
                   6094: _ACEOF
                   6095: rm -f conftest.$ac_objext
1.1.1.5 ! root     6096: if { (ac_try="$ac_compile"
        !          6097: case "(($ac_try" in
        !          6098:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6099:   *) ac_try_echo=$ac_try;;
        !          6100: esac
        !          6101: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6102:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6103:   ac_status=$?
1.1.1.5 ! root     6104:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6105:   rm -f conftest.er1
        !          6106:   cat conftest.err >&5
1.1       root     6107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6108:   (exit $ac_status); } && {
        !          6109:         test -z "$ac_c_werror_flag" ||
        !          6110:         test ! -s conftest.err
        !          6111:        } && test -s conftest.$ac_objext; then
1.1       root     6112:   ac_hi=$ac_mid; break
                   6113: else
                   6114:   echo "$as_me: failed program was:" >&5
                   6115: sed 's/^/| /' conftest.$ac_ext >&5
                   6116: 
1.1.1.5 ! root     6117:        ac_lo=`expr $ac_mid + 1`
        !          6118:                        if test $ac_lo -le $ac_mid; then
        !          6119:                          ac_lo= ac_hi=
        !          6120:                          break
        !          6121:                        fi
        !          6122:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1       root     6123: fi
1.1.1.5 ! root     6124: 
        !          6125: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6126:   done
                   6127: else
                   6128:   echo "$as_me: failed program was:" >&5
                   6129: sed 's/^/| /' conftest.$ac_ext >&5
                   6130: 
1.1.1.5 ! root     6131:        cat >conftest.$ac_ext <<_ACEOF
1.1       root     6132: /* confdefs.h.  */
                   6133: _ACEOF
                   6134: cat confdefs.h >>conftest.$ac_ext
                   6135: cat >>conftest.$ac_ext <<_ACEOF
                   6136: /* end confdefs.h.  */
                   6137: $ac_includes_default
1.1.1.5 ! root     6138:    typedef int ac__type_sizeof_;
1.1       root     6139: int
                   6140: main ()
                   6141: {
1.1.1.5 ! root     6142: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1       root     6143: test_array [0] = 0
                   6144: 
                   6145:   ;
                   6146:   return 0;
                   6147: }
                   6148: _ACEOF
                   6149: rm -f conftest.$ac_objext
1.1.1.5 ! root     6150: if { (ac_try="$ac_compile"
        !          6151: case "(($ac_try" in
        !          6152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6153:   *) ac_try_echo=$ac_try;;
        !          6154: esac
        !          6155: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6156:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6157:   ac_status=$?
1.1.1.5 ! root     6158:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6159:   rm -f conftest.er1
        !          6160:   cat conftest.err >&5
1.1       root     6161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6162:   (exit $ac_status); } && {
        !          6163:         test -z "$ac_c_werror_flag" ||
        !          6164:         test ! -s conftest.err
        !          6165:        } && test -s conftest.$ac_objext; then
1.1       root     6166:   ac_hi=-1 ac_mid=-1
                   6167:   while :; do
                   6168:     cat >conftest.$ac_ext <<_ACEOF
                   6169: /* confdefs.h.  */
                   6170: _ACEOF
                   6171: cat confdefs.h >>conftest.$ac_ext
                   6172: cat >>conftest.$ac_ext <<_ACEOF
                   6173: /* end confdefs.h.  */
                   6174: $ac_includes_default
1.1.1.5 ! root     6175:    typedef int ac__type_sizeof_;
1.1       root     6176: int
                   6177: main ()
                   6178: {
1.1.1.5 ! root     6179: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1       root     6180: test_array [0] = 0
                   6181: 
                   6182:   ;
                   6183:   return 0;
                   6184: }
                   6185: _ACEOF
                   6186: rm -f conftest.$ac_objext
1.1.1.5 ! root     6187: if { (ac_try="$ac_compile"
        !          6188: case "(($ac_try" in
        !          6189:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6190:   *) ac_try_echo=$ac_try;;
        !          6191: esac
        !          6192: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6193:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6194:   ac_status=$?
1.1.1.5 ! root     6195:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6196:   rm -f conftest.er1
        !          6197:   cat conftest.err >&5
1.1       root     6198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6199:   (exit $ac_status); } && {
        !          6200:         test -z "$ac_c_werror_flag" ||
        !          6201:         test ! -s conftest.err
        !          6202:        } && test -s conftest.$ac_objext; then
1.1       root     6203:   ac_lo=$ac_mid; break
                   6204: else
                   6205:   echo "$as_me: failed program was:" >&5
                   6206: sed 's/^/| /' conftest.$ac_ext >&5
                   6207: 
1.1.1.5 ! root     6208:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          6209:                        if test $ac_mid -le $ac_hi; then
        !          6210:                          ac_lo= ac_hi=
        !          6211:                          break
        !          6212:                        fi
        !          6213:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     6214: fi
1.1.1.5 ! root     6215: 
        !          6216: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6217:   done
                   6218: else
                   6219:   echo "$as_me: failed program was:" >&5
                   6220: sed 's/^/| /' conftest.$ac_ext >&5
                   6221: 
1.1.1.5 ! root     6222:        ac_lo= ac_hi=
1.1       root     6223: fi
1.1.1.5 ! root     6224: 
        !          6225: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6226: fi
1.1.1.5 ! root     6227: 
        !          6228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6229: # Binary search between lo and hi bounds.
                   6230: while test "x$ac_lo" != "x$ac_hi"; do
                   6231:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6232:   cat >conftest.$ac_ext <<_ACEOF
                   6233: /* confdefs.h.  */
                   6234: _ACEOF
                   6235: cat confdefs.h >>conftest.$ac_ext
                   6236: cat >>conftest.$ac_ext <<_ACEOF
                   6237: /* end confdefs.h.  */
                   6238: $ac_includes_default
1.1.1.5 ! root     6239:    typedef int ac__type_sizeof_;
1.1       root     6240: int
                   6241: main ()
                   6242: {
1.1.1.5 ! root     6243: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1       root     6244: test_array [0] = 0
                   6245: 
                   6246:   ;
                   6247:   return 0;
                   6248: }
                   6249: _ACEOF
                   6250: rm -f conftest.$ac_objext
1.1.1.5 ! root     6251: if { (ac_try="$ac_compile"
        !          6252: case "(($ac_try" in
        !          6253:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6254:   *) ac_try_echo=$ac_try;;
        !          6255: esac
        !          6256: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6257:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6258:   ac_status=$?
1.1.1.5 ! root     6259:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6260:   rm -f conftest.er1
        !          6261:   cat conftest.err >&5
1.1       root     6262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6263:   (exit $ac_status); } && {
        !          6264:         test -z "$ac_c_werror_flag" ||
        !          6265:         test ! -s conftest.err
        !          6266:        } && test -s conftest.$ac_objext; then
1.1       root     6267:   ac_hi=$ac_mid
                   6268: else
                   6269:   echo "$as_me: failed program was:" >&5
                   6270: sed 's/^/| /' conftest.$ac_ext >&5
                   6271: 
1.1.1.5 ! root     6272:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1       root     6273: fi
1.1.1.5 ! root     6274: 
        !          6275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6276: done
                   6277: case $ac_lo in
                   6278: ?*) ac_cv_sizeof_int=$ac_lo;;
1.1.1.5 ! root     6279: '') if test "$ac_cv_type_int" = yes; then
        !          6280:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
1.1       root     6281: See \`config.log' for more details." >&5
1.1.1.5 ! root     6282: echo "$as_me: error: cannot compute sizeof (int)
1.1       root     6283: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     6284:    { (exit 77); exit 77; }; }
        !          6285:    else
        !          6286:      ac_cv_sizeof_int=0
        !          6287:    fi ;;
1.1       root     6288: esac
                   6289: else
                   6290:   cat >conftest.$ac_ext <<_ACEOF
                   6291: /* confdefs.h.  */
                   6292: _ACEOF
                   6293: cat confdefs.h >>conftest.$ac_ext
                   6294: cat >>conftest.$ac_ext <<_ACEOF
                   6295: /* end confdefs.h.  */
                   6296: $ac_includes_default
1.1.1.5 ! root     6297:    typedef int ac__type_sizeof_;
        !          6298: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          6299: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     6300: #include <stdio.h>
                   6301: #include <stdlib.h>
                   6302: int
                   6303: main ()
                   6304: {
                   6305: 
                   6306:   FILE *f = fopen ("conftest.val", "w");
                   6307:   if (! f)
1.1.1.5 ! root     6308:     return 1;
        !          6309:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1       root     6310:     {
1.1.1.5 ! root     6311:       long int i = longval ();
        !          6312:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          6313:        return 1;
1.1       root     6314:       fprintf (f, "%ld\n", i);
                   6315:     }
                   6316:   else
                   6317:     {
1.1.1.5 ! root     6318:       unsigned long int i = ulongval ();
        !          6319:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          6320:        return 1;
1.1       root     6321:       fprintf (f, "%lu\n", i);
                   6322:     }
1.1.1.5 ! root     6323:   return ferror (f) || fclose (f) != 0;
1.1       root     6324: 
                   6325:   ;
                   6326:   return 0;
                   6327: }
                   6328: _ACEOF
                   6329: rm -f conftest$ac_exeext
1.1.1.5 ! root     6330: if { (ac_try="$ac_link"
        !          6331: case "(($ac_try" in
        !          6332:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6333:   *) ac_try_echo=$ac_try;;
        !          6334: esac
        !          6335: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6336:   (eval "$ac_link") 2>&5
1.1       root     6337:   ac_status=$?
                   6338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6339:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     6340:   { (case "(($ac_try" in
        !          6341:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6342:   *) ac_try_echo=$ac_try;;
        !          6343: esac
        !          6344: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6345:   (eval "$ac_try") 2>&5
1.1       root     6346:   ac_status=$?
                   6347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6348:   (exit $ac_status); }; }; then
                   6349:   ac_cv_sizeof_int=`cat conftest.val`
                   6350: else
                   6351:   echo "$as_me: program exited with status $ac_status" >&5
                   6352: echo "$as_me: failed program was:" >&5
                   6353: sed 's/^/| /' conftest.$ac_ext >&5
                   6354: 
                   6355: ( exit $ac_status )
1.1.1.5 ! root     6356: if test "$ac_cv_type_int" = yes; then
        !          6357:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
1.1       root     6358: See \`config.log' for more details." >&5
1.1.1.5 ! root     6359: echo "$as_me: error: cannot compute sizeof (int)
1.1       root     6360: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     6361:    { (exit 77); exit 77; }; }
        !          6362:    else
        !          6363:      ac_cv_sizeof_int=0
        !          6364:    fi
1.1       root     6365: fi
1.1.1.5 ! root     6366: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     6367: fi
                   6368: rm -f conftest.val
                   6369: fi
1.1.1.5 ! root     6370: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
        !          6371: echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
        !          6372: 
        !          6373: 
        !          6374: 
1.1       root     6375: cat >>confdefs.h <<_ACEOF
                   6376: #define SIZEOF_INT $ac_cv_sizeof_int
                   6377: _ACEOF
                   6378: 
                   6379: 
1.1.1.5 ! root     6380: { echo "$as_me:$LINENO: checking for short" >&5
        !          6381: echo $ECHO_N "checking for short... $ECHO_C" >&6; }
1.1       root     6382: if test "${ac_cv_type_short+set}" = set; then
                   6383:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6384: else
                   6385:   cat >conftest.$ac_ext <<_ACEOF
                   6386: /* confdefs.h.  */
                   6387: _ACEOF
                   6388: cat confdefs.h >>conftest.$ac_ext
                   6389: cat >>conftest.$ac_ext <<_ACEOF
                   6390: /* end confdefs.h.  */
                   6391: $ac_includes_default
1.1.1.5 ! root     6392: typedef short ac__type_new_;
1.1       root     6393: int
                   6394: main ()
                   6395: {
1.1.1.5 ! root     6396: if ((ac__type_new_ *) 0)
1.1       root     6397:   return 0;
1.1.1.5 ! root     6398: if (sizeof (ac__type_new_))
1.1       root     6399:   return 0;
                   6400:   ;
                   6401:   return 0;
                   6402: }
                   6403: _ACEOF
                   6404: rm -f conftest.$ac_objext
1.1.1.5 ! root     6405: if { (ac_try="$ac_compile"
        !          6406: case "(($ac_try" in
        !          6407:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6408:   *) ac_try_echo=$ac_try;;
        !          6409: esac
        !          6410: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6411:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6412:   ac_status=$?
1.1.1.5 ! root     6413:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6414:   rm -f conftest.er1
        !          6415:   cat conftest.err >&5
1.1       root     6416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6417:   (exit $ac_status); } && {
        !          6418:         test -z "$ac_c_werror_flag" ||
        !          6419:         test ! -s conftest.err
        !          6420:        } && test -s conftest.$ac_objext; then
1.1       root     6421:   ac_cv_type_short=yes
                   6422: else
                   6423:   echo "$as_me: failed program was:" >&5
                   6424: sed 's/^/| /' conftest.$ac_ext >&5
                   6425: 
1.1.1.5 ! root     6426:        ac_cv_type_short=no
1.1       root     6427: fi
1.1.1.5 ! root     6428: 
        !          6429: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6430: fi
1.1.1.5 ! root     6431: { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
        !          6432: echo "${ECHO_T}$ac_cv_type_short" >&6; }
1.1       root     6433: 
1.1.1.5 ! root     6434: # The cast to long int works around a bug in the HP C Compiler
        !          6435: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6436: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6437: # This bug is HP SR number 8606223364.
        !          6438: { echo "$as_me:$LINENO: checking size of short" >&5
        !          6439: echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
1.1       root     6440: if test "${ac_cv_sizeof_short+set}" = set; then
                   6441:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6442: else
                   6443:   if test "$cross_compiling" = yes; then
                   6444:   # Depending upon the size, compute the lo and hi bounds.
                   6445: cat >conftest.$ac_ext <<_ACEOF
                   6446: /* confdefs.h.  */
                   6447: _ACEOF
                   6448: cat confdefs.h >>conftest.$ac_ext
                   6449: cat >>conftest.$ac_ext <<_ACEOF
                   6450: /* end confdefs.h.  */
                   6451: $ac_includes_default
1.1.1.5 ! root     6452:    typedef short ac__type_sizeof_;
1.1       root     6453: int
                   6454: main ()
                   6455: {
1.1.1.5 ! root     6456: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1       root     6457: test_array [0] = 0
                   6458: 
                   6459:   ;
                   6460:   return 0;
                   6461: }
                   6462: _ACEOF
                   6463: rm -f conftest.$ac_objext
1.1.1.5 ! root     6464: if { (ac_try="$ac_compile"
        !          6465: case "(($ac_try" in
        !          6466:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6467:   *) ac_try_echo=$ac_try;;
        !          6468: esac
        !          6469: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6470:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6471:   ac_status=$?
1.1.1.5 ! root     6472:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6473:   rm -f conftest.er1
        !          6474:   cat conftest.err >&5
1.1       root     6475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6476:   (exit $ac_status); } && {
        !          6477:         test -z "$ac_c_werror_flag" ||
        !          6478:         test ! -s conftest.err
        !          6479:        } && test -s conftest.$ac_objext; then
1.1       root     6480:   ac_lo=0 ac_mid=0
                   6481:   while :; do
                   6482:     cat >conftest.$ac_ext <<_ACEOF
                   6483: /* confdefs.h.  */
                   6484: _ACEOF
                   6485: cat confdefs.h >>conftest.$ac_ext
                   6486: cat >>conftest.$ac_ext <<_ACEOF
                   6487: /* end confdefs.h.  */
                   6488: $ac_includes_default
1.1.1.5 ! root     6489:    typedef short ac__type_sizeof_;
1.1       root     6490: int
                   6491: main ()
                   6492: {
1.1.1.5 ! root     6493: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1       root     6494: test_array [0] = 0
                   6495: 
                   6496:   ;
                   6497:   return 0;
                   6498: }
                   6499: _ACEOF
                   6500: rm -f conftest.$ac_objext
1.1.1.5 ! root     6501: if { (ac_try="$ac_compile"
        !          6502: case "(($ac_try" in
        !          6503:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6504:   *) ac_try_echo=$ac_try;;
        !          6505: esac
        !          6506: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6507:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6508:   ac_status=$?
1.1.1.5 ! root     6509:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6510:   rm -f conftest.er1
        !          6511:   cat conftest.err >&5
1.1       root     6512:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6513:   (exit $ac_status); } && {
        !          6514:         test -z "$ac_c_werror_flag" ||
        !          6515:         test ! -s conftest.err
        !          6516:        } && test -s conftest.$ac_objext; then
1.1       root     6517:   ac_hi=$ac_mid; break
                   6518: else
                   6519:   echo "$as_me: failed program was:" >&5
                   6520: sed 's/^/| /' conftest.$ac_ext >&5
                   6521: 
1.1.1.5 ! root     6522:        ac_lo=`expr $ac_mid + 1`
        !          6523:                        if test $ac_lo -le $ac_mid; then
        !          6524:                          ac_lo= ac_hi=
        !          6525:                          break
        !          6526:                        fi
        !          6527:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1       root     6528: fi
1.1.1.5 ! root     6529: 
        !          6530: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6531:   done
                   6532: else
                   6533:   echo "$as_me: failed program was:" >&5
                   6534: sed 's/^/| /' conftest.$ac_ext >&5
                   6535: 
1.1.1.5 ! root     6536:        cat >conftest.$ac_ext <<_ACEOF
1.1       root     6537: /* confdefs.h.  */
                   6538: _ACEOF
                   6539: cat confdefs.h >>conftest.$ac_ext
                   6540: cat >>conftest.$ac_ext <<_ACEOF
                   6541: /* end confdefs.h.  */
                   6542: $ac_includes_default
1.1.1.5 ! root     6543:    typedef short ac__type_sizeof_;
1.1       root     6544: int
                   6545: main ()
                   6546: {
1.1.1.5 ! root     6547: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1       root     6548: test_array [0] = 0
                   6549: 
                   6550:   ;
                   6551:   return 0;
                   6552: }
                   6553: _ACEOF
                   6554: rm -f conftest.$ac_objext
1.1.1.5 ! root     6555: if { (ac_try="$ac_compile"
        !          6556: case "(($ac_try" in
        !          6557:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6558:   *) ac_try_echo=$ac_try;;
        !          6559: esac
        !          6560: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6561:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6562:   ac_status=$?
1.1.1.5 ! root     6563:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6564:   rm -f conftest.er1
        !          6565:   cat conftest.err >&5
1.1       root     6566:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6567:   (exit $ac_status); } && {
        !          6568:         test -z "$ac_c_werror_flag" ||
        !          6569:         test ! -s conftest.err
        !          6570:        } && test -s conftest.$ac_objext; then
1.1       root     6571:   ac_hi=-1 ac_mid=-1
                   6572:   while :; do
                   6573:     cat >conftest.$ac_ext <<_ACEOF
                   6574: /* confdefs.h.  */
                   6575: _ACEOF
                   6576: cat confdefs.h >>conftest.$ac_ext
                   6577: cat >>conftest.$ac_ext <<_ACEOF
                   6578: /* end confdefs.h.  */
                   6579: $ac_includes_default
1.1.1.5 ! root     6580:    typedef short ac__type_sizeof_;
1.1       root     6581: int
                   6582: main ()
                   6583: {
1.1.1.5 ! root     6584: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1       root     6585: test_array [0] = 0
                   6586: 
                   6587:   ;
                   6588:   return 0;
                   6589: }
                   6590: _ACEOF
                   6591: rm -f conftest.$ac_objext
1.1.1.5 ! root     6592: if { (ac_try="$ac_compile"
        !          6593: case "(($ac_try" in
        !          6594:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6595:   *) ac_try_echo=$ac_try;;
        !          6596: esac
        !          6597: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6598:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6599:   ac_status=$?
1.1.1.5 ! root     6600:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6601:   rm -f conftest.er1
        !          6602:   cat conftest.err >&5
1.1       root     6603:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6604:   (exit $ac_status); } && {
        !          6605:         test -z "$ac_c_werror_flag" ||
        !          6606:         test ! -s conftest.err
        !          6607:        } && test -s conftest.$ac_objext; then
1.1       root     6608:   ac_lo=$ac_mid; break
                   6609: else
                   6610:   echo "$as_me: failed program was:" >&5
                   6611: sed 's/^/| /' conftest.$ac_ext >&5
                   6612: 
1.1.1.5 ! root     6613:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          6614:                        if test $ac_mid -le $ac_hi; then
        !          6615:                          ac_lo= ac_hi=
        !          6616:                          break
        !          6617:                        fi
        !          6618:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     6619: fi
1.1.1.5 ! root     6620: 
        !          6621: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6622:   done
                   6623: else
                   6624:   echo "$as_me: failed program was:" >&5
                   6625: sed 's/^/| /' conftest.$ac_ext >&5
                   6626: 
1.1.1.5 ! root     6627:        ac_lo= ac_hi=
1.1       root     6628: fi
1.1.1.5 ! root     6629: 
        !          6630: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6631: fi
1.1.1.5 ! root     6632: 
        !          6633: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6634: # Binary search between lo and hi bounds.
                   6635: while test "x$ac_lo" != "x$ac_hi"; do
                   6636:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6637:   cat >conftest.$ac_ext <<_ACEOF
                   6638: /* confdefs.h.  */
                   6639: _ACEOF
                   6640: cat confdefs.h >>conftest.$ac_ext
                   6641: cat >>conftest.$ac_ext <<_ACEOF
                   6642: /* end confdefs.h.  */
                   6643: $ac_includes_default
1.1.1.5 ! root     6644:    typedef short ac__type_sizeof_;
1.1       root     6645: int
                   6646: main ()
                   6647: {
1.1.1.5 ! root     6648: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1       root     6649: test_array [0] = 0
                   6650: 
                   6651:   ;
                   6652:   return 0;
                   6653: }
                   6654: _ACEOF
                   6655: rm -f conftest.$ac_objext
1.1.1.5 ! root     6656: if { (ac_try="$ac_compile"
        !          6657: case "(($ac_try" in
        !          6658:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6659:   *) ac_try_echo=$ac_try;;
        !          6660: esac
        !          6661: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6662:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6663:   ac_status=$?
1.1.1.5 ! root     6664:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6665:   rm -f conftest.er1
        !          6666:   cat conftest.err >&5
1.1       root     6667:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6668:   (exit $ac_status); } && {
        !          6669:         test -z "$ac_c_werror_flag" ||
        !          6670:         test ! -s conftest.err
        !          6671:        } && test -s conftest.$ac_objext; then
1.1       root     6672:   ac_hi=$ac_mid
                   6673: else
                   6674:   echo "$as_me: failed program was:" >&5
                   6675: sed 's/^/| /' conftest.$ac_ext >&5
                   6676: 
1.1.1.5 ! root     6677:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1       root     6678: fi
1.1.1.5 ! root     6679: 
        !          6680: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6681: done
                   6682: case $ac_lo in
                   6683: ?*) ac_cv_sizeof_short=$ac_lo;;
1.1.1.5 ! root     6684: '') if test "$ac_cv_type_short" = yes; then
        !          6685:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
1.1       root     6686: See \`config.log' for more details." >&5
1.1.1.5 ! root     6687: echo "$as_me: error: cannot compute sizeof (short)
1.1       root     6688: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     6689:    { (exit 77); exit 77; }; }
        !          6690:    else
        !          6691:      ac_cv_sizeof_short=0
        !          6692:    fi ;;
1.1       root     6693: esac
                   6694: else
                   6695:   cat >conftest.$ac_ext <<_ACEOF
                   6696: /* confdefs.h.  */
                   6697: _ACEOF
                   6698: cat confdefs.h >>conftest.$ac_ext
                   6699: cat >>conftest.$ac_ext <<_ACEOF
                   6700: /* end confdefs.h.  */
                   6701: $ac_includes_default
1.1.1.5 ! root     6702:    typedef short ac__type_sizeof_;
        !          6703: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          6704: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     6705: #include <stdio.h>
                   6706: #include <stdlib.h>
                   6707: int
                   6708: main ()
                   6709: {
                   6710: 
                   6711:   FILE *f = fopen ("conftest.val", "w");
                   6712:   if (! f)
1.1.1.5 ! root     6713:     return 1;
        !          6714:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1       root     6715:     {
1.1.1.5 ! root     6716:       long int i = longval ();
        !          6717:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          6718:        return 1;
1.1       root     6719:       fprintf (f, "%ld\n", i);
                   6720:     }
                   6721:   else
                   6722:     {
1.1.1.5 ! root     6723:       unsigned long int i = ulongval ();
        !          6724:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          6725:        return 1;
1.1       root     6726:       fprintf (f, "%lu\n", i);
                   6727:     }
1.1.1.5 ! root     6728:   return ferror (f) || fclose (f) != 0;
1.1       root     6729: 
                   6730:   ;
                   6731:   return 0;
                   6732: }
                   6733: _ACEOF
                   6734: rm -f conftest$ac_exeext
1.1.1.5 ! root     6735: if { (ac_try="$ac_link"
        !          6736: case "(($ac_try" in
        !          6737:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6738:   *) ac_try_echo=$ac_try;;
        !          6739: esac
        !          6740: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6741:   (eval "$ac_link") 2>&5
1.1       root     6742:   ac_status=$?
                   6743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6744:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     6745:   { (case "(($ac_try" in
        !          6746:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6747:   *) ac_try_echo=$ac_try;;
        !          6748: esac
        !          6749: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6750:   (eval "$ac_try") 2>&5
1.1       root     6751:   ac_status=$?
                   6752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6753:   (exit $ac_status); }; }; then
                   6754:   ac_cv_sizeof_short=`cat conftest.val`
                   6755: else
                   6756:   echo "$as_me: program exited with status $ac_status" >&5
                   6757: echo "$as_me: failed program was:" >&5
                   6758: sed 's/^/| /' conftest.$ac_ext >&5
                   6759: 
                   6760: ( exit $ac_status )
1.1.1.5 ! root     6761: if test "$ac_cv_type_short" = yes; then
        !          6762:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
1.1       root     6763: See \`config.log' for more details." >&5
1.1.1.5 ! root     6764: echo "$as_me: error: cannot compute sizeof (short)
1.1       root     6765: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     6766:    { (exit 77); exit 77; }; }
        !          6767:    else
        !          6768:      ac_cv_sizeof_short=0
        !          6769:    fi
1.1       root     6770: fi
1.1.1.5 ! root     6771: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     6772: fi
                   6773: rm -f conftest.val
                   6774: fi
1.1.1.5 ! root     6775: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
        !          6776: echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
        !          6777: 
        !          6778: 
        !          6779: 
1.1       root     6780: cat >>confdefs.h <<_ACEOF
                   6781: #define SIZEOF_SHORT $ac_cv_sizeof_short
                   6782: _ACEOF
                   6783: 
                   6784: 
1.1.1.5 ! root     6785: { echo "$as_me:$LINENO: checking for float" >&5
        !          6786: echo $ECHO_N "checking for float... $ECHO_C" >&6; }
1.1.1.3   root     6787: if test "${ac_cv_type_float+set}" = set; then
1.1       root     6788:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6789: else
                   6790:   cat >conftest.$ac_ext <<_ACEOF
                   6791: /* confdefs.h.  */
                   6792: _ACEOF
                   6793: cat confdefs.h >>conftest.$ac_ext
                   6794: cat >>conftest.$ac_ext <<_ACEOF
                   6795: /* end confdefs.h.  */
1.1.1.3   root     6796: $ac_includes_default
1.1.1.5 ! root     6797: typedef float ac__type_new_;
1.1.1.3   root     6798: int
                   6799: main ()
1.1       root     6800: {
1.1.1.5 ! root     6801: if ((ac__type_new_ *) 0)
1.1.1.3   root     6802:   return 0;
1.1.1.5 ! root     6803: if (sizeof (ac__type_new_))
1.1.1.3   root     6804:   return 0;
                   6805:   ;
                   6806:   return 0;
1.1       root     6807: }
                   6808: _ACEOF
1.1.1.3   root     6809: rm -f conftest.$ac_objext
1.1.1.5 ! root     6810: if { (ac_try="$ac_compile"
        !          6811: case "(($ac_try" in
        !          6812:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6813:   *) ac_try_echo=$ac_try;;
        !          6814: esac
        !          6815: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6816:   (eval "$ac_compile") 2>conftest.er1
1.1       root     6817:   ac_status=$?
1.1.1.5 ! root     6818:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6819:   rm -f conftest.er1
        !          6820:   cat conftest.err >&5
1.1       root     6821:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6822:   (exit $ac_status); } && {
        !          6823:         test -z "$ac_c_werror_flag" ||
        !          6824:         test ! -s conftest.err
        !          6825:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     6826:   ac_cv_type_float=yes
1.1       root     6827: else
1.1.1.3   root     6828:   echo "$as_me: failed program was:" >&5
1.1       root     6829: sed 's/^/| /' conftest.$ac_ext >&5
                   6830: 
1.1.1.5 ! root     6831:        ac_cv_type_float=no
1.1       root     6832: fi
1.1.1.5 ! root     6833: 
        !          6834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6835: fi
1.1.1.5 ! root     6836: { echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
        !          6837: echo "${ECHO_T}$ac_cv_type_float" >&6; }
1.1       root     6838: 
1.1.1.5 ! root     6839: # The cast to long int works around a bug in the HP C Compiler
        !          6840: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6841: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6842: # This bug is HP SR number 8606223364.
        !          6843: { echo "$as_me:$LINENO: checking size of float" >&5
        !          6844: echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
1.1.1.3   root     6845: if test "${ac_cv_sizeof_float+set}" = set; then
1.1       root     6846:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6847: else
                   6848:   if test "$cross_compiling" = yes; then
1.1.1.3   root     6849:   # Depending upon the size, compute the lo and hi bounds.
                   6850: cat >conftest.$ac_ext <<_ACEOF
1.1       root     6851: /* confdefs.h.  */
                   6852: _ACEOF
                   6853: cat confdefs.h >>conftest.$ac_ext
                   6854: cat >>conftest.$ac_ext <<_ACEOF
                   6855: /* end confdefs.h.  */
1.1.1.3   root     6856: $ac_includes_default
1.1.1.5 ! root     6857:    typedef float ac__type_sizeof_;
1.1.1.3   root     6858: int
                   6859: main ()
1.1       root     6860: {
1.1.1.5 ! root     6861: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.3   root     6862: test_array [0] = 0
                   6863: 
                   6864:   ;
                   6865:   return 0;
                   6866: }
                   6867: _ACEOF
                   6868: rm -f conftest.$ac_objext
1.1.1.5 ! root     6869: if { (ac_try="$ac_compile"
        !          6870: case "(($ac_try" in
        !          6871:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6872:   *) ac_try_echo=$ac_try;;
        !          6873: esac
        !          6874: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6875:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     6876:   ac_status=$?
1.1.1.5 ! root     6877:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6878:   rm -f conftest.er1
        !          6879:   cat conftest.err >&5
1.1.1.3   root     6880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6881:   (exit $ac_status); } && {
        !          6882:         test -z "$ac_c_werror_flag" ||
        !          6883:         test ! -s conftest.err
        !          6884:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     6885:   ac_lo=0 ac_mid=0
                   6886:   while :; do
                   6887:     cat >conftest.$ac_ext <<_ACEOF
                   6888: /* confdefs.h.  */
                   6889: _ACEOF
                   6890: cat confdefs.h >>conftest.$ac_ext
                   6891: cat >>conftest.$ac_ext <<_ACEOF
                   6892: /* end confdefs.h.  */
                   6893: $ac_includes_default
1.1.1.5 ! root     6894:    typedef float ac__type_sizeof_;
1.1.1.3   root     6895: int
                   6896: main ()
                   6897: {
1.1.1.5 ! root     6898: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     6899: test_array [0] = 0
                   6900: 
                   6901:   ;
                   6902:   return 0;
                   6903: }
                   6904: _ACEOF
                   6905: rm -f conftest.$ac_objext
1.1.1.5 ! root     6906: if { (ac_try="$ac_compile"
        !          6907: case "(($ac_try" in
        !          6908:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6909:   *) ac_try_echo=$ac_try;;
        !          6910: esac
        !          6911: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6912:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     6913:   ac_status=$?
1.1.1.5 ! root     6914:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6915:   rm -f conftest.er1
        !          6916:   cat conftest.err >&5
1.1.1.3   root     6917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6918:   (exit $ac_status); } && {
        !          6919:         test -z "$ac_c_werror_flag" ||
        !          6920:         test ! -s conftest.err
        !          6921:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     6922:   ac_hi=$ac_mid; break
                   6923: else
                   6924:   echo "$as_me: failed program was:" >&5
                   6925: sed 's/^/| /' conftest.$ac_ext >&5
                   6926: 
1.1.1.5 ! root     6927:        ac_lo=`expr $ac_mid + 1`
        !          6928:                        if test $ac_lo -le $ac_mid; then
        !          6929:                          ac_lo= ac_hi=
        !          6930:                          break
        !          6931:                        fi
        !          6932:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     6933: fi
1.1.1.5 ! root     6934: 
        !          6935: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6936:   done
                   6937: else
                   6938:   echo "$as_me: failed program was:" >&5
                   6939: sed 's/^/| /' conftest.$ac_ext >&5
                   6940: 
1.1.1.5 ! root     6941:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.3   root     6942: /* confdefs.h.  */
                   6943: _ACEOF
                   6944: cat confdefs.h >>conftest.$ac_ext
                   6945: cat >>conftest.$ac_ext <<_ACEOF
                   6946: /* end confdefs.h.  */
                   6947: $ac_includes_default
1.1.1.5 ! root     6948:    typedef float ac__type_sizeof_;
1.1.1.3   root     6949: int
                   6950: main ()
                   6951: {
1.1.1.5 ! root     6952: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.3   root     6953: test_array [0] = 0
                   6954: 
                   6955:   ;
                   6956:   return 0;
                   6957: }
                   6958: _ACEOF
                   6959: rm -f conftest.$ac_objext
1.1.1.5 ! root     6960: if { (ac_try="$ac_compile"
        !          6961: case "(($ac_try" in
        !          6962:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          6963:   *) ac_try_echo=$ac_try;;
        !          6964: esac
        !          6965: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          6966:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     6967:   ac_status=$?
1.1.1.5 ! root     6968:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6969:   rm -f conftest.er1
        !          6970:   cat conftest.err >&5
1.1.1.3   root     6971:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     6972:   (exit $ac_status); } && {
        !          6973:         test -z "$ac_c_werror_flag" ||
        !          6974:         test ! -s conftest.err
        !          6975:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     6976:   ac_hi=-1 ac_mid=-1
                   6977:   while :; do
                   6978:     cat >conftest.$ac_ext <<_ACEOF
                   6979: /* confdefs.h.  */
                   6980: _ACEOF
                   6981: cat confdefs.h >>conftest.$ac_ext
                   6982: cat >>conftest.$ac_ext <<_ACEOF
                   6983: /* end confdefs.h.  */
                   6984: $ac_includes_default
1.1.1.5 ! root     6985:    typedef float ac__type_sizeof_;
1.1.1.3   root     6986: int
                   6987: main ()
                   6988: {
1.1.1.5 ! root     6989: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.3   root     6990: test_array [0] = 0
                   6991: 
                   6992:   ;
                   6993:   return 0;
                   6994: }
                   6995: _ACEOF
                   6996: rm -f conftest.$ac_objext
1.1.1.5 ! root     6997: if { (ac_try="$ac_compile"
        !          6998: case "(($ac_try" in
        !          6999:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7000:   *) ac_try_echo=$ac_try;;
        !          7001: esac
        !          7002: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7003:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7004:   ac_status=$?
1.1.1.5 ! root     7005:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7006:   rm -f conftest.er1
        !          7007:   cat conftest.err >&5
1.1.1.3   root     7008:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7009:   (exit $ac_status); } && {
        !          7010:         test -z "$ac_c_werror_flag" ||
        !          7011:         test ! -s conftest.err
        !          7012:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7013:   ac_lo=$ac_mid; break
                   7014: else
                   7015:   echo "$as_me: failed program was:" >&5
                   7016: sed 's/^/| /' conftest.$ac_ext >&5
                   7017: 
1.1.1.5 ! root     7018:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7019:                        if test $ac_mid -le $ac_hi; then
        !          7020:                          ac_lo= ac_hi=
        !          7021:                          break
        !          7022:                        fi
        !          7023:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     7024: fi
1.1.1.5 ! root     7025: 
        !          7026: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7027:   done
                   7028: else
                   7029:   echo "$as_me: failed program was:" >&5
                   7030: sed 's/^/| /' conftest.$ac_ext >&5
                   7031: 
1.1.1.5 ! root     7032:        ac_lo= ac_hi=
1.1.1.3   root     7033: fi
1.1.1.5 ! root     7034: 
        !          7035: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7036: fi
1.1.1.5 ! root     7037: 
        !          7038: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7039: # Binary search between lo and hi bounds.
                   7040: while test "x$ac_lo" != "x$ac_hi"; do
                   7041:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7042:   cat >conftest.$ac_ext <<_ACEOF
                   7043: /* confdefs.h.  */
                   7044: _ACEOF
                   7045: cat confdefs.h >>conftest.$ac_ext
                   7046: cat >>conftest.$ac_ext <<_ACEOF
                   7047: /* end confdefs.h.  */
                   7048: $ac_includes_default
1.1.1.5 ! root     7049:    typedef float ac__type_sizeof_;
1.1.1.3   root     7050: int
                   7051: main ()
                   7052: {
1.1.1.5 ! root     7053: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     7054: test_array [0] = 0
                   7055: 
                   7056:   ;
                   7057:   return 0;
                   7058: }
                   7059: _ACEOF
                   7060: rm -f conftest.$ac_objext
1.1.1.5 ! root     7061: if { (ac_try="$ac_compile"
        !          7062: case "(($ac_try" in
        !          7063:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7064:   *) ac_try_echo=$ac_try;;
        !          7065: esac
        !          7066: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7067:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7068:   ac_status=$?
1.1.1.5 ! root     7069:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7070:   rm -f conftest.er1
        !          7071:   cat conftest.err >&5
1.1.1.3   root     7072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7073:   (exit $ac_status); } && {
        !          7074:         test -z "$ac_c_werror_flag" ||
        !          7075:         test ! -s conftest.err
        !          7076:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7077:   ac_hi=$ac_mid
                   7078: else
                   7079:   echo "$as_me: failed program was:" >&5
                   7080: sed 's/^/| /' conftest.$ac_ext >&5
                   7081: 
1.1.1.5 ! root     7082:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     7083: fi
1.1.1.5 ! root     7084: 
        !          7085: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7086: done
                   7087: case $ac_lo in
                   7088: ?*) ac_cv_sizeof_float=$ac_lo;;
1.1.1.5 ! root     7089: '') if test "$ac_cv_type_float" = yes; then
        !          7090:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
1.1.1.3   root     7091: See \`config.log' for more details." >&5
1.1.1.5 ! root     7092: echo "$as_me: error: cannot compute sizeof (float)
1.1.1.3   root     7093: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7094:    { (exit 77); exit 77; }; }
        !          7095:    else
        !          7096:      ac_cv_sizeof_float=0
        !          7097:    fi ;;
1.1.1.3   root     7098: esac
                   7099: else
                   7100:   cat >conftest.$ac_ext <<_ACEOF
                   7101: /* confdefs.h.  */
                   7102: _ACEOF
                   7103: cat confdefs.h >>conftest.$ac_ext
                   7104: cat >>conftest.$ac_ext <<_ACEOF
                   7105: /* end confdefs.h.  */
                   7106: $ac_includes_default
1.1.1.5 ! root     7107:    typedef float ac__type_sizeof_;
        !          7108: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          7109: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.3   root     7110: #include <stdio.h>
                   7111: #include <stdlib.h>
                   7112: int
                   7113: main ()
                   7114: {
                   7115: 
                   7116:   FILE *f = fopen ("conftest.val", "w");
                   7117:   if (! f)
1.1.1.5 ! root     7118:     return 1;
        !          7119:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.3   root     7120:     {
1.1.1.5 ! root     7121:       long int i = longval ();
        !          7122:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7123:        return 1;
1.1.1.3   root     7124:       fprintf (f, "%ld\n", i);
                   7125:     }
                   7126:   else
                   7127:     {
1.1.1.5 ! root     7128:       unsigned long int i = ulongval ();
        !          7129:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7130:        return 1;
1.1.1.3   root     7131:       fprintf (f, "%lu\n", i);
                   7132:     }
1.1.1.5 ! root     7133:   return ferror (f) || fclose (f) != 0;
1.1.1.3   root     7134: 
                   7135:   ;
                   7136:   return 0;
                   7137: }
                   7138: _ACEOF
                   7139: rm -f conftest$ac_exeext
1.1.1.5 ! root     7140: if { (ac_try="$ac_link"
        !          7141: case "(($ac_try" in
        !          7142:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7143:   *) ac_try_echo=$ac_try;;
        !          7144: esac
        !          7145: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7146:   (eval "$ac_link") 2>&5
1.1.1.3   root     7147:   ac_status=$?
                   7148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7149:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     7150:   { (case "(($ac_try" in
        !          7151:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7152:   *) ac_try_echo=$ac_try;;
        !          7153: esac
        !          7154: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7155:   (eval "$ac_try") 2>&5
1.1.1.3   root     7156:   ac_status=$?
                   7157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7158:   (exit $ac_status); }; }; then
                   7159:   ac_cv_sizeof_float=`cat conftest.val`
                   7160: else
                   7161:   echo "$as_me: program exited with status $ac_status" >&5
                   7162: echo "$as_me: failed program was:" >&5
                   7163: sed 's/^/| /' conftest.$ac_ext >&5
                   7164: 
                   7165: ( exit $ac_status )
1.1.1.5 ! root     7166: if test "$ac_cv_type_float" = yes; then
        !          7167:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
1.1.1.3   root     7168: See \`config.log' for more details." >&5
1.1.1.5 ! root     7169: echo "$as_me: error: cannot compute sizeof (float)
1.1.1.3   root     7170: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7171:    { (exit 77); exit 77; }; }
        !          7172:    else
        !          7173:      ac_cv_sizeof_float=0
        !          7174:    fi
1.1.1.3   root     7175: fi
1.1.1.5 ! root     7176: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7177: fi
                   7178: rm -f conftest.val
                   7179: fi
1.1.1.5 ! root     7180: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
        !          7181: echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
        !          7182: 
        !          7183: 
        !          7184: 
1.1.1.3   root     7185: cat >>confdefs.h <<_ACEOF
                   7186: #define SIZEOF_FLOAT $ac_cv_sizeof_float
                   7187: _ACEOF
                   7188: 
                   7189: 
1.1.1.5 ! root     7190: { echo "$as_me:$LINENO: checking for double" >&5
        !          7191: echo $ECHO_N "checking for double... $ECHO_C" >&6; }
1.1.1.3   root     7192: if test "${ac_cv_type_double+set}" = set; then
                   7193:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7194: else
                   7195:   cat >conftest.$ac_ext <<_ACEOF
                   7196: /* confdefs.h.  */
                   7197: _ACEOF
                   7198: cat confdefs.h >>conftest.$ac_ext
                   7199: cat >>conftest.$ac_ext <<_ACEOF
                   7200: /* end confdefs.h.  */
                   7201: $ac_includes_default
1.1.1.5 ! root     7202: typedef double ac__type_new_;
1.1.1.3   root     7203: int
                   7204: main ()
                   7205: {
1.1.1.5 ! root     7206: if ((ac__type_new_ *) 0)
1.1.1.3   root     7207:   return 0;
1.1.1.5 ! root     7208: if (sizeof (ac__type_new_))
1.1.1.3   root     7209:   return 0;
                   7210:   ;
                   7211:   return 0;
                   7212: }
                   7213: _ACEOF
                   7214: rm -f conftest.$ac_objext
1.1.1.5 ! root     7215: if { (ac_try="$ac_compile"
        !          7216: case "(($ac_try" in
        !          7217:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7218:   *) ac_try_echo=$ac_try;;
        !          7219: esac
        !          7220: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7221:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7222:   ac_status=$?
1.1.1.5 ! root     7223:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7224:   rm -f conftest.er1
        !          7225:   cat conftest.err >&5
1.1.1.3   root     7226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7227:   (exit $ac_status); } && {
        !          7228:         test -z "$ac_c_werror_flag" ||
        !          7229:         test ! -s conftest.err
        !          7230:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7231:   ac_cv_type_double=yes
                   7232: else
                   7233:   echo "$as_me: failed program was:" >&5
                   7234: sed 's/^/| /' conftest.$ac_ext >&5
                   7235: 
1.1.1.5 ! root     7236:        ac_cv_type_double=no
1.1.1.3   root     7237: fi
1.1.1.5 ! root     7238: 
        !          7239: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7240: fi
1.1.1.5 ! root     7241: { echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
        !          7242: echo "${ECHO_T}$ac_cv_type_double" >&6; }
1.1.1.3   root     7243: 
1.1.1.5 ! root     7244: # The cast to long int works around a bug in the HP C Compiler
        !          7245: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          7246: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          7247: # This bug is HP SR number 8606223364.
        !          7248: { echo "$as_me:$LINENO: checking size of double" >&5
        !          7249: echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
1.1.1.3   root     7250: if test "${ac_cv_sizeof_double+set}" = set; then
                   7251:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7252: else
                   7253:   if test "$cross_compiling" = yes; then
                   7254:   # Depending upon the size, compute the lo and hi bounds.
                   7255: cat >conftest.$ac_ext <<_ACEOF
                   7256: /* confdefs.h.  */
                   7257: _ACEOF
                   7258: cat confdefs.h >>conftest.$ac_ext
                   7259: cat >>conftest.$ac_ext <<_ACEOF
                   7260: /* end confdefs.h.  */
                   7261: $ac_includes_default
1.1.1.5 ! root     7262:    typedef double ac__type_sizeof_;
1.1.1.3   root     7263: int
                   7264: main ()
                   7265: {
1.1.1.5 ! root     7266: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.3   root     7267: test_array [0] = 0
                   7268: 
                   7269:   ;
                   7270:   return 0;
                   7271: }
                   7272: _ACEOF
                   7273: rm -f conftest.$ac_objext
1.1.1.5 ! root     7274: if { (ac_try="$ac_compile"
        !          7275: case "(($ac_try" in
        !          7276:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7277:   *) ac_try_echo=$ac_try;;
        !          7278: esac
        !          7279: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7280:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7281:   ac_status=$?
1.1.1.5 ! root     7282:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7283:   rm -f conftest.er1
        !          7284:   cat conftest.err >&5
1.1.1.3   root     7285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7286:   (exit $ac_status); } && {
        !          7287:         test -z "$ac_c_werror_flag" ||
        !          7288:         test ! -s conftest.err
        !          7289:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7290:   ac_lo=0 ac_mid=0
                   7291:   while :; do
                   7292:     cat >conftest.$ac_ext <<_ACEOF
                   7293: /* confdefs.h.  */
                   7294: _ACEOF
                   7295: cat confdefs.h >>conftest.$ac_ext
                   7296: cat >>conftest.$ac_ext <<_ACEOF
                   7297: /* end confdefs.h.  */
                   7298: $ac_includes_default
1.1.1.5 ! root     7299:    typedef double ac__type_sizeof_;
1.1.1.3   root     7300: int
                   7301: main ()
                   7302: {
1.1.1.5 ! root     7303: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     7304: test_array [0] = 0
                   7305: 
                   7306:   ;
                   7307:   return 0;
                   7308: }
                   7309: _ACEOF
                   7310: rm -f conftest.$ac_objext
1.1.1.5 ! root     7311: if { (ac_try="$ac_compile"
        !          7312: case "(($ac_try" in
        !          7313:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7314:   *) ac_try_echo=$ac_try;;
        !          7315: esac
        !          7316: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7317:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7318:   ac_status=$?
1.1.1.5 ! root     7319:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7320:   rm -f conftest.er1
        !          7321:   cat conftest.err >&5
1.1.1.3   root     7322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7323:   (exit $ac_status); } && {
        !          7324:         test -z "$ac_c_werror_flag" ||
        !          7325:         test ! -s conftest.err
        !          7326:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7327:   ac_hi=$ac_mid; break
                   7328: else
                   7329:   echo "$as_me: failed program was:" >&5
                   7330: sed 's/^/| /' conftest.$ac_ext >&5
                   7331: 
1.1.1.5 ! root     7332:        ac_lo=`expr $ac_mid + 1`
        !          7333:                        if test $ac_lo -le $ac_mid; then
        !          7334:                          ac_lo= ac_hi=
        !          7335:                          break
        !          7336:                        fi
        !          7337:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     7338: fi
1.1.1.5 ! root     7339: 
        !          7340: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7341:   done
                   7342: else
                   7343:   echo "$as_me: failed program was:" >&5
                   7344: sed 's/^/| /' conftest.$ac_ext >&5
                   7345: 
1.1.1.5 ! root     7346:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.3   root     7347: /* confdefs.h.  */
                   7348: _ACEOF
                   7349: cat confdefs.h >>conftest.$ac_ext
                   7350: cat >>conftest.$ac_ext <<_ACEOF
                   7351: /* end confdefs.h.  */
                   7352: $ac_includes_default
1.1.1.5 ! root     7353:    typedef double ac__type_sizeof_;
1.1.1.3   root     7354: int
                   7355: main ()
                   7356: {
1.1.1.5 ! root     7357: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.3   root     7358: test_array [0] = 0
                   7359: 
                   7360:   ;
                   7361:   return 0;
                   7362: }
                   7363: _ACEOF
                   7364: rm -f conftest.$ac_objext
1.1.1.5 ! root     7365: if { (ac_try="$ac_compile"
        !          7366: case "(($ac_try" in
        !          7367:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7368:   *) ac_try_echo=$ac_try;;
        !          7369: esac
        !          7370: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7371:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7372:   ac_status=$?
1.1.1.5 ! root     7373:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7374:   rm -f conftest.er1
        !          7375:   cat conftest.err >&5
1.1.1.3   root     7376:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7377:   (exit $ac_status); } && {
        !          7378:         test -z "$ac_c_werror_flag" ||
        !          7379:         test ! -s conftest.err
        !          7380:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7381:   ac_hi=-1 ac_mid=-1
                   7382:   while :; do
                   7383:     cat >conftest.$ac_ext <<_ACEOF
                   7384: /* confdefs.h.  */
                   7385: _ACEOF
                   7386: cat confdefs.h >>conftest.$ac_ext
                   7387: cat >>conftest.$ac_ext <<_ACEOF
                   7388: /* end confdefs.h.  */
                   7389: $ac_includes_default
1.1.1.5 ! root     7390:    typedef double ac__type_sizeof_;
1.1.1.3   root     7391: int
                   7392: main ()
                   7393: {
1.1.1.5 ! root     7394: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.3   root     7395: test_array [0] = 0
                   7396: 
                   7397:   ;
                   7398:   return 0;
                   7399: }
                   7400: _ACEOF
                   7401: rm -f conftest.$ac_objext
1.1.1.5 ! root     7402: if { (ac_try="$ac_compile"
        !          7403: case "(($ac_try" in
        !          7404:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7405:   *) ac_try_echo=$ac_try;;
        !          7406: esac
        !          7407: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7408:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7409:   ac_status=$?
1.1.1.5 ! root     7410:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7411:   rm -f conftest.er1
        !          7412:   cat conftest.err >&5
1.1.1.3   root     7413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7414:   (exit $ac_status); } && {
        !          7415:         test -z "$ac_c_werror_flag" ||
        !          7416:         test ! -s conftest.err
        !          7417:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7418:   ac_lo=$ac_mid; break
                   7419: else
                   7420:   echo "$as_me: failed program was:" >&5
                   7421: sed 's/^/| /' conftest.$ac_ext >&5
                   7422: 
1.1.1.5 ! root     7423:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7424:                        if test $ac_mid -le $ac_hi; then
        !          7425:                          ac_lo= ac_hi=
        !          7426:                          break
        !          7427:                        fi
        !          7428:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     7429: fi
1.1.1.5 ! root     7430: 
        !          7431: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7432:   done
                   7433: else
                   7434:   echo "$as_me: failed program was:" >&5
                   7435: sed 's/^/| /' conftest.$ac_ext >&5
                   7436: 
1.1.1.5 ! root     7437:        ac_lo= ac_hi=
1.1.1.3   root     7438: fi
1.1.1.5 ! root     7439: 
        !          7440: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7441: fi
1.1.1.5 ! root     7442: 
        !          7443: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7444: # Binary search between lo and hi bounds.
                   7445: while test "x$ac_lo" != "x$ac_hi"; do
                   7446:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7447:   cat >conftest.$ac_ext <<_ACEOF
                   7448: /* confdefs.h.  */
                   7449: _ACEOF
                   7450: cat confdefs.h >>conftest.$ac_ext
                   7451: cat >>conftest.$ac_ext <<_ACEOF
                   7452: /* end confdefs.h.  */
                   7453: $ac_includes_default
1.1.1.5 ! root     7454:    typedef double ac__type_sizeof_;
1.1.1.3   root     7455: int
                   7456: main ()
                   7457: {
1.1.1.5 ! root     7458: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     7459: test_array [0] = 0
                   7460: 
                   7461:   ;
                   7462:   return 0;
                   7463: }
                   7464: _ACEOF
                   7465: rm -f conftest.$ac_objext
1.1.1.5 ! root     7466: if { (ac_try="$ac_compile"
        !          7467: case "(($ac_try" in
        !          7468:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7469:   *) ac_try_echo=$ac_try;;
        !          7470: esac
        !          7471: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7472:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7473:   ac_status=$?
1.1.1.5 ! root     7474:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7475:   rm -f conftest.er1
        !          7476:   cat conftest.err >&5
1.1.1.3   root     7477:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7478:   (exit $ac_status); } && {
        !          7479:         test -z "$ac_c_werror_flag" ||
        !          7480:         test ! -s conftest.err
        !          7481:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7482:   ac_hi=$ac_mid
                   7483: else
                   7484:   echo "$as_me: failed program was:" >&5
                   7485: sed 's/^/| /' conftest.$ac_ext >&5
                   7486: 
1.1.1.5 ! root     7487:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     7488: fi
1.1.1.5 ! root     7489: 
        !          7490: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7491: done
                   7492: case $ac_lo in
                   7493: ?*) ac_cv_sizeof_double=$ac_lo;;
1.1.1.5 ! root     7494: '') if test "$ac_cv_type_double" = yes; then
        !          7495:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
1.1.1.3   root     7496: See \`config.log' for more details." >&5
1.1.1.5 ! root     7497: echo "$as_me: error: cannot compute sizeof (double)
1.1.1.3   root     7498: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7499:    { (exit 77); exit 77; }; }
        !          7500:    else
        !          7501:      ac_cv_sizeof_double=0
        !          7502:    fi ;;
1.1.1.3   root     7503: esac
                   7504: else
                   7505:   cat >conftest.$ac_ext <<_ACEOF
                   7506: /* confdefs.h.  */
                   7507: _ACEOF
                   7508: cat confdefs.h >>conftest.$ac_ext
                   7509: cat >>conftest.$ac_ext <<_ACEOF
                   7510: /* end confdefs.h.  */
                   7511: $ac_includes_default
1.1.1.5 ! root     7512:    typedef double ac__type_sizeof_;
        !          7513: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          7514: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.3   root     7515: #include <stdio.h>
                   7516: #include <stdlib.h>
                   7517: int
                   7518: main ()
                   7519: {
                   7520: 
                   7521:   FILE *f = fopen ("conftest.val", "w");
                   7522:   if (! f)
1.1.1.5 ! root     7523:     return 1;
        !          7524:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.3   root     7525:     {
1.1.1.5 ! root     7526:       long int i = longval ();
        !          7527:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7528:        return 1;
1.1.1.3   root     7529:       fprintf (f, "%ld\n", i);
                   7530:     }
                   7531:   else
                   7532:     {
1.1.1.5 ! root     7533:       unsigned long int i = ulongval ();
        !          7534:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7535:        return 1;
1.1.1.3   root     7536:       fprintf (f, "%lu\n", i);
                   7537:     }
1.1.1.5 ! root     7538:   return ferror (f) || fclose (f) != 0;
1.1.1.3   root     7539: 
                   7540:   ;
                   7541:   return 0;
                   7542: }
                   7543: _ACEOF
                   7544: rm -f conftest$ac_exeext
1.1.1.5 ! root     7545: if { (ac_try="$ac_link"
        !          7546: case "(($ac_try" in
        !          7547:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7548:   *) ac_try_echo=$ac_try;;
        !          7549: esac
        !          7550: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7551:   (eval "$ac_link") 2>&5
1.1.1.3   root     7552:   ac_status=$?
                   7553:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7554:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     7555:   { (case "(($ac_try" in
        !          7556:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7557:   *) ac_try_echo=$ac_try;;
        !          7558: esac
        !          7559: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7560:   (eval "$ac_try") 2>&5
1.1.1.3   root     7561:   ac_status=$?
                   7562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7563:   (exit $ac_status); }; }; then
                   7564:   ac_cv_sizeof_double=`cat conftest.val`
                   7565: else
                   7566:   echo "$as_me: program exited with status $ac_status" >&5
                   7567: echo "$as_me: failed program was:" >&5
                   7568: sed 's/^/| /' conftest.$ac_ext >&5
                   7569: 
                   7570: ( exit $ac_status )
1.1.1.5 ! root     7571: if test "$ac_cv_type_double" = yes; then
        !          7572:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
1.1.1.3   root     7573: See \`config.log' for more details." >&5
1.1.1.5 ! root     7574: echo "$as_me: error: cannot compute sizeof (double)
1.1.1.3   root     7575: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7576:    { (exit 77); exit 77; }; }
        !          7577:    else
        !          7578:      ac_cv_sizeof_double=0
        !          7579:    fi
1.1.1.3   root     7580: fi
1.1.1.5 ! root     7581: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7582: fi
                   7583: rm -f conftest.val
                   7584: fi
1.1.1.5 ! root     7585: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
        !          7586: echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
        !          7587: 
        !          7588: 
        !          7589: 
1.1.1.3   root     7590: cat >>confdefs.h <<_ACEOF
                   7591: #define SIZEOF_DOUBLE $ac_cv_sizeof_double
                   7592: _ACEOF
                   7593: 
                   7594: 
                   7595: if test $ac_cv_c_long_double = yes; then
1.1.1.5 ! root     7596:   { echo "$as_me:$LINENO: checking for long double" >&5
        !          7597: echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
1.1.1.3   root     7598: if test "${ac_cv_type_long_double+set}" = set; then
                   7599:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7600: else
                   7601:   cat >conftest.$ac_ext <<_ACEOF
                   7602: /* confdefs.h.  */
                   7603: _ACEOF
                   7604: cat confdefs.h >>conftest.$ac_ext
                   7605: cat >>conftest.$ac_ext <<_ACEOF
                   7606: /* end confdefs.h.  */
                   7607: $ac_includes_default
1.1.1.5 ! root     7608: typedef long double ac__type_new_;
1.1.1.3   root     7609: int
                   7610: main ()
                   7611: {
1.1.1.5 ! root     7612: if ((ac__type_new_ *) 0)
1.1.1.3   root     7613:   return 0;
1.1.1.5 ! root     7614: if (sizeof (ac__type_new_))
1.1.1.3   root     7615:   return 0;
                   7616:   ;
                   7617:   return 0;
                   7618: }
                   7619: _ACEOF
                   7620: rm -f conftest.$ac_objext
1.1.1.5 ! root     7621: if { (ac_try="$ac_compile"
        !          7622: case "(($ac_try" in
        !          7623:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7624:   *) ac_try_echo=$ac_try;;
        !          7625: esac
        !          7626: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7627:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7628:   ac_status=$?
1.1.1.5 ! root     7629:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7630:   rm -f conftest.er1
        !          7631:   cat conftest.err >&5
1.1.1.3   root     7632:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7633:   (exit $ac_status); } && {
        !          7634:         test -z "$ac_c_werror_flag" ||
        !          7635:         test ! -s conftest.err
        !          7636:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7637:   ac_cv_type_long_double=yes
                   7638: else
                   7639:   echo "$as_me: failed program was:" >&5
                   7640: sed 's/^/| /' conftest.$ac_ext >&5
                   7641: 
1.1.1.5 ! root     7642:        ac_cv_type_long_double=no
1.1.1.3   root     7643: fi
1.1.1.5 ! root     7644: 
        !          7645: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7646: fi
1.1.1.5 ! root     7647: { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
        !          7648: echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
1.1.1.3   root     7649: 
1.1.1.5 ! root     7650: # The cast to long int works around a bug in the HP C Compiler
        !          7651: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          7652: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          7653: # This bug is HP SR number 8606223364.
        !          7654: { echo "$as_me:$LINENO: checking size of long double" >&5
        !          7655: echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
1.1.1.3   root     7656: if test "${ac_cv_sizeof_long_double+set}" = set; then
                   7657:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7658: else
                   7659:   if test "$cross_compiling" = yes; then
                   7660:   # Depending upon the size, compute the lo and hi bounds.
                   7661: cat >conftest.$ac_ext <<_ACEOF
                   7662: /* confdefs.h.  */
                   7663: _ACEOF
                   7664: cat confdefs.h >>conftest.$ac_ext
                   7665: cat >>conftest.$ac_ext <<_ACEOF
                   7666: /* end confdefs.h.  */
                   7667: $ac_includes_default
1.1.1.5 ! root     7668:    typedef long double ac__type_sizeof_;
1.1.1.3   root     7669: int
                   7670: main ()
                   7671: {
1.1.1.5 ! root     7672: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.3   root     7673: test_array [0] = 0
                   7674: 
                   7675:   ;
                   7676:   return 0;
                   7677: }
                   7678: _ACEOF
                   7679: rm -f conftest.$ac_objext
1.1.1.5 ! root     7680: if { (ac_try="$ac_compile"
        !          7681: case "(($ac_try" in
        !          7682:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7683:   *) ac_try_echo=$ac_try;;
        !          7684: esac
        !          7685: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7686:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7687:   ac_status=$?
1.1.1.5 ! root     7688:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7689:   rm -f conftest.er1
        !          7690:   cat conftest.err >&5
1.1.1.3   root     7691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7692:   (exit $ac_status); } && {
        !          7693:         test -z "$ac_c_werror_flag" ||
        !          7694:         test ! -s conftest.err
        !          7695:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7696:   ac_lo=0 ac_mid=0
                   7697:   while :; do
                   7698:     cat >conftest.$ac_ext <<_ACEOF
                   7699: /* confdefs.h.  */
                   7700: _ACEOF
                   7701: cat confdefs.h >>conftest.$ac_ext
                   7702: cat >>conftest.$ac_ext <<_ACEOF
                   7703: /* end confdefs.h.  */
                   7704: $ac_includes_default
1.1.1.5 ! root     7705:    typedef long double ac__type_sizeof_;
1.1.1.3   root     7706: int
                   7707: main ()
                   7708: {
1.1.1.5 ! root     7709: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     7710: test_array [0] = 0
                   7711: 
                   7712:   ;
                   7713:   return 0;
                   7714: }
                   7715: _ACEOF
                   7716: rm -f conftest.$ac_objext
1.1.1.5 ! root     7717: if { (ac_try="$ac_compile"
        !          7718: case "(($ac_try" in
        !          7719:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7720:   *) ac_try_echo=$ac_try;;
        !          7721: esac
        !          7722: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7723:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7724:   ac_status=$?
1.1.1.5 ! root     7725:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7726:   rm -f conftest.er1
        !          7727:   cat conftest.err >&5
1.1.1.3   root     7728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7729:   (exit $ac_status); } && {
        !          7730:         test -z "$ac_c_werror_flag" ||
        !          7731:         test ! -s conftest.err
        !          7732:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7733:   ac_hi=$ac_mid; break
                   7734: else
                   7735:   echo "$as_me: failed program was:" >&5
                   7736: sed 's/^/| /' conftest.$ac_ext >&5
                   7737: 
1.1.1.5 ! root     7738:        ac_lo=`expr $ac_mid + 1`
        !          7739:                        if test $ac_lo -le $ac_mid; then
        !          7740:                          ac_lo= ac_hi=
        !          7741:                          break
        !          7742:                        fi
        !          7743:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     7744: fi
1.1.1.5 ! root     7745: 
        !          7746: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7747:   done
                   7748: else
                   7749:   echo "$as_me: failed program was:" >&5
                   7750: sed 's/^/| /' conftest.$ac_ext >&5
                   7751: 
1.1.1.5 ! root     7752:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.3   root     7753: /* confdefs.h.  */
                   7754: _ACEOF
                   7755: cat confdefs.h >>conftest.$ac_ext
                   7756: cat >>conftest.$ac_ext <<_ACEOF
                   7757: /* end confdefs.h.  */
                   7758: $ac_includes_default
1.1.1.5 ! root     7759:    typedef long double ac__type_sizeof_;
1.1.1.3   root     7760: int
                   7761: main ()
                   7762: {
1.1.1.5 ! root     7763: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.3   root     7764: test_array [0] = 0
                   7765: 
                   7766:   ;
                   7767:   return 0;
                   7768: }
                   7769: _ACEOF
                   7770: rm -f conftest.$ac_objext
1.1.1.5 ! root     7771: if { (ac_try="$ac_compile"
        !          7772: case "(($ac_try" in
        !          7773:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7774:   *) ac_try_echo=$ac_try;;
        !          7775: esac
        !          7776: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7777:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7778:   ac_status=$?
1.1.1.5 ! root     7779:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7780:   rm -f conftest.er1
        !          7781:   cat conftest.err >&5
1.1.1.3   root     7782:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7783:   (exit $ac_status); } && {
        !          7784:         test -z "$ac_c_werror_flag" ||
        !          7785:         test ! -s conftest.err
        !          7786:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7787:   ac_hi=-1 ac_mid=-1
                   7788:   while :; do
                   7789:     cat >conftest.$ac_ext <<_ACEOF
                   7790: /* confdefs.h.  */
                   7791: _ACEOF
                   7792: cat confdefs.h >>conftest.$ac_ext
                   7793: cat >>conftest.$ac_ext <<_ACEOF
                   7794: /* end confdefs.h.  */
                   7795: $ac_includes_default
1.1.1.5 ! root     7796:    typedef long double ac__type_sizeof_;
1.1.1.3   root     7797: int
                   7798: main ()
                   7799: {
1.1.1.5 ! root     7800: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.3   root     7801: test_array [0] = 0
                   7802: 
                   7803:   ;
                   7804:   return 0;
                   7805: }
                   7806: _ACEOF
                   7807: rm -f conftest.$ac_objext
1.1.1.5 ! root     7808: if { (ac_try="$ac_compile"
        !          7809: case "(($ac_try" in
        !          7810:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7811:   *) ac_try_echo=$ac_try;;
        !          7812: esac
        !          7813: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7814:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7815:   ac_status=$?
1.1.1.5 ! root     7816:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7817:   rm -f conftest.er1
        !          7818:   cat conftest.err >&5
1.1.1.3   root     7819:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7820:   (exit $ac_status); } && {
        !          7821:         test -z "$ac_c_werror_flag" ||
        !          7822:         test ! -s conftest.err
        !          7823:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7824:   ac_lo=$ac_mid; break
                   7825: else
                   7826:   echo "$as_me: failed program was:" >&5
                   7827: sed 's/^/| /' conftest.$ac_ext >&5
                   7828: 
1.1.1.5 ! root     7829:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7830:                        if test $ac_mid -le $ac_hi; then
        !          7831:                          ac_lo= ac_hi=
        !          7832:                          break
        !          7833:                        fi
        !          7834:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     7835: fi
1.1.1.5 ! root     7836: 
        !          7837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7838:   done
                   7839: else
                   7840:   echo "$as_me: failed program was:" >&5
                   7841: sed 's/^/| /' conftest.$ac_ext >&5
                   7842: 
1.1.1.5 ! root     7843:        ac_lo= ac_hi=
1.1.1.3   root     7844: fi
1.1.1.5 ! root     7845: 
        !          7846: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7847: fi
1.1.1.5 ! root     7848: 
        !          7849: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7850: # Binary search between lo and hi bounds.
                   7851: while test "x$ac_lo" != "x$ac_hi"; do
                   7852:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7853:   cat >conftest.$ac_ext <<_ACEOF
                   7854: /* confdefs.h.  */
                   7855: _ACEOF
                   7856: cat confdefs.h >>conftest.$ac_ext
                   7857: cat >>conftest.$ac_ext <<_ACEOF
                   7858: /* end confdefs.h.  */
                   7859: $ac_includes_default
1.1.1.5 ! root     7860:    typedef long double ac__type_sizeof_;
1.1.1.3   root     7861: int
                   7862: main ()
                   7863: {
1.1.1.5 ! root     7864: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.3   root     7865: test_array [0] = 0
                   7866: 
                   7867:   ;
                   7868:   return 0;
                   7869: }
                   7870: _ACEOF
                   7871: rm -f conftest.$ac_objext
1.1.1.5 ! root     7872: if { (ac_try="$ac_compile"
        !          7873: case "(($ac_try" in
        !          7874:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7875:   *) ac_try_echo=$ac_try;;
        !          7876: esac
        !          7877: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7878:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     7879:   ac_status=$?
1.1.1.5 ! root     7880:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7881:   rm -f conftest.er1
        !          7882:   cat conftest.err >&5
1.1.1.3   root     7883:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     7884:   (exit $ac_status); } && {
        !          7885:         test -z "$ac_c_werror_flag" ||
        !          7886:         test ! -s conftest.err
        !          7887:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     7888:   ac_hi=$ac_mid
                   7889: else
                   7890:   echo "$as_me: failed program was:" >&5
                   7891: sed 's/^/| /' conftest.$ac_ext >&5
                   7892: 
1.1.1.5 ! root     7893:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     7894: fi
1.1.1.5 ! root     7895: 
        !          7896: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7897: done
                   7898: case $ac_lo in
                   7899: ?*) ac_cv_sizeof_long_double=$ac_lo;;
1.1.1.5 ! root     7900: '') if test "$ac_cv_type_long_double" = yes; then
        !          7901:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
1.1.1.3   root     7902: See \`config.log' for more details." >&5
1.1.1.5 ! root     7903: echo "$as_me: error: cannot compute sizeof (long double)
1.1.1.3   root     7904: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7905:    { (exit 77); exit 77; }; }
        !          7906:    else
        !          7907:      ac_cv_sizeof_long_double=0
        !          7908:    fi ;;
1.1.1.3   root     7909: esac
                   7910: else
                   7911:   cat >conftest.$ac_ext <<_ACEOF
                   7912: /* confdefs.h.  */
                   7913: _ACEOF
                   7914: cat confdefs.h >>conftest.$ac_ext
                   7915: cat >>conftest.$ac_ext <<_ACEOF
                   7916: /* end confdefs.h.  */
                   7917: $ac_includes_default
1.1.1.5 ! root     7918:    typedef long double ac__type_sizeof_;
        !          7919: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          7920: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.3   root     7921: #include <stdio.h>
                   7922: #include <stdlib.h>
                   7923: int
                   7924: main ()
                   7925: {
                   7926: 
                   7927:   FILE *f = fopen ("conftest.val", "w");
                   7928:   if (! f)
1.1.1.5 ! root     7929:     return 1;
        !          7930:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.3   root     7931:     {
1.1.1.5 ! root     7932:       long int i = longval ();
        !          7933:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7934:        return 1;
1.1.1.3   root     7935:       fprintf (f, "%ld\n", i);
                   7936:     }
                   7937:   else
                   7938:     {
1.1.1.5 ! root     7939:       unsigned long int i = ulongval ();
        !          7940:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          7941:        return 1;
1.1.1.3   root     7942:       fprintf (f, "%lu\n", i);
                   7943:     }
1.1.1.5 ! root     7944:   return ferror (f) || fclose (f) != 0;
1.1.1.3   root     7945: 
                   7946:   ;
                   7947:   return 0;
                   7948: }
                   7949: _ACEOF
                   7950: rm -f conftest$ac_exeext
1.1.1.5 ! root     7951: if { (ac_try="$ac_link"
        !          7952: case "(($ac_try" in
        !          7953:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7954:   *) ac_try_echo=$ac_try;;
        !          7955: esac
        !          7956: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7957:   (eval "$ac_link") 2>&5
1.1.1.3   root     7958:   ac_status=$?
                   7959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7960:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     7961:   { (case "(($ac_try" in
        !          7962:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          7963:   *) ac_try_echo=$ac_try;;
        !          7964: esac
        !          7965: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          7966:   (eval "$ac_try") 2>&5
1.1.1.3   root     7967:   ac_status=$?
                   7968:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7969:   (exit $ac_status); }; }; then
                   7970:   ac_cv_sizeof_long_double=`cat conftest.val`
                   7971: else
                   7972:   echo "$as_me: program exited with status $ac_status" >&5
                   7973: echo "$as_me: failed program was:" >&5
                   7974: sed 's/^/| /' conftest.$ac_ext >&5
                   7975: 
                   7976: ( exit $ac_status )
1.1.1.5 ! root     7977: if test "$ac_cv_type_long_double" = yes; then
        !          7978:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
1.1.1.3   root     7979: See \`config.log' for more details." >&5
1.1.1.5 ! root     7980: echo "$as_me: error: cannot compute sizeof (long double)
1.1.1.3   root     7981: See \`config.log' for more details." >&2;}
1.1.1.5 ! root     7982:    { (exit 77); exit 77; }; }
        !          7983:    else
        !          7984:      ac_cv_sizeof_long_double=0
        !          7985:    fi
1.1.1.3   root     7986: fi
1.1.1.5 ! root     7987: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7988: fi
                   7989: rm -f conftest.val
                   7990: fi
1.1.1.5 ! root     7991: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
        !          7992: echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
        !          7993: 
        !          7994: 
        !          7995: 
1.1.1.3   root     7996: cat >>confdefs.h <<_ACEOF
                   7997: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
                   7998: _ACEOF
                   7999: 
                   8000: 
                   8001: fi
                   8002: if test $ac_cv_sizeof_int != 4 && test $ac_cv_sizeof_long != 4; then
                   8003:   { { echo "$as_me:$LINENO: error: can't find a 32-bit type" >&5
                   8004: echo "$as_me: error: can't find a 32-bit type" >&2;}
                   8005:    { (exit 1); exit 1; }; }
                   8006: fi
                   8007: if test $ac_cv_sizeof_int != 2 && test $ac_cv_sizeof_short != 2; then
                   8008:   { { echo "$as_me:$LINENO: error: can't find a 16-bit type" >&5
                   8009: echo "$as_me: error: can't find a 16-bit type" >&2;}
                   8010:    { (exit 1); exit 1; }; }
                   8011: fi
1.1.1.4   root     8012: if test $ac_cv_sizeof_long = 8; then
1.1.1.5 ! root     8013:   { echo "$as_me:$LINENO: checking minimum alignment of int64_t" >&5
        !          8014: echo $ECHO_N "checking minimum alignment of int64_t... $ECHO_C" >&6; }
1.1.1.4   root     8015: if test "${ac_cv_alignof_int64_t+set}" = set; then
                   8016:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8017: else
                   8018:   if test "$cross_compiling" = yes; then
                   8019:   ac_cv_alignof_int64_t=64
                   8020: else
                   8021:   cat >conftest.$ac_ext <<_ACEOF
                   8022: /* confdefs.h.  */
                   8023: _ACEOF
                   8024: cat confdefs.h >>conftest.$ac_ext
                   8025: cat >>conftest.$ac_ext <<_ACEOF
                   8026: /* end confdefs.h.  */
                   8027: #include <stdio.h>
                   8028: #include <sys/types.h>
                   8029: main()
                   8030: {
                   8031: #if (SIZEOF_SHORT * 8) == 64
                   8032: #define _type short
                   8033: #elif (SIZEOF_INT * 8) == 64
                   8034: #define _type int
                   8035: #else
                   8036: #define _type long
                   8037: #endif
                   8038:   char try_align_buffer[sizeof(_type) * 2];
                   8039:   int min_align, try_align, status;
                   8040:   _type value;
                   8041:   FILE *f=fopen("conftestval", "w");
                   8042:   if (!f) exit(1);
                   8043:   min_align = sizeof(_type);
                   8044:   for(try_align = sizeof(_type); try_align-- > 1;) {
                   8045:     switch(fork()) {
                   8046:     case -1: exit(1);
                   8047:     case 0: value = *((_type *) &try_align_buffer[try_align]);
                   8048:       fprintf(stderr, "%d\n", (int) (value / 2)); exit(0);
                   8049:     default: break;
                   8050:     }
                   8051:     wait(&status);
                   8052:     if (!status && try_align < min_align) {
                   8053:       min_align = try_align;
                   8054:     }
                   8055:   }
                   8056:   fprintf(f, "%d\n", min_align * 8);
                   8057:   exit(0);
                   8058: }
                   8059: _ACEOF
                   8060: rm -f conftest$ac_exeext
1.1.1.5 ! root     8061: if { (ac_try="$ac_link"
        !          8062: case "(($ac_try" in
        !          8063:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8064:   *) ac_try_echo=$ac_try;;
        !          8065: esac
        !          8066: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8067:   (eval "$ac_link") 2>&5
1.1.1.4   root     8068:   ac_status=$?
                   8069:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8070:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8071:   { (case "(($ac_try" in
        !          8072:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8073:   *) ac_try_echo=$ac_try;;
        !          8074: esac
        !          8075: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8076:   (eval "$ac_try") 2>&5
1.1.1.4   root     8077:   ac_status=$?
                   8078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8079:   (exit $ac_status); }; }; then
                   8080:   ac_cv_alignof_int64_t=`cat conftestval`
                   8081: else
                   8082:   echo "$as_me: program exited with status $ac_status" >&5
                   8083: echo "$as_me: failed program was:" >&5
                   8084: sed 's/^/| /' conftest.$ac_ext >&5
                   8085: 
                   8086: ( exit $ac_status )
                   8087: ac_cv_alignof_int64_t=64
                   8088: fi
1.1.1.5 ! root     8089: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     8090: fi
1.1.1.5 ! root     8091: 
        !          8092: 
1.1.1.4   root     8093: fi
                   8094: ac_cv_alignof_int64_t=`expr $ac_cv_alignof_int64_t / 8`
1.1.1.5 ! root     8095: { echo "$as_me:$LINENO: result: $ac_cv_alignof_int64_t" >&5
        !          8096: echo "${ECHO_T}$ac_cv_alignof_int64_t" >&6; }
1.1.1.4   root     8097: 
                   8098: cat >>confdefs.h <<_ACEOF
                   8099: #define ALIGNOF_INT64_T $ac_cv_alignof_int64_t
                   8100: _ACEOF
                   8101: 
                   8102: 
1.1.1.5 ! root     8103:   { echo "$as_me:$LINENO: checking maximum shift count for int64_t" >&5
        !          8104: echo $ECHO_N "checking maximum shift count for int64_t... $ECHO_C" >&6; }
        !          8105: if test "${ac_cv_shiftmax_int64_t+set}" = set; then
1.1.1.3   root     8106:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8107: else
                   8108:   if test "$cross_compiling" = yes; then
1.1.1.5 ! root     8109:   ac_cv_shiftmax_int64_t=64
1.1.1.3   root     8110: else
                   8111:   cat >conftest.$ac_ext <<_ACEOF
                   8112: /* confdefs.h.  */
                   8113: _ACEOF
                   8114: cat confdefs.h >>conftest.$ac_ext
                   8115: cat >>conftest.$ac_ext <<_ACEOF
                   8116: /* end confdefs.h.  */
                   8117: #include <stdio.h>
                   8118: #include <sys/types.h>
                   8119: main()
                   8120: {
1.1.1.5 ! root     8121: #if 8 == 64
        !          8122: #define _type char
        !          8123: #elif (SIZEOF_SHORT * 8) == 64
1.1.1.3   root     8124: #define _type short
1.1.1.5 ! root     8125: #elif (SIZEOF_INT * 8) == 64
1.1.1.3   root     8126: #define _type int
1.1.1.5 ! root     8127: #elif (SIZEOF_LONG * 8) == 64
1.1.1.3   root     8128: #define _type long
                   8129: #endif
1.1.1.5 ! root     8130:   _type center, right, left;
        !          8131:   unsigned int shift, max_shift;
1.1.1.3   root     8132:   FILE *f=fopen("conftestval", "w");
                   8133:   if (!f) exit(1);
1.1.1.5 ! root     8134:   center = 3;
        !          8135:   center <<= ((sizeof(center) * 4) - 1);
        !          8136:   max_shift = 2047;
        !          8137:   sscanf("0", "%d", &shift);
        !          8138:   for (shift += (sizeof(center) * 8);
        !          8139:        shift < 2048;
        !          8140:        shift <<= 1) {
        !          8141:     right = (center >> shift);
        !          8142:     left = (center << shift);
        !          8143:     if (right != 0
        !          8144:        || left != 0) {
        !          8145:       right = (center >> (shift | 1));
        !          8146:       left = (center << (shift | 1));
        !          8147:       max_shift = ((right == (center >> 1)
        !          8148:                    && left == (center << 1))
        !          8149:                   ? shift - 1
        !          8150:                   : (sizeof(center) * 8) - 1);
        !          8151:       break;
        !          8152:     }
        !          8153:   }
        !          8154:   fprintf(f, "%d\n", max_shift + 1);
        !          8155:   exit(0);
        !          8156: }
        !          8157: _ACEOF
        !          8158: rm -f conftest$ac_exeext
        !          8159: if { (ac_try="$ac_link"
        !          8160: case "(($ac_try" in
        !          8161:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8162:   *) ac_try_echo=$ac_try;;
        !          8163: esac
        !          8164: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8165:   (eval "$ac_link") 2>&5
        !          8166:   ac_status=$?
        !          8167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8168:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8169:   { (case "(($ac_try" in
        !          8170:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8171:   *) ac_try_echo=$ac_try;;
        !          8172: esac
        !          8173: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8174:   (eval "$ac_try") 2>&5
        !          8175:   ac_status=$?
        !          8176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8177:   (exit $ac_status); }; }; then
        !          8178:   ac_cv_shiftmax_int64_t=`cat conftestval`
        !          8179: else
        !          8180:   echo "$as_me: program exited with status $ac_status" >&5
        !          8181: echo "$as_me: failed program was:" >&5
        !          8182: sed 's/^/| /' conftest.$ac_ext >&5
        !          8183: 
        !          8184: ( exit $ac_status )
        !          8185: ac_cv_shiftmax_int64_t=64
        !          8186: fi
        !          8187: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          8188: fi
        !          8189: 
        !          8190: 
        !          8191: fi
        !          8192: ac_cv_shiftmax_int64_t=`expr $ac_cv_shiftmax_int64_t - 1`
        !          8193: { echo "$as_me:$LINENO: result: $ac_cv_shiftmax_int64_t" >&5
        !          8194: echo "${ECHO_T}$ac_cv_shiftmax_int64_t" >&6; }
        !          8195: 
        !          8196: cat >>confdefs.h <<_ACEOF
        !          8197: #define SHIFTMAX_INT64_T $ac_cv_shiftmax_int64_t
        !          8198: _ACEOF
        !          8199: 
        !          8200: 
        !          8201:   { echo "$as_me:$LINENO: checking for arithmetic right shifts of int64_t" >&5
        !          8202: echo $ECHO_N "checking for arithmetic right shifts of int64_t... $ECHO_C" >&6; }
        !          8203: if test "${ac_cv_shiftsigned_int64_t+set}" = set; then
        !          8204:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8205: else
        !          8206:   if test "$cross_compiling" = yes; then
        !          8207:   ac_cv_shiftsigned_int64_t=0
        !          8208: else
        !          8209:   cat >conftest.$ac_ext <<_ACEOF
        !          8210: /* confdefs.h.  */
        !          8211: _ACEOF
        !          8212: cat confdefs.h >>conftest.$ac_ext
        !          8213: cat >>conftest.$ac_ext <<_ACEOF
        !          8214: /* end confdefs.h.  */
        !          8215: #include <stdio.h>
        !          8216: #include <sys/types.h>
        !          8217: main()
        !          8218: {
        !          8219: #if 8 == 64
        !          8220: #define _type signed char
        !          8221: #elif (SIZEOF_SHORT * 8) == 64
        !          8222: #define _type signed short
        !          8223: #elif (SIZEOF_INT * 8) == 64
        !          8224: #define _type signed int
        !          8225: #elif (SIZEOF_LONG * 8) == 64
        !          8226: #define _type signed long
        !          8227: #endif
        !          8228:   _type prime, shifted, dividend;
        !          8229:   unsigned int shift, divides;
        !          8230:   FILE *f;
        !          8231: 
        !          8232:   f=fopen("conftestval", "w");
        !          8233:   if (!f) exit(1);
        !          8234: 
        !          8235:   /* set value to the largest magnitude negative prime that it
        !          8236:      will hold: */
        !          8237: #if 64 == 8
        !          8238:   prime = -127;
        !          8239: #elif 64 == 16
        !          8240:   prime = -32749;
        !          8241: #elif 64 == 32
        !          8242:   prime = -2147483647;
        !          8243: #elif 64 == 64
        !          8244:   /* this is a crafty way of constructing -9223372036854775783,
        !          8245:      which is 0x8000000000000000 - 0x19, without having to know
        !          8246:      any compiler suffix for 64-bit literals: */
        !          8247:   prime = 1;
        !          8248:   prime <<= (64 - 2);
        !          8249:   prime = -prime;
        !          8250:   prime *= 2;
        !          8251:   prime -= 0x19;
        !          8252: #else
        !          8253: #error "need another prime"
        !          8254: #endif
        !          8255: 
        !          8256:   /* all right shifts from a single bit up to SHIFTMAX_INT64_T
        !          8257:      must be arithmetic, otherwise shifts aren't arithmetic: */
        !          8258:   for (shift = 1;
        !          8259:        shift <= SHIFTMAX_INT64_T;
        !          8260:        shift++) {
        !          8261:     shifted = prime >> shift;
        !          8262:     dividend = prime;
        !          8263:     divides = 0;
        !          8264:     do {
        !          8265:       dividend &= ~((_type) 1); /* guarantee no remainder */
        !          8266:       dividend /= 2;
        !          8267:     } while (++divides < shift);
        !          8268:     if (shifted != dividend) {
        !          8269:       break;
        !          8270:     }
        !          8271:   }
        !          8272: 
        !          8273:   fprintf(f, "%d\n", (shift > SHIFTMAX_INT64_T ? 1 : 0));
        !          8274:   exit(0);
        !          8275: }
        !          8276: _ACEOF
        !          8277: rm -f conftest$ac_exeext
        !          8278: if { (ac_try="$ac_link"
        !          8279: case "(($ac_try" in
        !          8280:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8281:   *) ac_try_echo=$ac_try;;
        !          8282: esac
        !          8283: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8284:   (eval "$ac_link") 2>&5
        !          8285:   ac_status=$?
        !          8286:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8287:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8288:   { (case "(($ac_try" in
        !          8289:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8290:   *) ac_try_echo=$ac_try;;
        !          8291: esac
        !          8292: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8293:   (eval "$ac_try") 2>&5
        !          8294:   ac_status=$?
        !          8295:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8296:   (exit $ac_status); }; }; then
        !          8297:   ac_cv_shiftsigned_int64_t=`cat conftestval`
        !          8298: else
        !          8299:   echo "$as_me: program exited with status $ac_status" >&5
        !          8300: echo "$as_me: failed program was:" >&5
        !          8301: sed 's/^/| /' conftest.$ac_ext >&5
        !          8302: 
        !          8303: ( exit $ac_status )
        !          8304: ac_cv_shiftsigned_int64_t=0
        !          8305: fi
        !          8306: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          8307: fi
        !          8308: 
        !          8309: 
        !          8310: fi
        !          8311: if test $ac_cv_shiftsigned_int64_t = 1; then
        !          8312:   { echo "$as_me:$LINENO: result: yes" >&5
        !          8313: echo "${ECHO_T}yes" >&6; }
        !          8314: 
        !          8315: cat >>confdefs.h <<_ACEOF
        !          8316: #define SHIFTSIGNED_INT64_T
        !          8317: _ACEOF
        !          8318: 
        !          8319: else
        !          8320:   { echo "$as_me:$LINENO: result: no" >&5
        !          8321: echo "${ECHO_T}no" >&6; }
        !          8322: fi
        !          8323: 
        !          8324: fi
        !          8325: { echo "$as_me:$LINENO: checking minimum alignment of int32_t" >&5
        !          8326: echo $ECHO_N "checking minimum alignment of int32_t... $ECHO_C" >&6; }
        !          8327: if test "${ac_cv_alignof_int32_t+set}" = set; then
        !          8328:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8329: else
        !          8330:   if test "$cross_compiling" = yes; then
        !          8331:   ac_cv_alignof_int32_t=32
        !          8332: else
        !          8333:   cat >conftest.$ac_ext <<_ACEOF
        !          8334: /* confdefs.h.  */
        !          8335: _ACEOF
        !          8336: cat confdefs.h >>conftest.$ac_ext
        !          8337: cat >>conftest.$ac_ext <<_ACEOF
        !          8338: /* end confdefs.h.  */
        !          8339: #include <stdio.h>
        !          8340: #include <sys/types.h>
        !          8341: main()
        !          8342: {
        !          8343: #if (SIZEOF_SHORT * 8) == 32
        !          8344: #define _type short
        !          8345: #elif (SIZEOF_INT * 8) == 32
        !          8346: #define _type int
        !          8347: #else
        !          8348: #define _type long
        !          8349: #endif
        !          8350:   char try_align_buffer[sizeof(_type) * 2];
        !          8351:   int min_align, try_align, status;
        !          8352:   _type value;
        !          8353:   FILE *f=fopen("conftestval", "w");
        !          8354:   if (!f) exit(1);
        !          8355:   min_align = sizeof(_type);
        !          8356:   for(try_align = sizeof(_type); try_align-- > 1;) {
        !          8357:     switch(fork()) {
        !          8358:     case -1: exit(1);
        !          8359:     case 0: value = *((_type *) &try_align_buffer[try_align]);
        !          8360:       fprintf(stderr, "%d\n", (int) (value / 2)); exit(0);
        !          8361:     default: break;
        !          8362:     }
        !          8363:     wait(&status);
        !          8364:     if (!status && try_align < min_align) {
        !          8365:       min_align = try_align;
        !          8366:     }
        !          8367:   }
        !          8368:   fprintf(f, "%d\n", min_align * 8);
        !          8369:   exit(0);
        !          8370: }
        !          8371: _ACEOF
        !          8372: rm -f conftest$ac_exeext
        !          8373: if { (ac_try="$ac_link"
        !          8374: case "(($ac_try" in
        !          8375:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8376:   *) ac_try_echo=$ac_try;;
        !          8377: esac
        !          8378: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8379:   (eval "$ac_link") 2>&5
        !          8380:   ac_status=$?
        !          8381:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8382:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8383:   { (case "(($ac_try" in
        !          8384:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8385:   *) ac_try_echo=$ac_try;;
        !          8386: esac
        !          8387: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8388:   (eval "$ac_try") 2>&5
        !          8389:   ac_status=$?
        !          8390:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     8391:   (exit $ac_status); }; }; then
                   8392:   ac_cv_alignof_int32_t=`cat conftestval`
                   8393: else
                   8394:   echo "$as_me: program exited with status $ac_status" >&5
                   8395: echo "$as_me: failed program was:" >&5
                   8396: sed 's/^/| /' conftest.$ac_ext >&5
                   8397: 
                   8398: ( exit $ac_status )
                   8399: ac_cv_alignof_int32_t=32
                   8400: fi
1.1.1.5 ! root     8401: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8402: fi
1.1.1.5 ! root     8403: 
        !          8404: 
1.1.1.3   root     8405: fi
                   8406: ac_cv_alignof_int32_t=`expr $ac_cv_alignof_int32_t / 8`
1.1.1.5 ! root     8407: { echo "$as_me:$LINENO: result: $ac_cv_alignof_int32_t" >&5
        !          8408: echo "${ECHO_T}$ac_cv_alignof_int32_t" >&6; }
1.1.1.3   root     8409: 
                   8410: cat >>confdefs.h <<_ACEOF
                   8411: #define ALIGNOF_INT32_T $ac_cv_alignof_int32_t
                   8412: _ACEOF
                   8413: 
                   8414: 
1.1.1.5 ! root     8415: { echo "$as_me:$LINENO: checking minimum alignment of int16_t" >&5
        !          8416: echo $ECHO_N "checking minimum alignment of int16_t... $ECHO_C" >&6; }
1.1.1.3   root     8417: if test "${ac_cv_alignof_int16_t+set}" = set; then
                   8418:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8419: else
                   8420:   if test "$cross_compiling" = yes; then
                   8421:   ac_cv_alignof_int16_t=16
                   8422: else
                   8423:   cat >conftest.$ac_ext <<_ACEOF
                   8424: /* confdefs.h.  */
                   8425: _ACEOF
                   8426: cat confdefs.h >>conftest.$ac_ext
                   8427: cat >>conftest.$ac_ext <<_ACEOF
                   8428: /* end confdefs.h.  */
                   8429: #include <stdio.h>
                   8430: #include <sys/types.h>
                   8431: main()
                   8432: {
                   8433: #if (SIZEOF_SHORT * 8) == 16
                   8434: #define _type short
                   8435: #elif (SIZEOF_INT * 8) == 16
                   8436: #define _type int
                   8437: #else
                   8438: #define _type long
                   8439: #endif
                   8440:   char try_align_buffer[sizeof(_type) * 2];
                   8441:   int min_align, try_align, status;
                   8442:   _type value;
                   8443:   FILE *f=fopen("conftestval", "w");
                   8444:   if (!f) exit(1);
                   8445:   min_align = sizeof(_type);
1.1       root     8446:   for(try_align = sizeof(_type); try_align-- > 1;) {
                   8447:     switch(fork()) {
                   8448:     case -1: exit(1);
                   8449:     case 0: value = *((_type *) &try_align_buffer[try_align]);
1.1.1.4   root     8450:       fprintf(stderr, "%d\n", (int) (value / 2)); exit(0);
1.1       root     8451:     default: break;
                   8452:     }
1.1.1.3   root     8453:     wait(&status);
                   8454:     if (!status && try_align < min_align) {
                   8455:       min_align = try_align;
                   8456:     }
                   8457:   }
                   8458:   fprintf(f, "%d\n", min_align * 8);
                   8459:   exit(0);
                   8460: }
                   8461: _ACEOF
                   8462: rm -f conftest$ac_exeext
1.1.1.5 ! root     8463: if { (ac_try="$ac_link"
        !          8464: case "(($ac_try" in
        !          8465:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8466:   *) ac_try_echo=$ac_try;;
        !          8467: esac
        !          8468: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8469:   (eval "$ac_link") 2>&5
1.1.1.3   root     8470:   ac_status=$?
                   8471:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8472:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8473:   { (case "(($ac_try" in
        !          8474:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8475:   *) ac_try_echo=$ac_try;;
        !          8476: esac
        !          8477: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8478:   (eval "$ac_try") 2>&5
1.1.1.3   root     8479:   ac_status=$?
                   8480:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8481:   (exit $ac_status); }; }; then
                   8482:   ac_cv_alignof_int16_t=`cat conftestval`
                   8483: else
                   8484:   echo "$as_me: program exited with status $ac_status" >&5
                   8485: echo "$as_me: failed program was:" >&5
                   8486: sed 's/^/| /' conftest.$ac_ext >&5
                   8487: 
                   8488: ( exit $ac_status )
                   8489: ac_cv_alignof_int16_t=16
                   8490: fi
1.1.1.5 ! root     8491: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8492: fi
1.1.1.5 ! root     8493: 
        !          8494: 
1.1.1.3   root     8495: fi
                   8496: ac_cv_alignof_int16_t=`expr $ac_cv_alignof_int16_t / 8`
1.1.1.5 ! root     8497: { echo "$as_me:$LINENO: result: $ac_cv_alignof_int16_t" >&5
        !          8498: echo "${ECHO_T}$ac_cv_alignof_int16_t" >&6; }
1.1.1.3   root     8499: 
                   8500: cat >>confdefs.h <<_ACEOF
                   8501: #define ALIGNOF_INT16_T $ac_cv_alignof_int16_t
                   8502: _ACEOF
                   8503: 
                   8504: 
1.1.1.5 ! root     8505: { echo "$as_me:$LINENO: checking maximum shift count for int8_t" >&5
        !          8506: echo $ECHO_N "checking maximum shift count for int8_t... $ECHO_C" >&6; }
1.1.1.3   root     8507: if test "${ac_cv_shiftmax_int8_t+set}" = set; then
                   8508:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8509: else
                   8510:   if test "$cross_compiling" = yes; then
                   8511:   ac_cv_shiftmax_int8_t=8
                   8512: else
                   8513:   cat >conftest.$ac_ext <<_ACEOF
                   8514: /* confdefs.h.  */
                   8515: _ACEOF
                   8516: cat confdefs.h >>conftest.$ac_ext
                   8517: cat >>conftest.$ac_ext <<_ACEOF
                   8518: /* end confdefs.h.  */
                   8519: #include <stdio.h>
                   8520: #include <sys/types.h>
                   8521: main()
                   8522: {
                   8523: #if 8 == 8
                   8524: #define _type char
                   8525: #elif (SIZEOF_SHORT * 8) == 8
                   8526: #define _type short
                   8527: #elif (SIZEOF_INT * 8) == 8
                   8528: #define _type int
                   8529: #elif (SIZEOF_LONG * 8) == 8
                   8530: #define _type long
                   8531: #endif
                   8532:   _type center, right, left;
                   8533:   unsigned int shift, max_shift;
                   8534:   FILE *f=fopen("conftestval", "w");
                   8535:   if (!f) exit(1);
1.1.1.4   root     8536:   center = 3;
                   8537:   center <<= ((sizeof(center) * 4) - 1);
1.1.1.3   root     8538:   max_shift = 2047;
1.1.1.4   root     8539:   sscanf("0", "%d", &shift);
                   8540:   for (shift += (sizeof(center) * 8);
1.1.1.3   root     8541:        shift < 2048;
                   8542:        shift <<= 1) {
                   8543:     right = (center >> shift);
                   8544:     left = (center << shift);
                   8545:     if (right != 0
                   8546:        || left != 0) {
                   8547:       right = (center >> (shift | 1));
                   8548:       left = (center << (shift | 1));
                   8549:       max_shift = ((right == (center >> 1)
                   8550:                    && left == (center << 1))
                   8551:                   ? shift - 1
                   8552:                   : (sizeof(center) * 8) - 1);
                   8553:       break;
                   8554:     }
                   8555:   }
                   8556:   fprintf(f, "%d\n", max_shift + 1);
                   8557:   exit(0);
                   8558: }
                   8559: _ACEOF
                   8560: rm -f conftest$ac_exeext
1.1.1.5 ! root     8561: if { (ac_try="$ac_link"
        !          8562: case "(($ac_try" in
        !          8563:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8564:   *) ac_try_echo=$ac_try;;
        !          8565: esac
        !          8566: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8567:   (eval "$ac_link") 2>&5
1.1.1.3   root     8568:   ac_status=$?
                   8569:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8570:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8571:   { (case "(($ac_try" in
        !          8572:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8573:   *) ac_try_echo=$ac_try;;
        !          8574: esac
        !          8575: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8576:   (eval "$ac_try") 2>&5
1.1.1.3   root     8577:   ac_status=$?
                   8578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8579:   (exit $ac_status); }; }; then
                   8580:   ac_cv_shiftmax_int8_t=`cat conftestval`
                   8581: else
                   8582:   echo "$as_me: program exited with status $ac_status" >&5
                   8583: echo "$as_me: failed program was:" >&5
                   8584: sed 's/^/| /' conftest.$ac_ext >&5
                   8585: 
                   8586: ( exit $ac_status )
                   8587: ac_cv_shiftmax_int8_t=8
                   8588: fi
1.1.1.5 ! root     8589: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8590: fi
1.1.1.5 ! root     8591: 
        !          8592: 
1.1.1.3   root     8593: fi
                   8594: ac_cv_shiftmax_int8_t=`expr $ac_cv_shiftmax_int8_t - 1`
1.1.1.5 ! root     8595: { echo "$as_me:$LINENO: result: $ac_cv_shiftmax_int8_t" >&5
        !          8596: echo "${ECHO_T}$ac_cv_shiftmax_int8_t" >&6; }
1.1.1.3   root     8597: 
                   8598: cat >>confdefs.h <<_ACEOF
                   8599: #define SHIFTMAX_INT8_T $ac_cv_shiftmax_int8_t
                   8600: _ACEOF
                   8601: 
                   8602: 
1.1.1.5 ! root     8603: { echo "$as_me:$LINENO: checking maximum shift count for int16_t" >&5
        !          8604: echo $ECHO_N "checking maximum shift count for int16_t... $ECHO_C" >&6; }
1.1.1.3   root     8605: if test "${ac_cv_shiftmax_int16_t+set}" = set; then
                   8606:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8607: else
                   8608:   if test "$cross_compiling" = yes; then
                   8609:   ac_cv_shiftmax_int16_t=16
                   8610: else
                   8611:   cat >conftest.$ac_ext <<_ACEOF
                   8612: /* confdefs.h.  */
                   8613: _ACEOF
                   8614: cat confdefs.h >>conftest.$ac_ext
                   8615: cat >>conftest.$ac_ext <<_ACEOF
                   8616: /* end confdefs.h.  */
                   8617: #include <stdio.h>
                   8618: #include <sys/types.h>
                   8619: main()
                   8620: {
                   8621: #if 8 == 16
                   8622: #define _type char
                   8623: #elif (SIZEOF_SHORT * 8) == 16
                   8624: #define _type short
                   8625: #elif (SIZEOF_INT * 8) == 16
                   8626: #define _type int
                   8627: #elif (SIZEOF_LONG * 8) == 16
                   8628: #define _type long
                   8629: #endif
                   8630:   _type center, right, left;
                   8631:   unsigned int shift, max_shift;
                   8632:   FILE *f=fopen("conftestval", "w");
                   8633:   if (!f) exit(1);
1.1.1.4   root     8634:   center = 3;
                   8635:   center <<= ((sizeof(center) * 4) - 1);
1.1.1.3   root     8636:   max_shift = 2047;
1.1.1.4   root     8637:   sscanf("0", "%d", &shift);
                   8638:   for (shift += (sizeof(center) * 8);
1.1.1.3   root     8639:        shift < 2048;
                   8640:        shift <<= 1) {
                   8641:     right = (center >> shift);
                   8642:     left = (center << shift);
                   8643:     if (right != 0
                   8644:        || left != 0) {
                   8645:       right = (center >> (shift | 1));
                   8646:       left = (center << (shift | 1));
                   8647:       max_shift = ((right == (center >> 1)
                   8648:                    && left == (center << 1))
                   8649:                   ? shift - 1
                   8650:                   : (sizeof(center) * 8) - 1);
                   8651:       break;
                   8652:     }
                   8653:   }
                   8654:   fprintf(f, "%d\n", max_shift + 1);
                   8655:   exit(0);
                   8656: }
                   8657: _ACEOF
                   8658: rm -f conftest$ac_exeext
1.1.1.5 ! root     8659: if { (ac_try="$ac_link"
        !          8660: case "(($ac_try" in
        !          8661:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8662:   *) ac_try_echo=$ac_try;;
        !          8663: esac
        !          8664: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8665:   (eval "$ac_link") 2>&5
1.1.1.3   root     8666:   ac_status=$?
                   8667:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8668:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8669:   { (case "(($ac_try" in
        !          8670:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8671:   *) ac_try_echo=$ac_try;;
        !          8672: esac
        !          8673: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8674:   (eval "$ac_try") 2>&5
1.1.1.3   root     8675:   ac_status=$?
                   8676:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8677:   (exit $ac_status); }; }; then
                   8678:   ac_cv_shiftmax_int16_t=`cat conftestval`
                   8679: else
                   8680:   echo "$as_me: program exited with status $ac_status" >&5
                   8681: echo "$as_me: failed program was:" >&5
                   8682: sed 's/^/| /' conftest.$ac_ext >&5
                   8683: 
                   8684: ( exit $ac_status )
                   8685: ac_cv_shiftmax_int16_t=16
                   8686: fi
1.1.1.5 ! root     8687: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8688: fi
1.1.1.5 ! root     8689: 
        !          8690: 
1.1.1.3   root     8691: fi
                   8692: ac_cv_shiftmax_int16_t=`expr $ac_cv_shiftmax_int16_t - 1`
1.1.1.5 ! root     8693: { echo "$as_me:$LINENO: result: $ac_cv_shiftmax_int16_t" >&5
        !          8694: echo "${ECHO_T}$ac_cv_shiftmax_int16_t" >&6; }
1.1.1.3   root     8695: 
                   8696: cat >>confdefs.h <<_ACEOF
                   8697: #define SHIFTMAX_INT16_T $ac_cv_shiftmax_int16_t
                   8698: _ACEOF
                   8699: 
                   8700: 
1.1.1.5 ! root     8701: { echo "$as_me:$LINENO: checking maximum shift count for int32_t" >&5
        !          8702: echo $ECHO_N "checking maximum shift count for int32_t... $ECHO_C" >&6; }
1.1.1.3   root     8703: if test "${ac_cv_shiftmax_int32_t+set}" = set; then
                   8704:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8705: else
                   8706:   if test "$cross_compiling" = yes; then
                   8707:   ac_cv_shiftmax_int32_t=32
                   8708: else
                   8709:   cat >conftest.$ac_ext <<_ACEOF
                   8710: /* confdefs.h.  */
                   8711: _ACEOF
                   8712: cat confdefs.h >>conftest.$ac_ext
                   8713: cat >>conftest.$ac_ext <<_ACEOF
                   8714: /* end confdefs.h.  */
                   8715: #include <stdio.h>
                   8716: #include <sys/types.h>
                   8717: main()
                   8718: {
                   8719: #if 8 == 32
                   8720: #define _type char
                   8721: #elif (SIZEOF_SHORT * 8) == 32
                   8722: #define _type short
                   8723: #elif (SIZEOF_INT * 8) == 32
                   8724: #define _type int
                   8725: #elif (SIZEOF_LONG * 8) == 32
                   8726: #define _type long
                   8727: #endif
                   8728:   _type center, right, left;
                   8729:   unsigned int shift, max_shift;
                   8730:   FILE *f=fopen("conftestval", "w");
                   8731:   if (!f) exit(1);
1.1.1.4   root     8732:   center = 3;
                   8733:   center <<= ((sizeof(center) * 4) - 1);
1.1.1.3   root     8734:   max_shift = 2047;
1.1.1.4   root     8735:   sscanf("0", "%d", &shift);
                   8736:   for (shift += (sizeof(center) * 8);
1.1.1.3   root     8737:        shift < 2048;
                   8738:        shift <<= 1) {
                   8739:     right = (center >> shift);
                   8740:     left = (center << shift);
                   8741:     if (right != 0
                   8742:        || left != 0) {
                   8743:       right = (center >> (shift | 1));
                   8744:       left = (center << (shift | 1));
                   8745:       max_shift = ((right == (center >> 1)
                   8746:                    && left == (center << 1))
                   8747:                   ? shift - 1
                   8748:                   : (sizeof(center) * 8) - 1);
                   8749:       break;
                   8750:     }
                   8751:   }
                   8752:   fprintf(f, "%d\n", max_shift + 1);
                   8753:   exit(0);
                   8754: }
                   8755: _ACEOF
                   8756: rm -f conftest$ac_exeext
1.1.1.5 ! root     8757: if { (ac_try="$ac_link"
        !          8758: case "(($ac_try" in
        !          8759:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8760:   *) ac_try_echo=$ac_try;;
        !          8761: esac
        !          8762: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8763:   (eval "$ac_link") 2>&5
1.1.1.3   root     8764:   ac_status=$?
                   8765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8766:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8767:   { (case "(($ac_try" in
        !          8768:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8769:   *) ac_try_echo=$ac_try;;
        !          8770: esac
        !          8771: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8772:   (eval "$ac_try") 2>&5
1.1.1.3   root     8773:   ac_status=$?
                   8774:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8775:   (exit $ac_status); }; }; then
                   8776:   ac_cv_shiftmax_int32_t=`cat conftestval`
                   8777: else
                   8778:   echo "$as_me: program exited with status $ac_status" >&5
                   8779: echo "$as_me: failed program was:" >&5
                   8780: sed 's/^/| /' conftest.$ac_ext >&5
                   8781: 
                   8782: ( exit $ac_status )
                   8783: ac_cv_shiftmax_int32_t=32
                   8784: fi
1.1.1.5 ! root     8785: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8786: fi
1.1.1.5 ! root     8787: 
        !          8788: 
1.1.1.3   root     8789: fi
                   8790: ac_cv_shiftmax_int32_t=`expr $ac_cv_shiftmax_int32_t - 1`
1.1.1.5 ! root     8791: { echo "$as_me:$LINENO: result: $ac_cv_shiftmax_int32_t" >&5
        !          8792: echo "${ECHO_T}$ac_cv_shiftmax_int32_t" >&6; }
1.1.1.3   root     8793: 
                   8794: cat >>confdefs.h <<_ACEOF
                   8795: #define SHIFTMAX_INT32_T $ac_cv_shiftmax_int32_t
                   8796: _ACEOF
                   8797: 
                   8798: 
1.1.1.5 ! root     8799: { echo "$as_me:$LINENO: checking for arithmetic right shifts of int8_t" >&5
        !          8800: echo $ECHO_N "checking for arithmetic right shifts of int8_t... $ECHO_C" >&6; }
1.1.1.3   root     8801: if test "${ac_cv_shiftsigned_int8_t+set}" = set; then
                   8802:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8803: else
                   8804:   if test "$cross_compiling" = yes; then
                   8805:   ac_cv_shiftsigned_int8_t=0
                   8806: else
                   8807:   cat >conftest.$ac_ext <<_ACEOF
                   8808: /* confdefs.h.  */
                   8809: _ACEOF
                   8810: cat confdefs.h >>conftest.$ac_ext
                   8811: cat >>conftest.$ac_ext <<_ACEOF
                   8812: /* end confdefs.h.  */
                   8813: #include <stdio.h>
                   8814: #include <sys/types.h>
                   8815: main()
                   8816: {
                   8817: #if 8 == 8
                   8818: #define _type signed char
                   8819: #elif (SIZEOF_SHORT * 8) == 8
                   8820: #define _type signed short
                   8821: #elif (SIZEOF_INT * 8) == 8
                   8822: #define _type signed int
                   8823: #elif (SIZEOF_LONG * 8) == 8
                   8824: #define _type signed long
                   8825: #endif
                   8826:   _type prime, shifted, dividend;
                   8827:   unsigned int shift, divides;
                   8828:   FILE *f;
                   8829: 
                   8830:   f=fopen("conftestval", "w");
                   8831:   if (!f) exit(1);
                   8832: 
                   8833:   /* set value to the largest magnitude negative prime that it
                   8834:      will hold: */
                   8835: #if 8 == 8
                   8836:   prime = -127;
                   8837: #elif 8 == 16
                   8838:   prime = -32749;
                   8839: #elif 8 == 32
                   8840:   prime = -2147483647;
                   8841: #elif 8 == 64
                   8842:   /* this is a crafty way of constructing -9223372036854775783,
                   8843:      which is 0x8000000000000000 - 0x19, without having to know
                   8844:      any compiler suffix for 64-bit literals: */
                   8845:   prime = 1;
                   8846:   prime <<= (8 - 2);
                   8847:   prime = -prime;
                   8848:   prime *= 2;
                   8849:   prime -= 0x19;
                   8850: #else
                   8851: #error "need another prime"
                   8852: #endif
                   8853: 
                   8854:   /* all right shifts from a single bit up to SHIFTMAX_INT8_T
                   8855:      must be arithmetic, otherwise shifts aren't arithmetic: */
                   8856:   for (shift = 1;
                   8857:        shift <= SHIFTMAX_INT8_T;
                   8858:        shift++) {
                   8859:     shifted = prime >> shift;
                   8860:     dividend = prime;
                   8861:     divides = 0;
                   8862:     do {
                   8863:       dividend &= ~((_type) 1); /* guarantee no remainder */
                   8864:       dividend /= 2;
                   8865:     } while (++divides < shift);
                   8866:     if (shifted != dividend) {
                   8867:       break;
                   8868:     }
                   8869:   }
                   8870: 
                   8871:   fprintf(f, "%d\n", (shift > SHIFTMAX_INT8_T ? 1 : 0));
                   8872:   exit(0);
                   8873: }
                   8874: _ACEOF
                   8875: rm -f conftest$ac_exeext
1.1.1.5 ! root     8876: if { (ac_try="$ac_link"
        !          8877: case "(($ac_try" in
        !          8878:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8879:   *) ac_try_echo=$ac_try;;
        !          8880: esac
        !          8881: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8882:   (eval "$ac_link") 2>&5
1.1.1.3   root     8883:   ac_status=$?
                   8884:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8885:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     8886:   { (case "(($ac_try" in
        !          8887:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          8888:   *) ac_try_echo=$ac_try;;
        !          8889: esac
        !          8890: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          8891:   (eval "$ac_try") 2>&5
1.1.1.3   root     8892:   ac_status=$?
                   8893:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8894:   (exit $ac_status); }; }; then
                   8895:   ac_cv_shiftsigned_int8_t=`cat conftestval`
                   8896: else
                   8897:   echo "$as_me: program exited with status $ac_status" >&5
                   8898: echo "$as_me: failed program was:" >&5
                   8899: sed 's/^/| /' conftest.$ac_ext >&5
                   8900: 
                   8901: ( exit $ac_status )
                   8902: ac_cv_shiftsigned_int8_t=0
                   8903: fi
1.1.1.5 ! root     8904: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     8905: fi
1.1.1.5 ! root     8906: 
        !          8907: 
1.1.1.3   root     8908: fi
                   8909: if test $ac_cv_shiftsigned_int8_t = 1; then
1.1.1.5 ! root     8910:   { echo "$as_me:$LINENO: result: yes" >&5
        !          8911: echo "${ECHO_T}yes" >&6; }
1.1.1.3   root     8912: 
                   8913: cat >>confdefs.h <<_ACEOF
                   8914: #define SHIFTSIGNED_INT8_T
                   8915: _ACEOF
                   8916: 
                   8917: else
1.1.1.5 ! root     8918:   { echo "$as_me:$LINENO: result: no" >&5
        !          8919: echo "${ECHO_T}no" >&6; }
1.1.1.3   root     8920: fi
                   8921: 
1.1.1.5 ! root     8922: { echo "$as_me:$LINENO: checking for arithmetic right shifts of int16_t" >&5
        !          8923: echo $ECHO_N "checking for arithmetic right shifts of int16_t... $ECHO_C" >&6; }
1.1.1.3   root     8924: if test "${ac_cv_shiftsigned_int16_t+set}" = set; then
                   8925:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8926: else
                   8927:   if test "$cross_compiling" = yes; then
                   8928:   ac_cv_shiftsigned_int16_t=0
                   8929: else
                   8930:   cat >conftest.$ac_ext <<_ACEOF
                   8931: /* confdefs.h.  */
                   8932: _ACEOF
                   8933: cat confdefs.h >>conftest.$ac_ext
                   8934: cat >>conftest.$ac_ext <<_ACEOF
                   8935: /* end confdefs.h.  */
                   8936: #include <stdio.h>
                   8937: #include <sys/types.h>
                   8938: main()
                   8939: {
                   8940: #if 8 == 16
                   8941: #define _type signed char
                   8942: #elif (SIZEOF_SHORT * 8) == 16
                   8943: #define _type signed short
                   8944: #elif (SIZEOF_INT * 8) == 16
                   8945: #define _type signed int
                   8946: #elif (SIZEOF_LONG * 8) == 16
                   8947: #define _type signed long
                   8948: #endif
                   8949:   _type prime, shifted, dividend;
                   8950:   unsigned int shift, divides;
                   8951:   FILE *f;
                   8952: 
                   8953:   f=fopen("conftestval", "w");
                   8954:   if (!f) exit(1);
                   8955: 
                   8956:   /* set value to the largest magnitude negative prime that it
                   8957:      will hold: */
                   8958: #if 16 == 8
                   8959:   prime = -127;
                   8960: #elif 16 == 16
                   8961:   prime = -32749;
                   8962: #elif 16 == 32
                   8963:   prime = -2147483647;
                   8964: #elif 16 == 64
                   8965:   /* this is a crafty way of constructing -9223372036854775783,
                   8966:      which is 0x8000000000000000 - 0x19, without having to know
                   8967:      any compiler suffix for 64-bit literals: */
                   8968:   prime = 1;
                   8969:   prime <<= (16 - 2);
                   8970:   prime = -prime;
                   8971:   prime *= 2;
                   8972:   prime -= 0x19;
                   8973: #else
                   8974: #error "need another prime"
                   8975: #endif
                   8976: 
                   8977:   /* all right shifts from a single bit up to SHIFTMAX_INT16_T
                   8978:      must be arithmetic, otherwise shifts aren't arithmetic: */
                   8979:   for (shift = 1;
                   8980:        shift <= SHIFTMAX_INT16_T;
                   8981:        shift++) {
                   8982:     shifted = prime >> shift;
                   8983:     dividend = prime;
                   8984:     divides = 0;
                   8985:     do {
                   8986:       dividend &= ~((_type) 1); /* guarantee no remainder */
                   8987:       dividend /= 2;
                   8988:     } while (++divides < shift);
                   8989:     if (shifted != dividend) {
                   8990:       break;
                   8991:     }
                   8992:   }
                   8993: 
                   8994:   fprintf(f, "%d\n", (shift > SHIFTMAX_INT16_T ? 1 : 0));
                   8995:   exit(0);
                   8996: }
                   8997: _ACEOF
                   8998: rm -f conftest$ac_exeext
1.1.1.5 ! root     8999: if { (ac_try="$ac_link"
        !          9000: case "(($ac_try" in
        !          9001:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9002:   *) ac_try_echo=$ac_try;;
        !          9003: esac
        !          9004: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9005:   (eval "$ac_link") 2>&5
1.1.1.3   root     9006:   ac_status=$?
                   9007:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9008:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9009:   { (case "(($ac_try" in
        !          9010:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9011:   *) ac_try_echo=$ac_try;;
        !          9012: esac
        !          9013: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9014:   (eval "$ac_try") 2>&5
1.1.1.3   root     9015:   ac_status=$?
                   9016:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9017:   (exit $ac_status); }; }; then
                   9018:   ac_cv_shiftsigned_int16_t=`cat conftestval`
                   9019: else
                   9020:   echo "$as_me: program exited with status $ac_status" >&5
                   9021: echo "$as_me: failed program was:" >&5
                   9022: sed 's/^/| /' conftest.$ac_ext >&5
                   9023: 
                   9024: ( exit $ac_status )
                   9025: ac_cv_shiftsigned_int16_t=0
                   9026: fi
1.1.1.5 ! root     9027: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     9028: fi
1.1.1.5 ! root     9029: 
        !          9030: 
1.1.1.3   root     9031: fi
                   9032: if test $ac_cv_shiftsigned_int16_t = 1; then
1.1.1.5 ! root     9033:   { echo "$as_me:$LINENO: result: yes" >&5
        !          9034: echo "${ECHO_T}yes" >&6; }
1.1.1.3   root     9035: 
                   9036: cat >>confdefs.h <<_ACEOF
                   9037: #define SHIFTSIGNED_INT16_T
                   9038: _ACEOF
                   9039: 
                   9040: else
1.1.1.5 ! root     9041:   { echo "$as_me:$LINENO: result: no" >&5
        !          9042: echo "${ECHO_T}no" >&6; }
1.1.1.3   root     9043: fi
                   9044: 
1.1.1.5 ! root     9045: { echo "$as_me:$LINENO: checking for arithmetic right shifts of int32_t" >&5
        !          9046: echo $ECHO_N "checking for arithmetic right shifts of int32_t... $ECHO_C" >&6; }
1.1.1.3   root     9047: if test "${ac_cv_shiftsigned_int32_t+set}" = set; then
                   9048:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9049: else
                   9050:   if test "$cross_compiling" = yes; then
                   9051:   ac_cv_shiftsigned_int32_t=0
                   9052: else
                   9053:   cat >conftest.$ac_ext <<_ACEOF
                   9054: /* confdefs.h.  */
                   9055: _ACEOF
                   9056: cat confdefs.h >>conftest.$ac_ext
                   9057: cat >>conftest.$ac_ext <<_ACEOF
                   9058: /* end confdefs.h.  */
                   9059: #include <stdio.h>
                   9060: #include <sys/types.h>
                   9061: main()
                   9062: {
                   9063: #if 8 == 32
                   9064: #define _type signed char
                   9065: #elif (SIZEOF_SHORT * 8) == 32
                   9066: #define _type signed short
                   9067: #elif (SIZEOF_INT * 8) == 32
                   9068: #define _type signed int
                   9069: #elif (SIZEOF_LONG * 8) == 32
                   9070: #define _type signed long
                   9071: #endif
                   9072:   _type prime, shifted, dividend;
                   9073:   unsigned int shift, divides;
                   9074:   FILE *f;
                   9075: 
                   9076:   f=fopen("conftestval", "w");
                   9077:   if (!f) exit(1);
                   9078: 
                   9079:   /* set value to the largest magnitude negative prime that it
                   9080:      will hold: */
                   9081: #if 32 == 8
                   9082:   prime = -127;
                   9083: #elif 32 == 16
                   9084:   prime = -32749;
                   9085: #elif 32 == 32
                   9086:   prime = -2147483647;
                   9087: #elif 32 == 64
                   9088:   /* this is a crafty way of constructing -9223372036854775783,
                   9089:      which is 0x8000000000000000 - 0x19, without having to know
                   9090:      any compiler suffix for 64-bit literals: */
                   9091:   prime = 1;
                   9092:   prime <<= (32 - 2);
                   9093:   prime = -prime;
                   9094:   prime *= 2;
                   9095:   prime -= 0x19;
                   9096: #else
                   9097: #error "need another prime"
                   9098: #endif
                   9099: 
                   9100:   /* all right shifts from a single bit up to SHIFTMAX_INT32_T
                   9101:      must be arithmetic, otherwise shifts aren't arithmetic: */
                   9102:   for (shift = 1;
                   9103:        shift <= SHIFTMAX_INT32_T;
                   9104:        shift++) {
                   9105:     shifted = prime >> shift;
                   9106:     dividend = prime;
                   9107:     divides = 0;
                   9108:     do {
                   9109:       dividend &= ~((_type) 1); /* guarantee no remainder */
                   9110:       dividend /= 2;
                   9111:     } while (++divides < shift);
                   9112:     if (shifted != dividend) {
                   9113:       break;
                   9114:     }
                   9115:   }
                   9116: 
                   9117:   fprintf(f, "%d\n", (shift > SHIFTMAX_INT32_T ? 1 : 0));
                   9118:   exit(0);
                   9119: }
                   9120: _ACEOF
                   9121: rm -f conftest$ac_exeext
1.1.1.5 ! root     9122: if { (ac_try="$ac_link"
        !          9123: case "(($ac_try" in
        !          9124:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9125:   *) ac_try_echo=$ac_try;;
        !          9126: esac
        !          9127: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9128:   (eval "$ac_link") 2>&5
1.1.1.3   root     9129:   ac_status=$?
                   9130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9131:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9132:   { (case "(($ac_try" in
        !          9133:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9134:   *) ac_try_echo=$ac_try;;
        !          9135: esac
        !          9136: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9137:   (eval "$ac_try") 2>&5
1.1.1.3   root     9138:   ac_status=$?
                   9139:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9140:   (exit $ac_status); }; }; then
                   9141:   ac_cv_shiftsigned_int32_t=`cat conftestval`
                   9142: else
                   9143:   echo "$as_me: program exited with status $ac_status" >&5
                   9144: echo "$as_me: failed program was:" >&5
                   9145: sed 's/^/| /' conftest.$ac_ext >&5
                   9146: 
                   9147: ( exit $ac_status )
                   9148: ac_cv_shiftsigned_int32_t=0
                   9149: fi
1.1.1.5 ! root     9150: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     9151: fi
1.1.1.5 ! root     9152: 
        !          9153: 
1.1.1.3   root     9154: fi
                   9155: if test $ac_cv_shiftsigned_int32_t = 1; then
1.1.1.5 ! root     9156:   { echo "$as_me:$LINENO: result: yes" >&5
        !          9157: echo "${ECHO_T}yes" >&6; }
1.1.1.3   root     9158: 
                   9159: cat >>confdefs.h <<_ACEOF
                   9160: #define SHIFTSIGNED_INT32_T
                   9161: _ACEOF
                   9162: 
                   9163: else
1.1.1.5 ! root     9164:   { echo "$as_me:$LINENO: result: no" >&5
        !          9165: echo "${ECHO_T}no" >&6; }
1.1.1.3   root     9166: fi
                   9167: 
1.1.1.5 ! root     9168: { echo "$as_me:$LINENO: checking the floating point format of float" >&5
        !          9169: echo $ECHO_N "checking the floating point format of float... $ECHO_C" >&6; }
1.1.1.3   root     9170: if test "${ac_cv_float_format_float+set}" = set; then
                   9171:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9172: else
                   9173:   if test "$cross_compiling" = yes; then
                   9174:   ac_cv_float_format_float=NATIVE
                   9175: else
                   9176:   cat >conftest.$ac_ext <<_ACEOF
                   9177: /* confdefs.h.  */
                   9178: _ACEOF
                   9179: cat confdefs.h >>conftest.$ac_ext
                   9180: cat >>conftest.$ac_ext <<_ACEOF
                   9181: /* end confdefs.h.  */
                   9182: #include <stdio.h>
                   9183: #include <sys/types.h>
                   9184: main()
                   9185: {
                   9186:   float value;
                   9187:   unsigned short value_buffer[16];
                   9188: #ifdef WORDS_BIGENDIAN
                   9189: #define UINT16_PART(v, i) (value_buffer[(sizeof(v) / sizeof(value_buffer[0])) - ((i) + 1)])
                   9190: #else
                   9191: #define UINT16_PART(v, i) (value_buffer[(i)])
                   9192: #endif
                   9193: 
                   9194:   FILE *f=fopen("conftestval", "w");
                   9195:   if (!f) exit(1);
                   9196: 
                   9197:   /* see if this type is IEEE754 single precision: */
                   9198:   value = 3.4793309169e-05;
                   9199:   memcpy(value_buffer, &value, sizeof(value));
                   9200:   if (sizeof(value) == 4
                   9201:       && UINT16_PART(value, 1) == 0x3811
                   9202:       && UINT16_PART(value, 0) == 0xef08) {
                   9203:     fprintf(f, "IEEE754_SINGLE\n");
                   9204:     exit (0);
                   9205:   }
                   9206: 
                   9207:   /* see if this type is IEEE754 double precision: */
                   9208:   value = 7.91534994289814532176e-04;
                   9209:   memcpy(value_buffer, &value, sizeof(value));
                   9210:   if (sizeof(value) == 8
                   9211:       && UINT16_PART(value, 3) == 0x3f49
                   9212:       && UINT16_PART(value, 2) == 0xefe0
                   9213:       && UINT16_PART(value, 1) == 0x7501
                   9214:       && UINT16_PART(value, 0) == 0xb288) {
                   9215:     fprintf(f, "IEEE754_DOUBLE\n");
                   9216:     exit (0);
                   9217:   }
                   9218: 
                   9219:   /* see if this type might be IEEE754 extended 80-bit precision: */
                   9220:   value = 1.1356523406294143949491931077970765006170e+04;
                   9221:   memcpy(value_buffer, &value, sizeof(value));
                   9222:   if (sizeof(value) >= 12
                   9223:       && UINT16_PART(value, 0) == 0x7800
                   9224:       && UINT16_PART(value, 1) == 0xd1cf
                   9225:       && UINT16_PART(value, 2) == 0x17f7
                   9226:       && UINT16_PART(value, 3) == 0xb172) {
                   9227: 
                   9228:     /* check for i387-style IEEE754 extended precision: */
                   9229:     if (sizeof(value) == 12
                   9230:        && UINT16_PART(value, 4) == 0x400c) {
                   9231:       fprintf(f, "IEEE754_EXTENDED80_I387\n");
                   9232:       exit (0);
                   9233:     }
                   9234: 
                   9235:     /* check for m68881-style IEEE754 extended precision: */
                   9236:     if (sizeof(value) == 12
                   9237:        && UINT16_PART(value, 5) == 0x400c) {
                   9238:       fprintf(f, "IEEE754_EXTENDED80_M68881\n");
                   9239:       exit (0);
1.1       root     9240:     }
                   9241:   }
1.1.1.3   root     9242: 
                   9243:   /* otherwise, this is some native type: */
                   9244:   fprintf(f, "NATIVE\n");
                   9245:   exit (0);
1.1       root     9246: }
                   9247: _ACEOF
                   9248: rm -f conftest$ac_exeext
1.1.1.5 ! root     9249: if { (ac_try="$ac_link"
        !          9250: case "(($ac_try" in
        !          9251:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9252:   *) ac_try_echo=$ac_try;;
        !          9253: esac
        !          9254: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9255:   (eval "$ac_link") 2>&5
1.1       root     9256:   ac_status=$?
                   9257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9258:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9259:   { (case "(($ac_try" in
        !          9260:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9261:   *) ac_try_echo=$ac_try;;
        !          9262: esac
        !          9263: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9264:   (eval "$ac_try") 2>&5
1.1       root     9265:   ac_status=$?
                   9266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9267:   (exit $ac_status); }; }; then
1.1.1.3   root     9268:   ac_cv_float_format_float=`cat conftestval`
1.1       root     9269: else
                   9270:   echo "$as_me: program exited with status $ac_status" >&5
                   9271: echo "$as_me: failed program was:" >&5
                   9272: sed 's/^/| /' conftest.$ac_ext >&5
                   9273: 
                   9274: ( exit $ac_status )
1.1.1.3   root     9275: ac_cv_float_format_float=NATIVE
1.1       root     9276: fi
1.1.1.5 ! root     9277: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     9278: fi
1.1.1.5 ! root     9279: 
        !          9280: 
1.1       root     9281: fi
1.1.1.5 ! root     9282: { echo "$as_me:$LINENO: result: $ac_cv_float_format_float" >&5
        !          9283: echo "${ECHO_T}$ac_cv_float_format_float" >&6; }
1.1.1.3   root     9284: if test $ac_cv_float_format_float != NATIVE; then
1.1       root     9285: 
                   9286: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     9287: #define FLOAT_FORMAT_FLOAT $ac_cv_float_format_float
1.1       root     9288: _ACEOF
                   9289: 
1.1.1.3   root     9290: fi
1.1       root     9291: 
1.1.1.5 ! root     9292: { echo "$as_me:$LINENO: checking the limits of float" >&5
        !          9293: echo $ECHO_N "checking the limits of float... $ECHO_C" >&6; }
1.1.1.3   root     9294: if test "${ac_cv_float_limits_float+set}" = set; then
                   9295:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9296: else
                   9297:   for limits in FLT_MAX/FLT_MIN; do
                   9298:   max=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9299:   min=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
                   9300:   cat >conftest.$ac_ext <<_ACEOF
                   9301: /* confdefs.h.  */
                   9302: _ACEOF
                   9303: cat confdefs.h >>conftest.$ac_ext
                   9304: cat >>conftest.$ac_ext <<_ACEOF
                   9305: /* end confdefs.h.  */
                   9306: #include <sys/types.h>
                   9307: #ifdef HAVE_FLOAT_H
                   9308: #include <float.h>
                   9309: #endif
                   9310: #ifdef HAVE_LIMITS_H
                   9311: #include <limits.h>
                   9312: #endif
                   9313: int
                   9314: main ()
                   9315: {
                   9316:  float x; x = $max - $min;
                   9317:   ;
                   9318:   return 0;
                   9319: }
                   9320: _ACEOF
                   9321: rm -f conftest.$ac_objext
1.1.1.5 ! root     9322: if { (ac_try="$ac_compile"
        !          9323: case "(($ac_try" in
        !          9324:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9325:   *) ac_try_echo=$ac_try;;
        !          9326: esac
        !          9327: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9328:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     9329:   ac_status=$?
1.1.1.5 ! root     9330:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9331:   rm -f conftest.er1
        !          9332:   cat conftest.err >&5
1.1.1.3   root     9333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     9334:   (exit $ac_status); } && {
        !          9335:         test -z "$ac_c_werror_flag" ||
        !          9336:         test ! -s conftest.err
        !          9337:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     9338:   ac_cv_float_limits_float=$limits ; break
                   9339: else
                   9340:   echo "$as_me: failed program was:" >&5
                   9341: sed 's/^/| /' conftest.$ac_ext >&5
                   9342: 
1.1.1.5 ! root     9343:        ac_cv_float_limits_float=
1.1.1.3   root     9344: fi
1.1.1.5 ! root     9345: 
        !          9346: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     9347: done
                   9348: fi
                   9349: 
                   9350: if test "x$ac_cv_float_limits_float" = x; then
                   9351:   { { echo "$as_me:$LINENO: error: can't determine the limits of float" >&5
                   9352: echo "$as_me: error: can't determine the limits of float" >&2;}
                   9353:    { (exit 1); exit 1; }; }
                   9354: fi
1.1.1.5 ! root     9355: { echo "$as_me:$LINENO: result: $ac_cv_float_limits_float" >&5
        !          9356: echo "${ECHO_T}$ac_cv_float_limits_float" >&6; }
1.1.1.3   root     9357: max=`echo $ac_cv_float_limits_float | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9358: min=`echo $ac_cv_float_limits_float | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
                   9359: 
                   9360: cat >>confdefs.h <<_ACEOF
                   9361: #define FLOAT_MAX_FLOAT ($max)
                   9362: _ACEOF
                   9363: 
                   9364: 
                   9365: cat >>confdefs.h <<_ACEOF
                   9366: #define FLOAT_MIN_FLOAT ($min)
                   9367: _ACEOF
                   9368: 
                   9369: 
1.1.1.5 ! root     9370: { echo "$as_me:$LINENO: checking the floating point format of double" >&5
        !          9371: echo $ECHO_N "checking the floating point format of double... $ECHO_C" >&6; }
1.1.1.3   root     9372: if test "${ac_cv_float_format_double+set}" = set; then
1.1       root     9373:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9374: else
                   9375:   if test "$cross_compiling" = yes; then
1.1.1.3   root     9376:   ac_cv_float_format_double=NATIVE
1.1       root     9377: else
                   9378:   cat >conftest.$ac_ext <<_ACEOF
                   9379: /* confdefs.h.  */
                   9380: _ACEOF
                   9381: cat confdefs.h >>conftest.$ac_ext
                   9382: cat >>conftest.$ac_ext <<_ACEOF
                   9383: /* end confdefs.h.  */
                   9384: #include <stdio.h>
                   9385: #include <sys/types.h>
                   9386: main()
                   9387: {
1.1.1.3   root     9388:   double value;
                   9389:   unsigned short value_buffer[16];
                   9390: #ifdef WORDS_BIGENDIAN
                   9391: #define UINT16_PART(v, i) (value_buffer[(sizeof(v) / sizeof(value_buffer[0])) - ((i) + 1)])
                   9392: #else
                   9393: #define UINT16_PART(v, i) (value_buffer[(i)])
1.1       root     9394: #endif
1.1.1.3   root     9395: 
1.1       root     9396:   FILE *f=fopen("conftestval", "w");
                   9397:   if (!f) exit(1);
1.1.1.3   root     9398: 
                   9399:   /* see if this type is IEEE754 single precision: */
                   9400:   value = 3.4793309169e-05;
                   9401:   memcpy(value_buffer, &value, sizeof(value));
                   9402:   if (sizeof(value) == 4
                   9403:       && UINT16_PART(value, 1) == 0x3811
                   9404:       && UINT16_PART(value, 0) == 0xef08) {
                   9405:     fprintf(f, "IEEE754_SINGLE\n");
                   9406:     exit (0);
                   9407:   }
                   9408: 
                   9409:   /* see if this type is IEEE754 double precision: */
                   9410:   value = 7.91534994289814532176e-04;
                   9411:   memcpy(value_buffer, &value, sizeof(value));
                   9412:   if (sizeof(value) == 8
                   9413:       && UINT16_PART(value, 3) == 0x3f49
                   9414:       && UINT16_PART(value, 2) == 0xefe0
                   9415:       && UINT16_PART(value, 1) == 0x7501
                   9416:       && UINT16_PART(value, 0) == 0xb288) {
                   9417:     fprintf(f, "IEEE754_DOUBLE\n");
                   9418:     exit (0);
                   9419:   }
                   9420: 
                   9421:   /* see if this type might be IEEE754 extended 80-bit precision: */
                   9422:   value = 1.1356523406294143949491931077970765006170e+04;
                   9423:   memcpy(value_buffer, &value, sizeof(value));
                   9424:   if (sizeof(value) >= 12
                   9425:       && UINT16_PART(value, 0) == 0x7800
                   9426:       && UINT16_PART(value, 1) == 0xd1cf
                   9427:       && UINT16_PART(value, 2) == 0x17f7
                   9428:       && UINT16_PART(value, 3) == 0xb172) {
                   9429: 
                   9430:     /* check for i387-style IEEE754 extended precision: */
                   9431:     if (sizeof(value) == 12
                   9432:        && UINT16_PART(value, 4) == 0x400c) {
                   9433:       fprintf(f, "IEEE754_EXTENDED80_I387\n");
                   9434:       exit (0);
                   9435:     }
                   9436: 
                   9437:     /* check for m68881-style IEEE754 extended precision: */
                   9438:     if (sizeof(value) == 12
                   9439:        && UINT16_PART(value, 5) == 0x400c) {
                   9440:       fprintf(f, "IEEE754_EXTENDED80_M68881\n");
                   9441:       exit (0);
1.1       root     9442:     }
                   9443:   }
1.1.1.3   root     9444: 
                   9445:   /* otherwise, this is some native type: */
                   9446:   fprintf(f, "NATIVE\n");
                   9447:   exit (0);
1.1       root     9448: }
                   9449: _ACEOF
                   9450: rm -f conftest$ac_exeext
1.1.1.5 ! root     9451: if { (ac_try="$ac_link"
        !          9452: case "(($ac_try" in
        !          9453:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9454:   *) ac_try_echo=$ac_try;;
        !          9455: esac
        !          9456: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9457:   (eval "$ac_link") 2>&5
1.1       root     9458:   ac_status=$?
                   9459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9460:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9461:   { (case "(($ac_try" in
        !          9462:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9463:   *) ac_try_echo=$ac_try;;
        !          9464: esac
        !          9465: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9466:   (eval "$ac_try") 2>&5
1.1       root     9467:   ac_status=$?
                   9468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9469:   (exit $ac_status); }; }; then
1.1.1.3   root     9470:   ac_cv_float_format_double=`cat conftestval`
1.1       root     9471: else
                   9472:   echo "$as_me: program exited with status $ac_status" >&5
                   9473: echo "$as_me: failed program was:" >&5
                   9474: sed 's/^/| /' conftest.$ac_ext >&5
                   9475: 
                   9476: ( exit $ac_status )
1.1.1.3   root     9477: ac_cv_float_format_double=NATIVE
1.1       root     9478: fi
1.1.1.5 ! root     9479: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     9480: fi
1.1.1.5 ! root     9481: 
        !          9482: 
1.1       root     9483: fi
1.1.1.5 ! root     9484: { echo "$as_me:$LINENO: result: $ac_cv_float_format_double" >&5
        !          9485: echo "${ECHO_T}$ac_cv_float_format_double" >&6; }
1.1.1.3   root     9486: if test $ac_cv_float_format_double != NATIVE; then
1.1       root     9487: 
                   9488: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     9489: #define FLOAT_FORMAT_DOUBLE $ac_cv_float_format_double
1.1       root     9490: _ACEOF
                   9491: 
1.1.1.3   root     9492: fi
1.1       root     9493: 
1.1.1.5 ! root     9494: { echo "$as_me:$LINENO: checking the limits of double" >&5
        !          9495: echo $ECHO_N "checking the limits of double... $ECHO_C" >&6; }
1.1.1.3   root     9496: if test "${ac_cv_float_limits_double+set}" = set; then
                   9497:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9498: else
                   9499:   for limits in DBL_MAX/DBL_MIN; do
                   9500:   max=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9501:   min=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
                   9502:   cat >conftest.$ac_ext <<_ACEOF
                   9503: /* confdefs.h.  */
                   9504: _ACEOF
                   9505: cat confdefs.h >>conftest.$ac_ext
                   9506: cat >>conftest.$ac_ext <<_ACEOF
                   9507: /* end confdefs.h.  */
                   9508: #include <sys/types.h>
                   9509: #ifdef HAVE_FLOAT_H
                   9510: #include <float.h>
                   9511: #endif
                   9512: #ifdef HAVE_LIMITS_H
                   9513: #include <limits.h>
                   9514: #endif
                   9515: int
                   9516: main ()
                   9517: {
                   9518:  double x; x = $max - $min;
                   9519:   ;
                   9520:   return 0;
                   9521: }
                   9522: _ACEOF
                   9523: rm -f conftest.$ac_objext
1.1.1.5 ! root     9524: if { (ac_try="$ac_compile"
        !          9525: case "(($ac_try" in
        !          9526:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9527:   *) ac_try_echo=$ac_try;;
        !          9528: esac
        !          9529: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9530:   (eval "$ac_compile") 2>conftest.er1
1.1.1.3   root     9531:   ac_status=$?
1.1.1.5 ! root     9532:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9533:   rm -f conftest.er1
        !          9534:   cat conftest.err >&5
1.1.1.3   root     9535:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     9536:   (exit $ac_status); } && {
        !          9537:         test -z "$ac_c_werror_flag" ||
        !          9538:         test ! -s conftest.err
        !          9539:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     9540:   ac_cv_float_limits_double=$limits ; break
                   9541: else
                   9542:   echo "$as_me: failed program was:" >&5
                   9543: sed 's/^/| /' conftest.$ac_ext >&5
                   9544: 
1.1.1.5 ! root     9545:        ac_cv_float_limits_double=
1.1.1.3   root     9546: fi
1.1.1.5 ! root     9547: 
        !          9548: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     9549: done
                   9550: fi
                   9551: 
                   9552: if test "x$ac_cv_float_limits_double" = x; then
                   9553:   { { echo "$as_me:$LINENO: error: can't determine the limits of double" >&5
                   9554: echo "$as_me: error: can't determine the limits of double" >&2;}
                   9555:    { (exit 1); exit 1; }; }
                   9556: fi
1.1.1.5 ! root     9557: { echo "$as_me:$LINENO: result: $ac_cv_float_limits_double" >&5
        !          9558: echo "${ECHO_T}$ac_cv_float_limits_double" >&6; }
1.1.1.3   root     9559: max=`echo $ac_cv_float_limits_double | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9560: min=`echo $ac_cv_float_limits_double | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
                   9561: 
                   9562: cat >>confdefs.h <<_ACEOF
                   9563: #define FLOAT_MAX_DOUBLE ($max)
                   9564: _ACEOF
                   9565: 
                   9566: 
                   9567: cat >>confdefs.h <<_ACEOF
                   9568: #define FLOAT_MIN_DOUBLE ($min)
                   9569: _ACEOF
                   9570: 
                   9571: 
                   9572: if test $ac_cv_c_long_double = yes; then
1.1.1.5 ! root     9573:   { echo "$as_me:$LINENO: checking the floating point format of long double" >&5
        !          9574: echo $ECHO_N "checking the floating point format of long double... $ECHO_C" >&6; }
1.1.1.3   root     9575: if test "${ac_cv_float_format_long_double+set}" = set; then
1.1       root     9576:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9577: else
                   9578:   if test "$cross_compiling" = yes; then
1.1.1.3   root     9579:   ac_cv_float_format_long_double=NATIVE
1.1       root     9580: else
                   9581:   cat >conftest.$ac_ext <<_ACEOF
                   9582: /* confdefs.h.  */
                   9583: _ACEOF
                   9584: cat confdefs.h >>conftest.$ac_ext
                   9585: cat >>conftest.$ac_ext <<_ACEOF
                   9586: /* end confdefs.h.  */
                   9587: #include <stdio.h>
                   9588: #include <sys/types.h>
                   9589: main()
                   9590: {
1.1.1.3   root     9591:   long double value;
                   9592:   unsigned short value_buffer[16];
                   9593: #ifdef WORDS_BIGENDIAN
                   9594: #define UINT16_PART(v, i) (value_buffer[(sizeof(v) / sizeof(value_buffer[0])) - ((i) + 1)])
                   9595: #else
                   9596: #define UINT16_PART(v, i) (value_buffer[(i)])
1.1       root     9597: #endif
1.1.1.3   root     9598: 
1.1       root     9599:   FILE *f=fopen("conftestval", "w");
                   9600:   if (!f) exit(1);
1.1.1.3   root     9601: 
                   9602:   /* see if this type is IEEE754 single precision: */
                   9603:   value = 3.4793309169e-05;
                   9604:   memcpy(value_buffer, &value, sizeof(value));
                   9605:   if (sizeof(value) == 4
                   9606:       && UINT16_PART(value, 1) == 0x3811
                   9607:       && UINT16_PART(value, 0) == 0xef08) {
                   9608:     fprintf(f, "IEEE754_SINGLE\n");
                   9609:     exit (0);
                   9610:   }
                   9611: 
                   9612:   /* see if this type is IEEE754 double precision: */
                   9613:   value = 7.91534994289814532176e-04;
                   9614:   memcpy(value_buffer, &value, sizeof(value));
                   9615:   if (sizeof(value) == 8
                   9616:       && UINT16_PART(value, 3) == 0x3f49
                   9617:       && UINT16_PART(value, 2) == 0xefe0
                   9618:       && UINT16_PART(value, 1) == 0x7501
                   9619:       && UINT16_PART(value, 0) == 0xb288) {
                   9620:     fprintf(f, "IEEE754_DOUBLE\n");
                   9621:     exit (0);
                   9622:   }
                   9623: 
                   9624:   /* see if this type might be IEEE754 extended 80-bit precision: */
                   9625:   value = 1.1356523406294143949491931077970765006170e+04;
                   9626:   memcpy(value_buffer, &value, sizeof(value));
                   9627:   if (sizeof(value) >= 12
                   9628:       && UINT16_PART(value, 0) == 0x7800
                   9629:       && UINT16_PART(value, 1) == 0xd1cf
                   9630:       && UINT16_PART(value, 2) == 0x17f7
                   9631:       && UINT16_PART(value, 3) == 0xb172) {
                   9632: 
                   9633:     /* check for i387-style IEEE754 extended precision: */
                   9634:     if (sizeof(value) == 12
                   9635:        && UINT16_PART(value, 4) == 0x400c) {
                   9636:       fprintf(f, "IEEE754_EXTENDED80_I387\n");
                   9637:       exit (0);
                   9638:     }
                   9639: 
                   9640:     /* check for m68881-style IEEE754 extended precision: */
                   9641:     if (sizeof(value) == 12
                   9642:        && UINT16_PART(value, 5) == 0x400c) {
                   9643:       fprintf(f, "IEEE754_EXTENDED80_M68881\n");
                   9644:       exit (0);
1.1       root     9645:     }
                   9646:   }
1.1.1.3   root     9647: 
                   9648:   /* otherwise, this is some native type: */
                   9649:   fprintf(f, "NATIVE\n");
                   9650:   exit (0);
1.1       root     9651: }
                   9652: _ACEOF
                   9653: rm -f conftest$ac_exeext
1.1.1.5 ! root     9654: if { (ac_try="$ac_link"
        !          9655: case "(($ac_try" in
        !          9656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9657:   *) ac_try_echo=$ac_try;;
        !          9658: esac
        !          9659: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9660:   (eval "$ac_link") 2>&5
1.1       root     9661:   ac_status=$?
                   9662:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9663:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9664:   { (case "(($ac_try" in
        !          9665:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9666:   *) ac_try_echo=$ac_try;;
        !          9667: esac
        !          9668: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9669:   (eval "$ac_try") 2>&5
1.1       root     9670:   ac_status=$?
                   9671:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9672:   (exit $ac_status); }; }; then
1.1.1.3   root     9673:   ac_cv_float_format_long_double=`cat conftestval`
1.1       root     9674: else
                   9675:   echo "$as_me: program exited with status $ac_status" >&5
                   9676: echo "$as_me: failed program was:" >&5
                   9677: sed 's/^/| /' conftest.$ac_ext >&5
                   9678: 
                   9679: ( exit $ac_status )
1.1.1.3   root     9680: ac_cv_float_format_long_double=NATIVE
1.1       root     9681: fi
1.1.1.5 ! root     9682: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     9683: fi
1.1.1.5 ! root     9684: 
        !          9685: 
1.1       root     9686: fi
1.1.1.5 ! root     9687: { echo "$as_me:$LINENO: result: $ac_cv_float_format_long_double" >&5
        !          9688: echo "${ECHO_T}$ac_cv_float_format_long_double" >&6; }
1.1.1.3   root     9689: if test $ac_cv_float_format_long_double != NATIVE; then
1.1       root     9690: 
                   9691: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     9692: #define FLOAT_FORMAT_LONG_DOUBLE $ac_cv_float_format_long_double
1.1       root     9693: _ACEOF
                   9694: 
1.1.1.3   root     9695: fi
1.1       root     9696: 
1.1.1.5 ! root     9697:   { echo "$as_me:$LINENO: checking the limits of long double" >&5
        !          9698: echo $ECHO_N "checking the limits of long double... $ECHO_C" >&6; }
1.1.1.3   root     9699: if test "${ac_cv_float_limits_long_double+set}" = set; then
1.1       root     9700:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9701: else
1.1.1.3   root     9702:   for limits in LDBL_MAX/LDBL_MIN; do
                   9703:   max=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9704:   min=`echo $limits | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
1.1       root     9705:   cat >conftest.$ac_ext <<_ACEOF
                   9706: /* confdefs.h.  */
                   9707: _ACEOF
                   9708: cat confdefs.h >>conftest.$ac_ext
                   9709: cat >>conftest.$ac_ext <<_ACEOF
                   9710: /* end confdefs.h.  */
                   9711: #include <sys/types.h>
1.1.1.3   root     9712: #ifdef HAVE_FLOAT_H
                   9713: #include <float.h>
1.1       root     9714: #endif
1.1.1.3   root     9715: #ifdef HAVE_LIMITS_H
                   9716: #include <limits.h>
                   9717: #endif
                   9718: int
                   9719: main ()
                   9720: {
                   9721:  long double x; x = $max - $min;
                   9722:   ;
                   9723:   return 0;
1.1       root     9724: }
                   9725: _ACEOF
1.1.1.3   root     9726: rm -f conftest.$ac_objext
1.1.1.5 ! root     9727: if { (ac_try="$ac_compile"
        !          9728: case "(($ac_try" in
        !          9729:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9730:   *) ac_try_echo=$ac_try;;
        !          9731: esac
        !          9732: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9733:   (eval "$ac_compile") 2>conftest.er1
1.1       root     9734:   ac_status=$?
1.1.1.5 ! root     9735:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9736:   rm -f conftest.er1
        !          9737:   cat conftest.err >&5
1.1       root     9738:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     9739:   (exit $ac_status); } && {
        !          9740:         test -z "$ac_c_werror_flag" ||
        !          9741:         test ! -s conftest.err
        !          9742:        } && test -s conftest.$ac_objext; then
1.1.1.3   root     9743:   ac_cv_float_limits_long_double=$limits ; break
1.1       root     9744: else
1.1.1.3   root     9745:   echo "$as_me: failed program was:" >&5
1.1       root     9746: sed 's/^/| /' conftest.$ac_ext >&5
                   9747: 
1.1.1.5 ! root     9748:        ac_cv_float_limits_long_double=
1.1       root     9749: fi
1.1.1.5 ! root     9750: 
        !          9751: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     9752: done
1.1       root     9753: fi
1.1.1.3   root     9754: 
                   9755: if test "x$ac_cv_float_limits_long_double" = x; then
                   9756:   { { echo "$as_me:$LINENO: error: can't determine the limits of long double" >&5
                   9757: echo "$as_me: error: can't determine the limits of long double" >&2;}
                   9758:    { (exit 1); exit 1; }; }
1.1       root     9759: fi
1.1.1.5 ! root     9760: { echo "$as_me:$LINENO: result: $ac_cv_float_limits_long_double" >&5
        !          9761: echo "${ECHO_T}$ac_cv_float_limits_long_double" >&6; }
1.1.1.3   root     9762: max=`echo $ac_cv_float_limits_long_double | sed -e 's%^\(.*\)/\(.*\)$%\1%'`
                   9763: min=`echo $ac_cv_float_limits_long_double | sed -e 's%^\(.*\)/\(.*\)$%\2%'`
1.1       root     9764: 
                   9765: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     9766: #define FLOAT_MAX_LONG_DOUBLE ($max)
                   9767: _ACEOF
                   9768: 
                   9769: 
                   9770: cat >>confdefs.h <<_ACEOF
                   9771: #define FLOAT_MIN_LONG_DOUBLE ($min)
1.1       root     9772: _ACEOF
                   9773: 
                   9774: 
1.1.1.3   root     9775: fi
1.1.1.5 ! root     9776: { echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
        !          9777: echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6; }
1.1       root     9778: if test "${ac_cv_sys_sockaddr_sa_len+set}" = set; then
                   9779:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9780: else
                   9781:   cat >conftest.$ac_ext <<_ACEOF
                   9782: /* confdefs.h.  */
                   9783: _ACEOF
                   9784: cat confdefs.h >>conftest.$ac_ext
                   9785: cat >>conftest.$ac_ext <<_ACEOF
                   9786: /* end confdefs.h.  */
                   9787: 
                   9788: #include <sys/types.h>
                   9789: #include <sys/socket.h>
                   9790: 
                   9791: int
                   9792: main ()
                   9793: {
                   9794: 
                   9795: int length;
                   9796: struct sockaddr sock;
                   9797: length = sock.sa_len;
                   9798: 
                   9799:   ;
                   9800:   return 0;
                   9801: }
                   9802: _ACEOF
                   9803: rm -f conftest.$ac_objext
1.1.1.5 ! root     9804: if { (ac_try="$ac_compile"
        !          9805: case "(($ac_try" in
        !          9806:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9807:   *) ac_try_echo=$ac_try;;
        !          9808: esac
        !          9809: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9810:   (eval "$ac_compile") 2>conftest.er1
1.1       root     9811:   ac_status=$?
1.1.1.5 ! root     9812:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9813:   rm -f conftest.er1
        !          9814:   cat conftest.err >&5
1.1       root     9815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     9816:   (exit $ac_status); } && {
        !          9817:         test -z "$ac_c_werror_flag" ||
        !          9818:         test ! -s conftest.err
        !          9819:        } && test -s conftest.$ac_objext; then
1.1       root     9820:   ac_cv_sys_sockaddr_sa_len=yes
                   9821: else
                   9822:   echo "$as_me: failed program was:" >&5
                   9823: sed 's/^/| /' conftest.$ac_ext >&5
                   9824: 
1.1.1.5 ! root     9825:        ac_cv_sys_sockaddr_sa_len=no
1.1       root     9826: fi
1.1.1.5 ! root     9827: 
        !          9828: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     9829: fi
                   9830: if test $ac_cv_sys_sockaddr_sa_len = yes; then
1.1.1.5 ! root     9831:   { echo "$as_me:$LINENO: result: yes" >&5
        !          9832: echo "${ECHO_T}yes" >&6; }
1.1       root     9833: 
                   9834: cat >>confdefs.h <<_ACEOF
                   9835: #define HAVE_SOCKADDR_SA_LEN
                   9836: _ACEOF
                   9837: 
                   9838: else
1.1.1.5 ! root     9839:   { echo "$as_me:$LINENO: result: no" >&5
        !          9840: echo "${ECHO_T}no" >&6; }
1.1       root     9841: fi
                   9842: 
                   9843: 
                   9844: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.5 ! root     9845:     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
        !          9846: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
1.1       root     9847: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
                   9848:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9849: else
                   9850:     ac_pattern="Autoconf.*'x'"
                   9851:   cat >conftest.$ac_ext <<_ACEOF
                   9852: /* confdefs.h.  */
                   9853: _ACEOF
                   9854: cat confdefs.h >>conftest.$ac_ext
                   9855: cat >>conftest.$ac_ext <<_ACEOF
                   9856: /* end confdefs.h.  */
                   9857: #include <sgtty.h>
                   9858: Autoconf TIOCGETP
                   9859: _ACEOF
                   9860: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   9861:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
                   9862:   ac_cv_prog_gcc_traditional=yes
                   9863: else
                   9864:   ac_cv_prog_gcc_traditional=no
                   9865: fi
                   9866: rm -f conftest*
                   9867: 
                   9868: 
                   9869:   if test $ac_cv_prog_gcc_traditional = no; then
                   9870:     cat >conftest.$ac_ext <<_ACEOF
                   9871: /* confdefs.h.  */
                   9872: _ACEOF
                   9873: cat confdefs.h >>conftest.$ac_ext
                   9874: cat >>conftest.$ac_ext <<_ACEOF
                   9875: /* end confdefs.h.  */
                   9876: #include <termio.h>
                   9877: Autoconf TCGETA
                   9878: _ACEOF
                   9879: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   9880:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
                   9881:   ac_cv_prog_gcc_traditional=yes
                   9882: fi
                   9883: rm -f conftest*
                   9884: 
                   9885:   fi
                   9886: fi
1.1.1.5 ! root     9887: { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
        !          9888: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
1.1       root     9889:   if test $ac_cv_prog_gcc_traditional = yes; then
                   9890:     CC="$CC -traditional"
                   9891:   fi
                   9892: fi
                   9893: 
1.1.1.5 ! root     9894: { echo "$as_me:$LINENO: checking for working memcmp" >&5
        !          9895: echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
1.1       root     9896: if test "${ac_cv_func_memcmp_working+set}" = set; then
                   9897:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9898: else
                   9899:   if test "$cross_compiling" = yes; then
                   9900:   ac_cv_func_memcmp_working=no
                   9901: else
                   9902:   cat >conftest.$ac_ext <<_ACEOF
                   9903: /* confdefs.h.  */
                   9904: _ACEOF
                   9905: cat confdefs.h >>conftest.$ac_ext
                   9906: cat >>conftest.$ac_ext <<_ACEOF
                   9907: /* end confdefs.h.  */
1.1.1.5 ! root     9908: $ac_includes_default
1.1       root     9909: int
                   9910: main ()
                   9911: {
                   9912: 
                   9913:   /* Some versions of memcmp are not 8-bit clean.  */
1.1.1.5 ! root     9914:   char c0 = '\100', c1 = '\200', c2 = '\201';
1.1       root     9915:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
1.1.1.5 ! root     9916:     return 1;
1.1       root     9917: 
                   9918:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   9919:      or more and with at least one buffer not starting on a 4-byte boundary.
                   9920:      William Lewis provided this test program.   */
                   9921:   {
                   9922:     char foo[21];
                   9923:     char bar[21];
                   9924:     int i;
                   9925:     for (i = 0; i < 4; i++)
                   9926:       {
1.1.1.5 ! root     9927:        char *a = foo + i;
        !          9928:        char *b = bar + i;
        !          9929:        strcpy (a, "--------01111111");
        !          9930:        strcpy (b, "--------10000000");
        !          9931:        if (memcmp (a, b, 16) >= 0)
        !          9932:          return 1;
1.1       root     9933:       }
1.1.1.5 ! root     9934:     return 0;
1.1       root     9935:   }
                   9936: 
                   9937:   ;
                   9938:   return 0;
                   9939: }
                   9940: _ACEOF
                   9941: rm -f conftest$ac_exeext
1.1.1.5 ! root     9942: if { (ac_try="$ac_link"
        !          9943: case "(($ac_try" in
        !          9944:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9945:   *) ac_try_echo=$ac_try;;
        !          9946: esac
        !          9947: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9948:   (eval "$ac_link") 2>&5
1.1       root     9949:   ac_status=$?
                   9950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9951:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     9952:   { (case "(($ac_try" in
        !          9953:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          9954:   *) ac_try_echo=$ac_try;;
        !          9955: esac
        !          9956: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          9957:   (eval "$ac_try") 2>&5
1.1       root     9958:   ac_status=$?
                   9959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9960:   (exit $ac_status); }; }; then
                   9961:   ac_cv_func_memcmp_working=yes
                   9962: else
                   9963:   echo "$as_me: program exited with status $ac_status" >&5
                   9964: echo "$as_me: failed program was:" >&5
                   9965: sed 's/^/| /' conftest.$ac_ext >&5
                   9966: 
                   9967: ( exit $ac_status )
                   9968: ac_cv_func_memcmp_working=no
                   9969: fi
1.1.1.5 ! root     9970: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     9971: fi
1.1.1.5 ! root     9972: 
        !          9973: 
1.1       root     9974: fi
1.1.1.5 ! root     9975: { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
        !          9976: echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
        !          9977: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
        !          9978:   *" memcmp.$ac_objext "* ) ;;
        !          9979:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
        !          9980:  ;;
        !          9981: esac
        !          9982: 
1.1       root     9983: 
                   9984: 
                   9985: 
                   9986: for ac_header in stdlib.h unistd.h
                   9987: do
                   9988: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.5 ! root     9989: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
        !          9990:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          9991: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          9992: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     9993:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9994: fi
1.1.1.5 ! root     9995: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          9996:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          9997: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     9998: else
                   9999:   # Is the header compilable?
1.1.1.5 ! root     10000: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          10001: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1       root     10002: cat >conftest.$ac_ext <<_ACEOF
                   10003: /* confdefs.h.  */
                   10004: _ACEOF
                   10005: cat confdefs.h >>conftest.$ac_ext
                   10006: cat >>conftest.$ac_ext <<_ACEOF
                   10007: /* end confdefs.h.  */
                   10008: $ac_includes_default
                   10009: #include <$ac_header>
                   10010: _ACEOF
                   10011: rm -f conftest.$ac_objext
1.1.1.5 ! root     10012: if { (ac_try="$ac_compile"
        !          10013: case "(($ac_try" in
        !          10014:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10015:   *) ac_try_echo=$ac_try;;
        !          10016: esac
        !          10017: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10018:   (eval "$ac_compile") 2>conftest.er1
1.1       root     10019:   ac_status=$?
1.1.1.5 ! root     10020:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10021:   rm -f conftest.er1
        !          10022:   cat conftest.err >&5
1.1       root     10023:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10024:   (exit $ac_status); } && {
        !          10025:         test -z "$ac_c_werror_flag" ||
        !          10026:         test ! -s conftest.err
        !          10027:        } && test -s conftest.$ac_objext; then
1.1       root     10028:   ac_header_compiler=yes
                   10029: else
                   10030:   echo "$as_me: failed program was:" >&5
                   10031: sed 's/^/| /' conftest.$ac_ext >&5
                   10032: 
1.1.1.5 ! root     10033:        ac_header_compiler=no
1.1       root     10034: fi
1.1.1.5 ! root     10035: 
        !          10036: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10037: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          10038: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1       root     10039: 
                   10040: # Is the header present?
1.1.1.5 ! root     10041: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          10042: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1       root     10043: cat >conftest.$ac_ext <<_ACEOF
                   10044: /* confdefs.h.  */
                   10045: _ACEOF
                   10046: cat confdefs.h >>conftest.$ac_ext
                   10047: cat >>conftest.$ac_ext <<_ACEOF
                   10048: /* end confdefs.h.  */
                   10049: #include <$ac_header>
                   10050: _ACEOF
1.1.1.5 ! root     10051: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          10052: case "(($ac_try" in
        !          10053:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10054:   *) ac_try_echo=$ac_try;;
        !          10055: esac
        !          10056: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10057:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1       root     10058:   ac_status=$?
                   10059:   grep -v '^ *+' conftest.er1 >conftest.err
                   10060:   rm -f conftest.er1
                   10061:   cat conftest.err >&5
                   10062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10063:   (exit $ac_status); } >/dev/null && {
        !          10064:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          10065:         test ! -s conftest.err
        !          10066:        }; then
1.1       root     10067:   ac_header_preproc=yes
                   10068: else
                   10069:   echo "$as_me: failed program was:" >&5
                   10070: sed 's/^/| /' conftest.$ac_ext >&5
                   10071: 
                   10072:   ac_header_preproc=no
                   10073: fi
1.1.1.5 ! root     10074: 
1.1       root     10075: rm -f conftest.err conftest.$ac_ext
1.1.1.5 ! root     10076: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          10077: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     10078: 
                   10079: # So?  What about this header?
1.1.1.5 ! root     10080: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          10081:   yes:no: )
1.1       root     10082:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   10083: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.1.1.5 ! root     10084:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          10085: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          10086:     ac_header_preproc=yes
1.1       root     10087:     ;;
1.1.1.5 ! root     10088:   no:yes:* )
1.1       root     10089:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   10090: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.1.1.5 ! root     10091:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          10092: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          10093:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          10094: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          10095:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          10096: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.1       root     10097:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   10098: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.1.1.5 ! root     10099:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          10100: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          10101: 
1.1       root     10102:     ;;
                   10103: esac
1.1.1.5 ! root     10104: { echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          10105: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
        !          10106: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     10107:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10108: else
1.1.1.5 ! root     10109:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     10110: fi
1.1.1.5 ! root     10111: ac_res=`eval echo '${'$as_ac_Header'}'`
        !          10112:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          10113: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     10114: 
                   10115: fi
                   10116: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   10117:   cat >>confdefs.h <<_ACEOF
                   10118: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   10119: _ACEOF
                   10120: 
                   10121: fi
                   10122: 
                   10123: done
                   10124: 
                   10125: 
                   10126: for ac_func in getpagesize
                   10127: do
                   10128: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.5 ! root     10129: { echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          10130: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
        !          10131: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1       root     10132:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10133: else
                   10134:   cat >conftest.$ac_ext <<_ACEOF
                   10135: /* confdefs.h.  */
                   10136: _ACEOF
                   10137: cat confdefs.h >>conftest.$ac_ext
                   10138: cat >>conftest.$ac_ext <<_ACEOF
                   10139: /* end confdefs.h.  */
1.1.1.5 ! root     10140: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          10141:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          10142: #define $ac_func innocuous_$ac_func
        !          10143: 
1.1       root     10144: /* System header to define __stub macros and hopefully few prototypes,
                   10145:     which can conflict with char $ac_func (); below.
                   10146:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10147:     <limits.h> exists even on freestanding compilers.  */
1.1.1.5 ! root     10148: 
1.1       root     10149: #ifdef __STDC__
                   10150: # include <limits.h>
                   10151: #else
                   10152: # include <assert.h>
                   10153: #endif
1.1.1.5 ! root     10154: 
        !          10155: #undef $ac_func
        !          10156: 
        !          10157: /* Override any GCC internal prototype to avoid an error.
        !          10158:    Use char because int might match the return type of a GCC
        !          10159:    builtin and then its argument prototype would still apply.  */
1.1       root     10160: #ifdef __cplusplus
                   10161: extern "C"
                   10162: #endif
                   10163: char $ac_func ();
                   10164: /* The GNU C library defines this for functions which it implements
                   10165:     to always fail with ENOSYS.  Some functions are actually named
                   10166:     something starting with __ and the normal name is an alias.  */
1.1.1.5 ! root     10167: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1       root     10168: choke me
                   10169: #endif
                   10170: 
                   10171: int
                   10172: main ()
                   10173: {
1.1.1.5 ! root     10174: return $ac_func ();
1.1       root     10175:   ;
                   10176:   return 0;
                   10177: }
                   10178: _ACEOF
                   10179: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     10180: if { (ac_try="$ac_link"
        !          10181: case "(($ac_try" in
        !          10182:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10183:   *) ac_try_echo=$ac_try;;
        !          10184: esac
        !          10185: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10186:   (eval "$ac_link") 2>conftest.er1
1.1       root     10187:   ac_status=$?
1.1.1.5 ! root     10188:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10189:   rm -f conftest.er1
        !          10190:   cat conftest.err >&5
1.1       root     10191:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10192:   (exit $ac_status); } && {
        !          10193:         test -z "$ac_c_werror_flag" ||
        !          10194:         test ! -s conftest.err
        !          10195:        } && test -s conftest$ac_exeext &&
        !          10196:        $as_test_x conftest$ac_exeext; then
1.1       root     10197:   eval "$as_ac_var=yes"
                   10198: else
                   10199:   echo "$as_me: failed program was:" >&5
                   10200: sed 's/^/| /' conftest.$ac_ext >&5
                   10201: 
1.1.1.5 ! root     10202:        eval "$as_ac_var=no"
1.1       root     10203: fi
1.1.1.5 ! root     10204: 
        !          10205: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          10206:       conftest$ac_exeext conftest.$ac_ext
1.1       root     10207: fi
1.1.1.5 ! root     10208: ac_res=`eval echo '${'$as_ac_var'}'`
        !          10209:               { echo "$as_me:$LINENO: result: $ac_res" >&5
        !          10210: echo "${ECHO_T}$ac_res" >&6; }
1.1       root     10211: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10212:   cat >>confdefs.h <<_ACEOF
                   10213: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10214: _ACEOF
                   10215: 
                   10216: fi
                   10217: done
                   10218: 
1.1.1.5 ! root     10219: { echo "$as_me:$LINENO: checking for working mmap" >&5
        !          10220: echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
1.1       root     10221: if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
                   10222:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10223: else
                   10224:   if test "$cross_compiling" = yes; then
                   10225:   ac_cv_func_mmap_fixed_mapped=no
                   10226: else
                   10227:   cat >conftest.$ac_ext <<_ACEOF
                   10228: /* confdefs.h.  */
                   10229: _ACEOF
                   10230: cat confdefs.h >>conftest.$ac_ext
                   10231: cat >>conftest.$ac_ext <<_ACEOF
                   10232: /* end confdefs.h.  */
                   10233: $ac_includes_default
                   10234: /* malloc might have been renamed as rpl_malloc. */
                   10235: #undef malloc
                   10236: 
                   10237: /* Thanks to Mike Haertel and Jim Avera for this test.
                   10238:    Here is a matrix of mmap possibilities:
                   10239:        mmap private not fixed
                   10240:        mmap private fixed at somewhere currently unmapped
                   10241:        mmap private fixed at somewhere already mapped
                   10242:        mmap shared not fixed
                   10243:        mmap shared fixed at somewhere currently unmapped
                   10244:        mmap shared fixed at somewhere already mapped
                   10245:    For private mappings, we should verify that changes cannot be read()
                   10246:    back from the file, nor mmap's back from the file at a different
                   10247:    address.  (There have been systems where private was not correctly
                   10248:    implemented like the infamous i386 svr4.0, and systems where the
                   10249:    VM page cache was not coherent with the file system buffer cache
                   10250:    like early versions of FreeBSD and possibly contemporary NetBSD.)
                   10251:    For shared mappings, we should conversely verify that changes get
                   10252:    propagated back to all the places they're supposed to be.
                   10253: 
                   10254:    Grep wants private fixed already mapped.
                   10255:    The main things grep needs to know about mmap are:
                   10256:    * does it exist and is it safe to write into the mmap'd area
                   10257:    * how to use it (BSD variants)  */
                   10258: 
                   10259: #include <fcntl.h>
                   10260: #include <sys/mman.h>
                   10261: 
1.1.1.5 ! root     10262: #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
1.1       root     10263: char *malloc ();
                   10264: #endif
                   10265: 
                   10266: /* This mess was copied from the GNU getpagesize.h.  */
1.1.1.5 ! root     10267: #ifndef HAVE_GETPAGESIZE
1.1       root     10268: /* Assume that all systems that can run configure have sys/param.h.  */
1.1.1.5 ! root     10269: # ifndef HAVE_SYS_PARAM_H
1.1       root     10270: #  define HAVE_SYS_PARAM_H 1
                   10271: # endif
                   10272: 
                   10273: # ifdef _SC_PAGESIZE
                   10274: #  define getpagesize() sysconf(_SC_PAGESIZE)
                   10275: # else /* no _SC_PAGESIZE */
1.1.1.5 ! root     10276: #  ifdef HAVE_SYS_PARAM_H
1.1       root     10277: #   include <sys/param.h>
                   10278: #   ifdef EXEC_PAGESIZE
                   10279: #    define getpagesize() EXEC_PAGESIZE
                   10280: #   else /* no EXEC_PAGESIZE */
                   10281: #    ifdef NBPG
                   10282: #     define getpagesize() NBPG * CLSIZE
                   10283: #     ifndef CLSIZE
                   10284: #      define CLSIZE 1
                   10285: #     endif /* no CLSIZE */
                   10286: #    else /* no NBPG */
                   10287: #     ifdef NBPC
                   10288: #      define getpagesize() NBPC
                   10289: #     else /* no NBPC */
                   10290: #      ifdef PAGESIZE
                   10291: #       define getpagesize() PAGESIZE
                   10292: #      endif /* PAGESIZE */
                   10293: #     endif /* no NBPC */
                   10294: #    endif /* no NBPG */
                   10295: #   endif /* no EXEC_PAGESIZE */
                   10296: #  else /* no HAVE_SYS_PARAM_H */
                   10297: #   define getpagesize() 8192  /* punt totally */
                   10298: #  endif /* no HAVE_SYS_PARAM_H */
                   10299: # endif /* no _SC_PAGESIZE */
                   10300: 
                   10301: #endif /* no HAVE_GETPAGESIZE */
                   10302: 
                   10303: int
                   10304: main ()
                   10305: {
                   10306:   char *data, *data2, *data3;
                   10307:   int i, pagesize;
                   10308:   int fd;
                   10309: 
                   10310:   pagesize = getpagesize ();
                   10311: 
                   10312:   /* First, make a file with some known garbage in it. */
                   10313:   data = (char *) malloc (pagesize);
                   10314:   if (!data)
1.1.1.5 ! root     10315:     return 1;
1.1       root     10316:   for (i = 0; i < pagesize; ++i)
                   10317:     *(data + i) = rand ();
                   10318:   umask (0);
                   10319:   fd = creat ("conftest.mmap", 0600);
                   10320:   if (fd < 0)
1.1.1.5 ! root     10321:     return 1;
1.1       root     10322:   if (write (fd, data, pagesize) != pagesize)
1.1.1.5 ! root     10323:     return 1;
1.1       root     10324:   close (fd);
                   10325: 
                   10326:   /* Next, try to mmap the file at a fixed address which already has
                   10327:      something else allocated at it.  If we can, also make sure that
                   10328:      we see the same garbage.  */
                   10329:   fd = open ("conftest.mmap", O_RDWR);
                   10330:   if (fd < 0)
1.1.1.5 ! root     10331:     return 1;
1.1       root     10332:   data2 = (char *) malloc (2 * pagesize);
                   10333:   if (!data2)
1.1.1.5 ! root     10334:     return 1;
        !          10335:   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
1.1       root     10336:   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
1.1.1.5 ! root     10337:                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
        !          10338:     return 1;
1.1       root     10339:   for (i = 0; i < pagesize; ++i)
                   10340:     if (*(data + i) != *(data2 + i))
1.1.1.5 ! root     10341:       return 1;
1.1       root     10342: 
                   10343:   /* Finally, make sure that changes to the mapped area do not
                   10344:      percolate back to the file as seen by read().  (This is a bug on
                   10345:      some variants of i386 svr4.0.)  */
                   10346:   for (i = 0; i < pagesize; ++i)
                   10347:     *(data2 + i) = *(data2 + i) + 1;
                   10348:   data3 = (char *) malloc (pagesize);
                   10349:   if (!data3)
1.1.1.5 ! root     10350:     return 1;
1.1       root     10351:   if (read (fd, data3, pagesize) != pagesize)
1.1.1.5 ! root     10352:     return 1;
1.1       root     10353:   for (i = 0; i < pagesize; ++i)
                   10354:     if (*(data + i) != *(data3 + i))
1.1.1.5 ! root     10355:       return 1;
1.1       root     10356:   close (fd);
1.1.1.5 ! root     10357:   return 0;
1.1       root     10358: }
                   10359: _ACEOF
                   10360: rm -f conftest$ac_exeext
1.1.1.5 ! root     10361: if { (ac_try="$ac_link"
        !          10362: case "(($ac_try" in
        !          10363:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10364:   *) ac_try_echo=$ac_try;;
        !          10365: esac
        !          10366: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10367:   (eval "$ac_link") 2>&5
1.1       root     10368:   ac_status=$?
                   10369:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10370:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.5 ! root     10371:   { (case "(($ac_try" in
        !          10372:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10373:   *) ac_try_echo=$ac_try;;
        !          10374: esac
        !          10375: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10376:   (eval "$ac_try") 2>&5
1.1       root     10377:   ac_status=$?
                   10378:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10379:   (exit $ac_status); }; }; then
                   10380:   ac_cv_func_mmap_fixed_mapped=yes
                   10381: else
                   10382:   echo "$as_me: program exited with status $ac_status" >&5
                   10383: echo "$as_me: failed program was:" >&5
                   10384: sed 's/^/| /' conftest.$ac_ext >&5
                   10385: 
                   10386: ( exit $ac_status )
                   10387: ac_cv_func_mmap_fixed_mapped=no
                   10388: fi
1.1.1.5 ! root     10389: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     10390: fi
1.1.1.5 ! root     10391: 
        !          10392: 
1.1       root     10393: fi
1.1.1.5 ! root     10394: { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
        !          10395: echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
1.1       root     10396: if test $ac_cv_func_mmap_fixed_mapped = yes; then
                   10397: 
                   10398: cat >>confdefs.h <<\_ACEOF
                   10399: #define HAVE_MMAP 1
                   10400: _ACEOF
                   10401: 
                   10402: fi
                   10403: rm -f conftest.mmap
                   10404: 
1.1.1.5 ! root     10405: { echo "$as_me:$LINENO: checking for bswap16" >&5
        !          10406: echo $ECHO_N "checking for bswap16... $ECHO_C" >&6; }
1.1.1.3   root     10407: if test "${ac_cv_have_bswap16+set}" = set; then
                   10408:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10409: else
                   10410:   ac_func_long_LIBS=$LIBS
                   10411: LIBS="${LIBS-} "
                   10412: cat >conftest.$ac_ext <<_ACEOF
                   10413: /* confdefs.h.  */
                   10414: _ACEOF
                   10415: cat confdefs.h >>conftest.$ac_ext
                   10416: cat >>conftest.$ac_ext <<_ACEOF
                   10417: /* end confdefs.h.  */
                   10418: 
                   10419: 
                   10420: #ifdef HAVE_SYS_BSWAP_H
                   10421: #include <sys/bswap.h>
                   10422: #endif
                   10423: 
                   10424: 
                   10425: int
                   10426: main ()
                   10427: {
                   10428: 
                   10429: 
                   10430:   unsigned int x;
                   10431: 
                   10432:   x = bswap16(0x1122);
                   10433: 
                   10434: 
                   10435:   ;
                   10436:   return 0;
                   10437: }
                   10438: _ACEOF
                   10439: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     10440: if { (ac_try="$ac_link"
        !          10441: case "(($ac_try" in
        !          10442:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10443:   *) ac_try_echo=$ac_try;;
        !          10444: esac
        !          10445: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10446:   (eval "$ac_link") 2>conftest.er1
1.1.1.3   root     10447:   ac_status=$?
1.1.1.5 ! root     10448:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10449:   rm -f conftest.er1
        !          10450:   cat conftest.err >&5
1.1.1.3   root     10451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10452:   (exit $ac_status); } && {
        !          10453:         test -z "$ac_c_werror_flag" ||
        !          10454:         test ! -s conftest.err
        !          10455:        } && test -s conftest$ac_exeext &&
        !          10456:        $as_test_x conftest$ac_exeext; then
1.1.1.3   root     10457:   ac_cv_have_bswap16=yes
                   10458: else
                   10459:   echo "$as_me: failed program was:" >&5
                   10460: sed 's/^/| /' conftest.$ac_ext >&5
                   10461: 
1.1.1.5 ! root     10462:        ac_cv_have_bswap16=no
1.1.1.3   root     10463: fi
1.1.1.5 ! root     10464: 
        !          10465: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          10466:       conftest$ac_exeext conftest.$ac_ext
1.1.1.3   root     10467: LIBS=$ac_func_long_LIBS
                   10468: fi
1.1.1.5 ! root     10469: { echo "$as_me:$LINENO: result: $ac_cv_have_bswap16" >&5
        !          10470: echo "${ECHO_T}$ac_cv_have_bswap16" >&6; }
1.1.1.3   root     10471: if test $ac_cv_have_bswap16 = yes; then
                   10472: 
                   10473: cat >>confdefs.h <<_ACEOF
                   10474: #define HAVE_BSWAP16
                   10475: _ACEOF
                   10476: 
                   10477: fi
                   10478: 
1.1.1.5 ! root     10479: { echo "$as_me:$LINENO: checking for bswap32" >&5
        !          10480: echo $ECHO_N "checking for bswap32... $ECHO_C" >&6; }
1.1.1.3   root     10481: if test "${ac_cv_have_bswap32+set}" = set; then
                   10482:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10483: else
                   10484:   ac_func_long_LIBS=$LIBS
                   10485: LIBS="${LIBS-} "
                   10486: cat >conftest.$ac_ext <<_ACEOF
                   10487: /* confdefs.h.  */
                   10488: _ACEOF
                   10489: cat confdefs.h >>conftest.$ac_ext
                   10490: cat >>conftest.$ac_ext <<_ACEOF
                   10491: /* end confdefs.h.  */
                   10492: 
                   10493: 
                   10494: #ifdef HAVE_SYS_BSWAP_H
                   10495: #include <sys/bswap.h>
                   10496: #endif
                   10497: 
                   10498: 
                   10499: int
                   10500: main ()
                   10501: {
                   10502: 
                   10503: 
                   10504:   unsigned int x;
                   10505: 
                   10506:   x = bswap32(0x11223344);
                   10507: 
                   10508: 
                   10509:   ;
                   10510:   return 0;
                   10511: }
                   10512: _ACEOF
                   10513: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     10514: if { (ac_try="$ac_link"
        !          10515: case "(($ac_try" in
        !          10516:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10517:   *) ac_try_echo=$ac_try;;
        !          10518: esac
        !          10519: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10520:   (eval "$ac_link") 2>conftest.er1
1.1.1.3   root     10521:   ac_status=$?
1.1.1.5 ! root     10522:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10523:   rm -f conftest.er1
        !          10524:   cat conftest.err >&5
1.1.1.3   root     10525:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10526:   (exit $ac_status); } && {
        !          10527:         test -z "$ac_c_werror_flag" ||
        !          10528:         test ! -s conftest.err
        !          10529:        } && test -s conftest$ac_exeext &&
        !          10530:        $as_test_x conftest$ac_exeext; then
1.1.1.3   root     10531:   ac_cv_have_bswap32=yes
                   10532: else
                   10533:   echo "$as_me: failed program was:" >&5
                   10534: sed 's/^/| /' conftest.$ac_ext >&5
                   10535: 
1.1.1.5 ! root     10536:        ac_cv_have_bswap32=no
1.1.1.3   root     10537: fi
1.1.1.5 ! root     10538: 
        !          10539: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          10540:       conftest$ac_exeext conftest.$ac_ext
1.1.1.3   root     10541: LIBS=$ac_func_long_LIBS
                   10542: fi
1.1.1.5 ! root     10543: { echo "$as_me:$LINENO: result: $ac_cv_have_bswap32" >&5
        !          10544: echo "${ECHO_T}$ac_cv_have_bswap32" >&6; }
1.1.1.3   root     10545: if test $ac_cv_have_bswap32 = yes; then
                   10546: 
                   10547: cat >>confdefs.h <<_ACEOF
                   10548: #define HAVE_BSWAP32
                   10549: _ACEOF
                   10550: 
                   10551: fi
                   10552: 
1.1.1.5 ! root     10553: if test $ac_cv_sizeof_long = 8; then
        !          10554:   { echo "$as_me:$LINENO: checking for bswap64" >&5
        !          10555: echo $ECHO_N "checking for bswap64... $ECHO_C" >&6; }
        !          10556: if test "${ac_cv_have_bswap64+set}" = set; then
        !          10557:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10558: else
        !          10559:   ac_func_long_LIBS=$LIBS
        !          10560: LIBS="${LIBS-} "
        !          10561: cat >conftest.$ac_ext <<_ACEOF
        !          10562: /* confdefs.h.  */
        !          10563: _ACEOF
        !          10564: cat confdefs.h >>conftest.$ac_ext
        !          10565: cat >>conftest.$ac_ext <<_ACEOF
        !          10566: /* end confdefs.h.  */
        !          10567: 
        !          10568: 
        !          10569: #ifdef HAVE_SYS_BSWAP_H
        !          10570: #include <sys/bswap.h>
        !          10571: #endif
        !          10572: 
        !          10573: 
        !          10574: int
        !          10575: main ()
        !          10576: {
        !          10577: 
        !          10578: 
        !          10579:   unsigned long x;
        !          10580: 
        !          10581:   x = bswap64(0x11223344);
        !          10582: 
        !          10583: 
        !          10584:   ;
        !          10585:   return 0;
        !          10586: }
        !          10587: _ACEOF
        !          10588: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10589: if { (ac_try="$ac_link"
        !          10590: case "(($ac_try" in
        !          10591:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10592:   *) ac_try_echo=$ac_try;;
        !          10593: esac
        !          10594: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10595:   (eval "$ac_link") 2>conftest.er1
        !          10596:   ac_status=$?
        !          10597:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10598:   rm -f conftest.er1
        !          10599:   cat conftest.err >&5
        !          10600:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10601:   (exit $ac_status); } && {
        !          10602:         test -z "$ac_c_werror_flag" ||
        !          10603:         test ! -s conftest.err
        !          10604:        } && test -s conftest$ac_exeext &&
        !          10605:        $as_test_x conftest$ac_exeext; then
        !          10606:   ac_cv_have_bswap64=yes
        !          10607: else
        !          10608:   echo "$as_me: failed program was:" >&5
        !          10609: sed 's/^/| /' conftest.$ac_ext >&5
        !          10610: 
        !          10611:        ac_cv_have_bswap64=no
        !          10612: fi
        !          10613: 
        !          10614: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          10615:       conftest$ac_exeext conftest.$ac_ext
        !          10616: LIBS=$ac_func_long_LIBS
        !          10617: fi
        !          10618: { echo "$as_me:$LINENO: result: $ac_cv_have_bswap64" >&5
        !          10619: echo "${ECHO_T}$ac_cv_have_bswap64" >&6; }
        !          10620: if test $ac_cv_have_bswap64 = yes; then
        !          10621: 
        !          10622: cat >>confdefs.h <<_ACEOF
        !          10623: #define HAVE_BSWAP64
        !          10624: _ACEOF
        !          10625: 
        !          10626: fi
        !          10627: 
        !          10628: fi
        !          10629: { echo "$as_me:$LINENO: checking for isinff" >&5
        !          10630: echo $ECHO_N "checking for isinff... $ECHO_C" >&6; }
1.1.1.3   root     10631: if test "${ac_cv_have_isinff+set}" = set; then
                   10632:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10633: else
                   10634:   ac_func_long_LIBS=$LIBS
                   10635: LIBS="${LIBS-} -lm"
                   10636: cat >conftest.$ac_ext <<_ACEOF
                   10637: /* confdefs.h.  */
                   10638: _ACEOF
                   10639: cat confdefs.h >>conftest.$ac_ext
                   10640: cat >>conftest.$ac_ext <<_ACEOF
                   10641: /* end confdefs.h.  */
                   10642: 
                   10643: 
                   10644: #include <math.h>
                   10645: 
                   10646: 
                   10647: int
                   10648: main ()
                   10649: {
                   10650: 
                   10651: 
                   10652:   float x;
                   10653:   int y;
                   10654: 
                   10655:   x = 1;
                   10656:   y = isinff(x);
                   10657: 
                   10658: 
                   10659:   ;
                   10660:   return 0;
                   10661: }
                   10662: _ACEOF
                   10663: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     10664: if { (ac_try="$ac_link"
        !          10665: case "(($ac_try" in
        !          10666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10667:   *) ac_try_echo=$ac_try;;
        !          10668: esac
        !          10669: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10670:   (eval "$ac_link") 2>conftest.er1
1.1.1.3   root     10671:   ac_status=$?
1.1.1.5 ! root     10672:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10673:   rm -f conftest.er1
        !          10674:   cat conftest.err >&5
1.1.1.3   root     10675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10676:   (exit $ac_status); } && {
        !          10677:         test -z "$ac_c_werror_flag" ||
        !          10678:         test ! -s conftest.err
        !          10679:        } && test -s conftest$ac_exeext &&
        !          10680:        $as_test_x conftest$ac_exeext; then
1.1.1.3   root     10681:   ac_cv_have_isinff=yes
                   10682: else
                   10683:   echo "$as_me: failed program was:" >&5
                   10684: sed 's/^/| /' conftest.$ac_ext >&5
                   10685: 
1.1.1.5 ! root     10686:        ac_cv_have_isinff=no
1.1.1.3   root     10687: fi
1.1.1.5 ! root     10688: 
        !          10689: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          10690:       conftest$ac_exeext conftest.$ac_ext
1.1.1.3   root     10691: LIBS=$ac_func_long_LIBS
                   10692: fi
1.1.1.5 ! root     10693: { echo "$as_me:$LINENO: result: $ac_cv_have_isinff" >&5
        !          10694: echo "${ECHO_T}$ac_cv_have_isinff" >&6; }
1.1.1.3   root     10695: if test $ac_cv_have_isinff = yes; then
                   10696: 
                   10697: cat >>confdefs.h <<_ACEOF
                   10698: #define HAVE_ISINFF
                   10699: _ACEOF
                   10700: 
                   10701: fi
                   10702: 
1.1       root     10703: 
                   10704: for ac_prog in perl4.036 perl4 perl perl5
                   10705: do
                   10706:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   10707: set dummy $ac_prog; ac_word=$2
1.1.1.5 ! root     10708: { echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          10709: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1       root     10710: if test "${ac_cv_path_PERL+set}" = set; then
                   10711:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10712: else
                   10713:   case $PERL in
                   10714:   [\\/]* | ?:[\\/]*)
                   10715:   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
                   10716:   ;;
                   10717:   *)
                   10718:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10719: for as_dir in $PATH
                   10720: do
                   10721:   IFS=$as_save_IFS
                   10722:   test -z "$as_dir" && as_dir=.
                   10723:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! root     10724:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       root     10725:     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
                   10726:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10727:     break 2
                   10728:   fi
                   10729: done
                   10730: done
1.1.1.5 ! root     10731: IFS=$as_save_IFS
1.1       root     10732: 
                   10733:   ;;
                   10734: esac
                   10735: fi
                   10736: PERL=$ac_cv_path_PERL
                   10737: if test -n "$PERL"; then
1.1.1.5 ! root     10738:   { echo "$as_me:$LINENO: result: $PERL" >&5
        !          10739: echo "${ECHO_T}$PERL" >&6; }
1.1       root     10740: else
1.1.1.5 ! root     10741:   { echo "$as_me:$LINENO: result: no" >&5
        !          10742: echo "${ECHO_T}no" >&6; }
1.1       root     10743: fi
                   10744: 
1.1.1.5 ! root     10745: 
1.1.1.2   root     10746:   test -n "$PERL" && break
                   10747: done
                   10748: test -n "$PERL" || PERL="no"
                   10749: 
                   10750: 
                   10751: 
                   10752: TME_HOSTS="posix"
                   10753: 
1.1.1.5 ! root     10754: { echo "$as_me:$LINENO: checking for AF_LINK support" >&5
        !          10755: echo $ECHO_N "checking for AF_LINK support... $ECHO_C" >&6; }
1.1.1.2   root     10756: cat >conftest.$ac_ext <<_ACEOF
                   10757: /* confdefs.h.  */
                   10758: _ACEOF
                   10759: cat confdefs.h >>conftest.$ac_ext
                   10760: cat >>conftest.$ac_ext <<_ACEOF
                   10761: /* end confdefs.h.  */
                   10762: 
                   10763: #include <sys/socket.h>
                   10764: #ifdef AF_LINK
                   10765: _tme_has_af_link
                   10766: #endif
                   10767: 
                   10768: _ACEOF
                   10769: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   10770:   $EGREP "_tme_has_af_link" >/dev/null 2>&1; then
                   10771: 
1.1.1.5 ! root     10772: { echo "$as_me:$LINENO: result: yes" >&5
        !          10773: echo "${ECHO_T}yes" >&6; }
1.1.1.2   root     10774: 
                   10775: cat >>confdefs.h <<\_ACEOF
                   10776: #define HAVE_AF_LINK
                   10777: _ACEOF
                   10778: 
                   10779: 
                   10780: else
                   10781: 
1.1.1.5 ! root     10782: { echo "$as_me:$LINENO: result: no" >&5
        !          10783: echo "${ECHO_T}no" >&6; }
1.1.1.2   root     10784: 
                   10785: fi
                   10786: rm -f conftest*
                   10787: 
                   10788: 
                   10789: tme_raw_type=
                   10790: if test "${ac_cv_header_net_bpf_h+set}" = set; then
1.1.1.5 ! root     10791:   { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
        !          10792: echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
1.1.1.2   root     10793: if test "${ac_cv_header_net_bpf_h+set}" = set; then
                   10794:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10795: fi
1.1.1.5 ! root     10796: { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
        !          10797: echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
1.1.1.2   root     10798: else
                   10799:   # Is the header compilable?
1.1.1.5 ! root     10800: { echo "$as_me:$LINENO: checking net/bpf.h usability" >&5
        !          10801: echo $ECHO_N "checking net/bpf.h usability... $ECHO_C" >&6; }
1.1.1.2   root     10802: cat >conftest.$ac_ext <<_ACEOF
                   10803: /* confdefs.h.  */
                   10804: _ACEOF
                   10805: cat confdefs.h >>conftest.$ac_ext
                   10806: cat >>conftest.$ac_ext <<_ACEOF
                   10807: /* end confdefs.h.  */
                   10808: $ac_includes_default
                   10809: #include <net/bpf.h>
                   10810: _ACEOF
                   10811: rm -f conftest.$ac_objext
1.1.1.5 ! root     10812: if { (ac_try="$ac_compile"
        !          10813: case "(($ac_try" in
        !          10814:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10815:   *) ac_try_echo=$ac_try;;
        !          10816: esac
        !          10817: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10818:   (eval "$ac_compile") 2>conftest.er1
1.1.1.2   root     10819:   ac_status=$?
1.1.1.5 ! root     10820:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10821:   rm -f conftest.er1
        !          10822:   cat conftest.err >&5
1.1.1.2   root     10823:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10824:   (exit $ac_status); } && {
        !          10825:         test -z "$ac_c_werror_flag" ||
        !          10826:         test ! -s conftest.err
        !          10827:        } && test -s conftest.$ac_objext; then
1.1.1.2   root     10828:   ac_header_compiler=yes
                   10829: else
                   10830:   echo "$as_me: failed program was:" >&5
                   10831: sed 's/^/| /' conftest.$ac_ext >&5
                   10832: 
1.1.1.5 ! root     10833:        ac_header_compiler=no
1.1.1.2   root     10834: fi
1.1.1.5 ! root     10835: 
        !          10836: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10837: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          10838: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.2   root     10839: 
                   10840: # Is the header present?
1.1.1.5 ! root     10841: { echo "$as_me:$LINENO: checking net/bpf.h presence" >&5
        !          10842: echo $ECHO_N "checking net/bpf.h presence... $ECHO_C" >&6; }
1.1.1.2   root     10843: cat >conftest.$ac_ext <<_ACEOF
                   10844: /* confdefs.h.  */
                   10845: _ACEOF
                   10846: cat confdefs.h >>conftest.$ac_ext
                   10847: cat >>conftest.$ac_ext <<_ACEOF
                   10848: /* end confdefs.h.  */
                   10849: #include <net/bpf.h>
                   10850: _ACEOF
1.1.1.5 ! root     10851: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          10852: case "(($ac_try" in
        !          10853:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10854:   *) ac_try_echo=$ac_try;;
        !          10855: esac
        !          10856: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10857:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.2   root     10858:   ac_status=$?
                   10859:   grep -v '^ *+' conftest.er1 >conftest.err
                   10860:   rm -f conftest.er1
                   10861:   cat conftest.err >&5
                   10862:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     10863:   (exit $ac_status); } >/dev/null && {
        !          10864:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          10865:         test ! -s conftest.err
        !          10866:        }; then
1.1.1.2   root     10867:   ac_header_preproc=yes
                   10868: else
                   10869:   echo "$as_me: failed program was:" >&5
                   10870: sed 's/^/| /' conftest.$ac_ext >&5
                   10871: 
                   10872:   ac_header_preproc=no
                   10873: fi
1.1.1.5 ! root     10874: 
1.1.1.2   root     10875: rm -f conftest.err conftest.$ac_ext
1.1.1.5 ! root     10876: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          10877: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.2   root     10878: 
                   10879: # So?  What about this header?
1.1.1.5 ! root     10880: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          10881:   yes:no: )
1.1.1.2   root     10882:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&5
                   10883: echo "$as_me: WARNING: net/bpf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.1.1.5 ! root     10884:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the compiler's result" >&5
        !          10885: echo "$as_me: WARNING: net/bpf.h: proceeding with the compiler's result" >&2;}
        !          10886:     ac_header_preproc=yes
1.1.1.2   root     10887:     ;;
1.1.1.5 ! root     10888:   no:yes:* )
1.1.1.2   root     10889:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: present but cannot be compiled" >&5
                   10890: echo "$as_me: WARNING: net/bpf.h: present but cannot be compiled" >&2;}
1.1.1.5 ! root     10891:     { echo "$as_me:$LINENO: WARNING: net/bpf.h:     check for missing prerequisite headers?" >&5
        !          10892: echo "$as_me: WARNING: net/bpf.h:     check for missing prerequisite headers?" >&2;}
        !          10893:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: see the Autoconf documentation" >&5
        !          10894: echo "$as_me: WARNING: net/bpf.h: see the Autoconf documentation" >&2;}
        !          10895:     { echo "$as_me:$LINENO: WARNING: net/bpf.h:     section \"Present But Cannot Be Compiled\"" >&5
        !          10896: echo "$as_me: WARNING: net/bpf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
1.1.1.2   root     10897:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&5
                   10898: echo "$as_me: WARNING: net/bpf.h: proceeding with the preprocessor's result" >&2;}
1.1.1.5 ! root     10899:     { echo "$as_me:$LINENO: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&5
        !          10900: echo "$as_me: WARNING: net/bpf.h: in the future, the compiler will take precedence" >&2;}
        !          10901: 
1.1.1.2   root     10902:     ;;
                   10903: esac
1.1.1.5 ! root     10904: { echo "$as_me:$LINENO: checking for net/bpf.h" >&5
        !          10905: echo $ECHO_N "checking for net/bpf.h... $ECHO_C" >&6; }
1.1.1.2   root     10906: if test "${ac_cv_header_net_bpf_h+set}" = set; then
                   10907:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10908: else
                   10909:   ac_cv_header_net_bpf_h=$ac_header_preproc
                   10910: fi
1.1.1.5 ! root     10911: { echo "$as_me:$LINENO: result: $ac_cv_header_net_bpf_h" >&5
        !          10912: echo "${ECHO_T}$ac_cv_header_net_bpf_h" >&6; }
1.1.1.2   root     10913: 
                   10914: fi
                   10915: if test $ac_cv_header_net_bpf_h = yes; then
                   10916:   cat >conftest.$ac_ext <<_ACEOF
                   10917: /* confdefs.h.  */
                   10918: _ACEOF
                   10919: cat confdefs.h >>conftest.$ac_ext
                   10920: cat >>conftest.$ac_ext <<_ACEOF
                   10921: /* end confdefs.h.  */
                   10922: #include <net/bpf.h>
                   10923: #ifdef BIOCSHDRCMPLT
                   10924: found_BIOCSHDRCMPLT
                   10925: #endif
                   10926: 
                   10927: _ACEOF
                   10928: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   10929:   $EGREP "found_BIOCSHDRCMPLT" >/dev/null 2>&1; then
                   10930:   tme_raw_type=bpf
                   10931: fi
                   10932: rm -f conftest*
                   10933: 
                   10934: fi
                   10935: 
                   10936: 
1.1.1.5 ! root     10937: { echo "$as_me:$LINENO: checking for raw Ethernet access method" >&5
        !          10938: echo $ECHO_N "checking for raw Ethernet access method... $ECHO_C" >&6; }
1.1.1.2   root     10939: case "x$tme_raw_type" in
                   10940: xbpf) TME_HOSTS="${TME_HOSTS} bsd" ;;
                   10941: x) tme_raw_type=none ;;
                   10942: esac
1.1.1.5 ! root     10943: { echo "$as_me:$LINENO: result: $tme_raw_type" >&5
        !          10944: echo "${ECHO_T}$tme_raw_type" >&6; }
1.1.1.2   root     10945: 
1.1.1.5 ! root     10946: { echo "$as_me:$LINENO: checking for X" >&5
        !          10947: echo $ECHO_N "checking for X... $ECHO_C" >&6; }
1.1.1.2   root     10948: 
                   10949: 
1.1.1.5 ! root     10950: # Check whether --with-x was given.
1.1.1.2   root     10951: if test "${with_x+set}" = set; then
1.1.1.5 ! root     10952:   withval=$with_x;
        !          10953: fi
1.1.1.2   root     10954: 
                   10955: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   10956: if test "x$with_x" = xno; then
                   10957:   # The user explicitly disabled X.
                   10958:   have_x=disabled
                   10959: else
1.1.1.5 ! root     10960:   case $x_includes,$x_libraries in #(
        !          10961:     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
        !          10962: echo "$as_me: error: Cannot use X directory names containing '" >&2;}
        !          10963:    { (exit 1); exit 1; }; };; #(
        !          10964:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
1.1.1.2   root     10965:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10966: else
                   10967:   # One or both of the vars are not set, and there is no cached value.
                   10968: ac_x_includes=no ac_x_libraries=no
1.1.1.5 ! root     10969: rm -f -r conftest.dir
1.1.1.2   root     10970: if mkdir conftest.dir; then
                   10971:   cd conftest.dir
                   10972:   cat >Imakefile <<'_ACEOF'
1.1.1.5 ! root     10973: incroot:
        !          10974:        @echo incroot='${INCROOT}'
        !          10975: usrlibdir:
        !          10976:        @echo usrlibdir='${USRLIBDIR}'
        !          10977: libdir:
        !          10978:        @echo libdir='${LIBDIR}'
1.1.1.2   root     10979: _ACEOF
1.1.1.5 ! root     10980:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.1.1.2   root     10981:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.5 ! root     10982:     for ac_var in incroot usrlibdir libdir; do
        !          10983:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
        !          10984:     done
1.1.1.2   root     10985:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   10986:     for ac_extension in a so sl; do
1.1.1.5 ! root     10987:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
        !          10988:         test -f "$ac_im_libdir/libX11.$ac_extension"; then
        !          10989:        ac_im_usrlibdir=$ac_im_libdir; break
1.1.1.2   root     10990:       fi
                   10991:     done
                   10992:     # Screen out bogus values from the imake configuration.  They are
                   10993:     # bogus both because they are the default anyway, and because
                   10994:     # using them would break gcc on systems where it needs fixed includes.
                   10995:     case $ac_im_incroot in
1.1.1.5 ! root     10996:        /usr/include) ac_x_includes= ;;
1.1.1.2   root     10997:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   10998:     esac
                   10999:     case $ac_im_usrlibdir in
                   11000:        /usr/lib | /lib) ;;
                   11001:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   11002:     esac
                   11003:   fi
                   11004:   cd ..
1.1.1.5 ! root     11005:   rm -f -r conftest.dir
1.1.1.2   root     11006: fi
                   11007: 
                   11008: # Standard set of common directories for X headers.
                   11009: # Check X11 before X11Rn because it is often a symlink to the current release.
                   11010: ac_x_header_dirs='
                   11011: /usr/X11/include
                   11012: /usr/X11R6/include
                   11013: /usr/X11R5/include
                   11014: /usr/X11R4/include
                   11015: 
                   11016: /usr/include/X11
                   11017: /usr/include/X11R6
                   11018: /usr/include/X11R5
                   11019: /usr/include/X11R4
                   11020: 
                   11021: /usr/local/X11/include
                   11022: /usr/local/X11R6/include
                   11023: /usr/local/X11R5/include
                   11024: /usr/local/X11R4/include
                   11025: 
                   11026: /usr/local/include/X11
                   11027: /usr/local/include/X11R6
                   11028: /usr/local/include/X11R5
                   11029: /usr/local/include/X11R4
                   11030: 
                   11031: /usr/X386/include
                   11032: /usr/x386/include
                   11033: /usr/XFree86/include/X11
                   11034: 
                   11035: /usr/include
                   11036: /usr/local/include
                   11037: /usr/unsupported/include
                   11038: /usr/athena/include
                   11039: /usr/local/x11r5/include
                   11040: /usr/lpp/Xamples/include
                   11041: 
                   11042: /usr/openwin/include
                   11043: /usr/openwin/share/include'
                   11044: 
                   11045: if test "$ac_x_includes" = no; then
1.1.1.5 ! root     11046:   # Guess where to find include files, by looking for Xlib.h.
1.1.1.2   root     11047:   # First, try using that file with no special directory specified.
                   11048:   cat >conftest.$ac_ext <<_ACEOF
                   11049: /* confdefs.h.  */
                   11050: _ACEOF
                   11051: cat confdefs.h >>conftest.$ac_ext
                   11052: cat >>conftest.$ac_ext <<_ACEOF
                   11053: /* end confdefs.h.  */
1.1.1.5 ! root     11054: #include <X11/Xlib.h>
1.1.1.2   root     11055: _ACEOF
1.1.1.5 ! root     11056: if { (ac_try="$ac_cpp conftest.$ac_ext"
        !          11057: case "(($ac_try" in
        !          11058:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11059:   *) ac_try_echo=$ac_try;;
        !          11060: esac
        !          11061: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11062:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.2   root     11063:   ac_status=$?
                   11064:   grep -v '^ *+' conftest.er1 >conftest.err
                   11065:   rm -f conftest.er1
                   11066:   cat conftest.err >&5
                   11067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11068:   (exit $ac_status); } >/dev/null && {
        !          11069:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          11070:         test ! -s conftest.err
        !          11071:        }; then
1.1.1.2   root     11072:   # We can compile using X headers with no special include directory.
                   11073: ac_x_includes=
                   11074: else
                   11075:   echo "$as_me: failed program was:" >&5
                   11076: sed 's/^/| /' conftest.$ac_ext >&5
                   11077: 
                   11078:   for ac_dir in $ac_x_header_dirs; do
1.1.1.5 ! root     11079:   if test -r "$ac_dir/X11/Xlib.h"; then
1.1.1.2   root     11080:     ac_x_includes=$ac_dir
                   11081:     break
                   11082:   fi
                   11083: done
                   11084: fi
1.1.1.5 ! root     11085: 
1.1.1.2   root     11086: rm -f conftest.err conftest.$ac_ext
                   11087: fi # $ac_x_includes = no
                   11088: 
                   11089: if test "$ac_x_libraries" = no; then
                   11090:   # Check for the libraries.
                   11091:   # See if we find them without any special options.
                   11092:   # Don't add to $LIBS permanently.
                   11093:   ac_save_LIBS=$LIBS
1.1.1.5 ! root     11094:   LIBS="-lX11 $LIBS"
1.1.1.2   root     11095:   cat >conftest.$ac_ext <<_ACEOF
                   11096: /* confdefs.h.  */
                   11097: _ACEOF
                   11098: cat confdefs.h >>conftest.$ac_ext
                   11099: cat >>conftest.$ac_ext <<_ACEOF
                   11100: /* end confdefs.h.  */
1.1.1.5 ! root     11101: #include <X11/Xlib.h>
1.1.1.2   root     11102: int
                   11103: main ()
                   11104: {
1.1.1.5 ! root     11105: XrmInitialize ()
1.1.1.2   root     11106:   ;
                   11107:   return 0;
                   11108: }
                   11109: _ACEOF
                   11110: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11111: if { (ac_try="$ac_link"
        !          11112: case "(($ac_try" in
        !          11113:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11114:   *) ac_try_echo=$ac_try;;
        !          11115: esac
        !          11116: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11117:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11118:   ac_status=$?
1.1.1.5 ! root     11119:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11120:   rm -f conftest.er1
        !          11121:   cat conftest.err >&5
1.1.1.2   root     11122:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11123:   (exit $ac_status); } && {
        !          11124:         test -z "$ac_c_werror_flag" ||
        !          11125:         test ! -s conftest.err
        !          11126:        } && test -s conftest$ac_exeext &&
        !          11127:        $as_test_x conftest$ac_exeext; then
1.1.1.2   root     11128:   LIBS=$ac_save_LIBS
                   11129: # We can link X programs with no special library path.
                   11130: ac_x_libraries=
                   11131: else
                   11132:   echo "$as_me: failed program was:" >&5
                   11133: sed 's/^/| /' conftest.$ac_ext >&5
                   11134: 
1.1.1.5 ! root     11135:        LIBS=$ac_save_LIBS
1.1.1.2   root     11136: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   11137: do
                   11138:   # Don't even attempt the hair of trying to link an X program!
                   11139:   for ac_extension in a so sl; do
1.1.1.5 ! root     11140:     if test -r "$ac_dir/libX11.$ac_extension"; then
1.1.1.2   root     11141:       ac_x_libraries=$ac_dir
                   11142:       break 2
                   11143:     fi
                   11144:   done
                   11145: done
                   11146: fi
1.1.1.5 ! root     11147: 
        !          11148: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11149:       conftest$ac_exeext conftest.$ac_ext
1.1.1.2   root     11150: fi # $ac_x_libraries = no
                   11151: 
1.1.1.5 ! root     11152: case $ac_x_includes,$ac_x_libraries in #(
        !          11153:   no,* | *,no | *\'*)
        !          11154:     # Didn't find X, or a directory has "'" in its name.
        !          11155:     ac_cv_have_x="have_x=no";; #(
        !          11156:   *)
        !          11157:     # Record where we found X for the cache.
        !          11158:     ac_cv_have_x="have_x=yes\
        !          11159:        ac_x_includes='$ac_x_includes'\
        !          11160:        ac_x_libraries='$ac_x_libraries'"
        !          11161: esac
1.1.1.2   root     11162: fi
1.1.1.5 ! root     11163: ;; #(
        !          11164:     *) have_x=yes;;
        !          11165:   esac
1.1.1.2   root     11166:   eval "$ac_cv_have_x"
                   11167: fi # $with_x != no
                   11168: 
                   11169: if test "$have_x" != yes; then
1.1.1.5 ! root     11170:   { echo "$as_me:$LINENO: result: $have_x" >&5
        !          11171: echo "${ECHO_T}$have_x" >&6; }
1.1.1.2   root     11172:   no_x=yes
                   11173: else
                   11174:   # If each of the values was on the command line, it overrides each guess.
                   11175:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   11176:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   11177:   # Update the cache value to reflect the command line values.
1.1.1.5 ! root     11178:   ac_cv_have_x="have_x=yes\
        !          11179:        ac_x_includes='$x_includes'\
        !          11180:        ac_x_libraries='$x_libraries'"
        !          11181:   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
        !          11182: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
1.1.1.2   root     11183: fi
                   11184: 
                   11185: if test "$no_x" = yes; then
                   11186:   # Not all programs may use this symbol, but it does not hurt to define it.
                   11187: 
                   11188: cat >>confdefs.h <<\_ACEOF
                   11189: #define X_DISPLAY_MISSING 1
                   11190: _ACEOF
                   11191: 
                   11192:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   11193: else
                   11194:   if test -n "$x_includes"; then
                   11195:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   11196:   fi
                   11197: 
                   11198:   # It would also be nice to do this for all -L options, not just this one.
                   11199:   if test -n "$x_libraries"; then
                   11200:     X_LIBS="$X_LIBS -L$x_libraries"
                   11201:     # For Solaris; some versions of Sun CC require a space after -R and
                   11202:     # others require no space.  Words are not sufficient . . . .
1.1.1.5 ! root     11203:     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
        !          11204: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
        !          11205:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
        !          11206:     ac_xsave_c_werror_flag=$ac_c_werror_flag
        !          11207:     ac_c_werror_flag=yes
        !          11208:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.2   root     11209: /* confdefs.h.  */
                   11210: _ACEOF
                   11211: cat confdefs.h >>conftest.$ac_ext
                   11212: cat >>conftest.$ac_ext <<_ACEOF
                   11213: /* end confdefs.h.  */
                   11214: 
                   11215: int
                   11216: main ()
                   11217: {
                   11218: 
                   11219:   ;
                   11220:   return 0;
                   11221: }
                   11222: _ACEOF
                   11223: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11224: if { (ac_try="$ac_link"
        !          11225: case "(($ac_try" in
        !          11226:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11227:   *) ac_try_echo=$ac_try;;
        !          11228: esac
        !          11229: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11230:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11231:   ac_status=$?
1.1.1.5 ! root     11232:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11233:   rm -f conftest.er1
        !          11234:   cat conftest.err >&5
1.1.1.2   root     11235:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11236:   (exit $ac_status); } && {
        !          11237:         test -z "$ac_c_werror_flag" ||
        !          11238:         test ! -s conftest.err
        !          11239:        } && test -s conftest$ac_exeext &&
        !          11240:        $as_test_x conftest$ac_exeext; then
        !          11241:   { echo "$as_me:$LINENO: result: no" >&5
        !          11242: echo "${ECHO_T}no" >&6; }
        !          11243:        X_LIBS="$X_LIBS -R$x_libraries"
1.1.1.2   root     11244: else
                   11245:   echo "$as_me: failed program was:" >&5
                   11246: sed 's/^/| /' conftest.$ac_ext >&5
                   11247: 
                   11248:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.1.1.5 ! root     11249:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.2   root     11250: /* confdefs.h.  */
                   11251: _ACEOF
                   11252: cat confdefs.h >>conftest.$ac_ext
                   11253: cat >>conftest.$ac_ext <<_ACEOF
                   11254: /* end confdefs.h.  */
                   11255: 
                   11256: int
                   11257: main ()
                   11258: {
                   11259: 
                   11260:   ;
                   11261:   return 0;
                   11262: }
                   11263: _ACEOF
                   11264: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11265: if { (ac_try="$ac_link"
        !          11266: case "(($ac_try" in
        !          11267:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11268:   *) ac_try_echo=$ac_try;;
        !          11269: esac
        !          11270: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11271:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11272:   ac_status=$?
1.1.1.5 ! root     11273:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11274:   rm -f conftest.er1
        !          11275:   cat conftest.err >&5
1.1.1.2   root     11276:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11277:   (exit $ac_status); } && {
        !          11278:         test -z "$ac_c_werror_flag" ||
        !          11279:         test ! -s conftest.err
        !          11280:        } && test -s conftest$ac_exeext &&
        !          11281:        $as_test_x conftest$ac_exeext; then
        !          11282:   { echo "$as_me:$LINENO: result: yes" >&5
        !          11283: echo "${ECHO_T}yes" >&6; }
        !          11284:          X_LIBS="$X_LIBS -R $x_libraries"
1.1.1.2   root     11285: else
                   11286:   echo "$as_me: failed program was:" >&5
                   11287: sed 's/^/| /' conftest.$ac_ext >&5
                   11288: 
1.1.1.5 ! root     11289:        { echo "$as_me:$LINENO: result: neither works" >&5
        !          11290: echo "${ECHO_T}neither works" >&6; }
1.1.1.2   root     11291: fi
1.1.1.5 ! root     11292: 
        !          11293: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11294:       conftest$ac_exeext conftest.$ac_ext
        !          11295: fi
        !          11296: 
        !          11297: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11298:       conftest$ac_exeext conftest.$ac_ext
        !          11299:     ac_c_werror_flag=$ac_xsave_c_werror_flag
        !          11300:     LIBS=$ac_xsave_LIBS
1.1.1.2   root     11301:   fi
                   11302: 
                   11303:   # Check for system-dependent libraries X programs must link with.
                   11304:   # Do this before checking for the system-independent R6 libraries
                   11305:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   11306: 
                   11307:   if test "$ISC" = yes; then
                   11308:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   11309:   else
                   11310:     # Martyn Johnson says this is needed for Ultrix, if the X
                   11311:     # libraries were built with DECnet support.  And Karl Berry says
                   11312:     # the Alpha needs dnet_stub (dnet does not exist).
                   11313:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   11314:     cat >conftest.$ac_ext <<_ACEOF
                   11315: /* confdefs.h.  */
                   11316: _ACEOF
                   11317: cat confdefs.h >>conftest.$ac_ext
                   11318: cat >>conftest.$ac_ext <<_ACEOF
                   11319: /* end confdefs.h.  */
                   11320: 
1.1.1.5 ! root     11321: /* Override any GCC internal prototype to avoid an error.
        !          11322:    Use char because int might match the return type of a GCC
        !          11323:    builtin and then its argument prototype would still apply.  */
1.1.1.2   root     11324: #ifdef __cplusplus
                   11325: extern "C"
                   11326: #endif
                   11327: char XOpenDisplay ();
                   11328: int
                   11329: main ()
                   11330: {
1.1.1.5 ! root     11331: return XOpenDisplay ();
1.1.1.2   root     11332:   ;
                   11333:   return 0;
                   11334: }
                   11335: _ACEOF
                   11336: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11337: if { (ac_try="$ac_link"
        !          11338: case "(($ac_try" in
        !          11339:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11340:   *) ac_try_echo=$ac_try;;
        !          11341: esac
        !          11342: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11343:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11344:   ac_status=$?
1.1.1.5 ! root     11345:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11346:   rm -f conftest.er1
        !          11347:   cat conftest.err >&5
1.1.1.2   root     11348:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11349:   (exit $ac_status); } && {
        !          11350:         test -z "$ac_c_werror_flag" ||
        !          11351:         test ! -s conftest.err
        !          11352:        } && test -s conftest$ac_exeext &&
        !          11353:        $as_test_x conftest$ac_exeext; then
1.1.1.2   root     11354:   :
                   11355: else
                   11356:   echo "$as_me: failed program was:" >&5
                   11357: sed 's/^/| /' conftest.$ac_ext >&5
                   11358: 
1.1.1.5 ! root     11359:        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
        !          11360: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
1.1.1.2   root     11361: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   11362:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11363: else
                   11364:   ac_check_lib_save_LIBS=$LIBS
                   11365: LIBS="-ldnet  $LIBS"
                   11366: cat >conftest.$ac_ext <<_ACEOF
                   11367: /* confdefs.h.  */
                   11368: _ACEOF
                   11369: cat confdefs.h >>conftest.$ac_ext
                   11370: cat >>conftest.$ac_ext <<_ACEOF
                   11371: /* end confdefs.h.  */
                   11372: 
1.1.1.5 ! root     11373: /* Override any GCC internal prototype to avoid an error.
        !          11374:    Use char because int might match the return type of a GCC
        !          11375:    builtin and then its argument prototype would still apply.  */
1.1.1.2   root     11376: #ifdef __cplusplus
                   11377: extern "C"
                   11378: #endif
                   11379: char dnet_ntoa ();
                   11380: int
                   11381: main ()
                   11382: {
1.1.1.5 ! root     11383: return dnet_ntoa ();
1.1.1.2   root     11384:   ;
                   11385:   return 0;
                   11386: }
                   11387: _ACEOF
                   11388: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11389: if { (ac_try="$ac_link"
        !          11390: case "(($ac_try" in
        !          11391:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11392:   *) ac_try_echo=$ac_try;;
        !          11393: esac
        !          11394: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11395:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11396:   ac_status=$?
1.1.1.5 ! root     11397:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11398:   rm -f conftest.er1
        !          11399:   cat conftest.err >&5
1.1.1.2   root     11400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11401:   (exit $ac_status); } && {
        !          11402:         test -z "$ac_c_werror_flag" ||
        !          11403:         test ! -s conftest.err
        !          11404:        } && test -s conftest$ac_exeext &&
        !          11405:        $as_test_x conftest$ac_exeext; then
1.1.1.2   root     11406:   ac_cv_lib_dnet_dnet_ntoa=yes
                   11407: else
                   11408:   echo "$as_me: failed program was:" >&5
                   11409: sed 's/^/| /' conftest.$ac_ext >&5
                   11410: 
1.1.1.5 ! root     11411:        ac_cv_lib_dnet_dnet_ntoa=no
1.1.1.2   root     11412: fi
1.1.1.5 ! root     11413: 
        !          11414: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11415:       conftest$ac_exeext conftest.$ac_ext
1.1.1.2   root     11416: LIBS=$ac_check_lib_save_LIBS
                   11417: fi
1.1.1.5 ! root     11418: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
        !          11419: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.1.1.2   root     11420: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
                   11421:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   11422: fi
                   11423: 
                   11424:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.1.1.5 ! root     11425:       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
        !          11426: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
1.1.1.2   root     11427: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   11428:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11429: else
                   11430:   ac_check_lib_save_LIBS=$LIBS
                   11431: LIBS="-ldnet_stub  $LIBS"
                   11432: cat >conftest.$ac_ext <<_ACEOF
                   11433: /* confdefs.h.  */
                   11434: _ACEOF
                   11435: cat confdefs.h >>conftest.$ac_ext
                   11436: cat >>conftest.$ac_ext <<_ACEOF
                   11437: /* end confdefs.h.  */
                   11438: 
1.1.1.5 ! root     11439: /* Override any GCC internal prototype to avoid an error.
        !          11440:    Use char because int might match the return type of a GCC
        !          11441:    builtin and then its argument prototype would still apply.  */
1.1.1.2   root     11442: #ifdef __cplusplus
                   11443: extern "C"
                   11444: #endif
                   11445: char dnet_ntoa ();
                   11446: int
                   11447: main ()
                   11448: {
1.1.1.5 ! root     11449: return dnet_ntoa ();
1.1.1.2   root     11450:   ;
                   11451:   return 0;
                   11452: }
                   11453: _ACEOF
                   11454: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11455: if { (ac_try="$ac_link"
        !          11456: case "(($ac_try" in
        !          11457:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11458:   *) ac_try_echo=$ac_try;;
        !          11459: esac
        !          11460: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11461:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11462:   ac_status=$?
1.1.1.5 ! root     11463:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11464:   rm -f conftest.er1
        !          11465:   cat conftest.err >&5
1.1.1.2   root     11466:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.5 ! root     11467:   (exit $ac_status); } && {
        !          11468:         test -z "$ac_c_werror_flag" ||
        !          11469:         test ! -s conftest.err
        !          11470:        } && test -s conftest$ac_exeext &&
        !          11471:        $as_test_x conftest$ac_exeext; then
1.1.1.2   root     11472:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   11473: else
                   11474:   echo "$as_me: failed program was:" >&5
                   11475: sed 's/^/| /' conftest.$ac_ext >&5
                   11476: 
1.1.1.5 ! root     11477:        ac_cv_lib_dnet_stub_dnet_ntoa=no
1.1.1.2   root     11478: fi
1.1.1.5 ! root     11479: 
        !          11480: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11481:       conftest$ac_exeext conftest.$ac_ext
1.1.1.2   root     11482: LIBS=$ac_check_lib_save_LIBS
                   11483: fi
1.1.1.5 ! root     11484: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
        !          11485: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.1.1.2   root     11486: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
                   11487:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   11488: fi
                   11489: 
                   11490:     fi
                   11491: fi
1.1.1.5 ! root     11492: 
        !          11493: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          11494:       conftest$ac_exeext conftest.$ac_ext
1.1.1.2   root     11495:     LIBS="$ac_xsave_LIBS"
                   11496: 
                   11497:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   11498:     # to get the SysV transport functions.
                   11499:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   11500:     # needs -lnsl.
                   11501:     # The nsl library prevents programs from opening the X display
                   11502:     # on Irix 5.2, according to T.E. Dickey.
                   11503:     # The functions gethostbyname, getservbyname, and inet_addr are
                   11504:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1.1.1.5 ! root     11505:     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
        !          11506: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
1.1.1.2   root     11507: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   11508:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11509: else
                   11510:   cat >conftest.$ac_ext <<_ACEOF
                   11511: /* confdefs.h.  */
                   11512: _ACEOF
                   11513: cat confdefs.h >>conftest.$ac_ext
                   11514: cat >>conftest.$ac_ext <<_ACEOF
                   11515: /* end confdefs.h.  */
1.1.1.5 ! root     11516: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
        !          11517:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          11518: #define gethostbyname innocuous_gethostbyname
        !          11519: 
1.1.1.2   root     11520: /* System header to define __stub macros and hopefully few prototypes,
                   11521:     which can conflict with char gethostbyname (); below.
                   11522:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11523:     <limits.h> exists even on freestanding compilers.  */
1.1.1.5 ! root     11524: 
1.1.1.2   root     11525: #ifdef __STDC__
                   11526: # include <limits.h>
                   11527: #else
                   11528: # include <assert.h>
                   11529: #endif
1.1.1.5 ! root     11530: 
        !          11531: #undef gethostbyname
        !          11532: 
        !          11533: /* Override any GCC internal prototype to avoid an error.
        !          11534:    Use char because int might match the return type of a GCC
        !          11535:    builtin and then its argument prototype would still apply.  */
1.1.1.2   root     11536: #ifdef __cplusplus
                   11537: extern "C"
                   11538: #endif
                   11539: char gethostbyname ();
                   11540: /* The GNU C library defines this for functions which it implements
                   11541:     to always fail with ENOSYS.  Some functions are actually named
                   11542:     something starting with __ and the normal name is an alias.  */
1.1.1.5 ! root     11543: #if defined __stub_gethostbyname || defined __stub___gethostbyname
1.1.1.2   root     11544: choke me
                   11545: #endif
                   11546: 
                   11547: int
                   11548: main ()
                   11549: {
1.1.1.5 ! root     11550: return gethostbyname ();
1.1.1.2   root     11551:   ;
                   11552:   return 0;
                   11553: }
                   11554: _ACEOF
                   11555: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.5 ! root     11556: if { (ac_try="$ac_link"
        !          11557: case "(($ac_try" in
        !          11558:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          11559:   *) ac_try_echo=$ac_try;;
        !          11560: esac
        !          11561: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          11562:   (eval "$ac_link") 2>conftest.er1
1.1.1.2   root     11563:   ac_status=$?
1.1.1.5 ! root     11564:   grep -v '^