Annotation of uae/configure, revision 1.1.1.21

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.19  root        3: # Generated by GNU Autoconf 2.59.
1.1       root        4: #
1.1.1.19  root        5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       root        6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.1.1.19  root        8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
                     22: DUALCASE=1; export DUALCASE # for MKS sh
                     23: 
                     24: # Support unset when possible.
                     25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                     26:   as_unset=unset
                     27: else
                     28:   as_unset=false
                     29: fi
                     30: 
                     31: 
                     32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
                     34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
                     39: for as_var in \
                     40:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                     41:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                     42:   LC_TELEPHONE LC_TIME
                     43: do
                     44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                     45:     eval $as_var=C; export $as_var
                     46:   else
                     47:     $as_unset $as_var
                     48:   fi
                     49: done
                     50: 
                     51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
                     53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
                     58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                     59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
                     65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
                     67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
                     69:         X"$0" : 'X\(/\)$' \| \
                     70:         .     : '\(.\)' 2>/dev/null ||
                     71: echo X/"$0" |
                     72:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     73:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     74:          /^X\/\(\/\).*/{ s//\1/; q; }
                     75:          s/.*/./; q'`
                     76: 
                     77: 
                     78: # PATH needs CR, and LINENO needs CR and PATH.
                     79: # Avoid depending upon Character Ranges.
                     80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     83: as_cr_digits='0123456789'
                     84: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     85: 
                     86: # The user is always right.
                     87: if test "${PATH_SEPARATOR+set}" != set; then
                     88:   echo "#! /bin/sh" >conf$$.sh
                     89:   echo  "exit 0"   >>conf$$.sh
                     90:   chmod +x conf$$.sh
                     91:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     92:     PATH_SEPARATOR=';'
                     93:   else
                     94:     PATH_SEPARATOR=:
                     95:   fi
                     96:   rm -f conf$$.sh
                     97: fi
                     98: 
                     99: 
                    100:   as_lineno_1=$LINENO
                    101:   as_lineno_2=$LINENO
                    102:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    103:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    104:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    105:   # Find who we are.  Look in the path if we contain no path at all
                    106:   # relative or not.
                    107:   case $0 in
                    108:     *[\\/]* ) as_myself=$0 ;;
                    109:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    110: for as_dir in $PATH
                    111: do
                    112:   IFS=$as_save_IFS
                    113:   test -z "$as_dir" && as_dir=.
                    114:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    115: done
                    116: 
                    117:        ;;
                    118:   esac
                    119:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    120:   # in which case we are not to be found in the path.
                    121:   if test "x$as_myself" = x; then
                    122:     as_myself=$0
                    123:   fi
                    124:   if test ! -f "$as_myself"; then
                    125:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    126:    { (exit 1); exit 1; }; }
                    127:   fi
                    128:   case $CONFIG_SHELL in
                    129:   '')
                    130:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    132: do
                    133:   IFS=$as_save_IFS
                    134:   test -z "$as_dir" && as_dir=.
                    135:   for as_base in sh bash ksh sh5; do
                    136:         case $as_dir in
                    137:         /*)
                    138:           if ("$as_dir/$as_base" -c '
                    139:   as_lineno_1=$LINENO
                    140:   as_lineno_2=$LINENO
                    141:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    142:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    143:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    144:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                    145:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                    146:             CONFIG_SHELL=$as_dir/$as_base
                    147:             export CONFIG_SHELL
                    148:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    149:           fi;;
                    150:         esac
                    151:        done
                    152: done
                    153: ;;
                    154:   esac
                    155: 
                    156:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    157:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    158:   # line-number line before each line; the second 'sed' does the real
                    159:   # work.  The second script uses 'N' to pair each line-number line
                    160:   # with the numbered line, and appends trailing '-' during
                    161:   # substitution so that $LINENO is not a special case at line end.
                    162:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    163:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    164:   sed '=' <$as_myself |
                    165:     sed '
                    166:       N
                    167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    170:       t loop
                    171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
                    173:     ' >$as_me.lineno &&
                    174:   chmod +x $as_me.lineno ||
                    175:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    176:    { (exit 1); exit 1; }; }
                    177: 
                    178:   # Don't try to exec as it changes $[0], causing all sort of problems
                    179:   # (the dirname of $[0] is not the place where we might find the
                    180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
                    182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
                    186: 
                    187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    188:   *c*,-n*) ECHO_N= ECHO_C='
                    189: ' ECHO_T='     ' ;;
                    190:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    191:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    192: esac
1.1       root      193: 
1.1.1.19  root      194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
                    196: else
                    197:   as_expr=false
                    198: fi
                    199: 
                    200: rm -f conf$$ conf$$.exe conf$$.file
                    201: echo >conf$$.file
                    202: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    203:   # We could just check for DJGPP; but this test a) works b) is more generic
                    204:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    205:   if test -f conf$$.exe; then
                    206:     # Don't use ln at all; we don't have any links
                    207:     as_ln_s='cp -p'
                    208:   else
                    209:     as_ln_s='ln -s'
                    210:   fi
                    211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
                    213: else
                    214:   as_ln_s='cp -p'
                    215: fi
                    216: rm -f conf$$ conf$$.exe conf$$.file
                    217: 
                    218: if mkdir -p . 2>/dev/null; then
                    219:   as_mkdir_p=:
                    220: else
                    221:   test -d ./-p && rmdir ./-p
                    222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
                    228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    229: 
                    230: # Sed expression to map a string onto a valid variable name.
                    231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
                    243: 
                    244: # Name of the host.
                    245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    246: # so uname gets run too.
                    247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    248: 
                    249: exec 6>&1
                    250: 
                    251: #
                    252: # Initializations.
                    253: #
1.1       root      254: ac_default_prefix=/usr/local
1.1.1.19  root      255: ac_config_libobj_dir=.
                    256: cross_compiling=no
                    257: subdirs=
                    258: MFLAGS=
                    259: MAKEFLAGS=
                    260: SHELL=${CONFIG_SHELL-/bin/sh}
                    261: 
                    262: # Maximum number of lines to put in a shell here document.
                    263: # This variable seems obsolete.  It should probably be removed, and
                    264: # only ac_max_sed_lines should be used.
                    265: : ${ac_max_here_lines=38}
                    266: 
                    267: # Identity of this package.
                    268: PACKAGE_NAME=
                    269: PACKAGE_TARNAME=
                    270: PACKAGE_VERSION=
                    271: PACKAGE_STRING=
                    272: PACKAGE_BUGREPORT=
                    273: 
                    274: ac_unique_file="amiga/source/transdisk.c"
                    275: # Factoring default headers for most tests.
                    276: ac_includes_default="\
                    277: #include <stdio.h>
                    278: #if HAVE_SYS_TYPES_H
                    279: # include <sys/types.h>
                    280: #endif
                    281: #if HAVE_SYS_STAT_H
                    282: # include <sys/stat.h>
                    283: #endif
                    284: #if STDC_HEADERS
                    285: # include <stdlib.h>
                    286: # include <stddef.h>
                    287: #else
                    288: # if HAVE_STDLIB_H
                    289: #  include <stdlib.h>
                    290: # endif
                    291: #endif
                    292: #if HAVE_STRING_H
                    293: # if !STDC_HEADERS && HAVE_MEMORY_H
                    294: #  include <memory.h>
                    295: # endif
                    296: # include <string.h>
                    297: #endif
                    298: #if HAVE_STRINGS_H
                    299: # include <strings.h>
                    300: #endif
                    301: #if HAVE_INTTYPES_H
                    302: # include <inttypes.h>
                    303: #else
                    304: # if HAVE_STDINT_H
                    305: #  include <stdint.h>
                    306: # endif
                    307: #endif
                    308: #if HAVE_UNISTD_H
                    309: # include <unistd.h>
                    310: #endif"
                    311: 
1.1.1.20  root      312: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP SET_MAKE MAKEDEPPRG FILEPRG WRCPRG RCLPRG SDL_CONFIG EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS PKG_CONFIG GTK_CFLAGS GTK_LIBS ac_cv_c_inline NO_SCHED_CFLAGS NO_REORDER_CFLAGS LIBRARIES TARGET GFXOBJS RESOBJS ASMOBJS SCSIOBJS CPUOBJS DEBUGOBJS FSDBOBJS MATHLIB SHM_SUPPORT_LINKS top_srcdir LTLIBOBJS'
1.1.1.19  root      313: ac_subst_files=''
1.1       root      314: 
                    315: # Initialize some variables set by options.
1.1.1.19  root      316: ac_init_help=
                    317: ac_init_version=false
1.1       root      318: # The variables have the same names as the options, with
                    319: # dashes changed to underlines.
1.1.1.19  root      320: cache_file=/dev/null
1.1       root      321: exec_prefix=NONE
                    322: no_create=
                    323: no_recursion=
                    324: prefix=NONE
                    325: program_prefix=NONE
                    326: program_suffix=NONE
                    327: program_transform_name=s,x,x,
                    328: silent=
                    329: site=
                    330: srcdir=
                    331: verbose=
                    332: x_includes=NONE
                    333: x_libraries=NONE
1.1.1.19  root      334: 
                    335: # Installation directory options.
                    336: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    337: # and all the variables that are supposed to be based on exec_prefix
                    338: # by default will actually change.
                    339: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       root      340: bindir='${exec_prefix}/bin'
                    341: sbindir='${exec_prefix}/sbin'
                    342: libexecdir='${exec_prefix}/libexec'
                    343: datadir='${prefix}/share'
                    344: sysconfdir='${prefix}/etc'
                    345: sharedstatedir='${prefix}/com'
                    346: localstatedir='${prefix}/var'
                    347: libdir='${exec_prefix}/lib'
                    348: includedir='${prefix}/include'
                    349: oldincludedir='/usr/include'
                    350: infodir='${prefix}/info'
                    351: mandir='${prefix}/man'
                    352: 
                    353: ac_prev=
                    354: for ac_option
                    355: do
                    356:   # If the previous option needs an argument, assign it.
                    357:   if test -n "$ac_prev"; then
                    358:     eval "$ac_prev=\$ac_option"
                    359:     ac_prev=
                    360:     continue
                    361:   fi
                    362: 
1.1.1.19  root      363:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       root      364: 
                    365:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    366: 
1.1.1.19  root      367:   case $ac_option in
1.1       root      368: 
                    369:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    370:     ac_prev=bindir ;;
                    371:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1.1.19  root      372:     bindir=$ac_optarg ;;
1.1       root      373: 
                    374:   -build | --build | --buil | --bui | --bu)
1.1.1.19  root      375:     ac_prev=build_alias ;;
1.1       root      376:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1.1.19  root      377:     build_alias=$ac_optarg ;;
1.1       root      378: 
                    379:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    380:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    381:     ac_prev=cache_file ;;
                    382:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    383:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1.1.19  root      384:     cache_file=$ac_optarg ;;
                    385: 
                    386:   --config-cache | -C)
                    387:     cache_file=config.cache ;;
1.1       root      388: 
                    389:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    390:     ac_prev=datadir ;;
                    391:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    392:   | --da=*)
1.1.1.19  root      393:     datadir=$ac_optarg ;;
1.1       root      394: 
                    395:   -disable-* | --disable-*)
1.1.1.19  root      396:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       root      397:     # Reject names that are not valid shell variable names.
1.1.1.19  root      398:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    399:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    400:    { (exit 1); exit 1; }; }
                    401:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    402:     eval "enable_$ac_feature=no" ;;
1.1       root      403: 
                    404:   -enable-* | --enable-*)
1.1.1.19  root      405:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       root      406:     # Reject names that are not valid shell variable names.
1.1.1.19  root      407:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    408:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    409:    { (exit 1); exit 1; }; }
                    410:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    411:     case $ac_option in
                    412:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       root      413:       *) ac_optarg=yes ;;
                    414:     esac
1.1.1.19  root      415:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       root      416: 
                    417:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    418:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    419:   | --exec | --exe | --ex)
                    420:     ac_prev=exec_prefix ;;
                    421:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    422:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    423:   | --exec=* | --exe=* | --ex=*)
1.1.1.19  root      424:     exec_prefix=$ac_optarg ;;
1.1       root      425: 
                    426:   -gas | --gas | --ga | --g)
                    427:     # Obsolete; use --with-gas.
                    428:     with_gas=yes ;;
                    429: 
1.1.1.19  root      430:   -help | --help | --hel | --he | -h)
                    431:     ac_init_help=long ;;
                    432:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    433:     ac_init_help=recursive ;;
                    434:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    435:     ac_init_help=short ;;
1.1       root      436: 
                    437:   -host | --host | --hos | --ho)
1.1.1.19  root      438:     ac_prev=host_alias ;;
1.1       root      439:   -host=* | --host=* | --hos=* | --ho=*)
1.1.1.19  root      440:     host_alias=$ac_optarg ;;
1.1       root      441: 
                    442:   -includedir | --includedir | --includedi | --included | --include \
                    443:   | --includ | --inclu | --incl | --inc)
                    444:     ac_prev=includedir ;;
                    445:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    446:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1.1.19  root      447:     includedir=$ac_optarg ;;
1.1       root      448: 
                    449:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    450:     ac_prev=infodir ;;
                    451:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1.1.19  root      452:     infodir=$ac_optarg ;;
1.1       root      453: 
                    454:   -libdir | --libdir | --libdi | --libd)
                    455:     ac_prev=libdir ;;
                    456:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1.1.19  root      457:     libdir=$ac_optarg ;;
1.1       root      458: 
                    459:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    460:   | --libexe | --libex | --libe)
                    461:     ac_prev=libexecdir ;;
                    462:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    463:   | --libexe=* | --libex=* | --libe=*)
1.1.1.19  root      464:     libexecdir=$ac_optarg ;;
1.1       root      465: 
                    466:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    467:   | --localstate | --localstat | --localsta | --localst \
                    468:   | --locals | --local | --loca | --loc | --lo)
                    469:     ac_prev=localstatedir ;;
                    470:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    471:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    472:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.1.1.19  root      473:     localstatedir=$ac_optarg ;;
1.1       root      474: 
                    475:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    476:     ac_prev=mandir ;;
                    477:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1.1.19  root      478:     mandir=$ac_optarg ;;
1.1       root      479: 
                    480:   -nfp | --nfp | --nf)
                    481:     # Obsolete; use --without-fp.
                    482:     with_fp=no ;;
                    483: 
                    484:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1.1.19  root      485:   | --no-cr | --no-c | -n)
1.1       root      486:     no_create=yes ;;
                    487: 
                    488:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    489:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    490:     no_recursion=yes ;;
                    491: 
                    492:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    493:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    494:   | --oldin | --oldi | --old | --ol | --o)
                    495:     ac_prev=oldincludedir ;;
                    496:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    497:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    498:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1.1.19  root      499:     oldincludedir=$ac_optarg ;;
1.1       root      500: 
                    501:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    502:     ac_prev=prefix ;;
                    503:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1.1.19  root      504:     prefix=$ac_optarg ;;
1.1       root      505: 
                    506:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    507:   | --program-pre | --program-pr | --program-p)
                    508:     ac_prev=program_prefix ;;
                    509:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    510:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1.1.19  root      511:     program_prefix=$ac_optarg ;;
1.1       root      512: 
                    513:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    514:   | --program-suf | --program-su | --program-s)
                    515:     ac_prev=program_suffix ;;
                    516:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    517:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1.1.19  root      518:     program_suffix=$ac_optarg ;;
1.1       root      519: 
                    520:   -program-transform-name | --program-transform-name \
                    521:   | --program-transform-nam | --program-transform-na \
                    522:   | --program-transform-n | --program-transform- \
                    523:   | --program-transform | --program-transfor \
                    524:   | --program-transfo | --program-transf \
                    525:   | --program-trans | --program-tran \
                    526:   | --progr-tra | --program-tr | --program-t)
                    527:     ac_prev=program_transform_name ;;
                    528:   -program-transform-name=* | --program-transform-name=* \
                    529:   | --program-transform-nam=* | --program-transform-na=* \
                    530:   | --program-transform-n=* | --program-transform-=* \
                    531:   | --program-transform=* | --program-transfor=* \
                    532:   | --program-transfo=* | --program-transf=* \
                    533:   | --program-trans=* | --program-tran=* \
                    534:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.1.1.19  root      535:     program_transform_name=$ac_optarg ;;
1.1       root      536: 
                    537:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    538:   | -silent | --silent | --silen | --sile | --sil)
                    539:     silent=yes ;;
                    540: 
                    541:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    542:     ac_prev=sbindir ;;
                    543:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    544:   | --sbi=* | --sb=*)
1.1.1.19  root      545:     sbindir=$ac_optarg ;;
1.1       root      546: 
                    547:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    548:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    549:   | --sharedst | --shareds | --shared | --share | --shar \
                    550:   | --sha | --sh)
                    551:     ac_prev=sharedstatedir ;;
                    552:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    553:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    554:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    555:   | --sha=* | --sh=*)
1.1.1.19  root      556:     sharedstatedir=$ac_optarg ;;
1.1       root      557: 
                    558:   -site | --site | --sit)
                    559:     ac_prev=site ;;
                    560:   -site=* | --site=* | --sit=*)
1.1.1.19  root      561:     site=$ac_optarg ;;
1.1       root      562: 
                    563:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    564:     ac_prev=srcdir ;;
                    565:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1.1.19  root      566:     srcdir=$ac_optarg ;;
1.1       root      567: 
                    568:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    569:   | --syscon | --sysco | --sysc | --sys | --sy)
                    570:     ac_prev=sysconfdir ;;
                    571:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    572:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1.1.19  root      573:     sysconfdir=$ac_optarg ;;
1.1       root      574: 
                    575:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.1.1.19  root      576:     ac_prev=target_alias ;;
1.1       root      577:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1.1.19  root      578:     target_alias=$ac_optarg ;;
1.1       root      579: 
                    580:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    581:     verbose=yes ;;
                    582: 
1.1.1.19  root      583:   -version | --version | --versio | --versi | --vers | -V)
                    584:     ac_init_version=: ;;
1.1       root      585: 
                    586:   -with-* | --with-*)
1.1.1.19  root      587:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       root      588:     # Reject names that are not valid shell variable names.
1.1.1.19  root      589:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    590:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    591:    { (exit 1); exit 1; }; }
1.1       root      592:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.1.1.19  root      593:     case $ac_option in
                    594:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       root      595:       *) ac_optarg=yes ;;
                    596:     esac
1.1.1.19  root      597:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       root      598: 
                    599:   -without-* | --without-*)
1.1.1.19  root      600:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       root      601:     # Reject names that are not valid shell variable names.
1.1.1.19  root      602:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    603:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    604:    { (exit 1); exit 1; }; }
                    605:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    606:     eval "with_$ac_package=no" ;;
1.1       root      607: 
                    608:   --x)
                    609:     # Obsolete; use --with-x.
                    610:     with_x=yes ;;
                    611: 
                    612:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    613:   | --x-incl | --x-inc | --x-in | --x-i)
                    614:     ac_prev=x_includes ;;
                    615:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    616:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1.1.19  root      617:     x_includes=$ac_optarg ;;
1.1       root      618: 
                    619:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    620:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    621:     ac_prev=x_libraries ;;
                    622:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    623:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1.1.19  root      624:     x_libraries=$ac_optarg ;;
1.1       root      625: 
1.1.1.19  root      626:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    627: Try \`$0 --help' for more information." >&2
                    628:    { (exit 1); exit 1; }; }
1.1       root      629:     ;;
                    630: 
1.1.1.19  root      631:   *=*)
                    632:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    633:     # Reject names that are not valid shell variable names.
                    634:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    635:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    636:    { (exit 1); exit 1; }; }
                    637:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    638:     eval "$ac_envvar='$ac_optarg'"
                    639:     export $ac_envvar ;;
                    640: 
1.1       root      641:   *)
1.1.1.19  root      642:     # FIXME: should be removed in autoconf 3.0.
                    643:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    644:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    645:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    646:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       root      647:     ;;
                    648: 
                    649:   esac
                    650: done
                    651: 
                    652: if test -n "$ac_prev"; then
1.1.1.19  root      653:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    654:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    655:    { (exit 1); exit 1; }; }
1.1       root      656: fi
                    657: 
1.1.1.19  root      658: # Be sure to have absolute paths.
                    659: for ac_var in exec_prefix prefix
                    660: do
                    661:   eval ac_val=$`echo $ac_var`
                    662:   case $ac_val in
                    663:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    664:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    665:    { (exit 1); exit 1; }; };;
                    666:   esac
                    667: done
1.1       root      668: 
1.1.1.19  root      669: # Be sure to have absolute paths.
                    670: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    671:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       root      672: do
1.1.1.19  root      673:   eval ac_val=$`echo $ac_var`
                    674:   case $ac_val in
                    675:     [\\/$]* | ?:[\\/]* ) ;;
                    676:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    677:    { (exit 1); exit 1; }; };;
1.1       root      678:   esac
                    679: done
                    680: 
1.1.1.19  root      681: # There might be people who depend on the old broken behavior: `$host'
                    682: # used to hold the argument of --host etc.
                    683: # FIXME: To remove some day.
                    684: build=$build_alias
                    685: host=$host_alias
                    686: target=$target_alias
                    687: 
                    688: # FIXME: To remove some day.
                    689: if test "x$host_alias" != x; then
                    690:   if test "x$build_alias" = x; then
                    691:     cross_compiling=maybe
                    692:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    693:     If a cross compiler is detected then cross compile mode will be used." >&2
                    694:   elif test "x$build_alias" != "x$host_alias"; then
                    695:     cross_compiling=yes
                    696:   fi
                    697: fi
1.1       root      698: 
1.1.1.19  root      699: ac_tool_prefix=
                    700: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                    701: 
                    702: test "$silent" = yes && exec 6>/dev/null
1.1       root      703: 
                    704: 
                    705: # Find the source files, if location was not specified.
                    706: if test -z "$srcdir"; then
                    707:   ac_srcdir_defaulted=yes
                    708:   # Try the directory containing this script, then its parent.
1.1.1.19  root      709:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    710: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    711:         X"$0" : 'X\(//\)[^/]' \| \
                    712:         X"$0" : 'X\(//\)$' \| \
                    713:         X"$0" : 'X\(/\)' \| \
                    714:         .     : '\(.\)' 2>/dev/null ||
                    715: echo X"$0" |
                    716:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    717:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    718:          /^X\(\/\/\)$/{ s//\1/; q; }
                    719:          /^X\(\/\).*/{ s//\1/; q; }
                    720:          s/.*/./; q'`
1.1       root      721:   srcdir=$ac_confdir
                    722:   if test ! -r $srcdir/$ac_unique_file; then
                    723:     srcdir=..
                    724:   fi
                    725: else
                    726:   ac_srcdir_defaulted=no
                    727: fi
                    728: if test ! -r $srcdir/$ac_unique_file; then
                    729:   if test "$ac_srcdir_defaulted" = yes; then
1.1.1.19  root      730:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    731:    { (exit 1); exit 1; }; }
1.1       root      732:   else
1.1.1.19  root      733:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    734:    { (exit 1); exit 1; }; }
1.1       root      735:   fi
                    736: fi
1.1.1.19  root      737: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    738:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    739:    { (exit 1); exit 1; }; }
                    740: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    741: ac_env_build_alias_set=${build_alias+set}
                    742: ac_env_build_alias_value=$build_alias
                    743: ac_cv_env_build_alias_set=${build_alias+set}
                    744: ac_cv_env_build_alias_value=$build_alias
                    745: ac_env_host_alias_set=${host_alias+set}
                    746: ac_env_host_alias_value=$host_alias
                    747: ac_cv_env_host_alias_set=${host_alias+set}
                    748: ac_cv_env_host_alias_value=$host_alias
                    749: ac_env_target_alias_set=${target_alias+set}
                    750: ac_env_target_alias_value=$target_alias
                    751: ac_cv_env_target_alias_set=${target_alias+set}
                    752: ac_cv_env_target_alias_value=$target_alias
                    753: ac_env_CC_set=${CC+set}
                    754: ac_env_CC_value=$CC
                    755: ac_cv_env_CC_set=${CC+set}
                    756: ac_cv_env_CC_value=$CC
                    757: ac_env_CFLAGS_set=${CFLAGS+set}
                    758: ac_env_CFLAGS_value=$CFLAGS
                    759: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    760: ac_cv_env_CFLAGS_value=$CFLAGS
                    761: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    762: ac_env_LDFLAGS_value=$LDFLAGS
                    763: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    764: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    765: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    766: ac_env_CPPFLAGS_value=$CPPFLAGS
                    767: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    768: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    769: ac_env_CPP_set=${CPP+set}
                    770: ac_env_CPP_value=$CPP
                    771: ac_cv_env_CPP_set=${CPP+set}
                    772: ac_cv_env_CPP_value=$CPP
                    773: 
                    774: #
                    775: # Report the --help message.
                    776: #
                    777: if test "$ac_init_help" = "long"; then
                    778:   # Omit some internal or obsolete options to make the list less imposing.
                    779:   # This message is too long to be a string in the A/UX 3.1 sh.
                    780:   cat <<_ACEOF
                    781: \`configure' configures this package to adapt to many kinds of systems.
                    782: 
                    783: Usage: $0 [OPTION]... [VAR=VALUE]...
                    784: 
                    785: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    786: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    787: 
                    788: Defaults for the options are specified in brackets.
                    789: 
                    790: Configuration:
                    791:   -h, --help              display this help and exit
                    792:       --help=short        display options specific to this package
                    793:       --help=recursive    display the short help of all the included packages
                    794:   -V, --version           display version information and exit
                    795:   -q, --quiet, --silent   do not print \`checking...' messages
                    796:       --cache-file=FILE   cache test results in FILE [disabled]
                    797:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    798:   -n, --no-create         do not create output files
                    799:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    800: 
                    801: _ACEOF
                    802: 
                    803:   cat <<_ACEOF
                    804: Installation directories:
                    805:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    806:                          [$ac_default_prefix]
                    807:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    808:                          [PREFIX]
                    809: 
                    810: By default, \`make install' will install all the files in
                    811: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    812: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    813: for instance \`--prefix=\$HOME'.
                    814: 
                    815: For better control, use the options below.
                    816: 
                    817: Fine tuning of the installation directories:
                    818:   --bindir=DIR           user executables [EPREFIX/bin]
                    819:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    820:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    821:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    822:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    823:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    824:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    825:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    826:   --includedir=DIR       C header files [PREFIX/include]
                    827:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    828:   --infodir=DIR          info documentation [PREFIX/info]
                    829:   --mandir=DIR           man documentation [PREFIX/man]
                    830: _ACEOF
                    831: 
                    832:   cat <<\_ACEOF
                    833: 
                    834: X features:
                    835:   --x-includes=DIR    X include files are in DIR
                    836:   --x-libraries=DIR   X library files are in DIR
                    837: 
                    838: System types:
                    839:   --build=BUILD     configure for building on BUILD [guessed]
                    840:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    841: _ACEOF
                    842: fi
                    843: 
                    844: if test -n "$ac_init_help"; then
                    845: 
                    846:   cat <<\_ACEOF
                    847: 
                    848: Optional Features:
                    849:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    850:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    851:   --enable-profiling      Build a profiling (SLOW!) version
                    852:   --enable-dga            X11 version: Use the DGA extension
                    853:   --enable-vidmode        X11 version: Use the XF86VidMode extension
                    854:   --enable-ui             Use a user interface if possible (default on)
1.1.1.20  root      855:   --disable-gtktest       do not try to compile and run a test GTK+ program
1.1.1.19  root      856:   --enable-threads        Enable some generally useful thread support
                    857:   --enable-file-sound     Enable sound output to file
                    858:   --enable-scsi-device    Enable the uaescsi.device
                    859: 
                    860: Optional Packages:
                    861:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    862:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    863:   --with-x                use the X Window System
                    864:   --with-svgalib          Use SVGAlib for graphics output
                    865:   --with-sdl              Use SDL library for low-level functions
                    866:   --with-sdl-sound        Use SDL library for sound
                    867:   --with-sdl-gfx          Use SDL library for graphics
                    868:   --with-alsa             Use ALSA library for sound
                    869:   --with-asciiart         Use ncurses ascii art for graphics output
                    870:   --with-hostcc=x         Use a x as compiler for the host system
                    871: 
                    872: Some influential environment variables:
                    873:   CC          C compiler command
                    874:   CFLAGS      C compiler flags
                    875:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    876:               nonstandard directory <lib dir>
                    877:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    878:               headers in a nonstandard directory <include dir>
                    879:   CPP         C preprocessor
                    880: 
                    881: Use these variables to override the choices made by `configure' or to help
                    882: it to find libraries and programs with nonstandard names/locations.
                    883: 
                    884: _ACEOF
                    885: fi
                    886: 
                    887: if test "$ac_init_help" = "recursive"; then
                    888:   # If there are subdirs, report their specific --help.
                    889:   ac_popdir=`pwd`
                    890:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    891:     test -d $ac_dir || continue
                    892:     ac_builddir=.
                    893: 
                    894: if test "$ac_dir" != .; then
                    895:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    896:   # A "../" for each directory in $ac_dir_suffix.
                    897:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    898: else
                    899:   ac_dir_suffix= ac_top_builddir=
                    900: fi
                    901: 
                    902: case $srcdir in
                    903:   .)  # No --srcdir option.  We are building in place.
                    904:     ac_srcdir=.
                    905:     if test -z "$ac_top_builddir"; then
                    906:        ac_top_srcdir=.
                    907:     else
                    908:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    909:     fi ;;
                    910:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    911:     ac_srcdir=$srcdir$ac_dir_suffix;
                    912:     ac_top_srcdir=$srcdir ;;
                    913:   *) # Relative path.
                    914:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    915:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    916: esac
                    917: 
                    918: # Do not use `cd foo && pwd` to compute absolute paths, because
                    919: # the directories may not exist.
                    920: case `pwd` in
                    921: .) ac_abs_builddir="$ac_dir";;
                    922: *)
                    923:   case "$ac_dir" in
                    924:   .) ac_abs_builddir=`pwd`;;
                    925:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    926:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    927:   esac;;
                    928: esac
                    929: case $ac_abs_builddir in
                    930: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    931: *)
                    932:   case ${ac_top_builddir}. in
                    933:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    934:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    935:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    936:   esac;;
                    937: esac
                    938: case $ac_abs_builddir in
                    939: .) ac_abs_srcdir=$ac_srcdir;;
                    940: *)
                    941:   case $ac_srcdir in
                    942:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    943:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                    944:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                    945:   esac;;
                    946: esac
                    947: case $ac_abs_builddir in
                    948: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                    949: *)
                    950:   case $ac_top_srcdir in
                    951:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                    952:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                    953:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                    954:   esac;;
                    955: esac
                    956: 
                    957:     cd $ac_dir
                    958:     # Check for guested configure; otherwise get Cygnus style configure.
                    959:     if test -f $ac_srcdir/configure.gnu; then
                    960:       echo
                    961:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    962:     elif test -f $ac_srcdir/configure; then
                    963:       echo
                    964:       $SHELL $ac_srcdir/configure  --help=recursive
                    965:     elif test -f $ac_srcdir/configure.ac ||
                    966:           test -f $ac_srcdir/configure.in; then
                    967:       echo
                    968:       $ac_configure --help
                    969:     else
                    970:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    971:     fi
                    972:     cd $ac_popdir
                    973:   done
                    974: fi
                    975: 
                    976: test -n "$ac_init_help" && exit 0
                    977: if $ac_init_version; then
                    978:   cat <<\_ACEOF
                    979: 
                    980: Copyright (C) 2003 Free Software Foundation, Inc.
                    981: This configure script is free software; the Free Software Foundation
                    982: gives unlimited permission to copy, distribute and modify it.
                    983: _ACEOF
                    984:   exit 0
                    985: fi
                    986: exec 5>config.log
                    987: cat >&5 <<_ACEOF
                    988: This file contains any messages produced by compilers while
                    989: running configure, to aid debugging if configure makes a mistake.
                    990: 
                    991: It was created by $as_me, which was
                    992: generated by GNU Autoconf 2.59.  Invocation command line was
                    993: 
                    994:   $ $0 $@
                    995: 
                    996: _ACEOF
                    997: {
                    998: cat <<_ASUNAME
                    999: ## --------- ##
                   1000: ## Platform. ##
                   1001: ## --------- ##
                   1002: 
                   1003: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1004: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1005: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1006: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1007: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1008: 
                   1009: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1010: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1011: 
                   1012: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1013: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1014: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1015: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1016: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1017: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1018: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1019: 
                   1020: _ASUNAME
                   1021: 
                   1022: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1023: for as_dir in $PATH
                   1024: do
                   1025:   IFS=$as_save_IFS
                   1026:   test -z "$as_dir" && as_dir=.
                   1027:   echo "PATH: $as_dir"
                   1028: done
                   1029: 
                   1030: } >&5
                   1031: 
                   1032: cat >&5 <<_ACEOF
                   1033: 
                   1034: 
                   1035: ## ----------- ##
                   1036: ## Core tests. ##
                   1037: ## ----------- ##
                   1038: 
                   1039: _ACEOF
                   1040: 
                   1041: 
                   1042: # Keep a trace of the command line.
                   1043: # Strip out --no-create and --no-recursion so they do not pile up.
                   1044: # Strip out --silent because we don't want to record it for future runs.
                   1045: # Also quote any args containing shell meta-characters.
                   1046: # Make two passes to allow for proper duplicate-argument suppression.
                   1047: ac_configure_args=
                   1048: ac_configure_args0=
                   1049: ac_configure_args1=
                   1050: ac_sep=
                   1051: ac_must_keep_next=false
                   1052: for ac_pass in 1 2
                   1053: do
                   1054:   for ac_arg
                   1055:   do
                   1056:     case $ac_arg in
                   1057:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1058:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1059:     | -silent | --silent | --silen | --sile | --sil)
                   1060:       continue ;;
                   1061:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1062:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1063:     esac
                   1064:     case $ac_pass in
                   1065:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1066:     2)
                   1067:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1068:       if test $ac_must_keep_next = true; then
                   1069:        ac_must_keep_next=false # Got value, back to normal.
                   1070:       else
                   1071:        case $ac_arg in
                   1072:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1073:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1074:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1075:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1076:            case "$ac_configure_args0 " in
                   1077:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1078:            esac
                   1079:            ;;
                   1080:          -* ) ac_must_keep_next=true ;;
                   1081:        esac
                   1082:       fi
                   1083:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1084:       # Get rid of the leading space.
                   1085:       ac_sep=" "
                   1086:       ;;
                   1087:     esac
                   1088:   done
                   1089: done
                   1090: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1091: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1092: 
                   1093: # When interrupted or exit'd, cleanup temporary files, and complete
                   1094: # config.log.  We remove comments because anyway the quotes in there
                   1095: # would cause problems or look ugly.
                   1096: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1097: # such as our DU 5.0 friend, will then `close' the trap.
                   1098: trap 'exit_status=$?
                   1099:   # Save into config.log some information that might help in debugging.
                   1100:   {
                   1101:     echo
                   1102: 
                   1103:     cat <<\_ASBOX
                   1104: ## ---------------- ##
                   1105: ## Cache variables. ##
                   1106: ## ---------------- ##
                   1107: _ASBOX
                   1108:     echo
                   1109:     # The following way of writing the cache mishandles newlines in values,
                   1110: {
                   1111:   (set) 2>&1 |
                   1112:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1113:     *ac_space=\ *)
                   1114:       sed -n \
                   1115:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1116:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1117:       ;;
                   1118:     *)
                   1119:       sed -n \
                   1120:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1121:       ;;
                   1122:     esac;
                   1123: }
                   1124:     echo
                   1125: 
                   1126:     cat <<\_ASBOX
                   1127: ## ----------------- ##
                   1128: ## Output variables. ##
                   1129: ## ----------------- ##
                   1130: _ASBOX
                   1131:     echo
                   1132:     for ac_var in $ac_subst_vars
                   1133:     do
                   1134:       eval ac_val=$`echo $ac_var`
                   1135:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1136:     done | sort
                   1137:     echo
                   1138: 
                   1139:     if test -n "$ac_subst_files"; then
                   1140:       cat <<\_ASBOX
                   1141: ## ------------- ##
                   1142: ## Output files. ##
                   1143: ## ------------- ##
                   1144: _ASBOX
                   1145:       echo
                   1146:       for ac_var in $ac_subst_files
                   1147:       do
                   1148:        eval ac_val=$`echo $ac_var`
                   1149:        echo "$ac_var='"'"'$ac_val'"'"'"
                   1150:       done | sort
                   1151:       echo
                   1152:     fi
                   1153: 
                   1154:     if test -s confdefs.h; then
                   1155:       cat <<\_ASBOX
                   1156: ## ----------- ##
                   1157: ## confdefs.h. ##
                   1158: ## ----------- ##
                   1159: _ASBOX
                   1160:       echo
                   1161:       sed "/^$/d" confdefs.h | sort
                   1162:       echo
                   1163:     fi
                   1164:     test "$ac_signal" != 0 &&
                   1165:       echo "$as_me: caught signal $ac_signal"
                   1166:     echo "$as_me: exit $exit_status"
                   1167:   } >&5
                   1168:   rm -f core *.core &&
                   1169:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1170:     exit $exit_status
                   1171:      ' 0
                   1172: for ac_signal in 1 2 13 15; do
                   1173:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1174: done
                   1175: ac_signal=0
                   1176: 
                   1177: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1178: rm -rf conftest* confdefs.h
                   1179: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1180: echo >confdefs.h
                   1181: 
                   1182: # Predefined preprocessor variables.
                   1183: 
                   1184: cat >>confdefs.h <<_ACEOF
                   1185: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1186: _ACEOF
                   1187: 
                   1188: 
                   1189: cat >>confdefs.h <<_ACEOF
                   1190: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1191: _ACEOF
                   1192: 
                   1193: 
                   1194: cat >>confdefs.h <<_ACEOF
                   1195: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1196: _ACEOF
                   1197: 
1.1       root     1198: 
1.1.1.19  root     1199: cat >>confdefs.h <<_ACEOF
                   1200: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1201: _ACEOF
                   1202: 
                   1203: 
                   1204: cat >>confdefs.h <<_ACEOF
                   1205: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1206: _ACEOF
                   1207: 
                   1208: 
                   1209: # Let the site file select an alternate cache file if it wants to.
1.1       root     1210: # Prefer explicitly selected file to automatically selected ones.
                   1211: if test -z "$CONFIG_SITE"; then
                   1212:   if test "x$prefix" != xNONE; then
                   1213:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1214:   else
                   1215:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1216:   fi
                   1217: fi
                   1218: for ac_site_file in $CONFIG_SITE; do
                   1219:   if test -r "$ac_site_file"; then
1.1.1.19  root     1220:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1221: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1222:     sed 's/^/| /' "$ac_site_file" >&5
1.1       root     1223:     . "$ac_site_file"
                   1224:   fi
                   1225: done
                   1226: 
                   1227: if test -r "$cache_file"; then
1.1.1.19  root     1228:   # Some versions of bash will fail to source /dev/null (special
                   1229:   # files actually), so we avoid doing that.
                   1230:   if test -f "$cache_file"; then
                   1231:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1232: echo "$as_me: loading cache $cache_file" >&6;}
                   1233:     case $cache_file in
                   1234:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1235:       *)                      . ./$cache_file;;
                   1236:     esac
                   1237:   fi
1.1       root     1238: else
1.1.1.19  root     1239:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1240: echo "$as_me: creating cache $cache_file" >&6;}
                   1241:   >$cache_file
                   1242: fi
                   1243: 
                   1244: # Check that the precious variables saved in the cache have kept the same
                   1245: # value.
                   1246: ac_cache_corrupted=false
                   1247: for ac_var in `(set) 2>&1 |
                   1248:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1249:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1250:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1251:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1252:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1253:   case $ac_old_set,$ac_new_set in
                   1254:     set,)
                   1255:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1256: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1257:       ac_cache_corrupted=: ;;
                   1258:     ,set)
                   1259:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1260: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1261:       ac_cache_corrupted=: ;;
                   1262:     ,);;
                   1263:     *)
                   1264:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1265:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1266: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1267:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1268: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1269:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1270: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1271:        ac_cache_corrupted=:
                   1272:       fi;;
                   1273:   esac
                   1274:   # Pass precious variables to config.status.
                   1275:   if test "$ac_new_set" = set; then
                   1276:     case $ac_new_val in
                   1277:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1278:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1279:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1280:     esac
                   1281:     case " $ac_configure_args " in
                   1282:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1283:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1284:     esac
                   1285:   fi
                   1286: done
                   1287: if $ac_cache_corrupted; then
                   1288:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1289: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1290:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1291: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1292:    { (exit 1); exit 1; }; }
1.1       root     1293: fi
                   1294: 
                   1295: ac_ext=c
                   1296: ac_cpp='$CPP $CPPFLAGS'
1.1.1.19  root     1297: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1298: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1299: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     1300: 
                   1301: 
                   1302: 
                   1303: 
1.1.1.4   root     1304: 
1.1.1.19  root     1305: 
                   1306: 
                   1307: 
                   1308: 
                   1309: 
                   1310: 
                   1311: 
                   1312: 
                   1313: 
                   1314: 
                   1315: 
                   1316: 
                   1317: 
                   1318: 
                   1319: 
                   1320: 
                   1321: 
                   1322: ac_ext=c
                   1323: ac_cpp='$CPP $CPPFLAGS'
                   1324: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1325: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1326: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1327: if test -n "$ac_tool_prefix"; then
                   1328:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1329: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   1330: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1331: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1332: if test "${ac_cv_prog_CC+set}" = set; then
                   1333:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1334: else
                   1335:   if test -n "$CC"; then
                   1336:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1337: else
1.1.1.19  root     1338: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1339: for as_dir in $PATH
                   1340: do
                   1341:   IFS=$as_save_IFS
                   1342:   test -z "$as_dir" && as_dir=.
                   1343:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1344:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1345:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1346:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1347:     break 2
                   1348:   fi
                   1349: done
                   1350: done
                   1351: 
1.1       root     1352: fi
                   1353: fi
1.1.1.19  root     1354: CC=$ac_cv_prog_CC
1.1       root     1355: if test -n "$CC"; then
1.1.1.19  root     1356:   echo "$as_me:$LINENO: result: $CC" >&5
                   1357: echo "${ECHO_T}$CC" >&6
1.1       root     1358: else
1.1.1.19  root     1359:   echo "$as_me:$LINENO: result: no" >&5
                   1360: echo "${ECHO_T}no" >&6
1.1       root     1361: fi
                   1362: 
1.1.1.19  root     1363: fi
                   1364: if test -z "$ac_cv_prog_CC"; then
                   1365:   ac_ct_CC=$CC
                   1366:   # Extract the first word of "gcc", so it can be a program name with args.
                   1367: set dummy gcc; ac_word=$2
                   1368: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1369: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1370: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1371:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1372: else
1.1.1.19  root     1373:   if test -n "$ac_ct_CC"; then
                   1374:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       root     1375: else
1.1.1.19  root     1376: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1377: for as_dir in $PATH
                   1378: do
                   1379:   IFS=$as_save_IFS
                   1380:   test -z "$as_dir" && as_dir=.
                   1381:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1382:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1383:     ac_cv_prog_ac_ct_CC="gcc"
                   1384:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1385:     break 2
                   1386:   fi
                   1387: done
                   1388: done
                   1389: 
                   1390: fi
                   1391: fi
                   1392: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1393: if test -n "$ac_ct_CC"; then
                   1394:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1395: echo "${ECHO_T}$ac_ct_CC" >&6
                   1396: else
                   1397:   echo "$as_me:$LINENO: result: no" >&5
                   1398: echo "${ECHO_T}no" >&6
                   1399: fi
                   1400: 
                   1401:   CC=$ac_ct_CC
                   1402: else
                   1403:   CC="$ac_cv_prog_CC"
                   1404: fi
                   1405: 
                   1406: if test -z "$CC"; then
                   1407:   if test -n "$ac_tool_prefix"; then
                   1408:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   1409: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   1410: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1411: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1412: if test "${ac_cv_prog_CC+set}" = set; then
                   1413:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1414: else
                   1415:   if test -n "$CC"; then
                   1416:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1417: else
                   1418: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1419: for as_dir in $PATH
                   1420: do
                   1421:   IFS=$as_save_IFS
                   1422:   test -z "$as_dir" && as_dir=.
                   1423:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1424:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1425:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1426:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1427:     break 2
                   1428:   fi
                   1429: done
                   1430: done
                   1431: 
                   1432: fi
                   1433: fi
                   1434: CC=$ac_cv_prog_CC
                   1435: if test -n "$CC"; then
                   1436:   echo "$as_me:$LINENO: result: $CC" >&5
                   1437: echo "${ECHO_T}$CC" >&6
                   1438: else
                   1439:   echo "$as_me:$LINENO: result: no" >&5
                   1440: echo "${ECHO_T}no" >&6
                   1441: fi
                   1442: 
                   1443: fi
                   1444: if test -z "$ac_cv_prog_CC"; then
                   1445:   ac_ct_CC=$CC
                   1446:   # Extract the first word of "cc", so it can be a program name with args.
                   1447: set dummy cc; ac_word=$2
                   1448: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1449: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1450: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1451:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1452: else
                   1453:   if test -n "$ac_ct_CC"; then
                   1454:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1455: else
                   1456: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1457: for as_dir in $PATH
                   1458: do
                   1459:   IFS=$as_save_IFS
                   1460:   test -z "$as_dir" && as_dir=.
                   1461:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1462:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1463:     ac_cv_prog_ac_ct_CC="cc"
                   1464:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1465:     break 2
                   1466:   fi
                   1467: done
                   1468: done
                   1469: 
                   1470: fi
                   1471: fi
                   1472: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1473: if test -n "$ac_ct_CC"; then
                   1474:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1475: echo "${ECHO_T}$ac_ct_CC" >&6
                   1476: else
                   1477:   echo "$as_me:$LINENO: result: no" >&5
                   1478: echo "${ECHO_T}no" >&6
                   1479: fi
                   1480: 
                   1481:   CC=$ac_ct_CC
                   1482: else
                   1483:   CC="$ac_cv_prog_CC"
                   1484: fi
                   1485: 
                   1486: fi
                   1487: if test -z "$CC"; then
                   1488:   # Extract the first word of "cc", so it can be a program name with args.
                   1489: set dummy cc; ac_word=$2
                   1490: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1491: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1492: if test "${ac_cv_prog_CC+set}" = set; then
                   1493:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1494: else
                   1495:   if test -n "$CC"; then
                   1496:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1497: else
                   1498:   ac_prog_rejected=no
                   1499: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1500: for as_dir in $PATH
                   1501: do
                   1502:   IFS=$as_save_IFS
                   1503:   test -z "$as_dir" && as_dir=.
                   1504:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1505:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1506:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   1507:        ac_prog_rejected=yes
                   1508:        continue
                   1509:      fi
                   1510:     ac_cv_prog_CC="cc"
                   1511:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1512:     break 2
                   1513:   fi
                   1514: done
                   1515: done
                   1516: 
                   1517: if test $ac_prog_rejected = yes; then
                   1518:   # We found a bogon in the path, so make sure we never use it.
                   1519:   set dummy $ac_cv_prog_CC
1.1       root     1520:   shift
1.1.1.19  root     1521:   if test $# != 0; then
1.1       root     1522:     # We chose a different compiler from the bogus one.
                   1523:     # However, it has the same basename, so the bogon will be chosen
                   1524:     # first if we set CC to just the basename; use the full file name.
                   1525:     shift
1.1.1.19  root     1526:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       root     1527:   fi
                   1528: fi
                   1529: fi
                   1530: fi
1.1.1.19  root     1531: CC=$ac_cv_prog_CC
1.1       root     1532: if test -n "$CC"; then
1.1.1.19  root     1533:   echo "$as_me:$LINENO: result: $CC" >&5
                   1534: echo "${ECHO_T}$CC" >&6
1.1       root     1535: else
1.1.1.19  root     1536:   echo "$as_me:$LINENO: result: no" >&5
                   1537: echo "${ECHO_T}no" >&6
1.1       root     1538: fi
                   1539: 
1.1.1.19  root     1540: fi
                   1541: if test -z "$CC"; then
                   1542:   if test -n "$ac_tool_prefix"; then
                   1543:   for ac_prog in cl
                   1544:   do
                   1545:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1546: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1547: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1548: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1549: if test "${ac_cv_prog_CC+set}" = set; then
                   1550:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.9   root     1551: else
                   1552:   if test -n "$CC"; then
                   1553:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1554: else
1.1.1.19  root     1555: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1556: for as_dir in $PATH
                   1557: do
                   1558:   IFS=$as_save_IFS
                   1559:   test -z "$as_dir" && as_dir=.
                   1560:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1561:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1562:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   1563:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1564:     break 2
                   1565:   fi
                   1566: done
                   1567: done
                   1568: 
1.1.1.9   root     1569: fi
                   1570: fi
1.1.1.19  root     1571: CC=$ac_cv_prog_CC
1.1.1.9   root     1572: if test -n "$CC"; then
1.1.1.19  root     1573:   echo "$as_me:$LINENO: result: $CC" >&5
                   1574: echo "${ECHO_T}$CC" >&6
1.1.1.9   root     1575: else
1.1.1.19  root     1576:   echo "$as_me:$LINENO: result: no" >&5
                   1577: echo "${ECHO_T}no" >&6
1.1.1.9   root     1578: fi
1.1.1.19  root     1579: 
                   1580:     test -n "$CC" && break
                   1581:   done
                   1582: fi
                   1583: if test -z "$CC"; then
                   1584:   ac_ct_CC=$CC
                   1585:   for ac_prog in cl
                   1586: do
                   1587:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1588: set dummy $ac_prog; ac_word=$2
                   1589: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1590: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1591: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1592:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1593: else
                   1594:   if test -n "$ac_ct_CC"; then
                   1595:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1596: else
                   1597: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1598: for as_dir in $PATH
                   1599: do
                   1600:   IFS=$as_save_IFS
                   1601:   test -z "$as_dir" && as_dir=.
                   1602:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1603:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1604:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   1605:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1606:     break 2
1.1.1.9   root     1607:   fi
1.1.1.19  root     1608: done
                   1609: done
                   1610: 
1.1       root     1611: fi
1.1.1.19  root     1612: fi
                   1613: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1614: if test -n "$ac_ct_CC"; then
                   1615:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1616: echo "${ECHO_T}$ac_ct_CC" >&6
                   1617: else
                   1618:   echo "$as_me:$LINENO: result: no" >&5
                   1619: echo "${ECHO_T}no" >&6
                   1620: fi
                   1621: 
                   1622:   test -n "$ac_ct_CC" && break
                   1623: done
1.1       root     1624: 
1.1.1.19  root     1625:   CC=$ac_ct_CC
                   1626: fi
1.1.1.4   root     1627: 
1.1.1.19  root     1628: fi
1.1.1.4   root     1629: 
1.1.1.9   root     1630: 
1.1.1.19  root     1631: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   1632: See \`config.log' for more details." >&5
                   1633: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   1634: See \`config.log' for more details." >&2;}
                   1635:    { (exit 1); exit 1; }; }
                   1636: 
                   1637: # Provide some information about the compiler.
                   1638: echo "$as_me:$LINENO:" \
                   1639:      "checking for C compiler version" >&5
                   1640: ac_compiler=`set X $ac_compile; echo $2`
                   1641: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   1642:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   1643:   ac_status=$?
                   1644:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1645:   (exit $ac_status); }
                   1646: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   1647:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   1648:   ac_status=$?
                   1649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1650:   (exit $ac_status); }
                   1651: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   1652:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   1653:   ac_status=$?
                   1654:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1655:   (exit $ac_status); }
                   1656: 
                   1657: cat >conftest.$ac_ext <<_ACEOF
                   1658: /* confdefs.h.  */
                   1659: _ACEOF
                   1660: cat confdefs.h >>conftest.$ac_ext
                   1661: cat >>conftest.$ac_ext <<_ACEOF
                   1662: /* end confdefs.h.  */
1.1.1.9   root     1663: 
1.1.1.19  root     1664: int
                   1665: main ()
                   1666: {
                   1667: 
                   1668:   ;
                   1669:   return 0;
                   1670: }
                   1671: _ACEOF
                   1672: ac_clean_files_save=$ac_clean_files
                   1673: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   1674: # Try to create an executable without -o first, disregard a.out.
                   1675: # It will help us diagnose broken compilers, and finding out an intuition
                   1676: # of exeext.
                   1677: echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
                   1678: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
                   1679: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   1680: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   1681:   (eval $ac_link_default) 2>&5
                   1682:   ac_status=$?
                   1683:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1684:   (exit $ac_status); }; then
                   1685:   # Find the output, starting from the most likely.  This scheme is
                   1686: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   1687: # resort.
                   1688: 
                   1689: # Be careful to initialize this variable, since it used to be cached.
                   1690: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   1691: ac_cv_exeext=
                   1692: # b.out is created by i960 compilers.
                   1693: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   1694: do
                   1695:   test -f "$ac_file" || continue
                   1696:   case $ac_file in
                   1697:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   1698:        ;;
                   1699:     conftest.$ac_ext )
                   1700:        # This is the source file.
                   1701:        ;;
                   1702:     [ab].out )
                   1703:        # We found the default executable, but exeext='' is most
                   1704:        # certainly right.
                   1705:        break;;
                   1706:     *.* )
                   1707:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1708:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   1709:        # but it would be cool to find out if it's true.  Does anybody
                   1710:        # maintain Libtool? --akim.
                   1711:        export ac_cv_exeext
                   1712:        break;;
                   1713:     * )
                   1714:        break;;
                   1715:   esac
                   1716: done
                   1717: else
                   1718:   echo "$as_me: failed program was:" >&5
                   1719: sed 's/^/| /' conftest.$ac_ext >&5
                   1720: 
                   1721: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
                   1722: See \`config.log' for more details." >&5
                   1723: echo "$as_me: error: C compiler cannot create executables
                   1724: See \`config.log' for more details." >&2;}
                   1725:    { (exit 77); exit 77; }; }
                   1726: fi
                   1727: 
                   1728: ac_exeext=$ac_cv_exeext
                   1729: echo "$as_me:$LINENO: result: $ac_file" >&5
                   1730: echo "${ECHO_T}$ac_file" >&6
                   1731: 
                   1732: # Check the compiler produces executables we can run.  If not, either
                   1733: # the compiler is broken, or we cross compile.
                   1734: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
                   1735: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   1736: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   1737: # If not cross compiling, check that we can run a simple program.
                   1738: if test "$cross_compiling" != yes; then
                   1739:   if { ac_try='./$ac_file'
                   1740:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1741:   (eval $ac_try) 2>&5
                   1742:   ac_status=$?
                   1743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1744:   (exit $ac_status); }; }; then
                   1745:     cross_compiling=no
1.1.1.4   root     1746:   else
1.1.1.19  root     1747:     if test "$cross_compiling" = maybe; then
                   1748:        cross_compiling=yes
                   1749:     else
                   1750:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
                   1751: If you meant to cross compile, use \`--host'.
                   1752: See \`config.log' for more details." >&5
                   1753: echo "$as_me: error: cannot run C compiled programs.
                   1754: If you meant to cross compile, use \`--host'.
                   1755: See \`config.log' for more details." >&2;}
                   1756:    { (exit 1); exit 1; }; }
                   1757:     fi
1.1.1.4   root     1758:   fi
                   1759: fi
1.1.1.19  root     1760: echo "$as_me:$LINENO: result: yes" >&5
                   1761: echo "${ECHO_T}yes" >&6
                   1762: 
                   1763: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   1764: ac_clean_files=$ac_clean_files_save
                   1765: # Check the compiler produces executables we can run.  If not, either
                   1766: # the compiler is broken, or we cross compile.
                   1767: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   1768: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   1769: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   1770: echo "${ECHO_T}$cross_compiling" >&6
                   1771: 
                   1772: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   1773: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   1774: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   1775:   (eval $ac_link) 2>&5
                   1776:   ac_status=$?
                   1777:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1778:   (exit $ac_status); }; then
                   1779:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   1780: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   1781: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   1782: # `rm'.
                   1783: for ac_file in conftest.exe conftest conftest.*; do
                   1784:   test -f "$ac_file" || continue
                   1785:   case $ac_file in
                   1786:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   1787:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1788:          export ac_cv_exeext
                   1789:          break;;
                   1790:     * ) break;;
                   1791:   esac
                   1792: done
1.1       root     1793: else
1.1.1.19  root     1794:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   1795: See \`config.log' for more details." >&5
                   1796: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   1797: See \`config.log' for more details." >&2;}
                   1798:    { (exit 1); exit 1; }; }
                   1799: fi
                   1800: 
                   1801: rm -f conftest$ac_cv_exeext
                   1802: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   1803: echo "${ECHO_T}$ac_cv_exeext" >&6
                   1804: 
                   1805: rm -f conftest.$ac_ext
                   1806: EXEEXT=$ac_cv_exeext
                   1807: ac_exeext=$EXEEXT
                   1808: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   1809: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   1810: if test "${ac_cv_objext+set}" = set; then
                   1811:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1812: else
                   1813:   cat >conftest.$ac_ext <<_ACEOF
                   1814: /* confdefs.h.  */
                   1815: _ACEOF
                   1816: cat confdefs.h >>conftest.$ac_ext
                   1817: cat >>conftest.$ac_ext <<_ACEOF
                   1818: /* end confdefs.h.  */
1.1       root     1819: 
1.1.1.19  root     1820: int
                   1821: main ()
                   1822: {
1.1.1.4   root     1823: 
1.1.1.19  root     1824:   ;
                   1825:   return 0;
                   1826: }
                   1827: _ACEOF
                   1828: rm -f conftest.o conftest.obj
                   1829: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1830:   (eval $ac_compile) 2>&5
                   1831:   ac_status=$?
                   1832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1833:   (exit $ac_status); }; then
                   1834:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   1835:   case $ac_file in
                   1836:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   1837:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   1838:        break;;
                   1839:   esac
                   1840: done
1.1.1.9   root     1841: else
1.1.1.19  root     1842:   echo "$as_me: failed program was:" >&5
                   1843: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.9   root     1844: 
1.1.1.19  root     1845: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   1846: See \`config.log' for more details." >&5
                   1847: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   1848: See \`config.log' for more details." >&2;}
                   1849:    { (exit 1); exit 1; }; }
                   1850: fi
                   1851: 
                   1852: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   1853: fi
                   1854: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   1855: echo "${ECHO_T}$ac_cv_objext" >&6
                   1856: OBJEXT=$ac_cv_objext
                   1857: ac_objext=$OBJEXT
                   1858: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   1859: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   1860: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   1861:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1862: else
                   1863:   cat >conftest.$ac_ext <<_ACEOF
                   1864: /* confdefs.h.  */
                   1865: _ACEOF
                   1866: cat confdefs.h >>conftest.$ac_ext
                   1867: cat >>conftest.$ac_ext <<_ACEOF
                   1868: /* end confdefs.h.  */
                   1869: 
                   1870: int
                   1871: main ()
                   1872: {
                   1873: #ifndef __GNUC__
                   1874:        choke me
                   1875: #endif
                   1876: 
                   1877:   ;
                   1878:   return 0;
                   1879: }
                   1880: _ACEOF
                   1881: rm -f conftest.$ac_objext
                   1882: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1883:   (eval $ac_compile) 2>conftest.er1
                   1884:   ac_status=$?
                   1885:   grep -v '^ *+' conftest.er1 >conftest.err
                   1886:   rm -f conftest.er1
                   1887:   cat conftest.err >&5
                   1888:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1889:   (exit $ac_status); } &&
                   1890:         { ac_try='test -z "$ac_c_werror_flag"
                   1891:                         || test ! -s conftest.err'
                   1892:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1893:   (eval $ac_try) 2>&5
                   1894:   ac_status=$?
                   1895:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1896:   (exit $ac_status); }; } &&
                   1897:         { ac_try='test -s conftest.$ac_objext'
                   1898:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1899:   (eval $ac_try) 2>&5
                   1900:   ac_status=$?
                   1901:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1902:   (exit $ac_status); }; }; then
                   1903:   ac_compiler_gnu=yes
                   1904: else
                   1905:   echo "$as_me: failed program was:" >&5
                   1906: sed 's/^/| /' conftest.$ac_ext >&5
                   1907: 
                   1908: ac_compiler_gnu=no
                   1909: fi
                   1910: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   1911: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   1912: 
                   1913: fi
                   1914: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   1915: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   1916: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   1917: ac_test_CFLAGS=${CFLAGS+set}
                   1918: ac_save_CFLAGS=$CFLAGS
                   1919: CFLAGS="-g"
                   1920: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   1921: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   1922: if test "${ac_cv_prog_cc_g+set}" = set; then
                   1923:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1924: else
                   1925:   cat >conftest.$ac_ext <<_ACEOF
                   1926: /* confdefs.h.  */
                   1927: _ACEOF
                   1928: cat confdefs.h >>conftest.$ac_ext
                   1929: cat >>conftest.$ac_ext <<_ACEOF
                   1930: /* end confdefs.h.  */
                   1931: 
                   1932: int
                   1933: main ()
                   1934: {
                   1935: 
                   1936:   ;
                   1937:   return 0;
                   1938: }
                   1939: _ACEOF
                   1940: rm -f conftest.$ac_objext
                   1941: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1942:   (eval $ac_compile) 2>conftest.er1
                   1943:   ac_status=$?
                   1944:   grep -v '^ *+' conftest.er1 >conftest.err
                   1945:   rm -f conftest.er1
                   1946:   cat conftest.err >&5
                   1947:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1948:   (exit $ac_status); } &&
                   1949:         { ac_try='test -z "$ac_c_werror_flag"
                   1950:                         || test ! -s conftest.err'
                   1951:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1952:   (eval $ac_try) 2>&5
                   1953:   ac_status=$?
                   1954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1955:   (exit $ac_status); }; } &&
                   1956:         { ac_try='test -s conftest.$ac_objext'
                   1957:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1958:   (eval $ac_try) 2>&5
                   1959:   ac_status=$?
                   1960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1961:   (exit $ac_status); }; }; then
1.1.1.4   root     1962:   ac_cv_prog_cc_g=yes
1.1       root     1963: else
1.1.1.19  root     1964:   echo "$as_me: failed program was:" >&5
                   1965: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     1966: 
1.1.1.19  root     1967: ac_cv_prog_cc_g=no
1.1       root     1968: fi
1.1.1.19  root     1969: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   1970: fi
                   1971: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   1972: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1.1.9   root     1973: if test "$ac_test_CFLAGS" = set; then
1.1.1.19  root     1974:   CFLAGS=$ac_save_CFLAGS
1.1.1.9   root     1975: elif test $ac_cv_prog_cc_g = yes; then
                   1976:   if test "$GCC" = yes; then
1.1.1.4   root     1977:     CFLAGS="-g -O2"
                   1978:   else
1.1.1.9   root     1979:     CFLAGS="-g"
1.1       root     1980:   fi
                   1981: else
1.1.1.9   root     1982:   if test "$GCC" = yes; then
                   1983:     CFLAGS="-O2"
                   1984:   else
                   1985:     CFLAGS=
                   1986:   fi
1.1       root     1987: fi
1.1.1.19  root     1988: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   1989: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   1990: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   1991:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1992: else
                   1993:   ac_cv_prog_cc_stdc=no
                   1994: ac_save_CC=$CC
                   1995: cat >conftest.$ac_ext <<_ACEOF
                   1996: /* confdefs.h.  */
                   1997: _ACEOF
                   1998: cat confdefs.h >>conftest.$ac_ext
                   1999: cat >>conftest.$ac_ext <<_ACEOF
                   2000: /* end confdefs.h.  */
                   2001: #include <stdarg.h>
                   2002: #include <stdio.h>
                   2003: #include <sys/types.h>
                   2004: #include <sys/stat.h>
                   2005: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2006: struct buf { int x; };
                   2007: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2008: static char *e (p, i)
                   2009:      char **p;
                   2010:      int i;
                   2011: {
                   2012:   return p[i];
                   2013: }
                   2014: static char *f (char * (*g) (char **, int), char **p, ...)
                   2015: {
                   2016:   char *s;
                   2017:   va_list v;
                   2018:   va_start (v,p);
                   2019:   s = g (p, va_arg (v,int));
                   2020:   va_end (v);
                   2021:   return s;
                   2022: }
                   2023: 
                   2024: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2025:    function prototypes and stuff, but not '\xHH' hex character constants.
                   2026:    These don't provoke an error unfortunately, instead are silently treated
                   2027:    as 'x'.  The following induces an error, until -std1 is added to get
                   2028:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   2029:    array size at least.  It's necessary to write '\x00'==0 to get something
                   2030:    that's true only with -std1.  */
                   2031: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   2032: 
                   2033: int test (int i, double x);
                   2034: struct s1 {int (*f) (int a);};
                   2035: struct s2 {int (*f) (double a);};
                   2036: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2037: int argc;
                   2038: char **argv;
                   2039: int
                   2040: main ()
                   2041: {
                   2042: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2043:   ;
                   2044:   return 0;
                   2045: }
                   2046: _ACEOF
                   2047: # Don't try gcc -ansi; that turns off useful extensions and
                   2048: # breaks some systems' header files.
                   2049: # AIX                  -qlanglvl=ansi
                   2050: # Ultrix and OSF/1     -std1
                   2051: # HP-UX 10.20 and later        -Ae
                   2052: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   2053: # SVR4                 -Xc -D__EXTENSIONS__
                   2054: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   2055: do
                   2056:   CC="$ac_save_CC $ac_arg"
                   2057:   rm -f conftest.$ac_objext
                   2058: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2059:   (eval $ac_compile) 2>conftest.er1
                   2060:   ac_status=$?
                   2061:   grep -v '^ *+' conftest.er1 >conftest.err
                   2062:   rm -f conftest.er1
                   2063:   cat conftest.err >&5
                   2064:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2065:   (exit $ac_status); } &&
                   2066:         { ac_try='test -z "$ac_c_werror_flag"
                   2067:                         || test ! -s conftest.err'
                   2068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2069:   (eval $ac_try) 2>&5
                   2070:   ac_status=$?
                   2071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2072:   (exit $ac_status); }; } &&
                   2073:         { ac_try='test -s conftest.$ac_objext'
                   2074:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2075:   (eval $ac_try) 2>&5
                   2076:   ac_status=$?
                   2077:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2078:   (exit $ac_status); }; }; then
                   2079:   ac_cv_prog_cc_stdc=$ac_arg
                   2080: break
                   2081: else
                   2082:   echo "$as_me: failed program was:" >&5
                   2083: sed 's/^/| /' conftest.$ac_ext >&5
                   2084: 
                   2085: fi
                   2086: rm -f conftest.err conftest.$ac_objext
                   2087: done
                   2088: rm -f conftest.$ac_ext conftest.$ac_objext
                   2089: CC=$ac_save_CC
                   2090: 
                   2091: fi
                   2092: 
                   2093: case "x$ac_cv_prog_cc_stdc" in
                   2094:   x|xno)
                   2095:     echo "$as_me:$LINENO: result: none needed" >&5
                   2096: echo "${ECHO_T}none needed" >&6 ;;
                   2097:   *)
                   2098:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   2099: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   2100:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   2101: esac
                   2102: 
                   2103: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   2104: # in C++ we need to declare it.  In case someone uses the same compiler
                   2105: # for both compiling C and C++ we need to have the C++ compiler decide
                   2106: # the declaration of exit, since it's the most demanding environment.
                   2107: cat >conftest.$ac_ext <<_ACEOF
                   2108: #ifndef __cplusplus
                   2109:   choke me
                   2110: #endif
                   2111: _ACEOF
                   2112: rm -f conftest.$ac_objext
                   2113: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2114:   (eval $ac_compile) 2>conftest.er1
                   2115:   ac_status=$?
                   2116:   grep -v '^ *+' conftest.er1 >conftest.err
                   2117:   rm -f conftest.er1
                   2118:   cat conftest.err >&5
                   2119:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2120:   (exit $ac_status); } &&
                   2121:         { ac_try='test -z "$ac_c_werror_flag"
                   2122:                         || test ! -s conftest.err'
                   2123:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2124:   (eval $ac_try) 2>&5
                   2125:   ac_status=$?
                   2126:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2127:   (exit $ac_status); }; } &&
                   2128:         { ac_try='test -s conftest.$ac_objext'
                   2129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2130:   (eval $ac_try) 2>&5
                   2131:   ac_status=$?
                   2132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2133:   (exit $ac_status); }; }; then
                   2134:   for ac_declaration in \
                   2135:    '' \
                   2136:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2137:    'extern "C" void std::exit (int); using std::exit;' \
                   2138:    'extern "C" void exit (int) throw ();' \
                   2139:    'extern "C" void exit (int);' \
                   2140:    'void exit (int);'
                   2141: do
                   2142:   cat >conftest.$ac_ext <<_ACEOF
                   2143: /* confdefs.h.  */
                   2144: _ACEOF
                   2145: cat confdefs.h >>conftest.$ac_ext
                   2146: cat >>conftest.$ac_ext <<_ACEOF
                   2147: /* end confdefs.h.  */
                   2148: $ac_declaration
                   2149: #include <stdlib.h>
                   2150: int
                   2151: main ()
                   2152: {
                   2153: exit (42);
                   2154:   ;
                   2155:   return 0;
                   2156: }
                   2157: _ACEOF
                   2158: rm -f conftest.$ac_objext
                   2159: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2160:   (eval $ac_compile) 2>conftest.er1
                   2161:   ac_status=$?
                   2162:   grep -v '^ *+' conftest.er1 >conftest.err
                   2163:   rm -f conftest.er1
                   2164:   cat conftest.err >&5
                   2165:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2166:   (exit $ac_status); } &&
                   2167:         { ac_try='test -z "$ac_c_werror_flag"
                   2168:                         || test ! -s conftest.err'
                   2169:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2170:   (eval $ac_try) 2>&5
                   2171:   ac_status=$?
                   2172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2173:   (exit $ac_status); }; } &&
                   2174:         { ac_try='test -s conftest.$ac_objext'
                   2175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2176:   (eval $ac_try) 2>&5
                   2177:   ac_status=$?
                   2178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2179:   (exit $ac_status); }; }; then
                   2180:   :
                   2181: else
                   2182:   echo "$as_me: failed program was:" >&5
                   2183: sed 's/^/| /' conftest.$ac_ext >&5
                   2184: 
                   2185: continue
                   2186: fi
                   2187: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2188:   cat >conftest.$ac_ext <<_ACEOF
                   2189: /* confdefs.h.  */
                   2190: _ACEOF
                   2191: cat confdefs.h >>conftest.$ac_ext
                   2192: cat >>conftest.$ac_ext <<_ACEOF
                   2193: /* end confdefs.h.  */
                   2194: $ac_declaration
                   2195: int
                   2196: main ()
                   2197: {
                   2198: exit (42);
                   2199:   ;
                   2200:   return 0;
                   2201: }
                   2202: _ACEOF
                   2203: rm -f conftest.$ac_objext
                   2204: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2205:   (eval $ac_compile) 2>conftest.er1
                   2206:   ac_status=$?
                   2207:   grep -v '^ *+' conftest.er1 >conftest.err
                   2208:   rm -f conftest.er1
                   2209:   cat conftest.err >&5
                   2210:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2211:   (exit $ac_status); } &&
                   2212:         { ac_try='test -z "$ac_c_werror_flag"
                   2213:                         || test ! -s conftest.err'
                   2214:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2215:   (eval $ac_try) 2>&5
                   2216:   ac_status=$?
                   2217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2218:   (exit $ac_status); }; } &&
                   2219:         { ac_try='test -s conftest.$ac_objext'
                   2220:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2221:   (eval $ac_try) 2>&5
                   2222:   ac_status=$?
                   2223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2224:   (exit $ac_status); }; }; then
                   2225:   break
                   2226: else
                   2227:   echo "$as_me: failed program was:" >&5
                   2228: sed 's/^/| /' conftest.$ac_ext >&5
                   2229: 
                   2230: fi
                   2231: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2232: done
                   2233: rm -f conftest*
                   2234: if test -n "$ac_declaration"; then
                   2235:   echo '#ifdef __cplusplus' >>confdefs.h
                   2236:   echo $ac_declaration      >>confdefs.h
                   2237:   echo '#endif'             >>confdefs.h
                   2238: fi
                   2239: 
                   2240: else
                   2241:   echo "$as_me: failed program was:" >&5
                   2242: sed 's/^/| /' conftest.$ac_ext >&5
                   2243: 
                   2244: fi
                   2245: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   2246: ac_ext=c
                   2247: ac_cpp='$CPP $CPPFLAGS'
                   2248: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2249: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2250: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     2251: 
                   2252: 
1.1.1.19  root     2253: ac_ext=c
                   2254: ac_cpp='$CPP $CPPFLAGS'
                   2255: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2256: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2257: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2258: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   2259: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       root     2260: # On Suns, sometimes $CPP names a directory.
                   2261: if test -n "$CPP" && test -d "$CPP"; then
                   2262:   CPP=
                   2263: fi
                   2264: if test -z "$CPP"; then
1.1.1.19  root     2265:   if test "${ac_cv_prog_CPP+set}" = set; then
                   2266:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2267: else
1.1.1.19  root     2268:       # Double quotes because CPP needs to be expanded
                   2269:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   2270:     do
                   2271:       ac_preproc_ok=false
                   2272: for ac_c_preproc_warn_flag in '' yes
                   2273: do
                   2274:   # Use a header file that comes with gcc, so configuring glibc
                   2275:   # with a fresh cross-compiler works.
                   2276:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2277:   # <limits.h> exists even on freestanding compilers.
1.1       root     2278:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.1.1.19  root     2279:   # not just through cpp. "Syntax error" is here to catch this case.
                   2280:   cat >conftest.$ac_ext <<_ACEOF
                   2281: /* confdefs.h.  */
                   2282: _ACEOF
                   2283: cat confdefs.h >>conftest.$ac_ext
                   2284: cat >>conftest.$ac_ext <<_ACEOF
                   2285: /* end confdefs.h.  */
                   2286: #ifdef __STDC__
                   2287: # include <limits.h>
                   2288: #else
                   2289: # include <assert.h>
                   2290: #endif
                   2291:                     Syntax error
                   2292: _ACEOF
                   2293: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2294:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2295:   ac_status=$?
                   2296:   grep -v '^ *+' conftest.er1 >conftest.err
                   2297:   rm -f conftest.er1
                   2298:   cat conftest.err >&5
                   2299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2300:   (exit $ac_status); } >/dev/null; then
                   2301:   if test -s conftest.err; then
                   2302:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2303:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   2304:   else
                   2305:     ac_cpp_err=
                   2306:   fi
1.1       root     2307: else
1.1.1.19  root     2308:   ac_cpp_err=yes
                   2309: fi
                   2310: if test -z "$ac_cpp_err"; then
1.1.1.9   root     2311:   :
                   2312: else
1.1.1.19  root     2313:   echo "$as_me: failed program was:" >&5
                   2314: sed 's/^/| /' conftest.$ac_ext >&5
                   2315: 
                   2316:   # Broken: fails on valid input.
                   2317: continue
                   2318: fi
                   2319: rm -f conftest.err conftest.$ac_ext
                   2320: 
                   2321:   # OK, works on sane cases.  Now check whether non-existent headers
                   2322:   # can be detected and how.
                   2323:   cat >conftest.$ac_ext <<_ACEOF
                   2324: /* confdefs.h.  */
                   2325: _ACEOF
                   2326: cat confdefs.h >>conftest.$ac_ext
                   2327: cat >>conftest.$ac_ext <<_ACEOF
                   2328: /* end confdefs.h.  */
                   2329: #include <ac_nonexistent.h>
                   2330: _ACEOF
                   2331: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2332:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2333:   ac_status=$?
                   2334:   grep -v '^ *+' conftest.er1 >conftest.err
                   2335:   rm -f conftest.er1
                   2336:   cat conftest.err >&5
                   2337:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2338:   (exit $ac_status); } >/dev/null; then
                   2339:   if test -s conftest.err; then
                   2340:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2341:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   2342:   else
                   2343:     ac_cpp_err=
                   2344:   fi
1.1       root     2345: else
1.1.1.19  root     2346:   ac_cpp_err=yes
1.1       root     2347: fi
1.1.1.19  root     2348: if test -z "$ac_cpp_err"; then
                   2349:   # Broken: success on invalid input.
                   2350: continue
                   2351: else
                   2352:   echo "$as_me: failed program was:" >&5
                   2353: sed 's/^/| /' conftest.$ac_ext >&5
                   2354: 
                   2355:   # Passes both tests.
                   2356: ac_preproc_ok=:
                   2357: break
1.1       root     2358: fi
1.1.1.19  root     2359: rm -f conftest.err conftest.$ac_ext
                   2360: 
                   2361: done
                   2362: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2363: rm -f conftest.err conftest.$ac_ext
                   2364: if $ac_preproc_ok; then
                   2365:   break
1.1.1.9   root     2366: fi
1.1.1.19  root     2367: 
                   2368:     done
                   2369:     ac_cv_prog_CPP=$CPP
                   2370: 
                   2371: fi
                   2372:   CPP=$ac_cv_prog_CPP
                   2373: else
                   2374:   ac_cv_prog_CPP=$CPP
                   2375: fi
                   2376: echo "$as_me:$LINENO: result: $CPP" >&5
                   2377: echo "${ECHO_T}$CPP" >&6
                   2378: ac_preproc_ok=false
                   2379: for ac_c_preproc_warn_flag in '' yes
                   2380: do
                   2381:   # Use a header file that comes with gcc, so configuring glibc
                   2382:   # with a fresh cross-compiler works.
                   2383:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2384:   # <limits.h> exists even on freestanding compilers.
                   2385:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2386:   # not just through cpp. "Syntax error" is here to catch this case.
                   2387:   cat >conftest.$ac_ext <<_ACEOF
                   2388: /* confdefs.h.  */
                   2389: _ACEOF
                   2390: cat confdefs.h >>conftest.$ac_ext
                   2391: cat >>conftest.$ac_ext <<_ACEOF
                   2392: /* end confdefs.h.  */
                   2393: #ifdef __STDC__
                   2394: # include <limits.h>
                   2395: #else
                   2396: # include <assert.h>
                   2397: #endif
                   2398:                     Syntax error
                   2399: _ACEOF
                   2400: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2401:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2402:   ac_status=$?
                   2403:   grep -v '^ *+' conftest.er1 >conftest.err
                   2404:   rm -f conftest.er1
                   2405:   cat conftest.err >&5
                   2406:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2407:   (exit $ac_status); } >/dev/null; then
                   2408:   if test -s conftest.err; then
                   2409:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2410:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   2411:   else
                   2412:     ac_cpp_err=
                   2413:   fi
                   2414: else
                   2415:   ac_cpp_err=yes
                   2416: fi
                   2417: if test -z "$ac_cpp_err"; then
                   2418:   :
                   2419: else
                   2420:   echo "$as_me: failed program was:" >&5
                   2421: sed 's/^/| /' conftest.$ac_ext >&5
                   2422: 
                   2423:   # Broken: fails on valid input.
                   2424: continue
                   2425: fi
                   2426: rm -f conftest.err conftest.$ac_ext
                   2427: 
                   2428:   # OK, works on sane cases.  Now check whether non-existent headers
                   2429:   # can be detected and how.
                   2430:   cat >conftest.$ac_ext <<_ACEOF
                   2431: /* confdefs.h.  */
                   2432: _ACEOF
                   2433: cat confdefs.h >>conftest.$ac_ext
                   2434: cat >>conftest.$ac_ext <<_ACEOF
                   2435: /* end confdefs.h.  */
                   2436: #include <ac_nonexistent.h>
                   2437: _ACEOF
                   2438: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2439:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2440:   ac_status=$?
                   2441:   grep -v '^ *+' conftest.er1 >conftest.err
                   2442:   rm -f conftest.er1
                   2443:   cat conftest.err >&5
                   2444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2445:   (exit $ac_status); } >/dev/null; then
                   2446:   if test -s conftest.err; then
                   2447:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2448:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   2449:   else
                   2450:     ac_cpp_err=
                   2451:   fi
                   2452: else
                   2453:   ac_cpp_err=yes
1.1       root     2454: fi
1.1.1.19  root     2455: if test -z "$ac_cpp_err"; then
                   2456:   # Broken: success on invalid input.
                   2457: continue
1.1       root     2458: else
1.1.1.19  root     2459:   echo "$as_me: failed program was:" >&5
                   2460: sed 's/^/| /' conftest.$ac_ext >&5
                   2461: 
                   2462:   # Passes both tests.
                   2463: ac_preproc_ok=:
                   2464: break
                   2465: fi
                   2466: rm -f conftest.err conftest.$ac_ext
                   2467: 
                   2468: done
                   2469: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2470: rm -f conftest.err conftest.$ac_ext
                   2471: if $ac_preproc_ok; then
                   2472:   :
                   2473: else
                   2474:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   2475: See \`config.log' for more details." >&5
                   2476: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   2477: See \`config.log' for more details." >&2;}
                   2478:    { (exit 1); exit 1; }; }
1.1       root     2479: fi
                   2480: 
1.1.1.19  root     2481: ac_ext=c
                   2482: ac_cpp='$CPP $CPPFLAGS'
                   2483: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2484: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2485: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2486: 
                   2487: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2488: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   2489: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
                   2490: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   2491:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2492: else
1.1.1.19  root     2493:   cat >conftest.make <<\_ACEOF
1.1       root     2494: all:
1.1.1.19  root     2495:        @echo 'ac_maketemp="$(MAKE)"'
                   2496: _ACEOF
1.1       root     2497: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.19  root     2498: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       root     2499: if test -n "$ac_maketemp"; then
                   2500:   eval ac_cv_prog_make_${ac_make}_set=yes
                   2501: else
                   2502:   eval ac_cv_prog_make_${ac_make}_set=no
                   2503: fi
1.1.1.19  root     2504: rm -f conftest.make
1.1       root     2505: fi
                   2506: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1.1.19  root     2507:   echo "$as_me:$LINENO: result: yes" >&5
                   2508: echo "${ECHO_T}yes" >&6
1.1       root     2509:   SET_MAKE=
                   2510: else
1.1.1.19  root     2511:   echo "$as_me:$LINENO: result: no" >&5
                   2512: echo "${ECHO_T}no" >&6
1.1       root     2513:   SET_MAKE="MAKE=${MAKE-make}"
                   2514: fi
                   2515: 
1.1.1.11  root     2516: # Extract the first word of "makedepend", so it can be a program name with args.
                   2517: set dummy makedepend; ac_word=$2
1.1.1.19  root     2518: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2519: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2520: if test "${ac_cv_path_MAKEDEPPRG+set}" = set; then
                   2521:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     2522: else
1.1.1.19  root     2523:   case $MAKEDEPPRG in
                   2524:   [\\/]* | ?:[\\/]*)
1.1.1.11  root     2525:   ac_cv_path_MAKEDEPPRG="$MAKEDEPPRG" # Let the user override the test with a path.
                   2526:   ;;
                   2527:   *)
1.1.1.19  root     2528:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2529: for as_dir in $PATH
                   2530: do
                   2531:   IFS=$as_save_IFS
                   2532:   test -z "$as_dir" && as_dir=.
                   2533:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2534:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2535:     ac_cv_path_MAKEDEPPRG="$as_dir/$ac_word$ac_exec_ext"
                   2536:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2537:     break 2
                   2538:   fi
                   2539: done
                   2540: done
                   2541: 
                   2542:   test -z "$ac_cv_path_MAKEDEPPRG" && ac_cv_path_MAKEDEPPRG="not-found"
                   2543:   ;;
                   2544: esac
                   2545: fi
                   2546: MAKEDEPPRG=$ac_cv_path_MAKEDEPPRG
                   2547: 
1.1.1.11  root     2548: if test -n "$MAKEDEPPRG"; then
1.1.1.19  root     2549:   echo "$as_me:$LINENO: result: $MAKEDEPPRG" >&5
                   2550: echo "${ECHO_T}$MAKEDEPPRG" >&6
1.1.1.11  root     2551: else
1.1.1.19  root     2552:   echo "$as_me:$LINENO: result: no" >&5
                   2553: echo "${ECHO_T}no" >&6
1.1.1.11  root     2554: fi
                   2555: 
1.1.1.4   root     2556: # Extract the first word of "file", so it can be a program name with args.
                   2557: set dummy file; ac_word=$2
1.1.1.19  root     2558: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2559: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2560: if test "${ac_cv_path_FILEPRG+set}" = set; then
                   2561:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     2562: else
1.1.1.19  root     2563:   case $FILEPRG in
                   2564:   [\\/]* | ?:[\\/]*)
1.1.1.4   root     2565:   ac_cv_path_FILEPRG="$FILEPRG" # Let the user override the test with a path.
                   2566:   ;;
                   2567:   *)
1.1.1.19  root     2568:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2569: for as_dir in $PATH
                   2570: do
                   2571:   IFS=$as_save_IFS
                   2572:   test -z "$as_dir" && as_dir=.
                   2573:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2574:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2575:     ac_cv_path_FILEPRG="$as_dir/$ac_word$ac_exec_ext"
                   2576:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2577:     break 2
                   2578:   fi
                   2579: done
                   2580: done
                   2581: 
1.1.1.4   root     2582:   test -z "$ac_cv_path_FILEPRG" && ac_cv_path_FILEPRG="not-found"
                   2583:   ;;
                   2584: esac
                   2585: fi
1.1.1.19  root     2586: FILEPRG=$ac_cv_path_FILEPRG
                   2587: 
1.1.1.4   root     2588: if test -n "$FILEPRG"; then
1.1.1.19  root     2589:   echo "$as_me:$LINENO: result: $FILEPRG" >&5
                   2590: echo "${ECHO_T}$FILEPRG" >&6
1.1.1.4   root     2591: else
1.1.1.19  root     2592:   echo "$as_me:$LINENO: result: no" >&5
                   2593: echo "${ECHO_T}no" >&6
1.1.1.4   root     2594: fi
                   2595: 
1.1.1.6   root     2596: # Extract the first word of "wrc", so it can be a program name with args.
                   2597: set dummy wrc; ac_word=$2
1.1.1.19  root     2598: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2599: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2600: if test "${ac_cv_path_WRCPRG+set}" = set; then
                   2601:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     2602: else
1.1.1.19  root     2603:   case $WRCPRG in
                   2604:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     2605:   ac_cv_path_WRCPRG="$WRCPRG" # Let the user override the test with a path.
                   2606:   ;;
                   2607:   *)
1.1.1.19  root     2608:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2609: for as_dir in $PATH
                   2610: do
                   2611:   IFS=$as_save_IFS
                   2612:   test -z "$as_dir" && as_dir=.
                   2613:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2614:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2615:     ac_cv_path_WRCPRG="$as_dir/$ac_word$ac_exec_ext"
                   2616:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2617:     break 2
                   2618:   fi
                   2619: done
                   2620: done
                   2621: 
1.1.1.6   root     2622:   test -z "$ac_cv_path_WRCPRG" && ac_cv_path_WRCPRG="not-found"
                   2623:   ;;
                   2624: esac
                   2625: fi
1.1.1.19  root     2626: WRCPRG=$ac_cv_path_WRCPRG
                   2627: 
1.1.1.6   root     2628: if test -n "$WRCPRG"; then
1.1.1.19  root     2629:   echo "$as_me:$LINENO: result: $WRCPRG" >&5
                   2630: echo "${ECHO_T}$WRCPRG" >&6
1.1.1.6   root     2631: else
1.1.1.19  root     2632:   echo "$as_me:$LINENO: result: no" >&5
                   2633: echo "${ECHO_T}no" >&6
1.1.1.6   root     2634: fi
                   2635: 
                   2636: # Extract the first word of "rcl", so it can be a program name with args.
                   2637: set dummy rcl; ac_word=$2
1.1.1.19  root     2638: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2639: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2640: if test "${ac_cv_path_RCLPRG+set}" = set; then
                   2641:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     2642: else
1.1.1.19  root     2643:   case $RCLPRG in
                   2644:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     2645:   ac_cv_path_RCLPRG="$RCLPRG" # Let the user override the test with a path.
                   2646:   ;;
                   2647:   *)
1.1.1.19  root     2648:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2649: for as_dir in $PATH
                   2650: do
                   2651:   IFS=$as_save_IFS
                   2652:   test -z "$as_dir" && as_dir=.
                   2653:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2654:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2655:     ac_cv_path_RCLPRG="$as_dir/$ac_word$ac_exec_ext"
                   2656:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2657:     break 2
                   2658:   fi
                   2659: done
                   2660: done
                   2661: 
1.1.1.6   root     2662:   test -z "$ac_cv_path_RCLPRG" && ac_cv_path_RCLPRG="not-found"
                   2663:   ;;
                   2664: esac
                   2665: fi
1.1.1.19  root     2666: RCLPRG=$ac_cv_path_RCLPRG
                   2667: 
1.1.1.6   root     2668: if test -n "$RCLPRG"; then
1.1.1.19  root     2669:   echo "$as_me:$LINENO: result: $RCLPRG" >&5
                   2670: echo "${ECHO_T}$RCLPRG" >&6
1.1.1.6   root     2671: else
1.1.1.19  root     2672:   echo "$as_me:$LINENO: result: no" >&5
                   2673: echo "${ECHO_T}no" >&6
1.1.1.6   root     2674: fi
                   2675: 
1.1.1.16  root     2676: # Extract the first word of "sdl-config", so it can be a program name with args.
                   2677: set dummy sdl-config; ac_word=$2
1.1.1.19  root     2678: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2679: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2680: if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
                   2681:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.16  root     2682: else
1.1.1.19  root     2683:   case $SDL_CONFIG in
                   2684:   [\\/]* | ?:[\\/]*)
1.1.1.16  root     2685:   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
                   2686:   ;;
                   2687:   *)
1.1.1.19  root     2688:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2689: for as_dir in $PATH
                   2690: do
                   2691:   IFS=$as_save_IFS
                   2692:   test -z "$as_dir" && as_dir=.
                   2693:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2694:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2695:     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   2696:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2697:     break 2
                   2698:   fi
                   2699: done
                   2700: done
                   2701: 
1.1.1.16  root     2702:   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="not-found"
                   2703:   ;;
                   2704: esac
                   2705: fi
1.1.1.19  root     2706: SDL_CONFIG=$ac_cv_path_SDL_CONFIG
                   2707: 
1.1.1.16  root     2708: if test -n "$SDL_CONFIG"; then
1.1.1.19  root     2709:   echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
                   2710: echo "${ECHO_T}$SDL_CONFIG" >&6
1.1.1.16  root     2711: else
1.1.1.19  root     2712:   echo "$as_me:$LINENO: result: no" >&5
                   2713: echo "${ECHO_T}no" >&6
1.1.1.16  root     2714: fi
                   2715: 
1.1       root     2716: 
1.1.1.19  root     2717: 
                   2718: 
                   2719: echo "$as_me:$LINENO: checking for egrep" >&5
                   2720: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   2721: if test "${ac_cv_prog_egrep+set}" = set; then
                   2722:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2723: else
                   2724:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   2725:     then ac_cv_prog_egrep='grep -E'
                   2726:     else ac_cv_prog_egrep='egrep'
                   2727:     fi
                   2728: fi
                   2729: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   2730: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   2731:  EGREP=$ac_cv_prog_egrep
                   2732: 
                   2733: 
                   2734: 
                   2735: echo "$as_me:$LINENO: checking for AIX" >&5
                   2736: echo $ECHO_N "checking for AIX... $ECHO_C" >&6
                   2737: cat >conftest.$ac_ext <<_ACEOF
                   2738: /* confdefs.h.  */
                   2739: _ACEOF
                   2740: cat confdefs.h >>conftest.$ac_ext
                   2741: cat >>conftest.$ac_ext <<_ACEOF
                   2742: /* end confdefs.h.  */
1.1       root     2743: #ifdef _AIX
                   2744:   yes
                   2745: #endif
                   2746: 
1.1.1.19  root     2747: _ACEOF
1.1       root     2748: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     2749:   $EGREP "yes" >/dev/null 2>&1; then
                   2750:   echo "$as_me:$LINENO: result: yes" >&5
                   2751: echo "${ECHO_T}yes" >&6
                   2752: cat >>confdefs.h <<\_ACEOF
1.1       root     2753: #define _ALL_SOURCE 1
1.1.1.19  root     2754: _ACEOF
1.1       root     2755: 
                   2756: else
1.1.1.19  root     2757:   echo "$as_me:$LINENO: result: no" >&5
                   2758: echo "${ECHO_T}no" >&6
1.1       root     2759: fi
                   2760: rm -f conftest*
                   2761: 
                   2762: 
1.1.1.19  root     2763: echo "$as_me:$LINENO: checking for library containing strerror" >&5
                   2764: echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
                   2765: if test "${ac_cv_search_strerror+set}" = set; then
                   2766:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2767: else
                   2768:   ac_func_search_save_LIBS=$LIBS
                   2769: ac_cv_search_strerror=no
                   2770: cat >conftest.$ac_ext <<_ACEOF
                   2771: /* confdefs.h.  */
                   2772: _ACEOF
                   2773: cat confdefs.h >>conftest.$ac_ext
                   2774: cat >>conftest.$ac_ext <<_ACEOF
                   2775: /* end confdefs.h.  */
1.1       root     2776: 
1.1.1.19  root     2777: /* Override any gcc2 internal prototype to avoid an error.  */
                   2778: #ifdef __cplusplus
                   2779: extern "C"
                   2780: #endif
                   2781: /* We use char because int might match the return type of a gcc2
                   2782:    builtin and then its argument prototype would still apply.  */
                   2783: char strerror ();
                   2784: int
                   2785: main ()
                   2786: {
                   2787: strerror ();
                   2788:   ;
                   2789:   return 0;
                   2790: }
                   2791: _ACEOF
                   2792: rm -f conftest.$ac_objext conftest$ac_exeext
                   2793: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2794:   (eval $ac_link) 2>conftest.er1
                   2795:   ac_status=$?
                   2796:   grep -v '^ *+' conftest.er1 >conftest.err
                   2797:   rm -f conftest.er1
                   2798:   cat conftest.err >&5
                   2799:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2800:   (exit $ac_status); } &&
                   2801:         { ac_try='test -z "$ac_c_werror_flag"
                   2802:                         || test ! -s conftest.err'
                   2803:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2804:   (eval $ac_try) 2>&5
                   2805:   ac_status=$?
                   2806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2807:   (exit $ac_status); }; } &&
                   2808:         { ac_try='test -s conftest$ac_exeext'
                   2809:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2810:   (eval $ac_try) 2>&5
                   2811:   ac_status=$?
                   2812:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2813:   (exit $ac_status); }; }; then
                   2814:   ac_cv_search_strerror="none required"
                   2815: else
                   2816:   echo "$as_me: failed program was:" >&5
                   2817: sed 's/^/| /' conftest.$ac_ext >&5
                   2818: 
                   2819: fi
                   2820: rm -f conftest.err conftest.$ac_objext \
                   2821:       conftest$ac_exeext conftest.$ac_ext
                   2822: if test "$ac_cv_search_strerror" = no; then
                   2823:   for ac_lib in cposix; do
                   2824:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   2825:     cat >conftest.$ac_ext <<_ACEOF
                   2826: /* confdefs.h.  */
                   2827: _ACEOF
                   2828: cat confdefs.h >>conftest.$ac_ext
                   2829: cat >>conftest.$ac_ext <<_ACEOF
                   2830: /* end confdefs.h.  */
                   2831: 
                   2832: /* Override any gcc2 internal prototype to avoid an error.  */
                   2833: #ifdef __cplusplus
                   2834: extern "C"
                   2835: #endif
                   2836: /* We use char because int might match the return type of a gcc2
                   2837:    builtin and then its argument prototype would still apply.  */
                   2838: char strerror ();
                   2839: int
                   2840: main ()
                   2841: {
                   2842: strerror ();
                   2843:   ;
                   2844:   return 0;
                   2845: }
                   2846: _ACEOF
                   2847: rm -f conftest.$ac_objext conftest$ac_exeext
                   2848: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2849:   (eval $ac_link) 2>conftest.er1
                   2850:   ac_status=$?
                   2851:   grep -v '^ *+' conftest.er1 >conftest.err
                   2852:   rm -f conftest.er1
                   2853:   cat conftest.err >&5
                   2854:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2855:   (exit $ac_status); } &&
                   2856:         { ac_try='test -z "$ac_c_werror_flag"
                   2857:                         || test ! -s conftest.err'
                   2858:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2859:   (eval $ac_try) 2>&5
                   2860:   ac_status=$?
                   2861:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2862:   (exit $ac_status); }; } &&
                   2863:         { ac_try='test -s conftest$ac_exeext'
                   2864:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2865:   (eval $ac_try) 2>&5
                   2866:   ac_status=$?
                   2867:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2868:   (exit $ac_status); }; }; then
                   2869:   ac_cv_search_strerror="-l$ac_lib"
                   2870: break
1.1       root     2871: else
1.1.1.19  root     2872:   echo "$as_me: failed program was:" >&5
                   2873: sed 's/^/| /' conftest.$ac_ext >&5
                   2874: 
                   2875: fi
                   2876: rm -f conftest.err conftest.$ac_objext \
                   2877:       conftest$ac_exeext conftest.$ac_ext
                   2878:   done
                   2879: fi
                   2880: LIBS=$ac_func_search_save_LIBS
1.1       root     2881: fi
1.1.1.19  root     2882: echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
                   2883: echo "${ECHO_T}$ac_cv_search_strerror" >&6
                   2884: if test "$ac_cv_search_strerror" != no; then
                   2885:   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
1.1       root     2886: 
1.1.1.19  root     2887: fi
1.1       root     2888: 
1.1.1.19  root     2889: 
                   2890: echo "$as_me:$LINENO: checking for Watcom C" >&5
                   2891: echo $ECHO_N "checking for Watcom C... $ECHO_C" >&6
                   2892: cat >conftest.$ac_ext <<_ACEOF
                   2893: /* confdefs.h.  */
                   2894: _ACEOF
                   2895: cat confdefs.h >>conftest.$ac_ext
                   2896: cat >>conftest.$ac_ext <<_ACEOF
                   2897: /* end confdefs.h.  */
1.1.1.6   root     2898: #ifdef __WATCOMC__
                   2899:   yes
                   2900: #endif
                   2901: 
1.1.1.19  root     2902: _ACEOF
1.1.1.6   root     2903: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     2904:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     2905:   uae_cv_prog_cc_watcom=yes
                   2906: else
                   2907:   uae_cv_prog_cc_watcom=no
                   2908: fi
                   2909: rm -f conftest*
                   2910: 
1.1.1.19  root     2911: echo "$as_me:$LINENO: result: $uae_cv_prog_cc_watcom" >&5
                   2912: echo "${ECHO_T}$uae_cv_prog_cc_watcom" >&6
1.1.1.6   root     2913: 
1.1.1.19  root     2914: ac_aux_dir=
                   2915: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   2916:   if test -f $ac_dir/install-sh; then
                   2917:     ac_aux_dir=$ac_dir
                   2918:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2919:     break
                   2920:   elif test -f $ac_dir/install.sh; then
                   2921:     ac_aux_dir=$ac_dir
                   2922:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2923:     break
                   2924:   elif test -f $ac_dir/shtool; then
                   2925:     ac_aux_dir=$ac_dir
                   2926:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2927:     break
                   2928:   fi
                   2929: done
                   2930: if test -z "$ac_aux_dir"; then
                   2931:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   2932: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   2933:    { (exit 1); exit 1; }; }
                   2934: fi
                   2935: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   2936: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   2937: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
                   2938: 
                   2939: # Make sure we can run config.sub.
                   2940: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   2941:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   2942: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   2943:    { (exit 1); exit 1; }; }
                   2944: 
                   2945: echo "$as_me:$LINENO: checking build system type" >&5
                   2946: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   2947: if test "${ac_cv_build+set}" = set; then
                   2948:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2949: else
                   2950:   ac_cv_build_alias=$build_alias
                   2951: test -z "$ac_cv_build_alias" &&
                   2952:   ac_cv_build_alias=`$ac_config_guess`
                   2953: test -z "$ac_cv_build_alias" &&
                   2954:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   2955: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   2956:    { (exit 1); exit 1; }; }
                   2957: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   2958:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   2959: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   2960:    { (exit 1); exit 1; }; }
                   2961: 
                   2962: fi
                   2963: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   2964: echo "${ECHO_T}$ac_cv_build" >&6
                   2965: build=$ac_cv_build
                   2966: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   2967: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   2968: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   2969: 
                   2970: 
                   2971: echo "$as_me:$LINENO: checking host system type" >&5
                   2972: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   2973: if test "${ac_cv_host+set}" = set; then
                   2974:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2975: else
                   2976:   ac_cv_host_alias=$host_alias
                   2977: test -z "$ac_cv_host_alias" &&
                   2978:   ac_cv_host_alias=$ac_cv_build_alias
                   2979: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   2980:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   2981: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   2982:    { (exit 1); exit 1; }; }
                   2983: 
                   2984: fi
                   2985: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   2986: echo "${ECHO_T}$ac_cv_host" >&6
                   2987: host=$ac_cv_host
                   2988: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   2989: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   2990: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   2991: 
                   2992: 
                   2993: case $host_os in
                   2994:   *cygwin* ) CYGWIN=yes;;
                   2995:         * ) CYGWIN=no;;
                   2996: esac
1.1.1.6   root     2997: 
1.1.1.19  root     2998: case $host_os in
                   2999:   *mingw32* ) MINGW32=yes;;
                   3000:          * ) MINGW32=no;;
                   3001: esac
1.1.1.6   root     3002: 
                   3003: 
                   3004: 
1.1.1.4   root     3005: NR_WARNINGS=0
                   3006: NR_ERRORS=0
                   3007: 
1.1.1.6   root     3008: tmp_save_dir=`pwd`
                   3009: cd $srcdir
                   3010: abssrcdir=`pwd`
                   3011: cd $tmp_save_dir
                   3012: 
1.1.1.4   root     3013: NEED_THREAD_SUPPORT=no
                   3014: 
                   3015: ADDITIONAL_CFLAGS=
                   3016: OPTIMIZE_CFLAGS=
                   3017: WARNING_CFLAGS=
                   3018: DEBUG_CFLAGS=
                   3019: NO_SCHED_CFLAGS=
1.1.1.19  root     3020: NO_REORDER_CFLAGS=
1.1.1.14  root     3021: LDFLAGS="$LDFLAGS -L."
1.1.1.4   root     3022: 
                   3023: HAVE_BEOS=no
                   3024: HAVE_POS=no
1.1.1.19  root     3025: echo "$as_me:$LINENO: checking for main in -lMedia_s" >&5
                   3026: echo $ECHO_N "checking for main in -lMedia_s... $ECHO_C" >&6
                   3027: if test "${ac_cv_lib_Media_s_main+set}" = set; then
                   3028:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3029: else
1.1.1.19  root     3030:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3031: LIBS="-lMedia_s  $LIBS"
1.1.1.19  root     3032: cat >conftest.$ac_ext <<_ACEOF
                   3033: /* confdefs.h.  */
                   3034: _ACEOF
                   3035: cat confdefs.h >>conftest.$ac_ext
                   3036: cat >>conftest.$ac_ext <<_ACEOF
                   3037: /* end confdefs.h.  */
1.1       root     3038: 
                   3039: 
1.1.1.19  root     3040: int
                   3041: main ()
                   3042: {
                   3043: main ();
                   3044:   ;
                   3045:   return 0;
                   3046: }
                   3047: _ACEOF
                   3048: rm -f conftest.$ac_objext conftest$ac_exeext
                   3049: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3050:   (eval $ac_link) 2>conftest.er1
                   3051:   ac_status=$?
                   3052:   grep -v '^ *+' conftest.er1 >conftest.err
                   3053:   rm -f conftest.er1
                   3054:   cat conftest.err >&5
                   3055:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3056:   (exit $ac_status); } &&
                   3057:         { ac_try='test -z "$ac_c_werror_flag"
                   3058:                         || test ! -s conftest.err'
                   3059:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3060:   (eval $ac_try) 2>&5
                   3061:   ac_status=$?
                   3062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3063:   (exit $ac_status); }; } &&
                   3064:         { ac_try='test -s conftest$ac_exeext'
                   3065:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3066:   (eval $ac_try) 2>&5
                   3067:   ac_status=$?
                   3068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3069:   (exit $ac_status); }; }; then
                   3070:   ac_cv_lib_Media_s_main=yes
                   3071: else
                   3072:   echo "$as_me: failed program was:" >&5
                   3073: sed 's/^/| /' conftest.$ac_ext >&5
                   3074: 
                   3075: ac_cv_lib_Media_s_main=no
                   3076: fi
                   3077: rm -f conftest.err conftest.$ac_objext \
                   3078:       conftest$ac_exeext conftest.$ac_ext
                   3079: LIBS=$ac_check_lib_save_LIBS
                   3080: fi
                   3081: echo "$as_me:$LINENO: result: $ac_cv_lib_Media_s_main" >&5
                   3082: echo "${ECHO_T}$ac_cv_lib_Media_s_main" >&6
                   3083: if test $ac_cv_lib_Media_s_main = yes; then
1.1.1.4   root     3084:   HAVE_MEDIA_LIB=yes
1.1       root     3085: else
1.1.1.19  root     3086:   HAVE_MEDIA_LIB=no
1.1       root     3087: fi
                   3088: 
1.1.1.19  root     3089: echo "$as_me:$LINENO: checking for main in -lNeXT_s" >&5
                   3090: echo $ECHO_N "checking for main in -lNeXT_s... $ECHO_C" >&6
                   3091: if test "${ac_cv_lib_NeXT_s_main+set}" = set; then
                   3092:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3093: else
1.1.1.19  root     3094:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3095: LIBS="-lNeXT_s  $LIBS"
1.1.1.19  root     3096: cat >conftest.$ac_ext <<_ACEOF
                   3097: /* confdefs.h.  */
                   3098: _ACEOF
                   3099: cat confdefs.h >>conftest.$ac_ext
                   3100: cat >>conftest.$ac_ext <<_ACEOF
                   3101: /* end confdefs.h.  */
1.1       root     3102: 
                   3103: 
1.1.1.19  root     3104: int
                   3105: main ()
                   3106: {
                   3107: main ();
                   3108:   ;
                   3109:   return 0;
                   3110: }
                   3111: _ACEOF
                   3112: rm -f conftest.$ac_objext conftest$ac_exeext
                   3113: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3114:   (eval $ac_link) 2>conftest.er1
                   3115:   ac_status=$?
                   3116:   grep -v '^ *+' conftest.er1 >conftest.err
                   3117:   rm -f conftest.er1
                   3118:   cat conftest.err >&5
                   3119:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3120:   (exit $ac_status); } &&
                   3121:         { ac_try='test -z "$ac_c_werror_flag"
                   3122:                         || test ! -s conftest.err'
                   3123:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3124:   (eval $ac_try) 2>&5
                   3125:   ac_status=$?
                   3126:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3127:   (exit $ac_status); }; } &&
                   3128:         { ac_try='test -s conftest$ac_exeext'
                   3129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3130:   (eval $ac_try) 2>&5
                   3131:   ac_status=$?
                   3132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3133:   (exit $ac_status); }; }; then
                   3134:   ac_cv_lib_NeXT_s_main=yes
                   3135: else
                   3136:   echo "$as_me: failed program was:" >&5
                   3137: sed 's/^/| /' conftest.$ac_ext >&5
                   3138: 
                   3139: ac_cv_lib_NeXT_s_main=no
                   3140: fi
                   3141: rm -f conftest.err conftest.$ac_objext \
                   3142:       conftest$ac_exeext conftest.$ac_ext
                   3143: LIBS=$ac_check_lib_save_LIBS
                   3144: fi
                   3145: echo "$as_me:$LINENO: result: $ac_cv_lib_NeXT_s_main" >&5
                   3146: echo "${ECHO_T}$ac_cv_lib_NeXT_s_main" >&6
                   3147: if test $ac_cv_lib_NeXT_s_main = yes; then
1.1.1.4   root     3148:   HAVE_NEXT_LIB=yes
1.1       root     3149: else
1.1.1.19  root     3150:   HAVE_NEXT_LIB=no
1.1       root     3151: fi
                   3152: 
1.1.1.19  root     3153: echo "$as_me:$LINENO: checking for cos in -lmoto" >&5
                   3154: echo $ECHO_N "checking for cos in -lmoto... $ECHO_C" >&6
                   3155: if test "${ac_cv_lib_moto_cos+set}" = set; then
                   3156:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     3157: else
1.1.1.19  root     3158:   ac_check_lib_save_LIBS=$LIBS
1.1.1.11  root     3159: LIBS="-lmoto  $LIBS"
1.1.1.19  root     3160: cat >conftest.$ac_ext <<_ACEOF
                   3161: /* confdefs.h.  */
                   3162: _ACEOF
                   3163: cat confdefs.h >>conftest.$ac_ext
                   3164: cat >>conftest.$ac_ext <<_ACEOF
                   3165: /* end confdefs.h.  */
                   3166: 
1.1.1.11  root     3167: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3168: #ifdef __cplusplus
                   3169: extern "C"
                   3170: #endif
1.1.1.11  root     3171: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3172:    builtin and then its argument prototype would still apply.  */
                   3173: char cos ();
                   3174: int
                   3175: main ()
                   3176: {
                   3177: cos ();
                   3178:   ;
                   3179:   return 0;
                   3180: }
                   3181: _ACEOF
                   3182: rm -f conftest.$ac_objext conftest$ac_exeext
                   3183: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3184:   (eval $ac_link) 2>conftest.er1
                   3185:   ac_status=$?
                   3186:   grep -v '^ *+' conftest.er1 >conftest.err
                   3187:   rm -f conftest.er1
                   3188:   cat conftest.err >&5
                   3189:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3190:   (exit $ac_status); } &&
                   3191:         { ac_try='test -z "$ac_c_werror_flag"
                   3192:                         || test ! -s conftest.err'
                   3193:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3194:   (eval $ac_try) 2>&5
                   3195:   ac_status=$?
                   3196:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3197:   (exit $ac_status); }; } &&
                   3198:         { ac_try='test -s conftest$ac_exeext'
                   3199:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3200:   (eval $ac_try) 2>&5
                   3201:   ac_status=$?
                   3202:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3203:   (exit $ac_status); }; }; then
                   3204:   ac_cv_lib_moto_cos=yes
                   3205: else
                   3206:   echo "$as_me: failed program was:" >&5
                   3207: sed 's/^/| /' conftest.$ac_ext >&5
                   3208: 
                   3209: ac_cv_lib_moto_cos=no
                   3210: fi
                   3211: rm -f conftest.err conftest.$ac_objext \
                   3212:       conftest$ac_exeext conftest.$ac_ext
                   3213: LIBS=$ac_check_lib_save_LIBS
                   3214: fi
                   3215: echo "$as_me:$LINENO: result: $ac_cv_lib_moto_cos" >&5
                   3216: echo "${ECHO_T}$ac_cv_lib_moto_cos" >&6
                   3217: if test $ac_cv_lib_moto_cos = yes; then
1.1.1.11  root     3218:   HAVE_MOTO_LIB=yes
                   3219: else
1.1.1.19  root     3220:   HAVE_MOTO_LIB=no
1.1.1.11  root     3221: fi
                   3222: 
1.1.1.19  root     3223: echo "$as_me:$LINENO: checking for OpenLibrary in -lamiga" >&5
                   3224: echo $ECHO_N "checking for OpenLibrary in -lamiga... $ECHO_C" >&6
                   3225: if test "${ac_cv_lib_amiga_OpenLibrary+set}" = set; then
                   3226:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     3227: else
1.1.1.19  root     3228:   ac_check_lib_save_LIBS=$LIBS
1.1.1.3   root     3229: LIBS="-lamiga  $LIBS"
1.1.1.19  root     3230: cat >conftest.$ac_ext <<_ACEOF
                   3231: /* confdefs.h.  */
                   3232: _ACEOF
                   3233: cat confdefs.h >>conftest.$ac_ext
                   3234: cat >>conftest.$ac_ext <<_ACEOF
                   3235: /* end confdefs.h.  */
                   3236: 
1.1.1.3   root     3237: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3238: #ifdef __cplusplus
                   3239: extern "C"
                   3240: #endif
1.1.1.3   root     3241: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3242:    builtin and then its argument prototype would still apply.  */
                   3243: char OpenLibrary ();
                   3244: int
                   3245: main ()
                   3246: {
                   3247: OpenLibrary ();
                   3248:   ;
                   3249:   return 0;
                   3250: }
                   3251: _ACEOF
                   3252: rm -f conftest.$ac_objext conftest$ac_exeext
                   3253: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3254:   (eval $ac_link) 2>conftest.er1
                   3255:   ac_status=$?
                   3256:   grep -v '^ *+' conftest.er1 >conftest.err
                   3257:   rm -f conftest.er1
                   3258:   cat conftest.err >&5
                   3259:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3260:   (exit $ac_status); } &&
                   3261:         { ac_try='test -z "$ac_c_werror_flag"
                   3262:                         || test ! -s conftest.err'
                   3263:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3264:   (eval $ac_try) 2>&5
                   3265:   ac_status=$?
                   3266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3267:   (exit $ac_status); }; } &&
                   3268:         { ac_try='test -s conftest$ac_exeext'
                   3269:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3270:   (eval $ac_try) 2>&5
                   3271:   ac_status=$?
                   3272:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3273:   (exit $ac_status); }; }; then
                   3274:   ac_cv_lib_amiga_OpenLibrary=yes
                   3275: else
                   3276:   echo "$as_me: failed program was:" >&5
                   3277: sed 's/^/| /' conftest.$ac_ext >&5
                   3278: 
                   3279: ac_cv_lib_amiga_OpenLibrary=no
                   3280: fi
                   3281: rm -f conftest.err conftest.$ac_objext \
                   3282:       conftest$ac_exeext conftest.$ac_ext
                   3283: LIBS=$ac_check_lib_save_LIBS
                   3284: fi
                   3285: echo "$as_me:$LINENO: result: $ac_cv_lib_amiga_OpenLibrary" >&5
                   3286: echo "${ECHO_T}$ac_cv_lib_amiga_OpenLibrary" >&6
                   3287: if test $ac_cv_lib_amiga_OpenLibrary = yes; then
1.1.1.4   root     3288:   HAVE_AMIGA_LIB=yes
1.1.1.3   root     3289: else
1.1.1.19  root     3290:   HAVE_AMIGA_LIB=n
1.1.1.3   root     3291: fi
                   3292: 
1.1.1.19  root     3293: echo "$as_me:$LINENO: checking for vga_setmode in -lvga" >&5
                   3294: echo $ECHO_N "checking for vga_setmode in -lvga... $ECHO_C" >&6
                   3295: if test "${ac_cv_lib_vga_vga_setmode+set}" = set; then
                   3296:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3297: else
1.1.1.19  root     3298:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3299: LIBS="-lvga  $LIBS"
1.1.1.19  root     3300: cat >conftest.$ac_ext <<_ACEOF
                   3301: /* confdefs.h.  */
                   3302: _ACEOF
                   3303: cat confdefs.h >>conftest.$ac_ext
                   3304: cat >>conftest.$ac_ext <<_ACEOF
                   3305: /* end confdefs.h.  */
                   3306: 
1.1       root     3307: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3308: #ifdef __cplusplus
                   3309: extern "C"
                   3310: #endif
1.1       root     3311: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3312:    builtin and then its argument prototype would still apply.  */
                   3313: char vga_setmode ();
                   3314: int
                   3315: main ()
                   3316: {
                   3317: vga_setmode ();
                   3318:   ;
                   3319:   return 0;
                   3320: }
                   3321: _ACEOF
                   3322: rm -f conftest.$ac_objext conftest$ac_exeext
                   3323: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3324:   (eval $ac_link) 2>conftest.er1
                   3325:   ac_status=$?
                   3326:   grep -v '^ *+' conftest.er1 >conftest.err
                   3327:   rm -f conftest.er1
                   3328:   cat conftest.err >&5
                   3329:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3330:   (exit $ac_status); } &&
                   3331:         { ac_try='test -z "$ac_c_werror_flag"
                   3332:                         || test ! -s conftest.err'
                   3333:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3334:   (eval $ac_try) 2>&5
                   3335:   ac_status=$?
                   3336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3337:   (exit $ac_status); }; } &&
                   3338:         { ac_try='test -s conftest$ac_exeext'
                   3339:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3340:   (eval $ac_try) 2>&5
                   3341:   ac_status=$?
                   3342:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3343:   (exit $ac_status); }; }; then
                   3344:   ac_cv_lib_vga_vga_setmode=yes
                   3345: else
                   3346:   echo "$as_me: failed program was:" >&5
                   3347: sed 's/^/| /' conftest.$ac_ext >&5
                   3348: 
                   3349: ac_cv_lib_vga_vga_setmode=no
                   3350: fi
                   3351: rm -f conftest.err conftest.$ac_objext \
                   3352:       conftest$ac_exeext conftest.$ac_ext
                   3353: LIBS=$ac_check_lib_save_LIBS
                   3354: fi
                   3355: echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_setmode" >&5
                   3356: echo "${ECHO_T}$ac_cv_lib_vga_vga_setmode" >&6
                   3357: if test $ac_cv_lib_vga_vga_setmode = yes; then
1.1.1.4   root     3358:   HAVE_SVGA_LIB=yes
1.1       root     3359: else
1.1.1.19  root     3360:   HAVE_SVGA_LIB=no
1.1       root     3361: fi
                   3362: 
1.1.1.19  root     3363: echo "$as_me:$LINENO: checking for AFOpenAudioConn in -lAF" >&5
                   3364: echo $ECHO_N "checking for AFOpenAudioConn in -lAF... $ECHO_C" >&6
                   3365: if test "${ac_cv_lib_AF_AFOpenAudioConn+set}" = set; then
                   3366:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3367: else
1.1.1.19  root     3368:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3369: LIBS="-lAF  $LIBS"
1.1.1.19  root     3370: cat >conftest.$ac_ext <<_ACEOF
                   3371: /* confdefs.h.  */
                   3372: _ACEOF
                   3373: cat confdefs.h >>conftest.$ac_ext
                   3374: cat >>conftest.$ac_ext <<_ACEOF
                   3375: /* end confdefs.h.  */
                   3376: 
1.1       root     3377: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3378: #ifdef __cplusplus
                   3379: extern "C"
                   3380: #endif
1.1       root     3381: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3382:    builtin and then its argument prototype would still apply.  */
                   3383: char AFOpenAudioConn ();
                   3384: int
                   3385: main ()
                   3386: {
                   3387: AFOpenAudioConn ();
                   3388:   ;
                   3389:   return 0;
                   3390: }
                   3391: _ACEOF
                   3392: rm -f conftest.$ac_objext conftest$ac_exeext
                   3393: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3394:   (eval $ac_link) 2>conftest.er1
                   3395:   ac_status=$?
                   3396:   grep -v '^ *+' conftest.er1 >conftest.err
                   3397:   rm -f conftest.er1
                   3398:   cat conftest.err >&5
                   3399:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3400:   (exit $ac_status); } &&
                   3401:         { ac_try='test -z "$ac_c_werror_flag"
                   3402:                         || test ! -s conftest.err'
                   3403:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3404:   (eval $ac_try) 2>&5
                   3405:   ac_status=$?
                   3406:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3407:   (exit $ac_status); }; } &&
                   3408:         { ac_try='test -s conftest$ac_exeext'
                   3409:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3410:   (eval $ac_try) 2>&5
                   3411:   ac_status=$?
                   3412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3413:   (exit $ac_status); }; }; then
                   3414:   ac_cv_lib_AF_AFOpenAudioConn=yes
                   3415: else
                   3416:   echo "$as_me: failed program was:" >&5
                   3417: sed 's/^/| /' conftest.$ac_ext >&5
                   3418: 
                   3419: ac_cv_lib_AF_AFOpenAudioConn=no
                   3420: fi
                   3421: rm -f conftest.err conftest.$ac_objext \
                   3422:       conftest$ac_exeext conftest.$ac_ext
                   3423: LIBS=$ac_check_lib_save_LIBS
                   3424: fi
                   3425: echo "$as_me:$LINENO: result: $ac_cv_lib_AF_AFOpenAudioConn" >&5
                   3426: echo "${ECHO_T}$ac_cv_lib_AF_AFOpenAudioConn" >&6
                   3427: if test $ac_cv_lib_AF_AFOpenAudioConn = yes; then
1.1.1.4   root     3428:   HAVE_AF_LIB=yes
                   3429: else
1.1.1.19  root     3430:   HAVE_AF_LIB=no
1.1.1.4   root     3431: fi
                   3432: 
1.1.1.19  root     3433: echo "$as_me:$LINENO: checking for waveOutGetNumDevs in -lmme" >&5
                   3434: echo $ECHO_N "checking for waveOutGetNumDevs in -lmme... $ECHO_C" >&6
                   3435: if test "${ac_cv_lib_mme_waveOutGetNumDevs+set}" = set; then
                   3436:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     3437: else
1.1.1.19  root     3438:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3439: LIBS="-lmme  $LIBS"
1.1.1.19  root     3440: cat >conftest.$ac_ext <<_ACEOF
                   3441: /* confdefs.h.  */
                   3442: _ACEOF
                   3443: cat confdefs.h >>conftest.$ac_ext
                   3444: cat >>conftest.$ac_ext <<_ACEOF
                   3445: /* end confdefs.h.  */
                   3446: 
1.1.1.6   root     3447: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3448: #ifdef __cplusplus
                   3449: extern "C"
                   3450: #endif
1.1.1.6   root     3451: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3452:    builtin and then its argument prototype would still apply.  */
                   3453: char waveOutGetNumDevs ();
                   3454: int
                   3455: main ()
                   3456: {
                   3457: waveOutGetNumDevs ();
                   3458:   ;
                   3459:   return 0;
                   3460: }
                   3461: _ACEOF
                   3462: rm -f conftest.$ac_objext conftest$ac_exeext
                   3463: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3464:   (eval $ac_link) 2>conftest.er1
                   3465:   ac_status=$?
                   3466:   grep -v '^ *+' conftest.er1 >conftest.err
                   3467:   rm -f conftest.er1
                   3468:   cat conftest.err >&5
                   3469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3470:   (exit $ac_status); } &&
                   3471:         { ac_try='test -z "$ac_c_werror_flag"
                   3472:                         || test ! -s conftest.err'
                   3473:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3474:   (eval $ac_try) 2>&5
                   3475:   ac_status=$?
                   3476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3477:   (exit $ac_status); }; } &&
                   3478:         { ac_try='test -s conftest$ac_exeext'
                   3479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3480:   (eval $ac_try) 2>&5
                   3481:   ac_status=$?
                   3482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3483:   (exit $ac_status); }; }; then
                   3484:   ac_cv_lib_mme_waveOutGetNumDevs=yes
                   3485: else
                   3486:   echo "$as_me: failed program was:" >&5
                   3487: sed 's/^/| /' conftest.$ac_ext >&5
                   3488: 
                   3489: ac_cv_lib_mme_waveOutGetNumDevs=no
                   3490: fi
                   3491: rm -f conftest.err conftest.$ac_objext \
                   3492:       conftest$ac_exeext conftest.$ac_ext
                   3493: LIBS=$ac_check_lib_save_LIBS
                   3494: fi
                   3495: echo "$as_me:$LINENO: result: $ac_cv_lib_mme_waveOutGetNumDevs" >&5
                   3496: echo "${ECHO_T}$ac_cv_lib_mme_waveOutGetNumDevs" >&6
                   3497: if test $ac_cv_lib_mme_waveOutGetNumDevs = yes; then
1.1.1.6   root     3498:   HAVE_MME_LIB=yes
                   3499: else
1.1.1.19  root     3500:   HAVE_MME_LIB=no
1.1.1.6   root     3501: fi
                   3502: 
1.1.1.19  root     3503: echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
                   3504: echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
                   3505: if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
                   3506:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3507: else
1.1.1.19  root     3508:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     3509: LIBS="-lncurses  $LIBS"
1.1.1.19  root     3510: cat >conftest.$ac_ext <<_ACEOF
                   3511: /* confdefs.h.  */
                   3512: _ACEOF
                   3513: cat confdefs.h >>conftest.$ac_ext
                   3514: cat >>conftest.$ac_ext <<_ACEOF
                   3515: /* end confdefs.h.  */
                   3516: 
1.1.1.4   root     3517: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3518: #ifdef __cplusplus
                   3519: extern "C"
                   3520: #endif
1.1.1.4   root     3521: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3522:    builtin and then its argument prototype would still apply.  */
                   3523: char waddch ();
                   3524: int
                   3525: main ()
                   3526: {
                   3527: waddch ();
                   3528:   ;
                   3529:   return 0;
                   3530: }
                   3531: _ACEOF
                   3532: rm -f conftest.$ac_objext conftest$ac_exeext
                   3533: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3534:   (eval $ac_link) 2>conftest.er1
                   3535:   ac_status=$?
                   3536:   grep -v '^ *+' conftest.er1 >conftest.err
                   3537:   rm -f conftest.er1
                   3538:   cat conftest.err >&5
                   3539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3540:   (exit $ac_status); } &&
                   3541:         { ac_try='test -z "$ac_c_werror_flag"
                   3542:                         || test ! -s conftest.err'
                   3543:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3544:   (eval $ac_try) 2>&5
                   3545:   ac_status=$?
                   3546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3547:   (exit $ac_status); }; } &&
                   3548:         { ac_try='test -s conftest$ac_exeext'
                   3549:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3550:   (eval $ac_try) 2>&5
                   3551:   ac_status=$?
                   3552:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3553:   (exit $ac_status); }; }; then
                   3554:   ac_cv_lib_ncurses_waddch=yes
                   3555: else
                   3556:   echo "$as_me: failed program was:" >&5
                   3557: sed 's/^/| /' conftest.$ac_ext >&5
                   3558: 
                   3559: ac_cv_lib_ncurses_waddch=no
                   3560: fi
                   3561: rm -f conftest.err conftest.$ac_objext \
                   3562:       conftest$ac_exeext conftest.$ac_ext
                   3563: LIBS=$ac_check_lib_save_LIBS
                   3564: fi
                   3565: echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
                   3566: echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
                   3567: if test $ac_cv_lib_ncurses_waddch = yes; then
1.1.1.4   root     3568:   HAVE_NCURSES_LIB=yes
                   3569: else
1.1.1.19  root     3570:   HAVE_NCURSES_LIB=no
1.1.1.4   root     3571: fi
                   3572: 
1.1.1.19  root     3573: echo "$as_me:$LINENO: checking for sem_init in -lposix4" >&5
                   3574: echo $ECHO_N "checking for sem_init in -lposix4... $ECHO_C" >&6
                   3575: if test "${ac_cv_lib_posix4_sem_init+set}" = set; then
                   3576:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3577: else
1.1.1.19  root     3578:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3579: LIBS="-lposix4  $LIBS"
1.1.1.19  root     3580: cat >conftest.$ac_ext <<_ACEOF
                   3581: /* confdefs.h.  */
                   3582: _ACEOF
                   3583: cat confdefs.h >>conftest.$ac_ext
                   3584: cat >>conftest.$ac_ext <<_ACEOF
                   3585: /* end confdefs.h.  */
                   3586: 
1.1.1.4   root     3587: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3588: #ifdef __cplusplus
                   3589: extern "C"
                   3590: #endif
1.1.1.4   root     3591: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3592:    builtin and then its argument prototype would still apply.  */
                   3593: char sem_init ();
                   3594: int
                   3595: main ()
                   3596: {
                   3597: sem_init ();
                   3598:   ;
                   3599:   return 0;
                   3600: }
                   3601: _ACEOF
                   3602: rm -f conftest.$ac_objext conftest$ac_exeext
                   3603: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3604:   (eval $ac_link) 2>conftest.er1
                   3605:   ac_status=$?
                   3606:   grep -v '^ *+' conftest.er1 >conftest.err
                   3607:   rm -f conftest.er1
                   3608:   cat conftest.err >&5
                   3609:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3610:   (exit $ac_status); } &&
                   3611:         { ac_try='test -z "$ac_c_werror_flag"
                   3612:                         || test ! -s conftest.err'
                   3613:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3614:   (eval $ac_try) 2>&5
                   3615:   ac_status=$?
                   3616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3617:   (exit $ac_status); }; } &&
                   3618:         { ac_try='test -s conftest$ac_exeext'
                   3619:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3620:   (eval $ac_try) 2>&5
                   3621:   ac_status=$?
                   3622:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3623:   (exit $ac_status); }; }; then
                   3624:   ac_cv_lib_posix4_sem_init=yes
                   3625: else
                   3626:   echo "$as_me: failed program was:" >&5
                   3627: sed 's/^/| /' conftest.$ac_ext >&5
                   3628: 
                   3629: ac_cv_lib_posix4_sem_init=no
                   3630: fi
                   3631: rm -f conftest.err conftest.$ac_objext \
                   3632:       conftest$ac_exeext conftest.$ac_ext
                   3633: LIBS=$ac_check_lib_save_LIBS
                   3634: fi
                   3635: echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_init" >&5
                   3636: echo "${ECHO_T}$ac_cv_lib_posix4_sem_init" >&6
                   3637: if test $ac_cv_lib_posix4_sem_init = yes; then
1.1.1.6   root     3638:   HAVE_POSIX4_LIB=yes
1.1.1.4   root     3639: else
1.1.1.19  root     3640:   HAVE_POSIX4_LIB=no
1.1.1.4   root     3641: fi
                   3642: 
1.1.1.19  root     3643: echo "$as_me:$LINENO: checking for sem_init in -lrt" >&5
                   3644: echo $ECHO_N "checking for sem_init in -lrt... $ECHO_C" >&6
                   3645: if test "${ac_cv_lib_rt_sem_init+set}" = set; then
                   3646:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3647: else
1.1.1.19  root     3648:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3649: LIBS="-lrt  $LIBS"
1.1.1.19  root     3650: cat >conftest.$ac_ext <<_ACEOF
                   3651: /* confdefs.h.  */
                   3652: _ACEOF
                   3653: cat confdefs.h >>conftest.$ac_ext
                   3654: cat >>conftest.$ac_ext <<_ACEOF
                   3655: /* end confdefs.h.  */
                   3656: 
1.1.1.4   root     3657: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3658: #ifdef __cplusplus
                   3659: extern "C"
                   3660: #endif
1.1.1.4   root     3661: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3662:    builtin and then its argument prototype would still apply.  */
                   3663: char sem_init ();
                   3664: int
                   3665: main ()
                   3666: {
                   3667: sem_init ();
                   3668:   ;
                   3669:   return 0;
                   3670: }
                   3671: _ACEOF
                   3672: rm -f conftest.$ac_objext conftest$ac_exeext
                   3673: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3674:   (eval $ac_link) 2>conftest.er1
                   3675:   ac_status=$?
                   3676:   grep -v '^ *+' conftest.er1 >conftest.err
                   3677:   rm -f conftest.er1
                   3678:   cat conftest.err >&5
                   3679:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3680:   (exit $ac_status); } &&
                   3681:         { ac_try='test -z "$ac_c_werror_flag"
                   3682:                         || test ! -s conftest.err'
                   3683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3684:   (eval $ac_try) 2>&5
                   3685:   ac_status=$?
                   3686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3687:   (exit $ac_status); }; } &&
                   3688:         { ac_try='test -s conftest$ac_exeext'
                   3689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3690:   (eval $ac_try) 2>&5
                   3691:   ac_status=$?
                   3692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3693:   (exit $ac_status); }; }; then
                   3694:   ac_cv_lib_rt_sem_init=yes
                   3695: else
                   3696:   echo "$as_me: failed program was:" >&5
                   3697: sed 's/^/| /' conftest.$ac_ext >&5
                   3698: 
                   3699: ac_cv_lib_rt_sem_init=no
                   3700: fi
                   3701: rm -f conftest.err conftest.$ac_objext \
                   3702:       conftest$ac_exeext conftest.$ac_ext
                   3703: LIBS=$ac_check_lib_save_LIBS
                   3704: fi
                   3705: echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_init" >&5
                   3706: echo "${ECHO_T}$ac_cv_lib_rt_sem_init" >&6
                   3707: if test $ac_cv_lib_rt_sem_init = yes; then
1.1.1.6   root     3708:   HAVE_RT_LIB=yes
1.1.1.4   root     3709: else
1.1.1.19  root     3710:   HAVE_RT_LIB=no
1.1.1.4   root     3711: fi
                   3712: 
1.1.1.19  root     3713: echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
                   3714: echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
                   3715: if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
                   3716:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.8   root     3717: else
1.1.1.19  root     3718:   ac_check_lib_save_LIBS=$LIBS
1.1.1.8   root     3719: LIBS="-laudio  $LIBS"
1.1.1.19  root     3720: cat >conftest.$ac_ext <<_ACEOF
                   3721: /* confdefs.h.  */
                   3722: _ACEOF
                   3723: cat confdefs.h >>conftest.$ac_ext
                   3724: cat >>conftest.$ac_ext <<_ACEOF
                   3725: /* end confdefs.h.  */
                   3726: 
1.1.1.8   root     3727: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     3728: #ifdef __cplusplus
                   3729: extern "C"
                   3730: #endif
1.1.1.8   root     3731: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     3732:    builtin and then its argument prototype would still apply.  */
                   3733: char alOpenPort ();
                   3734: int
                   3735: main ()
                   3736: {
                   3737: alOpenPort ();
                   3738:   ;
                   3739:   return 0;
                   3740: }
                   3741: _ACEOF
                   3742: rm -f conftest.$ac_objext conftest$ac_exeext
                   3743: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3744:   (eval $ac_link) 2>conftest.er1
                   3745:   ac_status=$?
                   3746:   grep -v '^ *+' conftest.er1 >conftest.err
                   3747:   rm -f conftest.er1
                   3748:   cat conftest.err >&5
                   3749:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3750:   (exit $ac_status); } &&
                   3751:         { ac_try='test -z "$ac_c_werror_flag"
                   3752:                         || test ! -s conftest.err'
                   3753:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3754:   (eval $ac_try) 2>&5
                   3755:   ac_status=$?
                   3756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3757:   (exit $ac_status); }; } &&
                   3758:         { ac_try='test -s conftest$ac_exeext'
                   3759:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3760:   (eval $ac_try) 2>&5
                   3761:   ac_status=$?
                   3762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3763:   (exit $ac_status); }; }; then
                   3764:   ac_cv_lib_audio_alOpenPort=yes
                   3765: else
                   3766:   echo "$as_me: failed program was:" >&5
                   3767: sed 's/^/| /' conftest.$ac_ext >&5
                   3768: 
                   3769: ac_cv_lib_audio_alOpenPort=no
                   3770: fi
                   3771: rm -f conftest.err conftest.$ac_objext \
                   3772:       conftest$ac_exeext conftest.$ac_ext
                   3773: LIBS=$ac_check_lib_save_LIBS
                   3774: fi
                   3775: echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
                   3776: echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
                   3777: if test $ac_cv_lib_audio_alOpenPort = yes; then
1.1.1.8   root     3778:   HAVE_SGIAUDIO_LIB=yes
                   3779: else
1.1.1.19  root     3780:   HAVE_SGIAUDIO_LIB=no
1.1.1.8   root     3781: fi
                   3782: 
1.1       root     3783: 
1.1.1.19  root     3784: echo "$as_me:$LINENO: checking for X" >&5
                   3785: echo $ECHO_N "checking for X... $ECHO_C" >&6
                   3786: 
1.1       root     3787: 
                   3788: # Check whether --with-x or --without-x was given.
                   3789: if test "${with_x+set}" = set; then
                   3790:   withval="$with_x"
                   3791: 
1.1.1.19  root     3792: fi;
1.1       root     3793: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   3794: if test "x$with_x" = xno; then
                   3795:   # The user explicitly disabled X.
                   3796:   have_x=disabled
                   3797: else
                   3798:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   3799:     # Both variables are already set.
                   3800:     have_x=yes
                   3801:   else
1.1.1.19  root     3802:     if test "${ac_cv_have_x+set}" = set; then
                   3803:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3804: else
                   3805:   # One or both of the vars are not set, and there is no cached value.
1.1.1.19  root     3806: ac_x_includes=no ac_x_libraries=no
                   3807: rm -fr conftest.dir
                   3808: if mkdir conftest.dir; then
                   3809:   cd conftest.dir
1.1       root     3810:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1.1.1.19  root     3811:   cat >Imakefile <<'_ACEOF'
1.1       root     3812: acfindx:
                   3813:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1.1.1.19  root     3814: _ACEOF
1.1       root     3815:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   3816:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   3817:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   3818:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   3819:     for ac_extension in a so sl; do
                   3820:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1.1.1.19  root     3821:         test -f $ac_im_libdir/libX11.$ac_extension; then
                   3822:        ac_im_usrlibdir=$ac_im_libdir; break
1.1       root     3823:       fi
                   3824:     done
1.1.1.4   root     3825:     # Screen out bogus values from the imake configuration.  They are
                   3826:     # bogus both because they are the default anyway, and because
                   3827:     # using them would break gcc on systems where it needs fixed includes.
1.1.1.19  root     3828:     case $ac_im_incroot in
1.1       root     3829:        /usr/include) ;;
1.1.1.19  root     3830:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       root     3831:     esac
1.1.1.19  root     3832:     case $ac_im_usrlibdir in
1.1       root     3833:        /usr/lib | /lib) ;;
1.1.1.19  root     3834:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       root     3835:     esac
                   3836:   fi
                   3837:   cd ..
1.1.1.19  root     3838:   rm -fr conftest.dir
1.1       root     3839: fi
                   3840: 
1.1.1.19  root     3841: # Standard set of common directories for X headers.
                   3842: # Check X11 before X11Rn because it is often a symlink to the current release.
                   3843: ac_x_header_dirs='
                   3844: /usr/X11/include
                   3845: /usr/X11R6/include
                   3846: /usr/X11R5/include
                   3847: /usr/X11R4/include
                   3848: 
                   3849: /usr/include/X11
                   3850: /usr/include/X11R6
                   3851: /usr/include/X11R5
                   3852: /usr/include/X11R4
                   3853: 
                   3854: /usr/local/X11/include
                   3855: /usr/local/X11R6/include
                   3856: /usr/local/X11R5/include
                   3857: /usr/local/X11R4/include
                   3858: 
                   3859: /usr/local/include/X11
                   3860: /usr/local/include/X11R6
                   3861: /usr/local/include/X11R5
                   3862: /usr/local/include/X11R4
                   3863: 
                   3864: /usr/X386/include
                   3865: /usr/x386/include
                   3866: /usr/XFree86/include/X11
                   3867: 
                   3868: /usr/include
                   3869: /usr/local/include
                   3870: /usr/unsupported/include
                   3871: /usr/athena/include
                   3872: /usr/local/x11r5/include
                   3873: /usr/lpp/Xamples/include
                   3874: 
                   3875: /usr/openwin/include
                   3876: /usr/openwin/share/include'
1.1       root     3877: 
1.1.1.19  root     3878: if test "$ac_x_includes" = no; then
                   3879:   # Guess where to find include files, by looking for Intrinsic.h.
1.1       root     3880:   # First, try using that file with no special directory specified.
1.1.1.19  root     3881:   cat >conftest.$ac_ext <<_ACEOF
                   3882: /* confdefs.h.  */
                   3883: _ACEOF
                   3884: cat confdefs.h >>conftest.$ac_ext
                   3885: cat >>conftest.$ac_ext <<_ACEOF
                   3886: /* end confdefs.h.  */
                   3887: #include <X11/Intrinsic.h>
                   3888: _ACEOF
                   3889: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3890:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3891:   ac_status=$?
                   3892:   grep -v '^ *+' conftest.er1 >conftest.err
                   3893:   rm -f conftest.er1
                   3894:   cat conftest.err >&5
                   3895:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3896:   (exit $ac_status); } >/dev/null; then
                   3897:   if test -s conftest.err; then
                   3898:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3899:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   3900:   else
                   3901:     ac_cpp_err=
                   3902:   fi
                   3903: else
                   3904:   ac_cpp_err=yes
1.1       root     3905: fi
1.1.1.19  root     3906: if test -z "$ac_cpp_err"; then
                   3907:   # We can compile using X headers with no special include directory.
                   3908: ac_x_includes=
                   3909: else
                   3910:   echo "$as_me: failed program was:" >&5
                   3911: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     3912: 
1.1.1.19  root     3913:   for ac_dir in $ac_x_header_dirs; do
                   3914:   if test -r "$ac_dir/X11/Intrinsic.h"; then
                   3915:     ac_x_includes=$ac_dir
                   3916:     break
                   3917:   fi
                   3918: done
                   3919: fi
                   3920: rm -f conftest.err conftest.$ac_ext
                   3921: fi # $ac_x_includes = no
1.1       root     3922: 
1.1.1.19  root     3923: if test "$ac_x_libraries" = no; then
                   3924:   # Check for the libraries.
1.1       root     3925:   # See if we find them without any special options.
                   3926:   # Don't add to $LIBS permanently.
1.1.1.19  root     3927:   ac_save_LIBS=$LIBS
                   3928:   LIBS="-lXt $LIBS"
                   3929:   cat >conftest.$ac_ext <<_ACEOF
                   3930: /* confdefs.h.  */
                   3931: _ACEOF
                   3932: cat confdefs.h >>conftest.$ac_ext
                   3933: cat >>conftest.$ac_ext <<_ACEOF
                   3934: /* end confdefs.h.  */
                   3935: #include <X11/Intrinsic.h>
                   3936: int
                   3937: main ()
                   3938: {
                   3939: XtMalloc (0)
                   3940:   ;
                   3941:   return 0;
                   3942: }
                   3943: _ACEOF
                   3944: rm -f conftest.$ac_objext conftest$ac_exeext
                   3945: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3946:   (eval $ac_link) 2>conftest.er1
                   3947:   ac_status=$?
                   3948:   grep -v '^ *+' conftest.er1 >conftest.err
                   3949:   rm -f conftest.er1
                   3950:   cat conftest.err >&5
                   3951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3952:   (exit $ac_status); } &&
                   3953:         { ac_try='test -z "$ac_c_werror_flag"
                   3954:                         || test ! -s conftest.err'
                   3955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3956:   (eval $ac_try) 2>&5
                   3957:   ac_status=$?
                   3958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3959:   (exit $ac_status); }; } &&
                   3960:         { ac_try='test -s conftest$ac_exeext'
                   3961:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3962:   (eval $ac_try) 2>&5
                   3963:   ac_status=$?
                   3964:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3965:   (exit $ac_status); }; }; then
                   3966:   LIBS=$ac_save_LIBS
1.1       root     3967: # We can link X programs with no special library path.
                   3968: ac_x_libraries=
                   3969: else
1.1.1.19  root     3970:   echo "$as_me: failed program was:" >&5
                   3971: sed 's/^/| /' conftest.$ac_ext >&5
                   3972: 
                   3973: LIBS=$ac_save_LIBS
                   3974: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       root     3975: do
1.1.1.19  root     3976:   # Don't even attempt the hair of trying to link an X program!
1.1       root     3977:   for ac_extension in a so sl; do
1.1.1.19  root     3978:     if test -r $ac_dir/libXt.$ac_extension; then
1.1       root     3979:       ac_x_libraries=$ac_dir
                   3980:       break 2
                   3981:     fi
                   3982:   done
                   3983: done
                   3984: fi
1.1.1.19  root     3985: rm -f conftest.err conftest.$ac_objext \
                   3986:       conftest$ac_exeext conftest.$ac_ext
                   3987: fi # $ac_x_libraries = no
1.1       root     3988: 
1.1.1.19  root     3989: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1.1       root     3990:   # Didn't find X anywhere.  Cache the known absence of X.
                   3991:   ac_cv_have_x="have_x=no"
                   3992: else
                   3993:   # Record where we found X for the cache.
                   3994:   ac_cv_have_x="have_x=yes \
1.1.1.19  root     3995:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1.1       root     3996: fi
                   3997: fi
1.1.1.19  root     3998: 
1.1       root     3999:   fi
                   4000:   eval "$ac_cv_have_x"
                   4001: fi # $with_x != no
                   4002: 
                   4003: if test "$have_x" != yes; then
1.1.1.19  root     4004:   echo "$as_me:$LINENO: result: $have_x" >&5
                   4005: echo "${ECHO_T}$have_x" >&6
1.1       root     4006:   no_x=yes
                   4007: else
                   4008:   # If each of the values was on the command line, it overrides each guess.
                   4009:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   4010:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   4011:   # Update the cache value to reflect the command line values.
                   4012:   ac_cv_have_x="have_x=yes \
                   4013:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1.1.1.19  root     4014:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
                   4015: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
1.1       root     4016: fi
                   4017: 
                   4018: if test "$no_x" = yes; then
                   4019:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1.1.19  root     4020: 
                   4021: cat >>confdefs.h <<\_ACEOF
1.1.1.4   root     4022: #define X_DISPLAY_MISSING 1
1.1.1.19  root     4023: _ACEOF
1.1.1.4   root     4024: 
                   4025:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       root     4026: else
                   4027:   if test -n "$x_includes"; then
                   4028:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   4029:   fi
                   4030: 
                   4031:   # It would also be nice to do this for all -L options, not just this one.
                   4032:   if test -n "$x_libraries"; then
                   4033:     X_LIBS="$X_LIBS -L$x_libraries"
1.1.1.4   root     4034:     # For Solaris; some versions of Sun CC require a space after -R and
                   4035:     # others require no space.  Words are not sufficient . . . .
1.1.1.19  root     4036:     case `(uname -sr) 2>/dev/null` in
1.1.1.4   root     4037:     "SunOS 5"*)
1.1.1.19  root     4038:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
                   4039: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
                   4040:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   4041:       cat >conftest.$ac_ext <<_ACEOF
                   4042: /* confdefs.h.  */
                   4043: _ACEOF
                   4044: cat confdefs.h >>conftest.$ac_ext
                   4045: cat >>conftest.$ac_ext <<_ACEOF
                   4046: /* end confdefs.h.  */
1.1       root     4047: 
1.1.1.19  root     4048: int
                   4049: main ()
                   4050: {
1.1       root     4051: 
1.1.1.19  root     4052:   ;
                   4053:   return 0;
                   4054: }
                   4055: _ACEOF
                   4056: rm -f conftest.$ac_objext conftest$ac_exeext
                   4057: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4058:   (eval $ac_link) 2>conftest.er1
                   4059:   ac_status=$?
                   4060:   grep -v '^ *+' conftest.er1 >conftest.err
                   4061:   rm -f conftest.er1
                   4062:   cat conftest.err >&5
                   4063:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4064:   (exit $ac_status); } &&
                   4065:         { ac_try='test -z "$ac_c_werror_flag"
                   4066:                         || test ! -s conftest.err'
                   4067:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4068:   (eval $ac_try) 2>&5
                   4069:   ac_status=$?
                   4070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4071:   (exit $ac_status); }; } &&
                   4072:         { ac_try='test -s conftest$ac_exeext'
                   4073:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4074:   (eval $ac_try) 2>&5
                   4075:   ac_status=$?
                   4076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4077:   (exit $ac_status); }; }; then
1.1.1.4   root     4078:   ac_R_nospace=yes
1.1       root     4079: else
1.1.1.19  root     4080:   echo "$as_me: failed program was:" >&5
                   4081: sed 's/^/| /' conftest.$ac_ext >&5
                   4082: 
                   4083: ac_R_nospace=no
1.1.1.4   root     4084: fi
1.1.1.19  root     4085: rm -f conftest.err conftest.$ac_objext \
                   4086:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4087:       if test $ac_R_nospace = yes; then
1.1.1.19  root     4088:        echo "$as_me:$LINENO: result: no" >&5
                   4089: echo "${ECHO_T}no" >&6
1.1.1.4   root     4090:        X_LIBS="$X_LIBS -R$x_libraries"
                   4091:       else
                   4092:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.1.1.19  root     4093:        cat >conftest.$ac_ext <<_ACEOF
                   4094: /* confdefs.h.  */
                   4095: _ACEOF
                   4096: cat confdefs.h >>conftest.$ac_ext
                   4097: cat >>conftest.$ac_ext <<_ACEOF
                   4098: /* end confdefs.h.  */
1.1       root     4099: 
1.1.1.19  root     4100: int
                   4101: main ()
                   4102: {
1.1.1.4   root     4103: 
1.1.1.19  root     4104:   ;
                   4105:   return 0;
                   4106: }
                   4107: _ACEOF
                   4108: rm -f conftest.$ac_objext conftest$ac_exeext
                   4109: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4110:   (eval $ac_link) 2>conftest.er1
                   4111:   ac_status=$?
                   4112:   grep -v '^ *+' conftest.er1 >conftest.err
                   4113:   rm -f conftest.er1
                   4114:   cat conftest.err >&5
                   4115:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4116:   (exit $ac_status); } &&
                   4117:         { ac_try='test -z "$ac_c_werror_flag"
                   4118:                         || test ! -s conftest.err'
                   4119:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4120:   (eval $ac_try) 2>&5
                   4121:   ac_status=$?
                   4122:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4123:   (exit $ac_status); }; } &&
                   4124:         { ac_try='test -s conftest$ac_exeext'
                   4125:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4126:   (eval $ac_try) 2>&5
                   4127:   ac_status=$?
                   4128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4129:   (exit $ac_status); }; }; then
1.1.1.4   root     4130:   ac_R_space=yes
1.1       root     4131: else
1.1.1.19  root     4132:   echo "$as_me: failed program was:" >&5
                   4133: sed 's/^/| /' conftest.$ac_ext >&5
                   4134: 
                   4135: ac_R_space=no
1.1       root     4136: fi
1.1.1.19  root     4137: rm -f conftest.err conftest.$ac_objext \
                   4138:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4139:        if test $ac_R_space = yes; then
1.1.1.19  root     4140:          echo "$as_me:$LINENO: result: yes" >&5
                   4141: echo "${ECHO_T}yes" >&6
1.1.1.4   root     4142:          X_LIBS="$X_LIBS -R $x_libraries"
                   4143:        else
1.1.1.19  root     4144:          echo "$as_me:$LINENO: result: neither works" >&5
                   4145: echo "${ECHO_T}neither works" >&6
1.1.1.4   root     4146:        fi
                   4147:       fi
1.1.1.19  root     4148:       LIBS=$ac_xsave_LIBS
1.1.1.4   root     4149:     esac
                   4150:   fi
1.1       root     4151: 
                   4152:   # Check for system-dependent libraries X programs must link with.
1.1.1.4   root     4153:   # Do this before checking for the system-independent R6 libraries
                   4154:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       root     4155: 
                   4156:   if test "$ISC" = yes; then
                   4157:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   4158:   else
1.1.1.19  root     4159:     # Martyn Johnson says this is needed for Ultrix, if the X
                   4160:     # libraries were built with DECnet support.  And Karl Berry says
1.1       root     4161:     # the Alpha needs dnet_stub (dnet does not exist).
1.1.1.19  root     4162:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   4163:     cat >conftest.$ac_ext <<_ACEOF
                   4164: /* confdefs.h.  */
                   4165: _ACEOF
                   4166: cat confdefs.h >>conftest.$ac_ext
                   4167: cat >>conftest.$ac_ext <<_ACEOF
                   4168: /* end confdefs.h.  */
                   4169: 
1.1       root     4170: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     4171: #ifdef __cplusplus
                   4172: extern "C"
                   4173: #endif
1.1       root     4174: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     4175:    builtin and then its argument prototype would still apply.  */
                   4176: char XOpenDisplay ();
                   4177: int
                   4178: main ()
                   4179: {
                   4180: XOpenDisplay ();
                   4181:   ;
                   4182:   return 0;
                   4183: }
                   4184: _ACEOF
                   4185: rm -f conftest.$ac_objext conftest$ac_exeext
                   4186: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4187:   (eval $ac_link) 2>conftest.er1
                   4188:   ac_status=$?
                   4189:   grep -v '^ *+' conftest.er1 >conftest.err
                   4190:   rm -f conftest.er1
                   4191:   cat conftest.err >&5
                   4192:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4193:   (exit $ac_status); } &&
                   4194:         { ac_try='test -z "$ac_c_werror_flag"
                   4195:                         || test ! -s conftest.err'
                   4196:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4197:   (eval $ac_try) 2>&5
                   4198:   ac_status=$?
                   4199:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4200:   (exit $ac_status); }; } &&
                   4201:         { ac_try='test -s conftest$ac_exeext'
                   4202:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4203:   (eval $ac_try) 2>&5
                   4204:   ac_status=$?
                   4205:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4206:   (exit $ac_status); }; }; then
                   4207:   :
                   4208: else
                   4209:   echo "$as_me: failed program was:" >&5
                   4210: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     4211: 
1.1.1.19  root     4212: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
                   4213: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
                   4214: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   4215:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4216: else
                   4217:   ac_check_lib_save_LIBS=$LIBS
                   4218: LIBS="-ldnet  $LIBS"
                   4219: cat >conftest.$ac_ext <<_ACEOF
                   4220: /* confdefs.h.  */
                   4221: _ACEOF
                   4222: cat confdefs.h >>conftest.$ac_ext
                   4223: cat >>conftest.$ac_ext <<_ACEOF
                   4224: /* end confdefs.h.  */
1.1       root     4225: 
1.1.1.19  root     4226: /* Override any gcc2 internal prototype to avoid an error.  */
                   4227: #ifdef __cplusplus
                   4228: extern "C"
                   4229: #endif
                   4230: /* We use char because int might match the return type of a gcc2
                   4231:    builtin and then its argument prototype would still apply.  */
                   4232: char dnet_ntoa ();
                   4233: int
                   4234: main ()
                   4235: {
                   4236: dnet_ntoa ();
                   4237:   ;
                   4238:   return 0;
                   4239: }
                   4240: _ACEOF
                   4241: rm -f conftest.$ac_objext conftest$ac_exeext
                   4242: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4243:   (eval $ac_link) 2>conftest.er1
                   4244:   ac_status=$?
                   4245:   grep -v '^ *+' conftest.er1 >conftest.err
                   4246:   rm -f conftest.er1
                   4247:   cat conftest.err >&5
                   4248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4249:   (exit $ac_status); } &&
                   4250:         { ac_try='test -z "$ac_c_werror_flag"
                   4251:                         || test ! -s conftest.err'
                   4252:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4253:   (eval $ac_try) 2>&5
                   4254:   ac_status=$?
                   4255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4256:   (exit $ac_status); }; } &&
                   4257:         { ac_try='test -s conftest$ac_exeext'
                   4258:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4259:   (eval $ac_try) 2>&5
                   4260:   ac_status=$?
                   4261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4262:   (exit $ac_status); }; }; then
                   4263:   ac_cv_lib_dnet_dnet_ntoa=yes
                   4264: else
                   4265:   echo "$as_me: failed program was:" >&5
                   4266: sed 's/^/| /' conftest.$ac_ext >&5
                   4267: 
                   4268: ac_cv_lib_dnet_dnet_ntoa=no
                   4269: fi
                   4270: rm -f conftest.err conftest.$ac_objext \
                   4271:       conftest$ac_exeext conftest.$ac_ext
                   4272: LIBS=$ac_check_lib_save_LIBS
                   4273: fi
                   4274: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   4275: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
                   4276: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       root     4277:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   4278: fi
                   4279: 
                   4280:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.1.1.19  root     4281:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
                   4282: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
                   4283: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   4284:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4285: else
1.1.1.19  root     4286:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4287: LIBS="-ldnet_stub  $LIBS"
1.1.1.19  root     4288: cat >conftest.$ac_ext <<_ACEOF
                   4289: /* confdefs.h.  */
                   4290: _ACEOF
                   4291: cat confdefs.h >>conftest.$ac_ext
                   4292: cat >>conftest.$ac_ext <<_ACEOF
                   4293: /* end confdefs.h.  */
                   4294: 
1.1       root     4295: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     4296: #ifdef __cplusplus
                   4297: extern "C"
                   4298: #endif
1.1       root     4299: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     4300:    builtin and then its argument prototype would still apply.  */
                   4301: char dnet_ntoa ();
                   4302: int
                   4303: main ()
                   4304: {
                   4305: dnet_ntoa ();
                   4306:   ;
                   4307:   return 0;
                   4308: }
                   4309: _ACEOF
                   4310: rm -f conftest.$ac_objext conftest$ac_exeext
                   4311: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4312:   (eval $ac_link) 2>conftest.er1
                   4313:   ac_status=$?
                   4314:   grep -v '^ *+' conftest.er1 >conftest.err
                   4315:   rm -f conftest.er1
                   4316:   cat conftest.err >&5
                   4317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4318:   (exit $ac_status); } &&
                   4319:         { ac_try='test -z "$ac_c_werror_flag"
                   4320:                         || test ! -s conftest.err'
                   4321:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4322:   (eval $ac_try) 2>&5
                   4323:   ac_status=$?
                   4324:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4325:   (exit $ac_status); }; } &&
                   4326:         { ac_try='test -s conftest$ac_exeext'
                   4327:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4328:   (eval $ac_try) 2>&5
                   4329:   ac_status=$?
                   4330:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4331:   (exit $ac_status); }; }; then
                   4332:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   4333: else
                   4334:   echo "$as_me: failed program was:" >&5
                   4335: sed 's/^/| /' conftest.$ac_ext >&5
                   4336: 
                   4337: ac_cv_lib_dnet_stub_dnet_ntoa=no
                   4338: fi
                   4339: rm -f conftest.err conftest.$ac_objext \
                   4340:       conftest$ac_exeext conftest.$ac_ext
                   4341: LIBS=$ac_check_lib_save_LIBS
                   4342: fi
                   4343: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   4344: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
                   4345: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       root     4346:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   4347: fi
                   4348: 
                   4349:     fi
1.1.1.19  root     4350: fi
                   4351: rm -f conftest.err conftest.$ac_objext \
                   4352:       conftest$ac_exeext conftest.$ac_ext
                   4353:     LIBS="$ac_xsave_LIBS"
1.1       root     4354: 
                   4355:     # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
                   4356:     # to get the SysV transport functions.
1.1.1.19  root     4357:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1.1.4   root     4358:     # needs -lnsl.
                   4359:     # The nsl library prevents programs from opening the X display
1.1.1.19  root     4360:     # on Irix 5.2, according to T.E. Dickey.
                   4361:     # The functions gethostbyname, getservbyname, and inet_addr are
                   4362:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   4363:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   4364: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   4365: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   4366:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4367: else
                   4368:   cat >conftest.$ac_ext <<_ACEOF
                   4369: /* confdefs.h.  */
                   4370: _ACEOF
                   4371: cat confdefs.h >>conftest.$ac_ext
                   4372: cat >>conftest.$ac_ext <<_ACEOF
                   4373: /* end confdefs.h.  */
                   4374: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
                   4375:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4376: #define gethostbyname innocuous_gethostbyname
                   4377: 
1.1.1.4   root     4378: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     4379:     which can conflict with char gethostbyname (); below.
                   4380:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4381:     <limits.h> exists even on freestanding compilers.  */
1.1.1.4   root     4382: 
1.1.1.19  root     4383: #ifdef __STDC__
                   4384: # include <limits.h>
                   4385: #else
                   4386: # include <assert.h>
                   4387: #endif
1.1.1.4   root     4388: 
1.1.1.19  root     4389: #undef gethostbyname
                   4390: 
                   4391: /* Override any gcc2 internal prototype to avoid an error.  */
                   4392: #ifdef __cplusplus
                   4393: extern "C"
                   4394: {
                   4395: #endif
                   4396: /* We use char because int might match the return type of a gcc2
                   4397:    builtin and then its argument prototype would still apply.  */
                   4398: char gethostbyname ();
1.1.1.4   root     4399: /* The GNU C library defines this for functions which it implements
                   4400:     to always fail with ENOSYS.  Some functions are actually named
                   4401:     something starting with __ and the normal name is an alias.  */
                   4402: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   4403: choke me
                   4404: #else
1.1.1.19  root     4405: char (*f) () = gethostbyname;
                   4406: #endif
                   4407: #ifdef __cplusplus
                   4408: }
1.1.1.4   root     4409: #endif
                   4410: 
1.1.1.19  root     4411: int
                   4412: main ()
                   4413: {
                   4414: return f != gethostbyname;
                   4415:   ;
                   4416:   return 0;
                   4417: }
                   4418: _ACEOF
                   4419: rm -f conftest.$ac_objext conftest$ac_exeext
                   4420: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4421:   (eval $ac_link) 2>conftest.er1
                   4422:   ac_status=$?
                   4423:   grep -v '^ *+' conftest.er1 >conftest.err
                   4424:   rm -f conftest.er1
                   4425:   cat conftest.err >&5
                   4426:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4427:   (exit $ac_status); } &&
                   4428:         { ac_try='test -z "$ac_c_werror_flag"
                   4429:                         || test ! -s conftest.err'
                   4430:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4431:   (eval $ac_try) 2>&5
                   4432:   ac_status=$?
                   4433:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4434:   (exit $ac_status); }; } &&
                   4435:         { ac_try='test -s conftest$ac_exeext'
                   4436:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4437:   (eval $ac_try) 2>&5
                   4438:   ac_status=$?
                   4439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4440:   (exit $ac_status); }; }; then
                   4441:   ac_cv_func_gethostbyname=yes
                   4442: else
                   4443:   echo "$as_me: failed program was:" >&5
                   4444: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4445: 
1.1.1.19  root     4446: ac_cv_func_gethostbyname=no
1.1.1.4   root     4447: fi
1.1.1.19  root     4448: rm -f conftest.err conftest.$ac_objext \
                   4449:       conftest$ac_exeext conftest.$ac_ext
                   4450: fi
                   4451: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   4452: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1.1.1.4   root     4453: 
                   4454:     if test $ac_cv_func_gethostbyname = no; then
1.1.1.19  root     4455:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   4456: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   4457: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   4458:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4459: else
1.1.1.19  root     4460:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4461: LIBS="-lnsl  $LIBS"
1.1.1.19  root     4462: cat >conftest.$ac_ext <<_ACEOF
                   4463: /* confdefs.h.  */
                   4464: _ACEOF
                   4465: cat confdefs.h >>conftest.$ac_ext
                   4466: cat >>conftest.$ac_ext <<_ACEOF
                   4467: /* end confdefs.h.  */
                   4468: 
1.1       root     4469: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     4470: #ifdef __cplusplus
                   4471: extern "C"
                   4472: #endif
1.1       root     4473: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     4474:    builtin and then its argument prototype would still apply.  */
                   4475: char gethostbyname ();
                   4476: int
                   4477: main ()
                   4478: {
                   4479: gethostbyname ();
                   4480:   ;
                   4481:   return 0;
                   4482: }
                   4483: _ACEOF
                   4484: rm -f conftest.$ac_objext conftest$ac_exeext
                   4485: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4486:   (eval $ac_link) 2>conftest.er1
                   4487:   ac_status=$?
                   4488:   grep -v '^ *+' conftest.er1 >conftest.err
                   4489:   rm -f conftest.er1
                   4490:   cat conftest.err >&5
                   4491:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4492:   (exit $ac_status); } &&
                   4493:         { ac_try='test -z "$ac_c_werror_flag"
                   4494:                         || test ! -s conftest.err'
                   4495:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4496:   (eval $ac_try) 2>&5
                   4497:   ac_status=$?
                   4498:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4499:   (exit $ac_status); }; } &&
                   4500:         { ac_try='test -s conftest$ac_exeext'
                   4501:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4502:   (eval $ac_try) 2>&5
                   4503:   ac_status=$?
                   4504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4505:   (exit $ac_status); }; }; then
                   4506:   ac_cv_lib_nsl_gethostbyname=yes
                   4507: else
                   4508:   echo "$as_me: failed program was:" >&5
                   4509: sed 's/^/| /' conftest.$ac_ext >&5
                   4510: 
                   4511: ac_cv_lib_nsl_gethostbyname=no
                   4512: fi
                   4513: rm -f conftest.err conftest.$ac_objext \
                   4514:       conftest$ac_exeext conftest.$ac_ext
                   4515: LIBS=$ac_check_lib_save_LIBS
                   4516: fi
                   4517: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   4518: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   4519: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   4520:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
1.1       root     4521: fi
                   4522: 
1.1.1.19  root     4523:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   4524:        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
                   4525: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
                   4526: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
                   4527:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4528: else
                   4529:   ac_check_lib_save_LIBS=$LIBS
                   4530: LIBS="-lbsd  $LIBS"
                   4531: cat >conftest.$ac_ext <<_ACEOF
                   4532: /* confdefs.h.  */
                   4533: _ACEOF
                   4534: cat confdefs.h >>conftest.$ac_ext
                   4535: cat >>conftest.$ac_ext <<_ACEOF
                   4536: /* end confdefs.h.  */
                   4537: 
                   4538: /* Override any gcc2 internal prototype to avoid an error.  */
                   4539: #ifdef __cplusplus
                   4540: extern "C"
                   4541: #endif
                   4542: /* We use char because int might match the return type of a gcc2
                   4543:    builtin and then its argument prototype would still apply.  */
                   4544: char gethostbyname ();
                   4545: int
                   4546: main ()
                   4547: {
                   4548: gethostbyname ();
                   4549:   ;
                   4550:   return 0;
                   4551: }
                   4552: _ACEOF
                   4553: rm -f conftest.$ac_objext conftest$ac_exeext
                   4554: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4555:   (eval $ac_link) 2>conftest.er1
                   4556:   ac_status=$?
                   4557:   grep -v '^ *+' conftest.er1 >conftest.err
                   4558:   rm -f conftest.er1
                   4559:   cat conftest.err >&5
                   4560:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4561:   (exit $ac_status); } &&
                   4562:         { ac_try='test -z "$ac_c_werror_flag"
                   4563:                         || test ! -s conftest.err'
                   4564:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4565:   (eval $ac_try) 2>&5
                   4566:   ac_status=$?
                   4567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4568:   (exit $ac_status); }; } &&
                   4569:         { ac_try='test -s conftest$ac_exeext'
                   4570:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4571:   (eval $ac_try) 2>&5
                   4572:   ac_status=$?
                   4573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4574:   (exit $ac_status); }; }; then
                   4575:   ac_cv_lib_bsd_gethostbyname=yes
                   4576: else
                   4577:   echo "$as_me: failed program was:" >&5
                   4578: sed 's/^/| /' conftest.$ac_ext >&5
                   4579: 
                   4580: ac_cv_lib_bsd_gethostbyname=no
                   4581: fi
                   4582: rm -f conftest.err conftest.$ac_objext \
                   4583:       conftest$ac_exeext conftest.$ac_ext
                   4584: LIBS=$ac_check_lib_save_LIBS
                   4585: fi
                   4586: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   4587: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
                   4588: if test $ac_cv_lib_bsd_gethostbyname = yes; then
                   4589:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       root     4590: fi
                   4591: 
1.1.1.19  root     4592:       fi
1.1.1.4   root     4593:     fi
1.1       root     4594: 
                   4595:     # [email protected] says without -lsocket,
1.1.1.4   root     4596:     # socket/setsockopt and other routines are undefined under SCO ODT
                   4597:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.1.1.19  root     4598:     # on later versions), says Simon Leinen: it contains gethostby*
                   4599:     # variants that don't use the name server (or something).  -lsocket
                   4600:     # must be given before -lnsl if both are needed.  We assume that
                   4601:     # if connect needs -lnsl, so does gethostbyname.
                   4602:     echo "$as_me:$LINENO: checking for connect" >&5
                   4603: echo $ECHO_N "checking for connect... $ECHO_C" >&6
                   4604: if test "${ac_cv_func_connect+set}" = set; then
                   4605:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4606: else
                   4607:   cat >conftest.$ac_ext <<_ACEOF
                   4608: /* confdefs.h.  */
                   4609: _ACEOF
                   4610: cat confdefs.h >>conftest.$ac_ext
                   4611: cat >>conftest.$ac_ext <<_ACEOF
                   4612: /* end confdefs.h.  */
                   4613: /* Define connect to an innocuous variant, in case <limits.h> declares connect.
                   4614:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4615: #define connect innocuous_connect
                   4616: 
1.1.1.4   root     4617: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     4618:     which can conflict with char connect (); below.
                   4619:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4620:     <limits.h> exists even on freestanding compilers.  */
                   4621: 
                   4622: #ifdef __STDC__
                   4623: # include <limits.h>
                   4624: #else
                   4625: # include <assert.h>
                   4626: #endif
1.1.1.4   root     4627: 
1.1.1.19  root     4628: #undef connect
1.1.1.4   root     4629: 
1.1.1.19  root     4630: /* Override any gcc2 internal prototype to avoid an error.  */
                   4631: #ifdef __cplusplus
                   4632: extern "C"
                   4633: {
                   4634: #endif
                   4635: /* We use char because int might match the return type of a gcc2
                   4636:    builtin and then its argument prototype would still apply.  */
                   4637: char connect ();
1.1.1.4   root     4638: /* The GNU C library defines this for functions which it implements
                   4639:     to always fail with ENOSYS.  Some functions are actually named
                   4640:     something starting with __ and the normal name is an alias.  */
                   4641: #if defined (__stub_connect) || defined (__stub___connect)
                   4642: choke me
                   4643: #else
1.1.1.19  root     4644: char (*f) () = connect;
                   4645: #endif
                   4646: #ifdef __cplusplus
                   4647: }
1.1.1.4   root     4648: #endif
                   4649: 
1.1.1.19  root     4650: int
                   4651: main ()
                   4652: {
                   4653: return f != connect;
                   4654:   ;
                   4655:   return 0;
                   4656: }
                   4657: _ACEOF
                   4658: rm -f conftest.$ac_objext conftest$ac_exeext
                   4659: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4660:   (eval $ac_link) 2>conftest.er1
                   4661:   ac_status=$?
                   4662:   grep -v '^ *+' conftest.er1 >conftest.err
                   4663:   rm -f conftest.er1
                   4664:   cat conftest.err >&5
                   4665:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4666:   (exit $ac_status); } &&
                   4667:         { ac_try='test -z "$ac_c_werror_flag"
                   4668:                         || test ! -s conftest.err'
                   4669:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4670:   (eval $ac_try) 2>&5
                   4671:   ac_status=$?
                   4672:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4673:   (exit $ac_status); }; } &&
                   4674:         { ac_try='test -s conftest$ac_exeext'
                   4675:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4676:   (eval $ac_try) 2>&5
                   4677:   ac_status=$?
                   4678:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4679:   (exit $ac_status); }; }; then
                   4680:   ac_cv_func_connect=yes
                   4681: else
                   4682:   echo "$as_me: failed program was:" >&5
                   4683: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4684: 
1.1.1.19  root     4685: ac_cv_func_connect=no
                   4686: fi
                   4687: rm -f conftest.err conftest.$ac_objext \
                   4688:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4689: fi
1.1.1.19  root     4690: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
                   4691: echo "${ECHO_T}$ac_cv_func_connect" >&6
1.1.1.4   root     4692: 
                   4693:     if test $ac_cv_func_connect = no; then
1.1.1.19  root     4694:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
                   4695: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
                   4696: if test "${ac_cv_lib_socket_connect+set}" = set; then
                   4697:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4698: else
1.1.1.19  root     4699:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     4700: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.1.1.19  root     4701: cat >conftest.$ac_ext <<_ACEOF
                   4702: /* confdefs.h.  */
                   4703: _ACEOF
                   4704: cat confdefs.h >>conftest.$ac_ext
                   4705: cat >>conftest.$ac_ext <<_ACEOF
                   4706: /* end confdefs.h.  */
                   4707: 
1.1       root     4708: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     4709: #ifdef __cplusplus
                   4710: extern "C"
                   4711: #endif
1.1       root     4712: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     4713:    builtin and then its argument prototype would still apply.  */
                   4714: char connect ();
                   4715: int
                   4716: main ()
                   4717: {
                   4718: connect ();
                   4719:   ;
                   4720:   return 0;
                   4721: }
                   4722: _ACEOF
                   4723: rm -f conftest.$ac_objext conftest$ac_exeext
                   4724: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4725:   (eval $ac_link) 2>conftest.er1
                   4726:   ac_status=$?
                   4727:   grep -v '^ *+' conftest.er1 >conftest.err
                   4728:   rm -f conftest.er1
                   4729:   cat conftest.err >&5
                   4730:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4731:   (exit $ac_status); } &&
                   4732:         { ac_try='test -z "$ac_c_werror_flag"
                   4733:                         || test ! -s conftest.err'
                   4734:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4735:   (eval $ac_try) 2>&5
                   4736:   ac_status=$?
                   4737:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4738:   (exit $ac_status); }; } &&
                   4739:         { ac_try='test -s conftest$ac_exeext'
                   4740:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4741:   (eval $ac_try) 2>&5
                   4742:   ac_status=$?
                   4743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4744:   (exit $ac_status); }; }; then
                   4745:   ac_cv_lib_socket_connect=yes
                   4746: else
                   4747:   echo "$as_me: failed program was:" >&5
                   4748: sed 's/^/| /' conftest.$ac_ext >&5
                   4749: 
                   4750: ac_cv_lib_socket_connect=no
                   4751: fi
                   4752: rm -f conftest.err conftest.$ac_objext \
                   4753:       conftest$ac_exeext conftest.$ac_ext
                   4754: LIBS=$ac_check_lib_save_LIBS
                   4755: fi
                   4756: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
                   4757: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
                   4758: if test $ac_cv_lib_socket_connect = yes; then
1.1.1.4   root     4759:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   4760: fi
                   4761: 
                   4762:     fi
                   4763: 
1.1.1.19  root     4764:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   4765:     echo "$as_me:$LINENO: checking for remove" >&5
                   4766: echo $ECHO_N "checking for remove... $ECHO_C" >&6
                   4767: if test "${ac_cv_func_remove+set}" = set; then
                   4768:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4769: else
                   4770:   cat >conftest.$ac_ext <<_ACEOF
                   4771: /* confdefs.h.  */
                   4772: _ACEOF
                   4773: cat confdefs.h >>conftest.$ac_ext
                   4774: cat >>conftest.$ac_ext <<_ACEOF
                   4775: /* end confdefs.h.  */
                   4776: /* Define remove to an innocuous variant, in case <limits.h> declares remove.
                   4777:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4778: #define remove innocuous_remove
                   4779: 
1.1.1.4   root     4780: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     4781:     which can conflict with char remove (); below.
                   4782:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4783:     <limits.h> exists even on freestanding compilers.  */
                   4784: 
                   4785: #ifdef __STDC__
                   4786: # include <limits.h>
                   4787: #else
                   4788: # include <assert.h>
                   4789: #endif
1.1.1.4   root     4790: 
1.1.1.19  root     4791: #undef remove
1.1.1.4   root     4792: 
1.1.1.19  root     4793: /* Override any gcc2 internal prototype to avoid an error.  */
                   4794: #ifdef __cplusplus
                   4795: extern "C"
                   4796: {
                   4797: #endif
                   4798: /* We use char because int might match the return type of a gcc2
                   4799:    builtin and then its argument prototype would still apply.  */
                   4800: char remove ();
1.1.1.4   root     4801: /* The GNU C library defines this for functions which it implements
                   4802:     to always fail with ENOSYS.  Some functions are actually named
                   4803:     something starting with __ and the normal name is an alias.  */
                   4804: #if defined (__stub_remove) || defined (__stub___remove)
                   4805: choke me
                   4806: #else
1.1.1.19  root     4807: char (*f) () = remove;
                   4808: #endif
                   4809: #ifdef __cplusplus
                   4810: }
1.1.1.4   root     4811: #endif
                   4812: 
1.1.1.19  root     4813: int
                   4814: main ()
                   4815: {
                   4816: return f != remove;
                   4817:   ;
                   4818:   return 0;
                   4819: }
                   4820: _ACEOF
                   4821: rm -f conftest.$ac_objext conftest$ac_exeext
                   4822: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4823:   (eval $ac_link) 2>conftest.er1
                   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
                   4829:   (exit $ac_status); } &&
                   4830:         { ac_try='test -z "$ac_c_werror_flag"
                   4831:                         || test ! -s conftest.err'
                   4832:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4833:   (eval $ac_try) 2>&5
                   4834:   ac_status=$?
                   4835:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4836:   (exit $ac_status); }; } &&
                   4837:         { ac_try='test -s conftest$ac_exeext'
                   4838:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4839:   (eval $ac_try) 2>&5
                   4840:   ac_status=$?
                   4841:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4842:   (exit $ac_status); }; }; then
                   4843:   ac_cv_func_remove=yes
                   4844: else
                   4845:   echo "$as_me: failed program was:" >&5
                   4846: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4847: 
1.1.1.19  root     4848: ac_cv_func_remove=no
                   4849: fi
                   4850: rm -f conftest.err conftest.$ac_objext \
                   4851:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4852: fi
1.1.1.19  root     4853: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
                   4854: echo "${ECHO_T}$ac_cv_func_remove" >&6
1.1.1.4   root     4855: 
                   4856:     if test $ac_cv_func_remove = no; then
1.1.1.19  root     4857:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
                   4858: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
                   4859: if test "${ac_cv_lib_posix_remove+set}" = set; then
                   4860:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     4861: else
1.1.1.19  root     4862:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     4863: LIBS="-lposix  $LIBS"
1.1.1.19  root     4864: cat >conftest.$ac_ext <<_ACEOF
                   4865: /* confdefs.h.  */
                   4866: _ACEOF
                   4867: cat confdefs.h >>conftest.$ac_ext
                   4868: cat >>conftest.$ac_ext <<_ACEOF
                   4869: /* end confdefs.h.  */
                   4870: 
1.1.1.4   root     4871: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     4872: #ifdef __cplusplus
                   4873: extern "C"
                   4874: #endif
1.1.1.4   root     4875: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     4876:    builtin and then its argument prototype would still apply.  */
                   4877: char remove ();
                   4878: int
                   4879: main ()
                   4880: {
                   4881: remove ();
                   4882:   ;
                   4883:   return 0;
                   4884: }
                   4885: _ACEOF
                   4886: rm -f conftest.$ac_objext conftest$ac_exeext
                   4887: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4888:   (eval $ac_link) 2>conftest.er1
                   4889:   ac_status=$?
                   4890:   grep -v '^ *+' conftest.er1 >conftest.err
                   4891:   rm -f conftest.er1
                   4892:   cat conftest.err >&5
                   4893:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4894:   (exit $ac_status); } &&
                   4895:         { ac_try='test -z "$ac_c_werror_flag"
                   4896:                         || test ! -s conftest.err'
                   4897:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4898:   (eval $ac_try) 2>&5
                   4899:   ac_status=$?
                   4900:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4901:   (exit $ac_status); }; } &&
                   4902:         { ac_try='test -s conftest$ac_exeext'
                   4903:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4904:   (eval $ac_try) 2>&5
                   4905:   ac_status=$?
                   4906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4907:   (exit $ac_status); }; }; then
                   4908:   ac_cv_lib_posix_remove=yes
                   4909: else
                   4910:   echo "$as_me: failed program was:" >&5
                   4911: sed 's/^/| /' conftest.$ac_ext >&5
                   4912: 
                   4913: ac_cv_lib_posix_remove=no
                   4914: fi
                   4915: rm -f conftest.err conftest.$ac_objext \
                   4916:       conftest$ac_exeext conftest.$ac_ext
                   4917: LIBS=$ac_check_lib_save_LIBS
                   4918: fi
                   4919: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
                   4920: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
                   4921: if test $ac_cv_lib_posix_remove = yes; then
1.1.1.4   root     4922:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   4923: fi
                   4924: 
                   4925:     fi
                   4926: 
                   4927:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.1.1.19  root     4928:     echo "$as_me:$LINENO: checking for shmat" >&5
                   4929: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
                   4930: if test "${ac_cv_func_shmat+set}" = set; then
                   4931:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4932: else
                   4933:   cat >conftest.$ac_ext <<_ACEOF
                   4934: /* confdefs.h.  */
                   4935: _ACEOF
                   4936: cat confdefs.h >>conftest.$ac_ext
                   4937: cat >>conftest.$ac_ext <<_ACEOF
                   4938: /* end confdefs.h.  */
                   4939: /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
                   4940:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4941: #define shmat innocuous_shmat
                   4942: 
1.1.1.4   root     4943: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     4944:     which can conflict with char shmat (); below.
                   4945:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4946:     <limits.h> exists even on freestanding compilers.  */
                   4947: 
                   4948: #ifdef __STDC__
                   4949: # include <limits.h>
                   4950: #else
                   4951: # include <assert.h>
                   4952: #endif
1.1.1.4   root     4953: 
1.1.1.19  root     4954: #undef shmat
1.1.1.4   root     4955: 
1.1.1.19  root     4956: /* Override any gcc2 internal prototype to avoid an error.  */
                   4957: #ifdef __cplusplus
                   4958: extern "C"
                   4959: {
                   4960: #endif
                   4961: /* We use char because int might match the return type of a gcc2
                   4962:    builtin and then its argument prototype would still apply.  */
                   4963: char shmat ();
1.1.1.4   root     4964: /* The GNU C library defines this for functions which it implements
                   4965:     to always fail with ENOSYS.  Some functions are actually named
                   4966:     something starting with __ and the normal name is an alias.  */
                   4967: #if defined (__stub_shmat) || defined (__stub___shmat)
                   4968: choke me
                   4969: #else
1.1.1.19  root     4970: char (*f) () = shmat;
                   4971: #endif
                   4972: #ifdef __cplusplus
                   4973: }
1.1.1.4   root     4974: #endif
                   4975: 
1.1.1.19  root     4976: int
                   4977: main ()
                   4978: {
                   4979: return f != shmat;
                   4980:   ;
                   4981:   return 0;
                   4982: }
                   4983: _ACEOF
                   4984: rm -f conftest.$ac_objext conftest$ac_exeext
                   4985: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4986:   (eval $ac_link) 2>conftest.er1
                   4987:   ac_status=$?
                   4988:   grep -v '^ *+' conftest.er1 >conftest.err
                   4989:   rm -f conftest.er1
                   4990:   cat conftest.err >&5
                   4991:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4992:   (exit $ac_status); } &&
                   4993:         { ac_try='test -z "$ac_c_werror_flag"
                   4994:                         || test ! -s conftest.err'
                   4995:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4996:   (eval $ac_try) 2>&5
                   4997:   ac_status=$?
                   4998:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4999:   (exit $ac_status); }; } &&
                   5000:         { ac_try='test -s conftest$ac_exeext'
                   5001:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5002:   (eval $ac_try) 2>&5
                   5003:   ac_status=$?
                   5004:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5005:   (exit $ac_status); }; }; then
                   5006:   ac_cv_func_shmat=yes
                   5007: else
                   5008:   echo "$as_me: failed program was:" >&5
                   5009: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5010: 
1.1.1.19  root     5011: ac_cv_func_shmat=no
                   5012: fi
                   5013: rm -f conftest.err conftest.$ac_objext \
                   5014:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     5015: fi
1.1.1.19  root     5016: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
                   5017: echo "${ECHO_T}$ac_cv_func_shmat" >&6
1.1.1.4   root     5018: 
                   5019:     if test $ac_cv_func_shmat = no; then
1.1.1.19  root     5020:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
                   5021: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
                   5022: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
                   5023:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5024: else
1.1.1.19  root     5025:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     5026: LIBS="-lipc  $LIBS"
1.1.1.19  root     5027: cat >conftest.$ac_ext <<_ACEOF
                   5028: /* confdefs.h.  */
                   5029: _ACEOF
                   5030: cat confdefs.h >>conftest.$ac_ext
                   5031: cat >>conftest.$ac_ext <<_ACEOF
                   5032: /* end confdefs.h.  */
                   5033: 
1.1.1.4   root     5034: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     5035: #ifdef __cplusplus
                   5036: extern "C"
                   5037: #endif
1.1.1.4   root     5038: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     5039:    builtin and then its argument prototype would still apply.  */
                   5040: char shmat ();
                   5041: int
                   5042: main ()
                   5043: {
                   5044: shmat ();
                   5045:   ;
                   5046:   return 0;
                   5047: }
                   5048: _ACEOF
                   5049: rm -f conftest.$ac_objext conftest$ac_exeext
                   5050: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5051:   (eval $ac_link) 2>conftest.er1
                   5052:   ac_status=$?
                   5053:   grep -v '^ *+' conftest.er1 >conftest.err
                   5054:   rm -f conftest.er1
                   5055:   cat conftest.err >&5
                   5056:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5057:   (exit $ac_status); } &&
                   5058:         { ac_try='test -z "$ac_c_werror_flag"
                   5059:                         || test ! -s conftest.err'
                   5060:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5061:   (eval $ac_try) 2>&5
                   5062:   ac_status=$?
                   5063:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5064:   (exit $ac_status); }; } &&
                   5065:         { ac_try='test -s conftest$ac_exeext'
                   5066:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5067:   (eval $ac_try) 2>&5
                   5068:   ac_status=$?
                   5069:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5070:   (exit $ac_status); }; }; then
                   5071:   ac_cv_lib_ipc_shmat=yes
                   5072: else
                   5073:   echo "$as_me: failed program was:" >&5
                   5074: sed 's/^/| /' conftest.$ac_ext >&5
                   5075: 
                   5076: ac_cv_lib_ipc_shmat=no
                   5077: fi
                   5078: rm -f conftest.err conftest.$ac_objext \
                   5079:       conftest$ac_exeext conftest.$ac_ext
                   5080: LIBS=$ac_check_lib_save_LIBS
                   5081: fi
                   5082: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
                   5083: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
                   5084: if test $ac_cv_lib_ipc_shmat = yes; then
1.1.1.4   root     5085:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
1.1       root     5086: fi
                   5087: 
                   5088:     fi
                   5089:   fi
1.1.1.4   root     5090: 
                   5091:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.1.1.19  root     5092:   ac_save_LDFLAGS=$LDFLAGS
1.1.1.4   root     5093:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5094:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5095:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5096:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5097:   # These have to be linked with before -lX11, unlike the other
                   5098:   # libraries we check for below, so use a different variable.
1.1.1.19  root     5099:   # John Interrante, Karl Berry
                   5100:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
                   5101: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
                   5102: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
                   5103:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5104: else
1.1.1.19  root     5105:   ac_check_lib_save_LIBS=$LIBS
1.1.1.9   root     5106: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.1.1.19  root     5107: cat >conftest.$ac_ext <<_ACEOF
                   5108: /* confdefs.h.  */
                   5109: _ACEOF
                   5110: cat confdefs.h >>conftest.$ac_ext
                   5111: cat >>conftest.$ac_ext <<_ACEOF
                   5112: /* end confdefs.h.  */
                   5113: 
1.1.1.4   root     5114: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     5115: #ifdef __cplusplus
                   5116: extern "C"
                   5117: #endif
1.1.1.4   root     5118: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     5119:    builtin and then its argument prototype would still apply.  */
                   5120: char IceConnectionNumber ();
                   5121: int
                   5122: main ()
                   5123: {
                   5124: IceConnectionNumber ();
                   5125:   ;
                   5126:   return 0;
                   5127: }
                   5128: _ACEOF
                   5129: rm -f conftest.$ac_objext conftest$ac_exeext
                   5130: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5131:   (eval $ac_link) 2>conftest.er1
                   5132:   ac_status=$?
                   5133:   grep -v '^ *+' conftest.er1 >conftest.err
                   5134:   rm -f conftest.er1
                   5135:   cat conftest.err >&5
                   5136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5137:   (exit $ac_status); } &&
                   5138:         { ac_try='test -z "$ac_c_werror_flag"
                   5139:                         || test ! -s conftest.err'
                   5140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5141:   (eval $ac_try) 2>&5
                   5142:   ac_status=$?
                   5143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5144:   (exit $ac_status); }; } &&
                   5145:         { ac_try='test -s conftest$ac_exeext'
                   5146:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5147:   (eval $ac_try) 2>&5
                   5148:   ac_status=$?
                   5149:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5150:   (exit $ac_status); }; }; then
                   5151:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   5152: else
                   5153:   echo "$as_me: failed program was:" >&5
                   5154: sed 's/^/| /' conftest.$ac_ext >&5
                   5155: 
                   5156: ac_cv_lib_ICE_IceConnectionNumber=no
                   5157: fi
                   5158: rm -f conftest.err conftest.$ac_objext \
                   5159:       conftest$ac_exeext conftest.$ac_ext
                   5160: LIBS=$ac_check_lib_save_LIBS
                   5161: fi
                   5162: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   5163: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
                   5164: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1.1.4   root     5165:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5166: fi
1.1       root     5167: 
1.1.1.19  root     5168:   LDFLAGS=$ac_save_LDFLAGS
1.1       root     5169: 
1.1.1.3   root     5170: fi
                   5171: 
1.1.1.19  root     5172:           ac_config_headers="$ac_config_headers src/sysconfig.h"
                   5173: 
                   5174: 
                   5175: 
                   5176: 
                   5177: 
1.1.1.3   root     5178: 
1.1.1.4   root     5179: 
1.1       root     5180: ac_header_dirent=no
1.1.1.19  root     5181: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   5182:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   5183: echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
                   5184: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
                   5185: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5186:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5187: else
                   5188:   cat >conftest.$ac_ext <<_ACEOF
                   5189: /* confdefs.h.  */
                   5190: _ACEOF
                   5191: cat confdefs.h >>conftest.$ac_ext
                   5192: cat >>conftest.$ac_ext <<_ACEOF
                   5193: /* end confdefs.h.  */
1.1       root     5194: #include <sys/types.h>
                   5195: #include <$ac_hdr>
1.1.1.19  root     5196: 
                   5197: int
                   5198: main ()
                   5199: {
                   5200: if ((DIR *) 0)
                   5201: return 0;
                   5202:   ;
                   5203:   return 0;
                   5204: }
                   5205: _ACEOF
                   5206: rm -f conftest.$ac_objext
                   5207: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5208:   (eval $ac_compile) 2>conftest.er1
                   5209:   ac_status=$?
                   5210:   grep -v '^ *+' conftest.er1 >conftest.err
                   5211:   rm -f conftest.er1
                   5212:   cat conftest.err >&5
                   5213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5214:   (exit $ac_status); } &&
                   5215:         { ac_try='test -z "$ac_c_werror_flag"
                   5216:                         || test ! -s conftest.err'
                   5217:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5218:   (eval $ac_try) 2>&5
                   5219:   ac_status=$?
                   5220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5221:   (exit $ac_status); }; } &&
                   5222:         { ac_try='test -s conftest.$ac_objext'
                   5223:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5224:   (eval $ac_try) 2>&5
                   5225:   ac_status=$?
                   5226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5227:   (exit $ac_status); }; }; then
                   5228:   eval "$as_ac_Header=yes"
                   5229: else
                   5230:   echo "$as_me: failed program was:" >&5
                   5231: sed 's/^/| /' conftest.$ac_ext >&5
                   5232: 
                   5233: eval "$as_ac_Header=no"
                   5234: fi
                   5235: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5236: fi
                   5237: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5238: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5239: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5240:   cat >>confdefs.h <<_ACEOF
                   5241: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   5242: _ACEOF
                   5243: 
                   5244: ac_header_dirent=$ac_hdr; break
1.1       root     5245: fi
1.1.1.19  root     5246: 
1.1       root     5247: done
                   5248: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   5249: if test $ac_header_dirent = dirent.h; then
1.1.1.19  root     5250:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   5251: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
                   5252: if test "${ac_cv_search_opendir+set}" = set; then
                   5253:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5254: else
                   5255:   ac_func_search_save_LIBS=$LIBS
                   5256: ac_cv_search_opendir=no
                   5257: cat >conftest.$ac_ext <<_ACEOF
                   5258: /* confdefs.h.  */
                   5259: _ACEOF
                   5260: cat confdefs.h >>conftest.$ac_ext
                   5261: cat >>conftest.$ac_ext <<_ACEOF
                   5262: /* end confdefs.h.  */
                   5263: 
1.1       root     5264: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     5265: #ifdef __cplusplus
                   5266: extern "C"
                   5267: #endif
1.1       root     5268: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     5269:    builtin and then its argument prototype would still apply.  */
                   5270: char opendir ();
                   5271: int
                   5272: main ()
                   5273: {
                   5274: opendir ();
                   5275:   ;
                   5276:   return 0;
                   5277: }
                   5278: _ACEOF
                   5279: rm -f conftest.$ac_objext conftest$ac_exeext
                   5280: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5281:   (eval $ac_link) 2>conftest.er1
                   5282:   ac_status=$?
                   5283:   grep -v '^ *+' conftest.er1 >conftest.err
                   5284:   rm -f conftest.er1
                   5285:   cat conftest.err >&5
                   5286:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5287:   (exit $ac_status); } &&
                   5288:         { ac_try='test -z "$ac_c_werror_flag"
                   5289:                         || test ! -s conftest.err'
                   5290:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5291:   (eval $ac_try) 2>&5
                   5292:   ac_status=$?
                   5293:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5294:   (exit $ac_status); }; } &&
                   5295:         { ac_try='test -s conftest$ac_exeext'
                   5296:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5297:   (eval $ac_try) 2>&5
                   5298:   ac_status=$?
                   5299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5300:   (exit $ac_status); }; }; then
                   5301:   ac_cv_search_opendir="none required"
                   5302: else
                   5303:   echo "$as_me: failed program was:" >&5
                   5304: sed 's/^/| /' conftest.$ac_ext >&5
                   5305: 
                   5306: fi
                   5307: rm -f conftest.err conftest.$ac_objext \
                   5308:       conftest$ac_exeext conftest.$ac_ext
                   5309: if test "$ac_cv_search_opendir" = no; then
                   5310:   for ac_lib in dir; do
                   5311:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5312:     cat >conftest.$ac_ext <<_ACEOF
                   5313: /* confdefs.h.  */
                   5314: _ACEOF
                   5315: cat confdefs.h >>conftest.$ac_ext
                   5316: cat >>conftest.$ac_ext <<_ACEOF
                   5317: /* end confdefs.h.  */
1.1       root     5318: 
1.1.1.19  root     5319: /* Override any gcc2 internal prototype to avoid an error.  */
                   5320: #ifdef __cplusplus
                   5321: extern "C"
                   5322: #endif
                   5323: /* We use char because int might match the return type of a gcc2
                   5324:    builtin and then its argument prototype would still apply.  */
                   5325: char opendir ();
                   5326: int
                   5327: main ()
                   5328: {
                   5329: opendir ();
                   5330:   ;
                   5331:   return 0;
                   5332: }
                   5333: _ACEOF
                   5334: rm -f conftest.$ac_objext conftest$ac_exeext
                   5335: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5336:   (eval $ac_link) 2>conftest.er1
                   5337:   ac_status=$?
                   5338:   grep -v '^ *+' conftest.er1 >conftest.err
                   5339:   rm -f conftest.er1
                   5340:   cat conftest.err >&5
                   5341:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5342:   (exit $ac_status); } &&
                   5343:         { ac_try='test -z "$ac_c_werror_flag"
                   5344:                         || test ! -s conftest.err'
                   5345:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5346:   (eval $ac_try) 2>&5
                   5347:   ac_status=$?
                   5348:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5349:   (exit $ac_status); }; } &&
                   5350:         { ac_try='test -s conftest$ac_exeext'
                   5351:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5352:   (eval $ac_try) 2>&5
                   5353:   ac_status=$?
                   5354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5355:   (exit $ac_status); }; }; then
                   5356:   ac_cv_search_opendir="-l$ac_lib"
                   5357: break
                   5358: else
                   5359:   echo "$as_me: failed program was:" >&5
                   5360: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     5361: 
                   5362: fi
1.1.1.19  root     5363: rm -f conftest.err conftest.$ac_objext \
                   5364:       conftest$ac_exeext conftest.$ac_ext
                   5365:   done
                   5366: fi
                   5367: LIBS=$ac_func_search_save_LIBS
                   5368: fi
                   5369: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   5370: echo "${ECHO_T}$ac_cv_search_opendir" >&6
                   5371: if test "$ac_cv_search_opendir" != no; then
                   5372:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
                   5373: 
1.1       root     5374: fi
                   5375: 
                   5376: else
1.1.1.19  root     5377:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   5378: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
                   5379: if test "${ac_cv_search_opendir+set}" = set; then
                   5380:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5381: else
1.1.1.19  root     5382:   ac_func_search_save_LIBS=$LIBS
                   5383: ac_cv_search_opendir=no
                   5384: cat >conftest.$ac_ext <<_ACEOF
                   5385: /* confdefs.h.  */
                   5386: _ACEOF
                   5387: cat confdefs.h >>conftest.$ac_ext
                   5388: cat >>conftest.$ac_ext <<_ACEOF
                   5389: /* end confdefs.h.  */
                   5390: 
1.1       root     5391: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     5392: #ifdef __cplusplus
                   5393: extern "C"
                   5394: #endif
1.1       root     5395: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     5396:    builtin and then its argument prototype would still apply.  */
                   5397: char opendir ();
                   5398: int
                   5399: main ()
                   5400: {
                   5401: opendir ();
                   5402:   ;
                   5403:   return 0;
                   5404: }
                   5405: _ACEOF
                   5406: rm -f conftest.$ac_objext conftest$ac_exeext
                   5407: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5408:   (eval $ac_link) 2>conftest.er1
                   5409:   ac_status=$?
                   5410:   grep -v '^ *+' conftest.er1 >conftest.err
                   5411:   rm -f conftest.er1
                   5412:   cat conftest.err >&5
                   5413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5414:   (exit $ac_status); } &&
                   5415:         { ac_try='test -z "$ac_c_werror_flag"
                   5416:                         || test ! -s conftest.err'
                   5417:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5418:   (eval $ac_try) 2>&5
                   5419:   ac_status=$?
                   5420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5421:   (exit $ac_status); }; } &&
                   5422:         { ac_try='test -s conftest$ac_exeext'
                   5423:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5424:   (eval $ac_try) 2>&5
                   5425:   ac_status=$?
                   5426:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5427:   (exit $ac_status); }; }; then
                   5428:   ac_cv_search_opendir="none required"
                   5429: else
                   5430:   echo "$as_me: failed program was:" >&5
                   5431: sed 's/^/| /' conftest.$ac_ext >&5
                   5432: 
                   5433: fi
                   5434: rm -f conftest.err conftest.$ac_objext \
                   5435:       conftest$ac_exeext conftest.$ac_ext
                   5436: if test "$ac_cv_search_opendir" = no; then
                   5437:   for ac_lib in x; do
                   5438:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5439:     cat >conftest.$ac_ext <<_ACEOF
                   5440: /* confdefs.h.  */
                   5441: _ACEOF
                   5442: cat confdefs.h >>conftest.$ac_ext
                   5443: cat >>conftest.$ac_ext <<_ACEOF
                   5444: /* end confdefs.h.  */
1.1       root     5445: 
1.1.1.19  root     5446: /* Override any gcc2 internal prototype to avoid an error.  */
                   5447: #ifdef __cplusplus
                   5448: extern "C"
                   5449: #endif
                   5450: /* We use char because int might match the return type of a gcc2
                   5451:    builtin and then its argument prototype would still apply.  */
                   5452: char opendir ();
                   5453: int
                   5454: main ()
                   5455: {
                   5456: opendir ();
                   5457:   ;
                   5458:   return 0;
                   5459: }
                   5460: _ACEOF
                   5461: rm -f conftest.$ac_objext conftest$ac_exeext
                   5462: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5463:   (eval $ac_link) 2>conftest.er1
                   5464:   ac_status=$?
                   5465:   grep -v '^ *+' conftest.er1 >conftest.err
                   5466:   rm -f conftest.er1
                   5467:   cat conftest.err >&5
                   5468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5469:   (exit $ac_status); } &&
                   5470:         { ac_try='test -z "$ac_c_werror_flag"
                   5471:                         || test ! -s conftest.err'
                   5472:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5473:   (eval $ac_try) 2>&5
                   5474:   ac_status=$?
                   5475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5476:   (exit $ac_status); }; } &&
                   5477:         { ac_try='test -s conftest$ac_exeext'
                   5478:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5479:   (eval $ac_try) 2>&5
                   5480:   ac_status=$?
                   5481:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5482:   (exit $ac_status); }; }; then
                   5483:   ac_cv_search_opendir="-l$ac_lib"
                   5484: break
                   5485: else
                   5486:   echo "$as_me: failed program was:" >&5
                   5487: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     5488: 
                   5489: fi
1.1.1.19  root     5490: rm -f conftest.err conftest.$ac_objext \
                   5491:       conftest$ac_exeext conftest.$ac_ext
                   5492:   done
                   5493: fi
                   5494: LIBS=$ac_func_search_save_LIBS
                   5495: fi
                   5496: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   5497: echo "${ECHO_T}$ac_cv_search_opendir" >&6
                   5498: if test "$ac_cv_search_opendir" != no; then
                   5499:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
                   5500: 
1.1       root     5501: fi
                   5502: 
                   5503: fi
                   5504: 
1.1.1.19  root     5505: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   5506: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   5507: if test "${ac_cv_header_stdc+set}" = set; then
                   5508:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5509: else
1.1.1.19  root     5510:   cat >conftest.$ac_ext <<_ACEOF
                   5511: /* confdefs.h.  */
                   5512: _ACEOF
                   5513: cat confdefs.h >>conftest.$ac_ext
                   5514: cat >>conftest.$ac_ext <<_ACEOF
                   5515: /* end confdefs.h.  */
1.1       root     5516: #include <stdlib.h>
                   5517: #include <stdarg.h>
                   5518: #include <string.h>
                   5519: #include <float.h>
1.1.1.19  root     5520: 
                   5521: int
                   5522: main ()
                   5523: {
                   5524: 
                   5525:   ;
                   5526:   return 0;
                   5527: }
                   5528: _ACEOF
                   5529: rm -f conftest.$ac_objext
                   5530: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5531:   (eval $ac_compile) 2>conftest.er1
                   5532:   ac_status=$?
                   5533:   grep -v '^ *+' conftest.er1 >conftest.err
                   5534:   rm -f conftest.er1
                   5535:   cat conftest.err >&5
                   5536:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5537:   (exit $ac_status); } &&
                   5538:         { ac_try='test -z "$ac_c_werror_flag"
                   5539:                         || test ! -s conftest.err'
                   5540:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5541:   (eval $ac_try) 2>&5
                   5542:   ac_status=$?
                   5543:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5544:   (exit $ac_status); }; } &&
                   5545:         { ac_try='test -s conftest.$ac_objext'
                   5546:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5547:   (eval $ac_try) 2>&5
                   5548:   ac_status=$?
                   5549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5550:   (exit $ac_status); }; }; then
1.1       root     5551:   ac_cv_header_stdc=yes
                   5552: else
1.1.1.19  root     5553:   echo "$as_me: failed program was:" >&5
                   5554: sed 's/^/| /' conftest.$ac_ext >&5
                   5555: 
                   5556: ac_cv_header_stdc=no
1.1       root     5557: fi
1.1.1.19  root     5558: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5559: 
                   5560: if test $ac_cv_header_stdc = yes; then
                   5561:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.19  root     5562:   cat >conftest.$ac_ext <<_ACEOF
                   5563: /* confdefs.h.  */
                   5564: _ACEOF
                   5565: cat confdefs.h >>conftest.$ac_ext
                   5566: cat >>conftest.$ac_ext <<_ACEOF
                   5567: /* end confdefs.h.  */
1.1       root     5568: #include <string.h>
1.1.1.19  root     5569: 
                   5570: _ACEOF
1.1       root     5571: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     5572:   $EGREP "memchr" >/dev/null 2>&1; then
1.1       root     5573:   :
                   5574: else
                   5575:   ac_cv_header_stdc=no
                   5576: fi
                   5577: rm -f conftest*
                   5578: 
                   5579: fi
                   5580: 
                   5581: if test $ac_cv_header_stdc = yes; then
                   5582:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.19  root     5583:   cat >conftest.$ac_ext <<_ACEOF
                   5584: /* confdefs.h.  */
                   5585: _ACEOF
                   5586: cat confdefs.h >>conftest.$ac_ext
                   5587: cat >>conftest.$ac_ext <<_ACEOF
                   5588: /* end confdefs.h.  */
1.1       root     5589: #include <stdlib.h>
1.1.1.19  root     5590: 
                   5591: _ACEOF
1.1       root     5592: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     5593:   $EGREP "free" >/dev/null 2>&1; then
1.1       root     5594:   :
                   5595: else
                   5596:   ac_cv_header_stdc=no
                   5597: fi
                   5598: rm -f conftest*
                   5599: 
                   5600: fi
                   5601: 
                   5602: if test $ac_cv_header_stdc = yes; then
                   5603:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.19  root     5604:   if test "$cross_compiling" = yes; then
1.1       root     5605:   :
                   5606: else
1.1.1.19  root     5607:   cat >conftest.$ac_ext <<_ACEOF
                   5608: /* confdefs.h.  */
                   5609: _ACEOF
                   5610: cat confdefs.h >>conftest.$ac_ext
                   5611: cat >>conftest.$ac_ext <<_ACEOF
                   5612: /* end confdefs.h.  */
1.1       root     5613: #include <ctype.h>
1.1.1.19  root     5614: #if ((' ' & 0x0FF) == 0x020)
                   5615: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5616: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5617: #else
                   5618: # define ISLOWER(c) \
                   5619:                   (('a' <= (c) && (c) <= 'i') \
                   5620:                     || ('j' <= (c) && (c) <= 'r') \
                   5621:                     || ('s' <= (c) && (c) <= 'z'))
                   5622: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5623: #endif
1.1       root     5624: 
1.1.1.19  root     5625: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5626: int
                   5627: main ()
                   5628: {
                   5629:   int i;
                   5630:   for (i = 0; i < 256; i++)
                   5631:     if (XOR (islower (i), ISLOWER (i))
                   5632:        || toupper (i) != TOUPPER (i))
                   5633:       exit(2);
                   5634:   exit (0);
                   5635: }
                   5636: _ACEOF
                   5637: rm -f conftest$ac_exeext
                   5638: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5639:   (eval $ac_link) 2>&5
                   5640:   ac_status=$?
                   5641:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5642:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   5643:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5644:   (eval $ac_try) 2>&5
                   5645:   ac_status=$?
                   5646:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5647:   (exit $ac_status); }; }; then
1.1       root     5648:   :
                   5649: else
1.1.1.19  root     5650:   echo "$as_me: program exited with status $ac_status" >&5
                   5651: echo "$as_me: failed program was:" >&5
                   5652: sed 's/^/| /' conftest.$ac_ext >&5
                   5653: 
                   5654: ( exit $ac_status )
                   5655: ac_cv_header_stdc=no
1.1       root     5656: fi
1.1.1.19  root     5657: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5658: fi
1.1.1.4   root     5659: fi
1.1       root     5660: fi
1.1.1.19  root     5661: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   5662: echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.1       root     5663: if test $ac_cv_header_stdc = yes; then
1.1.1.19  root     5664: 
                   5665: cat >>confdefs.h <<\_ACEOF
1.1       root     5666: #define STDC_HEADERS 1
1.1.1.19  root     5667: _ACEOF
1.1       root     5668: 
                   5669: fi
                   5670: 
1.1.1.4   root     5671: 
1.1.1.19  root     5672: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5673: 
                   5674: 
                   5675: 
                   5676: 
                   5677: 
                   5678: 
                   5679: 
                   5680: 
                   5681: 
                   5682: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5683:                  inttypes.h stdint.h unistd.h
1.1.1.4   root     5684: do
1.1.1.19  root     5685: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5686: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5687: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5688: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5689:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5690: else
                   5691:   cat >conftest.$ac_ext <<_ACEOF
                   5692: /* confdefs.h.  */
                   5693: _ACEOF
                   5694: cat confdefs.h >>conftest.$ac_ext
                   5695: cat >>conftest.$ac_ext <<_ACEOF
                   5696: /* end confdefs.h.  */
                   5697: $ac_includes_default
                   5698: 
                   5699: #include <$ac_header>
                   5700: _ACEOF
                   5701: rm -f conftest.$ac_objext
                   5702: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5703:   (eval $ac_compile) 2>conftest.er1
                   5704:   ac_status=$?
                   5705:   grep -v '^ *+' conftest.er1 >conftest.err
                   5706:   rm -f conftest.er1
                   5707:   cat conftest.err >&5
                   5708:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5709:   (exit $ac_status); } &&
                   5710:         { ac_try='test -z "$ac_c_werror_flag"
                   5711:                         || test ! -s conftest.err'
                   5712:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5713:   (eval $ac_try) 2>&5
                   5714:   ac_status=$?
                   5715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5716:   (exit $ac_status); }; } &&
                   5717:         { ac_try='test -s conftest.$ac_objext'
                   5718:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5719:   (eval $ac_try) 2>&5
                   5720:   ac_status=$?
                   5721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5722:   (exit $ac_status); }; }; then
                   5723:   eval "$as_ac_Header=yes"
                   5724: else
                   5725:   echo "$as_me: failed program was:" >&5
                   5726: sed 's/^/| /' conftest.$ac_ext >&5
                   5727: 
                   5728: eval "$as_ac_Header=no"
                   5729: fi
                   5730: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5731: fi
                   5732: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5733: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5734: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5735:   cat >>confdefs.h <<_ACEOF
                   5736: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5737: _ACEOF
                   5738: 
1.1.1.4   root     5739: fi
1.1.1.19  root     5740: 
1.1.1.4   root     5741: done
                   5742: 
1.1.1.19  root     5743: 
                   5744: 
                   5745: 
                   5746: 
                   5747: 
                   5748: 
                   5749: 
                   5750: 
                   5751: 
                   5752: 
                   5753: 
                   5754: for ac_header in unistd.h fcntl.h sys/time.h sys/types.h utime.h string.h strings.h values.h ncurses.h curses.h
1.1       root     5755: do
1.1.1.19  root     5756: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5757: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5758:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5759: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5760: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5761:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5762: fi
                   5763: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5764: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5765: else
                   5766:   # Is the header compilable?
                   5767: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   5768: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   5769: cat >conftest.$ac_ext <<_ACEOF
                   5770: /* confdefs.h.  */
                   5771: _ACEOF
                   5772: cat confdefs.h >>conftest.$ac_ext
                   5773: cat >>conftest.$ac_ext <<_ACEOF
                   5774: /* end confdefs.h.  */
                   5775: $ac_includes_default
                   5776: #include <$ac_header>
                   5777: _ACEOF
                   5778: rm -f conftest.$ac_objext
                   5779: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5780:   (eval $ac_compile) 2>conftest.er1
                   5781:   ac_status=$?
                   5782:   grep -v '^ *+' conftest.er1 >conftest.err
                   5783:   rm -f conftest.er1
                   5784:   cat conftest.err >&5
                   5785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5786:   (exit $ac_status); } &&
                   5787:         { ac_try='test -z "$ac_c_werror_flag"
                   5788:                         || test ! -s conftest.err'
                   5789:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5790:   (eval $ac_try) 2>&5
                   5791:   ac_status=$?
                   5792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5793:   (exit $ac_status); }; } &&
                   5794:         { ac_try='test -s conftest.$ac_objext'
                   5795:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5796:   (eval $ac_try) 2>&5
                   5797:   ac_status=$?
                   5798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5799:   (exit $ac_status); }; }; then
                   5800:   ac_header_compiler=yes
                   5801: else
                   5802:   echo "$as_me: failed program was:" >&5
                   5803: sed 's/^/| /' conftest.$ac_ext >&5
                   5804: 
                   5805: ac_header_compiler=no
                   5806: fi
                   5807: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5808: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   5809: echo "${ECHO_T}$ac_header_compiler" >&6
                   5810: 
                   5811: # Is the header present?
                   5812: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   5813: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   5814: cat >conftest.$ac_ext <<_ACEOF
                   5815: /* confdefs.h.  */
                   5816: _ACEOF
                   5817: cat confdefs.h >>conftest.$ac_ext
                   5818: cat >>conftest.$ac_ext <<_ACEOF
                   5819: /* end confdefs.h.  */
                   5820: #include <$ac_header>
                   5821: _ACEOF
                   5822: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5823:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   5824:   ac_status=$?
                   5825:   grep -v '^ *+' conftest.er1 >conftest.err
                   5826:   rm -f conftest.er1
                   5827:   cat conftest.err >&5
                   5828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5829:   (exit $ac_status); } >/dev/null; then
                   5830:   if test -s conftest.err; then
                   5831:     ac_cpp_err=$ac_c_preproc_warn_flag
                   5832:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   5833:   else
                   5834:     ac_cpp_err=
                   5835:   fi
1.1       root     5836: else
1.1.1.19  root     5837:   ac_cpp_err=yes
1.1       root     5838: fi
1.1.1.19  root     5839: if test -z "$ac_cpp_err"; then
                   5840:   ac_header_preproc=yes
1.1       root     5841: else
1.1.1.19  root     5842:   echo "$as_me: failed program was:" >&5
                   5843: sed 's/^/| /' conftest.$ac_ext >&5
                   5844: 
                   5845:   ac_header_preproc=no
1.1       root     5846: fi
1.1.1.19  root     5847: rm -f conftest.err conftest.$ac_ext
                   5848: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   5849: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     5850: 
1.1.1.19  root     5851: # So?  What about this header?
                   5852: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   5853:   yes:no: )
                   5854:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   5855: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   5856:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   5857: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   5858:     ac_header_preproc=yes
                   5859:     ;;
                   5860:   no:yes:* )
                   5861:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   5862: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   5863:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   5864: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   5865:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   5866: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   5867:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   5868: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   5869:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5870: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   5871:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   5872: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   5873:     (
                   5874:       cat <<\_ASBOX
                   5875: ## ------------------------------------------ ##
                   5876: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   5877: ## ------------------------------------------ ##
                   5878: _ASBOX
                   5879:     ) |
                   5880:       sed "s/^/$as_me: WARNING:     /" >&2
                   5881:     ;;
                   5882: esac
                   5883: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5884: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5885: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5886:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5887: else
1.1.1.19  root     5888:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     5889: fi
1.1.1.19  root     5890: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5891: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5892: 
1.1       root     5893: fi
1.1.1.19  root     5894: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5895:   cat >>confdefs.h <<_ACEOF
                   5896: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5897: _ACEOF
                   5898: 
1.1       root     5899: fi
1.1.1.19  root     5900: 
1.1       root     5901: done
                   5902: 
1.1.1.19  root     5903: 
                   5904: 
                   5905: 
                   5906: 
                   5907: 
                   5908: 
                   5909: 
                   5910: for ac_header in sys/soundcard.h machine/soundcard.h sun/audioio.h sys/audioio.h getopt.h features.h sys/termios.h
1.1.1.4   root     5911: do
1.1.1.19  root     5912: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5913: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5914:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5915: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5916: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5917:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5918: fi
                   5919: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5920: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5921: else
                   5922:   # Is the header compilable?
                   5923: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   5924: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   5925: cat >conftest.$ac_ext <<_ACEOF
                   5926: /* confdefs.h.  */
                   5927: _ACEOF
                   5928: cat confdefs.h >>conftest.$ac_ext
                   5929: cat >>conftest.$ac_ext <<_ACEOF
                   5930: /* end confdefs.h.  */
                   5931: $ac_includes_default
                   5932: #include <$ac_header>
                   5933: _ACEOF
                   5934: rm -f conftest.$ac_objext
                   5935: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5936:   (eval $ac_compile) 2>conftest.er1
                   5937:   ac_status=$?
                   5938:   grep -v '^ *+' conftest.er1 >conftest.err
                   5939:   rm -f conftest.er1
                   5940:   cat conftest.err >&5
                   5941:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5942:   (exit $ac_status); } &&
                   5943:         { ac_try='test -z "$ac_c_werror_flag"
                   5944:                         || test ! -s conftest.err'
                   5945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5946:   (eval $ac_try) 2>&5
                   5947:   ac_status=$?
                   5948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5949:   (exit $ac_status); }; } &&
                   5950:         { ac_try='test -s conftest.$ac_objext'
                   5951:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5952:   (eval $ac_try) 2>&5
                   5953:   ac_status=$?
                   5954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5955:   (exit $ac_status); }; }; then
                   5956:   ac_header_compiler=yes
                   5957: else
                   5958:   echo "$as_me: failed program was:" >&5
                   5959: sed 's/^/| /' conftest.$ac_ext >&5
                   5960: 
                   5961: ac_header_compiler=no
                   5962: fi
                   5963: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5964: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   5965: echo "${ECHO_T}$ac_header_compiler" >&6
                   5966: 
                   5967: # Is the header present?
                   5968: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   5969: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   5970: cat >conftest.$ac_ext <<_ACEOF
                   5971: /* confdefs.h.  */
                   5972: _ACEOF
                   5973: cat confdefs.h >>conftest.$ac_ext
                   5974: cat >>conftest.$ac_ext <<_ACEOF
                   5975: /* end confdefs.h.  */
                   5976: #include <$ac_header>
                   5977: _ACEOF
                   5978: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5979:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   5980:   ac_status=$?
                   5981:   grep -v '^ *+' conftest.er1 >conftest.err
                   5982:   rm -f conftest.er1
                   5983:   cat conftest.err >&5
                   5984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5985:   (exit $ac_status); } >/dev/null; then
                   5986:   if test -s conftest.err; then
                   5987:     ac_cpp_err=$ac_c_preproc_warn_flag
                   5988:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   5989:   else
                   5990:     ac_cpp_err=
                   5991:   fi
1.1.1.4   root     5992: else
1.1.1.19  root     5993:   ac_cpp_err=yes
1.1.1.4   root     5994: fi
1.1.1.19  root     5995: if test -z "$ac_cpp_err"; then
                   5996:   ac_header_preproc=yes
1.1.1.4   root     5997: else
1.1.1.19  root     5998:   echo "$as_me: failed program was:" >&5
                   5999: sed 's/^/| /' conftest.$ac_ext >&5
                   6000: 
                   6001:   ac_header_preproc=no
1.1.1.4   root     6002: fi
1.1.1.19  root     6003: rm -f conftest.err conftest.$ac_ext
                   6004: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6005: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     6006: 
1.1.1.19  root     6007: # So?  What about this header?
                   6008: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6009:   yes:no: )
                   6010:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6011: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6012:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6013: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6014:     ac_header_preproc=yes
                   6015:     ;;
                   6016:   no:yes:* )
                   6017:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6018: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6019:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6020: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6021:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6022: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6023:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6024: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6025:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6026: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6027:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6028: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6029:     (
                   6030:       cat <<\_ASBOX
                   6031: ## ------------------------------------------ ##
                   6032: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6033: ## ------------------------------------------ ##
                   6034: _ASBOX
                   6035:     ) |
                   6036:       sed "s/^/$as_me: WARNING:     /" >&2
                   6037:     ;;
                   6038: esac
                   6039: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6040: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6041: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6042:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     6043: else
1.1.1.19  root     6044:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.4   root     6045: fi
1.1.1.19  root     6046: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6047: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6048: 
1.1.1.4   root     6049: fi
1.1.1.19  root     6050: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6051:   cat >>confdefs.h <<_ACEOF
                   6052: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6053: _ACEOF
                   6054: 
1.1       root     6055: fi
                   6056: 
1.1.1.19  root     6057: done
                   6058: 
                   6059: 
                   6060: 
                   6061: 
                   6062: 
                   6063: 
                   6064: 
                   6065: for ac_header in posix_opt.h sys/ioctl.h sys/ipc.h sys/shm.h sys/stat.h sys/utime.h
1.1.1.6   root     6066: do
1.1.1.19  root     6067: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6068: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6069:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6070: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6071: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6072:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6073: fi
                   6074: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6075: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6076: else
                   6077:   # Is the header compilable?
                   6078: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6079: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6080: cat >conftest.$ac_ext <<_ACEOF
                   6081: /* confdefs.h.  */
                   6082: _ACEOF
                   6083: cat confdefs.h >>conftest.$ac_ext
                   6084: cat >>conftest.$ac_ext <<_ACEOF
                   6085: /* end confdefs.h.  */
                   6086: $ac_includes_default
                   6087: #include <$ac_header>
                   6088: _ACEOF
                   6089: rm -f conftest.$ac_objext
                   6090: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6091:   (eval $ac_compile) 2>conftest.er1
                   6092:   ac_status=$?
                   6093:   grep -v '^ *+' conftest.er1 >conftest.err
                   6094:   rm -f conftest.er1
                   6095:   cat conftest.err >&5
                   6096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6097:   (exit $ac_status); } &&
                   6098:         { ac_try='test -z "$ac_c_werror_flag"
                   6099:                         || test ! -s conftest.err'
                   6100:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6101:   (eval $ac_try) 2>&5
                   6102:   ac_status=$?
                   6103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6104:   (exit $ac_status); }; } &&
                   6105:         { ac_try='test -s conftest.$ac_objext'
                   6106:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6107:   (eval $ac_try) 2>&5
                   6108:   ac_status=$?
                   6109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6110:   (exit $ac_status); }; }; then
                   6111:   ac_header_compiler=yes
                   6112: else
                   6113:   echo "$as_me: failed program was:" >&5
                   6114: sed 's/^/| /' conftest.$ac_ext >&5
                   6115: 
                   6116: ac_header_compiler=no
                   6117: fi
                   6118: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6119: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6120: echo "${ECHO_T}$ac_header_compiler" >&6
                   6121: 
                   6122: # Is the header present?
                   6123: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6124: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6125: cat >conftest.$ac_ext <<_ACEOF
                   6126: /* confdefs.h.  */
                   6127: _ACEOF
                   6128: cat confdefs.h >>conftest.$ac_ext
                   6129: cat >>conftest.$ac_ext <<_ACEOF
                   6130: /* end confdefs.h.  */
                   6131: #include <$ac_header>
                   6132: _ACEOF
                   6133: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6134:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6135:   ac_status=$?
                   6136:   grep -v '^ *+' conftest.er1 >conftest.err
                   6137:   rm -f conftest.er1
                   6138:   cat conftest.err >&5
                   6139:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6140:   (exit $ac_status); } >/dev/null; then
                   6141:   if test -s conftest.err; then
                   6142:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6143:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6144:   else
                   6145:     ac_cpp_err=
                   6146:   fi
1.1       root     6147: else
1.1.1.19  root     6148:   ac_cpp_err=yes
1.1.1.4   root     6149: fi
1.1.1.19  root     6150: if test -z "$ac_cpp_err"; then
                   6151:   ac_header_preproc=yes
1.1.1.6   root     6152: else
1.1.1.19  root     6153:   echo "$as_me: failed program was:" >&5
                   6154: sed 's/^/| /' conftest.$ac_ext >&5
                   6155: 
                   6156:   ac_header_preproc=no
1.1.1.6   root     6157: fi
1.1.1.19  root     6158: rm -f conftest.err conftest.$ac_ext
                   6159: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6160: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     6161: 
1.1.1.19  root     6162: # So?  What about this header?
                   6163: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6164:   yes:no: )
                   6165:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6166: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6167:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6168: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6169:     ac_header_preproc=yes
                   6170:     ;;
                   6171:   no:yes:* )
                   6172:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6173: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6174:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6175: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6176:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6177: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6178:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6179: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6180:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6181: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6182:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6183: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6184:     (
                   6185:       cat <<\_ASBOX
                   6186: ## ------------------------------------------ ##
                   6187: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6188: ## ------------------------------------------ ##
                   6189: _ASBOX
                   6190:     ) |
                   6191:       sed "s/^/$as_me: WARNING:     /" >&2
                   6192:     ;;
                   6193: esac
                   6194: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6195: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6196: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6197:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     6198: else
1.1.1.19  root     6199:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.8   root     6200: fi
1.1.1.19  root     6201: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6202: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6203: 
1.1.1.8   root     6204: fi
1.1.1.19  root     6205: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6206:   cat >>confdefs.h <<_ACEOF
                   6207: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6208: _ACEOF
                   6209: 
1.1.1.8   root     6210: fi
1.1.1.19  root     6211: 
1.1.1.8   root     6212: done
                   6213: 
1.1.1.19  root     6214: 
                   6215: 
                   6216: for ac_header in windows.h ddraw.h
1.1.1.8   root     6217: do
1.1.1.19  root     6218: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6219: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6220:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6221: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6222: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6223:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6224: fi
                   6225: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6226: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6227: else
                   6228:   # Is the header compilable?
                   6229: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6230: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6231: cat >conftest.$ac_ext <<_ACEOF
                   6232: /* confdefs.h.  */
                   6233: _ACEOF
                   6234: cat confdefs.h >>conftest.$ac_ext
                   6235: cat >>conftest.$ac_ext <<_ACEOF
                   6236: /* end confdefs.h.  */
                   6237: $ac_includes_default
                   6238: #include <$ac_header>
                   6239: _ACEOF
                   6240: rm -f conftest.$ac_objext
                   6241: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6242:   (eval $ac_compile) 2>conftest.er1
                   6243:   ac_status=$?
                   6244:   grep -v '^ *+' conftest.er1 >conftest.err
                   6245:   rm -f conftest.er1
                   6246:   cat conftest.err >&5
                   6247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6248:   (exit $ac_status); } &&
                   6249:         { ac_try='test -z "$ac_c_werror_flag"
                   6250:                         || test ! -s conftest.err'
                   6251:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6252:   (eval $ac_try) 2>&5
                   6253:   ac_status=$?
                   6254:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6255:   (exit $ac_status); }; } &&
                   6256:         { ac_try='test -s conftest.$ac_objext'
                   6257:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6258:   (eval $ac_try) 2>&5
                   6259:   ac_status=$?
                   6260:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6261:   (exit $ac_status); }; }; then
                   6262:   ac_header_compiler=yes
                   6263: else
                   6264:   echo "$as_me: failed program was:" >&5
                   6265: sed 's/^/| /' conftest.$ac_ext >&5
                   6266: 
                   6267: ac_header_compiler=no
                   6268: fi
                   6269: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6270: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6271: echo "${ECHO_T}$ac_header_compiler" >&6
                   6272: 
                   6273: # Is the header present?
                   6274: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6275: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6276: cat >conftest.$ac_ext <<_ACEOF
                   6277: /* confdefs.h.  */
                   6278: _ACEOF
                   6279: cat confdefs.h >>conftest.$ac_ext
                   6280: cat >>conftest.$ac_ext <<_ACEOF
                   6281: /* end confdefs.h.  */
                   6282: #include <$ac_header>
                   6283: _ACEOF
                   6284: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6285:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6286:   ac_status=$?
                   6287:   grep -v '^ *+' conftest.er1 >conftest.err
                   6288:   rm -f conftest.er1
                   6289:   cat conftest.err >&5
                   6290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6291:   (exit $ac_status); } >/dev/null; then
                   6292:   if test -s conftest.err; then
                   6293:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6294:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6295:   else
                   6296:     ac_cpp_err=
                   6297:   fi
1.1.1.8   root     6298: else
1.1.1.19  root     6299:   ac_cpp_err=yes
1.1.1.6   root     6300: fi
1.1.1.19  root     6301: if test -z "$ac_cpp_err"; then
                   6302:   ac_header_preproc=yes
1.1.1.6   root     6303: else
1.1.1.19  root     6304:   echo "$as_me: failed program was:" >&5
                   6305: sed 's/^/| /' conftest.$ac_ext >&5
                   6306: 
                   6307:   ac_header_preproc=no
1.1.1.6   root     6308: fi
1.1.1.19  root     6309: rm -f conftest.err conftest.$ac_ext
                   6310: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6311: echo "${ECHO_T}$ac_header_preproc" >&6
1.1.1.6   root     6312: 
1.1.1.19  root     6313: # So?  What about this header?
                   6314: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6315:   yes:no: )
                   6316:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6317: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6318:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6319: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6320:     ac_header_preproc=yes
                   6321:     ;;
                   6322:   no:yes:* )
                   6323:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6324: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6325:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6326: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6327:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6328: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6329:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6330: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6331:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6332: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6333:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6334: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6335:     (
                   6336:       cat <<\_ASBOX
                   6337: ## ------------------------------------------ ##
                   6338: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6339: ## ------------------------------------------ ##
                   6340: _ASBOX
                   6341:     ) |
                   6342:       sed "s/^/$as_me: WARNING:     /" >&2
                   6343:     ;;
                   6344: esac
                   6345: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6346: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6347: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6348:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     6349: else
1.1.1.19  root     6350:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.6   root     6351: fi
1.1.1.19  root     6352: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6353: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6354: 
1.1.1.6   root     6355: fi
1.1.1.19  root     6356: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6357:   cat >>confdefs.h <<_ACEOF
                   6358: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6359: _ACEOF
                   6360: 
1.1.1.6   root     6361: fi
                   6362: 
1.1.1.19  root     6363: done
1.1.1.6   root     6364: 
1.1.1.19  root     6365: if test "${ac_cv_header_be_math_h+set}" = set; then
                   6366:   echo "$as_me:$LINENO: checking for be_math.h" >&5
                   6367: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6
                   6368: if test "${ac_cv_header_be_math_h+set}" = set; then
                   6369:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6370: fi
                   6371: echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
                   6372: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6
                   6373: else
                   6374:   # Is the header compilable?
                   6375: echo "$as_me:$LINENO: checking be_math.h usability" >&5
                   6376: echo $ECHO_N "checking be_math.h usability... $ECHO_C" >&6
                   6377: cat >conftest.$ac_ext <<_ACEOF
                   6378: /* confdefs.h.  */
                   6379: _ACEOF
                   6380: cat confdefs.h >>conftest.$ac_ext
                   6381: cat >>conftest.$ac_ext <<_ACEOF
                   6382: /* end confdefs.h.  */
                   6383: $ac_includes_default
                   6384: #include <be_math.h>
                   6385: _ACEOF
                   6386: rm -f conftest.$ac_objext
                   6387: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6388:   (eval $ac_compile) 2>conftest.er1
                   6389:   ac_status=$?
                   6390:   grep -v '^ *+' conftest.er1 >conftest.err
                   6391:   rm -f conftest.er1
                   6392:   cat conftest.err >&5
                   6393:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6394:   (exit $ac_status); } &&
                   6395:         { ac_try='test -z "$ac_c_werror_flag"
                   6396:                         || test ! -s conftest.err'
                   6397:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6398:   (eval $ac_try) 2>&5
                   6399:   ac_status=$?
                   6400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6401:   (exit $ac_status); }; } &&
                   6402:         { ac_try='test -s conftest.$ac_objext'
                   6403:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6404:   (eval $ac_try) 2>&5
                   6405:   ac_status=$?
                   6406:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6407:   (exit $ac_status); }; }; then
                   6408:   ac_header_compiler=yes
                   6409: else
                   6410:   echo "$as_me: failed program was:" >&5
                   6411: sed 's/^/| /' conftest.$ac_ext >&5
                   6412: 
                   6413: ac_header_compiler=no
                   6414: fi
                   6415: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6416: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6417: echo "${ECHO_T}$ac_header_compiler" >&6
                   6418: 
                   6419: # Is the header present?
                   6420: echo "$as_me:$LINENO: checking be_math.h presence" >&5
                   6421: echo $ECHO_N "checking be_math.h presence... $ECHO_C" >&6
                   6422: cat >conftest.$ac_ext <<_ACEOF
                   6423: /* confdefs.h.  */
                   6424: _ACEOF
                   6425: cat confdefs.h >>conftest.$ac_ext
                   6426: cat >>conftest.$ac_ext <<_ACEOF
                   6427: /* end confdefs.h.  */
                   6428: #include <be_math.h>
                   6429: _ACEOF
                   6430: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6431:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6432:   ac_status=$?
                   6433:   grep -v '^ *+' conftest.er1 >conftest.err
                   6434:   rm -f conftest.er1
                   6435:   cat conftest.err >&5
                   6436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6437:   (exit $ac_status); } >/dev/null; then
                   6438:   if test -s conftest.err; then
                   6439:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6440:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6441:   else
                   6442:     ac_cpp_err=
                   6443:   fi
1.1.1.6   root     6444: else
1.1.1.19  root     6445:   ac_cpp_err=yes
                   6446: fi
                   6447: if test -z "$ac_cpp_err"; then
                   6448:   ac_header_preproc=yes
1.1.1.6   root     6449: else
1.1.1.19  root     6450:   echo "$as_me: failed program was:" >&5
                   6451: sed 's/^/| /' conftest.$ac_ext >&5
                   6452: 
                   6453:   ac_header_preproc=no
                   6454: fi
                   6455: rm -f conftest.err conftest.$ac_ext
                   6456: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6457: echo "${ECHO_T}$ac_header_preproc" >&6
                   6458: 
                   6459: # So?  What about this header?
                   6460: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6461:   yes:no: )
                   6462:     { echo "$as_me:$LINENO: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&5
                   6463: echo "$as_me: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6464:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the compiler's result" >&5
                   6465: echo "$as_me: WARNING: be_math.h: proceeding with the compiler's result" >&2;}
                   6466:     ac_header_preproc=yes
                   6467:     ;;
                   6468:   no:yes:* )
                   6469:     { echo "$as_me:$LINENO: WARNING: be_math.h: present but cannot be compiled" >&5
                   6470: echo "$as_me: WARNING: be_math.h: present but cannot be compiled" >&2;}
                   6471:     { echo "$as_me:$LINENO: WARNING: be_math.h:     check for missing prerequisite headers?" >&5
                   6472: echo "$as_me: WARNING: be_math.h:     check for missing prerequisite headers?" >&2;}
                   6473:     { echo "$as_me:$LINENO: WARNING: be_math.h: see the Autoconf documentation" >&5
                   6474: echo "$as_me: WARNING: be_math.h: see the Autoconf documentation" >&2;}
                   6475:     { echo "$as_me:$LINENO: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&5
                   6476: echo "$as_me: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6477:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the preprocessor's result" >&5
                   6478: echo "$as_me: WARNING: be_math.h: proceeding with the preprocessor's result" >&2;}
                   6479:     { echo "$as_me:$LINENO: WARNING: be_math.h: in the future, the compiler will take precedence" >&5
                   6480: echo "$as_me: WARNING: be_math.h: in the future, the compiler will take precedence" >&2;}
                   6481:     (
                   6482:       cat <<\_ASBOX
                   6483: ## ------------------------------------------ ##
                   6484: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6485: ## ------------------------------------------ ##
                   6486: _ASBOX
                   6487:     ) |
                   6488:       sed "s/^/$as_me: WARNING:     /" >&2
                   6489:     ;;
                   6490: esac
                   6491: echo "$as_me:$LINENO: checking for be_math.h" >&5
                   6492: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6
                   6493: if test "${ac_cv_header_be_math_h+set}" = set; then
                   6494:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6495: else
                   6496:   ac_cv_header_be_math_h=$ac_header_preproc
                   6497: fi
                   6498: echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
                   6499: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6
                   6500: 
                   6501: fi
                   6502: if test $ac_cv_header_be_math_h = yes; then
                   6503:   HAVE_BEOS=yes
                   6504: else
                   6505:   HAVE_BEOS=no
                   6506: fi
                   6507: 
                   6508: 
                   6509: 
                   6510: for ac_header in machine/joystick.h
                   6511: do
                   6512: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6513: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6514:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6515: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6516: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6517:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6518: fi
                   6519: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6520: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6521: else
                   6522:   # Is the header compilable?
                   6523: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6524: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6525: cat >conftest.$ac_ext <<_ACEOF
                   6526: /* confdefs.h.  */
                   6527: _ACEOF
                   6528: cat confdefs.h >>conftest.$ac_ext
                   6529: cat >>conftest.$ac_ext <<_ACEOF
                   6530: /* end confdefs.h.  */
                   6531: $ac_includes_default
                   6532: #include <$ac_header>
                   6533: _ACEOF
                   6534: rm -f conftest.$ac_objext
                   6535: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6536:   (eval $ac_compile) 2>conftest.er1
                   6537:   ac_status=$?
                   6538:   grep -v '^ *+' conftest.er1 >conftest.err
                   6539:   rm -f conftest.er1
                   6540:   cat conftest.err >&5
                   6541:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6542:   (exit $ac_status); } &&
                   6543:         { ac_try='test -z "$ac_c_werror_flag"
                   6544:                         || test ! -s conftest.err'
                   6545:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6546:   (eval $ac_try) 2>&5
                   6547:   ac_status=$?
                   6548:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6549:   (exit $ac_status); }; } &&
                   6550:         { ac_try='test -s conftest.$ac_objext'
                   6551:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6552:   (eval $ac_try) 2>&5
                   6553:   ac_status=$?
                   6554:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6555:   (exit $ac_status); }; }; then
                   6556:   ac_header_compiler=yes
                   6557: else
                   6558:   echo "$as_me: failed program was:" >&5
                   6559: sed 's/^/| /' conftest.$ac_ext >&5
                   6560: 
                   6561: ac_header_compiler=no
                   6562: fi
                   6563: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6564: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6565: echo "${ECHO_T}$ac_header_compiler" >&6
                   6566: 
                   6567: # Is the header present?
                   6568: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6569: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6570: cat >conftest.$ac_ext <<_ACEOF
                   6571: /* confdefs.h.  */
                   6572: _ACEOF
                   6573: cat confdefs.h >>conftest.$ac_ext
                   6574: cat >>conftest.$ac_ext <<_ACEOF
                   6575: /* end confdefs.h.  */
                   6576: #include <$ac_header>
                   6577: _ACEOF
                   6578: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6579:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6580:   ac_status=$?
                   6581:   grep -v '^ *+' conftest.er1 >conftest.err
                   6582:   rm -f conftest.er1
                   6583:   cat conftest.err >&5
                   6584:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6585:   (exit $ac_status); } >/dev/null; then
                   6586:   if test -s conftest.err; then
                   6587:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6588:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6589:   else
                   6590:     ac_cpp_err=
                   6591:   fi
                   6592: else
                   6593:   ac_cpp_err=yes
                   6594: fi
                   6595: if test -z "$ac_cpp_err"; then
                   6596:   ac_header_preproc=yes
                   6597: else
                   6598:   echo "$as_me: failed program was:" >&5
                   6599: sed 's/^/| /' conftest.$ac_ext >&5
                   6600: 
                   6601:   ac_header_preproc=no
                   6602: fi
                   6603: rm -f conftest.err conftest.$ac_ext
                   6604: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6605: echo "${ECHO_T}$ac_header_preproc" >&6
                   6606: 
                   6607: # So?  What about this header?
                   6608: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6609:   yes:no: )
                   6610:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6611: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6612:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6613: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6614:     ac_header_preproc=yes
                   6615:     ;;
                   6616:   no:yes:* )
                   6617:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6618: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6619:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6620: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6621:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6622: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6623:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6624: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6625:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6626: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6627:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6628: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6629:     (
                   6630:       cat <<\_ASBOX
                   6631: ## ------------------------------------------ ##
                   6632: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6633: ## ------------------------------------------ ##
                   6634: _ASBOX
                   6635:     ) |
                   6636:       sed "s/^/$as_me: WARNING:     /" >&2
                   6637:     ;;
                   6638: esac
                   6639: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6640: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6641: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6642:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6643: else
                   6644:   eval "$as_ac_Header=\$ac_header_preproc"
                   6645: fi
                   6646: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6647: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6648: 
                   6649: fi
                   6650: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6651:   cat >>confdefs.h <<_ACEOF
                   6652: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6653: _ACEOF
                   6654: 
                   6655: fi
                   6656: 
                   6657: done
                   6658: 
                   6659: 
                   6660: for ac_header in devices/ahi.h
                   6661: do
                   6662: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6663: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6664:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6665: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6666: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6667:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6668: fi
                   6669: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6670: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6671: else
                   6672:   # Is the header compilable?
                   6673: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6674: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6675: cat >conftest.$ac_ext <<_ACEOF
                   6676: /* confdefs.h.  */
                   6677: _ACEOF
                   6678: cat confdefs.h >>conftest.$ac_ext
                   6679: cat >>conftest.$ac_ext <<_ACEOF
                   6680: /* end confdefs.h.  */
                   6681: $ac_includes_default
                   6682: #include <$ac_header>
                   6683: _ACEOF
                   6684: rm -f conftest.$ac_objext
                   6685: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6686:   (eval $ac_compile) 2>conftest.er1
                   6687:   ac_status=$?
                   6688:   grep -v '^ *+' conftest.er1 >conftest.err
                   6689:   rm -f conftest.er1
                   6690:   cat conftest.err >&5
                   6691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6692:   (exit $ac_status); } &&
                   6693:         { ac_try='test -z "$ac_c_werror_flag"
                   6694:                         || test ! -s conftest.err'
                   6695:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6696:   (eval $ac_try) 2>&5
                   6697:   ac_status=$?
                   6698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6699:   (exit $ac_status); }; } &&
                   6700:         { ac_try='test -s conftest.$ac_objext'
                   6701:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6702:   (eval $ac_try) 2>&5
                   6703:   ac_status=$?
                   6704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6705:   (exit $ac_status); }; }; then
                   6706:   ac_header_compiler=yes
                   6707: else
                   6708:   echo "$as_me: failed program was:" >&5
                   6709: sed 's/^/| /' conftest.$ac_ext >&5
                   6710: 
                   6711: ac_header_compiler=no
                   6712: fi
                   6713: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6714: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6715: echo "${ECHO_T}$ac_header_compiler" >&6
                   6716: 
                   6717: # Is the header present?
                   6718: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6719: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6720: cat >conftest.$ac_ext <<_ACEOF
                   6721: /* confdefs.h.  */
                   6722: _ACEOF
                   6723: cat confdefs.h >>conftest.$ac_ext
                   6724: cat >>conftest.$ac_ext <<_ACEOF
                   6725: /* end confdefs.h.  */
                   6726: #include <$ac_header>
                   6727: _ACEOF
                   6728: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6729:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6730:   ac_status=$?
                   6731:   grep -v '^ *+' conftest.er1 >conftest.err
                   6732:   rm -f conftest.er1
                   6733:   cat conftest.err >&5
                   6734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6735:   (exit $ac_status); } >/dev/null; then
                   6736:   if test -s conftest.err; then
                   6737:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6738:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6739:   else
                   6740:     ac_cpp_err=
                   6741:   fi
                   6742: else
                   6743:   ac_cpp_err=yes
                   6744: fi
                   6745: if test -z "$ac_cpp_err"; then
                   6746:   ac_header_preproc=yes
                   6747: else
                   6748:   echo "$as_me: failed program was:" >&5
                   6749: sed 's/^/| /' conftest.$ac_ext >&5
                   6750: 
                   6751:   ac_header_preproc=no
                   6752: fi
                   6753: rm -f conftest.err conftest.$ac_ext
                   6754: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6755: echo "${ECHO_T}$ac_header_preproc" >&6
                   6756: 
                   6757: # So?  What about this header?
                   6758: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6759:   yes:no: )
                   6760:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6761: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6762:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6763: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6764:     ac_header_preproc=yes
                   6765:     ;;
                   6766:   no:yes:* )
                   6767:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6768: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6769:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6770: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6771:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6772: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6773:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6774: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6775:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6776: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6777:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6778: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6779:     (
                   6780:       cat <<\_ASBOX
                   6781: ## ------------------------------------------ ##
                   6782: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6783: ## ------------------------------------------ ##
                   6784: _ASBOX
                   6785:     ) |
                   6786:       sed "s/^/$as_me: WARNING:     /" >&2
                   6787:     ;;
                   6788: esac
                   6789: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6790: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6791: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6792:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6793: else
                   6794:   eval "$as_ac_Header=\$ac_header_preproc"
                   6795: fi
                   6796: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6797: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6798: 
                   6799: fi
                   6800: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6801:   cat >>confdefs.h <<_ACEOF
                   6802: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6803: _ACEOF
                   6804: 
                   6805: fi
                   6806: 
                   6807: done
                   6808: 
                   6809: 
                   6810: for ac_header in dmedia/audio.h
                   6811: do
                   6812: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6813: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6814:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6815: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6816: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6817:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6818: fi
                   6819: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6820: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6821: else
                   6822:   # Is the header compilable?
                   6823: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6824: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6825: cat >conftest.$ac_ext <<_ACEOF
                   6826: /* confdefs.h.  */
                   6827: _ACEOF
                   6828: cat confdefs.h >>conftest.$ac_ext
                   6829: cat >>conftest.$ac_ext <<_ACEOF
                   6830: /* end confdefs.h.  */
                   6831: $ac_includes_default
                   6832: #include <$ac_header>
                   6833: _ACEOF
                   6834: rm -f conftest.$ac_objext
                   6835: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6836:   (eval $ac_compile) 2>conftest.er1
                   6837:   ac_status=$?
                   6838:   grep -v '^ *+' conftest.er1 >conftest.err
                   6839:   rm -f conftest.er1
                   6840:   cat conftest.err >&5
                   6841:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6842:   (exit $ac_status); } &&
                   6843:         { ac_try='test -z "$ac_c_werror_flag"
                   6844:                         || test ! -s conftest.err'
                   6845:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6846:   (eval $ac_try) 2>&5
                   6847:   ac_status=$?
                   6848:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6849:   (exit $ac_status); }; } &&
                   6850:         { ac_try='test -s conftest.$ac_objext'
                   6851:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6852:   (eval $ac_try) 2>&5
                   6853:   ac_status=$?
                   6854:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6855:   (exit $ac_status); }; }; then
                   6856:   ac_header_compiler=yes
                   6857: else
                   6858:   echo "$as_me: failed program was:" >&5
                   6859: sed 's/^/| /' conftest.$ac_ext >&5
                   6860: 
                   6861: ac_header_compiler=no
                   6862: fi
                   6863: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   6864: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6865: echo "${ECHO_T}$ac_header_compiler" >&6
                   6866: 
                   6867: # Is the header present?
                   6868: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6869: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6870: cat >conftest.$ac_ext <<_ACEOF
                   6871: /* confdefs.h.  */
                   6872: _ACEOF
                   6873: cat confdefs.h >>conftest.$ac_ext
                   6874: cat >>conftest.$ac_ext <<_ACEOF
                   6875: /* end confdefs.h.  */
                   6876: #include <$ac_header>
                   6877: _ACEOF
                   6878: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6879:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6880:   ac_status=$?
                   6881:   grep -v '^ *+' conftest.er1 >conftest.err
                   6882:   rm -f conftest.er1
                   6883:   cat conftest.err >&5
                   6884:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6885:   (exit $ac_status); } >/dev/null; then
                   6886:   if test -s conftest.err; then
                   6887:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6888:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6889:   else
                   6890:     ac_cpp_err=
                   6891:   fi
                   6892: else
                   6893:   ac_cpp_err=yes
                   6894: fi
                   6895: if test -z "$ac_cpp_err"; then
                   6896:   ac_header_preproc=yes
                   6897: else
                   6898:   echo "$as_me: failed program was:" >&5
                   6899: sed 's/^/| /' conftest.$ac_ext >&5
                   6900: 
                   6901:   ac_header_preproc=no
                   6902: fi
                   6903: rm -f conftest.err conftest.$ac_ext
                   6904: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6905: echo "${ECHO_T}$ac_header_preproc" >&6
                   6906: 
                   6907: # So?  What about this header?
                   6908: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6909:   yes:no: )
                   6910:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6911: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6912:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6913: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6914:     ac_header_preproc=yes
                   6915:     ;;
                   6916:   no:yes:* )
                   6917:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6918: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6919:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6920: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6921:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6922: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6923:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6924: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6925:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6926: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6927:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6928: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   6929:     (
                   6930:       cat <<\_ASBOX
                   6931: ## ------------------------------------------ ##
                   6932: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6933: ## ------------------------------------------ ##
                   6934: _ASBOX
                   6935:     ) |
                   6936:       sed "s/^/$as_me: WARNING:     /" >&2
                   6937:     ;;
                   6938: esac
                   6939: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6940: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6941: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6942:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6943: else
                   6944:   eval "$as_ac_Header=\$ac_header_preproc"
                   6945: fi
                   6946: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6947: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6948: 
                   6949: fi
                   6950: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6951:   cat >>confdefs.h <<_ACEOF
                   6952: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6953: _ACEOF
                   6954: 
                   6955: fi
                   6956: 
                   6957: done
                   6958: 
                   6959: 
                   6960: 
                   6961: for ac_header in libraries/cybergraphics.h cybergraphx/cybergraphics.h
                   6962: do
                   6963: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6964: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6965:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6966: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6967: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6968:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6969: fi
                   6970: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6971: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6972: else
                   6973:   # Is the header compilable?
                   6974: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6975: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6976: cat >conftest.$ac_ext <<_ACEOF
                   6977: /* confdefs.h.  */
                   6978: _ACEOF
                   6979: cat confdefs.h >>conftest.$ac_ext
                   6980: cat >>conftest.$ac_ext <<_ACEOF
                   6981: /* end confdefs.h.  */
                   6982: $ac_includes_default
                   6983: #include <$ac_header>
                   6984: _ACEOF
                   6985: rm -f conftest.$ac_objext
                   6986: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6987:   (eval $ac_compile) 2>conftest.er1
                   6988:   ac_status=$?
                   6989:   grep -v '^ *+' conftest.er1 >conftest.err
                   6990:   rm -f conftest.er1
                   6991:   cat conftest.err >&5
                   6992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6993:   (exit $ac_status); } &&
                   6994:         { ac_try='test -z "$ac_c_werror_flag"
                   6995:                         || test ! -s conftest.err'
                   6996:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6997:   (eval $ac_try) 2>&5
                   6998:   ac_status=$?
                   6999:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7000:   (exit $ac_status); }; } &&
                   7001:         { ac_try='test -s conftest.$ac_objext'
                   7002:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7003:   (eval $ac_try) 2>&5
                   7004:   ac_status=$?
                   7005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7006:   (exit $ac_status); }; }; then
                   7007:   ac_header_compiler=yes
                   7008: else
                   7009:   echo "$as_me: failed program was:" >&5
                   7010: sed 's/^/| /' conftest.$ac_ext >&5
                   7011: 
                   7012: ac_header_compiler=no
                   7013: fi
                   7014: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7015: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   7016: echo "${ECHO_T}$ac_header_compiler" >&6
                   7017: 
                   7018: # Is the header present?
                   7019: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   7020: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   7021: cat >conftest.$ac_ext <<_ACEOF
                   7022: /* confdefs.h.  */
                   7023: _ACEOF
                   7024: cat confdefs.h >>conftest.$ac_ext
                   7025: cat >>conftest.$ac_ext <<_ACEOF
                   7026: /* end confdefs.h.  */
                   7027: #include <$ac_header>
                   7028: _ACEOF
                   7029: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7030:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7031:   ac_status=$?
                   7032:   grep -v '^ *+' conftest.er1 >conftest.err
                   7033:   rm -f conftest.er1
                   7034:   cat conftest.err >&5
                   7035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7036:   (exit $ac_status); } >/dev/null; then
                   7037:   if test -s conftest.err; then
                   7038:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7039:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7040:   else
                   7041:     ac_cpp_err=
                   7042:   fi
                   7043: else
                   7044:   ac_cpp_err=yes
                   7045: fi
                   7046: if test -z "$ac_cpp_err"; then
                   7047:   ac_header_preproc=yes
                   7048: else
                   7049:   echo "$as_me: failed program was:" >&5
                   7050: sed 's/^/| /' conftest.$ac_ext >&5
                   7051: 
                   7052:   ac_header_preproc=no
                   7053: fi
                   7054: rm -f conftest.err conftest.$ac_ext
                   7055: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   7056: echo "${ECHO_T}$ac_header_preproc" >&6
                   7057: 
                   7058: # So?  What about this header?
                   7059: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   7060:   yes:no: )
                   7061:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   7062: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   7063:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   7064: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   7065:     ac_header_preproc=yes
                   7066:     ;;
                   7067:   no:yes:* )
                   7068:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   7069: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   7070:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   7071: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   7072:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   7073: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   7074:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   7075: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   7076:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   7077: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   7078:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   7079: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   7080:     (
                   7081:       cat <<\_ASBOX
                   7082: ## ------------------------------------------ ##
                   7083: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   7084: ## ------------------------------------------ ##
                   7085: _ASBOX
                   7086:     ) |
                   7087:       sed "s/^/$as_me: WARNING:     /" >&2
                   7088:     ;;
                   7089: esac
                   7090: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7091: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7092: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7093:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7094: else
                   7095:   eval "$as_ac_Header=\$ac_header_preproc"
                   7096: fi
                   7097: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7098: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7099: 
                   7100: fi
                   7101: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7102:   cat >>confdefs.h <<_ACEOF
                   7103: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7104: _ACEOF
                   7105: 
                   7106: fi
                   7107: 
                   7108: done
                   7109: 
                   7110: 
                   7111: echo "$as_me:$LINENO: checking for char" >&5
                   7112: echo $ECHO_N "checking for char... $ECHO_C" >&6
                   7113: if test "${ac_cv_type_char+set}" = set; then
                   7114:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7115: else
                   7116:   cat >conftest.$ac_ext <<_ACEOF
                   7117: /* confdefs.h.  */
                   7118: _ACEOF
                   7119: cat confdefs.h >>conftest.$ac_ext
                   7120: cat >>conftest.$ac_ext <<_ACEOF
                   7121: /* end confdefs.h.  */
                   7122: $ac_includes_default
                   7123: int
                   7124: main ()
                   7125: {
                   7126: if ((char *) 0)
                   7127:   return 0;
                   7128: if (sizeof (char))
                   7129:   return 0;
                   7130:   ;
                   7131:   return 0;
                   7132: }
                   7133: _ACEOF
                   7134: rm -f conftest.$ac_objext
                   7135: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7136:   (eval $ac_compile) 2>conftest.er1
                   7137:   ac_status=$?
                   7138:   grep -v '^ *+' conftest.er1 >conftest.err
                   7139:   rm -f conftest.er1
                   7140:   cat conftest.err >&5
                   7141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7142:   (exit $ac_status); } &&
                   7143:         { ac_try='test -z "$ac_c_werror_flag"
                   7144:                         || test ! -s conftest.err'
                   7145:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7146:   (eval $ac_try) 2>&5
                   7147:   ac_status=$?
                   7148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7149:   (exit $ac_status); }; } &&
                   7150:         { ac_try='test -s conftest.$ac_objext'
                   7151:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7152:   (eval $ac_try) 2>&5
                   7153:   ac_status=$?
                   7154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7155:   (exit $ac_status); }; }; then
                   7156:   ac_cv_type_char=yes
                   7157: else
                   7158:   echo "$as_me: failed program was:" >&5
                   7159: sed 's/^/| /' conftest.$ac_ext >&5
                   7160: 
                   7161: ac_cv_type_char=no
                   7162: fi
                   7163: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7164: fi
                   7165: echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
                   7166: echo "${ECHO_T}$ac_cv_type_char" >&6
                   7167: 
                   7168: echo "$as_me:$LINENO: checking size of char" >&5
                   7169: echo $ECHO_N "checking size of char... $ECHO_C" >&6
                   7170: if test "${ac_cv_sizeof_char+set}" = set; then
                   7171:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7172: else
                   7173:   if test "$ac_cv_type_char" = yes; then
                   7174:   # The cast to unsigned long works around a bug in the HP C Compiler
                   7175:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   7176:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   7177:   # This bug is HP SR number 8606223364.
                   7178:   if test "$cross_compiling" = yes; then
                   7179:   # Depending upon the size, compute the lo and hi bounds.
                   7180: cat >conftest.$ac_ext <<_ACEOF
                   7181: /* confdefs.h.  */
                   7182: _ACEOF
                   7183: cat confdefs.h >>conftest.$ac_ext
                   7184: cat >>conftest.$ac_ext <<_ACEOF
                   7185: /* end confdefs.h.  */
                   7186: $ac_includes_default
                   7187: int
                   7188: main ()
                   7189: {
                   7190: static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
                   7191: test_array [0] = 0
                   7192: 
                   7193:   ;
                   7194:   return 0;
                   7195: }
                   7196: _ACEOF
                   7197: rm -f conftest.$ac_objext
                   7198: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7199:   (eval $ac_compile) 2>conftest.er1
                   7200:   ac_status=$?
                   7201:   grep -v '^ *+' conftest.er1 >conftest.err
                   7202:   rm -f conftest.er1
                   7203:   cat conftest.err >&5
                   7204:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7205:   (exit $ac_status); } &&
                   7206:         { ac_try='test -z "$ac_c_werror_flag"
                   7207:                         || test ! -s conftest.err'
                   7208:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7209:   (eval $ac_try) 2>&5
                   7210:   ac_status=$?
                   7211:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7212:   (exit $ac_status); }; } &&
                   7213:         { ac_try='test -s conftest.$ac_objext'
                   7214:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7215:   (eval $ac_try) 2>&5
                   7216:   ac_status=$?
                   7217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7218:   (exit $ac_status); }; }; then
                   7219:   ac_lo=0 ac_mid=0
                   7220:   while :; do
                   7221:     cat >conftest.$ac_ext <<_ACEOF
                   7222: /* confdefs.h.  */
                   7223: _ACEOF
                   7224: cat confdefs.h >>conftest.$ac_ext
                   7225: cat >>conftest.$ac_ext <<_ACEOF
                   7226: /* end confdefs.h.  */
                   7227: $ac_includes_default
                   7228: int
                   7229: main ()
                   7230: {
                   7231: static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
                   7232: test_array [0] = 0
                   7233: 
                   7234:   ;
                   7235:   return 0;
                   7236: }
                   7237: _ACEOF
                   7238: rm -f conftest.$ac_objext
                   7239: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7240:   (eval $ac_compile) 2>conftest.er1
                   7241:   ac_status=$?
                   7242:   grep -v '^ *+' conftest.er1 >conftest.err
                   7243:   rm -f conftest.er1
                   7244:   cat conftest.err >&5
                   7245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7246:   (exit $ac_status); } &&
                   7247:         { ac_try='test -z "$ac_c_werror_flag"
                   7248:                         || test ! -s conftest.err'
                   7249:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7250:   (eval $ac_try) 2>&5
                   7251:   ac_status=$?
                   7252:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7253:   (exit $ac_status); }; } &&
                   7254:         { ac_try='test -s conftest.$ac_objext'
                   7255:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7256:   (eval $ac_try) 2>&5
                   7257:   ac_status=$?
                   7258:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7259:   (exit $ac_status); }; }; then
                   7260:   ac_hi=$ac_mid; break
                   7261: else
                   7262:   echo "$as_me: failed program was:" >&5
                   7263: sed 's/^/| /' conftest.$ac_ext >&5
                   7264: 
                   7265: ac_lo=`expr $ac_mid + 1`
                   7266:                    if test $ac_lo -le $ac_mid; then
                   7267:                      ac_lo= ac_hi=
                   7268:                      break
                   7269:                    fi
                   7270:                    ac_mid=`expr 2 '*' $ac_mid + 1`
                   7271: fi
                   7272: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7273:   done
                   7274: else
                   7275:   echo "$as_me: failed program was:" >&5
                   7276: sed 's/^/| /' conftest.$ac_ext >&5
                   7277: 
                   7278: cat >conftest.$ac_ext <<_ACEOF
                   7279: /* confdefs.h.  */
                   7280: _ACEOF
                   7281: cat confdefs.h >>conftest.$ac_ext
                   7282: cat >>conftest.$ac_ext <<_ACEOF
                   7283: /* end confdefs.h.  */
                   7284: $ac_includes_default
                   7285: int
                   7286: main ()
                   7287: {
                   7288: static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
                   7289: test_array [0] = 0
                   7290: 
                   7291:   ;
                   7292:   return 0;
                   7293: }
                   7294: _ACEOF
                   7295: rm -f conftest.$ac_objext
                   7296: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7297:   (eval $ac_compile) 2>conftest.er1
                   7298:   ac_status=$?
                   7299:   grep -v '^ *+' conftest.er1 >conftest.err
                   7300:   rm -f conftest.er1
                   7301:   cat conftest.err >&5
                   7302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7303:   (exit $ac_status); } &&
                   7304:         { ac_try='test -z "$ac_c_werror_flag"
                   7305:                         || test ! -s conftest.err'
                   7306:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7307:   (eval $ac_try) 2>&5
                   7308:   ac_status=$?
                   7309:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7310:   (exit $ac_status); }; } &&
                   7311:         { ac_try='test -s conftest.$ac_objext'
                   7312:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7313:   (eval $ac_try) 2>&5
                   7314:   ac_status=$?
                   7315:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7316:   (exit $ac_status); }; }; then
                   7317:   ac_hi=-1 ac_mid=-1
                   7318:   while :; do
                   7319:     cat >conftest.$ac_ext <<_ACEOF
                   7320: /* confdefs.h.  */
                   7321: _ACEOF
                   7322: cat confdefs.h >>conftest.$ac_ext
                   7323: cat >>conftest.$ac_ext <<_ACEOF
                   7324: /* end confdefs.h.  */
                   7325: $ac_includes_default
                   7326: int
                   7327: main ()
                   7328: {
                   7329: static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
                   7330: test_array [0] = 0
                   7331: 
                   7332:   ;
                   7333:   return 0;
                   7334: }
                   7335: _ACEOF
                   7336: rm -f conftest.$ac_objext
                   7337: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7338:   (eval $ac_compile) 2>conftest.er1
                   7339:   ac_status=$?
                   7340:   grep -v '^ *+' conftest.er1 >conftest.err
                   7341:   rm -f conftest.er1
                   7342:   cat conftest.err >&5
                   7343:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7344:   (exit $ac_status); } &&
                   7345:         { ac_try='test -z "$ac_c_werror_flag"
                   7346:                         || test ! -s conftest.err'
                   7347:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7348:   (eval $ac_try) 2>&5
                   7349:   ac_status=$?
                   7350:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7351:   (exit $ac_status); }; } &&
                   7352:         { ac_try='test -s conftest.$ac_objext'
                   7353:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7354:   (eval $ac_try) 2>&5
                   7355:   ac_status=$?
                   7356:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7357:   (exit $ac_status); }; }; then
                   7358:   ac_lo=$ac_mid; break
                   7359: else
                   7360:   echo "$as_me: failed program was:" >&5
                   7361: sed 's/^/| /' conftest.$ac_ext >&5
                   7362: 
                   7363: ac_hi=`expr '(' $ac_mid ')' - 1`
                   7364:                       if test $ac_mid -le $ac_hi; then
                   7365:                         ac_lo= ac_hi=
                   7366:                         break
                   7367:                       fi
                   7368:                       ac_mid=`expr 2 '*' $ac_mid`
                   7369: fi
                   7370: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7371:   done
                   7372: else
                   7373:   echo "$as_me: failed program was:" >&5
                   7374: sed 's/^/| /' conftest.$ac_ext >&5
                   7375: 
                   7376: ac_lo= ac_hi=
                   7377: fi
                   7378: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7379: fi
                   7380: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7381: # Binary search between lo and hi bounds.
                   7382: while test "x$ac_lo" != "x$ac_hi"; do
                   7383:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7384:   cat >conftest.$ac_ext <<_ACEOF
                   7385: /* confdefs.h.  */
                   7386: _ACEOF
                   7387: cat confdefs.h >>conftest.$ac_ext
                   7388: cat >>conftest.$ac_ext <<_ACEOF
                   7389: /* end confdefs.h.  */
                   7390: $ac_includes_default
                   7391: int
                   7392: main ()
                   7393: {
                   7394: static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
                   7395: test_array [0] = 0
                   7396: 
                   7397:   ;
                   7398:   return 0;
                   7399: }
                   7400: _ACEOF
                   7401: rm -f conftest.$ac_objext
                   7402: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7403:   (eval $ac_compile) 2>conftest.er1
                   7404:   ac_status=$?
                   7405:   grep -v '^ *+' conftest.er1 >conftest.err
                   7406:   rm -f conftest.er1
                   7407:   cat conftest.err >&5
                   7408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7409:   (exit $ac_status); } &&
                   7410:         { ac_try='test -z "$ac_c_werror_flag"
                   7411:                         || test ! -s conftest.err'
                   7412:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7413:   (eval $ac_try) 2>&5
                   7414:   ac_status=$?
                   7415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7416:   (exit $ac_status); }; } &&
                   7417:         { ac_try='test -s conftest.$ac_objext'
                   7418:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7419:   (eval $ac_try) 2>&5
                   7420:   ac_status=$?
                   7421:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7422:   (exit $ac_status); }; }; then
                   7423:   ac_hi=$ac_mid
                   7424: else
                   7425:   echo "$as_me: failed program was:" >&5
                   7426: sed 's/^/| /' conftest.$ac_ext >&5
                   7427: 
                   7428: ac_lo=`expr '(' $ac_mid ')' + 1`
                   7429: fi
                   7430: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7431: done
                   7432: case $ac_lo in
                   7433: ?*) ac_cv_sizeof_char=$ac_lo;;
                   7434: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
                   7435: See \`config.log' for more details." >&5
                   7436: echo "$as_me: error: cannot compute sizeof (char), 77
                   7437: See \`config.log' for more details." >&2;}
                   7438:    { (exit 1); exit 1; }; } ;;
                   7439: esac
                   7440: else
                   7441:   if test "$cross_compiling" = yes; then
                   7442:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   7443: See \`config.log' for more details." >&5
                   7444: echo "$as_me: error: cannot run test program while cross compiling
                   7445: See \`config.log' for more details." >&2;}
                   7446:    { (exit 1); exit 1; }; }
                   7447: else
                   7448:   cat >conftest.$ac_ext <<_ACEOF
                   7449: /* confdefs.h.  */
                   7450: _ACEOF
                   7451: cat confdefs.h >>conftest.$ac_ext
                   7452: cat >>conftest.$ac_ext <<_ACEOF
                   7453: /* end confdefs.h.  */
                   7454: $ac_includes_default
                   7455: long longval () { return (long) (sizeof (char)); }
                   7456: unsigned long ulongval () { return (long) (sizeof (char)); }
1.1.1.6   root     7457: #include <stdio.h>
1.1.1.19  root     7458: #include <stdlib.h>
                   7459: int
                   7460: main ()
1.1.1.6   root     7461: {
1.1.1.19  root     7462: 
                   7463:   FILE *f = fopen ("conftest.val", "w");
                   7464:   if (! f)
                   7465:     exit (1);
                   7466:   if (((long) (sizeof (char))) < 0)
                   7467:     {
                   7468:       long i = longval ();
                   7469:       if (i != ((long) (sizeof (char))))
                   7470:        exit (1);
                   7471:       fprintf (f, "%ld\n", i);
                   7472:     }
                   7473:   else
                   7474:     {
                   7475:       unsigned long i = ulongval ();
                   7476:       if (i != ((long) (sizeof (char))))
                   7477:        exit (1);
                   7478:       fprintf (f, "%lu\n", i);
                   7479:     }
                   7480:   exit (ferror (f) || fclose (f) != 0);
                   7481: 
                   7482:   ;
                   7483:   return 0;
1.1.1.6   root     7484: }
1.1.1.19  root     7485: _ACEOF
                   7486: rm -f conftest$ac_exeext
                   7487: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7488:   (eval $ac_link) 2>&5
                   7489:   ac_status=$?
                   7490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7491:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7492:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7493:   (eval $ac_try) 2>&5
                   7494:   ac_status=$?
                   7495:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7496:   (exit $ac_status); }; }; then
                   7497:   ac_cv_sizeof_char=`cat conftest.val`
                   7498: else
                   7499:   echo "$as_me: program exited with status $ac_status" >&5
                   7500: echo "$as_me: failed program was:" >&5
                   7501: sed 's/^/| /' conftest.$ac_ext >&5
                   7502: 
                   7503: ( exit $ac_status )
                   7504: { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
                   7505: See \`config.log' for more details." >&5
                   7506: echo "$as_me: error: cannot compute sizeof (char), 77
                   7507: See \`config.log' for more details." >&2;}
                   7508:    { (exit 1); exit 1; }; }
                   7509: fi
                   7510: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7511: fi
                   7512: fi
                   7513: rm -f conftest.val
1.1.1.6   root     7514: else
                   7515:   ac_cv_sizeof_char=0
                   7516: fi
                   7517: fi
1.1.1.19  root     7518: echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
                   7519: echo "${ECHO_T}$ac_cv_sizeof_char" >&6
                   7520: cat >>confdefs.h <<_ACEOF
                   7521: #define SIZEOF_CHAR $ac_cv_sizeof_char
                   7522: _ACEOF
                   7523: 
                   7524: 
                   7525: echo "$as_me:$LINENO: checking for short" >&5
                   7526: echo $ECHO_N "checking for short... $ECHO_C" >&6
                   7527: if test "${ac_cv_type_short+set}" = set; then
                   7528:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7529: else
                   7530:   cat >conftest.$ac_ext <<_ACEOF
                   7531: /* confdefs.h.  */
                   7532: _ACEOF
                   7533: cat confdefs.h >>conftest.$ac_ext
                   7534: cat >>conftest.$ac_ext <<_ACEOF
                   7535: /* end confdefs.h.  */
                   7536: $ac_includes_default
                   7537: int
                   7538: main ()
                   7539: {
                   7540: if ((short *) 0)
                   7541:   return 0;
                   7542: if (sizeof (short))
                   7543:   return 0;
                   7544:   ;
                   7545:   return 0;
                   7546: }
                   7547: _ACEOF
                   7548: rm -f conftest.$ac_objext
                   7549: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7550:   (eval $ac_compile) 2>conftest.er1
                   7551:   ac_status=$?
                   7552:   grep -v '^ *+' conftest.er1 >conftest.err
                   7553:   rm -f conftest.er1
                   7554:   cat conftest.err >&5
                   7555:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7556:   (exit $ac_status); } &&
                   7557:         { ac_try='test -z "$ac_c_werror_flag"
                   7558:                         || test ! -s conftest.err'
                   7559:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7560:   (eval $ac_try) 2>&5
                   7561:   ac_status=$?
                   7562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7563:   (exit $ac_status); }; } &&
                   7564:         { ac_try='test -s conftest.$ac_objext'
                   7565:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7566:   (eval $ac_try) 2>&5
                   7567:   ac_status=$?
                   7568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7569:   (exit $ac_status); }; }; then
                   7570:   ac_cv_type_short=yes
                   7571: else
                   7572:   echo "$as_me: failed program was:" >&5
                   7573: sed 's/^/| /' conftest.$ac_ext >&5
                   7574: 
                   7575: ac_cv_type_short=no
                   7576: fi
                   7577: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7578: fi
                   7579: echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
                   7580: echo "${ECHO_T}$ac_cv_type_short" >&6
                   7581: 
                   7582: echo "$as_me:$LINENO: checking size of short" >&5
                   7583: echo $ECHO_N "checking size of short... $ECHO_C" >&6
                   7584: if test "${ac_cv_sizeof_short+set}" = set; then
                   7585:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7586: else
                   7587:   if test "$ac_cv_type_short" = yes; then
                   7588:   # The cast to unsigned long works around a bug in the HP C Compiler
                   7589:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   7590:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   7591:   # This bug is HP SR number 8606223364.
                   7592:   if test "$cross_compiling" = yes; then
                   7593:   # Depending upon the size, compute the lo and hi bounds.
                   7594: cat >conftest.$ac_ext <<_ACEOF
                   7595: /* confdefs.h.  */
                   7596: _ACEOF
                   7597: cat confdefs.h >>conftest.$ac_ext
                   7598: cat >>conftest.$ac_ext <<_ACEOF
                   7599: /* end confdefs.h.  */
                   7600: $ac_includes_default
                   7601: int
                   7602: main ()
                   7603: {
                   7604: static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
                   7605: test_array [0] = 0
                   7606: 
                   7607:   ;
                   7608:   return 0;
                   7609: }
                   7610: _ACEOF
                   7611: rm -f conftest.$ac_objext
                   7612: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7613:   (eval $ac_compile) 2>conftest.er1
                   7614:   ac_status=$?
                   7615:   grep -v '^ *+' conftest.er1 >conftest.err
                   7616:   rm -f conftest.er1
                   7617:   cat conftest.err >&5
                   7618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7619:   (exit $ac_status); } &&
                   7620:         { ac_try='test -z "$ac_c_werror_flag"
                   7621:                         || test ! -s conftest.err'
                   7622:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7623:   (eval $ac_try) 2>&5
                   7624:   ac_status=$?
                   7625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7626:   (exit $ac_status); }; } &&
                   7627:         { ac_try='test -s conftest.$ac_objext'
                   7628:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7629:   (eval $ac_try) 2>&5
                   7630:   ac_status=$?
                   7631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7632:   (exit $ac_status); }; }; then
                   7633:   ac_lo=0 ac_mid=0
                   7634:   while :; do
                   7635:     cat >conftest.$ac_ext <<_ACEOF
                   7636: /* confdefs.h.  */
                   7637: _ACEOF
                   7638: cat confdefs.h >>conftest.$ac_ext
                   7639: cat >>conftest.$ac_ext <<_ACEOF
                   7640: /* end confdefs.h.  */
                   7641: $ac_includes_default
                   7642: int
                   7643: main ()
                   7644: {
                   7645: static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
                   7646: test_array [0] = 0
1.1.1.6   root     7647: 
1.1.1.19  root     7648:   ;
                   7649:   return 0;
                   7650: }
                   7651: _ACEOF
                   7652: rm -f conftest.$ac_objext
                   7653: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7654:   (eval $ac_compile) 2>conftest.er1
                   7655:   ac_status=$?
                   7656:   grep -v '^ *+' conftest.er1 >conftest.err
                   7657:   rm -f conftest.er1
                   7658:   cat conftest.err >&5
                   7659:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7660:   (exit $ac_status); } &&
                   7661:         { ac_try='test -z "$ac_c_werror_flag"
                   7662:                         || test ! -s conftest.err'
                   7663:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7664:   (eval $ac_try) 2>&5
                   7665:   ac_status=$?
                   7666:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7667:   (exit $ac_status); }; } &&
                   7668:         { ac_try='test -s conftest.$ac_objext'
                   7669:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7670:   (eval $ac_try) 2>&5
                   7671:   ac_status=$?
                   7672:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7673:   (exit $ac_status); }; }; then
                   7674:   ac_hi=$ac_mid; break
                   7675: else
                   7676:   echo "$as_me: failed program was:" >&5
                   7677: sed 's/^/| /' conftest.$ac_ext >&5
                   7678: 
                   7679: ac_lo=`expr $ac_mid + 1`
                   7680:                    if test $ac_lo -le $ac_mid; then
                   7681:                      ac_lo= ac_hi=
                   7682:                      break
                   7683:                    fi
                   7684:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.6   root     7685: fi
1.1.1.19  root     7686: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7687:   done
                   7688: else
                   7689:   echo "$as_me: failed program was:" >&5
                   7690: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.6   root     7691: 
1.1.1.19  root     7692: cat >conftest.$ac_ext <<_ACEOF
                   7693: /* confdefs.h.  */
                   7694: _ACEOF
                   7695: cat confdefs.h >>conftest.$ac_ext
                   7696: cat >>conftest.$ac_ext <<_ACEOF
                   7697: /* end confdefs.h.  */
                   7698: $ac_includes_default
                   7699: int
                   7700: main ()
                   7701: {
                   7702: static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
                   7703: test_array [0] = 0
1.1.1.6   root     7704: 
1.1.1.19  root     7705:   ;
                   7706:   return 0;
                   7707: }
                   7708: _ACEOF
                   7709: rm -f conftest.$ac_objext
                   7710: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7711:   (eval $ac_compile) 2>conftest.er1
                   7712:   ac_status=$?
                   7713:   grep -v '^ *+' conftest.er1 >conftest.err
                   7714:   rm -f conftest.er1
                   7715:   cat conftest.err >&5
                   7716:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7717:   (exit $ac_status); } &&
                   7718:         { ac_try='test -z "$ac_c_werror_flag"
                   7719:                         || test ! -s conftest.err'
                   7720:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7721:   (eval $ac_try) 2>&5
                   7722:   ac_status=$?
                   7723:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7724:   (exit $ac_status); }; } &&
                   7725:         { ac_try='test -s conftest.$ac_objext'
                   7726:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7727:   (eval $ac_try) 2>&5
                   7728:   ac_status=$?
                   7729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7730:   (exit $ac_status); }; }; then
                   7731:   ac_hi=-1 ac_mid=-1
                   7732:   while :; do
                   7733:     cat >conftest.$ac_ext <<_ACEOF
                   7734: /* confdefs.h.  */
                   7735: _ACEOF
                   7736: cat confdefs.h >>conftest.$ac_ext
                   7737: cat >>conftest.$ac_ext <<_ACEOF
                   7738: /* end confdefs.h.  */
                   7739: $ac_includes_default
                   7740: int
                   7741: main ()
                   7742: {
                   7743: static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
                   7744: test_array [0] = 0
                   7745: 
                   7746:   ;
                   7747:   return 0;
                   7748: }
                   7749: _ACEOF
                   7750: rm -f conftest.$ac_objext
                   7751: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7752:   (eval $ac_compile) 2>conftest.er1
                   7753:   ac_status=$?
                   7754:   grep -v '^ *+' conftest.er1 >conftest.err
                   7755:   rm -f conftest.er1
                   7756:   cat conftest.err >&5
                   7757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7758:   (exit $ac_status); } &&
                   7759:         { ac_try='test -z "$ac_c_werror_flag"
                   7760:                         || test ! -s conftest.err'
                   7761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7762:   (eval $ac_try) 2>&5
                   7763:   ac_status=$?
                   7764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7765:   (exit $ac_status); }; } &&
                   7766:         { ac_try='test -s conftest.$ac_objext'
                   7767:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7768:   (eval $ac_try) 2>&5
                   7769:   ac_status=$?
                   7770:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7771:   (exit $ac_status); }; }; then
                   7772:   ac_lo=$ac_mid; break
                   7773: else
                   7774:   echo "$as_me: failed program was:" >&5
                   7775: sed 's/^/| /' conftest.$ac_ext >&5
                   7776: 
                   7777: ac_hi=`expr '(' $ac_mid ')' - 1`
                   7778:                       if test $ac_mid -le $ac_hi; then
                   7779:                         ac_lo= ac_hi=
                   7780:                         break
                   7781:                       fi
                   7782:                       ac_mid=`expr 2 '*' $ac_mid`
                   7783: fi
                   7784: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7785:   done
1.1.1.6   root     7786: else
1.1.1.19  root     7787:   echo "$as_me: failed program was:" >&5
                   7788: sed 's/^/| /' conftest.$ac_ext >&5
                   7789: 
                   7790: ac_lo= ac_hi=
                   7791: fi
                   7792: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7793: fi
                   7794: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7795: # Binary search between lo and hi bounds.
                   7796: while test "x$ac_lo" != "x$ac_hi"; do
                   7797:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7798:   cat >conftest.$ac_ext <<_ACEOF
                   7799: /* confdefs.h.  */
                   7800: _ACEOF
                   7801: cat confdefs.h >>conftest.$ac_ext
                   7802: cat >>conftest.$ac_ext <<_ACEOF
                   7803: /* end confdefs.h.  */
                   7804: $ac_includes_default
                   7805: int
                   7806: main ()
                   7807: {
                   7808: static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
                   7809: test_array [0] = 0
                   7810: 
                   7811:   ;
                   7812:   return 0;
                   7813: }
                   7814: _ACEOF
                   7815: rm -f conftest.$ac_objext
                   7816: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7817:   (eval $ac_compile) 2>conftest.er1
                   7818:   ac_status=$?
                   7819:   grep -v '^ *+' conftest.er1 >conftest.err
                   7820:   rm -f conftest.er1
                   7821:   cat conftest.err >&5
                   7822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7823:   (exit $ac_status); } &&
                   7824:         { ac_try='test -z "$ac_c_werror_flag"
                   7825:                         || test ! -s conftest.err'
                   7826:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7827:   (eval $ac_try) 2>&5
                   7828:   ac_status=$?
                   7829:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7830:   (exit $ac_status); }; } &&
                   7831:         { ac_try='test -s conftest.$ac_objext'
                   7832:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7833:   (eval $ac_try) 2>&5
                   7834:   ac_status=$?
                   7835:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7836:   (exit $ac_status); }; }; then
                   7837:   ac_hi=$ac_mid
1.1.1.6   root     7838: else
1.1.1.19  root     7839:   echo "$as_me: failed program was:" >&5
                   7840: sed 's/^/| /' conftest.$ac_ext >&5
                   7841: 
                   7842: ac_lo=`expr '(' $ac_mid ')' + 1`
                   7843: fi
                   7844: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7845: done
                   7846: case $ac_lo in
                   7847: ?*) ac_cv_sizeof_short=$ac_lo;;
                   7848: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
                   7849: See \`config.log' for more details." >&5
                   7850: echo "$as_me: error: cannot compute sizeof (short), 77
                   7851: See \`config.log' for more details." >&2;}
                   7852:    { (exit 1); exit 1; }; } ;;
                   7853: esac
                   7854: else
                   7855:   if test "$cross_compiling" = yes; then
                   7856:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   7857: See \`config.log' for more details." >&5
                   7858: echo "$as_me: error: cannot run test program while cross compiling
                   7859: See \`config.log' for more details." >&2;}
                   7860:    { (exit 1); exit 1; }; }
                   7861: else
                   7862:   cat >conftest.$ac_ext <<_ACEOF
                   7863: /* confdefs.h.  */
                   7864: _ACEOF
                   7865: cat confdefs.h >>conftest.$ac_ext
                   7866: cat >>conftest.$ac_ext <<_ACEOF
                   7867: /* end confdefs.h.  */
                   7868: $ac_includes_default
                   7869: long longval () { return (long) (sizeof (short)); }
                   7870: unsigned long ulongval () { return (long) (sizeof (short)); }
1.1.1.6   root     7871: #include <stdio.h>
1.1.1.19  root     7872: #include <stdlib.h>
                   7873: int
                   7874: main ()
1.1.1.6   root     7875: {
1.1.1.19  root     7876: 
                   7877:   FILE *f = fopen ("conftest.val", "w");
                   7878:   if (! f)
                   7879:     exit (1);
                   7880:   if (((long) (sizeof (short))) < 0)
                   7881:     {
                   7882:       long i = longval ();
                   7883:       if (i != ((long) (sizeof (short))))
                   7884:        exit (1);
                   7885:       fprintf (f, "%ld\n", i);
                   7886:     }
                   7887:   else
                   7888:     {
                   7889:       unsigned long i = ulongval ();
                   7890:       if (i != ((long) (sizeof (short))))
                   7891:        exit (1);
                   7892:       fprintf (f, "%lu\n", i);
                   7893:     }
                   7894:   exit (ferror (f) || fclose (f) != 0);
                   7895: 
                   7896:   ;
                   7897:   return 0;
1.1.1.6   root     7898: }
1.1.1.19  root     7899: _ACEOF
                   7900: rm -f conftest$ac_exeext
                   7901: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7902:   (eval $ac_link) 2>&5
                   7903:   ac_status=$?
                   7904:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7905:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7906:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7907:   (eval $ac_try) 2>&5
                   7908:   ac_status=$?
                   7909:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7910:   (exit $ac_status); }; }; then
                   7911:   ac_cv_sizeof_short=`cat conftest.val`
                   7912: else
                   7913:   echo "$as_me: program exited with status $ac_status" >&5
                   7914: echo "$as_me: failed program was:" >&5
                   7915: sed 's/^/| /' conftest.$ac_ext >&5
                   7916: 
                   7917: ( exit $ac_status )
                   7918: { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
                   7919: See \`config.log' for more details." >&5
                   7920: echo "$as_me: error: cannot compute sizeof (short), 77
                   7921: See \`config.log' for more details." >&2;}
                   7922:    { (exit 1); exit 1; }; }
                   7923: fi
                   7924: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7925: fi
                   7926: fi
                   7927: rm -f conftest.val
1.1.1.6   root     7928: else
                   7929:   ac_cv_sizeof_short=0
1.1       root     7930: fi
                   7931: fi
1.1.1.19  root     7932: echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
                   7933: echo "${ECHO_T}$ac_cv_sizeof_short" >&6
                   7934: cat >>confdefs.h <<_ACEOF
                   7935: #define SIZEOF_SHORT $ac_cv_sizeof_short
                   7936: _ACEOF
1.1.1.4   root     7937: 
1.1.1.19  root     7938: 
                   7939: echo "$as_me:$LINENO: checking for int" >&5
                   7940: echo $ECHO_N "checking for int... $ECHO_C" >&6
                   7941: if test "${ac_cv_type_int+set}" = set; then
                   7942:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7943: else
                   7944:   cat >conftest.$ac_ext <<_ACEOF
                   7945: /* confdefs.h.  */
                   7946: _ACEOF
                   7947: cat confdefs.h >>conftest.$ac_ext
                   7948: cat >>conftest.$ac_ext <<_ACEOF
                   7949: /* end confdefs.h.  */
                   7950: $ac_includes_default
                   7951: int
                   7952: main ()
                   7953: {
                   7954: if ((int *) 0)
                   7955:   return 0;
                   7956: if (sizeof (int))
                   7957:   return 0;
                   7958:   ;
                   7959:   return 0;
                   7960: }
                   7961: _ACEOF
                   7962: rm -f conftest.$ac_objext
                   7963: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7964:   (eval $ac_compile) 2>conftest.er1
                   7965:   ac_status=$?
                   7966:   grep -v '^ *+' conftest.er1 >conftest.err
                   7967:   rm -f conftest.er1
                   7968:   cat conftest.err >&5
                   7969:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7970:   (exit $ac_status); } &&
                   7971:         { ac_try='test -z "$ac_c_werror_flag"
                   7972:                         || test ! -s conftest.err'
                   7973:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7974:   (eval $ac_try) 2>&5
                   7975:   ac_status=$?
                   7976:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7977:   (exit $ac_status); }; } &&
                   7978:         { ac_try='test -s conftest.$ac_objext'
                   7979:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7980:   (eval $ac_try) 2>&5
                   7981:   ac_status=$?
                   7982:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7983:   (exit $ac_status); }; }; then
                   7984:   ac_cv_type_int=yes
                   7985: else
                   7986:   echo "$as_me: failed program was:" >&5
                   7987: sed 's/^/| /' conftest.$ac_ext >&5
                   7988: 
                   7989: ac_cv_type_int=no
                   7990: fi
                   7991: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7992: fi
                   7993: echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
                   7994: echo "${ECHO_T}$ac_cv_type_int" >&6
                   7995: 
                   7996: echo "$as_me:$LINENO: checking size of int" >&5
                   7997: echo $ECHO_N "checking size of int... $ECHO_C" >&6
                   7998: if test "${ac_cv_sizeof_int+set}" = set; then
                   7999:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8000: else
                   8001:   if test "$ac_cv_type_int" = yes; then
                   8002:   # The cast to unsigned long works around a bug in the HP C Compiler
                   8003:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8004:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8005:   # This bug is HP SR number 8606223364.
                   8006:   if test "$cross_compiling" = yes; then
                   8007:   # Depending upon the size, compute the lo and hi bounds.
                   8008: cat >conftest.$ac_ext <<_ACEOF
                   8009: /* confdefs.h.  */
                   8010: _ACEOF
                   8011: cat confdefs.h >>conftest.$ac_ext
                   8012: cat >>conftest.$ac_ext <<_ACEOF
                   8013: /* end confdefs.h.  */
                   8014: $ac_includes_default
                   8015: int
                   8016: main ()
                   8017: {
                   8018: static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
                   8019: test_array [0] = 0
                   8020: 
                   8021:   ;
                   8022:   return 0;
                   8023: }
                   8024: _ACEOF
                   8025: rm -f conftest.$ac_objext
                   8026: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8027:   (eval $ac_compile) 2>conftest.er1
                   8028:   ac_status=$?
                   8029:   grep -v '^ *+' conftest.er1 >conftest.err
                   8030:   rm -f conftest.er1
                   8031:   cat conftest.err >&5
                   8032:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8033:   (exit $ac_status); } &&
                   8034:         { ac_try='test -z "$ac_c_werror_flag"
                   8035:                         || test ! -s conftest.err'
                   8036:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8037:   (eval $ac_try) 2>&5
                   8038:   ac_status=$?
                   8039:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8040:   (exit $ac_status); }; } &&
                   8041:         { ac_try='test -s conftest.$ac_objext'
                   8042:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8043:   (eval $ac_try) 2>&5
                   8044:   ac_status=$?
                   8045:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8046:   (exit $ac_status); }; }; then
                   8047:   ac_lo=0 ac_mid=0
                   8048:   while :; do
                   8049:     cat >conftest.$ac_ext <<_ACEOF
                   8050: /* confdefs.h.  */
                   8051: _ACEOF
                   8052: cat confdefs.h >>conftest.$ac_ext
                   8053: cat >>conftest.$ac_ext <<_ACEOF
                   8054: /* end confdefs.h.  */
                   8055: $ac_includes_default
                   8056: int
                   8057: main ()
                   8058: {
                   8059: static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
                   8060: test_array [0] = 0
                   8061: 
                   8062:   ;
                   8063:   return 0;
                   8064: }
                   8065: _ACEOF
                   8066: rm -f conftest.$ac_objext
                   8067: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8068:   (eval $ac_compile) 2>conftest.er1
                   8069:   ac_status=$?
                   8070:   grep -v '^ *+' conftest.er1 >conftest.err
                   8071:   rm -f conftest.er1
                   8072:   cat conftest.err >&5
                   8073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8074:   (exit $ac_status); } &&
                   8075:         { ac_try='test -z "$ac_c_werror_flag"
                   8076:                         || test ! -s conftest.err'
                   8077:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8078:   (eval $ac_try) 2>&5
                   8079:   ac_status=$?
                   8080:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8081:   (exit $ac_status); }; } &&
                   8082:         { ac_try='test -s conftest.$ac_objext'
                   8083:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8084:   (eval $ac_try) 2>&5
                   8085:   ac_status=$?
                   8086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8087:   (exit $ac_status); }; }; then
                   8088:   ac_hi=$ac_mid; break
                   8089: else
                   8090:   echo "$as_me: failed program was:" >&5
                   8091: sed 's/^/| /' conftest.$ac_ext >&5
                   8092: 
                   8093: ac_lo=`expr $ac_mid + 1`
                   8094:                    if test $ac_lo -le $ac_mid; then
                   8095:                      ac_lo= ac_hi=
                   8096:                      break
                   8097:                    fi
                   8098:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8099: fi
1.1.1.19  root     8100: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8101:   done
                   8102: else
                   8103:   echo "$as_me: failed program was:" >&5
                   8104: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8105: 
1.1.1.19  root     8106: cat >conftest.$ac_ext <<_ACEOF
                   8107: /* confdefs.h.  */
                   8108: _ACEOF
                   8109: cat confdefs.h >>conftest.$ac_ext
                   8110: cat >>conftest.$ac_ext <<_ACEOF
                   8111: /* end confdefs.h.  */
                   8112: $ac_includes_default
                   8113: int
                   8114: main ()
                   8115: {
                   8116: static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
                   8117: test_array [0] = 0
1.1       root     8118: 
1.1.1.19  root     8119:   ;
                   8120:   return 0;
                   8121: }
                   8122: _ACEOF
                   8123: rm -f conftest.$ac_objext
                   8124: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8125:   (eval $ac_compile) 2>conftest.er1
                   8126:   ac_status=$?
                   8127:   grep -v '^ *+' conftest.er1 >conftest.err
                   8128:   rm -f conftest.er1
                   8129:   cat conftest.err >&5
                   8130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8131:   (exit $ac_status); } &&
                   8132:         { ac_try='test -z "$ac_c_werror_flag"
                   8133:                         || test ! -s conftest.err'
                   8134:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8135:   (eval $ac_try) 2>&5
                   8136:   ac_status=$?
                   8137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8138:   (exit $ac_status); }; } &&
                   8139:         { ac_try='test -s conftest.$ac_objext'
                   8140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8141:   (eval $ac_try) 2>&5
                   8142:   ac_status=$?
                   8143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8144:   (exit $ac_status); }; }; then
                   8145:   ac_hi=-1 ac_mid=-1
                   8146:   while :; do
                   8147:     cat >conftest.$ac_ext <<_ACEOF
                   8148: /* confdefs.h.  */
                   8149: _ACEOF
                   8150: cat confdefs.h >>conftest.$ac_ext
                   8151: cat >>conftest.$ac_ext <<_ACEOF
                   8152: /* end confdefs.h.  */
                   8153: $ac_includes_default
                   8154: int
                   8155: main ()
                   8156: {
                   8157: static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
                   8158: test_array [0] = 0
                   8159: 
                   8160:   ;
                   8161:   return 0;
                   8162: }
                   8163: _ACEOF
                   8164: rm -f conftest.$ac_objext
                   8165: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8166:   (eval $ac_compile) 2>conftest.er1
                   8167:   ac_status=$?
                   8168:   grep -v '^ *+' conftest.er1 >conftest.err
                   8169:   rm -f conftest.er1
                   8170:   cat conftest.err >&5
                   8171:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8172:   (exit $ac_status); } &&
                   8173:         { ac_try='test -z "$ac_c_werror_flag"
                   8174:                         || test ! -s conftest.err'
                   8175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8176:   (eval $ac_try) 2>&5
                   8177:   ac_status=$?
                   8178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8179:   (exit $ac_status); }; } &&
                   8180:         { ac_try='test -s conftest.$ac_objext'
                   8181:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8182:   (eval $ac_try) 2>&5
                   8183:   ac_status=$?
                   8184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8185:   (exit $ac_status); }; }; then
                   8186:   ac_lo=$ac_mid; break
                   8187: else
                   8188:   echo "$as_me: failed program was:" >&5
                   8189: sed 's/^/| /' conftest.$ac_ext >&5
                   8190: 
                   8191: ac_hi=`expr '(' $ac_mid ')' - 1`
                   8192:                       if test $ac_mid -le $ac_hi; then
                   8193:                         ac_lo= ac_hi=
                   8194:                         break
                   8195:                       fi
                   8196:                       ac_mid=`expr 2 '*' $ac_mid`
                   8197: fi
                   8198: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8199:   done
1.1       root     8200: else
1.1.1.19  root     8201:   echo "$as_me: failed program was:" >&5
                   8202: sed 's/^/| /' conftest.$ac_ext >&5
                   8203: 
                   8204: ac_lo= ac_hi=
                   8205: fi
                   8206: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8207: fi
                   8208: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8209: # Binary search between lo and hi bounds.
                   8210: while test "x$ac_lo" != "x$ac_hi"; do
                   8211:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   8212:   cat >conftest.$ac_ext <<_ACEOF
                   8213: /* confdefs.h.  */
                   8214: _ACEOF
                   8215: cat confdefs.h >>conftest.$ac_ext
                   8216: cat >>conftest.$ac_ext <<_ACEOF
                   8217: /* end confdefs.h.  */
                   8218: $ac_includes_default
                   8219: int
                   8220: main ()
                   8221: {
                   8222: static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
                   8223: test_array [0] = 0
                   8224: 
                   8225:   ;
                   8226:   return 0;
                   8227: }
                   8228: _ACEOF
                   8229: rm -f conftest.$ac_objext
                   8230: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8231:   (eval $ac_compile) 2>conftest.er1
                   8232:   ac_status=$?
                   8233:   grep -v '^ *+' conftest.er1 >conftest.err
                   8234:   rm -f conftest.er1
                   8235:   cat conftest.err >&5
                   8236:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8237:   (exit $ac_status); } &&
                   8238:         { ac_try='test -z "$ac_c_werror_flag"
                   8239:                         || test ! -s conftest.err'
                   8240:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8241:   (eval $ac_try) 2>&5
                   8242:   ac_status=$?
                   8243:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8244:   (exit $ac_status); }; } &&
                   8245:         { ac_try='test -s conftest.$ac_objext'
                   8246:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8247:   (eval $ac_try) 2>&5
                   8248:   ac_status=$?
                   8249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8250:   (exit $ac_status); }; }; then
                   8251:   ac_hi=$ac_mid
1.1       root     8252: else
1.1.1.19  root     8253:   echo "$as_me: failed program was:" >&5
                   8254: sed 's/^/| /' conftest.$ac_ext >&5
                   8255: 
                   8256: ac_lo=`expr '(' $ac_mid ')' + 1`
                   8257: fi
                   8258: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8259: done
                   8260: case $ac_lo in
                   8261: ?*) ac_cv_sizeof_int=$ac_lo;;
                   8262: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
                   8263: See \`config.log' for more details." >&5
                   8264: echo "$as_me: error: cannot compute sizeof (int), 77
                   8265: See \`config.log' for more details." >&2;}
                   8266:    { (exit 1); exit 1; }; } ;;
                   8267: esac
                   8268: else
                   8269:   if test "$cross_compiling" = yes; then
                   8270:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   8271: See \`config.log' for more details." >&5
                   8272: echo "$as_me: error: cannot run test program while cross compiling
                   8273: See \`config.log' for more details." >&2;}
                   8274:    { (exit 1); exit 1; }; }
                   8275: else
                   8276:   cat >conftest.$ac_ext <<_ACEOF
                   8277: /* confdefs.h.  */
                   8278: _ACEOF
                   8279: cat confdefs.h >>conftest.$ac_ext
                   8280: cat >>conftest.$ac_ext <<_ACEOF
                   8281: /* end confdefs.h.  */
                   8282: $ac_includes_default
                   8283: long longval () { return (long) (sizeof (int)); }
                   8284: unsigned long ulongval () { return (long) (sizeof (int)); }
1.1       root     8285: #include <stdio.h>
1.1.1.19  root     8286: #include <stdlib.h>
                   8287: int
                   8288: main ()
1.1       root     8289: {
1.1.1.19  root     8290: 
                   8291:   FILE *f = fopen ("conftest.val", "w");
                   8292:   if (! f)
                   8293:     exit (1);
                   8294:   if (((long) (sizeof (int))) < 0)
                   8295:     {
                   8296:       long i = longval ();
                   8297:       if (i != ((long) (sizeof (int))))
                   8298:        exit (1);
                   8299:       fprintf (f, "%ld\n", i);
                   8300:     }
                   8301:   else
                   8302:     {
                   8303:       unsigned long i = ulongval ();
                   8304:       if (i != ((long) (sizeof (int))))
                   8305:        exit (1);
                   8306:       fprintf (f, "%lu\n", i);
                   8307:     }
                   8308:   exit (ferror (f) || fclose (f) != 0);
                   8309: 
                   8310:   ;
                   8311:   return 0;
1.1       root     8312: }
1.1.1.19  root     8313: _ACEOF
                   8314: rm -f conftest$ac_exeext
                   8315: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8316:   (eval $ac_link) 2>&5
                   8317:   ac_status=$?
                   8318:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8319:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   8320:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8321:   (eval $ac_try) 2>&5
                   8322:   ac_status=$?
                   8323:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8324:   (exit $ac_status); }; }; then
                   8325:   ac_cv_sizeof_int=`cat conftest.val`
                   8326: else
                   8327:   echo "$as_me: program exited with status $ac_status" >&5
                   8328: echo "$as_me: failed program was:" >&5
                   8329: sed 's/^/| /' conftest.$ac_ext >&5
                   8330: 
                   8331: ( exit $ac_status )
                   8332: { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
                   8333: See \`config.log' for more details." >&5
                   8334: echo "$as_me: error: cannot compute sizeof (int), 77
                   8335: See \`config.log' for more details." >&2;}
                   8336:    { (exit 1); exit 1; }; }
                   8337: fi
                   8338: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   8339: fi
                   8340: fi
                   8341: rm -f conftest.val
1.1       root     8342: else
                   8343:   ac_cv_sizeof_int=0
                   8344: fi
                   8345: fi
1.1.1.19  root     8346: echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
                   8347: echo "${ECHO_T}$ac_cv_sizeof_int" >&6
                   8348: cat >>confdefs.h <<_ACEOF
                   8349: #define SIZEOF_INT $ac_cv_sizeof_int
                   8350: _ACEOF
                   8351: 
                   8352: 
                   8353: echo "$as_me:$LINENO: checking for long" >&5
                   8354: echo $ECHO_N "checking for long... $ECHO_C" >&6
                   8355: if test "${ac_cv_type_long+set}" = set; then
                   8356:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8357: else
                   8358:   cat >conftest.$ac_ext <<_ACEOF
                   8359: /* confdefs.h.  */
                   8360: _ACEOF
                   8361: cat confdefs.h >>conftest.$ac_ext
                   8362: cat >>conftest.$ac_ext <<_ACEOF
                   8363: /* end confdefs.h.  */
                   8364: $ac_includes_default
                   8365: int
                   8366: main ()
                   8367: {
                   8368: if ((long *) 0)
                   8369:   return 0;
                   8370: if (sizeof (long))
                   8371:   return 0;
                   8372:   ;
                   8373:   return 0;
                   8374: }
                   8375: _ACEOF
                   8376: rm -f conftest.$ac_objext
                   8377: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8378:   (eval $ac_compile) 2>conftest.er1
                   8379:   ac_status=$?
                   8380:   grep -v '^ *+' conftest.er1 >conftest.err
                   8381:   rm -f conftest.er1
                   8382:   cat conftest.err >&5
                   8383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8384:   (exit $ac_status); } &&
                   8385:         { ac_try='test -z "$ac_c_werror_flag"
                   8386:                         || test ! -s conftest.err'
                   8387:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8388:   (eval $ac_try) 2>&5
                   8389:   ac_status=$?
                   8390:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8391:   (exit $ac_status); }; } &&
                   8392:         { ac_try='test -s conftest.$ac_objext'
                   8393:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8394:   (eval $ac_try) 2>&5
                   8395:   ac_status=$?
                   8396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8397:   (exit $ac_status); }; }; then
                   8398:   ac_cv_type_long=yes
                   8399: else
                   8400:   echo "$as_me: failed program was:" >&5
                   8401: sed 's/^/| /' conftest.$ac_ext >&5
                   8402: 
                   8403: ac_cv_type_long=no
                   8404: fi
                   8405: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8406: fi
                   8407: echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
                   8408: echo "${ECHO_T}$ac_cv_type_long" >&6
                   8409: 
                   8410: echo "$as_me:$LINENO: checking size of long" >&5
                   8411: echo $ECHO_N "checking size of long... $ECHO_C" >&6
                   8412: if test "${ac_cv_sizeof_long+set}" = set; then
                   8413:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8414: else
                   8415:   if test "$ac_cv_type_long" = yes; then
                   8416:   # The cast to unsigned long works around a bug in the HP C Compiler
                   8417:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8418:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8419:   # This bug is HP SR number 8606223364.
                   8420:   if test "$cross_compiling" = yes; then
                   8421:   # Depending upon the size, compute the lo and hi bounds.
                   8422: cat >conftest.$ac_ext <<_ACEOF
                   8423: /* confdefs.h.  */
                   8424: _ACEOF
                   8425: cat confdefs.h >>conftest.$ac_ext
                   8426: cat >>conftest.$ac_ext <<_ACEOF
                   8427: /* end confdefs.h.  */
                   8428: $ac_includes_default
                   8429: int
                   8430: main ()
                   8431: {
                   8432: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
                   8433: test_array [0] = 0
1.1.1.4   root     8434: 
1.1.1.19  root     8435:   ;
                   8436:   return 0;
                   8437: }
                   8438: _ACEOF
                   8439: rm -f conftest.$ac_objext
                   8440: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8441:   (eval $ac_compile) 2>conftest.er1
                   8442:   ac_status=$?
                   8443:   grep -v '^ *+' conftest.er1 >conftest.err
                   8444:   rm -f conftest.er1
                   8445:   cat conftest.err >&5
                   8446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8447:   (exit $ac_status); } &&
                   8448:         { ac_try='test -z "$ac_c_werror_flag"
                   8449:                         || test ! -s conftest.err'
                   8450:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8451:   (eval $ac_try) 2>&5
                   8452:   ac_status=$?
                   8453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8454:   (exit $ac_status); }; } &&
                   8455:         { ac_try='test -s conftest.$ac_objext'
                   8456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8457:   (eval $ac_try) 2>&5
                   8458:   ac_status=$?
                   8459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8460:   (exit $ac_status); }; }; then
                   8461:   ac_lo=0 ac_mid=0
                   8462:   while :; do
                   8463:     cat >conftest.$ac_ext <<_ACEOF
                   8464: /* confdefs.h.  */
                   8465: _ACEOF
                   8466: cat confdefs.h >>conftest.$ac_ext
                   8467: cat >>conftest.$ac_ext <<_ACEOF
                   8468: /* end confdefs.h.  */
                   8469: $ac_includes_default
                   8470: int
                   8471: main ()
                   8472: {
                   8473: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   8474: test_array [0] = 0
                   8475: 
                   8476:   ;
                   8477:   return 0;
                   8478: }
                   8479: _ACEOF
                   8480: rm -f conftest.$ac_objext
                   8481: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8482:   (eval $ac_compile) 2>conftest.er1
                   8483:   ac_status=$?
                   8484:   grep -v '^ *+' conftest.er1 >conftest.err
                   8485:   rm -f conftest.er1
                   8486:   cat conftest.err >&5
                   8487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8488:   (exit $ac_status); } &&
                   8489:         { ac_try='test -z "$ac_c_werror_flag"
                   8490:                         || test ! -s conftest.err'
                   8491:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8492:   (eval $ac_try) 2>&5
                   8493:   ac_status=$?
                   8494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8495:   (exit $ac_status); }; } &&
                   8496:         { ac_try='test -s conftest.$ac_objext'
                   8497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8498:   (eval $ac_try) 2>&5
                   8499:   ac_status=$?
                   8500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8501:   (exit $ac_status); }; }; then
                   8502:   ac_hi=$ac_mid; break
                   8503: else
                   8504:   echo "$as_me: failed program was:" >&5
                   8505: sed 's/^/| /' conftest.$ac_ext >&5
                   8506: 
                   8507: ac_lo=`expr $ac_mid + 1`
                   8508:                    if test $ac_lo -le $ac_mid; then
                   8509:                      ac_lo= ac_hi=
                   8510:                      break
                   8511:                    fi
                   8512:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8513: fi
1.1.1.19  root     8514: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8515:   done
                   8516: else
                   8517:   echo "$as_me: failed program was:" >&5
                   8518: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8519: 
1.1.1.19  root     8520: cat >conftest.$ac_ext <<_ACEOF
                   8521: /* confdefs.h.  */
                   8522: _ACEOF
                   8523: cat confdefs.h >>conftest.$ac_ext
                   8524: cat >>conftest.$ac_ext <<_ACEOF
                   8525: /* end confdefs.h.  */
                   8526: $ac_includes_default
                   8527: int
                   8528: main ()
                   8529: {
                   8530: static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
                   8531: test_array [0] = 0
1.1       root     8532: 
1.1.1.19  root     8533:   ;
                   8534:   return 0;
                   8535: }
                   8536: _ACEOF
                   8537: rm -f conftest.$ac_objext
                   8538: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8539:   (eval $ac_compile) 2>conftest.er1
                   8540:   ac_status=$?
                   8541:   grep -v '^ *+' conftest.er1 >conftest.err
                   8542:   rm -f conftest.er1
                   8543:   cat conftest.err >&5
                   8544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8545:   (exit $ac_status); } &&
                   8546:         { ac_try='test -z "$ac_c_werror_flag"
                   8547:                         || test ! -s conftest.err'
                   8548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8549:   (eval $ac_try) 2>&5
                   8550:   ac_status=$?
                   8551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8552:   (exit $ac_status); }; } &&
                   8553:         { ac_try='test -s conftest.$ac_objext'
                   8554:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8555:   (eval $ac_try) 2>&5
                   8556:   ac_status=$?
                   8557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8558:   (exit $ac_status); }; }; then
                   8559:   ac_hi=-1 ac_mid=-1
                   8560:   while :; do
                   8561:     cat >conftest.$ac_ext <<_ACEOF
                   8562: /* confdefs.h.  */
                   8563: _ACEOF
                   8564: cat confdefs.h >>conftest.$ac_ext
                   8565: cat >>conftest.$ac_ext <<_ACEOF
                   8566: /* end confdefs.h.  */
                   8567: $ac_includes_default
                   8568: int
                   8569: main ()
                   8570: {
                   8571: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
                   8572: test_array [0] = 0
                   8573: 
                   8574:   ;
                   8575:   return 0;
                   8576: }
                   8577: _ACEOF
                   8578: rm -f conftest.$ac_objext
                   8579: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8580:   (eval $ac_compile) 2>conftest.er1
                   8581:   ac_status=$?
                   8582:   grep -v '^ *+' conftest.er1 >conftest.err
                   8583:   rm -f conftest.er1
                   8584:   cat conftest.err >&5
                   8585:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8586:   (exit $ac_status); } &&
                   8587:         { ac_try='test -z "$ac_c_werror_flag"
                   8588:                         || test ! -s conftest.err'
                   8589:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8590:   (eval $ac_try) 2>&5
                   8591:   ac_status=$?
                   8592:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8593:   (exit $ac_status); }; } &&
                   8594:         { ac_try='test -s conftest.$ac_objext'
                   8595:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8596:   (eval $ac_try) 2>&5
                   8597:   ac_status=$?
                   8598:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8599:   (exit $ac_status); }; }; then
                   8600:   ac_lo=$ac_mid; break
                   8601: else
                   8602:   echo "$as_me: failed program was:" >&5
                   8603: sed 's/^/| /' conftest.$ac_ext >&5
                   8604: 
                   8605: ac_hi=`expr '(' $ac_mid ')' - 1`
                   8606:                       if test $ac_mid -le $ac_hi; then
                   8607:                         ac_lo= ac_hi=
                   8608:                         break
                   8609:                       fi
                   8610:                       ac_mid=`expr 2 '*' $ac_mid`
                   8611: fi
                   8612: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8613:   done
1.1       root     8614: else
1.1.1.19  root     8615:   echo "$as_me: failed program was:" >&5
                   8616: sed 's/^/| /' conftest.$ac_ext >&5
                   8617: 
                   8618: ac_lo= ac_hi=
                   8619: fi
                   8620: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8621: fi
                   8622: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8623: # Binary search between lo and hi bounds.
                   8624: while test "x$ac_lo" != "x$ac_hi"; do
                   8625:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   8626:   cat >conftest.$ac_ext <<_ACEOF
                   8627: /* confdefs.h.  */
                   8628: _ACEOF
                   8629: cat confdefs.h >>conftest.$ac_ext
                   8630: cat >>conftest.$ac_ext <<_ACEOF
                   8631: /* end confdefs.h.  */
                   8632: $ac_includes_default
                   8633: int
                   8634: main ()
                   8635: {
                   8636: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   8637: test_array [0] = 0
                   8638: 
                   8639:   ;
                   8640:   return 0;
                   8641: }
                   8642: _ACEOF
                   8643: rm -f conftest.$ac_objext
                   8644: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8645:   (eval $ac_compile) 2>conftest.er1
                   8646:   ac_status=$?
                   8647:   grep -v '^ *+' conftest.er1 >conftest.err
                   8648:   rm -f conftest.er1
                   8649:   cat conftest.err >&5
                   8650:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8651:   (exit $ac_status); } &&
                   8652:         { ac_try='test -z "$ac_c_werror_flag"
                   8653:                         || test ! -s conftest.err'
                   8654:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8655:   (eval $ac_try) 2>&5
                   8656:   ac_status=$?
                   8657:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8658:   (exit $ac_status); }; } &&
                   8659:         { ac_try='test -s conftest.$ac_objext'
                   8660:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8661:   (eval $ac_try) 2>&5
                   8662:   ac_status=$?
                   8663:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8664:   (exit $ac_status); }; }; then
                   8665:   ac_hi=$ac_mid
1.1       root     8666: else
1.1.1.19  root     8667:   echo "$as_me: failed program was:" >&5
                   8668: sed 's/^/| /' conftest.$ac_ext >&5
                   8669: 
                   8670: ac_lo=`expr '(' $ac_mid ')' + 1`
                   8671: fi
                   8672: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8673: done
                   8674: case $ac_lo in
                   8675: ?*) ac_cv_sizeof_long=$ac_lo;;
                   8676: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
                   8677: See \`config.log' for more details." >&5
                   8678: echo "$as_me: error: cannot compute sizeof (long), 77
                   8679: See \`config.log' for more details." >&2;}
                   8680:    { (exit 1); exit 1; }; } ;;
                   8681: esac
                   8682: else
                   8683:   if test "$cross_compiling" = yes; then
                   8684:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   8685: See \`config.log' for more details." >&5
                   8686: echo "$as_me: error: cannot run test program while cross compiling
                   8687: See \`config.log' for more details." >&2;}
                   8688:    { (exit 1); exit 1; }; }
                   8689: else
                   8690:   cat >conftest.$ac_ext <<_ACEOF
                   8691: /* confdefs.h.  */
                   8692: _ACEOF
                   8693: cat confdefs.h >>conftest.$ac_ext
                   8694: cat >>conftest.$ac_ext <<_ACEOF
                   8695: /* end confdefs.h.  */
                   8696: $ac_includes_default
                   8697: long longval () { return (long) (sizeof (long)); }
                   8698: unsigned long ulongval () { return (long) (sizeof (long)); }
1.1       root     8699: #include <stdio.h>
1.1.1.19  root     8700: #include <stdlib.h>
                   8701: int
                   8702: main ()
1.1       root     8703: {
1.1.1.19  root     8704: 
                   8705:   FILE *f = fopen ("conftest.val", "w");
                   8706:   if (! f)
                   8707:     exit (1);
                   8708:   if (((long) (sizeof (long))) < 0)
                   8709:     {
                   8710:       long i = longval ();
                   8711:       if (i != ((long) (sizeof (long))))
                   8712:        exit (1);
                   8713:       fprintf (f, "%ld\n", i);
                   8714:     }
                   8715:   else
                   8716:     {
                   8717:       unsigned long i = ulongval ();
                   8718:       if (i != ((long) (sizeof (long))))
                   8719:        exit (1);
                   8720:       fprintf (f, "%lu\n", i);
                   8721:     }
                   8722:   exit (ferror (f) || fclose (f) != 0);
                   8723: 
                   8724:   ;
                   8725:   return 0;
1.1       root     8726: }
1.1.1.19  root     8727: _ACEOF
                   8728: rm -f conftest$ac_exeext
                   8729: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   8730:   (eval $ac_link) 2>&5
                   8731:   ac_status=$?
                   8732:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8733:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   8734:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8735:   (eval $ac_try) 2>&5
                   8736:   ac_status=$?
                   8737:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8738:   (exit $ac_status); }; }; then
                   8739:   ac_cv_sizeof_long=`cat conftest.val`
                   8740: else
                   8741:   echo "$as_me: program exited with status $ac_status" >&5
                   8742: echo "$as_me: failed program was:" >&5
                   8743: sed 's/^/| /' conftest.$ac_ext >&5
                   8744: 
                   8745: ( exit $ac_status )
                   8746: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
                   8747: See \`config.log' for more details." >&5
                   8748: echo "$as_me: error: cannot compute sizeof (long), 77
                   8749: See \`config.log' for more details." >&2;}
                   8750:    { (exit 1); exit 1; }; }
                   8751: fi
                   8752: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   8753: fi
                   8754: fi
                   8755: rm -f conftest.val
1.1       root     8756: else
                   8757:   ac_cv_sizeof_long=0
                   8758: fi
                   8759: fi
1.1.1.19  root     8760: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
                   8761: echo "${ECHO_T}$ac_cv_sizeof_long" >&6
                   8762: cat >>confdefs.h <<_ACEOF
                   8763: #define SIZEOF_LONG $ac_cv_sizeof_long
                   8764: _ACEOF
1.1.1.4   root     8765: 
1.1.1.19  root     8766: 
                   8767: echo "$as_me:$LINENO: checking for long long" >&5
                   8768: echo $ECHO_N "checking for long long... $ECHO_C" >&6
                   8769: if test "${ac_cv_type_long_long+set}" = set; then
                   8770:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8771: else
                   8772:   cat >conftest.$ac_ext <<_ACEOF
                   8773: /* confdefs.h.  */
                   8774: _ACEOF
                   8775: cat confdefs.h >>conftest.$ac_ext
                   8776: cat >>conftest.$ac_ext <<_ACEOF
                   8777: /* end confdefs.h.  */
                   8778: $ac_includes_default
                   8779: int
                   8780: main ()
                   8781: {
                   8782: if ((long long *) 0)
                   8783:   return 0;
                   8784: if (sizeof (long long))
                   8785:   return 0;
                   8786:   ;
                   8787:   return 0;
                   8788: }
                   8789: _ACEOF
                   8790: rm -f conftest.$ac_objext
                   8791: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8792:   (eval $ac_compile) 2>conftest.er1
                   8793:   ac_status=$?
                   8794:   grep -v '^ *+' conftest.er1 >conftest.err
                   8795:   rm -f conftest.er1
                   8796:   cat conftest.err >&5
                   8797:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8798:   (exit $ac_status); } &&
                   8799:         { ac_try='test -z "$ac_c_werror_flag"
                   8800:                         || test ! -s conftest.err'
                   8801:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8802:   (eval $ac_try) 2>&5
                   8803:   ac_status=$?
                   8804:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8805:   (exit $ac_status); }; } &&
                   8806:         { ac_try='test -s conftest.$ac_objext'
                   8807:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8808:   (eval $ac_try) 2>&5
                   8809:   ac_status=$?
                   8810:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8811:   (exit $ac_status); }; }; then
                   8812:   ac_cv_type_long_long=yes
                   8813: else
                   8814:   echo "$as_me: failed program was:" >&5
                   8815: sed 's/^/| /' conftest.$ac_ext >&5
                   8816: 
                   8817: ac_cv_type_long_long=no
                   8818: fi
                   8819: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8820: fi
                   8821: echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
                   8822: echo "${ECHO_T}$ac_cv_type_long_long" >&6
                   8823: 
                   8824: echo "$as_me:$LINENO: checking size of long long" >&5
                   8825: echo $ECHO_N "checking size of long long... $ECHO_C" >&6
                   8826: if test "${ac_cv_sizeof_long_long+set}" = set; then
                   8827:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8828: else
                   8829:   if test "$ac_cv_type_long_long" = yes; then
                   8830:   # The cast to unsigned long works around a bug in the HP C Compiler
                   8831:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8832:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8833:   # This bug is HP SR number 8606223364.
                   8834:   if test "$cross_compiling" = yes; then
                   8835:   # Depending upon the size, compute the lo and hi bounds.
                   8836: cat >conftest.$ac_ext <<_ACEOF
                   8837: /* confdefs.h.  */
                   8838: _ACEOF
                   8839: cat confdefs.h >>conftest.$ac_ext
                   8840: cat >>conftest.$ac_ext <<_ACEOF
                   8841: /* end confdefs.h.  */
                   8842: $ac_includes_default
                   8843: int
                   8844: main ()
                   8845: {
                   8846: static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
                   8847: test_array [0] = 0
                   8848: 
                   8849:   ;
                   8850:   return 0;
                   8851: }
                   8852: _ACEOF
                   8853: rm -f conftest.$ac_objext
                   8854: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8855:   (eval $ac_compile) 2>conftest.er1
                   8856:   ac_status=$?
                   8857:   grep -v '^ *+' conftest.er1 >conftest.err
                   8858:   rm -f conftest.er1
                   8859:   cat conftest.err >&5
                   8860:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8861:   (exit $ac_status); } &&
                   8862:         { ac_try='test -z "$ac_c_werror_flag"
                   8863:                         || test ! -s conftest.err'
                   8864:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8865:   (eval $ac_try) 2>&5
                   8866:   ac_status=$?
                   8867:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8868:   (exit $ac_status); }; } &&
                   8869:         { ac_try='test -s conftest.$ac_objext'
                   8870:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8871:   (eval $ac_try) 2>&5
                   8872:   ac_status=$?
                   8873:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8874:   (exit $ac_status); }; }; then
                   8875:   ac_lo=0 ac_mid=0
                   8876:   while :; do
                   8877:     cat >conftest.$ac_ext <<_ACEOF
                   8878: /* confdefs.h.  */
                   8879: _ACEOF
                   8880: cat confdefs.h >>conftest.$ac_ext
                   8881: cat >>conftest.$ac_ext <<_ACEOF
                   8882: /* end confdefs.h.  */
                   8883: $ac_includes_default
                   8884: int
                   8885: main ()
                   8886: {
                   8887: static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
                   8888: test_array [0] = 0
                   8889: 
                   8890:   ;
                   8891:   return 0;
                   8892: }
                   8893: _ACEOF
                   8894: rm -f conftest.$ac_objext
                   8895: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8896:   (eval $ac_compile) 2>conftest.er1
                   8897:   ac_status=$?
                   8898:   grep -v '^ *+' conftest.er1 >conftest.err
                   8899:   rm -f conftest.er1
                   8900:   cat conftest.err >&5
                   8901:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8902:   (exit $ac_status); } &&
                   8903:         { ac_try='test -z "$ac_c_werror_flag"
                   8904:                         || test ! -s conftest.err'
                   8905:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8906:   (eval $ac_try) 2>&5
                   8907:   ac_status=$?
                   8908:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8909:   (exit $ac_status); }; } &&
                   8910:         { ac_try='test -s conftest.$ac_objext'
                   8911:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8912:   (eval $ac_try) 2>&5
                   8913:   ac_status=$?
                   8914:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8915:   (exit $ac_status); }; }; then
                   8916:   ac_hi=$ac_mid; break
                   8917: else
                   8918:   echo "$as_me: failed program was:" >&5
                   8919: sed 's/^/| /' conftest.$ac_ext >&5
                   8920: 
                   8921: ac_lo=`expr $ac_mid + 1`
                   8922:                    if test $ac_lo -le $ac_mid; then
                   8923:                      ac_lo= ac_hi=
                   8924:                      break
                   8925:                    fi
                   8926:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8927: fi
1.1.1.19  root     8928: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   8929:   done
                   8930: else
                   8931:   echo "$as_me: failed program was:" >&5
                   8932: sed 's/^/| /' conftest.$ac_ext >&5
                   8933: 
                   8934: cat >conftest.$ac_ext <<_ACEOF
                   8935: /* confdefs.h.  */
                   8936: _ACEOF
                   8937: cat confdefs.h >>conftest.$ac_ext
                   8938: cat >>conftest.$ac_ext <<_ACEOF
                   8939: /* end confdefs.h.  */
                   8940: $ac_includes_default
                   8941: int
                   8942: main ()
                   8943: {
                   8944: static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
                   8945: test_array [0] = 0
1.1       root     8946: 
1.1.1.19  root     8947:   ;
                   8948:   return 0;
                   8949: }
                   8950: _ACEOF
                   8951: rm -f conftest.$ac_objext
                   8952: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8953:   (eval $ac_compile) 2>conftest.er1
                   8954:   ac_status=$?
                   8955:   grep -v '^ *+' conftest.er1 >conftest.err
                   8956:   rm -f conftest.er1
                   8957:   cat conftest.err >&5
                   8958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8959:   (exit $ac_status); } &&
                   8960:         { ac_try='test -z "$ac_c_werror_flag"
                   8961:                         || test ! -s conftest.err'
                   8962:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8963:   (eval $ac_try) 2>&5
                   8964:   ac_status=$?
                   8965:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8966:   (exit $ac_status); }; } &&
                   8967:         { ac_try='test -s conftest.$ac_objext'
                   8968:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8969:   (eval $ac_try) 2>&5
                   8970:   ac_status=$?
                   8971:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8972:   (exit $ac_status); }; }; then
                   8973:   ac_hi=-1 ac_mid=-1
                   8974:   while :; do
                   8975:     cat >conftest.$ac_ext <<_ACEOF
                   8976: /* confdefs.h.  */
                   8977: _ACEOF
                   8978: cat confdefs.h >>conftest.$ac_ext
                   8979: cat >>conftest.$ac_ext <<_ACEOF
                   8980: /* end confdefs.h.  */
                   8981: $ac_includes_default
                   8982: int
                   8983: main ()
                   8984: {
                   8985: static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
                   8986: test_array [0] = 0
1.1       root     8987: 
1.1.1.19  root     8988:   ;
                   8989:   return 0;
                   8990: }
                   8991: _ACEOF
                   8992: rm -f conftest.$ac_objext
                   8993: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   8994:   (eval $ac_compile) 2>conftest.er1
                   8995:   ac_status=$?
                   8996:   grep -v '^ *+' conftest.er1 >conftest.err
                   8997:   rm -f conftest.er1
                   8998:   cat conftest.err >&5
                   8999:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9000:   (exit $ac_status); } &&
                   9001:         { ac_try='test -z "$ac_c_werror_flag"
                   9002:                         || test ! -s conftest.err'
                   9003:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9004:   (eval $ac_try) 2>&5
                   9005:   ac_status=$?
                   9006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9007:   (exit $ac_status); }; } &&
                   9008:         { ac_try='test -s conftest.$ac_objext'
                   9009:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9010:   (eval $ac_try) 2>&5
                   9011:   ac_status=$?
                   9012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9013:   (exit $ac_status); }; }; then
                   9014:   ac_lo=$ac_mid; break
                   9015: else
                   9016:   echo "$as_me: failed program was:" >&5
                   9017: sed 's/^/| /' conftest.$ac_ext >&5
                   9018: 
                   9019: ac_hi=`expr '(' $ac_mid ')' - 1`
                   9020:                       if test $ac_mid -le $ac_hi; then
                   9021:                         ac_lo= ac_hi=
                   9022:                         break
                   9023:                       fi
                   9024:                       ac_mid=`expr 2 '*' $ac_mid`
                   9025: fi
                   9026: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9027:   done
1.1       root     9028: else
1.1.1.19  root     9029:   echo "$as_me: failed program was:" >&5
                   9030: sed 's/^/| /' conftest.$ac_ext >&5
                   9031: 
                   9032: ac_lo= ac_hi=
                   9033: fi
                   9034: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9035: fi
                   9036: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9037: # Binary search between lo and hi bounds.
                   9038: while test "x$ac_lo" != "x$ac_hi"; do
                   9039:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   9040:   cat >conftest.$ac_ext <<_ACEOF
                   9041: /* confdefs.h.  */
                   9042: _ACEOF
                   9043: cat confdefs.h >>conftest.$ac_ext
                   9044: cat >>conftest.$ac_ext <<_ACEOF
                   9045: /* end confdefs.h.  */
                   9046: $ac_includes_default
                   9047: int
                   9048: main ()
                   9049: {
                   9050: static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
                   9051: test_array [0] = 0
                   9052: 
                   9053:   ;
                   9054:   return 0;
                   9055: }
                   9056: _ACEOF
                   9057: rm -f conftest.$ac_objext
                   9058: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9059:   (eval $ac_compile) 2>conftest.er1
                   9060:   ac_status=$?
                   9061:   grep -v '^ *+' conftest.er1 >conftest.err
                   9062:   rm -f conftest.er1
                   9063:   cat conftest.err >&5
                   9064:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9065:   (exit $ac_status); } &&
                   9066:         { ac_try='test -z "$ac_c_werror_flag"
                   9067:                         || test ! -s conftest.err'
                   9068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9069:   (eval $ac_try) 2>&5
                   9070:   ac_status=$?
                   9071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9072:   (exit $ac_status); }; } &&
                   9073:         { ac_try='test -s conftest.$ac_objext'
                   9074:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9075:   (eval $ac_try) 2>&5
                   9076:   ac_status=$?
                   9077:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9078:   (exit $ac_status); }; }; then
                   9079:   ac_hi=$ac_mid
1.1       root     9080: else
1.1.1.19  root     9081:   echo "$as_me: failed program was:" >&5
                   9082: sed 's/^/| /' conftest.$ac_ext >&5
                   9083: 
                   9084: ac_lo=`expr '(' $ac_mid ')' + 1`
                   9085: fi
                   9086: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9087: done
                   9088: case $ac_lo in
                   9089: ?*) ac_cv_sizeof_long_long=$ac_lo;;
                   9090: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
                   9091: See \`config.log' for more details." >&5
                   9092: echo "$as_me: error: cannot compute sizeof (long long), 77
                   9093: See \`config.log' for more details." >&2;}
                   9094:    { (exit 1); exit 1; }; } ;;
                   9095: esac
                   9096: else
                   9097:   if test "$cross_compiling" = yes; then
                   9098:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   9099: See \`config.log' for more details." >&5
                   9100: echo "$as_me: error: cannot run test program while cross compiling
                   9101: See \`config.log' for more details." >&2;}
                   9102:    { (exit 1); exit 1; }; }
                   9103: else
                   9104:   cat >conftest.$ac_ext <<_ACEOF
                   9105: /* confdefs.h.  */
                   9106: _ACEOF
                   9107: cat confdefs.h >>conftest.$ac_ext
                   9108: cat >>conftest.$ac_ext <<_ACEOF
                   9109: /* end confdefs.h.  */
                   9110: $ac_includes_default
                   9111: long longval () { return (long) (sizeof (long long)); }
                   9112: unsigned long ulongval () { return (long) (sizeof (long long)); }
1.1       root     9113: #include <stdio.h>
1.1.1.19  root     9114: #include <stdlib.h>
                   9115: int
                   9116: main ()
                   9117: {
                   9118: 
                   9119:   FILE *f = fopen ("conftest.val", "w");
                   9120:   if (! f)
                   9121:     exit (1);
                   9122:   if (((long) (sizeof (long long))) < 0)
                   9123:     {
                   9124:       long i = longval ();
                   9125:       if (i != ((long) (sizeof (long long))))
                   9126:        exit (1);
                   9127:       fprintf (f, "%ld\n", i);
                   9128:     }
                   9129:   else
                   9130:     {
                   9131:       unsigned long i = ulongval ();
                   9132:       if (i != ((long) (sizeof (long long))))
                   9133:        exit (1);
                   9134:       fprintf (f, "%lu\n", i);
                   9135:     }
                   9136:   exit (ferror (f) || fclose (f) != 0);
                   9137: 
                   9138:   ;
                   9139:   return 0;
                   9140: }
                   9141: _ACEOF
                   9142: rm -f conftest$ac_exeext
                   9143: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9144:   (eval $ac_link) 2>&5
                   9145:   ac_status=$?
                   9146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9147:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   9148:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9149:   (eval $ac_try) 2>&5
                   9150:   ac_status=$?
                   9151:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9152:   (exit $ac_status); }; }; then
                   9153:   ac_cv_sizeof_long_long=`cat conftest.val`
                   9154: else
                   9155:   echo "$as_me: program exited with status $ac_status" >&5
                   9156: echo "$as_me: failed program was:" >&5
                   9157: sed 's/^/| /' conftest.$ac_ext >&5
                   9158: 
                   9159: ( exit $ac_status )
                   9160: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
                   9161: See \`config.log' for more details." >&5
                   9162: echo "$as_me: error: cannot compute sizeof (long long), 77
                   9163: See \`config.log' for more details." >&2;}
                   9164:    { (exit 1); exit 1; }; }
                   9165: fi
                   9166: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   9167: fi
                   9168: fi
                   9169: rm -f conftest.val
                   9170: else
                   9171:   ac_cv_sizeof_long_long=0
                   9172: fi
                   9173: fi
                   9174: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
                   9175: echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
                   9176: cat >>confdefs.h <<_ACEOF
                   9177: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
                   9178: _ACEOF
                   9179: 
                   9180: 
                   9181: echo "$as_me:$LINENO: checking for __int64" >&5
                   9182: echo $ECHO_N "checking for __int64... $ECHO_C" >&6
                   9183: if test "${ac_cv_type___int64+set}" = set; then
                   9184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9185: else
                   9186:   cat >conftest.$ac_ext <<_ACEOF
                   9187: /* confdefs.h.  */
                   9188: _ACEOF
                   9189: cat confdefs.h >>conftest.$ac_ext
                   9190: cat >>conftest.$ac_ext <<_ACEOF
                   9191: /* end confdefs.h.  */
                   9192: $ac_includes_default
                   9193: int
                   9194: main ()
                   9195: {
                   9196: if ((__int64 *) 0)
                   9197:   return 0;
                   9198: if (sizeof (__int64))
                   9199:   return 0;
                   9200:   ;
                   9201:   return 0;
                   9202: }
                   9203: _ACEOF
                   9204: rm -f conftest.$ac_objext
                   9205: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9206:   (eval $ac_compile) 2>conftest.er1
                   9207:   ac_status=$?
                   9208:   grep -v '^ *+' conftest.er1 >conftest.err
                   9209:   rm -f conftest.er1
                   9210:   cat conftest.err >&5
                   9211:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9212:   (exit $ac_status); } &&
                   9213:         { ac_try='test -z "$ac_c_werror_flag"
                   9214:                         || test ! -s conftest.err'
                   9215:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9216:   (eval $ac_try) 2>&5
                   9217:   ac_status=$?
                   9218:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9219:   (exit $ac_status); }; } &&
                   9220:         { ac_try='test -s conftest.$ac_objext'
                   9221:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9222:   (eval $ac_try) 2>&5
                   9223:   ac_status=$?
                   9224:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9225:   (exit $ac_status); }; }; then
                   9226:   ac_cv_type___int64=yes
                   9227: else
                   9228:   echo "$as_me: failed program was:" >&5
                   9229: sed 's/^/| /' conftest.$ac_ext >&5
                   9230: 
                   9231: ac_cv_type___int64=no
                   9232: fi
                   9233: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9234: fi
                   9235: echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
                   9236: echo "${ECHO_T}$ac_cv_type___int64" >&6
                   9237: 
                   9238: echo "$as_me:$LINENO: checking size of __int64" >&5
                   9239: echo $ECHO_N "checking size of __int64... $ECHO_C" >&6
                   9240: if test "${ac_cv_sizeof___int64+set}" = set; then
                   9241:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9242: else
                   9243:   if test "$ac_cv_type___int64" = yes; then
                   9244:   # The cast to unsigned long works around a bug in the HP C Compiler
                   9245:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   9246:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   9247:   # This bug is HP SR number 8606223364.
                   9248:   if test "$cross_compiling" = yes; then
                   9249:   # Depending upon the size, compute the lo and hi bounds.
                   9250: cat >conftest.$ac_ext <<_ACEOF
                   9251: /* confdefs.h.  */
                   9252: _ACEOF
                   9253: cat confdefs.h >>conftest.$ac_ext
                   9254: cat >>conftest.$ac_ext <<_ACEOF
                   9255: /* end confdefs.h.  */
                   9256: $ac_includes_default
                   9257: int
                   9258: main ()
                   9259: {
                   9260: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];
                   9261: test_array [0] = 0
                   9262: 
                   9263:   ;
                   9264:   return 0;
                   9265: }
                   9266: _ACEOF
                   9267: rm -f conftest.$ac_objext
                   9268: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9269:   (eval $ac_compile) 2>conftest.er1
                   9270:   ac_status=$?
                   9271:   grep -v '^ *+' conftest.er1 >conftest.err
                   9272:   rm -f conftest.er1
                   9273:   cat conftest.err >&5
                   9274:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9275:   (exit $ac_status); } &&
                   9276:         { ac_try='test -z "$ac_c_werror_flag"
                   9277:                         || test ! -s conftest.err'
                   9278:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9279:   (eval $ac_try) 2>&5
                   9280:   ac_status=$?
                   9281:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9282:   (exit $ac_status); }; } &&
                   9283:         { ac_try='test -s conftest.$ac_objext'
                   9284:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9285:   (eval $ac_try) 2>&5
                   9286:   ac_status=$?
                   9287:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9288:   (exit $ac_status); }; }; then
                   9289:   ac_lo=0 ac_mid=0
                   9290:   while :; do
                   9291:     cat >conftest.$ac_ext <<_ACEOF
                   9292: /* confdefs.h.  */
                   9293: _ACEOF
                   9294: cat confdefs.h >>conftest.$ac_ext
                   9295: cat >>conftest.$ac_ext <<_ACEOF
                   9296: /* end confdefs.h.  */
                   9297: $ac_includes_default
                   9298: int
                   9299: main ()
                   9300: {
                   9301: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
                   9302: test_array [0] = 0
                   9303: 
                   9304:   ;
                   9305:   return 0;
                   9306: }
                   9307: _ACEOF
                   9308: rm -f conftest.$ac_objext
                   9309: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9310:   (eval $ac_compile) 2>conftest.er1
                   9311:   ac_status=$?
                   9312:   grep -v '^ *+' conftest.er1 >conftest.err
                   9313:   rm -f conftest.er1
                   9314:   cat conftest.err >&5
                   9315:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9316:   (exit $ac_status); } &&
                   9317:         { ac_try='test -z "$ac_c_werror_flag"
                   9318:                         || test ! -s conftest.err'
                   9319:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9320:   (eval $ac_try) 2>&5
                   9321:   ac_status=$?
                   9322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9323:   (exit $ac_status); }; } &&
                   9324:         { ac_try='test -s conftest.$ac_objext'
                   9325:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9326:   (eval $ac_try) 2>&5
                   9327:   ac_status=$?
                   9328:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9329:   (exit $ac_status); }; }; then
                   9330:   ac_hi=$ac_mid; break
                   9331: else
                   9332:   echo "$as_me: failed program was:" >&5
                   9333: sed 's/^/| /' conftest.$ac_ext >&5
                   9334: 
                   9335: ac_lo=`expr $ac_mid + 1`
                   9336:                    if test $ac_lo -le $ac_mid; then
                   9337:                      ac_lo= ac_hi=
                   9338:                      break
                   9339:                    fi
                   9340:                    ac_mid=`expr 2 '*' $ac_mid + 1`
                   9341: fi
                   9342: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9343:   done
                   9344: else
                   9345:   echo "$as_me: failed program was:" >&5
                   9346: sed 's/^/| /' conftest.$ac_ext >&5
                   9347: 
                   9348: cat >conftest.$ac_ext <<_ACEOF
                   9349: /* confdefs.h.  */
                   9350: _ACEOF
                   9351: cat confdefs.h >>conftest.$ac_ext
                   9352: cat >>conftest.$ac_ext <<_ACEOF
                   9353: /* end confdefs.h.  */
                   9354: $ac_includes_default
                   9355: int
                   9356: main ()
1.1       root     9357: {
1.1.1.19  root     9358: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];
                   9359: test_array [0] = 0
                   9360: 
                   9361:   ;
                   9362:   return 0;
1.1       root     9363: }
1.1.1.19  root     9364: _ACEOF
                   9365: rm -f conftest.$ac_objext
                   9366: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9367:   (eval $ac_compile) 2>conftest.er1
                   9368:   ac_status=$?
                   9369:   grep -v '^ *+' conftest.er1 >conftest.err
                   9370:   rm -f conftest.er1
                   9371:   cat conftest.err >&5
                   9372:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9373:   (exit $ac_status); } &&
                   9374:         { ac_try='test -z "$ac_c_werror_flag"
                   9375:                         || test ! -s conftest.err'
                   9376:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9377:   (eval $ac_try) 2>&5
                   9378:   ac_status=$?
                   9379:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9380:   (exit $ac_status); }; } &&
                   9381:         { ac_try='test -s conftest.$ac_objext'
                   9382:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9383:   (eval $ac_try) 2>&5
                   9384:   ac_status=$?
                   9385:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9386:   (exit $ac_status); }; }; then
                   9387:   ac_hi=-1 ac_mid=-1
                   9388:   while :; do
                   9389:     cat >conftest.$ac_ext <<_ACEOF
                   9390: /* confdefs.h.  */
                   9391: _ACEOF
                   9392: cat confdefs.h >>conftest.$ac_ext
                   9393: cat >>conftest.$ac_ext <<_ACEOF
                   9394: /* end confdefs.h.  */
                   9395: $ac_includes_default
                   9396: int
                   9397: main ()
                   9398: {
                   9399: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];
                   9400: test_array [0] = 0
                   9401: 
                   9402:   ;
                   9403:   return 0;
                   9404: }
                   9405: _ACEOF
                   9406: rm -f conftest.$ac_objext
                   9407: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9408:   (eval $ac_compile) 2>conftest.er1
                   9409:   ac_status=$?
                   9410:   grep -v '^ *+' conftest.er1 >conftest.err
                   9411:   rm -f conftest.er1
                   9412:   cat conftest.err >&5
                   9413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9414:   (exit $ac_status); } &&
                   9415:         { ac_try='test -z "$ac_c_werror_flag"
                   9416:                         || test ! -s conftest.err'
                   9417:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9418:   (eval $ac_try) 2>&5
                   9419:   ac_status=$?
                   9420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9421:   (exit $ac_status); }; } &&
                   9422:         { ac_try='test -s conftest.$ac_objext'
                   9423:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9424:   (eval $ac_try) 2>&5
                   9425:   ac_status=$?
                   9426:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9427:   (exit $ac_status); }; }; then
                   9428:   ac_lo=$ac_mid; break
                   9429: else
                   9430:   echo "$as_me: failed program was:" >&5
                   9431: sed 's/^/| /' conftest.$ac_ext >&5
                   9432: 
                   9433: ac_hi=`expr '(' $ac_mid ')' - 1`
                   9434:                       if test $ac_mid -le $ac_hi; then
                   9435:                         ac_lo= ac_hi=
                   9436:                         break
                   9437:                       fi
                   9438:                       ac_mid=`expr 2 '*' $ac_mid`
1.1       root     9439: fi
1.1.1.19  root     9440: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9441:   done
                   9442: else
                   9443:   echo "$as_me: failed program was:" >&5
                   9444: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     9445: 
1.1.1.19  root     9446: ac_lo= ac_hi=
1.1.1.4   root     9447: fi
1.1.1.19  root     9448: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9449: fi
                   9450: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9451: # Binary search between lo and hi bounds.
                   9452: while test "x$ac_lo" != "x$ac_hi"; do
                   9453:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   9454:   cat >conftest.$ac_ext <<_ACEOF
                   9455: /* confdefs.h.  */
                   9456: _ACEOF
                   9457: cat confdefs.h >>conftest.$ac_ext
                   9458: cat >>conftest.$ac_ext <<_ACEOF
                   9459: /* end confdefs.h.  */
                   9460: $ac_includes_default
                   9461: int
                   9462: main ()
                   9463: {
                   9464: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
                   9465: test_array [0] = 0
1.1       root     9466: 
1.1.1.19  root     9467:   ;
                   9468:   return 0;
                   9469: }
                   9470: _ACEOF
                   9471: rm -f conftest.$ac_objext
                   9472: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9473:   (eval $ac_compile) 2>conftest.er1
                   9474:   ac_status=$?
                   9475:   grep -v '^ *+' conftest.er1 >conftest.err
                   9476:   rm -f conftest.er1
                   9477:   cat conftest.err >&5
                   9478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9479:   (exit $ac_status); } &&
                   9480:         { ac_try='test -z "$ac_c_werror_flag"
                   9481:                         || test ! -s conftest.err'
                   9482:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9483:   (eval $ac_try) 2>&5
                   9484:   ac_status=$?
                   9485:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9486:   (exit $ac_status); }; } &&
                   9487:         { ac_try='test -s conftest.$ac_objext'
                   9488:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9489:   (eval $ac_try) 2>&5
                   9490:   ac_status=$?
                   9491:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9492:   (exit $ac_status); }; }; then
                   9493:   ac_hi=$ac_mid
                   9494: else
                   9495:   echo "$as_me: failed program was:" >&5
                   9496: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9497: 
1.1.1.19  root     9498: ac_lo=`expr '(' $ac_mid ')' + 1`
                   9499: fi
                   9500: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9501: done
                   9502: case $ac_lo in
                   9503: ?*) ac_cv_sizeof___int64=$ac_lo;;
                   9504: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
                   9505: See \`config.log' for more details." >&5
                   9506: echo "$as_me: error: cannot compute sizeof (__int64), 77
                   9507: See \`config.log' for more details." >&2;}
                   9508:    { (exit 1); exit 1; }; } ;;
                   9509: esac
1.1.1.6   root     9510: else
                   9511:   if test "$cross_compiling" = yes; then
1.1.1.19  root     9512:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
                   9513: See \`config.log' for more details." >&5
                   9514: echo "$as_me: error: cannot run test program while cross compiling
                   9515: See \`config.log' for more details." >&2;}
                   9516:    { (exit 1); exit 1; }; }
                   9517: else
                   9518:   cat >conftest.$ac_ext <<_ACEOF
                   9519: /* confdefs.h.  */
                   9520: _ACEOF
                   9521: cat confdefs.h >>conftest.$ac_ext
                   9522: cat >>conftest.$ac_ext <<_ACEOF
                   9523: /* end confdefs.h.  */
                   9524: $ac_includes_default
                   9525: long longval () { return (long) (sizeof (__int64)); }
                   9526: unsigned long ulongval () { return (long) (sizeof (__int64)); }
1.1.1.6   root     9527: #include <stdio.h>
1.1.1.19  root     9528: #include <stdlib.h>
                   9529: int
                   9530: main ()
1.1.1.6   root     9531: {
1.1.1.19  root     9532: 
                   9533:   FILE *f = fopen ("conftest.val", "w");
                   9534:   if (! f)
                   9535:     exit (1);
                   9536:   if (((long) (sizeof (__int64))) < 0)
                   9537:     {
                   9538:       long i = longval ();
                   9539:       if (i != ((long) (sizeof (__int64))))
                   9540:        exit (1);
                   9541:       fprintf (f, "%ld\n", i);
                   9542:     }
                   9543:   else
                   9544:     {
                   9545:       unsigned long i = ulongval ();
                   9546:       if (i != ((long) (sizeof (__int64))))
                   9547:        exit (1);
                   9548:       fprintf (f, "%lu\n", i);
                   9549:     }
                   9550:   exit (ferror (f) || fclose (f) != 0);
                   9551: 
                   9552:   ;
                   9553:   return 0;
1.1.1.6   root     9554: }
1.1.1.19  root     9555: _ACEOF
                   9556: rm -f conftest$ac_exeext
                   9557: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9558:   (eval $ac_link) 2>&5
                   9559:   ac_status=$?
                   9560:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9561:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   9562:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9563:   (eval $ac_try) 2>&5
                   9564:   ac_status=$?
                   9565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9566:   (exit $ac_status); }; }; then
                   9567:   ac_cv_sizeof___int64=`cat conftest.val`
                   9568: else
                   9569:   echo "$as_me: program exited with status $ac_status" >&5
                   9570: echo "$as_me: failed program was:" >&5
                   9571: sed 's/^/| /' conftest.$ac_ext >&5
                   9572: 
                   9573: ( exit $ac_status )
                   9574: { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
                   9575: See \`config.log' for more details." >&5
                   9576: echo "$as_me: error: cannot compute sizeof (__int64), 77
                   9577: See \`config.log' for more details." >&2;}
                   9578:    { (exit 1); exit 1; }; }
                   9579: fi
                   9580: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   9581: fi
                   9582: fi
                   9583: rm -f conftest.val
1.1.1.6   root     9584: else
                   9585:   ac_cv_sizeof___int64=0
                   9586: fi
                   9587: fi
1.1.1.19  root     9588: echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
                   9589: echo "${ECHO_T}$ac_cv_sizeof___int64" >&6
                   9590: cat >>confdefs.h <<_ACEOF
1.1.1.6   root     9591: #define SIZEOF___INT64 $ac_cv_sizeof___int64
1.1.1.19  root     9592: _ACEOF
1.1.1.6   root     9593: 
                   9594: 
1.1       root     9595: 
1.1.1.19  root     9596: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
                   9597: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
                   9598: if test "${ac_cv_c_const+set}" = set; then
                   9599:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     9600: else
1.1.1.19  root     9601:   cat >conftest.$ac_ext <<_ACEOF
                   9602: /* confdefs.h.  */
                   9603: _ACEOF
                   9604: cat confdefs.h >>conftest.$ac_ext
                   9605: cat >>conftest.$ac_ext <<_ACEOF
                   9606: /* end confdefs.h.  */
1.1       root     9607: 
1.1.1.19  root     9608: int
                   9609: main ()
                   9610: {
                   9611: /* FIXME: Include the comments suggested by Paul. */
                   9612: #ifndef __cplusplus
                   9613:   /* Ultrix mips cc rejects this.  */
                   9614:   typedef int charset[2];
                   9615:   const charset x;
                   9616:   /* SunOS 4.1.1 cc rejects this.  */
                   9617:   char const *const *ccp;
                   9618:   char **p;
                   9619:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   9620:   struct point {int x, y;};
                   9621:   static struct point const zero = {0,0};
                   9622:   /* AIX XL C 1.02.0.0 rejects this.
                   9623:      It does not let you subtract one const X* pointer from another in
                   9624:      an arm of an if-expression whose if-part is not a constant
                   9625:      expression */
                   9626:   const char *g = "string";
                   9627:   ccp = &g + (g ? g-g : 0);
                   9628:   /* HPUX 7.0 cc rejects these. */
                   9629:   ++ccp;
                   9630:   p = (char**) ccp;
                   9631:   ccp = (char const *const *) p;
                   9632:   { /* SCO 3.2v4 cc rejects this.  */
                   9633:     char *t;
                   9634:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   9635: 
                   9636:     *t++ = 0;
                   9637:   }
                   9638:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   9639:     int x[] = {25, 17};
                   9640:     const int *foo = &x[0];
                   9641:     ++foo;
                   9642:   }
                   9643:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   9644:     typedef const int *iptr;
                   9645:     iptr p = 0;
                   9646:     ++p;
                   9647:   }
                   9648:   { /* AIX XL C 1.02.0.0 rejects this saying
                   9649:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   9650:     struct s { int j; const int *ap[3]; };
                   9651:     struct s *b; b->j = 5;
                   9652:   }
                   9653:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   9654:     const int foo = 10;
                   9655:   }
                   9656: #endif
1.1       root     9657: 
1.1.1.19  root     9658:   ;
                   9659:   return 0;
1.1       root     9660: }
1.1.1.19  root     9661: _ACEOF
                   9662: rm -f conftest.$ac_objext
                   9663: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9664:   (eval $ac_compile) 2>conftest.er1
                   9665:   ac_status=$?
                   9666:   grep -v '^ *+' conftest.er1 >conftest.err
                   9667:   rm -f conftest.er1
                   9668:   cat conftest.err >&5
                   9669:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9670:   (exit $ac_status); } &&
                   9671:         { ac_try='test -z "$ac_c_werror_flag"
                   9672:                         || test ! -s conftest.err'
                   9673:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9674:   (eval $ac_try) 2>&5
                   9675:   ac_status=$?
                   9676:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9677:   (exit $ac_status); }; } &&
                   9678:         { ac_try='test -s conftest.$ac_objext'
                   9679:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9680:   (eval $ac_try) 2>&5
                   9681:   ac_status=$?
                   9682:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9683:   (exit $ac_status); }; }; then
1.1       root     9684:   ac_cv_c_const=yes
                   9685: else
1.1.1.19  root     9686:   echo "$as_me: failed program was:" >&5
                   9687: sed 's/^/| /' conftest.$ac_ext >&5
                   9688: 
                   9689: ac_cv_c_const=no
1.1       root     9690: fi
1.1.1.19  root     9691: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     9692: fi
1.1.1.19  root     9693: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
                   9694: echo "${ECHO_T}$ac_cv_c_const" >&6
1.1       root     9695: if test $ac_cv_c_const = no; then
1.1.1.19  root     9696: 
                   9697: cat >>confdefs.h <<\_ACEOF
                   9698: #define const
                   9699: _ACEOF
1.1       root     9700: 
                   9701: fi
                   9702: 
1.1.1.19  root     9703: echo "$as_me:$LINENO: checking for inline" >&5
                   9704: echo $ECHO_N "checking for inline... $ECHO_C" >&6
                   9705: if test "${ac_cv_c_inline+set}" = set; then
                   9706:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     9707: else
                   9708:   ac_cv_c_inline=no
                   9709: for ac_kw in inline __inline__ __inline; do
1.1.1.19  root     9710:   cat >conftest.$ac_ext <<_ACEOF
                   9711: /* confdefs.h.  */
                   9712: _ACEOF
                   9713: cat confdefs.h >>conftest.$ac_ext
                   9714: cat >>conftest.$ac_ext <<_ACEOF
                   9715: /* end confdefs.h.  */
                   9716: #ifndef __cplusplus
                   9717: typedef int foo_t;
                   9718: static $ac_kw foo_t static_foo () {return 0; }
                   9719: $ac_kw foo_t foo () {return 0; }
                   9720: #endif
1.1       root     9721: 
1.1.1.19  root     9722: _ACEOF
                   9723: rm -f conftest.$ac_objext
                   9724: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9725:   (eval $ac_compile) 2>conftest.er1
                   9726:   ac_status=$?
                   9727:   grep -v '^ *+' conftest.er1 >conftest.err
                   9728:   rm -f conftest.er1
                   9729:   cat conftest.err >&5
                   9730:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9731:   (exit $ac_status); } &&
                   9732:         { ac_try='test -z "$ac_c_werror_flag"
                   9733:                         || test ! -s conftest.err'
                   9734:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9735:   (eval $ac_try) 2>&5
                   9736:   ac_status=$?
                   9737:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9738:   (exit $ac_status); }; } &&
                   9739:         { ac_try='test -s conftest.$ac_objext'
                   9740:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9741:   (eval $ac_try) 2>&5
                   9742:   ac_status=$?
                   9743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9744:   (exit $ac_status); }; }; then
1.1       root     9745:   ac_cv_c_inline=$ac_kw; break
1.1.1.4   root     9746: else
1.1.1.19  root     9747:   echo "$as_me: failed program was:" >&5
                   9748: sed 's/^/| /' conftest.$ac_ext >&5
                   9749: 
1.1       root     9750: fi
1.1.1.19  root     9751: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     9752: done
                   9753: 
                   9754: fi
1.1.1.19  root     9755: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
                   9756: echo "${ECHO_T}$ac_cv_c_inline" >&6
1.1       root     9757: 
1.1.1.19  root     9758: 
                   9759: case $ac_cv_c_inline in
1.1       root     9760:   inline | yes) ;;
1.1.1.19  root     9761:   *)
                   9762:     case $ac_cv_c_inline in
                   9763:       no) ac_val=;;
                   9764:       *) ac_val=$ac_cv_c_inline;;
                   9765:     esac
                   9766:     cat >>confdefs.h <<_ACEOF
                   9767: #ifndef __cplusplus
                   9768: #define inline $ac_val
                   9769: #endif
                   9770: _ACEOF
                   9771:     ;;
1.1       root     9772: esac
                   9773: 
1.1.1.4   root     9774: if [ "x$ac_cv_c_inline" = "xno" ]; then
                   9775:   ac_cv_c_inline=
                   9776: fi
1.1.1.19  root     9777: echo "$as_me:$LINENO: checking for mode_t" >&5
                   9778: echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
                   9779: if test "${ac_cv_type_mode_t+set}" = set; then
                   9780:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9781: else
                   9782:   cat >conftest.$ac_ext <<_ACEOF
                   9783: /* confdefs.h.  */
                   9784: _ACEOF
                   9785: cat confdefs.h >>conftest.$ac_ext
                   9786: cat >>conftest.$ac_ext <<_ACEOF
                   9787: /* end confdefs.h.  */
                   9788: $ac_includes_default
                   9789: int
                   9790: main ()
                   9791: {
                   9792: if ((mode_t *) 0)
                   9793:   return 0;
                   9794: if (sizeof (mode_t))
                   9795:   return 0;
                   9796:   ;
                   9797:   return 0;
                   9798: }
                   9799: _ACEOF
                   9800: rm -f conftest.$ac_objext
                   9801: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9802:   (eval $ac_compile) 2>conftest.er1
                   9803:   ac_status=$?
                   9804:   grep -v '^ *+' conftest.er1 >conftest.err
                   9805:   rm -f conftest.er1
                   9806:   cat conftest.err >&5
                   9807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9808:   (exit $ac_status); } &&
                   9809:         { ac_try='test -z "$ac_c_werror_flag"
                   9810:                         || test ! -s conftest.err'
                   9811:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9812:   (eval $ac_try) 2>&5
                   9813:   ac_status=$?
                   9814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9815:   (exit $ac_status); }; } &&
                   9816:         { ac_try='test -s conftest.$ac_objext'
                   9817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9818:   (eval $ac_try) 2>&5
                   9819:   ac_status=$?
                   9820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9821:   (exit $ac_status); }; }; then
1.1       root     9822:   ac_cv_type_mode_t=yes
                   9823: else
1.1.1.19  root     9824:   echo "$as_me: failed program was:" >&5
                   9825: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9826: 
1.1.1.19  root     9827: ac_cv_type_mode_t=no
1.1       root     9828: fi
1.1.1.19  root     9829: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9830: fi
                   9831: echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
                   9832: echo "${ECHO_T}$ac_cv_type_mode_t" >&6
                   9833: if test $ac_cv_type_mode_t = yes; then
                   9834:   :
                   9835: else
                   9836: 
                   9837: cat >>confdefs.h <<_ACEOF
1.1       root     9838: #define mode_t int
1.1.1.19  root     9839: _ACEOF
1.1       root     9840: 
                   9841: fi
                   9842: 
1.1.1.19  root     9843: echo "$as_me:$LINENO: checking for off_t" >&5
                   9844: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   9845: if test "${ac_cv_type_off_t+set}" = set; then
                   9846:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9847: else
                   9848:   cat >conftest.$ac_ext <<_ACEOF
                   9849: /* confdefs.h.  */
                   9850: _ACEOF
                   9851: cat confdefs.h >>conftest.$ac_ext
                   9852: cat >>conftest.$ac_ext <<_ACEOF
                   9853: /* end confdefs.h.  */
                   9854: $ac_includes_default
                   9855: int
                   9856: main ()
                   9857: {
                   9858: if ((off_t *) 0)
                   9859:   return 0;
                   9860: if (sizeof (off_t))
                   9861:   return 0;
                   9862:   ;
                   9863:   return 0;
                   9864: }
                   9865: _ACEOF
                   9866: rm -f conftest.$ac_objext
                   9867: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9868:   (eval $ac_compile) 2>conftest.er1
                   9869:   ac_status=$?
                   9870:   grep -v '^ *+' conftest.er1 >conftest.err
                   9871:   rm -f conftest.er1
                   9872:   cat conftest.err >&5
                   9873:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9874:   (exit $ac_status); } &&
                   9875:         { ac_try='test -z "$ac_c_werror_flag"
                   9876:                         || test ! -s conftest.err'
                   9877:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9878:   (eval $ac_try) 2>&5
                   9879:   ac_status=$?
                   9880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9881:   (exit $ac_status); }; } &&
                   9882:         { ac_try='test -s conftest.$ac_objext'
                   9883:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9884:   (eval $ac_try) 2>&5
                   9885:   ac_status=$?
                   9886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9887:   (exit $ac_status); }; }; then
1.1       root     9888:   ac_cv_type_off_t=yes
                   9889: else
1.1.1.19  root     9890:   echo "$as_me: failed program was:" >&5
                   9891: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9892: 
1.1.1.19  root     9893: ac_cv_type_off_t=no
1.1       root     9894: fi
1.1.1.19  root     9895: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9896: fi
                   9897: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   9898: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   9899: if test $ac_cv_type_off_t = yes; then
                   9900:   :
                   9901: else
                   9902: 
                   9903: cat >>confdefs.h <<_ACEOF
1.1       root     9904: #define off_t long
1.1.1.19  root     9905: _ACEOF
1.1       root     9906: 
                   9907: fi
                   9908: 
1.1.1.19  root     9909: echo "$as_me:$LINENO: checking for pid_t" >&5
                   9910: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
                   9911: if test "${ac_cv_type_pid_t+set}" = set; then
                   9912:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9913: else
                   9914:   cat >conftest.$ac_ext <<_ACEOF
                   9915: /* confdefs.h.  */
                   9916: _ACEOF
                   9917: cat confdefs.h >>conftest.$ac_ext
                   9918: cat >>conftest.$ac_ext <<_ACEOF
                   9919: /* end confdefs.h.  */
                   9920: $ac_includes_default
                   9921: int
                   9922: main ()
                   9923: {
                   9924: if ((pid_t *) 0)
                   9925:   return 0;
                   9926: if (sizeof (pid_t))
                   9927:   return 0;
                   9928:   ;
                   9929:   return 0;
                   9930: }
                   9931: _ACEOF
                   9932: rm -f conftest.$ac_objext
                   9933: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9934:   (eval $ac_compile) 2>conftest.er1
                   9935:   ac_status=$?
                   9936:   grep -v '^ *+' conftest.er1 >conftest.err
                   9937:   rm -f conftest.er1
                   9938:   cat conftest.err >&5
                   9939:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9940:   (exit $ac_status); } &&
                   9941:         { ac_try='test -z "$ac_c_werror_flag"
                   9942:                         || test ! -s conftest.err'
                   9943:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9944:   (eval $ac_try) 2>&5
                   9945:   ac_status=$?
                   9946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9947:   (exit $ac_status); }; } &&
                   9948:         { ac_try='test -s conftest.$ac_objext'
                   9949:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9950:   (eval $ac_try) 2>&5
                   9951:   ac_status=$?
                   9952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9953:   (exit $ac_status); }; }; then
1.1       root     9954:   ac_cv_type_pid_t=yes
                   9955: else
1.1.1.19  root     9956:   echo "$as_me: failed program was:" >&5
                   9957: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9958: 
1.1.1.19  root     9959: ac_cv_type_pid_t=no
1.1       root     9960: fi
1.1.1.19  root     9961: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   9962: fi
                   9963: echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
                   9964: echo "${ECHO_T}$ac_cv_type_pid_t" >&6
                   9965: if test $ac_cv_type_pid_t = yes; then
                   9966:   :
                   9967: else
                   9968: 
                   9969: cat >>confdefs.h <<_ACEOF
1.1       root     9970: #define pid_t int
1.1.1.19  root     9971: _ACEOF
1.1       root     9972: 
                   9973: fi
                   9974: 
1.1.1.19  root     9975: echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
                   9976: echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
                   9977: if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
                   9978:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9979: else
                   9980:   cat >conftest.$ac_ext <<_ACEOF
                   9981: /* confdefs.h.  */
                   9982: _ACEOF
                   9983: cat confdefs.h >>conftest.$ac_ext
                   9984: cat >>conftest.$ac_ext <<_ACEOF
                   9985: /* end confdefs.h.  */
                   9986: $ac_includes_default
                   9987: int
                   9988: main ()
                   9989: {
                   9990: static struct stat ac_aggr;
                   9991: if (ac_aggr.st_blocks)
                   9992: return 0;
                   9993:   ;
                   9994:   return 0;
                   9995: }
                   9996: _ACEOF
                   9997: rm -f conftest.$ac_objext
                   9998: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9999:   (eval $ac_compile) 2>conftest.er1
                   10000:   ac_status=$?
                   10001:   grep -v '^ *+' conftest.er1 >conftest.err
                   10002:   rm -f conftest.er1
                   10003:   cat conftest.err >&5
                   10004:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10005:   (exit $ac_status); } &&
                   10006:         { ac_try='test -z "$ac_c_werror_flag"
                   10007:                         || test ! -s conftest.err'
                   10008:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10009:   (eval $ac_try) 2>&5
                   10010:   ac_status=$?
                   10011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10012:   (exit $ac_status); }; } &&
                   10013:         { ac_try='test -s conftest.$ac_objext'
                   10014:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10015:   (eval $ac_try) 2>&5
                   10016:   ac_status=$?
                   10017:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10018:   (exit $ac_status); }; }; then
                   10019:   ac_cv_member_struct_stat_st_blocks=yes
                   10020: else
                   10021:   echo "$as_me: failed program was:" >&5
                   10022: sed 's/^/| /' conftest.$ac_ext >&5
                   10023: 
                   10024: cat >conftest.$ac_ext <<_ACEOF
                   10025: /* confdefs.h.  */
                   10026: _ACEOF
                   10027: cat confdefs.h >>conftest.$ac_ext
                   10028: cat >>conftest.$ac_ext <<_ACEOF
                   10029: /* end confdefs.h.  */
                   10030: $ac_includes_default
                   10031: int
                   10032: main ()
                   10033: {
                   10034: static struct stat ac_aggr;
                   10035: if (sizeof ac_aggr.st_blocks)
                   10036: return 0;
                   10037:   ;
                   10038:   return 0;
                   10039: }
                   10040: _ACEOF
                   10041: rm -f conftest.$ac_objext
                   10042: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10043:   (eval $ac_compile) 2>conftest.er1
                   10044:   ac_status=$?
                   10045:   grep -v '^ *+' conftest.er1 >conftest.err
                   10046:   rm -f conftest.er1
                   10047:   cat conftest.err >&5
                   10048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10049:   (exit $ac_status); } &&
                   10050:         { ac_try='test -z "$ac_c_werror_flag"
                   10051:                         || test ! -s conftest.err'
                   10052:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10053:   (eval $ac_try) 2>&5
                   10054:   ac_status=$?
                   10055:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10056:   (exit $ac_status); }; } &&
                   10057:         { ac_try='test -s conftest.$ac_objext'
                   10058:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10059:   (eval $ac_try) 2>&5
                   10060:   ac_status=$?
                   10061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10062:   (exit $ac_status); }; }; then
                   10063:   ac_cv_member_struct_stat_st_blocks=yes
                   10064: else
                   10065:   echo "$as_me: failed program was:" >&5
                   10066: sed 's/^/| /' conftest.$ac_ext >&5
                   10067: 
                   10068: ac_cv_member_struct_stat_st_blocks=no
                   10069: fi
                   10070: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   10071: fi
                   10072: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   10073: fi
                   10074: echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
                   10075: echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
                   10076: if test $ac_cv_member_struct_stat_st_blocks = yes; then
                   10077: 
                   10078: cat >>confdefs.h <<_ACEOF
                   10079: #define HAVE_STRUCT_STAT_ST_BLOCKS 1
                   10080: _ACEOF
                   10081: 
1.1       root     10082: 
1.1.1.19  root     10083: cat >>confdefs.h <<\_ACEOF
1.1       root     10084: #define HAVE_ST_BLOCKS 1
1.1.1.19  root     10085: _ACEOF
1.1       root     10086: 
                   10087: else
1.1.1.19  root     10088:   case $LIBOBJS in
                   10089:     "fileblocks.$ac_objext"   | \
                   10090:   *" fileblocks.$ac_objext"   | \
                   10091:     "fileblocks.$ac_objext "* | \
                   10092:   *" fileblocks.$ac_objext "* ) ;;
                   10093:   *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
                   10094: esac
                   10095: 
1.1       root     10096: fi
                   10097: 
1.1.1.19  root     10098: 
                   10099: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   10100: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   10101: if test "${ac_cv_header_time+set}" = set; then
                   10102:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10103: else
                   10104:   cat >conftest.$ac_ext <<_ACEOF
                   10105: /* confdefs.h.  */
                   10106: _ACEOF
                   10107: cat confdefs.h >>conftest.$ac_ext
                   10108: cat >>conftest.$ac_ext <<_ACEOF
                   10109: /* end confdefs.h.  */
1.1       root     10110: #include <sys/types.h>
                   10111: #include <sys/time.h>
                   10112: #include <time.h>
1.1.1.19  root     10113: 
                   10114: int
                   10115: main ()
                   10116: {
                   10117: if ((struct tm *) 0)
                   10118: return 0;
                   10119:   ;
                   10120:   return 0;
                   10121: }
                   10122: _ACEOF
                   10123: rm -f conftest.$ac_objext
                   10124: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10125:   (eval $ac_compile) 2>conftest.er1
                   10126:   ac_status=$?
                   10127:   grep -v '^ *+' conftest.er1 >conftest.err
                   10128:   rm -f conftest.er1
                   10129:   cat conftest.err >&5
                   10130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10131:   (exit $ac_status); } &&
                   10132:         { ac_try='test -z "$ac_c_werror_flag"
                   10133:                         || test ! -s conftest.err'
                   10134:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10135:   (eval $ac_try) 2>&5
                   10136:   ac_status=$?
                   10137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10138:   (exit $ac_status); }; } &&
                   10139:         { ac_try='test -s conftest.$ac_objext'
                   10140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10141:   (eval $ac_try) 2>&5
                   10142:   ac_status=$?
                   10143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10144:   (exit $ac_status); }; }; then
1.1       root     10145:   ac_cv_header_time=yes
                   10146: else
1.1.1.19  root     10147:   echo "$as_me: failed program was:" >&5
                   10148: sed 's/^/| /' conftest.$ac_ext >&5
                   10149: 
                   10150: ac_cv_header_time=no
1.1       root     10151: fi
1.1.1.19  root     10152: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10153: fi
1.1.1.19  root     10154: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   10155: echo "${ECHO_T}$ac_cv_header_time" >&6
1.1       root     10156: if test $ac_cv_header_time = yes; then
1.1.1.19  root     10157: 
                   10158: cat >>confdefs.h <<\_ACEOF
1.1       root     10159: #define TIME_WITH_SYS_TIME 1
1.1.1.19  root     10160: _ACEOF
1.1       root     10161: 
                   10162: fi
                   10163: 
1.1.1.19  root     10164: echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
                   10165: echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
                   10166: if test "${ac_cv_struct_tm+set}" = set; then
                   10167:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10168: else
1.1.1.19  root     10169:   cat >conftest.$ac_ext <<_ACEOF
                   10170: /* confdefs.h.  */
                   10171: _ACEOF
                   10172: cat confdefs.h >>conftest.$ac_ext
                   10173: cat >>conftest.$ac_ext <<_ACEOF
                   10174: /* end confdefs.h.  */
1.1       root     10175: #include <sys/types.h>
                   10176: #include <time.h>
1.1.1.19  root     10177: 
                   10178: int
                   10179: main ()
                   10180: {
1.1       root     10181: struct tm *tp; tp->tm_sec;
1.1.1.19  root     10182:   ;
                   10183:   return 0;
                   10184: }
                   10185: _ACEOF
                   10186: rm -f conftest.$ac_objext
                   10187: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10188:   (eval $ac_compile) 2>conftest.er1
                   10189:   ac_status=$?
                   10190:   grep -v '^ *+' conftest.er1 >conftest.err
                   10191:   rm -f conftest.er1
                   10192:   cat conftest.err >&5
                   10193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10194:   (exit $ac_status); } &&
                   10195:         { ac_try='test -z "$ac_c_werror_flag"
                   10196:                         || test ! -s conftest.err'
                   10197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10198:   (eval $ac_try) 2>&5
                   10199:   ac_status=$?
                   10200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10201:   (exit $ac_status); }; } &&
                   10202:         { ac_try='test -s conftest.$ac_objext'
                   10203:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10204:   (eval $ac_try) 2>&5
                   10205:   ac_status=$?
                   10206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10207:   (exit $ac_status); }; }; then
1.1       root     10208:   ac_cv_struct_tm=time.h
                   10209: else
1.1.1.19  root     10210:   echo "$as_me: failed program was:" >&5
                   10211: sed 's/^/| /' conftest.$ac_ext >&5
                   10212: 
                   10213: ac_cv_struct_tm=sys/time.h
1.1       root     10214: fi
1.1.1.19  root     10215: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10216: fi
1.1.1.19  root     10217: echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
                   10218: echo "${ECHO_T}$ac_cv_struct_tm" >&6
1.1       root     10219: if test $ac_cv_struct_tm = sys/time.h; then
1.1.1.19  root     10220: 
                   10221: cat >>confdefs.h <<\_ACEOF
1.1       root     10222: #define TM_IN_SYS_TIME 1
1.1.1.19  root     10223: _ACEOF
1.1       root     10224: 
                   10225: fi
                   10226: 
                   10227: 
1.1.1.19  root     10228: if test $ac_cv_c_compiler_gnu = yes; then
                   10229:     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
                   10230: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
                   10231: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
                   10232:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10233: else
                   10234:     ac_pattern="Autoconf.*'x'"
1.1.1.19  root     10235:   cat >conftest.$ac_ext <<_ACEOF
                   10236: /* confdefs.h.  */
                   10237: _ACEOF
                   10238: cat confdefs.h >>conftest.$ac_ext
                   10239: cat >>conftest.$ac_ext <<_ACEOF
                   10240: /* end confdefs.h.  */
1.1       root     10241: #include <sgtty.h>
                   10242: Autoconf TIOCGETP
1.1.1.19  root     10243: _ACEOF
1.1       root     10244: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     10245:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     10246:   ac_cv_prog_gcc_traditional=yes
                   10247: else
                   10248:   ac_cv_prog_gcc_traditional=no
                   10249: fi
                   10250: rm -f conftest*
                   10251: 
                   10252: 
                   10253:   if test $ac_cv_prog_gcc_traditional = no; then
1.1.1.19  root     10254:     cat >conftest.$ac_ext <<_ACEOF
                   10255: /* confdefs.h.  */
                   10256: _ACEOF
                   10257: cat confdefs.h >>conftest.$ac_ext
                   10258: cat >>conftest.$ac_ext <<_ACEOF
                   10259: /* end confdefs.h.  */
1.1       root     10260: #include <termio.h>
                   10261: Autoconf TCGETA
1.1.1.19  root     10262: _ACEOF
1.1       root     10263: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     10264:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     10265:   ac_cv_prog_gcc_traditional=yes
                   10266: fi
                   10267: rm -f conftest*
                   10268: 
                   10269:   fi
                   10270: fi
1.1.1.19  root     10271: echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
                   10272: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
1.1       root     10273:   if test $ac_cv_prog_gcc_traditional = yes; then
                   10274:     CC="$CC -traditional"
                   10275:   fi
                   10276: fi
                   10277: 
1.1.1.19  root     10278: echo "$as_me:$LINENO: checking for working memcmp" >&5
                   10279: echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
                   10280: if test "${ac_cv_func_memcmp_working+set}" = set; then
                   10281:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10282: else
                   10283:   if test "$cross_compiling" = yes; then
1.1.1.19  root     10284:   ac_cv_func_memcmp_working=no
1.1       root     10285: else
1.1.1.19  root     10286:   cat >conftest.$ac_ext <<_ACEOF
                   10287: /* confdefs.h.  */
                   10288: _ACEOF
                   10289: cat confdefs.h >>conftest.$ac_ext
                   10290: cat >>conftest.$ac_ext <<_ACEOF
                   10291: /* end confdefs.h.  */
                   10292: $ac_includes_default
                   10293: int
                   10294: main ()
1.1       root     10295: {
1.1.1.19  root     10296: 
                   10297:   /* Some versions of memcmp are not 8-bit clean.  */
1.1       root     10298:   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
1.1.1.19  root     10299:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
                   10300:     exit (1);
1.1       root     10301: 
1.1.1.19  root     10302:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   10303:      or more and with at least one buffer not starting on a 4-byte boundary.
                   10304:      William Lewis provided this test program.   */
                   10305:   {
                   10306:     char foo[21];
                   10307:     char bar[21];
                   10308:     int i;
                   10309:     for (i = 0; i < 4; i++)
                   10310:       {
                   10311:        char *a = foo + i;
                   10312:        char *b = bar + i;
                   10313:        strcpy (a, "--------01111111");
                   10314:        strcpy (b, "--------10000000");
                   10315:        if (memcmp (a, b, 16) >= 0)
                   10316:          exit (1);
                   10317:       }
                   10318:     exit (0);
                   10319:   }
1.1       root     10320: 
1.1.1.19  root     10321:   ;
                   10322:   return 0;
                   10323: }
                   10324: _ACEOF
                   10325: rm -f conftest$ac_exeext
                   10326: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10327:   (eval $ac_link) 2>&5
                   10328:   ac_status=$?
                   10329:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10330:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   10331:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10332:   (eval $ac_try) 2>&5
                   10333:   ac_status=$?
                   10334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10335:   (exit $ac_status); }; }; then
                   10336:   ac_cv_func_memcmp_working=yes
                   10337: else
                   10338:   echo "$as_me: program exited with status $ac_status" >&5
                   10339: echo "$as_me: failed program was:" >&5
                   10340: sed 's/^/| /' conftest.$ac_ext >&5
                   10341: 
                   10342: ( exit $ac_status )
                   10343: ac_cv_func_memcmp_working=no
                   10344: fi
                   10345: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   10346: fi
                   10347: fi
                   10348: echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
                   10349: echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
                   10350: test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
                   10351:     "memcmp.$ac_objext"   | \
                   10352:   *" memcmp.$ac_objext"   | \
                   10353:     "memcmp.$ac_objext "* | \
                   10354:   *" memcmp.$ac_objext "* ) ;;
                   10355:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
                   10356: esac
1.1.1.4   root     10357: 
1.1       root     10358: 
1.1.1.19  root     10359: echo "$as_me:$LINENO: checking return type of signal handlers" >&5
                   10360: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
                   10361: if test "${ac_cv_type_signal+set}" = set; then
                   10362:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10363: else
                   10364:   cat >conftest.$ac_ext <<_ACEOF
                   10365: /* confdefs.h.  */
                   10366: _ACEOF
                   10367: cat confdefs.h >>conftest.$ac_ext
                   10368: cat >>conftest.$ac_ext <<_ACEOF
                   10369: /* end confdefs.h.  */
1.1       root     10370: #include <sys/types.h>
                   10371: #include <signal.h>
                   10372: #ifdef signal
1.1.1.19  root     10373: # undef signal
1.1       root     10374: #endif
                   10375: #ifdef __cplusplus
                   10376: extern "C" void (*signal (int, void (*)(int)))(int);
                   10377: #else
                   10378: void (*signal ()) ();
                   10379: #endif
                   10380: 
1.1.1.19  root     10381: int
                   10382: main ()
                   10383: {
1.1       root     10384: int i;
1.1.1.19  root     10385:   ;
                   10386:   return 0;
                   10387: }
                   10388: _ACEOF
                   10389: rm -f conftest.$ac_objext
                   10390: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10391:   (eval $ac_compile) 2>conftest.er1
                   10392:   ac_status=$?
                   10393:   grep -v '^ *+' conftest.er1 >conftest.err
                   10394:   rm -f conftest.er1
                   10395:   cat conftest.err >&5
                   10396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10397:   (exit $ac_status); } &&
                   10398:         { ac_try='test -z "$ac_c_werror_flag"
                   10399:                         || test ! -s conftest.err'
                   10400:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10401:   (eval $ac_try) 2>&5
                   10402:   ac_status=$?
                   10403:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10404:   (exit $ac_status); }; } &&
                   10405:         { ac_try='test -s conftest.$ac_objext'
                   10406:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10407:   (eval $ac_try) 2>&5
                   10408:   ac_status=$?
                   10409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10410:   (exit $ac_status); }; }; then
1.1       root     10411:   ac_cv_type_signal=void
                   10412: else
1.1.1.19  root     10413:   echo "$as_me: failed program was:" >&5
                   10414: sed 's/^/| /' conftest.$ac_ext >&5
                   10415: 
                   10416: ac_cv_type_signal=int
1.1       root     10417: fi
1.1.1.19  root     10418: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10419: fi
1.1.1.19  root     10420: echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
                   10421: echo "${ECHO_T}$ac_cv_type_signal" >&6
1.1       root     10422: 
1.1.1.19  root     10423: cat >>confdefs.h <<_ACEOF
1.1       root     10424: #define RETSIGTYPE $ac_cv_type_signal
1.1.1.19  root     10425: _ACEOF
1.1       root     10426: 
                   10427: 
1.1.1.19  root     10428: echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
                   10429: echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6
                   10430: if test "${ac_cv_func_utime_null+set}" = set; then
                   10431:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10432: else
1.1.1.19  root     10433:   rm -f conftest.data; >conftest.data
1.1       root     10434: # Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
                   10435: if test "$cross_compiling" = yes; then
                   10436:   ac_cv_func_utime_null=no
                   10437: else
1.1.1.19  root     10438:   cat >conftest.$ac_ext <<_ACEOF
                   10439: /* confdefs.h.  */
                   10440: _ACEOF
                   10441: cat confdefs.h >>conftest.$ac_ext
                   10442: cat >>conftest.$ac_ext <<_ACEOF
                   10443: /* end confdefs.h.  */
                   10444: $ac_includes_default
                   10445: int
                   10446: main ()
                   10447: {
1.1       root     10448: struct stat s, t;
1.1.1.19  root     10449:   exit (!(stat ("conftest.data", &s) == 0
                   10450:          && utime ("conftest.data", (long *)0) == 0
                   10451:          && stat ("conftest.data", &t) == 0
                   10452:          && t.st_mtime >= s.st_mtime
                   10453:          && t.st_mtime - s.st_mtime < 120));
                   10454:   ;
                   10455:   return 0;
1.1       root     10456: }
1.1.1.19  root     10457: _ACEOF
                   10458: rm -f conftest$ac_exeext
                   10459: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10460:   (eval $ac_link) 2>&5
                   10461:   ac_status=$?
                   10462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10463:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   10464:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10465:   (eval $ac_try) 2>&5
                   10466:   ac_status=$?
                   10467:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10468:   (exit $ac_status); }; }; then
1.1       root     10469:   ac_cv_func_utime_null=yes
                   10470: else
1.1.1.19  root     10471:   echo "$as_me: program exited with status $ac_status" >&5
                   10472: echo "$as_me: failed program was:" >&5
                   10473: sed 's/^/| /' conftest.$ac_ext >&5
                   10474: 
                   10475: ( exit $ac_status )
                   10476: ac_cv_func_utime_null=no
1.1       root     10477: fi
1.1.1.19  root     10478: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     10479: fi
1.1.1.19  root     10480: rm -f core *.core
1.1       root     10481: fi
1.1.1.19  root     10482: echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
                   10483: echo "${ECHO_T}$ac_cv_func_utime_null" >&6
1.1       root     10484: if test $ac_cv_func_utime_null = yes; then
1.1.1.19  root     10485: 
                   10486: cat >>confdefs.h <<\_ACEOF
1.1       root     10487: #define HAVE_UTIME_NULL 1
1.1.1.19  root     10488: _ACEOF
1.1       root     10489: 
                   10490: fi
1.1.1.19  root     10491: rm -f conftest.data
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
1.1       root     10499: 
1.1.1.16  root     10500: for ac_func in getcwd getopt strdup gettimeofday sigaction mkdir rmdir
                   10501: do
1.1.1.19  root     10502: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10503: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10504: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10505: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   10506:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10507: else
                   10508:   cat >conftest.$ac_ext <<_ACEOF
                   10509: /* confdefs.h.  */
                   10510: _ACEOF
                   10511: cat confdefs.h >>conftest.$ac_ext
                   10512: cat >>conftest.$ac_ext <<_ACEOF
                   10513: /* end confdefs.h.  */
                   10514: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   10515:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10516: #define $ac_func innocuous_$ac_func
                   10517: 
1.1.1.16  root     10518: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     10519:     which can conflict with char $ac_func (); below.
                   10520:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10521:     <limits.h> exists even on freestanding compilers.  */
                   10522: 
                   10523: #ifdef __STDC__
                   10524: # include <limits.h>
                   10525: #else
                   10526: # include <assert.h>
                   10527: #endif
1.1.1.16  root     10528: 
1.1.1.19  root     10529: #undef $ac_func
1.1.1.16  root     10530: 
1.1.1.19  root     10531: /* Override any gcc2 internal prototype to avoid an error.  */
                   10532: #ifdef __cplusplus
                   10533: extern "C"
                   10534: {
                   10535: #endif
                   10536: /* We use char because int might match the return type of a gcc2
                   10537:    builtin and then its argument prototype would still apply.  */
                   10538: char $ac_func ();
1.1.1.16  root     10539: /* The GNU C library defines this for functions which it implements
                   10540:     to always fail with ENOSYS.  Some functions are actually named
                   10541:     something starting with __ and the normal name is an alias.  */
                   10542: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10543: choke me
                   10544: #else
1.1.1.19  root     10545: char (*f) () = $ac_func;
                   10546: #endif
                   10547: #ifdef __cplusplus
                   10548: }
1.1.1.16  root     10549: #endif
                   10550: 
1.1.1.19  root     10551: int
                   10552: main ()
                   10553: {
                   10554: return f != $ac_func;
                   10555:   ;
                   10556:   return 0;
                   10557: }
                   10558: _ACEOF
                   10559: rm -f conftest.$ac_objext conftest$ac_exeext
                   10560: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10561:   (eval $ac_link) 2>conftest.er1
                   10562:   ac_status=$?
                   10563:   grep -v '^ *+' conftest.er1 >conftest.err
                   10564:   rm -f conftest.er1
                   10565:   cat conftest.err >&5
                   10566:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10567:   (exit $ac_status); } &&
                   10568:         { ac_try='test -z "$ac_c_werror_flag"
                   10569:                         || test ! -s conftest.err'
                   10570:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10571:   (eval $ac_try) 2>&5
                   10572:   ac_status=$?
                   10573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10574:   (exit $ac_status); }; } &&
                   10575:         { ac_try='test -s conftest$ac_exeext'
                   10576:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10577:   (eval $ac_try) 2>&5
                   10578:   ac_status=$?
                   10579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10580:   (exit $ac_status); }; }; then
                   10581:   eval "$as_ac_var=yes"
                   10582: else
                   10583:   echo "$as_me: failed program was:" >&5
                   10584: sed 's/^/| /' conftest.$ac_ext >&5
                   10585: 
                   10586: eval "$as_ac_var=no"
                   10587: fi
                   10588: rm -f conftest.err conftest.$ac_objext \
                   10589:       conftest$ac_exeext conftest.$ac_ext
                   10590: fi
                   10591: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10592: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10593: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10594:   cat >>confdefs.h <<_ACEOF
                   10595: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10596: _ACEOF
1.1.1.16  root     10597: 
                   10598: fi
                   10599: done
                   10600: 
1.1.1.19  root     10601: 
                   10602: 
                   10603: 
                   10604: 
                   10605: 
                   10606: 
1.1.1.16  root     10607: for ac_func in select strerror strstr isnan isinf setitimer
1.1.1.6   root     10608: do
1.1.1.19  root     10609: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10610: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10611: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10612: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   10613:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10614: else
                   10615:   cat >conftest.$ac_ext <<_ACEOF
                   10616: /* confdefs.h.  */
                   10617: _ACEOF
                   10618: cat confdefs.h >>conftest.$ac_ext
                   10619: cat >>conftest.$ac_ext <<_ACEOF
                   10620: /* end confdefs.h.  */
                   10621: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   10622:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10623: #define $ac_func innocuous_$ac_func
                   10624: 
1.1.1.6   root     10625: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     10626:     which can conflict with char $ac_func (); below.
                   10627:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10628:     <limits.h> exists even on freestanding compilers.  */
                   10629: 
                   10630: #ifdef __STDC__
                   10631: # include <limits.h>
                   10632: #else
                   10633: # include <assert.h>
                   10634: #endif
1.1.1.6   root     10635: 
1.1.1.19  root     10636: #undef $ac_func
1.1.1.6   root     10637: 
1.1.1.19  root     10638: /* Override any gcc2 internal prototype to avoid an error.  */
                   10639: #ifdef __cplusplus
                   10640: extern "C"
                   10641: {
                   10642: #endif
                   10643: /* We use char because int might match the return type of a gcc2
                   10644:    builtin and then its argument prototype would still apply.  */
                   10645: char $ac_func ();
1.1.1.6   root     10646: /* The GNU C library defines this for functions which it implements
                   10647:     to always fail with ENOSYS.  Some functions are actually named
                   10648:     something starting with __ and the normal name is an alias.  */
                   10649: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10650: choke me
                   10651: #else
1.1.1.19  root     10652: char (*f) () = $ac_func;
                   10653: #endif
                   10654: #ifdef __cplusplus
                   10655: }
1.1.1.6   root     10656: #endif
                   10657: 
1.1.1.19  root     10658: int
                   10659: main ()
                   10660: {
                   10661: return f != $ac_func;
                   10662:   ;
                   10663:   return 0;
                   10664: }
                   10665: _ACEOF
                   10666: rm -f conftest.$ac_objext conftest$ac_exeext
                   10667: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10668:   (eval $ac_link) 2>conftest.er1
                   10669:   ac_status=$?
                   10670:   grep -v '^ *+' conftest.er1 >conftest.err
                   10671:   rm -f conftest.er1
                   10672:   cat conftest.err >&5
                   10673:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10674:   (exit $ac_status); } &&
                   10675:         { ac_try='test -z "$ac_c_werror_flag"
                   10676:                         || test ! -s conftest.err'
                   10677:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10678:   (eval $ac_try) 2>&5
                   10679:   ac_status=$?
                   10680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10681:   (exit $ac_status); }; } &&
                   10682:         { ac_try='test -s conftest$ac_exeext'
                   10683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10684:   (eval $ac_try) 2>&5
                   10685:   ac_status=$?
                   10686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10687:   (exit $ac_status); }; }; then
                   10688:   eval "$as_ac_var=yes"
                   10689: else
                   10690:   echo "$as_me: failed program was:" >&5
                   10691: sed 's/^/| /' conftest.$ac_ext >&5
                   10692: 
                   10693: eval "$as_ac_var=no"
                   10694: fi
                   10695: rm -f conftest.err conftest.$ac_objext \
                   10696:       conftest$ac_exeext conftest.$ac_ext
                   10697: fi
                   10698: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10699: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10700: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10701:   cat >>confdefs.h <<_ACEOF
                   10702: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10703: _ACEOF
1.1.1.6   root     10704: 
                   10705: fi
                   10706: done
                   10707: 
1.1.1.19  root     10708: 
                   10709: 
                   10710: 
                   10711: 
                   10712: 
                   10713: 
1.1.1.6   root     10714: for ac_func in tcgetattr cfmakeraw readdir_r vprintf vsprintf vfprintf
1.1       root     10715: do
1.1.1.19  root     10716: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   10717: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   10718: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   10719: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   10720:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10721: else
                   10722:   cat >conftest.$ac_ext <<_ACEOF
                   10723: /* confdefs.h.  */
                   10724: _ACEOF
                   10725: cat confdefs.h >>conftest.$ac_ext
                   10726: cat >>conftest.$ac_ext <<_ACEOF
                   10727: /* end confdefs.h.  */
                   10728: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   10729:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10730: #define $ac_func innocuous_$ac_func
                   10731: 
1.1       root     10732: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     10733:     which can conflict with char $ac_func (); below.
                   10734:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10735:     <limits.h> exists even on freestanding compilers.  */
                   10736: 
                   10737: #ifdef __STDC__
                   10738: # include <limits.h>
                   10739: #else
                   10740: # include <assert.h>
                   10741: #endif
1.1       root     10742: 
1.1.1.19  root     10743: #undef $ac_func
1.1       root     10744: 
1.1.1.19  root     10745: /* Override any gcc2 internal prototype to avoid an error.  */
                   10746: #ifdef __cplusplus
                   10747: extern "C"
                   10748: {
                   10749: #endif
                   10750: /* We use char because int might match the return type of a gcc2
                   10751:    builtin and then its argument prototype would still apply.  */
                   10752: char $ac_func ();
1.1       root     10753: /* The GNU C library defines this for functions which it implements
                   10754:     to always fail with ENOSYS.  Some functions are actually named
                   10755:     something starting with __ and the normal name is an alias.  */
                   10756: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10757: choke me
                   10758: #else
1.1.1.19  root     10759: char (*f) () = $ac_func;
                   10760: #endif
                   10761: #ifdef __cplusplus
                   10762: }
1.1       root     10763: #endif
                   10764: 
1.1.1.19  root     10765: int
                   10766: main ()
                   10767: {
                   10768: return f != $ac_func;
                   10769:   ;
                   10770:   return 0;
                   10771: }
                   10772: _ACEOF
                   10773: rm -f conftest.$ac_objext conftest$ac_exeext
                   10774: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10775:   (eval $ac_link) 2>conftest.er1
                   10776:   ac_status=$?
                   10777:   grep -v '^ *+' conftest.er1 >conftest.err
                   10778:   rm -f conftest.er1
                   10779:   cat conftest.err >&5
                   10780:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10781:   (exit $ac_status); } &&
                   10782:         { ac_try='test -z "$ac_c_werror_flag"
                   10783:                         || test ! -s conftest.err'
                   10784:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10785:   (eval $ac_try) 2>&5
                   10786:   ac_status=$?
                   10787:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10788:   (exit $ac_status); }; } &&
                   10789:         { ac_try='test -s conftest$ac_exeext'
                   10790:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10791:   (eval $ac_try) 2>&5
                   10792:   ac_status=$?
                   10793:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10794:   (exit $ac_status); }; }; then
                   10795:   eval "$as_ac_var=yes"
                   10796: else
                   10797:   echo "$as_me: failed program was:" >&5
                   10798: sed 's/^/| /' conftest.$ac_ext >&5
                   10799: 
                   10800: eval "$as_ac_var=no"
                   10801: fi
                   10802: rm -f conftest.err conftest.$ac_objext \
                   10803:       conftest$ac_exeext conftest.$ac_ext
                   10804: fi
                   10805: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   10806: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   10807: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   10808:   cat >>confdefs.h <<_ACEOF
                   10809: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   10810: _ACEOF
1.1.1.4   root     10811: 
                   10812: fi
1.1.1.6   root     10813: done
                   10814: 
                   10815: 
                   10816: DO_FILEUTILS_CHECK=yes
1.1.1.19  root     10817: if test $uae_cv_prog_cc_watcom = yes -o $MINGW32 = yes; then
1.1.1.6   root     10818:   DO_FILEUTILS_CHECK=no
                   10819: fi
                   10820: if test $DO_FILEUTILS_CHECK = yes; then
1.1.1.19  root     10821: 
                   10822: 
                   10823: 
                   10824: 
                   10825: 
                   10826: 
                   10827: 
                   10828: 
                   10829: 
                   10830: 
                   10831: 
                   10832: 
                   10833: 
                   10834: for ac_header in fcntl.h sys/param.h sys/statfs.h sys/fstyp.h \
1.1.1.6   root     10835: mnttab.h mntent.h sys/statvfs.h sys/vfs.h sys/mount.h \
                   10836: sys/filsys.h sys/fs_types.h sys/fs/s5param.h
                   10837: do
1.1.1.19  root     10838: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   10839: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   10840:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   10841: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   10842: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   10843:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10844: fi
                   10845: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   10846: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   10847: else
                   10848:   # Is the header compilable?
                   10849: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   10850: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   10851: cat >conftest.$ac_ext <<_ACEOF
                   10852: /* confdefs.h.  */
                   10853: _ACEOF
                   10854: cat confdefs.h >>conftest.$ac_ext
                   10855: cat >>conftest.$ac_ext <<_ACEOF
                   10856: /* end confdefs.h.  */
                   10857: $ac_includes_default
                   10858: #include <$ac_header>
                   10859: _ACEOF
                   10860: rm -f conftest.$ac_objext
                   10861: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10862:   (eval $ac_compile) 2>conftest.er1
                   10863:   ac_status=$?
                   10864:   grep -v '^ *+' conftest.er1 >conftest.err
                   10865:   rm -f conftest.er1
                   10866:   cat conftest.err >&5
                   10867:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10868:   (exit $ac_status); } &&
                   10869:         { ac_try='test -z "$ac_c_werror_flag"
                   10870:                         || test ! -s conftest.err'
                   10871:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10872:   (eval $ac_try) 2>&5
                   10873:   ac_status=$?
                   10874:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10875:   (exit $ac_status); }; } &&
                   10876:         { ac_try='test -s conftest.$ac_objext'
                   10877:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10878:   (eval $ac_try) 2>&5
                   10879:   ac_status=$?
                   10880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10881:   (exit $ac_status); }; }; then
                   10882:   ac_header_compiler=yes
                   10883: else
                   10884:   echo "$as_me: failed program was:" >&5
                   10885: sed 's/^/| /' conftest.$ac_ext >&5
                   10886: 
                   10887: ac_header_compiler=no
                   10888: fi
                   10889: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   10890: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   10891: echo "${ECHO_T}$ac_header_compiler" >&6
                   10892: 
                   10893: # Is the header present?
                   10894: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   10895: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   10896: cat >conftest.$ac_ext <<_ACEOF
                   10897: /* confdefs.h.  */
                   10898: _ACEOF
                   10899: cat confdefs.h >>conftest.$ac_ext
                   10900: cat >>conftest.$ac_ext <<_ACEOF
                   10901: /* end confdefs.h.  */
                   10902: #include <$ac_header>
                   10903: _ACEOF
                   10904: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   10905:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   10906:   ac_status=$?
                   10907:   grep -v '^ *+' conftest.er1 >conftest.err
                   10908:   rm -f conftest.er1
                   10909:   cat conftest.err >&5
                   10910:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10911:   (exit $ac_status); } >/dev/null; then
                   10912:   if test -s conftest.err; then
                   10913:     ac_cpp_err=$ac_c_preproc_warn_flag
                   10914:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   10915:   else
                   10916:     ac_cpp_err=
                   10917:   fi
1.1.1.6   root     10918: else
1.1.1.19  root     10919:   ac_cpp_err=yes
1.1.1.6   root     10920: fi
1.1.1.19  root     10921: if test -z "$ac_cpp_err"; then
                   10922:   ac_header_preproc=yes
                   10923: else
                   10924:   echo "$as_me: failed program was:" >&5
                   10925: sed 's/^/| /' conftest.$ac_ext >&5
                   10926: 
                   10927:   ac_header_preproc=no
1.1.1.6   root     10928: fi
1.1.1.19  root     10929: rm -f conftest.err conftest.$ac_ext
                   10930: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   10931: echo "${ECHO_T}$ac_header_preproc" >&6
                   10932: 
                   10933: # So?  What about this header?
                   10934: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   10935:   yes:no: )
                   10936:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   10937: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   10938:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   10939: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   10940:     ac_header_preproc=yes
                   10941:     ;;
                   10942:   no:yes:* )
                   10943:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   10944: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   10945:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   10946: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   10947:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   10948: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   10949:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   10950: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   10951:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   10952: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   10953:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   10954: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   10955:     (
                   10956:       cat <<\_ASBOX
                   10957: ## ------------------------------------------ ##
                   10958: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   10959: ## ------------------------------------------ ##
                   10960: _ASBOX
                   10961:     ) |
                   10962:       sed "s/^/$as_me: WARNING:     /" >&2
                   10963:     ;;
                   10964: esac
                   10965: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   10966: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   10967: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   10968:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     10969: else
1.1.1.19  root     10970:   eval "$as_ac_Header=\$ac_header_preproc"
                   10971: fi
                   10972: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   10973: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   10974: 
                   10975: fi
                   10976: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   10977:   cat >>confdefs.h <<_ACEOF
                   10978: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   10979: _ACEOF
                   10980: 
1.1.1.6   root     10981: fi
1.1.1.19  root     10982: 
1.1.1.6   root     10983: done
                   10984: 
                   10985: 
1.1.1.19  root     10986: 
                   10987: 
                   10988: 
                   10989: 
                   10990: 
                   10991: 
                   10992: 
                   10993: 
                   10994: 
                   10995: 
                   10996: 
                   10997: 
                   10998: 
                   10999: 
                   11000: 
                   11001: 
                   11002: 
1.1.1.6   root     11003: for ac_func in bcopy endgrent endpwent fchdir ftime ftruncate \
                   11004: getcwd getmntinfo gettimeofday isascii lchown \
                   11005: listmntent memcpy mkfifo strchr strerror strrchr
                   11006: do
1.1.1.19  root     11007: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   11008: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11009: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   11010: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   11011:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11012: else
                   11013:   cat >conftest.$ac_ext <<_ACEOF
                   11014: /* confdefs.h.  */
                   11015: _ACEOF
                   11016: cat confdefs.h >>conftest.$ac_ext
                   11017: cat >>conftest.$ac_ext <<_ACEOF
                   11018: /* end confdefs.h.  */
                   11019: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11020:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11021: #define $ac_func innocuous_$ac_func
                   11022: 
1.1.1.6   root     11023: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11024:     which can conflict with char $ac_func (); below.
                   11025:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11026:     <limits.h> exists even on freestanding compilers.  */
                   11027: 
                   11028: #ifdef __STDC__
                   11029: # include <limits.h>
                   11030: #else
                   11031: # include <assert.h>
                   11032: #endif
1.1.1.6   root     11033: 
1.1.1.19  root     11034: #undef $ac_func
1.1.1.6   root     11035: 
1.1.1.19  root     11036: /* Override any gcc2 internal prototype to avoid an error.  */
                   11037: #ifdef __cplusplus
                   11038: extern "C"
                   11039: {
                   11040: #endif
                   11041: /* We use char because int might match the return type of a gcc2
                   11042:    builtin and then its argument prototype would still apply.  */
                   11043: char $ac_func ();
1.1.1.6   root     11044: /* The GNU C library defines this for functions which it implements
                   11045:     to always fail with ENOSYS.  Some functions are actually named
                   11046:     something starting with __ and the normal name is an alias.  */
                   11047: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   11048: choke me
                   11049: #else
1.1.1.19  root     11050: char (*f) () = $ac_func;
                   11051: #endif
                   11052: #ifdef __cplusplus
                   11053: }
1.1.1.6   root     11054: #endif
                   11055: 
1.1.1.19  root     11056: int
                   11057: main ()
                   11058: {
                   11059: return f != $ac_func;
                   11060:   ;
                   11061:   return 0;
                   11062: }
                   11063: _ACEOF
                   11064: rm -f conftest.$ac_objext conftest$ac_exeext
                   11065: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11066:   (eval $ac_link) 2>conftest.er1
                   11067:   ac_status=$?
                   11068:   grep -v '^ *+' conftest.er1 >conftest.err
                   11069:   rm -f conftest.er1
                   11070:   cat conftest.err >&5
                   11071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11072:   (exit $ac_status); } &&
                   11073:         { ac_try='test -z "$ac_c_werror_flag"
                   11074:                         || test ! -s conftest.err'
                   11075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11076:   (eval $ac_try) 2>&5
                   11077:   ac_status=$?
                   11078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11079:   (exit $ac_status); }; } &&
                   11080:         { ac_try='test -s conftest$ac_exeext'
                   11081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11082:   (eval $ac_try) 2>&5
                   11083:   ac_status=$?
                   11084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11085:   (exit $ac_status); }; }; then
                   11086:   eval "$as_ac_var=yes"
                   11087: else
                   11088:   echo "$as_me: failed program was:" >&5
                   11089: sed 's/^/| /' conftest.$ac_ext >&5
                   11090: 
                   11091: eval "$as_ac_var=no"
                   11092: fi
                   11093: rm -f conftest.err conftest.$ac_objext \
                   11094:       conftest$ac_exeext conftest.$ac_ext
                   11095: fi
                   11096: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   11097: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   11098: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11099:   cat >>confdefs.h <<_ACEOF
                   11100: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11101: _ACEOF
1.1.1.6   root     11102: 
                   11103: fi
                   11104: done
                   11105: 
                   11106: 
                   11107: # Determine how to get the list of mounted filesystems.
                   11108: list_mounted_fs=
                   11109: 
                   11110: # If the getmntent function is available but not in the standard library,
                   11111: # make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
                   11112: # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
1.1.1.19  root     11113: echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
                   11114: echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
                   11115: if test "${ac_cv_lib_sun_getmntent+set}" = set; then
                   11116:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11117: else
1.1.1.19  root     11118:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11119: LIBS="-lsun  $LIBS"
1.1.1.19  root     11120: cat >conftest.$ac_ext <<_ACEOF
                   11121: /* confdefs.h.  */
                   11122: _ACEOF
                   11123: cat confdefs.h >>conftest.$ac_ext
                   11124: cat >>conftest.$ac_ext <<_ACEOF
                   11125: /* end confdefs.h.  */
                   11126: 
1.1.1.6   root     11127: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     11128: #ifdef __cplusplus
                   11129: extern "C"
                   11130: #endif
1.1.1.6   root     11131: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     11132:    builtin and then its argument prototype would still apply.  */
                   11133: char getmntent ();
                   11134: int
                   11135: main ()
                   11136: {
                   11137: getmntent ();
                   11138:   ;
                   11139:   return 0;
                   11140: }
                   11141: _ACEOF
                   11142: rm -f conftest.$ac_objext conftest$ac_exeext
                   11143: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11144:   (eval $ac_link) 2>conftest.er1
                   11145:   ac_status=$?
                   11146:   grep -v '^ *+' conftest.er1 >conftest.err
                   11147:   rm -f conftest.er1
                   11148:   cat conftest.err >&5
                   11149:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11150:   (exit $ac_status); } &&
                   11151:         { ac_try='test -z "$ac_c_werror_flag"
                   11152:                         || test ! -s conftest.err'
                   11153:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11154:   (eval $ac_try) 2>&5
                   11155:   ac_status=$?
                   11156:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11157:   (exit $ac_status); }; } &&
                   11158:         { ac_try='test -s conftest$ac_exeext'
                   11159:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11160:   (eval $ac_try) 2>&5
                   11161:   ac_status=$?
                   11162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11163:   (exit $ac_status); }; }; then
                   11164:   ac_cv_lib_sun_getmntent=yes
                   11165: else
                   11166:   echo "$as_me: failed program was:" >&5
                   11167: sed 's/^/| /' conftest.$ac_ext >&5
                   11168: 
                   11169: ac_cv_lib_sun_getmntent=no
                   11170: fi
                   11171: rm -f conftest.err conftest.$ac_objext \
                   11172:       conftest$ac_exeext conftest.$ac_ext
                   11173: LIBS=$ac_check_lib_save_LIBS
                   11174: fi
                   11175: echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
                   11176: echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
                   11177: if test $ac_cv_lib_sun_getmntent = yes; then
1.1.1.6   root     11178:   LIBS="-lsun $LIBS"
                   11179: else
1.1.1.19  root     11180:   echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
                   11181: echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
                   11182: if test "${ac_cv_lib_seq_getmntent+set}" = set; then
                   11183:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11184: else
1.1.1.19  root     11185:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11186: LIBS="-lseq  $LIBS"
1.1.1.19  root     11187: cat >conftest.$ac_ext <<_ACEOF
                   11188: /* confdefs.h.  */
                   11189: _ACEOF
                   11190: cat confdefs.h >>conftest.$ac_ext
                   11191: cat >>conftest.$ac_ext <<_ACEOF
                   11192: /* end confdefs.h.  */
                   11193: 
1.1.1.6   root     11194: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     11195: #ifdef __cplusplus
                   11196: extern "C"
                   11197: #endif
1.1.1.6   root     11198: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     11199:    builtin and then its argument prototype would still apply.  */
                   11200: char getmntent ();
                   11201: int
                   11202: main ()
                   11203: {
                   11204: getmntent ();
                   11205:   ;
                   11206:   return 0;
                   11207: }
                   11208: _ACEOF
                   11209: rm -f conftest.$ac_objext conftest$ac_exeext
                   11210: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11211:   (eval $ac_link) 2>conftest.er1
                   11212:   ac_status=$?
                   11213:   grep -v '^ *+' conftest.er1 >conftest.err
                   11214:   rm -f conftest.er1
                   11215:   cat conftest.err >&5
                   11216:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11217:   (exit $ac_status); } &&
                   11218:         { ac_try='test -z "$ac_c_werror_flag"
                   11219:                         || test ! -s conftest.err'
                   11220:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11221:   (eval $ac_try) 2>&5
                   11222:   ac_status=$?
                   11223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11224:   (exit $ac_status); }; } &&
                   11225:         { ac_try='test -s conftest$ac_exeext'
                   11226:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11227:   (eval $ac_try) 2>&5
                   11228:   ac_status=$?
                   11229:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11230:   (exit $ac_status); }; }; then
                   11231:   ac_cv_lib_seq_getmntent=yes
                   11232: else
                   11233:   echo "$as_me: failed program was:" >&5
                   11234: sed 's/^/| /' conftest.$ac_ext >&5
                   11235: 
                   11236: ac_cv_lib_seq_getmntent=no
                   11237: fi
                   11238: rm -f conftest.err conftest.$ac_objext \
                   11239:       conftest$ac_exeext conftest.$ac_ext
                   11240: LIBS=$ac_check_lib_save_LIBS
                   11241: fi
                   11242: echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
                   11243: echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
                   11244: if test $ac_cv_lib_seq_getmntent = yes; then
1.1.1.6   root     11245:   LIBS="-lseq $LIBS"
                   11246: else
1.1.1.19  root     11247:   echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
                   11248: echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
                   11249: if test "${ac_cv_lib_gen_getmntent+set}" = set; then
                   11250:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11251: else
1.1.1.19  root     11252:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11253: LIBS="-lgen  $LIBS"
1.1.1.19  root     11254: cat >conftest.$ac_ext <<_ACEOF
                   11255: /* confdefs.h.  */
                   11256: _ACEOF
                   11257: cat confdefs.h >>conftest.$ac_ext
                   11258: cat >>conftest.$ac_ext <<_ACEOF
                   11259: /* end confdefs.h.  */
                   11260: 
1.1.1.6   root     11261: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     11262: #ifdef __cplusplus
                   11263: extern "C"
                   11264: #endif
1.1.1.6   root     11265: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     11266:    builtin and then its argument prototype would still apply.  */
                   11267: char getmntent ();
                   11268: int
                   11269: main ()
                   11270: {
                   11271: getmntent ();
                   11272:   ;
                   11273:   return 0;
                   11274: }
                   11275: _ACEOF
                   11276: rm -f conftest.$ac_objext conftest$ac_exeext
                   11277: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11278:   (eval $ac_link) 2>conftest.er1
                   11279:   ac_status=$?
                   11280:   grep -v '^ *+' conftest.er1 >conftest.err
                   11281:   rm -f conftest.er1
                   11282:   cat conftest.err >&5
                   11283:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11284:   (exit $ac_status); } &&
                   11285:         { ac_try='test -z "$ac_c_werror_flag"
                   11286:                         || test ! -s conftest.err'
                   11287:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11288:   (eval $ac_try) 2>&5
                   11289:   ac_status=$?
                   11290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11291:   (exit $ac_status); }; } &&
                   11292:         { ac_try='test -s conftest$ac_exeext'
                   11293:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11294:   (eval $ac_try) 2>&5
                   11295:   ac_status=$?
                   11296:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11297:   (exit $ac_status); }; }; then
                   11298:   ac_cv_lib_gen_getmntent=yes
                   11299: else
                   11300:   echo "$as_me: failed program was:" >&5
                   11301: sed 's/^/| /' conftest.$ac_ext >&5
                   11302: 
                   11303: ac_cv_lib_gen_getmntent=no
                   11304: fi
                   11305: rm -f conftest.err conftest.$ac_objext \
                   11306:       conftest$ac_exeext conftest.$ac_ext
                   11307: LIBS=$ac_check_lib_save_LIBS
                   11308: fi
                   11309: echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
                   11310: echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
                   11311: if test $ac_cv_lib_gen_getmntent = yes; then
1.1.1.6   root     11312:   LIBS="-lgen $LIBS"
                   11313: fi
                   11314: 
                   11315: fi
                   11316: 
                   11317: fi
                   11318: 
1.1.1.19  root     11319: 
                   11320: for ac_func in getmntent
                   11321: do
                   11322: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   11323: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11324: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   11325: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   11326:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11327: else
                   11328:   cat >conftest.$ac_ext <<_ACEOF
                   11329: /* confdefs.h.  */
                   11330: _ACEOF
                   11331: cat confdefs.h >>conftest.$ac_ext
                   11332: cat >>conftest.$ac_ext <<_ACEOF
                   11333: /* end confdefs.h.  */
                   11334: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11335:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11336: #define $ac_func innocuous_$ac_func
                   11337: 
1.1.1.6   root     11338: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11339:     which can conflict with char $ac_func (); below.
                   11340:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11341:     <limits.h> exists even on freestanding compilers.  */
                   11342: 
                   11343: #ifdef __STDC__
                   11344: # include <limits.h>
                   11345: #else
                   11346: # include <assert.h>
                   11347: #endif
1.1.1.6   root     11348: 
1.1.1.19  root     11349: #undef $ac_func
1.1.1.6   root     11350: 
1.1.1.19  root     11351: /* Override any gcc2 internal prototype to avoid an error.  */
                   11352: #ifdef __cplusplus
                   11353: extern "C"
                   11354: {
                   11355: #endif
                   11356: /* We use char because int might match the return type of a gcc2
                   11357:    builtin and then its argument prototype would still apply.  */
                   11358: char $ac_func ();
1.1.1.6   root     11359: /* The GNU C library defines this for functions which it implements
                   11360:     to always fail with ENOSYS.  Some functions are actually named
                   11361:     something starting with __ and the normal name is an alias.  */
1.1.1.19  root     11362: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1.1.6   root     11363: choke me
                   11364: #else
1.1.1.19  root     11365: char (*f) () = $ac_func;
                   11366: #endif
                   11367: #ifdef __cplusplus
                   11368: }
1.1.1.6   root     11369: #endif
                   11370: 
1.1.1.19  root     11371: int
                   11372: main ()
                   11373: {
                   11374: return f != $ac_func;
                   11375:   ;
                   11376:   return 0;
                   11377: }
                   11378: _ACEOF
                   11379: rm -f conftest.$ac_objext conftest$ac_exeext
                   11380: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11381:   (eval $ac_link) 2>conftest.er1
                   11382:   ac_status=$?
                   11383:   grep -v '^ *+' conftest.er1 >conftest.err
                   11384:   rm -f conftest.er1
                   11385:   cat conftest.err >&5
                   11386:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11387:   (exit $ac_status); } &&
                   11388:         { ac_try='test -z "$ac_c_werror_flag"
                   11389:                         || test ! -s conftest.err'
                   11390:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11391:   (eval $ac_try) 2>&5
                   11392:   ac_status=$?
                   11393:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11394:   (exit $ac_status); }; } &&
                   11395:         { ac_try='test -s conftest$ac_exeext'
                   11396:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11397:   (eval $ac_try) 2>&5
                   11398:   ac_status=$?
                   11399:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11400:   (exit $ac_status); }; }; then
                   11401:   eval "$as_ac_var=yes"
                   11402: else
                   11403:   echo "$as_me: failed program was:" >&5
                   11404: sed 's/^/| /' conftest.$ac_ext >&5
                   11405: 
                   11406: eval "$as_ac_var=no"
                   11407: fi
                   11408: rm -f conftest.err conftest.$ac_objext \
                   11409:       conftest$ac_exeext conftest.$ac_ext
                   11410: fi
                   11411: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   11412: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   11413: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11414:   cat >>confdefs.h <<_ACEOF
                   11415: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11416: _ACEOF
1.1.1.6   root     11417: 
                   11418: fi
1.1.1.19  root     11419: done
                   11420: 
1.1.1.6   root     11421: 
                   11422: 
                   11423: # This test must precede the ones for getmntent because Unicos-9 is
                   11424: # reported to have the getmntent function, but its support is incompatible
                   11425: # with other getmntent implementations.
                   11426: 
                   11427: # NOTE: Normally, I wouldn't use a check for system type as I've done for
                   11428: # `CRAY' below since that goes against the whole autoconf philosophy.  But
                   11429: # I think there is too great a chance that some non-Cray system has a
                   11430: # function named listmntent to risk the false positive.
                   11431: 
                   11432: if test -z "$list_mounted_fs"; then
                   11433: # Cray UNICOS 9
1.1.1.19  root     11434: echo "$as_me:$LINENO: checking for listmntent of Cray/Unicos-9" >&5
                   11435: echo $ECHO_N "checking for listmntent of Cray/Unicos-9... $ECHO_C" >&6
                   11436: if test "${fu_cv_sys_mounted_cray_listmntent+set}" = set; then
                   11437:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11438: else
                   11439:   fu_cv_sys_mounted_cray_listmntent=no
1.1.1.19  root     11440: cat >conftest.$ac_ext <<_ACEOF
                   11441: /* confdefs.h.  */
                   11442: _ACEOF
                   11443: cat confdefs.h >>conftest.$ac_ext
                   11444: cat >>conftest.$ac_ext <<_ACEOF
                   11445: /* end confdefs.h.  */
1.1.1.6   root     11446: #ifdef _CRAY
                   11447: yes
                   11448: #endif
                   11449: 
1.1.1.19  root     11450: _ACEOF
1.1.1.6   root     11451: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     11452:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     11453:   test $ac_cv_func_listmntent = yes \
                   11454: && fu_cv_sys_mounted_cray_listmntent=yes
                   11455: 
                   11456: fi
                   11457: rm -f conftest*
                   11458: 
                   11459: 
                   11460: 
                   11461: fi
                   11462: 
1.1.1.19  root     11463: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_cray_listmntent" >&5
                   11464: echo "${ECHO_T}$fu_cv_sys_mounted_cray_listmntent" >&6
1.1.1.6   root     11465: if test $fu_cv_sys_mounted_cray_listmntent = yes; then
                   11466: list_mounted_fs=found
1.1.1.19  root     11467: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11468: #define MOUNTED_LISTMNTENT 1
1.1.1.19  root     11469: _ACEOF
1.1.1.6   root     11470: 
                   11471: fi
                   11472: fi
                   11473: 
                   11474: if test $ac_cv_func_getmntent = yes; then
                   11475: 
                   11476: # This system has the getmntent function.
                   11477: # Determine whether it's the one-argument variant or the two-argument one.
                   11478: 
                   11479: if test -z "$list_mounted_fs"; then
                   11480: # 4.3BSD, SunOS, HP-UX, Dynix, Irix
1.1.1.19  root     11481: echo "$as_me:$LINENO: checking for one-argument getmntent function" >&5
                   11482: echo $ECHO_N "checking for one-argument getmntent function... $ECHO_C" >&6
                   11483: if test "${fu_cv_sys_mounted_getmntent1+set}" = set; then
                   11484:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11485: else
                   11486:   test $ac_cv_header_mntent_h = yes \
                   11487: && fu_cv_sys_mounted_getmntent1=yes \
                   11488: || fu_cv_sys_mounted_getmntent1=no
                   11489: fi
                   11490: 
1.1.1.19  root     11491: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent1" >&5
                   11492: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent1" >&6
1.1.1.6   root     11493: if test $fu_cv_sys_mounted_getmntent1 = yes; then
                   11494: list_mounted_fs=found
1.1.1.19  root     11495: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11496: #define MOUNTED_GETMNTENT1 1
1.1.1.19  root     11497: _ACEOF
1.1.1.6   root     11498: 
                   11499: fi
                   11500: fi
                   11501: 
                   11502: if test -z "$list_mounted_fs"; then
                   11503: # SVR4
1.1.1.19  root     11504: echo "$as_me:$LINENO: checking for two-argument getmntent function" >&5
                   11505: echo $ECHO_N "checking for two-argument getmntent function... $ECHO_C" >&6
                   11506: if test "${fu_cv_sys_mounted_getmntent2+set}" = set; then
                   11507:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11508: else
                   11509:   cat >conftest.$ac_ext <<_ACEOF
                   11510: /* confdefs.h.  */
                   11511: _ACEOF
                   11512: cat confdefs.h >>conftest.$ac_ext
                   11513: cat >>conftest.$ac_ext <<_ACEOF
                   11514: /* end confdefs.h.  */
1.1.1.6   root     11515: #include <sys/mnttab.h>
1.1.1.19  root     11516: 
                   11517: _ACEOF
1.1.1.6   root     11518: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     11519:   $EGREP "getmntent" >/dev/null 2>&1; then
1.1.1.6   root     11520:   fu_cv_sys_mounted_getmntent2=yes
                   11521: else
                   11522:   fu_cv_sys_mounted_getmntent2=no
                   11523: fi
                   11524: rm -f conftest*
                   11525: 
                   11526: fi
                   11527: 
1.1.1.19  root     11528: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent2" >&5
                   11529: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent2" >&6
1.1.1.6   root     11530: if test $fu_cv_sys_mounted_getmntent2 = yes; then
                   11531: list_mounted_fs=found
1.1.1.19  root     11532: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11533: #define MOUNTED_GETMNTENT2 1
1.1.1.19  root     11534: _ACEOF
1.1.1.6   root     11535: 
                   11536: fi
                   11537: fi
                   11538: 
                   11539: if test -z "$list_mounted_fs"; then
1.1.1.19  root     11540: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
                   11541: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
                   11542:    { (exit 1); exit 1; }; }
1.1.1.6   root     11543: fi
                   11544: 
                   11545: fi
                   11546: 
                   11547: if test -z "$list_mounted_fs"; then
                   11548: # DEC Alpha running OSF/1.
1.1.1.19  root     11549: echo "$as_me:$LINENO: checking for getfsstat function" >&5
                   11550: echo $ECHO_N "checking for getfsstat function... $ECHO_C" >&6
                   11551: if test "${fu_cv_sys_mounted_getsstat+set}" = set; then
                   11552:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11553: else
                   11554:   cat >conftest.$ac_ext <<_ACEOF
                   11555: /* confdefs.h.  */
                   11556: _ACEOF
                   11557: cat confdefs.h >>conftest.$ac_ext
                   11558: cat >>conftest.$ac_ext <<_ACEOF
                   11559: /* end confdefs.h.  */
1.1.1.6   root     11560: 
                   11561: #include <sys/types.h>
                   11562: #include <sys/mount.h>
                   11563: #include <sys/fs_types.h>
1.1.1.19  root     11564: int
                   11565: main ()
                   11566: {
1.1.1.6   root     11567: struct statfs *stats;
1.1.1.19  root     11568: int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
                   11569:   ;
                   11570:   return 0;
                   11571: }
                   11572: _ACEOF
                   11573: rm -f conftest.$ac_objext conftest$ac_exeext
                   11574: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11575:   (eval $ac_link) 2>conftest.er1
                   11576:   ac_status=$?
                   11577:   grep -v '^ *+' conftest.er1 >conftest.err
                   11578:   rm -f conftest.er1
                   11579:   cat conftest.err >&5
                   11580:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11581:   (exit $ac_status); } &&
                   11582:         { ac_try='test -z "$ac_c_werror_flag"
                   11583:                         || test ! -s conftest.err'
                   11584:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11585:   (eval $ac_try) 2>&5
                   11586:   ac_status=$?
                   11587:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11588:   (exit $ac_status); }; } &&
                   11589:         { ac_try='test -s conftest$ac_exeext'
                   11590:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11591:   (eval $ac_try) 2>&5
                   11592:   ac_status=$?
                   11593:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11594:   (exit $ac_status); }; }; then
1.1.1.6   root     11595:   fu_cv_sys_mounted_getsstat=yes
                   11596: else
1.1.1.19  root     11597:   echo "$as_me: failed program was:" >&5
                   11598: sed 's/^/| /' conftest.$ac_ext >&5
                   11599: 
                   11600: fu_cv_sys_mounted_getsstat=no
1.1.1.6   root     11601: fi
1.1.1.19  root     11602: rm -f conftest.err conftest.$ac_objext \
                   11603:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     11604: fi
                   11605: 
1.1.1.19  root     11606: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getsstat" >&5
                   11607: echo "${ECHO_T}$fu_cv_sys_mounted_getsstat" >&6
1.1.1.6   root     11608: if test $fu_cv_sys_mounted_getsstat = yes; then
                   11609: list_mounted_fs=found
1.1.1.19  root     11610: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11611: #define MOUNTED_GETFSSTAT 1
1.1.1.19  root     11612: _ACEOF
1.1.1.6   root     11613: 
                   11614: fi
                   11615: fi
                   11616: 
                   11617: if test -z "$list_mounted_fs"; then
                   11618: # AIX.
1.1.1.19  root     11619: echo "$as_me:$LINENO: checking for mntctl function and struct vmount" >&5
                   11620: echo $ECHO_N "checking for mntctl function and struct vmount... $ECHO_C" >&6
                   11621: if test "${fu_cv_sys_mounted_vmount+set}" = set; then
                   11622:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11623: else
                   11624:   cat >conftest.$ac_ext <<_ACEOF
                   11625: /* confdefs.h.  */
                   11626: _ACEOF
                   11627: cat confdefs.h >>conftest.$ac_ext
                   11628: cat >>conftest.$ac_ext <<_ACEOF
                   11629: /* end confdefs.h.  */
1.1.1.6   root     11630: #include <fshelp.h>
1.1.1.19  root     11631: _ACEOF
                   11632: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11633:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11634:   ac_status=$?
                   11635:   grep -v '^ *+' conftest.er1 >conftest.err
                   11636:   rm -f conftest.er1
                   11637:   cat conftest.err >&5
                   11638:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11639:   (exit $ac_status); } >/dev/null; then
                   11640:   if test -s conftest.err; then
                   11641:     ac_cpp_err=$ac_c_preproc_warn_flag
                   11642:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   11643:   else
                   11644:     ac_cpp_err=
                   11645:   fi
                   11646: else
                   11647:   ac_cpp_err=yes
                   11648: fi
                   11649: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11650:   fu_cv_sys_mounted_vmount=yes
                   11651: else
1.1.1.19  root     11652:   echo "$as_me: failed program was:" >&5
                   11653: sed 's/^/| /' conftest.$ac_ext >&5
                   11654: 
1.1.1.6   root     11655:   fu_cv_sys_mounted_vmount=no
                   11656: fi
1.1.1.19  root     11657: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11658: fi
                   11659: 
1.1.1.19  root     11660: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_vmount" >&5
                   11661: echo "${ECHO_T}$fu_cv_sys_mounted_vmount" >&6
1.1.1.6   root     11662: if test $fu_cv_sys_mounted_vmount = yes; then
                   11663: list_mounted_fs=found
1.1.1.19  root     11664: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11665: #define MOUNTED_VMOUNT 1
1.1.1.19  root     11666: _ACEOF
1.1.1.6   root     11667: 
                   11668: fi
                   11669: fi
                   11670: 
                   11671: if test -z "$list_mounted_fs"; then
                   11672: # SVR3
1.1.1.19  root     11673: echo "$as_me:$LINENO: checking for FIXME existence of three headers" >&5
                   11674: echo $ECHO_N "checking for FIXME existence of three headers... $ECHO_C" >&6
                   11675: if test "${fu_cv_sys_mounted_fread_fstyp+set}" = set; then
                   11676:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11677: else
                   11678:   cat >conftest.$ac_ext <<_ACEOF
                   11679: /* confdefs.h.  */
                   11680: _ACEOF
                   11681: cat confdefs.h >>conftest.$ac_ext
                   11682: cat >>conftest.$ac_ext <<_ACEOF
                   11683: /* end confdefs.h.  */
1.1.1.6   root     11684: 
                   11685: #include <sys/statfs.h>
                   11686: #include <sys/fstyp.h>
                   11687: #include <mnttab.h>
1.1.1.19  root     11688: _ACEOF
                   11689: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11690:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11691:   ac_status=$?
                   11692:   grep -v '^ *+' conftest.er1 >conftest.err
                   11693:   rm -f conftest.er1
                   11694:   cat conftest.err >&5
                   11695:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11696:   (exit $ac_status); } >/dev/null; then
                   11697:   if test -s conftest.err; then
                   11698:     ac_cpp_err=$ac_c_preproc_warn_flag
                   11699:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   11700:   else
                   11701:     ac_cpp_err=
                   11702:   fi
                   11703: else
                   11704:   ac_cpp_err=yes
                   11705: fi
                   11706: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11707:   fu_cv_sys_mounted_fread_fstyp=yes
                   11708: else
1.1.1.19  root     11709:   echo "$as_me: failed program was:" >&5
                   11710: sed 's/^/| /' conftest.$ac_ext >&5
                   11711: 
1.1.1.6   root     11712:   fu_cv_sys_mounted_fread_fstyp=no
                   11713: fi
1.1.1.19  root     11714: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11715: fi
                   11716: 
1.1.1.19  root     11717: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread_fstyp" >&5
                   11718: echo "${ECHO_T}$fu_cv_sys_mounted_fread_fstyp" >&6
1.1.1.6   root     11719: if test $fu_cv_sys_mounted_fread_fstyp = yes; then
                   11720: list_mounted_fs=found
1.1.1.19  root     11721: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11722: #define MOUNTED_FREAD_FSTYP 1
1.1.1.19  root     11723: _ACEOF
1.1.1.6   root     11724: 
                   11725: fi
                   11726: fi
                   11727: 
                   11728: if test -z "$list_mounted_fs"; then
                   11729: # 4.4BSD and DEC OSF/1.
1.1.1.19  root     11730: echo "$as_me:$LINENO: checking for getmntinfo function" >&5
                   11731: echo $ECHO_N "checking for getmntinfo function... $ECHO_C" >&6
                   11732: if test "${fu_cv_sys_mounted_getmntinfo+set}" = set; then
                   11733:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11734: else
1.1.1.19  root     11735: 
1.1.1.6   root     11736: ok=
                   11737: if test $ac_cv_func_getmntinfo = yes; then
1.1.1.19  root     11738: cat >conftest.$ac_ext <<_ACEOF
                   11739: /* confdefs.h.  */
                   11740: _ACEOF
                   11741: cat confdefs.h >>conftest.$ac_ext
                   11742: cat >>conftest.$ac_ext <<_ACEOF
                   11743: /* end confdefs.h.  */
1.1.1.6   root     11744: #include <sys/mount.h>
1.1.1.19  root     11745: 
                   11746: _ACEOF
1.1.1.6   root     11747: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     11748:   $EGREP "f_type;" >/dev/null 2>&1; then
1.1.1.6   root     11749:   ok=yes
                   11750: fi
                   11751: rm -f conftest*
                   11752: 
                   11753: fi
                   11754: test -n "$ok" \
                   11755: && fu_cv_sys_mounted_getmntinfo=yes \
                   11756: || fu_cv_sys_mounted_getmntinfo=no
                   11757: 
                   11758: fi
                   11759: 
1.1.1.19  root     11760: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntinfo" >&5
                   11761: echo "${ECHO_T}$fu_cv_sys_mounted_getmntinfo" >&6
1.1.1.6   root     11762: if test $fu_cv_sys_mounted_getmntinfo = yes; then
                   11763: list_mounted_fs=found
1.1.1.19  root     11764: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11765: #define MOUNTED_GETMNTINFO 1
1.1.1.19  root     11766: _ACEOF
1.1.1.6   root     11767: 
                   11768: fi
                   11769: fi
                   11770: 
                   11771: # FIXME: add a test for netbsd-1.1 here
                   11772: 
                   11773: if test -z "$list_mounted_fs"; then
                   11774: # Ultrix
1.1.1.19  root     11775: echo "$as_me:$LINENO: checking for getmnt function" >&5
                   11776: echo $ECHO_N "checking for getmnt function... $ECHO_C" >&6
                   11777: if test "${fu_cv_sys_mounted_getmnt+set}" = set; then
                   11778:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11779: else
                   11780:   cat >conftest.$ac_ext <<_ACEOF
                   11781: /* confdefs.h.  */
                   11782: _ACEOF
                   11783: cat confdefs.h >>conftest.$ac_ext
                   11784: cat >>conftest.$ac_ext <<_ACEOF
                   11785: /* end confdefs.h.  */
1.1.1.6   root     11786: 
                   11787: #include <sys/fs_types.h>
                   11788: #include <sys/mount.h>
1.1.1.19  root     11789: _ACEOF
                   11790: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11791:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11792:   ac_status=$?
                   11793:   grep -v '^ *+' conftest.er1 >conftest.err
                   11794:   rm -f conftest.er1
                   11795:   cat conftest.err >&5
                   11796:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11797:   (exit $ac_status); } >/dev/null; then
                   11798:   if test -s conftest.err; then
                   11799:     ac_cpp_err=$ac_c_preproc_warn_flag
                   11800:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   11801:   else
                   11802:     ac_cpp_err=
                   11803:   fi
                   11804: else
                   11805:   ac_cpp_err=yes
                   11806: fi
                   11807: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11808:   fu_cv_sys_mounted_getmnt=yes
                   11809: else
1.1.1.19  root     11810:   echo "$as_me: failed program was:" >&5
                   11811: sed 's/^/| /' conftest.$ac_ext >&5
                   11812: 
1.1.1.6   root     11813:   fu_cv_sys_mounted_getmnt=no
                   11814: fi
1.1.1.19  root     11815: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11816: fi
                   11817: 
1.1.1.19  root     11818: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmnt" >&5
                   11819: echo "${ECHO_T}$fu_cv_sys_mounted_getmnt" >&6
1.1.1.6   root     11820: if test $fu_cv_sys_mounted_getmnt = yes; then
                   11821: list_mounted_fs=found
1.1.1.19  root     11822: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11823: #define MOUNTED_GETMNT 1
1.1.1.19  root     11824: _ACEOF
1.1.1.6   root     11825: 
                   11826: fi
                   11827: fi
                   11828: 
                   11829: if test -z "$list_mounted_fs"; then
                   11830: # SVR2
1.1.1.19  root     11831: echo "$as_me:$LINENO: checking whether it is possible to resort to fread on /etc/mnttab" >&5
                   11832: echo $ECHO_N "checking whether it is possible to resort to fread on /etc/mnttab... $ECHO_C" >&6
                   11833: if test "${fu_cv_sys_mounted_fread+set}" = set; then
                   11834:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11835: else
                   11836:   cat >conftest.$ac_ext <<_ACEOF
                   11837: /* confdefs.h.  */
                   11838: _ACEOF
                   11839: cat confdefs.h >>conftest.$ac_ext
                   11840: cat >>conftest.$ac_ext <<_ACEOF
                   11841: /* end confdefs.h.  */
1.1.1.6   root     11842: #include <mnttab.h>
1.1.1.19  root     11843: _ACEOF
                   11844: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11845:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11846:   ac_status=$?
                   11847:   grep -v '^ *+' conftest.er1 >conftest.err
                   11848:   rm -f conftest.er1
                   11849:   cat conftest.err >&5
                   11850:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11851:   (exit $ac_status); } >/dev/null; then
                   11852:   if test -s conftest.err; then
                   11853:     ac_cpp_err=$ac_c_preproc_warn_flag
                   11854:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   11855:   else
                   11856:     ac_cpp_err=
                   11857:   fi
                   11858: else
                   11859:   ac_cpp_err=yes
                   11860: fi
                   11861: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11862:   fu_cv_sys_mounted_fread=yes
                   11863: else
1.1.1.19  root     11864:   echo "$as_me: failed program was:" >&5
                   11865: sed 's/^/| /' conftest.$ac_ext >&5
                   11866: 
1.1.1.6   root     11867:   fu_cv_sys_mounted_fread=no
                   11868: fi
1.1.1.19  root     11869: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11870: fi
                   11871: 
1.1.1.19  root     11872: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread" >&5
                   11873: echo "${ECHO_T}$fu_cv_sys_mounted_fread" >&6
1.1.1.6   root     11874: if test $fu_cv_sys_mounted_fread = yes; then
                   11875: list_mounted_fs=found
1.1.1.19  root     11876: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11877: #define MOUNTED_FREAD 1
1.1.1.19  root     11878: _ACEOF
1.1.1.6   root     11879: 
                   11880: fi
                   11881: fi
                   11882: 
                   11883: if test -z "$list_mounted_fs"; then
1.1.1.19  root     11884: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
                   11885: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
                   11886:    { (exit 1); exit 1; }; }
1.1.1.6   root     11887: # FIXME -- no need to abort building the whole package
                   11888: # Can't build mountlist.c or anything that needs its functions
                   11889: fi
                   11890: 
1.1.1.19  root     11891: { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
                   11892: echo "$as_me: checking how to get filesystem space usage..." >&6;}
1.1.1.6   root     11893: space=no
                   11894: 
                   11895: # Perform only the link test since it seems there are no variants of the
                   11896: # statvfs function.  This check is more than just AC_CHECK_FUNCS(statvfs)
                   11897: # because that got a false positive on SCO OSR5.  Adding the declaration
                   11898: # of a `struct statvfs' causes this test to fail (as it should) on such
                   11899: # systems.  That system is reported to work fine with STAT_STATFS4 which
                   11900: # is what it gets when this test fails.
                   11901: if test $space = no; then
                   11902: # SVR4
1.1.1.19  root     11903: echo "$as_me:$LINENO: checking statvfs function (SVR4)" >&5
                   11904: echo $ECHO_N "checking statvfs function (SVR4)... $ECHO_C" >&6
                   11905: if test "${fu_cv_sys_stat_statvfs+set}" = set; then
                   11906:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11907: else
                   11908:   cat >conftest.$ac_ext <<_ACEOF
                   11909: /* confdefs.h.  */
                   11910: _ACEOF
                   11911: cat confdefs.h >>conftest.$ac_ext
                   11912: cat >>conftest.$ac_ext <<_ACEOF
                   11913: /* end confdefs.h.  */
1.1.1.6   root     11914: #include <sys/types.h>
                   11915: #include <sys/statvfs.h>
1.1.1.19  root     11916: int
                   11917: main ()
                   11918: {
1.1.1.6   root     11919: struct statvfs fsd; statvfs (0, &fsd);
1.1.1.19  root     11920:   ;
                   11921:   return 0;
                   11922: }
                   11923: _ACEOF
                   11924: rm -f conftest.$ac_objext conftest$ac_exeext
                   11925: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11926:   (eval $ac_link) 2>conftest.er1
                   11927:   ac_status=$?
                   11928:   grep -v '^ *+' conftest.er1 >conftest.err
                   11929:   rm -f conftest.er1
                   11930:   cat conftest.err >&5
                   11931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11932:   (exit $ac_status); } &&
                   11933:         { ac_try='test -z "$ac_c_werror_flag"
                   11934:                         || test ! -s conftest.err'
                   11935:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11936:   (eval $ac_try) 2>&5
                   11937:   ac_status=$?
                   11938:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11939:   (exit $ac_status); }; } &&
                   11940:         { ac_try='test -s conftest$ac_exeext'
                   11941:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11942:   (eval $ac_try) 2>&5
                   11943:   ac_status=$?
                   11944:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11945:   (exit $ac_status); }; }; then
1.1.1.6   root     11946:   fu_cv_sys_stat_statvfs=yes
                   11947: else
1.1.1.19  root     11948:   echo "$as_me: failed program was:" >&5
                   11949: sed 's/^/| /' conftest.$ac_ext >&5
                   11950: 
                   11951: fu_cv_sys_stat_statvfs=no
1.1.1.6   root     11952: fi
1.1.1.19  root     11953: rm -f conftest.err conftest.$ac_objext \
                   11954:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     11955: fi
1.1.1.19  root     11956: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
                   11957: echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
1.1.1.6   root     11958: if test $fu_cv_sys_stat_statvfs = yes; then
                   11959: space=yes
1.1.1.19  root     11960: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11961: #define STAT_STATVFS 1
1.1.1.19  root     11962: _ACEOF
1.1.1.6   root     11963: 
                   11964: fi
                   11965: fi
                   11966: 
                   11967: if test $space = no; then
                   11968: # DEC Alpha running OSF/1
1.1.1.19  root     11969: echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
                   11970: echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6
                   11971: if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
                   11972:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11973: else
                   11974:   if test "$cross_compiling" = yes; then
                   11975:   fu_cv_sys_stat_statfs3_osf1=no
                   11976: else
1.1.1.19  root     11977:   cat >conftest.$ac_ext <<_ACEOF
                   11978: /* confdefs.h.  */
                   11979: _ACEOF
                   11980: cat confdefs.h >>conftest.$ac_ext
                   11981: cat >>conftest.$ac_ext <<_ACEOF
                   11982: /* end confdefs.h.  */
1.1.1.6   root     11983: 
                   11984: #include <sys/param.h>
                   11985: #include <sys/types.h>
                   11986: #include <sys/mount.h>
                   11987: main ()
                   11988: {
                   11989: struct statfs fsd;
                   11990: fsd.f_fsize = 0;
                   11991: exit (statfs (".", &fsd, sizeof (struct statfs)));
                   11992: }
1.1.1.19  root     11993: _ACEOF
                   11994: rm -f conftest$ac_exeext
                   11995: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11996:   (eval $ac_link) 2>&5
                   11997:   ac_status=$?
                   11998:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11999:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   12000:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12001:   (eval $ac_try) 2>&5
                   12002:   ac_status=$?
                   12003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12004:   (exit $ac_status); }; }; then
1.1.1.6   root     12005:   fu_cv_sys_stat_statfs3_osf1=yes
                   12006: else
1.1.1.19  root     12007:   echo "$as_me: program exited with status $ac_status" >&5
                   12008: echo "$as_me: failed program was:" >&5
                   12009: sed 's/^/| /' conftest.$ac_ext >&5
                   12010: 
                   12011: ( exit $ac_status )
                   12012: fu_cv_sys_stat_statfs3_osf1=no
1.1.1.6   root     12013: fi
1.1.1.19  root     12014: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12015: fi
                   12016: fi
                   12017: 
1.1.1.19  root     12018: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
                   12019: echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
1.1.1.6   root     12020: if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
                   12021: space=yes
1.1.1.19  root     12022: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12023: #define STAT_STATFS3_OSF1 1
1.1.1.19  root     12024: _ACEOF
1.1.1.6   root     12025: 
                   12026: fi
                   12027: fi
                   12028: 
                   12029: if test $space = no; then
                   12030: # AIX
1.1.1.19  root     12031: echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
                   12032: echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6
                   12033: if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
                   12034:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12035: else
                   12036:   if test "$cross_compiling" = yes; then
                   12037:   fu_cv_sys_stat_statfs2_bsize=no
                   12038: else
1.1.1.19  root     12039:   cat >conftest.$ac_ext <<_ACEOF
                   12040: /* confdefs.h.  */
                   12041: _ACEOF
                   12042: cat confdefs.h >>conftest.$ac_ext
                   12043: cat >>conftest.$ac_ext <<_ACEOF
                   12044: /* end confdefs.h.  */
1.1.1.6   root     12045: 
                   12046: #ifdef HAVE_SYS_PARAM_H
                   12047: #include <sys/param.h>
                   12048: #endif
                   12049: #ifdef HAVE_SYS_MOUNT_H
                   12050: #include <sys/mount.h>
                   12051: #endif
                   12052: #ifdef HAVE_SYS_VFS_H
                   12053: #include <sys/vfs.h>
                   12054: #endif
                   12055: main ()
                   12056: {
                   12057: struct statfs fsd;
                   12058: fsd.f_bsize = 0;
                   12059: exit (statfs (".", &fsd));
                   12060: }
1.1.1.19  root     12061: _ACEOF
                   12062: rm -f conftest$ac_exeext
                   12063: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12064:   (eval $ac_link) 2>&5
                   12065:   ac_status=$?
                   12066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12067:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   12068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12069:   (eval $ac_try) 2>&5
                   12070:   ac_status=$?
                   12071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12072:   (exit $ac_status); }; }; then
1.1.1.6   root     12073:   fu_cv_sys_stat_statfs2_bsize=yes
                   12074: else
1.1.1.19  root     12075:   echo "$as_me: program exited with status $ac_status" >&5
                   12076: echo "$as_me: failed program was:" >&5
                   12077: sed 's/^/| /' conftest.$ac_ext >&5
                   12078: 
                   12079: ( exit $ac_status )
                   12080: fu_cv_sys_stat_statfs2_bsize=no
1.1.1.6   root     12081: fi
1.1.1.19  root     12082: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12083: fi
                   12084: fi
                   12085: 
1.1.1.19  root     12086: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
                   12087: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
1.1.1.6   root     12088: if test $fu_cv_sys_stat_statfs2_bsize = yes; then
                   12089: space=yes
1.1.1.19  root     12090: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12091: #define STAT_STATFS2_BSIZE 1
1.1.1.19  root     12092: _ACEOF
1.1.1.6   root     12093: 
                   12094: fi
                   12095: fi
                   12096: 
                   12097: if test $space = no; then
                   12098: # SVR3
1.1.1.19  root     12099: echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
                   12100: echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6
                   12101: if test "${fu_cv_sys_stat_statfs4+set}" = set; then
                   12102:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12103: else
                   12104:   if test "$cross_compiling" = yes; then
                   12105:   fu_cv_sys_stat_statfs4=no
                   12106: else
1.1.1.19  root     12107:   cat >conftest.$ac_ext <<_ACEOF
                   12108: /* confdefs.h.  */
                   12109: _ACEOF
                   12110: cat confdefs.h >>conftest.$ac_ext
                   12111: cat >>conftest.$ac_ext <<_ACEOF
                   12112: /* end confdefs.h.  */
1.1.1.6   root     12113: #include <sys/types.h>
                   12114: #include <sys/statfs.h>
                   12115: main ()
                   12116: {
                   12117: struct statfs fsd;
                   12118: exit (statfs (".", &fsd, sizeof fsd, 0));
                   12119: }
1.1.1.19  root     12120: _ACEOF
                   12121: rm -f conftest$ac_exeext
                   12122: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12123:   (eval $ac_link) 2>&5
                   12124:   ac_status=$?
                   12125:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12126:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   12127:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12128:   (eval $ac_try) 2>&5
                   12129:   ac_status=$?
                   12130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12131:   (exit $ac_status); }; }; then
1.1.1.6   root     12132:   fu_cv_sys_stat_statfs4=yes
                   12133: else
1.1.1.19  root     12134:   echo "$as_me: program exited with status $ac_status" >&5
                   12135: echo "$as_me: failed program was:" >&5
                   12136: sed 's/^/| /' conftest.$ac_ext >&5
                   12137: 
                   12138: ( exit $ac_status )
                   12139: fu_cv_sys_stat_statfs4=no
1.1.1.6   root     12140: fi
1.1.1.19  root     12141: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12142: fi
                   12143: fi
                   12144: 
1.1.1.19  root     12145: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
                   12146: echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
1.1.1.6   root     12147: if test $fu_cv_sys_stat_statfs4 = yes; then
                   12148: space=yes
1.1.1.19  root     12149: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12150: #define STAT_STATFS4 1
1.1.1.19  root     12151: _ACEOF
1.1.1.6   root     12152: 
                   12153: fi
                   12154: fi
                   12155: 
                   12156: if test $space = no; then
                   12157: # 4.4BSD and NetBSD
1.1.1.19  root     12158: echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
                   12159: echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6
                   12160: if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
                   12161:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12162: else
                   12163:   if test "$cross_compiling" = yes; then
                   12164:   fu_cv_sys_stat_statfs2_fsize=no
                   12165: else
1.1.1.19  root     12166:   cat >conftest.$ac_ext <<_ACEOF
                   12167: /* confdefs.h.  */
                   12168: _ACEOF
                   12169: cat confdefs.h >>conftest.$ac_ext
                   12170: cat >>conftest.$ac_ext <<_ACEOF
                   12171: /* end confdefs.h.  */
1.1.1.6   root     12172: #include <sys/types.h>
                   12173: #ifdef HAVE_SYS_PARAM_H
                   12174: #include <sys/param.h>
                   12175: #endif
                   12176: #ifdef HAVE_SYS_MOUNT_H
                   12177: #include <sys/mount.h>
                   12178: #endif
                   12179: main ()
                   12180: {
                   12181: struct statfs fsd;
                   12182: fsd.f_fsize = 0;
                   12183: exit (statfs (".", &fsd));
                   12184: }
1.1.1.19  root     12185: _ACEOF
                   12186: rm -f conftest$ac_exeext
                   12187: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12188:   (eval $ac_link) 2>&5
                   12189:   ac_status=$?
                   12190:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12191:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   12192:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12193:   (eval $ac_try) 2>&5
                   12194:   ac_status=$?
                   12195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12196:   (exit $ac_status); }; }; then
1.1.1.6   root     12197:   fu_cv_sys_stat_statfs2_fsize=yes
                   12198: else
1.1.1.19  root     12199:   echo "$as_me: program exited with status $ac_status" >&5
                   12200: echo "$as_me: failed program was:" >&5
                   12201: sed 's/^/| /' conftest.$ac_ext >&5
                   12202: 
                   12203: ( exit $ac_status )
                   12204: fu_cv_sys_stat_statfs2_fsize=no
1.1.1.6   root     12205: fi
1.1.1.19  root     12206: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12207: fi
                   12208: fi
                   12209: 
1.1.1.19  root     12210: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
                   12211: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
1.1.1.6   root     12212: if test $fu_cv_sys_stat_statfs2_fsize = yes; then
                   12213: space=yes
1.1.1.19  root     12214: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12215: #define STAT_STATFS2_FSIZE 1
1.1.1.19  root     12216: _ACEOF
1.1.1.6   root     12217: 
                   12218: fi
                   12219: fi
                   12220: 
                   12221: if test $space = no; then
                   12222: # Ultrix
1.1.1.19  root     12223: echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
                   12224: echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6
                   12225: if test "${fu_cv_sys_stat_fs_data+set}" = set; then
                   12226:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12227: else
                   12228:   if test "$cross_compiling" = yes; then
                   12229:   fu_cv_sys_stat_fs_data=no
                   12230: else
1.1.1.19  root     12231:   cat >conftest.$ac_ext <<_ACEOF
                   12232: /* confdefs.h.  */
                   12233: _ACEOF
                   12234: cat confdefs.h >>conftest.$ac_ext
                   12235: cat >>conftest.$ac_ext <<_ACEOF
                   12236: /* end confdefs.h.  */
1.1.1.6   root     12237: #include <sys/types.h>
                   12238: #ifdef HAVE_SYS_PARAM_H
                   12239: #include <sys/param.h>
                   12240: #endif
                   12241: #ifdef HAVE_SYS_MOUNT_H
                   12242: #include <sys/mount.h>
                   12243: #endif
                   12244: #ifdef HAVE_SYS_FS_TYPES_H
                   12245: #include <sys/fs_types.h>
                   12246: #endif
                   12247: main ()
                   12248: {
                   12249: struct fs_data fsd;
                   12250: /* Ultrix's statfs returns 1 for success,
                   12251: 0 for not mounted, -1 for failure.  */
                   12252: exit (statfs (".", &fsd) != 1);
                   12253: }
1.1.1.19  root     12254: _ACEOF
                   12255: rm -f conftest$ac_exeext
                   12256: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12257:   (eval $ac_link) 2>&5
                   12258:   ac_status=$?
                   12259:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12260:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   12261:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12262:   (eval $ac_try) 2>&5
                   12263:   ac_status=$?
                   12264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12265:   (exit $ac_status); }; }; then
1.1.1.6   root     12266:   fu_cv_sys_stat_fs_data=yes
                   12267: else
1.1.1.19  root     12268:   echo "$as_me: program exited with status $ac_status" >&5
                   12269: echo "$as_me: failed program was:" >&5
                   12270: sed 's/^/| /' conftest.$ac_ext >&5
                   12271: 
                   12272: ( exit $ac_status )
                   12273: fu_cv_sys_stat_fs_data=no
1.1.1.6   root     12274: fi
1.1.1.19  root     12275: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12276: fi
                   12277: fi
                   12278: 
1.1.1.19  root     12279: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
                   12280: echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
1.1.1.6   root     12281: if test $fu_cv_sys_stat_fs_data = yes; then
                   12282: space=yes
1.1.1.19  root     12283: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12284: #define STAT_STATFS2_FS_DATA 1
1.1.1.19  root     12285: _ACEOF
1.1.1.6   root     12286: 
                   12287: fi
                   12288: fi
                   12289: 
                   12290: if test $space = no; then
                   12291: # SVR2
1.1.1.19  root     12292: cat >conftest.$ac_ext <<_ACEOF
                   12293: /* confdefs.h.  */
                   12294: _ACEOF
                   12295: cat confdefs.h >>conftest.$ac_ext
                   12296: cat >>conftest.$ac_ext <<_ACEOF
                   12297: /* end confdefs.h.  */
1.1.1.6   root     12298: #include <sys/filsys.h>
1.1.1.19  root     12299: _ACEOF
                   12300: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12301:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12302:   ac_status=$?
                   12303:   grep -v '^ *+' conftest.er1 >conftest.err
                   12304:   rm -f conftest.er1
                   12305:   cat conftest.err >&5
                   12306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12307:   (exit $ac_status); } >/dev/null; then
                   12308:   if test -s conftest.err; then
                   12309:     ac_cpp_err=$ac_c_preproc_warn_flag
                   12310:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   12311:   else
                   12312:     ac_cpp_err=
                   12313:   fi
                   12314: else
                   12315:   ac_cpp_err=yes
                   12316: fi
                   12317: if test -z "$ac_cpp_err"; then
                   12318:   cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12319: #define STAT_READ_FILSYS 1
1.1.1.19  root     12320: _ACEOF
1.1.1.6   root     12321:  space=yes
                   12322: else
1.1.1.19  root     12323:   echo "$as_me: failed program was:" >&5
                   12324: sed 's/^/| /' conftest.$ac_ext >&5
                   12325: 
                   12326: 
1.1.1.6   root     12327: fi
1.1.1.19  root     12328: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12329: fi
                   12330: 
                   12331: if test -n "$list_mounted_fs" && test $space != no; then
                   12332: DF_PROG="df"
1.1.1.19  root     12333: case $LIBOBJS in
                   12334:     "fsusage.$ac_objext"   | \
                   12335:   *" fsusage.$ac_objext"   | \
                   12336:     "fsusage.$ac_objext "* | \
                   12337:   *" fsusage.$ac_objext "* ) ;;
                   12338:   *) LIBOBJS="$LIBOBJS fsusage.$ac_objext" ;;
                   12339: esac
                   12340: 
                   12341: case $LIBOBJS in
                   12342:     "mountlist.$ac_objext"   | \
                   12343:   *" mountlist.$ac_objext"   | \
                   12344:     "mountlist.$ac_objext "* | \
                   12345:   *" mountlist.$ac_objext "* ) ;;
                   12346:   *) LIBOBJS="$LIBOBJS mountlist.$ac_objext" ;;
                   12347: esac
                   12348: 
1.1.1.6   root     12349: fi
1.1.1.4   root     12350: 
1.1.1.19  root     12351: 
1.1.1.6   root     12352: for ac_func in ftruncate
1.1.1.4   root     12353: do
1.1.1.19  root     12354: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12355: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   12356: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   12357: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   12358:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12359: else
                   12360:   cat >conftest.$ac_ext <<_ACEOF
                   12361: /* confdefs.h.  */
                   12362: _ACEOF
                   12363: cat confdefs.h >>conftest.$ac_ext
                   12364: cat >>conftest.$ac_ext <<_ACEOF
                   12365: /* end confdefs.h.  */
                   12366: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   12367:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   12368: #define $ac_func innocuous_$ac_func
                   12369: 
1.1.1.4   root     12370: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     12371:     which can conflict with char $ac_func (); below.
                   12372:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12373:     <limits.h> exists even on freestanding compilers.  */
                   12374: 
                   12375: #ifdef __STDC__
                   12376: # include <limits.h>
                   12377: #else
                   12378: # include <assert.h>
                   12379: #endif
1.1.1.4   root     12380: 
1.1.1.19  root     12381: #undef $ac_func
1.1.1.4   root     12382: 
1.1.1.19  root     12383: /* Override any gcc2 internal prototype to avoid an error.  */
                   12384: #ifdef __cplusplus
                   12385: extern "C"
                   12386: {
                   12387: #endif
                   12388: /* We use char because int might match the return type of a gcc2
                   12389:    builtin and then its argument prototype would still apply.  */
                   12390: char $ac_func ();
1.1.1.4   root     12391: /* The GNU C library defines this for functions which it implements
                   12392:     to always fail with ENOSYS.  Some functions are actually named
                   12393:     something starting with __ and the normal name is an alias.  */
                   12394: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   12395: choke me
                   12396: #else
1.1.1.19  root     12397: char (*f) () = $ac_func;
                   12398: #endif
                   12399: #ifdef __cplusplus
                   12400: }
1.1.1.4   root     12401: #endif
1.1       root     12402: 
1.1.1.19  root     12403: int
                   12404: main ()
                   12405: {
                   12406: return f != $ac_func;
                   12407:   ;
                   12408:   return 0;
                   12409: }
                   12410: _ACEOF
                   12411: rm -f conftest.$ac_objext conftest$ac_exeext
                   12412: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12413:   (eval $ac_link) 2>conftest.er1
                   12414:   ac_status=$?
                   12415:   grep -v '^ *+' conftest.er1 >conftest.err
                   12416:   rm -f conftest.er1
                   12417:   cat conftest.err >&5
                   12418:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12419:   (exit $ac_status); } &&
                   12420:         { ac_try='test -z "$ac_c_werror_flag"
                   12421:                         || test ! -s conftest.err'
                   12422:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12423:   (eval $ac_try) 2>&5
                   12424:   ac_status=$?
                   12425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12426:   (exit $ac_status); }; } &&
                   12427:         { ac_try='test -s conftest$ac_exeext'
                   12428:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12429:   (eval $ac_try) 2>&5
                   12430:   ac_status=$?
                   12431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12432:   (exit $ac_status); }; }; then
                   12433:   eval "$as_ac_var=yes"
                   12434: else
                   12435:   echo "$as_me: failed program was:" >&5
                   12436: sed 's/^/| /' conftest.$ac_ext >&5
                   12437: 
                   12438: eval "$as_ac_var=no"
                   12439: fi
                   12440: rm -f conftest.err conftest.$ac_objext \
                   12441:       conftest$ac_exeext conftest.$ac_ext
                   12442: fi
                   12443: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   12444: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   12445: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   12446:   cat >>confdefs.h <<_ACEOF
                   12447: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   12448: _ACEOF
1.1.1.4   root     12449: 
1.1       root     12450: else
1.1.1.19  root     12451:   ftruncate_missing=yes
1.1       root     12452: fi
                   12453: done
                   12454: 
                   12455: 
1.1.1.6   root     12456: if test "$ftruncate_missing" = yes; then
1.1.1.19  root     12457: echo "$as_me:$LINENO: checking fcntl emulation of ftruncate" >&5
                   12458: echo $ECHO_N "checking fcntl emulation of ftruncate... $ECHO_C" >&6
                   12459: if test "${fu_cv_sys_ftruncate_emulation+set}" = set; then
                   12460:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12461: else
                   12462:   cat >conftest.$ac_ext <<_ACEOF
                   12463: /* confdefs.h.  */
                   12464: _ACEOF
                   12465: cat confdefs.h >>conftest.$ac_ext
                   12466: cat >>conftest.$ac_ext <<_ACEOF
                   12467: /* end confdefs.h.  */
1.1       root     12468: 
1.1.1.2   root     12469: #include <sys/types.h>
1.1.1.6   root     12470: #include <fcntl.h>
1.1.1.19  root     12471: int
                   12472: main ()
                   12473: {
1.1.1.6   root     12474: 
                   12475: #if !defined(F_CHSIZE) && !defined(F_FREESP)
                   12476: chsize();
                   12477: #endif
                   12478: 
1.1.1.19  root     12479:   ;
                   12480:   return 0;
                   12481: }
                   12482: _ACEOF
                   12483: rm -f conftest.$ac_objext conftest$ac_exeext
                   12484: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12485:   (eval $ac_link) 2>conftest.er1
                   12486:   ac_status=$?
                   12487:   grep -v '^ *+' conftest.er1 >conftest.err
                   12488:   rm -f conftest.er1
                   12489:   cat conftest.err >&5
                   12490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12491:   (exit $ac_status); } &&
                   12492:         { ac_try='test -z "$ac_c_werror_flag"
                   12493:                         || test ! -s conftest.err'
                   12494:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12495:   (eval $ac_try) 2>&5
                   12496:   ac_status=$?
                   12497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12498:   (exit $ac_status); }; } &&
                   12499:         { ac_try='test -s conftest$ac_exeext'
                   12500:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12501:   (eval $ac_try) 2>&5
                   12502:   ac_status=$?
                   12503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12504:   (exit $ac_status); }; }; then
1.1.1.6   root     12505:   fu_cv_sys_ftruncate_emulation=yes
1.1       root     12506: else
1.1.1.19  root     12507:   echo "$as_me: failed program was:" >&5
                   12508: sed 's/^/| /' conftest.$ac_ext >&5
                   12509: 
                   12510: fu_cv_sys_ftruncate_emulation=no
1.1       root     12511: fi
1.1.1.19  root     12512: rm -f conftest.err conftest.$ac_objext \
                   12513:       conftest$ac_exeext conftest.$ac_ext
1.1       root     12514: fi
                   12515: 
1.1.1.19  root     12516: echo "$as_me:$LINENO: result: $fu_cv_sys_ftruncate_emulation" >&5
                   12517: echo "${ECHO_T}$fu_cv_sys_ftruncate_emulation" >&6
1.1.1.6   root     12518: if test $fu_cv_sys_ftruncate_emulation = yes; then
1.1.1.19  root     12519: case $LIBOBJS in
                   12520:     "ftruncate.$ac_objext"   | \
                   12521:   *" ftruncate.$ac_objext"   | \
                   12522:     "ftruncate.$ac_objext "* | \
                   12523:   *" ftruncate.$ac_objext "* ) ;;
                   12524:   *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" ;;
                   12525: esac
                   12526: 
1.1.1.6   root     12527: fi
                   12528: fi
                   12529: 
                   12530: # Check for SunOS statfs brokenness wrt partitions 2GB and larger.
                   12531: # If <sys/vfs.h> exists and struct statfs has a member named f_spare,
                   12532: # enable the work-around code in fsusage.c.
1.1.1.19  root     12533: echo "$as_me:$LINENO: checking for statfs that truncates block counts" >&5
                   12534: echo $ECHO_N "checking for statfs that truncates block counts... $ECHO_C" >&6
                   12535: if test "${fu_cv_sys_truncating_statfs+set}" = set; then
                   12536:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12537: else
                   12538:   cat >conftest.$ac_ext <<_ACEOF
                   12539: /* confdefs.h.  */
                   12540: _ACEOF
                   12541: cat confdefs.h >>conftest.$ac_ext
                   12542: cat >>conftest.$ac_ext <<_ACEOF
                   12543: /* end confdefs.h.  */
1.1       root     12544: 
1.1.1.6   root     12545: #if !defined(sun) && !defined(__sun)
                   12546: choke -- this is a workaround for a Sun-specific problem
1.1       root     12547: #endif
1.1.1.6   root     12548: #include <sys/types.h>
1.1       root     12549: #include <sys/vfs.h>
1.1.1.19  root     12550: int
                   12551: main ()
                   12552: {
1.1.1.6   root     12553: struct statfs t; long c = *(t.f_spare);
1.1.1.19  root     12554:   ;
                   12555:   return 0;
                   12556: }
                   12557: _ACEOF
                   12558: rm -f conftest.$ac_objext
                   12559: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   12560:   (eval $ac_compile) 2>conftest.er1
                   12561:   ac_status=$?
                   12562:   grep -v '^ *+' conftest.er1 >conftest.err
                   12563:   rm -f conftest.er1
                   12564:   cat conftest.err >&5
                   12565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12566:   (exit $ac_status); } &&
                   12567:         { ac_try='test -z "$ac_c_werror_flag"
                   12568:                         || test ! -s conftest.err'
                   12569:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12570:   (eval $ac_try) 2>&5
                   12571:   ac_status=$?
                   12572:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12573:   (exit $ac_status); }; } &&
                   12574:         { ac_try='test -s conftest.$ac_objext'
                   12575:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12576:   (eval $ac_try) 2>&5
                   12577:   ac_status=$?
                   12578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12579:   (exit $ac_status); }; }; then
1.1.1.6   root     12580:   fu_cv_sys_truncating_statfs=yes
1.1       root     12581: else
1.1.1.19  root     12582:   echo "$as_me: failed program was:" >&5
                   12583: sed 's/^/| /' conftest.$ac_ext >&5
                   12584: 
                   12585: fu_cv_sys_truncating_statfs=no
1.1.1.6   root     12586: fi
1.1.1.19  root     12587: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12588: fi
                   12589: 
                   12590: if test $fu_cv_sys_truncating_statfs = yes; then
1.1.1.19  root     12591: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12592: #define STATFS_TRUNCATES_BLOCK_COUNTS 1
1.1.1.19  root     12593: _ACEOF
1.1.1.6   root     12594: 
                   12595: fi
1.1.1.19  root     12596: echo "$as_me:$LINENO: result: $fu_cv_sys_truncating_statfs" >&5
                   12597: echo "${ECHO_T}$fu_cv_sys_truncating_statfs" >&6
1.1.1.6   root     12598: 
1.1.1.19  root     12599: { echo "$as_me:$LINENO: checking for AFS..." >&5
                   12600: echo "$as_me: checking for AFS..." >&6;}
                   12601: test -d /afs && cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12602: #define AFS 1
1.1.1.19  root     12603: _ACEOF
1.1.1.6   root     12604: 
                   12605: 
                   12606: fi
                   12607: 
                   12608: if [ $target = "p.os" ]; then
                   12609:     HAVE_POS=yes
                   12610: else
1.1.1.19  root     12611:   echo "$as_me:$LINENO: checking for pOS" >&5
                   12612: echo $ECHO_N "checking for pOS... $ECHO_C" >&6
                   12613:   cat >conftest.$ac_ext <<_ACEOF
                   12614: /* confdefs.h.  */
                   12615: _ACEOF
                   12616: cat confdefs.h >>conftest.$ac_ext
                   12617: cat >>conftest.$ac_ext <<_ACEOF
                   12618: /* end confdefs.h.  */
1.1.1.6   root     12619: #ifdef __POS__
                   12620:     yes
                   12621:   #endif
1.1.1.19  root     12622: 
                   12623: _ACEOF
1.1.1.6   root     12624: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     12625:   $EGREP "yes" >/dev/null 2>&1; then
                   12626:   echo "$as_me:$LINENO: result: yes" >&5
                   12627: echo "${ECHO_T}yes" >&6; HAVE_POS=yes
1.1.1.6   root     12628: else
1.1.1.19  root     12629:   echo "$as_me:$LINENO: result: no" >&5
                   12630: echo "${ECHO_T}no" >&6; HAVE_POS=no
1.1       root     12631: fi
                   12632: rm -f conftest*
1.1.1.6   root     12633: 
1.1       root     12634: fi
                   12635: 
1.1.1.16  root     12636: if test "$SDL_CONFIG" = "not-found" ; then
                   12637:   HAVE_SDL_LIB=no
                   12638: else
                   12639:   HAVE_SDL_LIB=yes
                   12640:   SDL_CFLAGS=`$SDL_CONFIG --cflags`
                   12641:   SDL_LIBS=`$SDL_CONFIG --libs`
                   12642: fi
                   12643: 
                   12644: 
1.1.1.2   root     12645: 
1.1.1.4   root     12646: if [ "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   12647:   if [ "x$ac_cv_header_ncurses_h" = "xno" -a "x$ac_cv_header_curses_h" = "xno" ]; then
                   12648:     echo "Installation problem, found libncurses but neither curses.h nor ncurses.h!"
                   12649:     HAVE_NCURSES_LIB=no
                   12650:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   12651:   else
                   12652:     if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
1.1.1.19  root     12653:       echo "$as_me:$LINENO: checking for attr_t in curses.h" >&5
                   12654: echo $ECHO_N "checking for attr_t in curses.h... $ECHO_C" >&6
                   12655:       cat >conftest.$ac_ext <<_ACEOF
                   12656: /* confdefs.h.  */
                   12657: _ACEOF
                   12658: cat confdefs.h >>conftest.$ac_ext
                   12659: cat >>conftest.$ac_ext <<_ACEOF
                   12660: /* end confdefs.h.  */
1.1.1.4   root     12661: #include <curses.h>
1.1.1.19  root     12662: int
                   12663: main ()
                   12664: {
1.1.1.4   root     12665: { attr_t a; a = A_NORMAL; }
1.1.1.19  root     12666:   ;
                   12667:   return 0;
                   12668: }
                   12669: _ACEOF
                   12670: rm -f conftest.$ac_objext
                   12671: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   12672:   (eval $ac_compile) 2>conftest.er1
                   12673:   ac_status=$?
                   12674:   grep -v '^ *+' conftest.er1 >conftest.err
                   12675:   rm -f conftest.er1
                   12676:   cat conftest.err >&5
                   12677:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12678:   (exit $ac_status); } &&
                   12679:         { ac_try='test -z "$ac_c_werror_flag"
                   12680:                         || test ! -s conftest.err'
                   12681:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12682:   (eval $ac_try) 2>&5
                   12683:   ac_status=$?
                   12684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12685:   (exit $ac_status); }; } &&
                   12686:         { ac_try='test -s conftest.$ac_objext'
                   12687:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12688:   (eval $ac_try) 2>&5
                   12689:   ac_status=$?
                   12690:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12691:   (exit $ac_status); }; }; then
                   12692:   echo "$as_me:$LINENO: result: yes" >&5
                   12693: echo "${ECHO_T}yes" >&6
                   12694: else
                   12695:   echo "$as_me: failed program was:" >&5
                   12696: sed 's/^/| /' conftest.$ac_ext >&5
                   12697: 
                   12698: 
1.1.1.4   root     12699:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.19  root     12700:         echo "$as_me:$LINENO: result: no" >&5
                   12701: echo "${ECHO_T}no" >&6
1.1.1.4   root     12702:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   12703:        echo "Please install a newer version of libncurses if you can."
1.1.1.19  root     12704: 
1.1.1.4   root     12705: fi
1.1.1.19  root     12706: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     12707:     else
1.1.1.19  root     12708:       echo "$as_me:$LINENO: checking for attr_t in ncurses.h" >&5
                   12709: echo $ECHO_N "checking for attr_t in ncurses.h... $ECHO_C" >&6
                   12710:       cat >conftest.$ac_ext <<_ACEOF
                   12711: /* confdefs.h.  */
                   12712: _ACEOF
                   12713: cat confdefs.h >>conftest.$ac_ext
                   12714: cat >>conftest.$ac_ext <<_ACEOF
                   12715: /* end confdefs.h.  */
1.1.1.4   root     12716: #include <ncurses.h>
1.1.1.19  root     12717: int
                   12718: main ()
                   12719: {
1.1.1.4   root     12720: { attr_t a; a = A_NORMAL; }
1.1.1.19  root     12721:   ;
                   12722:   return 0;
                   12723: }
                   12724: _ACEOF
                   12725: rm -f conftest.$ac_objext
                   12726: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   12727:   (eval $ac_compile) 2>conftest.er1
                   12728:   ac_status=$?
                   12729:   grep -v '^ *+' conftest.er1 >conftest.err
                   12730:   rm -f conftest.er1
                   12731:   cat conftest.err >&5
                   12732:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12733:   (exit $ac_status); } &&
                   12734:         { ac_try='test -z "$ac_c_werror_flag"
                   12735:                         || test ! -s conftest.err'
                   12736:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12737:   (eval $ac_try) 2>&5
                   12738:   ac_status=$?
                   12739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12740:   (exit $ac_status); }; } &&
                   12741:         { ac_try='test -s conftest.$ac_objext'
                   12742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12743:   (eval $ac_try) 2>&5
                   12744:   ac_status=$?
                   12745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12746:   (exit $ac_status); }; }; then
                   12747:   echo "$as_me:$LINENO: result: yes" >&5
                   12748: echo "${ECHO_T}yes" >&6
                   12749: else
                   12750:   echo "$as_me: failed program was:" >&5
                   12751: sed 's/^/| /' conftest.$ac_ext >&5
                   12752: 
                   12753: 
1.1.1.4   root     12754:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.19  root     12755:         echo "$as_me:$LINENO: result: no" >&5
                   12756: echo "${ECHO_T}no" >&6
1.1.1.4   root     12757:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   12758:        echo "Please install a newer version of libncurses if you can."
1.1.1.19  root     12759: 
1.1.1.4   root     12760: fi
1.1.1.19  root     12761: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.2   root     12762:     fi
1.1.1.4   root     12763:   fi
1.1.1.2   root     12764: fi
1.1.1.4   root     12765: 
1.1.1.19  root     12766: echo "$as_me:$LINENO: checking for pthread library" >&5
                   12767: echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
1.1.1.6   root     12768: TMP_SAVE_CFLAGS=$CFLAGS
                   12769: TMP_SAVE_LIBS=$LIBS
                   12770: LIBS="$LIBS -lpthread"
1.1.1.19  root     12771: cat >conftest.$ac_ext <<_ACEOF
                   12772: /* confdefs.h.  */
                   12773: _ACEOF
                   12774: cat confdefs.h >>conftest.$ac_ext
                   12775: cat >>conftest.$ac_ext <<_ACEOF
                   12776: /* end confdefs.h.  */
1.1.1.6   root     12777: 
                   12778: #include "confdefs.h"
                   12779: #ifdef HAVE_SYS_TYPES_H
                   12780: #include <sys/types.h>
                   12781: #endif
                   12782: #include <pthread.h>
1.1.1.19  root     12783: int
                   12784: main ()
                   12785: {
1.1.1.6   root     12786: 
                   12787: pthread_exit (0);
1.1.1.10  root     12788: 
1.1.1.19  root     12789:   ;
                   12790:   return 0;
                   12791: }
                   12792: _ACEOF
                   12793: rm -f conftest.$ac_objext conftest$ac_exeext
                   12794: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12795:   (eval $ac_link) 2>conftest.er1
                   12796:   ac_status=$?
                   12797:   grep -v '^ *+' conftest.er1 >conftest.err
                   12798:   rm -f conftest.er1
                   12799:   cat conftest.err >&5
                   12800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12801:   (exit $ac_status); } &&
                   12802:         { ac_try='test -z "$ac_c_werror_flag"
                   12803:                         || test ! -s conftest.err'
                   12804:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12805:   (eval $ac_try) 2>&5
                   12806:   ac_status=$?
                   12807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12808:   (exit $ac_status); }; } &&
                   12809:         { ac_try='test -s conftest$ac_exeext'
                   12810:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12811:   (eval $ac_try) 2>&5
                   12812:   ac_status=$?
                   12813:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12814:   (exit $ac_status); }; }; then
1.1.1.6   root     12815:   HAVE_PTHREAD_LIB=yes
1.1.1.19  root     12816: echo "$as_me:$LINENO: result: yes" >&5
                   12817: echo "${ECHO_T}yes" >&6
1.1.1.6   root     12818: else
1.1.1.19  root     12819:   echo "$as_me: failed program was:" >&5
                   12820: sed 's/^/| /' conftest.$ac_ext >&5
                   12821: 
                   12822: HAVE_PTHREAD_LIB=no
                   12823: echo "$as_me:$LINENO: result: no" >&5
                   12824: echo "${ECHO_T}no" >&6
1.1.1.6   root     12825: fi
1.1.1.19  root     12826: rm -f conftest.err conftest.$ac_objext \
                   12827:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12828: CFLAGS=$TMP_SAVE_CFLAGS
                   12829: LIBS=$TMP_SAVE_LIBS
                   12830: 
1.1.1.19  root     12831: echo "$as_me:$LINENO: checking for DirectX" >&5
                   12832: echo $ECHO_N "checking for DirectX... $ECHO_C" >&6
1.1.1.6   root     12833: TMP_SAVE_CFLAGS=$CFLAGS
                   12834: TMP_SAVE_LIBS=$LIBS
                   12835: CFLAGS="$CFLAGS $X_CFLAGS"
                   12836: LIBS="$LIBS -lddraw"
1.1.1.19  root     12837: cat >conftest.$ac_ext <<_ACEOF
                   12838: /* confdefs.h.  */
                   12839: _ACEOF
                   12840: cat confdefs.h >>conftest.$ac_ext
                   12841: cat >>conftest.$ac_ext <<_ACEOF
                   12842: /* end confdefs.h.  */
1.1.1.6   root     12843: 
                   12844: #include "confdefs.h"
                   12845: #ifdef HAVE_SYS_TYPES_H
                   12846: #include <sys/types.h>
                   12847: #endif
                   12848: #include <windows.h>
                   12849: #include <ddraw.h>
1.1.1.19  root     12850: int
                   12851: main ()
                   12852: {
1.1.1.6   root     12853: 
                   12854: LPDIRECTDRAW lpDD;
                   12855: IDirectDraw_CreateSurface(lpDD, 0, 0, 0);
                   12856: 
1.1.1.19  root     12857:   ;
                   12858:   return 0;
                   12859: }
                   12860: _ACEOF
                   12861: rm -f conftest.$ac_objext conftest$ac_exeext
                   12862: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12863:   (eval $ac_link) 2>conftest.er1
                   12864:   ac_status=$?
                   12865:   grep -v '^ *+' conftest.er1 >conftest.err
                   12866:   rm -f conftest.er1
                   12867:   cat conftest.err >&5
                   12868:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12869:   (exit $ac_status); } &&
                   12870:         { ac_try='test -z "$ac_c_werror_flag"
                   12871:                         || test ! -s conftest.err'
                   12872:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12873:   (eval $ac_try) 2>&5
                   12874:   ac_status=$?
                   12875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12876:   (exit $ac_status); }; } &&
                   12877:         { ac_try='test -s conftest$ac_exeext'
                   12878:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12879:   (eval $ac_try) 2>&5
                   12880:   ac_status=$?
                   12881:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12882:   (exit $ac_status); }; }; then
1.1.1.6   root     12883:   HAVE_DIRECTX=yes
1.1.1.19  root     12884: echo "$as_me:$LINENO: result: yes" >&5
                   12885: echo "${ECHO_T}yes" >&6
1.1.1.6   root     12886: else
1.1.1.19  root     12887:   echo "$as_me: failed program was:" >&5
                   12888: sed 's/^/| /' conftest.$ac_ext >&5
                   12889: 
                   12890: HAVE_DIRECTX=no
                   12891: echo "$as_me:$LINENO: result: no" >&5
                   12892: echo "${ECHO_T}no" >&6
1.1.1.6   root     12893: fi
1.1.1.19  root     12894: rm -f conftest.err conftest.$ac_objext \
                   12895:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12896: CFLAGS=$TMP_SAVE_CFLAGS
                   12897: LIBS=$TMP_SAVE_LIBS
                   12898: 
1.1.1.4   root     12899: DO_PROFILING=no
                   12900: WANT_SVGALIB=dunno
                   12901: WANT_ASCIIART=dunno
                   12902: WANT_UI=dunno
                   12903: WANT_NCURSES_UI=no
                   12904: WANT_DGA=no
                   12905: WANT_VIDMODE=no
                   12906: 
                   12907: # Check whether --enable-profiling or --disable-profiling was given.
                   12908: if test "${enable_profiling+set}" = set; then
                   12909:   enableval="$enable_profiling"
                   12910:   DO_PROFILING=$enableval
1.1.1.19  root     12911: fi;
1.1.1.4   root     12912: 
                   12913: # Check whether --with-svgalib or --without-svgalib was given.
                   12914: if test "${with_svgalib+set}" = set; then
                   12915:   withval="$with_svgalib"
                   12916:   WANT_SVGALIB=$withval
1.1.1.19  root     12917: fi;
1.1.1.2   root     12918: 
1.1.1.16  root     12919: # Check whether --with-sdl or --without-sdl was given.
                   12920: if test "${with_sdl+set}" = set; then
                   12921:   withval="$with_sdl"
                   12922:   WANT_SDL=$withval
1.1.1.19  root     12923: fi;
1.1.1.16  root     12924: 
1.1.1.17  root     12925: # Check whether --with-sdl-sound or --without-sdl-sound was given.
                   12926: if test "${with_sdl_sound+set}" = set; then
                   12927:   withval="$with_sdl_sound"
                   12928:   WANT_SDLSND=$withval
1.1.1.19  root     12929: fi;
1.1.1.17  root     12930: 
                   12931: # Check whether --with-sdl-gfx or --without-sdl-gfx was given.
                   12932: if test "${with_sdl_gfx+set}" = set; then
                   12933:   withval="$with_sdl_gfx"
                   12934:   WANT_SDLGFX=$withval
1.1.1.19  root     12935: fi;
                   12936: 
                   12937: # Check whether --with-alsa or --without-alsa was given.
                   12938: if test "${with_alsa+set}" = set; then
                   12939:   withval="$with_alsa"
                   12940:   WANT_ALSA=$withval
                   12941: fi;
1.1.1.17  root     12942: 
1.1.1.4   root     12943: # Check whether --with-asciiart or --without-asciiart was given.
                   12944: if test "${with_asciiart+set}" = set; then
                   12945:   withval="$with_asciiart"
                   12946:   WANT_ASCIIART=$withval
1.1.1.19  root     12947: fi;
1.1.1.4   root     12948: # Check whether --enable-dga or --disable-dga was given.
                   12949: if test "${enable_dga+set}" = set; then
                   12950:   enableval="$enable_dga"
                   12951:   WANT_DGA=$enableval
1.1.1.19  root     12952: fi;
1.1.1.4   root     12953: # Check whether --enable-vidmode or --disable-vidmode was given.
                   12954: if test "${enable_vidmode+set}" = set; then
                   12955:   enableval="$enable_vidmode"
                   12956:   WANT_VIDMODE=$enableval
1.1.1.19  root     12957: fi;
1.1.1.4   root     12958: # Check whether --enable-ui or --disable-ui was given.
                   12959: if test "${enable_ui+set}" = set; then
                   12960:   enableval="$enable_ui"
                   12961:   WANT_UI=$enableval
1.1.1.19  root     12962: fi;
1.1.1.4   root     12963: 
1.1.1.16  root     12964: # Check whether --with-hostcc or --without-hostcc was given.
                   12965: if test "${with_hostcc+set}" = set; then
                   12966:   withval="$with_hostcc"
                   12967:   HOSTCC=$withval
                   12968: else
                   12969:   HOSTCC=$CC
1.1.1.19  root     12970: fi;
1.1.1.4   root     12971: 
                   12972: 
1.1.1.17  root     12973: if [ "x$WANT_SDLSND" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.19  root     12974:   WANT_SDL=yes
1.1.1.17  root     12975: fi
                   12976: 
                   12977: if [ "x$WANT_SDL" = "xyes" ]; then
                   12978:   if [ "x$HAVE_SDL_LIB" = "xno" ]; then
                   12979:     echo "Could not find libSDL, disabling SDL support."
                   12980:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   12981:     WANT_SDL=no
                   12982:     WANT_SDLSND=no
                   12983:     WANT_SDLGFX=no
                   12984:   else
                   12985:     LIBS="$LIBS $SDL_LIBS"
                   12986:     ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS $SDL_CFLAGS -DUSE_SDL"
                   12987:   fi
                   12988: fi
                   12989: 
1.1.1.19  root     12990: if [ "x$WANT_ALSA" = "xyes" ]; then
                   12991:   LIBS="$LIBS -lasound"
                   12992: fi
                   12993: 
1.1.1.4   root     12994: if [ "x$WANT_DGA" = "xyes" ]; then
1.1.1.17  root     12995:   if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     12996:     echo "You can't enable DGA for SVGAlib, SDL and ncurses targets!"
                   12997:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   12998:     WANT_DGA=no
                   12999:   fi
                   13000: fi
                   13001: 
                   13002: if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.17  root     13003:   if [ "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     13004:     echo "You can't enable both SVGAlib and other targets!"
1.1.1.4   root     13005:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13006:     WANT_DGA=no
                   13007:   fi
                   13008: fi
                   13009: 
                   13010: if [ "x$WANT_DGA" = "xyes" -a "x$no_x" = "xyes" ]; then
                   13011:   echo "Ignoring --enable-dga, since X was disabled or not found."
                   13012:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13013:   WANT_DGA=no
                   13014: fi
                   13015: 
                   13016: if [ "x$WANT_DGA" = "xno" -a "x$WANT_VIDMODE" = "xyes" ]; then
                   13017:   echo "The XF86VidMode extension can only be used in DGA mode. Disabling it."
                   13018:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13019:   WANT_VIDMODE=no
                   13020: fi
                   13021: 
                   13022: 
                   13023: if [ "x$WANT_SVGALIB" = "xyes" ]; then
                   13024:   if [ "x$HAVE_SVGA_LIB" = "xno" ]; then
                   13025:     echo "Could not find libsvga, disabling svgalib support."
                   13026:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13027:     WANT_SVGALIB=no
1.1       root     13028:   else
1.1.1.4   root     13029:     no_x=yes
                   13030:   fi
                   13031: fi
                   13032: 
                   13033: if [ "x$WANT_ASCIIART" = "xyes" ]; then
                   13034:   if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
                   13035:     echo "Could not find libncurses, disabling ascii art support."
                   13036:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13037:     WANT_ASCIIART=no
1.1.1.17  root     13038:   else if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.4   root     13039:     echo "You can't configure for both ncurses and another target. Disabling ncurses."
                   13040:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13041:     WANT_ASCIIART=no
                   13042:   else
                   13043:     no_x=yes
                   13044:   fi
                   13045:   fi
                   13046: fi
                   13047: 
                   13048: 
                   13049: if [ "x$WANT_DGA" = "xyes" ]; then
                   13050:   TMP_SAVE_LIBS=$LIBS
                   13051:   LIBS="$X_LIBS $LIBS"
1.1.1.19  root     13052:   echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
                   13053: echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
                   13054: if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
                   13055:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.2   root     13056: else
1.1.1.19  root     13057:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13058: LIBS="-lXxf86dga  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19  root     13059: cat >conftest.$ac_ext <<_ACEOF
                   13060: /* confdefs.h.  */
                   13061: _ACEOF
                   13062: cat confdefs.h >>conftest.$ac_ext
                   13063: cat >>conftest.$ac_ext <<_ACEOF
                   13064: /* end confdefs.h.  */
                   13065: 
1.1.1.2   root     13066: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     13067: #ifdef __cplusplus
                   13068: extern "C"
                   13069: #endif
1.1.1.2   root     13070: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     13071:    builtin and then its argument prototype would still apply.  */
                   13072: char XF86DGAQueryExtension ();
                   13073: int
                   13074: main ()
                   13075: {
                   13076: XF86DGAQueryExtension ();
                   13077:   ;
                   13078:   return 0;
                   13079: }
                   13080: _ACEOF
                   13081: rm -f conftest.$ac_objext conftest$ac_exeext
                   13082: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13083:   (eval $ac_link) 2>conftest.er1
                   13084:   ac_status=$?
                   13085:   grep -v '^ *+' conftest.er1 >conftest.err
                   13086:   rm -f conftest.er1
                   13087:   cat conftest.err >&5
                   13088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13089:   (exit $ac_status); } &&
                   13090:         { ac_try='test -z "$ac_c_werror_flag"
                   13091:                         || test ! -s conftest.err'
                   13092:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13093:   (eval $ac_try) 2>&5
                   13094:   ac_status=$?
                   13095:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13096:   (exit $ac_status); }; } &&
                   13097:         { ac_try='test -s conftest$ac_exeext'
                   13098:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13099:   (eval $ac_try) 2>&5
                   13100:   ac_status=$?
                   13101:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13102:   (exit $ac_status); }; }; then
                   13103:   ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
                   13104: else
                   13105:   echo "$as_me: failed program was:" >&5
                   13106: sed 's/^/| /' conftest.$ac_ext >&5
                   13107: 
                   13108: ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
                   13109: fi
                   13110: rm -f conftest.err conftest.$ac_objext \
                   13111:       conftest$ac_exeext conftest.$ac_ext
                   13112: LIBS=$ac_check_lib_save_LIBS
                   13113: fi
                   13114: echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
                   13115: echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
                   13116: if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
1.1.1.4   root     13117:   HAVE_DGA=yes
1.1.1.2   root     13118: else
1.1.1.19  root     13119:   HAVE_DGA=no
1.1.1.2   root     13120: fi
                   13121: 
1.1.1.4   root     13122:   LIBS=$TMP_SAVE_LIBS
                   13123:   if [ "x$HAVE_DGA" = "xno" ]; then
                   13124:     echo "Could not find DGA extension, ignoring --enable-dga."
                   13125:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13126:     WANT_DGA=no
1.1.1.3   root     13127:   fi
1.1.1.2   root     13128: fi
                   13129: 
1.1.1.4   root     13130: if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   13131:   TMP_SAVE_LIBS=$LIBS
                   13132:   LIBS="$X_LIBS $LIBS"
1.1.1.19  root     13133:   echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
                   13134: echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
                   13135: if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
                   13136:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     13137: else
1.1.1.19  root     13138:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13139: LIBS="-lXxf86vm  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19  root     13140: cat >conftest.$ac_ext <<_ACEOF
                   13141: /* confdefs.h.  */
                   13142: _ACEOF
                   13143: cat confdefs.h >>conftest.$ac_ext
                   13144: cat >>conftest.$ac_ext <<_ACEOF
                   13145: /* end confdefs.h.  */
                   13146: 
1.1.1.3   root     13147: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19  root     13148: #ifdef __cplusplus
                   13149: extern "C"
                   13150: #endif
1.1.1.3   root     13151: /* We use char because int might match the return type of a gcc2
1.1.1.19  root     13152:    builtin and then its argument prototype would still apply.  */
                   13153: char XF86VidModeQueryExtension ();
                   13154: int
                   13155: main ()
                   13156: {
                   13157: XF86VidModeQueryExtension ();
                   13158:   ;
                   13159:   return 0;
                   13160: }
                   13161: _ACEOF
                   13162: rm -f conftest.$ac_objext conftest$ac_exeext
                   13163: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13164:   (eval $ac_link) 2>conftest.er1
                   13165:   ac_status=$?
                   13166:   grep -v '^ *+' conftest.er1 >conftest.err
                   13167:   rm -f conftest.er1
                   13168:   cat conftest.err >&5
                   13169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13170:   (exit $ac_status); } &&
                   13171:         { ac_try='test -z "$ac_c_werror_flag"
                   13172:                         || test ! -s conftest.err'
                   13173:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13174:   (eval $ac_try) 2>&5
                   13175:   ac_status=$?
                   13176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13177:   (exit $ac_status); }; } &&
                   13178:         { ac_try='test -s conftest$ac_exeext'
                   13179:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13180:   (eval $ac_try) 2>&5
                   13181:   ac_status=$?
                   13182:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13183:   (exit $ac_status); }; }; then
                   13184:   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
                   13185: else
                   13186:   echo "$as_me: failed program was:" >&5
                   13187: sed 's/^/| /' conftest.$ac_ext >&5
                   13188: 
                   13189: ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
                   13190: fi
                   13191: rm -f conftest.err conftest.$ac_objext \
                   13192:       conftest$ac_exeext conftest.$ac_ext
                   13193: LIBS=$ac_check_lib_save_LIBS
                   13194: fi
                   13195: echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
                   13196: echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
                   13197: if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
1.1.1.4   root     13198:   HAVE_VIDMODE=yes
1.1.1.3   root     13199: else
1.1.1.19  root     13200:   HAVE_VIDMODE=no
1.1.1.3   root     13201: fi
                   13202: 
1.1.1.4   root     13203:   LIBS=$TMP_SAVE_LIBS
                   13204:   if [ "x$HAVE_VIDMODE" = "xno" ]; then
                   13205:     echo "Could not find VidMode extension, ignoring --enable-vidmode."
                   13206:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13207:     WANT_VIDMODE=no
1.1.1.3   root     13208:   fi
1.1.1.4   root     13209: fi
                   13210: 
1.1.1.20  root     13211: #GTK_PACKAGES="gtk+-2.0"
                   13212: #GTK_REQUIRED_VERSION=2.1.3
                   13213: #PKG_CHECK_MODULES(DEPS, $GTK_PACKAGES >= $GTK_REQUIRED_VERSION)
                   13214: #GTK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES $GTK_PACKAGES $LIBGNOMECANVAS_PACKAGES`
                   13215: #GTK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES $GTK_PACKAGES $LIBGNOMECANVAS_PACKAGES`
1.1.1.19  root     13216: 
1.1.1.4   root     13217: # Check whether --enable-gtktest or --disable-gtktest was given.
                   13218: if test "${enable_gtktest+set}" = set; then
                   13219:   enableval="$enable_gtktest"
1.1.1.19  root     13220: 
1.1.1.4   root     13221: else
                   13222:   enable_gtktest=yes
1.1.1.19  root     13223: fi;
1.1.1.4   root     13224: 
1.1.1.20  root     13225:   pkg_config_args=gtk+-2.0
1.1.1.19  root     13226:   for module in .
                   13227:   do
                   13228:       case "$module" in
                   13229:          gthread)
1.1.1.20  root     13230:              pkg_config_args="$pkg_config_args gthread-2.0"
1.1.1.19  root     13231:          ;;
                   13232:       esac
                   13233:   done
1.1.1.4   root     13234: 
1.1.1.20  root     13235:   no_gtk=""
1.1.1.4   root     13236: 
1.1.1.20  root     13237:   # Extract the first word of "pkg-config", so it can be a program name with args.
                   13238: set dummy pkg-config; ac_word=$2
1.1.1.19  root     13239: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   13240: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.1.1.20  root     13241: if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.1.1.19  root     13242:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     13243: else
1.1.1.20  root     13244:   case $PKG_CONFIG in
1.1.1.19  root     13245:   [\\/]* | ?:[\\/]*)
1.1.1.20  root     13246:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.1.1.4   root     13247:   ;;
                   13248:   *)
1.1.1.19  root     13249:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   13250: for as_dir in $PATH
                   13251: do
                   13252:   IFS=$as_save_IFS
                   13253:   test -z "$as_dir" && as_dir=.
                   13254:   for ac_exec_ext in '' $ac_executable_extensions; do
                   13255:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.20  root     13256:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.1.1.19  root     13257:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   13258:     break 2
                   13259:   fi
                   13260: done
                   13261: done
                   13262: 
1.1.1.20  root     13263:   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.1.1.4   root     13264:   ;;
                   13265: esac
                   13266: fi
1.1.1.20  root     13267: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1.1.1.19  root     13268: 
1.1.1.20  root     13269: if test -n "$PKG_CONFIG"; then
                   13270:   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
                   13271: echo "${ECHO_T}$PKG_CONFIG" >&6
1.1.1.4   root     13272: else
1.1.1.19  root     13273:   echo "$as_me:$LINENO: result: no" >&5
                   13274: echo "${ECHO_T}no" >&6
1.1.1.4   root     13275: fi
                   13276: 
1.1.1.20  root     13277: 
                   13278:   if test x$PKG_CONFIG != xno ; then
                   13279:     if pkg-config --atleast-pkgconfig-version 0.7 ; then
                   13280:       :
                   13281:     else
                   13282:       echo *** pkg-config too old; version 0.7 or better required.
                   13283:       no_gtk=yes
                   13284:       PKG_CONFIG=no
                   13285:     fi
1.1.1.4   root     13286:   else
1.1.1.20  root     13287:     no_gtk=yes
                   13288:   fi
                   13289: 
                   13290:   min_gtk_version=2.0.0
                   13291:   echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
                   13292: echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
                   13293: 
                   13294:   if test x$PKG_CONFIG != xno ; then
                   13295:     ## don't try to run the test against uninstalled libtool libs
                   13296:     if $PKG_CONFIG --uninstalled $pkg_config_args; then
                   13297:          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
                   13298:          enable_gtktest=no
                   13299:     fi
                   13300: 
                   13301:     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
                   13302:          :
                   13303:     else
                   13304:          no_gtk=yes
                   13305:     fi
                   13306:   fi
                   13307: 
                   13308:   if test x"$no_gtk" = x ; then
                   13309:     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
                   13310:     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
                   13311:     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     13312:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
1.1.1.20  root     13313:     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     13314:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
1.1.1.20  root     13315:     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     13316:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
                   13317:     if test "x$enable_gtktest" = "xyes" ; then
                   13318:       ac_save_CFLAGS="$CFLAGS"
                   13319:       ac_save_LIBS="$LIBS"
                   13320:       CFLAGS="$CFLAGS $GTK_CFLAGS"
1.1.1.19  root     13321:       LIBS="$GTK_LIBS $LIBS"
1.1.1.4   root     13322:       rm -f conf.gtktest
                   13323:       if test "$cross_compiling" = yes; then
                   13324:   echo $ac_n "cross compiling; assumed OK... $ac_c"
                   13325: else
1.1.1.19  root     13326:   cat >conftest.$ac_ext <<_ACEOF
                   13327: /* confdefs.h.  */
                   13328: _ACEOF
                   13329: cat confdefs.h >>conftest.$ac_ext
                   13330: cat >>conftest.$ac_ext <<_ACEOF
                   13331: /* end confdefs.h.  */
1.1.1.4   root     13332: 
                   13333: #include <gtk/gtk.h>
                   13334: #include <stdio.h>
1.1.1.19  root     13335: #include <stdlib.h>
1.1.1.4   root     13336: 
1.1.1.19  root     13337: int
1.1.1.4   root     13338: main ()
1.1.1.3   root     13339: {
1.1.1.4   root     13340:   int major, minor, micro;
1.1.1.19  root     13341:   char *tmp_version;
1.1.1.4   root     13342: 
                   13343:   system ("touch conf.gtktest");
                   13344: 
1.1.1.19  root     13345:   /* HP/UX 9 (%@#!) writes to sscanf strings */
                   13346:   tmp_version = g_strdup("$min_gtk_version");
                   13347:   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1.1.1.4   root     13348:      printf("%s, bad version string\n", "$min_gtk_version");
                   13349:      exit(1);
                   13350:    }
                   13351: 
                   13352:   if ((gtk_major_version != $gtk_config_major_version) ||
                   13353:       (gtk_minor_version != $gtk_config_minor_version) ||
                   13354:       (gtk_micro_version != $gtk_config_micro_version))
                   13355:     {
1.1.1.20  root     13356:       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1.1.1.4   root     13357:              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
                   13358:              gtk_major_version, gtk_minor_version, gtk_micro_version);
1.1.1.20  root     13359:       printf ("*** was found! If pkg-config was correct, then it is best\n");
1.1.1.4   root     13360:       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
                   13361:       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
                   13362:       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
                   13363:       printf("*** required on your system.\n");
1.1.1.20  root     13364:       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
                   13365:       printf("*** to point to the correct configuration files\n");
1.1.1.19  root     13366:     }
                   13367:   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
                   13368:           (gtk_minor_version != GTK_MINOR_VERSION) ||
                   13369:            (gtk_micro_version != GTK_MICRO_VERSION))
                   13370:     {
                   13371:       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
                   13372:             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
                   13373:       printf("*** library (version %d.%d.%d)\n",
                   13374:             gtk_major_version, gtk_minor_version, gtk_micro_version);
                   13375:     }
1.1.1.4   root     13376:   else
                   13377:     {
                   13378:       if ((gtk_major_version > major) ||
                   13379:         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
                   13380:         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
                   13381:       {
                   13382:         return 0;
                   13383:        }
                   13384:      else
                   13385:       {
                   13386:         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
                   13387:                gtk_major_version, gtk_minor_version, gtk_micro_version);
                   13388:         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
                   13389:               major, minor, micro);
                   13390:         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
                   13391:         printf("***\n");
                   13392:         printf("*** If you have already installed a sufficiently new version, this error\n");
1.1.1.20  root     13393:         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1.1.1.4   root     13394:         printf("*** being found. The easiest way to fix this is to remove the old version\n");
1.1.1.20  root     13395:         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
                   13396:         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1.1.1.4   root     13397:         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
                   13398:         printf("*** so that the correct libraries are found at run-time))\n");
                   13399:       }
                   13400:     }
                   13401:   return 1;
1.1.1.3   root     13402: }
1.1.1.4   root     13403: 
1.1.1.19  root     13404: _ACEOF
                   13405: rm -f conftest$ac_exeext
                   13406: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13407:   (eval $ac_link) 2>&5
                   13408:   ac_status=$?
                   13409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13410:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   13411:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13412:   (eval $ac_try) 2>&5
                   13413:   ac_status=$?
                   13414:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13415:   (exit $ac_status); }; }; then
1.1.1.4   root     13416:   :
                   13417: else
1.1.1.19  root     13418:   echo "$as_me: program exited with status $ac_status" >&5
                   13419: echo "$as_me: failed program was:" >&5
                   13420: sed 's/^/| /' conftest.$ac_ext >&5
                   13421: 
                   13422: ( exit $ac_status )
                   13423: no_gtk=yes
1.1.1.4   root     13424: fi
1.1.1.19  root     13425: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     13426: fi
                   13427:        CFLAGS="$ac_save_CFLAGS"
                   13428:        LIBS="$ac_save_LIBS"
                   13429:      fi
                   13430:   fi
                   13431:   if test "x$no_gtk" = x ; then
1.1.1.20  root     13432:      echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
                   13433: echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
1.1.1.19  root     13434:      :
1.1.1.4   root     13435:   else
1.1.1.19  root     13436:      echo "$as_me:$LINENO: result: no" >&5
                   13437: echo "${ECHO_T}no" >&6
1.1.1.20  root     13438:      if test "$PKG_CONFIG" = "no" ; then
                   13439:        echo "*** A new enough version of pkg-config was not found."
                   13440:        echo "*** See http://pkgconfig.sourceforge.net"
1.1.1.4   root     13441:      else
                   13442:        if test -f conf.gtktest ; then
                   13443:         :
                   13444:        else
1.1.1.20  root     13445:           echo "*** Could not run GTK+ test program, checking why..."
                   13446:          ac_save_CFLAGS="$CFLAGS"
                   13447:          ac_save_LIBS="$LIBS"
1.1.1.4   root     13448:           CFLAGS="$CFLAGS $GTK_CFLAGS"
                   13449:           LIBS="$LIBS $GTK_LIBS"
1.1.1.19  root     13450:           cat >conftest.$ac_ext <<_ACEOF
                   13451: /* confdefs.h.  */
                   13452: _ACEOF
                   13453: cat confdefs.h >>conftest.$ac_ext
                   13454: cat >>conftest.$ac_ext <<_ACEOF
                   13455: /* end confdefs.h.  */
1.1.1.4   root     13456: 
                   13457: #include <gtk/gtk.h>
                   13458: #include <stdio.h>
                   13459: 
1.1.1.19  root     13460: int
                   13461: main ()
                   13462: {
                   13463:  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
                   13464:   ;
                   13465:   return 0;
                   13466: }
                   13467: _ACEOF
                   13468: rm -f conftest.$ac_objext conftest$ac_exeext
                   13469: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13470:   (eval $ac_link) 2>conftest.er1
                   13471:   ac_status=$?
                   13472:   grep -v '^ *+' conftest.er1 >conftest.err
                   13473:   rm -f conftest.er1
                   13474:   cat conftest.err >&5
                   13475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13476:   (exit $ac_status); } &&
                   13477:         { ac_try='test -z "$ac_c_werror_flag"
                   13478:                         || test ! -s conftest.err'
                   13479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13480:   (eval $ac_try) 2>&5
                   13481:   ac_status=$?
                   13482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13483:   (exit $ac_status); }; } &&
                   13484:         { ac_try='test -s conftest$ac_exeext'
                   13485:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13486:   (eval $ac_try) 2>&5
                   13487:   ac_status=$?
                   13488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13489:   (exit $ac_status); }; }; then
1.1.1.4   root     13490:    echo "*** The test program compiled, but did not run. This usually means"
1.1.1.20  root     13491:           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
                   13492:           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
1.1.1.4   root     13493:           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
                   13494:           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
                   13495:           echo "*** is required on your system"
                   13496:          echo "***"
                   13497:           echo "*** If you have an old version installed, it is best to remove it, although"
                   13498:           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
                   13499: else
1.1.1.19  root     13500:   echo "$as_me: failed program was:" >&5
                   13501: sed 's/^/| /' conftest.$ac_ext >&5
                   13502: 
                   13503:  echo "*** The test program failed to compile or link. See the file config.log for the"
1.1.1.20  root     13504:           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
1.1.1.4   root     13505: fi
1.1.1.19  root     13506: rm -f conftest.err conftest.$ac_objext \
                   13507:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     13508:           CFLAGS="$ac_save_CFLAGS"
                   13509:           LIBS="$ac_save_LIBS"
                   13510:        fi
                   13511:      fi
                   13512:      GTK_CFLAGS=""
                   13513:      GTK_LIBS=""
                   13514:      :
1.1.1.3   root     13515:   fi
1.1.1.19  root     13516: 
                   13517: 
1.1.1.4   root     13518:   rm -f conf.gtktest
1.1.1.3   root     13519: 
1.1.1.4   root     13520: 
                   13521: 
                   13522: SHM_SUPPORT_LINKS=0
1.1.1.6   root     13523: if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
1.1.1.19  root     13524:   echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
                   13525: echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6
1.1.1.4   root     13526:   TMP_SAVE_CFLAGS=$CFLAGS
                   13527:   TMP_SAVE_LIBS=$LIBS
                   13528:   CFLAGS="$CFLAGS $X_CFLAGS"
                   13529:   LIBS="$X_LIBS $LIBS $X_PRE_LIBS -lX11 -lXext $X_EXTRA_LIBS"
1.1.1.19  root     13530:   cat >conftest.$ac_ext <<_ACEOF
                   13531: /* confdefs.h.  */
                   13532: _ACEOF
                   13533: cat confdefs.h >>conftest.$ac_ext
                   13534: cat >>conftest.$ac_ext <<_ACEOF
                   13535: /* end confdefs.h.  */
1.1.1.2   root     13536: 
1.1.1.4   root     13537: #include "confdefs.h"
                   13538: #ifdef HAVE_SYS_TYPES_H
                   13539: #include <sys/types.h>
                   13540: #endif
                   13541: #include <X11/Xlib.h>
                   13542: #include <X11/Xutil.h>
                   13543: #include <X11/keysym.h>
                   13544: #include <X11/cursorfont.h>
                   13545: #include <sys/ipc.h>
                   13546: #include <sys/shm.h>
                   13547: #include <X11/extensions/XShm.h>
1.1.1.19  root     13548: int
                   13549: main ()
                   13550: {
1.1.1.4   root     13551: 
                   13552: static XShmSegmentInfo shminfo;
                   13553: static Display *display;
                   13554: XShmAttach(display, &shminfo);
                   13555: XSync(display,0);
                   13556: shmctl(shminfo.shmid, IPC_RMID, 0);
1.1.1.10  root     13557: 
1.1.1.19  root     13558:   ;
                   13559:   return 0;
                   13560: }
                   13561: _ACEOF
                   13562: rm -f conftest.$ac_objext conftest$ac_exeext
                   13563: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13564:   (eval $ac_link) 2>conftest.er1
                   13565:   ac_status=$?
                   13566:   grep -v '^ *+' conftest.er1 >conftest.err
                   13567:   rm -f conftest.er1
                   13568:   cat conftest.err >&5
                   13569:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13570:   (exit $ac_status); } &&
                   13571:         { ac_try='test -z "$ac_c_werror_flag"
                   13572:                         || test ! -s conftest.err'
                   13573:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13574:   (eval $ac_try) 2>&5
                   13575:   ac_status=$?
                   13576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13577:   (exit $ac_status); }; } &&
                   13578:         { ac_try='test -s conftest$ac_exeext'
                   13579:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13580:   (eval $ac_try) 2>&5
                   13581:   ac_status=$?
                   13582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13583:   (exit $ac_status); }; }; then
1.1.1.4   root     13584:   SHM_SUPPORT_LINKS=1
1.1.1.19  root     13585: echo "$as_me:$LINENO: result: yes" >&5
                   13586: echo "${ECHO_T}yes" >&6
1.1       root     13587: else
1.1.1.19  root     13588:   echo "$as_me: failed program was:" >&5
                   13589: sed 's/^/| /' conftest.$ac_ext >&5
                   13590: 
                   13591: SHM_SUPPORT_LINKS=0
                   13592: echo "$as_me:$LINENO: result: no" >&5
                   13593: echo "${ECHO_T}no" >&6
1.1       root     13594: fi
1.1.1.19  root     13595: rm -f conftest.err conftest.$ac_objext \
                   13596:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     13597:   CFLAGS=$TMP_SAVE_CFLAGS
                   13598:   LIBS=$TMP_SAVE_LIBS
1.1       root     13599: fi
                   13600: 
1.1.1.4   root     13601: MATHLIB=-lm
                   13602: DEBUGOBJS="debug.o"
                   13603: 
1.1.1.19  root     13604: echo "$as_me:$LINENO: checking which target to use" >&5
                   13605: echo $ECHO_N "checking which target to use... $ECHO_C" >&6
1.1.1.4   root     13606: 
1.1.1.17  root     13607: if [ "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.19  root     13608:   echo "$as_me:$LINENO: result: SDL" >&5
                   13609: echo "${ECHO_T}SDL" >&6
1.1.1.17  root     13610:   MATHLIB=
                   13611:   TARGET=x11
                   13612:   GFXOBJS="sdlgfx.o"
                   13613:   # @@@ Kludge.  This may get changed later.
                   13614:   TARGETDEP=t-x11.h
                   13615: else if [ "x$HAVE_DIRECTX" = "xyes" ]; then
1.1.1.19  root     13616:   echo "$as_me:$LINENO: result: Win32/DirectX" >&5
                   13617: echo "${ECHO_T}Win32/DirectX" >&6
1.1.1.6   root     13618:   MATHLIB=
                   13619:   TARGET=win32
                   13620:   TARGETDEP=t-win32.h
1.1.1.17  root     13621:   GFXOBJS="osdep/win32.o osdep/parser.o osdep/keyboard.o osdep/posixemu.o"
1.1.1.6   root     13622:   RESOBJS="osdep/winuae.res"
                   13623: else if [ "x$HAVE_BEOS" = "xyes" ]; then
1.1.1.19  root     13624:   echo "$as_me:$LINENO: result: BeOS" >&5
                   13625: echo "${ECHO_T}BeOS" >&6
1.1.1.4   root     13626:   MATHLIB=
                   13627:   TARGET=beos
                   13628:   TARGETDEP=t-beos.h
                   13629:   GFXOBJS=osdep/beos.o
                   13630:   OPTIMIZE_CFLAGS=-O7
                   13631: else if [ "x$HAVE_POS" = "xyes" ]; then
1.1.1.19  root     13632:   echo "$as_me:$LINENO: result: p.OS" >&5
                   13633: echo "${ECHO_T}p.OS" >&6
1.1.1.4   root     13634:   TARGET=p_os
                   13635:   TARGETDEP=t-pos.h
                   13636:   GFXOBJS="osdep/pos-win.o osdep/pos-disk.o osdep/pos-rexx.o"
                   13637: else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
1.1.1.19  root     13638:   echo "$as_me:$LINENO: result: AmigaOS" >&5
                   13639: echo "${ECHO_T}AmigaOS" >&6
1.1.1.4   root     13640:   TARGET=amigaos
                   13641:   TARGETDEP=t-amiga.h
                   13642:   GFXOBJS="osdep/ami-win.o osdep/ami-disk.o osdep/ami-rexx.o osdep/ami-appw.o"
                   13643: else if [ "x$HAVE_NEXT_LIB" = "xyes" ]; then
1.1.1.19  root     13644:   echo "$as_me:$LINENO: result: NeXTStep" >&5
                   13645: echo "${ECHO_T}NeXTStep" >&6
1.1.1.4   root     13646:   MATHLIB=
                   13647:   TARGET=next
                   13648:   GFXOBJS="NeXTwin.o"
                   13649:   TARGETDEP=t-next.h
                   13650:   LIBRARIES="-sectcreate __ICON __header ../Uae.app/Uae.iconheader -segprot __ICON r r -sectcreate __ICON app ../Uae.app/Uae.tiff -lMedia_s -lNeXT_s"
                   13651: else
1.1.1.19  root     13652: 
1.1.1.4   root     13653:   if [ "x$no_x" = "xyes" ]; then
1.1.1.13  root     13654:     if [ "x$WANT_SVGALIB" != "xyes" -a "x$WANT_ASCIIART" != "xyes" ]; then
1.1.1.4   root     13655:       if [ "x$WANT_SVGALIB" != "xno" -a "x$HAVE_SVGA_LIB" = "xyes" ]; then
                   13656:         WANT_SVGALIB=yes
                   13657:       else if [ "x$WANT_ASCIIART" != "xno" -a "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   13658:         WANT_ASCIIART=yes
                   13659:       fi
                   13660:       fi
                   13661:     fi
1.1.1.3   root     13662:   fi
1.1.1.4   root     13663: 
1.1.1.13  root     13664:   if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.19  root     13665:     echo "$as_me:$LINENO: result: SVGAlib" >&5
                   13666: echo "${ECHO_T}SVGAlib" >&6
1.1.1.4   root     13667:     TARGET=svgalib
                   13668:     TARGETDEP=t-svgalib.h
                   13669:     GFXOBJS=svga.o
                   13670:     LIBRARIES="-lvga"
                   13671:     WANT_NCURSES_UI=yes
                   13672:   else if [ "x$WANT_ASCIIART" = "xyes" ]; then
1.1.1.19  root     13673:     echo "$as_me:$LINENO: result: ncurses ASCII art" >&5
                   13674: echo "${ECHO_T}ncurses ASCII art" >&6
1.1.1.4   root     13675:     TARGET=asciiart
                   13676:     TARGETDEP=t-ascii.h
                   13677:     GFXOBJS="ncurses.o"
1.1.1.17  root     13678:     WANT_NCURSES_UI=yes
1.1.1.4   root     13679:     LIBRARIES="-lncurses"
                   13680:   else if [ "x$no_x" = "xyes" ]; then
1.1.1.19  root     13681:     echo "$as_me:$LINENO: result: Ummm...." >&5
                   13682: echo "${ECHO_T}Ummm...." >&6
1.1.1.4   root     13683:     echo "Fatal error: No graphics system found, don't know what target to use."
                   13684:     exit 1
                   13685:   else
1.1.1.19  root     13686:     echo "$as_me:$LINENO: result: X11" >&5
                   13687: echo "${ECHO_T}X11" >&6
1.1.1.4   root     13688:     TARGET=x11
                   13689:     TARGETDEP=t-x11.h
1.1.1.21! root     13690:     GFXOBJS="xwin.o x11keys.o"
1.1.1.4   root     13691: 
                   13692:     LIBRARIES="$X_LIBS $X_PRE_LIBS"
                   13693:         if [ "x$WANT_DGA" = "xyes" ]; then
                   13694:       LIBRARIES="$LIBRARIES -lXxf86dga"
                   13695:       X_CFLAGS="$X_CFLAGS -DUSE_DGA_EXTENSION"
                   13696:       if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   13697:         LIBRARIES="$LIBRARIES -lXxf86vm"
                   13698:        X_CFLAGS="$X_CFLAGS -DUSE_VIDMODE_EXTENSION"
                   13699:       fi
                   13700:     fi
                   13701:     LIBRARIES="$LIBRARIES -lXext -lX11 $X_EXTRA_LIBS"
                   13702:   fi
                   13703:   fi
                   13704:   fi
1.1       root     13705: fi
1.1.1.3   root     13706: fi
                   13707: fi
                   13708: fi
1.1.1.6   root     13709: fi
1.1.1.17  root     13710: fi
1.1       root     13711: 
1.1.1.17  root     13712: if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   13713:   TARGETDEP=t-win32.h
                   13714:   TARGET=win32
                   13715: fi
                   13716: 
                   13717: if [ "x$WANT_UI" != "xno" ]; then
                   13718:   if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   13719:     GUIOBJS=osdep/win32gui.o
                   13720:   else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
                   13721:     GUIOBJS="osdep/ami-gui.o"
                   13722:   else if [ "x$HAVE_POS" = "xyes" ]; then
                   13723:     GUIOBJS="osdep/pos-gui.o"
                   13724:   else if [ "x$WANT_NCURSES_UI" = "xyes" ]; then
                   13725:     if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
1.1.1.4   root     13726:       echo "ncurses is unavailable, can't provide a user interface"
1.1.1.17  root     13727:       if [ "x$WANT_UI" = "xyes" ]; then
                   13728:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   13729:       fi
                   13730:       WANT_UI=no
                   13731:       GUIOBJS=nogui.o
                   13732:     else
                   13733:       GUIOBJS="tui.o svgancui.o"
                   13734:       LIBRARIES="$LIBRARIES -lncurses"
                   13735:       ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_CURSES_UI"
                   13736:       if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
                   13737:         echo "Found libncurses, but no ncurses.h. This is normal with recent versions"
                   13738:         echo "of ncurses, but it might indicate a problem with older versions."
                   13739:         NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   13740:       fi
1.1.1.4   root     13741:     fi
1.1.1.17  root     13742:   else if [ "x$no_x" != "xno" ]; then
                   13743:     if [ "x$no_gtk" = "xyes" ]; then
                   13744:       echo "Did not find gtk+, disabling user interface"
                   13745:       GTK_CFLAGS=
1.1.1.18  root     13746:       GUIOBJS=nogui.o
1.1.1.17  root     13747:       if [ "x$WANT_UI" = "xyes" ]; then
                   13748:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   13749:       fi
                   13750:     else
                   13751:       echo "Using gtk+ GUI."
                   13752:       NEED_THREAD_SUPPORT=yes
                   13753:       DDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_GTK_GUI"
                   13754:       GUIOBJS=gtkui.o
                   13755:     fi
1.1.1.19  root     13756:   else
1.1.1.17  root     13757:     if [ "x$WANT_UI" = "xyes" ]; then
                   13758:       echo "GUI requested, but no suitable libraries found."
                   13759:       NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.4   root     13760:     fi
                   13761:     GUIOBJS=nogui.o
                   13762:   fi
1.1.1.17  root     13763:   fi
                   13764:   fi
                   13765:   fi
                   13766:   fi
                   13767: else
                   13768:   GUIOBJS=nogui.o
1.1.1.3   root     13769: fi
1.1.1.17  root     13770: 
1.1.1.4   root     13771: GFXOBJS="$GFXOBJS $GUIOBJS"
1.1.1.19  root     13772: 
1.1.1.4   root     13773: 
                   13774: MACHDEP=md-generic
                   13775: OSDEP=od-generic
                   13776: THREADDEP=td-none
                   13777: SOUNDDEP=od-generic
                   13778: 
1.1.1.11  root     13779: FPP_H=fpp-unknown.h
1.1.1.4   root     13780: USE_THREADS=no
                   13781: USE_FILE_SOUND=no
1.1.1.10  root     13782: USE_SCSI_DEVICE=no
1.1.1.4   root     13783: 
1.1.1.6   root     13784: USE_UNDERSCORE=dunno
                   13785: 
1.1.1.4   root     13786: HAVELINUX=no
1.1.1.6   root     13787: HAVEBSD=no
1.1.1.4   root     13788: HAVEGCC27=no
                   13789: HAVEI386=no
                   13790: HAVE68K=no
1.1.1.11  root     13791: HAVEPPC=no
1.1.1.4   root     13792: HAVEGLIBC2=no
1.1.1.3   root     13793: 
1.1       root     13794: ASMOBJS=
1.1.1.4   root     13795: CPUOBJS=cpuemu.o
1.1.1.3   root     13796: 
1.1.1.19  root     13797: echo "$as_me:$LINENO: checking for GCC 2.7 or higher" >&5
                   13798: echo $ECHO_N "checking for GCC 2.7 or higher... $ECHO_C" >&6
                   13799: cat >conftest.$ac_ext <<_ACEOF
                   13800: /* confdefs.h.  */
                   13801: _ACEOF
                   13802: cat confdefs.h >>conftest.$ac_ext
                   13803: cat >>conftest.$ac_ext <<_ACEOF
                   13804: /* end confdefs.h.  */
1.1.1.6   root     13805: #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
                   13806:   yes
1.1.1.3   root     13807: #endif
                   13808: 
1.1.1.19  root     13809: _ACEOF
1.1.1.6   root     13810: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     13811:   $EGREP "yes" >/dev/null 2>&1; then
                   13812:   echo "$as_me:$LINENO: result: yes" >&5
                   13813: echo "${ECHO_T}yes" >&6; HAVEGCC27=yes
1.1.1.3   root     13814: else
1.1.1.19  root     13815:   echo "$as_me:$LINENO: result: no" >&5
                   13816: echo "${ECHO_T}no" >&6
1.1.1.6   root     13817: fi
                   13818: rm -f conftest*
                   13819: 
                   13820: 
1.1.1.19  root     13821: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.6   root     13822:   if test $HAVEGCC27 != yes; then
1.1.1.3   root     13823:     echo "I suggest you upgrade to at least version 2.7 of GCC"
1.1.1.6   root     13824:   fi
                   13825: else
                   13826:   if test $uae_cv_prog_cc_watcom != yes; then
1.1.1.3   root     13827:     echo "Couldn't find GCC. UAE may or may not compile and run correctly."
1.1.1.4   root     13828:     NR_WARNINGS=`expr $NR_WARNINGS + 1`
1.1.1.3   root     13829:   fi
                   13830: fi
                   13831: 
1.1.1.4   root     13832: if [ "x$ac_cv_header_features_h" = "xyes" ]; then
1.1.1.19  root     13833:   echo "$as_me:$LINENO: checking for glibc-2.0 or higher" >&5
                   13834: echo $ECHO_N "checking for glibc-2.0 or higher... $ECHO_C" >&6
                   13835:   cat >conftest.$ac_ext <<_ACEOF
                   13836: /* confdefs.h.  */
                   13837: _ACEOF
                   13838: cat confdefs.h >>conftest.$ac_ext
                   13839: cat >>conftest.$ac_ext <<_ACEOF
                   13840: /* end confdefs.h.  */
1.1.1.4   root     13841: #include <features.h>
1.1.1.6   root     13842: #if __GLIBC__ - 1 >= 1
                   13843:   yes
1.1.1.4   root     13844: #endif
                   13845: 
1.1.1.19  root     13846: _ACEOF
1.1.1.6   root     13847: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     13848:   $EGREP "yes" >/dev/null 2>&1; then
                   13849:   echo "$as_me:$LINENO: result: yes" >&5
                   13850: echo "${ECHO_T}yes" >&6; HAVEGLIBC2=yes
1.1.1.3   root     13851: else
1.1.1.19  root     13852:   echo "$as_me:$LINENO: result: no" >&5
                   13853: echo "${ECHO_T}no" >&6
1.1.1.4   root     13854: fi
1.1.1.6   root     13855: rm -f conftest*
                   13856: 
                   13857: fi
1.1.1.4   root     13858: 
1.1.1.19  root     13859: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.4   root     13860:   WARNING_CFLAGS="-Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes"
                   13861:   OPTIMIZE_CFLAGS="-O2 -fomit-frame-pointer"
                   13862:     CFLAGS=
                   13863: fi
                   13864: 
                   13865: if [ "x$DO_PROFILING" = "xyes" ]; then
                   13866:   if [ "x$CC" = "xgcc" ]; then
                   13867:     OPTIMIZE_CFLAGS="-O"
                   13868:     DEBUG_CFLAGS="-g -fno-inline -fno-omit-frame-pointer -pg -DUSE_PROFILING"
                   13869:     LDFLAGS="-pg"
                   13870:   else
                   13871:     DO_PROFILING=no
                   13872:     echo "Don't know how to set up profiling for your compiler."
                   13873:     NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.3   root     13874:   fi
                   13875: fi
                   13876: 
1.1.1.4   root     13877: CFLAGS="$OPTIMIZE_CFLAGS $DEBUG_CFLAGS $WARNING_CFLAGS $CFLAGS $ADDITIONAL_CFLAGS"
                   13878: 
                   13879: if [ "x$HAVEGCC27" = "xyes" ]; then
1.1.1.3   root     13880:   CFLAGS="$CFLAGS -DGCCCONSTFUNC=\"__attribute__((const))\""
                   13881: else
                   13882:   CFLAGS="$CFLAGS -DGCCCONSTFUNC="
                   13883: fi
1.1.1.2   root     13884: 
1.1.1.19  root     13885: echo "$as_me:$LINENO: checking for x86 target CPU" >&5
                   13886: echo $ECHO_N "checking for x86 target CPU... $ECHO_C" >&6
                   13887: cat >conftest.$ac_ext <<_ACEOF
                   13888: /* confdefs.h.  */
                   13889: _ACEOF
                   13890: cat confdefs.h >>conftest.$ac_ext
                   13891: cat >>conftest.$ac_ext <<_ACEOF
                   13892: /* end confdefs.h.  */
1.1.1.6   root     13893: 
1.1.1.3   root     13894: #ifdef __i386__
1.1.1.6   root     13895:   yes
1.1.1.3   root     13896: #endif
1.1       root     13897: 
1.1.1.19  root     13898: _ACEOF
1.1.1.6   root     13899: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     13900:   $EGREP "yes" >/dev/null 2>&1; then
                   13901:   echo "$as_me:$LINENO: result: yes" >&5
                   13902: echo "${ECHO_T}yes" >&6; HAVEI386=yes
1.1.1.3   root     13903: else
1.1.1.19  root     13904:   echo "$as_me:$LINENO: result: no" >&5
                   13905: echo "${ECHO_T}no" >&6
1.1.1.6   root     13906: fi
                   13907: rm -f conftest*
                   13908: 
                   13909: 
1.1.1.19  root     13910: echo "$as_me:$LINENO: checking for m68k target CPU" >&5
                   13911: echo $ECHO_N "checking for m68k target CPU... $ECHO_C" >&6
                   13912: cat >conftest.$ac_ext <<_ACEOF
                   13913: /* confdefs.h.  */
                   13914: _ACEOF
                   13915: cat confdefs.h >>conftest.$ac_ext
                   13916: cat >>conftest.$ac_ext <<_ACEOF
                   13917: /* end confdefs.h.  */
1.1.1.6   root     13918: 
                   13919: #ifdef __m68k__
                   13920:   yes
                   13921: #endif
1.1.1.3   root     13922: 
1.1.1.19  root     13923: _ACEOF
1.1.1.6   root     13924: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     13925:   $EGREP "yes" >/dev/null 2>&1; then
                   13926:   echo "$as_me:$LINENO: result: yes" >&5
                   13927: echo "${ECHO_T}yes" >&6; HAVE68K=yes
1.1.1.6   root     13928: else
1.1.1.19  root     13929:   echo "$as_me:$LINENO: result: no" >&5
                   13930: echo "${ECHO_T}no" >&6
1.1.1.6   root     13931: fi
1.1.1.3   root     13932: rm -f conftest*
                   13933: 
1.1.1.6   root     13934: 
1.1.1.19  root     13935: echo "$as_me:$LINENO: checking for ppc target CPU" >&5
                   13936: echo $ECHO_N "checking for ppc target CPU... $ECHO_C" >&6
                   13937: cat >conftest.$ac_ext <<_ACEOF
                   13938: /* confdefs.h.  */
                   13939: _ACEOF
                   13940: cat confdefs.h >>conftest.$ac_ext
                   13941: cat >>conftest.$ac_ext <<_ACEOF
                   13942: /* end confdefs.h.  */
1.1.1.11  root     13943: 
                   13944: #ifdef __powerpc__
                   13945:   yes
                   13946: #endif
                   13947: 
1.1.1.19  root     13948: _ACEOF
1.1.1.11  root     13949: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     13950:   $EGREP "yes" >/dev/null 2>&1; then
                   13951:   echo "$as_me:$LINENO: result: yes" >&5
                   13952: echo "${ECHO_T}yes" >&6; HAVEPPC=yes
1.1.1.11  root     13953: else
1.1.1.19  root     13954:   echo "$as_me:$LINENO: result: no" >&5
                   13955: echo "${ECHO_T}no" >&6
1.1.1.11  root     13956: fi
                   13957: rm -f conftest*
                   13958: 
                   13959: 
1.1.1.4   root     13960: if MACHINE=`uname -a 2>/dev/null`; then
                   13961:   case "$MACHINE" in
                   13962:   Linux*)
                   13963:     HAVELINUX=yes
                   13964:     ;;
                   13965:   esac
                   13966: fi
                   13967: 
1.1.1.3   root     13968: 
1.1.1.19  root     13969: echo "$as_me:$LINENO: checking whether assembler symbols need an underscore" >&5
                   13970: echo $ECHO_N "checking whether assembler symbols need an underscore... $ECHO_C" >&6
1.1.1.6   root     13971: cat >conftest1.S << EOF
                   13972:        .text
                   13973:        .globl _symbol
                   13974: _symbol:
                   13975: EOF
                   13976: cat >conftest2.c << EOF
                   13977: extern void symbol ();
                   13978: int main ()
                   13979: {
                   13980: symbol ();
                   13981: }
                   13982: EOF
                   13983: $CC conftest1.S -c -o conftest1.o >/dev/null 2>&1
                   13984: $CC conftest2.c -c -o conftest2.o >/dev/null 2>&1
                   13985: if $CC conftest1.o conftest2.o -o conftest >/dev/null 2>&1; then
                   13986:   USE_UNDERSCORE=yes
                   13987:   CFLAGS="$CFLAGS -DUSE_UNDERSCORE"
1.1.1.4   root     13988: else
1.1.1.6   root     13989:   USE_UNDERSCORE=no
1.1.1.4   root     13990: fi
1.1.1.19  root     13991: echo "$as_me:$LINENO: result: $USE_UNDERSCORE" >&5
                   13992: echo "${ECHO_T}$USE_UNDERSCORE" >&6
1.1.1.4   root     13993: 
                   13994: rm -f conftest*
                   13995: 
                   13996: # Check whether --enable-threads or --disable-threads was given.
                   13997: if test "${enable_threads+set}" = set; then
                   13998:   enableval="$enable_threads"
                   13999:   USE_THREADS=$enableval
1.1.1.19  root     14000: fi;
1.1.1.4   root     14001: 
1.1.1.3   root     14002: 
1.1.1.4   root     14003: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14004:   SAVECFLAGS=$CFLAGS
                   14005:   CFLAGS="$CFLAGS -mno-schedule-prologue"
1.1.1.19  root     14006:   cat >conftest.$ac_ext <<_ACEOF
                   14007: /* confdefs.h.  */
                   14008: _ACEOF
                   14009: cat confdefs.h >>conftest.$ac_ext
                   14010: cat >>conftest.$ac_ext <<_ACEOF
                   14011: /* end confdefs.h.  */
1.1.1.4   root     14012: 
1.1.1.19  root     14013: int
                   14014: main ()
                   14015: {
                   14016: int main(){return 0;}
                   14017:   ;
                   14018:   return 0;
                   14019: }
                   14020: _ACEOF
                   14021: rm -f conftest.$ac_objext
                   14022: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14023:   (eval $ac_compile) 2>conftest.er1
                   14024:   ac_status=$?
                   14025:   grep -v '^ *+' conftest.er1 >conftest.err
                   14026:   rm -f conftest.er1
                   14027:   cat conftest.err >&5
                   14028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14029:   (exit $ac_status); } &&
                   14030:         { ac_try='test -z "$ac_c_werror_flag"
                   14031:                         || test ! -s conftest.err'
                   14032:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14033:   (eval $ac_try) 2>&5
                   14034:   ac_status=$?
                   14035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14036:   (exit $ac_status); }; } &&
                   14037:         { ac_try='test -s conftest.$ac_objext'
                   14038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14039:   (eval $ac_try) 2>&5
                   14040:   ac_status=$?
                   14041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14042:   (exit $ac_status); }; }; then
                   14043:   NO_SCHED_CFLAGS="-mno-schedule-prologue"
                   14044: else
                   14045:   echo "$as_me: failed program was:" >&5
                   14046: sed 's/^/| /' conftest.$ac_ext >&5
                   14047: 
                   14048: fi
                   14049: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   14050:   CFLAGS=$SAVECFLAGS
                   14051: fi
                   14052: 
                   14053: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14054:   SAVECFLAGS=$CFLAGS
                   14055:   CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
                   14056:   cat >conftest.$ac_ext <<_ACEOF
                   14057: /* confdefs.h.  */
                   14058: _ACEOF
                   14059: cat confdefs.h >>conftest.$ac_ext
                   14060: cat >>conftest.$ac_ext <<_ACEOF
                   14061: /* end confdefs.h.  */
                   14062: 
                   14063: int
                   14064: main ()
                   14065: {
1.1.1.4   root     14066: int main(){return 0;}
1.1.1.19  root     14067:   ;
                   14068:   return 0;
                   14069: }
                   14070: _ACEOF
                   14071: rm -f conftest.$ac_objext
                   14072: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14073:   (eval $ac_compile) 2>conftest.er1
                   14074:   ac_status=$?
                   14075:   grep -v '^ *+' conftest.er1 >conftest.err
                   14076:   rm -f conftest.er1
                   14077:   cat conftest.err >&5
                   14078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14079:   (exit $ac_status); } &&
                   14080:         { ac_try='test -z "$ac_c_werror_flag"
                   14081:                         || test ! -s conftest.err'
                   14082:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14083:   (eval $ac_try) 2>&5
                   14084:   ac_status=$?
                   14085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14086:   (exit $ac_status); }; } &&
                   14087:         { ac_try='test -s conftest.$ac_objext'
                   14088:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14089:   (eval $ac_try) 2>&5
                   14090:   ac_status=$?
                   14091:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14092:   (exit $ac_status); }; }; then
                   14093:   SAVECFLAGS=$CFLAGS
1.1.1.4   root     14094: else
1.1.1.19  root     14095:   echo "$as_me: failed program was:" >&5
                   14096: sed 's/^/| /' conftest.$ac_ext >&5
                   14097: 
1.1.1.4   root     14098: fi
1.1.1.19  root     14099: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14100:   CFLAGS=$SAVECFLAGS
                   14101: fi
                   14102: 
1.1.1.10  root     14103: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14104:   SAVECFLAGS=$CFLAGS
1.1.1.19  root     14105:   CFLAGS="$CFLAGS -fno-reorder-blocks"
                   14106:   cat >conftest.$ac_ext <<_ACEOF
                   14107: /* confdefs.h.  */
                   14108: _ACEOF
                   14109: cat confdefs.h >>conftest.$ac_ext
                   14110: cat >>conftest.$ac_ext <<_ACEOF
                   14111: /* end confdefs.h.  */
1.1.1.10  root     14112: 
1.1.1.19  root     14113: int
                   14114: main ()
                   14115: {
1.1.1.10  root     14116: int main(){return 0;}
1.1.1.19  root     14117:   ;
                   14118:   return 0;
                   14119: }
                   14120: _ACEOF
                   14121: rm -f conftest.$ac_objext
                   14122: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14123:   (eval $ac_compile) 2>conftest.er1
                   14124:   ac_status=$?
                   14125:   grep -v '^ *+' conftest.er1 >conftest.err
                   14126:   rm -f conftest.er1
                   14127:   cat conftest.err >&5
                   14128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14129:   (exit $ac_status); } &&
                   14130:         { ac_try='test -z "$ac_c_werror_flag"
                   14131:                         || test ! -s conftest.err'
                   14132:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14133:   (eval $ac_try) 2>&5
                   14134:   ac_status=$?
                   14135:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14136:   (exit $ac_status); }; } &&
                   14137:         { ac_try='test -s conftest.$ac_objext'
                   14138:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14139:   (eval $ac_try) 2>&5
                   14140:   ac_status=$?
                   14141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14142:   (exit $ac_status); }; }; then
                   14143:   NO_REORDER_CFLAGS="-fno-reorder-blocks"
1.1.1.10  root     14144: else
1.1.1.19  root     14145:   echo "$as_me: failed program was:" >&5
                   14146: sed 's/^/| /' conftest.$ac_ext >&5
                   14147: 
1.1.1.10  root     14148: fi
1.1.1.19  root     14149: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     14150:   CFLAGS=$SAVECFLAGS
                   14151: fi
                   14152: 
1.1.1.4   root     14153: 
                   14154: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14155:   SAVECFLAGS=$CFLAGS
                   14156:   CFLAGS="$CFLAGS -fno-exceptions"
                   14157:   NOEXCEPTIONS=no
1.1.1.19  root     14158:   cat >conftest.$ac_ext <<_ACEOF
                   14159: /* confdefs.h.  */
                   14160: _ACEOF
                   14161: cat confdefs.h >>conftest.$ac_ext
                   14162: cat >>conftest.$ac_ext <<_ACEOF
                   14163: /* end confdefs.h.  */
1.1.1.4   root     14164: 
1.1.1.19  root     14165: int
                   14166: main ()
                   14167: {
1.1.1.4   root     14168: int main(){return 0;}
1.1.1.19  root     14169:   ;
                   14170:   return 0;
                   14171: }
                   14172: _ACEOF
                   14173: rm -f conftest.$ac_objext
                   14174: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14175:   (eval $ac_compile) 2>conftest.er1
                   14176:   ac_status=$?
                   14177:   grep -v '^ *+' conftest.er1 >conftest.err
                   14178:   rm -f conftest.er1
                   14179:   cat conftest.err >&5
                   14180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14181:   (exit $ac_status); } &&
                   14182:         { ac_try='test -z "$ac_c_werror_flag"
                   14183:                         || test ! -s conftest.err'
                   14184:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14185:   (eval $ac_try) 2>&5
                   14186:   ac_status=$?
                   14187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14188:   (exit $ac_status); }; } &&
                   14189:         { ac_try='test -s conftest.$ac_objext'
                   14190:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14191:   (eval $ac_try) 2>&5
                   14192:   ac_status=$?
                   14193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14194:   (exit $ac_status); }; }; then
1.1.1.4   root     14195:   NOEXCEPTIONS=yes
                   14196: else
1.1.1.19  root     14197:   echo "$as_me: failed program was:" >&5
                   14198: sed 's/^/| /' conftest.$ac_ext >&5
                   14199: 
1.1.1.4   root     14200: fi
1.1.1.19  root     14201: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14202:   if [ "x$NOEXCEPTIONS" = "xno" ]; then
                   14203:     CFLAGS=$SAVECFLAGS
                   14204:   fi
                   14205: fi
                   14206: 
                   14207: 
                   14208: 
                   14209: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14210:   MACHDEP=md-i386-gcc
1.1.1.6   root     14211:         CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
                   14212: 
1.1.1.14  root     14213:   CFLAGS="$CFLAGS -DX86_ASSEMBLY -DOPTIMIZED_FLAGS"
                   14214:   ASMOBJS=md-X86.o
1.1.1.6   root     14215: else if test $uae_cv_prog_cc_watcom = yes; then
                   14216:   MACHDEP=md-i386-watcom
                   14217:   echo CFLAGS before: $CFLAGS
                   14218:   CFLAGS=`echo $CFLAGS | sed 's, -g , ,' |sed 's,^-g ,,'`
                   14219:   CFLAGS="$CFLAGS --/--bm --/--mf --/--w4 --/--s --/--ei --/--zp4 --/--5r"
                   14220:   CFLAGS="$CFLAGS --/--oe=50 --/--oi --/--ok --/--ol --/--ot --/--oh --/--or --/--zq"
                   14221:   CFLAGS="$CFLAGS -DREGPARAM= -DUNALIGNED_PROFITABLE"
                   14222:   echo CFLAGS after:  $CFLAGS
1.1.1.11  root     14223: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEPPC" = "xyes" ]; then
                   14224:   MACHDEP=md-ppc-gcc
                   14225:   CFLAGS="$CFLAGS -DREGPARAM="
                   14226:   if [ "x$HAVE_MOTO_LIB" = "xyes" ]; then
                   14227:     MATHLIB="-lmoto $MATHLIB"
                   14228:   fi
1.1.1.4   root     14229: else if [ "x$TARGET" = "xp_os" ]; then
                   14230:   CPU=`uname -m`
                   14231:   if [ "x$CPU" = "xm68k" ]; then
                   14232:      MACHDEP=md-68k
1.1.1.7   root     14233:      CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(4)))\" -DM68K_FLAG_OPT=1"
1.1.1.4   root     14234:   else if [ "x$CPU" = "xppc" ]; then
                   14235:      MACHDEP=md-ppc
                   14236:      CFLAGS="$CFLAGS -DREGPARAM="
                   14237:   else if [ "x$CPU" = "xi386" ]; then
                   14238:           MACHDEP=md-i386-gcc
                   14239:      CFLAGS="$CFLAGS -DX86_ASSEMBLY -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
                   14240:   else
                   14241:      echo "Unsupported CPU: $CPU!"
                   14242:      exit 5
                   14243:   fi
                   14244:   fi
                   14245:   fi
                   14246:   CFLAGS="$CFLAGS -nostdinc -I/gg/include -I/p/../inc -D__POS__"
                   14247:   OSDEP=od-pos
1.1.1.7   root     14248: else if [ "x$TARGET" = "xamigaos" ]; then
1.1.1.4   root     14249:   OSDEP=od-amiga
1.1.1.7   root     14250:   CPU=`uname -m`
                   14251:   if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" ]; then
                   14252:     MACHDEP=md-68k
                   14253:     CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(4)))\" -DM68K_FLAG_OPT=1"
                   14254:   else if [ "x$HAVEGCC27" = "xyes" -a "x$CPU" = "xppc" ]; then
                   14255:     MACHDEP=md-ppc-gcc
                   14256:   else
                   14257:         CFLAGS="$CFLAGS -O -DREGPARAM="
                   14258:   fi
1.1.1.19  root     14259:   CPUOBJS="cpuemu1.o cpuemu2.o cpuemu3.o cpuemu4.o cpuemu5.o cpuemu6.o cpuemu7.o cpuemu8.o"
1.1.1.7   root     14260:   fi
1.1.1.4   root     14261: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14262:     MACHDEP=md-68k
                   14263:   CFLAGS="$CFLAGS -DM68K_FLAG_OPT=1 -DREGPARAM="
                   14264: else if [ "x$TARGET" = "xbeos" ]; then
                   14265:   MACHDEP=md-ppc
                   14266:   CFLAGS="$CFLAGS -DREGPARAM="
                   14267:   OSDEP=od-beos
1.1       root     14268: else
1.1.1.3   root     14269:   CFLAGS="$CFLAGS -DREGPARAM="
                   14270: fi
                   14271: fi
1.1       root     14272: fi
1.1.1.4   root     14273: fi
                   14274: fi
                   14275: fi
1.1.1.11  root     14276: fi
1.1.1.4   root     14277: 
1.1.1.16  root     14278: FSDBOBJS=fsdb_unix.o
1.1.1.6   root     14279: if [ "x$TARGET" = "xwin32" ]; then
                   14280:   OSDEP=od-win32
1.1.1.16  root     14281:   FSDBOBJS=osdep/fsdb_win32.o
1.1.1.19  root     14282:   if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.6   root     14283:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32 -lcomdlg32 -luser32 -lgdi32 -lkernel32 -ladvapi32 -lshell32"
                   14284:   else if test $uae_cv_prog_cc_watcom = yes; then
                   14285:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32"
                   14286:   fi
                   14287:   fi
                   14288: else if [ "x$HAVELINUX" = "xyes" ]; then
1.1.1.4   root     14289:   OSDEP=od-linux
                   14290: fi
1.1.1.6   root     14291: fi
1.1       root     14292: 
1.1.1.4   root     14293: if [ "x$TARGET" = "xx11" -o "x$TARGET" = "xsvgalib" -o "x$TARGET" = "xamigaos" \
1.1.1.13  root     14294:      -o "x$TARGET" = "xbeos" -o "x$TARGET" = "xasciiart" -o "x$TARGET" = "xp_os" ]; then
1.1.1.2   root     14295:     CFLAGS="$CFLAGS -DUSE_ZFILE"
                   14296: fi
                   14297: 
1.1.1.4   root     14298: HAVE_USS_SOUND=no
                   14299: if [ "x$ac_cv_header_sys_soundcard_h" = "xyes" -o "x$ac_cv_header_machine_soundcard_h" = "xyes" ]; then
1.1.1.19  root     14300:     echo "$as_me:$LINENO: checking whether sys/soundcard.h or machine/soundcard.h works" >&5
                   14301: echo $ECHO_N "checking whether sys/soundcard.h or machine/soundcard.h works... $ECHO_C" >&6
                   14302:   cat >conftest.$ac_ext <<_ACEOF
                   14303: /* confdefs.h.  */
                   14304: _ACEOF
                   14305: cat confdefs.h >>conftest.$ac_ext
                   14306: cat >>conftest.$ac_ext <<_ACEOF
                   14307: /* end confdefs.h.  */
1.1.1.4   root     14308: 
                   14309: #include "confdefs.h"
                   14310: #ifdef HAVE_SYS_SOUNDCARD_H
                   14311: #include <sys/soundcard.h>
                   14312: #else
                   14313: #include <machine/soundcard.h>
                   14314: #endif
                   14315: #include <sys/ioctl.h>
                   14316: 
1.1.1.19  root     14317: int
                   14318: main ()
                   14319: {
1.1.1.4   root     14320: int soundfd; ioctl (soundfd, SNDCTL_DSP_GETFMTS, 0);
1.1.1.19  root     14321:   ;
                   14322:   return 0;
                   14323: }
                   14324: _ACEOF
                   14325: rm -f conftest.$ac_objext
                   14326: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14327:   (eval $ac_compile) 2>conftest.er1
                   14328:   ac_status=$?
                   14329:   grep -v '^ *+' conftest.er1 >conftest.err
                   14330:   rm -f conftest.er1
                   14331:   cat conftest.err >&5
                   14332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14333:   (exit $ac_status); } &&
                   14334:         { ac_try='test -z "$ac_c_werror_flag"
                   14335:                         || test ! -s conftest.err'
                   14336:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14337:   (eval $ac_try) 2>&5
                   14338:   ac_status=$?
                   14339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14340:   (exit $ac_status); }; } &&
                   14341:         { ac_try='test -s conftest.$ac_objext'
                   14342:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14343:   (eval $ac_try) 2>&5
                   14344:   ac_status=$?
                   14345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14346:   (exit $ac_status); }; }; then
                   14347:   echo "$as_me:$LINENO: result: yes" >&5
                   14348: echo "${ECHO_T}yes" >&6
1.1.1.4   root     14349: HAVE_USS_SOUND=yes
                   14350: else
1.1.1.19  root     14351:   echo "$as_me: failed program was:" >&5
                   14352: sed 's/^/| /' conftest.$ac_ext >&5
                   14353: 
                   14354: echo "$as_me:$LINENO: result: no" >&5
                   14355: echo "${ECHO_T}no" >&6
1.1.1.4   root     14356: fi
1.1.1.19  root     14357: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14358: fi
                   14359: 
1.1.1.8   root     14360: if [ "x$ac_cv_header_dmedia_audio.h" = "xno" ]; then
                   14361:   HAVE_SGIAUDIO_LIB=no
                   14362: fi
                   14363: 
1.1.1.19  root     14364: echo "$as_me:$LINENO: checking which sound system to use" >&5
                   14365: echo $ECHO_N "checking which sound system to use... $ECHO_C" >&6
1.1.1.4   root     14366: # Check whether --enable-file-sound or --disable-file-sound was given.
                   14367: if test "${enable_file_sound+set}" = set; then
                   14368:   enableval="$enable_file_sound"
                   14369:   USE_FILE_SOUND=$enableval
1.1.1.19  root     14370: fi;
1.1.1.4   root     14371: 
                   14372: if [ "x$USE_FILE_SOUND" = "xyes" ]; then
1.1.1.19  root     14373:   echo "$as_me:$LINENO: result: file output" >&5
                   14374: echo "${ECHO_T}file output" >&6
1.1.1.7   root     14375:   SOUNDDEP=sd-file
1.1.1.19  root     14376:   USE_SOUND=yes
1.1.1.17  root     14377: else if [ "x$WANT_SDLSND" = "xyes" ]; then
1.1.1.19  root     14378:   echo "$as_me:$LINENO: result: SDL" >&5
                   14379: echo "${ECHO_T}SDL" >&6
1.1.1.16  root     14380:   SOUNDDEP=sd-sdl
                   14381:   USE_SOUND=yes
                   14382:   NEED_THREAD_SUPPORT=yes
1.1.1.19  root     14383: else if [ "x$WANT_ALSA" = "xyes" ]; then
                   14384:   echo "$as_me:$LINENO: result: ALSA" >&5
                   14385: echo "${ECHO_T}ALSA" >&6
                   14386:   SOUNDDEP=sd-alsa
                   14387:   USE_SOUND=yes
1.1.1.7   root     14388: else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
1.1.1.19  root     14389:   echo "$as_me:$LINENO: result: USS" >&5
                   14390: echo "${ECHO_T}USS" >&6
1.1.1.7   root     14391:   SOUNDDEP=sd-uss
1.1.1.4   root     14392:   USE_SOUND=yes
1.1.1.7   root     14393: else if [ "x$ac_cv_header_sys_audioio_h" = "xyes" -o "x$ac_cv_header_sun_audioio_h" = "xyes" ]; then
1.1.1.19  root     14394:   echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
                   14395: echo "${ECHO_T}Solaris/NetBSD" >&6
1.1.1.7   root     14396:   SOUNDDEP=sd-solaris
                   14397:   USE_SOUND=yes
                   14398: else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
1.1.1.19  root     14399:   echo "$as_me:$LINENO: result: AF sound" >&5
                   14400: echo "${ECHO_T}AF sound" >&6
1.1.1.7   root     14401:   SOUNDDEP=sd-af
                   14402:   LIBS="$LIBS -lAF"
                   14403:   USE_SOUND=yes
1.1.1.8   root     14404: else if [ "x$HAVE_SGIAUDIO_LIB" = "xyes" ]; then
1.1.1.19  root     14405:   echo "$as_me:$LINENO: result: SGI sound" >&5
                   14406: echo "${ECHO_T}SGI sound" >&6
1.1.1.8   root     14407:   SOUNDDEP=sd-sgi
                   14408:   LIBS="$LIBS -laudio"
                   14409:   USE_SOUND=yes
1.1.1.7   root     14410: else if [ "x$HAVE_MME_LIB" = "xyes" ]; then
1.1.1.19  root     14411:   echo "$as_me:$LINENO: result: MME sound" >&5
                   14412: echo "${ECHO_T}MME sound" >&6
1.1.1.7   root     14413:   SOUNDDEP=sd-mme
                   14414:   LIBS="$LIBS -lmme"
                   14415:   USE_SOUND=yes
                   14416: else if [ "x$TARGET" = "xp_os" ]; then
1.1.1.19  root     14417:   echo "$as_me:$LINENO: result: pAudio.device" >&5
                   14418: echo "${ECHO_T}pAudio.device" >&6
1.1.1.7   root     14419:   SOUNDDEP=od-pos
                   14420:   USE_SOUND=yes
                   14421: else if [ "x$TARGET" = "xamigaos" ]; then
                   14422:   if [ "x$ac_cv_header_devices_ahi_h" = "xyes" ]; then
1.1.1.19  root     14423:     echo "$as_me:$LINENO: result: Amiga AHI.device" >&5
                   14424: echo "${ECHO_T}Amiga AHI.device" >&6
1.1.1.4   root     14425:   else
1.1.1.19  root     14426:     echo "$as_me:$LINENO: result: Amiga audio.device" >&5
                   14427: echo "${ECHO_T}Amiga audio.device" >&6
1.1.1.6   root     14428:   fi
1.1.1.7   root     14429:   SOUNDDEP=od-amiga
                   14430:   USE_SOUND=yes
                   14431: else if [ "x$TARGET" = "xbeos" ]; then
1.1.1.19  root     14432:   echo "$as_me:$LINENO: result: BeOS sound" >&5
                   14433: echo "${ECHO_T}BeOS sound" >&6
1.1.1.7   root     14434:   SOUNDDEP=od-beos
                   14435:   USE_SOUND=yes
                   14436: else if [ "x$TARGET" = "xwin32" ]; then
1.1.1.19  root     14437:   echo "$as_me:$LINENO: result: Win32 sound" >&5
                   14438: echo "${ECHO_T}Win32 sound" >&6
1.1.1.7   root     14439:   SOUNDDEP=od-win32
                   14440:   USE_SOUND=yes
                   14441: else
                   14442:   echo "no known sound system found"
                   14443:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   14444: fi
                   14445: fi
                   14446: fi
                   14447: fi
1.1.1.4   root     14448: fi
1.1.1.7   root     14449: fi
                   14450: fi
                   14451: fi
                   14452: fi
1.1.1.8   root     14453: fi
1.1.1.16  root     14454: fi
1.1.1.19  root     14455: fi
1.1.1.16  root     14456: 
                   14457: if [ "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   14458:   if [ "x$USE_THREADS" != "xyes" ]; then
                   14459:     echo "Threads are needed for this configuration; enabling thread support."
                   14460:   fi
                   14461: fi
                   14462: 
                   14463: if [ "x$USE_THREADS" = "xyes" -o "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   14464:   if [ "x$WANT_SDL" = "xyes" ]; then
                   14465:     THREADDEP=td-sdl
                   14466:   else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
                   14467:     THREADDEP=td-posix
                   14468:     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
                   14469:     LIBS="$LIBS -lpthread"
                   14470:     if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
                   14471:       LIBS="$LIBS -lposix4"
                   14472:     fi
                   14473: 
1.1.1.19  root     14474:     if [ "x$USE_THREADS" = "xyes" ]; then
1.1.1.16  root     14475:       CFLAGS="$CFLAGS -DUAE_FILESYS_THREADS"
                   14476:     fi
                   14477: 
                   14478:     if [ "x$HAVELINUX" = "xno" -o "x$HAVEGLIBC2" = "xno" ]; then
                   14479:       echo "Thread support has only been tested on Linux systems with glibc-2.0"
                   14480:       NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14481:     fi
                   14482:     if [ "x$TARGET" = "xsvgalib" ]; then
                   14483:       echo "If you didn't compile a fixed version of SVGAlib then thread support"
                   14484:       echo "in UAE will lock your machine real hard."
                   14485:       NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14486:     fi
                   14487:   else
                   14488:     echo "You tried to enable threads, but I couldn't find a thread library!"
                   14489:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   14490:   fi
                   14491:   fi
                   14492: fi
1.1.1.7   root     14493: 
1.1.1.10  root     14494: SCSIOBJS=scsi-none.o
                   14495: # Check whether --enable-scsi-device or --disable-scsi-device was given.
                   14496: if test "${enable_scsi_device+set}" = set; then
                   14497:   enableval="$enable_scsi_device"
                   14498:   USE_SCSI_DEVICE=$enableval
1.1.1.19  root     14499: fi;
1.1.1.10  root     14500: if [ "x$USE_SCSI_DEVICE" = "xyes" ]; then
1.1.1.19  root     14501:   echo "$as_me:$LINENO: checking \"availability of libscg headers and lib\"" >&5
                   14502: echo $ECHO_N "checking \"availability of libscg headers and lib\"... $ECHO_C" >&6
1.1.1.13  root     14503:   OLDLIBS="$LIBS"
1.1.1.14  root     14504:   OLDCFLAGS="$CFLAGS"
                   14505:   CFLAGS="$CFLAGS -Isrc/include"
                   14506:   LIBS="-Lsrc $LIBS -lscg -lschily"
1.1.1.19  root     14507:   cat >conftest.$ac_ext <<_ACEOF
                   14508: /* confdefs.h.  */
                   14509: _ACEOF
                   14510: cat confdefs.h >>conftest.$ac_ext
                   14511: cat >>conftest.$ac_ext <<_ACEOF
                   14512: /* end confdefs.h.  */
1.1.1.14  root     14513: typedef int BOOL;
1.1.1.13  root     14514: #include "scg/scgcmd.h"
                   14515: #include "scg/scsitransp.h"
                   14516: #include "scg/scsireg.h"
1.1.1.19  root     14517: int
                   14518: main ()
                   14519: {
1.1.1.13  root     14520: {SCSI *scgp = open_scsi ((void *)0, (void *)0, 0, 1, 1);}
1.1.1.19  root     14521:   ;
                   14522:   return 0;
                   14523: }
                   14524: _ACEOF
                   14525: rm -f conftest.$ac_objext conftest$ac_exeext
                   14526: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   14527:   (eval $ac_link) 2>conftest.er1
                   14528:   ac_status=$?
                   14529:   grep -v '^ *+' conftest.er1 >conftest.err
                   14530:   rm -f conftest.er1
                   14531:   cat conftest.err >&5
                   14532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14533:   (exit $ac_status); } &&
                   14534:         { ac_try='test -z "$ac_c_werror_flag"
                   14535:                         || test ! -s conftest.err'
                   14536:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14537:   (eval $ac_try) 2>&5
                   14538:   ac_status=$?
                   14539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14540:   (exit $ac_status); }; } &&
                   14541:         { ac_try='test -s conftest$ac_exeext'
                   14542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14543:   (eval $ac_try) 2>&5
                   14544:   ac_status=$?
                   14545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14546:   (exit $ac_status); }; }; then
                   14547: 
                   14548:     echo "$as_me:$LINENO: result: available" >&5
                   14549: echo "${ECHO_T}available" >&6
1.1.1.10  root     14550:     SCSIOBJS=scsidev.o
1.1.1.19  root     14551: 
1.1.1.13  root     14552: else
1.1.1.19  root     14553:   echo "$as_me: failed program was:" >&5
                   14554: sed 's/^/| /' conftest.$ac_ext >&5
                   14555: 
                   14556: 
                   14557:      echo "$as_me:$LINENO: result: not available" >&5
                   14558: echo "${ECHO_T}not available" >&6
1.1.1.13  root     14559:      NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14560:      echo "Please refer to the UAE SCSI device section in docs/README for installation instructions."
                   14561:      LIBS="$OLDLIBS"
1.1.1.19  root     14562: 
1.1.1.13  root     14563: fi
1.1.1.19  root     14564: rm -f conftest.err conftest.$ac_objext \
                   14565:       conftest$ac_exeext conftest.$ac_ext
1.1.1.14  root     14566:   CFLAGS="$OLDCFLAGS"
1.1.1.10  root     14567: fi
                   14568: 
                   14569: 
1.1.1.16  root     14570: if [ "x$WANT_SDL" = "xyes" ]; then
                   14571:     OD_JOYSTICK=sdl-joystick.c
1.1.1.18  root     14572: else if [ "x$ac_cv_header_machine_joystick_h" = "xyes" ]; then
1.1.1.19  root     14573:     cat >conftest.$ac_ext <<_ACEOF
                   14574: /* confdefs.h.  */
                   14575: _ACEOF
                   14576: cat confdefs.h >>conftest.$ac_ext
                   14577: cat >>conftest.$ac_ext <<_ACEOF
                   14578: /* end confdefs.h.  */
1.1.1.10  root     14579: #include <machine/joystick.h>
1.1.1.19  root     14580: int
                   14581: main ()
                   14582: {
1.1.1.10  root     14583: { struct joystick a; }
1.1.1.19  root     14584:   ;
                   14585:   return 0;
                   14586: }
                   14587: _ACEOF
                   14588: rm -f conftest.$ac_objext
                   14589: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14590:   (eval $ac_compile) 2>conftest.er1
                   14591:   ac_status=$?
                   14592:   grep -v '^ *+' conftest.er1 >conftest.err
                   14593:   rm -f conftest.er1
                   14594:   cat conftest.err >&5
                   14595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14596:   (exit $ac_status); } &&
                   14597:         { ac_try='test -z "$ac_c_werror_flag"
                   14598:                         || test ! -s conftest.err'
                   14599:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14600:   (eval $ac_try) 2>&5
                   14601:   ac_status=$?
                   14602:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14603:   (exit $ac_status); }; } &&
                   14604:         { ac_try='test -s conftest.$ac_objext'
                   14605:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14606:   (eval $ac_try) 2>&5
                   14607:   ac_status=$?
                   14608:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14609:   (exit $ac_status); }; }; then
1.1.1.10  root     14610:   OD_JOYSTICK=od-linux/joystick.c
                   14611: else
1.1.1.19  root     14612:   echo "$as_me: failed program was:" >&5
                   14613: sed 's/^/| /' conftest.$ac_ext >&5
                   14614: 
1.1.1.10  root     14615: fi
1.1.1.19  root     14616: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     14617: else
                   14618:     OD_JOYSTICK=$OSDEP/joystick.c
                   14619: fi
1.1.1.16  root     14620: fi
1.1.1.4   root     14621: 
                   14622: rm -f src/machdep
                   14623: rm -f src/osdep
                   14624: rm -f src/threaddep
                   14625: rm -f src/sounddep
1.1.1.10  root     14626: rm -f src/scsidep
1.1.1.4   root     14627: rm -f src/target.h
1.1.1.5   root     14628: rm -f src/config.h
1.1.1.6   root     14629: rm -f src/sd-sound.c
                   14630: rm -f src/od-joy.c
                   14631: rm -f src/md-support.c
                   14632: rm -f src/md-X86.S
1.1.1.10  root     14633: rm -f src/scsi-support.c
1.1.1.3   root     14634: 
1.1.1.4   root     14635: if [ "x$TARGET" = "xamigaos" -o "x$TARGET" = "xp_os" ]; then
1.1.1.19  root     14636:     echo "$as_me:$LINENO: checking which CPU to use" >&5
                   14637: echo $ECHO_N "checking which CPU to use... $ECHO_C" >&6
1.1.1.3   root     14638:   cpu=`cpu | cut -d' ' -f2`
1.1.1.19  root     14639:   echo "$as_me:$LINENO: result: $cpu" >&5
                   14640: echo "${ECHO_T}$cpu" >&6
1.1.1.3   root     14641:   CFLAGS="$CFLAGS -m$cpu"
                   14642: 
1.1.1.19  root     14643:     echo "$as_me:$LINENO: checking which FPU to use" >&5
                   14644: echo $ECHO_N "checking which FPU to use... $ECHO_C" >&6
1.1.1.4   root     14645:   fpu=`cpu | cut -d' ' -f3 | grep '^688812$'`
                   14646:   if [ "x$fpu" != "x" ]; then
1.1.1.19  root     14647:         echo "$as_me:$LINENO: result: 68881" >&5
                   14648: echo "${ECHO_T}68881" >&6
1.1.1.4   root     14649:     CFLAGS="$CFLAGS -m68881"
1.1.1.3   root     14650:   else
1.1.1.19  root     14651:     echo "$as_me:$LINENO: result: none" >&5
                   14652: echo "${ECHO_T}none" >&6
1.1.1.3   root     14653:   fi
                   14654: fi
                   14655: 
1.1.1.2   root     14656: 
                   14657: 
1.1       root     14658: 
                   14659: 
                   14660: 
                   14661: 
                   14662: 
                   14663: 
                   14664: 
                   14665: 
                   14666: 
1.1.1.3   root     14667: 
1.1.1.4   root     14668: 
1.1.1.3   root     14669: 
                   14670: 
                   14671: 
1.1.1.6   root     14672: 
1.1.1.16  root     14673: 
1.1.1.19  root     14674: 
                   14675:                     ac_config_files="$ac_config_files src/Makefile Makefile"
                   14676: 
                   14677: cat >confcache <<\_ACEOF
1.1       root     14678: # This file is a shell script that caches the results of configure
                   14679: # tests run on this system so they can be shared between configure
1.1.1.19  root     14680: # scripts and configure runs, see configure's option --config-cache.
                   14681: # It is not useful on other systems.  If it contains results you don't
                   14682: # want to keep, you may remove or edit it.
1.1       root     14683: #
1.1.1.19  root     14684: # config.status only pays attention to the cache file if you give it
                   14685: # the --recheck option to rerun configure.
1.1       root     14686: #
1.1.1.19  root     14687: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   14688: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   14689: # following values.
                   14690: 
                   14691: _ACEOF
                   14692: 
1.1.1.4   root     14693: # The following way of writing the cache mishandles newlines in values,
                   14694: # but we know of no workaround that is simple, portable, and efficient.
                   14695: # So, don't put newlines in cache variables' values.
1.1       root     14696: # Ultrix sh set writes to stderr and can't be redirected directly,
                   14697: # and sets the high bit in the cache file unless we assign to the vars.
1.1.1.19  root     14698: {
                   14699:   (set) 2>&1 |
                   14700:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   14701:     *ac_space=\ *)
                   14702:       # `set' does not quote correctly, so add quotes (double-quote
                   14703:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   14704:       sed -n \
                   14705:        "s/'/'\\\\''/g;
                   14706:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   14707:       ;;
                   14708:     *)
                   14709:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   14710:       sed -n \
                   14711:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   14712:       ;;
                   14713:     esac;
                   14714: } |
                   14715:   sed '
                   14716:      t clear
                   14717:      : clear
                   14718:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   14719:      t end
                   14720:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   14721:      : end' >>confcache
                   14722: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       root     14723:   if test -w $cache_file; then
1.1.1.19  root     14724:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   14725:     cat confcache >$cache_file
1.1       root     14726:   else
                   14727:     echo "not updating unwritable cache $cache_file"
                   14728:   fi
                   14729: fi
                   14730: rm -f confcache
                   14731: 
                   14732: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   14733: # Let make expand exec_prefix.
                   14734: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   14735: 
1.1.1.19  root     14736: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   14737: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   14738: # trailing colons and then remove the whole line if VPATH becomes empty
                   14739: # (actually we leave an empty line to preserve line numbers).
1.1       root     14740: if test "x$srcdir" = x.; then
1.1.1.19  root     14741:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   14742: s/:*\$(srcdir):*/:/;
                   14743: s/:*\${srcdir}:*/:/;
                   14744: s/:*@srcdir@:*/:/;
                   14745: s/^\([^=]*=[    ]*\):*/\1/;
                   14746: s/:*$//;
                   14747: s/^[^=]*=[      ]*$//;
                   14748: }'
1.1       root     14749: fi
                   14750: 
                   14751: DEFS=-DHAVE_CONFIG_H
                   14752: 
1.1.1.19  root     14753: ac_libobjs=
                   14754: ac_ltlibobjs=
                   14755: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   14756:   # 1. Remove the extension, and $U if already installed.
                   14757:   ac_i=`echo "$ac_i" |
                   14758:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   14759:   # 2. Add them.
                   14760:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   14761:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   14762: done
                   14763: LIBOBJS=$ac_libobjs
                   14764: 
                   14765: LTLIBOBJS=$ac_ltlibobjs
                   14766: 
1.1       root     14767: 
1.1.1.19  root     14768: 
                   14769: : ${CONFIG_STATUS=./config.status}
                   14770: ac_clean_files_save=$ac_clean_files
                   14771: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   14772: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   14773: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   14774: cat >$CONFIG_STATUS <<_ACEOF
                   14775: #! $SHELL
                   14776: # Generated by $as_me.
1.1       root     14777: # Run this file to recreate the current configuration.
                   14778: # Compiler output produced by configure, useful for debugging
1.1.1.19  root     14779: # configure, is in config.log if it exists.
1.1       root     14780: 
1.1.1.19  root     14781: debug=false
                   14782: ac_cs_recheck=false
                   14783: ac_cs_silent=false
                   14784: SHELL=\${CONFIG_SHELL-$SHELL}
                   14785: _ACEOF
                   14786: 
                   14787: cat >>$CONFIG_STATUS <<\_ACEOF
                   14788: ## --------------------- ##
                   14789: ## M4sh Initialization.  ##
                   14790: ## --------------------- ##
                   14791: 
                   14792: # Be Bourne compatible
                   14793: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   14794:   emulate sh
                   14795:   NULLCMD=:
                   14796:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   14797:   # is contrary to our usage.  Disable this feature.
                   14798:   alias -g '${1+"$@"}'='"$@"'
                   14799: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   14800:   set -o posix
                   14801: fi
                   14802: DUALCASE=1; export DUALCASE # for MKS sh
                   14803: 
                   14804: # Support unset when possible.
                   14805: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   14806:   as_unset=unset
                   14807: else
                   14808:   as_unset=false
                   14809: fi
                   14810: 
                   14811: 
                   14812: # Work around bugs in pre-3.0 UWIN ksh.
                   14813: $as_unset ENV MAIL MAILPATH
                   14814: PS1='$ '
                   14815: PS2='> '
                   14816: PS4='+ '
                   14817: 
                   14818: # NLS nuisances.
                   14819: for as_var in \
                   14820:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   14821:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   14822:   LC_TELEPHONE LC_TIME
                   14823: do
                   14824:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   14825:     eval $as_var=C; export $as_var
                   14826:   else
                   14827:     $as_unset $as_var
                   14828:   fi
                   14829: done
                   14830: 
                   14831: # Required to use basename.
                   14832: if expr a : '\(a\)' >/dev/null 2>&1; then
                   14833:   as_expr=expr
                   14834: else
                   14835:   as_expr=false
                   14836: fi
                   14837: 
                   14838: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   14839:   as_basename=basename
                   14840: else
                   14841:   as_basename=false
                   14842: fi
                   14843: 
                   14844: 
                   14845: # Name of the executable.
                   14846: as_me=`$as_basename "$0" ||
                   14847: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   14848:         X"$0" : 'X\(//\)$' \| \
                   14849:         X"$0" : 'X\(/\)$' \| \
                   14850:         .     : '\(.\)' 2>/dev/null ||
                   14851: echo X/"$0" |
                   14852:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   14853:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   14854:          /^X\/\(\/\).*/{ s//\1/; q; }
                   14855:          s/.*/./; q'`
                   14856: 
                   14857: 
                   14858: # PATH needs CR, and LINENO needs CR and PATH.
                   14859: # Avoid depending upon Character Ranges.
                   14860: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   14861: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   14862: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   14863: as_cr_digits='0123456789'
                   14864: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   14865: 
                   14866: # The user is always right.
                   14867: if test "${PATH_SEPARATOR+set}" != set; then
                   14868:   echo "#! /bin/sh" >conf$$.sh
                   14869:   echo  "exit 0"   >>conf$$.sh
                   14870:   chmod +x conf$$.sh
                   14871:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   14872:     PATH_SEPARATOR=';'
                   14873:   else
                   14874:     PATH_SEPARATOR=:
                   14875:   fi
                   14876:   rm -f conf$$.sh
                   14877: fi
                   14878: 
                   14879: 
                   14880:   as_lineno_1=$LINENO
                   14881:   as_lineno_2=$LINENO
                   14882:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   14883:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   14884:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   14885:   # Find who we are.  Look in the path if we contain no path at all
                   14886:   # relative or not.
                   14887:   case $0 in
                   14888:     *[\\/]* ) as_myself=$0 ;;
                   14889:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   14890: for as_dir in $PATH
                   14891: do
                   14892:   IFS=$as_save_IFS
                   14893:   test -z "$as_dir" && as_dir=.
                   14894:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   14895: done
                   14896: 
                   14897:        ;;
                   14898:   esac
                   14899:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   14900:   # in which case we are not to be found in the path.
                   14901:   if test "x$as_myself" = x; then
                   14902:     as_myself=$0
                   14903:   fi
                   14904:   if test ! -f "$as_myself"; then
                   14905:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   14906: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   14907:    { (exit 1); exit 1; }; }
                   14908:   fi
                   14909:   case $CONFIG_SHELL in
                   14910:   '')
                   14911:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   14912: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   14913: do
                   14914:   IFS=$as_save_IFS
                   14915:   test -z "$as_dir" && as_dir=.
                   14916:   for as_base in sh bash ksh sh5; do
                   14917:         case $as_dir in
                   14918:         /*)
                   14919:           if ("$as_dir/$as_base" -c '
                   14920:   as_lineno_1=$LINENO
                   14921:   as_lineno_2=$LINENO
                   14922:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   14923:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   14924:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   14925:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   14926:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   14927:             CONFIG_SHELL=$as_dir/$as_base
                   14928:             export CONFIG_SHELL
                   14929:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   14930:           fi;;
                   14931:         esac
                   14932:        done
                   14933: done
                   14934: ;;
                   14935:   esac
                   14936: 
                   14937:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   14938:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   14939:   # line-number line before each line; the second 'sed' does the real
                   14940:   # work.  The second script uses 'N' to pair each line-number line
                   14941:   # with the numbered line, and appends trailing '-' during
                   14942:   # substitution so that $LINENO is not a special case at line end.
                   14943:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   14944:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   14945:   sed '=' <$as_myself |
                   14946:     sed '
                   14947:       N
                   14948:       s,$,-,
                   14949:       : loop
                   14950:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   14951:       t loop
                   14952:       s,-$,,
                   14953:       s,^['$as_cr_digits']*\n,,
                   14954:     ' >$as_me.lineno &&
                   14955:   chmod +x $as_me.lineno ||
                   14956:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   14957: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   14958:    { (exit 1); exit 1; }; }
                   14959: 
                   14960:   # Don't try to exec as it changes $[0], causing all sort of problems
                   14961:   # (the dirname of $[0] is not the place where we might find the
                   14962:   # original and so on.  Autoconf is especially sensible to this).
                   14963:   . ./$as_me.lineno
                   14964:   # Exit status is that of the last command.
                   14965:   exit
                   14966: }
                   14967: 
                   14968: 
                   14969: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   14970:   *c*,-n*) ECHO_N= ECHO_C='
                   14971: ' ECHO_T='     ' ;;
                   14972:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   14973:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   14974: esac
                   14975: 
                   14976: if expr a : '\(a\)' >/dev/null 2>&1; then
                   14977:   as_expr=expr
                   14978: else
                   14979:   as_expr=false
                   14980: fi
                   14981: 
                   14982: rm -f conf$$ conf$$.exe conf$$.file
                   14983: echo >conf$$.file
                   14984: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   14985:   # We could just check for DJGPP; but this test a) works b) is more generic
                   14986:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   14987:   if test -f conf$$.exe; then
                   14988:     # Don't use ln at all; we don't have any links
                   14989:     as_ln_s='cp -p'
                   14990:   else
                   14991:     as_ln_s='ln -s'
                   14992:   fi
                   14993: elif ln conf$$.file conf$$ 2>/dev/null; then
                   14994:   as_ln_s=ln
                   14995: else
                   14996:   as_ln_s='cp -p'
                   14997: fi
                   14998: rm -f conf$$ conf$$.exe conf$$.file
                   14999: 
                   15000: if mkdir -p . 2>/dev/null; then
                   15001:   as_mkdir_p=:
                   15002: else
                   15003:   test -d ./-p && rmdir ./-p
                   15004:   as_mkdir_p=false
                   15005: fi
                   15006: 
                   15007: as_executable_p="test -f"
                   15008: 
                   15009: # Sed expression to map a string onto a valid CPP name.
                   15010: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   15011: 
                   15012: # Sed expression to map a string onto a valid variable name.
                   15013: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   15014: 
                   15015: 
                   15016: # IFS
                   15017: # We need space, tab and new line, in precisely that order.
                   15018: as_nl='
                   15019: '
                   15020: IFS="  $as_nl"
                   15021: 
                   15022: # CDPATH.
                   15023: $as_unset CDPATH
                   15024: 
                   15025: exec 6>&1
                   15026: 
                   15027: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   15028: # report actual input values of CONFIG_FILES etc. instead of their
                   15029: # values after options handling.  Logging --version etc. is OK.
                   15030: exec 5>>config.log
                   15031: {
                   15032:   echo
                   15033:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15034: ## Running $as_me. ##
                   15035: _ASBOX
                   15036: } >&5
                   15037: cat >&5 <<_CSEOF
                   15038: 
                   15039: This file was extended by $as_me, which was
                   15040: generated by GNU Autoconf 2.59.  Invocation command line was
                   15041: 
                   15042:   CONFIG_FILES    = $CONFIG_FILES
                   15043:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15044:   CONFIG_LINKS    = $CONFIG_LINKS
                   15045:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15046:   $ $0 $@
                   15047: 
                   15048: _CSEOF
                   15049: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   15050: echo >&5
                   15051: _ACEOF
                   15052: 
                   15053: # Files that config.status was made for.
                   15054: if test -n "$ac_config_files"; then
                   15055:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   15056: fi
                   15057: 
                   15058: if test -n "$ac_config_headers"; then
                   15059:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   15060: fi
                   15061: 
                   15062: if test -n "$ac_config_links"; then
                   15063:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   15064: fi
                   15065: 
                   15066: if test -n "$ac_config_commands"; then
                   15067:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   15068: fi
                   15069: 
                   15070: cat >>$CONFIG_STATUS <<\_ACEOF
                   15071: 
                   15072: ac_cs_usage="\
                   15073: \`$as_me' instantiates files from templates according to the
                   15074: current configuration.
                   15075: 
                   15076: Usage: $0 [OPTIONS] [FILE]...
                   15077: 
                   15078:   -h, --help       print this help, then exit
                   15079:   -V, --version    print version number, then exit
                   15080:   -q, --quiet      do not print progress messages
                   15081:   -d, --debug      don't remove temporary files
                   15082:       --recheck    update $as_me by reconfiguring in the same conditions
                   15083:   --file=FILE[:TEMPLATE]
                   15084:                   instantiate the configuration file FILE
                   15085:   --header=FILE[:TEMPLATE]
                   15086:                   instantiate the configuration header FILE
                   15087: 
                   15088: Configuration files:
                   15089: $config_files
                   15090: 
                   15091: Configuration headers:
                   15092: $config_headers
                   15093: 
                   15094: Report bugs to <[email protected]>."
                   15095: _ACEOF
                   15096: 
                   15097: cat >>$CONFIG_STATUS <<_ACEOF
                   15098: ac_cs_version="\\
                   15099: config.status
                   15100: configured by $0, generated by GNU Autoconf 2.59,
                   15101:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   15102: 
                   15103: Copyright (C) 2003 Free Software Foundation, Inc.
                   15104: This config.status script is free software; the Free Software Foundation
                   15105: gives unlimited permission to copy, distribute and modify it."
                   15106: srcdir=$srcdir
                   15107: _ACEOF
                   15108: 
                   15109: cat >>$CONFIG_STATUS <<\_ACEOF
                   15110: # If no file are specified by the user, then we need to provide default
                   15111: # value.  By we need to know if files were specified by the user.
                   15112: ac_need_defaults=:
                   15113: while test $# != 0
1.1       root     15114: do
1.1.1.19  root     15115:   case $1 in
                   15116:   --*=*)
                   15117:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   15118:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   15119:     ac_shift=:
                   15120:     ;;
                   15121:   -*)
                   15122:     ac_option=$1
                   15123:     ac_optarg=$2
                   15124:     ac_shift=shift
                   15125:     ;;
                   15126:   *) # This is not an option, so the user has probably given explicit
                   15127:      # arguments.
                   15128:      ac_option=$1
                   15129:      ac_need_defaults=false;;
                   15130:   esac
                   15131: 
                   15132:   case $ac_option in
                   15133:   # Handling of the options.
                   15134: _ACEOF
                   15135: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     15136:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1.19  root     15137:     ac_cs_recheck=: ;;
                   15138:   --version | --vers* | -V )
                   15139:     echo "$ac_cs_version"; exit 0 ;;
                   15140:   --he | --h)
                   15141:     # Conflict between --help and --header
                   15142:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   15143: Try \`$0 --help' for more information." >&5
                   15144: echo "$as_me: error: ambiguous option: $1
                   15145: Try \`$0 --help' for more information." >&2;}
                   15146:    { (exit 1); exit 1; }; };;
                   15147:   --help | --hel | -h )
                   15148:     echo "$ac_cs_usage"; exit 0 ;;
                   15149:   --debug | --d* | -d )
                   15150:     debug=: ;;
                   15151:   --file | --fil | --fi | --f )
                   15152:     $ac_shift
                   15153:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   15154:     ac_need_defaults=false;;
                   15155:   --header | --heade | --head | --hea )
                   15156:     $ac_shift
                   15157:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   15158:     ac_need_defaults=false;;
                   15159:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15160:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15161:     ac_cs_silent=: ;;
                   15162: 
                   15163:   # This is an error.
                   15164:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   15165: Try \`$0 --help' for more information." >&5
                   15166: echo "$as_me: error: unrecognized option: $1
                   15167: Try \`$0 --help' for more information." >&2;}
                   15168:    { (exit 1); exit 1; }; } ;;
                   15169: 
                   15170:   *) ac_config_targets="$ac_config_targets $1" ;;
                   15171: 
1.1       root     15172:   esac
1.1.1.19  root     15173:   shift
1.1       root     15174: done
                   15175: 
1.1.1.19  root     15176: ac_configure_extra_args=
1.1       root     15177: 
1.1.1.19  root     15178: if $ac_cs_silent; then
                   15179:   exec 6>/dev/null
                   15180:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15181: fi
1.1       root     15182: 
1.1.1.19  root     15183: _ACEOF
                   15184: cat >>$CONFIG_STATUS <<_ACEOF
                   15185: if \$ac_cs_recheck; then
                   15186:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   15187:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   15188: fi
                   15189: 
                   15190: _ACEOF
                   15191: 
                   15192: 
                   15193: 
                   15194: 
                   15195: 
                   15196: cat >>$CONFIG_STATUS <<\_ACEOF
                   15197: for ac_config_target in $ac_config_targets
                   15198: do
                   15199:   case "$ac_config_target" in
                   15200:   # Handling of arguments.
                   15201:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   15202:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   15203:   "src/sysconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/sysconfig.h" ;;
                   15204:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   15205: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   15206:    { (exit 1); exit 1; }; };;
                   15207:   esac
                   15208: done
                   15209: 
                   15210: # If the user did not use the arguments to specify the items to instantiate,
                   15211: # then the envvar interface is used.  Set only those that are not.
                   15212: # We use the long form for the default assignment because of an extremely
                   15213: # bizarre bug on SunOS 4.1.3.
                   15214: if $ac_need_defaults; then
                   15215:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   15216:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   15217: fi
                   15218: 
                   15219: # Have a temporary directory for convenience.  Make it in the build tree
                   15220: # simply because there is no reason to put it here, and in addition,
                   15221: # creating and moving files from /tmp can sometimes cause problems.
                   15222: # Create a temporary directory, and hook for its removal unless debugging.
                   15223: $debug ||
                   15224: {
                   15225:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   15226:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   15227: }
                   15228: 
                   15229: # Create a (secure) tmp directory for tmp files.
                   15230: 
                   15231: {
                   15232:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   15233:   test -n "$tmp" && test -d "$tmp"
                   15234: }  ||
                   15235: {
                   15236:   tmp=./confstat$$-$RANDOM
                   15237:   (umask 077 && mkdir $tmp)
                   15238: } ||
                   15239: {
                   15240:    echo "$me: cannot create a temporary directory in ." >&2
                   15241:    { (exit 1); exit 1; }
                   15242: }
1.1       root     15243: 
1.1.1.19  root     15244: _ACEOF
                   15245: 
                   15246: cat >>$CONFIG_STATUS <<_ACEOF
                   15247: 
                   15248: #
                   15249: # CONFIG_FILES section.
                   15250: #
                   15251: 
                   15252: # No need to generate the scripts if there are no CONFIG_FILES.
                   15253: # This happens for instance when ./config.status config.h
                   15254: if test -n "\$CONFIG_FILES"; then
                   15255:   # Protect against being on the right side of a sed subst in config.status.
                   15256:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   15257:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   15258: s,@SHELL@,$SHELL,;t t
                   15259: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   15260: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   15261: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   15262: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   15263: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   15264: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   15265: s,@exec_prefix@,$exec_prefix,;t t
                   15266: s,@prefix@,$prefix,;t t
                   15267: s,@program_transform_name@,$program_transform_name,;t t
                   15268: s,@bindir@,$bindir,;t t
                   15269: s,@sbindir@,$sbindir,;t t
                   15270: s,@libexecdir@,$libexecdir,;t t
                   15271: s,@datadir@,$datadir,;t t
                   15272: s,@sysconfdir@,$sysconfdir,;t t
                   15273: s,@sharedstatedir@,$sharedstatedir,;t t
                   15274: s,@localstatedir@,$localstatedir,;t t
                   15275: s,@libdir@,$libdir,;t t
                   15276: s,@includedir@,$includedir,;t t
                   15277: s,@oldincludedir@,$oldincludedir,;t t
                   15278: s,@infodir@,$infodir,;t t
                   15279: s,@mandir@,$mandir,;t t
                   15280: s,@build_alias@,$build_alias,;t t
                   15281: s,@host_alias@,$host_alias,;t t
                   15282: s,@target_alias@,$target_alias,;t t
                   15283: s,@DEFS@,$DEFS,;t t
                   15284: s,@ECHO_C@,$ECHO_C,;t t
                   15285: s,@ECHO_N@,$ECHO_N,;t t
                   15286: s,@ECHO_T@,$ECHO_T,;t t
                   15287: s,@LIBS@,$LIBS,;t t
                   15288: s,@CC@,$CC,;t t
                   15289: s,@CFLAGS@,$CFLAGS,;t t
                   15290: s,@LDFLAGS@,$LDFLAGS,;t t
                   15291: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   15292: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   15293: s,@EXEEXT@,$EXEEXT,;t t
                   15294: s,@OBJEXT@,$OBJEXT,;t t
                   15295: s,@CPP@,$CPP,;t t
                   15296: s,@SET_MAKE@,$SET_MAKE,;t t
                   15297: s,@MAKEDEPPRG@,$MAKEDEPPRG,;t t
                   15298: s,@FILEPRG@,$FILEPRG,;t t
                   15299: s,@WRCPRG@,$WRCPRG,;t t
                   15300: s,@RCLPRG@,$RCLPRG,;t t
                   15301: s,@SDL_CONFIG@,$SDL_CONFIG,;t t
                   15302: s,@EGREP@,$EGREP,;t t
                   15303: s,@build@,$build,;t t
                   15304: s,@build_cpu@,$build_cpu,;t t
                   15305: s,@build_vendor@,$build_vendor,;t t
                   15306: s,@build_os@,$build_os,;t t
                   15307: s,@host@,$host,;t t
                   15308: s,@host_cpu@,$host_cpu,;t t
                   15309: s,@host_vendor@,$host_vendor,;t t
                   15310: s,@host_os@,$host_os,;t t
                   15311: s,@X_CFLAGS@,$X_CFLAGS,;t t
                   15312: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
                   15313: s,@X_LIBS@,$X_LIBS,;t t
                   15314: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
                   15315: s,@LIBOBJS@,$LIBOBJS,;t t
1.1.1.20  root     15316: s,@PKG_CONFIG@,$PKG_CONFIG,;t t
1.1.1.19  root     15317: s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
                   15318: s,@GTK_LIBS@,$GTK_LIBS,;t t
                   15319: s,@ac_cv_c_inline@,$ac_cv_c_inline,;t t
                   15320: s,@NO_SCHED_CFLAGS@,$NO_SCHED_CFLAGS,;t t
                   15321: s,@NO_REORDER_CFLAGS@,$NO_REORDER_CFLAGS,;t t
                   15322: s,@LIBRARIES@,$LIBRARIES,;t t
                   15323: s,@TARGET@,$TARGET,;t t
                   15324: s,@GFXOBJS@,$GFXOBJS,;t t
                   15325: s,@RESOBJS@,$RESOBJS,;t t
                   15326: s,@ASMOBJS@,$ASMOBJS,;t t
                   15327: s,@SCSIOBJS@,$SCSIOBJS,;t t
                   15328: s,@CPUOBJS@,$CPUOBJS,;t t
                   15329: s,@DEBUGOBJS@,$DEBUGOBJS,;t t
                   15330: s,@FSDBOBJS@,$FSDBOBJS,;t t
                   15331: s,@MATHLIB@,$MATHLIB,;t t
                   15332: s,@SHM_SUPPORT_LINKS@,$SHM_SUPPORT_LINKS,;t t
                   15333: s,@top_srcdir@,$top_srcdir,;t t
                   15334: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       root     15335: CEOF
1.1.1.4   root     15336: 
1.1.1.19  root     15337: _ACEOF
1.1.1.4   root     15338: 
1.1.1.19  root     15339:   cat >>$CONFIG_STATUS <<\_ACEOF
                   15340:   # Split the substitutions into bite-sized pieces for seds with
                   15341:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   15342:   ac_max_sed_lines=48
                   15343:   ac_sed_frag=1 # Number of current file.
                   15344:   ac_beg=1 # First line for current file.
                   15345:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   15346:   ac_more_lines=:
                   15347:   ac_sed_cmds=
                   15348:   while $ac_more_lines; do
                   15349:     if test $ac_beg -gt 1; then
                   15350:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   15351:     else
                   15352:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   15353:     fi
                   15354:     if test ! -s $tmp/subs.frag; then
                   15355:       ac_more_lines=false
1.1.1.4   root     15356:     else
1.1.1.19  root     15357:       # The purpose of the label and of the branching condition is to
                   15358:       # speed up the sed processing (if there are no `@' at all, there
                   15359:       # is no need to browse any of the substitutions).
                   15360:       # These are the two extra sed commands mentioned above.
                   15361:       (echo ':t
                   15362:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   15363:       if test -z "$ac_sed_cmds"; then
                   15364:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   15365:       else
                   15366:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   15367:       fi
                   15368:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   15369:       ac_beg=$ac_end
                   15370:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1.1.4   root     15371:     fi
1.1.1.19  root     15372:   done
                   15373:   if test -z "$ac_sed_cmds"; then
                   15374:     ac_sed_cmds=cat
1.1.1.4   root     15375:   fi
1.1.1.19  root     15376: fi # test -n "$CONFIG_FILES"
1.1       root     15377: 
1.1.1.19  root     15378: _ACEOF
                   15379: cat >>$CONFIG_STATUS <<\_ACEOF
                   15380: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1.1.4   root     15381:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.19  root     15382:   case $ac_file in
                   15383:   - | *:- | *:-:* ) # input from stdin
                   15384:        cat >$tmp/stdin
                   15385:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   15386:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   15387:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   15388:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   15389:   * )   ac_file_in=$ac_file.in ;;
1.1       root     15390:   esac
                   15391: 
1.1.1.19  root     15392:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   15393:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   15394: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15395:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   15396:         X"$ac_file" : 'X\(//\)$' \| \
                   15397:         X"$ac_file" : 'X\(/\)' \| \
                   15398:         .     : '\(.\)' 2>/dev/null ||
                   15399: echo X"$ac_file" |
                   15400:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   15401:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   15402:          /^X\(\/\/\)$/{ s//\1/; q; }
                   15403:          /^X\(\/\).*/{ s//\1/; q; }
                   15404:          s/.*/./; q'`
                   15405:   { if $as_mkdir_p; then
                   15406:     mkdir -p "$ac_dir"
                   15407:   else
                   15408:     as_dir="$ac_dir"
                   15409:     as_dirs=
                   15410:     while test ! -d "$as_dir"; do
                   15411:       as_dirs="$as_dir $as_dirs"
                   15412:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   15413: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15414:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15415:         X"$as_dir" : 'X\(//\)$' \| \
                   15416:         X"$as_dir" : 'X\(/\)' \| \
                   15417:         .     : '\(.\)' 2>/dev/null ||
                   15418: echo X"$as_dir" |
                   15419:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   15420:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   15421:          /^X\(\/\/\)$/{ s//\1/; q; }
                   15422:          /^X\(\/\).*/{ s//\1/; q; }
                   15423:          s/.*/./; q'`
                   15424:     done
                   15425:     test ! -n "$as_dirs" || mkdir $as_dirs
                   15426:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   15427: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   15428:    { (exit 1); exit 1; }; }; }
                   15429: 
                   15430:   ac_builddir=.
                   15431: 
                   15432: if test "$ac_dir" != .; then
                   15433:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   15434:   # A "../" for each directory in $ac_dir_suffix.
                   15435:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   15436: else
                   15437:   ac_dir_suffix= ac_top_builddir=
                   15438: fi
                   15439: 
                   15440: case $srcdir in
                   15441:   .)  # No --srcdir option.  We are building in place.
                   15442:     ac_srcdir=.
                   15443:     if test -z "$ac_top_builddir"; then
                   15444:        ac_top_srcdir=.
                   15445:     else
                   15446:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   15447:     fi ;;
                   15448:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   15449:     ac_srcdir=$srcdir$ac_dir_suffix;
                   15450:     ac_top_srcdir=$srcdir ;;
1.1       root     15451:   *) # Relative path.
1.1.1.19  root     15452:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   15453:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   15454: esac
                   15455: 
                   15456: # Do not use `cd foo && pwd` to compute absolute paths, because
                   15457: # the directories may not exist.
                   15458: case `pwd` in
                   15459: .) ac_abs_builddir="$ac_dir";;
                   15460: *)
                   15461:   case "$ac_dir" in
                   15462:   .) ac_abs_builddir=`pwd`;;
                   15463:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   15464:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   15465:   esac;;
                   15466: esac
                   15467: case $ac_abs_builddir in
                   15468: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   15469: *)
                   15470:   case ${ac_top_builddir}. in
                   15471:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   15472:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   15473:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   15474:   esac;;
                   15475: esac
                   15476: case $ac_abs_builddir in
                   15477: .) ac_abs_srcdir=$ac_srcdir;;
                   15478: *)
                   15479:   case $ac_srcdir in
                   15480:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   15481:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   15482:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   15483:   esac;;
                   15484: esac
                   15485: case $ac_abs_builddir in
                   15486: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   15487: *)
                   15488:   case $ac_top_srcdir in
                   15489:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   15490:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   15491:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   15492:   esac;;
                   15493: esac
1.1       root     15494: 
1.1.1.4   root     15495: 
                   15496: 
1.1.1.19  root     15497:   if test x"$ac_file" != x-; then
                   15498:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   15499: echo "$as_me: creating $ac_file" >&6;}
                   15500:     rm -f "$ac_file"
                   15501:   fi
                   15502:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   15503:   # use $as_me), people would be surprised to read:
                   15504:   #    /* config.h.  Generated by config.status.  */
                   15505:   if test x"$ac_file" = x-; then
                   15506:     configure_input=
                   15507:   else
                   15508:     configure_input="$ac_file.  "
                   15509:   fi
                   15510:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   15511:                                     sed 's,.*/,,'` by configure."
                   15512: 
                   15513:   # First look for the input files in the build tree, otherwise in the
                   15514:   # src tree.
                   15515:   ac_file_inputs=`IFS=:
                   15516:     for f in $ac_file_in; do
                   15517:       case $f in
                   15518:       -) echo $tmp/stdin ;;
                   15519:       [\\/$]*)
                   15520:         # Absolute (can't be DOS-style, as IFS=:)
                   15521:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   15522: echo "$as_me: error: cannot find input file: $f" >&2;}
                   15523:    { (exit 1); exit 1; }; }
                   15524:         echo "$f";;
                   15525:       *) # Relative
                   15526:         if test -f "$f"; then
                   15527:           # Build tree
                   15528:           echo "$f"
                   15529:         elif test -f "$srcdir/$f"; then
                   15530:           # Source tree
                   15531:           echo "$srcdir/$f"
                   15532:         else
                   15533:           # /dev/null tree
                   15534:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   15535: echo "$as_me: error: cannot find input file: $f" >&2;}
                   15536:    { (exit 1); exit 1; }; }
                   15537:         fi;;
                   15538:       esac
                   15539:     done` || { (exit 1); exit 1; }
                   15540: _ACEOF
                   15541: cat >>$CONFIG_STATUS <<_ACEOF
                   15542:   sed "$ac_vpsub
                   15543: $extrasub
                   15544: _ACEOF
                   15545: cat >>$CONFIG_STATUS <<\_ACEOF
                   15546: :t
                   15547: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   15548: s,@configure_input@,$configure_input,;t t
                   15549: s,@srcdir@,$ac_srcdir,;t t
                   15550: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   15551: s,@top_srcdir@,$ac_top_srcdir,;t t
                   15552: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   15553: s,@builddir@,$ac_builddir,;t t
                   15554: s,@abs_builddir@,$ac_abs_builddir,;t t
                   15555: s,@top_builddir@,$ac_top_builddir,;t t
                   15556: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   15557: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   15558:   rm -f $tmp/stdin
                   15559:   if test x"$ac_file" != x-; then
                   15560:     mv $tmp/out $ac_file
                   15561:   else
                   15562:     cat $tmp/out
                   15563:     rm -f $tmp/out
                   15564:   fi
                   15565: 
                   15566: done
                   15567: _ACEOF
                   15568: cat >>$CONFIG_STATUS <<\_ACEOF
                   15569: 
                   15570: #
                   15571: # CONFIG_HEADER section.
                   15572: #
1.1       root     15573: 
                   15574: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   15575: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   15576: #
                   15577: # ac_d sets the value in "#define NAME VALUE" lines.
1.1.1.19  root     15578: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   15579: ac_dB='[        ].*$,\1#\2'
                   15580: ac_dC=' '
                   15581: ac_dD=',;t'
                   15582: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   15583: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   15584: ac_uB='$,\1#\2define\3'
1.1       root     15585: ac_uC=' '
1.1.1.19  root     15586: ac_uD=',;t'
1.1       root     15587: 
1.1.1.19  root     15588: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1.1.4   root     15589:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.19  root     15590:   case $ac_file in
                   15591:   - | *:- | *:-:* ) # input from stdin
                   15592:        cat >$tmp/stdin
                   15593:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   15594:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   15595:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   15596:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   15597:   * )   ac_file_in=$ac_file.in ;;
1.1       root     15598:   esac
                   15599: 
1.1.1.19  root     15600:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   15601: echo "$as_me: creating $ac_file" >&6;}
1.1       root     15602: 
1.1.1.19  root     15603:   # First look for the input files in the build tree, otherwise in the
                   15604:   # src tree.
                   15605:   ac_file_inputs=`IFS=:
                   15606:     for f in $ac_file_in; do
                   15607:       case $f in
                   15608:       -) echo $tmp/stdin ;;
                   15609:       [\\/$]*)
                   15610:         # Absolute (can't be DOS-style, as IFS=:)
                   15611:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   15612: echo "$as_me: error: cannot find input file: $f" >&2;}
                   15613:    { (exit 1); exit 1; }; }
                   15614:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   15615:         echo "$f";;
                   15616:       *) # Relative
                   15617:         if test -f "$f"; then
                   15618:           # Build tree
                   15619:           echo "$f"
                   15620:         elif test -f "$srcdir/$f"; then
                   15621:           # Source tree
                   15622:           echo "$srcdir/$f"
                   15623:         else
                   15624:           # /dev/null tree
                   15625:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   15626: echo "$as_me: error: cannot find input file: $f" >&2;}
                   15627:    { (exit 1); exit 1; }; }
                   15628:         fi;;
                   15629:       esac
                   15630:     done` || { (exit 1); exit 1; }
                   15631:   # Remove the trailing spaces.
                   15632:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
                   15633: 
                   15634: _ACEOF
                   15635: 
                   15636: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   15637: # `conftest.undefs', that substitutes the proper values into
                   15638: # config.h.in to produce config.h.  The first handles `#define'
                   15639: # templates, and the second `#undef' templates.
                   15640: # And first: Protect against being on the right side of a sed subst in
                   15641: # config.status.  Protect against being in an unquoted here document
                   15642: # in config.status.
                   15643: rm -f conftest.defines conftest.undefs
                   15644: # Using a here document instead of a string reduces the quoting nightmare.
                   15645: # Putting comments in sed scripts is not portable.
                   15646: #
                   15647: # `end' is used to avoid that the second main sed command (meant for
                   15648: # 0-ary CPP macros) applies to n-ary macro definitions.
                   15649: # See the Autoconf documentation for `clear'.
                   15650: cat >confdef2sed.sed <<\_ACEOF
                   15651: s/[\\&,]/\\&/g
                   15652: s,[\\$`],\\&,g
                   15653: t clear
                   15654: : clear
                   15655: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   15656: t end
                   15657: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   15658: : end
                   15659: _ACEOF
                   15660: # If some macros were called several times there might be several times
                   15661: # the same #defines, which is useless.  Nevertheless, we may not want to
                   15662: # sort them, since we want the *last* AC-DEFINE to be honored.
                   15663: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   15664: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   15665: rm -f confdef2sed.sed
1.1       root     15666: 
                   15667: # This sed command replaces #undef with comments.  This is necessary, for
                   15668: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   15669: # on some systems where configure will not decide to define it.
1.1.1.19  root     15670: cat >>conftest.undefs <<\_ACEOF
                   15671: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   15672: _ACEOF
                   15673: 
                   15674: # Break up conftest.defines because some shells have a limit on the size
                   15675: # of here documents, and old seds have small limits too (100 cmds).
                   15676: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   15677: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   15678: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   15679: echo '  :' >>$CONFIG_STATUS
1.1       root     15680: rm -f conftest.tail
1.1.1.19  root     15681: while grep . conftest.defines >/dev/null
1.1       root     15682: do
1.1.1.19  root     15683:   # Write a limited-size here document to $tmp/defines.sed.
                   15684:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   15685:   # Speed up: don't consider the non `#define' lines.
                   15686:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   15687:   # Work around the forget-to-reset-the-flag bug.
                   15688:   echo 't clr' >>$CONFIG_STATUS
                   15689:   echo ': clr' >>$CONFIG_STATUS
                   15690:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
1.1       root     15691:   echo 'CEOF
1.1.1.19  root     15692:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   15693:   rm -f $tmp/in
                   15694:   mv $tmp/out $tmp/in
                   15695: ' >>$CONFIG_STATUS
                   15696:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   15697:   rm -f conftest.defines
                   15698:   mv conftest.tail conftest.defines
                   15699: done
                   15700: rm -f conftest.defines
                   15701: echo '  fi # grep' >>$CONFIG_STATUS
                   15702: echo >>$CONFIG_STATUS
                   15703: 
                   15704: # Break up conftest.undefs because some shells have a limit on the size
                   15705: # of here documents, and old seds have small limits too (100 cmds).
                   15706: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
                   15707: rm -f conftest.tail
                   15708: while grep . conftest.undefs >/dev/null
                   15709: do
                   15710:   # Write a limited-size here document to $tmp/undefs.sed.
                   15711:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   15712:   # Speed up: don't consider the non `#undef'
                   15713:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   15714:   # Work around the forget-to-reset-the-flag bug.
                   15715:   echo 't clr' >>$CONFIG_STATUS
                   15716:   echo ': clr' >>$CONFIG_STATUS
                   15717:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
                   15718:   echo 'CEOF
                   15719:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   15720:   rm -f $tmp/in
                   15721:   mv $tmp/out $tmp/in
                   15722: ' >>$CONFIG_STATUS
                   15723:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   15724:   rm -f conftest.undefs
                   15725:   mv conftest.tail conftest.undefs
                   15726: done
                   15727: rm -f conftest.undefs
                   15728: 
                   15729: cat >>$CONFIG_STATUS <<\_ACEOF
                   15730:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   15731:   # use $as_me), people would be surprised to read:
                   15732:   #    /* config.h.  Generated by config.status.  */
                   15733:   if test x"$ac_file" = x-; then
                   15734:     echo "/* Generated by configure.  */" >$tmp/config.h
                   15735:   else
                   15736:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
1.1       root     15737:   fi
1.1.1.19  root     15738:   cat $tmp/in >>$tmp/config.h
                   15739:   rm -f $tmp/in
                   15740:   if test x"$ac_file" != x-; then
                   15741:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   15742:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   15743: echo "$as_me: $ac_file is unchanged" >&6;}
                   15744:     else
                   15745:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   15746: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15747:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   15748:         X"$ac_file" : 'X\(//\)$' \| \
                   15749:         X"$ac_file" : 'X\(/\)' \| \
                   15750:         .     : '\(.\)' 2>/dev/null ||
                   15751: echo X"$ac_file" |
                   15752:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   15753:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   15754:          /^X\(\/\/\)$/{ s//\1/; q; }
                   15755:          /^X\(\/\).*/{ s//\1/; q; }
                   15756:          s/.*/./; q'`
                   15757:       { if $as_mkdir_p; then
                   15758:     mkdir -p "$ac_dir"
                   15759:   else
                   15760:     as_dir="$ac_dir"
                   15761:     as_dirs=
                   15762:     while test ! -d "$as_dir"; do
                   15763:       as_dirs="$as_dir $as_dirs"
                   15764:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   15765: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15766:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15767:         X"$as_dir" : 'X\(//\)$' \| \
                   15768:         X"$as_dir" : 'X\(/\)' \| \
                   15769:         .     : '\(.\)' 2>/dev/null ||
                   15770: echo X"$as_dir" |
                   15771:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   15772:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   15773:          /^X\(\/\/\)$/{ s//\1/; q; }
                   15774:          /^X\(\/\).*/{ s//\1/; q; }
                   15775:          s/.*/./; q'`
                   15776:     done
                   15777:     test ! -n "$as_dirs" || mkdir $as_dirs
                   15778:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   15779: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   15780:    { (exit 1); exit 1; }; }; }
1.1       root     15781: 
1.1.1.19  root     15782:       rm -f $ac_file
                   15783:       mv $tmp/config.h $ac_file
                   15784:     fi
                   15785:   else
                   15786:     cat $tmp/config.h
                   15787:     rm -f $tmp/config.h
                   15788:   fi
                   15789: done
                   15790: _ACEOF
1.1       root     15791: 
1.1.1.19  root     15792: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     15793: 
1.1.1.19  root     15794: { (exit 0); exit 0; }
                   15795: _ACEOF
1.1       root     15796: chmod +x $CONFIG_STATUS
1.1.1.19  root     15797: ac_clean_files=$ac_clean_files_save
                   15798: 
                   15799: 
                   15800: # configure is writing to config.log, and then calls config.status.
                   15801: # config.status does its own redirection, appending to config.log.
                   15802: # Unfortunately, on DOS this fails, as config.log is still kept open
                   15803: # by configure, so config.status won't be able to write to it; its
                   15804: # output is simply discarded.  So we exec the FD to /dev/null,
                   15805: # effectively closing config.log, so it can be properly (re)opened and
                   15806: # appended to by config.status.  When coming back to configure, we
                   15807: # need to make the FD available again.
                   15808: if test "$no_create" != yes; then
                   15809:   ac_cs_success=:
                   15810:   ac_config_status_args=
                   15811:   test "$silent" = yes &&
                   15812:     ac_config_status_args="$ac_config_status_args --quiet"
                   15813:   exec 5>/dev/null
                   15814:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   15815:   exec 5>>config.log
                   15816:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   15817:   # would make configure fail if this is the last instruction.
                   15818:   $ac_cs_success || { (exit 1); exit 1; }
                   15819: fi
1.1       root     15820: 
1.1.1.4   root     15821: if [ "x$DO_PROFILING" = "xyes" ]; then
1.1.1.3   root     15822:   echo "Building a profiling version of UAE (select this option only if you know"
                   15823:   echo "what you are doing)"
                   15824: fi
1.1.1.4   root     15825: 
                   15826: 
                   15827: 
                   15828: 
1.1.1.10  root     15829: if test -f $abssrcdir/src/target.h
1.1.1.6   root     15830: then
                   15831:   echo
                   15832:   echo "Fatal error: Can't configure in the current directory, because"
                   15833:   echo "configure was run in the source directory. Go to the source"
                   15834:   echo "directory, type"
                   15835:   echo "  make streifenfrei"
                   15836:   echo "and try again."
                   15837:   exit 1
                   15838: fi
1.1.1.4   root     15839: 
                   15840: ln -s $abssrcdir/src/$MACHDEP src/machdep
                   15841: ln -s $abssrcdir/src/$OSDEP src/osdep
                   15842: ln -s $abssrcdir/src/$THREADDEP src/threaddep
                   15843: ln -s $abssrcdir/src/$SOUNDDEP src/sounddep
1.1.1.6   root     15844: 
1.1.1.10  root     15845: echo "#include \"$abssrcdir/src/targets/$TARGETDEP\"" > src/target.h
                   15846: echo "#include \"$abssrcdir/config.h\"" > src/config.h
1.1.1.6   root     15847: 
1.1.1.10  root     15848: echo "#include \"$abssrcdir/src/$SOUNDDEP/sound.c\"" >src/sd-sound.c
                   15849: echo "#include \"$abssrcdir/src/$OD_JOYSTICK\"" >src/od-joy.c
                   15850: echo "#include \"$abssrcdir/src/$MACHDEP/support.c\"" >src/md-support.c
                   15851: 
1.1.1.6   root     15852: if [ "x$MACHDEP" = "xmd-i386-gcc" ]; then
1.1.1.10  root     15853:   echo "#include \"machdep/X86.S\"" >src/md-X86.S
1.1.1.6   root     15854: fi
1.1.1.11  root     15855: echo "#include \"$abssrcdir/src/include/$FPP_H\"" >src/md-fpp.h
1.1.1.6   root     15856: 
1.1.1.16  root     15857: mkdir -p src/tools
                   15858: progname=$0
                   15859: srcd=`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
                   15860: topsrcdir=`cd $srcd; pwd`
                   15861: cd src/tools
                   15862: CC=$HOSTCC $topsrcdir/src/tools/configure
1.1.1.6   root     15863: 
1.1.1.4   root     15864: echo
                   15865: echo
                   15866: if [ "x$NR_ERRORS" = "x0" ]; then
                   15867:   if [ "x$NR_WARNINGS" = "x0" ]; then
                   15868:     echo "Configuration was successful!"
                   15869:   else
                   15870:     echo "There were $NR_WARNINGS warnings. That is usually harmless, but read the output"
                   15871:     echo "from configure carefully if you run into problems."
                   15872:   fi
                   15873: else
                   15874:   echo "There were $NR_ERRORS errors. UAE may still build and run cleanly, but you may"
                   15875:   echo "not get all the features you asked for."
                   15876: fi
                   15877: echo

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.