Annotation of uae/configure, revision 1.1.1.19

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: 
        !           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 GTK_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'
        !           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)
        !           855:   --disable-gtktest       Do not try to compile and run a test GTK program
        !           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:   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
        !           872:   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
        !           873: 
        !           874: Some influential environment variables:
        !           875:   CC          C compiler command
        !           876:   CFLAGS      C compiler flags
        !           877:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
        !           878:               nonstandard directory <lib dir>
        !           879:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
        !           880:               headers in a nonstandard directory <include dir>
        !           881:   CPP         C preprocessor
        !           882: 
        !           883: Use these variables to override the choices made by `configure' or to help
        !           884: it to find libraries and programs with nonstandard names/locations.
        !           885: 
        !           886: _ACEOF
        !           887: fi
        !           888: 
        !           889: if test "$ac_init_help" = "recursive"; then
        !           890:   # If there are subdirs, report their specific --help.
        !           891:   ac_popdir=`pwd`
        !           892:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
        !           893:     test -d $ac_dir || continue
        !           894:     ac_builddir=.
        !           895: 
        !           896: if test "$ac_dir" != .; then
        !           897:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !           898:   # A "../" for each directory in $ac_dir_suffix.
        !           899:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !           900: else
        !           901:   ac_dir_suffix= ac_top_builddir=
        !           902: fi
        !           903: 
        !           904: case $srcdir in
        !           905:   .)  # No --srcdir option.  We are building in place.
        !           906:     ac_srcdir=.
        !           907:     if test -z "$ac_top_builddir"; then
        !           908:        ac_top_srcdir=.
        !           909:     else
        !           910:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !           911:     fi ;;
        !           912:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !           913:     ac_srcdir=$srcdir$ac_dir_suffix;
        !           914:     ac_top_srcdir=$srcdir ;;
        !           915:   *) # Relative path.
        !           916:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !           917:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !           918: esac
        !           919: 
        !           920: # Do not use `cd foo && pwd` to compute absolute paths, because
        !           921: # the directories may not exist.
        !           922: case `pwd` in
        !           923: .) ac_abs_builddir="$ac_dir";;
        !           924: *)
        !           925:   case "$ac_dir" in
        !           926:   .) ac_abs_builddir=`pwd`;;
        !           927:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
        !           928:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
        !           929:   esac;;
        !           930: esac
        !           931: case $ac_abs_builddir in
        !           932: .) ac_abs_top_builddir=${ac_top_builddir}.;;
        !           933: *)
        !           934:   case ${ac_top_builddir}. in
        !           935:   .) ac_abs_top_builddir=$ac_abs_builddir;;
        !           936:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
        !           937:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
        !           938:   esac;;
        !           939: esac
        !           940: case $ac_abs_builddir in
        !           941: .) ac_abs_srcdir=$ac_srcdir;;
        !           942: *)
        !           943:   case $ac_srcdir in
        !           944:   .) ac_abs_srcdir=$ac_abs_builddir;;
        !           945:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
        !           946:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
        !           947:   esac;;
        !           948: esac
        !           949: case $ac_abs_builddir in
        !           950: .) ac_abs_top_srcdir=$ac_top_srcdir;;
        !           951: *)
        !           952:   case $ac_top_srcdir in
        !           953:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
        !           954:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
        !           955:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
        !           956:   esac;;
        !           957: esac
        !           958: 
        !           959:     cd $ac_dir
        !           960:     # Check for guested configure; otherwise get Cygnus style configure.
        !           961:     if test -f $ac_srcdir/configure.gnu; then
        !           962:       echo
        !           963:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
        !           964:     elif test -f $ac_srcdir/configure; then
        !           965:       echo
        !           966:       $SHELL $ac_srcdir/configure  --help=recursive
        !           967:     elif test -f $ac_srcdir/configure.ac ||
        !           968:           test -f $ac_srcdir/configure.in; then
        !           969:       echo
        !           970:       $ac_configure --help
        !           971:     else
        !           972:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !           973:     fi
        !           974:     cd $ac_popdir
        !           975:   done
        !           976: fi
        !           977: 
        !           978: test -n "$ac_init_help" && exit 0
        !           979: if $ac_init_version; then
        !           980:   cat <<\_ACEOF
        !           981: 
        !           982: Copyright (C) 2003 Free Software Foundation, Inc.
        !           983: This configure script is free software; the Free Software Foundation
        !           984: gives unlimited permission to copy, distribute and modify it.
        !           985: _ACEOF
        !           986:   exit 0
        !           987: fi
        !           988: exec 5>config.log
        !           989: cat >&5 <<_ACEOF
        !           990: This file contains any messages produced by compilers while
        !           991: running configure, to aid debugging if configure makes a mistake.
        !           992: 
        !           993: It was created by $as_me, which was
        !           994: generated by GNU Autoconf 2.59.  Invocation command line was
        !           995: 
        !           996:   $ $0 $@
        !           997: 
        !           998: _ACEOF
        !           999: {
        !          1000: cat <<_ASUNAME
        !          1001: ## --------- ##
        !          1002: ## Platform. ##
        !          1003: ## --------- ##
        !          1004: 
        !          1005: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          1006: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !          1007: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !          1008: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !          1009: uname -v = `(uname -v) 2>/dev/null || echo unknown`
        !          1010: 
        !          1011: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !          1012: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
        !          1013: 
        !          1014: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
        !          1015: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
        !          1016: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
        !          1017: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
        !          1018: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
        !          1019: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
        !          1020: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
        !          1021: 
        !          1022: _ASUNAME
        !          1023: 
        !          1024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1025: for as_dir in $PATH
        !          1026: do
        !          1027:   IFS=$as_save_IFS
        !          1028:   test -z "$as_dir" && as_dir=.
        !          1029:   echo "PATH: $as_dir"
        !          1030: done
        !          1031: 
        !          1032: } >&5
        !          1033: 
        !          1034: cat >&5 <<_ACEOF
        !          1035: 
        !          1036: 
        !          1037: ## ----------- ##
        !          1038: ## Core tests. ##
        !          1039: ## ----------- ##
        !          1040: 
        !          1041: _ACEOF
        !          1042: 
        !          1043: 
        !          1044: # Keep a trace of the command line.
        !          1045: # Strip out --no-create and --no-recursion so they do not pile up.
        !          1046: # Strip out --silent because we don't want to record it for future runs.
        !          1047: # Also quote any args containing shell meta-characters.
        !          1048: # Make two passes to allow for proper duplicate-argument suppression.
        !          1049: ac_configure_args=
        !          1050: ac_configure_args0=
        !          1051: ac_configure_args1=
        !          1052: ac_sep=
        !          1053: ac_must_keep_next=false
        !          1054: for ac_pass in 1 2
        !          1055: do
        !          1056:   for ac_arg
        !          1057:   do
        !          1058:     case $ac_arg in
        !          1059:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
        !          1060:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          1061:     | -silent | --silent | --silen | --sile | --sil)
        !          1062:       continue ;;
        !          1063:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !          1064:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1065:     esac
        !          1066:     case $ac_pass in
        !          1067:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
        !          1068:     2)
        !          1069:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
        !          1070:       if test $ac_must_keep_next = true; then
        !          1071:        ac_must_keep_next=false # Got value, back to normal.
        !          1072:       else
        !          1073:        case $ac_arg in
        !          1074:          *=* | --config-cache | -C | -disable-* | --disable-* \
        !          1075:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
        !          1076:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
        !          1077:          | -with-* | --with-* | -without-* | --without-* | --x)
        !          1078:            case "$ac_configure_args0 " in
        !          1079:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
        !          1080:            esac
        !          1081:            ;;
        !          1082:          -* ) ac_must_keep_next=true ;;
        !          1083:        esac
        !          1084:       fi
        !          1085:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
        !          1086:       # Get rid of the leading space.
        !          1087:       ac_sep=" "
        !          1088:       ;;
        !          1089:     esac
        !          1090:   done
        !          1091: done
        !          1092: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
        !          1093: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
        !          1094: 
        !          1095: # When interrupted or exit'd, cleanup temporary files, and complete
        !          1096: # config.log.  We remove comments because anyway the quotes in there
        !          1097: # would cause problems or look ugly.
        !          1098: # WARNING: Be sure not to use single quotes in there, as some shells,
        !          1099: # such as our DU 5.0 friend, will then `close' the trap.
        !          1100: trap 'exit_status=$?
        !          1101:   # Save into config.log some information that might help in debugging.
        !          1102:   {
        !          1103:     echo
        !          1104: 
        !          1105:     cat <<\_ASBOX
        !          1106: ## ---------------- ##
        !          1107: ## Cache variables. ##
        !          1108: ## ---------------- ##
        !          1109: _ASBOX
        !          1110:     echo
        !          1111:     # The following way of writing the cache mishandles newlines in values,
        !          1112: {
        !          1113:   (set) 2>&1 |
        !          1114:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
        !          1115:     *ac_space=\ *)
        !          1116:       sed -n \
        !          1117:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
        !          1118:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
        !          1119:       ;;
        !          1120:     *)
        !          1121:       sed -n \
        !          1122:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !          1123:       ;;
        !          1124:     esac;
        !          1125: }
        !          1126:     echo
        !          1127: 
        !          1128:     cat <<\_ASBOX
        !          1129: ## ----------------- ##
        !          1130: ## Output variables. ##
        !          1131: ## ----------------- ##
        !          1132: _ASBOX
        !          1133:     echo
        !          1134:     for ac_var in $ac_subst_vars
        !          1135:     do
        !          1136:       eval ac_val=$`echo $ac_var`
        !          1137:       echo "$ac_var='"'"'$ac_val'"'"'"
        !          1138:     done | sort
        !          1139:     echo
        !          1140: 
        !          1141:     if test -n "$ac_subst_files"; then
        !          1142:       cat <<\_ASBOX
        !          1143: ## ------------- ##
        !          1144: ## Output files. ##
        !          1145: ## ------------- ##
        !          1146: _ASBOX
        !          1147:       echo
        !          1148:       for ac_var in $ac_subst_files
        !          1149:       do
        !          1150:        eval ac_val=$`echo $ac_var`
        !          1151:        echo "$ac_var='"'"'$ac_val'"'"'"
        !          1152:       done | sort
        !          1153:       echo
        !          1154:     fi
        !          1155: 
        !          1156:     if test -s confdefs.h; then
        !          1157:       cat <<\_ASBOX
        !          1158: ## ----------- ##
        !          1159: ## confdefs.h. ##
        !          1160: ## ----------- ##
        !          1161: _ASBOX
        !          1162:       echo
        !          1163:       sed "/^$/d" confdefs.h | sort
        !          1164:       echo
        !          1165:     fi
        !          1166:     test "$ac_signal" != 0 &&
        !          1167:       echo "$as_me: caught signal $ac_signal"
        !          1168:     echo "$as_me: exit $exit_status"
        !          1169:   } >&5
        !          1170:   rm -f core *.core &&
        !          1171:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
        !          1172:     exit $exit_status
        !          1173:      ' 0
        !          1174: for ac_signal in 1 2 13 15; do
        !          1175:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
        !          1176: done
        !          1177: ac_signal=0
        !          1178: 
        !          1179: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !          1180: rm -rf conftest* confdefs.h
        !          1181: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !          1182: echo >confdefs.h
        !          1183: 
        !          1184: # Predefined preprocessor variables.
        !          1185: 
        !          1186: cat >>confdefs.h <<_ACEOF
        !          1187: #define PACKAGE_NAME "$PACKAGE_NAME"
        !          1188: _ACEOF
        !          1189: 
        !          1190: 
        !          1191: cat >>confdefs.h <<_ACEOF
        !          1192: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
        !          1193: _ACEOF
        !          1194: 
        !          1195: 
        !          1196: cat >>confdefs.h <<_ACEOF
        !          1197: #define PACKAGE_VERSION "$PACKAGE_VERSION"
        !          1198: _ACEOF
        !          1199: 
1.1       root     1200: 
1.1.1.19! root     1201: cat >>confdefs.h <<_ACEOF
        !          1202: #define PACKAGE_STRING "$PACKAGE_STRING"
        !          1203: _ACEOF
        !          1204: 
        !          1205: 
        !          1206: cat >>confdefs.h <<_ACEOF
        !          1207: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          1208: _ACEOF
        !          1209: 
        !          1210: 
        !          1211: # Let the site file select an alternate cache file if it wants to.
1.1       root     1212: # Prefer explicitly selected file to automatically selected ones.
                   1213: if test -z "$CONFIG_SITE"; then
                   1214:   if test "x$prefix" != xNONE; then
                   1215:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1216:   else
                   1217:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1218:   fi
                   1219: fi
                   1220: for ac_site_file in $CONFIG_SITE; do
                   1221:   if test -r "$ac_site_file"; then
1.1.1.19! root     1222:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
        !          1223: echo "$as_me: loading site script $ac_site_file" >&6;}
        !          1224:     sed 's/^/| /' "$ac_site_file" >&5
1.1       root     1225:     . "$ac_site_file"
                   1226:   fi
                   1227: done
                   1228: 
                   1229: if test -r "$cache_file"; then
1.1.1.19! root     1230:   # Some versions of bash will fail to source /dev/null (special
        !          1231:   # files actually), so we avoid doing that.
        !          1232:   if test -f "$cache_file"; then
        !          1233:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
        !          1234: echo "$as_me: loading cache $cache_file" >&6;}
        !          1235:     case $cache_file in
        !          1236:       [\\/]* | ?:[\\/]* ) . $cache_file;;
        !          1237:       *)                      . ./$cache_file;;
        !          1238:     esac
        !          1239:   fi
1.1       root     1240: else
1.1.1.19! root     1241:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
        !          1242: echo "$as_me: creating cache $cache_file" >&6;}
        !          1243:   >$cache_file
        !          1244: fi
        !          1245: 
        !          1246: # Check that the precious variables saved in the cache have kept the same
        !          1247: # value.
        !          1248: ac_cache_corrupted=false
        !          1249: for ac_var in `(set) 2>&1 |
        !          1250:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
        !          1251:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          1252:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          1253:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
        !          1254:   eval ac_new_val="\$ac_env_${ac_var}_value"
        !          1255:   case $ac_old_set,$ac_new_set in
        !          1256:     set,)
        !          1257:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          1258: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !          1259:       ac_cache_corrupted=: ;;
        !          1260:     ,set)
        !          1261:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
        !          1262: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !          1263:       ac_cache_corrupted=: ;;
        !          1264:     ,);;
        !          1265:     *)
        !          1266:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          1267:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
        !          1268: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          1269:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
        !          1270: echo "$as_me:   former value:  $ac_old_val" >&2;}
        !          1271:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
        !          1272: echo "$as_me:   current value: $ac_new_val" >&2;}
        !          1273:        ac_cache_corrupted=:
        !          1274:       fi;;
        !          1275:   esac
        !          1276:   # Pass precious variables to config.status.
        !          1277:   if test "$ac_new_set" = set; then
        !          1278:     case $ac_new_val in
        !          1279:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !          1280:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1281:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          1282:     esac
        !          1283:     case " $ac_configure_args " in
        !          1284:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          1285:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        !          1286:     esac
        !          1287:   fi
        !          1288: done
        !          1289: if $ac_cache_corrupted; then
        !          1290:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
        !          1291: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          1292:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
        !          1293: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
        !          1294:    { (exit 1); exit 1; }; }
1.1       root     1295: fi
                   1296: 
                   1297: ac_ext=c
                   1298: ac_cpp='$CPP $CPPFLAGS'
1.1.1.19! root     1299: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1300: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1301: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     1302: 
                   1303: 
                   1304: 
                   1305: 
1.1.1.4   root     1306: 
1.1.1.19! root     1307: 
        !          1308: 
        !          1309: 
        !          1310: 
        !          1311: 
        !          1312: 
        !          1313: 
        !          1314: 
        !          1315: 
        !          1316: 
        !          1317: 
        !          1318: 
        !          1319: 
        !          1320: 
        !          1321: 
        !          1322: 
        !          1323: 
        !          1324: ac_ext=c
        !          1325: ac_cpp='$CPP $CPPFLAGS'
        !          1326: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1327: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1328: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1329: if test -n "$ac_tool_prefix"; then
        !          1330:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
        !          1331: set dummy ${ac_tool_prefix}gcc; ac_word=$2
        !          1332: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1333: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1334: if test "${ac_cv_prog_CC+set}" = set; then
        !          1335:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1336: else
                   1337:   if test -n "$CC"; then
                   1338:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1339: else
1.1.1.19! root     1340: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1341: for as_dir in $PATH
        !          1342: do
        !          1343:   IFS=$as_save_IFS
        !          1344:   test -z "$as_dir" && as_dir=.
        !          1345:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1346:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1347:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          1348:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1349:     break 2
        !          1350:   fi
        !          1351: done
        !          1352: done
        !          1353: 
1.1       root     1354: fi
                   1355: fi
1.1.1.19! root     1356: CC=$ac_cv_prog_CC
1.1       root     1357: if test -n "$CC"; then
1.1.1.19! root     1358:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1359: echo "${ECHO_T}$CC" >&6
1.1       root     1360: else
1.1.1.19! root     1361:   echo "$as_me:$LINENO: result: no" >&5
        !          1362: echo "${ECHO_T}no" >&6
1.1       root     1363: fi
                   1364: 
1.1.1.19! root     1365: fi
        !          1366: if test -z "$ac_cv_prog_CC"; then
        !          1367:   ac_ct_CC=$CC
        !          1368:   # Extract the first word of "gcc", so it can be a program name with args.
        !          1369: set dummy gcc; ac_word=$2
        !          1370: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1371: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1372: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1373:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1374: else
1.1.1.19! root     1375:   if test -n "$ac_ct_CC"; then
        !          1376:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       root     1377: else
1.1.1.19! root     1378: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1379: for as_dir in $PATH
        !          1380: do
        !          1381:   IFS=$as_save_IFS
        !          1382:   test -z "$as_dir" && as_dir=.
        !          1383:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1384:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1385:     ac_cv_prog_ac_ct_CC="gcc"
        !          1386:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1387:     break 2
        !          1388:   fi
        !          1389: done
        !          1390: done
        !          1391: 
        !          1392: fi
        !          1393: fi
        !          1394: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1395: if test -n "$ac_ct_CC"; then
        !          1396:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1397: echo "${ECHO_T}$ac_ct_CC" >&6
        !          1398: else
        !          1399:   echo "$as_me:$LINENO: result: no" >&5
        !          1400: echo "${ECHO_T}no" >&6
        !          1401: fi
        !          1402: 
        !          1403:   CC=$ac_ct_CC
        !          1404: else
        !          1405:   CC="$ac_cv_prog_CC"
        !          1406: fi
        !          1407: 
        !          1408: if test -z "$CC"; then
        !          1409:   if test -n "$ac_tool_prefix"; then
        !          1410:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
        !          1411: set dummy ${ac_tool_prefix}cc; ac_word=$2
        !          1412: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1413: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1414: if test "${ac_cv_prog_CC+set}" = set; then
        !          1415:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1416: else
        !          1417:   if test -n "$CC"; then
        !          1418:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1419: else
        !          1420: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1421: for as_dir in $PATH
        !          1422: do
        !          1423:   IFS=$as_save_IFS
        !          1424:   test -z "$as_dir" && as_dir=.
        !          1425:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1426:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1427:     ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          1428:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1429:     break 2
        !          1430:   fi
        !          1431: done
        !          1432: done
        !          1433: 
        !          1434: fi
        !          1435: fi
        !          1436: CC=$ac_cv_prog_CC
        !          1437: if test -n "$CC"; then
        !          1438:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1439: echo "${ECHO_T}$CC" >&6
        !          1440: else
        !          1441:   echo "$as_me:$LINENO: result: no" >&5
        !          1442: echo "${ECHO_T}no" >&6
        !          1443: fi
        !          1444: 
        !          1445: fi
        !          1446: if test -z "$ac_cv_prog_CC"; then
        !          1447:   ac_ct_CC=$CC
        !          1448:   # Extract the first word of "cc", so it can be a program name with args.
        !          1449: set dummy cc; ac_word=$2
        !          1450: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1451: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1452: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1453:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1454: else
        !          1455:   if test -n "$ac_ct_CC"; then
        !          1456:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          1457: else
        !          1458: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1459: for as_dir in $PATH
        !          1460: do
        !          1461:   IFS=$as_save_IFS
        !          1462:   test -z "$as_dir" && as_dir=.
        !          1463:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1464:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1465:     ac_cv_prog_ac_ct_CC="cc"
        !          1466:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1467:     break 2
        !          1468:   fi
        !          1469: done
        !          1470: done
        !          1471: 
        !          1472: fi
        !          1473: fi
        !          1474: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1475: if test -n "$ac_ct_CC"; then
        !          1476:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1477: echo "${ECHO_T}$ac_ct_CC" >&6
        !          1478: else
        !          1479:   echo "$as_me:$LINENO: result: no" >&5
        !          1480: echo "${ECHO_T}no" >&6
        !          1481: fi
        !          1482: 
        !          1483:   CC=$ac_ct_CC
        !          1484: else
        !          1485:   CC="$ac_cv_prog_CC"
        !          1486: fi
        !          1487: 
        !          1488: fi
        !          1489: if test -z "$CC"; then
        !          1490:   # Extract the first word of "cc", so it can be a program name with args.
        !          1491: set dummy cc; ac_word=$2
        !          1492: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1493: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1494: if test "${ac_cv_prog_CC+set}" = set; then
        !          1495:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1496: else
        !          1497:   if test -n "$CC"; then
        !          1498:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1499: else
        !          1500:   ac_prog_rejected=no
        !          1501: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1502: for as_dir in $PATH
        !          1503: do
        !          1504:   IFS=$as_save_IFS
        !          1505:   test -z "$as_dir" && as_dir=.
        !          1506:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1507:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1508:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        !          1509:        ac_prog_rejected=yes
        !          1510:        continue
        !          1511:      fi
        !          1512:     ac_cv_prog_CC="cc"
        !          1513:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1514:     break 2
        !          1515:   fi
        !          1516: done
        !          1517: done
        !          1518: 
        !          1519: if test $ac_prog_rejected = yes; then
        !          1520:   # We found a bogon in the path, so make sure we never use it.
        !          1521:   set dummy $ac_cv_prog_CC
1.1       root     1522:   shift
1.1.1.19! root     1523:   if test $# != 0; then
1.1       root     1524:     # We chose a different compiler from the bogus one.
                   1525:     # However, it has the same basename, so the bogon will be chosen
                   1526:     # first if we set CC to just the basename; use the full file name.
                   1527:     shift
1.1.1.19! root     1528:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       root     1529:   fi
                   1530: fi
                   1531: fi
                   1532: fi
1.1.1.19! root     1533: CC=$ac_cv_prog_CC
1.1       root     1534: if test -n "$CC"; then
1.1.1.19! root     1535:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1536: echo "${ECHO_T}$CC" >&6
1.1       root     1537: else
1.1.1.19! root     1538:   echo "$as_me:$LINENO: result: no" >&5
        !          1539: echo "${ECHO_T}no" >&6
1.1       root     1540: fi
                   1541: 
1.1.1.19! root     1542: fi
        !          1543: if test -z "$CC"; then
        !          1544:   if test -n "$ac_tool_prefix"; then
        !          1545:   for ac_prog in cl
        !          1546:   do
        !          1547:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          1548: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          1549: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1550: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1551: if test "${ac_cv_prog_CC+set}" = set; then
        !          1552:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.9   root     1553: else
                   1554:   if test -n "$CC"; then
                   1555:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1556: else
1.1.1.19! root     1557: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1558: for as_dir in $PATH
        !          1559: do
        !          1560:   IFS=$as_save_IFS
        !          1561:   test -z "$as_dir" && as_dir=.
        !          1562:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1563:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1564:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          1565:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1566:     break 2
        !          1567:   fi
        !          1568: done
        !          1569: done
        !          1570: 
1.1.1.9   root     1571: fi
                   1572: fi
1.1.1.19! root     1573: CC=$ac_cv_prog_CC
1.1.1.9   root     1574: if test -n "$CC"; then
1.1.1.19! root     1575:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1576: echo "${ECHO_T}$CC" >&6
1.1.1.9   root     1577: else
1.1.1.19! root     1578:   echo "$as_me:$LINENO: result: no" >&5
        !          1579: echo "${ECHO_T}no" >&6
1.1.1.9   root     1580: fi
1.1.1.19! root     1581: 
        !          1582:     test -n "$CC" && break
        !          1583:   done
        !          1584: fi
        !          1585: if test -z "$CC"; then
        !          1586:   ac_ct_CC=$CC
        !          1587:   for ac_prog in cl
        !          1588: do
        !          1589:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          1590: set dummy $ac_prog; ac_word=$2
        !          1591: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1592: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1593: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1594:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1595: else
        !          1596:   if test -n "$ac_ct_CC"; then
        !          1597:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          1598: else
        !          1599: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1600: for as_dir in $PATH
        !          1601: do
        !          1602:   IFS=$as_save_IFS
        !          1603:   test -z "$as_dir" && as_dir=.
        !          1604:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1605:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1606:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          1607:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1608:     break 2
1.1.1.9   root     1609:   fi
1.1.1.19! root     1610: done
        !          1611: done
        !          1612: 
1.1       root     1613: fi
1.1.1.19! root     1614: fi
        !          1615: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1616: if test -n "$ac_ct_CC"; then
        !          1617:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1618: echo "${ECHO_T}$ac_ct_CC" >&6
        !          1619: else
        !          1620:   echo "$as_me:$LINENO: result: no" >&5
        !          1621: echo "${ECHO_T}no" >&6
        !          1622: fi
        !          1623: 
        !          1624:   test -n "$ac_ct_CC" && break
        !          1625: done
1.1       root     1626: 
1.1.1.19! root     1627:   CC=$ac_ct_CC
        !          1628: fi
1.1.1.4   root     1629: 
1.1.1.19! root     1630: fi
1.1.1.4   root     1631: 
1.1.1.9   root     1632: 
1.1.1.19! root     1633: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
        !          1634: See \`config.log' for more details." >&5
        !          1635: echo "$as_me: error: no acceptable C compiler found in \$PATH
        !          1636: See \`config.log' for more details." >&2;}
        !          1637:    { (exit 1); exit 1; }; }
        !          1638: 
        !          1639: # Provide some information about the compiler.
        !          1640: echo "$as_me:$LINENO:" \
        !          1641:      "checking for C compiler version" >&5
        !          1642: ac_compiler=`set X $ac_compile; echo $2`
        !          1643: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
        !          1644:   (eval $ac_compiler --version </dev/null >&5) 2>&5
        !          1645:   ac_status=$?
        !          1646:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1647:   (exit $ac_status); }
        !          1648: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
        !          1649:   (eval $ac_compiler -v </dev/null >&5) 2>&5
        !          1650:   ac_status=$?
        !          1651:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1652:   (exit $ac_status); }
        !          1653: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
        !          1654:   (eval $ac_compiler -V </dev/null >&5) 2>&5
        !          1655:   ac_status=$?
        !          1656:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1657:   (exit $ac_status); }
        !          1658: 
        !          1659: cat >conftest.$ac_ext <<_ACEOF
        !          1660: /* confdefs.h.  */
        !          1661: _ACEOF
        !          1662: cat confdefs.h >>conftest.$ac_ext
        !          1663: cat >>conftest.$ac_ext <<_ACEOF
        !          1664: /* end confdefs.h.  */
1.1.1.9   root     1665: 
1.1.1.19! root     1666: int
        !          1667: main ()
        !          1668: {
        !          1669: 
        !          1670:   ;
        !          1671:   return 0;
        !          1672: }
        !          1673: _ACEOF
        !          1674: ac_clean_files_save=$ac_clean_files
        !          1675: ac_clean_files="$ac_clean_files a.out a.exe b.out"
        !          1676: # Try to create an executable without -o first, disregard a.out.
        !          1677: # It will help us diagnose broken compilers, and finding out an intuition
        !          1678: # of exeext.
        !          1679: echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
        !          1680: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
        !          1681: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          1682: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
        !          1683:   (eval $ac_link_default) 2>&5
        !          1684:   ac_status=$?
        !          1685:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1686:   (exit $ac_status); }; then
        !          1687:   # Find the output, starting from the most likely.  This scheme is
        !          1688: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
        !          1689: # resort.
        !          1690: 
        !          1691: # Be careful to initialize this variable, since it used to be cached.
        !          1692: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
        !          1693: ac_cv_exeext=
        !          1694: # b.out is created by i960 compilers.
        !          1695: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
        !          1696: do
        !          1697:   test -f "$ac_file" || continue
        !          1698:   case $ac_file in
        !          1699:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
        !          1700:        ;;
        !          1701:     conftest.$ac_ext )
        !          1702:        # This is the source file.
        !          1703:        ;;
        !          1704:     [ab].out )
        !          1705:        # We found the default executable, but exeext='' is most
        !          1706:        # certainly right.
        !          1707:        break;;
        !          1708:     *.* )
        !          1709:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          1710:        # FIXME: I believe we export ac_cv_exeext for Libtool,
        !          1711:        # but it would be cool to find out if it's true.  Does anybody
        !          1712:        # maintain Libtool? --akim.
        !          1713:        export ac_cv_exeext
        !          1714:        break;;
        !          1715:     * )
        !          1716:        break;;
        !          1717:   esac
        !          1718: done
        !          1719: else
        !          1720:   echo "$as_me: failed program was:" >&5
        !          1721: sed 's/^/| /' conftest.$ac_ext >&5
        !          1722: 
        !          1723: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
        !          1724: See \`config.log' for more details." >&5
        !          1725: echo "$as_me: error: C compiler cannot create executables
        !          1726: See \`config.log' for more details." >&2;}
        !          1727:    { (exit 77); exit 77; }; }
        !          1728: fi
        !          1729: 
        !          1730: ac_exeext=$ac_cv_exeext
        !          1731: echo "$as_me:$LINENO: result: $ac_file" >&5
        !          1732: echo "${ECHO_T}$ac_file" >&6
        !          1733: 
        !          1734: # Check the compiler produces executables we can run.  If not, either
        !          1735: # the compiler is broken, or we cross compile.
        !          1736: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
        !          1737: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
        !          1738: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
        !          1739: # If not cross compiling, check that we can run a simple program.
        !          1740: if test "$cross_compiling" != yes; then
        !          1741:   if { ac_try='./$ac_file'
        !          1742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1743:   (eval $ac_try) 2>&5
        !          1744:   ac_status=$?
        !          1745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1746:   (exit $ac_status); }; }; then
        !          1747:     cross_compiling=no
1.1.1.4   root     1748:   else
1.1.1.19! root     1749:     if test "$cross_compiling" = maybe; then
        !          1750:        cross_compiling=yes
        !          1751:     else
        !          1752:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
        !          1753: If you meant to cross compile, use \`--host'.
        !          1754: See \`config.log' for more details." >&5
        !          1755: echo "$as_me: error: cannot run C compiled programs.
        !          1756: If you meant to cross compile, use \`--host'.
        !          1757: See \`config.log' for more details." >&2;}
        !          1758:    { (exit 1); exit 1; }; }
        !          1759:     fi
1.1.1.4   root     1760:   fi
                   1761: fi
1.1.1.19! root     1762: echo "$as_me:$LINENO: result: yes" >&5
        !          1763: echo "${ECHO_T}yes" >&6
        !          1764: 
        !          1765: rm -f a.out a.exe conftest$ac_cv_exeext b.out
        !          1766: ac_clean_files=$ac_clean_files_save
        !          1767: # Check the compiler produces executables we can run.  If not, either
        !          1768: # the compiler is broken, or we cross compile.
        !          1769: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
        !          1770: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
        !          1771: echo "$as_me:$LINENO: result: $cross_compiling" >&5
        !          1772: echo "${ECHO_T}$cross_compiling" >&6
        !          1773: 
        !          1774: echo "$as_me:$LINENO: checking for suffix of executables" >&5
        !          1775: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
        !          1776: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          1777:   (eval $ac_link) 2>&5
        !          1778:   ac_status=$?
        !          1779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1780:   (exit $ac_status); }; then
        !          1781:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
        !          1782: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
        !          1783: # work properly (i.e., refer to `conftest.exe'), while it won't with
        !          1784: # `rm'.
        !          1785: for ac_file in conftest.exe conftest conftest.*; do
        !          1786:   test -f "$ac_file" || continue
        !          1787:   case $ac_file in
        !          1788:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
        !          1789:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          1790:          export ac_cv_exeext
        !          1791:          break;;
        !          1792:     * ) break;;
        !          1793:   esac
        !          1794: done
1.1       root     1795: else
1.1.1.19! root     1796:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
        !          1797: See \`config.log' for more details." >&5
        !          1798: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
        !          1799: See \`config.log' for more details." >&2;}
        !          1800:    { (exit 1); exit 1; }; }
        !          1801: fi
        !          1802: 
        !          1803: rm -f conftest$ac_cv_exeext
        !          1804: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
        !          1805: echo "${ECHO_T}$ac_cv_exeext" >&6
        !          1806: 
        !          1807: rm -f conftest.$ac_ext
        !          1808: EXEEXT=$ac_cv_exeext
        !          1809: ac_exeext=$EXEEXT
        !          1810: echo "$as_me:$LINENO: checking for suffix of object files" >&5
        !          1811: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
        !          1812: if test "${ac_cv_objext+set}" = set; then
        !          1813:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1814: else
        !          1815:   cat >conftest.$ac_ext <<_ACEOF
        !          1816: /* confdefs.h.  */
        !          1817: _ACEOF
        !          1818: cat confdefs.h >>conftest.$ac_ext
        !          1819: cat >>conftest.$ac_ext <<_ACEOF
        !          1820: /* end confdefs.h.  */
1.1       root     1821: 
1.1.1.19! root     1822: int
        !          1823: main ()
        !          1824: {
1.1.1.4   root     1825: 
1.1.1.19! root     1826:   ;
        !          1827:   return 0;
        !          1828: }
        !          1829: _ACEOF
        !          1830: rm -f conftest.o conftest.obj
        !          1831: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1832:   (eval $ac_compile) 2>&5
        !          1833:   ac_status=$?
        !          1834:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1835:   (exit $ac_status); }; then
        !          1836:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
        !          1837:   case $ac_file in
        !          1838:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
        !          1839:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        !          1840:        break;;
        !          1841:   esac
        !          1842: done
1.1.1.9   root     1843: else
1.1.1.19! root     1844:   echo "$as_me: failed program was:" >&5
        !          1845: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.9   root     1846: 
1.1.1.19! root     1847: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
        !          1848: See \`config.log' for more details." >&5
        !          1849: echo "$as_me: error: cannot compute suffix of object files: cannot compile
        !          1850: See \`config.log' for more details." >&2;}
        !          1851:    { (exit 1); exit 1; }; }
        !          1852: fi
        !          1853: 
        !          1854: rm -f conftest.$ac_cv_objext conftest.$ac_ext
        !          1855: fi
        !          1856: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
        !          1857: echo "${ECHO_T}$ac_cv_objext" >&6
        !          1858: OBJEXT=$ac_cv_objext
        !          1859: ac_objext=$OBJEXT
        !          1860: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
        !          1861: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
        !          1862: if test "${ac_cv_c_compiler_gnu+set}" = set; then
        !          1863:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1864: else
        !          1865:   cat >conftest.$ac_ext <<_ACEOF
        !          1866: /* confdefs.h.  */
        !          1867: _ACEOF
        !          1868: cat confdefs.h >>conftest.$ac_ext
        !          1869: cat >>conftest.$ac_ext <<_ACEOF
        !          1870: /* end confdefs.h.  */
        !          1871: 
        !          1872: int
        !          1873: main ()
        !          1874: {
        !          1875: #ifndef __GNUC__
        !          1876:        choke me
        !          1877: #endif
        !          1878: 
        !          1879:   ;
        !          1880:   return 0;
        !          1881: }
        !          1882: _ACEOF
        !          1883: rm -f conftest.$ac_objext
        !          1884: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1885:   (eval $ac_compile) 2>conftest.er1
        !          1886:   ac_status=$?
        !          1887:   grep -v '^ *+' conftest.er1 >conftest.err
        !          1888:   rm -f conftest.er1
        !          1889:   cat conftest.err >&5
        !          1890:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1891:   (exit $ac_status); } &&
        !          1892:         { ac_try='test -z "$ac_c_werror_flag"
        !          1893:                         || test ! -s conftest.err'
        !          1894:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1895:   (eval $ac_try) 2>&5
        !          1896:   ac_status=$?
        !          1897:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1898:   (exit $ac_status); }; } &&
        !          1899:         { ac_try='test -s conftest.$ac_objext'
        !          1900:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1901:   (eval $ac_try) 2>&5
        !          1902:   ac_status=$?
        !          1903:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1904:   (exit $ac_status); }; }; then
        !          1905:   ac_compiler_gnu=yes
        !          1906: else
        !          1907:   echo "$as_me: failed program was:" >&5
        !          1908: sed 's/^/| /' conftest.$ac_ext >&5
        !          1909: 
        !          1910: ac_compiler_gnu=no
        !          1911: fi
        !          1912: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1913: ac_cv_c_compiler_gnu=$ac_compiler_gnu
        !          1914: 
        !          1915: fi
        !          1916: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
        !          1917: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
        !          1918: GCC=`test $ac_compiler_gnu = yes && echo yes`
        !          1919: ac_test_CFLAGS=${CFLAGS+set}
        !          1920: ac_save_CFLAGS=$CFLAGS
        !          1921: CFLAGS="-g"
        !          1922: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
        !          1923: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
        !          1924: if test "${ac_cv_prog_cc_g+set}" = set; then
        !          1925:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1926: else
        !          1927:   cat >conftest.$ac_ext <<_ACEOF
        !          1928: /* confdefs.h.  */
        !          1929: _ACEOF
        !          1930: cat confdefs.h >>conftest.$ac_ext
        !          1931: cat >>conftest.$ac_ext <<_ACEOF
        !          1932: /* end confdefs.h.  */
        !          1933: 
        !          1934: int
        !          1935: main ()
        !          1936: {
        !          1937: 
        !          1938:   ;
        !          1939:   return 0;
        !          1940: }
        !          1941: _ACEOF
        !          1942: rm -f conftest.$ac_objext
        !          1943: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1944:   (eval $ac_compile) 2>conftest.er1
        !          1945:   ac_status=$?
        !          1946:   grep -v '^ *+' conftest.er1 >conftest.err
        !          1947:   rm -f conftest.er1
        !          1948:   cat conftest.err >&5
        !          1949:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1950:   (exit $ac_status); } &&
        !          1951:         { ac_try='test -z "$ac_c_werror_flag"
        !          1952:                         || test ! -s conftest.err'
        !          1953:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1954:   (eval $ac_try) 2>&5
        !          1955:   ac_status=$?
        !          1956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1957:   (exit $ac_status); }; } &&
        !          1958:         { ac_try='test -s conftest.$ac_objext'
        !          1959:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1960:   (eval $ac_try) 2>&5
        !          1961:   ac_status=$?
        !          1962:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1963:   (exit $ac_status); }; }; then
1.1.1.4   root     1964:   ac_cv_prog_cc_g=yes
1.1       root     1965: else
1.1.1.19! root     1966:   echo "$as_me: failed program was:" >&5
        !          1967: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     1968: 
1.1.1.19! root     1969: ac_cv_prog_cc_g=no
1.1       root     1970: fi
1.1.1.19! root     1971: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1972: fi
        !          1973: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
        !          1974: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1.1.9   root     1975: if test "$ac_test_CFLAGS" = set; then
1.1.1.19! root     1976:   CFLAGS=$ac_save_CFLAGS
1.1.1.9   root     1977: elif test $ac_cv_prog_cc_g = yes; then
                   1978:   if test "$GCC" = yes; then
1.1.1.4   root     1979:     CFLAGS="-g -O2"
                   1980:   else
1.1.1.9   root     1981:     CFLAGS="-g"
1.1       root     1982:   fi
                   1983: else
1.1.1.9   root     1984:   if test "$GCC" = yes; then
                   1985:     CFLAGS="-O2"
                   1986:   else
                   1987:     CFLAGS=
                   1988:   fi
1.1       root     1989: fi
1.1.1.19! root     1990: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
        !          1991: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
        !          1992: if test "${ac_cv_prog_cc_stdc+set}" = set; then
        !          1993:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1994: else
        !          1995:   ac_cv_prog_cc_stdc=no
        !          1996: ac_save_CC=$CC
        !          1997: cat >conftest.$ac_ext <<_ACEOF
        !          1998: /* confdefs.h.  */
        !          1999: _ACEOF
        !          2000: cat confdefs.h >>conftest.$ac_ext
        !          2001: cat >>conftest.$ac_ext <<_ACEOF
        !          2002: /* end confdefs.h.  */
        !          2003: #include <stdarg.h>
        !          2004: #include <stdio.h>
        !          2005: #include <sys/types.h>
        !          2006: #include <sys/stat.h>
        !          2007: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          2008: struct buf { int x; };
        !          2009: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          2010: static char *e (p, i)
        !          2011:      char **p;
        !          2012:      int i;
        !          2013: {
        !          2014:   return p[i];
        !          2015: }
        !          2016: static char *f (char * (*g) (char **, int), char **p, ...)
        !          2017: {
        !          2018:   char *s;
        !          2019:   va_list v;
        !          2020:   va_start (v,p);
        !          2021:   s = g (p, va_arg (v,int));
        !          2022:   va_end (v);
        !          2023:   return s;
        !          2024: }
        !          2025: 
        !          2026: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          2027:    function prototypes and stuff, but not '\xHH' hex character constants.
        !          2028:    These don't provoke an error unfortunately, instead are silently treated
        !          2029:    as 'x'.  The following induces an error, until -std1 is added to get
        !          2030:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
        !          2031:    array size at least.  It's necessary to write '\x00'==0 to get something
        !          2032:    that's true only with -std1.  */
        !          2033: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
        !          2034: 
        !          2035: int test (int i, double x);
        !          2036: struct s1 {int (*f) (int a);};
        !          2037: struct s2 {int (*f) (double a);};
        !          2038: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          2039: int argc;
        !          2040: char **argv;
        !          2041: int
        !          2042: main ()
        !          2043: {
        !          2044: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
        !          2045:   ;
        !          2046:   return 0;
        !          2047: }
        !          2048: _ACEOF
        !          2049: # Don't try gcc -ansi; that turns off useful extensions and
        !          2050: # breaks some systems' header files.
        !          2051: # AIX                  -qlanglvl=ansi
        !          2052: # Ultrix and OSF/1     -std1
        !          2053: # HP-UX 10.20 and later        -Ae
        !          2054: # HP-UX older versions -Aa -D_HPUX_SOURCE
        !          2055: # SVR4                 -Xc -D__EXTENSIONS__
        !          2056: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          2057: do
        !          2058:   CC="$ac_save_CC $ac_arg"
        !          2059:   rm -f conftest.$ac_objext
        !          2060: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          2061:   (eval $ac_compile) 2>conftest.er1
        !          2062:   ac_status=$?
        !          2063:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2064:   rm -f conftest.er1
        !          2065:   cat conftest.err >&5
        !          2066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2067:   (exit $ac_status); } &&
        !          2068:         { ac_try='test -z "$ac_c_werror_flag"
        !          2069:                         || test ! -s conftest.err'
        !          2070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2071:   (eval $ac_try) 2>&5
        !          2072:   ac_status=$?
        !          2073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2074:   (exit $ac_status); }; } &&
        !          2075:         { ac_try='test -s conftest.$ac_objext'
        !          2076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2077:   (eval $ac_try) 2>&5
        !          2078:   ac_status=$?
        !          2079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2080:   (exit $ac_status); }; }; then
        !          2081:   ac_cv_prog_cc_stdc=$ac_arg
        !          2082: break
        !          2083: else
        !          2084:   echo "$as_me: failed program was:" >&5
        !          2085: sed 's/^/| /' conftest.$ac_ext >&5
        !          2086: 
        !          2087: fi
        !          2088: rm -f conftest.err conftest.$ac_objext
        !          2089: done
        !          2090: rm -f conftest.$ac_ext conftest.$ac_objext
        !          2091: CC=$ac_save_CC
        !          2092: 
        !          2093: fi
        !          2094: 
        !          2095: case "x$ac_cv_prog_cc_stdc" in
        !          2096:   x|xno)
        !          2097:     echo "$as_me:$LINENO: result: none needed" >&5
        !          2098: echo "${ECHO_T}none needed" >&6 ;;
        !          2099:   *)
        !          2100:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
        !          2101: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
        !          2102:     CC="$CC $ac_cv_prog_cc_stdc" ;;
        !          2103: esac
        !          2104: 
        !          2105: # Some people use a C++ compiler to compile C.  Since we use `exit',
        !          2106: # in C++ we need to declare it.  In case someone uses the same compiler
        !          2107: # for both compiling C and C++ we need to have the C++ compiler decide
        !          2108: # the declaration of exit, since it's the most demanding environment.
        !          2109: cat >conftest.$ac_ext <<_ACEOF
        !          2110: #ifndef __cplusplus
        !          2111:   choke me
        !          2112: #endif
        !          2113: _ACEOF
        !          2114: rm -f conftest.$ac_objext
        !          2115: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          2116:   (eval $ac_compile) 2>conftest.er1
        !          2117:   ac_status=$?
        !          2118:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2119:   rm -f conftest.er1
        !          2120:   cat conftest.err >&5
        !          2121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2122:   (exit $ac_status); } &&
        !          2123:         { ac_try='test -z "$ac_c_werror_flag"
        !          2124:                         || test ! -s conftest.err'
        !          2125:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2126:   (eval $ac_try) 2>&5
        !          2127:   ac_status=$?
        !          2128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2129:   (exit $ac_status); }; } &&
        !          2130:         { ac_try='test -s conftest.$ac_objext'
        !          2131:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2132:   (eval $ac_try) 2>&5
        !          2133:   ac_status=$?
        !          2134:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2135:   (exit $ac_status); }; }; then
        !          2136:   for ac_declaration in \
        !          2137:    '' \
        !          2138:    'extern "C" void std::exit (int) throw (); using std::exit;' \
        !          2139:    'extern "C" void std::exit (int); using std::exit;' \
        !          2140:    'extern "C" void exit (int) throw ();' \
        !          2141:    'extern "C" void exit (int);' \
        !          2142:    'void exit (int);'
        !          2143: do
        !          2144:   cat >conftest.$ac_ext <<_ACEOF
        !          2145: /* confdefs.h.  */
        !          2146: _ACEOF
        !          2147: cat confdefs.h >>conftest.$ac_ext
        !          2148: cat >>conftest.$ac_ext <<_ACEOF
        !          2149: /* end confdefs.h.  */
        !          2150: $ac_declaration
        !          2151: #include <stdlib.h>
        !          2152: int
        !          2153: main ()
        !          2154: {
        !          2155: exit (42);
        !          2156:   ;
        !          2157:   return 0;
        !          2158: }
        !          2159: _ACEOF
        !          2160: rm -f conftest.$ac_objext
        !          2161: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          2162:   (eval $ac_compile) 2>conftest.er1
        !          2163:   ac_status=$?
        !          2164:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2165:   rm -f conftest.er1
        !          2166:   cat conftest.err >&5
        !          2167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2168:   (exit $ac_status); } &&
        !          2169:         { ac_try='test -z "$ac_c_werror_flag"
        !          2170:                         || test ! -s conftest.err'
        !          2171:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2172:   (eval $ac_try) 2>&5
        !          2173:   ac_status=$?
        !          2174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2175:   (exit $ac_status); }; } &&
        !          2176:         { ac_try='test -s conftest.$ac_objext'
        !          2177:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2178:   (eval $ac_try) 2>&5
        !          2179:   ac_status=$?
        !          2180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2181:   (exit $ac_status); }; }; then
        !          2182:   :
        !          2183: else
        !          2184:   echo "$as_me: failed program was:" >&5
        !          2185: sed 's/^/| /' conftest.$ac_ext >&5
        !          2186: 
        !          2187: continue
        !          2188: fi
        !          2189: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2190:   cat >conftest.$ac_ext <<_ACEOF
        !          2191: /* confdefs.h.  */
        !          2192: _ACEOF
        !          2193: cat confdefs.h >>conftest.$ac_ext
        !          2194: cat >>conftest.$ac_ext <<_ACEOF
        !          2195: /* end confdefs.h.  */
        !          2196: $ac_declaration
        !          2197: int
        !          2198: main ()
        !          2199: {
        !          2200: exit (42);
        !          2201:   ;
        !          2202:   return 0;
        !          2203: }
        !          2204: _ACEOF
        !          2205: rm -f conftest.$ac_objext
        !          2206: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          2207:   (eval $ac_compile) 2>conftest.er1
        !          2208:   ac_status=$?
        !          2209:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2210:   rm -f conftest.er1
        !          2211:   cat conftest.err >&5
        !          2212:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2213:   (exit $ac_status); } &&
        !          2214:         { ac_try='test -z "$ac_c_werror_flag"
        !          2215:                         || test ! -s conftest.err'
        !          2216:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2217:   (eval $ac_try) 2>&5
        !          2218:   ac_status=$?
        !          2219:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2220:   (exit $ac_status); }; } &&
        !          2221:         { ac_try='test -s conftest.$ac_objext'
        !          2222:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2223:   (eval $ac_try) 2>&5
        !          2224:   ac_status=$?
        !          2225:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2226:   (exit $ac_status); }; }; then
        !          2227:   break
        !          2228: else
        !          2229:   echo "$as_me: failed program was:" >&5
        !          2230: sed 's/^/| /' conftest.$ac_ext >&5
        !          2231: 
        !          2232: fi
        !          2233: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2234: done
        !          2235: rm -f conftest*
        !          2236: if test -n "$ac_declaration"; then
        !          2237:   echo '#ifdef __cplusplus' >>confdefs.h
        !          2238:   echo $ac_declaration      >>confdefs.h
        !          2239:   echo '#endif'             >>confdefs.h
        !          2240: fi
        !          2241: 
        !          2242: else
        !          2243:   echo "$as_me: failed program was:" >&5
        !          2244: sed 's/^/| /' conftest.$ac_ext >&5
        !          2245: 
        !          2246: fi
        !          2247: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2248: ac_ext=c
        !          2249: ac_cpp='$CPP $CPPFLAGS'
        !          2250: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2251: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2252: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     2253: 
                   2254: 
1.1.1.19! root     2255: ac_ext=c
        !          2256: ac_cpp='$CPP $CPPFLAGS'
        !          2257: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2258: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2259: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2260: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
        !          2261: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       root     2262: # On Suns, sometimes $CPP names a directory.
                   2263: if test -n "$CPP" && test -d "$CPP"; then
                   2264:   CPP=
                   2265: fi
                   2266: if test -z "$CPP"; then
1.1.1.19! root     2267:   if test "${ac_cv_prog_CPP+set}" = set; then
        !          2268:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2269: else
1.1.1.19! root     2270:       # Double quotes because CPP needs to be expanded
        !          2271:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          2272:     do
        !          2273:       ac_preproc_ok=false
        !          2274: for ac_c_preproc_warn_flag in '' yes
        !          2275: do
        !          2276:   # Use a header file that comes with gcc, so configuring glibc
        !          2277:   # with a fresh cross-compiler works.
        !          2278:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          2279:   # <limits.h> exists even on freestanding compilers.
1.1       root     2280:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.1.1.19! root     2281:   # not just through cpp. "Syntax error" is here to catch this case.
        !          2282:   cat >conftest.$ac_ext <<_ACEOF
        !          2283: /* confdefs.h.  */
        !          2284: _ACEOF
        !          2285: cat confdefs.h >>conftest.$ac_ext
        !          2286: cat >>conftest.$ac_ext <<_ACEOF
        !          2287: /* end confdefs.h.  */
        !          2288: #ifdef __STDC__
        !          2289: # include <limits.h>
        !          2290: #else
        !          2291: # include <assert.h>
        !          2292: #endif
        !          2293:                     Syntax error
        !          2294: _ACEOF
        !          2295: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2296:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2297:   ac_status=$?
        !          2298:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2299:   rm -f conftest.er1
        !          2300:   cat conftest.err >&5
        !          2301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2302:   (exit $ac_status); } >/dev/null; then
        !          2303:   if test -s conftest.err; then
        !          2304:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2305:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          2306:   else
        !          2307:     ac_cpp_err=
        !          2308:   fi
1.1       root     2309: else
1.1.1.19! root     2310:   ac_cpp_err=yes
        !          2311: fi
        !          2312: if test -z "$ac_cpp_err"; then
1.1.1.9   root     2313:   :
                   2314: else
1.1.1.19! root     2315:   echo "$as_me: failed program was:" >&5
        !          2316: sed 's/^/| /' conftest.$ac_ext >&5
        !          2317: 
        !          2318:   # Broken: fails on valid input.
        !          2319: continue
        !          2320: fi
        !          2321: rm -f conftest.err conftest.$ac_ext
        !          2322: 
        !          2323:   # OK, works on sane cases.  Now check whether non-existent headers
        !          2324:   # can be detected and how.
        !          2325:   cat >conftest.$ac_ext <<_ACEOF
        !          2326: /* confdefs.h.  */
        !          2327: _ACEOF
        !          2328: cat confdefs.h >>conftest.$ac_ext
        !          2329: cat >>conftest.$ac_ext <<_ACEOF
        !          2330: /* end confdefs.h.  */
        !          2331: #include <ac_nonexistent.h>
        !          2332: _ACEOF
        !          2333: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2334:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2335:   ac_status=$?
        !          2336:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2337:   rm -f conftest.er1
        !          2338:   cat conftest.err >&5
        !          2339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2340:   (exit $ac_status); } >/dev/null; then
        !          2341:   if test -s conftest.err; then
        !          2342:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2343:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          2344:   else
        !          2345:     ac_cpp_err=
        !          2346:   fi
1.1       root     2347: else
1.1.1.19! root     2348:   ac_cpp_err=yes
1.1       root     2349: fi
1.1.1.19! root     2350: if test -z "$ac_cpp_err"; then
        !          2351:   # Broken: success on invalid input.
        !          2352: continue
        !          2353: else
        !          2354:   echo "$as_me: failed program was:" >&5
        !          2355: sed 's/^/| /' conftest.$ac_ext >&5
        !          2356: 
        !          2357:   # Passes both tests.
        !          2358: ac_preproc_ok=:
        !          2359: break
1.1       root     2360: fi
1.1.1.19! root     2361: rm -f conftest.err conftest.$ac_ext
        !          2362: 
        !          2363: done
        !          2364: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          2365: rm -f conftest.err conftest.$ac_ext
        !          2366: if $ac_preproc_ok; then
        !          2367:   break
1.1.1.9   root     2368: fi
1.1.1.19! root     2369: 
        !          2370:     done
        !          2371:     ac_cv_prog_CPP=$CPP
        !          2372: 
        !          2373: fi
        !          2374:   CPP=$ac_cv_prog_CPP
        !          2375: else
        !          2376:   ac_cv_prog_CPP=$CPP
        !          2377: fi
        !          2378: echo "$as_me:$LINENO: result: $CPP" >&5
        !          2379: echo "${ECHO_T}$CPP" >&6
        !          2380: ac_preproc_ok=false
        !          2381: for ac_c_preproc_warn_flag in '' yes
        !          2382: do
        !          2383:   # Use a header file that comes with gcc, so configuring glibc
        !          2384:   # with a fresh cross-compiler works.
        !          2385:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          2386:   # <limits.h> exists even on freestanding compilers.
        !          2387:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          2388:   # not just through cpp. "Syntax error" is here to catch this case.
        !          2389:   cat >conftest.$ac_ext <<_ACEOF
        !          2390: /* confdefs.h.  */
        !          2391: _ACEOF
        !          2392: cat confdefs.h >>conftest.$ac_ext
        !          2393: cat >>conftest.$ac_ext <<_ACEOF
        !          2394: /* end confdefs.h.  */
        !          2395: #ifdef __STDC__
        !          2396: # include <limits.h>
        !          2397: #else
        !          2398: # include <assert.h>
        !          2399: #endif
        !          2400:                     Syntax error
        !          2401: _ACEOF
        !          2402: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2403:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2404:   ac_status=$?
        !          2405:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2406:   rm -f conftest.er1
        !          2407:   cat conftest.err >&5
        !          2408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2409:   (exit $ac_status); } >/dev/null; then
        !          2410:   if test -s conftest.err; then
        !          2411:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2412:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          2413:   else
        !          2414:     ac_cpp_err=
        !          2415:   fi
        !          2416: else
        !          2417:   ac_cpp_err=yes
        !          2418: fi
        !          2419: if test -z "$ac_cpp_err"; then
        !          2420:   :
        !          2421: else
        !          2422:   echo "$as_me: failed program was:" >&5
        !          2423: sed 's/^/| /' conftest.$ac_ext >&5
        !          2424: 
        !          2425:   # Broken: fails on valid input.
        !          2426: continue
        !          2427: fi
        !          2428: rm -f conftest.err conftest.$ac_ext
        !          2429: 
        !          2430:   # OK, works on sane cases.  Now check whether non-existent headers
        !          2431:   # can be detected and how.
        !          2432:   cat >conftest.$ac_ext <<_ACEOF
        !          2433: /* confdefs.h.  */
        !          2434: _ACEOF
        !          2435: cat confdefs.h >>conftest.$ac_ext
        !          2436: cat >>conftest.$ac_ext <<_ACEOF
        !          2437: /* end confdefs.h.  */
        !          2438: #include <ac_nonexistent.h>
        !          2439: _ACEOF
        !          2440: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2441:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2442:   ac_status=$?
        !          2443:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2444:   rm -f conftest.er1
        !          2445:   cat conftest.err >&5
        !          2446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2447:   (exit $ac_status); } >/dev/null; then
        !          2448:   if test -s conftest.err; then
        !          2449:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2450:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          2451:   else
        !          2452:     ac_cpp_err=
        !          2453:   fi
        !          2454: else
        !          2455:   ac_cpp_err=yes
1.1       root     2456: fi
1.1.1.19! root     2457: if test -z "$ac_cpp_err"; then
        !          2458:   # Broken: success on invalid input.
        !          2459: continue
1.1       root     2460: else
1.1.1.19! root     2461:   echo "$as_me: failed program was:" >&5
        !          2462: sed 's/^/| /' conftest.$ac_ext >&5
        !          2463: 
        !          2464:   # Passes both tests.
        !          2465: ac_preproc_ok=:
        !          2466: break
        !          2467: fi
        !          2468: rm -f conftest.err conftest.$ac_ext
        !          2469: 
        !          2470: done
        !          2471: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          2472: rm -f conftest.err conftest.$ac_ext
        !          2473: if $ac_preproc_ok; then
        !          2474:   :
        !          2475: else
        !          2476:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
        !          2477: See \`config.log' for more details." >&5
        !          2478: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
        !          2479: See \`config.log' for more details." >&2;}
        !          2480:    { (exit 1); exit 1; }; }
1.1       root     2481: fi
                   2482: 
1.1.1.19! root     2483: ac_ext=c
        !          2484: ac_cpp='$CPP $CPPFLAGS'
        !          2485: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2486: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2487: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2488: 
        !          2489: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          2490: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
        !          2491: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
        !          2492: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
        !          2493:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2494: else
1.1.1.19! root     2495:   cat >conftest.make <<\_ACEOF
1.1       root     2496: all:
1.1.1.19! root     2497:        @echo 'ac_maketemp="$(MAKE)"'
        !          2498: _ACEOF
1.1       root     2499: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.19! root     2500: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       root     2501: if test -n "$ac_maketemp"; then
                   2502:   eval ac_cv_prog_make_${ac_make}_set=yes
                   2503: else
                   2504:   eval ac_cv_prog_make_${ac_make}_set=no
                   2505: fi
1.1.1.19! root     2506: rm -f conftest.make
1.1       root     2507: fi
                   2508: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1.1.19! root     2509:   echo "$as_me:$LINENO: result: yes" >&5
        !          2510: echo "${ECHO_T}yes" >&6
1.1       root     2511:   SET_MAKE=
                   2512: else
1.1.1.19! root     2513:   echo "$as_me:$LINENO: result: no" >&5
        !          2514: echo "${ECHO_T}no" >&6
1.1       root     2515:   SET_MAKE="MAKE=${MAKE-make}"
                   2516: fi
                   2517: 
1.1.1.11  root     2518: # Extract the first word of "makedepend", so it can be a program name with args.
                   2519: set dummy makedepend; ac_word=$2
1.1.1.19! root     2520: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2521: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2522: if test "${ac_cv_path_MAKEDEPPRG+set}" = set; then
        !          2523:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     2524: else
1.1.1.19! root     2525:   case $MAKEDEPPRG in
        !          2526:   [\\/]* | ?:[\\/]*)
1.1.1.11  root     2527:   ac_cv_path_MAKEDEPPRG="$MAKEDEPPRG" # Let the user override the test with a path.
                   2528:   ;;
                   2529:   *)
1.1.1.19! root     2530:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2531: for as_dir in $PATH
        !          2532: do
        !          2533:   IFS=$as_save_IFS
        !          2534:   test -z "$as_dir" && as_dir=.
        !          2535:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2536:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2537:     ac_cv_path_MAKEDEPPRG="$as_dir/$ac_word$ac_exec_ext"
        !          2538:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2539:     break 2
        !          2540:   fi
        !          2541: done
        !          2542: done
        !          2543: 
        !          2544:   test -z "$ac_cv_path_MAKEDEPPRG" && ac_cv_path_MAKEDEPPRG="not-found"
        !          2545:   ;;
        !          2546: esac
        !          2547: fi
        !          2548: MAKEDEPPRG=$ac_cv_path_MAKEDEPPRG
        !          2549: 
1.1.1.11  root     2550: if test -n "$MAKEDEPPRG"; then
1.1.1.19! root     2551:   echo "$as_me:$LINENO: result: $MAKEDEPPRG" >&5
        !          2552: echo "${ECHO_T}$MAKEDEPPRG" >&6
1.1.1.11  root     2553: else
1.1.1.19! root     2554:   echo "$as_me:$LINENO: result: no" >&5
        !          2555: echo "${ECHO_T}no" >&6
1.1.1.11  root     2556: fi
                   2557: 
1.1.1.4   root     2558: # Extract the first word of "file", so it can be a program name with args.
                   2559: set dummy file; ac_word=$2
1.1.1.19! root     2560: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2561: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2562: if test "${ac_cv_path_FILEPRG+set}" = set; then
        !          2563:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     2564: else
1.1.1.19! root     2565:   case $FILEPRG in
        !          2566:   [\\/]* | ?:[\\/]*)
1.1.1.4   root     2567:   ac_cv_path_FILEPRG="$FILEPRG" # Let the user override the test with a path.
                   2568:   ;;
                   2569:   *)
1.1.1.19! root     2570:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2571: for as_dir in $PATH
        !          2572: do
        !          2573:   IFS=$as_save_IFS
        !          2574:   test -z "$as_dir" && as_dir=.
        !          2575:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2576:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2577:     ac_cv_path_FILEPRG="$as_dir/$ac_word$ac_exec_ext"
        !          2578:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2579:     break 2
        !          2580:   fi
        !          2581: done
        !          2582: done
        !          2583: 
1.1.1.4   root     2584:   test -z "$ac_cv_path_FILEPRG" && ac_cv_path_FILEPRG="not-found"
                   2585:   ;;
                   2586: esac
                   2587: fi
1.1.1.19! root     2588: FILEPRG=$ac_cv_path_FILEPRG
        !          2589: 
1.1.1.4   root     2590: if test -n "$FILEPRG"; then
1.1.1.19! root     2591:   echo "$as_me:$LINENO: result: $FILEPRG" >&5
        !          2592: echo "${ECHO_T}$FILEPRG" >&6
1.1.1.4   root     2593: else
1.1.1.19! root     2594:   echo "$as_me:$LINENO: result: no" >&5
        !          2595: echo "${ECHO_T}no" >&6
1.1.1.4   root     2596: fi
                   2597: 
1.1.1.6   root     2598: # Extract the first word of "wrc", so it can be a program name with args.
                   2599: set dummy wrc; ac_word=$2
1.1.1.19! root     2600: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2601: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2602: if test "${ac_cv_path_WRCPRG+set}" = set; then
        !          2603:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     2604: else
1.1.1.19! root     2605:   case $WRCPRG in
        !          2606:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     2607:   ac_cv_path_WRCPRG="$WRCPRG" # Let the user override the test with a path.
                   2608:   ;;
                   2609:   *)
1.1.1.19! root     2610:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2611: for as_dir in $PATH
        !          2612: do
        !          2613:   IFS=$as_save_IFS
        !          2614:   test -z "$as_dir" && as_dir=.
        !          2615:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2616:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2617:     ac_cv_path_WRCPRG="$as_dir/$ac_word$ac_exec_ext"
        !          2618:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2619:     break 2
        !          2620:   fi
        !          2621: done
        !          2622: done
        !          2623: 
1.1.1.6   root     2624:   test -z "$ac_cv_path_WRCPRG" && ac_cv_path_WRCPRG="not-found"
                   2625:   ;;
                   2626: esac
                   2627: fi
1.1.1.19! root     2628: WRCPRG=$ac_cv_path_WRCPRG
        !          2629: 
1.1.1.6   root     2630: if test -n "$WRCPRG"; then
1.1.1.19! root     2631:   echo "$as_me:$LINENO: result: $WRCPRG" >&5
        !          2632: echo "${ECHO_T}$WRCPRG" >&6
1.1.1.6   root     2633: else
1.1.1.19! root     2634:   echo "$as_me:$LINENO: result: no" >&5
        !          2635: echo "${ECHO_T}no" >&6
1.1.1.6   root     2636: fi
                   2637: 
                   2638: # Extract the first word of "rcl", so it can be a program name with args.
                   2639: set dummy rcl; ac_word=$2
1.1.1.19! root     2640: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2641: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2642: if test "${ac_cv_path_RCLPRG+set}" = set; then
        !          2643:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     2644: else
1.1.1.19! root     2645:   case $RCLPRG in
        !          2646:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     2647:   ac_cv_path_RCLPRG="$RCLPRG" # Let the user override the test with a path.
                   2648:   ;;
                   2649:   *)
1.1.1.19! root     2650:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2651: for as_dir in $PATH
        !          2652: do
        !          2653:   IFS=$as_save_IFS
        !          2654:   test -z "$as_dir" && as_dir=.
        !          2655:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2656:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2657:     ac_cv_path_RCLPRG="$as_dir/$ac_word$ac_exec_ext"
        !          2658:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2659:     break 2
        !          2660:   fi
        !          2661: done
        !          2662: done
        !          2663: 
1.1.1.6   root     2664:   test -z "$ac_cv_path_RCLPRG" && ac_cv_path_RCLPRG="not-found"
                   2665:   ;;
                   2666: esac
                   2667: fi
1.1.1.19! root     2668: RCLPRG=$ac_cv_path_RCLPRG
        !          2669: 
1.1.1.6   root     2670: if test -n "$RCLPRG"; then
1.1.1.19! root     2671:   echo "$as_me:$LINENO: result: $RCLPRG" >&5
        !          2672: echo "${ECHO_T}$RCLPRG" >&6
1.1.1.6   root     2673: else
1.1.1.19! root     2674:   echo "$as_me:$LINENO: result: no" >&5
        !          2675: echo "${ECHO_T}no" >&6
1.1.1.6   root     2676: fi
                   2677: 
1.1.1.16  root     2678: # Extract the first word of "sdl-config", so it can be a program name with args.
                   2679: set dummy sdl-config; ac_word=$2
1.1.1.19! root     2680: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2681: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2682: if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
        !          2683:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.16  root     2684: else
1.1.1.19! root     2685:   case $SDL_CONFIG in
        !          2686:   [\\/]* | ?:[\\/]*)
1.1.1.16  root     2687:   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
                   2688:   ;;
                   2689:   *)
1.1.1.19! root     2690:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2691: for as_dir in $PATH
        !          2692: do
        !          2693:   IFS=$as_save_IFS
        !          2694:   test -z "$as_dir" && as_dir=.
        !          2695:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2696:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2697:     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          2698:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2699:     break 2
        !          2700:   fi
        !          2701: done
        !          2702: done
        !          2703: 
1.1.1.16  root     2704:   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="not-found"
                   2705:   ;;
                   2706: esac
                   2707: fi
1.1.1.19! root     2708: SDL_CONFIG=$ac_cv_path_SDL_CONFIG
        !          2709: 
1.1.1.16  root     2710: if test -n "$SDL_CONFIG"; then
1.1.1.19! root     2711:   echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
        !          2712: echo "${ECHO_T}$SDL_CONFIG" >&6
1.1.1.16  root     2713: else
1.1.1.19! root     2714:   echo "$as_me:$LINENO: result: no" >&5
        !          2715: echo "${ECHO_T}no" >&6
1.1.1.16  root     2716: fi
                   2717: 
1.1       root     2718: 
1.1.1.19! root     2719: 
        !          2720: 
        !          2721: echo "$as_me:$LINENO: checking for egrep" >&5
        !          2722: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
        !          2723: if test "${ac_cv_prog_egrep+set}" = set; then
        !          2724:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2725: else
        !          2726:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
        !          2727:     then ac_cv_prog_egrep='grep -E'
        !          2728:     else ac_cv_prog_egrep='egrep'
        !          2729:     fi
        !          2730: fi
        !          2731: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
        !          2732: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
        !          2733:  EGREP=$ac_cv_prog_egrep
        !          2734: 
        !          2735: 
        !          2736: 
        !          2737: echo "$as_me:$LINENO: checking for AIX" >&5
        !          2738: echo $ECHO_N "checking for AIX... $ECHO_C" >&6
        !          2739: cat >conftest.$ac_ext <<_ACEOF
        !          2740: /* confdefs.h.  */
        !          2741: _ACEOF
        !          2742: cat confdefs.h >>conftest.$ac_ext
        !          2743: cat >>conftest.$ac_ext <<_ACEOF
        !          2744: /* end confdefs.h.  */
1.1       root     2745: #ifdef _AIX
                   2746:   yes
                   2747: #endif
                   2748: 
1.1.1.19! root     2749: _ACEOF
1.1       root     2750: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     2751:   $EGREP "yes" >/dev/null 2>&1; then
        !          2752:   echo "$as_me:$LINENO: result: yes" >&5
        !          2753: echo "${ECHO_T}yes" >&6
        !          2754: cat >>confdefs.h <<\_ACEOF
1.1       root     2755: #define _ALL_SOURCE 1
1.1.1.19! root     2756: _ACEOF
1.1       root     2757: 
                   2758: else
1.1.1.19! root     2759:   echo "$as_me:$LINENO: result: no" >&5
        !          2760: echo "${ECHO_T}no" >&6
1.1       root     2761: fi
                   2762: rm -f conftest*
                   2763: 
                   2764: 
1.1.1.19! root     2765: echo "$as_me:$LINENO: checking for library containing strerror" >&5
        !          2766: echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
        !          2767: if test "${ac_cv_search_strerror+set}" = set; then
        !          2768:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2769: else
        !          2770:   ac_func_search_save_LIBS=$LIBS
        !          2771: ac_cv_search_strerror=no
        !          2772: cat >conftest.$ac_ext <<_ACEOF
        !          2773: /* confdefs.h.  */
        !          2774: _ACEOF
        !          2775: cat confdefs.h >>conftest.$ac_ext
        !          2776: cat >>conftest.$ac_ext <<_ACEOF
        !          2777: /* end confdefs.h.  */
1.1       root     2778: 
1.1.1.19! root     2779: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2780: #ifdef __cplusplus
        !          2781: extern "C"
        !          2782: #endif
        !          2783: /* We use char because int might match the return type of a gcc2
        !          2784:    builtin and then its argument prototype would still apply.  */
        !          2785: char strerror ();
        !          2786: int
        !          2787: main ()
        !          2788: {
        !          2789: strerror ();
        !          2790:   ;
        !          2791:   return 0;
        !          2792: }
        !          2793: _ACEOF
        !          2794: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2795: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2796:   (eval $ac_link) 2>conftest.er1
        !          2797:   ac_status=$?
        !          2798:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2799:   rm -f conftest.er1
        !          2800:   cat conftest.err >&5
        !          2801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2802:   (exit $ac_status); } &&
        !          2803:         { ac_try='test -z "$ac_c_werror_flag"
        !          2804:                         || test ! -s conftest.err'
        !          2805:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2806:   (eval $ac_try) 2>&5
        !          2807:   ac_status=$?
        !          2808:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2809:   (exit $ac_status); }; } &&
        !          2810:         { ac_try='test -s conftest$ac_exeext'
        !          2811:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2812:   (eval $ac_try) 2>&5
        !          2813:   ac_status=$?
        !          2814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2815:   (exit $ac_status); }; }; then
        !          2816:   ac_cv_search_strerror="none required"
        !          2817: else
        !          2818:   echo "$as_me: failed program was:" >&5
        !          2819: sed 's/^/| /' conftest.$ac_ext >&5
        !          2820: 
        !          2821: fi
        !          2822: rm -f conftest.err conftest.$ac_objext \
        !          2823:       conftest$ac_exeext conftest.$ac_ext
        !          2824: if test "$ac_cv_search_strerror" = no; then
        !          2825:   for ac_lib in cposix; do
        !          2826:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          2827:     cat >conftest.$ac_ext <<_ACEOF
        !          2828: /* confdefs.h.  */
        !          2829: _ACEOF
        !          2830: cat confdefs.h >>conftest.$ac_ext
        !          2831: cat >>conftest.$ac_ext <<_ACEOF
        !          2832: /* end confdefs.h.  */
        !          2833: 
        !          2834: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2835: #ifdef __cplusplus
        !          2836: extern "C"
        !          2837: #endif
        !          2838: /* We use char because int might match the return type of a gcc2
        !          2839:    builtin and then its argument prototype would still apply.  */
        !          2840: char strerror ();
        !          2841: int
        !          2842: main ()
        !          2843: {
        !          2844: strerror ();
        !          2845:   ;
        !          2846:   return 0;
        !          2847: }
        !          2848: _ACEOF
        !          2849: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2850: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2851:   (eval $ac_link) 2>conftest.er1
        !          2852:   ac_status=$?
        !          2853:   grep -v '^ *+' conftest.er1 >conftest.err
        !          2854:   rm -f conftest.er1
        !          2855:   cat conftest.err >&5
        !          2856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2857:   (exit $ac_status); } &&
        !          2858:         { ac_try='test -z "$ac_c_werror_flag"
        !          2859:                         || test ! -s conftest.err'
        !          2860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2861:   (eval $ac_try) 2>&5
        !          2862:   ac_status=$?
        !          2863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2864:   (exit $ac_status); }; } &&
        !          2865:         { ac_try='test -s conftest$ac_exeext'
        !          2866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2867:   (eval $ac_try) 2>&5
        !          2868:   ac_status=$?
        !          2869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2870:   (exit $ac_status); }; }; then
        !          2871:   ac_cv_search_strerror="-l$ac_lib"
        !          2872: break
1.1       root     2873: else
1.1.1.19! root     2874:   echo "$as_me: failed program was:" >&5
        !          2875: sed 's/^/| /' conftest.$ac_ext >&5
        !          2876: 
        !          2877: fi
        !          2878: rm -f conftest.err conftest.$ac_objext \
        !          2879:       conftest$ac_exeext conftest.$ac_ext
        !          2880:   done
        !          2881: fi
        !          2882: LIBS=$ac_func_search_save_LIBS
1.1       root     2883: fi
1.1.1.19! root     2884: echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
        !          2885: echo "${ECHO_T}$ac_cv_search_strerror" >&6
        !          2886: if test "$ac_cv_search_strerror" != no; then
        !          2887:   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
1.1       root     2888: 
1.1.1.19! root     2889: fi
1.1       root     2890: 
1.1.1.19! root     2891: 
        !          2892: echo "$as_me:$LINENO: checking for Watcom C" >&5
        !          2893: echo $ECHO_N "checking for Watcom C... $ECHO_C" >&6
        !          2894: cat >conftest.$ac_ext <<_ACEOF
        !          2895: /* confdefs.h.  */
        !          2896: _ACEOF
        !          2897: cat confdefs.h >>conftest.$ac_ext
        !          2898: cat >>conftest.$ac_ext <<_ACEOF
        !          2899: /* end confdefs.h.  */
1.1.1.6   root     2900: #ifdef __WATCOMC__
                   2901:   yes
                   2902: #endif
                   2903: 
1.1.1.19! root     2904: _ACEOF
1.1.1.6   root     2905: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     2906:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     2907:   uae_cv_prog_cc_watcom=yes
                   2908: else
                   2909:   uae_cv_prog_cc_watcom=no
                   2910: fi
                   2911: rm -f conftest*
                   2912: 
1.1.1.19! root     2913: echo "$as_me:$LINENO: result: $uae_cv_prog_cc_watcom" >&5
        !          2914: echo "${ECHO_T}$uae_cv_prog_cc_watcom" >&6
1.1.1.6   root     2915: 
1.1.1.19! root     2916: ac_aux_dir=
        !          2917: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
        !          2918:   if test -f $ac_dir/install-sh; then
        !          2919:     ac_aux_dir=$ac_dir
        !          2920:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !          2921:     break
        !          2922:   elif test -f $ac_dir/install.sh; then
        !          2923:     ac_aux_dir=$ac_dir
        !          2924:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !          2925:     break
        !          2926:   elif test -f $ac_dir/shtool; then
        !          2927:     ac_aux_dir=$ac_dir
        !          2928:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !          2929:     break
        !          2930:   fi
        !          2931: done
        !          2932: if test -z "$ac_aux_dir"; then
        !          2933:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
        !          2934: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
        !          2935:    { (exit 1); exit 1; }; }
        !          2936: fi
        !          2937: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
        !          2938: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
        !          2939: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
        !          2940: 
        !          2941: # Make sure we can run config.sub.
        !          2942: $ac_config_sub sun4 >/dev/null 2>&1 ||
        !          2943:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
        !          2944: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
        !          2945:    { (exit 1); exit 1; }; }
        !          2946: 
        !          2947: echo "$as_me:$LINENO: checking build system type" >&5
        !          2948: echo $ECHO_N "checking build system type... $ECHO_C" >&6
        !          2949: if test "${ac_cv_build+set}" = set; then
        !          2950:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2951: else
        !          2952:   ac_cv_build_alias=$build_alias
        !          2953: test -z "$ac_cv_build_alias" &&
        !          2954:   ac_cv_build_alias=`$ac_config_guess`
        !          2955: test -z "$ac_cv_build_alias" &&
        !          2956:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
        !          2957: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
        !          2958:    { (exit 1); exit 1; }; }
        !          2959: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
        !          2960:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
        !          2961: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
        !          2962:    { (exit 1); exit 1; }; }
        !          2963: 
        !          2964: fi
        !          2965: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
        !          2966: echo "${ECHO_T}$ac_cv_build" >&6
        !          2967: build=$ac_cv_build
        !          2968: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          2969: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          2970: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          2971: 
        !          2972: 
        !          2973: echo "$as_me:$LINENO: checking host system type" >&5
        !          2974: echo $ECHO_N "checking host system type... $ECHO_C" >&6
        !          2975: if test "${ac_cv_host+set}" = set; then
        !          2976:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2977: else
        !          2978:   ac_cv_host_alias=$host_alias
        !          2979: test -z "$ac_cv_host_alias" &&
        !          2980:   ac_cv_host_alias=$ac_cv_build_alias
        !          2981: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
        !          2982:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
        !          2983: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
        !          2984:    { (exit 1); exit 1; }; }
        !          2985: 
        !          2986: fi
        !          2987: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
        !          2988: echo "${ECHO_T}$ac_cv_host" >&6
        !          2989: host=$ac_cv_host
        !          2990: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          2991: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          2992: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          2993: 
        !          2994: 
        !          2995: case $host_os in
        !          2996:   *cygwin* ) CYGWIN=yes;;
        !          2997:         * ) CYGWIN=no;;
        !          2998: esac
1.1.1.6   root     2999: 
1.1.1.19! root     3000: case $host_os in
        !          3001:   *mingw32* ) MINGW32=yes;;
        !          3002:          * ) MINGW32=no;;
        !          3003: esac
1.1.1.6   root     3004: 
                   3005: 
                   3006: 
1.1.1.4   root     3007: NR_WARNINGS=0
                   3008: NR_ERRORS=0
                   3009: 
1.1.1.6   root     3010: tmp_save_dir=`pwd`
                   3011: cd $srcdir
                   3012: abssrcdir=`pwd`
                   3013: cd $tmp_save_dir
                   3014: 
1.1.1.4   root     3015: NEED_THREAD_SUPPORT=no
                   3016: 
                   3017: ADDITIONAL_CFLAGS=
                   3018: OPTIMIZE_CFLAGS=
                   3019: WARNING_CFLAGS=
                   3020: DEBUG_CFLAGS=
                   3021: NO_SCHED_CFLAGS=
1.1.1.19! root     3022: NO_REORDER_CFLAGS=
1.1.1.14  root     3023: LDFLAGS="$LDFLAGS -L."
1.1.1.4   root     3024: 
                   3025: HAVE_BEOS=no
                   3026: HAVE_POS=no
1.1.1.19! root     3027: echo "$as_me:$LINENO: checking for main in -lMedia_s" >&5
        !          3028: echo $ECHO_N "checking for main in -lMedia_s... $ECHO_C" >&6
        !          3029: if test "${ac_cv_lib_Media_s_main+set}" = set; then
        !          3030:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3031: else
1.1.1.19! root     3032:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3033: LIBS="-lMedia_s  $LIBS"
1.1.1.19! root     3034: cat >conftest.$ac_ext <<_ACEOF
        !          3035: /* confdefs.h.  */
        !          3036: _ACEOF
        !          3037: cat confdefs.h >>conftest.$ac_ext
        !          3038: cat >>conftest.$ac_ext <<_ACEOF
        !          3039: /* end confdefs.h.  */
1.1       root     3040: 
                   3041: 
1.1.1.19! root     3042: int
        !          3043: main ()
        !          3044: {
        !          3045: main ();
        !          3046:   ;
        !          3047:   return 0;
        !          3048: }
        !          3049: _ACEOF
        !          3050: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3051: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3052:   (eval $ac_link) 2>conftest.er1
        !          3053:   ac_status=$?
        !          3054:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3055:   rm -f conftest.er1
        !          3056:   cat conftest.err >&5
        !          3057:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3058:   (exit $ac_status); } &&
        !          3059:         { ac_try='test -z "$ac_c_werror_flag"
        !          3060:                         || test ! -s conftest.err'
        !          3061:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3062:   (eval $ac_try) 2>&5
        !          3063:   ac_status=$?
        !          3064:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3065:   (exit $ac_status); }; } &&
        !          3066:         { ac_try='test -s conftest$ac_exeext'
        !          3067:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3068:   (eval $ac_try) 2>&5
        !          3069:   ac_status=$?
        !          3070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3071:   (exit $ac_status); }; }; then
        !          3072:   ac_cv_lib_Media_s_main=yes
        !          3073: else
        !          3074:   echo "$as_me: failed program was:" >&5
        !          3075: sed 's/^/| /' conftest.$ac_ext >&5
        !          3076: 
        !          3077: ac_cv_lib_Media_s_main=no
        !          3078: fi
        !          3079: rm -f conftest.err conftest.$ac_objext \
        !          3080:       conftest$ac_exeext conftest.$ac_ext
        !          3081: LIBS=$ac_check_lib_save_LIBS
        !          3082: fi
        !          3083: echo "$as_me:$LINENO: result: $ac_cv_lib_Media_s_main" >&5
        !          3084: echo "${ECHO_T}$ac_cv_lib_Media_s_main" >&6
        !          3085: if test $ac_cv_lib_Media_s_main = yes; then
1.1.1.4   root     3086:   HAVE_MEDIA_LIB=yes
1.1       root     3087: else
1.1.1.19! root     3088:   HAVE_MEDIA_LIB=no
1.1       root     3089: fi
                   3090: 
1.1.1.19! root     3091: echo "$as_me:$LINENO: checking for main in -lNeXT_s" >&5
        !          3092: echo $ECHO_N "checking for main in -lNeXT_s... $ECHO_C" >&6
        !          3093: if test "${ac_cv_lib_NeXT_s_main+set}" = set; then
        !          3094:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3095: else
1.1.1.19! root     3096:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3097: LIBS="-lNeXT_s  $LIBS"
1.1.1.19! root     3098: cat >conftest.$ac_ext <<_ACEOF
        !          3099: /* confdefs.h.  */
        !          3100: _ACEOF
        !          3101: cat confdefs.h >>conftest.$ac_ext
        !          3102: cat >>conftest.$ac_ext <<_ACEOF
        !          3103: /* end confdefs.h.  */
1.1       root     3104: 
                   3105: 
1.1.1.19! root     3106: int
        !          3107: main ()
        !          3108: {
        !          3109: main ();
        !          3110:   ;
        !          3111:   return 0;
        !          3112: }
        !          3113: _ACEOF
        !          3114: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3115: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3116:   (eval $ac_link) 2>conftest.er1
        !          3117:   ac_status=$?
        !          3118:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3119:   rm -f conftest.er1
        !          3120:   cat conftest.err >&5
        !          3121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3122:   (exit $ac_status); } &&
        !          3123:         { ac_try='test -z "$ac_c_werror_flag"
        !          3124:                         || test ! -s conftest.err'
        !          3125:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3126:   (eval $ac_try) 2>&5
        !          3127:   ac_status=$?
        !          3128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3129:   (exit $ac_status); }; } &&
        !          3130:         { ac_try='test -s conftest$ac_exeext'
        !          3131:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3132:   (eval $ac_try) 2>&5
        !          3133:   ac_status=$?
        !          3134:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3135:   (exit $ac_status); }; }; then
        !          3136:   ac_cv_lib_NeXT_s_main=yes
        !          3137: else
        !          3138:   echo "$as_me: failed program was:" >&5
        !          3139: sed 's/^/| /' conftest.$ac_ext >&5
        !          3140: 
        !          3141: ac_cv_lib_NeXT_s_main=no
        !          3142: fi
        !          3143: rm -f conftest.err conftest.$ac_objext \
        !          3144:       conftest$ac_exeext conftest.$ac_ext
        !          3145: LIBS=$ac_check_lib_save_LIBS
        !          3146: fi
        !          3147: echo "$as_me:$LINENO: result: $ac_cv_lib_NeXT_s_main" >&5
        !          3148: echo "${ECHO_T}$ac_cv_lib_NeXT_s_main" >&6
        !          3149: if test $ac_cv_lib_NeXT_s_main = yes; then
1.1.1.4   root     3150:   HAVE_NEXT_LIB=yes
1.1       root     3151: else
1.1.1.19! root     3152:   HAVE_NEXT_LIB=no
1.1       root     3153: fi
                   3154: 
1.1.1.19! root     3155: echo "$as_me:$LINENO: checking for cos in -lmoto" >&5
        !          3156: echo $ECHO_N "checking for cos in -lmoto... $ECHO_C" >&6
        !          3157: if test "${ac_cv_lib_moto_cos+set}" = set; then
        !          3158:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     3159: else
1.1.1.19! root     3160:   ac_check_lib_save_LIBS=$LIBS
1.1.1.11  root     3161: LIBS="-lmoto  $LIBS"
1.1.1.19! root     3162: cat >conftest.$ac_ext <<_ACEOF
        !          3163: /* confdefs.h.  */
        !          3164: _ACEOF
        !          3165: cat confdefs.h >>conftest.$ac_ext
        !          3166: cat >>conftest.$ac_ext <<_ACEOF
        !          3167: /* end confdefs.h.  */
        !          3168: 
1.1.1.11  root     3169: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3170: #ifdef __cplusplus
        !          3171: extern "C"
        !          3172: #endif
1.1.1.11  root     3173: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3174:    builtin and then its argument prototype would still apply.  */
        !          3175: char cos ();
        !          3176: int
        !          3177: main ()
        !          3178: {
        !          3179: cos ();
        !          3180:   ;
        !          3181:   return 0;
        !          3182: }
        !          3183: _ACEOF
        !          3184: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3185: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3186:   (eval $ac_link) 2>conftest.er1
        !          3187:   ac_status=$?
        !          3188:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3189:   rm -f conftest.er1
        !          3190:   cat conftest.err >&5
        !          3191:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3192:   (exit $ac_status); } &&
        !          3193:         { ac_try='test -z "$ac_c_werror_flag"
        !          3194:                         || test ! -s conftest.err'
        !          3195:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3196:   (eval $ac_try) 2>&5
        !          3197:   ac_status=$?
        !          3198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3199:   (exit $ac_status); }; } &&
        !          3200:         { ac_try='test -s conftest$ac_exeext'
        !          3201:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3202:   (eval $ac_try) 2>&5
        !          3203:   ac_status=$?
        !          3204:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3205:   (exit $ac_status); }; }; then
        !          3206:   ac_cv_lib_moto_cos=yes
        !          3207: else
        !          3208:   echo "$as_me: failed program was:" >&5
        !          3209: sed 's/^/| /' conftest.$ac_ext >&5
        !          3210: 
        !          3211: ac_cv_lib_moto_cos=no
        !          3212: fi
        !          3213: rm -f conftest.err conftest.$ac_objext \
        !          3214:       conftest$ac_exeext conftest.$ac_ext
        !          3215: LIBS=$ac_check_lib_save_LIBS
        !          3216: fi
        !          3217: echo "$as_me:$LINENO: result: $ac_cv_lib_moto_cos" >&5
        !          3218: echo "${ECHO_T}$ac_cv_lib_moto_cos" >&6
        !          3219: if test $ac_cv_lib_moto_cos = yes; then
1.1.1.11  root     3220:   HAVE_MOTO_LIB=yes
                   3221: else
1.1.1.19! root     3222:   HAVE_MOTO_LIB=no
1.1.1.11  root     3223: fi
                   3224: 
1.1.1.19! root     3225: echo "$as_me:$LINENO: checking for OpenLibrary in -lamiga" >&5
        !          3226: echo $ECHO_N "checking for OpenLibrary in -lamiga... $ECHO_C" >&6
        !          3227: if test "${ac_cv_lib_amiga_OpenLibrary+set}" = set; then
        !          3228:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     3229: else
1.1.1.19! root     3230:   ac_check_lib_save_LIBS=$LIBS
1.1.1.3   root     3231: LIBS="-lamiga  $LIBS"
1.1.1.19! root     3232: cat >conftest.$ac_ext <<_ACEOF
        !          3233: /* confdefs.h.  */
        !          3234: _ACEOF
        !          3235: cat confdefs.h >>conftest.$ac_ext
        !          3236: cat >>conftest.$ac_ext <<_ACEOF
        !          3237: /* end confdefs.h.  */
        !          3238: 
1.1.1.3   root     3239: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3240: #ifdef __cplusplus
        !          3241: extern "C"
        !          3242: #endif
1.1.1.3   root     3243: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3244:    builtin and then its argument prototype would still apply.  */
        !          3245: char OpenLibrary ();
        !          3246: int
        !          3247: main ()
        !          3248: {
        !          3249: OpenLibrary ();
        !          3250:   ;
        !          3251:   return 0;
        !          3252: }
        !          3253: _ACEOF
        !          3254: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3255: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3256:   (eval $ac_link) 2>conftest.er1
        !          3257:   ac_status=$?
        !          3258:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3259:   rm -f conftest.er1
        !          3260:   cat conftest.err >&5
        !          3261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3262:   (exit $ac_status); } &&
        !          3263:         { ac_try='test -z "$ac_c_werror_flag"
        !          3264:                         || test ! -s conftest.err'
        !          3265:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3266:   (eval $ac_try) 2>&5
        !          3267:   ac_status=$?
        !          3268:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3269:   (exit $ac_status); }; } &&
        !          3270:         { ac_try='test -s conftest$ac_exeext'
        !          3271:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3272:   (eval $ac_try) 2>&5
        !          3273:   ac_status=$?
        !          3274:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3275:   (exit $ac_status); }; }; then
        !          3276:   ac_cv_lib_amiga_OpenLibrary=yes
        !          3277: else
        !          3278:   echo "$as_me: failed program was:" >&5
        !          3279: sed 's/^/| /' conftest.$ac_ext >&5
        !          3280: 
        !          3281: ac_cv_lib_amiga_OpenLibrary=no
        !          3282: fi
        !          3283: rm -f conftest.err conftest.$ac_objext \
        !          3284:       conftest$ac_exeext conftest.$ac_ext
        !          3285: LIBS=$ac_check_lib_save_LIBS
        !          3286: fi
        !          3287: echo "$as_me:$LINENO: result: $ac_cv_lib_amiga_OpenLibrary" >&5
        !          3288: echo "${ECHO_T}$ac_cv_lib_amiga_OpenLibrary" >&6
        !          3289: if test $ac_cv_lib_amiga_OpenLibrary = yes; then
1.1.1.4   root     3290:   HAVE_AMIGA_LIB=yes
1.1.1.3   root     3291: else
1.1.1.19! root     3292:   HAVE_AMIGA_LIB=n
1.1.1.3   root     3293: fi
                   3294: 
1.1.1.19! root     3295: echo "$as_me:$LINENO: checking for vga_setmode in -lvga" >&5
        !          3296: echo $ECHO_N "checking for vga_setmode in -lvga... $ECHO_C" >&6
        !          3297: if test "${ac_cv_lib_vga_vga_setmode+set}" = set; then
        !          3298:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3299: else
1.1.1.19! root     3300:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3301: LIBS="-lvga  $LIBS"
1.1.1.19! root     3302: cat >conftest.$ac_ext <<_ACEOF
        !          3303: /* confdefs.h.  */
        !          3304: _ACEOF
        !          3305: cat confdefs.h >>conftest.$ac_ext
        !          3306: cat >>conftest.$ac_ext <<_ACEOF
        !          3307: /* end confdefs.h.  */
        !          3308: 
1.1       root     3309: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3310: #ifdef __cplusplus
        !          3311: extern "C"
        !          3312: #endif
1.1       root     3313: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3314:    builtin and then its argument prototype would still apply.  */
        !          3315: char vga_setmode ();
        !          3316: int
        !          3317: main ()
        !          3318: {
        !          3319: vga_setmode ();
        !          3320:   ;
        !          3321:   return 0;
        !          3322: }
        !          3323: _ACEOF
        !          3324: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3325: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3326:   (eval $ac_link) 2>conftest.er1
        !          3327:   ac_status=$?
        !          3328:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3329:   rm -f conftest.er1
        !          3330:   cat conftest.err >&5
        !          3331:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3332:   (exit $ac_status); } &&
        !          3333:         { ac_try='test -z "$ac_c_werror_flag"
        !          3334:                         || test ! -s conftest.err'
        !          3335:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3336:   (eval $ac_try) 2>&5
        !          3337:   ac_status=$?
        !          3338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3339:   (exit $ac_status); }; } &&
        !          3340:         { ac_try='test -s conftest$ac_exeext'
        !          3341:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3342:   (eval $ac_try) 2>&5
        !          3343:   ac_status=$?
        !          3344:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3345:   (exit $ac_status); }; }; then
        !          3346:   ac_cv_lib_vga_vga_setmode=yes
        !          3347: else
        !          3348:   echo "$as_me: failed program was:" >&5
        !          3349: sed 's/^/| /' conftest.$ac_ext >&5
        !          3350: 
        !          3351: ac_cv_lib_vga_vga_setmode=no
        !          3352: fi
        !          3353: rm -f conftest.err conftest.$ac_objext \
        !          3354:       conftest$ac_exeext conftest.$ac_ext
        !          3355: LIBS=$ac_check_lib_save_LIBS
        !          3356: fi
        !          3357: echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_setmode" >&5
        !          3358: echo "${ECHO_T}$ac_cv_lib_vga_vga_setmode" >&6
        !          3359: if test $ac_cv_lib_vga_vga_setmode = yes; then
1.1.1.4   root     3360:   HAVE_SVGA_LIB=yes
1.1       root     3361: else
1.1.1.19! root     3362:   HAVE_SVGA_LIB=no
1.1       root     3363: fi
                   3364: 
1.1.1.19! root     3365: echo "$as_me:$LINENO: checking for AFOpenAudioConn in -lAF" >&5
        !          3366: echo $ECHO_N "checking for AFOpenAudioConn in -lAF... $ECHO_C" >&6
        !          3367: if test "${ac_cv_lib_AF_AFOpenAudioConn+set}" = set; then
        !          3368:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3369: else
1.1.1.19! root     3370:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3371: LIBS="-lAF  $LIBS"
1.1.1.19! root     3372: cat >conftest.$ac_ext <<_ACEOF
        !          3373: /* confdefs.h.  */
        !          3374: _ACEOF
        !          3375: cat confdefs.h >>conftest.$ac_ext
        !          3376: cat >>conftest.$ac_ext <<_ACEOF
        !          3377: /* end confdefs.h.  */
        !          3378: 
1.1       root     3379: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3380: #ifdef __cplusplus
        !          3381: extern "C"
        !          3382: #endif
1.1       root     3383: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3384:    builtin and then its argument prototype would still apply.  */
        !          3385: char AFOpenAudioConn ();
        !          3386: int
        !          3387: main ()
        !          3388: {
        !          3389: AFOpenAudioConn ();
        !          3390:   ;
        !          3391:   return 0;
        !          3392: }
        !          3393: _ACEOF
        !          3394: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3395: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3396:   (eval $ac_link) 2>conftest.er1
        !          3397:   ac_status=$?
        !          3398:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3399:   rm -f conftest.er1
        !          3400:   cat conftest.err >&5
        !          3401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3402:   (exit $ac_status); } &&
        !          3403:         { ac_try='test -z "$ac_c_werror_flag"
        !          3404:                         || test ! -s conftest.err'
        !          3405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3406:   (eval $ac_try) 2>&5
        !          3407:   ac_status=$?
        !          3408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3409:   (exit $ac_status); }; } &&
        !          3410:         { ac_try='test -s conftest$ac_exeext'
        !          3411:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3412:   (eval $ac_try) 2>&5
        !          3413:   ac_status=$?
        !          3414:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3415:   (exit $ac_status); }; }; then
        !          3416:   ac_cv_lib_AF_AFOpenAudioConn=yes
        !          3417: else
        !          3418:   echo "$as_me: failed program was:" >&5
        !          3419: sed 's/^/| /' conftest.$ac_ext >&5
        !          3420: 
        !          3421: ac_cv_lib_AF_AFOpenAudioConn=no
        !          3422: fi
        !          3423: rm -f conftest.err conftest.$ac_objext \
        !          3424:       conftest$ac_exeext conftest.$ac_ext
        !          3425: LIBS=$ac_check_lib_save_LIBS
        !          3426: fi
        !          3427: echo "$as_me:$LINENO: result: $ac_cv_lib_AF_AFOpenAudioConn" >&5
        !          3428: echo "${ECHO_T}$ac_cv_lib_AF_AFOpenAudioConn" >&6
        !          3429: if test $ac_cv_lib_AF_AFOpenAudioConn = yes; then
1.1.1.4   root     3430:   HAVE_AF_LIB=yes
                   3431: else
1.1.1.19! root     3432:   HAVE_AF_LIB=no
1.1.1.4   root     3433: fi
                   3434: 
1.1.1.19! root     3435: echo "$as_me:$LINENO: checking for waveOutGetNumDevs in -lmme" >&5
        !          3436: echo $ECHO_N "checking for waveOutGetNumDevs in -lmme... $ECHO_C" >&6
        !          3437: if test "${ac_cv_lib_mme_waveOutGetNumDevs+set}" = set; then
        !          3438:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     3439: else
1.1.1.19! root     3440:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3441: LIBS="-lmme  $LIBS"
1.1.1.19! root     3442: cat >conftest.$ac_ext <<_ACEOF
        !          3443: /* confdefs.h.  */
        !          3444: _ACEOF
        !          3445: cat confdefs.h >>conftest.$ac_ext
        !          3446: cat >>conftest.$ac_ext <<_ACEOF
        !          3447: /* end confdefs.h.  */
        !          3448: 
1.1.1.6   root     3449: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3450: #ifdef __cplusplus
        !          3451: extern "C"
        !          3452: #endif
1.1.1.6   root     3453: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3454:    builtin and then its argument prototype would still apply.  */
        !          3455: char waveOutGetNumDevs ();
        !          3456: int
        !          3457: main ()
        !          3458: {
        !          3459: waveOutGetNumDevs ();
        !          3460:   ;
        !          3461:   return 0;
        !          3462: }
        !          3463: _ACEOF
        !          3464: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3465: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3466:   (eval $ac_link) 2>conftest.er1
        !          3467:   ac_status=$?
        !          3468:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3469:   rm -f conftest.er1
        !          3470:   cat conftest.err >&5
        !          3471:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3472:   (exit $ac_status); } &&
        !          3473:         { ac_try='test -z "$ac_c_werror_flag"
        !          3474:                         || test ! -s conftest.err'
        !          3475:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3476:   (eval $ac_try) 2>&5
        !          3477:   ac_status=$?
        !          3478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3479:   (exit $ac_status); }; } &&
        !          3480:         { ac_try='test -s conftest$ac_exeext'
        !          3481:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3482:   (eval $ac_try) 2>&5
        !          3483:   ac_status=$?
        !          3484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3485:   (exit $ac_status); }; }; then
        !          3486:   ac_cv_lib_mme_waveOutGetNumDevs=yes
        !          3487: else
        !          3488:   echo "$as_me: failed program was:" >&5
        !          3489: sed 's/^/| /' conftest.$ac_ext >&5
        !          3490: 
        !          3491: ac_cv_lib_mme_waveOutGetNumDevs=no
        !          3492: fi
        !          3493: rm -f conftest.err conftest.$ac_objext \
        !          3494:       conftest$ac_exeext conftest.$ac_ext
        !          3495: LIBS=$ac_check_lib_save_LIBS
        !          3496: fi
        !          3497: echo "$as_me:$LINENO: result: $ac_cv_lib_mme_waveOutGetNumDevs" >&5
        !          3498: echo "${ECHO_T}$ac_cv_lib_mme_waveOutGetNumDevs" >&6
        !          3499: if test $ac_cv_lib_mme_waveOutGetNumDevs = yes; then
1.1.1.6   root     3500:   HAVE_MME_LIB=yes
                   3501: else
1.1.1.19! root     3502:   HAVE_MME_LIB=no
1.1.1.6   root     3503: fi
                   3504: 
1.1.1.19! root     3505: echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
        !          3506: echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
        !          3507: if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
        !          3508:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3509: else
1.1.1.19! root     3510:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     3511: LIBS="-lncurses  $LIBS"
1.1.1.19! root     3512: cat >conftest.$ac_ext <<_ACEOF
        !          3513: /* confdefs.h.  */
        !          3514: _ACEOF
        !          3515: cat confdefs.h >>conftest.$ac_ext
        !          3516: cat >>conftest.$ac_ext <<_ACEOF
        !          3517: /* end confdefs.h.  */
        !          3518: 
1.1.1.4   root     3519: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3520: #ifdef __cplusplus
        !          3521: extern "C"
        !          3522: #endif
1.1.1.4   root     3523: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3524:    builtin and then its argument prototype would still apply.  */
        !          3525: char waddch ();
        !          3526: int
        !          3527: main ()
        !          3528: {
        !          3529: waddch ();
        !          3530:   ;
        !          3531:   return 0;
        !          3532: }
        !          3533: _ACEOF
        !          3534: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3535: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3536:   (eval $ac_link) 2>conftest.er1
        !          3537:   ac_status=$?
        !          3538:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3539:   rm -f conftest.er1
        !          3540:   cat conftest.err >&5
        !          3541:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3542:   (exit $ac_status); } &&
        !          3543:         { ac_try='test -z "$ac_c_werror_flag"
        !          3544:                         || test ! -s conftest.err'
        !          3545:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3546:   (eval $ac_try) 2>&5
        !          3547:   ac_status=$?
        !          3548:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3549:   (exit $ac_status); }; } &&
        !          3550:         { ac_try='test -s conftest$ac_exeext'
        !          3551:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3552:   (eval $ac_try) 2>&5
        !          3553:   ac_status=$?
        !          3554:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3555:   (exit $ac_status); }; }; then
        !          3556:   ac_cv_lib_ncurses_waddch=yes
        !          3557: else
        !          3558:   echo "$as_me: failed program was:" >&5
        !          3559: sed 's/^/| /' conftest.$ac_ext >&5
        !          3560: 
        !          3561: ac_cv_lib_ncurses_waddch=no
        !          3562: fi
        !          3563: rm -f conftest.err conftest.$ac_objext \
        !          3564:       conftest$ac_exeext conftest.$ac_ext
        !          3565: LIBS=$ac_check_lib_save_LIBS
        !          3566: fi
        !          3567: echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
        !          3568: echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
        !          3569: if test $ac_cv_lib_ncurses_waddch = yes; then
1.1.1.4   root     3570:   HAVE_NCURSES_LIB=yes
                   3571: else
1.1.1.19! root     3572:   HAVE_NCURSES_LIB=no
1.1.1.4   root     3573: fi
                   3574: 
1.1.1.19! root     3575: echo "$as_me:$LINENO: checking for sem_init in -lposix4" >&5
        !          3576: echo $ECHO_N "checking for sem_init in -lposix4... $ECHO_C" >&6
        !          3577: if test "${ac_cv_lib_posix4_sem_init+set}" = set; then
        !          3578:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3579: else
1.1.1.19! root     3580:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3581: LIBS="-lposix4  $LIBS"
1.1.1.19! root     3582: cat >conftest.$ac_ext <<_ACEOF
        !          3583: /* confdefs.h.  */
        !          3584: _ACEOF
        !          3585: cat confdefs.h >>conftest.$ac_ext
        !          3586: cat >>conftest.$ac_ext <<_ACEOF
        !          3587: /* end confdefs.h.  */
        !          3588: 
1.1.1.4   root     3589: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3590: #ifdef __cplusplus
        !          3591: extern "C"
        !          3592: #endif
1.1.1.4   root     3593: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3594:    builtin and then its argument prototype would still apply.  */
        !          3595: char sem_init ();
        !          3596: int
        !          3597: main ()
        !          3598: {
        !          3599: sem_init ();
        !          3600:   ;
        !          3601:   return 0;
        !          3602: }
        !          3603: _ACEOF
        !          3604: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3605: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3606:   (eval $ac_link) 2>conftest.er1
        !          3607:   ac_status=$?
        !          3608:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3609:   rm -f conftest.er1
        !          3610:   cat conftest.err >&5
        !          3611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3612:   (exit $ac_status); } &&
        !          3613:         { ac_try='test -z "$ac_c_werror_flag"
        !          3614:                         || test ! -s conftest.err'
        !          3615:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3616:   (eval $ac_try) 2>&5
        !          3617:   ac_status=$?
        !          3618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3619:   (exit $ac_status); }; } &&
        !          3620:         { ac_try='test -s conftest$ac_exeext'
        !          3621:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3622:   (eval $ac_try) 2>&5
        !          3623:   ac_status=$?
        !          3624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3625:   (exit $ac_status); }; }; then
        !          3626:   ac_cv_lib_posix4_sem_init=yes
        !          3627: else
        !          3628:   echo "$as_me: failed program was:" >&5
        !          3629: sed 's/^/| /' conftest.$ac_ext >&5
        !          3630: 
        !          3631: ac_cv_lib_posix4_sem_init=no
        !          3632: fi
        !          3633: rm -f conftest.err conftest.$ac_objext \
        !          3634:       conftest$ac_exeext conftest.$ac_ext
        !          3635: LIBS=$ac_check_lib_save_LIBS
        !          3636: fi
        !          3637: echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_init" >&5
        !          3638: echo "${ECHO_T}$ac_cv_lib_posix4_sem_init" >&6
        !          3639: if test $ac_cv_lib_posix4_sem_init = yes; then
1.1.1.6   root     3640:   HAVE_POSIX4_LIB=yes
1.1.1.4   root     3641: else
1.1.1.19! root     3642:   HAVE_POSIX4_LIB=no
1.1.1.4   root     3643: fi
                   3644: 
1.1.1.19! root     3645: echo "$as_me:$LINENO: checking for sem_init in -lrt" >&5
        !          3646: echo $ECHO_N "checking for sem_init in -lrt... $ECHO_C" >&6
        !          3647: if test "${ac_cv_lib_rt_sem_init+set}" = set; then
        !          3648:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3649: else
1.1.1.19! root     3650:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     3651: LIBS="-lrt  $LIBS"
1.1.1.19! root     3652: cat >conftest.$ac_ext <<_ACEOF
        !          3653: /* confdefs.h.  */
        !          3654: _ACEOF
        !          3655: cat confdefs.h >>conftest.$ac_ext
        !          3656: cat >>conftest.$ac_ext <<_ACEOF
        !          3657: /* end confdefs.h.  */
        !          3658: 
1.1.1.4   root     3659: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3660: #ifdef __cplusplus
        !          3661: extern "C"
        !          3662: #endif
1.1.1.4   root     3663: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3664:    builtin and then its argument prototype would still apply.  */
        !          3665: char sem_init ();
        !          3666: int
        !          3667: main ()
        !          3668: {
        !          3669: sem_init ();
        !          3670:   ;
        !          3671:   return 0;
        !          3672: }
        !          3673: _ACEOF
        !          3674: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3675: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3676:   (eval $ac_link) 2>conftest.er1
        !          3677:   ac_status=$?
        !          3678:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3679:   rm -f conftest.er1
        !          3680:   cat conftest.err >&5
        !          3681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3682:   (exit $ac_status); } &&
        !          3683:         { ac_try='test -z "$ac_c_werror_flag"
        !          3684:                         || test ! -s conftest.err'
        !          3685:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3686:   (eval $ac_try) 2>&5
        !          3687:   ac_status=$?
        !          3688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3689:   (exit $ac_status); }; } &&
        !          3690:         { ac_try='test -s conftest$ac_exeext'
        !          3691:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3692:   (eval $ac_try) 2>&5
        !          3693:   ac_status=$?
        !          3694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3695:   (exit $ac_status); }; }; then
        !          3696:   ac_cv_lib_rt_sem_init=yes
        !          3697: else
        !          3698:   echo "$as_me: failed program was:" >&5
        !          3699: sed 's/^/| /' conftest.$ac_ext >&5
        !          3700: 
        !          3701: ac_cv_lib_rt_sem_init=no
        !          3702: fi
        !          3703: rm -f conftest.err conftest.$ac_objext \
        !          3704:       conftest$ac_exeext conftest.$ac_ext
        !          3705: LIBS=$ac_check_lib_save_LIBS
        !          3706: fi
        !          3707: echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_init" >&5
        !          3708: echo "${ECHO_T}$ac_cv_lib_rt_sem_init" >&6
        !          3709: if test $ac_cv_lib_rt_sem_init = yes; then
1.1.1.6   root     3710:   HAVE_RT_LIB=yes
1.1.1.4   root     3711: else
1.1.1.19! root     3712:   HAVE_RT_LIB=no
1.1.1.4   root     3713: fi
                   3714: 
1.1.1.19! root     3715: echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
        !          3716: echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
        !          3717: if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
        !          3718:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.8   root     3719: else
1.1.1.19! root     3720:   ac_check_lib_save_LIBS=$LIBS
1.1.1.8   root     3721: LIBS="-laudio  $LIBS"
1.1.1.19! root     3722: cat >conftest.$ac_ext <<_ACEOF
        !          3723: /* confdefs.h.  */
        !          3724: _ACEOF
        !          3725: cat confdefs.h >>conftest.$ac_ext
        !          3726: cat >>conftest.$ac_ext <<_ACEOF
        !          3727: /* end confdefs.h.  */
        !          3728: 
1.1.1.8   root     3729: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     3730: #ifdef __cplusplus
        !          3731: extern "C"
        !          3732: #endif
1.1.1.8   root     3733: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     3734:    builtin and then its argument prototype would still apply.  */
        !          3735: char alOpenPort ();
        !          3736: int
        !          3737: main ()
        !          3738: {
        !          3739: alOpenPort ();
        !          3740:   ;
        !          3741:   return 0;
        !          3742: }
        !          3743: _ACEOF
        !          3744: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3745: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3746:   (eval $ac_link) 2>conftest.er1
        !          3747:   ac_status=$?
        !          3748:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3749:   rm -f conftest.er1
        !          3750:   cat conftest.err >&5
        !          3751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3752:   (exit $ac_status); } &&
        !          3753:         { ac_try='test -z "$ac_c_werror_flag"
        !          3754:                         || test ! -s conftest.err'
        !          3755:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3756:   (eval $ac_try) 2>&5
        !          3757:   ac_status=$?
        !          3758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3759:   (exit $ac_status); }; } &&
        !          3760:         { ac_try='test -s conftest$ac_exeext'
        !          3761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3762:   (eval $ac_try) 2>&5
        !          3763:   ac_status=$?
        !          3764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3765:   (exit $ac_status); }; }; then
        !          3766:   ac_cv_lib_audio_alOpenPort=yes
        !          3767: else
        !          3768:   echo "$as_me: failed program was:" >&5
        !          3769: sed 's/^/| /' conftest.$ac_ext >&5
        !          3770: 
        !          3771: ac_cv_lib_audio_alOpenPort=no
        !          3772: fi
        !          3773: rm -f conftest.err conftest.$ac_objext \
        !          3774:       conftest$ac_exeext conftest.$ac_ext
        !          3775: LIBS=$ac_check_lib_save_LIBS
        !          3776: fi
        !          3777: echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
        !          3778: echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
        !          3779: if test $ac_cv_lib_audio_alOpenPort = yes; then
1.1.1.8   root     3780:   HAVE_SGIAUDIO_LIB=yes
                   3781: else
1.1.1.19! root     3782:   HAVE_SGIAUDIO_LIB=no
1.1.1.8   root     3783: fi
                   3784: 
1.1       root     3785: 
1.1.1.19! root     3786: echo "$as_me:$LINENO: checking for X" >&5
        !          3787: echo $ECHO_N "checking for X... $ECHO_C" >&6
        !          3788: 
1.1       root     3789: 
                   3790: # Check whether --with-x or --without-x was given.
                   3791: if test "${with_x+set}" = set; then
                   3792:   withval="$with_x"
                   3793: 
1.1.1.19! root     3794: fi;
1.1       root     3795: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   3796: if test "x$with_x" = xno; then
                   3797:   # The user explicitly disabled X.
                   3798:   have_x=disabled
                   3799: else
                   3800:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   3801:     # Both variables are already set.
                   3802:     have_x=yes
                   3803:   else
1.1.1.19! root     3804:     if test "${ac_cv_have_x+set}" = set; then
        !          3805:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3806: else
                   3807:   # One or both of the vars are not set, and there is no cached value.
1.1.1.19! root     3808: ac_x_includes=no ac_x_libraries=no
        !          3809: rm -fr conftest.dir
        !          3810: if mkdir conftest.dir; then
        !          3811:   cd conftest.dir
1.1       root     3812:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1.1.1.19! root     3813:   cat >Imakefile <<'_ACEOF'
1.1       root     3814: acfindx:
                   3815:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1.1.1.19! root     3816: _ACEOF
1.1       root     3817:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   3818:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   3819:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   3820:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   3821:     for ac_extension in a so sl; do
                   3822:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1.1.1.19! root     3823:         test -f $ac_im_libdir/libX11.$ac_extension; then
        !          3824:        ac_im_usrlibdir=$ac_im_libdir; break
1.1       root     3825:       fi
                   3826:     done
1.1.1.4   root     3827:     # Screen out bogus values from the imake configuration.  They are
                   3828:     # bogus both because they are the default anyway, and because
                   3829:     # using them would break gcc on systems where it needs fixed includes.
1.1.1.19! root     3830:     case $ac_im_incroot in
1.1       root     3831:        /usr/include) ;;
1.1.1.19! root     3832:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       root     3833:     esac
1.1.1.19! root     3834:     case $ac_im_usrlibdir in
1.1       root     3835:        /usr/lib | /lib) ;;
1.1.1.19! root     3836:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       root     3837:     esac
                   3838:   fi
                   3839:   cd ..
1.1.1.19! root     3840:   rm -fr conftest.dir
1.1       root     3841: fi
                   3842: 
1.1.1.19! root     3843: # Standard set of common directories for X headers.
        !          3844: # Check X11 before X11Rn because it is often a symlink to the current release.
        !          3845: ac_x_header_dirs='
        !          3846: /usr/X11/include
        !          3847: /usr/X11R6/include
        !          3848: /usr/X11R5/include
        !          3849: /usr/X11R4/include
        !          3850: 
        !          3851: /usr/include/X11
        !          3852: /usr/include/X11R6
        !          3853: /usr/include/X11R5
        !          3854: /usr/include/X11R4
        !          3855: 
        !          3856: /usr/local/X11/include
        !          3857: /usr/local/X11R6/include
        !          3858: /usr/local/X11R5/include
        !          3859: /usr/local/X11R4/include
        !          3860: 
        !          3861: /usr/local/include/X11
        !          3862: /usr/local/include/X11R6
        !          3863: /usr/local/include/X11R5
        !          3864: /usr/local/include/X11R4
        !          3865: 
        !          3866: /usr/X386/include
        !          3867: /usr/x386/include
        !          3868: /usr/XFree86/include/X11
        !          3869: 
        !          3870: /usr/include
        !          3871: /usr/local/include
        !          3872: /usr/unsupported/include
        !          3873: /usr/athena/include
        !          3874: /usr/local/x11r5/include
        !          3875: /usr/lpp/Xamples/include
        !          3876: 
        !          3877: /usr/openwin/include
        !          3878: /usr/openwin/share/include'
1.1       root     3879: 
1.1.1.19! root     3880: if test "$ac_x_includes" = no; then
        !          3881:   # Guess where to find include files, by looking for Intrinsic.h.
1.1       root     3882:   # First, try using that file with no special directory specified.
1.1.1.19! root     3883:   cat >conftest.$ac_ext <<_ACEOF
        !          3884: /* confdefs.h.  */
        !          3885: _ACEOF
        !          3886: cat confdefs.h >>conftest.$ac_ext
        !          3887: cat >>conftest.$ac_ext <<_ACEOF
        !          3888: /* end confdefs.h.  */
        !          3889: #include <X11/Intrinsic.h>
        !          3890: _ACEOF
        !          3891: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          3892:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          3893:   ac_status=$?
        !          3894:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3895:   rm -f conftest.er1
        !          3896:   cat conftest.err >&5
        !          3897:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3898:   (exit $ac_status); } >/dev/null; then
        !          3899:   if test -s conftest.err; then
        !          3900:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          3901:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          3902:   else
        !          3903:     ac_cpp_err=
        !          3904:   fi
        !          3905: else
        !          3906:   ac_cpp_err=yes
1.1       root     3907: fi
1.1.1.19! root     3908: if test -z "$ac_cpp_err"; then
        !          3909:   # We can compile using X headers with no special include directory.
        !          3910: ac_x_includes=
        !          3911: else
        !          3912:   echo "$as_me: failed program was:" >&5
        !          3913: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     3914: 
1.1.1.19! root     3915:   for ac_dir in $ac_x_header_dirs; do
        !          3916:   if test -r "$ac_dir/X11/Intrinsic.h"; then
        !          3917:     ac_x_includes=$ac_dir
        !          3918:     break
        !          3919:   fi
        !          3920: done
        !          3921: fi
        !          3922: rm -f conftest.err conftest.$ac_ext
        !          3923: fi # $ac_x_includes = no
1.1       root     3924: 
1.1.1.19! root     3925: if test "$ac_x_libraries" = no; then
        !          3926:   # Check for the libraries.
1.1       root     3927:   # See if we find them without any special options.
                   3928:   # Don't add to $LIBS permanently.
1.1.1.19! root     3929:   ac_save_LIBS=$LIBS
        !          3930:   LIBS="-lXt $LIBS"
        !          3931:   cat >conftest.$ac_ext <<_ACEOF
        !          3932: /* confdefs.h.  */
        !          3933: _ACEOF
        !          3934: cat confdefs.h >>conftest.$ac_ext
        !          3935: cat >>conftest.$ac_ext <<_ACEOF
        !          3936: /* end confdefs.h.  */
        !          3937: #include <X11/Intrinsic.h>
        !          3938: int
        !          3939: main ()
        !          3940: {
        !          3941: XtMalloc (0)
        !          3942:   ;
        !          3943:   return 0;
        !          3944: }
        !          3945: _ACEOF
        !          3946: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3947: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3948:   (eval $ac_link) 2>conftest.er1
        !          3949:   ac_status=$?
        !          3950:   grep -v '^ *+' conftest.er1 >conftest.err
        !          3951:   rm -f conftest.er1
        !          3952:   cat conftest.err >&5
        !          3953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3954:   (exit $ac_status); } &&
        !          3955:         { ac_try='test -z "$ac_c_werror_flag"
        !          3956:                         || test ! -s conftest.err'
        !          3957:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3958:   (eval $ac_try) 2>&5
        !          3959:   ac_status=$?
        !          3960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3961:   (exit $ac_status); }; } &&
        !          3962:         { ac_try='test -s conftest$ac_exeext'
        !          3963:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3964:   (eval $ac_try) 2>&5
        !          3965:   ac_status=$?
        !          3966:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3967:   (exit $ac_status); }; }; then
        !          3968:   LIBS=$ac_save_LIBS
1.1       root     3969: # We can link X programs with no special library path.
                   3970: ac_x_libraries=
                   3971: else
1.1.1.19! root     3972:   echo "$as_me: failed program was:" >&5
        !          3973: sed 's/^/| /' conftest.$ac_ext >&5
        !          3974: 
        !          3975: LIBS=$ac_save_LIBS
        !          3976: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       root     3977: do
1.1.1.19! root     3978:   # Don't even attempt the hair of trying to link an X program!
1.1       root     3979:   for ac_extension in a so sl; do
1.1.1.19! root     3980:     if test -r $ac_dir/libXt.$ac_extension; then
1.1       root     3981:       ac_x_libraries=$ac_dir
                   3982:       break 2
                   3983:     fi
                   3984:   done
                   3985: done
                   3986: fi
1.1.1.19! root     3987: rm -f conftest.err conftest.$ac_objext \
        !          3988:       conftest$ac_exeext conftest.$ac_ext
        !          3989: fi # $ac_x_libraries = no
1.1       root     3990: 
1.1.1.19! root     3991: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1.1       root     3992:   # Didn't find X anywhere.  Cache the known absence of X.
                   3993:   ac_cv_have_x="have_x=no"
                   3994: else
                   3995:   # Record where we found X for the cache.
                   3996:   ac_cv_have_x="have_x=yes \
1.1.1.19! root     3997:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1.1       root     3998: fi
                   3999: fi
1.1.1.19! root     4000: 
1.1       root     4001:   fi
                   4002:   eval "$ac_cv_have_x"
                   4003: fi # $with_x != no
                   4004: 
                   4005: if test "$have_x" != yes; then
1.1.1.19! root     4006:   echo "$as_me:$LINENO: result: $have_x" >&5
        !          4007: echo "${ECHO_T}$have_x" >&6
1.1       root     4008:   no_x=yes
                   4009: else
                   4010:   # If each of the values was on the command line, it overrides each guess.
                   4011:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   4012:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   4013:   # Update the cache value to reflect the command line values.
                   4014:   ac_cv_have_x="have_x=yes \
                   4015:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1.1.1.19! root     4016:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
        !          4017: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
1.1       root     4018: fi
                   4019: 
                   4020: if test "$no_x" = yes; then
                   4021:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1.1.19! root     4022: 
        !          4023: cat >>confdefs.h <<\_ACEOF
1.1.1.4   root     4024: #define X_DISPLAY_MISSING 1
1.1.1.19! root     4025: _ACEOF
1.1.1.4   root     4026: 
                   4027:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       root     4028: else
                   4029:   if test -n "$x_includes"; then
                   4030:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   4031:   fi
                   4032: 
                   4033:   # It would also be nice to do this for all -L options, not just this one.
                   4034:   if test -n "$x_libraries"; then
                   4035:     X_LIBS="$X_LIBS -L$x_libraries"
1.1.1.4   root     4036:     # For Solaris; some versions of Sun CC require a space after -R and
                   4037:     # others require no space.  Words are not sufficient . . . .
1.1.1.19! root     4038:     case `(uname -sr) 2>/dev/null` in
1.1.1.4   root     4039:     "SunOS 5"*)
1.1.1.19! root     4040:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
        !          4041: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
        !          4042:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
        !          4043:       cat >conftest.$ac_ext <<_ACEOF
        !          4044: /* confdefs.h.  */
        !          4045: _ACEOF
        !          4046: cat confdefs.h >>conftest.$ac_ext
        !          4047: cat >>conftest.$ac_ext <<_ACEOF
        !          4048: /* end confdefs.h.  */
1.1       root     4049: 
1.1.1.19! root     4050: int
        !          4051: main ()
        !          4052: {
1.1       root     4053: 
1.1.1.19! root     4054:   ;
        !          4055:   return 0;
        !          4056: }
        !          4057: _ACEOF
        !          4058: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4059: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4060:   (eval $ac_link) 2>conftest.er1
        !          4061:   ac_status=$?
        !          4062:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4063:   rm -f conftest.er1
        !          4064:   cat conftest.err >&5
        !          4065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4066:   (exit $ac_status); } &&
        !          4067:         { ac_try='test -z "$ac_c_werror_flag"
        !          4068:                         || test ! -s conftest.err'
        !          4069:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4070:   (eval $ac_try) 2>&5
        !          4071:   ac_status=$?
        !          4072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4073:   (exit $ac_status); }; } &&
        !          4074:         { ac_try='test -s conftest$ac_exeext'
        !          4075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4076:   (eval $ac_try) 2>&5
        !          4077:   ac_status=$?
        !          4078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4079:   (exit $ac_status); }; }; then
1.1.1.4   root     4080:   ac_R_nospace=yes
1.1       root     4081: else
1.1.1.19! root     4082:   echo "$as_me: failed program was:" >&5
        !          4083: sed 's/^/| /' conftest.$ac_ext >&5
        !          4084: 
        !          4085: ac_R_nospace=no
1.1.1.4   root     4086: fi
1.1.1.19! root     4087: rm -f conftest.err conftest.$ac_objext \
        !          4088:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4089:       if test $ac_R_nospace = yes; then
1.1.1.19! root     4090:        echo "$as_me:$LINENO: result: no" >&5
        !          4091: echo "${ECHO_T}no" >&6
1.1.1.4   root     4092:        X_LIBS="$X_LIBS -R$x_libraries"
                   4093:       else
                   4094:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.1.1.19! root     4095:        cat >conftest.$ac_ext <<_ACEOF
        !          4096: /* confdefs.h.  */
        !          4097: _ACEOF
        !          4098: cat confdefs.h >>conftest.$ac_ext
        !          4099: cat >>conftest.$ac_ext <<_ACEOF
        !          4100: /* end confdefs.h.  */
1.1       root     4101: 
1.1.1.19! root     4102: int
        !          4103: main ()
        !          4104: {
1.1.1.4   root     4105: 
1.1.1.19! root     4106:   ;
        !          4107:   return 0;
        !          4108: }
        !          4109: _ACEOF
        !          4110: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4111: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4112:   (eval $ac_link) 2>conftest.er1
        !          4113:   ac_status=$?
        !          4114:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4115:   rm -f conftest.er1
        !          4116:   cat conftest.err >&5
        !          4117:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4118:   (exit $ac_status); } &&
        !          4119:         { ac_try='test -z "$ac_c_werror_flag"
        !          4120:                         || test ! -s conftest.err'
        !          4121:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4122:   (eval $ac_try) 2>&5
        !          4123:   ac_status=$?
        !          4124:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4125:   (exit $ac_status); }; } &&
        !          4126:         { ac_try='test -s conftest$ac_exeext'
        !          4127:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4128:   (eval $ac_try) 2>&5
        !          4129:   ac_status=$?
        !          4130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4131:   (exit $ac_status); }; }; then
1.1.1.4   root     4132:   ac_R_space=yes
1.1       root     4133: else
1.1.1.19! root     4134:   echo "$as_me: failed program was:" >&5
        !          4135: sed 's/^/| /' conftest.$ac_ext >&5
        !          4136: 
        !          4137: ac_R_space=no
1.1       root     4138: fi
1.1.1.19! root     4139: rm -f conftest.err conftest.$ac_objext \
        !          4140:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4141:        if test $ac_R_space = yes; then
1.1.1.19! root     4142:          echo "$as_me:$LINENO: result: yes" >&5
        !          4143: echo "${ECHO_T}yes" >&6
1.1.1.4   root     4144:          X_LIBS="$X_LIBS -R $x_libraries"
                   4145:        else
1.1.1.19! root     4146:          echo "$as_me:$LINENO: result: neither works" >&5
        !          4147: echo "${ECHO_T}neither works" >&6
1.1.1.4   root     4148:        fi
                   4149:       fi
1.1.1.19! root     4150:       LIBS=$ac_xsave_LIBS
1.1.1.4   root     4151:     esac
                   4152:   fi
1.1       root     4153: 
                   4154:   # Check for system-dependent libraries X programs must link with.
1.1.1.4   root     4155:   # Do this before checking for the system-independent R6 libraries
                   4156:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       root     4157: 
                   4158:   if test "$ISC" = yes; then
                   4159:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   4160:   else
1.1.1.19! root     4161:     # Martyn Johnson says this is needed for Ultrix, if the X
        !          4162:     # libraries were built with DECnet support.  And Karl Berry says
1.1       root     4163:     # the Alpha needs dnet_stub (dnet does not exist).
1.1.1.19! root     4164:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
        !          4165:     cat >conftest.$ac_ext <<_ACEOF
        !          4166: /* confdefs.h.  */
        !          4167: _ACEOF
        !          4168: cat confdefs.h >>conftest.$ac_ext
        !          4169: cat >>conftest.$ac_ext <<_ACEOF
        !          4170: /* end confdefs.h.  */
        !          4171: 
1.1       root     4172: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     4173: #ifdef __cplusplus
        !          4174: extern "C"
        !          4175: #endif
1.1       root     4176: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     4177:    builtin and then its argument prototype would still apply.  */
        !          4178: char XOpenDisplay ();
        !          4179: int
        !          4180: main ()
        !          4181: {
        !          4182: XOpenDisplay ();
        !          4183:   ;
        !          4184:   return 0;
        !          4185: }
        !          4186: _ACEOF
        !          4187: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4188: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4189:   (eval $ac_link) 2>conftest.er1
        !          4190:   ac_status=$?
        !          4191:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4192:   rm -f conftest.er1
        !          4193:   cat conftest.err >&5
        !          4194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4195:   (exit $ac_status); } &&
        !          4196:         { ac_try='test -z "$ac_c_werror_flag"
        !          4197:                         || test ! -s conftest.err'
        !          4198:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4199:   (eval $ac_try) 2>&5
        !          4200:   ac_status=$?
        !          4201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4202:   (exit $ac_status); }; } &&
        !          4203:         { ac_try='test -s conftest$ac_exeext'
        !          4204:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4205:   (eval $ac_try) 2>&5
        !          4206:   ac_status=$?
        !          4207:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4208:   (exit $ac_status); }; }; then
        !          4209:   :
        !          4210: else
        !          4211:   echo "$as_me: failed program was:" >&5
        !          4212: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     4213: 
1.1.1.19! root     4214: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
        !          4215: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
        !          4216: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
        !          4217:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4218: else
        !          4219:   ac_check_lib_save_LIBS=$LIBS
        !          4220: LIBS="-ldnet  $LIBS"
        !          4221: cat >conftest.$ac_ext <<_ACEOF
        !          4222: /* confdefs.h.  */
        !          4223: _ACEOF
        !          4224: cat confdefs.h >>conftest.$ac_ext
        !          4225: cat >>conftest.$ac_ext <<_ACEOF
        !          4226: /* end confdefs.h.  */
1.1       root     4227: 
1.1.1.19! root     4228: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4229: #ifdef __cplusplus
        !          4230: extern "C"
        !          4231: #endif
        !          4232: /* We use char because int might match the return type of a gcc2
        !          4233:    builtin and then its argument prototype would still apply.  */
        !          4234: char dnet_ntoa ();
        !          4235: int
        !          4236: main ()
        !          4237: {
        !          4238: dnet_ntoa ();
        !          4239:   ;
        !          4240:   return 0;
        !          4241: }
        !          4242: _ACEOF
        !          4243: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4244: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4245:   (eval $ac_link) 2>conftest.er1
        !          4246:   ac_status=$?
        !          4247:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4248:   rm -f conftest.er1
        !          4249:   cat conftest.err >&5
        !          4250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4251:   (exit $ac_status); } &&
        !          4252:         { ac_try='test -z "$ac_c_werror_flag"
        !          4253:                         || test ! -s conftest.err'
        !          4254:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4255:   (eval $ac_try) 2>&5
        !          4256:   ac_status=$?
        !          4257:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4258:   (exit $ac_status); }; } &&
        !          4259:         { ac_try='test -s conftest$ac_exeext'
        !          4260:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4261:   (eval $ac_try) 2>&5
        !          4262:   ac_status=$?
        !          4263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4264:   (exit $ac_status); }; }; then
        !          4265:   ac_cv_lib_dnet_dnet_ntoa=yes
        !          4266: else
        !          4267:   echo "$as_me: failed program was:" >&5
        !          4268: sed 's/^/| /' conftest.$ac_ext >&5
        !          4269: 
        !          4270: ac_cv_lib_dnet_dnet_ntoa=no
        !          4271: fi
        !          4272: rm -f conftest.err conftest.$ac_objext \
        !          4273:       conftest$ac_exeext conftest.$ac_ext
        !          4274: LIBS=$ac_check_lib_save_LIBS
        !          4275: fi
        !          4276: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
        !          4277: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
        !          4278: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       root     4279:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   4280: fi
                   4281: 
                   4282:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.1.1.19! root     4283:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
        !          4284: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
        !          4285: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
        !          4286:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4287: else
1.1.1.19! root     4288:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4289: LIBS="-ldnet_stub  $LIBS"
1.1.1.19! root     4290: cat >conftest.$ac_ext <<_ACEOF
        !          4291: /* confdefs.h.  */
        !          4292: _ACEOF
        !          4293: cat confdefs.h >>conftest.$ac_ext
        !          4294: cat >>conftest.$ac_ext <<_ACEOF
        !          4295: /* end confdefs.h.  */
        !          4296: 
1.1       root     4297: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     4298: #ifdef __cplusplus
        !          4299: extern "C"
        !          4300: #endif
1.1       root     4301: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     4302:    builtin and then its argument prototype would still apply.  */
        !          4303: char dnet_ntoa ();
        !          4304: int
        !          4305: main ()
        !          4306: {
        !          4307: dnet_ntoa ();
        !          4308:   ;
        !          4309:   return 0;
        !          4310: }
        !          4311: _ACEOF
        !          4312: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4313: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4314:   (eval $ac_link) 2>conftest.er1
        !          4315:   ac_status=$?
        !          4316:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4317:   rm -f conftest.er1
        !          4318:   cat conftest.err >&5
        !          4319:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4320:   (exit $ac_status); } &&
        !          4321:         { ac_try='test -z "$ac_c_werror_flag"
        !          4322:                         || test ! -s conftest.err'
        !          4323:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4324:   (eval $ac_try) 2>&5
        !          4325:   ac_status=$?
        !          4326:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4327:   (exit $ac_status); }; } &&
        !          4328:         { ac_try='test -s conftest$ac_exeext'
        !          4329:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4330:   (eval $ac_try) 2>&5
        !          4331:   ac_status=$?
        !          4332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4333:   (exit $ac_status); }; }; then
        !          4334:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
        !          4335: else
        !          4336:   echo "$as_me: failed program was:" >&5
        !          4337: sed 's/^/| /' conftest.$ac_ext >&5
        !          4338: 
        !          4339: ac_cv_lib_dnet_stub_dnet_ntoa=no
        !          4340: fi
        !          4341: rm -f conftest.err conftest.$ac_objext \
        !          4342:       conftest$ac_exeext conftest.$ac_ext
        !          4343: LIBS=$ac_check_lib_save_LIBS
        !          4344: fi
        !          4345: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
        !          4346: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
        !          4347: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       root     4348:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   4349: fi
                   4350: 
                   4351:     fi
1.1.1.19! root     4352: fi
        !          4353: rm -f conftest.err conftest.$ac_objext \
        !          4354:       conftest$ac_exeext conftest.$ac_ext
        !          4355:     LIBS="$ac_xsave_LIBS"
1.1       root     4356: 
                   4357:     # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
                   4358:     # to get the SysV transport functions.
1.1.1.19! root     4359:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1.1.4   root     4360:     # needs -lnsl.
                   4361:     # The nsl library prevents programs from opening the X display
1.1.1.19! root     4362:     # on Irix 5.2, according to T.E. Dickey.
        !          4363:     # The functions gethostbyname, getservbyname, and inet_addr are
        !          4364:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
        !          4365:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
        !          4366: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
        !          4367: if test "${ac_cv_func_gethostbyname+set}" = set; then
        !          4368:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4369: else
        !          4370:   cat >conftest.$ac_ext <<_ACEOF
        !          4371: /* confdefs.h.  */
        !          4372: _ACEOF
        !          4373: cat confdefs.h >>conftest.$ac_ext
        !          4374: cat >>conftest.$ac_ext <<_ACEOF
        !          4375: /* end confdefs.h.  */
        !          4376: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
        !          4377:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          4378: #define gethostbyname innocuous_gethostbyname
        !          4379: 
1.1.1.4   root     4380: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     4381:     which can conflict with char gethostbyname (); below.
        !          4382:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4383:     <limits.h> exists even on freestanding compilers.  */
1.1.1.4   root     4384: 
1.1.1.19! root     4385: #ifdef __STDC__
        !          4386: # include <limits.h>
        !          4387: #else
        !          4388: # include <assert.h>
        !          4389: #endif
1.1.1.4   root     4390: 
1.1.1.19! root     4391: #undef gethostbyname
        !          4392: 
        !          4393: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4394: #ifdef __cplusplus
        !          4395: extern "C"
        !          4396: {
        !          4397: #endif
        !          4398: /* We use char because int might match the return type of a gcc2
        !          4399:    builtin and then its argument prototype would still apply.  */
        !          4400: char gethostbyname ();
1.1.1.4   root     4401: /* The GNU C library defines this for functions which it implements
                   4402:     to always fail with ENOSYS.  Some functions are actually named
                   4403:     something starting with __ and the normal name is an alias.  */
                   4404: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   4405: choke me
                   4406: #else
1.1.1.19! root     4407: char (*f) () = gethostbyname;
        !          4408: #endif
        !          4409: #ifdef __cplusplus
        !          4410: }
1.1.1.4   root     4411: #endif
                   4412: 
1.1.1.19! root     4413: int
        !          4414: main ()
        !          4415: {
        !          4416: return f != gethostbyname;
        !          4417:   ;
        !          4418:   return 0;
        !          4419: }
        !          4420: _ACEOF
        !          4421: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4422: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4423:   (eval $ac_link) 2>conftest.er1
        !          4424:   ac_status=$?
        !          4425:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4426:   rm -f conftest.er1
        !          4427:   cat conftest.err >&5
        !          4428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4429:   (exit $ac_status); } &&
        !          4430:         { ac_try='test -z "$ac_c_werror_flag"
        !          4431:                         || test ! -s conftest.err'
        !          4432:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4433:   (eval $ac_try) 2>&5
        !          4434:   ac_status=$?
        !          4435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4436:   (exit $ac_status); }; } &&
        !          4437:         { ac_try='test -s conftest$ac_exeext'
        !          4438:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4439:   (eval $ac_try) 2>&5
        !          4440:   ac_status=$?
        !          4441:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4442:   (exit $ac_status); }; }; then
        !          4443:   ac_cv_func_gethostbyname=yes
        !          4444: else
        !          4445:   echo "$as_me: failed program was:" >&5
        !          4446: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4447: 
1.1.1.19! root     4448: ac_cv_func_gethostbyname=no
1.1.1.4   root     4449: fi
1.1.1.19! root     4450: rm -f conftest.err conftest.$ac_objext \
        !          4451:       conftest$ac_exeext conftest.$ac_ext
        !          4452: fi
        !          4453: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
        !          4454: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1.1.1.4   root     4455: 
                   4456:     if test $ac_cv_func_gethostbyname = no; then
1.1.1.19! root     4457:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
        !          4458: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
        !          4459: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
        !          4460:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4461: else
1.1.1.19! root     4462:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4463: LIBS="-lnsl  $LIBS"
1.1.1.19! root     4464: cat >conftest.$ac_ext <<_ACEOF
        !          4465: /* confdefs.h.  */
        !          4466: _ACEOF
        !          4467: cat confdefs.h >>conftest.$ac_ext
        !          4468: cat >>conftest.$ac_ext <<_ACEOF
        !          4469: /* end confdefs.h.  */
        !          4470: 
1.1       root     4471: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     4472: #ifdef __cplusplus
        !          4473: extern "C"
        !          4474: #endif
1.1       root     4475: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     4476:    builtin and then its argument prototype would still apply.  */
        !          4477: char gethostbyname ();
        !          4478: int
        !          4479: main ()
        !          4480: {
        !          4481: gethostbyname ();
        !          4482:   ;
        !          4483:   return 0;
        !          4484: }
        !          4485: _ACEOF
        !          4486: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4487: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4488:   (eval $ac_link) 2>conftest.er1
        !          4489:   ac_status=$?
        !          4490:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4491:   rm -f conftest.er1
        !          4492:   cat conftest.err >&5
        !          4493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4494:   (exit $ac_status); } &&
        !          4495:         { ac_try='test -z "$ac_c_werror_flag"
        !          4496:                         || test ! -s conftest.err'
        !          4497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4498:   (eval $ac_try) 2>&5
        !          4499:   ac_status=$?
        !          4500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4501:   (exit $ac_status); }; } &&
        !          4502:         { ac_try='test -s conftest$ac_exeext'
        !          4503:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4504:   (eval $ac_try) 2>&5
        !          4505:   ac_status=$?
        !          4506:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4507:   (exit $ac_status); }; }; then
        !          4508:   ac_cv_lib_nsl_gethostbyname=yes
        !          4509: else
        !          4510:   echo "$as_me: failed program was:" >&5
        !          4511: sed 's/^/| /' conftest.$ac_ext >&5
        !          4512: 
        !          4513: ac_cv_lib_nsl_gethostbyname=no
        !          4514: fi
        !          4515: rm -f conftest.err conftest.$ac_objext \
        !          4516:       conftest$ac_exeext conftest.$ac_ext
        !          4517: LIBS=$ac_check_lib_save_LIBS
        !          4518: fi
        !          4519: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          4520: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
        !          4521: if test $ac_cv_lib_nsl_gethostbyname = yes; then
        !          4522:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
1.1       root     4523: fi
                   4524: 
1.1.1.19! root     4525:       if test $ac_cv_lib_nsl_gethostbyname = no; then
        !          4526:        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
        !          4527: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
        !          4528: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
        !          4529:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4530: else
        !          4531:   ac_check_lib_save_LIBS=$LIBS
        !          4532: LIBS="-lbsd  $LIBS"
        !          4533: cat >conftest.$ac_ext <<_ACEOF
        !          4534: /* confdefs.h.  */
        !          4535: _ACEOF
        !          4536: cat confdefs.h >>conftest.$ac_ext
        !          4537: cat >>conftest.$ac_ext <<_ACEOF
        !          4538: /* end confdefs.h.  */
        !          4539: 
        !          4540: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4541: #ifdef __cplusplus
        !          4542: extern "C"
        !          4543: #endif
        !          4544: /* We use char because int might match the return type of a gcc2
        !          4545:    builtin and then its argument prototype would still apply.  */
        !          4546: char gethostbyname ();
        !          4547: int
        !          4548: main ()
        !          4549: {
        !          4550: gethostbyname ();
        !          4551:   ;
        !          4552:   return 0;
        !          4553: }
        !          4554: _ACEOF
        !          4555: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4556: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4557:   (eval $ac_link) 2>conftest.er1
        !          4558:   ac_status=$?
        !          4559:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4560:   rm -f conftest.er1
        !          4561:   cat conftest.err >&5
        !          4562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4563:   (exit $ac_status); } &&
        !          4564:         { ac_try='test -z "$ac_c_werror_flag"
        !          4565:                         || test ! -s conftest.err'
        !          4566:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4567:   (eval $ac_try) 2>&5
        !          4568:   ac_status=$?
        !          4569:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4570:   (exit $ac_status); }; } &&
        !          4571:         { ac_try='test -s conftest$ac_exeext'
        !          4572:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4573:   (eval $ac_try) 2>&5
        !          4574:   ac_status=$?
        !          4575:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4576:   (exit $ac_status); }; }; then
        !          4577:   ac_cv_lib_bsd_gethostbyname=yes
        !          4578: else
        !          4579:   echo "$as_me: failed program was:" >&5
        !          4580: sed 's/^/| /' conftest.$ac_ext >&5
        !          4581: 
        !          4582: ac_cv_lib_bsd_gethostbyname=no
        !          4583: fi
        !          4584: rm -f conftest.err conftest.$ac_objext \
        !          4585:       conftest$ac_exeext conftest.$ac_ext
        !          4586: LIBS=$ac_check_lib_save_LIBS
        !          4587: fi
        !          4588: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
        !          4589: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
        !          4590: if test $ac_cv_lib_bsd_gethostbyname = yes; then
        !          4591:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       root     4592: fi
                   4593: 
1.1.1.19! root     4594:       fi
1.1.1.4   root     4595:     fi
1.1       root     4596: 
                   4597:     # [email protected] says without -lsocket,
1.1.1.4   root     4598:     # socket/setsockopt and other routines are undefined under SCO ODT
                   4599:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.1.1.19! root     4600:     # on later versions), says Simon Leinen: it contains gethostby*
        !          4601:     # variants that don't use the name server (or something).  -lsocket
        !          4602:     # must be given before -lnsl if both are needed.  We assume that
        !          4603:     # if connect needs -lnsl, so does gethostbyname.
        !          4604:     echo "$as_me:$LINENO: checking for connect" >&5
        !          4605: echo $ECHO_N "checking for connect... $ECHO_C" >&6
        !          4606: if test "${ac_cv_func_connect+set}" = set; then
        !          4607:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4608: else
        !          4609:   cat >conftest.$ac_ext <<_ACEOF
        !          4610: /* confdefs.h.  */
        !          4611: _ACEOF
        !          4612: cat confdefs.h >>conftest.$ac_ext
        !          4613: cat >>conftest.$ac_ext <<_ACEOF
        !          4614: /* end confdefs.h.  */
        !          4615: /* Define connect to an innocuous variant, in case <limits.h> declares connect.
        !          4616:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          4617: #define connect innocuous_connect
        !          4618: 
1.1.1.4   root     4619: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     4620:     which can conflict with char connect (); below.
        !          4621:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4622:     <limits.h> exists even on freestanding compilers.  */
        !          4623: 
        !          4624: #ifdef __STDC__
        !          4625: # include <limits.h>
        !          4626: #else
        !          4627: # include <assert.h>
        !          4628: #endif
1.1.1.4   root     4629: 
1.1.1.19! root     4630: #undef connect
1.1.1.4   root     4631: 
1.1.1.19! root     4632: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4633: #ifdef __cplusplus
        !          4634: extern "C"
        !          4635: {
        !          4636: #endif
        !          4637: /* We use char because int might match the return type of a gcc2
        !          4638:    builtin and then its argument prototype would still apply.  */
        !          4639: char connect ();
1.1.1.4   root     4640: /* The GNU C library defines this for functions which it implements
                   4641:     to always fail with ENOSYS.  Some functions are actually named
                   4642:     something starting with __ and the normal name is an alias.  */
                   4643: #if defined (__stub_connect) || defined (__stub___connect)
                   4644: choke me
                   4645: #else
1.1.1.19! root     4646: char (*f) () = connect;
        !          4647: #endif
        !          4648: #ifdef __cplusplus
        !          4649: }
1.1.1.4   root     4650: #endif
                   4651: 
1.1.1.19! root     4652: int
        !          4653: main ()
        !          4654: {
        !          4655: return f != connect;
        !          4656:   ;
        !          4657:   return 0;
        !          4658: }
        !          4659: _ACEOF
        !          4660: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4661: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4662:   (eval $ac_link) 2>conftest.er1
        !          4663:   ac_status=$?
        !          4664:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4665:   rm -f conftest.er1
        !          4666:   cat conftest.err >&5
        !          4667:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4668:   (exit $ac_status); } &&
        !          4669:         { ac_try='test -z "$ac_c_werror_flag"
        !          4670:                         || test ! -s conftest.err'
        !          4671:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4672:   (eval $ac_try) 2>&5
        !          4673:   ac_status=$?
        !          4674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4675:   (exit $ac_status); }; } &&
        !          4676:         { ac_try='test -s conftest$ac_exeext'
        !          4677:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4678:   (eval $ac_try) 2>&5
        !          4679:   ac_status=$?
        !          4680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4681:   (exit $ac_status); }; }; then
        !          4682:   ac_cv_func_connect=yes
        !          4683: else
        !          4684:   echo "$as_me: failed program was:" >&5
        !          4685: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4686: 
1.1.1.19! root     4687: ac_cv_func_connect=no
        !          4688: fi
        !          4689: rm -f conftest.err conftest.$ac_objext \
        !          4690:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4691: fi
1.1.1.19! root     4692: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
        !          4693: echo "${ECHO_T}$ac_cv_func_connect" >&6
1.1.1.4   root     4694: 
                   4695:     if test $ac_cv_func_connect = no; then
1.1.1.19! root     4696:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
        !          4697: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
        !          4698: if test "${ac_cv_lib_socket_connect+set}" = set; then
        !          4699:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4700: else
1.1.1.19! root     4701:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     4702: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.1.1.19! root     4703: cat >conftest.$ac_ext <<_ACEOF
        !          4704: /* confdefs.h.  */
        !          4705: _ACEOF
        !          4706: cat confdefs.h >>conftest.$ac_ext
        !          4707: cat >>conftest.$ac_ext <<_ACEOF
        !          4708: /* end confdefs.h.  */
        !          4709: 
1.1       root     4710: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     4711: #ifdef __cplusplus
        !          4712: extern "C"
        !          4713: #endif
1.1       root     4714: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     4715:    builtin and then its argument prototype would still apply.  */
        !          4716: char connect ();
        !          4717: int
        !          4718: main ()
        !          4719: {
        !          4720: connect ();
        !          4721:   ;
        !          4722:   return 0;
        !          4723: }
        !          4724: _ACEOF
        !          4725: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4726: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4727:   (eval $ac_link) 2>conftest.er1
        !          4728:   ac_status=$?
        !          4729:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4730:   rm -f conftest.er1
        !          4731:   cat conftest.err >&5
        !          4732:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4733:   (exit $ac_status); } &&
        !          4734:         { ac_try='test -z "$ac_c_werror_flag"
        !          4735:                         || test ! -s conftest.err'
        !          4736:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4737:   (eval $ac_try) 2>&5
        !          4738:   ac_status=$?
        !          4739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4740:   (exit $ac_status); }; } &&
        !          4741:         { ac_try='test -s conftest$ac_exeext'
        !          4742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4743:   (eval $ac_try) 2>&5
        !          4744:   ac_status=$?
        !          4745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4746:   (exit $ac_status); }; }; then
        !          4747:   ac_cv_lib_socket_connect=yes
        !          4748: else
        !          4749:   echo "$as_me: failed program was:" >&5
        !          4750: sed 's/^/| /' conftest.$ac_ext >&5
        !          4751: 
        !          4752: ac_cv_lib_socket_connect=no
        !          4753: fi
        !          4754: rm -f conftest.err conftest.$ac_objext \
        !          4755:       conftest$ac_exeext conftest.$ac_ext
        !          4756: LIBS=$ac_check_lib_save_LIBS
        !          4757: fi
        !          4758: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
        !          4759: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
        !          4760: if test $ac_cv_lib_socket_connect = yes; then
1.1.1.4   root     4761:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   4762: fi
                   4763: 
                   4764:     fi
                   4765: 
1.1.1.19! root     4766:     # Guillermo Gomez says -lposix is necessary on A/UX.
        !          4767:     echo "$as_me:$LINENO: checking for remove" >&5
        !          4768: echo $ECHO_N "checking for remove... $ECHO_C" >&6
        !          4769: if test "${ac_cv_func_remove+set}" = set; then
        !          4770:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4771: else
        !          4772:   cat >conftest.$ac_ext <<_ACEOF
        !          4773: /* confdefs.h.  */
        !          4774: _ACEOF
        !          4775: cat confdefs.h >>conftest.$ac_ext
        !          4776: cat >>conftest.$ac_ext <<_ACEOF
        !          4777: /* end confdefs.h.  */
        !          4778: /* Define remove to an innocuous variant, in case <limits.h> declares remove.
        !          4779:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          4780: #define remove innocuous_remove
        !          4781: 
1.1.1.4   root     4782: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     4783:     which can conflict with char remove (); below.
        !          4784:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4785:     <limits.h> exists even on freestanding compilers.  */
        !          4786: 
        !          4787: #ifdef __STDC__
        !          4788: # include <limits.h>
        !          4789: #else
        !          4790: # include <assert.h>
        !          4791: #endif
1.1.1.4   root     4792: 
1.1.1.19! root     4793: #undef remove
1.1.1.4   root     4794: 
1.1.1.19! root     4795: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4796: #ifdef __cplusplus
        !          4797: extern "C"
        !          4798: {
        !          4799: #endif
        !          4800: /* We use char because int might match the return type of a gcc2
        !          4801:    builtin and then its argument prototype would still apply.  */
        !          4802: char remove ();
1.1.1.4   root     4803: /* The GNU C library defines this for functions which it implements
                   4804:     to always fail with ENOSYS.  Some functions are actually named
                   4805:     something starting with __ and the normal name is an alias.  */
                   4806: #if defined (__stub_remove) || defined (__stub___remove)
                   4807: choke me
                   4808: #else
1.1.1.19! root     4809: char (*f) () = remove;
        !          4810: #endif
        !          4811: #ifdef __cplusplus
        !          4812: }
1.1.1.4   root     4813: #endif
                   4814: 
1.1.1.19! root     4815: int
        !          4816: main ()
        !          4817: {
        !          4818: return f != remove;
        !          4819:   ;
        !          4820:   return 0;
        !          4821: }
        !          4822: _ACEOF
        !          4823: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4824: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4825:   (eval $ac_link) 2>conftest.er1
        !          4826:   ac_status=$?
        !          4827:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4828:   rm -f conftest.er1
        !          4829:   cat conftest.err >&5
        !          4830:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4831:   (exit $ac_status); } &&
        !          4832:         { ac_try='test -z "$ac_c_werror_flag"
        !          4833:                         || test ! -s conftest.err'
        !          4834:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4835:   (eval $ac_try) 2>&5
        !          4836:   ac_status=$?
        !          4837:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4838:   (exit $ac_status); }; } &&
        !          4839:         { ac_try='test -s conftest$ac_exeext'
        !          4840:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4841:   (eval $ac_try) 2>&5
        !          4842:   ac_status=$?
        !          4843:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4844:   (exit $ac_status); }; }; then
        !          4845:   ac_cv_func_remove=yes
        !          4846: else
        !          4847:   echo "$as_me: failed program was:" >&5
        !          4848: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     4849: 
1.1.1.19! root     4850: ac_cv_func_remove=no
        !          4851: fi
        !          4852: rm -f conftest.err conftest.$ac_objext \
        !          4853:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     4854: fi
1.1.1.19! root     4855: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
        !          4856: echo "${ECHO_T}$ac_cv_func_remove" >&6
1.1.1.4   root     4857: 
                   4858:     if test $ac_cv_func_remove = no; then
1.1.1.19! root     4859:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
        !          4860: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
        !          4861: if test "${ac_cv_lib_posix_remove+set}" = set; then
        !          4862:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     4863: else
1.1.1.19! root     4864:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     4865: LIBS="-lposix  $LIBS"
1.1.1.19! root     4866: cat >conftest.$ac_ext <<_ACEOF
        !          4867: /* confdefs.h.  */
        !          4868: _ACEOF
        !          4869: cat confdefs.h >>conftest.$ac_ext
        !          4870: cat >>conftest.$ac_ext <<_ACEOF
        !          4871: /* end confdefs.h.  */
        !          4872: 
1.1.1.4   root     4873: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     4874: #ifdef __cplusplus
        !          4875: extern "C"
        !          4876: #endif
1.1.1.4   root     4877: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     4878:    builtin and then its argument prototype would still apply.  */
        !          4879: char remove ();
        !          4880: int
        !          4881: main ()
        !          4882: {
        !          4883: remove ();
        !          4884:   ;
        !          4885:   return 0;
        !          4886: }
        !          4887: _ACEOF
        !          4888: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4889: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4890:   (eval $ac_link) 2>conftest.er1
        !          4891:   ac_status=$?
        !          4892:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4893:   rm -f conftest.er1
        !          4894:   cat conftest.err >&5
        !          4895:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4896:   (exit $ac_status); } &&
        !          4897:         { ac_try='test -z "$ac_c_werror_flag"
        !          4898:                         || test ! -s conftest.err'
        !          4899:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4900:   (eval $ac_try) 2>&5
        !          4901:   ac_status=$?
        !          4902:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4903:   (exit $ac_status); }; } &&
        !          4904:         { ac_try='test -s conftest$ac_exeext'
        !          4905:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4906:   (eval $ac_try) 2>&5
        !          4907:   ac_status=$?
        !          4908:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4909:   (exit $ac_status); }; }; then
        !          4910:   ac_cv_lib_posix_remove=yes
        !          4911: else
        !          4912:   echo "$as_me: failed program was:" >&5
        !          4913: sed 's/^/| /' conftest.$ac_ext >&5
        !          4914: 
        !          4915: ac_cv_lib_posix_remove=no
        !          4916: fi
        !          4917: rm -f conftest.err conftest.$ac_objext \
        !          4918:       conftest$ac_exeext conftest.$ac_ext
        !          4919: LIBS=$ac_check_lib_save_LIBS
        !          4920: fi
        !          4921: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
        !          4922: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
        !          4923: if test $ac_cv_lib_posix_remove = yes; then
1.1.1.4   root     4924:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   4925: fi
                   4926: 
                   4927:     fi
                   4928: 
                   4929:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.1.1.19! root     4930:     echo "$as_me:$LINENO: checking for shmat" >&5
        !          4931: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
        !          4932: if test "${ac_cv_func_shmat+set}" = set; then
        !          4933:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4934: else
        !          4935:   cat >conftest.$ac_ext <<_ACEOF
        !          4936: /* confdefs.h.  */
        !          4937: _ACEOF
        !          4938: cat confdefs.h >>conftest.$ac_ext
        !          4939: cat >>conftest.$ac_ext <<_ACEOF
        !          4940: /* end confdefs.h.  */
        !          4941: /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
        !          4942:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          4943: #define shmat innocuous_shmat
        !          4944: 
1.1.1.4   root     4945: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     4946:     which can conflict with char shmat (); below.
        !          4947:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4948:     <limits.h> exists even on freestanding compilers.  */
        !          4949: 
        !          4950: #ifdef __STDC__
        !          4951: # include <limits.h>
        !          4952: #else
        !          4953: # include <assert.h>
        !          4954: #endif
1.1.1.4   root     4955: 
1.1.1.19! root     4956: #undef shmat
1.1.1.4   root     4957: 
1.1.1.19! root     4958: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4959: #ifdef __cplusplus
        !          4960: extern "C"
        !          4961: {
        !          4962: #endif
        !          4963: /* We use char because int might match the return type of a gcc2
        !          4964:    builtin and then its argument prototype would still apply.  */
        !          4965: char shmat ();
1.1.1.4   root     4966: /* The GNU C library defines this for functions which it implements
                   4967:     to always fail with ENOSYS.  Some functions are actually named
                   4968:     something starting with __ and the normal name is an alias.  */
                   4969: #if defined (__stub_shmat) || defined (__stub___shmat)
                   4970: choke me
                   4971: #else
1.1.1.19! root     4972: char (*f) () = shmat;
        !          4973: #endif
        !          4974: #ifdef __cplusplus
        !          4975: }
1.1.1.4   root     4976: #endif
                   4977: 
1.1.1.19! root     4978: int
        !          4979: main ()
        !          4980: {
        !          4981: return f != shmat;
        !          4982:   ;
        !          4983:   return 0;
        !          4984: }
        !          4985: _ACEOF
        !          4986: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4987: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4988:   (eval $ac_link) 2>conftest.er1
        !          4989:   ac_status=$?
        !          4990:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4991:   rm -f conftest.er1
        !          4992:   cat conftest.err >&5
        !          4993:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4994:   (exit $ac_status); } &&
        !          4995:         { ac_try='test -z "$ac_c_werror_flag"
        !          4996:                         || test ! -s conftest.err'
        !          4997:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4998:   (eval $ac_try) 2>&5
        !          4999:   ac_status=$?
        !          5000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5001:   (exit $ac_status); }; } &&
        !          5002:         { ac_try='test -s conftest$ac_exeext'
        !          5003:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5004:   (eval $ac_try) 2>&5
        !          5005:   ac_status=$?
        !          5006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5007:   (exit $ac_status); }; }; then
        !          5008:   ac_cv_func_shmat=yes
        !          5009: else
        !          5010:   echo "$as_me: failed program was:" >&5
        !          5011: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5012: 
1.1.1.19! root     5013: ac_cv_func_shmat=no
        !          5014: fi
        !          5015: rm -f conftest.err conftest.$ac_objext \
        !          5016:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     5017: fi
1.1.1.19! root     5018: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
        !          5019: echo "${ECHO_T}$ac_cv_func_shmat" >&6
1.1.1.4   root     5020: 
                   5021:     if test $ac_cv_func_shmat = no; then
1.1.1.19! root     5022:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
        !          5023: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
        !          5024: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
        !          5025:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5026: else
1.1.1.19! root     5027:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     5028: LIBS="-lipc  $LIBS"
1.1.1.19! root     5029: cat >conftest.$ac_ext <<_ACEOF
        !          5030: /* confdefs.h.  */
        !          5031: _ACEOF
        !          5032: cat confdefs.h >>conftest.$ac_ext
        !          5033: cat >>conftest.$ac_ext <<_ACEOF
        !          5034: /* end confdefs.h.  */
        !          5035: 
1.1.1.4   root     5036: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     5037: #ifdef __cplusplus
        !          5038: extern "C"
        !          5039: #endif
1.1.1.4   root     5040: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     5041:    builtin and then its argument prototype would still apply.  */
        !          5042: char shmat ();
        !          5043: int
        !          5044: main ()
        !          5045: {
        !          5046: shmat ();
        !          5047:   ;
        !          5048:   return 0;
        !          5049: }
        !          5050: _ACEOF
        !          5051: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5052: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5053:   (eval $ac_link) 2>conftest.er1
        !          5054:   ac_status=$?
        !          5055:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5056:   rm -f conftest.er1
        !          5057:   cat conftest.err >&5
        !          5058:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5059:   (exit $ac_status); } &&
        !          5060:         { ac_try='test -z "$ac_c_werror_flag"
        !          5061:                         || test ! -s conftest.err'
        !          5062:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5063:   (eval $ac_try) 2>&5
        !          5064:   ac_status=$?
        !          5065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5066:   (exit $ac_status); }; } &&
        !          5067:         { ac_try='test -s conftest$ac_exeext'
        !          5068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5069:   (eval $ac_try) 2>&5
        !          5070:   ac_status=$?
        !          5071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5072:   (exit $ac_status); }; }; then
        !          5073:   ac_cv_lib_ipc_shmat=yes
        !          5074: else
        !          5075:   echo "$as_me: failed program was:" >&5
        !          5076: sed 's/^/| /' conftest.$ac_ext >&5
        !          5077: 
        !          5078: ac_cv_lib_ipc_shmat=no
        !          5079: fi
        !          5080: rm -f conftest.err conftest.$ac_objext \
        !          5081:       conftest$ac_exeext conftest.$ac_ext
        !          5082: LIBS=$ac_check_lib_save_LIBS
        !          5083: fi
        !          5084: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
        !          5085: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
        !          5086: if test $ac_cv_lib_ipc_shmat = yes; then
1.1.1.4   root     5087:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
1.1       root     5088: fi
                   5089: 
                   5090:     fi
                   5091:   fi
1.1.1.4   root     5092: 
                   5093:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.1.1.19! root     5094:   ac_save_LDFLAGS=$LDFLAGS
1.1.1.4   root     5095:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5096:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5097:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5098:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5099:   # These have to be linked with before -lX11, unlike the other
                   5100:   # libraries we check for below, so use a different variable.
1.1.1.19! root     5101:   # John Interrante, Karl Berry
        !          5102:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
        !          5103: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
        !          5104: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
        !          5105:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5106: else
1.1.1.19! root     5107:   ac_check_lib_save_LIBS=$LIBS
1.1.1.9   root     5108: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.1.1.19! root     5109: cat >conftest.$ac_ext <<_ACEOF
        !          5110: /* confdefs.h.  */
        !          5111: _ACEOF
        !          5112: cat confdefs.h >>conftest.$ac_ext
        !          5113: cat >>conftest.$ac_ext <<_ACEOF
        !          5114: /* end confdefs.h.  */
        !          5115: 
1.1.1.4   root     5116: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     5117: #ifdef __cplusplus
        !          5118: extern "C"
        !          5119: #endif
1.1.1.4   root     5120: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     5121:    builtin and then its argument prototype would still apply.  */
        !          5122: char IceConnectionNumber ();
        !          5123: int
        !          5124: main ()
        !          5125: {
        !          5126: IceConnectionNumber ();
        !          5127:   ;
        !          5128:   return 0;
        !          5129: }
        !          5130: _ACEOF
        !          5131: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5132: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5133:   (eval $ac_link) 2>conftest.er1
        !          5134:   ac_status=$?
        !          5135:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5136:   rm -f conftest.er1
        !          5137:   cat conftest.err >&5
        !          5138:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5139:   (exit $ac_status); } &&
        !          5140:         { ac_try='test -z "$ac_c_werror_flag"
        !          5141:                         || test ! -s conftest.err'
        !          5142:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5143:   (eval $ac_try) 2>&5
        !          5144:   ac_status=$?
        !          5145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5146:   (exit $ac_status); }; } &&
        !          5147:         { ac_try='test -s conftest$ac_exeext'
        !          5148:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5149:   (eval $ac_try) 2>&5
        !          5150:   ac_status=$?
        !          5151:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5152:   (exit $ac_status); }; }; then
        !          5153:   ac_cv_lib_ICE_IceConnectionNumber=yes
        !          5154: else
        !          5155:   echo "$as_me: failed program was:" >&5
        !          5156: sed 's/^/| /' conftest.$ac_ext >&5
        !          5157: 
        !          5158: ac_cv_lib_ICE_IceConnectionNumber=no
        !          5159: fi
        !          5160: rm -f conftest.err conftest.$ac_objext \
        !          5161:       conftest$ac_exeext conftest.$ac_ext
        !          5162: LIBS=$ac_check_lib_save_LIBS
        !          5163: fi
        !          5164: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
        !          5165: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
        !          5166: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1.1.4   root     5167:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5168: fi
1.1       root     5169: 
1.1.1.19! root     5170:   LDFLAGS=$ac_save_LDFLAGS
1.1       root     5171: 
1.1.1.3   root     5172: fi
                   5173: 
1.1.1.19! root     5174:           ac_config_headers="$ac_config_headers src/sysconfig.h"
        !          5175: 
        !          5176: 
        !          5177: 
        !          5178: 
        !          5179: 
1.1.1.3   root     5180: 
1.1.1.4   root     5181: 
1.1       root     5182: ac_header_dirent=no
1.1.1.19! root     5183: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
        !          5184:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
        !          5185: echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
        !          5186: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
        !          5187: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5188:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5189: else
        !          5190:   cat >conftest.$ac_ext <<_ACEOF
        !          5191: /* confdefs.h.  */
        !          5192: _ACEOF
        !          5193: cat confdefs.h >>conftest.$ac_ext
        !          5194: cat >>conftest.$ac_ext <<_ACEOF
        !          5195: /* end confdefs.h.  */
1.1       root     5196: #include <sys/types.h>
                   5197: #include <$ac_hdr>
1.1.1.19! root     5198: 
        !          5199: int
        !          5200: main ()
        !          5201: {
        !          5202: if ((DIR *) 0)
        !          5203: return 0;
        !          5204:   ;
        !          5205:   return 0;
        !          5206: }
        !          5207: _ACEOF
        !          5208: rm -f conftest.$ac_objext
        !          5209: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5210:   (eval $ac_compile) 2>conftest.er1
        !          5211:   ac_status=$?
        !          5212:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5213:   rm -f conftest.er1
        !          5214:   cat conftest.err >&5
        !          5215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5216:   (exit $ac_status); } &&
        !          5217:         { ac_try='test -z "$ac_c_werror_flag"
        !          5218:                         || test ! -s conftest.err'
        !          5219:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5220:   (eval $ac_try) 2>&5
        !          5221:   ac_status=$?
        !          5222:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5223:   (exit $ac_status); }; } &&
        !          5224:         { ac_try='test -s conftest.$ac_objext'
        !          5225:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5226:   (eval $ac_try) 2>&5
        !          5227:   ac_status=$?
        !          5228:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5229:   (exit $ac_status); }; }; then
        !          5230:   eval "$as_ac_Header=yes"
        !          5231: else
        !          5232:   echo "$as_me: failed program was:" >&5
        !          5233: sed 's/^/| /' conftest.$ac_ext >&5
        !          5234: 
        !          5235: eval "$as_ac_Header=no"
        !          5236: fi
        !          5237: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5238: fi
        !          5239: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          5240: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          5241: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          5242:   cat >>confdefs.h <<_ACEOF
        !          5243: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
        !          5244: _ACEOF
        !          5245: 
        !          5246: ac_header_dirent=$ac_hdr; break
1.1       root     5247: fi
1.1.1.19! root     5248: 
1.1       root     5249: done
                   5250: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   5251: if test $ac_header_dirent = dirent.h; then
1.1.1.19! root     5252:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
        !          5253: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
        !          5254: if test "${ac_cv_search_opendir+set}" = set; then
        !          5255:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5256: else
        !          5257:   ac_func_search_save_LIBS=$LIBS
        !          5258: ac_cv_search_opendir=no
        !          5259: cat >conftest.$ac_ext <<_ACEOF
        !          5260: /* confdefs.h.  */
        !          5261: _ACEOF
        !          5262: cat confdefs.h >>conftest.$ac_ext
        !          5263: cat >>conftest.$ac_ext <<_ACEOF
        !          5264: /* end confdefs.h.  */
        !          5265: 
1.1       root     5266: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     5267: #ifdef __cplusplus
        !          5268: extern "C"
        !          5269: #endif
1.1       root     5270: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     5271:    builtin and then its argument prototype would still apply.  */
        !          5272: char opendir ();
        !          5273: int
        !          5274: main ()
        !          5275: {
        !          5276: opendir ();
        !          5277:   ;
        !          5278:   return 0;
        !          5279: }
        !          5280: _ACEOF
        !          5281: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5282: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5283:   (eval $ac_link) 2>conftest.er1
        !          5284:   ac_status=$?
        !          5285:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5286:   rm -f conftest.er1
        !          5287:   cat conftest.err >&5
        !          5288:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5289:   (exit $ac_status); } &&
        !          5290:         { ac_try='test -z "$ac_c_werror_flag"
        !          5291:                         || test ! -s conftest.err'
        !          5292:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5293:   (eval $ac_try) 2>&5
        !          5294:   ac_status=$?
        !          5295:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5296:   (exit $ac_status); }; } &&
        !          5297:         { ac_try='test -s conftest$ac_exeext'
        !          5298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5299:   (eval $ac_try) 2>&5
        !          5300:   ac_status=$?
        !          5301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5302:   (exit $ac_status); }; }; then
        !          5303:   ac_cv_search_opendir="none required"
        !          5304: else
        !          5305:   echo "$as_me: failed program was:" >&5
        !          5306: sed 's/^/| /' conftest.$ac_ext >&5
        !          5307: 
        !          5308: fi
        !          5309: rm -f conftest.err conftest.$ac_objext \
        !          5310:       conftest$ac_exeext conftest.$ac_ext
        !          5311: if test "$ac_cv_search_opendir" = no; then
        !          5312:   for ac_lib in dir; do
        !          5313:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          5314:     cat >conftest.$ac_ext <<_ACEOF
        !          5315: /* confdefs.h.  */
        !          5316: _ACEOF
        !          5317: cat confdefs.h >>conftest.$ac_ext
        !          5318: cat >>conftest.$ac_ext <<_ACEOF
        !          5319: /* end confdefs.h.  */
1.1       root     5320: 
1.1.1.19! root     5321: /* Override any gcc2 internal prototype to avoid an error.  */
        !          5322: #ifdef __cplusplus
        !          5323: extern "C"
        !          5324: #endif
        !          5325: /* We use char because int might match the return type of a gcc2
        !          5326:    builtin and then its argument prototype would still apply.  */
        !          5327: char opendir ();
        !          5328: int
        !          5329: main ()
        !          5330: {
        !          5331: opendir ();
        !          5332:   ;
        !          5333:   return 0;
        !          5334: }
        !          5335: _ACEOF
        !          5336: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5337: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5338:   (eval $ac_link) 2>conftest.er1
        !          5339:   ac_status=$?
        !          5340:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5341:   rm -f conftest.er1
        !          5342:   cat conftest.err >&5
        !          5343:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5344:   (exit $ac_status); } &&
        !          5345:         { ac_try='test -z "$ac_c_werror_flag"
        !          5346:                         || test ! -s conftest.err'
        !          5347:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5348:   (eval $ac_try) 2>&5
        !          5349:   ac_status=$?
        !          5350:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5351:   (exit $ac_status); }; } &&
        !          5352:         { ac_try='test -s conftest$ac_exeext'
        !          5353:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5354:   (eval $ac_try) 2>&5
        !          5355:   ac_status=$?
        !          5356:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5357:   (exit $ac_status); }; }; then
        !          5358:   ac_cv_search_opendir="-l$ac_lib"
        !          5359: break
        !          5360: else
        !          5361:   echo "$as_me: failed program was:" >&5
        !          5362: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     5363: 
                   5364: fi
1.1.1.19! root     5365: rm -f conftest.err conftest.$ac_objext \
        !          5366:       conftest$ac_exeext conftest.$ac_ext
        !          5367:   done
        !          5368: fi
        !          5369: LIBS=$ac_func_search_save_LIBS
        !          5370: fi
        !          5371: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
        !          5372: echo "${ECHO_T}$ac_cv_search_opendir" >&6
        !          5373: if test "$ac_cv_search_opendir" != no; then
        !          5374:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
        !          5375: 
1.1       root     5376: fi
                   5377: 
                   5378: else
1.1.1.19! root     5379:   echo "$as_me:$LINENO: checking for library containing opendir" >&5
        !          5380: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
        !          5381: if test "${ac_cv_search_opendir+set}" = set; then
        !          5382:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5383: else
1.1.1.19! root     5384:   ac_func_search_save_LIBS=$LIBS
        !          5385: ac_cv_search_opendir=no
        !          5386: cat >conftest.$ac_ext <<_ACEOF
        !          5387: /* confdefs.h.  */
        !          5388: _ACEOF
        !          5389: cat confdefs.h >>conftest.$ac_ext
        !          5390: cat >>conftest.$ac_ext <<_ACEOF
        !          5391: /* end confdefs.h.  */
        !          5392: 
1.1       root     5393: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     5394: #ifdef __cplusplus
        !          5395: extern "C"
        !          5396: #endif
1.1       root     5397: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     5398:    builtin and then its argument prototype would still apply.  */
        !          5399: char opendir ();
        !          5400: int
        !          5401: main ()
        !          5402: {
        !          5403: opendir ();
        !          5404:   ;
        !          5405:   return 0;
        !          5406: }
        !          5407: _ACEOF
        !          5408: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5409: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5410:   (eval $ac_link) 2>conftest.er1
        !          5411:   ac_status=$?
        !          5412:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5413:   rm -f conftest.er1
        !          5414:   cat conftest.err >&5
        !          5415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5416:   (exit $ac_status); } &&
        !          5417:         { ac_try='test -z "$ac_c_werror_flag"
        !          5418:                         || test ! -s conftest.err'
        !          5419:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5420:   (eval $ac_try) 2>&5
        !          5421:   ac_status=$?
        !          5422:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5423:   (exit $ac_status); }; } &&
        !          5424:         { ac_try='test -s conftest$ac_exeext'
        !          5425:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5426:   (eval $ac_try) 2>&5
        !          5427:   ac_status=$?
        !          5428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5429:   (exit $ac_status); }; }; then
        !          5430:   ac_cv_search_opendir="none required"
        !          5431: else
        !          5432:   echo "$as_me: failed program was:" >&5
        !          5433: sed 's/^/| /' conftest.$ac_ext >&5
        !          5434: 
        !          5435: fi
        !          5436: rm -f conftest.err conftest.$ac_objext \
        !          5437:       conftest$ac_exeext conftest.$ac_ext
        !          5438: if test "$ac_cv_search_opendir" = no; then
        !          5439:   for ac_lib in x; do
        !          5440:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          5441:     cat >conftest.$ac_ext <<_ACEOF
        !          5442: /* confdefs.h.  */
        !          5443: _ACEOF
        !          5444: cat confdefs.h >>conftest.$ac_ext
        !          5445: cat >>conftest.$ac_ext <<_ACEOF
        !          5446: /* end confdefs.h.  */
1.1       root     5447: 
1.1.1.19! root     5448: /* Override any gcc2 internal prototype to avoid an error.  */
        !          5449: #ifdef __cplusplus
        !          5450: extern "C"
        !          5451: #endif
        !          5452: /* We use char because int might match the return type of a gcc2
        !          5453:    builtin and then its argument prototype would still apply.  */
        !          5454: char opendir ();
        !          5455: int
        !          5456: main ()
        !          5457: {
        !          5458: opendir ();
        !          5459:   ;
        !          5460:   return 0;
        !          5461: }
        !          5462: _ACEOF
        !          5463: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5464: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5465:   (eval $ac_link) 2>conftest.er1
        !          5466:   ac_status=$?
        !          5467:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5468:   rm -f conftest.er1
        !          5469:   cat conftest.err >&5
        !          5470:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5471:   (exit $ac_status); } &&
        !          5472:         { ac_try='test -z "$ac_c_werror_flag"
        !          5473:                         || test ! -s conftest.err'
        !          5474:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5475:   (eval $ac_try) 2>&5
        !          5476:   ac_status=$?
        !          5477:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5478:   (exit $ac_status); }; } &&
        !          5479:         { ac_try='test -s conftest$ac_exeext'
        !          5480:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5481:   (eval $ac_try) 2>&5
        !          5482:   ac_status=$?
        !          5483:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5484:   (exit $ac_status); }; }; then
        !          5485:   ac_cv_search_opendir="-l$ac_lib"
        !          5486: break
        !          5487: else
        !          5488:   echo "$as_me: failed program was:" >&5
        !          5489: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     5490: 
                   5491: fi
1.1.1.19! root     5492: rm -f conftest.err conftest.$ac_objext \
        !          5493:       conftest$ac_exeext conftest.$ac_ext
        !          5494:   done
        !          5495: fi
        !          5496: LIBS=$ac_func_search_save_LIBS
        !          5497: fi
        !          5498: echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
        !          5499: echo "${ECHO_T}$ac_cv_search_opendir" >&6
        !          5500: if test "$ac_cv_search_opendir" != no; then
        !          5501:   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
        !          5502: 
1.1       root     5503: fi
                   5504: 
                   5505: fi
                   5506: 
1.1.1.19! root     5507: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
        !          5508: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
        !          5509: if test "${ac_cv_header_stdc+set}" = set; then
        !          5510:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5511: else
1.1.1.19! root     5512:   cat >conftest.$ac_ext <<_ACEOF
        !          5513: /* confdefs.h.  */
        !          5514: _ACEOF
        !          5515: cat confdefs.h >>conftest.$ac_ext
        !          5516: cat >>conftest.$ac_ext <<_ACEOF
        !          5517: /* end confdefs.h.  */
1.1       root     5518: #include <stdlib.h>
                   5519: #include <stdarg.h>
                   5520: #include <string.h>
                   5521: #include <float.h>
1.1.1.19! root     5522: 
        !          5523: int
        !          5524: main ()
        !          5525: {
        !          5526: 
        !          5527:   ;
        !          5528:   return 0;
        !          5529: }
        !          5530: _ACEOF
        !          5531: rm -f conftest.$ac_objext
        !          5532: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5533:   (eval $ac_compile) 2>conftest.er1
        !          5534:   ac_status=$?
        !          5535:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5536:   rm -f conftest.er1
        !          5537:   cat conftest.err >&5
        !          5538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5539:   (exit $ac_status); } &&
        !          5540:         { ac_try='test -z "$ac_c_werror_flag"
        !          5541:                         || test ! -s conftest.err'
        !          5542:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5543:   (eval $ac_try) 2>&5
        !          5544:   ac_status=$?
        !          5545:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5546:   (exit $ac_status); }; } &&
        !          5547:         { ac_try='test -s conftest.$ac_objext'
        !          5548:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5549:   (eval $ac_try) 2>&5
        !          5550:   ac_status=$?
        !          5551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5552:   (exit $ac_status); }; }; then
1.1       root     5553:   ac_cv_header_stdc=yes
                   5554: else
1.1.1.19! root     5555:   echo "$as_me: failed program was:" >&5
        !          5556: sed 's/^/| /' conftest.$ac_ext >&5
        !          5557: 
        !          5558: ac_cv_header_stdc=no
1.1       root     5559: fi
1.1.1.19! root     5560: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     5561: 
                   5562: if test $ac_cv_header_stdc = yes; then
                   5563:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.19! root     5564:   cat >conftest.$ac_ext <<_ACEOF
        !          5565: /* confdefs.h.  */
        !          5566: _ACEOF
        !          5567: cat confdefs.h >>conftest.$ac_ext
        !          5568: cat >>conftest.$ac_ext <<_ACEOF
        !          5569: /* end confdefs.h.  */
1.1       root     5570: #include <string.h>
1.1.1.19! root     5571: 
        !          5572: _ACEOF
1.1       root     5573: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     5574:   $EGREP "memchr" >/dev/null 2>&1; then
1.1       root     5575:   :
                   5576: else
                   5577:   ac_cv_header_stdc=no
                   5578: fi
                   5579: rm -f conftest*
                   5580: 
                   5581: fi
                   5582: 
                   5583: if test $ac_cv_header_stdc = yes; then
                   5584:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.19! root     5585:   cat >conftest.$ac_ext <<_ACEOF
        !          5586: /* confdefs.h.  */
        !          5587: _ACEOF
        !          5588: cat confdefs.h >>conftest.$ac_ext
        !          5589: cat >>conftest.$ac_ext <<_ACEOF
        !          5590: /* end confdefs.h.  */
1.1       root     5591: #include <stdlib.h>
1.1.1.19! root     5592: 
        !          5593: _ACEOF
1.1       root     5594: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     5595:   $EGREP "free" >/dev/null 2>&1; then
1.1       root     5596:   :
                   5597: else
                   5598:   ac_cv_header_stdc=no
                   5599: fi
                   5600: rm -f conftest*
                   5601: 
                   5602: fi
                   5603: 
                   5604: if test $ac_cv_header_stdc = yes; then
                   5605:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.19! root     5606:   if test "$cross_compiling" = yes; then
1.1       root     5607:   :
                   5608: else
1.1.1.19! root     5609:   cat >conftest.$ac_ext <<_ACEOF
        !          5610: /* confdefs.h.  */
        !          5611: _ACEOF
        !          5612: cat confdefs.h >>conftest.$ac_ext
        !          5613: cat >>conftest.$ac_ext <<_ACEOF
        !          5614: /* end confdefs.h.  */
1.1       root     5615: #include <ctype.h>
1.1.1.19! root     5616: #if ((' ' & 0x0FF) == 0x020)
        !          5617: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          5618: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          5619: #else
        !          5620: # define ISLOWER(c) \
        !          5621:                   (('a' <= (c) && (c) <= 'i') \
        !          5622:                     || ('j' <= (c) && (c) <= 'r') \
        !          5623:                     || ('s' <= (c) && (c) <= 'z'))
        !          5624: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          5625: #endif
1.1       root     5626: 
1.1.1.19! root     5627: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          5628: int
        !          5629: main ()
        !          5630: {
        !          5631:   int i;
        !          5632:   for (i = 0; i < 256; i++)
        !          5633:     if (XOR (islower (i), ISLOWER (i))
        !          5634:        || toupper (i) != TOUPPER (i))
        !          5635:       exit(2);
        !          5636:   exit (0);
        !          5637: }
        !          5638: _ACEOF
        !          5639: rm -f conftest$ac_exeext
        !          5640: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          5641:   (eval $ac_link) 2>&5
        !          5642:   ac_status=$?
        !          5643:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5644:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          5645:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5646:   (eval $ac_try) 2>&5
        !          5647:   ac_status=$?
        !          5648:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5649:   (exit $ac_status); }; }; then
1.1       root     5650:   :
                   5651: else
1.1.1.19! root     5652:   echo "$as_me: program exited with status $ac_status" >&5
        !          5653: echo "$as_me: failed program was:" >&5
        !          5654: sed 's/^/| /' conftest.$ac_ext >&5
        !          5655: 
        !          5656: ( exit $ac_status )
        !          5657: ac_cv_header_stdc=no
1.1       root     5658: fi
1.1.1.19! root     5659: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5660: fi
1.1.1.4   root     5661: fi
1.1       root     5662: fi
1.1.1.19! root     5663: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
        !          5664: echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.1       root     5665: if test $ac_cv_header_stdc = yes; then
1.1.1.19! root     5666: 
        !          5667: cat >>confdefs.h <<\_ACEOF
1.1       root     5668: #define STDC_HEADERS 1
1.1.1.19! root     5669: _ACEOF
1.1       root     5670: 
                   5671: fi
                   5672: 
1.1.1.4   root     5673: 
1.1.1.19! root     5674: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
        !          5675: 
        !          5676: 
        !          5677: 
        !          5678: 
        !          5679: 
        !          5680: 
        !          5681: 
        !          5682: 
        !          5683: 
        !          5684: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          5685:                  inttypes.h stdint.h unistd.h
1.1.1.4   root     5686: do
1.1.1.19! root     5687: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          5688: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          5689: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          5690: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5691:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5692: else
        !          5693:   cat >conftest.$ac_ext <<_ACEOF
        !          5694: /* confdefs.h.  */
        !          5695: _ACEOF
        !          5696: cat confdefs.h >>conftest.$ac_ext
        !          5697: cat >>conftest.$ac_ext <<_ACEOF
        !          5698: /* end confdefs.h.  */
        !          5699: $ac_includes_default
        !          5700: 
        !          5701: #include <$ac_header>
        !          5702: _ACEOF
        !          5703: rm -f conftest.$ac_objext
        !          5704: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5705:   (eval $ac_compile) 2>conftest.er1
        !          5706:   ac_status=$?
        !          5707:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5708:   rm -f conftest.er1
        !          5709:   cat conftest.err >&5
        !          5710:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5711:   (exit $ac_status); } &&
        !          5712:         { ac_try='test -z "$ac_c_werror_flag"
        !          5713:                         || test ! -s conftest.err'
        !          5714:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5715:   (eval $ac_try) 2>&5
        !          5716:   ac_status=$?
        !          5717:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5718:   (exit $ac_status); }; } &&
        !          5719:         { ac_try='test -s conftest.$ac_objext'
        !          5720:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5721:   (eval $ac_try) 2>&5
        !          5722:   ac_status=$?
        !          5723:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5724:   (exit $ac_status); }; }; then
        !          5725:   eval "$as_ac_Header=yes"
        !          5726: else
        !          5727:   echo "$as_me: failed program was:" >&5
        !          5728: sed 's/^/| /' conftest.$ac_ext >&5
        !          5729: 
        !          5730: eval "$as_ac_Header=no"
        !          5731: fi
        !          5732: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5733: fi
        !          5734: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          5735: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          5736: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          5737:   cat >>confdefs.h <<_ACEOF
        !          5738: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          5739: _ACEOF
        !          5740: 
1.1.1.4   root     5741: fi
1.1.1.19! root     5742: 
1.1.1.4   root     5743: done
                   5744: 
1.1.1.19! root     5745: 
        !          5746: 
        !          5747: 
        !          5748: 
        !          5749: 
        !          5750: 
        !          5751: 
        !          5752: 
        !          5753: 
        !          5754: 
        !          5755: 
        !          5756: 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     5757: do
1.1.1.19! root     5758: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          5759: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5760:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          5761: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          5762: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5763:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5764: fi
        !          5765: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          5766: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          5767: else
        !          5768:   # Is the header compilable?
        !          5769: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          5770: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          5771: cat >conftest.$ac_ext <<_ACEOF
        !          5772: /* confdefs.h.  */
        !          5773: _ACEOF
        !          5774: cat confdefs.h >>conftest.$ac_ext
        !          5775: cat >>conftest.$ac_ext <<_ACEOF
        !          5776: /* end confdefs.h.  */
        !          5777: $ac_includes_default
        !          5778: #include <$ac_header>
        !          5779: _ACEOF
        !          5780: rm -f conftest.$ac_objext
        !          5781: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5782:   (eval $ac_compile) 2>conftest.er1
        !          5783:   ac_status=$?
        !          5784:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5785:   rm -f conftest.er1
        !          5786:   cat conftest.err >&5
        !          5787:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5788:   (exit $ac_status); } &&
        !          5789:         { ac_try='test -z "$ac_c_werror_flag"
        !          5790:                         || test ! -s conftest.err'
        !          5791:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5792:   (eval $ac_try) 2>&5
        !          5793:   ac_status=$?
        !          5794:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5795:   (exit $ac_status); }; } &&
        !          5796:         { ac_try='test -s conftest.$ac_objext'
        !          5797:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5798:   (eval $ac_try) 2>&5
        !          5799:   ac_status=$?
        !          5800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5801:   (exit $ac_status); }; }; then
        !          5802:   ac_header_compiler=yes
        !          5803: else
        !          5804:   echo "$as_me: failed program was:" >&5
        !          5805: sed 's/^/| /' conftest.$ac_ext >&5
        !          5806: 
        !          5807: ac_header_compiler=no
        !          5808: fi
        !          5809: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5810: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          5811: echo "${ECHO_T}$ac_header_compiler" >&6
        !          5812: 
        !          5813: # Is the header present?
        !          5814: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          5815: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          5816: cat >conftest.$ac_ext <<_ACEOF
        !          5817: /* confdefs.h.  */
        !          5818: _ACEOF
        !          5819: cat confdefs.h >>conftest.$ac_ext
        !          5820: cat >>conftest.$ac_ext <<_ACEOF
        !          5821: /* end confdefs.h.  */
        !          5822: #include <$ac_header>
        !          5823: _ACEOF
        !          5824: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          5825:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          5826:   ac_status=$?
        !          5827:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5828:   rm -f conftest.er1
        !          5829:   cat conftest.err >&5
        !          5830:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5831:   (exit $ac_status); } >/dev/null; then
        !          5832:   if test -s conftest.err; then
        !          5833:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          5834:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          5835:   else
        !          5836:     ac_cpp_err=
        !          5837:   fi
1.1       root     5838: else
1.1.1.19! root     5839:   ac_cpp_err=yes
1.1       root     5840: fi
1.1.1.19! root     5841: if test -z "$ac_cpp_err"; then
        !          5842:   ac_header_preproc=yes
1.1       root     5843: else
1.1.1.19! root     5844:   echo "$as_me: failed program was:" >&5
        !          5845: sed 's/^/| /' conftest.$ac_ext >&5
        !          5846: 
        !          5847:   ac_header_preproc=no
1.1       root     5848: fi
1.1.1.19! root     5849: rm -f conftest.err conftest.$ac_ext
        !          5850: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          5851: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     5852: 
1.1.1.19! root     5853: # So?  What about this header?
        !          5854: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          5855:   yes:no: )
        !          5856:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          5857: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          5858:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          5859: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          5860:     ac_header_preproc=yes
        !          5861:     ;;
        !          5862:   no:yes:* )
        !          5863:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          5864: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          5865:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          5866: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          5867:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          5868: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          5869:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          5870: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          5871:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          5872: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          5873:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          5874: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          5875:     (
        !          5876:       cat <<\_ASBOX
        !          5877: ## ------------------------------------------ ##
        !          5878: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          5879: ## ------------------------------------------ ##
        !          5880: _ASBOX
        !          5881:     ) |
        !          5882:       sed "s/^/$as_me: WARNING:     /" >&2
        !          5883:     ;;
        !          5884: esac
        !          5885: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          5886: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          5887: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5888:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5889: else
1.1.1.19! root     5890:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     5891: fi
1.1.1.19! root     5892: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          5893: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          5894: 
1.1       root     5895: fi
1.1.1.19! root     5896: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          5897:   cat >>confdefs.h <<_ACEOF
        !          5898: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          5899: _ACEOF
        !          5900: 
1.1       root     5901: fi
1.1.1.19! root     5902: 
1.1       root     5903: done
                   5904: 
1.1.1.19! root     5905: 
        !          5906: 
        !          5907: 
        !          5908: 
        !          5909: 
        !          5910: 
        !          5911: 
        !          5912: 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     5913: do
1.1.1.19! root     5914: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          5915: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5916:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          5917: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          5918: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          5919:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5920: fi
        !          5921: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          5922: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          5923: else
        !          5924:   # Is the header compilable?
        !          5925: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          5926: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          5927: cat >conftest.$ac_ext <<_ACEOF
        !          5928: /* confdefs.h.  */
        !          5929: _ACEOF
        !          5930: cat confdefs.h >>conftest.$ac_ext
        !          5931: cat >>conftest.$ac_ext <<_ACEOF
        !          5932: /* end confdefs.h.  */
        !          5933: $ac_includes_default
        !          5934: #include <$ac_header>
        !          5935: _ACEOF
        !          5936: rm -f conftest.$ac_objext
        !          5937: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5938:   (eval $ac_compile) 2>conftest.er1
        !          5939:   ac_status=$?
        !          5940:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5941:   rm -f conftest.er1
        !          5942:   cat conftest.err >&5
        !          5943:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5944:   (exit $ac_status); } &&
        !          5945:         { ac_try='test -z "$ac_c_werror_flag"
        !          5946:                         || test ! -s conftest.err'
        !          5947:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5948:   (eval $ac_try) 2>&5
        !          5949:   ac_status=$?
        !          5950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5951:   (exit $ac_status); }; } &&
        !          5952:         { ac_try='test -s conftest.$ac_objext'
        !          5953:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5954:   (eval $ac_try) 2>&5
        !          5955:   ac_status=$?
        !          5956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5957:   (exit $ac_status); }; }; then
        !          5958:   ac_header_compiler=yes
        !          5959: else
        !          5960:   echo "$as_me: failed program was:" >&5
        !          5961: sed 's/^/| /' conftest.$ac_ext >&5
        !          5962: 
        !          5963: ac_header_compiler=no
        !          5964: fi
        !          5965: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5966: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          5967: echo "${ECHO_T}$ac_header_compiler" >&6
        !          5968: 
        !          5969: # Is the header present?
        !          5970: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          5971: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          5972: cat >conftest.$ac_ext <<_ACEOF
        !          5973: /* confdefs.h.  */
        !          5974: _ACEOF
        !          5975: cat confdefs.h >>conftest.$ac_ext
        !          5976: cat >>conftest.$ac_ext <<_ACEOF
        !          5977: /* end confdefs.h.  */
        !          5978: #include <$ac_header>
        !          5979: _ACEOF
        !          5980: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          5981:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          5982:   ac_status=$?
        !          5983:   grep -v '^ *+' conftest.er1 >conftest.err
        !          5984:   rm -f conftest.er1
        !          5985:   cat conftest.err >&5
        !          5986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5987:   (exit $ac_status); } >/dev/null; then
        !          5988:   if test -s conftest.err; then
        !          5989:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          5990:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          5991:   else
        !          5992:     ac_cpp_err=
        !          5993:   fi
1.1.1.4   root     5994: else
1.1.1.19! root     5995:   ac_cpp_err=yes
1.1.1.4   root     5996: fi
1.1.1.19! root     5997: if test -z "$ac_cpp_err"; then
        !          5998:   ac_header_preproc=yes
1.1.1.4   root     5999: else
1.1.1.19! root     6000:   echo "$as_me: failed program was:" >&5
        !          6001: sed 's/^/| /' conftest.$ac_ext >&5
        !          6002: 
        !          6003:   ac_header_preproc=no
1.1.1.4   root     6004: fi
1.1.1.19! root     6005: rm -f conftest.err conftest.$ac_ext
        !          6006: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6007: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     6008: 
1.1.1.19! root     6009: # So?  What about this header?
        !          6010: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6011:   yes:no: )
        !          6012:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6013: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6014:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6015: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6016:     ac_header_preproc=yes
        !          6017:     ;;
        !          6018:   no:yes:* )
        !          6019:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6020: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6021:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6022: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6023:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6024: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6025:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6026: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6027:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6028: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6029:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6030: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6031:     (
        !          6032:       cat <<\_ASBOX
        !          6033: ## ------------------------------------------ ##
        !          6034: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6035: ## ------------------------------------------ ##
        !          6036: _ASBOX
        !          6037:     ) |
        !          6038:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6039:     ;;
        !          6040: esac
        !          6041: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6042: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6043: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6044:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     6045: else
1.1.1.19! root     6046:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.4   root     6047: fi
1.1.1.19! root     6048: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6049: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6050: 
1.1.1.4   root     6051: fi
1.1.1.19! root     6052: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6053:   cat >>confdefs.h <<_ACEOF
        !          6054: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6055: _ACEOF
        !          6056: 
1.1       root     6057: fi
                   6058: 
1.1.1.19! root     6059: done
        !          6060: 
        !          6061: 
        !          6062: 
        !          6063: 
        !          6064: 
        !          6065: 
        !          6066: 
        !          6067: 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     6068: do
1.1.1.19! root     6069: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6070: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6071:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6072: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6073: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6074:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6075: fi
        !          6076: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6077: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6078: else
        !          6079:   # Is the header compilable?
        !          6080: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6081: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6082: cat >conftest.$ac_ext <<_ACEOF
        !          6083: /* confdefs.h.  */
        !          6084: _ACEOF
        !          6085: cat confdefs.h >>conftest.$ac_ext
        !          6086: cat >>conftest.$ac_ext <<_ACEOF
        !          6087: /* end confdefs.h.  */
        !          6088: $ac_includes_default
        !          6089: #include <$ac_header>
        !          6090: _ACEOF
        !          6091: rm -f conftest.$ac_objext
        !          6092: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6093:   (eval $ac_compile) 2>conftest.er1
        !          6094:   ac_status=$?
        !          6095:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6096:   rm -f conftest.er1
        !          6097:   cat conftest.err >&5
        !          6098:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6099:   (exit $ac_status); } &&
        !          6100:         { ac_try='test -z "$ac_c_werror_flag"
        !          6101:                         || test ! -s conftest.err'
        !          6102:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6103:   (eval $ac_try) 2>&5
        !          6104:   ac_status=$?
        !          6105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6106:   (exit $ac_status); }; } &&
        !          6107:         { ac_try='test -s conftest.$ac_objext'
        !          6108:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6109:   (eval $ac_try) 2>&5
        !          6110:   ac_status=$?
        !          6111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6112:   (exit $ac_status); }; }; then
        !          6113:   ac_header_compiler=yes
        !          6114: else
        !          6115:   echo "$as_me: failed program was:" >&5
        !          6116: sed 's/^/| /' conftest.$ac_ext >&5
        !          6117: 
        !          6118: ac_header_compiler=no
        !          6119: fi
        !          6120: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6121: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6122: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6123: 
        !          6124: # Is the header present?
        !          6125: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          6126: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          6127: cat >conftest.$ac_ext <<_ACEOF
        !          6128: /* confdefs.h.  */
        !          6129: _ACEOF
        !          6130: cat confdefs.h >>conftest.$ac_ext
        !          6131: cat >>conftest.$ac_ext <<_ACEOF
        !          6132: /* end confdefs.h.  */
        !          6133: #include <$ac_header>
        !          6134: _ACEOF
        !          6135: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6136:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6137:   ac_status=$?
        !          6138:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6139:   rm -f conftest.er1
        !          6140:   cat conftest.err >&5
        !          6141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6142:   (exit $ac_status); } >/dev/null; then
        !          6143:   if test -s conftest.err; then
        !          6144:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6145:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6146:   else
        !          6147:     ac_cpp_err=
        !          6148:   fi
1.1       root     6149: else
1.1.1.19! root     6150:   ac_cpp_err=yes
1.1.1.4   root     6151: fi
1.1.1.19! root     6152: if test -z "$ac_cpp_err"; then
        !          6153:   ac_header_preproc=yes
1.1.1.6   root     6154: else
1.1.1.19! root     6155:   echo "$as_me: failed program was:" >&5
        !          6156: sed 's/^/| /' conftest.$ac_ext >&5
        !          6157: 
        !          6158:   ac_header_preproc=no
1.1.1.6   root     6159: fi
1.1.1.19! root     6160: rm -f conftest.err conftest.$ac_ext
        !          6161: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6162: echo "${ECHO_T}$ac_header_preproc" >&6
1.1       root     6163: 
1.1.1.19! root     6164: # So?  What about this header?
        !          6165: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6166:   yes:no: )
        !          6167:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6168: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6169:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6170: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6171:     ac_header_preproc=yes
        !          6172:     ;;
        !          6173:   no:yes:* )
        !          6174:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6175: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6176:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6177: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6178:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6179: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6180:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6181: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6182:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6183: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6184:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6185: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6186:     (
        !          6187:       cat <<\_ASBOX
        !          6188: ## ------------------------------------------ ##
        !          6189: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6190: ## ------------------------------------------ ##
        !          6191: _ASBOX
        !          6192:     ) |
        !          6193:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6194:     ;;
        !          6195: esac
        !          6196: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6197: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6198: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6199:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     6200: else
1.1.1.19! root     6201:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.8   root     6202: fi
1.1.1.19! root     6203: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6204: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6205: 
1.1.1.8   root     6206: fi
1.1.1.19! root     6207: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6208:   cat >>confdefs.h <<_ACEOF
        !          6209: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6210: _ACEOF
        !          6211: 
1.1.1.8   root     6212: fi
1.1.1.19! root     6213: 
1.1.1.8   root     6214: done
                   6215: 
1.1.1.19! root     6216: 
        !          6217: 
        !          6218: for ac_header in windows.h ddraw.h
1.1.1.8   root     6219: do
1.1.1.19! root     6220: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6221: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6222:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6223: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6224: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6225:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6226: fi
        !          6227: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6228: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6229: else
        !          6230:   # Is the header compilable?
        !          6231: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6232: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6233: cat >conftest.$ac_ext <<_ACEOF
        !          6234: /* confdefs.h.  */
        !          6235: _ACEOF
        !          6236: cat confdefs.h >>conftest.$ac_ext
        !          6237: cat >>conftest.$ac_ext <<_ACEOF
        !          6238: /* end confdefs.h.  */
        !          6239: $ac_includes_default
        !          6240: #include <$ac_header>
        !          6241: _ACEOF
        !          6242: rm -f conftest.$ac_objext
        !          6243: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6244:   (eval $ac_compile) 2>conftest.er1
        !          6245:   ac_status=$?
        !          6246:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6247:   rm -f conftest.er1
        !          6248:   cat conftest.err >&5
        !          6249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6250:   (exit $ac_status); } &&
        !          6251:         { ac_try='test -z "$ac_c_werror_flag"
        !          6252:                         || test ! -s conftest.err'
        !          6253:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6254:   (eval $ac_try) 2>&5
        !          6255:   ac_status=$?
        !          6256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6257:   (exit $ac_status); }; } &&
        !          6258:         { ac_try='test -s conftest.$ac_objext'
        !          6259:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6260:   (eval $ac_try) 2>&5
        !          6261:   ac_status=$?
        !          6262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6263:   (exit $ac_status); }; }; then
        !          6264:   ac_header_compiler=yes
        !          6265: else
        !          6266:   echo "$as_me: failed program was:" >&5
        !          6267: sed 's/^/| /' conftest.$ac_ext >&5
        !          6268: 
        !          6269: ac_header_compiler=no
        !          6270: fi
        !          6271: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6272: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6273: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6274: 
        !          6275: # Is the header present?
        !          6276: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          6277: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          6278: cat >conftest.$ac_ext <<_ACEOF
        !          6279: /* confdefs.h.  */
        !          6280: _ACEOF
        !          6281: cat confdefs.h >>conftest.$ac_ext
        !          6282: cat >>conftest.$ac_ext <<_ACEOF
        !          6283: /* end confdefs.h.  */
        !          6284: #include <$ac_header>
        !          6285: _ACEOF
        !          6286: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6287:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6288:   ac_status=$?
        !          6289:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6290:   rm -f conftest.er1
        !          6291:   cat conftest.err >&5
        !          6292:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6293:   (exit $ac_status); } >/dev/null; then
        !          6294:   if test -s conftest.err; then
        !          6295:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6296:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6297:   else
        !          6298:     ac_cpp_err=
        !          6299:   fi
1.1.1.8   root     6300: else
1.1.1.19! root     6301:   ac_cpp_err=yes
1.1.1.6   root     6302: fi
1.1.1.19! root     6303: if test -z "$ac_cpp_err"; then
        !          6304:   ac_header_preproc=yes
1.1.1.6   root     6305: else
1.1.1.19! root     6306:   echo "$as_me: failed program was:" >&5
        !          6307: sed 's/^/| /' conftest.$ac_ext >&5
        !          6308: 
        !          6309:   ac_header_preproc=no
1.1.1.6   root     6310: fi
1.1.1.19! root     6311: rm -f conftest.err conftest.$ac_ext
        !          6312: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6313: echo "${ECHO_T}$ac_header_preproc" >&6
1.1.1.6   root     6314: 
1.1.1.19! root     6315: # So?  What about this header?
        !          6316: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6317:   yes:no: )
        !          6318:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6319: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6320:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6321: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6322:     ac_header_preproc=yes
        !          6323:     ;;
        !          6324:   no:yes:* )
        !          6325:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6326: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6327:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6328: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6329:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6330: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6331:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6332: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6333:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6334: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6335:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6336: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6337:     (
        !          6338:       cat <<\_ASBOX
        !          6339: ## ------------------------------------------ ##
        !          6340: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6341: ## ------------------------------------------ ##
        !          6342: _ASBOX
        !          6343:     ) |
        !          6344:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6345:     ;;
        !          6346: esac
        !          6347: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6348: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6349: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6350:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     6351: else
1.1.1.19! root     6352:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.6   root     6353: fi
1.1.1.19! root     6354: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6355: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6356: 
1.1.1.6   root     6357: fi
1.1.1.19! root     6358: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6359:   cat >>confdefs.h <<_ACEOF
        !          6360: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6361: _ACEOF
        !          6362: 
1.1.1.6   root     6363: fi
                   6364: 
1.1.1.19! root     6365: done
1.1.1.6   root     6366: 
1.1.1.19! root     6367: if test "${ac_cv_header_be_math_h+set}" = set; then
        !          6368:   echo "$as_me:$LINENO: checking for be_math.h" >&5
        !          6369: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6
        !          6370: if test "${ac_cv_header_be_math_h+set}" = set; then
        !          6371:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6372: fi
        !          6373: echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
        !          6374: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6
        !          6375: else
        !          6376:   # Is the header compilable?
        !          6377: echo "$as_me:$LINENO: checking be_math.h usability" >&5
        !          6378: echo $ECHO_N "checking be_math.h usability... $ECHO_C" >&6
        !          6379: cat >conftest.$ac_ext <<_ACEOF
        !          6380: /* confdefs.h.  */
        !          6381: _ACEOF
        !          6382: cat confdefs.h >>conftest.$ac_ext
        !          6383: cat >>conftest.$ac_ext <<_ACEOF
        !          6384: /* end confdefs.h.  */
        !          6385: $ac_includes_default
        !          6386: #include <be_math.h>
        !          6387: _ACEOF
        !          6388: rm -f conftest.$ac_objext
        !          6389: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6390:   (eval $ac_compile) 2>conftest.er1
        !          6391:   ac_status=$?
        !          6392:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6393:   rm -f conftest.er1
        !          6394:   cat conftest.err >&5
        !          6395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6396:   (exit $ac_status); } &&
        !          6397:         { ac_try='test -z "$ac_c_werror_flag"
        !          6398:                         || test ! -s conftest.err'
        !          6399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6400:   (eval $ac_try) 2>&5
        !          6401:   ac_status=$?
        !          6402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6403:   (exit $ac_status); }; } &&
        !          6404:         { ac_try='test -s conftest.$ac_objext'
        !          6405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6406:   (eval $ac_try) 2>&5
        !          6407:   ac_status=$?
        !          6408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6409:   (exit $ac_status); }; }; then
        !          6410:   ac_header_compiler=yes
        !          6411: else
        !          6412:   echo "$as_me: failed program was:" >&5
        !          6413: sed 's/^/| /' conftest.$ac_ext >&5
        !          6414: 
        !          6415: ac_header_compiler=no
        !          6416: fi
        !          6417: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6418: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6419: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6420: 
        !          6421: # Is the header present?
        !          6422: echo "$as_me:$LINENO: checking be_math.h presence" >&5
        !          6423: echo $ECHO_N "checking be_math.h presence... $ECHO_C" >&6
        !          6424: cat >conftest.$ac_ext <<_ACEOF
        !          6425: /* confdefs.h.  */
        !          6426: _ACEOF
        !          6427: cat confdefs.h >>conftest.$ac_ext
        !          6428: cat >>conftest.$ac_ext <<_ACEOF
        !          6429: /* end confdefs.h.  */
        !          6430: #include <be_math.h>
        !          6431: _ACEOF
        !          6432: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6433:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6434:   ac_status=$?
        !          6435:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6436:   rm -f conftest.er1
        !          6437:   cat conftest.err >&5
        !          6438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6439:   (exit $ac_status); } >/dev/null; then
        !          6440:   if test -s conftest.err; then
        !          6441:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6442:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6443:   else
        !          6444:     ac_cpp_err=
        !          6445:   fi
1.1.1.6   root     6446: else
1.1.1.19! root     6447:   ac_cpp_err=yes
        !          6448: fi
        !          6449: if test -z "$ac_cpp_err"; then
        !          6450:   ac_header_preproc=yes
1.1.1.6   root     6451: else
1.1.1.19! root     6452:   echo "$as_me: failed program was:" >&5
        !          6453: sed 's/^/| /' conftest.$ac_ext >&5
        !          6454: 
        !          6455:   ac_header_preproc=no
        !          6456: fi
        !          6457: rm -f conftest.err conftest.$ac_ext
        !          6458: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6459: echo "${ECHO_T}$ac_header_preproc" >&6
        !          6460: 
        !          6461: # So?  What about this header?
        !          6462: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6463:   yes:no: )
        !          6464:     { echo "$as_me:$LINENO: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6465: echo "$as_me: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6466:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the compiler's result" >&5
        !          6467: echo "$as_me: WARNING: be_math.h: proceeding with the compiler's result" >&2;}
        !          6468:     ac_header_preproc=yes
        !          6469:     ;;
        !          6470:   no:yes:* )
        !          6471:     { echo "$as_me:$LINENO: WARNING: be_math.h: present but cannot be compiled" >&5
        !          6472: echo "$as_me: WARNING: be_math.h: present but cannot be compiled" >&2;}
        !          6473:     { echo "$as_me:$LINENO: WARNING: be_math.h:     check for missing prerequisite headers?" >&5
        !          6474: echo "$as_me: WARNING: be_math.h:     check for missing prerequisite headers?" >&2;}
        !          6475:     { echo "$as_me:$LINENO: WARNING: be_math.h: see the Autoconf documentation" >&5
        !          6476: echo "$as_me: WARNING: be_math.h: see the Autoconf documentation" >&2;}
        !          6477:     { echo "$as_me:$LINENO: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&5
        !          6478: echo "$as_me: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6479:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the preprocessor's result" >&5
        !          6480: echo "$as_me: WARNING: be_math.h: proceeding with the preprocessor's result" >&2;}
        !          6481:     { echo "$as_me:$LINENO: WARNING: be_math.h: in the future, the compiler will take precedence" >&5
        !          6482: echo "$as_me: WARNING: be_math.h: in the future, the compiler will take precedence" >&2;}
        !          6483:     (
        !          6484:       cat <<\_ASBOX
        !          6485: ## ------------------------------------------ ##
        !          6486: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6487: ## ------------------------------------------ ##
        !          6488: _ASBOX
        !          6489:     ) |
        !          6490:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6491:     ;;
        !          6492: esac
        !          6493: echo "$as_me:$LINENO: checking for be_math.h" >&5
        !          6494: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6
        !          6495: if test "${ac_cv_header_be_math_h+set}" = set; then
        !          6496:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6497: else
        !          6498:   ac_cv_header_be_math_h=$ac_header_preproc
        !          6499: fi
        !          6500: echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
        !          6501: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6
        !          6502: 
        !          6503: fi
        !          6504: if test $ac_cv_header_be_math_h = yes; then
        !          6505:   HAVE_BEOS=yes
        !          6506: else
        !          6507:   HAVE_BEOS=no
        !          6508: fi
        !          6509: 
        !          6510: 
        !          6511: 
        !          6512: for ac_header in machine/joystick.h
        !          6513: do
        !          6514: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6515: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6516:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6517: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6518: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6519:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6520: fi
        !          6521: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6522: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6523: else
        !          6524:   # Is the header compilable?
        !          6525: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6526: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6527: cat >conftest.$ac_ext <<_ACEOF
        !          6528: /* confdefs.h.  */
        !          6529: _ACEOF
        !          6530: cat confdefs.h >>conftest.$ac_ext
        !          6531: cat >>conftest.$ac_ext <<_ACEOF
        !          6532: /* end confdefs.h.  */
        !          6533: $ac_includes_default
        !          6534: #include <$ac_header>
        !          6535: _ACEOF
        !          6536: rm -f conftest.$ac_objext
        !          6537: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6538:   (eval $ac_compile) 2>conftest.er1
        !          6539:   ac_status=$?
        !          6540:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6541:   rm -f conftest.er1
        !          6542:   cat conftest.err >&5
        !          6543:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6544:   (exit $ac_status); } &&
        !          6545:         { ac_try='test -z "$ac_c_werror_flag"
        !          6546:                         || test ! -s conftest.err'
        !          6547:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6548:   (eval $ac_try) 2>&5
        !          6549:   ac_status=$?
        !          6550:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6551:   (exit $ac_status); }; } &&
        !          6552:         { ac_try='test -s conftest.$ac_objext'
        !          6553:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6554:   (eval $ac_try) 2>&5
        !          6555:   ac_status=$?
        !          6556:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6557:   (exit $ac_status); }; }; then
        !          6558:   ac_header_compiler=yes
        !          6559: else
        !          6560:   echo "$as_me: failed program was:" >&5
        !          6561: sed 's/^/| /' conftest.$ac_ext >&5
        !          6562: 
        !          6563: ac_header_compiler=no
        !          6564: fi
        !          6565: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6566: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6567: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6568: 
        !          6569: # Is the header present?
        !          6570: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          6571: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          6572: cat >conftest.$ac_ext <<_ACEOF
        !          6573: /* confdefs.h.  */
        !          6574: _ACEOF
        !          6575: cat confdefs.h >>conftest.$ac_ext
        !          6576: cat >>conftest.$ac_ext <<_ACEOF
        !          6577: /* end confdefs.h.  */
        !          6578: #include <$ac_header>
        !          6579: _ACEOF
        !          6580: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6581:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6582:   ac_status=$?
        !          6583:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6584:   rm -f conftest.er1
        !          6585:   cat conftest.err >&5
        !          6586:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6587:   (exit $ac_status); } >/dev/null; then
        !          6588:   if test -s conftest.err; then
        !          6589:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6590:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6591:   else
        !          6592:     ac_cpp_err=
        !          6593:   fi
        !          6594: else
        !          6595:   ac_cpp_err=yes
        !          6596: fi
        !          6597: if test -z "$ac_cpp_err"; then
        !          6598:   ac_header_preproc=yes
        !          6599: else
        !          6600:   echo "$as_me: failed program was:" >&5
        !          6601: sed 's/^/| /' conftest.$ac_ext >&5
        !          6602: 
        !          6603:   ac_header_preproc=no
        !          6604: fi
        !          6605: rm -f conftest.err conftest.$ac_ext
        !          6606: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6607: echo "${ECHO_T}$ac_header_preproc" >&6
        !          6608: 
        !          6609: # So?  What about this header?
        !          6610: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6611:   yes:no: )
        !          6612:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6613: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6614:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6615: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6616:     ac_header_preproc=yes
        !          6617:     ;;
        !          6618:   no:yes:* )
        !          6619:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6620: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6621:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6622: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6623:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6624: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6625:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6626: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6627:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6628: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6629:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6630: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6631:     (
        !          6632:       cat <<\_ASBOX
        !          6633: ## ------------------------------------------ ##
        !          6634: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6635: ## ------------------------------------------ ##
        !          6636: _ASBOX
        !          6637:     ) |
        !          6638:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6639:     ;;
        !          6640: esac
        !          6641: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6642: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6643: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6644:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6645: else
        !          6646:   eval "$as_ac_Header=\$ac_header_preproc"
        !          6647: fi
        !          6648: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6649: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6650: 
        !          6651: fi
        !          6652: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6653:   cat >>confdefs.h <<_ACEOF
        !          6654: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6655: _ACEOF
        !          6656: 
        !          6657: fi
        !          6658: 
        !          6659: done
        !          6660: 
        !          6661: 
        !          6662: for ac_header in devices/ahi.h
        !          6663: do
        !          6664: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6665: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6666:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6667: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6668: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6669:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6670: fi
        !          6671: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6672: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6673: else
        !          6674:   # Is the header compilable?
        !          6675: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6676: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6677: cat >conftest.$ac_ext <<_ACEOF
        !          6678: /* confdefs.h.  */
        !          6679: _ACEOF
        !          6680: cat confdefs.h >>conftest.$ac_ext
        !          6681: cat >>conftest.$ac_ext <<_ACEOF
        !          6682: /* end confdefs.h.  */
        !          6683: $ac_includes_default
        !          6684: #include <$ac_header>
        !          6685: _ACEOF
        !          6686: rm -f conftest.$ac_objext
        !          6687: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6688:   (eval $ac_compile) 2>conftest.er1
        !          6689:   ac_status=$?
        !          6690:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6691:   rm -f conftest.er1
        !          6692:   cat conftest.err >&5
        !          6693:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6694:   (exit $ac_status); } &&
        !          6695:         { ac_try='test -z "$ac_c_werror_flag"
        !          6696:                         || test ! -s conftest.err'
        !          6697:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6698:   (eval $ac_try) 2>&5
        !          6699:   ac_status=$?
        !          6700:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6701:   (exit $ac_status); }; } &&
        !          6702:         { ac_try='test -s conftest.$ac_objext'
        !          6703:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6704:   (eval $ac_try) 2>&5
        !          6705:   ac_status=$?
        !          6706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6707:   (exit $ac_status); }; }; then
        !          6708:   ac_header_compiler=yes
        !          6709: else
        !          6710:   echo "$as_me: failed program was:" >&5
        !          6711: sed 's/^/| /' conftest.$ac_ext >&5
        !          6712: 
        !          6713: ac_header_compiler=no
        !          6714: fi
        !          6715: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6716: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6717: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6718: 
        !          6719: # Is the header present?
        !          6720: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          6721: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          6722: cat >conftest.$ac_ext <<_ACEOF
        !          6723: /* confdefs.h.  */
        !          6724: _ACEOF
        !          6725: cat confdefs.h >>conftest.$ac_ext
        !          6726: cat >>conftest.$ac_ext <<_ACEOF
        !          6727: /* end confdefs.h.  */
        !          6728: #include <$ac_header>
        !          6729: _ACEOF
        !          6730: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6731:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6732:   ac_status=$?
        !          6733:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6734:   rm -f conftest.er1
        !          6735:   cat conftest.err >&5
        !          6736:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6737:   (exit $ac_status); } >/dev/null; then
        !          6738:   if test -s conftest.err; then
        !          6739:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6740:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6741:   else
        !          6742:     ac_cpp_err=
        !          6743:   fi
        !          6744: else
        !          6745:   ac_cpp_err=yes
        !          6746: fi
        !          6747: if test -z "$ac_cpp_err"; then
        !          6748:   ac_header_preproc=yes
        !          6749: else
        !          6750:   echo "$as_me: failed program was:" >&5
        !          6751: sed 's/^/| /' conftest.$ac_ext >&5
        !          6752: 
        !          6753:   ac_header_preproc=no
        !          6754: fi
        !          6755: rm -f conftest.err conftest.$ac_ext
        !          6756: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6757: echo "${ECHO_T}$ac_header_preproc" >&6
        !          6758: 
        !          6759: # So?  What about this header?
        !          6760: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6761:   yes:no: )
        !          6762:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6763: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6764:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6765: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6766:     ac_header_preproc=yes
        !          6767:     ;;
        !          6768:   no:yes:* )
        !          6769:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6770: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6771:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6772: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6773:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6774: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6775:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6776: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6777:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6778: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6779:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6780: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6781:     (
        !          6782:       cat <<\_ASBOX
        !          6783: ## ------------------------------------------ ##
        !          6784: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6785: ## ------------------------------------------ ##
        !          6786: _ASBOX
        !          6787:     ) |
        !          6788:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6789:     ;;
        !          6790: esac
        !          6791: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6792: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6793: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6794:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6795: else
        !          6796:   eval "$as_ac_Header=\$ac_header_preproc"
        !          6797: fi
        !          6798: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6799: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6800: 
        !          6801: fi
        !          6802: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6803:   cat >>confdefs.h <<_ACEOF
        !          6804: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6805: _ACEOF
        !          6806: 
        !          6807: fi
        !          6808: 
        !          6809: done
        !          6810: 
        !          6811: 
        !          6812: for ac_header in dmedia/audio.h
        !          6813: do
        !          6814: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6815: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6816:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6817: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6818: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6819:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6820: fi
        !          6821: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6822: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6823: else
        !          6824:   # Is the header compilable?
        !          6825: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6826: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6827: cat >conftest.$ac_ext <<_ACEOF
        !          6828: /* confdefs.h.  */
        !          6829: _ACEOF
        !          6830: cat confdefs.h >>conftest.$ac_ext
        !          6831: cat >>conftest.$ac_ext <<_ACEOF
        !          6832: /* end confdefs.h.  */
        !          6833: $ac_includes_default
        !          6834: #include <$ac_header>
        !          6835: _ACEOF
        !          6836: rm -f conftest.$ac_objext
        !          6837: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6838:   (eval $ac_compile) 2>conftest.er1
        !          6839:   ac_status=$?
        !          6840:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6841:   rm -f conftest.er1
        !          6842:   cat conftest.err >&5
        !          6843:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6844:   (exit $ac_status); } &&
        !          6845:         { ac_try='test -z "$ac_c_werror_flag"
        !          6846:                         || test ! -s conftest.err'
        !          6847:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6848:   (eval $ac_try) 2>&5
        !          6849:   ac_status=$?
        !          6850:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6851:   (exit $ac_status); }; } &&
        !          6852:         { ac_try='test -s conftest.$ac_objext'
        !          6853:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6854:   (eval $ac_try) 2>&5
        !          6855:   ac_status=$?
        !          6856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6857:   (exit $ac_status); }; }; then
        !          6858:   ac_header_compiler=yes
        !          6859: else
        !          6860:   echo "$as_me: failed program was:" >&5
        !          6861: sed 's/^/| /' conftest.$ac_ext >&5
        !          6862: 
        !          6863: ac_header_compiler=no
        !          6864: fi
        !          6865: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6866: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          6867: echo "${ECHO_T}$ac_header_compiler" >&6
        !          6868: 
        !          6869: # Is the header present?
        !          6870: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          6871: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          6872: cat >conftest.$ac_ext <<_ACEOF
        !          6873: /* confdefs.h.  */
        !          6874: _ACEOF
        !          6875: cat confdefs.h >>conftest.$ac_ext
        !          6876: cat >>conftest.$ac_ext <<_ACEOF
        !          6877: /* end confdefs.h.  */
        !          6878: #include <$ac_header>
        !          6879: _ACEOF
        !          6880: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6881:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6882:   ac_status=$?
        !          6883:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6884:   rm -f conftest.er1
        !          6885:   cat conftest.err >&5
        !          6886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6887:   (exit $ac_status); } >/dev/null; then
        !          6888:   if test -s conftest.err; then
        !          6889:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6890:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          6891:   else
        !          6892:     ac_cpp_err=
        !          6893:   fi
        !          6894: else
        !          6895:   ac_cpp_err=yes
        !          6896: fi
        !          6897: if test -z "$ac_cpp_err"; then
        !          6898:   ac_header_preproc=yes
        !          6899: else
        !          6900:   echo "$as_me: failed program was:" >&5
        !          6901: sed 's/^/| /' conftest.$ac_ext >&5
        !          6902: 
        !          6903:   ac_header_preproc=no
        !          6904: fi
        !          6905: rm -f conftest.err conftest.$ac_ext
        !          6906: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          6907: echo "${ECHO_T}$ac_header_preproc" >&6
        !          6908: 
        !          6909: # So?  What about this header?
        !          6910: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          6911:   yes:no: )
        !          6912:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          6913: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          6914:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          6915: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          6916:     ac_header_preproc=yes
        !          6917:     ;;
        !          6918:   no:yes:* )
        !          6919:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          6920: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          6921:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          6922: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          6923:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          6924: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          6925:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          6926: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          6927:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          6928: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          6929:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          6930: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          6931:     (
        !          6932:       cat <<\_ASBOX
        !          6933: ## ------------------------------------------ ##
        !          6934: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          6935: ## ------------------------------------------ ##
        !          6936: _ASBOX
        !          6937:     ) |
        !          6938:       sed "s/^/$as_me: WARNING:     /" >&2
        !          6939:     ;;
        !          6940: esac
        !          6941: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6942: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6943: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6944:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6945: else
        !          6946:   eval "$as_ac_Header=\$ac_header_preproc"
        !          6947: fi
        !          6948: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6949: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6950: 
        !          6951: fi
        !          6952: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6953:   cat >>confdefs.h <<_ACEOF
        !          6954: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          6955: _ACEOF
        !          6956: 
        !          6957: fi
        !          6958: 
        !          6959: done
        !          6960: 
        !          6961: 
        !          6962: 
        !          6963: for ac_header in libraries/cybergraphics.h cybergraphx/cybergraphics.h
        !          6964: do
        !          6965: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6966: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6967:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          6968: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6969: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6970:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6971: fi
        !          6972: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6973: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6974: else
        !          6975:   # Is the header compilable?
        !          6976: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          6977: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          6978: cat >conftest.$ac_ext <<_ACEOF
        !          6979: /* confdefs.h.  */
        !          6980: _ACEOF
        !          6981: cat confdefs.h >>conftest.$ac_ext
        !          6982: cat >>conftest.$ac_ext <<_ACEOF
        !          6983: /* end confdefs.h.  */
        !          6984: $ac_includes_default
        !          6985: #include <$ac_header>
        !          6986: _ACEOF
        !          6987: rm -f conftest.$ac_objext
        !          6988: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6989:   (eval $ac_compile) 2>conftest.er1
        !          6990:   ac_status=$?
        !          6991:   grep -v '^ *+' conftest.er1 >conftest.err
        !          6992:   rm -f conftest.er1
        !          6993:   cat conftest.err >&5
        !          6994:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6995:   (exit $ac_status); } &&
        !          6996:         { ac_try='test -z "$ac_c_werror_flag"
        !          6997:                         || test ! -s conftest.err'
        !          6998:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6999:   (eval $ac_try) 2>&5
        !          7000:   ac_status=$?
        !          7001:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7002:   (exit $ac_status); }; } &&
        !          7003:         { ac_try='test -s conftest.$ac_objext'
        !          7004:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7005:   (eval $ac_try) 2>&5
        !          7006:   ac_status=$?
        !          7007:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7008:   (exit $ac_status); }; }; then
        !          7009:   ac_header_compiler=yes
        !          7010: else
        !          7011:   echo "$as_me: failed program was:" >&5
        !          7012: sed 's/^/| /' conftest.$ac_ext >&5
        !          7013: 
        !          7014: ac_header_compiler=no
        !          7015: fi
        !          7016: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7017: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          7018: echo "${ECHO_T}$ac_header_compiler" >&6
        !          7019: 
        !          7020: # Is the header present?
        !          7021: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          7022: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          7023: cat >conftest.$ac_ext <<_ACEOF
        !          7024: /* confdefs.h.  */
        !          7025: _ACEOF
        !          7026: cat confdefs.h >>conftest.$ac_ext
        !          7027: cat >>conftest.$ac_ext <<_ACEOF
        !          7028: /* end confdefs.h.  */
        !          7029: #include <$ac_header>
        !          7030: _ACEOF
        !          7031: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          7032:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          7033:   ac_status=$?
        !          7034:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7035:   rm -f conftest.er1
        !          7036:   cat conftest.err >&5
        !          7037:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7038:   (exit $ac_status); } >/dev/null; then
        !          7039:   if test -s conftest.err; then
        !          7040:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          7041:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          7042:   else
        !          7043:     ac_cpp_err=
        !          7044:   fi
        !          7045: else
        !          7046:   ac_cpp_err=yes
        !          7047: fi
        !          7048: if test -z "$ac_cpp_err"; then
        !          7049:   ac_header_preproc=yes
        !          7050: else
        !          7051:   echo "$as_me: failed program was:" >&5
        !          7052: sed 's/^/| /' conftest.$ac_ext >&5
        !          7053: 
        !          7054:   ac_header_preproc=no
        !          7055: fi
        !          7056: rm -f conftest.err conftest.$ac_ext
        !          7057: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          7058: echo "${ECHO_T}$ac_header_preproc" >&6
        !          7059: 
        !          7060: # So?  What about this header?
        !          7061: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          7062:   yes:no: )
        !          7063:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          7064: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          7065:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          7066: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          7067:     ac_header_preproc=yes
        !          7068:     ;;
        !          7069:   no:yes:* )
        !          7070:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          7071: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          7072:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          7073: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          7074:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          7075: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          7076:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          7077: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          7078:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          7079: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          7080:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          7081: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          7082:     (
        !          7083:       cat <<\_ASBOX
        !          7084: ## ------------------------------------------ ##
        !          7085: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          7086: ## ------------------------------------------ ##
        !          7087: _ASBOX
        !          7088:     ) |
        !          7089:       sed "s/^/$as_me: WARNING:     /" >&2
        !          7090:     ;;
        !          7091: esac
        !          7092: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          7093: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          7094: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7095:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7096: else
        !          7097:   eval "$as_ac_Header=\$ac_header_preproc"
        !          7098: fi
        !          7099: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          7100: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          7101: 
        !          7102: fi
        !          7103: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          7104:   cat >>confdefs.h <<_ACEOF
        !          7105: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          7106: _ACEOF
        !          7107: 
        !          7108: fi
        !          7109: 
        !          7110: done
        !          7111: 
        !          7112: 
        !          7113: echo "$as_me:$LINENO: checking for char" >&5
        !          7114: echo $ECHO_N "checking for char... $ECHO_C" >&6
        !          7115: if test "${ac_cv_type_char+set}" = set; then
        !          7116:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7117: else
        !          7118:   cat >conftest.$ac_ext <<_ACEOF
        !          7119: /* confdefs.h.  */
        !          7120: _ACEOF
        !          7121: cat confdefs.h >>conftest.$ac_ext
        !          7122: cat >>conftest.$ac_ext <<_ACEOF
        !          7123: /* end confdefs.h.  */
        !          7124: $ac_includes_default
        !          7125: int
        !          7126: main ()
        !          7127: {
        !          7128: if ((char *) 0)
        !          7129:   return 0;
        !          7130: if (sizeof (char))
        !          7131:   return 0;
        !          7132:   ;
        !          7133:   return 0;
        !          7134: }
        !          7135: _ACEOF
        !          7136: rm -f conftest.$ac_objext
        !          7137: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7138:   (eval $ac_compile) 2>conftest.er1
        !          7139:   ac_status=$?
        !          7140:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7141:   rm -f conftest.er1
        !          7142:   cat conftest.err >&5
        !          7143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7144:   (exit $ac_status); } &&
        !          7145:         { ac_try='test -z "$ac_c_werror_flag"
        !          7146:                         || test ! -s conftest.err'
        !          7147:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7148:   (eval $ac_try) 2>&5
        !          7149:   ac_status=$?
        !          7150:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7151:   (exit $ac_status); }; } &&
        !          7152:         { ac_try='test -s conftest.$ac_objext'
        !          7153:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7154:   (eval $ac_try) 2>&5
        !          7155:   ac_status=$?
        !          7156:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7157:   (exit $ac_status); }; }; then
        !          7158:   ac_cv_type_char=yes
        !          7159: else
        !          7160:   echo "$as_me: failed program was:" >&5
        !          7161: sed 's/^/| /' conftest.$ac_ext >&5
        !          7162: 
        !          7163: ac_cv_type_char=no
        !          7164: fi
        !          7165: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7166: fi
        !          7167: echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
        !          7168: echo "${ECHO_T}$ac_cv_type_char" >&6
        !          7169: 
        !          7170: echo "$as_me:$LINENO: checking size of char" >&5
        !          7171: echo $ECHO_N "checking size of char... $ECHO_C" >&6
        !          7172: if test "${ac_cv_sizeof_char+set}" = set; then
        !          7173:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7174: else
        !          7175:   if test "$ac_cv_type_char" = yes; then
        !          7176:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          7177:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          7178:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          7179:   # This bug is HP SR number 8606223364.
        !          7180:   if test "$cross_compiling" = yes; then
        !          7181:   # Depending upon the size, compute the lo and hi bounds.
        !          7182: cat >conftest.$ac_ext <<_ACEOF
        !          7183: /* confdefs.h.  */
        !          7184: _ACEOF
        !          7185: cat confdefs.h >>conftest.$ac_ext
        !          7186: cat >>conftest.$ac_ext <<_ACEOF
        !          7187: /* end confdefs.h.  */
        !          7188: $ac_includes_default
        !          7189: int
        !          7190: main ()
        !          7191: {
        !          7192: static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
        !          7193: test_array [0] = 0
        !          7194: 
        !          7195:   ;
        !          7196:   return 0;
        !          7197: }
        !          7198: _ACEOF
        !          7199: rm -f conftest.$ac_objext
        !          7200: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7201:   (eval $ac_compile) 2>conftest.er1
        !          7202:   ac_status=$?
        !          7203:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7204:   rm -f conftest.er1
        !          7205:   cat conftest.err >&5
        !          7206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7207:   (exit $ac_status); } &&
        !          7208:         { ac_try='test -z "$ac_c_werror_flag"
        !          7209:                         || test ! -s conftest.err'
        !          7210:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7211:   (eval $ac_try) 2>&5
        !          7212:   ac_status=$?
        !          7213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7214:   (exit $ac_status); }; } &&
        !          7215:         { ac_try='test -s conftest.$ac_objext'
        !          7216:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7217:   (eval $ac_try) 2>&5
        !          7218:   ac_status=$?
        !          7219:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7220:   (exit $ac_status); }; }; then
        !          7221:   ac_lo=0 ac_mid=0
        !          7222:   while :; do
        !          7223:     cat >conftest.$ac_ext <<_ACEOF
        !          7224: /* confdefs.h.  */
        !          7225: _ACEOF
        !          7226: cat confdefs.h >>conftest.$ac_ext
        !          7227: cat >>conftest.$ac_ext <<_ACEOF
        !          7228: /* end confdefs.h.  */
        !          7229: $ac_includes_default
        !          7230: int
        !          7231: main ()
        !          7232: {
        !          7233: static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
        !          7234: test_array [0] = 0
        !          7235: 
        !          7236:   ;
        !          7237:   return 0;
        !          7238: }
        !          7239: _ACEOF
        !          7240: rm -f conftest.$ac_objext
        !          7241: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7242:   (eval $ac_compile) 2>conftest.er1
        !          7243:   ac_status=$?
        !          7244:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7245:   rm -f conftest.er1
        !          7246:   cat conftest.err >&5
        !          7247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7248:   (exit $ac_status); } &&
        !          7249:         { ac_try='test -z "$ac_c_werror_flag"
        !          7250:                         || test ! -s conftest.err'
        !          7251:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7252:   (eval $ac_try) 2>&5
        !          7253:   ac_status=$?
        !          7254:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7255:   (exit $ac_status); }; } &&
        !          7256:         { ac_try='test -s conftest.$ac_objext'
        !          7257:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7258:   (eval $ac_try) 2>&5
        !          7259:   ac_status=$?
        !          7260:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7261:   (exit $ac_status); }; }; then
        !          7262:   ac_hi=$ac_mid; break
        !          7263: else
        !          7264:   echo "$as_me: failed program was:" >&5
        !          7265: sed 's/^/| /' conftest.$ac_ext >&5
        !          7266: 
        !          7267: ac_lo=`expr $ac_mid + 1`
        !          7268:                    if test $ac_lo -le $ac_mid; then
        !          7269:                      ac_lo= ac_hi=
        !          7270:                      break
        !          7271:                    fi
        !          7272:                    ac_mid=`expr 2 '*' $ac_mid + 1`
        !          7273: fi
        !          7274: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7275:   done
        !          7276: else
        !          7277:   echo "$as_me: failed program was:" >&5
        !          7278: sed 's/^/| /' conftest.$ac_ext >&5
        !          7279: 
        !          7280: cat >conftest.$ac_ext <<_ACEOF
        !          7281: /* confdefs.h.  */
        !          7282: _ACEOF
        !          7283: cat confdefs.h >>conftest.$ac_ext
        !          7284: cat >>conftest.$ac_ext <<_ACEOF
        !          7285: /* end confdefs.h.  */
        !          7286: $ac_includes_default
        !          7287: int
        !          7288: main ()
        !          7289: {
        !          7290: static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
        !          7291: test_array [0] = 0
        !          7292: 
        !          7293:   ;
        !          7294:   return 0;
        !          7295: }
        !          7296: _ACEOF
        !          7297: rm -f conftest.$ac_objext
        !          7298: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7299:   (eval $ac_compile) 2>conftest.er1
        !          7300:   ac_status=$?
        !          7301:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7302:   rm -f conftest.er1
        !          7303:   cat conftest.err >&5
        !          7304:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7305:   (exit $ac_status); } &&
        !          7306:         { ac_try='test -z "$ac_c_werror_flag"
        !          7307:                         || test ! -s conftest.err'
        !          7308:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7309:   (eval $ac_try) 2>&5
        !          7310:   ac_status=$?
        !          7311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7312:   (exit $ac_status); }; } &&
        !          7313:         { ac_try='test -s conftest.$ac_objext'
        !          7314:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7315:   (eval $ac_try) 2>&5
        !          7316:   ac_status=$?
        !          7317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7318:   (exit $ac_status); }; }; then
        !          7319:   ac_hi=-1 ac_mid=-1
        !          7320:   while :; do
        !          7321:     cat >conftest.$ac_ext <<_ACEOF
        !          7322: /* confdefs.h.  */
        !          7323: _ACEOF
        !          7324: cat confdefs.h >>conftest.$ac_ext
        !          7325: cat >>conftest.$ac_ext <<_ACEOF
        !          7326: /* end confdefs.h.  */
        !          7327: $ac_includes_default
        !          7328: int
        !          7329: main ()
        !          7330: {
        !          7331: static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
        !          7332: test_array [0] = 0
        !          7333: 
        !          7334:   ;
        !          7335:   return 0;
        !          7336: }
        !          7337: _ACEOF
        !          7338: rm -f conftest.$ac_objext
        !          7339: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7340:   (eval $ac_compile) 2>conftest.er1
        !          7341:   ac_status=$?
        !          7342:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7343:   rm -f conftest.er1
        !          7344:   cat conftest.err >&5
        !          7345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7346:   (exit $ac_status); } &&
        !          7347:         { ac_try='test -z "$ac_c_werror_flag"
        !          7348:                         || test ! -s conftest.err'
        !          7349:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7350:   (eval $ac_try) 2>&5
        !          7351:   ac_status=$?
        !          7352:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7353:   (exit $ac_status); }; } &&
        !          7354:         { ac_try='test -s conftest.$ac_objext'
        !          7355:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7356:   (eval $ac_try) 2>&5
        !          7357:   ac_status=$?
        !          7358:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7359:   (exit $ac_status); }; }; then
        !          7360:   ac_lo=$ac_mid; break
        !          7361: else
        !          7362:   echo "$as_me: failed program was:" >&5
        !          7363: sed 's/^/| /' conftest.$ac_ext >&5
        !          7364: 
        !          7365: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7366:                       if test $ac_mid -le $ac_hi; then
        !          7367:                         ac_lo= ac_hi=
        !          7368:                         break
        !          7369:                       fi
        !          7370:                       ac_mid=`expr 2 '*' $ac_mid`
        !          7371: fi
        !          7372: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7373:   done
        !          7374: else
        !          7375:   echo "$as_me: failed program was:" >&5
        !          7376: sed 's/^/| /' conftest.$ac_ext >&5
        !          7377: 
        !          7378: ac_lo= ac_hi=
        !          7379: fi
        !          7380: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7381: fi
        !          7382: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7383: # Binary search between lo and hi bounds.
        !          7384: while test "x$ac_lo" != "x$ac_hi"; do
        !          7385:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          7386:   cat >conftest.$ac_ext <<_ACEOF
        !          7387: /* confdefs.h.  */
        !          7388: _ACEOF
        !          7389: cat confdefs.h >>conftest.$ac_ext
        !          7390: cat >>conftest.$ac_ext <<_ACEOF
        !          7391: /* end confdefs.h.  */
        !          7392: $ac_includes_default
        !          7393: int
        !          7394: main ()
        !          7395: {
        !          7396: static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
        !          7397: test_array [0] = 0
        !          7398: 
        !          7399:   ;
        !          7400:   return 0;
        !          7401: }
        !          7402: _ACEOF
        !          7403: rm -f conftest.$ac_objext
        !          7404: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7405:   (eval $ac_compile) 2>conftest.er1
        !          7406:   ac_status=$?
        !          7407:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7408:   rm -f conftest.er1
        !          7409:   cat conftest.err >&5
        !          7410:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7411:   (exit $ac_status); } &&
        !          7412:         { ac_try='test -z "$ac_c_werror_flag"
        !          7413:                         || test ! -s conftest.err'
        !          7414:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7415:   (eval $ac_try) 2>&5
        !          7416:   ac_status=$?
        !          7417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7418:   (exit $ac_status); }; } &&
        !          7419:         { ac_try='test -s conftest.$ac_objext'
        !          7420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7421:   (eval $ac_try) 2>&5
        !          7422:   ac_status=$?
        !          7423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7424:   (exit $ac_status); }; }; then
        !          7425:   ac_hi=$ac_mid
        !          7426: else
        !          7427:   echo "$as_me: failed program was:" >&5
        !          7428: sed 's/^/| /' conftest.$ac_ext >&5
        !          7429: 
        !          7430: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          7431: fi
        !          7432: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7433: done
        !          7434: case $ac_lo in
        !          7435: ?*) ac_cv_sizeof_char=$ac_lo;;
        !          7436: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
        !          7437: See \`config.log' for more details." >&5
        !          7438: echo "$as_me: error: cannot compute sizeof (char), 77
        !          7439: See \`config.log' for more details." >&2;}
        !          7440:    { (exit 1); exit 1; }; } ;;
        !          7441: esac
        !          7442: else
        !          7443:   if test "$cross_compiling" = yes; then
        !          7444:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          7445: See \`config.log' for more details." >&5
        !          7446: echo "$as_me: error: cannot run test program while cross compiling
        !          7447: See \`config.log' for more details." >&2;}
        !          7448:    { (exit 1); exit 1; }; }
        !          7449: else
        !          7450:   cat >conftest.$ac_ext <<_ACEOF
        !          7451: /* confdefs.h.  */
        !          7452: _ACEOF
        !          7453: cat confdefs.h >>conftest.$ac_ext
        !          7454: cat >>conftest.$ac_ext <<_ACEOF
        !          7455: /* end confdefs.h.  */
        !          7456: $ac_includes_default
        !          7457: long longval () { return (long) (sizeof (char)); }
        !          7458: unsigned long ulongval () { return (long) (sizeof (char)); }
1.1.1.6   root     7459: #include <stdio.h>
1.1.1.19! root     7460: #include <stdlib.h>
        !          7461: int
        !          7462: main ()
1.1.1.6   root     7463: {
1.1.1.19! root     7464: 
        !          7465:   FILE *f = fopen ("conftest.val", "w");
        !          7466:   if (! f)
        !          7467:     exit (1);
        !          7468:   if (((long) (sizeof (char))) < 0)
        !          7469:     {
        !          7470:       long i = longval ();
        !          7471:       if (i != ((long) (sizeof (char))))
        !          7472:        exit (1);
        !          7473:       fprintf (f, "%ld\n", i);
        !          7474:     }
        !          7475:   else
        !          7476:     {
        !          7477:       unsigned long i = ulongval ();
        !          7478:       if (i != ((long) (sizeof (char))))
        !          7479:        exit (1);
        !          7480:       fprintf (f, "%lu\n", i);
        !          7481:     }
        !          7482:   exit (ferror (f) || fclose (f) != 0);
        !          7483: 
        !          7484:   ;
        !          7485:   return 0;
1.1.1.6   root     7486: }
1.1.1.19! root     7487: _ACEOF
        !          7488: rm -f conftest$ac_exeext
        !          7489: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          7490:   (eval $ac_link) 2>&5
        !          7491:   ac_status=$?
        !          7492:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7493:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          7494:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7495:   (eval $ac_try) 2>&5
        !          7496:   ac_status=$?
        !          7497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7498:   (exit $ac_status); }; }; then
        !          7499:   ac_cv_sizeof_char=`cat conftest.val`
        !          7500: else
        !          7501:   echo "$as_me: program exited with status $ac_status" >&5
        !          7502: echo "$as_me: failed program was:" >&5
        !          7503: sed 's/^/| /' conftest.$ac_ext >&5
        !          7504: 
        !          7505: ( exit $ac_status )
        !          7506: { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
        !          7507: See \`config.log' for more details." >&5
        !          7508: echo "$as_me: error: cannot compute sizeof (char), 77
        !          7509: See \`config.log' for more details." >&2;}
        !          7510:    { (exit 1); exit 1; }; }
        !          7511: fi
        !          7512: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          7513: fi
        !          7514: fi
        !          7515: rm -f conftest.val
1.1.1.6   root     7516: else
                   7517:   ac_cv_sizeof_char=0
                   7518: fi
                   7519: fi
1.1.1.19! root     7520: echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
        !          7521: echo "${ECHO_T}$ac_cv_sizeof_char" >&6
        !          7522: cat >>confdefs.h <<_ACEOF
        !          7523: #define SIZEOF_CHAR $ac_cv_sizeof_char
        !          7524: _ACEOF
        !          7525: 
        !          7526: 
        !          7527: echo "$as_me:$LINENO: checking for short" >&5
        !          7528: echo $ECHO_N "checking for short... $ECHO_C" >&6
        !          7529: if test "${ac_cv_type_short+set}" = set; then
        !          7530:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7531: else
        !          7532:   cat >conftest.$ac_ext <<_ACEOF
        !          7533: /* confdefs.h.  */
        !          7534: _ACEOF
        !          7535: cat confdefs.h >>conftest.$ac_ext
        !          7536: cat >>conftest.$ac_ext <<_ACEOF
        !          7537: /* end confdefs.h.  */
        !          7538: $ac_includes_default
        !          7539: int
        !          7540: main ()
        !          7541: {
        !          7542: if ((short *) 0)
        !          7543:   return 0;
        !          7544: if (sizeof (short))
        !          7545:   return 0;
        !          7546:   ;
        !          7547:   return 0;
        !          7548: }
        !          7549: _ACEOF
        !          7550: rm -f conftest.$ac_objext
        !          7551: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7552:   (eval $ac_compile) 2>conftest.er1
        !          7553:   ac_status=$?
        !          7554:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7555:   rm -f conftest.er1
        !          7556:   cat conftest.err >&5
        !          7557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7558:   (exit $ac_status); } &&
        !          7559:         { ac_try='test -z "$ac_c_werror_flag"
        !          7560:                         || test ! -s conftest.err'
        !          7561:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7562:   (eval $ac_try) 2>&5
        !          7563:   ac_status=$?
        !          7564:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7565:   (exit $ac_status); }; } &&
        !          7566:         { ac_try='test -s conftest.$ac_objext'
        !          7567:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7568:   (eval $ac_try) 2>&5
        !          7569:   ac_status=$?
        !          7570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7571:   (exit $ac_status); }; }; then
        !          7572:   ac_cv_type_short=yes
        !          7573: else
        !          7574:   echo "$as_me: failed program was:" >&5
        !          7575: sed 's/^/| /' conftest.$ac_ext >&5
        !          7576: 
        !          7577: ac_cv_type_short=no
        !          7578: fi
        !          7579: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7580: fi
        !          7581: echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
        !          7582: echo "${ECHO_T}$ac_cv_type_short" >&6
        !          7583: 
        !          7584: echo "$as_me:$LINENO: checking size of short" >&5
        !          7585: echo $ECHO_N "checking size of short... $ECHO_C" >&6
        !          7586: if test "${ac_cv_sizeof_short+set}" = set; then
        !          7587:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7588: else
        !          7589:   if test "$ac_cv_type_short" = yes; then
        !          7590:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          7591:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          7592:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          7593:   # This bug is HP SR number 8606223364.
        !          7594:   if test "$cross_compiling" = yes; then
        !          7595:   # Depending upon the size, compute the lo and hi bounds.
        !          7596: cat >conftest.$ac_ext <<_ACEOF
        !          7597: /* confdefs.h.  */
        !          7598: _ACEOF
        !          7599: cat confdefs.h >>conftest.$ac_ext
        !          7600: cat >>conftest.$ac_ext <<_ACEOF
        !          7601: /* end confdefs.h.  */
        !          7602: $ac_includes_default
        !          7603: int
        !          7604: main ()
        !          7605: {
        !          7606: static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
        !          7607: test_array [0] = 0
        !          7608: 
        !          7609:   ;
        !          7610:   return 0;
        !          7611: }
        !          7612: _ACEOF
        !          7613: rm -f conftest.$ac_objext
        !          7614: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7615:   (eval $ac_compile) 2>conftest.er1
        !          7616:   ac_status=$?
        !          7617:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7618:   rm -f conftest.er1
        !          7619:   cat conftest.err >&5
        !          7620:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7621:   (exit $ac_status); } &&
        !          7622:         { ac_try='test -z "$ac_c_werror_flag"
        !          7623:                         || test ! -s conftest.err'
        !          7624:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7625:   (eval $ac_try) 2>&5
        !          7626:   ac_status=$?
        !          7627:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7628:   (exit $ac_status); }; } &&
        !          7629:         { ac_try='test -s conftest.$ac_objext'
        !          7630:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7631:   (eval $ac_try) 2>&5
        !          7632:   ac_status=$?
        !          7633:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7634:   (exit $ac_status); }; }; then
        !          7635:   ac_lo=0 ac_mid=0
        !          7636:   while :; do
        !          7637:     cat >conftest.$ac_ext <<_ACEOF
        !          7638: /* confdefs.h.  */
        !          7639: _ACEOF
        !          7640: cat confdefs.h >>conftest.$ac_ext
        !          7641: cat >>conftest.$ac_ext <<_ACEOF
        !          7642: /* end confdefs.h.  */
        !          7643: $ac_includes_default
        !          7644: int
        !          7645: main ()
        !          7646: {
        !          7647: static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
        !          7648: test_array [0] = 0
1.1.1.6   root     7649: 
1.1.1.19! root     7650:   ;
        !          7651:   return 0;
        !          7652: }
        !          7653: _ACEOF
        !          7654: rm -f conftest.$ac_objext
        !          7655: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7656:   (eval $ac_compile) 2>conftest.er1
        !          7657:   ac_status=$?
        !          7658:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7659:   rm -f conftest.er1
        !          7660:   cat conftest.err >&5
        !          7661:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7662:   (exit $ac_status); } &&
        !          7663:         { ac_try='test -z "$ac_c_werror_flag"
        !          7664:                         || test ! -s conftest.err'
        !          7665:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7666:   (eval $ac_try) 2>&5
        !          7667:   ac_status=$?
        !          7668:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7669:   (exit $ac_status); }; } &&
        !          7670:         { ac_try='test -s conftest.$ac_objext'
        !          7671:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7672:   (eval $ac_try) 2>&5
        !          7673:   ac_status=$?
        !          7674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7675:   (exit $ac_status); }; }; then
        !          7676:   ac_hi=$ac_mid; break
        !          7677: else
        !          7678:   echo "$as_me: failed program was:" >&5
        !          7679: sed 's/^/| /' conftest.$ac_ext >&5
        !          7680: 
        !          7681: ac_lo=`expr $ac_mid + 1`
        !          7682:                    if test $ac_lo -le $ac_mid; then
        !          7683:                      ac_lo= ac_hi=
        !          7684:                      break
        !          7685:                    fi
        !          7686:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.6   root     7687: fi
1.1.1.19! root     7688: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7689:   done
        !          7690: else
        !          7691:   echo "$as_me: failed program was:" >&5
        !          7692: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.6   root     7693: 
1.1.1.19! root     7694: cat >conftest.$ac_ext <<_ACEOF
        !          7695: /* confdefs.h.  */
        !          7696: _ACEOF
        !          7697: cat confdefs.h >>conftest.$ac_ext
        !          7698: cat >>conftest.$ac_ext <<_ACEOF
        !          7699: /* end confdefs.h.  */
        !          7700: $ac_includes_default
        !          7701: int
        !          7702: main ()
        !          7703: {
        !          7704: static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
        !          7705: test_array [0] = 0
1.1.1.6   root     7706: 
1.1.1.19! root     7707:   ;
        !          7708:   return 0;
        !          7709: }
        !          7710: _ACEOF
        !          7711: rm -f conftest.$ac_objext
        !          7712: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7713:   (eval $ac_compile) 2>conftest.er1
        !          7714:   ac_status=$?
        !          7715:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7716:   rm -f conftest.er1
        !          7717:   cat conftest.err >&5
        !          7718:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7719:   (exit $ac_status); } &&
        !          7720:         { ac_try='test -z "$ac_c_werror_flag"
        !          7721:                         || test ! -s conftest.err'
        !          7722:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7723:   (eval $ac_try) 2>&5
        !          7724:   ac_status=$?
        !          7725:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7726:   (exit $ac_status); }; } &&
        !          7727:         { ac_try='test -s conftest.$ac_objext'
        !          7728:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7729:   (eval $ac_try) 2>&5
        !          7730:   ac_status=$?
        !          7731:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7732:   (exit $ac_status); }; }; then
        !          7733:   ac_hi=-1 ac_mid=-1
        !          7734:   while :; do
        !          7735:     cat >conftest.$ac_ext <<_ACEOF
        !          7736: /* confdefs.h.  */
        !          7737: _ACEOF
        !          7738: cat confdefs.h >>conftest.$ac_ext
        !          7739: cat >>conftest.$ac_ext <<_ACEOF
        !          7740: /* end confdefs.h.  */
        !          7741: $ac_includes_default
        !          7742: int
        !          7743: main ()
        !          7744: {
        !          7745: static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
        !          7746: test_array [0] = 0
        !          7747: 
        !          7748:   ;
        !          7749:   return 0;
        !          7750: }
        !          7751: _ACEOF
        !          7752: rm -f conftest.$ac_objext
        !          7753: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7754:   (eval $ac_compile) 2>conftest.er1
        !          7755:   ac_status=$?
        !          7756:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7757:   rm -f conftest.er1
        !          7758:   cat conftest.err >&5
        !          7759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7760:   (exit $ac_status); } &&
        !          7761:         { ac_try='test -z "$ac_c_werror_flag"
        !          7762:                         || test ! -s conftest.err'
        !          7763:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7764:   (eval $ac_try) 2>&5
        !          7765:   ac_status=$?
        !          7766:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7767:   (exit $ac_status); }; } &&
        !          7768:         { ac_try='test -s conftest.$ac_objext'
        !          7769:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7770:   (eval $ac_try) 2>&5
        !          7771:   ac_status=$?
        !          7772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7773:   (exit $ac_status); }; }; then
        !          7774:   ac_lo=$ac_mid; break
        !          7775: else
        !          7776:   echo "$as_me: failed program was:" >&5
        !          7777: sed 's/^/| /' conftest.$ac_ext >&5
        !          7778: 
        !          7779: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7780:                       if test $ac_mid -le $ac_hi; then
        !          7781:                         ac_lo= ac_hi=
        !          7782:                         break
        !          7783:                       fi
        !          7784:                       ac_mid=`expr 2 '*' $ac_mid`
        !          7785: fi
        !          7786: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7787:   done
1.1.1.6   root     7788: else
1.1.1.19! root     7789:   echo "$as_me: failed program was:" >&5
        !          7790: sed 's/^/| /' conftest.$ac_ext >&5
        !          7791: 
        !          7792: ac_lo= ac_hi=
        !          7793: fi
        !          7794: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7795: fi
        !          7796: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7797: # Binary search between lo and hi bounds.
        !          7798: while test "x$ac_lo" != "x$ac_hi"; do
        !          7799:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          7800:   cat >conftest.$ac_ext <<_ACEOF
        !          7801: /* confdefs.h.  */
        !          7802: _ACEOF
        !          7803: cat confdefs.h >>conftest.$ac_ext
        !          7804: cat >>conftest.$ac_ext <<_ACEOF
        !          7805: /* end confdefs.h.  */
        !          7806: $ac_includes_default
        !          7807: int
        !          7808: main ()
        !          7809: {
        !          7810: static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
        !          7811: test_array [0] = 0
        !          7812: 
        !          7813:   ;
        !          7814:   return 0;
        !          7815: }
        !          7816: _ACEOF
        !          7817: rm -f conftest.$ac_objext
        !          7818: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7819:   (eval $ac_compile) 2>conftest.er1
        !          7820:   ac_status=$?
        !          7821:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7822:   rm -f conftest.er1
        !          7823:   cat conftest.err >&5
        !          7824:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7825:   (exit $ac_status); } &&
        !          7826:         { ac_try='test -z "$ac_c_werror_flag"
        !          7827:                         || test ! -s conftest.err'
        !          7828:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7829:   (eval $ac_try) 2>&5
        !          7830:   ac_status=$?
        !          7831:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7832:   (exit $ac_status); }; } &&
        !          7833:         { ac_try='test -s conftest.$ac_objext'
        !          7834:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7835:   (eval $ac_try) 2>&5
        !          7836:   ac_status=$?
        !          7837:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7838:   (exit $ac_status); }; }; then
        !          7839:   ac_hi=$ac_mid
1.1.1.6   root     7840: else
1.1.1.19! root     7841:   echo "$as_me: failed program was:" >&5
        !          7842: sed 's/^/| /' conftest.$ac_ext >&5
        !          7843: 
        !          7844: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          7845: fi
        !          7846: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7847: done
        !          7848: case $ac_lo in
        !          7849: ?*) ac_cv_sizeof_short=$ac_lo;;
        !          7850: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
        !          7851: See \`config.log' for more details." >&5
        !          7852: echo "$as_me: error: cannot compute sizeof (short), 77
        !          7853: See \`config.log' for more details." >&2;}
        !          7854:    { (exit 1); exit 1; }; } ;;
        !          7855: esac
        !          7856: else
        !          7857:   if test "$cross_compiling" = yes; then
        !          7858:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          7859: See \`config.log' for more details." >&5
        !          7860: echo "$as_me: error: cannot run test program while cross compiling
        !          7861: See \`config.log' for more details." >&2;}
        !          7862:    { (exit 1); exit 1; }; }
        !          7863: else
        !          7864:   cat >conftest.$ac_ext <<_ACEOF
        !          7865: /* confdefs.h.  */
        !          7866: _ACEOF
        !          7867: cat confdefs.h >>conftest.$ac_ext
        !          7868: cat >>conftest.$ac_ext <<_ACEOF
        !          7869: /* end confdefs.h.  */
        !          7870: $ac_includes_default
        !          7871: long longval () { return (long) (sizeof (short)); }
        !          7872: unsigned long ulongval () { return (long) (sizeof (short)); }
1.1.1.6   root     7873: #include <stdio.h>
1.1.1.19! root     7874: #include <stdlib.h>
        !          7875: int
        !          7876: main ()
1.1.1.6   root     7877: {
1.1.1.19! root     7878: 
        !          7879:   FILE *f = fopen ("conftest.val", "w");
        !          7880:   if (! f)
        !          7881:     exit (1);
        !          7882:   if (((long) (sizeof (short))) < 0)
        !          7883:     {
        !          7884:       long i = longval ();
        !          7885:       if (i != ((long) (sizeof (short))))
        !          7886:        exit (1);
        !          7887:       fprintf (f, "%ld\n", i);
        !          7888:     }
        !          7889:   else
        !          7890:     {
        !          7891:       unsigned long i = ulongval ();
        !          7892:       if (i != ((long) (sizeof (short))))
        !          7893:        exit (1);
        !          7894:       fprintf (f, "%lu\n", i);
        !          7895:     }
        !          7896:   exit (ferror (f) || fclose (f) != 0);
        !          7897: 
        !          7898:   ;
        !          7899:   return 0;
1.1.1.6   root     7900: }
1.1.1.19! root     7901: _ACEOF
        !          7902: rm -f conftest$ac_exeext
        !          7903: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          7904:   (eval $ac_link) 2>&5
        !          7905:   ac_status=$?
        !          7906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7907:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          7908:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7909:   (eval $ac_try) 2>&5
        !          7910:   ac_status=$?
        !          7911:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7912:   (exit $ac_status); }; }; then
        !          7913:   ac_cv_sizeof_short=`cat conftest.val`
        !          7914: else
        !          7915:   echo "$as_me: program exited with status $ac_status" >&5
        !          7916: echo "$as_me: failed program was:" >&5
        !          7917: sed 's/^/| /' conftest.$ac_ext >&5
        !          7918: 
        !          7919: ( exit $ac_status )
        !          7920: { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
        !          7921: See \`config.log' for more details." >&5
        !          7922: echo "$as_me: error: cannot compute sizeof (short), 77
        !          7923: See \`config.log' for more details." >&2;}
        !          7924:    { (exit 1); exit 1; }; }
        !          7925: fi
        !          7926: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          7927: fi
        !          7928: fi
        !          7929: rm -f conftest.val
1.1.1.6   root     7930: else
                   7931:   ac_cv_sizeof_short=0
1.1       root     7932: fi
                   7933: fi
1.1.1.19! root     7934: echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
        !          7935: echo "${ECHO_T}$ac_cv_sizeof_short" >&6
        !          7936: cat >>confdefs.h <<_ACEOF
        !          7937: #define SIZEOF_SHORT $ac_cv_sizeof_short
        !          7938: _ACEOF
1.1.1.4   root     7939: 
1.1.1.19! root     7940: 
        !          7941: echo "$as_me:$LINENO: checking for int" >&5
        !          7942: echo $ECHO_N "checking for int... $ECHO_C" >&6
        !          7943: if test "${ac_cv_type_int+set}" = set; then
        !          7944:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7945: else
        !          7946:   cat >conftest.$ac_ext <<_ACEOF
        !          7947: /* confdefs.h.  */
        !          7948: _ACEOF
        !          7949: cat confdefs.h >>conftest.$ac_ext
        !          7950: cat >>conftest.$ac_ext <<_ACEOF
        !          7951: /* end confdefs.h.  */
        !          7952: $ac_includes_default
        !          7953: int
        !          7954: main ()
        !          7955: {
        !          7956: if ((int *) 0)
        !          7957:   return 0;
        !          7958: if (sizeof (int))
        !          7959:   return 0;
        !          7960:   ;
        !          7961:   return 0;
        !          7962: }
        !          7963: _ACEOF
        !          7964: rm -f conftest.$ac_objext
        !          7965: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7966:   (eval $ac_compile) 2>conftest.er1
        !          7967:   ac_status=$?
        !          7968:   grep -v '^ *+' conftest.er1 >conftest.err
        !          7969:   rm -f conftest.er1
        !          7970:   cat conftest.err >&5
        !          7971:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7972:   (exit $ac_status); } &&
        !          7973:         { ac_try='test -z "$ac_c_werror_flag"
        !          7974:                         || test ! -s conftest.err'
        !          7975:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7976:   (eval $ac_try) 2>&5
        !          7977:   ac_status=$?
        !          7978:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7979:   (exit $ac_status); }; } &&
        !          7980:         { ac_try='test -s conftest.$ac_objext'
        !          7981:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7982:   (eval $ac_try) 2>&5
        !          7983:   ac_status=$?
        !          7984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7985:   (exit $ac_status); }; }; then
        !          7986:   ac_cv_type_int=yes
        !          7987: else
        !          7988:   echo "$as_me: failed program was:" >&5
        !          7989: sed 's/^/| /' conftest.$ac_ext >&5
        !          7990: 
        !          7991: ac_cv_type_int=no
        !          7992: fi
        !          7993: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7994: fi
        !          7995: echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
        !          7996: echo "${ECHO_T}$ac_cv_type_int" >&6
        !          7997: 
        !          7998: echo "$as_me:$LINENO: checking size of int" >&5
        !          7999: echo $ECHO_N "checking size of int... $ECHO_C" >&6
        !          8000: if test "${ac_cv_sizeof_int+set}" = set; then
        !          8001:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8002: else
        !          8003:   if test "$ac_cv_type_int" = yes; then
        !          8004:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          8005:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8006:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8007:   # This bug is HP SR number 8606223364.
        !          8008:   if test "$cross_compiling" = yes; then
        !          8009:   # Depending upon the size, compute the lo and hi bounds.
        !          8010: cat >conftest.$ac_ext <<_ACEOF
        !          8011: /* confdefs.h.  */
        !          8012: _ACEOF
        !          8013: cat confdefs.h >>conftest.$ac_ext
        !          8014: cat >>conftest.$ac_ext <<_ACEOF
        !          8015: /* end confdefs.h.  */
        !          8016: $ac_includes_default
        !          8017: int
        !          8018: main ()
        !          8019: {
        !          8020: static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
        !          8021: test_array [0] = 0
        !          8022: 
        !          8023:   ;
        !          8024:   return 0;
        !          8025: }
        !          8026: _ACEOF
        !          8027: rm -f conftest.$ac_objext
        !          8028: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8029:   (eval $ac_compile) 2>conftest.er1
        !          8030:   ac_status=$?
        !          8031:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8032:   rm -f conftest.er1
        !          8033:   cat conftest.err >&5
        !          8034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8035:   (exit $ac_status); } &&
        !          8036:         { ac_try='test -z "$ac_c_werror_flag"
        !          8037:                         || test ! -s conftest.err'
        !          8038:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8039:   (eval $ac_try) 2>&5
        !          8040:   ac_status=$?
        !          8041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8042:   (exit $ac_status); }; } &&
        !          8043:         { ac_try='test -s conftest.$ac_objext'
        !          8044:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8045:   (eval $ac_try) 2>&5
        !          8046:   ac_status=$?
        !          8047:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8048:   (exit $ac_status); }; }; then
        !          8049:   ac_lo=0 ac_mid=0
        !          8050:   while :; do
        !          8051:     cat >conftest.$ac_ext <<_ACEOF
        !          8052: /* confdefs.h.  */
        !          8053: _ACEOF
        !          8054: cat confdefs.h >>conftest.$ac_ext
        !          8055: cat >>conftest.$ac_ext <<_ACEOF
        !          8056: /* end confdefs.h.  */
        !          8057: $ac_includes_default
        !          8058: int
        !          8059: main ()
        !          8060: {
        !          8061: static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
        !          8062: test_array [0] = 0
        !          8063: 
        !          8064:   ;
        !          8065:   return 0;
        !          8066: }
        !          8067: _ACEOF
        !          8068: rm -f conftest.$ac_objext
        !          8069: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8070:   (eval $ac_compile) 2>conftest.er1
        !          8071:   ac_status=$?
        !          8072:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8073:   rm -f conftest.er1
        !          8074:   cat conftest.err >&5
        !          8075:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8076:   (exit $ac_status); } &&
        !          8077:         { ac_try='test -z "$ac_c_werror_flag"
        !          8078:                         || test ! -s conftest.err'
        !          8079:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8080:   (eval $ac_try) 2>&5
        !          8081:   ac_status=$?
        !          8082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8083:   (exit $ac_status); }; } &&
        !          8084:         { ac_try='test -s conftest.$ac_objext'
        !          8085:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8086:   (eval $ac_try) 2>&5
        !          8087:   ac_status=$?
        !          8088:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8089:   (exit $ac_status); }; }; then
        !          8090:   ac_hi=$ac_mid; break
        !          8091: else
        !          8092:   echo "$as_me: failed program was:" >&5
        !          8093: sed 's/^/| /' conftest.$ac_ext >&5
        !          8094: 
        !          8095: ac_lo=`expr $ac_mid + 1`
        !          8096:                    if test $ac_lo -le $ac_mid; then
        !          8097:                      ac_lo= ac_hi=
        !          8098:                      break
        !          8099:                    fi
        !          8100:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8101: fi
1.1.1.19! root     8102: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8103:   done
        !          8104: else
        !          8105:   echo "$as_me: failed program was:" >&5
        !          8106: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8107: 
1.1.1.19! root     8108: cat >conftest.$ac_ext <<_ACEOF
        !          8109: /* confdefs.h.  */
        !          8110: _ACEOF
        !          8111: cat confdefs.h >>conftest.$ac_ext
        !          8112: cat >>conftest.$ac_ext <<_ACEOF
        !          8113: /* end confdefs.h.  */
        !          8114: $ac_includes_default
        !          8115: int
        !          8116: main ()
        !          8117: {
        !          8118: static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
        !          8119: test_array [0] = 0
1.1       root     8120: 
1.1.1.19! root     8121:   ;
        !          8122:   return 0;
        !          8123: }
        !          8124: _ACEOF
        !          8125: rm -f conftest.$ac_objext
        !          8126: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8127:   (eval $ac_compile) 2>conftest.er1
        !          8128:   ac_status=$?
        !          8129:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8130:   rm -f conftest.er1
        !          8131:   cat conftest.err >&5
        !          8132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8133:   (exit $ac_status); } &&
        !          8134:         { ac_try='test -z "$ac_c_werror_flag"
        !          8135:                         || test ! -s conftest.err'
        !          8136:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8137:   (eval $ac_try) 2>&5
        !          8138:   ac_status=$?
        !          8139:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8140:   (exit $ac_status); }; } &&
        !          8141:         { ac_try='test -s conftest.$ac_objext'
        !          8142:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8143:   (eval $ac_try) 2>&5
        !          8144:   ac_status=$?
        !          8145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8146:   (exit $ac_status); }; }; then
        !          8147:   ac_hi=-1 ac_mid=-1
        !          8148:   while :; do
        !          8149:     cat >conftest.$ac_ext <<_ACEOF
        !          8150: /* confdefs.h.  */
        !          8151: _ACEOF
        !          8152: cat confdefs.h >>conftest.$ac_ext
        !          8153: cat >>conftest.$ac_ext <<_ACEOF
        !          8154: /* end confdefs.h.  */
        !          8155: $ac_includes_default
        !          8156: int
        !          8157: main ()
        !          8158: {
        !          8159: static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
        !          8160: test_array [0] = 0
        !          8161: 
        !          8162:   ;
        !          8163:   return 0;
        !          8164: }
        !          8165: _ACEOF
        !          8166: rm -f conftest.$ac_objext
        !          8167: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8168:   (eval $ac_compile) 2>conftest.er1
        !          8169:   ac_status=$?
        !          8170:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8171:   rm -f conftest.er1
        !          8172:   cat conftest.err >&5
        !          8173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8174:   (exit $ac_status); } &&
        !          8175:         { ac_try='test -z "$ac_c_werror_flag"
        !          8176:                         || test ! -s conftest.err'
        !          8177:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8178:   (eval $ac_try) 2>&5
        !          8179:   ac_status=$?
        !          8180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8181:   (exit $ac_status); }; } &&
        !          8182:         { ac_try='test -s conftest.$ac_objext'
        !          8183:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8184:   (eval $ac_try) 2>&5
        !          8185:   ac_status=$?
        !          8186:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8187:   (exit $ac_status); }; }; then
        !          8188:   ac_lo=$ac_mid; break
        !          8189: else
        !          8190:   echo "$as_me: failed program was:" >&5
        !          8191: sed 's/^/| /' conftest.$ac_ext >&5
        !          8192: 
        !          8193: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          8194:                       if test $ac_mid -le $ac_hi; then
        !          8195:                         ac_lo= ac_hi=
        !          8196:                         break
        !          8197:                       fi
        !          8198:                       ac_mid=`expr 2 '*' $ac_mid`
        !          8199: fi
        !          8200: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8201:   done
1.1       root     8202: else
1.1.1.19! root     8203:   echo "$as_me: failed program was:" >&5
        !          8204: sed 's/^/| /' conftest.$ac_ext >&5
        !          8205: 
        !          8206: ac_lo= ac_hi=
        !          8207: fi
        !          8208: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8209: fi
        !          8210: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8211: # Binary search between lo and hi bounds.
        !          8212: while test "x$ac_lo" != "x$ac_hi"; do
        !          8213:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          8214:   cat >conftest.$ac_ext <<_ACEOF
        !          8215: /* confdefs.h.  */
        !          8216: _ACEOF
        !          8217: cat confdefs.h >>conftest.$ac_ext
        !          8218: cat >>conftest.$ac_ext <<_ACEOF
        !          8219: /* end confdefs.h.  */
        !          8220: $ac_includes_default
        !          8221: int
        !          8222: main ()
        !          8223: {
        !          8224: static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
        !          8225: test_array [0] = 0
        !          8226: 
        !          8227:   ;
        !          8228:   return 0;
        !          8229: }
        !          8230: _ACEOF
        !          8231: rm -f conftest.$ac_objext
        !          8232: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8233:   (eval $ac_compile) 2>conftest.er1
        !          8234:   ac_status=$?
        !          8235:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8236:   rm -f conftest.er1
        !          8237:   cat conftest.err >&5
        !          8238:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8239:   (exit $ac_status); } &&
        !          8240:         { ac_try='test -z "$ac_c_werror_flag"
        !          8241:                         || test ! -s conftest.err'
        !          8242:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8243:   (eval $ac_try) 2>&5
        !          8244:   ac_status=$?
        !          8245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8246:   (exit $ac_status); }; } &&
        !          8247:         { ac_try='test -s conftest.$ac_objext'
        !          8248:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8249:   (eval $ac_try) 2>&5
        !          8250:   ac_status=$?
        !          8251:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8252:   (exit $ac_status); }; }; then
        !          8253:   ac_hi=$ac_mid
1.1       root     8254: else
1.1.1.19! root     8255:   echo "$as_me: failed program was:" >&5
        !          8256: sed 's/^/| /' conftest.$ac_ext >&5
        !          8257: 
        !          8258: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          8259: fi
        !          8260: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8261: done
        !          8262: case $ac_lo in
        !          8263: ?*) ac_cv_sizeof_int=$ac_lo;;
        !          8264: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
        !          8265: See \`config.log' for more details." >&5
        !          8266: echo "$as_me: error: cannot compute sizeof (int), 77
        !          8267: See \`config.log' for more details." >&2;}
        !          8268:    { (exit 1); exit 1; }; } ;;
        !          8269: esac
        !          8270: else
        !          8271:   if test "$cross_compiling" = yes; then
        !          8272:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          8273: See \`config.log' for more details." >&5
        !          8274: echo "$as_me: error: cannot run test program while cross compiling
        !          8275: See \`config.log' for more details." >&2;}
        !          8276:    { (exit 1); exit 1; }; }
        !          8277: else
        !          8278:   cat >conftest.$ac_ext <<_ACEOF
        !          8279: /* confdefs.h.  */
        !          8280: _ACEOF
        !          8281: cat confdefs.h >>conftest.$ac_ext
        !          8282: cat >>conftest.$ac_ext <<_ACEOF
        !          8283: /* end confdefs.h.  */
        !          8284: $ac_includes_default
        !          8285: long longval () { return (long) (sizeof (int)); }
        !          8286: unsigned long ulongval () { return (long) (sizeof (int)); }
1.1       root     8287: #include <stdio.h>
1.1.1.19! root     8288: #include <stdlib.h>
        !          8289: int
        !          8290: main ()
1.1       root     8291: {
1.1.1.19! root     8292: 
        !          8293:   FILE *f = fopen ("conftest.val", "w");
        !          8294:   if (! f)
        !          8295:     exit (1);
        !          8296:   if (((long) (sizeof (int))) < 0)
        !          8297:     {
        !          8298:       long i = longval ();
        !          8299:       if (i != ((long) (sizeof (int))))
        !          8300:        exit (1);
        !          8301:       fprintf (f, "%ld\n", i);
        !          8302:     }
        !          8303:   else
        !          8304:     {
        !          8305:       unsigned long i = ulongval ();
        !          8306:       if (i != ((long) (sizeof (int))))
        !          8307:        exit (1);
        !          8308:       fprintf (f, "%lu\n", i);
        !          8309:     }
        !          8310:   exit (ferror (f) || fclose (f) != 0);
        !          8311: 
        !          8312:   ;
        !          8313:   return 0;
1.1       root     8314: }
1.1.1.19! root     8315: _ACEOF
        !          8316: rm -f conftest$ac_exeext
        !          8317: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          8318:   (eval $ac_link) 2>&5
        !          8319:   ac_status=$?
        !          8320:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8321:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8322:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8323:   (eval $ac_try) 2>&5
        !          8324:   ac_status=$?
        !          8325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8326:   (exit $ac_status); }; }; then
        !          8327:   ac_cv_sizeof_int=`cat conftest.val`
        !          8328: else
        !          8329:   echo "$as_me: program exited with status $ac_status" >&5
        !          8330: echo "$as_me: failed program was:" >&5
        !          8331: sed 's/^/| /' conftest.$ac_ext >&5
        !          8332: 
        !          8333: ( exit $ac_status )
        !          8334: { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
        !          8335: See \`config.log' for more details." >&5
        !          8336: echo "$as_me: error: cannot compute sizeof (int), 77
        !          8337: See \`config.log' for more details." >&2;}
        !          8338:    { (exit 1); exit 1; }; }
        !          8339: fi
        !          8340: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          8341: fi
        !          8342: fi
        !          8343: rm -f conftest.val
1.1       root     8344: else
                   8345:   ac_cv_sizeof_int=0
                   8346: fi
                   8347: fi
1.1.1.19! root     8348: echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
        !          8349: echo "${ECHO_T}$ac_cv_sizeof_int" >&6
        !          8350: cat >>confdefs.h <<_ACEOF
        !          8351: #define SIZEOF_INT $ac_cv_sizeof_int
        !          8352: _ACEOF
        !          8353: 
        !          8354: 
        !          8355: echo "$as_me:$LINENO: checking for long" >&5
        !          8356: echo $ECHO_N "checking for long... $ECHO_C" >&6
        !          8357: if test "${ac_cv_type_long+set}" = set; then
        !          8358:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8359: else
        !          8360:   cat >conftest.$ac_ext <<_ACEOF
        !          8361: /* confdefs.h.  */
        !          8362: _ACEOF
        !          8363: cat confdefs.h >>conftest.$ac_ext
        !          8364: cat >>conftest.$ac_ext <<_ACEOF
        !          8365: /* end confdefs.h.  */
        !          8366: $ac_includes_default
        !          8367: int
        !          8368: main ()
        !          8369: {
        !          8370: if ((long *) 0)
        !          8371:   return 0;
        !          8372: if (sizeof (long))
        !          8373:   return 0;
        !          8374:   ;
        !          8375:   return 0;
        !          8376: }
        !          8377: _ACEOF
        !          8378: rm -f conftest.$ac_objext
        !          8379: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8380:   (eval $ac_compile) 2>conftest.er1
        !          8381:   ac_status=$?
        !          8382:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8383:   rm -f conftest.er1
        !          8384:   cat conftest.err >&5
        !          8385:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8386:   (exit $ac_status); } &&
        !          8387:         { ac_try='test -z "$ac_c_werror_flag"
        !          8388:                         || test ! -s conftest.err'
        !          8389:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8390:   (eval $ac_try) 2>&5
        !          8391:   ac_status=$?
        !          8392:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8393:   (exit $ac_status); }; } &&
        !          8394:         { ac_try='test -s conftest.$ac_objext'
        !          8395:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8396:   (eval $ac_try) 2>&5
        !          8397:   ac_status=$?
        !          8398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8399:   (exit $ac_status); }; }; then
        !          8400:   ac_cv_type_long=yes
        !          8401: else
        !          8402:   echo "$as_me: failed program was:" >&5
        !          8403: sed 's/^/| /' conftest.$ac_ext >&5
        !          8404: 
        !          8405: ac_cv_type_long=no
        !          8406: fi
        !          8407: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8408: fi
        !          8409: echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
        !          8410: echo "${ECHO_T}$ac_cv_type_long" >&6
        !          8411: 
        !          8412: echo "$as_me:$LINENO: checking size of long" >&5
        !          8413: echo $ECHO_N "checking size of long... $ECHO_C" >&6
        !          8414: if test "${ac_cv_sizeof_long+set}" = set; then
        !          8415:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8416: else
        !          8417:   if test "$ac_cv_type_long" = yes; then
        !          8418:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          8419:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8420:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8421:   # This bug is HP SR number 8606223364.
        !          8422:   if test "$cross_compiling" = yes; then
        !          8423:   # Depending upon the size, compute the lo and hi bounds.
        !          8424: cat >conftest.$ac_ext <<_ACEOF
        !          8425: /* confdefs.h.  */
        !          8426: _ACEOF
        !          8427: cat confdefs.h >>conftest.$ac_ext
        !          8428: cat >>conftest.$ac_ext <<_ACEOF
        !          8429: /* end confdefs.h.  */
        !          8430: $ac_includes_default
        !          8431: int
        !          8432: main ()
        !          8433: {
        !          8434: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
        !          8435: test_array [0] = 0
1.1.1.4   root     8436: 
1.1.1.19! root     8437:   ;
        !          8438:   return 0;
        !          8439: }
        !          8440: _ACEOF
        !          8441: rm -f conftest.$ac_objext
        !          8442: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8443:   (eval $ac_compile) 2>conftest.er1
        !          8444:   ac_status=$?
        !          8445:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8446:   rm -f conftest.er1
        !          8447:   cat conftest.err >&5
        !          8448:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8449:   (exit $ac_status); } &&
        !          8450:         { ac_try='test -z "$ac_c_werror_flag"
        !          8451:                         || test ! -s conftest.err'
        !          8452:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8453:   (eval $ac_try) 2>&5
        !          8454:   ac_status=$?
        !          8455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8456:   (exit $ac_status); }; } &&
        !          8457:         { ac_try='test -s conftest.$ac_objext'
        !          8458:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8459:   (eval $ac_try) 2>&5
        !          8460:   ac_status=$?
        !          8461:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8462:   (exit $ac_status); }; }; then
        !          8463:   ac_lo=0 ac_mid=0
        !          8464:   while :; do
        !          8465:     cat >conftest.$ac_ext <<_ACEOF
        !          8466: /* confdefs.h.  */
        !          8467: _ACEOF
        !          8468: cat confdefs.h >>conftest.$ac_ext
        !          8469: cat >>conftest.$ac_ext <<_ACEOF
        !          8470: /* end confdefs.h.  */
        !          8471: $ac_includes_default
        !          8472: int
        !          8473: main ()
        !          8474: {
        !          8475: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
        !          8476: test_array [0] = 0
        !          8477: 
        !          8478:   ;
        !          8479:   return 0;
        !          8480: }
        !          8481: _ACEOF
        !          8482: rm -f conftest.$ac_objext
        !          8483: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8484:   (eval $ac_compile) 2>conftest.er1
        !          8485:   ac_status=$?
        !          8486:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8487:   rm -f conftest.er1
        !          8488:   cat conftest.err >&5
        !          8489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8490:   (exit $ac_status); } &&
        !          8491:         { ac_try='test -z "$ac_c_werror_flag"
        !          8492:                         || test ! -s conftest.err'
        !          8493:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8494:   (eval $ac_try) 2>&5
        !          8495:   ac_status=$?
        !          8496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8497:   (exit $ac_status); }; } &&
        !          8498:         { ac_try='test -s conftest.$ac_objext'
        !          8499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8500:   (eval $ac_try) 2>&5
        !          8501:   ac_status=$?
        !          8502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8503:   (exit $ac_status); }; }; then
        !          8504:   ac_hi=$ac_mid; break
        !          8505: else
        !          8506:   echo "$as_me: failed program was:" >&5
        !          8507: sed 's/^/| /' conftest.$ac_ext >&5
        !          8508: 
        !          8509: ac_lo=`expr $ac_mid + 1`
        !          8510:                    if test $ac_lo -le $ac_mid; then
        !          8511:                      ac_lo= ac_hi=
        !          8512:                      break
        !          8513:                    fi
        !          8514:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8515: fi
1.1.1.19! root     8516: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8517:   done
        !          8518: else
        !          8519:   echo "$as_me: failed program was:" >&5
        !          8520: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8521: 
1.1.1.19! root     8522: cat >conftest.$ac_ext <<_ACEOF
        !          8523: /* confdefs.h.  */
        !          8524: _ACEOF
        !          8525: cat confdefs.h >>conftest.$ac_ext
        !          8526: cat >>conftest.$ac_ext <<_ACEOF
        !          8527: /* end confdefs.h.  */
        !          8528: $ac_includes_default
        !          8529: int
        !          8530: main ()
        !          8531: {
        !          8532: static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
        !          8533: test_array [0] = 0
1.1       root     8534: 
1.1.1.19! root     8535:   ;
        !          8536:   return 0;
        !          8537: }
        !          8538: _ACEOF
        !          8539: rm -f conftest.$ac_objext
        !          8540: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8541:   (eval $ac_compile) 2>conftest.er1
        !          8542:   ac_status=$?
        !          8543:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8544:   rm -f conftest.er1
        !          8545:   cat conftest.err >&5
        !          8546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8547:   (exit $ac_status); } &&
        !          8548:         { ac_try='test -z "$ac_c_werror_flag"
        !          8549:                         || test ! -s conftest.err'
        !          8550:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8551:   (eval $ac_try) 2>&5
        !          8552:   ac_status=$?
        !          8553:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8554:   (exit $ac_status); }; } &&
        !          8555:         { ac_try='test -s conftest.$ac_objext'
        !          8556:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8557:   (eval $ac_try) 2>&5
        !          8558:   ac_status=$?
        !          8559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8560:   (exit $ac_status); }; }; then
        !          8561:   ac_hi=-1 ac_mid=-1
        !          8562:   while :; do
        !          8563:     cat >conftest.$ac_ext <<_ACEOF
        !          8564: /* confdefs.h.  */
        !          8565: _ACEOF
        !          8566: cat confdefs.h >>conftest.$ac_ext
        !          8567: cat >>conftest.$ac_ext <<_ACEOF
        !          8568: /* end confdefs.h.  */
        !          8569: $ac_includes_default
        !          8570: int
        !          8571: main ()
        !          8572: {
        !          8573: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
        !          8574: test_array [0] = 0
        !          8575: 
        !          8576:   ;
        !          8577:   return 0;
        !          8578: }
        !          8579: _ACEOF
        !          8580: rm -f conftest.$ac_objext
        !          8581: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8582:   (eval $ac_compile) 2>conftest.er1
        !          8583:   ac_status=$?
        !          8584:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8585:   rm -f conftest.er1
        !          8586:   cat conftest.err >&5
        !          8587:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8588:   (exit $ac_status); } &&
        !          8589:         { ac_try='test -z "$ac_c_werror_flag"
        !          8590:                         || test ! -s conftest.err'
        !          8591:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8592:   (eval $ac_try) 2>&5
        !          8593:   ac_status=$?
        !          8594:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8595:   (exit $ac_status); }; } &&
        !          8596:         { ac_try='test -s conftest.$ac_objext'
        !          8597:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8598:   (eval $ac_try) 2>&5
        !          8599:   ac_status=$?
        !          8600:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8601:   (exit $ac_status); }; }; then
        !          8602:   ac_lo=$ac_mid; break
        !          8603: else
        !          8604:   echo "$as_me: failed program was:" >&5
        !          8605: sed 's/^/| /' conftest.$ac_ext >&5
        !          8606: 
        !          8607: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          8608:                       if test $ac_mid -le $ac_hi; then
        !          8609:                         ac_lo= ac_hi=
        !          8610:                         break
        !          8611:                       fi
        !          8612:                       ac_mid=`expr 2 '*' $ac_mid`
        !          8613: fi
        !          8614: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8615:   done
1.1       root     8616: else
1.1.1.19! root     8617:   echo "$as_me: failed program was:" >&5
        !          8618: sed 's/^/| /' conftest.$ac_ext >&5
        !          8619: 
        !          8620: ac_lo= ac_hi=
        !          8621: fi
        !          8622: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8623: fi
        !          8624: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8625: # Binary search between lo and hi bounds.
        !          8626: while test "x$ac_lo" != "x$ac_hi"; do
        !          8627:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          8628:   cat >conftest.$ac_ext <<_ACEOF
        !          8629: /* confdefs.h.  */
        !          8630: _ACEOF
        !          8631: cat confdefs.h >>conftest.$ac_ext
        !          8632: cat >>conftest.$ac_ext <<_ACEOF
        !          8633: /* end confdefs.h.  */
        !          8634: $ac_includes_default
        !          8635: int
        !          8636: main ()
        !          8637: {
        !          8638: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
        !          8639: test_array [0] = 0
        !          8640: 
        !          8641:   ;
        !          8642:   return 0;
        !          8643: }
        !          8644: _ACEOF
        !          8645: rm -f conftest.$ac_objext
        !          8646: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8647:   (eval $ac_compile) 2>conftest.er1
        !          8648:   ac_status=$?
        !          8649:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8650:   rm -f conftest.er1
        !          8651:   cat conftest.err >&5
        !          8652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8653:   (exit $ac_status); } &&
        !          8654:         { ac_try='test -z "$ac_c_werror_flag"
        !          8655:                         || test ! -s conftest.err'
        !          8656:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8657:   (eval $ac_try) 2>&5
        !          8658:   ac_status=$?
        !          8659:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8660:   (exit $ac_status); }; } &&
        !          8661:         { ac_try='test -s conftest.$ac_objext'
        !          8662:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8663:   (eval $ac_try) 2>&5
        !          8664:   ac_status=$?
        !          8665:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8666:   (exit $ac_status); }; }; then
        !          8667:   ac_hi=$ac_mid
1.1       root     8668: else
1.1.1.19! root     8669:   echo "$as_me: failed program was:" >&5
        !          8670: sed 's/^/| /' conftest.$ac_ext >&5
        !          8671: 
        !          8672: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          8673: fi
        !          8674: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8675: done
        !          8676: case $ac_lo in
        !          8677: ?*) ac_cv_sizeof_long=$ac_lo;;
        !          8678: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
        !          8679: See \`config.log' for more details." >&5
        !          8680: echo "$as_me: error: cannot compute sizeof (long), 77
        !          8681: See \`config.log' for more details." >&2;}
        !          8682:    { (exit 1); exit 1; }; } ;;
        !          8683: esac
        !          8684: else
        !          8685:   if test "$cross_compiling" = yes; then
        !          8686:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          8687: See \`config.log' for more details." >&5
        !          8688: echo "$as_me: error: cannot run test program while cross compiling
        !          8689: See \`config.log' for more details." >&2;}
        !          8690:    { (exit 1); exit 1; }; }
        !          8691: else
        !          8692:   cat >conftest.$ac_ext <<_ACEOF
        !          8693: /* confdefs.h.  */
        !          8694: _ACEOF
        !          8695: cat confdefs.h >>conftest.$ac_ext
        !          8696: cat >>conftest.$ac_ext <<_ACEOF
        !          8697: /* end confdefs.h.  */
        !          8698: $ac_includes_default
        !          8699: long longval () { return (long) (sizeof (long)); }
        !          8700: unsigned long ulongval () { return (long) (sizeof (long)); }
1.1       root     8701: #include <stdio.h>
1.1.1.19! root     8702: #include <stdlib.h>
        !          8703: int
        !          8704: main ()
1.1       root     8705: {
1.1.1.19! root     8706: 
        !          8707:   FILE *f = fopen ("conftest.val", "w");
        !          8708:   if (! f)
        !          8709:     exit (1);
        !          8710:   if (((long) (sizeof (long))) < 0)
        !          8711:     {
        !          8712:       long i = longval ();
        !          8713:       if (i != ((long) (sizeof (long))))
        !          8714:        exit (1);
        !          8715:       fprintf (f, "%ld\n", i);
        !          8716:     }
        !          8717:   else
        !          8718:     {
        !          8719:       unsigned long i = ulongval ();
        !          8720:       if (i != ((long) (sizeof (long))))
        !          8721:        exit (1);
        !          8722:       fprintf (f, "%lu\n", i);
        !          8723:     }
        !          8724:   exit (ferror (f) || fclose (f) != 0);
        !          8725: 
        !          8726:   ;
        !          8727:   return 0;
1.1       root     8728: }
1.1.1.19! root     8729: _ACEOF
        !          8730: rm -f conftest$ac_exeext
        !          8731: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          8732:   (eval $ac_link) 2>&5
        !          8733:   ac_status=$?
        !          8734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8735:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8736:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8737:   (eval $ac_try) 2>&5
        !          8738:   ac_status=$?
        !          8739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8740:   (exit $ac_status); }; }; then
        !          8741:   ac_cv_sizeof_long=`cat conftest.val`
        !          8742: else
        !          8743:   echo "$as_me: program exited with status $ac_status" >&5
        !          8744: echo "$as_me: failed program was:" >&5
        !          8745: sed 's/^/| /' conftest.$ac_ext >&5
        !          8746: 
        !          8747: ( exit $ac_status )
        !          8748: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
        !          8749: See \`config.log' for more details." >&5
        !          8750: echo "$as_me: error: cannot compute sizeof (long), 77
        !          8751: See \`config.log' for more details." >&2;}
        !          8752:    { (exit 1); exit 1; }; }
        !          8753: fi
        !          8754: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          8755: fi
        !          8756: fi
        !          8757: rm -f conftest.val
1.1       root     8758: else
                   8759:   ac_cv_sizeof_long=0
                   8760: fi
                   8761: fi
1.1.1.19! root     8762: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
        !          8763: echo "${ECHO_T}$ac_cv_sizeof_long" >&6
        !          8764: cat >>confdefs.h <<_ACEOF
        !          8765: #define SIZEOF_LONG $ac_cv_sizeof_long
        !          8766: _ACEOF
1.1.1.4   root     8767: 
1.1.1.19! root     8768: 
        !          8769: echo "$as_me:$LINENO: checking for long long" >&5
        !          8770: echo $ECHO_N "checking for long long... $ECHO_C" >&6
        !          8771: if test "${ac_cv_type_long_long+set}" = set; then
        !          8772:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8773: else
        !          8774:   cat >conftest.$ac_ext <<_ACEOF
        !          8775: /* confdefs.h.  */
        !          8776: _ACEOF
        !          8777: cat confdefs.h >>conftest.$ac_ext
        !          8778: cat >>conftest.$ac_ext <<_ACEOF
        !          8779: /* end confdefs.h.  */
        !          8780: $ac_includes_default
        !          8781: int
        !          8782: main ()
        !          8783: {
        !          8784: if ((long long *) 0)
        !          8785:   return 0;
        !          8786: if (sizeof (long long))
        !          8787:   return 0;
        !          8788:   ;
        !          8789:   return 0;
        !          8790: }
        !          8791: _ACEOF
        !          8792: rm -f conftest.$ac_objext
        !          8793: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8794:   (eval $ac_compile) 2>conftest.er1
        !          8795:   ac_status=$?
        !          8796:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8797:   rm -f conftest.er1
        !          8798:   cat conftest.err >&5
        !          8799:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8800:   (exit $ac_status); } &&
        !          8801:         { ac_try='test -z "$ac_c_werror_flag"
        !          8802:                         || test ! -s conftest.err'
        !          8803:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8804:   (eval $ac_try) 2>&5
        !          8805:   ac_status=$?
        !          8806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8807:   (exit $ac_status); }; } &&
        !          8808:         { ac_try='test -s conftest.$ac_objext'
        !          8809:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8810:   (eval $ac_try) 2>&5
        !          8811:   ac_status=$?
        !          8812:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8813:   (exit $ac_status); }; }; then
        !          8814:   ac_cv_type_long_long=yes
        !          8815: else
        !          8816:   echo "$as_me: failed program was:" >&5
        !          8817: sed 's/^/| /' conftest.$ac_ext >&5
        !          8818: 
        !          8819: ac_cv_type_long_long=no
        !          8820: fi
        !          8821: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8822: fi
        !          8823: echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
        !          8824: echo "${ECHO_T}$ac_cv_type_long_long" >&6
        !          8825: 
        !          8826: echo "$as_me:$LINENO: checking size of long long" >&5
        !          8827: echo $ECHO_N "checking size of long long... $ECHO_C" >&6
        !          8828: if test "${ac_cv_sizeof_long_long+set}" = set; then
        !          8829:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8830: else
        !          8831:   if test "$ac_cv_type_long_long" = yes; then
        !          8832:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          8833:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          8834:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          8835:   # This bug is HP SR number 8606223364.
        !          8836:   if test "$cross_compiling" = yes; then
        !          8837:   # Depending upon the size, compute the lo and hi bounds.
        !          8838: cat >conftest.$ac_ext <<_ACEOF
        !          8839: /* confdefs.h.  */
        !          8840: _ACEOF
        !          8841: cat confdefs.h >>conftest.$ac_ext
        !          8842: cat >>conftest.$ac_ext <<_ACEOF
        !          8843: /* end confdefs.h.  */
        !          8844: $ac_includes_default
        !          8845: int
        !          8846: main ()
        !          8847: {
        !          8848: static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
        !          8849: test_array [0] = 0
        !          8850: 
        !          8851:   ;
        !          8852:   return 0;
        !          8853: }
        !          8854: _ACEOF
        !          8855: rm -f conftest.$ac_objext
        !          8856: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8857:   (eval $ac_compile) 2>conftest.er1
        !          8858:   ac_status=$?
        !          8859:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8860:   rm -f conftest.er1
        !          8861:   cat conftest.err >&5
        !          8862:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8863:   (exit $ac_status); } &&
        !          8864:         { ac_try='test -z "$ac_c_werror_flag"
        !          8865:                         || test ! -s conftest.err'
        !          8866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8867:   (eval $ac_try) 2>&5
        !          8868:   ac_status=$?
        !          8869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8870:   (exit $ac_status); }; } &&
        !          8871:         { ac_try='test -s conftest.$ac_objext'
        !          8872:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8873:   (eval $ac_try) 2>&5
        !          8874:   ac_status=$?
        !          8875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8876:   (exit $ac_status); }; }; then
        !          8877:   ac_lo=0 ac_mid=0
        !          8878:   while :; do
        !          8879:     cat >conftest.$ac_ext <<_ACEOF
        !          8880: /* confdefs.h.  */
        !          8881: _ACEOF
        !          8882: cat confdefs.h >>conftest.$ac_ext
        !          8883: cat >>conftest.$ac_ext <<_ACEOF
        !          8884: /* end confdefs.h.  */
        !          8885: $ac_includes_default
        !          8886: int
        !          8887: main ()
        !          8888: {
        !          8889: static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
        !          8890: test_array [0] = 0
        !          8891: 
        !          8892:   ;
        !          8893:   return 0;
        !          8894: }
        !          8895: _ACEOF
        !          8896: rm -f conftest.$ac_objext
        !          8897: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8898:   (eval $ac_compile) 2>conftest.er1
        !          8899:   ac_status=$?
        !          8900:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8901:   rm -f conftest.er1
        !          8902:   cat conftest.err >&5
        !          8903:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8904:   (exit $ac_status); } &&
        !          8905:         { ac_try='test -z "$ac_c_werror_flag"
        !          8906:                         || test ! -s conftest.err'
        !          8907:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8908:   (eval $ac_try) 2>&5
        !          8909:   ac_status=$?
        !          8910:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8911:   (exit $ac_status); }; } &&
        !          8912:         { ac_try='test -s conftest.$ac_objext'
        !          8913:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8914:   (eval $ac_try) 2>&5
        !          8915:   ac_status=$?
        !          8916:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8917:   (exit $ac_status); }; }; then
        !          8918:   ac_hi=$ac_mid; break
        !          8919: else
        !          8920:   echo "$as_me: failed program was:" >&5
        !          8921: sed 's/^/| /' conftest.$ac_ext >&5
        !          8922: 
        !          8923: ac_lo=`expr $ac_mid + 1`
        !          8924:                    if test $ac_lo -le $ac_mid; then
        !          8925:                      ac_lo= ac_hi=
        !          8926:                      break
        !          8927:                    fi
        !          8928:                    ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8929: fi
1.1.1.19! root     8930: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          8931:   done
        !          8932: else
        !          8933:   echo "$as_me: failed program was:" >&5
        !          8934: sed 's/^/| /' conftest.$ac_ext >&5
        !          8935: 
        !          8936: cat >conftest.$ac_ext <<_ACEOF
        !          8937: /* confdefs.h.  */
        !          8938: _ACEOF
        !          8939: cat confdefs.h >>conftest.$ac_ext
        !          8940: cat >>conftest.$ac_ext <<_ACEOF
        !          8941: /* end confdefs.h.  */
        !          8942: $ac_includes_default
        !          8943: int
        !          8944: main ()
        !          8945: {
        !          8946: static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
        !          8947: test_array [0] = 0
1.1       root     8948: 
1.1.1.19! root     8949:   ;
        !          8950:   return 0;
        !          8951: }
        !          8952: _ACEOF
        !          8953: rm -f conftest.$ac_objext
        !          8954: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8955:   (eval $ac_compile) 2>conftest.er1
        !          8956:   ac_status=$?
        !          8957:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8958:   rm -f conftest.er1
        !          8959:   cat conftest.err >&5
        !          8960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8961:   (exit $ac_status); } &&
        !          8962:         { ac_try='test -z "$ac_c_werror_flag"
        !          8963:                         || test ! -s conftest.err'
        !          8964:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8965:   (eval $ac_try) 2>&5
        !          8966:   ac_status=$?
        !          8967:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8968:   (exit $ac_status); }; } &&
        !          8969:         { ac_try='test -s conftest.$ac_objext'
        !          8970:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          8971:   (eval $ac_try) 2>&5
        !          8972:   ac_status=$?
        !          8973:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          8974:   (exit $ac_status); }; }; then
        !          8975:   ac_hi=-1 ac_mid=-1
        !          8976:   while :; do
        !          8977:     cat >conftest.$ac_ext <<_ACEOF
        !          8978: /* confdefs.h.  */
        !          8979: _ACEOF
        !          8980: cat confdefs.h >>conftest.$ac_ext
        !          8981: cat >>conftest.$ac_ext <<_ACEOF
        !          8982: /* end confdefs.h.  */
        !          8983: $ac_includes_default
        !          8984: int
        !          8985: main ()
        !          8986: {
        !          8987: static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
        !          8988: test_array [0] = 0
1.1       root     8989: 
1.1.1.19! root     8990:   ;
        !          8991:   return 0;
        !          8992: }
        !          8993: _ACEOF
        !          8994: rm -f conftest.$ac_objext
        !          8995: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          8996:   (eval $ac_compile) 2>conftest.er1
        !          8997:   ac_status=$?
        !          8998:   grep -v '^ *+' conftest.er1 >conftest.err
        !          8999:   rm -f conftest.er1
        !          9000:   cat conftest.err >&5
        !          9001:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9002:   (exit $ac_status); } &&
        !          9003:         { ac_try='test -z "$ac_c_werror_flag"
        !          9004:                         || test ! -s conftest.err'
        !          9005:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9006:   (eval $ac_try) 2>&5
        !          9007:   ac_status=$?
        !          9008:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9009:   (exit $ac_status); }; } &&
        !          9010:         { ac_try='test -s conftest.$ac_objext'
        !          9011:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9012:   (eval $ac_try) 2>&5
        !          9013:   ac_status=$?
        !          9014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9015:   (exit $ac_status); }; }; then
        !          9016:   ac_lo=$ac_mid; break
        !          9017: else
        !          9018:   echo "$as_me: failed program was:" >&5
        !          9019: sed 's/^/| /' conftest.$ac_ext >&5
        !          9020: 
        !          9021: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          9022:                       if test $ac_mid -le $ac_hi; then
        !          9023:                         ac_lo= ac_hi=
        !          9024:                         break
        !          9025:                       fi
        !          9026:                       ac_mid=`expr 2 '*' $ac_mid`
        !          9027: fi
        !          9028: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9029:   done
1.1       root     9030: else
1.1.1.19! root     9031:   echo "$as_me: failed program was:" >&5
        !          9032: sed 's/^/| /' conftest.$ac_ext >&5
        !          9033: 
        !          9034: ac_lo= ac_hi=
        !          9035: fi
        !          9036: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9037: fi
        !          9038: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9039: # Binary search between lo and hi bounds.
        !          9040: while test "x$ac_lo" != "x$ac_hi"; do
        !          9041:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          9042:   cat >conftest.$ac_ext <<_ACEOF
        !          9043: /* confdefs.h.  */
        !          9044: _ACEOF
        !          9045: cat confdefs.h >>conftest.$ac_ext
        !          9046: cat >>conftest.$ac_ext <<_ACEOF
        !          9047: /* end confdefs.h.  */
        !          9048: $ac_includes_default
        !          9049: int
        !          9050: main ()
        !          9051: {
        !          9052: static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
        !          9053: test_array [0] = 0
        !          9054: 
        !          9055:   ;
        !          9056:   return 0;
        !          9057: }
        !          9058: _ACEOF
        !          9059: rm -f conftest.$ac_objext
        !          9060: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9061:   (eval $ac_compile) 2>conftest.er1
        !          9062:   ac_status=$?
        !          9063:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9064:   rm -f conftest.er1
        !          9065:   cat conftest.err >&5
        !          9066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9067:   (exit $ac_status); } &&
        !          9068:         { ac_try='test -z "$ac_c_werror_flag"
        !          9069:                         || test ! -s conftest.err'
        !          9070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9071:   (eval $ac_try) 2>&5
        !          9072:   ac_status=$?
        !          9073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9074:   (exit $ac_status); }; } &&
        !          9075:         { ac_try='test -s conftest.$ac_objext'
        !          9076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9077:   (eval $ac_try) 2>&5
        !          9078:   ac_status=$?
        !          9079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9080:   (exit $ac_status); }; }; then
        !          9081:   ac_hi=$ac_mid
1.1       root     9082: else
1.1.1.19! root     9083:   echo "$as_me: failed program was:" >&5
        !          9084: sed 's/^/| /' conftest.$ac_ext >&5
        !          9085: 
        !          9086: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          9087: fi
        !          9088: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9089: done
        !          9090: case $ac_lo in
        !          9091: ?*) ac_cv_sizeof_long_long=$ac_lo;;
        !          9092: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
        !          9093: See \`config.log' for more details." >&5
        !          9094: echo "$as_me: error: cannot compute sizeof (long long), 77
        !          9095: See \`config.log' for more details." >&2;}
        !          9096:    { (exit 1); exit 1; }; } ;;
        !          9097: esac
        !          9098: else
        !          9099:   if test "$cross_compiling" = yes; then
        !          9100:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          9101: See \`config.log' for more details." >&5
        !          9102: echo "$as_me: error: cannot run test program while cross compiling
        !          9103: See \`config.log' for more details." >&2;}
        !          9104:    { (exit 1); exit 1; }; }
        !          9105: else
        !          9106:   cat >conftest.$ac_ext <<_ACEOF
        !          9107: /* confdefs.h.  */
        !          9108: _ACEOF
        !          9109: cat confdefs.h >>conftest.$ac_ext
        !          9110: cat >>conftest.$ac_ext <<_ACEOF
        !          9111: /* end confdefs.h.  */
        !          9112: $ac_includes_default
        !          9113: long longval () { return (long) (sizeof (long long)); }
        !          9114: unsigned long ulongval () { return (long) (sizeof (long long)); }
1.1       root     9115: #include <stdio.h>
1.1.1.19! root     9116: #include <stdlib.h>
        !          9117: int
        !          9118: main ()
        !          9119: {
        !          9120: 
        !          9121:   FILE *f = fopen ("conftest.val", "w");
        !          9122:   if (! f)
        !          9123:     exit (1);
        !          9124:   if (((long) (sizeof (long long))) < 0)
        !          9125:     {
        !          9126:       long i = longval ();
        !          9127:       if (i != ((long) (sizeof (long long))))
        !          9128:        exit (1);
        !          9129:       fprintf (f, "%ld\n", i);
        !          9130:     }
        !          9131:   else
        !          9132:     {
        !          9133:       unsigned long i = ulongval ();
        !          9134:       if (i != ((long) (sizeof (long long))))
        !          9135:        exit (1);
        !          9136:       fprintf (f, "%lu\n", i);
        !          9137:     }
        !          9138:   exit (ferror (f) || fclose (f) != 0);
        !          9139: 
        !          9140:   ;
        !          9141:   return 0;
        !          9142: }
        !          9143: _ACEOF
        !          9144: rm -f conftest$ac_exeext
        !          9145: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          9146:   (eval $ac_link) 2>&5
        !          9147:   ac_status=$?
        !          9148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9149:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          9150:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9151:   (eval $ac_try) 2>&5
        !          9152:   ac_status=$?
        !          9153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9154:   (exit $ac_status); }; }; then
        !          9155:   ac_cv_sizeof_long_long=`cat conftest.val`
        !          9156: else
        !          9157:   echo "$as_me: program exited with status $ac_status" >&5
        !          9158: echo "$as_me: failed program was:" >&5
        !          9159: sed 's/^/| /' conftest.$ac_ext >&5
        !          9160: 
        !          9161: ( exit $ac_status )
        !          9162: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
        !          9163: See \`config.log' for more details." >&5
        !          9164: echo "$as_me: error: cannot compute sizeof (long long), 77
        !          9165: See \`config.log' for more details." >&2;}
        !          9166:    { (exit 1); exit 1; }; }
        !          9167: fi
        !          9168: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          9169: fi
        !          9170: fi
        !          9171: rm -f conftest.val
        !          9172: else
        !          9173:   ac_cv_sizeof_long_long=0
        !          9174: fi
        !          9175: fi
        !          9176: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
        !          9177: echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
        !          9178: cat >>confdefs.h <<_ACEOF
        !          9179: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
        !          9180: _ACEOF
        !          9181: 
        !          9182: 
        !          9183: echo "$as_me:$LINENO: checking for __int64" >&5
        !          9184: echo $ECHO_N "checking for __int64... $ECHO_C" >&6
        !          9185: if test "${ac_cv_type___int64+set}" = set; then
        !          9186:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9187: else
        !          9188:   cat >conftest.$ac_ext <<_ACEOF
        !          9189: /* confdefs.h.  */
        !          9190: _ACEOF
        !          9191: cat confdefs.h >>conftest.$ac_ext
        !          9192: cat >>conftest.$ac_ext <<_ACEOF
        !          9193: /* end confdefs.h.  */
        !          9194: $ac_includes_default
        !          9195: int
        !          9196: main ()
        !          9197: {
        !          9198: if ((__int64 *) 0)
        !          9199:   return 0;
        !          9200: if (sizeof (__int64))
        !          9201:   return 0;
        !          9202:   ;
        !          9203:   return 0;
        !          9204: }
        !          9205: _ACEOF
        !          9206: rm -f conftest.$ac_objext
        !          9207: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9208:   (eval $ac_compile) 2>conftest.er1
        !          9209:   ac_status=$?
        !          9210:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9211:   rm -f conftest.er1
        !          9212:   cat conftest.err >&5
        !          9213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9214:   (exit $ac_status); } &&
        !          9215:         { ac_try='test -z "$ac_c_werror_flag"
        !          9216:                         || test ! -s conftest.err'
        !          9217:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9218:   (eval $ac_try) 2>&5
        !          9219:   ac_status=$?
        !          9220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9221:   (exit $ac_status); }; } &&
        !          9222:         { ac_try='test -s conftest.$ac_objext'
        !          9223:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9224:   (eval $ac_try) 2>&5
        !          9225:   ac_status=$?
        !          9226:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9227:   (exit $ac_status); }; }; then
        !          9228:   ac_cv_type___int64=yes
        !          9229: else
        !          9230:   echo "$as_me: failed program was:" >&5
        !          9231: sed 's/^/| /' conftest.$ac_ext >&5
        !          9232: 
        !          9233: ac_cv_type___int64=no
        !          9234: fi
        !          9235: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9236: fi
        !          9237: echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
        !          9238: echo "${ECHO_T}$ac_cv_type___int64" >&6
        !          9239: 
        !          9240: echo "$as_me:$LINENO: checking size of __int64" >&5
        !          9241: echo $ECHO_N "checking size of __int64... $ECHO_C" >&6
        !          9242: if test "${ac_cv_sizeof___int64+set}" = set; then
        !          9243:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9244: else
        !          9245:   if test "$ac_cv_type___int64" = yes; then
        !          9246:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          9247:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          9248:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          9249:   # This bug is HP SR number 8606223364.
        !          9250:   if test "$cross_compiling" = yes; then
        !          9251:   # Depending upon the size, compute the lo and hi bounds.
        !          9252: cat >conftest.$ac_ext <<_ACEOF
        !          9253: /* confdefs.h.  */
        !          9254: _ACEOF
        !          9255: cat confdefs.h >>conftest.$ac_ext
        !          9256: cat >>conftest.$ac_ext <<_ACEOF
        !          9257: /* end confdefs.h.  */
        !          9258: $ac_includes_default
        !          9259: int
        !          9260: main ()
        !          9261: {
        !          9262: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];
        !          9263: test_array [0] = 0
        !          9264: 
        !          9265:   ;
        !          9266:   return 0;
        !          9267: }
        !          9268: _ACEOF
        !          9269: rm -f conftest.$ac_objext
        !          9270: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9271:   (eval $ac_compile) 2>conftest.er1
        !          9272:   ac_status=$?
        !          9273:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9274:   rm -f conftest.er1
        !          9275:   cat conftest.err >&5
        !          9276:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9277:   (exit $ac_status); } &&
        !          9278:         { ac_try='test -z "$ac_c_werror_flag"
        !          9279:                         || test ! -s conftest.err'
        !          9280:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9281:   (eval $ac_try) 2>&5
        !          9282:   ac_status=$?
        !          9283:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9284:   (exit $ac_status); }; } &&
        !          9285:         { ac_try='test -s conftest.$ac_objext'
        !          9286:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9287:   (eval $ac_try) 2>&5
        !          9288:   ac_status=$?
        !          9289:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9290:   (exit $ac_status); }; }; then
        !          9291:   ac_lo=0 ac_mid=0
        !          9292:   while :; do
        !          9293:     cat >conftest.$ac_ext <<_ACEOF
        !          9294: /* confdefs.h.  */
        !          9295: _ACEOF
        !          9296: cat confdefs.h >>conftest.$ac_ext
        !          9297: cat >>conftest.$ac_ext <<_ACEOF
        !          9298: /* end confdefs.h.  */
        !          9299: $ac_includes_default
        !          9300: int
        !          9301: main ()
        !          9302: {
        !          9303: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
        !          9304: test_array [0] = 0
        !          9305: 
        !          9306:   ;
        !          9307:   return 0;
        !          9308: }
        !          9309: _ACEOF
        !          9310: rm -f conftest.$ac_objext
        !          9311: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9312:   (eval $ac_compile) 2>conftest.er1
        !          9313:   ac_status=$?
        !          9314:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9315:   rm -f conftest.er1
        !          9316:   cat conftest.err >&5
        !          9317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9318:   (exit $ac_status); } &&
        !          9319:         { ac_try='test -z "$ac_c_werror_flag"
        !          9320:                         || test ! -s conftest.err'
        !          9321:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9322:   (eval $ac_try) 2>&5
        !          9323:   ac_status=$?
        !          9324:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9325:   (exit $ac_status); }; } &&
        !          9326:         { ac_try='test -s conftest.$ac_objext'
        !          9327:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9328:   (eval $ac_try) 2>&5
        !          9329:   ac_status=$?
        !          9330:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9331:   (exit $ac_status); }; }; then
        !          9332:   ac_hi=$ac_mid; break
        !          9333: else
        !          9334:   echo "$as_me: failed program was:" >&5
        !          9335: sed 's/^/| /' conftest.$ac_ext >&5
        !          9336: 
        !          9337: ac_lo=`expr $ac_mid + 1`
        !          9338:                    if test $ac_lo -le $ac_mid; then
        !          9339:                      ac_lo= ac_hi=
        !          9340:                      break
        !          9341:                    fi
        !          9342:                    ac_mid=`expr 2 '*' $ac_mid + 1`
        !          9343: fi
        !          9344: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9345:   done
        !          9346: else
        !          9347:   echo "$as_me: failed program was:" >&5
        !          9348: sed 's/^/| /' conftest.$ac_ext >&5
        !          9349: 
        !          9350: cat >conftest.$ac_ext <<_ACEOF
        !          9351: /* confdefs.h.  */
        !          9352: _ACEOF
        !          9353: cat confdefs.h >>conftest.$ac_ext
        !          9354: cat >>conftest.$ac_ext <<_ACEOF
        !          9355: /* end confdefs.h.  */
        !          9356: $ac_includes_default
        !          9357: int
        !          9358: main ()
1.1       root     9359: {
1.1.1.19! root     9360: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];
        !          9361: test_array [0] = 0
        !          9362: 
        !          9363:   ;
        !          9364:   return 0;
1.1       root     9365: }
1.1.1.19! root     9366: _ACEOF
        !          9367: rm -f conftest.$ac_objext
        !          9368: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9369:   (eval $ac_compile) 2>conftest.er1
        !          9370:   ac_status=$?
        !          9371:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9372:   rm -f conftest.er1
        !          9373:   cat conftest.err >&5
        !          9374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9375:   (exit $ac_status); } &&
        !          9376:         { ac_try='test -z "$ac_c_werror_flag"
        !          9377:                         || test ! -s conftest.err'
        !          9378:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9379:   (eval $ac_try) 2>&5
        !          9380:   ac_status=$?
        !          9381:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9382:   (exit $ac_status); }; } &&
        !          9383:         { ac_try='test -s conftest.$ac_objext'
        !          9384:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9385:   (eval $ac_try) 2>&5
        !          9386:   ac_status=$?
        !          9387:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9388:   (exit $ac_status); }; }; then
        !          9389:   ac_hi=-1 ac_mid=-1
        !          9390:   while :; do
        !          9391:     cat >conftest.$ac_ext <<_ACEOF
        !          9392: /* confdefs.h.  */
        !          9393: _ACEOF
        !          9394: cat confdefs.h >>conftest.$ac_ext
        !          9395: cat >>conftest.$ac_ext <<_ACEOF
        !          9396: /* end confdefs.h.  */
        !          9397: $ac_includes_default
        !          9398: int
        !          9399: main ()
        !          9400: {
        !          9401: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];
        !          9402: test_array [0] = 0
        !          9403: 
        !          9404:   ;
        !          9405:   return 0;
        !          9406: }
        !          9407: _ACEOF
        !          9408: rm -f conftest.$ac_objext
        !          9409: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9410:   (eval $ac_compile) 2>conftest.er1
        !          9411:   ac_status=$?
        !          9412:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9413:   rm -f conftest.er1
        !          9414:   cat conftest.err >&5
        !          9415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9416:   (exit $ac_status); } &&
        !          9417:         { ac_try='test -z "$ac_c_werror_flag"
        !          9418:                         || test ! -s conftest.err'
        !          9419:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9420:   (eval $ac_try) 2>&5
        !          9421:   ac_status=$?
        !          9422:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9423:   (exit $ac_status); }; } &&
        !          9424:         { ac_try='test -s conftest.$ac_objext'
        !          9425:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9426:   (eval $ac_try) 2>&5
        !          9427:   ac_status=$?
        !          9428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9429:   (exit $ac_status); }; }; then
        !          9430:   ac_lo=$ac_mid; break
        !          9431: else
        !          9432:   echo "$as_me: failed program was:" >&5
        !          9433: sed 's/^/| /' conftest.$ac_ext >&5
        !          9434: 
        !          9435: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          9436:                       if test $ac_mid -le $ac_hi; then
        !          9437:                         ac_lo= ac_hi=
        !          9438:                         break
        !          9439:                       fi
        !          9440:                       ac_mid=`expr 2 '*' $ac_mid`
1.1       root     9441: fi
1.1.1.19! root     9442: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9443:   done
        !          9444: else
        !          9445:   echo "$as_me: failed program was:" >&5
        !          9446: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     9447: 
1.1.1.19! root     9448: ac_lo= ac_hi=
1.1.1.4   root     9449: fi
1.1.1.19! root     9450: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9451: fi
        !          9452: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9453: # Binary search between lo and hi bounds.
        !          9454: while test "x$ac_lo" != "x$ac_hi"; do
        !          9455:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          9456:   cat >conftest.$ac_ext <<_ACEOF
        !          9457: /* confdefs.h.  */
        !          9458: _ACEOF
        !          9459: cat confdefs.h >>conftest.$ac_ext
        !          9460: cat >>conftest.$ac_ext <<_ACEOF
        !          9461: /* end confdefs.h.  */
        !          9462: $ac_includes_default
        !          9463: int
        !          9464: main ()
        !          9465: {
        !          9466: static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
        !          9467: test_array [0] = 0
1.1       root     9468: 
1.1.1.19! root     9469:   ;
        !          9470:   return 0;
        !          9471: }
        !          9472: _ACEOF
        !          9473: rm -f conftest.$ac_objext
        !          9474: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9475:   (eval $ac_compile) 2>conftest.er1
        !          9476:   ac_status=$?
        !          9477:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9478:   rm -f conftest.er1
        !          9479:   cat conftest.err >&5
        !          9480:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9481:   (exit $ac_status); } &&
        !          9482:         { ac_try='test -z "$ac_c_werror_flag"
        !          9483:                         || test ! -s conftest.err'
        !          9484:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9485:   (eval $ac_try) 2>&5
        !          9486:   ac_status=$?
        !          9487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9488:   (exit $ac_status); }; } &&
        !          9489:         { ac_try='test -s conftest.$ac_objext'
        !          9490:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9491:   (eval $ac_try) 2>&5
        !          9492:   ac_status=$?
        !          9493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9494:   (exit $ac_status); }; }; then
        !          9495:   ac_hi=$ac_mid
        !          9496: else
        !          9497:   echo "$as_me: failed program was:" >&5
        !          9498: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9499: 
1.1.1.19! root     9500: ac_lo=`expr '(' $ac_mid ')' + 1`
        !          9501: fi
        !          9502: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9503: done
        !          9504: case $ac_lo in
        !          9505: ?*) ac_cv_sizeof___int64=$ac_lo;;
        !          9506: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
        !          9507: See \`config.log' for more details." >&5
        !          9508: echo "$as_me: error: cannot compute sizeof (__int64), 77
        !          9509: See \`config.log' for more details." >&2;}
        !          9510:    { (exit 1); exit 1; }; } ;;
        !          9511: esac
1.1.1.6   root     9512: else
                   9513:   if test "$cross_compiling" = yes; then
1.1.1.19! root     9514:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          9515: See \`config.log' for more details." >&5
        !          9516: echo "$as_me: error: cannot run test program while cross compiling
        !          9517: See \`config.log' for more details." >&2;}
        !          9518:    { (exit 1); exit 1; }; }
        !          9519: else
        !          9520:   cat >conftest.$ac_ext <<_ACEOF
        !          9521: /* confdefs.h.  */
        !          9522: _ACEOF
        !          9523: cat confdefs.h >>conftest.$ac_ext
        !          9524: cat >>conftest.$ac_ext <<_ACEOF
        !          9525: /* end confdefs.h.  */
        !          9526: $ac_includes_default
        !          9527: long longval () { return (long) (sizeof (__int64)); }
        !          9528: unsigned long ulongval () { return (long) (sizeof (__int64)); }
1.1.1.6   root     9529: #include <stdio.h>
1.1.1.19! root     9530: #include <stdlib.h>
        !          9531: int
        !          9532: main ()
1.1.1.6   root     9533: {
1.1.1.19! root     9534: 
        !          9535:   FILE *f = fopen ("conftest.val", "w");
        !          9536:   if (! f)
        !          9537:     exit (1);
        !          9538:   if (((long) (sizeof (__int64))) < 0)
        !          9539:     {
        !          9540:       long i = longval ();
        !          9541:       if (i != ((long) (sizeof (__int64))))
        !          9542:        exit (1);
        !          9543:       fprintf (f, "%ld\n", i);
        !          9544:     }
        !          9545:   else
        !          9546:     {
        !          9547:       unsigned long i = ulongval ();
        !          9548:       if (i != ((long) (sizeof (__int64))))
        !          9549:        exit (1);
        !          9550:       fprintf (f, "%lu\n", i);
        !          9551:     }
        !          9552:   exit (ferror (f) || fclose (f) != 0);
        !          9553: 
        !          9554:   ;
        !          9555:   return 0;
1.1.1.6   root     9556: }
1.1.1.19! root     9557: _ACEOF
        !          9558: rm -f conftest$ac_exeext
        !          9559: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          9560:   (eval $ac_link) 2>&5
        !          9561:   ac_status=$?
        !          9562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9563:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          9564:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9565:   (eval $ac_try) 2>&5
        !          9566:   ac_status=$?
        !          9567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9568:   (exit $ac_status); }; }; then
        !          9569:   ac_cv_sizeof___int64=`cat conftest.val`
        !          9570: else
        !          9571:   echo "$as_me: program exited with status $ac_status" >&5
        !          9572: echo "$as_me: failed program was:" >&5
        !          9573: sed 's/^/| /' conftest.$ac_ext >&5
        !          9574: 
        !          9575: ( exit $ac_status )
        !          9576: { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
        !          9577: See \`config.log' for more details." >&5
        !          9578: echo "$as_me: error: cannot compute sizeof (__int64), 77
        !          9579: See \`config.log' for more details." >&2;}
        !          9580:    { (exit 1); exit 1; }; }
        !          9581: fi
        !          9582: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          9583: fi
        !          9584: fi
        !          9585: rm -f conftest.val
1.1.1.6   root     9586: else
                   9587:   ac_cv_sizeof___int64=0
                   9588: fi
                   9589: fi
1.1.1.19! root     9590: echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
        !          9591: echo "${ECHO_T}$ac_cv_sizeof___int64" >&6
        !          9592: cat >>confdefs.h <<_ACEOF
1.1.1.6   root     9593: #define SIZEOF___INT64 $ac_cv_sizeof___int64
1.1.1.19! root     9594: _ACEOF
1.1.1.6   root     9595: 
                   9596: 
1.1       root     9597: 
1.1.1.19! root     9598: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
        !          9599: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
        !          9600: if test "${ac_cv_c_const+set}" = set; then
        !          9601:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     9602: else
1.1.1.19! root     9603:   cat >conftest.$ac_ext <<_ACEOF
        !          9604: /* confdefs.h.  */
        !          9605: _ACEOF
        !          9606: cat confdefs.h >>conftest.$ac_ext
        !          9607: cat >>conftest.$ac_ext <<_ACEOF
        !          9608: /* end confdefs.h.  */
1.1       root     9609: 
1.1.1.19! root     9610: int
        !          9611: main ()
        !          9612: {
        !          9613: /* FIXME: Include the comments suggested by Paul. */
        !          9614: #ifndef __cplusplus
        !          9615:   /* Ultrix mips cc rejects this.  */
        !          9616:   typedef int charset[2];
        !          9617:   const charset x;
        !          9618:   /* SunOS 4.1.1 cc rejects this.  */
        !          9619:   char const *const *ccp;
        !          9620:   char **p;
        !          9621:   /* NEC SVR4.0.2 mips cc rejects this.  */
        !          9622:   struct point {int x, y;};
        !          9623:   static struct point const zero = {0,0};
        !          9624:   /* AIX XL C 1.02.0.0 rejects this.
        !          9625:      It does not let you subtract one const X* pointer from another in
        !          9626:      an arm of an if-expression whose if-part is not a constant
        !          9627:      expression */
        !          9628:   const char *g = "string";
        !          9629:   ccp = &g + (g ? g-g : 0);
        !          9630:   /* HPUX 7.0 cc rejects these. */
        !          9631:   ++ccp;
        !          9632:   p = (char**) ccp;
        !          9633:   ccp = (char const *const *) p;
        !          9634:   { /* SCO 3.2v4 cc rejects this.  */
        !          9635:     char *t;
        !          9636:     char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          9637: 
        !          9638:     *t++ = 0;
        !          9639:   }
        !          9640:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          9641:     int x[] = {25, 17};
        !          9642:     const int *foo = &x[0];
        !          9643:     ++foo;
        !          9644:   }
        !          9645:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          9646:     typedef const int *iptr;
        !          9647:     iptr p = 0;
        !          9648:     ++p;
        !          9649:   }
        !          9650:   { /* AIX XL C 1.02.0.0 rejects this saying
        !          9651:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          9652:     struct s { int j; const int *ap[3]; };
        !          9653:     struct s *b; b->j = 5;
        !          9654:   }
        !          9655:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          9656:     const int foo = 10;
        !          9657:   }
        !          9658: #endif
1.1       root     9659: 
1.1.1.19! root     9660:   ;
        !          9661:   return 0;
1.1       root     9662: }
1.1.1.19! root     9663: _ACEOF
        !          9664: rm -f conftest.$ac_objext
        !          9665: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9666:   (eval $ac_compile) 2>conftest.er1
        !          9667:   ac_status=$?
        !          9668:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9669:   rm -f conftest.er1
        !          9670:   cat conftest.err >&5
        !          9671:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9672:   (exit $ac_status); } &&
        !          9673:         { ac_try='test -z "$ac_c_werror_flag"
        !          9674:                         || test ! -s conftest.err'
        !          9675:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9676:   (eval $ac_try) 2>&5
        !          9677:   ac_status=$?
        !          9678:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9679:   (exit $ac_status); }; } &&
        !          9680:         { ac_try='test -s conftest.$ac_objext'
        !          9681:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9682:   (eval $ac_try) 2>&5
        !          9683:   ac_status=$?
        !          9684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9685:   (exit $ac_status); }; }; then
1.1       root     9686:   ac_cv_c_const=yes
                   9687: else
1.1.1.19! root     9688:   echo "$as_me: failed program was:" >&5
        !          9689: sed 's/^/| /' conftest.$ac_ext >&5
        !          9690: 
        !          9691: ac_cv_c_const=no
1.1       root     9692: fi
1.1.1.19! root     9693: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     9694: fi
1.1.1.19! root     9695: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
        !          9696: echo "${ECHO_T}$ac_cv_c_const" >&6
1.1       root     9697: if test $ac_cv_c_const = no; then
1.1.1.19! root     9698: 
        !          9699: cat >>confdefs.h <<\_ACEOF
        !          9700: #define const
        !          9701: _ACEOF
1.1       root     9702: 
                   9703: fi
                   9704: 
1.1.1.19! root     9705: echo "$as_me:$LINENO: checking for inline" >&5
        !          9706: echo $ECHO_N "checking for inline... $ECHO_C" >&6
        !          9707: if test "${ac_cv_c_inline+set}" = set; then
        !          9708:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     9709: else
                   9710:   ac_cv_c_inline=no
                   9711: for ac_kw in inline __inline__ __inline; do
1.1.1.19! root     9712:   cat >conftest.$ac_ext <<_ACEOF
        !          9713: /* confdefs.h.  */
        !          9714: _ACEOF
        !          9715: cat confdefs.h >>conftest.$ac_ext
        !          9716: cat >>conftest.$ac_ext <<_ACEOF
        !          9717: /* end confdefs.h.  */
        !          9718: #ifndef __cplusplus
        !          9719: typedef int foo_t;
        !          9720: static $ac_kw foo_t static_foo () {return 0; }
        !          9721: $ac_kw foo_t foo () {return 0; }
        !          9722: #endif
1.1       root     9723: 
1.1.1.19! root     9724: _ACEOF
        !          9725: rm -f conftest.$ac_objext
        !          9726: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9727:   (eval $ac_compile) 2>conftest.er1
        !          9728:   ac_status=$?
        !          9729:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9730:   rm -f conftest.er1
        !          9731:   cat conftest.err >&5
        !          9732:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9733:   (exit $ac_status); } &&
        !          9734:         { ac_try='test -z "$ac_c_werror_flag"
        !          9735:                         || test ! -s conftest.err'
        !          9736:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9737:   (eval $ac_try) 2>&5
        !          9738:   ac_status=$?
        !          9739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9740:   (exit $ac_status); }; } &&
        !          9741:         { ac_try='test -s conftest.$ac_objext'
        !          9742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9743:   (eval $ac_try) 2>&5
        !          9744:   ac_status=$?
        !          9745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9746:   (exit $ac_status); }; }; then
1.1       root     9747:   ac_cv_c_inline=$ac_kw; break
1.1.1.4   root     9748: else
1.1.1.19! root     9749:   echo "$as_me: failed program was:" >&5
        !          9750: sed 's/^/| /' conftest.$ac_ext >&5
        !          9751: 
1.1       root     9752: fi
1.1.1.19! root     9753: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     9754: done
                   9755: 
                   9756: fi
1.1.1.19! root     9757: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
        !          9758: echo "${ECHO_T}$ac_cv_c_inline" >&6
1.1       root     9759: 
1.1.1.19! root     9760: 
        !          9761: case $ac_cv_c_inline in
1.1       root     9762:   inline | yes) ;;
1.1.1.19! root     9763:   *)
        !          9764:     case $ac_cv_c_inline in
        !          9765:       no) ac_val=;;
        !          9766:       *) ac_val=$ac_cv_c_inline;;
        !          9767:     esac
        !          9768:     cat >>confdefs.h <<_ACEOF
        !          9769: #ifndef __cplusplus
        !          9770: #define inline $ac_val
        !          9771: #endif
        !          9772: _ACEOF
        !          9773:     ;;
1.1       root     9774: esac
                   9775: 
1.1.1.4   root     9776: if [ "x$ac_cv_c_inline" = "xno" ]; then
                   9777:   ac_cv_c_inline=
                   9778: fi
1.1.1.19! root     9779: echo "$as_me:$LINENO: checking for mode_t" >&5
        !          9780: echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
        !          9781: if test "${ac_cv_type_mode_t+set}" = set; then
        !          9782:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9783: else
        !          9784:   cat >conftest.$ac_ext <<_ACEOF
        !          9785: /* confdefs.h.  */
        !          9786: _ACEOF
        !          9787: cat confdefs.h >>conftest.$ac_ext
        !          9788: cat >>conftest.$ac_ext <<_ACEOF
        !          9789: /* end confdefs.h.  */
        !          9790: $ac_includes_default
        !          9791: int
        !          9792: main ()
        !          9793: {
        !          9794: if ((mode_t *) 0)
        !          9795:   return 0;
        !          9796: if (sizeof (mode_t))
        !          9797:   return 0;
        !          9798:   ;
        !          9799:   return 0;
        !          9800: }
        !          9801: _ACEOF
        !          9802: rm -f conftest.$ac_objext
        !          9803: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9804:   (eval $ac_compile) 2>conftest.er1
        !          9805:   ac_status=$?
        !          9806:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9807:   rm -f conftest.er1
        !          9808:   cat conftest.err >&5
        !          9809:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9810:   (exit $ac_status); } &&
        !          9811:         { ac_try='test -z "$ac_c_werror_flag"
        !          9812:                         || test ! -s conftest.err'
        !          9813:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9814:   (eval $ac_try) 2>&5
        !          9815:   ac_status=$?
        !          9816:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9817:   (exit $ac_status); }; } &&
        !          9818:         { ac_try='test -s conftest.$ac_objext'
        !          9819:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9820:   (eval $ac_try) 2>&5
        !          9821:   ac_status=$?
        !          9822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9823:   (exit $ac_status); }; }; then
1.1       root     9824:   ac_cv_type_mode_t=yes
                   9825: else
1.1.1.19! root     9826:   echo "$as_me: failed program was:" >&5
        !          9827: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9828: 
1.1.1.19! root     9829: ac_cv_type_mode_t=no
1.1       root     9830: fi
1.1.1.19! root     9831: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9832: fi
        !          9833: echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
        !          9834: echo "${ECHO_T}$ac_cv_type_mode_t" >&6
        !          9835: if test $ac_cv_type_mode_t = yes; then
        !          9836:   :
        !          9837: else
        !          9838: 
        !          9839: cat >>confdefs.h <<_ACEOF
1.1       root     9840: #define mode_t int
1.1.1.19! root     9841: _ACEOF
1.1       root     9842: 
                   9843: fi
                   9844: 
1.1.1.19! root     9845: echo "$as_me:$LINENO: checking for off_t" >&5
        !          9846: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
        !          9847: if test "${ac_cv_type_off_t+set}" = set; then
        !          9848:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9849: else
        !          9850:   cat >conftest.$ac_ext <<_ACEOF
        !          9851: /* confdefs.h.  */
        !          9852: _ACEOF
        !          9853: cat confdefs.h >>conftest.$ac_ext
        !          9854: cat >>conftest.$ac_ext <<_ACEOF
        !          9855: /* end confdefs.h.  */
        !          9856: $ac_includes_default
        !          9857: int
        !          9858: main ()
        !          9859: {
        !          9860: if ((off_t *) 0)
        !          9861:   return 0;
        !          9862: if (sizeof (off_t))
        !          9863:   return 0;
        !          9864:   ;
        !          9865:   return 0;
        !          9866: }
        !          9867: _ACEOF
        !          9868: rm -f conftest.$ac_objext
        !          9869: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9870:   (eval $ac_compile) 2>conftest.er1
        !          9871:   ac_status=$?
        !          9872:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9873:   rm -f conftest.er1
        !          9874:   cat conftest.err >&5
        !          9875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9876:   (exit $ac_status); } &&
        !          9877:         { ac_try='test -z "$ac_c_werror_flag"
        !          9878:                         || test ! -s conftest.err'
        !          9879:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9880:   (eval $ac_try) 2>&5
        !          9881:   ac_status=$?
        !          9882:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9883:   (exit $ac_status); }; } &&
        !          9884:         { ac_try='test -s conftest.$ac_objext'
        !          9885:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9886:   (eval $ac_try) 2>&5
        !          9887:   ac_status=$?
        !          9888:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9889:   (exit $ac_status); }; }; then
1.1       root     9890:   ac_cv_type_off_t=yes
                   9891: else
1.1.1.19! root     9892:   echo "$as_me: failed program was:" >&5
        !          9893: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9894: 
1.1.1.19! root     9895: ac_cv_type_off_t=no
1.1       root     9896: fi
1.1.1.19! root     9897: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9898: fi
        !          9899: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
        !          9900: echo "${ECHO_T}$ac_cv_type_off_t" >&6
        !          9901: if test $ac_cv_type_off_t = yes; then
        !          9902:   :
        !          9903: else
        !          9904: 
        !          9905: cat >>confdefs.h <<_ACEOF
1.1       root     9906: #define off_t long
1.1.1.19! root     9907: _ACEOF
1.1       root     9908: 
                   9909: fi
                   9910: 
1.1.1.19! root     9911: echo "$as_me:$LINENO: checking for pid_t" >&5
        !          9912: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
        !          9913: if test "${ac_cv_type_pid_t+set}" = set; then
        !          9914:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9915: else
        !          9916:   cat >conftest.$ac_ext <<_ACEOF
        !          9917: /* confdefs.h.  */
        !          9918: _ACEOF
        !          9919: cat confdefs.h >>conftest.$ac_ext
        !          9920: cat >>conftest.$ac_ext <<_ACEOF
        !          9921: /* end confdefs.h.  */
        !          9922: $ac_includes_default
        !          9923: int
        !          9924: main ()
        !          9925: {
        !          9926: if ((pid_t *) 0)
        !          9927:   return 0;
        !          9928: if (sizeof (pid_t))
        !          9929:   return 0;
        !          9930:   ;
        !          9931:   return 0;
        !          9932: }
        !          9933: _ACEOF
        !          9934: rm -f conftest.$ac_objext
        !          9935: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          9936:   (eval $ac_compile) 2>conftest.er1
        !          9937:   ac_status=$?
        !          9938:   grep -v '^ *+' conftest.er1 >conftest.err
        !          9939:   rm -f conftest.er1
        !          9940:   cat conftest.err >&5
        !          9941:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9942:   (exit $ac_status); } &&
        !          9943:         { ac_try='test -z "$ac_c_werror_flag"
        !          9944:                         || test ! -s conftest.err'
        !          9945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9946:   (eval $ac_try) 2>&5
        !          9947:   ac_status=$?
        !          9948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9949:   (exit $ac_status); }; } &&
        !          9950:         { ac_try='test -s conftest.$ac_objext'
        !          9951:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          9952:   (eval $ac_try) 2>&5
        !          9953:   ac_status=$?
        !          9954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          9955:   (exit $ac_status); }; }; then
1.1       root     9956:   ac_cv_type_pid_t=yes
                   9957: else
1.1.1.19! root     9958:   echo "$as_me: failed program was:" >&5
        !          9959: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9960: 
1.1.1.19! root     9961: ac_cv_type_pid_t=no
1.1       root     9962: fi
1.1.1.19! root     9963: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          9964: fi
        !          9965: echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
        !          9966: echo "${ECHO_T}$ac_cv_type_pid_t" >&6
        !          9967: if test $ac_cv_type_pid_t = yes; then
        !          9968:   :
        !          9969: else
        !          9970: 
        !          9971: cat >>confdefs.h <<_ACEOF
1.1       root     9972: #define pid_t int
1.1.1.19! root     9973: _ACEOF
1.1       root     9974: 
                   9975: fi
                   9976: 
1.1.1.19! root     9977: echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
        !          9978: echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
        !          9979: if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
        !          9980:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          9981: else
        !          9982:   cat >conftest.$ac_ext <<_ACEOF
        !          9983: /* confdefs.h.  */
        !          9984: _ACEOF
        !          9985: cat confdefs.h >>conftest.$ac_ext
        !          9986: cat >>conftest.$ac_ext <<_ACEOF
        !          9987: /* end confdefs.h.  */
        !          9988: $ac_includes_default
        !          9989: int
        !          9990: main ()
        !          9991: {
        !          9992: static struct stat ac_aggr;
        !          9993: if (ac_aggr.st_blocks)
        !          9994: return 0;
        !          9995:   ;
        !          9996:   return 0;
        !          9997: }
        !          9998: _ACEOF
        !          9999: rm -f conftest.$ac_objext
        !          10000: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10001:   (eval $ac_compile) 2>conftest.er1
        !          10002:   ac_status=$?
        !          10003:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10004:   rm -f conftest.er1
        !          10005:   cat conftest.err >&5
        !          10006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10007:   (exit $ac_status); } &&
        !          10008:         { ac_try='test -z "$ac_c_werror_flag"
        !          10009:                         || test ! -s conftest.err'
        !          10010:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10011:   (eval $ac_try) 2>&5
        !          10012:   ac_status=$?
        !          10013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10014:   (exit $ac_status); }; } &&
        !          10015:         { ac_try='test -s conftest.$ac_objext'
        !          10016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10017:   (eval $ac_try) 2>&5
        !          10018:   ac_status=$?
        !          10019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10020:   (exit $ac_status); }; }; then
        !          10021:   ac_cv_member_struct_stat_st_blocks=yes
        !          10022: else
        !          10023:   echo "$as_me: failed program was:" >&5
        !          10024: sed 's/^/| /' conftest.$ac_ext >&5
        !          10025: 
        !          10026: cat >conftest.$ac_ext <<_ACEOF
        !          10027: /* confdefs.h.  */
        !          10028: _ACEOF
        !          10029: cat confdefs.h >>conftest.$ac_ext
        !          10030: cat >>conftest.$ac_ext <<_ACEOF
        !          10031: /* end confdefs.h.  */
        !          10032: $ac_includes_default
        !          10033: int
        !          10034: main ()
        !          10035: {
        !          10036: static struct stat ac_aggr;
        !          10037: if (sizeof ac_aggr.st_blocks)
        !          10038: return 0;
        !          10039:   ;
        !          10040:   return 0;
        !          10041: }
        !          10042: _ACEOF
        !          10043: rm -f conftest.$ac_objext
        !          10044: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10045:   (eval $ac_compile) 2>conftest.er1
        !          10046:   ac_status=$?
        !          10047:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10048:   rm -f conftest.er1
        !          10049:   cat conftest.err >&5
        !          10050:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10051:   (exit $ac_status); } &&
        !          10052:         { ac_try='test -z "$ac_c_werror_flag"
        !          10053:                         || test ! -s conftest.err'
        !          10054:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10055:   (eval $ac_try) 2>&5
        !          10056:   ac_status=$?
        !          10057:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10058:   (exit $ac_status); }; } &&
        !          10059:         { ac_try='test -s conftest.$ac_objext'
        !          10060:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10061:   (eval $ac_try) 2>&5
        !          10062:   ac_status=$?
        !          10063:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10064:   (exit $ac_status); }; }; then
        !          10065:   ac_cv_member_struct_stat_st_blocks=yes
        !          10066: else
        !          10067:   echo "$as_me: failed program was:" >&5
        !          10068: sed 's/^/| /' conftest.$ac_ext >&5
        !          10069: 
        !          10070: ac_cv_member_struct_stat_st_blocks=no
        !          10071: fi
        !          10072: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10073: fi
        !          10074: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10075: fi
        !          10076: echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
        !          10077: echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
        !          10078: if test $ac_cv_member_struct_stat_st_blocks = yes; then
        !          10079: 
        !          10080: cat >>confdefs.h <<_ACEOF
        !          10081: #define HAVE_STRUCT_STAT_ST_BLOCKS 1
        !          10082: _ACEOF
        !          10083: 
1.1       root     10084: 
1.1.1.19! root     10085: cat >>confdefs.h <<\_ACEOF
1.1       root     10086: #define HAVE_ST_BLOCKS 1
1.1.1.19! root     10087: _ACEOF
1.1       root     10088: 
                   10089: else
1.1.1.19! root     10090:   case $LIBOBJS in
        !          10091:     "fileblocks.$ac_objext"   | \
        !          10092:   *" fileblocks.$ac_objext"   | \
        !          10093:     "fileblocks.$ac_objext "* | \
        !          10094:   *" fileblocks.$ac_objext "* ) ;;
        !          10095:   *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
        !          10096: esac
        !          10097: 
1.1       root     10098: fi
                   10099: 
1.1.1.19! root     10100: 
        !          10101: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
        !          10102: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
        !          10103: if test "${ac_cv_header_time+set}" = set; then
        !          10104:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10105: else
        !          10106:   cat >conftest.$ac_ext <<_ACEOF
        !          10107: /* confdefs.h.  */
        !          10108: _ACEOF
        !          10109: cat confdefs.h >>conftest.$ac_ext
        !          10110: cat >>conftest.$ac_ext <<_ACEOF
        !          10111: /* end confdefs.h.  */
1.1       root     10112: #include <sys/types.h>
                   10113: #include <sys/time.h>
                   10114: #include <time.h>
1.1.1.19! root     10115: 
        !          10116: int
        !          10117: main ()
        !          10118: {
        !          10119: if ((struct tm *) 0)
        !          10120: return 0;
        !          10121:   ;
        !          10122:   return 0;
        !          10123: }
        !          10124: _ACEOF
        !          10125: rm -f conftest.$ac_objext
        !          10126: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10127:   (eval $ac_compile) 2>conftest.er1
        !          10128:   ac_status=$?
        !          10129:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10130:   rm -f conftest.er1
        !          10131:   cat conftest.err >&5
        !          10132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10133:   (exit $ac_status); } &&
        !          10134:         { ac_try='test -z "$ac_c_werror_flag"
        !          10135:                         || test ! -s conftest.err'
        !          10136:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10137:   (eval $ac_try) 2>&5
        !          10138:   ac_status=$?
        !          10139:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10140:   (exit $ac_status); }; } &&
        !          10141:         { ac_try='test -s conftest.$ac_objext'
        !          10142:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10143:   (eval $ac_try) 2>&5
        !          10144:   ac_status=$?
        !          10145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10146:   (exit $ac_status); }; }; then
1.1       root     10147:   ac_cv_header_time=yes
                   10148: else
1.1.1.19! root     10149:   echo "$as_me: failed program was:" >&5
        !          10150: sed 's/^/| /' conftest.$ac_ext >&5
        !          10151: 
        !          10152: ac_cv_header_time=no
1.1       root     10153: fi
1.1.1.19! root     10154: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10155: fi
1.1.1.19! root     10156: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
        !          10157: echo "${ECHO_T}$ac_cv_header_time" >&6
1.1       root     10158: if test $ac_cv_header_time = yes; then
1.1.1.19! root     10159: 
        !          10160: cat >>confdefs.h <<\_ACEOF
1.1       root     10161: #define TIME_WITH_SYS_TIME 1
1.1.1.19! root     10162: _ACEOF
1.1       root     10163: 
                   10164: fi
                   10165: 
1.1.1.19! root     10166: echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
        !          10167: echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
        !          10168: if test "${ac_cv_struct_tm+set}" = set; then
        !          10169:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10170: else
1.1.1.19! root     10171:   cat >conftest.$ac_ext <<_ACEOF
        !          10172: /* confdefs.h.  */
        !          10173: _ACEOF
        !          10174: cat confdefs.h >>conftest.$ac_ext
        !          10175: cat >>conftest.$ac_ext <<_ACEOF
        !          10176: /* end confdefs.h.  */
1.1       root     10177: #include <sys/types.h>
                   10178: #include <time.h>
1.1.1.19! root     10179: 
        !          10180: int
        !          10181: main ()
        !          10182: {
1.1       root     10183: struct tm *tp; tp->tm_sec;
1.1.1.19! root     10184:   ;
        !          10185:   return 0;
        !          10186: }
        !          10187: _ACEOF
        !          10188: rm -f conftest.$ac_objext
        !          10189: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10190:   (eval $ac_compile) 2>conftest.er1
        !          10191:   ac_status=$?
        !          10192:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10193:   rm -f conftest.er1
        !          10194:   cat conftest.err >&5
        !          10195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10196:   (exit $ac_status); } &&
        !          10197:         { ac_try='test -z "$ac_c_werror_flag"
        !          10198:                         || test ! -s conftest.err'
        !          10199:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10200:   (eval $ac_try) 2>&5
        !          10201:   ac_status=$?
        !          10202:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10203:   (exit $ac_status); }; } &&
        !          10204:         { ac_try='test -s conftest.$ac_objext'
        !          10205:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10206:   (eval $ac_try) 2>&5
        !          10207:   ac_status=$?
        !          10208:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10209:   (exit $ac_status); }; }; then
1.1       root     10210:   ac_cv_struct_tm=time.h
                   10211: else
1.1.1.19! root     10212:   echo "$as_me: failed program was:" >&5
        !          10213: sed 's/^/| /' conftest.$ac_ext >&5
        !          10214: 
        !          10215: ac_cv_struct_tm=sys/time.h
1.1       root     10216: fi
1.1.1.19! root     10217: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10218: fi
1.1.1.19! root     10219: echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
        !          10220: echo "${ECHO_T}$ac_cv_struct_tm" >&6
1.1       root     10221: if test $ac_cv_struct_tm = sys/time.h; then
1.1.1.19! root     10222: 
        !          10223: cat >>confdefs.h <<\_ACEOF
1.1       root     10224: #define TM_IN_SYS_TIME 1
1.1.1.19! root     10225: _ACEOF
1.1       root     10226: 
                   10227: fi
                   10228: 
                   10229: 
1.1.1.19! root     10230: if test $ac_cv_c_compiler_gnu = yes; then
        !          10231:     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
        !          10232: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
        !          10233: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
        !          10234:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10235: else
                   10236:     ac_pattern="Autoconf.*'x'"
1.1.1.19! root     10237:   cat >conftest.$ac_ext <<_ACEOF
        !          10238: /* confdefs.h.  */
        !          10239: _ACEOF
        !          10240: cat confdefs.h >>conftest.$ac_ext
        !          10241: cat >>conftest.$ac_ext <<_ACEOF
        !          10242: /* end confdefs.h.  */
1.1       root     10243: #include <sgtty.h>
                   10244: Autoconf TIOCGETP
1.1.1.19! root     10245: _ACEOF
1.1       root     10246: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     10247:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     10248:   ac_cv_prog_gcc_traditional=yes
                   10249: else
                   10250:   ac_cv_prog_gcc_traditional=no
                   10251: fi
                   10252: rm -f conftest*
                   10253: 
                   10254: 
                   10255:   if test $ac_cv_prog_gcc_traditional = no; then
1.1.1.19! root     10256:     cat >conftest.$ac_ext <<_ACEOF
        !          10257: /* confdefs.h.  */
        !          10258: _ACEOF
        !          10259: cat confdefs.h >>conftest.$ac_ext
        !          10260: cat >>conftest.$ac_ext <<_ACEOF
        !          10261: /* end confdefs.h.  */
1.1       root     10262: #include <termio.h>
                   10263: Autoconf TCGETA
1.1.1.19! root     10264: _ACEOF
1.1       root     10265: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     10266:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     10267:   ac_cv_prog_gcc_traditional=yes
                   10268: fi
                   10269: rm -f conftest*
                   10270: 
                   10271:   fi
                   10272: fi
1.1.1.19! root     10273: echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
        !          10274: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
1.1       root     10275:   if test $ac_cv_prog_gcc_traditional = yes; then
                   10276:     CC="$CC -traditional"
                   10277:   fi
                   10278: fi
                   10279: 
1.1.1.19! root     10280: echo "$as_me:$LINENO: checking for working memcmp" >&5
        !          10281: echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
        !          10282: if test "${ac_cv_func_memcmp_working+set}" = set; then
        !          10283:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10284: else
                   10285:   if test "$cross_compiling" = yes; then
1.1.1.19! root     10286:   ac_cv_func_memcmp_working=no
1.1       root     10287: else
1.1.1.19! root     10288:   cat >conftest.$ac_ext <<_ACEOF
        !          10289: /* confdefs.h.  */
        !          10290: _ACEOF
        !          10291: cat confdefs.h >>conftest.$ac_ext
        !          10292: cat >>conftest.$ac_ext <<_ACEOF
        !          10293: /* end confdefs.h.  */
        !          10294: $ac_includes_default
        !          10295: int
        !          10296: main ()
1.1       root     10297: {
1.1.1.19! root     10298: 
        !          10299:   /* Some versions of memcmp are not 8-bit clean.  */
1.1       root     10300:   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
1.1.1.19! root     10301:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
        !          10302:     exit (1);
1.1       root     10303: 
1.1.1.19! root     10304:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
        !          10305:      or more and with at least one buffer not starting on a 4-byte boundary.
        !          10306:      William Lewis provided this test program.   */
        !          10307:   {
        !          10308:     char foo[21];
        !          10309:     char bar[21];
        !          10310:     int i;
        !          10311:     for (i = 0; i < 4; i++)
        !          10312:       {
        !          10313:        char *a = foo + i;
        !          10314:        char *b = bar + i;
        !          10315:        strcpy (a, "--------01111111");
        !          10316:        strcpy (b, "--------10000000");
        !          10317:        if (memcmp (a, b, 16) >= 0)
        !          10318:          exit (1);
        !          10319:       }
        !          10320:     exit (0);
        !          10321:   }
1.1       root     10322: 
1.1.1.19! root     10323:   ;
        !          10324:   return 0;
        !          10325: }
        !          10326: _ACEOF
        !          10327: rm -f conftest$ac_exeext
        !          10328: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          10329:   (eval $ac_link) 2>&5
        !          10330:   ac_status=$?
        !          10331:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10332:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          10333:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10334:   (eval $ac_try) 2>&5
        !          10335:   ac_status=$?
        !          10336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10337:   (exit $ac_status); }; }; then
        !          10338:   ac_cv_func_memcmp_working=yes
        !          10339: else
        !          10340:   echo "$as_me: program exited with status $ac_status" >&5
        !          10341: echo "$as_me: failed program was:" >&5
        !          10342: sed 's/^/| /' conftest.$ac_ext >&5
        !          10343: 
        !          10344: ( exit $ac_status )
        !          10345: ac_cv_func_memcmp_working=no
        !          10346: fi
        !          10347: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          10348: fi
        !          10349: fi
        !          10350: echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
        !          10351: echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
        !          10352: test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
        !          10353:     "memcmp.$ac_objext"   | \
        !          10354:   *" memcmp.$ac_objext"   | \
        !          10355:     "memcmp.$ac_objext "* | \
        !          10356:   *" memcmp.$ac_objext "* ) ;;
        !          10357:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
        !          10358: esac
1.1.1.4   root     10359: 
1.1       root     10360: 
1.1.1.19! root     10361: echo "$as_me:$LINENO: checking return type of signal handlers" >&5
        !          10362: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
        !          10363: if test "${ac_cv_type_signal+set}" = set; then
        !          10364:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10365: else
        !          10366:   cat >conftest.$ac_ext <<_ACEOF
        !          10367: /* confdefs.h.  */
        !          10368: _ACEOF
        !          10369: cat confdefs.h >>conftest.$ac_ext
        !          10370: cat >>conftest.$ac_ext <<_ACEOF
        !          10371: /* end confdefs.h.  */
1.1       root     10372: #include <sys/types.h>
                   10373: #include <signal.h>
                   10374: #ifdef signal
1.1.1.19! root     10375: # undef signal
1.1       root     10376: #endif
                   10377: #ifdef __cplusplus
                   10378: extern "C" void (*signal (int, void (*)(int)))(int);
                   10379: #else
                   10380: void (*signal ()) ();
                   10381: #endif
                   10382: 
1.1.1.19! root     10383: int
        !          10384: main ()
        !          10385: {
1.1       root     10386: int i;
1.1.1.19! root     10387:   ;
        !          10388:   return 0;
        !          10389: }
        !          10390: _ACEOF
        !          10391: rm -f conftest.$ac_objext
        !          10392: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10393:   (eval $ac_compile) 2>conftest.er1
        !          10394:   ac_status=$?
        !          10395:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10396:   rm -f conftest.er1
        !          10397:   cat conftest.err >&5
        !          10398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10399:   (exit $ac_status); } &&
        !          10400:         { ac_try='test -z "$ac_c_werror_flag"
        !          10401:                         || test ! -s conftest.err'
        !          10402:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10403:   (eval $ac_try) 2>&5
        !          10404:   ac_status=$?
        !          10405:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10406:   (exit $ac_status); }; } &&
        !          10407:         { ac_try='test -s conftest.$ac_objext'
        !          10408:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10409:   (eval $ac_try) 2>&5
        !          10410:   ac_status=$?
        !          10411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10412:   (exit $ac_status); }; }; then
1.1       root     10413:   ac_cv_type_signal=void
                   10414: else
1.1.1.19! root     10415:   echo "$as_me: failed program was:" >&5
        !          10416: sed 's/^/| /' conftest.$ac_ext >&5
        !          10417: 
        !          10418: ac_cv_type_signal=int
1.1       root     10419: fi
1.1.1.19! root     10420: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10421: fi
1.1.1.19! root     10422: echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
        !          10423: echo "${ECHO_T}$ac_cv_type_signal" >&6
1.1       root     10424: 
1.1.1.19! root     10425: cat >>confdefs.h <<_ACEOF
1.1       root     10426: #define RETSIGTYPE $ac_cv_type_signal
1.1.1.19! root     10427: _ACEOF
1.1       root     10428: 
                   10429: 
1.1.1.19! root     10430: echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
        !          10431: echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6
        !          10432: if test "${ac_cv_func_utime_null+set}" = set; then
        !          10433:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10434: else
1.1.1.19! root     10435:   rm -f conftest.data; >conftest.data
1.1       root     10436: # Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
                   10437: if test "$cross_compiling" = yes; then
                   10438:   ac_cv_func_utime_null=no
                   10439: else
1.1.1.19! root     10440:   cat >conftest.$ac_ext <<_ACEOF
        !          10441: /* confdefs.h.  */
        !          10442: _ACEOF
        !          10443: cat confdefs.h >>conftest.$ac_ext
        !          10444: cat >>conftest.$ac_ext <<_ACEOF
        !          10445: /* end confdefs.h.  */
        !          10446: $ac_includes_default
        !          10447: int
        !          10448: main ()
        !          10449: {
1.1       root     10450: struct stat s, t;
1.1.1.19! root     10451:   exit (!(stat ("conftest.data", &s) == 0
        !          10452:          && utime ("conftest.data", (long *)0) == 0
        !          10453:          && stat ("conftest.data", &t) == 0
        !          10454:          && t.st_mtime >= s.st_mtime
        !          10455:          && t.st_mtime - s.st_mtime < 120));
        !          10456:   ;
        !          10457:   return 0;
1.1       root     10458: }
1.1.1.19! root     10459: _ACEOF
        !          10460: rm -f conftest$ac_exeext
        !          10461: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          10462:   (eval $ac_link) 2>&5
        !          10463:   ac_status=$?
        !          10464:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10465:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          10466:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10467:   (eval $ac_try) 2>&5
        !          10468:   ac_status=$?
        !          10469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10470:   (exit $ac_status); }; }; then
1.1       root     10471:   ac_cv_func_utime_null=yes
                   10472: else
1.1.1.19! root     10473:   echo "$as_me: program exited with status $ac_status" >&5
        !          10474: echo "$as_me: failed program was:" >&5
        !          10475: sed 's/^/| /' conftest.$ac_ext >&5
        !          10476: 
        !          10477: ( exit $ac_status )
        !          10478: ac_cv_func_utime_null=no
1.1       root     10479: fi
1.1.1.19! root     10480: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     10481: fi
1.1.1.19! root     10482: rm -f core *.core
1.1       root     10483: fi
1.1.1.19! root     10484: echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
        !          10485: echo "${ECHO_T}$ac_cv_func_utime_null" >&6
1.1       root     10486: if test $ac_cv_func_utime_null = yes; then
1.1.1.19! root     10487: 
        !          10488: cat >>confdefs.h <<\_ACEOF
1.1       root     10489: #define HAVE_UTIME_NULL 1
1.1.1.19! root     10490: _ACEOF
1.1       root     10491: 
                   10492: fi
1.1.1.19! root     10493: rm -f conftest.data
        !          10494: 
        !          10495: 
        !          10496: 
        !          10497: 
        !          10498: 
        !          10499: 
        !          10500: 
1.1       root     10501: 
1.1.1.16  root     10502: for ac_func in getcwd getopt strdup gettimeofday sigaction mkdir rmdir
                   10503: do
1.1.1.19! root     10504: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          10505: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          10506: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          10507: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          10508:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10509: else
        !          10510:   cat >conftest.$ac_ext <<_ACEOF
        !          10511: /* confdefs.h.  */
        !          10512: _ACEOF
        !          10513: cat confdefs.h >>conftest.$ac_ext
        !          10514: cat >>conftest.$ac_ext <<_ACEOF
        !          10515: /* end confdefs.h.  */
        !          10516: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          10517:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          10518: #define $ac_func innocuous_$ac_func
        !          10519: 
1.1.1.16  root     10520: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     10521:     which can conflict with char $ac_func (); below.
        !          10522:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          10523:     <limits.h> exists even on freestanding compilers.  */
        !          10524: 
        !          10525: #ifdef __STDC__
        !          10526: # include <limits.h>
        !          10527: #else
        !          10528: # include <assert.h>
        !          10529: #endif
1.1.1.16  root     10530: 
1.1.1.19! root     10531: #undef $ac_func
1.1.1.16  root     10532: 
1.1.1.19! root     10533: /* Override any gcc2 internal prototype to avoid an error.  */
        !          10534: #ifdef __cplusplus
        !          10535: extern "C"
        !          10536: {
        !          10537: #endif
        !          10538: /* We use char because int might match the return type of a gcc2
        !          10539:    builtin and then its argument prototype would still apply.  */
        !          10540: char $ac_func ();
1.1.1.16  root     10541: /* The GNU C library defines this for functions which it implements
                   10542:     to always fail with ENOSYS.  Some functions are actually named
                   10543:     something starting with __ and the normal name is an alias.  */
                   10544: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10545: choke me
                   10546: #else
1.1.1.19! root     10547: char (*f) () = $ac_func;
        !          10548: #endif
        !          10549: #ifdef __cplusplus
        !          10550: }
1.1.1.16  root     10551: #endif
                   10552: 
1.1.1.19! root     10553: int
        !          10554: main ()
        !          10555: {
        !          10556: return f != $ac_func;
        !          10557:   ;
        !          10558:   return 0;
        !          10559: }
        !          10560: _ACEOF
        !          10561: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10562: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          10563:   (eval $ac_link) 2>conftest.er1
        !          10564:   ac_status=$?
        !          10565:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10566:   rm -f conftest.er1
        !          10567:   cat conftest.err >&5
        !          10568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10569:   (exit $ac_status); } &&
        !          10570:         { ac_try='test -z "$ac_c_werror_flag"
        !          10571:                         || test ! -s conftest.err'
        !          10572:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10573:   (eval $ac_try) 2>&5
        !          10574:   ac_status=$?
        !          10575:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10576:   (exit $ac_status); }; } &&
        !          10577:         { ac_try='test -s conftest$ac_exeext'
        !          10578:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10579:   (eval $ac_try) 2>&5
        !          10580:   ac_status=$?
        !          10581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10582:   (exit $ac_status); }; }; then
        !          10583:   eval "$as_ac_var=yes"
        !          10584: else
        !          10585:   echo "$as_me: failed program was:" >&5
        !          10586: sed 's/^/| /' conftest.$ac_ext >&5
        !          10587: 
        !          10588: eval "$as_ac_var=no"
        !          10589: fi
        !          10590: rm -f conftest.err conftest.$ac_objext \
        !          10591:       conftest$ac_exeext conftest.$ac_ext
        !          10592: fi
        !          10593: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          10594: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          10595: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          10596:   cat >>confdefs.h <<_ACEOF
        !          10597: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          10598: _ACEOF
1.1.1.16  root     10599: 
                   10600: fi
                   10601: done
                   10602: 
1.1.1.19! root     10603: 
        !          10604: 
        !          10605: 
        !          10606: 
        !          10607: 
        !          10608: 
1.1.1.16  root     10609: for ac_func in select strerror strstr isnan isinf setitimer
1.1.1.6   root     10610: do
1.1.1.19! root     10611: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          10612: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          10613: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          10614: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          10615:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10616: else
        !          10617:   cat >conftest.$ac_ext <<_ACEOF
        !          10618: /* confdefs.h.  */
        !          10619: _ACEOF
        !          10620: cat confdefs.h >>conftest.$ac_ext
        !          10621: cat >>conftest.$ac_ext <<_ACEOF
        !          10622: /* end confdefs.h.  */
        !          10623: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          10624:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          10625: #define $ac_func innocuous_$ac_func
        !          10626: 
1.1.1.6   root     10627: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     10628:     which can conflict with char $ac_func (); below.
        !          10629:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          10630:     <limits.h> exists even on freestanding compilers.  */
        !          10631: 
        !          10632: #ifdef __STDC__
        !          10633: # include <limits.h>
        !          10634: #else
        !          10635: # include <assert.h>
        !          10636: #endif
1.1.1.6   root     10637: 
1.1.1.19! root     10638: #undef $ac_func
1.1.1.6   root     10639: 
1.1.1.19! root     10640: /* Override any gcc2 internal prototype to avoid an error.  */
        !          10641: #ifdef __cplusplus
        !          10642: extern "C"
        !          10643: {
        !          10644: #endif
        !          10645: /* We use char because int might match the return type of a gcc2
        !          10646:    builtin and then its argument prototype would still apply.  */
        !          10647: char $ac_func ();
1.1.1.6   root     10648: /* The GNU C library defines this for functions which it implements
                   10649:     to always fail with ENOSYS.  Some functions are actually named
                   10650:     something starting with __ and the normal name is an alias.  */
                   10651: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10652: choke me
                   10653: #else
1.1.1.19! root     10654: char (*f) () = $ac_func;
        !          10655: #endif
        !          10656: #ifdef __cplusplus
        !          10657: }
1.1.1.6   root     10658: #endif
                   10659: 
1.1.1.19! root     10660: int
        !          10661: main ()
        !          10662: {
        !          10663: return f != $ac_func;
        !          10664:   ;
        !          10665:   return 0;
        !          10666: }
        !          10667: _ACEOF
        !          10668: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10669: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          10670:   (eval $ac_link) 2>conftest.er1
        !          10671:   ac_status=$?
        !          10672:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10673:   rm -f conftest.er1
        !          10674:   cat conftest.err >&5
        !          10675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10676:   (exit $ac_status); } &&
        !          10677:         { ac_try='test -z "$ac_c_werror_flag"
        !          10678:                         || test ! -s conftest.err'
        !          10679:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10680:   (eval $ac_try) 2>&5
        !          10681:   ac_status=$?
        !          10682:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10683:   (exit $ac_status); }; } &&
        !          10684:         { ac_try='test -s conftest$ac_exeext'
        !          10685:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10686:   (eval $ac_try) 2>&5
        !          10687:   ac_status=$?
        !          10688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10689:   (exit $ac_status); }; }; then
        !          10690:   eval "$as_ac_var=yes"
        !          10691: else
        !          10692:   echo "$as_me: failed program was:" >&5
        !          10693: sed 's/^/| /' conftest.$ac_ext >&5
        !          10694: 
        !          10695: eval "$as_ac_var=no"
        !          10696: fi
        !          10697: rm -f conftest.err conftest.$ac_objext \
        !          10698:       conftest$ac_exeext conftest.$ac_ext
        !          10699: fi
        !          10700: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          10701: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          10702: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          10703:   cat >>confdefs.h <<_ACEOF
        !          10704: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          10705: _ACEOF
1.1.1.6   root     10706: 
                   10707: fi
                   10708: done
                   10709: 
1.1.1.19! root     10710: 
        !          10711: 
        !          10712: 
        !          10713: 
        !          10714: 
        !          10715: 
1.1.1.6   root     10716: for ac_func in tcgetattr cfmakeraw readdir_r vprintf vsprintf vfprintf
1.1       root     10717: do
1.1.1.19! root     10718: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          10719: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          10720: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          10721: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          10722:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10723: else
        !          10724:   cat >conftest.$ac_ext <<_ACEOF
        !          10725: /* confdefs.h.  */
        !          10726: _ACEOF
        !          10727: cat confdefs.h >>conftest.$ac_ext
        !          10728: cat >>conftest.$ac_ext <<_ACEOF
        !          10729: /* end confdefs.h.  */
        !          10730: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          10731:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          10732: #define $ac_func innocuous_$ac_func
        !          10733: 
1.1       root     10734: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     10735:     which can conflict with char $ac_func (); below.
        !          10736:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          10737:     <limits.h> exists even on freestanding compilers.  */
        !          10738: 
        !          10739: #ifdef __STDC__
        !          10740: # include <limits.h>
        !          10741: #else
        !          10742: # include <assert.h>
        !          10743: #endif
1.1       root     10744: 
1.1.1.19! root     10745: #undef $ac_func
1.1       root     10746: 
1.1.1.19! root     10747: /* Override any gcc2 internal prototype to avoid an error.  */
        !          10748: #ifdef __cplusplus
        !          10749: extern "C"
        !          10750: {
        !          10751: #endif
        !          10752: /* We use char because int might match the return type of a gcc2
        !          10753:    builtin and then its argument prototype would still apply.  */
        !          10754: char $ac_func ();
1.1       root     10755: /* The GNU C library defines this for functions which it implements
                   10756:     to always fail with ENOSYS.  Some functions are actually named
                   10757:     something starting with __ and the normal name is an alias.  */
                   10758: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10759: choke me
                   10760: #else
1.1.1.19! root     10761: char (*f) () = $ac_func;
        !          10762: #endif
        !          10763: #ifdef __cplusplus
        !          10764: }
1.1       root     10765: #endif
                   10766: 
1.1.1.19! root     10767: int
        !          10768: main ()
        !          10769: {
        !          10770: return f != $ac_func;
        !          10771:   ;
        !          10772:   return 0;
        !          10773: }
        !          10774: _ACEOF
        !          10775: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10776: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          10777:   (eval $ac_link) 2>conftest.er1
        !          10778:   ac_status=$?
        !          10779:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10780:   rm -f conftest.er1
        !          10781:   cat conftest.err >&5
        !          10782:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10783:   (exit $ac_status); } &&
        !          10784:         { ac_try='test -z "$ac_c_werror_flag"
        !          10785:                         || test ! -s conftest.err'
        !          10786:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10787:   (eval $ac_try) 2>&5
        !          10788:   ac_status=$?
        !          10789:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10790:   (exit $ac_status); }; } &&
        !          10791:         { ac_try='test -s conftest$ac_exeext'
        !          10792:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10793:   (eval $ac_try) 2>&5
        !          10794:   ac_status=$?
        !          10795:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10796:   (exit $ac_status); }; }; then
        !          10797:   eval "$as_ac_var=yes"
        !          10798: else
        !          10799:   echo "$as_me: failed program was:" >&5
        !          10800: sed 's/^/| /' conftest.$ac_ext >&5
        !          10801: 
        !          10802: eval "$as_ac_var=no"
        !          10803: fi
        !          10804: rm -f conftest.err conftest.$ac_objext \
        !          10805:       conftest$ac_exeext conftest.$ac_ext
        !          10806: fi
        !          10807: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          10808: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          10809: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          10810:   cat >>confdefs.h <<_ACEOF
        !          10811: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          10812: _ACEOF
1.1.1.4   root     10813: 
                   10814: fi
1.1.1.6   root     10815: done
                   10816: 
                   10817: 
                   10818: DO_FILEUTILS_CHECK=yes
1.1.1.19! root     10819: if test $uae_cv_prog_cc_watcom = yes -o $MINGW32 = yes; then
1.1.1.6   root     10820:   DO_FILEUTILS_CHECK=no
                   10821: fi
                   10822: if test $DO_FILEUTILS_CHECK = yes; then
1.1.1.19! root     10823: 
        !          10824: 
        !          10825: 
        !          10826: 
        !          10827: 
        !          10828: 
        !          10829: 
        !          10830: 
        !          10831: 
        !          10832: 
        !          10833: 
        !          10834: 
        !          10835: 
        !          10836: for ac_header in fcntl.h sys/param.h sys/statfs.h sys/fstyp.h \
1.1.1.6   root     10837: mnttab.h mntent.h sys/statvfs.h sys/vfs.h sys/mount.h \
                   10838: sys/filsys.h sys/fs_types.h sys/fs/s5param.h
                   10839: do
1.1.1.19! root     10840: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          10841: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          10842:   echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          10843: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          10844: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          10845:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10846: fi
        !          10847: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          10848: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          10849: else
        !          10850:   # Is the header compilable?
        !          10851: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          10852: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          10853: cat >conftest.$ac_ext <<_ACEOF
        !          10854: /* confdefs.h.  */
        !          10855: _ACEOF
        !          10856: cat confdefs.h >>conftest.$ac_ext
        !          10857: cat >>conftest.$ac_ext <<_ACEOF
        !          10858: /* end confdefs.h.  */
        !          10859: $ac_includes_default
        !          10860: #include <$ac_header>
        !          10861: _ACEOF
        !          10862: rm -f conftest.$ac_objext
        !          10863: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          10864:   (eval $ac_compile) 2>conftest.er1
        !          10865:   ac_status=$?
        !          10866:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10867:   rm -f conftest.er1
        !          10868:   cat conftest.err >&5
        !          10869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10870:   (exit $ac_status); } &&
        !          10871:         { ac_try='test -z "$ac_c_werror_flag"
        !          10872:                         || test ! -s conftest.err'
        !          10873:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10874:   (eval $ac_try) 2>&5
        !          10875:   ac_status=$?
        !          10876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10877:   (exit $ac_status); }; } &&
        !          10878:         { ac_try='test -s conftest.$ac_objext'
        !          10879:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          10880:   (eval $ac_try) 2>&5
        !          10881:   ac_status=$?
        !          10882:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10883:   (exit $ac_status); }; }; then
        !          10884:   ac_header_compiler=yes
        !          10885: else
        !          10886:   echo "$as_me: failed program was:" >&5
        !          10887: sed 's/^/| /' conftest.$ac_ext >&5
        !          10888: 
        !          10889: ac_header_compiler=no
        !          10890: fi
        !          10891: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10892: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          10893: echo "${ECHO_T}$ac_header_compiler" >&6
        !          10894: 
        !          10895: # Is the header present?
        !          10896: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          10897: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          10898: cat >conftest.$ac_ext <<_ACEOF
        !          10899: /* confdefs.h.  */
        !          10900: _ACEOF
        !          10901: cat confdefs.h >>conftest.$ac_ext
        !          10902: cat >>conftest.$ac_ext <<_ACEOF
        !          10903: /* end confdefs.h.  */
        !          10904: #include <$ac_header>
        !          10905: _ACEOF
        !          10906: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          10907:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          10908:   ac_status=$?
        !          10909:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10910:   rm -f conftest.er1
        !          10911:   cat conftest.err >&5
        !          10912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10913:   (exit $ac_status); } >/dev/null; then
        !          10914:   if test -s conftest.err; then
        !          10915:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          10916:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          10917:   else
        !          10918:     ac_cpp_err=
        !          10919:   fi
1.1.1.6   root     10920: else
1.1.1.19! root     10921:   ac_cpp_err=yes
1.1.1.6   root     10922: fi
1.1.1.19! root     10923: if test -z "$ac_cpp_err"; then
        !          10924:   ac_header_preproc=yes
        !          10925: else
        !          10926:   echo "$as_me: failed program was:" >&5
        !          10927: sed 's/^/| /' conftest.$ac_ext >&5
        !          10928: 
        !          10929:   ac_header_preproc=no
1.1.1.6   root     10930: fi
1.1.1.19! root     10931: rm -f conftest.err conftest.$ac_ext
        !          10932: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          10933: echo "${ECHO_T}$ac_header_preproc" >&6
        !          10934: 
        !          10935: # So?  What about this header?
        !          10936: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
        !          10937:   yes:no: )
        !          10938:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          10939: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          10940:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
        !          10941: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
        !          10942:     ac_header_preproc=yes
        !          10943:     ;;
        !          10944:   no:yes:* )
        !          10945:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          10946: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          10947:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
        !          10948: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
        !          10949:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
        !          10950: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
        !          10951:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
        !          10952: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          10953:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          10954: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          10955:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
        !          10956: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
        !          10957:     (
        !          10958:       cat <<\_ASBOX
        !          10959: ## ------------------------------------------ ##
        !          10960: ## Report this to the AC_PACKAGE_NAME lists.  ##
        !          10961: ## ------------------------------------------ ##
        !          10962: _ASBOX
        !          10963:     ) |
        !          10964:       sed "s/^/$as_me: WARNING:     /" >&2
        !          10965:     ;;
        !          10966: esac
        !          10967: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          10968: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          10969: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          10970:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     10971: else
1.1.1.19! root     10972:   eval "$as_ac_Header=\$ac_header_preproc"
        !          10973: fi
        !          10974: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          10975: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          10976: 
        !          10977: fi
        !          10978: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          10979:   cat >>confdefs.h <<_ACEOF
        !          10980: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          10981: _ACEOF
        !          10982: 
1.1.1.6   root     10983: fi
1.1.1.19! root     10984: 
1.1.1.6   root     10985: done
                   10986: 
                   10987: 
1.1.1.19! root     10988: 
        !          10989: 
        !          10990: 
        !          10991: 
        !          10992: 
        !          10993: 
        !          10994: 
        !          10995: 
        !          10996: 
        !          10997: 
        !          10998: 
        !          10999: 
        !          11000: 
        !          11001: 
        !          11002: 
        !          11003: 
        !          11004: 
1.1.1.6   root     11005: for ac_func in bcopy endgrent endpwent fchdir ftime ftruncate \
                   11006: getcwd getmntinfo gettimeofday isascii lchown \
                   11007: listmntent memcpy mkfifo strchr strerror strrchr
                   11008: do
1.1.1.19! root     11009: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          11010: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          11011: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          11012: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          11013:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11014: else
        !          11015:   cat >conftest.$ac_ext <<_ACEOF
        !          11016: /* confdefs.h.  */
        !          11017: _ACEOF
        !          11018: cat confdefs.h >>conftest.$ac_ext
        !          11019: cat >>conftest.$ac_ext <<_ACEOF
        !          11020: /* end confdefs.h.  */
        !          11021: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          11022:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          11023: #define $ac_func innocuous_$ac_func
        !          11024: 
1.1.1.6   root     11025: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     11026:     which can conflict with char $ac_func (); below.
        !          11027:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          11028:     <limits.h> exists even on freestanding compilers.  */
        !          11029: 
        !          11030: #ifdef __STDC__
        !          11031: # include <limits.h>
        !          11032: #else
        !          11033: # include <assert.h>
        !          11034: #endif
1.1.1.6   root     11035: 
1.1.1.19! root     11036: #undef $ac_func
1.1.1.6   root     11037: 
1.1.1.19! root     11038: /* Override any gcc2 internal prototype to avoid an error.  */
        !          11039: #ifdef __cplusplus
        !          11040: extern "C"
        !          11041: {
        !          11042: #endif
        !          11043: /* We use char because int might match the return type of a gcc2
        !          11044:    builtin and then its argument prototype would still apply.  */
        !          11045: char $ac_func ();
1.1.1.6   root     11046: /* The GNU C library defines this for functions which it implements
                   11047:     to always fail with ENOSYS.  Some functions are actually named
                   11048:     something starting with __ and the normal name is an alias.  */
                   11049: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   11050: choke me
                   11051: #else
1.1.1.19! root     11052: char (*f) () = $ac_func;
        !          11053: #endif
        !          11054: #ifdef __cplusplus
        !          11055: }
1.1.1.6   root     11056: #endif
                   11057: 
1.1.1.19! root     11058: int
        !          11059: main ()
        !          11060: {
        !          11061: return f != $ac_func;
        !          11062:   ;
        !          11063:   return 0;
        !          11064: }
        !          11065: _ACEOF
        !          11066: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11067: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11068:   (eval $ac_link) 2>conftest.er1
        !          11069:   ac_status=$?
        !          11070:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11071:   rm -f conftest.er1
        !          11072:   cat conftest.err >&5
        !          11073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11074:   (exit $ac_status); } &&
        !          11075:         { ac_try='test -z "$ac_c_werror_flag"
        !          11076:                         || test ! -s conftest.err'
        !          11077:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11078:   (eval $ac_try) 2>&5
        !          11079:   ac_status=$?
        !          11080:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11081:   (exit $ac_status); }; } &&
        !          11082:         { ac_try='test -s conftest$ac_exeext'
        !          11083:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11084:   (eval $ac_try) 2>&5
        !          11085:   ac_status=$?
        !          11086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11087:   (exit $ac_status); }; }; then
        !          11088:   eval "$as_ac_var=yes"
        !          11089: else
        !          11090:   echo "$as_me: failed program was:" >&5
        !          11091: sed 's/^/| /' conftest.$ac_ext >&5
        !          11092: 
        !          11093: eval "$as_ac_var=no"
        !          11094: fi
        !          11095: rm -f conftest.err conftest.$ac_objext \
        !          11096:       conftest$ac_exeext conftest.$ac_ext
        !          11097: fi
        !          11098: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          11099: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          11100: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          11101:   cat >>confdefs.h <<_ACEOF
        !          11102: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          11103: _ACEOF
1.1.1.6   root     11104: 
                   11105: fi
                   11106: done
                   11107: 
                   11108: 
                   11109: # Determine how to get the list of mounted filesystems.
                   11110: list_mounted_fs=
                   11111: 
                   11112: # If the getmntent function is available but not in the standard library,
                   11113: # make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
                   11114: # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
1.1.1.19! root     11115: echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
        !          11116: echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
        !          11117: if test "${ac_cv_lib_sun_getmntent+set}" = set; then
        !          11118:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11119: else
1.1.1.19! root     11120:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11121: LIBS="-lsun  $LIBS"
1.1.1.19! root     11122: cat >conftest.$ac_ext <<_ACEOF
        !          11123: /* confdefs.h.  */
        !          11124: _ACEOF
        !          11125: cat confdefs.h >>conftest.$ac_ext
        !          11126: cat >>conftest.$ac_ext <<_ACEOF
        !          11127: /* end confdefs.h.  */
        !          11128: 
1.1.1.6   root     11129: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     11130: #ifdef __cplusplus
        !          11131: extern "C"
        !          11132: #endif
1.1.1.6   root     11133: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     11134:    builtin and then its argument prototype would still apply.  */
        !          11135: char getmntent ();
        !          11136: int
        !          11137: main ()
        !          11138: {
        !          11139: getmntent ();
        !          11140:   ;
        !          11141:   return 0;
        !          11142: }
        !          11143: _ACEOF
        !          11144: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11145: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11146:   (eval $ac_link) 2>conftest.er1
        !          11147:   ac_status=$?
        !          11148:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11149:   rm -f conftest.er1
        !          11150:   cat conftest.err >&5
        !          11151:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11152:   (exit $ac_status); } &&
        !          11153:         { ac_try='test -z "$ac_c_werror_flag"
        !          11154:                         || test ! -s conftest.err'
        !          11155:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11156:   (eval $ac_try) 2>&5
        !          11157:   ac_status=$?
        !          11158:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11159:   (exit $ac_status); }; } &&
        !          11160:         { ac_try='test -s conftest$ac_exeext'
        !          11161:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11162:   (eval $ac_try) 2>&5
        !          11163:   ac_status=$?
        !          11164:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11165:   (exit $ac_status); }; }; then
        !          11166:   ac_cv_lib_sun_getmntent=yes
        !          11167: else
        !          11168:   echo "$as_me: failed program was:" >&5
        !          11169: sed 's/^/| /' conftest.$ac_ext >&5
        !          11170: 
        !          11171: ac_cv_lib_sun_getmntent=no
        !          11172: fi
        !          11173: rm -f conftest.err conftest.$ac_objext \
        !          11174:       conftest$ac_exeext conftest.$ac_ext
        !          11175: LIBS=$ac_check_lib_save_LIBS
        !          11176: fi
        !          11177: echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
        !          11178: echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
        !          11179: if test $ac_cv_lib_sun_getmntent = yes; then
1.1.1.6   root     11180:   LIBS="-lsun $LIBS"
                   11181: else
1.1.1.19! root     11182:   echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
        !          11183: echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
        !          11184: if test "${ac_cv_lib_seq_getmntent+set}" = set; then
        !          11185:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11186: else
1.1.1.19! root     11187:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11188: LIBS="-lseq  $LIBS"
1.1.1.19! root     11189: cat >conftest.$ac_ext <<_ACEOF
        !          11190: /* confdefs.h.  */
        !          11191: _ACEOF
        !          11192: cat confdefs.h >>conftest.$ac_ext
        !          11193: cat >>conftest.$ac_ext <<_ACEOF
        !          11194: /* end confdefs.h.  */
        !          11195: 
1.1.1.6   root     11196: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     11197: #ifdef __cplusplus
        !          11198: extern "C"
        !          11199: #endif
1.1.1.6   root     11200: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     11201:    builtin and then its argument prototype would still apply.  */
        !          11202: char getmntent ();
        !          11203: int
        !          11204: main ()
        !          11205: {
        !          11206: getmntent ();
        !          11207:   ;
        !          11208:   return 0;
        !          11209: }
        !          11210: _ACEOF
        !          11211: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11212: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11213:   (eval $ac_link) 2>conftest.er1
        !          11214:   ac_status=$?
        !          11215:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11216:   rm -f conftest.er1
        !          11217:   cat conftest.err >&5
        !          11218:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11219:   (exit $ac_status); } &&
        !          11220:         { ac_try='test -z "$ac_c_werror_flag"
        !          11221:                         || test ! -s conftest.err'
        !          11222:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11223:   (eval $ac_try) 2>&5
        !          11224:   ac_status=$?
        !          11225:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11226:   (exit $ac_status); }; } &&
        !          11227:         { ac_try='test -s conftest$ac_exeext'
        !          11228:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11229:   (eval $ac_try) 2>&5
        !          11230:   ac_status=$?
        !          11231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11232:   (exit $ac_status); }; }; then
        !          11233:   ac_cv_lib_seq_getmntent=yes
        !          11234: else
        !          11235:   echo "$as_me: failed program was:" >&5
        !          11236: sed 's/^/| /' conftest.$ac_ext >&5
        !          11237: 
        !          11238: ac_cv_lib_seq_getmntent=no
        !          11239: fi
        !          11240: rm -f conftest.err conftest.$ac_objext \
        !          11241:       conftest$ac_exeext conftest.$ac_ext
        !          11242: LIBS=$ac_check_lib_save_LIBS
        !          11243: fi
        !          11244: echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
        !          11245: echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
        !          11246: if test $ac_cv_lib_seq_getmntent = yes; then
1.1.1.6   root     11247:   LIBS="-lseq $LIBS"
                   11248: else
1.1.1.19! root     11249:   echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
        !          11250: echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
        !          11251: if test "${ac_cv_lib_gen_getmntent+set}" = set; then
        !          11252:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11253: else
1.1.1.19! root     11254:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     11255: LIBS="-lgen  $LIBS"
1.1.1.19! root     11256: cat >conftest.$ac_ext <<_ACEOF
        !          11257: /* confdefs.h.  */
        !          11258: _ACEOF
        !          11259: cat confdefs.h >>conftest.$ac_ext
        !          11260: cat >>conftest.$ac_ext <<_ACEOF
        !          11261: /* end confdefs.h.  */
        !          11262: 
1.1.1.6   root     11263: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     11264: #ifdef __cplusplus
        !          11265: extern "C"
        !          11266: #endif
1.1.1.6   root     11267: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     11268:    builtin and then its argument prototype would still apply.  */
        !          11269: char getmntent ();
        !          11270: int
        !          11271: main ()
        !          11272: {
        !          11273: getmntent ();
        !          11274:   ;
        !          11275:   return 0;
        !          11276: }
        !          11277: _ACEOF
        !          11278: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11279: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11280:   (eval $ac_link) 2>conftest.er1
        !          11281:   ac_status=$?
        !          11282:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11283:   rm -f conftest.er1
        !          11284:   cat conftest.err >&5
        !          11285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11286:   (exit $ac_status); } &&
        !          11287:         { ac_try='test -z "$ac_c_werror_flag"
        !          11288:                         || test ! -s conftest.err'
        !          11289:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11290:   (eval $ac_try) 2>&5
        !          11291:   ac_status=$?
        !          11292:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11293:   (exit $ac_status); }; } &&
        !          11294:         { ac_try='test -s conftest$ac_exeext'
        !          11295:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11296:   (eval $ac_try) 2>&5
        !          11297:   ac_status=$?
        !          11298:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11299:   (exit $ac_status); }; }; then
        !          11300:   ac_cv_lib_gen_getmntent=yes
        !          11301: else
        !          11302:   echo "$as_me: failed program was:" >&5
        !          11303: sed 's/^/| /' conftest.$ac_ext >&5
        !          11304: 
        !          11305: ac_cv_lib_gen_getmntent=no
        !          11306: fi
        !          11307: rm -f conftest.err conftest.$ac_objext \
        !          11308:       conftest$ac_exeext conftest.$ac_ext
        !          11309: LIBS=$ac_check_lib_save_LIBS
        !          11310: fi
        !          11311: echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
        !          11312: echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
        !          11313: if test $ac_cv_lib_gen_getmntent = yes; then
1.1.1.6   root     11314:   LIBS="-lgen $LIBS"
                   11315: fi
                   11316: 
                   11317: fi
                   11318: 
                   11319: fi
                   11320: 
1.1.1.19! root     11321: 
        !          11322: for ac_func in getmntent
        !          11323: do
        !          11324: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          11325: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          11326: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          11327: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          11328:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11329: else
        !          11330:   cat >conftest.$ac_ext <<_ACEOF
        !          11331: /* confdefs.h.  */
        !          11332: _ACEOF
        !          11333: cat confdefs.h >>conftest.$ac_ext
        !          11334: cat >>conftest.$ac_ext <<_ACEOF
        !          11335: /* end confdefs.h.  */
        !          11336: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          11337:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          11338: #define $ac_func innocuous_$ac_func
        !          11339: 
1.1.1.6   root     11340: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     11341:     which can conflict with char $ac_func (); below.
        !          11342:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          11343:     <limits.h> exists even on freestanding compilers.  */
        !          11344: 
        !          11345: #ifdef __STDC__
        !          11346: # include <limits.h>
        !          11347: #else
        !          11348: # include <assert.h>
        !          11349: #endif
1.1.1.6   root     11350: 
1.1.1.19! root     11351: #undef $ac_func
1.1.1.6   root     11352: 
1.1.1.19! root     11353: /* Override any gcc2 internal prototype to avoid an error.  */
        !          11354: #ifdef __cplusplus
        !          11355: extern "C"
        !          11356: {
        !          11357: #endif
        !          11358: /* We use char because int might match the return type of a gcc2
        !          11359:    builtin and then its argument prototype would still apply.  */
        !          11360: char $ac_func ();
1.1.1.6   root     11361: /* The GNU C library defines this for functions which it implements
                   11362:     to always fail with ENOSYS.  Some functions are actually named
                   11363:     something starting with __ and the normal name is an alias.  */
1.1.1.19! root     11364: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1.1.6   root     11365: choke me
                   11366: #else
1.1.1.19! root     11367: char (*f) () = $ac_func;
        !          11368: #endif
        !          11369: #ifdef __cplusplus
        !          11370: }
1.1.1.6   root     11371: #endif
                   11372: 
1.1.1.19! root     11373: int
        !          11374: main ()
        !          11375: {
        !          11376: return f != $ac_func;
        !          11377:   ;
        !          11378:   return 0;
        !          11379: }
        !          11380: _ACEOF
        !          11381: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11382: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11383:   (eval $ac_link) 2>conftest.er1
        !          11384:   ac_status=$?
        !          11385:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11386:   rm -f conftest.er1
        !          11387:   cat conftest.err >&5
        !          11388:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11389:   (exit $ac_status); } &&
        !          11390:         { ac_try='test -z "$ac_c_werror_flag"
        !          11391:                         || test ! -s conftest.err'
        !          11392:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11393:   (eval $ac_try) 2>&5
        !          11394:   ac_status=$?
        !          11395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11396:   (exit $ac_status); }; } &&
        !          11397:         { ac_try='test -s conftest$ac_exeext'
        !          11398:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11399:   (eval $ac_try) 2>&5
        !          11400:   ac_status=$?
        !          11401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11402:   (exit $ac_status); }; }; then
        !          11403:   eval "$as_ac_var=yes"
        !          11404: else
        !          11405:   echo "$as_me: failed program was:" >&5
        !          11406: sed 's/^/| /' conftest.$ac_ext >&5
        !          11407: 
        !          11408: eval "$as_ac_var=no"
        !          11409: fi
        !          11410: rm -f conftest.err conftest.$ac_objext \
        !          11411:       conftest$ac_exeext conftest.$ac_ext
        !          11412: fi
        !          11413: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          11414: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          11415: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          11416:   cat >>confdefs.h <<_ACEOF
        !          11417: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          11418: _ACEOF
1.1.1.6   root     11419: 
                   11420: fi
1.1.1.19! root     11421: done
        !          11422: 
1.1.1.6   root     11423: 
                   11424: 
                   11425: # This test must precede the ones for getmntent because Unicos-9 is
                   11426: # reported to have the getmntent function, but its support is incompatible
                   11427: # with other getmntent implementations.
                   11428: 
                   11429: # NOTE: Normally, I wouldn't use a check for system type as I've done for
                   11430: # `CRAY' below since that goes against the whole autoconf philosophy.  But
                   11431: # I think there is too great a chance that some non-Cray system has a
                   11432: # function named listmntent to risk the false positive.
                   11433: 
                   11434: if test -z "$list_mounted_fs"; then
                   11435: # Cray UNICOS 9
1.1.1.19! root     11436: echo "$as_me:$LINENO: checking for listmntent of Cray/Unicos-9" >&5
        !          11437: echo $ECHO_N "checking for listmntent of Cray/Unicos-9... $ECHO_C" >&6
        !          11438: if test "${fu_cv_sys_mounted_cray_listmntent+set}" = set; then
        !          11439:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11440: else
                   11441:   fu_cv_sys_mounted_cray_listmntent=no
1.1.1.19! root     11442: cat >conftest.$ac_ext <<_ACEOF
        !          11443: /* confdefs.h.  */
        !          11444: _ACEOF
        !          11445: cat confdefs.h >>conftest.$ac_ext
        !          11446: cat >>conftest.$ac_ext <<_ACEOF
        !          11447: /* end confdefs.h.  */
1.1.1.6   root     11448: #ifdef _CRAY
                   11449: yes
                   11450: #endif
                   11451: 
1.1.1.19! root     11452: _ACEOF
1.1.1.6   root     11453: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     11454:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     11455:   test $ac_cv_func_listmntent = yes \
                   11456: && fu_cv_sys_mounted_cray_listmntent=yes
                   11457: 
                   11458: fi
                   11459: rm -f conftest*
                   11460: 
                   11461: 
                   11462: 
                   11463: fi
                   11464: 
1.1.1.19! root     11465: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_cray_listmntent" >&5
        !          11466: echo "${ECHO_T}$fu_cv_sys_mounted_cray_listmntent" >&6
1.1.1.6   root     11467: if test $fu_cv_sys_mounted_cray_listmntent = yes; then
                   11468: list_mounted_fs=found
1.1.1.19! root     11469: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11470: #define MOUNTED_LISTMNTENT 1
1.1.1.19! root     11471: _ACEOF
1.1.1.6   root     11472: 
                   11473: fi
                   11474: fi
                   11475: 
                   11476: if test $ac_cv_func_getmntent = yes; then
                   11477: 
                   11478: # This system has the getmntent function.
                   11479: # Determine whether it's the one-argument variant or the two-argument one.
                   11480: 
                   11481: if test -z "$list_mounted_fs"; then
                   11482: # 4.3BSD, SunOS, HP-UX, Dynix, Irix
1.1.1.19! root     11483: echo "$as_me:$LINENO: checking for one-argument getmntent function" >&5
        !          11484: echo $ECHO_N "checking for one-argument getmntent function... $ECHO_C" >&6
        !          11485: if test "${fu_cv_sys_mounted_getmntent1+set}" = set; then
        !          11486:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11487: else
                   11488:   test $ac_cv_header_mntent_h = yes \
                   11489: && fu_cv_sys_mounted_getmntent1=yes \
                   11490: || fu_cv_sys_mounted_getmntent1=no
                   11491: fi
                   11492: 
1.1.1.19! root     11493: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent1" >&5
        !          11494: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent1" >&6
1.1.1.6   root     11495: if test $fu_cv_sys_mounted_getmntent1 = yes; then
                   11496: list_mounted_fs=found
1.1.1.19! root     11497: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11498: #define MOUNTED_GETMNTENT1 1
1.1.1.19! root     11499: _ACEOF
1.1.1.6   root     11500: 
                   11501: fi
                   11502: fi
                   11503: 
                   11504: if test -z "$list_mounted_fs"; then
                   11505: # SVR4
1.1.1.19! root     11506: echo "$as_me:$LINENO: checking for two-argument getmntent function" >&5
        !          11507: echo $ECHO_N "checking for two-argument getmntent function... $ECHO_C" >&6
        !          11508: if test "${fu_cv_sys_mounted_getmntent2+set}" = set; then
        !          11509:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11510: else
        !          11511:   cat >conftest.$ac_ext <<_ACEOF
        !          11512: /* confdefs.h.  */
        !          11513: _ACEOF
        !          11514: cat confdefs.h >>conftest.$ac_ext
        !          11515: cat >>conftest.$ac_ext <<_ACEOF
        !          11516: /* end confdefs.h.  */
1.1.1.6   root     11517: #include <sys/mnttab.h>
1.1.1.19! root     11518: 
        !          11519: _ACEOF
1.1.1.6   root     11520: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     11521:   $EGREP "getmntent" >/dev/null 2>&1; then
1.1.1.6   root     11522:   fu_cv_sys_mounted_getmntent2=yes
                   11523: else
                   11524:   fu_cv_sys_mounted_getmntent2=no
                   11525: fi
                   11526: rm -f conftest*
                   11527: 
                   11528: fi
                   11529: 
1.1.1.19! root     11530: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent2" >&5
        !          11531: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent2" >&6
1.1.1.6   root     11532: if test $fu_cv_sys_mounted_getmntent2 = yes; then
                   11533: list_mounted_fs=found
1.1.1.19! root     11534: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11535: #define MOUNTED_GETMNTENT2 1
1.1.1.19! root     11536: _ACEOF
1.1.1.6   root     11537: 
                   11538: fi
                   11539: fi
                   11540: 
                   11541: if test -z "$list_mounted_fs"; then
1.1.1.19! root     11542: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
        !          11543: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
        !          11544:    { (exit 1); exit 1; }; }
1.1.1.6   root     11545: fi
                   11546: 
                   11547: fi
                   11548: 
                   11549: if test -z "$list_mounted_fs"; then
                   11550: # DEC Alpha running OSF/1.
1.1.1.19! root     11551: echo "$as_me:$LINENO: checking for getfsstat function" >&5
        !          11552: echo $ECHO_N "checking for getfsstat function... $ECHO_C" >&6
        !          11553: if test "${fu_cv_sys_mounted_getsstat+set}" = set; then
        !          11554:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11555: else
        !          11556:   cat >conftest.$ac_ext <<_ACEOF
        !          11557: /* confdefs.h.  */
        !          11558: _ACEOF
        !          11559: cat confdefs.h >>conftest.$ac_ext
        !          11560: cat >>conftest.$ac_ext <<_ACEOF
        !          11561: /* end confdefs.h.  */
1.1.1.6   root     11562: 
                   11563: #include <sys/types.h>
                   11564: #include <sys/mount.h>
                   11565: #include <sys/fs_types.h>
1.1.1.19! root     11566: int
        !          11567: main ()
        !          11568: {
1.1.1.6   root     11569: struct statfs *stats;
1.1.1.19! root     11570: int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
        !          11571:   ;
        !          11572:   return 0;
        !          11573: }
        !          11574: _ACEOF
        !          11575: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11576: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11577:   (eval $ac_link) 2>conftest.er1
        !          11578:   ac_status=$?
        !          11579:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11580:   rm -f conftest.er1
        !          11581:   cat conftest.err >&5
        !          11582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11583:   (exit $ac_status); } &&
        !          11584:         { ac_try='test -z "$ac_c_werror_flag"
        !          11585:                         || test ! -s conftest.err'
        !          11586:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11587:   (eval $ac_try) 2>&5
        !          11588:   ac_status=$?
        !          11589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11590:   (exit $ac_status); }; } &&
        !          11591:         { ac_try='test -s conftest$ac_exeext'
        !          11592:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11593:   (eval $ac_try) 2>&5
        !          11594:   ac_status=$?
        !          11595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11596:   (exit $ac_status); }; }; then
1.1.1.6   root     11597:   fu_cv_sys_mounted_getsstat=yes
                   11598: else
1.1.1.19! root     11599:   echo "$as_me: failed program was:" >&5
        !          11600: sed 's/^/| /' conftest.$ac_ext >&5
        !          11601: 
        !          11602: fu_cv_sys_mounted_getsstat=no
1.1.1.6   root     11603: fi
1.1.1.19! root     11604: rm -f conftest.err conftest.$ac_objext \
        !          11605:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     11606: fi
                   11607: 
1.1.1.19! root     11608: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getsstat" >&5
        !          11609: echo "${ECHO_T}$fu_cv_sys_mounted_getsstat" >&6
1.1.1.6   root     11610: if test $fu_cv_sys_mounted_getsstat = yes; then
                   11611: list_mounted_fs=found
1.1.1.19! root     11612: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11613: #define MOUNTED_GETFSSTAT 1
1.1.1.19! root     11614: _ACEOF
1.1.1.6   root     11615: 
                   11616: fi
                   11617: fi
                   11618: 
                   11619: if test -z "$list_mounted_fs"; then
                   11620: # AIX.
1.1.1.19! root     11621: echo "$as_me:$LINENO: checking for mntctl function and struct vmount" >&5
        !          11622: echo $ECHO_N "checking for mntctl function and struct vmount... $ECHO_C" >&6
        !          11623: if test "${fu_cv_sys_mounted_vmount+set}" = set; then
        !          11624:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11625: else
        !          11626:   cat >conftest.$ac_ext <<_ACEOF
        !          11627: /* confdefs.h.  */
        !          11628: _ACEOF
        !          11629: cat confdefs.h >>conftest.$ac_ext
        !          11630: cat >>conftest.$ac_ext <<_ACEOF
        !          11631: /* end confdefs.h.  */
1.1.1.6   root     11632: #include <fshelp.h>
1.1.1.19! root     11633: _ACEOF
        !          11634: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          11635:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          11636:   ac_status=$?
        !          11637:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11638:   rm -f conftest.er1
        !          11639:   cat conftest.err >&5
        !          11640:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11641:   (exit $ac_status); } >/dev/null; then
        !          11642:   if test -s conftest.err; then
        !          11643:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          11644:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          11645:   else
        !          11646:     ac_cpp_err=
        !          11647:   fi
        !          11648: else
        !          11649:   ac_cpp_err=yes
        !          11650: fi
        !          11651: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11652:   fu_cv_sys_mounted_vmount=yes
                   11653: else
1.1.1.19! root     11654:   echo "$as_me: failed program was:" >&5
        !          11655: sed 's/^/| /' conftest.$ac_ext >&5
        !          11656: 
1.1.1.6   root     11657:   fu_cv_sys_mounted_vmount=no
                   11658: fi
1.1.1.19! root     11659: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11660: fi
                   11661: 
1.1.1.19! root     11662: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_vmount" >&5
        !          11663: echo "${ECHO_T}$fu_cv_sys_mounted_vmount" >&6
1.1.1.6   root     11664: if test $fu_cv_sys_mounted_vmount = yes; then
                   11665: list_mounted_fs=found
1.1.1.19! root     11666: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11667: #define MOUNTED_VMOUNT 1
1.1.1.19! root     11668: _ACEOF
1.1.1.6   root     11669: 
                   11670: fi
                   11671: fi
                   11672: 
                   11673: if test -z "$list_mounted_fs"; then
                   11674: # SVR3
1.1.1.19! root     11675: echo "$as_me:$LINENO: checking for FIXME existence of three headers" >&5
        !          11676: echo $ECHO_N "checking for FIXME existence of three headers... $ECHO_C" >&6
        !          11677: if test "${fu_cv_sys_mounted_fread_fstyp+set}" = set; then
        !          11678:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11679: else
        !          11680:   cat >conftest.$ac_ext <<_ACEOF
        !          11681: /* confdefs.h.  */
        !          11682: _ACEOF
        !          11683: cat confdefs.h >>conftest.$ac_ext
        !          11684: cat >>conftest.$ac_ext <<_ACEOF
        !          11685: /* end confdefs.h.  */
1.1.1.6   root     11686: 
                   11687: #include <sys/statfs.h>
                   11688: #include <sys/fstyp.h>
                   11689: #include <mnttab.h>
1.1.1.19! root     11690: _ACEOF
        !          11691: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          11692:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          11693:   ac_status=$?
        !          11694:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11695:   rm -f conftest.er1
        !          11696:   cat conftest.err >&5
        !          11697:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11698:   (exit $ac_status); } >/dev/null; then
        !          11699:   if test -s conftest.err; then
        !          11700:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          11701:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          11702:   else
        !          11703:     ac_cpp_err=
        !          11704:   fi
        !          11705: else
        !          11706:   ac_cpp_err=yes
        !          11707: fi
        !          11708: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11709:   fu_cv_sys_mounted_fread_fstyp=yes
                   11710: else
1.1.1.19! root     11711:   echo "$as_me: failed program was:" >&5
        !          11712: sed 's/^/| /' conftest.$ac_ext >&5
        !          11713: 
1.1.1.6   root     11714:   fu_cv_sys_mounted_fread_fstyp=no
                   11715: fi
1.1.1.19! root     11716: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11717: fi
                   11718: 
1.1.1.19! root     11719: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread_fstyp" >&5
        !          11720: echo "${ECHO_T}$fu_cv_sys_mounted_fread_fstyp" >&6
1.1.1.6   root     11721: if test $fu_cv_sys_mounted_fread_fstyp = yes; then
                   11722: list_mounted_fs=found
1.1.1.19! root     11723: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11724: #define MOUNTED_FREAD_FSTYP 1
1.1.1.19! root     11725: _ACEOF
1.1.1.6   root     11726: 
                   11727: fi
                   11728: fi
                   11729: 
                   11730: if test -z "$list_mounted_fs"; then
                   11731: # 4.4BSD and DEC OSF/1.
1.1.1.19! root     11732: echo "$as_me:$LINENO: checking for getmntinfo function" >&5
        !          11733: echo $ECHO_N "checking for getmntinfo function... $ECHO_C" >&6
        !          11734: if test "${fu_cv_sys_mounted_getmntinfo+set}" = set; then
        !          11735:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11736: else
1.1.1.19! root     11737: 
1.1.1.6   root     11738: ok=
                   11739: if test $ac_cv_func_getmntinfo = yes; then
1.1.1.19! root     11740: cat >conftest.$ac_ext <<_ACEOF
        !          11741: /* confdefs.h.  */
        !          11742: _ACEOF
        !          11743: cat confdefs.h >>conftest.$ac_ext
        !          11744: cat >>conftest.$ac_ext <<_ACEOF
        !          11745: /* end confdefs.h.  */
1.1.1.6   root     11746: #include <sys/mount.h>
1.1.1.19! root     11747: 
        !          11748: _ACEOF
1.1.1.6   root     11749: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     11750:   $EGREP "f_type;" >/dev/null 2>&1; then
1.1.1.6   root     11751:   ok=yes
                   11752: fi
                   11753: rm -f conftest*
                   11754: 
                   11755: fi
                   11756: test -n "$ok" \
                   11757: && fu_cv_sys_mounted_getmntinfo=yes \
                   11758: || fu_cv_sys_mounted_getmntinfo=no
                   11759: 
                   11760: fi
                   11761: 
1.1.1.19! root     11762: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntinfo" >&5
        !          11763: echo "${ECHO_T}$fu_cv_sys_mounted_getmntinfo" >&6
1.1.1.6   root     11764: if test $fu_cv_sys_mounted_getmntinfo = yes; then
                   11765: list_mounted_fs=found
1.1.1.19! root     11766: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11767: #define MOUNTED_GETMNTINFO 1
1.1.1.19! root     11768: _ACEOF
1.1.1.6   root     11769: 
                   11770: fi
                   11771: fi
                   11772: 
                   11773: # FIXME: add a test for netbsd-1.1 here
                   11774: 
                   11775: if test -z "$list_mounted_fs"; then
                   11776: # Ultrix
1.1.1.19! root     11777: echo "$as_me:$LINENO: checking for getmnt function" >&5
        !          11778: echo $ECHO_N "checking for getmnt function... $ECHO_C" >&6
        !          11779: if test "${fu_cv_sys_mounted_getmnt+set}" = set; then
        !          11780:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11781: else
        !          11782:   cat >conftest.$ac_ext <<_ACEOF
        !          11783: /* confdefs.h.  */
        !          11784: _ACEOF
        !          11785: cat confdefs.h >>conftest.$ac_ext
        !          11786: cat >>conftest.$ac_ext <<_ACEOF
        !          11787: /* end confdefs.h.  */
1.1.1.6   root     11788: 
                   11789: #include <sys/fs_types.h>
                   11790: #include <sys/mount.h>
1.1.1.19! root     11791: _ACEOF
        !          11792: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          11793:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          11794:   ac_status=$?
        !          11795:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11796:   rm -f conftest.er1
        !          11797:   cat conftest.err >&5
        !          11798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11799:   (exit $ac_status); } >/dev/null; then
        !          11800:   if test -s conftest.err; then
        !          11801:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          11802:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          11803:   else
        !          11804:     ac_cpp_err=
        !          11805:   fi
        !          11806: else
        !          11807:   ac_cpp_err=yes
        !          11808: fi
        !          11809: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11810:   fu_cv_sys_mounted_getmnt=yes
                   11811: else
1.1.1.19! root     11812:   echo "$as_me: failed program was:" >&5
        !          11813: sed 's/^/| /' conftest.$ac_ext >&5
        !          11814: 
1.1.1.6   root     11815:   fu_cv_sys_mounted_getmnt=no
                   11816: fi
1.1.1.19! root     11817: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11818: fi
                   11819: 
1.1.1.19! root     11820: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmnt" >&5
        !          11821: echo "${ECHO_T}$fu_cv_sys_mounted_getmnt" >&6
1.1.1.6   root     11822: if test $fu_cv_sys_mounted_getmnt = yes; then
                   11823: list_mounted_fs=found
1.1.1.19! root     11824: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11825: #define MOUNTED_GETMNT 1
1.1.1.19! root     11826: _ACEOF
1.1.1.6   root     11827: 
                   11828: fi
                   11829: fi
                   11830: 
                   11831: if test -z "$list_mounted_fs"; then
                   11832: # SVR2
1.1.1.19! root     11833: echo "$as_me:$LINENO: checking whether it is possible to resort to fread on /etc/mnttab" >&5
        !          11834: echo $ECHO_N "checking whether it is possible to resort to fread on /etc/mnttab... $ECHO_C" >&6
        !          11835: if test "${fu_cv_sys_mounted_fread+set}" = set; then
        !          11836:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11837: else
        !          11838:   cat >conftest.$ac_ext <<_ACEOF
        !          11839: /* confdefs.h.  */
        !          11840: _ACEOF
        !          11841: cat confdefs.h >>conftest.$ac_ext
        !          11842: cat >>conftest.$ac_ext <<_ACEOF
        !          11843: /* end confdefs.h.  */
1.1.1.6   root     11844: #include <mnttab.h>
1.1.1.19! root     11845: _ACEOF
        !          11846: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          11847:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          11848:   ac_status=$?
        !          11849:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11850:   rm -f conftest.er1
        !          11851:   cat conftest.err >&5
        !          11852:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11853:   (exit $ac_status); } >/dev/null; then
        !          11854:   if test -s conftest.err; then
        !          11855:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          11856:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          11857:   else
        !          11858:     ac_cpp_err=
        !          11859:   fi
        !          11860: else
        !          11861:   ac_cpp_err=yes
        !          11862: fi
        !          11863: if test -z "$ac_cpp_err"; then
1.1.1.6   root     11864:   fu_cv_sys_mounted_fread=yes
                   11865: else
1.1.1.19! root     11866:   echo "$as_me: failed program was:" >&5
        !          11867: sed 's/^/| /' conftest.$ac_ext >&5
        !          11868: 
1.1.1.6   root     11869:   fu_cv_sys_mounted_fread=no
                   11870: fi
1.1.1.19! root     11871: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     11872: fi
                   11873: 
1.1.1.19! root     11874: echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread" >&5
        !          11875: echo "${ECHO_T}$fu_cv_sys_mounted_fread" >&6
1.1.1.6   root     11876: if test $fu_cv_sys_mounted_fread = yes; then
                   11877: list_mounted_fs=found
1.1.1.19! root     11878: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11879: #define MOUNTED_FREAD 1
1.1.1.19! root     11880: _ACEOF
1.1.1.6   root     11881: 
                   11882: fi
                   11883: fi
                   11884: 
                   11885: if test -z "$list_mounted_fs"; then
1.1.1.19! root     11886: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
        !          11887: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
        !          11888:    { (exit 1); exit 1; }; }
1.1.1.6   root     11889: # FIXME -- no need to abort building the whole package
                   11890: # Can't build mountlist.c or anything that needs its functions
                   11891: fi
                   11892: 
1.1.1.19! root     11893: { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
        !          11894: echo "$as_me: checking how to get filesystem space usage..." >&6;}
1.1.1.6   root     11895: space=no
                   11896: 
                   11897: # Perform only the link test since it seems there are no variants of the
                   11898: # statvfs function.  This check is more than just AC_CHECK_FUNCS(statvfs)
                   11899: # because that got a false positive on SCO OSR5.  Adding the declaration
                   11900: # of a `struct statvfs' causes this test to fail (as it should) on such
                   11901: # systems.  That system is reported to work fine with STAT_STATFS4 which
                   11902: # is what it gets when this test fails.
                   11903: if test $space = no; then
                   11904: # SVR4
1.1.1.19! root     11905: echo "$as_me:$LINENO: checking statvfs function (SVR4)" >&5
        !          11906: echo $ECHO_N "checking statvfs function (SVR4)... $ECHO_C" >&6
        !          11907: if test "${fu_cv_sys_stat_statvfs+set}" = set; then
        !          11908:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          11909: else
        !          11910:   cat >conftest.$ac_ext <<_ACEOF
        !          11911: /* confdefs.h.  */
        !          11912: _ACEOF
        !          11913: cat confdefs.h >>conftest.$ac_ext
        !          11914: cat >>conftest.$ac_ext <<_ACEOF
        !          11915: /* end confdefs.h.  */
1.1.1.6   root     11916: #include <sys/types.h>
                   11917: #include <sys/statvfs.h>
1.1.1.19! root     11918: int
        !          11919: main ()
        !          11920: {
1.1.1.6   root     11921: struct statvfs fsd; statvfs (0, &fsd);
1.1.1.19! root     11922:   ;
        !          11923:   return 0;
        !          11924: }
        !          11925: _ACEOF
        !          11926: rm -f conftest.$ac_objext conftest$ac_exeext
        !          11927: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11928:   (eval $ac_link) 2>conftest.er1
        !          11929:   ac_status=$?
        !          11930:   grep -v '^ *+' conftest.er1 >conftest.err
        !          11931:   rm -f conftest.er1
        !          11932:   cat conftest.err >&5
        !          11933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11934:   (exit $ac_status); } &&
        !          11935:         { ac_try='test -z "$ac_c_werror_flag"
        !          11936:                         || test ! -s conftest.err'
        !          11937:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11938:   (eval $ac_try) 2>&5
        !          11939:   ac_status=$?
        !          11940:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11941:   (exit $ac_status); }; } &&
        !          11942:         { ac_try='test -s conftest$ac_exeext'
        !          11943:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          11944:   (eval $ac_try) 2>&5
        !          11945:   ac_status=$?
        !          11946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          11947:   (exit $ac_status); }; }; then
1.1.1.6   root     11948:   fu_cv_sys_stat_statvfs=yes
                   11949: else
1.1.1.19! root     11950:   echo "$as_me: failed program was:" >&5
        !          11951: sed 's/^/| /' conftest.$ac_ext >&5
        !          11952: 
        !          11953: fu_cv_sys_stat_statvfs=no
1.1.1.6   root     11954: fi
1.1.1.19! root     11955: rm -f conftest.err conftest.$ac_objext \
        !          11956:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     11957: fi
1.1.1.19! root     11958: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
        !          11959: echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
1.1.1.6   root     11960: if test $fu_cv_sys_stat_statvfs = yes; then
                   11961: space=yes
1.1.1.19! root     11962: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     11963: #define STAT_STATVFS 1
1.1.1.19! root     11964: _ACEOF
1.1.1.6   root     11965: 
                   11966: fi
                   11967: fi
                   11968: 
                   11969: if test $space = no; then
                   11970: # DEC Alpha running OSF/1
1.1.1.19! root     11971: echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
        !          11972: echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6
        !          11973: if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
        !          11974:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11975: else
                   11976:   if test "$cross_compiling" = yes; then
                   11977:   fu_cv_sys_stat_statfs3_osf1=no
                   11978: else
1.1.1.19! root     11979:   cat >conftest.$ac_ext <<_ACEOF
        !          11980: /* confdefs.h.  */
        !          11981: _ACEOF
        !          11982: cat confdefs.h >>conftest.$ac_ext
        !          11983: cat >>conftest.$ac_ext <<_ACEOF
        !          11984: /* end confdefs.h.  */
1.1.1.6   root     11985: 
                   11986: #include <sys/param.h>
                   11987: #include <sys/types.h>
                   11988: #include <sys/mount.h>
                   11989: main ()
                   11990: {
                   11991: struct statfs fsd;
                   11992: fsd.f_fsize = 0;
                   11993: exit (statfs (".", &fsd, sizeof (struct statfs)));
                   11994: }
1.1.1.19! root     11995: _ACEOF
        !          11996: rm -f conftest$ac_exeext
        !          11997: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          11998:   (eval $ac_link) 2>&5
        !          11999:   ac_status=$?
        !          12000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12001:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          12002:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12003:   (eval $ac_try) 2>&5
        !          12004:   ac_status=$?
        !          12005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12006:   (exit $ac_status); }; }; then
1.1.1.6   root     12007:   fu_cv_sys_stat_statfs3_osf1=yes
                   12008: else
1.1.1.19! root     12009:   echo "$as_me: program exited with status $ac_status" >&5
        !          12010: echo "$as_me: failed program was:" >&5
        !          12011: sed 's/^/| /' conftest.$ac_ext >&5
        !          12012: 
        !          12013: ( exit $ac_status )
        !          12014: fu_cv_sys_stat_statfs3_osf1=no
1.1.1.6   root     12015: fi
1.1.1.19! root     12016: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12017: fi
                   12018: fi
                   12019: 
1.1.1.19! root     12020: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
        !          12021: echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
1.1.1.6   root     12022: if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
                   12023: space=yes
1.1.1.19! root     12024: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12025: #define STAT_STATFS3_OSF1 1
1.1.1.19! root     12026: _ACEOF
1.1.1.6   root     12027: 
                   12028: fi
                   12029: fi
                   12030: 
                   12031: if test $space = no; then
                   12032: # AIX
1.1.1.19! root     12033: echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
        !          12034: echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6
        !          12035: if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
        !          12036:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12037: else
                   12038:   if test "$cross_compiling" = yes; then
                   12039:   fu_cv_sys_stat_statfs2_bsize=no
                   12040: else
1.1.1.19! root     12041:   cat >conftest.$ac_ext <<_ACEOF
        !          12042: /* confdefs.h.  */
        !          12043: _ACEOF
        !          12044: cat confdefs.h >>conftest.$ac_ext
        !          12045: cat >>conftest.$ac_ext <<_ACEOF
        !          12046: /* end confdefs.h.  */
1.1.1.6   root     12047: 
                   12048: #ifdef HAVE_SYS_PARAM_H
                   12049: #include <sys/param.h>
                   12050: #endif
                   12051: #ifdef HAVE_SYS_MOUNT_H
                   12052: #include <sys/mount.h>
                   12053: #endif
                   12054: #ifdef HAVE_SYS_VFS_H
                   12055: #include <sys/vfs.h>
                   12056: #endif
                   12057: main ()
                   12058: {
                   12059: struct statfs fsd;
                   12060: fsd.f_bsize = 0;
                   12061: exit (statfs (".", &fsd));
                   12062: }
1.1.1.19! root     12063: _ACEOF
        !          12064: rm -f conftest$ac_exeext
        !          12065: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12066:   (eval $ac_link) 2>&5
        !          12067:   ac_status=$?
        !          12068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12069:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          12070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12071:   (eval $ac_try) 2>&5
        !          12072:   ac_status=$?
        !          12073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12074:   (exit $ac_status); }; }; then
1.1.1.6   root     12075:   fu_cv_sys_stat_statfs2_bsize=yes
                   12076: else
1.1.1.19! root     12077:   echo "$as_me: program exited with status $ac_status" >&5
        !          12078: echo "$as_me: failed program was:" >&5
        !          12079: sed 's/^/| /' conftest.$ac_ext >&5
        !          12080: 
        !          12081: ( exit $ac_status )
        !          12082: fu_cv_sys_stat_statfs2_bsize=no
1.1.1.6   root     12083: fi
1.1.1.19! root     12084: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12085: fi
                   12086: fi
                   12087: 
1.1.1.19! root     12088: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
        !          12089: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
1.1.1.6   root     12090: if test $fu_cv_sys_stat_statfs2_bsize = yes; then
                   12091: space=yes
1.1.1.19! root     12092: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12093: #define STAT_STATFS2_BSIZE 1
1.1.1.19! root     12094: _ACEOF
1.1.1.6   root     12095: 
                   12096: fi
                   12097: fi
                   12098: 
                   12099: if test $space = no; then
                   12100: # SVR3
1.1.1.19! root     12101: echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
        !          12102: echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6
        !          12103: if test "${fu_cv_sys_stat_statfs4+set}" = set; then
        !          12104:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12105: else
                   12106:   if test "$cross_compiling" = yes; then
                   12107:   fu_cv_sys_stat_statfs4=no
                   12108: else
1.1.1.19! root     12109:   cat >conftest.$ac_ext <<_ACEOF
        !          12110: /* confdefs.h.  */
        !          12111: _ACEOF
        !          12112: cat confdefs.h >>conftest.$ac_ext
        !          12113: cat >>conftest.$ac_ext <<_ACEOF
        !          12114: /* end confdefs.h.  */
1.1.1.6   root     12115: #include <sys/types.h>
                   12116: #include <sys/statfs.h>
                   12117: main ()
                   12118: {
                   12119: struct statfs fsd;
                   12120: exit (statfs (".", &fsd, sizeof fsd, 0));
                   12121: }
1.1.1.19! root     12122: _ACEOF
        !          12123: rm -f conftest$ac_exeext
        !          12124: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12125:   (eval $ac_link) 2>&5
        !          12126:   ac_status=$?
        !          12127:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12128:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          12129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12130:   (eval $ac_try) 2>&5
        !          12131:   ac_status=$?
        !          12132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12133:   (exit $ac_status); }; }; then
1.1.1.6   root     12134:   fu_cv_sys_stat_statfs4=yes
                   12135: else
1.1.1.19! root     12136:   echo "$as_me: program exited with status $ac_status" >&5
        !          12137: echo "$as_me: failed program was:" >&5
        !          12138: sed 's/^/| /' conftest.$ac_ext >&5
        !          12139: 
        !          12140: ( exit $ac_status )
        !          12141: fu_cv_sys_stat_statfs4=no
1.1.1.6   root     12142: fi
1.1.1.19! root     12143: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12144: fi
                   12145: fi
                   12146: 
1.1.1.19! root     12147: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
        !          12148: echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
1.1.1.6   root     12149: if test $fu_cv_sys_stat_statfs4 = yes; then
                   12150: space=yes
1.1.1.19! root     12151: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12152: #define STAT_STATFS4 1
1.1.1.19! root     12153: _ACEOF
1.1.1.6   root     12154: 
                   12155: fi
                   12156: fi
                   12157: 
                   12158: if test $space = no; then
                   12159: # 4.4BSD and NetBSD
1.1.1.19! root     12160: echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
        !          12161: echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6
        !          12162: if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
        !          12163:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12164: else
                   12165:   if test "$cross_compiling" = yes; then
                   12166:   fu_cv_sys_stat_statfs2_fsize=no
                   12167: else
1.1.1.19! root     12168:   cat >conftest.$ac_ext <<_ACEOF
        !          12169: /* confdefs.h.  */
        !          12170: _ACEOF
        !          12171: cat confdefs.h >>conftest.$ac_ext
        !          12172: cat >>conftest.$ac_ext <<_ACEOF
        !          12173: /* end confdefs.h.  */
1.1.1.6   root     12174: #include <sys/types.h>
                   12175: #ifdef HAVE_SYS_PARAM_H
                   12176: #include <sys/param.h>
                   12177: #endif
                   12178: #ifdef HAVE_SYS_MOUNT_H
                   12179: #include <sys/mount.h>
                   12180: #endif
                   12181: main ()
                   12182: {
                   12183: struct statfs fsd;
                   12184: fsd.f_fsize = 0;
                   12185: exit (statfs (".", &fsd));
                   12186: }
1.1.1.19! root     12187: _ACEOF
        !          12188: rm -f conftest$ac_exeext
        !          12189: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12190:   (eval $ac_link) 2>&5
        !          12191:   ac_status=$?
        !          12192:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12193:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          12194:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12195:   (eval $ac_try) 2>&5
        !          12196:   ac_status=$?
        !          12197:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12198:   (exit $ac_status); }; }; then
1.1.1.6   root     12199:   fu_cv_sys_stat_statfs2_fsize=yes
                   12200: else
1.1.1.19! root     12201:   echo "$as_me: program exited with status $ac_status" >&5
        !          12202: echo "$as_me: failed program was:" >&5
        !          12203: sed 's/^/| /' conftest.$ac_ext >&5
        !          12204: 
        !          12205: ( exit $ac_status )
        !          12206: fu_cv_sys_stat_statfs2_fsize=no
1.1.1.6   root     12207: fi
1.1.1.19! root     12208: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12209: fi
                   12210: fi
                   12211: 
1.1.1.19! root     12212: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
        !          12213: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
1.1.1.6   root     12214: if test $fu_cv_sys_stat_statfs2_fsize = yes; then
                   12215: space=yes
1.1.1.19! root     12216: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12217: #define STAT_STATFS2_FSIZE 1
1.1.1.19! root     12218: _ACEOF
1.1.1.6   root     12219: 
                   12220: fi
                   12221: fi
                   12222: 
                   12223: if test $space = no; then
                   12224: # Ultrix
1.1.1.19! root     12225: echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
        !          12226: echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6
        !          12227: if test "${fu_cv_sys_stat_fs_data+set}" = set; then
        !          12228:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12229: else
                   12230:   if test "$cross_compiling" = yes; then
                   12231:   fu_cv_sys_stat_fs_data=no
                   12232: else
1.1.1.19! root     12233:   cat >conftest.$ac_ext <<_ACEOF
        !          12234: /* confdefs.h.  */
        !          12235: _ACEOF
        !          12236: cat confdefs.h >>conftest.$ac_ext
        !          12237: cat >>conftest.$ac_ext <<_ACEOF
        !          12238: /* end confdefs.h.  */
1.1.1.6   root     12239: #include <sys/types.h>
                   12240: #ifdef HAVE_SYS_PARAM_H
                   12241: #include <sys/param.h>
                   12242: #endif
                   12243: #ifdef HAVE_SYS_MOUNT_H
                   12244: #include <sys/mount.h>
                   12245: #endif
                   12246: #ifdef HAVE_SYS_FS_TYPES_H
                   12247: #include <sys/fs_types.h>
                   12248: #endif
                   12249: main ()
                   12250: {
                   12251: struct fs_data fsd;
                   12252: /* Ultrix's statfs returns 1 for success,
                   12253: 0 for not mounted, -1 for failure.  */
                   12254: exit (statfs (".", &fsd) != 1);
                   12255: }
1.1.1.19! root     12256: _ACEOF
        !          12257: rm -f conftest$ac_exeext
        !          12258: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12259:   (eval $ac_link) 2>&5
        !          12260:   ac_status=$?
        !          12261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12262:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          12263:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12264:   (eval $ac_try) 2>&5
        !          12265:   ac_status=$?
        !          12266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12267:   (exit $ac_status); }; }; then
1.1.1.6   root     12268:   fu_cv_sys_stat_fs_data=yes
                   12269: else
1.1.1.19! root     12270:   echo "$as_me: program exited with status $ac_status" >&5
        !          12271: echo "$as_me: failed program was:" >&5
        !          12272: sed 's/^/| /' conftest.$ac_ext >&5
        !          12273: 
        !          12274: ( exit $ac_status )
        !          12275: fu_cv_sys_stat_fs_data=no
1.1.1.6   root     12276: fi
1.1.1.19! root     12277: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12278: fi
                   12279: fi
                   12280: 
1.1.1.19! root     12281: echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
        !          12282: echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
1.1.1.6   root     12283: if test $fu_cv_sys_stat_fs_data = yes; then
                   12284: space=yes
1.1.1.19! root     12285: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12286: #define STAT_STATFS2_FS_DATA 1
1.1.1.19! root     12287: _ACEOF
1.1.1.6   root     12288: 
                   12289: fi
                   12290: fi
                   12291: 
                   12292: if test $space = no; then
                   12293: # SVR2
1.1.1.19! root     12294: cat >conftest.$ac_ext <<_ACEOF
        !          12295: /* confdefs.h.  */
        !          12296: _ACEOF
        !          12297: cat confdefs.h >>conftest.$ac_ext
        !          12298: cat >>conftest.$ac_ext <<_ACEOF
        !          12299: /* end confdefs.h.  */
1.1.1.6   root     12300: #include <sys/filsys.h>
1.1.1.19! root     12301: _ACEOF
        !          12302: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          12303:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          12304:   ac_status=$?
        !          12305:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12306:   rm -f conftest.er1
        !          12307:   cat conftest.err >&5
        !          12308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12309:   (exit $ac_status); } >/dev/null; then
        !          12310:   if test -s conftest.err; then
        !          12311:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          12312:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
        !          12313:   else
        !          12314:     ac_cpp_err=
        !          12315:   fi
        !          12316: else
        !          12317:   ac_cpp_err=yes
        !          12318: fi
        !          12319: if test -z "$ac_cpp_err"; then
        !          12320:   cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12321: #define STAT_READ_FILSYS 1
1.1.1.19! root     12322: _ACEOF
1.1.1.6   root     12323:  space=yes
                   12324: else
1.1.1.19! root     12325:   echo "$as_me: failed program was:" >&5
        !          12326: sed 's/^/| /' conftest.$ac_ext >&5
        !          12327: 
        !          12328: 
1.1.1.6   root     12329: fi
1.1.1.19! root     12330: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12331: fi
                   12332: 
                   12333: if test -n "$list_mounted_fs" && test $space != no; then
                   12334: DF_PROG="df"
1.1.1.19! root     12335: case $LIBOBJS in
        !          12336:     "fsusage.$ac_objext"   | \
        !          12337:   *" fsusage.$ac_objext"   | \
        !          12338:     "fsusage.$ac_objext "* | \
        !          12339:   *" fsusage.$ac_objext "* ) ;;
        !          12340:   *) LIBOBJS="$LIBOBJS fsusage.$ac_objext" ;;
        !          12341: esac
        !          12342: 
        !          12343: case $LIBOBJS in
        !          12344:     "mountlist.$ac_objext"   | \
        !          12345:   *" mountlist.$ac_objext"   | \
        !          12346:     "mountlist.$ac_objext "* | \
        !          12347:   *" mountlist.$ac_objext "* ) ;;
        !          12348:   *) LIBOBJS="$LIBOBJS mountlist.$ac_objext" ;;
        !          12349: esac
        !          12350: 
1.1.1.6   root     12351: fi
1.1.1.4   root     12352: 
1.1.1.19! root     12353: 
1.1.1.6   root     12354: for ac_func in ftruncate
1.1.1.4   root     12355: do
1.1.1.19! root     12356: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          12357: echo "$as_me:$LINENO: checking for $ac_func" >&5
        !          12358: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          12359: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          12360:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          12361: else
        !          12362:   cat >conftest.$ac_ext <<_ACEOF
        !          12363: /* confdefs.h.  */
        !          12364: _ACEOF
        !          12365: cat confdefs.h >>conftest.$ac_ext
        !          12366: cat >>conftest.$ac_ext <<_ACEOF
        !          12367: /* end confdefs.h.  */
        !          12368: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
        !          12369:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          12370: #define $ac_func innocuous_$ac_func
        !          12371: 
1.1.1.4   root     12372: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19! root     12373:     which can conflict with char $ac_func (); below.
        !          12374:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          12375:     <limits.h> exists even on freestanding compilers.  */
        !          12376: 
        !          12377: #ifdef __STDC__
        !          12378: # include <limits.h>
        !          12379: #else
        !          12380: # include <assert.h>
        !          12381: #endif
1.1.1.4   root     12382: 
1.1.1.19! root     12383: #undef $ac_func
1.1.1.4   root     12384: 
1.1.1.19! root     12385: /* Override any gcc2 internal prototype to avoid an error.  */
        !          12386: #ifdef __cplusplus
        !          12387: extern "C"
        !          12388: {
        !          12389: #endif
        !          12390: /* We use char because int might match the return type of a gcc2
        !          12391:    builtin and then its argument prototype would still apply.  */
        !          12392: char $ac_func ();
1.1.1.4   root     12393: /* The GNU C library defines this for functions which it implements
                   12394:     to always fail with ENOSYS.  Some functions are actually named
                   12395:     something starting with __ and the normal name is an alias.  */
                   12396: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   12397: choke me
                   12398: #else
1.1.1.19! root     12399: char (*f) () = $ac_func;
        !          12400: #endif
        !          12401: #ifdef __cplusplus
        !          12402: }
1.1.1.4   root     12403: #endif
1.1       root     12404: 
1.1.1.19! root     12405: int
        !          12406: main ()
        !          12407: {
        !          12408: return f != $ac_func;
        !          12409:   ;
        !          12410:   return 0;
        !          12411: }
        !          12412: _ACEOF
        !          12413: rm -f conftest.$ac_objext conftest$ac_exeext
        !          12414: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12415:   (eval $ac_link) 2>conftest.er1
        !          12416:   ac_status=$?
        !          12417:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12418:   rm -f conftest.er1
        !          12419:   cat conftest.err >&5
        !          12420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12421:   (exit $ac_status); } &&
        !          12422:         { ac_try='test -z "$ac_c_werror_flag"
        !          12423:                         || test ! -s conftest.err'
        !          12424:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12425:   (eval $ac_try) 2>&5
        !          12426:   ac_status=$?
        !          12427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12428:   (exit $ac_status); }; } &&
        !          12429:         { ac_try='test -s conftest$ac_exeext'
        !          12430:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12431:   (eval $ac_try) 2>&5
        !          12432:   ac_status=$?
        !          12433:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12434:   (exit $ac_status); }; }; then
        !          12435:   eval "$as_ac_var=yes"
        !          12436: else
        !          12437:   echo "$as_me: failed program was:" >&5
        !          12438: sed 's/^/| /' conftest.$ac_ext >&5
        !          12439: 
        !          12440: eval "$as_ac_var=no"
        !          12441: fi
        !          12442: rm -f conftest.err conftest.$ac_objext \
        !          12443:       conftest$ac_exeext conftest.$ac_ext
        !          12444: fi
        !          12445: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          12446: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          12447: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          12448:   cat >>confdefs.h <<_ACEOF
        !          12449: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          12450: _ACEOF
1.1.1.4   root     12451: 
1.1       root     12452: else
1.1.1.19! root     12453:   ftruncate_missing=yes
1.1       root     12454: fi
                   12455: done
                   12456: 
                   12457: 
1.1.1.6   root     12458: if test "$ftruncate_missing" = yes; then
1.1.1.19! root     12459: echo "$as_me:$LINENO: checking fcntl emulation of ftruncate" >&5
        !          12460: echo $ECHO_N "checking fcntl emulation of ftruncate... $ECHO_C" >&6
        !          12461: if test "${fu_cv_sys_ftruncate_emulation+set}" = set; then
        !          12462:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          12463: else
        !          12464:   cat >conftest.$ac_ext <<_ACEOF
        !          12465: /* confdefs.h.  */
        !          12466: _ACEOF
        !          12467: cat confdefs.h >>conftest.$ac_ext
        !          12468: cat >>conftest.$ac_ext <<_ACEOF
        !          12469: /* end confdefs.h.  */
1.1       root     12470: 
1.1.1.2   root     12471: #include <sys/types.h>
1.1.1.6   root     12472: #include <fcntl.h>
1.1.1.19! root     12473: int
        !          12474: main ()
        !          12475: {
1.1.1.6   root     12476: 
                   12477: #if !defined(F_CHSIZE) && !defined(F_FREESP)
                   12478: chsize();
                   12479: #endif
                   12480: 
1.1.1.19! root     12481:   ;
        !          12482:   return 0;
        !          12483: }
        !          12484: _ACEOF
        !          12485: rm -f conftest.$ac_objext conftest$ac_exeext
        !          12486: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12487:   (eval $ac_link) 2>conftest.er1
        !          12488:   ac_status=$?
        !          12489:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12490:   rm -f conftest.er1
        !          12491:   cat conftest.err >&5
        !          12492:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12493:   (exit $ac_status); } &&
        !          12494:         { ac_try='test -z "$ac_c_werror_flag"
        !          12495:                         || test ! -s conftest.err'
        !          12496:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12497:   (eval $ac_try) 2>&5
        !          12498:   ac_status=$?
        !          12499:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12500:   (exit $ac_status); }; } &&
        !          12501:         { ac_try='test -s conftest$ac_exeext'
        !          12502:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12503:   (eval $ac_try) 2>&5
        !          12504:   ac_status=$?
        !          12505:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12506:   (exit $ac_status); }; }; then
1.1.1.6   root     12507:   fu_cv_sys_ftruncate_emulation=yes
1.1       root     12508: else
1.1.1.19! root     12509:   echo "$as_me: failed program was:" >&5
        !          12510: sed 's/^/| /' conftest.$ac_ext >&5
        !          12511: 
        !          12512: fu_cv_sys_ftruncate_emulation=no
1.1       root     12513: fi
1.1.1.19! root     12514: rm -f conftest.err conftest.$ac_objext \
        !          12515:       conftest$ac_exeext conftest.$ac_ext
1.1       root     12516: fi
                   12517: 
1.1.1.19! root     12518: echo "$as_me:$LINENO: result: $fu_cv_sys_ftruncate_emulation" >&5
        !          12519: echo "${ECHO_T}$fu_cv_sys_ftruncate_emulation" >&6
1.1.1.6   root     12520: if test $fu_cv_sys_ftruncate_emulation = yes; then
1.1.1.19! root     12521: case $LIBOBJS in
        !          12522:     "ftruncate.$ac_objext"   | \
        !          12523:   *" ftruncate.$ac_objext"   | \
        !          12524:     "ftruncate.$ac_objext "* | \
        !          12525:   *" ftruncate.$ac_objext "* ) ;;
        !          12526:   *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" ;;
        !          12527: esac
        !          12528: 
1.1.1.6   root     12529: fi
                   12530: fi
                   12531: 
                   12532: # Check for SunOS statfs brokenness wrt partitions 2GB and larger.
                   12533: # If <sys/vfs.h> exists and struct statfs has a member named f_spare,
                   12534: # enable the work-around code in fsusage.c.
1.1.1.19! root     12535: echo "$as_me:$LINENO: checking for statfs that truncates block counts" >&5
        !          12536: echo $ECHO_N "checking for statfs that truncates block counts... $ECHO_C" >&6
        !          12537: if test "${fu_cv_sys_truncating_statfs+set}" = set; then
        !          12538:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          12539: else
        !          12540:   cat >conftest.$ac_ext <<_ACEOF
        !          12541: /* confdefs.h.  */
        !          12542: _ACEOF
        !          12543: cat confdefs.h >>conftest.$ac_ext
        !          12544: cat >>conftest.$ac_ext <<_ACEOF
        !          12545: /* end confdefs.h.  */
1.1       root     12546: 
1.1.1.6   root     12547: #if !defined(sun) && !defined(__sun)
                   12548: choke -- this is a workaround for a Sun-specific problem
1.1       root     12549: #endif
1.1.1.6   root     12550: #include <sys/types.h>
1.1       root     12551: #include <sys/vfs.h>
1.1.1.19! root     12552: int
        !          12553: main ()
        !          12554: {
1.1.1.6   root     12555: struct statfs t; long c = *(t.f_spare);
1.1.1.19! root     12556:   ;
        !          12557:   return 0;
        !          12558: }
        !          12559: _ACEOF
        !          12560: rm -f conftest.$ac_objext
        !          12561: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          12562:   (eval $ac_compile) 2>conftest.er1
        !          12563:   ac_status=$?
        !          12564:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12565:   rm -f conftest.er1
        !          12566:   cat conftest.err >&5
        !          12567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12568:   (exit $ac_status); } &&
        !          12569:         { ac_try='test -z "$ac_c_werror_flag"
        !          12570:                         || test ! -s conftest.err'
        !          12571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12572:   (eval $ac_try) 2>&5
        !          12573:   ac_status=$?
        !          12574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12575:   (exit $ac_status); }; } &&
        !          12576:         { ac_try='test -s conftest.$ac_objext'
        !          12577:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12578:   (eval $ac_try) 2>&5
        !          12579:   ac_status=$?
        !          12580:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12581:   (exit $ac_status); }; }; then
1.1.1.6   root     12582:   fu_cv_sys_truncating_statfs=yes
1.1       root     12583: else
1.1.1.19! root     12584:   echo "$as_me: failed program was:" >&5
        !          12585: sed 's/^/| /' conftest.$ac_ext >&5
        !          12586: 
        !          12587: fu_cv_sys_truncating_statfs=no
1.1.1.6   root     12588: fi
1.1.1.19! root     12589: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12590: fi
                   12591: 
                   12592: if test $fu_cv_sys_truncating_statfs = yes; then
1.1.1.19! root     12593: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12594: #define STATFS_TRUNCATES_BLOCK_COUNTS 1
1.1.1.19! root     12595: _ACEOF
1.1.1.6   root     12596: 
                   12597: fi
1.1.1.19! root     12598: echo "$as_me:$LINENO: result: $fu_cv_sys_truncating_statfs" >&5
        !          12599: echo "${ECHO_T}$fu_cv_sys_truncating_statfs" >&6
1.1.1.6   root     12600: 
1.1.1.19! root     12601: { echo "$as_me:$LINENO: checking for AFS..." >&5
        !          12602: echo "$as_me: checking for AFS..." >&6;}
        !          12603: test -d /afs && cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12604: #define AFS 1
1.1.1.19! root     12605: _ACEOF
1.1.1.6   root     12606: 
                   12607: 
                   12608: fi
                   12609: 
                   12610: if [ $target = "p.os" ]; then
                   12611:     HAVE_POS=yes
                   12612: else
1.1.1.19! root     12613:   echo "$as_me:$LINENO: checking for pOS" >&5
        !          12614: echo $ECHO_N "checking for pOS... $ECHO_C" >&6
        !          12615:   cat >conftest.$ac_ext <<_ACEOF
        !          12616: /* confdefs.h.  */
        !          12617: _ACEOF
        !          12618: cat confdefs.h >>conftest.$ac_ext
        !          12619: cat >>conftest.$ac_ext <<_ACEOF
        !          12620: /* end confdefs.h.  */
1.1.1.6   root     12621: #ifdef __POS__
                   12622:     yes
                   12623:   #endif
1.1.1.19! root     12624: 
        !          12625: _ACEOF
1.1.1.6   root     12626: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     12627:   $EGREP "yes" >/dev/null 2>&1; then
        !          12628:   echo "$as_me:$LINENO: result: yes" >&5
        !          12629: echo "${ECHO_T}yes" >&6; HAVE_POS=yes
1.1.1.6   root     12630: else
1.1.1.19! root     12631:   echo "$as_me:$LINENO: result: no" >&5
        !          12632: echo "${ECHO_T}no" >&6; HAVE_POS=no
1.1       root     12633: fi
                   12634: rm -f conftest*
1.1.1.6   root     12635: 
1.1       root     12636: fi
                   12637: 
1.1.1.16  root     12638: if test "$SDL_CONFIG" = "not-found" ; then
                   12639:   HAVE_SDL_LIB=no
                   12640: else
                   12641:   HAVE_SDL_LIB=yes
                   12642:   SDL_CFLAGS=`$SDL_CONFIG --cflags`
                   12643:   SDL_LIBS=`$SDL_CONFIG --libs`
                   12644: fi
                   12645: 
                   12646: 
1.1.1.2   root     12647: 
1.1.1.4   root     12648: if [ "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   12649:   if [ "x$ac_cv_header_ncurses_h" = "xno" -a "x$ac_cv_header_curses_h" = "xno" ]; then
                   12650:     echo "Installation problem, found libncurses but neither curses.h nor ncurses.h!"
                   12651:     HAVE_NCURSES_LIB=no
                   12652:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   12653:   else
                   12654:     if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
1.1.1.19! root     12655:       echo "$as_me:$LINENO: checking for attr_t in curses.h" >&5
        !          12656: echo $ECHO_N "checking for attr_t in curses.h... $ECHO_C" >&6
        !          12657:       cat >conftest.$ac_ext <<_ACEOF
        !          12658: /* confdefs.h.  */
        !          12659: _ACEOF
        !          12660: cat confdefs.h >>conftest.$ac_ext
        !          12661: cat >>conftest.$ac_ext <<_ACEOF
        !          12662: /* end confdefs.h.  */
1.1.1.4   root     12663: #include <curses.h>
1.1.1.19! root     12664: int
        !          12665: main ()
        !          12666: {
1.1.1.4   root     12667: { attr_t a; a = A_NORMAL; }
1.1.1.19! root     12668:   ;
        !          12669:   return 0;
        !          12670: }
        !          12671: _ACEOF
        !          12672: rm -f conftest.$ac_objext
        !          12673: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          12674:   (eval $ac_compile) 2>conftest.er1
        !          12675:   ac_status=$?
        !          12676:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12677:   rm -f conftest.er1
        !          12678:   cat conftest.err >&5
        !          12679:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12680:   (exit $ac_status); } &&
        !          12681:         { ac_try='test -z "$ac_c_werror_flag"
        !          12682:                         || test ! -s conftest.err'
        !          12683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12684:   (eval $ac_try) 2>&5
        !          12685:   ac_status=$?
        !          12686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12687:   (exit $ac_status); }; } &&
        !          12688:         { ac_try='test -s conftest.$ac_objext'
        !          12689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12690:   (eval $ac_try) 2>&5
        !          12691:   ac_status=$?
        !          12692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12693:   (exit $ac_status); }; }; then
        !          12694:   echo "$as_me:$LINENO: result: yes" >&5
        !          12695: echo "${ECHO_T}yes" >&6
        !          12696: else
        !          12697:   echo "$as_me: failed program was:" >&5
        !          12698: sed 's/^/| /' conftest.$ac_ext >&5
        !          12699: 
        !          12700: 
1.1.1.4   root     12701:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.19! root     12702:         echo "$as_me:$LINENO: result: no" >&5
        !          12703: echo "${ECHO_T}no" >&6
1.1.1.4   root     12704:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   12705:        echo "Please install a newer version of libncurses if you can."
1.1.1.19! root     12706: 
1.1.1.4   root     12707: fi
1.1.1.19! root     12708: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     12709:     else
1.1.1.19! root     12710:       echo "$as_me:$LINENO: checking for attr_t in ncurses.h" >&5
        !          12711: echo $ECHO_N "checking for attr_t in ncurses.h... $ECHO_C" >&6
        !          12712:       cat >conftest.$ac_ext <<_ACEOF
        !          12713: /* confdefs.h.  */
        !          12714: _ACEOF
        !          12715: cat confdefs.h >>conftest.$ac_ext
        !          12716: cat >>conftest.$ac_ext <<_ACEOF
        !          12717: /* end confdefs.h.  */
1.1.1.4   root     12718: #include <ncurses.h>
1.1.1.19! root     12719: int
        !          12720: main ()
        !          12721: {
1.1.1.4   root     12722: { attr_t a; a = A_NORMAL; }
1.1.1.19! root     12723:   ;
        !          12724:   return 0;
        !          12725: }
        !          12726: _ACEOF
        !          12727: rm -f conftest.$ac_objext
        !          12728: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          12729:   (eval $ac_compile) 2>conftest.er1
        !          12730:   ac_status=$?
        !          12731:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12732:   rm -f conftest.er1
        !          12733:   cat conftest.err >&5
        !          12734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12735:   (exit $ac_status); } &&
        !          12736:         { ac_try='test -z "$ac_c_werror_flag"
        !          12737:                         || test ! -s conftest.err'
        !          12738:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12739:   (eval $ac_try) 2>&5
        !          12740:   ac_status=$?
        !          12741:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12742:   (exit $ac_status); }; } &&
        !          12743:         { ac_try='test -s conftest.$ac_objext'
        !          12744:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12745:   (eval $ac_try) 2>&5
        !          12746:   ac_status=$?
        !          12747:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12748:   (exit $ac_status); }; }; then
        !          12749:   echo "$as_me:$LINENO: result: yes" >&5
        !          12750: echo "${ECHO_T}yes" >&6
        !          12751: else
        !          12752:   echo "$as_me: failed program was:" >&5
        !          12753: sed 's/^/| /' conftest.$ac_ext >&5
        !          12754: 
        !          12755: 
1.1.1.4   root     12756:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.19! root     12757:         echo "$as_me:$LINENO: result: no" >&5
        !          12758: echo "${ECHO_T}no" >&6
1.1.1.4   root     12759:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   12760:        echo "Please install a newer version of libncurses if you can."
1.1.1.19! root     12761: 
1.1.1.4   root     12762: fi
1.1.1.19! root     12763: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.2   root     12764:     fi
1.1.1.4   root     12765:   fi
1.1.1.2   root     12766: fi
1.1.1.4   root     12767: 
1.1.1.19! root     12768: echo "$as_me:$LINENO: checking for pthread library" >&5
        !          12769: echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
1.1.1.6   root     12770: TMP_SAVE_CFLAGS=$CFLAGS
                   12771: TMP_SAVE_LIBS=$LIBS
                   12772: LIBS="$LIBS -lpthread"
1.1.1.19! root     12773: cat >conftest.$ac_ext <<_ACEOF
        !          12774: /* confdefs.h.  */
        !          12775: _ACEOF
        !          12776: cat confdefs.h >>conftest.$ac_ext
        !          12777: cat >>conftest.$ac_ext <<_ACEOF
        !          12778: /* end confdefs.h.  */
1.1.1.6   root     12779: 
                   12780: #include "confdefs.h"
                   12781: #ifdef HAVE_SYS_TYPES_H
                   12782: #include <sys/types.h>
                   12783: #endif
                   12784: #include <pthread.h>
1.1.1.19! root     12785: int
        !          12786: main ()
        !          12787: {
1.1.1.6   root     12788: 
                   12789: pthread_exit (0);
1.1.1.10  root     12790: 
1.1.1.19! root     12791:   ;
        !          12792:   return 0;
        !          12793: }
        !          12794: _ACEOF
        !          12795: rm -f conftest.$ac_objext conftest$ac_exeext
        !          12796: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12797:   (eval $ac_link) 2>conftest.er1
        !          12798:   ac_status=$?
        !          12799:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12800:   rm -f conftest.er1
        !          12801:   cat conftest.err >&5
        !          12802:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12803:   (exit $ac_status); } &&
        !          12804:         { ac_try='test -z "$ac_c_werror_flag"
        !          12805:                         || test ! -s conftest.err'
        !          12806:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12807:   (eval $ac_try) 2>&5
        !          12808:   ac_status=$?
        !          12809:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12810:   (exit $ac_status); }; } &&
        !          12811:         { ac_try='test -s conftest$ac_exeext'
        !          12812:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12813:   (eval $ac_try) 2>&5
        !          12814:   ac_status=$?
        !          12815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12816:   (exit $ac_status); }; }; then
1.1.1.6   root     12817:   HAVE_PTHREAD_LIB=yes
1.1.1.19! root     12818: echo "$as_me:$LINENO: result: yes" >&5
        !          12819: echo "${ECHO_T}yes" >&6
1.1.1.6   root     12820: else
1.1.1.19! root     12821:   echo "$as_me: failed program was:" >&5
        !          12822: sed 's/^/| /' conftest.$ac_ext >&5
        !          12823: 
        !          12824: HAVE_PTHREAD_LIB=no
        !          12825: echo "$as_me:$LINENO: result: no" >&5
        !          12826: echo "${ECHO_T}no" >&6
1.1.1.6   root     12827: fi
1.1.1.19! root     12828: rm -f conftest.err conftest.$ac_objext \
        !          12829:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12830: CFLAGS=$TMP_SAVE_CFLAGS
                   12831: LIBS=$TMP_SAVE_LIBS
                   12832: 
1.1.1.19! root     12833: echo "$as_me:$LINENO: checking for DirectX" >&5
        !          12834: echo $ECHO_N "checking for DirectX... $ECHO_C" >&6
1.1.1.6   root     12835: TMP_SAVE_CFLAGS=$CFLAGS
                   12836: TMP_SAVE_LIBS=$LIBS
                   12837: CFLAGS="$CFLAGS $X_CFLAGS"
                   12838: LIBS="$LIBS -lddraw"
1.1.1.19! root     12839: cat >conftest.$ac_ext <<_ACEOF
        !          12840: /* confdefs.h.  */
        !          12841: _ACEOF
        !          12842: cat confdefs.h >>conftest.$ac_ext
        !          12843: cat >>conftest.$ac_ext <<_ACEOF
        !          12844: /* end confdefs.h.  */
1.1.1.6   root     12845: 
                   12846: #include "confdefs.h"
                   12847: #ifdef HAVE_SYS_TYPES_H
                   12848: #include <sys/types.h>
                   12849: #endif
                   12850: #include <windows.h>
                   12851: #include <ddraw.h>
1.1.1.19! root     12852: int
        !          12853: main ()
        !          12854: {
1.1.1.6   root     12855: 
                   12856: LPDIRECTDRAW lpDD;
                   12857: IDirectDraw_CreateSurface(lpDD, 0, 0, 0);
                   12858: 
1.1.1.19! root     12859:   ;
        !          12860:   return 0;
        !          12861: }
        !          12862: _ACEOF
        !          12863: rm -f conftest.$ac_objext conftest$ac_exeext
        !          12864: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          12865:   (eval $ac_link) 2>conftest.er1
        !          12866:   ac_status=$?
        !          12867:   grep -v '^ *+' conftest.er1 >conftest.err
        !          12868:   rm -f conftest.er1
        !          12869:   cat conftest.err >&5
        !          12870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12871:   (exit $ac_status); } &&
        !          12872:         { ac_try='test -z "$ac_c_werror_flag"
        !          12873:                         || test ! -s conftest.err'
        !          12874:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12875:   (eval $ac_try) 2>&5
        !          12876:   ac_status=$?
        !          12877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12878:   (exit $ac_status); }; } &&
        !          12879:         { ac_try='test -s conftest$ac_exeext'
        !          12880:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          12881:   (eval $ac_try) 2>&5
        !          12882:   ac_status=$?
        !          12883:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          12884:   (exit $ac_status); }; }; then
1.1.1.6   root     12885:   HAVE_DIRECTX=yes
1.1.1.19! root     12886: echo "$as_me:$LINENO: result: yes" >&5
        !          12887: echo "${ECHO_T}yes" >&6
1.1.1.6   root     12888: else
1.1.1.19! root     12889:   echo "$as_me: failed program was:" >&5
        !          12890: sed 's/^/| /' conftest.$ac_ext >&5
        !          12891: 
        !          12892: HAVE_DIRECTX=no
        !          12893: echo "$as_me:$LINENO: result: no" >&5
        !          12894: echo "${ECHO_T}no" >&6
1.1.1.6   root     12895: fi
1.1.1.19! root     12896: rm -f conftest.err conftest.$ac_objext \
        !          12897:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12898: CFLAGS=$TMP_SAVE_CFLAGS
                   12899: LIBS=$TMP_SAVE_LIBS
                   12900: 
1.1.1.4   root     12901: DO_PROFILING=no
                   12902: WANT_SVGALIB=dunno
                   12903: WANT_ASCIIART=dunno
                   12904: WANT_UI=dunno
                   12905: WANT_NCURSES_UI=no
                   12906: WANT_DGA=no
                   12907: WANT_VIDMODE=no
                   12908: 
                   12909: # Check whether --enable-profiling or --disable-profiling was given.
                   12910: if test "${enable_profiling+set}" = set; then
                   12911:   enableval="$enable_profiling"
                   12912:   DO_PROFILING=$enableval
1.1.1.19! root     12913: fi;
1.1.1.4   root     12914: 
                   12915: # Check whether --with-svgalib or --without-svgalib was given.
                   12916: if test "${with_svgalib+set}" = set; then
                   12917:   withval="$with_svgalib"
                   12918:   WANT_SVGALIB=$withval
1.1.1.19! root     12919: fi;
1.1.1.2   root     12920: 
1.1.1.16  root     12921: # Check whether --with-sdl or --without-sdl was given.
                   12922: if test "${with_sdl+set}" = set; then
                   12923:   withval="$with_sdl"
                   12924:   WANT_SDL=$withval
1.1.1.19! root     12925: fi;
1.1.1.16  root     12926: 
1.1.1.17  root     12927: # Check whether --with-sdl-sound or --without-sdl-sound was given.
                   12928: if test "${with_sdl_sound+set}" = set; then
                   12929:   withval="$with_sdl_sound"
                   12930:   WANT_SDLSND=$withval
1.1.1.19! root     12931: fi;
1.1.1.17  root     12932: 
                   12933: # Check whether --with-sdl-gfx or --without-sdl-gfx was given.
                   12934: if test "${with_sdl_gfx+set}" = set; then
                   12935:   withval="$with_sdl_gfx"
                   12936:   WANT_SDLGFX=$withval
1.1.1.19! root     12937: fi;
        !          12938: 
        !          12939: # Check whether --with-alsa or --without-alsa was given.
        !          12940: if test "${with_alsa+set}" = set; then
        !          12941:   withval="$with_alsa"
        !          12942:   WANT_ALSA=$withval
        !          12943: fi;
1.1.1.17  root     12944: 
1.1.1.4   root     12945: # Check whether --with-asciiart or --without-asciiart was given.
                   12946: if test "${with_asciiart+set}" = set; then
                   12947:   withval="$with_asciiart"
                   12948:   WANT_ASCIIART=$withval
1.1.1.19! root     12949: fi;
1.1.1.4   root     12950: # Check whether --enable-dga or --disable-dga was given.
                   12951: if test "${enable_dga+set}" = set; then
                   12952:   enableval="$enable_dga"
                   12953:   WANT_DGA=$enableval
1.1.1.19! root     12954: fi;
1.1.1.4   root     12955: # Check whether --enable-vidmode or --disable-vidmode was given.
                   12956: if test "${enable_vidmode+set}" = set; then
                   12957:   enableval="$enable_vidmode"
                   12958:   WANT_VIDMODE=$enableval
1.1.1.19! root     12959: fi;
1.1.1.4   root     12960: # Check whether --enable-ui or --disable-ui was given.
                   12961: if test "${enable_ui+set}" = set; then
                   12962:   enableval="$enable_ui"
                   12963:   WANT_UI=$enableval
1.1.1.19! root     12964: fi;
1.1.1.4   root     12965: 
1.1.1.16  root     12966: # Check whether --with-hostcc or --without-hostcc was given.
                   12967: if test "${with_hostcc+set}" = set; then
                   12968:   withval="$with_hostcc"
                   12969:   HOSTCC=$withval
                   12970: else
                   12971:   HOSTCC=$CC
1.1.1.19! root     12972: fi;
1.1.1.4   root     12973: 
                   12974: 
1.1.1.17  root     12975: if [ "x$WANT_SDLSND" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.19! root     12976:   WANT_SDL=yes
1.1.1.17  root     12977: fi
                   12978: 
                   12979: if [ "x$WANT_SDL" = "xyes" ]; then
                   12980:   if [ "x$HAVE_SDL_LIB" = "xno" ]; then
                   12981:     echo "Could not find libSDL, disabling SDL support."
                   12982:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   12983:     WANT_SDL=no
                   12984:     WANT_SDLSND=no
                   12985:     WANT_SDLGFX=no
                   12986:   else
                   12987:     LIBS="$LIBS $SDL_LIBS"
                   12988:     ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS $SDL_CFLAGS -DUSE_SDL"
                   12989:   fi
                   12990: fi
                   12991: 
1.1.1.19! root     12992: if [ "x$WANT_ALSA" = "xyes" ]; then
        !          12993:   LIBS="$LIBS -lasound"
        !          12994: fi
        !          12995: 
1.1.1.4   root     12996: if [ "x$WANT_DGA" = "xyes" ]; then
1.1.1.17  root     12997:   if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     12998:     echo "You can't enable DGA for SVGAlib, SDL and ncurses targets!"
                   12999:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13000:     WANT_DGA=no
                   13001:   fi
                   13002: fi
                   13003: 
                   13004: if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.17  root     13005:   if [ "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     13006:     echo "You can't enable both SVGAlib and other targets!"
1.1.1.4   root     13007:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13008:     WANT_DGA=no
                   13009:   fi
                   13010: fi
                   13011: 
                   13012: if [ "x$WANT_DGA" = "xyes" -a "x$no_x" = "xyes" ]; then
                   13013:   echo "Ignoring --enable-dga, since X was disabled or not found."
                   13014:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13015:   WANT_DGA=no
                   13016: fi
                   13017: 
                   13018: if [ "x$WANT_DGA" = "xno" -a "x$WANT_VIDMODE" = "xyes" ]; then
                   13019:   echo "The XF86VidMode extension can only be used in DGA mode. Disabling it."
                   13020:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13021:   WANT_VIDMODE=no
                   13022: fi
                   13023: 
                   13024: 
                   13025: if [ "x$WANT_SVGALIB" = "xyes" ]; then
                   13026:   if [ "x$HAVE_SVGA_LIB" = "xno" ]; then
                   13027:     echo "Could not find libsvga, disabling svgalib support."
                   13028:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13029:     WANT_SVGALIB=no
1.1       root     13030:   else
1.1.1.4   root     13031:     no_x=yes
                   13032:   fi
                   13033: fi
                   13034: 
                   13035: if [ "x$WANT_ASCIIART" = "xyes" ]; then
                   13036:   if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
                   13037:     echo "Could not find libncurses, disabling ascii art support."
                   13038:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13039:     WANT_ASCIIART=no
1.1.1.17  root     13040:   else if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.4   root     13041:     echo "You can't configure for both ncurses and another target. Disabling ncurses."
                   13042:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13043:     WANT_ASCIIART=no
                   13044:   else
                   13045:     no_x=yes
                   13046:   fi
                   13047:   fi
                   13048: fi
                   13049: 
                   13050: 
                   13051: if [ "x$WANT_DGA" = "xyes" ]; then
                   13052:   TMP_SAVE_LIBS=$LIBS
                   13053:   LIBS="$X_LIBS $LIBS"
1.1.1.19! root     13054:   echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
        !          13055: echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
        !          13056: if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
        !          13057:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.2   root     13058: else
1.1.1.19! root     13059:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13060: LIBS="-lXxf86dga  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19! root     13061: cat >conftest.$ac_ext <<_ACEOF
        !          13062: /* confdefs.h.  */
        !          13063: _ACEOF
        !          13064: cat confdefs.h >>conftest.$ac_ext
        !          13065: cat >>conftest.$ac_ext <<_ACEOF
        !          13066: /* end confdefs.h.  */
        !          13067: 
1.1.1.2   root     13068: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     13069: #ifdef __cplusplus
        !          13070: extern "C"
        !          13071: #endif
1.1.1.2   root     13072: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     13073:    builtin and then its argument prototype would still apply.  */
        !          13074: char XF86DGAQueryExtension ();
        !          13075: int
        !          13076: main ()
        !          13077: {
        !          13078: XF86DGAQueryExtension ();
        !          13079:   ;
        !          13080:   return 0;
        !          13081: }
        !          13082: _ACEOF
        !          13083: rm -f conftest.$ac_objext conftest$ac_exeext
        !          13084: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          13085:   (eval $ac_link) 2>conftest.er1
        !          13086:   ac_status=$?
        !          13087:   grep -v '^ *+' conftest.er1 >conftest.err
        !          13088:   rm -f conftest.er1
        !          13089:   cat conftest.err >&5
        !          13090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13091:   (exit $ac_status); } &&
        !          13092:         { ac_try='test -z "$ac_c_werror_flag"
        !          13093:                         || test ! -s conftest.err'
        !          13094:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13095:   (eval $ac_try) 2>&5
        !          13096:   ac_status=$?
        !          13097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13098:   (exit $ac_status); }; } &&
        !          13099:         { ac_try='test -s conftest$ac_exeext'
        !          13100:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13101:   (eval $ac_try) 2>&5
        !          13102:   ac_status=$?
        !          13103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13104:   (exit $ac_status); }; }; then
        !          13105:   ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
        !          13106: else
        !          13107:   echo "$as_me: failed program was:" >&5
        !          13108: sed 's/^/| /' conftest.$ac_ext >&5
        !          13109: 
        !          13110: ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
        !          13111: fi
        !          13112: rm -f conftest.err conftest.$ac_objext \
        !          13113:       conftest$ac_exeext conftest.$ac_ext
        !          13114: LIBS=$ac_check_lib_save_LIBS
        !          13115: fi
        !          13116: echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
        !          13117: echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
        !          13118: if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
1.1.1.4   root     13119:   HAVE_DGA=yes
1.1.1.2   root     13120: else
1.1.1.19! root     13121:   HAVE_DGA=no
1.1.1.2   root     13122: fi
                   13123: 
1.1.1.4   root     13124:   LIBS=$TMP_SAVE_LIBS
                   13125:   if [ "x$HAVE_DGA" = "xno" ]; then
                   13126:     echo "Could not find DGA extension, ignoring --enable-dga."
                   13127:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13128:     WANT_DGA=no
1.1.1.3   root     13129:   fi
1.1.1.2   root     13130: fi
                   13131: 
1.1.1.4   root     13132: if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   13133:   TMP_SAVE_LIBS=$LIBS
                   13134:   LIBS="$X_LIBS $LIBS"
1.1.1.19! root     13135:   echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
        !          13136: echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
        !          13137: if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
        !          13138:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     13139: else
1.1.1.19! root     13140:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13141: LIBS="-lXxf86vm  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19! root     13142: cat >conftest.$ac_ext <<_ACEOF
        !          13143: /* confdefs.h.  */
        !          13144: _ACEOF
        !          13145: cat confdefs.h >>conftest.$ac_ext
        !          13146: cat >>conftest.$ac_ext <<_ACEOF
        !          13147: /* end confdefs.h.  */
        !          13148: 
1.1.1.3   root     13149: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.19! root     13150: #ifdef __cplusplus
        !          13151: extern "C"
        !          13152: #endif
1.1.1.3   root     13153: /* We use char because int might match the return type of a gcc2
1.1.1.19! root     13154:    builtin and then its argument prototype would still apply.  */
        !          13155: char XF86VidModeQueryExtension ();
        !          13156: int
        !          13157: main ()
        !          13158: {
        !          13159: XF86VidModeQueryExtension ();
        !          13160:   ;
        !          13161:   return 0;
        !          13162: }
        !          13163: _ACEOF
        !          13164: rm -f conftest.$ac_objext conftest$ac_exeext
        !          13165: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          13166:   (eval $ac_link) 2>conftest.er1
        !          13167:   ac_status=$?
        !          13168:   grep -v '^ *+' conftest.er1 >conftest.err
        !          13169:   rm -f conftest.er1
        !          13170:   cat conftest.err >&5
        !          13171:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13172:   (exit $ac_status); } &&
        !          13173:         { ac_try='test -z "$ac_c_werror_flag"
        !          13174:                         || test ! -s conftest.err'
        !          13175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13176:   (eval $ac_try) 2>&5
        !          13177:   ac_status=$?
        !          13178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13179:   (exit $ac_status); }; } &&
        !          13180:         { ac_try='test -s conftest$ac_exeext'
        !          13181:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13182:   (eval $ac_try) 2>&5
        !          13183:   ac_status=$?
        !          13184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13185:   (exit $ac_status); }; }; then
        !          13186:   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
        !          13187: else
        !          13188:   echo "$as_me: failed program was:" >&5
        !          13189: sed 's/^/| /' conftest.$ac_ext >&5
        !          13190: 
        !          13191: ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
        !          13192: fi
        !          13193: rm -f conftest.err conftest.$ac_objext \
        !          13194:       conftest$ac_exeext conftest.$ac_ext
        !          13195: LIBS=$ac_check_lib_save_LIBS
        !          13196: fi
        !          13197: echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
        !          13198: echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
        !          13199: if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
1.1.1.4   root     13200:   HAVE_VIDMODE=yes
1.1.1.3   root     13201: else
1.1.1.19! root     13202:   HAVE_VIDMODE=no
1.1.1.3   root     13203: fi
                   13204: 
1.1.1.4   root     13205:   LIBS=$TMP_SAVE_LIBS
                   13206:   if [ "x$HAVE_VIDMODE" = "xno" ]; then
                   13207:     echo "Could not find VidMode extension, ignoring --enable-vidmode."
                   13208:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13209:     WANT_VIDMODE=no
1.1.1.3   root     13210:   fi
1.1.1.4   root     13211: fi
                   13212: 
1.1.1.19! root     13213: 
1.1.1.4   root     13214: # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
                   13215: if test "${with_gtk_prefix+set}" = set; then
                   13216:   withval="$with_gtk_prefix"
                   13217:   gtk_config_prefix="$withval"
                   13218: else
                   13219:   gtk_config_prefix=""
1.1.1.19! root     13220: fi;
1.1.1.4   root     13221: 
                   13222: # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
                   13223: if test "${with_gtk_exec_prefix+set}" = set; then
                   13224:   withval="$with_gtk_exec_prefix"
                   13225:   gtk_config_exec_prefix="$withval"
                   13226: else
                   13227:   gtk_config_exec_prefix=""
1.1.1.19! root     13228: fi;
1.1.1.4   root     13229: # Check whether --enable-gtktest or --disable-gtktest was given.
                   13230: if test "${enable_gtktest+set}" = set; then
                   13231:   enableval="$enable_gtktest"
1.1.1.19! root     13232: 
1.1.1.4   root     13233: else
                   13234:   enable_gtktest=yes
1.1.1.19! root     13235: fi;
1.1.1.4   root     13236: 
1.1.1.19! root     13237:   for module in .
        !          13238:   do
        !          13239:       case "$module" in
        !          13240:          gthread)
        !          13241:              gtk_config_args="$gtk_config_args gthread"
        !          13242:          ;;
        !          13243:       esac
        !          13244:   done
1.1.1.4   root     13245: 
                   13246:   if test x$gtk_config_exec_prefix != x ; then
                   13247:      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
                   13248:      if test x${GTK_CONFIG+set} != xset ; then
                   13249:         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
                   13250:      fi
                   13251:   fi
                   13252:   if test x$gtk_config_prefix != x ; then
                   13253:      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
                   13254:      if test x${GTK_CONFIG+set} != xset ; then
                   13255:         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
                   13256:      fi
                   13257:   fi
                   13258: 
                   13259:   # Extract the first word of "gtk-config", so it can be a program name with args.
                   13260: set dummy gtk-config; ac_word=$2
1.1.1.19! root     13261: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          13262: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          13263: if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
        !          13264:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     13265: else
1.1.1.19! root     13266:   case $GTK_CONFIG in
        !          13267:   [\\/]* | ?:[\\/]*)
1.1.1.4   root     13268:   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
                   13269:   ;;
                   13270:   *)
1.1.1.19! root     13271:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13272: for as_dir in $PATH
        !          13273: do
        !          13274:   IFS=$as_save_IFS
        !          13275:   test -z "$as_dir" && as_dir=.
        !          13276:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          13277:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13278:     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          13279:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13280:     break 2
        !          13281:   fi
        !          13282: done
        !          13283: done
        !          13284: 
1.1.1.4   root     13285:   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
                   13286:   ;;
                   13287: esac
                   13288: fi
1.1.1.19! root     13289: GTK_CONFIG=$ac_cv_path_GTK_CONFIG
        !          13290: 
1.1.1.4   root     13291: if test -n "$GTK_CONFIG"; then
1.1.1.19! root     13292:   echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
        !          13293: echo "${ECHO_T}$GTK_CONFIG" >&6
1.1.1.4   root     13294: else
1.1.1.19! root     13295:   echo "$as_me:$LINENO: result: no" >&5
        !          13296: echo "${ECHO_T}no" >&6
1.1.1.4   root     13297: fi
                   13298: 
                   13299:   min_gtk_version=0.99.7
1.1.1.19! root     13300:   echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
        !          13301: echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
1.1.1.4   root     13302:   no_gtk=""
                   13303:   if test "$GTK_CONFIG" = "no" ; then
                   13304:     no_gtk=yes
                   13305:   else
                   13306:     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
                   13307:     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
                   13308:     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
                   13309:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
                   13310:     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
                   13311:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
                   13312:     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
                   13313:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
                   13314:     if test "x$enable_gtktest" = "xyes" ; then
                   13315:       ac_save_CFLAGS="$CFLAGS"
                   13316:       ac_save_LIBS="$LIBS"
                   13317:       CFLAGS="$CFLAGS $GTK_CFLAGS"
1.1.1.19! root     13318:       LIBS="$GTK_LIBS $LIBS"
1.1.1.4   root     13319:       rm -f conf.gtktest
                   13320:       if test "$cross_compiling" = yes; then
                   13321:   echo $ac_n "cross compiling; assumed OK... $ac_c"
                   13322: else
1.1.1.19! root     13323:   cat >conftest.$ac_ext <<_ACEOF
        !          13324: /* confdefs.h.  */
        !          13325: _ACEOF
        !          13326: cat confdefs.h >>conftest.$ac_ext
        !          13327: cat >>conftest.$ac_ext <<_ACEOF
        !          13328: /* end confdefs.h.  */
1.1.1.4   root     13329: 
                   13330: #include <gtk/gtk.h>
                   13331: #include <stdio.h>
1.1.1.19! root     13332: #include <stdlib.h>
1.1.1.4   root     13333: 
1.1.1.19! root     13334: int
1.1.1.4   root     13335: main ()
1.1.1.3   root     13336: {
1.1.1.4   root     13337:   int major, minor, micro;
1.1.1.19! root     13338:   char *tmp_version;
1.1.1.4   root     13339: 
                   13340:   system ("touch conf.gtktest");
                   13341: 
1.1.1.19! root     13342:   /* HP/UX 9 (%@#!) writes to sscanf strings */
        !          13343:   tmp_version = g_strdup("$min_gtk_version");
        !          13344:   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1.1.1.4   root     13345:      printf("%s, bad version string\n", "$min_gtk_version");
                   13346:      exit(1);
                   13347:    }
                   13348: 
                   13349:   if ((gtk_major_version != $gtk_config_major_version) ||
                   13350:       (gtk_minor_version != $gtk_config_minor_version) ||
                   13351:       (gtk_micro_version != $gtk_config_micro_version))
                   13352:     {
1.1.1.19! root     13353:       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1.1.1.4   root     13354:              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
                   13355:              gtk_major_version, gtk_minor_version, gtk_micro_version);
                   13356:       printf ("*** was found! If gtk-config was correct, then it is best\n");
                   13357:       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
                   13358:       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
                   13359:       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
                   13360:       printf("*** required on your system.\n");
                   13361:       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
                   13362:       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
                   13363:       printf("*** before re-running configure\n");
1.1.1.19! root     13364:     }
        !          13365: #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
        !          13366:   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
        !          13367:           (gtk_minor_version != GTK_MINOR_VERSION) ||
        !          13368:            (gtk_micro_version != GTK_MICRO_VERSION))
        !          13369:     {
        !          13370:       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
        !          13371:             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
        !          13372:       printf("*** library (version %d.%d.%d)\n",
        !          13373:             gtk_major_version, gtk_minor_version, gtk_micro_version);
        !          13374:     }
        !          13375: #endif /* defined (GTK_MAJOR_VERSION) ... */
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");
                   13393:         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
                   13394:         printf("*** being found. The easiest way to fix this is to remove the old version\n");
                   13395:         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
                   13396:         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
                   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.19! root     13432:      echo "$as_me:$LINENO: result: yes" >&5
        !          13433: echo "${ECHO_T}yes" >&6
        !          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.4   root     13438:      if test "$GTK_CONFIG" = "no" ; then
                   13439:        echo "*** The gtk-config script installed by GTK could not be found"
                   13440:        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
                   13441:        echo "*** your path, or set the GTK_CONFIG environment variable to the"
                   13442:        echo "*** full path to gtk-config."
                   13443:      else
                   13444:        if test -f conf.gtktest ; then
                   13445:         :
                   13446:        else
                   13447:           echo "*** Could not run GTK test program, checking why..."
                   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"
                   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"
                   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:           echo "***"
                   13500:           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
                   13501:           echo "*** came with the system with the command"
                   13502:           echo "***"
1.1.1.19! root     13503:           echo "***    rpm --erase --nodeps gtk gtk-devel"
1.1.1.4   root     13504: else
1.1.1.19! root     13505:   echo "$as_me: failed program was:" >&5
        !          13506: sed 's/^/| /' conftest.$ac_ext >&5
        !          13507: 
        !          13508:  echo "*** The test program failed to compile or link. See the file config.log for the"
1.1.1.4   root     13509:           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
                   13510:           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
1.1.1.19! root     13511:           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
1.1.1.4   root     13512: fi
1.1.1.19! root     13513: rm -f conftest.err conftest.$ac_objext \
        !          13514:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     13515:           CFLAGS="$ac_save_CFLAGS"
                   13516:           LIBS="$ac_save_LIBS"
                   13517:        fi
                   13518:      fi
                   13519:      GTK_CFLAGS=""
                   13520:      GTK_LIBS=""
                   13521:      :
1.1.1.3   root     13522:   fi
1.1.1.19! root     13523: 
        !          13524: 
1.1.1.4   root     13525:   rm -f conf.gtktest
1.1.1.3   root     13526: 
1.1.1.4   root     13527: 
                   13528: 
                   13529: SHM_SUPPORT_LINKS=0
1.1.1.6   root     13530: 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     13531:   echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
        !          13532: echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6
1.1.1.4   root     13533:   TMP_SAVE_CFLAGS=$CFLAGS
                   13534:   TMP_SAVE_LIBS=$LIBS
                   13535:   CFLAGS="$CFLAGS $X_CFLAGS"
                   13536:   LIBS="$X_LIBS $LIBS $X_PRE_LIBS -lX11 -lXext $X_EXTRA_LIBS"
1.1.1.19! root     13537:   cat >conftest.$ac_ext <<_ACEOF
        !          13538: /* confdefs.h.  */
        !          13539: _ACEOF
        !          13540: cat confdefs.h >>conftest.$ac_ext
        !          13541: cat >>conftest.$ac_ext <<_ACEOF
        !          13542: /* end confdefs.h.  */
1.1.1.2   root     13543: 
1.1.1.4   root     13544: #include "confdefs.h"
                   13545: #ifdef HAVE_SYS_TYPES_H
                   13546: #include <sys/types.h>
                   13547: #endif
                   13548: #include <X11/Xlib.h>
                   13549: #include <X11/Xutil.h>
                   13550: #include <X11/keysym.h>
                   13551: #include <X11/cursorfont.h>
                   13552: #include <sys/ipc.h>
                   13553: #include <sys/shm.h>
                   13554: #include <X11/extensions/XShm.h>
1.1.1.19! root     13555: int
        !          13556: main ()
        !          13557: {
1.1.1.4   root     13558: 
                   13559: static XShmSegmentInfo shminfo;
                   13560: static Display *display;
                   13561: XShmAttach(display, &shminfo);
                   13562: XSync(display,0);
                   13563: shmctl(shminfo.shmid, IPC_RMID, 0);
1.1.1.10  root     13564: 
1.1.1.19! root     13565:   ;
        !          13566:   return 0;
        !          13567: }
        !          13568: _ACEOF
        !          13569: rm -f conftest.$ac_objext conftest$ac_exeext
        !          13570: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          13571:   (eval $ac_link) 2>conftest.er1
        !          13572:   ac_status=$?
        !          13573:   grep -v '^ *+' conftest.er1 >conftest.err
        !          13574:   rm -f conftest.er1
        !          13575:   cat conftest.err >&5
        !          13576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13577:   (exit $ac_status); } &&
        !          13578:         { ac_try='test -z "$ac_c_werror_flag"
        !          13579:                         || test ! -s conftest.err'
        !          13580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13581:   (eval $ac_try) 2>&5
        !          13582:   ac_status=$?
        !          13583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13584:   (exit $ac_status); }; } &&
        !          13585:         { ac_try='test -s conftest$ac_exeext'
        !          13586:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          13587:   (eval $ac_try) 2>&5
        !          13588:   ac_status=$?
        !          13589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13590:   (exit $ac_status); }; }; then
1.1.1.4   root     13591:   SHM_SUPPORT_LINKS=1
1.1.1.19! root     13592: echo "$as_me:$LINENO: result: yes" >&5
        !          13593: echo "${ECHO_T}yes" >&6
1.1       root     13594: else
1.1.1.19! root     13595:   echo "$as_me: failed program was:" >&5
        !          13596: sed 's/^/| /' conftest.$ac_ext >&5
        !          13597: 
        !          13598: SHM_SUPPORT_LINKS=0
        !          13599: echo "$as_me:$LINENO: result: no" >&5
        !          13600: echo "${ECHO_T}no" >&6
1.1       root     13601: fi
1.1.1.19! root     13602: rm -f conftest.err conftest.$ac_objext \
        !          13603:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     13604:   CFLAGS=$TMP_SAVE_CFLAGS
                   13605:   LIBS=$TMP_SAVE_LIBS
1.1       root     13606: fi
                   13607: 
1.1.1.4   root     13608: MATHLIB=-lm
                   13609: DEBUGOBJS="debug.o"
                   13610: 
1.1.1.19! root     13611: echo "$as_me:$LINENO: checking which target to use" >&5
        !          13612: echo $ECHO_N "checking which target to use... $ECHO_C" >&6
1.1.1.4   root     13613: 
1.1.1.17  root     13614: if [ "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.19! root     13615:   echo "$as_me:$LINENO: result: SDL" >&5
        !          13616: echo "${ECHO_T}SDL" >&6
1.1.1.17  root     13617:   MATHLIB=
                   13618:   TARGET=x11
                   13619:   GFXOBJS="sdlgfx.o"
                   13620:   # @@@ Kludge.  This may get changed later.
                   13621:   TARGETDEP=t-x11.h
                   13622: else if [ "x$HAVE_DIRECTX" = "xyes" ]; then
1.1.1.19! root     13623:   echo "$as_me:$LINENO: result: Win32/DirectX" >&5
        !          13624: echo "${ECHO_T}Win32/DirectX" >&6
1.1.1.6   root     13625:   MATHLIB=
                   13626:   TARGET=win32
                   13627:   TARGETDEP=t-win32.h
1.1.1.17  root     13628:   GFXOBJS="osdep/win32.o osdep/parser.o osdep/keyboard.o osdep/posixemu.o"
1.1.1.6   root     13629:   RESOBJS="osdep/winuae.res"
                   13630: else if [ "x$HAVE_BEOS" = "xyes" ]; then
1.1.1.19! root     13631:   echo "$as_me:$LINENO: result: BeOS" >&5
        !          13632: echo "${ECHO_T}BeOS" >&6
1.1.1.4   root     13633:   MATHLIB=
                   13634:   TARGET=beos
                   13635:   TARGETDEP=t-beos.h
                   13636:   GFXOBJS=osdep/beos.o
                   13637:   OPTIMIZE_CFLAGS=-O7
                   13638: else if [ "x$HAVE_POS" = "xyes" ]; then
1.1.1.19! root     13639:   echo "$as_me:$LINENO: result: p.OS" >&5
        !          13640: echo "${ECHO_T}p.OS" >&6
1.1.1.4   root     13641:   TARGET=p_os
                   13642:   TARGETDEP=t-pos.h
                   13643:   GFXOBJS="osdep/pos-win.o osdep/pos-disk.o osdep/pos-rexx.o"
                   13644: else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
1.1.1.19! root     13645:   echo "$as_me:$LINENO: result: AmigaOS" >&5
        !          13646: echo "${ECHO_T}AmigaOS" >&6
1.1.1.4   root     13647:   TARGET=amigaos
                   13648:   TARGETDEP=t-amiga.h
                   13649:   GFXOBJS="osdep/ami-win.o osdep/ami-disk.o osdep/ami-rexx.o osdep/ami-appw.o"
                   13650: else if [ "x$HAVE_NEXT_LIB" = "xyes" ]; then
1.1.1.19! root     13651:   echo "$as_me:$LINENO: result: NeXTStep" >&5
        !          13652: echo "${ECHO_T}NeXTStep" >&6
1.1.1.4   root     13653:   MATHLIB=
                   13654:   TARGET=next
                   13655:   GFXOBJS="NeXTwin.o"
                   13656:   TARGETDEP=t-next.h
                   13657:   LIBRARIES="-sectcreate __ICON __header ../Uae.app/Uae.iconheader -segprot __ICON r r -sectcreate __ICON app ../Uae.app/Uae.tiff -lMedia_s -lNeXT_s"
                   13658: else
1.1.1.19! root     13659: 
1.1.1.4   root     13660:   if [ "x$no_x" = "xyes" ]; then
1.1.1.13  root     13661:     if [ "x$WANT_SVGALIB" != "xyes" -a "x$WANT_ASCIIART" != "xyes" ]; then
1.1.1.4   root     13662:       if [ "x$WANT_SVGALIB" != "xno" -a "x$HAVE_SVGA_LIB" = "xyes" ]; then
                   13663:         WANT_SVGALIB=yes
                   13664:       else if [ "x$WANT_ASCIIART" != "xno" -a "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   13665:         WANT_ASCIIART=yes
                   13666:       fi
                   13667:       fi
                   13668:     fi
1.1.1.3   root     13669:   fi
1.1.1.4   root     13670: 
1.1.1.13  root     13671:   if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.19! root     13672:     echo "$as_me:$LINENO: result: SVGAlib" >&5
        !          13673: echo "${ECHO_T}SVGAlib" >&6
1.1.1.4   root     13674:     TARGET=svgalib
                   13675:     TARGETDEP=t-svgalib.h
                   13676:     GFXOBJS=svga.o
                   13677:     LIBRARIES="-lvga"
                   13678:     WANT_NCURSES_UI=yes
                   13679:   else if [ "x$WANT_ASCIIART" = "xyes" ]; then
1.1.1.19! root     13680:     echo "$as_me:$LINENO: result: ncurses ASCII art" >&5
        !          13681: echo "${ECHO_T}ncurses ASCII art" >&6
1.1.1.4   root     13682:     TARGET=asciiart
                   13683:     TARGETDEP=t-ascii.h
                   13684:     GFXOBJS="ncurses.o"
1.1.1.17  root     13685:     WANT_NCURSES_UI=yes
1.1.1.4   root     13686:     LIBRARIES="-lncurses"
                   13687:   else if [ "x$no_x" = "xyes" ]; then
1.1.1.19! root     13688:     echo "$as_me:$LINENO: result: Ummm...." >&5
        !          13689: echo "${ECHO_T}Ummm...." >&6
1.1.1.4   root     13690:     echo "Fatal error: No graphics system found, don't know what target to use."
                   13691:     exit 1
                   13692:   else
1.1.1.19! root     13693:     echo "$as_me:$LINENO: result: X11" >&5
        !          13694: echo "${ECHO_T}X11" >&6
1.1.1.4   root     13695:     TARGET=x11
                   13696:     TARGETDEP=t-x11.h
                   13697:     GFXOBJS=xwin.o
                   13698: 
                   13699:     LIBRARIES="$X_LIBS $X_PRE_LIBS"
                   13700:         if [ "x$WANT_DGA" = "xyes" ]; then
                   13701:       LIBRARIES="$LIBRARIES -lXxf86dga"
                   13702:       X_CFLAGS="$X_CFLAGS -DUSE_DGA_EXTENSION"
                   13703:       if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   13704:         LIBRARIES="$LIBRARIES -lXxf86vm"
                   13705:        X_CFLAGS="$X_CFLAGS -DUSE_VIDMODE_EXTENSION"
                   13706:       fi
                   13707:     fi
                   13708:     LIBRARIES="$LIBRARIES -lXext -lX11 $X_EXTRA_LIBS"
                   13709:   fi
                   13710:   fi
                   13711:   fi
1.1       root     13712: fi
1.1.1.3   root     13713: fi
                   13714: fi
                   13715: fi
1.1.1.6   root     13716: fi
1.1.1.17  root     13717: fi
1.1       root     13718: 
1.1.1.17  root     13719: if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   13720:   TARGETDEP=t-win32.h
                   13721:   TARGET=win32
                   13722: fi
                   13723: 
                   13724: if [ "x$WANT_UI" != "xno" ]; then
                   13725:   if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   13726:     GUIOBJS=osdep/win32gui.o
                   13727:   else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
                   13728:     GUIOBJS="osdep/ami-gui.o"
                   13729:   else if [ "x$HAVE_POS" = "xyes" ]; then
                   13730:     GUIOBJS="osdep/pos-gui.o"
                   13731:   else if [ "x$WANT_NCURSES_UI" = "xyes" ]; then
                   13732:     if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
1.1.1.4   root     13733:       echo "ncurses is unavailable, can't provide a user interface"
1.1.1.17  root     13734:       if [ "x$WANT_UI" = "xyes" ]; then
                   13735:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   13736:       fi
                   13737:       WANT_UI=no
                   13738:       GUIOBJS=nogui.o
                   13739:     else
                   13740:       GUIOBJS="tui.o svgancui.o"
                   13741:       LIBRARIES="$LIBRARIES -lncurses"
                   13742:       ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_CURSES_UI"
                   13743:       if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
                   13744:         echo "Found libncurses, but no ncurses.h. This is normal with recent versions"
                   13745:         echo "of ncurses, but it might indicate a problem with older versions."
                   13746:         NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   13747:       fi
1.1.1.4   root     13748:     fi
1.1.1.17  root     13749:   else if [ "x$no_x" != "xno" ]; then
                   13750:     if [ "x$no_gtk" = "xyes" ]; then
                   13751:       echo "Did not find gtk+, disabling user interface"
                   13752:       GTK_CFLAGS=
1.1.1.18  root     13753:       GUIOBJS=nogui.o
1.1.1.17  root     13754:       if [ "x$WANT_UI" = "xyes" ]; then
                   13755:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   13756:       fi
                   13757:     else
                   13758:       echo "Using gtk+ GUI."
                   13759:       NEED_THREAD_SUPPORT=yes
                   13760:       DDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_GTK_GUI"
                   13761:       GUIOBJS=gtkui.o
                   13762:     fi
1.1.1.19! root     13763:   else
1.1.1.17  root     13764:     if [ "x$WANT_UI" = "xyes" ]; then
                   13765:       echo "GUI requested, but no suitable libraries found."
                   13766:       NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.4   root     13767:     fi
                   13768:     GUIOBJS=nogui.o
                   13769:   fi
1.1.1.17  root     13770:   fi
                   13771:   fi
                   13772:   fi
                   13773:   fi
                   13774: else
                   13775:   GUIOBJS=nogui.o
1.1.1.3   root     13776: fi
1.1.1.17  root     13777: 
1.1.1.4   root     13778: GFXOBJS="$GFXOBJS $GUIOBJS"
1.1.1.19! root     13779: 
1.1.1.4   root     13780: 
                   13781: MACHDEP=md-generic
                   13782: OSDEP=od-generic
                   13783: THREADDEP=td-none
                   13784: SOUNDDEP=od-generic
                   13785: 
1.1.1.11  root     13786: FPP_H=fpp-unknown.h
1.1.1.4   root     13787: USE_THREADS=no
                   13788: USE_FILE_SOUND=no
1.1.1.10  root     13789: USE_SCSI_DEVICE=no
1.1.1.4   root     13790: 
1.1.1.6   root     13791: USE_UNDERSCORE=dunno
                   13792: 
1.1.1.4   root     13793: HAVELINUX=no
1.1.1.6   root     13794: HAVEBSD=no
1.1.1.4   root     13795: HAVEGCC27=no
                   13796: HAVEI386=no
                   13797: HAVE68K=no
1.1.1.11  root     13798: HAVEPPC=no
1.1.1.4   root     13799: HAVEGLIBC2=no
1.1.1.3   root     13800: 
1.1       root     13801: ASMOBJS=
1.1.1.4   root     13802: CPUOBJS=cpuemu.o
1.1.1.3   root     13803: 
1.1.1.19! root     13804: echo "$as_me:$LINENO: checking for GCC 2.7 or higher" >&5
        !          13805: echo $ECHO_N "checking for GCC 2.7 or higher... $ECHO_C" >&6
        !          13806: cat >conftest.$ac_ext <<_ACEOF
        !          13807: /* confdefs.h.  */
        !          13808: _ACEOF
        !          13809: cat confdefs.h >>conftest.$ac_ext
        !          13810: cat >>conftest.$ac_ext <<_ACEOF
        !          13811: /* end confdefs.h.  */
1.1.1.6   root     13812: #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
                   13813:   yes
1.1.1.3   root     13814: #endif
                   13815: 
1.1.1.19! root     13816: _ACEOF
1.1.1.6   root     13817: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     13818:   $EGREP "yes" >/dev/null 2>&1; then
        !          13819:   echo "$as_me:$LINENO: result: yes" >&5
        !          13820: echo "${ECHO_T}yes" >&6; HAVEGCC27=yes
1.1.1.3   root     13821: else
1.1.1.19! root     13822:   echo "$as_me:$LINENO: result: no" >&5
        !          13823: echo "${ECHO_T}no" >&6
1.1.1.6   root     13824: fi
                   13825: rm -f conftest*
                   13826: 
                   13827: 
1.1.1.19! root     13828: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.6   root     13829:   if test $HAVEGCC27 != yes; then
1.1.1.3   root     13830:     echo "I suggest you upgrade to at least version 2.7 of GCC"
1.1.1.6   root     13831:   fi
                   13832: else
                   13833:   if test $uae_cv_prog_cc_watcom != yes; then
1.1.1.3   root     13834:     echo "Couldn't find GCC. UAE may or may not compile and run correctly."
1.1.1.4   root     13835:     NR_WARNINGS=`expr $NR_WARNINGS + 1`
1.1.1.3   root     13836:   fi
                   13837: fi
                   13838: 
1.1.1.4   root     13839: if [ "x$ac_cv_header_features_h" = "xyes" ]; then
1.1.1.19! root     13840:   echo "$as_me:$LINENO: checking for glibc-2.0 or higher" >&5
        !          13841: echo $ECHO_N "checking for glibc-2.0 or higher... $ECHO_C" >&6
        !          13842:   cat >conftest.$ac_ext <<_ACEOF
        !          13843: /* confdefs.h.  */
        !          13844: _ACEOF
        !          13845: cat confdefs.h >>conftest.$ac_ext
        !          13846: cat >>conftest.$ac_ext <<_ACEOF
        !          13847: /* end confdefs.h.  */
1.1.1.4   root     13848: #include <features.h>
1.1.1.6   root     13849: #if __GLIBC__ - 1 >= 1
                   13850:   yes
1.1.1.4   root     13851: #endif
                   13852: 
1.1.1.19! root     13853: _ACEOF
1.1.1.6   root     13854: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     13855:   $EGREP "yes" >/dev/null 2>&1; then
        !          13856:   echo "$as_me:$LINENO: result: yes" >&5
        !          13857: echo "${ECHO_T}yes" >&6; HAVEGLIBC2=yes
1.1.1.3   root     13858: else
1.1.1.19! root     13859:   echo "$as_me:$LINENO: result: no" >&5
        !          13860: echo "${ECHO_T}no" >&6
1.1.1.4   root     13861: fi
1.1.1.6   root     13862: rm -f conftest*
                   13863: 
                   13864: fi
1.1.1.4   root     13865: 
1.1.1.19! root     13866: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.4   root     13867:   WARNING_CFLAGS="-Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes"
                   13868:   OPTIMIZE_CFLAGS="-O2 -fomit-frame-pointer"
                   13869:     CFLAGS=
                   13870: fi
                   13871: 
                   13872: if [ "x$DO_PROFILING" = "xyes" ]; then
                   13873:   if [ "x$CC" = "xgcc" ]; then
                   13874:     OPTIMIZE_CFLAGS="-O"
                   13875:     DEBUG_CFLAGS="-g -fno-inline -fno-omit-frame-pointer -pg -DUSE_PROFILING"
                   13876:     LDFLAGS="-pg"
                   13877:   else
                   13878:     DO_PROFILING=no
                   13879:     echo "Don't know how to set up profiling for your compiler."
                   13880:     NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.3   root     13881:   fi
                   13882: fi
                   13883: 
1.1.1.4   root     13884: CFLAGS="$OPTIMIZE_CFLAGS $DEBUG_CFLAGS $WARNING_CFLAGS $CFLAGS $ADDITIONAL_CFLAGS"
                   13885: 
                   13886: if [ "x$HAVEGCC27" = "xyes" ]; then
1.1.1.3   root     13887:   CFLAGS="$CFLAGS -DGCCCONSTFUNC=\"__attribute__((const))\""
                   13888: else
                   13889:   CFLAGS="$CFLAGS -DGCCCONSTFUNC="
                   13890: fi
1.1.1.2   root     13891: 
1.1.1.19! root     13892: echo "$as_me:$LINENO: checking for x86 target CPU" >&5
        !          13893: echo $ECHO_N "checking for x86 target CPU... $ECHO_C" >&6
        !          13894: cat >conftest.$ac_ext <<_ACEOF
        !          13895: /* confdefs.h.  */
        !          13896: _ACEOF
        !          13897: cat confdefs.h >>conftest.$ac_ext
        !          13898: cat >>conftest.$ac_ext <<_ACEOF
        !          13899: /* end confdefs.h.  */
1.1.1.6   root     13900: 
1.1.1.3   root     13901: #ifdef __i386__
1.1.1.6   root     13902:   yes
1.1.1.3   root     13903: #endif
1.1       root     13904: 
1.1.1.19! root     13905: _ACEOF
1.1.1.6   root     13906: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     13907:   $EGREP "yes" >/dev/null 2>&1; then
        !          13908:   echo "$as_me:$LINENO: result: yes" >&5
        !          13909: echo "${ECHO_T}yes" >&6; HAVEI386=yes
1.1.1.3   root     13910: else
1.1.1.19! root     13911:   echo "$as_me:$LINENO: result: no" >&5
        !          13912: echo "${ECHO_T}no" >&6
1.1.1.6   root     13913: fi
                   13914: rm -f conftest*
                   13915: 
                   13916: 
1.1.1.19! root     13917: echo "$as_me:$LINENO: checking for m68k target CPU" >&5
        !          13918: echo $ECHO_N "checking for m68k target CPU... $ECHO_C" >&6
        !          13919: cat >conftest.$ac_ext <<_ACEOF
        !          13920: /* confdefs.h.  */
        !          13921: _ACEOF
        !          13922: cat confdefs.h >>conftest.$ac_ext
        !          13923: cat >>conftest.$ac_ext <<_ACEOF
        !          13924: /* end confdefs.h.  */
1.1.1.6   root     13925: 
                   13926: #ifdef __m68k__
                   13927:   yes
                   13928: #endif
1.1.1.3   root     13929: 
1.1.1.19! root     13930: _ACEOF
1.1.1.6   root     13931: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     13932:   $EGREP "yes" >/dev/null 2>&1; then
        !          13933:   echo "$as_me:$LINENO: result: yes" >&5
        !          13934: echo "${ECHO_T}yes" >&6; HAVE68K=yes
1.1.1.6   root     13935: else
1.1.1.19! root     13936:   echo "$as_me:$LINENO: result: no" >&5
        !          13937: echo "${ECHO_T}no" >&6
1.1.1.6   root     13938: fi
1.1.1.3   root     13939: rm -f conftest*
                   13940: 
1.1.1.6   root     13941: 
1.1.1.19! root     13942: echo "$as_me:$LINENO: checking for ppc target CPU" >&5
        !          13943: echo $ECHO_N "checking for ppc target CPU... $ECHO_C" >&6
        !          13944: cat >conftest.$ac_ext <<_ACEOF
        !          13945: /* confdefs.h.  */
        !          13946: _ACEOF
        !          13947: cat confdefs.h >>conftest.$ac_ext
        !          13948: cat >>conftest.$ac_ext <<_ACEOF
        !          13949: /* end confdefs.h.  */
1.1.1.11  root     13950: 
                   13951: #ifdef __powerpc__
                   13952:   yes
                   13953: #endif
                   13954: 
1.1.1.19! root     13955: _ACEOF
1.1.1.11  root     13956: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19! root     13957:   $EGREP "yes" >/dev/null 2>&1; then
        !          13958:   echo "$as_me:$LINENO: result: yes" >&5
        !          13959: echo "${ECHO_T}yes" >&6; HAVEPPC=yes
1.1.1.11  root     13960: else
1.1.1.19! root     13961:   echo "$as_me:$LINENO: result: no" >&5
        !          13962: echo "${ECHO_T}no" >&6
1.1.1.11  root     13963: fi
                   13964: rm -f conftest*
                   13965: 
                   13966: 
1.1.1.4   root     13967: if MACHINE=`uname -a 2>/dev/null`; then
                   13968:   case "$MACHINE" in
                   13969:   Linux*)
                   13970:     HAVELINUX=yes
                   13971:     ;;
                   13972:   esac
                   13973: fi
                   13974: 
1.1.1.3   root     13975: 
1.1.1.19! root     13976: echo "$as_me:$LINENO: checking whether assembler symbols need an underscore" >&5
        !          13977: echo $ECHO_N "checking whether assembler symbols need an underscore... $ECHO_C" >&6
1.1.1.6   root     13978: cat >conftest1.S << EOF
                   13979:        .text
                   13980:        .globl _symbol
                   13981: _symbol:
                   13982: EOF
                   13983: cat >conftest2.c << EOF
                   13984: extern void symbol ();
                   13985: int main ()
                   13986: {
                   13987: symbol ();
                   13988: }
                   13989: EOF
                   13990: $CC conftest1.S -c -o conftest1.o >/dev/null 2>&1
                   13991: $CC conftest2.c -c -o conftest2.o >/dev/null 2>&1
                   13992: if $CC conftest1.o conftest2.o -o conftest >/dev/null 2>&1; then
                   13993:   USE_UNDERSCORE=yes
                   13994:   CFLAGS="$CFLAGS -DUSE_UNDERSCORE"
1.1.1.4   root     13995: else
1.1.1.6   root     13996:   USE_UNDERSCORE=no
1.1.1.4   root     13997: fi
1.1.1.19! root     13998: echo "$as_me:$LINENO: result: $USE_UNDERSCORE" >&5
        !          13999: echo "${ECHO_T}$USE_UNDERSCORE" >&6
1.1.1.4   root     14000: 
                   14001: rm -f conftest*
                   14002: 
                   14003: # Check whether --enable-threads or --disable-threads was given.
                   14004: if test "${enable_threads+set}" = set; then
                   14005:   enableval="$enable_threads"
                   14006:   USE_THREADS=$enableval
1.1.1.19! root     14007: fi;
1.1.1.4   root     14008: 
1.1.1.3   root     14009: 
1.1.1.4   root     14010: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14011:   SAVECFLAGS=$CFLAGS
                   14012:   CFLAGS="$CFLAGS -mno-schedule-prologue"
1.1.1.19! root     14013:   cat >conftest.$ac_ext <<_ACEOF
        !          14014: /* confdefs.h.  */
        !          14015: _ACEOF
        !          14016: cat confdefs.h >>conftest.$ac_ext
        !          14017: cat >>conftest.$ac_ext <<_ACEOF
        !          14018: /* end confdefs.h.  */
1.1.1.4   root     14019: 
1.1.1.19! root     14020: int
        !          14021: main ()
        !          14022: {
        !          14023: int main(){return 0;}
        !          14024:   ;
        !          14025:   return 0;
        !          14026: }
        !          14027: _ACEOF
        !          14028: rm -f conftest.$ac_objext
        !          14029: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14030:   (eval $ac_compile) 2>conftest.er1
        !          14031:   ac_status=$?
        !          14032:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14033:   rm -f conftest.er1
        !          14034:   cat conftest.err >&5
        !          14035:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14036:   (exit $ac_status); } &&
        !          14037:         { ac_try='test -z "$ac_c_werror_flag"
        !          14038:                         || test ! -s conftest.err'
        !          14039:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14040:   (eval $ac_try) 2>&5
        !          14041:   ac_status=$?
        !          14042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14043:   (exit $ac_status); }; } &&
        !          14044:         { ac_try='test -s conftest.$ac_objext'
        !          14045:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14046:   (eval $ac_try) 2>&5
        !          14047:   ac_status=$?
        !          14048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14049:   (exit $ac_status); }; }; then
        !          14050:   NO_SCHED_CFLAGS="-mno-schedule-prologue"
        !          14051: else
        !          14052:   echo "$as_me: failed program was:" >&5
        !          14053: sed 's/^/| /' conftest.$ac_ext >&5
        !          14054: 
        !          14055: fi
        !          14056: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
        !          14057:   CFLAGS=$SAVECFLAGS
        !          14058: fi
        !          14059: 
        !          14060: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
        !          14061:   SAVECFLAGS=$CFLAGS
        !          14062:   CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
        !          14063:   cat >conftest.$ac_ext <<_ACEOF
        !          14064: /* confdefs.h.  */
        !          14065: _ACEOF
        !          14066: cat confdefs.h >>conftest.$ac_ext
        !          14067: cat >>conftest.$ac_ext <<_ACEOF
        !          14068: /* end confdefs.h.  */
        !          14069: 
        !          14070: int
        !          14071: main ()
        !          14072: {
1.1.1.4   root     14073: int main(){return 0;}
1.1.1.19! root     14074:   ;
        !          14075:   return 0;
        !          14076: }
        !          14077: _ACEOF
        !          14078: rm -f conftest.$ac_objext
        !          14079: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14080:   (eval $ac_compile) 2>conftest.er1
        !          14081:   ac_status=$?
        !          14082:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14083:   rm -f conftest.er1
        !          14084:   cat conftest.err >&5
        !          14085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14086:   (exit $ac_status); } &&
        !          14087:         { ac_try='test -z "$ac_c_werror_flag"
        !          14088:                         || test ! -s conftest.err'
        !          14089:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14090:   (eval $ac_try) 2>&5
        !          14091:   ac_status=$?
        !          14092:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14093:   (exit $ac_status); }; } &&
        !          14094:         { ac_try='test -s conftest.$ac_objext'
        !          14095:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14096:   (eval $ac_try) 2>&5
        !          14097:   ac_status=$?
        !          14098:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14099:   (exit $ac_status); }; }; then
        !          14100:   SAVECFLAGS=$CFLAGS
1.1.1.4   root     14101: else
1.1.1.19! root     14102:   echo "$as_me: failed program was:" >&5
        !          14103: sed 's/^/| /' conftest.$ac_ext >&5
        !          14104: 
1.1.1.4   root     14105: fi
1.1.1.19! root     14106: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14107:   CFLAGS=$SAVECFLAGS
                   14108: fi
                   14109: 
1.1.1.10  root     14110: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14111:   SAVECFLAGS=$CFLAGS
1.1.1.19! root     14112:   CFLAGS="$CFLAGS -fno-reorder-blocks"
        !          14113:   cat >conftest.$ac_ext <<_ACEOF
        !          14114: /* confdefs.h.  */
        !          14115: _ACEOF
        !          14116: cat confdefs.h >>conftest.$ac_ext
        !          14117: cat >>conftest.$ac_ext <<_ACEOF
        !          14118: /* end confdefs.h.  */
1.1.1.10  root     14119: 
1.1.1.19! root     14120: int
        !          14121: main ()
        !          14122: {
1.1.1.10  root     14123: int main(){return 0;}
1.1.1.19! root     14124:   ;
        !          14125:   return 0;
        !          14126: }
        !          14127: _ACEOF
        !          14128: rm -f conftest.$ac_objext
        !          14129: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14130:   (eval $ac_compile) 2>conftest.er1
        !          14131:   ac_status=$?
        !          14132:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14133:   rm -f conftest.er1
        !          14134:   cat conftest.err >&5
        !          14135:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14136:   (exit $ac_status); } &&
        !          14137:         { ac_try='test -z "$ac_c_werror_flag"
        !          14138:                         || test ! -s conftest.err'
        !          14139:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14140:   (eval $ac_try) 2>&5
        !          14141:   ac_status=$?
        !          14142:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14143:   (exit $ac_status); }; } &&
        !          14144:         { ac_try='test -s conftest.$ac_objext'
        !          14145:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14146:   (eval $ac_try) 2>&5
        !          14147:   ac_status=$?
        !          14148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14149:   (exit $ac_status); }; }; then
        !          14150:   NO_REORDER_CFLAGS="-fno-reorder-blocks"
1.1.1.10  root     14151: else
1.1.1.19! root     14152:   echo "$as_me: failed program was:" >&5
        !          14153: sed 's/^/| /' conftest.$ac_ext >&5
        !          14154: 
1.1.1.10  root     14155: fi
1.1.1.19! root     14156: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     14157:   CFLAGS=$SAVECFLAGS
                   14158: fi
                   14159: 
1.1.1.4   root     14160: 
                   14161: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14162:   SAVECFLAGS=$CFLAGS
                   14163:   CFLAGS="$CFLAGS -fno-exceptions"
                   14164:   NOEXCEPTIONS=no
1.1.1.19! root     14165:   cat >conftest.$ac_ext <<_ACEOF
        !          14166: /* confdefs.h.  */
        !          14167: _ACEOF
        !          14168: cat confdefs.h >>conftest.$ac_ext
        !          14169: cat >>conftest.$ac_ext <<_ACEOF
        !          14170: /* end confdefs.h.  */
1.1.1.4   root     14171: 
1.1.1.19! root     14172: int
        !          14173: main ()
        !          14174: {
1.1.1.4   root     14175: int main(){return 0;}
1.1.1.19! root     14176:   ;
        !          14177:   return 0;
        !          14178: }
        !          14179: _ACEOF
        !          14180: rm -f conftest.$ac_objext
        !          14181: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14182:   (eval $ac_compile) 2>conftest.er1
        !          14183:   ac_status=$?
        !          14184:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14185:   rm -f conftest.er1
        !          14186:   cat conftest.err >&5
        !          14187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14188:   (exit $ac_status); } &&
        !          14189:         { ac_try='test -z "$ac_c_werror_flag"
        !          14190:                         || test ! -s conftest.err'
        !          14191:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14192:   (eval $ac_try) 2>&5
        !          14193:   ac_status=$?
        !          14194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14195:   (exit $ac_status); }; } &&
        !          14196:         { ac_try='test -s conftest.$ac_objext'
        !          14197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14198:   (eval $ac_try) 2>&5
        !          14199:   ac_status=$?
        !          14200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14201:   (exit $ac_status); }; }; then
1.1.1.4   root     14202:   NOEXCEPTIONS=yes
                   14203: else
1.1.1.19! root     14204:   echo "$as_me: failed program was:" >&5
        !          14205: sed 's/^/| /' conftest.$ac_ext >&5
        !          14206: 
1.1.1.4   root     14207: fi
1.1.1.19! root     14208: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14209:   if [ "x$NOEXCEPTIONS" = "xno" ]; then
                   14210:     CFLAGS=$SAVECFLAGS
                   14211:   fi
                   14212: fi
                   14213: 
                   14214: 
                   14215: 
                   14216: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14217:   MACHDEP=md-i386-gcc
1.1.1.6   root     14218:         CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
                   14219: 
1.1.1.14  root     14220:   CFLAGS="$CFLAGS -DX86_ASSEMBLY -DOPTIMIZED_FLAGS"
                   14221:   ASMOBJS=md-X86.o
1.1.1.6   root     14222: else if test $uae_cv_prog_cc_watcom = yes; then
                   14223:   MACHDEP=md-i386-watcom
                   14224:   echo CFLAGS before: $CFLAGS
                   14225:   CFLAGS=`echo $CFLAGS | sed 's, -g , ,' |sed 's,^-g ,,'`
                   14226:   CFLAGS="$CFLAGS --/--bm --/--mf --/--w4 --/--s --/--ei --/--zp4 --/--5r"
                   14227:   CFLAGS="$CFLAGS --/--oe=50 --/--oi --/--ok --/--ol --/--ot --/--oh --/--or --/--zq"
                   14228:   CFLAGS="$CFLAGS -DREGPARAM= -DUNALIGNED_PROFITABLE"
                   14229:   echo CFLAGS after:  $CFLAGS
1.1.1.11  root     14230: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEPPC" = "xyes" ]; then
                   14231:   MACHDEP=md-ppc-gcc
                   14232:   CFLAGS="$CFLAGS -DREGPARAM="
                   14233:   if [ "x$HAVE_MOTO_LIB" = "xyes" ]; then
                   14234:     MATHLIB="-lmoto $MATHLIB"
                   14235:   fi
1.1.1.4   root     14236: else if [ "x$TARGET" = "xp_os" ]; then
                   14237:   CPU=`uname -m`
                   14238:   if [ "x$CPU" = "xm68k" ]; then
                   14239:      MACHDEP=md-68k
1.1.1.7   root     14240:      CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(4)))\" -DM68K_FLAG_OPT=1"
1.1.1.4   root     14241:   else if [ "x$CPU" = "xppc" ]; then
                   14242:      MACHDEP=md-ppc
                   14243:      CFLAGS="$CFLAGS -DREGPARAM="
                   14244:   else if [ "x$CPU" = "xi386" ]; then
                   14245:           MACHDEP=md-i386-gcc
                   14246:      CFLAGS="$CFLAGS -DX86_ASSEMBLY -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
                   14247:   else
                   14248:      echo "Unsupported CPU: $CPU!"
                   14249:      exit 5
                   14250:   fi
                   14251:   fi
                   14252:   fi
                   14253:   CFLAGS="$CFLAGS -nostdinc -I/gg/include -I/p/../inc -D__POS__"
                   14254:   OSDEP=od-pos
1.1.1.7   root     14255: else if [ "x$TARGET" = "xamigaos" ]; then
1.1.1.4   root     14256:   OSDEP=od-amiga
1.1.1.7   root     14257:   CPU=`uname -m`
                   14258:   if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" ]; then
                   14259:     MACHDEP=md-68k
                   14260:     CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(4)))\" -DM68K_FLAG_OPT=1"
                   14261:   else if [ "x$HAVEGCC27" = "xyes" -a "x$CPU" = "xppc" ]; then
                   14262:     MACHDEP=md-ppc-gcc
                   14263:   else
                   14264:         CFLAGS="$CFLAGS -O -DREGPARAM="
                   14265:   fi
1.1.1.19! root     14266:   CPUOBJS="cpuemu1.o cpuemu2.o cpuemu3.o cpuemu4.o cpuemu5.o cpuemu6.o cpuemu7.o cpuemu8.o"
1.1.1.7   root     14267:   fi
1.1.1.4   root     14268: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14269:     MACHDEP=md-68k
                   14270:   CFLAGS="$CFLAGS -DM68K_FLAG_OPT=1 -DREGPARAM="
                   14271: else if [ "x$TARGET" = "xbeos" ]; then
                   14272:   MACHDEP=md-ppc
                   14273:   CFLAGS="$CFLAGS -DREGPARAM="
                   14274:   OSDEP=od-beos
1.1       root     14275: else
1.1.1.3   root     14276:   CFLAGS="$CFLAGS -DREGPARAM="
                   14277: fi
                   14278: fi
1.1       root     14279: fi
1.1.1.4   root     14280: fi
                   14281: fi
                   14282: fi
1.1.1.11  root     14283: fi
1.1.1.4   root     14284: 
1.1.1.16  root     14285: FSDBOBJS=fsdb_unix.o
1.1.1.6   root     14286: if [ "x$TARGET" = "xwin32" ]; then
                   14287:   OSDEP=od-win32
1.1.1.16  root     14288:   FSDBOBJS=osdep/fsdb_win32.o
1.1.1.19! root     14289:   if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.6   root     14290:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32 -lcomdlg32 -luser32 -lgdi32 -lkernel32 -ladvapi32 -lshell32"
                   14291:   else if test $uae_cv_prog_cc_watcom = yes; then
                   14292:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32"
                   14293:   fi
                   14294:   fi
                   14295: else if [ "x$HAVELINUX" = "xyes" ]; then
1.1.1.4   root     14296:   OSDEP=od-linux
                   14297: fi
1.1.1.6   root     14298: fi
1.1       root     14299: 
1.1.1.4   root     14300: if [ "x$TARGET" = "xx11" -o "x$TARGET" = "xsvgalib" -o "x$TARGET" = "xamigaos" \
1.1.1.13  root     14301:      -o "x$TARGET" = "xbeos" -o "x$TARGET" = "xasciiart" -o "x$TARGET" = "xp_os" ]; then
1.1.1.2   root     14302:     CFLAGS="$CFLAGS -DUSE_ZFILE"
                   14303: fi
                   14304: 
1.1.1.4   root     14305: HAVE_USS_SOUND=no
                   14306: if [ "x$ac_cv_header_sys_soundcard_h" = "xyes" -o "x$ac_cv_header_machine_soundcard_h" = "xyes" ]; then
1.1.1.19! root     14307:     echo "$as_me:$LINENO: checking whether sys/soundcard.h or machine/soundcard.h works" >&5
        !          14308: echo $ECHO_N "checking whether sys/soundcard.h or machine/soundcard.h works... $ECHO_C" >&6
        !          14309:   cat >conftest.$ac_ext <<_ACEOF
        !          14310: /* confdefs.h.  */
        !          14311: _ACEOF
        !          14312: cat confdefs.h >>conftest.$ac_ext
        !          14313: cat >>conftest.$ac_ext <<_ACEOF
        !          14314: /* end confdefs.h.  */
1.1.1.4   root     14315: 
                   14316: #include "confdefs.h"
                   14317: #ifdef HAVE_SYS_SOUNDCARD_H
                   14318: #include <sys/soundcard.h>
                   14319: #else
                   14320: #include <machine/soundcard.h>
                   14321: #endif
                   14322: #include <sys/ioctl.h>
                   14323: 
1.1.1.19! root     14324: int
        !          14325: main ()
        !          14326: {
1.1.1.4   root     14327: int soundfd; ioctl (soundfd, SNDCTL_DSP_GETFMTS, 0);
1.1.1.19! root     14328:   ;
        !          14329:   return 0;
        !          14330: }
        !          14331: _ACEOF
        !          14332: rm -f conftest.$ac_objext
        !          14333: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14334:   (eval $ac_compile) 2>conftest.er1
        !          14335:   ac_status=$?
        !          14336:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14337:   rm -f conftest.er1
        !          14338:   cat conftest.err >&5
        !          14339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14340:   (exit $ac_status); } &&
        !          14341:         { ac_try='test -z "$ac_c_werror_flag"
        !          14342:                         || test ! -s conftest.err'
        !          14343:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14344:   (eval $ac_try) 2>&5
        !          14345:   ac_status=$?
        !          14346:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14347:   (exit $ac_status); }; } &&
        !          14348:         { ac_try='test -s conftest.$ac_objext'
        !          14349:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14350:   (eval $ac_try) 2>&5
        !          14351:   ac_status=$?
        !          14352:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14353:   (exit $ac_status); }; }; then
        !          14354:   echo "$as_me:$LINENO: result: yes" >&5
        !          14355: echo "${ECHO_T}yes" >&6
1.1.1.4   root     14356: HAVE_USS_SOUND=yes
                   14357: else
1.1.1.19! root     14358:   echo "$as_me: failed program was:" >&5
        !          14359: sed 's/^/| /' conftest.$ac_ext >&5
        !          14360: 
        !          14361: echo "$as_me:$LINENO: result: no" >&5
        !          14362: echo "${ECHO_T}no" >&6
1.1.1.4   root     14363: fi
1.1.1.19! root     14364: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14365: fi
                   14366: 
1.1.1.8   root     14367: if [ "x$ac_cv_header_dmedia_audio.h" = "xno" ]; then
                   14368:   HAVE_SGIAUDIO_LIB=no
                   14369: fi
                   14370: 
1.1.1.19! root     14371: echo "$as_me:$LINENO: checking which sound system to use" >&5
        !          14372: echo $ECHO_N "checking which sound system to use... $ECHO_C" >&6
1.1.1.4   root     14373: # Check whether --enable-file-sound or --disable-file-sound was given.
                   14374: if test "${enable_file_sound+set}" = set; then
                   14375:   enableval="$enable_file_sound"
                   14376:   USE_FILE_SOUND=$enableval
1.1.1.19! root     14377: fi;
1.1.1.4   root     14378: 
                   14379: if [ "x$USE_FILE_SOUND" = "xyes" ]; then
1.1.1.19! root     14380:   echo "$as_me:$LINENO: result: file output" >&5
        !          14381: echo "${ECHO_T}file output" >&6
1.1.1.7   root     14382:   SOUNDDEP=sd-file
1.1.1.19! root     14383:   USE_SOUND=yes
1.1.1.17  root     14384: else if [ "x$WANT_SDLSND" = "xyes" ]; then
1.1.1.19! root     14385:   echo "$as_me:$LINENO: result: SDL" >&5
        !          14386: echo "${ECHO_T}SDL" >&6
1.1.1.16  root     14387:   SOUNDDEP=sd-sdl
                   14388:   USE_SOUND=yes
                   14389:   NEED_THREAD_SUPPORT=yes
1.1.1.19! root     14390: else if [ "x$WANT_ALSA" = "xyes" ]; then
        !          14391:   echo "$as_me:$LINENO: result: ALSA" >&5
        !          14392: echo "${ECHO_T}ALSA" >&6
        !          14393:   SOUNDDEP=sd-alsa
        !          14394:   USE_SOUND=yes
1.1.1.7   root     14395: else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
1.1.1.19! root     14396:   echo "$as_me:$LINENO: result: USS" >&5
        !          14397: echo "${ECHO_T}USS" >&6
1.1.1.7   root     14398:   SOUNDDEP=sd-uss
1.1.1.4   root     14399:   USE_SOUND=yes
1.1.1.7   root     14400: 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     14401:   echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
        !          14402: echo "${ECHO_T}Solaris/NetBSD" >&6
1.1.1.7   root     14403:   SOUNDDEP=sd-solaris
                   14404:   USE_SOUND=yes
                   14405: else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
1.1.1.19! root     14406:   echo "$as_me:$LINENO: result: AF sound" >&5
        !          14407: echo "${ECHO_T}AF sound" >&6
1.1.1.7   root     14408:   SOUNDDEP=sd-af
                   14409:   LIBS="$LIBS -lAF"
                   14410:   USE_SOUND=yes
1.1.1.8   root     14411: else if [ "x$HAVE_SGIAUDIO_LIB" = "xyes" ]; then
1.1.1.19! root     14412:   echo "$as_me:$LINENO: result: SGI sound" >&5
        !          14413: echo "${ECHO_T}SGI sound" >&6
1.1.1.8   root     14414:   SOUNDDEP=sd-sgi
                   14415:   LIBS="$LIBS -laudio"
                   14416:   USE_SOUND=yes
1.1.1.7   root     14417: else if [ "x$HAVE_MME_LIB" = "xyes" ]; then
1.1.1.19! root     14418:   echo "$as_me:$LINENO: result: MME sound" >&5
        !          14419: echo "${ECHO_T}MME sound" >&6
1.1.1.7   root     14420:   SOUNDDEP=sd-mme
                   14421:   LIBS="$LIBS -lmme"
                   14422:   USE_SOUND=yes
                   14423: else if [ "x$TARGET" = "xp_os" ]; then
1.1.1.19! root     14424:   echo "$as_me:$LINENO: result: pAudio.device" >&5
        !          14425: echo "${ECHO_T}pAudio.device" >&6
1.1.1.7   root     14426:   SOUNDDEP=od-pos
                   14427:   USE_SOUND=yes
                   14428: else if [ "x$TARGET" = "xamigaos" ]; then
                   14429:   if [ "x$ac_cv_header_devices_ahi_h" = "xyes" ]; then
1.1.1.19! root     14430:     echo "$as_me:$LINENO: result: Amiga AHI.device" >&5
        !          14431: echo "${ECHO_T}Amiga AHI.device" >&6
1.1.1.4   root     14432:   else
1.1.1.19! root     14433:     echo "$as_me:$LINENO: result: Amiga audio.device" >&5
        !          14434: echo "${ECHO_T}Amiga audio.device" >&6
1.1.1.6   root     14435:   fi
1.1.1.7   root     14436:   SOUNDDEP=od-amiga
                   14437:   USE_SOUND=yes
                   14438: else if [ "x$TARGET" = "xbeos" ]; then
1.1.1.19! root     14439:   echo "$as_me:$LINENO: result: BeOS sound" >&5
        !          14440: echo "${ECHO_T}BeOS sound" >&6
1.1.1.7   root     14441:   SOUNDDEP=od-beos
                   14442:   USE_SOUND=yes
                   14443: else if [ "x$TARGET" = "xwin32" ]; then
1.1.1.19! root     14444:   echo "$as_me:$LINENO: result: Win32 sound" >&5
        !          14445: echo "${ECHO_T}Win32 sound" >&6
1.1.1.7   root     14446:   SOUNDDEP=od-win32
                   14447:   USE_SOUND=yes
                   14448: else
                   14449:   echo "no known sound system found"
                   14450:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   14451: fi
                   14452: fi
                   14453: fi
                   14454: fi
1.1.1.4   root     14455: fi
1.1.1.7   root     14456: fi
                   14457: fi
                   14458: fi
                   14459: fi
1.1.1.8   root     14460: fi
1.1.1.16  root     14461: fi
1.1.1.19! root     14462: fi
1.1.1.16  root     14463: 
                   14464: if [ "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   14465:   if [ "x$USE_THREADS" != "xyes" ]; then
                   14466:     echo "Threads are needed for this configuration; enabling thread support."
                   14467:   fi
                   14468: fi
                   14469: 
                   14470: if [ "x$USE_THREADS" = "xyes" -o "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   14471:   if [ "x$WANT_SDL" = "xyes" ]; then
                   14472:     THREADDEP=td-sdl
                   14473:   else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
                   14474:     THREADDEP=td-posix
                   14475:     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
                   14476:     LIBS="$LIBS -lpthread"
                   14477:     if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
                   14478:       LIBS="$LIBS -lposix4"
                   14479:     fi
                   14480: 
1.1.1.19! root     14481:     if [ "x$USE_THREADS" = "xyes" ]; then
1.1.1.16  root     14482:       CFLAGS="$CFLAGS -DUAE_FILESYS_THREADS"
                   14483:     fi
                   14484: 
                   14485:     if [ "x$HAVELINUX" = "xno" -o "x$HAVEGLIBC2" = "xno" ]; then
                   14486:       echo "Thread support has only been tested on Linux systems with glibc-2.0"
                   14487:       NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14488:     fi
                   14489:     if [ "x$TARGET" = "xsvgalib" ]; then
                   14490:       echo "If you didn't compile a fixed version of SVGAlib then thread support"
                   14491:       echo "in UAE will lock your machine real hard."
                   14492:       NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14493:     fi
                   14494:   else
                   14495:     echo "You tried to enable threads, but I couldn't find a thread library!"
                   14496:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   14497:   fi
                   14498:   fi
                   14499: fi
1.1.1.7   root     14500: 
1.1.1.10  root     14501: SCSIOBJS=scsi-none.o
                   14502: # Check whether --enable-scsi-device or --disable-scsi-device was given.
                   14503: if test "${enable_scsi_device+set}" = set; then
                   14504:   enableval="$enable_scsi_device"
                   14505:   USE_SCSI_DEVICE=$enableval
1.1.1.19! root     14506: fi;
1.1.1.10  root     14507: if [ "x$USE_SCSI_DEVICE" = "xyes" ]; then
1.1.1.19! root     14508:   echo "$as_me:$LINENO: checking \"availability of libscg headers and lib\"" >&5
        !          14509: echo $ECHO_N "checking \"availability of libscg headers and lib\"... $ECHO_C" >&6
1.1.1.13  root     14510:   OLDLIBS="$LIBS"
1.1.1.14  root     14511:   OLDCFLAGS="$CFLAGS"
                   14512:   CFLAGS="$CFLAGS -Isrc/include"
                   14513:   LIBS="-Lsrc $LIBS -lscg -lschily"
1.1.1.19! root     14514:   cat >conftest.$ac_ext <<_ACEOF
        !          14515: /* confdefs.h.  */
        !          14516: _ACEOF
        !          14517: cat confdefs.h >>conftest.$ac_ext
        !          14518: cat >>conftest.$ac_ext <<_ACEOF
        !          14519: /* end confdefs.h.  */
1.1.1.14  root     14520: typedef int BOOL;
1.1.1.13  root     14521: #include "scg/scgcmd.h"
                   14522: #include "scg/scsitransp.h"
                   14523: #include "scg/scsireg.h"
1.1.1.19! root     14524: int
        !          14525: main ()
        !          14526: {
1.1.1.13  root     14527: {SCSI *scgp = open_scsi ((void *)0, (void *)0, 0, 1, 1);}
1.1.1.19! root     14528:   ;
        !          14529:   return 0;
        !          14530: }
        !          14531: _ACEOF
        !          14532: rm -f conftest.$ac_objext conftest$ac_exeext
        !          14533: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          14534:   (eval $ac_link) 2>conftest.er1
        !          14535:   ac_status=$?
        !          14536:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14537:   rm -f conftest.er1
        !          14538:   cat conftest.err >&5
        !          14539:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14540:   (exit $ac_status); } &&
        !          14541:         { ac_try='test -z "$ac_c_werror_flag"
        !          14542:                         || test ! -s conftest.err'
        !          14543:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14544:   (eval $ac_try) 2>&5
        !          14545:   ac_status=$?
        !          14546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14547:   (exit $ac_status); }; } &&
        !          14548:         { ac_try='test -s conftest$ac_exeext'
        !          14549:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14550:   (eval $ac_try) 2>&5
        !          14551:   ac_status=$?
        !          14552:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14553:   (exit $ac_status); }; }; then
        !          14554: 
        !          14555:     echo "$as_me:$LINENO: result: available" >&5
        !          14556: echo "${ECHO_T}available" >&6
1.1.1.10  root     14557:     SCSIOBJS=scsidev.o
1.1.1.19! root     14558: 
1.1.1.13  root     14559: else
1.1.1.19! root     14560:   echo "$as_me: failed program was:" >&5
        !          14561: sed 's/^/| /' conftest.$ac_ext >&5
        !          14562: 
        !          14563: 
        !          14564:      echo "$as_me:$LINENO: result: not available" >&5
        !          14565: echo "${ECHO_T}not available" >&6
1.1.1.13  root     14566:      NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14567:      echo "Please refer to the UAE SCSI device section in docs/README for installation instructions."
                   14568:      LIBS="$OLDLIBS"
1.1.1.19! root     14569: 
1.1.1.13  root     14570: fi
1.1.1.19! root     14571: rm -f conftest.err conftest.$ac_objext \
        !          14572:       conftest$ac_exeext conftest.$ac_ext
1.1.1.14  root     14573:   CFLAGS="$OLDCFLAGS"
1.1.1.10  root     14574: fi
                   14575: 
                   14576: 
1.1.1.16  root     14577: if [ "x$WANT_SDL" = "xyes" ]; then
                   14578:     OD_JOYSTICK=sdl-joystick.c
1.1.1.18  root     14579: else if [ "x$ac_cv_header_machine_joystick_h" = "xyes" ]; then
1.1.1.19! root     14580:     cat >conftest.$ac_ext <<_ACEOF
        !          14581: /* confdefs.h.  */
        !          14582: _ACEOF
        !          14583: cat confdefs.h >>conftest.$ac_ext
        !          14584: cat >>conftest.$ac_ext <<_ACEOF
        !          14585: /* end confdefs.h.  */
1.1.1.10  root     14586: #include <machine/joystick.h>
1.1.1.19! root     14587: int
        !          14588: main ()
        !          14589: {
1.1.1.10  root     14590: { struct joystick a; }
1.1.1.19! root     14591:   ;
        !          14592:   return 0;
        !          14593: }
        !          14594: _ACEOF
        !          14595: rm -f conftest.$ac_objext
        !          14596: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          14597:   (eval $ac_compile) 2>conftest.er1
        !          14598:   ac_status=$?
        !          14599:   grep -v '^ *+' conftest.er1 >conftest.err
        !          14600:   rm -f conftest.er1
        !          14601:   cat conftest.err >&5
        !          14602:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14603:   (exit $ac_status); } &&
        !          14604:         { ac_try='test -z "$ac_c_werror_flag"
        !          14605:                         || test ! -s conftest.err'
        !          14606:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14607:   (eval $ac_try) 2>&5
        !          14608:   ac_status=$?
        !          14609:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14610:   (exit $ac_status); }; } &&
        !          14611:         { ac_try='test -s conftest.$ac_objext'
        !          14612:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          14613:   (eval $ac_try) 2>&5
        !          14614:   ac_status=$?
        !          14615:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          14616:   (exit $ac_status); }; }; then
1.1.1.10  root     14617:   OD_JOYSTICK=od-linux/joystick.c
                   14618: else
1.1.1.19! root     14619:   echo "$as_me: failed program was:" >&5
        !          14620: sed 's/^/| /' conftest.$ac_ext >&5
        !          14621: 
1.1.1.10  root     14622: fi
1.1.1.19! root     14623: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     14624: else
                   14625:     OD_JOYSTICK=$OSDEP/joystick.c
                   14626: fi
1.1.1.16  root     14627: fi
1.1.1.4   root     14628: 
                   14629: rm -f src/machdep
                   14630: rm -f src/osdep
                   14631: rm -f src/threaddep
                   14632: rm -f src/sounddep
1.1.1.10  root     14633: rm -f src/scsidep
1.1.1.4   root     14634: rm -f src/target.h
1.1.1.5   root     14635: rm -f src/config.h
1.1.1.6   root     14636: rm -f src/sd-sound.c
                   14637: rm -f src/od-joy.c
                   14638: rm -f src/md-support.c
                   14639: rm -f src/md-X86.S
1.1.1.10  root     14640: rm -f src/scsi-support.c
1.1.1.3   root     14641: 
1.1.1.4   root     14642: if [ "x$TARGET" = "xamigaos" -o "x$TARGET" = "xp_os" ]; then
1.1.1.19! root     14643:     echo "$as_me:$LINENO: checking which CPU to use" >&5
        !          14644: echo $ECHO_N "checking which CPU to use... $ECHO_C" >&6
1.1.1.3   root     14645:   cpu=`cpu | cut -d' ' -f2`
1.1.1.19! root     14646:   echo "$as_me:$LINENO: result: $cpu" >&5
        !          14647: echo "${ECHO_T}$cpu" >&6
1.1.1.3   root     14648:   CFLAGS="$CFLAGS -m$cpu"
                   14649: 
1.1.1.19! root     14650:     echo "$as_me:$LINENO: checking which FPU to use" >&5
        !          14651: echo $ECHO_N "checking which FPU to use... $ECHO_C" >&6
1.1.1.4   root     14652:   fpu=`cpu | cut -d' ' -f3 | grep '^688812$'`
                   14653:   if [ "x$fpu" != "x" ]; then
1.1.1.19! root     14654:         echo "$as_me:$LINENO: result: 68881" >&5
        !          14655: echo "${ECHO_T}68881" >&6
1.1.1.4   root     14656:     CFLAGS="$CFLAGS -m68881"
1.1.1.3   root     14657:   else
1.1.1.19! root     14658:     echo "$as_me:$LINENO: result: none" >&5
        !          14659: echo "${ECHO_T}none" >&6
1.1.1.3   root     14660:   fi
                   14661: fi
                   14662: 
1.1.1.2   root     14663: 
                   14664: 
1.1       root     14665: 
                   14666: 
                   14667: 
                   14668: 
                   14669: 
                   14670: 
                   14671: 
                   14672: 
                   14673: 
1.1.1.3   root     14674: 
1.1.1.4   root     14675: 
1.1.1.3   root     14676: 
                   14677: 
                   14678: 
1.1.1.6   root     14679: 
1.1.1.16  root     14680: 
1.1.1.19! root     14681: 
        !          14682:                     ac_config_files="$ac_config_files src/Makefile Makefile"
        !          14683: 
        !          14684: cat >confcache <<\_ACEOF
1.1       root     14685: # This file is a shell script that caches the results of configure
                   14686: # tests run on this system so they can be shared between configure
1.1.1.19! root     14687: # scripts and configure runs, see configure's option --config-cache.
        !          14688: # It is not useful on other systems.  If it contains results you don't
        !          14689: # want to keep, you may remove or edit it.
1.1       root     14690: #
1.1.1.19! root     14691: # config.status only pays attention to the cache file if you give it
        !          14692: # the --recheck option to rerun configure.
1.1       root     14693: #
1.1.1.19! root     14694: # `ac_cv_env_foo' variables (set or unset) will be overridden when
        !          14695: # loading this file, other *unset* `ac_cv_foo' will be assigned the
        !          14696: # following values.
        !          14697: 
        !          14698: _ACEOF
        !          14699: 
1.1.1.4   root     14700: # The following way of writing the cache mishandles newlines in values,
                   14701: # but we know of no workaround that is simple, portable, and efficient.
                   14702: # So, don't put newlines in cache variables' values.
1.1       root     14703: # Ultrix sh set writes to stderr and can't be redirected directly,
                   14704: # and sets the high bit in the cache file unless we assign to the vars.
1.1.1.19! root     14705: {
        !          14706:   (set) 2>&1 |
        !          14707:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          14708:     *ac_space=\ *)
        !          14709:       # `set' does not quote correctly, so add quotes (double-quote
        !          14710:       # substitution turns \\\\ into \\, and sed turns \\ into \).
        !          14711:       sed -n \
        !          14712:        "s/'/'\\\\''/g;
        !          14713:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
        !          14714:       ;;
        !          14715:     *)
        !          14716:       # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          14717:       sed -n \
        !          14718:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !          14719:       ;;
        !          14720:     esac;
        !          14721: } |
        !          14722:   sed '
        !          14723:      t clear
        !          14724:      : clear
        !          14725:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
        !          14726:      t end
        !          14727:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          14728:      : end' >>confcache
        !          14729: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       root     14730:   if test -w $cache_file; then
1.1.1.19! root     14731:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
        !          14732:     cat confcache >$cache_file
1.1       root     14733:   else
                   14734:     echo "not updating unwritable cache $cache_file"
                   14735:   fi
                   14736: fi
                   14737: rm -f confcache
                   14738: 
                   14739: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   14740: # Let make expand exec_prefix.
                   14741: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   14742: 
1.1.1.19! root     14743: # VPATH may cause trouble with some makes, so we remove $(srcdir),
        !          14744: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
        !          14745: # trailing colons and then remove the whole line if VPATH becomes empty
        !          14746: # (actually we leave an empty line to preserve line numbers).
1.1       root     14747: if test "x$srcdir" = x.; then
1.1.1.19! root     14748:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
        !          14749: s/:*\$(srcdir):*/:/;
        !          14750: s/:*\${srcdir}:*/:/;
        !          14751: s/:*@srcdir@:*/:/;
        !          14752: s/^\([^=]*=[    ]*\):*/\1/;
        !          14753: s/:*$//;
        !          14754: s/^[^=]*=[      ]*$//;
        !          14755: }'
1.1       root     14756: fi
                   14757: 
                   14758: DEFS=-DHAVE_CONFIG_H
                   14759: 
1.1.1.19! root     14760: ac_libobjs=
        !          14761: ac_ltlibobjs=
        !          14762: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
        !          14763:   # 1. Remove the extension, and $U if already installed.
        !          14764:   ac_i=`echo "$ac_i" |
        !          14765:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
        !          14766:   # 2. Add them.
        !          14767:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
        !          14768:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
        !          14769: done
        !          14770: LIBOBJS=$ac_libobjs
        !          14771: 
        !          14772: LTLIBOBJS=$ac_ltlibobjs
        !          14773: 
1.1       root     14774: 
1.1.1.19! root     14775: 
        !          14776: : ${CONFIG_STATUS=./config.status}
        !          14777: ac_clean_files_save=$ac_clean_files
        !          14778: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
        !          14779: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
        !          14780: echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          14781: cat >$CONFIG_STATUS <<_ACEOF
        !          14782: #! $SHELL
        !          14783: # Generated by $as_me.
1.1       root     14784: # Run this file to recreate the current configuration.
                   14785: # Compiler output produced by configure, useful for debugging
1.1.1.19! root     14786: # configure, is in config.log if it exists.
1.1       root     14787: 
1.1.1.19! root     14788: debug=false
        !          14789: ac_cs_recheck=false
        !          14790: ac_cs_silent=false
        !          14791: SHELL=\${CONFIG_SHELL-$SHELL}
        !          14792: _ACEOF
        !          14793: 
        !          14794: cat >>$CONFIG_STATUS <<\_ACEOF
        !          14795: ## --------------------- ##
        !          14796: ## M4sh Initialization.  ##
        !          14797: ## --------------------- ##
        !          14798: 
        !          14799: # Be Bourne compatible
        !          14800: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !          14801:   emulate sh
        !          14802:   NULLCMD=:
        !          14803:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
        !          14804:   # is contrary to our usage.  Disable this feature.
        !          14805:   alias -g '${1+"$@"}'='"$@"'
        !          14806: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
        !          14807:   set -o posix
        !          14808: fi
        !          14809: DUALCASE=1; export DUALCASE # for MKS sh
        !          14810: 
        !          14811: # Support unset when possible.
        !          14812: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
        !          14813:   as_unset=unset
        !          14814: else
        !          14815:   as_unset=false
        !          14816: fi
        !          14817: 
        !          14818: 
        !          14819: # Work around bugs in pre-3.0 UWIN ksh.
        !          14820: $as_unset ENV MAIL MAILPATH
        !          14821: PS1='$ '
        !          14822: PS2='> '
        !          14823: PS4='+ '
        !          14824: 
        !          14825: # NLS nuisances.
        !          14826: for as_var in \
        !          14827:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
        !          14828:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
        !          14829:   LC_TELEPHONE LC_TIME
        !          14830: do
        !          14831:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
        !          14832:     eval $as_var=C; export $as_var
        !          14833:   else
        !          14834:     $as_unset $as_var
        !          14835:   fi
        !          14836: done
        !          14837: 
        !          14838: # Required to use basename.
        !          14839: if expr a : '\(a\)' >/dev/null 2>&1; then
        !          14840:   as_expr=expr
        !          14841: else
        !          14842:   as_expr=false
        !          14843: fi
        !          14844: 
        !          14845: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
        !          14846:   as_basename=basename
        !          14847: else
        !          14848:   as_basename=false
        !          14849: fi
        !          14850: 
        !          14851: 
        !          14852: # Name of the executable.
        !          14853: as_me=`$as_basename "$0" ||
        !          14854: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !          14855:         X"$0" : 'X\(//\)$' \| \
        !          14856:         X"$0" : 'X\(/\)$' \| \
        !          14857:         .     : '\(.\)' 2>/dev/null ||
        !          14858: echo X/"$0" |
        !          14859:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
        !          14860:          /^X\/\(\/\/\)$/{ s//\1/; q; }
        !          14861:          /^X\/\(\/\).*/{ s//\1/; q; }
        !          14862:          s/.*/./; q'`
        !          14863: 
        !          14864: 
        !          14865: # PATH needs CR, and LINENO needs CR and PATH.
        !          14866: # Avoid depending upon Character Ranges.
        !          14867: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          14868: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          14869: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          14870: as_cr_digits='0123456789'
        !          14871: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !          14872: 
        !          14873: # The user is always right.
        !          14874: if test "${PATH_SEPARATOR+set}" != set; then
        !          14875:   echo "#! /bin/sh" >conf$$.sh
        !          14876:   echo  "exit 0"   >>conf$$.sh
        !          14877:   chmod +x conf$$.sh
        !          14878:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
        !          14879:     PATH_SEPARATOR=';'
        !          14880:   else
        !          14881:     PATH_SEPARATOR=:
        !          14882:   fi
        !          14883:   rm -f conf$$.sh
        !          14884: fi
        !          14885: 
        !          14886: 
        !          14887:   as_lineno_1=$LINENO
        !          14888:   as_lineno_2=$LINENO
        !          14889:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          14890:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          14891:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
        !          14892:   # Find who we are.  Look in the path if we contain no path at all
        !          14893:   # relative or not.
        !          14894:   case $0 in
        !          14895:     *[\\/]* ) as_myself=$0 ;;
        !          14896:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14897: for as_dir in $PATH
        !          14898: do
        !          14899:   IFS=$as_save_IFS
        !          14900:   test -z "$as_dir" && as_dir=.
        !          14901:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          14902: done
        !          14903: 
        !          14904:        ;;
        !          14905:   esac
        !          14906:   # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          14907:   # in which case we are not to be found in the path.
        !          14908:   if test "x$as_myself" = x; then
        !          14909:     as_myself=$0
        !          14910:   fi
        !          14911:   if test ! -f "$as_myself"; then
        !          14912:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
        !          14913: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
        !          14914:    { (exit 1); exit 1; }; }
        !          14915:   fi
        !          14916:   case $CONFIG_SHELL in
        !          14917:   '')
        !          14918:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14919: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
        !          14920: do
        !          14921:   IFS=$as_save_IFS
        !          14922:   test -z "$as_dir" && as_dir=.
        !          14923:   for as_base in sh bash ksh sh5; do
        !          14924:         case $as_dir in
        !          14925:         /*)
        !          14926:           if ("$as_dir/$as_base" -c '
        !          14927:   as_lineno_1=$LINENO
        !          14928:   as_lineno_2=$LINENO
        !          14929:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          14930:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          14931:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
        !          14932:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
        !          14933:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
        !          14934:             CONFIG_SHELL=$as_dir/$as_base
        !          14935:             export CONFIG_SHELL
        !          14936:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
        !          14937:           fi;;
        !          14938:         esac
        !          14939:        done
        !          14940: done
        !          14941: ;;
        !          14942:   esac
        !          14943: 
        !          14944:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
        !          14945:   # uniformly replaced by the line number.  The first 'sed' inserts a
        !          14946:   # line-number line before each line; the second 'sed' does the real
        !          14947:   # work.  The second script uses 'N' to pair each line-number line
        !          14948:   # with the numbered line, and appends trailing '-' during
        !          14949:   # substitution so that $LINENO is not a special case at line end.
        !          14950:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
        !          14951:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
        !          14952:   sed '=' <$as_myself |
        !          14953:     sed '
        !          14954:       N
        !          14955:       s,$,-,
        !          14956:       : loop
        !          14957:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
        !          14958:       t loop
        !          14959:       s,-$,,
        !          14960:       s,^['$as_cr_digits']*\n,,
        !          14961:     ' >$as_me.lineno &&
        !          14962:   chmod +x $as_me.lineno ||
        !          14963:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
        !          14964: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
        !          14965:    { (exit 1); exit 1; }; }
        !          14966: 
        !          14967:   # Don't try to exec as it changes $[0], causing all sort of problems
        !          14968:   # (the dirname of $[0] is not the place where we might find the
        !          14969:   # original and so on.  Autoconf is especially sensible to this).
        !          14970:   . ./$as_me.lineno
        !          14971:   # Exit status is that of the last command.
        !          14972:   exit
        !          14973: }
        !          14974: 
        !          14975: 
        !          14976: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
        !          14977:   *c*,-n*) ECHO_N= ECHO_C='
        !          14978: ' ECHO_T='     ' ;;
        !          14979:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
        !          14980:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
        !          14981: esac
        !          14982: 
        !          14983: if expr a : '\(a\)' >/dev/null 2>&1; then
        !          14984:   as_expr=expr
        !          14985: else
        !          14986:   as_expr=false
        !          14987: fi
        !          14988: 
        !          14989: rm -f conf$$ conf$$.exe conf$$.file
        !          14990: echo >conf$$.file
        !          14991: if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          14992:   # We could just check for DJGPP; but this test a) works b) is more generic
        !          14993:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
        !          14994:   if test -f conf$$.exe; then
        !          14995:     # Don't use ln at all; we don't have any links
        !          14996:     as_ln_s='cp -p'
        !          14997:   else
        !          14998:     as_ln_s='ln -s'
        !          14999:   fi
        !          15000: elif ln conf$$.file conf$$ 2>/dev/null; then
        !          15001:   as_ln_s=ln
        !          15002: else
        !          15003:   as_ln_s='cp -p'
        !          15004: fi
        !          15005: rm -f conf$$ conf$$.exe conf$$.file
        !          15006: 
        !          15007: if mkdir -p . 2>/dev/null; then
        !          15008:   as_mkdir_p=:
        !          15009: else
        !          15010:   test -d ./-p && rmdir ./-p
        !          15011:   as_mkdir_p=false
        !          15012: fi
        !          15013: 
        !          15014: as_executable_p="test -f"
        !          15015: 
        !          15016: # Sed expression to map a string onto a valid CPP name.
        !          15017: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
        !          15018: 
        !          15019: # Sed expression to map a string onto a valid variable name.
        !          15020: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
        !          15021: 
        !          15022: 
        !          15023: # IFS
        !          15024: # We need space, tab and new line, in precisely that order.
        !          15025: as_nl='
        !          15026: '
        !          15027: IFS="  $as_nl"
        !          15028: 
        !          15029: # CDPATH.
        !          15030: $as_unset CDPATH
        !          15031: 
        !          15032: exec 6>&1
        !          15033: 
        !          15034: # Open the log real soon, to keep \$[0] and so on meaningful, and to
        !          15035: # report actual input values of CONFIG_FILES etc. instead of their
        !          15036: # values after options handling.  Logging --version etc. is OK.
        !          15037: exec 5>>config.log
        !          15038: {
        !          15039:   echo
        !          15040:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          15041: ## Running $as_me. ##
        !          15042: _ASBOX
        !          15043: } >&5
        !          15044: cat >&5 <<_CSEOF
        !          15045: 
        !          15046: This file was extended by $as_me, which was
        !          15047: generated by GNU Autoconf 2.59.  Invocation command line was
        !          15048: 
        !          15049:   CONFIG_FILES    = $CONFIG_FILES
        !          15050:   CONFIG_HEADERS  = $CONFIG_HEADERS
        !          15051:   CONFIG_LINKS    = $CONFIG_LINKS
        !          15052:   CONFIG_COMMANDS = $CONFIG_COMMANDS
        !          15053:   $ $0 $@
        !          15054: 
        !          15055: _CSEOF
        !          15056: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
        !          15057: echo >&5
        !          15058: _ACEOF
        !          15059: 
        !          15060: # Files that config.status was made for.
        !          15061: if test -n "$ac_config_files"; then
        !          15062:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
        !          15063: fi
        !          15064: 
        !          15065: if test -n "$ac_config_headers"; then
        !          15066:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
        !          15067: fi
        !          15068: 
        !          15069: if test -n "$ac_config_links"; then
        !          15070:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
        !          15071: fi
        !          15072: 
        !          15073: if test -n "$ac_config_commands"; then
        !          15074:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
        !          15075: fi
        !          15076: 
        !          15077: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15078: 
        !          15079: ac_cs_usage="\
        !          15080: \`$as_me' instantiates files from templates according to the
        !          15081: current configuration.
        !          15082: 
        !          15083: Usage: $0 [OPTIONS] [FILE]...
        !          15084: 
        !          15085:   -h, --help       print this help, then exit
        !          15086:   -V, --version    print version number, then exit
        !          15087:   -q, --quiet      do not print progress messages
        !          15088:   -d, --debug      don't remove temporary files
        !          15089:       --recheck    update $as_me by reconfiguring in the same conditions
        !          15090:   --file=FILE[:TEMPLATE]
        !          15091:                   instantiate the configuration file FILE
        !          15092:   --header=FILE[:TEMPLATE]
        !          15093:                   instantiate the configuration header FILE
        !          15094: 
        !          15095: Configuration files:
        !          15096: $config_files
        !          15097: 
        !          15098: Configuration headers:
        !          15099: $config_headers
        !          15100: 
        !          15101: Report bugs to <[email protected]>."
        !          15102: _ACEOF
        !          15103: 
        !          15104: cat >>$CONFIG_STATUS <<_ACEOF
        !          15105: ac_cs_version="\\
        !          15106: config.status
        !          15107: configured by $0, generated by GNU Autoconf 2.59,
        !          15108:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
        !          15109: 
        !          15110: Copyright (C) 2003 Free Software Foundation, Inc.
        !          15111: This config.status script is free software; the Free Software Foundation
        !          15112: gives unlimited permission to copy, distribute and modify it."
        !          15113: srcdir=$srcdir
        !          15114: _ACEOF
        !          15115: 
        !          15116: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15117: # If no file are specified by the user, then we need to provide default
        !          15118: # value.  By we need to know if files were specified by the user.
        !          15119: ac_need_defaults=:
        !          15120: while test $# != 0
1.1       root     15121: do
1.1.1.19! root     15122:   case $1 in
        !          15123:   --*=*)
        !          15124:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
        !          15125:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
        !          15126:     ac_shift=:
        !          15127:     ;;
        !          15128:   -*)
        !          15129:     ac_option=$1
        !          15130:     ac_optarg=$2
        !          15131:     ac_shift=shift
        !          15132:     ;;
        !          15133:   *) # This is not an option, so the user has probably given explicit
        !          15134:      # arguments.
        !          15135:      ac_option=$1
        !          15136:      ac_need_defaults=false;;
        !          15137:   esac
        !          15138: 
        !          15139:   case $ac_option in
        !          15140:   # Handling of the options.
        !          15141: _ACEOF
        !          15142: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     15143:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1.19! root     15144:     ac_cs_recheck=: ;;
        !          15145:   --version | --vers* | -V )
        !          15146:     echo "$ac_cs_version"; exit 0 ;;
        !          15147:   --he | --h)
        !          15148:     # Conflict between --help and --header
        !          15149:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
        !          15150: Try \`$0 --help' for more information." >&5
        !          15151: echo "$as_me: error: ambiguous option: $1
        !          15152: Try \`$0 --help' for more information." >&2;}
        !          15153:    { (exit 1); exit 1; }; };;
        !          15154:   --help | --hel | -h )
        !          15155:     echo "$ac_cs_usage"; exit 0 ;;
        !          15156:   --debug | --d* | -d )
        !          15157:     debug=: ;;
        !          15158:   --file | --fil | --fi | --f )
        !          15159:     $ac_shift
        !          15160:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
        !          15161:     ac_need_defaults=false;;
        !          15162:   --header | --heade | --head | --hea )
        !          15163:     $ac_shift
        !          15164:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
        !          15165:     ac_need_defaults=false;;
        !          15166:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          15167:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
        !          15168:     ac_cs_silent=: ;;
        !          15169: 
        !          15170:   # This is an error.
        !          15171:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
        !          15172: Try \`$0 --help' for more information." >&5
        !          15173: echo "$as_me: error: unrecognized option: $1
        !          15174: Try \`$0 --help' for more information." >&2;}
        !          15175:    { (exit 1); exit 1; }; } ;;
        !          15176: 
        !          15177:   *) ac_config_targets="$ac_config_targets $1" ;;
        !          15178: 
1.1       root     15179:   esac
1.1.1.19! root     15180:   shift
1.1       root     15181: done
                   15182: 
1.1.1.19! root     15183: ac_configure_extra_args=
1.1       root     15184: 
1.1.1.19! root     15185: if $ac_cs_silent; then
        !          15186:   exec 6>/dev/null
        !          15187:   ac_configure_extra_args="$ac_configure_extra_args --silent"
        !          15188: fi
1.1       root     15189: 
1.1.1.19! root     15190: _ACEOF
        !          15191: cat >>$CONFIG_STATUS <<_ACEOF
        !          15192: if \$ac_cs_recheck; then
        !          15193:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
        !          15194:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          15195: fi
        !          15196: 
        !          15197: _ACEOF
        !          15198: 
        !          15199: 
        !          15200: 
        !          15201: 
        !          15202: 
        !          15203: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15204: for ac_config_target in $ac_config_targets
        !          15205: do
        !          15206:   case "$ac_config_target" in
        !          15207:   # Handling of arguments.
        !          15208:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
        !          15209:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          15210:   "src/sysconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/sysconfig.h" ;;
        !          15211:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
        !          15212: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
        !          15213:    { (exit 1); exit 1; }; };;
        !          15214:   esac
        !          15215: done
        !          15216: 
        !          15217: # If the user did not use the arguments to specify the items to instantiate,
        !          15218: # then the envvar interface is used.  Set only those that are not.
        !          15219: # We use the long form for the default assignment because of an extremely
        !          15220: # bizarre bug on SunOS 4.1.3.
        !          15221: if $ac_need_defaults; then
        !          15222:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
        !          15223:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
        !          15224: fi
        !          15225: 
        !          15226: # Have a temporary directory for convenience.  Make it in the build tree
        !          15227: # simply because there is no reason to put it here, and in addition,
        !          15228: # creating and moving files from /tmp can sometimes cause problems.
        !          15229: # Create a temporary directory, and hook for its removal unless debugging.
        !          15230: $debug ||
        !          15231: {
        !          15232:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
        !          15233:   trap '{ (exit 1); exit 1; }' 1 2 13 15
        !          15234: }
        !          15235: 
        !          15236: # Create a (secure) tmp directory for tmp files.
        !          15237: 
        !          15238: {
        !          15239:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
        !          15240:   test -n "$tmp" && test -d "$tmp"
        !          15241: }  ||
        !          15242: {
        !          15243:   tmp=./confstat$$-$RANDOM
        !          15244:   (umask 077 && mkdir $tmp)
        !          15245: } ||
        !          15246: {
        !          15247:    echo "$me: cannot create a temporary directory in ." >&2
        !          15248:    { (exit 1); exit 1; }
        !          15249: }
1.1       root     15250: 
1.1.1.19! root     15251: _ACEOF
        !          15252: 
        !          15253: cat >>$CONFIG_STATUS <<_ACEOF
        !          15254: 
        !          15255: #
        !          15256: # CONFIG_FILES section.
        !          15257: #
        !          15258: 
        !          15259: # No need to generate the scripts if there are no CONFIG_FILES.
        !          15260: # This happens for instance when ./config.status config.h
        !          15261: if test -n "\$CONFIG_FILES"; then
        !          15262:   # Protect against being on the right side of a sed subst in config.status.
        !          15263:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
        !          15264:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
        !          15265: s,@SHELL@,$SHELL,;t t
        !          15266: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
        !          15267: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
        !          15268: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
        !          15269: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
        !          15270: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
        !          15271: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
        !          15272: s,@exec_prefix@,$exec_prefix,;t t
        !          15273: s,@prefix@,$prefix,;t t
        !          15274: s,@program_transform_name@,$program_transform_name,;t t
        !          15275: s,@bindir@,$bindir,;t t
        !          15276: s,@sbindir@,$sbindir,;t t
        !          15277: s,@libexecdir@,$libexecdir,;t t
        !          15278: s,@datadir@,$datadir,;t t
        !          15279: s,@sysconfdir@,$sysconfdir,;t t
        !          15280: s,@sharedstatedir@,$sharedstatedir,;t t
        !          15281: s,@localstatedir@,$localstatedir,;t t
        !          15282: s,@libdir@,$libdir,;t t
        !          15283: s,@includedir@,$includedir,;t t
        !          15284: s,@oldincludedir@,$oldincludedir,;t t
        !          15285: s,@infodir@,$infodir,;t t
        !          15286: s,@mandir@,$mandir,;t t
        !          15287: s,@build_alias@,$build_alias,;t t
        !          15288: s,@host_alias@,$host_alias,;t t
        !          15289: s,@target_alias@,$target_alias,;t t
        !          15290: s,@DEFS@,$DEFS,;t t
        !          15291: s,@ECHO_C@,$ECHO_C,;t t
        !          15292: s,@ECHO_N@,$ECHO_N,;t t
        !          15293: s,@ECHO_T@,$ECHO_T,;t t
        !          15294: s,@LIBS@,$LIBS,;t t
        !          15295: s,@CC@,$CC,;t t
        !          15296: s,@CFLAGS@,$CFLAGS,;t t
        !          15297: s,@LDFLAGS@,$LDFLAGS,;t t
        !          15298: s,@CPPFLAGS@,$CPPFLAGS,;t t
        !          15299: s,@ac_ct_CC@,$ac_ct_CC,;t t
        !          15300: s,@EXEEXT@,$EXEEXT,;t t
        !          15301: s,@OBJEXT@,$OBJEXT,;t t
        !          15302: s,@CPP@,$CPP,;t t
        !          15303: s,@SET_MAKE@,$SET_MAKE,;t t
        !          15304: s,@MAKEDEPPRG@,$MAKEDEPPRG,;t t
        !          15305: s,@FILEPRG@,$FILEPRG,;t t
        !          15306: s,@WRCPRG@,$WRCPRG,;t t
        !          15307: s,@RCLPRG@,$RCLPRG,;t t
        !          15308: s,@SDL_CONFIG@,$SDL_CONFIG,;t t
        !          15309: s,@EGREP@,$EGREP,;t t
        !          15310: s,@build@,$build,;t t
        !          15311: s,@build_cpu@,$build_cpu,;t t
        !          15312: s,@build_vendor@,$build_vendor,;t t
        !          15313: s,@build_os@,$build_os,;t t
        !          15314: s,@host@,$host,;t t
        !          15315: s,@host_cpu@,$host_cpu,;t t
        !          15316: s,@host_vendor@,$host_vendor,;t t
        !          15317: s,@host_os@,$host_os,;t t
        !          15318: s,@X_CFLAGS@,$X_CFLAGS,;t t
        !          15319: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
        !          15320: s,@X_LIBS@,$X_LIBS,;t t
        !          15321: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
        !          15322: s,@LIBOBJS@,$LIBOBJS,;t t
        !          15323: s,@GTK_CONFIG@,$GTK_CONFIG,;t t
        !          15324: s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
        !          15325: s,@GTK_LIBS@,$GTK_LIBS,;t t
        !          15326: s,@ac_cv_c_inline@,$ac_cv_c_inline,;t t
        !          15327: s,@NO_SCHED_CFLAGS@,$NO_SCHED_CFLAGS,;t t
        !          15328: s,@NO_REORDER_CFLAGS@,$NO_REORDER_CFLAGS,;t t
        !          15329: s,@LIBRARIES@,$LIBRARIES,;t t
        !          15330: s,@TARGET@,$TARGET,;t t
        !          15331: s,@GFXOBJS@,$GFXOBJS,;t t
        !          15332: s,@RESOBJS@,$RESOBJS,;t t
        !          15333: s,@ASMOBJS@,$ASMOBJS,;t t
        !          15334: s,@SCSIOBJS@,$SCSIOBJS,;t t
        !          15335: s,@CPUOBJS@,$CPUOBJS,;t t
        !          15336: s,@DEBUGOBJS@,$DEBUGOBJS,;t t
        !          15337: s,@FSDBOBJS@,$FSDBOBJS,;t t
        !          15338: s,@MATHLIB@,$MATHLIB,;t t
        !          15339: s,@SHM_SUPPORT_LINKS@,$SHM_SUPPORT_LINKS,;t t
        !          15340: s,@top_srcdir@,$top_srcdir,;t t
        !          15341: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       root     15342: CEOF
1.1.1.4   root     15343: 
1.1.1.19! root     15344: _ACEOF
1.1.1.4   root     15345: 
1.1.1.19! root     15346:   cat >>$CONFIG_STATUS <<\_ACEOF
        !          15347:   # Split the substitutions into bite-sized pieces for seds with
        !          15348:   # small command number limits, like on Digital OSF/1 and HP-UX.
        !          15349:   ac_max_sed_lines=48
        !          15350:   ac_sed_frag=1 # Number of current file.
        !          15351:   ac_beg=1 # First line for current file.
        !          15352:   ac_end=$ac_max_sed_lines # Line after last line for current file.
        !          15353:   ac_more_lines=:
        !          15354:   ac_sed_cmds=
        !          15355:   while $ac_more_lines; do
        !          15356:     if test $ac_beg -gt 1; then
        !          15357:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          15358:     else
        !          15359:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          15360:     fi
        !          15361:     if test ! -s $tmp/subs.frag; then
        !          15362:       ac_more_lines=false
1.1.1.4   root     15363:     else
1.1.1.19! root     15364:       # The purpose of the label and of the branching condition is to
        !          15365:       # speed up the sed processing (if there are no `@' at all, there
        !          15366:       # is no need to browse any of the substitutions).
        !          15367:       # These are the two extra sed commands mentioned above.
        !          15368:       (echo ':t
        !          15369:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
        !          15370:       if test -z "$ac_sed_cmds"; then
        !          15371:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
        !          15372:       else
        !          15373:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
        !          15374:       fi
        !          15375:       ac_sed_frag=`expr $ac_sed_frag + 1`
        !          15376:       ac_beg=$ac_end
        !          15377:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1.1.4   root     15378:     fi
1.1.1.19! root     15379:   done
        !          15380:   if test -z "$ac_sed_cmds"; then
        !          15381:     ac_sed_cmds=cat
1.1.1.4   root     15382:   fi
1.1.1.19! root     15383: fi # test -n "$CONFIG_FILES"
1.1       root     15384: 
1.1.1.19! root     15385: _ACEOF
        !          15386: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15387: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1.1.4   root     15388:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.19! root     15389:   case $ac_file in
        !          15390:   - | *:- | *:-:* ) # input from stdin
        !          15391:        cat >$tmp/stdin
        !          15392:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          15393:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          15394:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          15395:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          15396:   * )   ac_file_in=$ac_file.in ;;
1.1       root     15397:   esac
                   15398: 
1.1.1.19! root     15399:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
        !          15400:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
        !          15401: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          15402:         X"$ac_file" : 'X\(//\)[^/]' \| \
        !          15403:         X"$ac_file" : 'X\(//\)$' \| \
        !          15404:         X"$ac_file" : 'X\(/\)' \| \
        !          15405:         .     : '\(.\)' 2>/dev/null ||
        !          15406: echo X"$ac_file" |
        !          15407:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          15408:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          15409:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          15410:          /^X\(\/\).*/{ s//\1/; q; }
        !          15411:          s/.*/./; q'`
        !          15412:   { if $as_mkdir_p; then
        !          15413:     mkdir -p "$ac_dir"
        !          15414:   else
        !          15415:     as_dir="$ac_dir"
        !          15416:     as_dirs=
        !          15417:     while test ! -d "$as_dir"; do
        !          15418:       as_dirs="$as_dir $as_dirs"
        !          15419:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
        !          15420: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          15421:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          15422:         X"$as_dir" : 'X\(//\)$' \| \
        !          15423:         X"$as_dir" : 'X\(/\)' \| \
        !          15424:         .     : '\(.\)' 2>/dev/null ||
        !          15425: echo X"$as_dir" |
        !          15426:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          15427:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          15428:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          15429:          /^X\(\/\).*/{ s//\1/; q; }
        !          15430:          s/.*/./; q'`
        !          15431:     done
        !          15432:     test ! -n "$as_dirs" || mkdir $as_dirs
        !          15433:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
        !          15434: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
        !          15435:    { (exit 1); exit 1; }; }; }
        !          15436: 
        !          15437:   ac_builddir=.
        !          15438: 
        !          15439: if test "$ac_dir" != .; then
        !          15440:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !          15441:   # A "../" for each directory in $ac_dir_suffix.
        !          15442:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !          15443: else
        !          15444:   ac_dir_suffix= ac_top_builddir=
        !          15445: fi
        !          15446: 
        !          15447: case $srcdir in
        !          15448:   .)  # No --srcdir option.  We are building in place.
        !          15449:     ac_srcdir=.
        !          15450:     if test -z "$ac_top_builddir"; then
        !          15451:        ac_top_srcdir=.
        !          15452:     else
        !          15453:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !          15454:     fi ;;
        !          15455:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !          15456:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          15457:     ac_top_srcdir=$srcdir ;;
1.1       root     15458:   *) # Relative path.
1.1.1.19! root     15459:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !          15460:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !          15461: esac
        !          15462: 
        !          15463: # Do not use `cd foo && pwd` to compute absolute paths, because
        !          15464: # the directories may not exist.
        !          15465: case `pwd` in
        !          15466: .) ac_abs_builddir="$ac_dir";;
        !          15467: *)
        !          15468:   case "$ac_dir" in
        !          15469:   .) ac_abs_builddir=`pwd`;;
        !          15470:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
        !          15471:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
        !          15472:   esac;;
        !          15473: esac
        !          15474: case $ac_abs_builddir in
        !          15475: .) ac_abs_top_builddir=${ac_top_builddir}.;;
        !          15476: *)
        !          15477:   case ${ac_top_builddir}. in
        !          15478:   .) ac_abs_top_builddir=$ac_abs_builddir;;
        !          15479:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
        !          15480:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
        !          15481:   esac;;
        !          15482: esac
        !          15483: case $ac_abs_builddir in
        !          15484: .) ac_abs_srcdir=$ac_srcdir;;
        !          15485: *)
        !          15486:   case $ac_srcdir in
        !          15487:   .) ac_abs_srcdir=$ac_abs_builddir;;
        !          15488:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
        !          15489:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
        !          15490:   esac;;
        !          15491: esac
        !          15492: case $ac_abs_builddir in
        !          15493: .) ac_abs_top_srcdir=$ac_top_srcdir;;
        !          15494: *)
        !          15495:   case $ac_top_srcdir in
        !          15496:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
        !          15497:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
        !          15498:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
        !          15499:   esac;;
        !          15500: esac
1.1       root     15501: 
1.1.1.4   root     15502: 
                   15503: 
1.1.1.19! root     15504:   if test x"$ac_file" != x-; then
        !          15505:     { echo "$as_me:$LINENO: creating $ac_file" >&5
        !          15506: echo "$as_me: creating $ac_file" >&6;}
        !          15507:     rm -f "$ac_file"
        !          15508:   fi
        !          15509:   # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          15510:   # use $as_me), people would be surprised to read:
        !          15511:   #    /* config.h.  Generated by config.status.  */
        !          15512:   if test x"$ac_file" = x-; then
        !          15513:     configure_input=
        !          15514:   else
        !          15515:     configure_input="$ac_file.  "
        !          15516:   fi
        !          15517:   configure_input=$configure_input"Generated from `echo $ac_file_in |
        !          15518:                                     sed 's,.*/,,'` by configure."
        !          15519: 
        !          15520:   # First look for the input files in the build tree, otherwise in the
        !          15521:   # src tree.
        !          15522:   ac_file_inputs=`IFS=:
        !          15523:     for f in $ac_file_in; do
        !          15524:       case $f in
        !          15525:       -) echo $tmp/stdin ;;
        !          15526:       [\\/$]*)
        !          15527:         # Absolute (can't be DOS-style, as IFS=:)
        !          15528:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          15529: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          15530:    { (exit 1); exit 1; }; }
        !          15531:         echo "$f";;
        !          15532:       *) # Relative
        !          15533:         if test -f "$f"; then
        !          15534:           # Build tree
        !          15535:           echo "$f"
        !          15536:         elif test -f "$srcdir/$f"; then
        !          15537:           # Source tree
        !          15538:           echo "$srcdir/$f"
        !          15539:         else
        !          15540:           # /dev/null tree
        !          15541:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          15542: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          15543:    { (exit 1); exit 1; }; }
        !          15544:         fi;;
        !          15545:       esac
        !          15546:     done` || { (exit 1); exit 1; }
        !          15547: _ACEOF
        !          15548: cat >>$CONFIG_STATUS <<_ACEOF
        !          15549:   sed "$ac_vpsub
        !          15550: $extrasub
        !          15551: _ACEOF
        !          15552: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15553: :t
        !          15554: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
        !          15555: s,@configure_input@,$configure_input,;t t
        !          15556: s,@srcdir@,$ac_srcdir,;t t
        !          15557: s,@abs_srcdir@,$ac_abs_srcdir,;t t
        !          15558: s,@top_srcdir@,$ac_top_srcdir,;t t
        !          15559: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
        !          15560: s,@builddir@,$ac_builddir,;t t
        !          15561: s,@abs_builddir@,$ac_abs_builddir,;t t
        !          15562: s,@top_builddir@,$ac_top_builddir,;t t
        !          15563: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
        !          15564: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
        !          15565:   rm -f $tmp/stdin
        !          15566:   if test x"$ac_file" != x-; then
        !          15567:     mv $tmp/out $ac_file
        !          15568:   else
        !          15569:     cat $tmp/out
        !          15570:     rm -f $tmp/out
        !          15571:   fi
        !          15572: 
        !          15573: done
        !          15574: _ACEOF
        !          15575: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15576: 
        !          15577: #
        !          15578: # CONFIG_HEADER section.
        !          15579: #
1.1       root     15580: 
                   15581: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   15582: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   15583: #
                   15584: # ac_d sets the value in "#define NAME VALUE" lines.
1.1.1.19! root     15585: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
        !          15586: ac_dB='[        ].*$,\1#\2'
        !          15587: ac_dC=' '
        !          15588: ac_dD=',;t'
        !          15589: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
        !          15590: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
        !          15591: ac_uB='$,\1#\2define\3'
1.1       root     15592: ac_uC=' '
1.1.1.19! root     15593: ac_uD=',;t'
1.1       root     15594: 
1.1.1.19! root     15595: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1.1.4   root     15596:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.19! root     15597:   case $ac_file in
        !          15598:   - | *:- | *:-:* ) # input from stdin
        !          15599:        cat >$tmp/stdin
        !          15600:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          15601:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          15602:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          15603:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          15604:   * )   ac_file_in=$ac_file.in ;;
1.1       root     15605:   esac
                   15606: 
1.1.1.19! root     15607:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
        !          15608: echo "$as_me: creating $ac_file" >&6;}
1.1       root     15609: 
1.1.1.19! root     15610:   # First look for the input files in the build tree, otherwise in the
        !          15611:   # src tree.
        !          15612:   ac_file_inputs=`IFS=:
        !          15613:     for f in $ac_file_in; do
        !          15614:       case $f in
        !          15615:       -) echo $tmp/stdin ;;
        !          15616:       [\\/$]*)
        !          15617:         # Absolute (can't be DOS-style, as IFS=:)
        !          15618:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          15619: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          15620:    { (exit 1); exit 1; }; }
        !          15621:         # Do quote $f, to prevent DOS paths from being IFS'd.
        !          15622:         echo "$f";;
        !          15623:       *) # Relative
        !          15624:         if test -f "$f"; then
        !          15625:           # Build tree
        !          15626:           echo "$f"
        !          15627:         elif test -f "$srcdir/$f"; then
        !          15628:           # Source tree
        !          15629:           echo "$srcdir/$f"
        !          15630:         else
        !          15631:           # /dev/null tree
        !          15632:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          15633: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          15634:    { (exit 1); exit 1; }; }
        !          15635:         fi;;
        !          15636:       esac
        !          15637:     done` || { (exit 1); exit 1; }
        !          15638:   # Remove the trailing spaces.
        !          15639:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
        !          15640: 
        !          15641: _ACEOF
        !          15642: 
        !          15643: # Transform confdefs.h into two sed scripts, `conftest.defines' and
        !          15644: # `conftest.undefs', that substitutes the proper values into
        !          15645: # config.h.in to produce config.h.  The first handles `#define'
        !          15646: # templates, and the second `#undef' templates.
        !          15647: # And first: Protect against being on the right side of a sed subst in
        !          15648: # config.status.  Protect against being in an unquoted here document
        !          15649: # in config.status.
        !          15650: rm -f conftest.defines conftest.undefs
        !          15651: # Using a here document instead of a string reduces the quoting nightmare.
        !          15652: # Putting comments in sed scripts is not portable.
        !          15653: #
        !          15654: # `end' is used to avoid that the second main sed command (meant for
        !          15655: # 0-ary CPP macros) applies to n-ary macro definitions.
        !          15656: # See the Autoconf documentation for `clear'.
        !          15657: cat >confdef2sed.sed <<\_ACEOF
        !          15658: s/[\\&,]/\\&/g
        !          15659: s,[\\$`],\\&,g
        !          15660: t clear
        !          15661: : clear
        !          15662: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
        !          15663: t end
        !          15664: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
        !          15665: : end
        !          15666: _ACEOF
        !          15667: # If some macros were called several times there might be several times
        !          15668: # the same #defines, which is useless.  Nevertheless, we may not want to
        !          15669: # sort them, since we want the *last* AC-DEFINE to be honored.
        !          15670: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
        !          15671: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
        !          15672: rm -f confdef2sed.sed
1.1       root     15673: 
                   15674: # This sed command replaces #undef with comments.  This is necessary, for
                   15675: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   15676: # on some systems where configure will not decide to define it.
1.1.1.19! root     15677: cat >>conftest.undefs <<\_ACEOF
        !          15678: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
        !          15679: _ACEOF
        !          15680: 
        !          15681: # Break up conftest.defines because some shells have a limit on the size
        !          15682: # of here documents, and old seds have small limits too (100 cmds).
        !          15683: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
        !          15684: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
        !          15685: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
        !          15686: echo '  :' >>$CONFIG_STATUS
1.1       root     15687: rm -f conftest.tail
1.1.1.19! root     15688: while grep . conftest.defines >/dev/null
1.1       root     15689: do
1.1.1.19! root     15690:   # Write a limited-size here document to $tmp/defines.sed.
        !          15691:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
        !          15692:   # Speed up: don't consider the non `#define' lines.
        !          15693:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
        !          15694:   # Work around the forget-to-reset-the-flag bug.
        !          15695:   echo 't clr' >>$CONFIG_STATUS
        !          15696:   echo ': clr' >>$CONFIG_STATUS
        !          15697:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
1.1       root     15698:   echo 'CEOF
1.1.1.19! root     15699:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
        !          15700:   rm -f $tmp/in
        !          15701:   mv $tmp/out $tmp/in
        !          15702: ' >>$CONFIG_STATUS
        !          15703:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
        !          15704:   rm -f conftest.defines
        !          15705:   mv conftest.tail conftest.defines
        !          15706: done
        !          15707: rm -f conftest.defines
        !          15708: echo '  fi # grep' >>$CONFIG_STATUS
        !          15709: echo >>$CONFIG_STATUS
        !          15710: 
        !          15711: # Break up conftest.undefs because some shells have a limit on the size
        !          15712: # of here documents, and old seds have small limits too (100 cmds).
        !          15713: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
        !          15714: rm -f conftest.tail
        !          15715: while grep . conftest.undefs >/dev/null
        !          15716: do
        !          15717:   # Write a limited-size here document to $tmp/undefs.sed.
        !          15718:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
        !          15719:   # Speed up: don't consider the non `#undef'
        !          15720:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
        !          15721:   # Work around the forget-to-reset-the-flag bug.
        !          15722:   echo 't clr' >>$CONFIG_STATUS
        !          15723:   echo ': clr' >>$CONFIG_STATUS
        !          15724:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
        !          15725:   echo 'CEOF
        !          15726:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
        !          15727:   rm -f $tmp/in
        !          15728:   mv $tmp/out $tmp/in
        !          15729: ' >>$CONFIG_STATUS
        !          15730:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
        !          15731:   rm -f conftest.undefs
        !          15732:   mv conftest.tail conftest.undefs
        !          15733: done
        !          15734: rm -f conftest.undefs
        !          15735: 
        !          15736: cat >>$CONFIG_STATUS <<\_ACEOF
        !          15737:   # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          15738:   # use $as_me), people would be surprised to read:
        !          15739:   #    /* config.h.  Generated by config.status.  */
        !          15740:   if test x"$ac_file" = x-; then
        !          15741:     echo "/* Generated by configure.  */" >$tmp/config.h
        !          15742:   else
        !          15743:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
1.1       root     15744:   fi
1.1.1.19! root     15745:   cat $tmp/in >>$tmp/config.h
        !          15746:   rm -f $tmp/in
        !          15747:   if test x"$ac_file" != x-; then
        !          15748:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
        !          15749:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
        !          15750: echo "$as_me: $ac_file is unchanged" >&6;}
        !          15751:     else
        !          15752:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
        !          15753: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          15754:         X"$ac_file" : 'X\(//\)[^/]' \| \
        !          15755:         X"$ac_file" : 'X\(//\)$' \| \
        !          15756:         X"$ac_file" : 'X\(/\)' \| \
        !          15757:         .     : '\(.\)' 2>/dev/null ||
        !          15758: echo X"$ac_file" |
        !          15759:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          15760:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          15761:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          15762:          /^X\(\/\).*/{ s//\1/; q; }
        !          15763:          s/.*/./; q'`
        !          15764:       { if $as_mkdir_p; then
        !          15765:     mkdir -p "$ac_dir"
        !          15766:   else
        !          15767:     as_dir="$ac_dir"
        !          15768:     as_dirs=
        !          15769:     while test ! -d "$as_dir"; do
        !          15770:       as_dirs="$as_dir $as_dirs"
        !          15771:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
        !          15772: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          15773:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          15774:         X"$as_dir" : 'X\(//\)$' \| \
        !          15775:         X"$as_dir" : 'X\(/\)' \| \
        !          15776:         .     : '\(.\)' 2>/dev/null ||
        !          15777: echo X"$as_dir" |
        !          15778:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          15779:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          15780:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          15781:          /^X\(\/\).*/{ s//\1/; q; }
        !          15782:          s/.*/./; q'`
        !          15783:     done
        !          15784:     test ! -n "$as_dirs" || mkdir $as_dirs
        !          15785:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
        !          15786: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
        !          15787:    { (exit 1); exit 1; }; }; }
1.1       root     15788: 
1.1.1.19! root     15789:       rm -f $ac_file
        !          15790:       mv $tmp/config.h $ac_file
        !          15791:     fi
        !          15792:   else
        !          15793:     cat $tmp/config.h
        !          15794:     rm -f $tmp/config.h
        !          15795:   fi
        !          15796: done
        !          15797: _ACEOF
1.1       root     15798: 
1.1.1.19! root     15799: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     15800: 
1.1.1.19! root     15801: { (exit 0); exit 0; }
        !          15802: _ACEOF
1.1       root     15803: chmod +x $CONFIG_STATUS
1.1.1.19! root     15804: ac_clean_files=$ac_clean_files_save
        !          15805: 
        !          15806: 
        !          15807: # configure is writing to config.log, and then calls config.status.
        !          15808: # config.status does its own redirection, appending to config.log.
        !          15809: # Unfortunately, on DOS this fails, as config.log is still kept open
        !          15810: # by configure, so config.status won't be able to write to it; its
        !          15811: # output is simply discarded.  So we exec the FD to /dev/null,
        !          15812: # effectively closing config.log, so it can be properly (re)opened and
        !          15813: # appended to by config.status.  When coming back to configure, we
        !          15814: # need to make the FD available again.
        !          15815: if test "$no_create" != yes; then
        !          15816:   ac_cs_success=:
        !          15817:   ac_config_status_args=
        !          15818:   test "$silent" = yes &&
        !          15819:     ac_config_status_args="$ac_config_status_args --quiet"
        !          15820:   exec 5>/dev/null
        !          15821:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
        !          15822:   exec 5>>config.log
        !          15823:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
        !          15824:   # would make configure fail if this is the last instruction.
        !          15825:   $ac_cs_success || { (exit 1); exit 1; }
        !          15826: fi
1.1       root     15827: 
1.1.1.4   root     15828: if [ "x$DO_PROFILING" = "xyes" ]; then
1.1.1.3   root     15829:   echo "Building a profiling version of UAE (select this option only if you know"
                   15830:   echo "what you are doing)"
                   15831: fi
1.1.1.4   root     15832: 
                   15833: 
                   15834: 
                   15835: 
1.1.1.10  root     15836: if test -f $abssrcdir/src/target.h
1.1.1.6   root     15837: then
                   15838:   echo
                   15839:   echo "Fatal error: Can't configure in the current directory, because"
                   15840:   echo "configure was run in the source directory. Go to the source"
                   15841:   echo "directory, type"
                   15842:   echo "  make streifenfrei"
                   15843:   echo "and try again."
                   15844:   exit 1
                   15845: fi
1.1.1.4   root     15846: 
                   15847: ln -s $abssrcdir/src/$MACHDEP src/machdep
                   15848: ln -s $abssrcdir/src/$OSDEP src/osdep
                   15849: ln -s $abssrcdir/src/$THREADDEP src/threaddep
                   15850: ln -s $abssrcdir/src/$SOUNDDEP src/sounddep
1.1.1.6   root     15851: 
1.1.1.10  root     15852: echo "#include \"$abssrcdir/src/targets/$TARGETDEP\"" > src/target.h
                   15853: echo "#include \"$abssrcdir/config.h\"" > src/config.h
1.1.1.6   root     15854: 
1.1.1.10  root     15855: echo "#include \"$abssrcdir/src/$SOUNDDEP/sound.c\"" >src/sd-sound.c
                   15856: echo "#include \"$abssrcdir/src/$OD_JOYSTICK\"" >src/od-joy.c
                   15857: echo "#include \"$abssrcdir/src/$MACHDEP/support.c\"" >src/md-support.c
                   15858: 
1.1.1.6   root     15859: if [ "x$MACHDEP" = "xmd-i386-gcc" ]; then
1.1.1.10  root     15860:   echo "#include \"machdep/X86.S\"" >src/md-X86.S
1.1.1.6   root     15861: fi
1.1.1.11  root     15862: echo "#include \"$abssrcdir/src/include/$FPP_H\"" >src/md-fpp.h
1.1.1.6   root     15863: 
1.1.1.16  root     15864: mkdir -p src/tools
                   15865: progname=$0
                   15866: srcd=`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
                   15867: topsrcdir=`cd $srcd; pwd`
                   15868: cd src/tools
                   15869: CC=$HOSTCC $topsrcdir/src/tools/configure
1.1.1.6   root     15870: 
1.1.1.4   root     15871: echo
                   15872: echo
                   15873: if [ "x$NR_ERRORS" = "x0" ]; then
                   15874:   if [ "x$NR_WARNINGS" = "x0" ]; then
                   15875:     echo "Configuration was successful!"
                   15876:   else
                   15877:     echo "There were $NR_WARNINGS warnings. That is usually harmless, but read the output"
                   15878:     echo "from configure carefully if you run into problems."
                   15879:   fi
                   15880: else
                   15881:   echo "There were $NR_ERRORS errors. UAE may still build and run cleanly, but you may"
                   15882:   echo "not get all the features you asked for."
                   15883: fi
                   15884: echo

unix.superglobalmegacorp.com

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