Annotation of generator/configure, revision 1.1.1.4

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.4 ! root        3: # Generated by GNU Autoconf 2.57.
1.1       root        4: #
1.1.1.4 ! root        5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1.1.1.3   root        6: # Free Software Foundation, Inc.
1.1       root        7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
1.1.1.4 ! root        9: ## --------------------- ##
        !            10: ## M4sh Initialization.  ##
        !            11: ## --------------------- ##
1.1       root       12: 
1.1.1.4 ! root       13: # Be Bourne compatible
        !            14: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !            15:   emulate sh
        !            16:   NULLCMD=:
        !            17:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
        !            18:   # is contrary to our usage.  Disable this feature.
        !            19:   alias -g '${1+"$@"}'='"$@"'
        !            20: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
        !            21:   set -o posix
        !            22: fi
        !            23: 
        !            24: # Support unset when possible.
        !            25: if (FOO=FOO; unset FOO) >/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 -n "`(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.
1.1.1.3   root       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: 
1.1.1.4 ! root       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
1.1.1.3   root       98: 
                     99: 
1.1.1.4 ! root      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
1.1.1.3   root      116: 
1.1.1.4 ! root      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.1.3   root      193: 
                    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: 
1.1.1.4 ! root      218: if mkdir -p . 2>/dev/null; then
        !           219:   as_mkdir_p=:
1.1.1.3   root      220: else
1.1.1.4 ! root      221:   as_mkdir_p=false
1.1.1.3   root      222: fi
                    223: 
1.1.1.4 ! root      224: as_executable_p="test -f"
        !           225: 
        !           226: # Sed expression to map a string onto a valid CPP name.
        !           227: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !           228: 
        !           229: # Sed expression to map a string onto a valid variable name.
        !           230: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !           231: 
1.1.1.3   root      232: 
                    233: # IFS
                    234: # We need space, tab and new line, in precisely that order.
                    235: as_nl='
                    236: '
                    237: IFS="  $as_nl"
                    238: 
                    239: # CDPATH.
1.1.1.4 ! root      240: $as_unset CDPATH
        !           241: 
1.1.1.3   root      242: 
                    243: # Name of the host.
                    244: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    245: # so uname gets run too.
                    246: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    247: 
                    248: exec 6>&1
                    249: 
                    250: #
                    251: # Initializations.
                    252: #
1.1       root      253: ac_default_prefix=/usr/local
1.1.1.4 ! root      254: ac_config_libobj_dir=.
1.1.1.3   root      255: cross_compiling=no
                    256: subdirs=
1.1.1.4 ! root      257: MFLAGS=
        !           258: MAKEFLAGS=
1.1.1.3   root      259: SHELL=${CONFIG_SHELL-/bin/sh}
                    260: 
                    261: # Maximum number of lines to put in a shell here document.
                    262: # This variable seems obsolete.  It should probably be removed, and
                    263: # only ac_max_sed_lines should be used.
                    264: : ${ac_max_here_lines=38}
                    265: 
1.1.1.4 ! root      266: # Identity of this package.
        !           267: PACKAGE_NAME=
        !           268: PACKAGE_TARNAME=
        !           269: PACKAGE_VERSION=
        !           270: PACKAGE_STRING=
        !           271: PACKAGE_BUGREPORT=
        !           272: 
1.1.1.3   root      273: ac_unique_file="cpu68k/def68k.c"
                    274: # Factoring default headers for most tests.
                    275: ac_includes_default="\
                    276: #include <stdio.h>
                    277: #if HAVE_SYS_TYPES_H
                    278: # include <sys/types.h>
                    279: #endif
                    280: #if HAVE_SYS_STAT_H
                    281: # include <sys/stat.h>
                    282: #endif
                    283: #if STDC_HEADERS
                    284: # include <stdlib.h>
                    285: # include <stddef.h>
                    286: #else
                    287: # if HAVE_STDLIB_H
                    288: #  include <stdlib.h>
                    289: # endif
                    290: #endif
                    291: #if HAVE_STRING_H
                    292: # if !STDC_HEADERS && HAVE_MEMORY_H
                    293: #  include <memory.h>
                    294: # endif
                    295: # include <string.h>
                    296: #endif
                    297: #if HAVE_STRINGS_H
                    298: # include <strings.h>
                    299: #endif
                    300: #if HAVE_INTTYPES_H
                    301: # include <inttypes.h>
                    302: #else
                    303: # if HAVE_STDINT_H
                    304: #  include <stdint.h>
                    305: # endif
                    306: #endif
                    307: #if HAVE_UNISTD_H
                    308: # include <unistd.h>
                    309: #endif"
1.1       root      310: 
1.1.1.4 ! root      311: 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION EXEEXT OBJEXT ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh INSTALL_STRIP_PROGRAM AWK SET_MAKE AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH DEPDIR PROGRAM ASMOUTPUT UNDERSCORE MY_LIBS MY_SUBDIRS MY_DIST_SUBDIRS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC am__include am__quote CCDEPMODE RANLIB ac_ct_RANLIB CPP EGREP GTK_CONFIG GTK_CFLAGS GTK_LIBS SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBOBJS LTLIBOBJS'
        !           312: ac_subst_files=''
        !           313: 
1.1       root      314: # Initialize some variables set by options.
1.1.1.3   root      315: ac_init_help=
                    316: ac_init_version=false
1.1       root      317: # The variables have the same names as the options, with
                    318: # dashes changed to underlines.
1.1.1.3   root      319: cache_file=/dev/null
1.1       root      320: exec_prefix=NONE
                    321: no_create=
                    322: no_recursion=
                    323: prefix=NONE
                    324: program_prefix=NONE
                    325: program_suffix=NONE
                    326: program_transform_name=s,x,x,
                    327: silent=
                    328: site=
                    329: srcdir=
                    330: verbose=
                    331: x_includes=NONE
                    332: x_libraries=NONE
1.1.1.3   root      333: 
                    334: # Installation directory options.
                    335: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    336: # and all the variables that are supposed to be based on exec_prefix
                    337: # by default will actually change.
                    338: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       root      339: bindir='${exec_prefix}/bin'
                    340: sbindir='${exec_prefix}/sbin'
                    341: libexecdir='${exec_prefix}/libexec'
                    342: datadir='${prefix}/share'
                    343: sysconfdir='${prefix}/etc'
                    344: sharedstatedir='${prefix}/com'
                    345: localstatedir='${prefix}/var'
                    346: libdir='${exec_prefix}/lib'
                    347: includedir='${prefix}/include'
                    348: oldincludedir='/usr/include'
                    349: infodir='${prefix}/info'
                    350: mandir='${prefix}/man'
                    351: 
                    352: ac_prev=
                    353: for ac_option
                    354: do
                    355:   # If the previous option needs an argument, assign it.
                    356:   if test -n "$ac_prev"; then
                    357:     eval "$ac_prev=\$ac_option"
                    358:     ac_prev=
                    359:     continue
                    360:   fi
                    361: 
1.1.1.3   root      362:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       root      363: 
                    364:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    365: 
1.1.1.3   root      366:   case $ac_option in
1.1       root      367: 
                    368:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    369:     ac_prev=bindir ;;
                    370:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1.1.3   root      371:     bindir=$ac_optarg ;;
1.1       root      372: 
                    373:   -build | --build | --buil | --bui | --bu)
1.1.1.3   root      374:     ac_prev=build_alias ;;
1.1       root      375:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1.1.3   root      376:     build_alias=$ac_optarg ;;
1.1       root      377: 
                    378:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    379:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    380:     ac_prev=cache_file ;;
                    381:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    382:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1.1.3   root      383:     cache_file=$ac_optarg ;;
                    384: 
                    385:   --config-cache | -C)
                    386:     cache_file=config.cache ;;
1.1       root      387: 
                    388:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    389:     ac_prev=datadir ;;
                    390:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    391:   | --da=*)
1.1.1.3   root      392:     datadir=$ac_optarg ;;
1.1       root      393: 
                    394:   -disable-* | --disable-*)
1.1.1.3   root      395:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       root      396:     # Reject names that are not valid shell variable names.
1.1.1.3   root      397:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    398:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    399:    { (exit 1); exit 1; }; }
                    400:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    401:     eval "enable_$ac_feature=no" ;;
1.1       root      402: 
                    403:   -enable-* | --enable-*)
1.1.1.3   root      404:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       root      405:     # Reject names that are not valid shell variable names.
1.1.1.3   root      406:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    407:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    408:    { (exit 1); exit 1; }; }
                    409:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    410:     case $ac_option in
                    411:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       root      412:       *) ac_optarg=yes ;;
                    413:     esac
1.1.1.3   root      414:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       root      415: 
                    416:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    417:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    418:   | --exec | --exe | --ex)
                    419:     ac_prev=exec_prefix ;;
                    420:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    421:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    422:   | --exec=* | --exe=* | --ex=*)
1.1.1.3   root      423:     exec_prefix=$ac_optarg ;;
1.1       root      424: 
                    425:   -gas | --gas | --ga | --g)
                    426:     # Obsolete; use --with-gas.
                    427:     with_gas=yes ;;
                    428: 
1.1.1.3   root      429:   -help | --help | --hel | --he | -h)
                    430:     ac_init_help=long ;;
                    431:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    432:     ac_init_help=recursive ;;
                    433:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    434:     ac_init_help=short ;;
1.1       root      435: 
                    436:   -host | --host | --hos | --ho)
1.1.1.3   root      437:     ac_prev=host_alias ;;
1.1       root      438:   -host=* | --host=* | --hos=* | --ho=*)
1.1.1.3   root      439:     host_alias=$ac_optarg ;;
1.1       root      440: 
                    441:   -includedir | --includedir | --includedi | --included | --include \
                    442:   | --includ | --inclu | --incl | --inc)
                    443:     ac_prev=includedir ;;
                    444:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    445:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1.1.3   root      446:     includedir=$ac_optarg ;;
1.1       root      447: 
                    448:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    449:     ac_prev=infodir ;;
                    450:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1.1.3   root      451:     infodir=$ac_optarg ;;
1.1       root      452: 
                    453:   -libdir | --libdir | --libdi | --libd)
                    454:     ac_prev=libdir ;;
                    455:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1.1.3   root      456:     libdir=$ac_optarg ;;
1.1       root      457: 
                    458:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    459:   | --libexe | --libex | --libe)
                    460:     ac_prev=libexecdir ;;
                    461:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    462:   | --libexe=* | --libex=* | --libe=*)
1.1.1.3   root      463:     libexecdir=$ac_optarg ;;
1.1       root      464: 
                    465:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    466:   | --localstate | --localstat | --localsta | --localst \
                    467:   | --locals | --local | --loca | --loc | --lo)
                    468:     ac_prev=localstatedir ;;
                    469:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    470:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    471:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.1.1.3   root      472:     localstatedir=$ac_optarg ;;
1.1       root      473: 
                    474:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    475:     ac_prev=mandir ;;
                    476:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1.1.3   root      477:     mandir=$ac_optarg ;;
1.1       root      478: 
                    479:   -nfp | --nfp | --nf)
                    480:     # Obsolete; use --without-fp.
                    481:     with_fp=no ;;
                    482: 
                    483:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1.1.4 ! root      484:   | --no-cr | --no-c | -n)
1.1       root      485:     no_create=yes ;;
                    486: 
                    487:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    488:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    489:     no_recursion=yes ;;
                    490: 
                    491:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    492:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    493:   | --oldin | --oldi | --old | --ol | --o)
                    494:     ac_prev=oldincludedir ;;
                    495:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    496:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    497:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1.1.3   root      498:     oldincludedir=$ac_optarg ;;
1.1       root      499: 
                    500:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    501:     ac_prev=prefix ;;
                    502:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1.1.3   root      503:     prefix=$ac_optarg ;;
1.1       root      504: 
                    505:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    506:   | --program-pre | --program-pr | --program-p)
                    507:     ac_prev=program_prefix ;;
                    508:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    509:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1.1.3   root      510:     program_prefix=$ac_optarg ;;
1.1       root      511: 
                    512:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    513:   | --program-suf | --program-su | --program-s)
                    514:     ac_prev=program_suffix ;;
                    515:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    516:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1.1.3   root      517:     program_suffix=$ac_optarg ;;
1.1       root      518: 
                    519:   -program-transform-name | --program-transform-name \
                    520:   | --program-transform-nam | --program-transform-na \
                    521:   | --program-transform-n | --program-transform- \
                    522:   | --program-transform | --program-transfor \
                    523:   | --program-transfo | --program-transf \
                    524:   | --program-trans | --program-tran \
                    525:   | --progr-tra | --program-tr | --program-t)
                    526:     ac_prev=program_transform_name ;;
                    527:   -program-transform-name=* | --program-transform-name=* \
                    528:   | --program-transform-nam=* | --program-transform-na=* \
                    529:   | --program-transform-n=* | --program-transform-=* \
                    530:   | --program-transform=* | --program-transfor=* \
                    531:   | --program-transfo=* | --program-transf=* \
                    532:   | --program-trans=* | --program-tran=* \
                    533:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.1.1.3   root      534:     program_transform_name=$ac_optarg ;;
1.1       root      535: 
                    536:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    537:   | -silent | --silent | --silen | --sile | --sil)
                    538:     silent=yes ;;
                    539: 
                    540:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    541:     ac_prev=sbindir ;;
                    542:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    543:   | --sbi=* | --sb=*)
1.1.1.3   root      544:     sbindir=$ac_optarg ;;
1.1       root      545: 
                    546:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    547:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    548:   | --sharedst | --shareds | --shared | --share | --shar \
                    549:   | --sha | --sh)
                    550:     ac_prev=sharedstatedir ;;
                    551:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    552:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    553:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    554:   | --sha=* | --sh=*)
1.1.1.3   root      555:     sharedstatedir=$ac_optarg ;;
1.1       root      556: 
                    557:   -site | --site | --sit)
                    558:     ac_prev=site ;;
                    559:   -site=* | --site=* | --sit=*)
1.1.1.3   root      560:     site=$ac_optarg ;;
1.1       root      561: 
                    562:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    563:     ac_prev=srcdir ;;
                    564:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1.1.3   root      565:     srcdir=$ac_optarg ;;
1.1       root      566: 
                    567:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    568:   | --syscon | --sysco | --sysc | --sys | --sy)
                    569:     ac_prev=sysconfdir ;;
                    570:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    571:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1.1.3   root      572:     sysconfdir=$ac_optarg ;;
1.1       root      573: 
                    574:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.1.1.3   root      575:     ac_prev=target_alias ;;
1.1       root      576:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1.1.3   root      577:     target_alias=$ac_optarg ;;
1.1       root      578: 
                    579:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    580:     verbose=yes ;;
                    581: 
1.1.1.3   root      582:   -version | --version | --versio | --versi | --vers | -V)
                    583:     ac_init_version=: ;;
1.1       root      584: 
                    585:   -with-* | --with-*)
1.1.1.3   root      586:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       root      587:     # Reject names that are not valid shell variable names.
1.1.1.3   root      588:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    589:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    590:    { (exit 1); exit 1; }; }
1.1       root      591:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.1.1.3   root      592:     case $ac_option in
                    593:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       root      594:       *) ac_optarg=yes ;;
                    595:     esac
1.1.1.3   root      596:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       root      597: 
                    598:   -without-* | --without-*)
1.1.1.3   root      599:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       root      600:     # Reject names that are not valid shell variable names.
1.1.1.3   root      601:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    602:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    603:    { (exit 1); exit 1; }; }
                    604:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    605:     eval "with_$ac_package=no" ;;
1.1       root      606: 
                    607:   --x)
                    608:     # Obsolete; use --with-x.
                    609:     with_x=yes ;;
                    610: 
                    611:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    612:   | --x-incl | --x-inc | --x-in | --x-i)
                    613:     ac_prev=x_includes ;;
                    614:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    615:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1.1.3   root      616:     x_includes=$ac_optarg ;;
1.1       root      617: 
                    618:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    619:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    620:     ac_prev=x_libraries ;;
                    621:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    622:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1.1.3   root      623:     x_libraries=$ac_optarg ;;
1.1       root      624: 
1.1.1.3   root      625:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    626: Try \`$0 --help' for more information." >&2
                    627:    { (exit 1); exit 1; }; }
1.1       root      628:     ;;
                    629: 
1.1.1.3   root      630:   *=*)
                    631:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    632:     # Reject names that are not valid shell variable names.
                    633:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    634:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    635:    { (exit 1); exit 1; }; }
                    636:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    637:     eval "$ac_envvar='$ac_optarg'"
                    638:     export $ac_envvar ;;
                    639: 
1.1       root      640:   *)
1.1.1.3   root      641:     # FIXME: should be removed in autoconf 3.0.
                    642:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    643:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    644:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    645:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       root      646:     ;;
                    647: 
                    648:   esac
                    649: done
                    650: 
                    651: if test -n "$ac_prev"; then
1.1.1.3   root      652:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    653:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    654:    { (exit 1); exit 1; }; }
1.1       root      655: fi
                    656: 
1.1.1.3   root      657: # Be sure to have absolute paths.
                    658: for ac_var in exec_prefix prefix
                    659: do
                    660:   eval ac_val=$`echo $ac_var`
                    661:   case $ac_val in
                    662:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1.1.1.4 ! root      663:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.1.1.3   root      664:    { (exit 1); exit 1; }; };;
                    665:   esac
                    666: done
1.1       root      667: 
1.1.1.3   root      668: # Be sure to have absolute paths.
                    669: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    670:               localstatedir libdir includedir oldincludedir infodir mandir
1.1       root      671: do
1.1.1.3   root      672:   eval ac_val=$`echo $ac_var`
                    673:   case $ac_val in
                    674:     [\\/$]* | ?:[\\/]* ) ;;
1.1.1.4 ! root      675:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1.1.1.3   root      676:    { (exit 1); exit 1; }; };;
1.1       root      677:   esac
                    678: done
                    679: 
1.1.1.3   root      680: # There might be people who depend on the old broken behavior: `$host'
                    681: # used to hold the argument of --host etc.
1.1.1.4 ! root      682: # FIXME: To remove some day.
1.1.1.3   root      683: build=$build_alias
                    684: host=$host_alias
                    685: target=$target_alias
                    686: 
1.1.1.4 ! root      687: # FIXME: To remove some day.
1.1.1.3   root      688: if test "x$host_alias" != x; then
                    689:   if test "x$build_alias" = x; then
                    690:     cross_compiling=maybe
                    691:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    692:     If a cross compiler is detected then cross compile mode will be used." >&2
                    693:   elif test "x$build_alias" != "x$host_alias"; then
                    694:     cross_compiling=yes
                    695:   fi
                    696: fi
1.1       root      697: 
1.1.1.3   root      698: ac_tool_prefix=
                    699: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       root      700: 
1.1.1.3   root      701: test "$silent" = yes && exec 6>/dev/null
1.1       root      702: 
1.1.1.4 ! root      703: 
1.1       root      704: # Find the source files, if location was not specified.
                    705: if test -z "$srcdir"; then
                    706:   ac_srcdir_defaulted=yes
                    707:   # Try the directory containing this script, then its parent.
1.1.1.4 ! root      708:   ac_confdir=`(dirname "$0") 2>/dev/null ||
        !           709: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           710:          X"$0" : 'X\(//\)[^/]' \| \
        !           711:          X"$0" : 'X\(//\)$' \| \
        !           712:          X"$0" : 'X\(/\)' \| \
        !           713:          .     : '\(.\)' 2>/dev/null ||
        !           714: echo X"$0" |
        !           715:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !           716:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !           717:          /^X\(\/\/\)$/{ s//\1/; q; }
        !           718:          /^X\(\/\).*/{ s//\1/; q; }
        !           719:          s/.*/./; q'`
1.1       root      720:   srcdir=$ac_confdir
                    721:   if test ! -r $srcdir/$ac_unique_file; then
                    722:     srcdir=..
                    723:   fi
                    724: else
                    725:   ac_srcdir_defaulted=no
                    726: fi
                    727: if test ! -r $srcdir/$ac_unique_file; then
                    728:   if test "$ac_srcdir_defaulted" = yes; then
1.1.1.4 ! root      729:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1.1.1.3   root      730:    { (exit 1); exit 1; }; }
1.1       root      731:   else
1.1.1.4 ! root      732:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1.1.1.3   root      733:    { (exit 1); exit 1; }; }
1.1       root      734:   fi
                    735: fi
1.1.1.4 ! root      736: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
        !           737:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
        !           738:    { (exit 1); exit 1; }; }
1.1.1.3   root      739: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    740: ac_env_build_alias_set=${build_alias+set}
                    741: ac_env_build_alias_value=$build_alias
                    742: ac_cv_env_build_alias_set=${build_alias+set}
                    743: ac_cv_env_build_alias_value=$build_alias
                    744: ac_env_host_alias_set=${host_alias+set}
                    745: ac_env_host_alias_value=$host_alias
                    746: ac_cv_env_host_alias_set=${host_alias+set}
                    747: ac_cv_env_host_alias_value=$host_alias
                    748: ac_env_target_alias_set=${target_alias+set}
                    749: ac_env_target_alias_value=$target_alias
                    750: ac_cv_env_target_alias_set=${target_alias+set}
                    751: ac_cv_env_target_alias_value=$target_alias
                    752: ac_env_CC_set=${CC+set}
                    753: ac_env_CC_value=$CC
                    754: ac_cv_env_CC_set=${CC+set}
                    755: ac_cv_env_CC_value=$CC
                    756: ac_env_CFLAGS_set=${CFLAGS+set}
                    757: ac_env_CFLAGS_value=$CFLAGS
                    758: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    759: ac_cv_env_CFLAGS_value=$CFLAGS
                    760: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    761: ac_env_LDFLAGS_value=$LDFLAGS
                    762: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    763: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    764: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    765: ac_env_CPPFLAGS_value=$CPPFLAGS
                    766: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    767: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    768: ac_env_CPP_set=${CPP+set}
                    769: ac_env_CPP_value=$CPP
                    770: ac_cv_env_CPP_set=${CPP+set}
                    771: ac_cv_env_CPP_value=$CPP
                    772: 
                    773: #
                    774: # Report the --help message.
                    775: #
                    776: if test "$ac_init_help" = "long"; then
                    777:   # Omit some internal or obsolete options to make the list less imposing.
                    778:   # This message is too long to be a string in the A/UX 3.1 sh.
1.1.1.4 ! root      779:   cat <<_ACEOF
1.1.1.3   root      780: \`configure' configures this package to adapt to many kinds of systems.
                    781: 
                    782: Usage: $0 [OPTION]... [VAR=VALUE]...
                    783: 
                    784: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    785: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    786: 
                    787: Defaults for the options are specified in brackets.
                    788: 
                    789: Configuration:
                    790:   -h, --help              display this help and exit
                    791:       --help=short        display options specific to this package
                    792:       --help=recursive    display the short help of all the included packages
                    793:   -V, --version           display version information and exit
                    794:   -q, --quiet, --silent   do not print \`checking...' messages
                    795:       --cache-file=FILE   cache test results in FILE [disabled]
                    796:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    797:   -n, --no-create         do not create output files
                    798:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    799: 
1.1.1.4 ! root      800: _ACEOF
1.1.1.3   root      801: 
1.1.1.4 ! root      802:   cat <<_ACEOF
1.1.1.3   root      803: Installation directories:
                    804:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    805:                           [$ac_default_prefix]
                    806:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    807:                           [PREFIX]
                    808: 
                    809: By default, \`make install' will install all the files in
                    810: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    811: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    812: for instance \`--prefix=\$HOME'.
                    813: 
                    814: For better control, use the options below.
                    815: 
                    816: Fine tuning of the installation directories:
                    817:   --bindir=DIR           user executables [EPREFIX/bin]
                    818:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    819:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    820:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    821:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    822:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    823:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    824:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    825:   --includedir=DIR       C header files [PREFIX/include]
                    826:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    827:   --infodir=DIR          info documentation [PREFIX/info]
                    828:   --mandir=DIR           man documentation [PREFIX/man]
1.1.1.4 ! root      829: _ACEOF
1.1.1.3   root      830: 
1.1.1.4 ! root      831:   cat <<\_ACEOF
1.1.1.3   root      832: 
                    833: Program names:
                    834:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    835:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    836:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    837: 
                    838: System types:
                    839:   --build=BUILD     configure for building on BUILD [guessed]
1.1.1.4 ! root      840:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.1.1.3   root      841:   --target=TARGET   configure for building compilers for TARGET [HOST]
1.1.1.4 ! root      842: _ACEOF
1.1.1.3   root      843: fi
                    844: 
                    845: if test -n "$ac_init_help"; then
                    846: 
1.1.1.4 ! root      847:   cat <<\_ACEOF
1.1.1.3   root      848: 
                    849: Optional Features:
                    850:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    851:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    852:   --disable-dependency-tracking Speeds up one-time builds
                    853:   --enable-dependency-tracking  Do not reject slow dependency extractors
                    854:   --disable-gtktest       Do not try to compile and run a test GTK program
                    855:   --disable-sdltest       Do not try to compile and run a test SDL program
                    856: 
                    857: Optional Packages:
                    858:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    859:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    860:   --with-coffasm          Assemble coff files
                    861:   --with-svgalib          Create svgalib version
                    862:   --with-allegro          Create allegro version
                    863:   --with-tcltk            Create tcltk version
                    864:   --with-gtk              Create gtk version
                    865:   --with-raze             Use RAZE z80 emulation
                    866:   --with-cmz80            Use C mz80 z80 emulation
                    867:   --with-nologging        Turn off all logging
                    868:   --with-warnings         Turn on gcc warnings
                    869:   --with-gcc[=VER]  GCC optimisation setting
                    870:   --with-raze             Use raze z80 emulation
                    871:   --with-debug            Turn debugging options on
                    872:   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
                    873:   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
                    874:   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
                    875:   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
                    876: 
                    877: Some influential environment variables:
                    878:   CC          C compiler command
                    879:   CFLAGS      C compiler flags
                    880:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    881:               nonstandard directory <lib dir>
                    882:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    883:               headers in a nonstandard directory <include dir>
                    884:   CPP         C preprocessor
                    885: 
                    886: Use these variables to override the choices made by `configure' or to help
                    887: it to find libraries and programs with nonstandard names/locations.
                    888: 
1.1.1.4 ! root      889: _ACEOF
1.1.1.3   root      890: fi
                    891: 
                    892: if test "$ac_init_help" = "recursive"; then
                    893:   # If there are subdirs, report their specific --help.
                    894:   ac_popdir=`pwd`
1.1.1.4 ! root      895:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
        !           896:     test -d $ac_dir || continue
        !           897:     ac_builddir=.
        !           898: 
        !           899: if test "$ac_dir" != .; then
        !           900:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !           901:   # A "../" for each directory in $ac_dir_suffix.
        !           902:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !           903: else
        !           904:   ac_dir_suffix= ac_top_builddir=
        !           905: fi
        !           906: 
        !           907: case $srcdir in
        !           908:   .)  # No --srcdir option.  We are building in place.
        !           909:     ac_srcdir=.
        !           910:     if test -z "$ac_top_builddir"; then
        !           911:        ac_top_srcdir=.
        !           912:     else
        !           913:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !           914:     fi ;;
        !           915:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !           916:     ac_srcdir=$srcdir$ac_dir_suffix;
        !           917:     ac_top_srcdir=$srcdir ;;
        !           918:   *) # Relative path.
        !           919:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !           920:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !           921: esac
        !           922: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
        !           923: # absolute.
        !           924: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
        !           925: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
        !           926: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
        !           927: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1.1.3   root      928: 
1.1.1.4 ! root      929:     cd $ac_dir
1.1.1.3   root      930:     # Check for guested configure; otherwise get Cygnus style configure.
1.1.1.4 ! root      931:     if test -f $ac_srcdir/configure.gnu; then
1.1.1.3   root      932:       echo
1.1.1.4 ! root      933:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
        !           934:     elif test -f $ac_srcdir/configure; then
1.1.1.3   root      935:       echo
1.1.1.4 ! root      936:       $SHELL $ac_srcdir/configure  --help=recursive
        !           937:     elif test -f $ac_srcdir/configure.ac ||
        !           938:            test -f $ac_srcdir/configure.in; then
1.1.1.3   root      939:       echo
                    940:       $ac_configure --help
                    941:     else
1.1.1.4 ! root      942:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.1.3   root      943:     fi
                    944:     cd $ac_popdir
                    945:   done
                    946: fi
                    947: 
                    948: test -n "$ac_init_help" && exit 0
                    949: if $ac_init_version; then
1.1.1.4 ! root      950:   cat <<\_ACEOF
1.1.1.3   root      951: 
1.1.1.4 ! root      952: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1.1.1.3   root      953: Free Software Foundation, Inc.
                    954: This configure script is free software; the Free Software Foundation
                    955: gives unlimited permission to copy, distribute and modify it.
1.1.1.4 ! root      956: _ACEOF
1.1.1.3   root      957:   exit 0
                    958: fi
                    959: exec 5>config.log
1.1.1.4 ! root      960: cat >&5 <<_ACEOF
1.1.1.3   root      961: This file contains any messages produced by compilers while
                    962: running configure, to aid debugging if configure makes a mistake.
                    963: 
                    964: It was created by $as_me, which was
1.1.1.4 ! root      965: generated by GNU Autoconf 2.57.  Invocation command line was
1.1.1.3   root      966: 
                    967:   $ $0 $@
                    968: 
1.1.1.4 ! root      969: _ACEOF
1.1.1.3   root      970: {
                    971: cat <<_ASUNAME
1.1.1.4 ! root      972: ## --------- ##
        !           973: ## Platform. ##
        !           974: ## --------- ##
1.1.1.3   root      975: 
                    976: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                    977: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                    978: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                    979: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                    980: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                    981: 
                    982: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                    983: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                    984: 
                    985: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                    986: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                    987: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                    988: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                    989: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                    990: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                    991: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                    992: 
                    993: _ASUNAME
1.1.1.4 ! root      994: 
        !           995: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           996: for as_dir in $PATH
        !           997: do
        !           998:   IFS=$as_save_IFS
        !           999:   test -z "$as_dir" && as_dir=.
        !          1000:   echo "PATH: $as_dir"
        !          1001: done
        !          1002: 
1.1.1.3   root     1003: } >&5
                   1004: 
1.1.1.4 ! root     1005: cat >&5 <<_ACEOF
        !          1006: 
        !          1007: 
        !          1008: ## ----------- ##
        !          1009: ## Core tests. ##
        !          1010: ## ----------- ##
        !          1011: 
        !          1012: _ACEOF
1.1.1.3   root     1013: 
                   1014: 
                   1015: # Keep a trace of the command line.
                   1016: # Strip out --no-create and --no-recursion so they do not pile up.
1.1.1.4 ! root     1017: # Strip out --silent because we don't want to record it for future runs.
1.1.1.3   root     1018: # Also quote any args containing shell meta-characters.
1.1.1.4 ! root     1019: # Make two passes to allow for proper duplicate-argument suppression.
1.1.1.3   root     1020: ac_configure_args=
1.1.1.4 ! root     1021: ac_configure_args0=
        !          1022: ac_configure_args1=
1.1.1.3   root     1023: ac_sep=
1.1.1.4 ! root     1024: ac_must_keep_next=false
        !          1025: for ac_pass in 1 2
1.1.1.3   root     1026: do
1.1.1.4 ! root     1027:   for ac_arg
        !          1028:   do
        !          1029:     case $ac_arg in
        !          1030:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
        !          1031:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          1032:     | -silent | --silent | --silen | --sile | --sil)
        !          1033:       continue ;;
        !          1034:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !          1035:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1036:     esac
        !          1037:     case $ac_pass in
        !          1038:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
        !          1039:     2)
        !          1040:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
        !          1041:       if test $ac_must_keep_next = true; then
        !          1042:         ac_must_keep_next=false # Got value, back to normal.
        !          1043:       else
        !          1044:         case $ac_arg in
        !          1045:           *=* | --config-cache | -C | -disable-* | --disable-* \
        !          1046:           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
        !          1047:           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
        !          1048:           | -with-* | --with-* | -without-* | --without-* | --x)
        !          1049:             case "$ac_configure_args0 " in
        !          1050:               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
        !          1051:             esac
        !          1052:             ;;
        !          1053:           -* ) ac_must_keep_next=true ;;
        !          1054:         esac
        !          1055:       fi
        !          1056:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
        !          1057:       # Get rid of the leading space.
        !          1058:       ac_sep=" "
        !          1059:       ;;
        !          1060:     esac
        !          1061:   done
1.1.1.3   root     1062: done
1.1.1.4 ! root     1063: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
        !          1064: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1.1.1.3   root     1065: 
                   1066: # When interrupted or exit'd, cleanup temporary files, and complete
                   1067: # config.log.  We remove comments because anyway the quotes in there
                   1068: # would cause problems or look ugly.
1.1.1.4 ! root     1069: # WARNING: Be sure not to use single quotes in there, as some shells,
        !          1070: # such as our DU 5.0 friend, will then `close' the trap.
1.1.1.3   root     1071: trap 'exit_status=$?
                   1072:   # Save into config.log some information that might help in debugging.
1.1.1.4 ! root     1073:   {
        !          1074:     echo
        !          1075: 
        !          1076:     cat <<\_ASBOX
        !          1077: ## ---------------- ##
        !          1078: ## Cache variables. ##
        !          1079: ## ---------------- ##
        !          1080: _ASBOX
        !          1081:     echo
        !          1082:     # The following way of writing the cache mishandles newlines in values,
1.1.1.3   root     1083: {
                   1084:   (set) 2>&1 |
                   1085:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1086:     *ac_space=\ *)
                   1087:       sed -n \
                   1088:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1089:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1090:       ;;
                   1091:     *)
                   1092:       sed -n \
                   1093:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1094:       ;;
                   1095:     esac;
1.1.1.4 ! root     1096: }
        !          1097:     echo
        !          1098: 
        !          1099:     cat <<\_ASBOX
        !          1100: ## ----------------- ##
        !          1101: ## Output variables. ##
        !          1102: ## ----------------- ##
        !          1103: _ASBOX
        !          1104:     echo
        !          1105:     for ac_var in $ac_subst_vars
        !          1106:     do
        !          1107:       eval ac_val=$`echo $ac_var`
        !          1108:       echo "$ac_var='"'"'$ac_val'"'"'"
        !          1109:     done | sort
        !          1110:     echo
        !          1111: 
        !          1112:     if test -n "$ac_subst_files"; then
        !          1113:       cat <<\_ASBOX
        !          1114: ## ------------- ##
        !          1115: ## Output files. ##
        !          1116: ## ------------- ##
        !          1117: _ASBOX
        !          1118:       echo
        !          1119:       for ac_var in $ac_subst_files
        !          1120:       do
        !          1121:        eval ac_val=$`echo $ac_var`
        !          1122:         echo "$ac_var='"'"'$ac_val'"'"'"
        !          1123:       done | sort
        !          1124:       echo
        !          1125:     fi
        !          1126: 
        !          1127:     if test -s confdefs.h; then
        !          1128:       cat <<\_ASBOX
        !          1129: ## ----------- ##
        !          1130: ## confdefs.h. ##
        !          1131: ## ----------- ##
        !          1132: _ASBOX
        !          1133:       echo
        !          1134:       sed "/^$/d" confdefs.h | sort
        !          1135:       echo
        !          1136:     fi
        !          1137:     test "$ac_signal" != 0 &&
        !          1138:       echo "$as_me: caught signal $ac_signal"
        !          1139:     echo "$as_me: exit $exit_status"
        !          1140:   } >&5
        !          1141:   rm -f core core.* *.core &&
        !          1142:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1.1.1.3   root     1143:     exit $exit_status
                   1144:      ' 0
                   1145: for ac_signal in 1 2 13 15; do
                   1146:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1147: done
                   1148: ac_signal=0
                   1149: 
                   1150: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1151: rm -rf conftest* confdefs.h
                   1152: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1153: echo >confdefs.h
1.1       root     1154: 
1.1.1.4 ! root     1155: # Predefined preprocessor variables.
        !          1156: 
        !          1157: cat >>confdefs.h <<_ACEOF
        !          1158: #define PACKAGE_NAME "$PACKAGE_NAME"
        !          1159: _ACEOF
        !          1160: 
        !          1161: 
        !          1162: cat >>confdefs.h <<_ACEOF
        !          1163: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
        !          1164: _ACEOF
        !          1165: 
        !          1166: 
        !          1167: cat >>confdefs.h <<_ACEOF
        !          1168: #define PACKAGE_VERSION "$PACKAGE_VERSION"
        !          1169: _ACEOF
        !          1170: 
        !          1171: 
        !          1172: cat >>confdefs.h <<_ACEOF
        !          1173: #define PACKAGE_STRING "$PACKAGE_STRING"
        !          1174: _ACEOF
        !          1175: 
        !          1176: 
        !          1177: cat >>confdefs.h <<_ACEOF
        !          1178: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          1179: _ACEOF
        !          1180: 
        !          1181: 
1.1.1.3   root     1182: # Let the site file select an alternate cache file if it wants to.
1.1       root     1183: # Prefer explicitly selected file to automatically selected ones.
                   1184: if test -z "$CONFIG_SITE"; then
                   1185:   if test "x$prefix" != xNONE; then
                   1186:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1187:   else
                   1188:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1189:   fi
                   1190: fi
                   1191: for ac_site_file in $CONFIG_SITE; do
                   1192:   if test -r "$ac_site_file"; then
1.1.1.4 ! root     1193:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1.1.3   root     1194: echo "$as_me: loading site script $ac_site_file" >&6;}
1.1.1.4 ! root     1195:     sed 's/^/| /' "$ac_site_file" >&5
1.1       root     1196:     . "$ac_site_file"
                   1197:   fi
                   1198: done
                   1199: 
                   1200: if test -r "$cache_file"; then
1.1.1.3   root     1201:   # Some versions of bash will fail to source /dev/null (special
                   1202:   # files actually), so we avoid doing that.
                   1203:   if test -f "$cache_file"; then
1.1.1.4 ! root     1204:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1.1.1.3   root     1205: echo "$as_me: loading cache $cache_file" >&6;}
                   1206:     case $cache_file in
                   1207:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1208:       *)                      . ./$cache_file;;
                   1209:     esac
                   1210:   fi
1.1       root     1211: else
1.1.1.4 ! root     1212:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1.1.3   root     1213: echo "$as_me: creating cache $cache_file" >&6;}
                   1214:   >$cache_file
                   1215: fi
                   1216: 
                   1217: # Check that the precious variables saved in the cache have kept the same
                   1218: # value.
                   1219: ac_cache_corrupted=false
                   1220: for ac_var in `(set) 2>&1 |
                   1221:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1222:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1223:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1224:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1225:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1226:   case $ac_old_set,$ac_new_set in
                   1227:     set,)
1.1.1.4 ! root     1228:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1.1.3   root     1229: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1230:       ac_cache_corrupted=: ;;
                   1231:     ,set)
1.1.1.4 ! root     1232:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1.1.3   root     1233: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1234:       ac_cache_corrupted=: ;;
                   1235:     ,);;
                   1236:     *)
                   1237:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.1.4 ! root     1238:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1.1.3   root     1239: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.1.1.4 ! root     1240:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.1.1.3   root     1241: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.1.1.4 ! root     1242:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.1.1.3   root     1243: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1244:         ac_cache_corrupted=:
                   1245:       fi;;
                   1246:   esac
1.1.1.4 ! root     1247:   # Pass precious variables to config.status.
1.1.1.3   root     1248:   if test "$ac_new_set" = set; then
                   1249:     case $ac_new_val in
                   1250:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1.1.1.4 ! root     1251:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1252:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          1253:     esac
        !          1254:     case " $ac_configure_args " in
        !          1255:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          1256:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1.1.3   root     1257:     esac
                   1258:   fi
                   1259: done
                   1260: if $ac_cache_corrupted; then
1.1.1.4 ! root     1261:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1.1.3   root     1262: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1.4 ! root     1263:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1.1.1.3   root     1264: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1265:    { (exit 1); exit 1; }; }
1.1       root     1266: fi
                   1267: 
                   1268: ac_ext=c
                   1269: ac_cpp='$CPP $CPPFLAGS'
1.1.1.3   root     1270: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1271: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1272: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1273: 
1.1.1.4 ! root     1274: 
        !          1275: 
        !          1276: 
        !          1277: 
        !          1278: 
        !          1279: 
        !          1280: 
        !          1281: 
        !          1282: 
        !          1283: 
        !          1284: 
        !          1285: 
        !          1286: 
        !          1287: 
        !          1288: 
        !          1289: 
        !          1290: 
        !          1291: 
1.1       root     1292: 
                   1293:   ac_aux_dir=
                   1294: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1295:   if test -f $ac_dir/install-sh; then
                   1296:     ac_aux_dir=$ac_dir
                   1297:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1298:     break
                   1299:   elif test -f $ac_dir/install.sh; then
                   1300:     ac_aux_dir=$ac_dir
                   1301:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1302:     break
1.1.1.3   root     1303:   elif test -f $ac_dir/shtool; then
                   1304:     ac_aux_dir=$ac_dir
                   1305:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1306:     break
1.1       root     1307:   fi
                   1308: done
                   1309: if test -z "$ac_aux_dir"; then
1.1.1.4 ! root     1310:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1.1.1.3   root     1311: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1312:    { (exit 1); exit 1; }; }
                   1313: fi
                   1314: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1315: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1316: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       root     1317: 
1.1.1.3   root     1318: # Make sure we can run config.sub.
                   1319: $ac_config_sub sun4 >/dev/null 2>&1 ||
1.1.1.4 ! root     1320:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1.1.1.3   root     1321: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1322:    { (exit 1); exit 1; }; }
                   1323: 
1.1.1.4 ! root     1324: echo "$as_me:$LINENO: checking build system type" >&5
1.1.1.3   root     1325: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1326: if test "${ac_cv_build+set}" = set; then
                   1327:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1328: else
                   1329:   ac_cv_build_alias=$build_alias
                   1330: test -z "$ac_cv_build_alias" &&
                   1331:   ac_cv_build_alias=`$ac_config_guess`
                   1332: test -z "$ac_cv_build_alias" &&
1.1.1.4 ! root     1333:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1.1.1.3   root     1334: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1335:    { (exit 1); exit 1; }; }
                   1336: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1.1.1.4 ! root     1337:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
        !          1338: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1.1.1.3   root     1339:    { (exit 1); exit 1; }; }
                   1340: 
                   1341: fi
1.1.1.4 ! root     1342: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.1.1.3   root     1343: echo "${ECHO_T}$ac_cv_build" >&6
                   1344: build=$ac_cv_build
                   1345: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1346: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1347: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1348: 
1.1.1.4 ! root     1349: 
        !          1350: echo "$as_me:$LINENO: checking host system type" >&5
1.1.1.3   root     1351: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1352: if test "${ac_cv_host+set}" = set; then
                   1353:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1354: else
                   1355:   ac_cv_host_alias=$host_alias
                   1356: test -z "$ac_cv_host_alias" &&
                   1357:   ac_cv_host_alias=$ac_cv_build_alias
                   1358: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1.1.1.4 ! root     1359:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1.1.1.3   root     1360: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1361:    { (exit 1); exit 1; }; }
                   1362: 
                   1363: fi
1.1.1.4 ! root     1364: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.1.1.3   root     1365: echo "${ECHO_T}$ac_cv_host" >&6
                   1366: host=$ac_cv_host
                   1367: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1368: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1369: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1370: 
1.1.1.4 ! root     1371: 
        !          1372: echo "$as_me:$LINENO: checking target system type" >&5
1.1.1.3   root     1373: echo $ECHO_N "checking target system type... $ECHO_C" >&6
                   1374: if test "${ac_cv_target+set}" = set; then
                   1375:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1376: else
                   1377:   ac_cv_target_alias=$target_alias
                   1378: test "x$ac_cv_target_alias" = "x" &&
                   1379:   ac_cv_target_alias=$ac_cv_host_alias
                   1380: ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1.1.1.4 ! root     1381:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1.1.1.3   root     1382: echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
                   1383:    { (exit 1); exit 1; }; }
                   1384: 
                   1385: fi
1.1.1.4 ! root     1386: echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1.1.1.3   root     1387: echo "${ECHO_T}$ac_cv_target" >&6
                   1388: target=$ac_cv_target
                   1389: target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1390: target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1391: target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1       root     1392: 
1.1.1.4 ! root     1393: 
1.1       root     1394: # The aliases save the names the user supplied, while $host etc.
                   1395: # will get canonicalized.
1.1.1.3   root     1396: test -n "$target_alias" &&
1.1       root     1397:   test "$program_prefix$program_suffix$program_transform_name" = \
                   1398:     NONENONEs,x,x, &&
                   1399:   program_prefix=${target_alias}-
                   1400:   # Find a good install program.  We prefer a C program (faster),
                   1401: # so one script is as good as another.  But avoid the broken or
                   1402: # incompatible versions:
                   1403: # SysV /etc/install, /usr/sbin/install
                   1404: # SunOS /usr/etc/install
                   1405: # IRIX /sbin/install
                   1406: # AIX /bin/install
1.1.1.3   root     1407: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       root     1408: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1409: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1410: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1411: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.4 ! root     1412: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          1413: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       root     1414: if test -z "$INSTALL"; then
1.1.1.3   root     1415: if test "${ac_cv_path_install+set}" = set; then
                   1416:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1417: else
1.1.1.4 ! root     1418:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1419: for as_dir in $PATH
        !          1420: do
        !          1421:   IFS=$as_save_IFS
        !          1422:   test -z "$as_dir" && as_dir=.
        !          1423:   # Account for people who put trailing slashes in PATH elements.
        !          1424: case $as_dir/ in
        !          1425:   ./ | .// | /cC/* | \
        !          1426:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
        !          1427:   /usr/ucb/* ) ;;
        !          1428:   *)
        !          1429:     # OSF1 and SCO ODT 3.0 have their own names for install.
        !          1430:     # Don't use installbsd from OSF since it installs stuff as root
        !          1431:     # by default.
        !          1432:     for ac_prog in ginstall scoinst install; do
        !          1433:       for ac_exec_ext in '' $ac_executable_extensions; do
        !          1434:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
        !          1435:           if test $ac_prog = install &&
        !          1436:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          1437:             # AIX install.  It has an incompatible calling convention.
        !          1438:             :
        !          1439:           elif test $ac_prog = install &&
        !          1440:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          1441:             # program-specific install script used by HP pwplus--don't use.
        !          1442:             :
        !          1443:           else
        !          1444:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          1445:             break 3
        !          1446:           fi
        !          1447:         fi
1.1       root     1448:       done
1.1.1.4 ! root     1449:     done
        !          1450:     ;;
        !          1451: esac
        !          1452: done
        !          1453: 
1.1       root     1454: 
                   1455: fi
                   1456:   if test "${ac_cv_path_install+set}" = set; then
1.1.1.3   root     1457:     INSTALL=$ac_cv_path_install
1.1       root     1458:   else
                   1459:     # As a last resort, use the slow shell script.  We don't cache a
                   1460:     # path for INSTALL within a source directory, because that will
                   1461:     # break other packages using the cache if that directory is
                   1462:     # removed, or if the path is relative.
1.1.1.3   root     1463:     INSTALL=$ac_install_sh
1.1       root     1464:   fi
                   1465: fi
1.1.1.4 ! root     1466: echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1.1.3   root     1467: echo "${ECHO_T}$INSTALL" >&6
1.1       root     1468: 
                   1469: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1470: # It thinks the first close brace ends the variable substitution.
                   1471: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1472: 
1.1.1.3   root     1473: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       root     1474: 
                   1475: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1476: 
1.1.1.4 ! root     1477: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1.1.1.3   root     1478: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       root     1479: # Just in case
                   1480: sleep 1
1.1.1.3   root     1481: echo timestamp > conftest.file
1.1       root     1482: # Do `set' in a subshell so we don't clobber the current shell's
                   1483: # arguments.  Must try -L first in case configure is actually a
                   1484: # symlink; some systems play weird games with the mod time of symlinks
                   1485: # (eg FreeBSD returns the mod time of the symlink's containing
                   1486: # directory).
                   1487: if (
1.1.1.3   root     1488:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       root     1489:    if test "$*" = "X"; then
                   1490:       # -L didn't work.
1.1.1.3   root     1491:       set X `ls -t $srcdir/configure conftest.file`
1.1       root     1492:    fi
1.1.1.3   root     1493:    rm -f conftest.file
                   1494:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1495:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       root     1496: 
                   1497:       # If neither matched, then we have a broken ls.  This can happen
                   1498:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1499:       # broken ls alias from the environment.  This has actually
                   1500:       # happened.  Such a system could not be considered "sane".
1.1.1.4 ! root     1501:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1.1.1.3   root     1502: alias in your environment" >&5
                   1503: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1504: alias in your environment" >&2;}
                   1505:    { (exit 1); exit 1; }; }
1.1       root     1506:    fi
                   1507: 
1.1.1.3   root     1508:    test "$2" = conftest.file
1.1       root     1509:    )
                   1510: then
                   1511:    # Ok.
                   1512:    :
                   1513: else
1.1.1.4 ! root     1514:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1.1.1.3   root     1515: Check your system clock" >&5
                   1516: echo "$as_me: error: newly created file is older than distributed files!
                   1517: Check your system clock" >&2;}
                   1518:    { (exit 1); exit 1; }; }
1.1       root     1519: fi
1.1.1.4 ! root     1520: echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     1521: echo "${ECHO_T}yes" >&6
1.1       root     1522: test "$program_prefix" != NONE &&
1.1.1.3   root     1523:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       root     1524: # Use a double $ so make ignores it.
                   1525: test "$program_suffix" != NONE &&
1.1.1.3   root     1526:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1527: # Double any \ or $.  echo might interpret backslashes.
                   1528: # By default was `s,x,x', remove it if useless.
                   1529: cat <<\_ACEOF >conftest.sed
                   1530: s/[\\$]/&&/g;s/;s,x,x,$//
                   1531: _ACEOF
                   1532: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1533: rm conftest.sed
                   1534: 
1.1.1.4 ! root     1535: 
1.1.1.3   root     1536: # expand $ac_aux_dir to an absolute path
                   1537: am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
                   1538: 
                   1539: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1540: # Use eval to expand $SHELL
                   1541: if eval "$MISSING --run true"; then
                   1542:   am_missing_run="$MISSING --run "
                   1543: else
                   1544:   am_missing_run=
                   1545:   am_backtick='`'
1.1.1.4 ! root     1546:   { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1.1.1.3   root     1547: echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
                   1548: fi
                   1549: 
1.1.1.4 ! root     1550: for ac_prog in gawk mawk nawk awk
1.1.1.3   root     1551: do
                   1552:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1553: set dummy $ac_prog; ac_word=$2
1.1.1.4 ! root     1554: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     1555: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1556: if test "${ac_cv_prog_AWK+set}" = set; then
                   1557:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1558: else
                   1559:   if test -n "$AWK"; then
                   1560:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1561: else
1.1.1.4 ! root     1562: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1563: for as_dir in $PATH
        !          1564: do
        !          1565:   IFS=$as_save_IFS
        !          1566:   test -z "$as_dir" && as_dir=.
        !          1567:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1568:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1569:     ac_cv_prog_AWK="$ac_prog"
        !          1570:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1571:     break 2
        !          1572:   fi
        !          1573: done
1.1.1.3   root     1574: done
                   1575: 
                   1576: fi
                   1577: fi
                   1578: AWK=$ac_cv_prog_AWK
                   1579: if test -n "$AWK"; then
1.1.1.4 ! root     1580:   echo "$as_me:$LINENO: result: $AWK" >&5
1.1.1.3   root     1581: echo "${ECHO_T}$AWK" >&6
                   1582: else
1.1.1.4 ! root     1583:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     1584: echo "${ECHO_T}no" >&6
                   1585: fi
1.1       root     1586: 
1.1.1.3   root     1587:   test -n "$AWK" && break
                   1588: done
1.1       root     1589: 
1.1.1.4 ! root     1590: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          1591: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.1.1.3   root     1592: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1593: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1594:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1595: else
1.1.1.4 ! root     1596:   cat >conftest.make <<\_ACEOF
1.1       root     1597: all:
1.1.1.4 ! root     1598:        @echo 'ac_maketemp="$(MAKE)"'
        !          1599: _ACEOF
1.1       root     1600: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.3   root     1601: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       root     1602: if test -n "$ac_maketemp"; then
                   1603:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1604: else
                   1605:   eval ac_cv_prog_make_${ac_make}_set=no
                   1606: fi
1.1.1.3   root     1607: rm -f conftest.make
1.1       root     1608: fi
                   1609: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1.1.4 ! root     1610:   echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     1611: echo "${ECHO_T}yes" >&6
1.1       root     1612:   SET_MAKE=
                   1613: else
1.1.1.4 ! root     1614:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     1615: echo "${ECHO_T}no" >&6
1.1       root     1616:   SET_MAKE="MAKE=${MAKE-make}"
                   1617: fi
                   1618: 
1.1.1.3   root     1619: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   1620: if test "${enable_dependency_tracking+set}" = set; then
                   1621:   enableval="$enable_dependency_tracking"
1.1       root     1622: 
1.1.1.3   root     1623: fi;
                   1624: if test "x$enable_dependency_tracking" != xno; then
                   1625:   am_depcomp="$ac_aux_dir/depcomp"
                   1626:   AMDEPBACKSLASH='\'
                   1627: fi
                   1628: 
1.1.1.4 ! root     1629: 
1.1.1.3   root     1630: if test "x$enable_dependency_tracking" != xno; then
                   1631:   AMDEP_TRUE=
                   1632:   AMDEP_FALSE='#'
                   1633: else
                   1634:   AMDEP_TRUE='#'
                   1635:   AMDEP_FALSE=
                   1636: fi
1.1       root     1637: 
1.1.1.4 ! root     1638: 
        !          1639: 
        !          1640: 
1.1.1.3   root     1641: rm -f .deps 2>/dev/null
                   1642: mkdir .deps 2>/dev/null
                   1643: if test -d .deps; then
                   1644:   DEPDIR=.deps
                   1645: else
                   1646:   # MS-DOS does not allow filenames that begin with a dot.
                   1647:   DEPDIR=_deps
                   1648: fi
                   1649: rmdir .deps 2>/dev/null
1.1       root     1650: 
1.1.1.4 ! root     1651: 
1.1.1.3   root     1652: # test to see if srcdir already configured
                   1653: if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
                   1654:    test -f $srcdir/config.status; then
1.1.1.4 ! root     1655:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1.1.1.3   root     1656: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1657:    { (exit 1); exit 1; }; }
1.1       root     1658: fi
1.1.1.3   root     1659: 
                   1660: # Define the identity of the package.
                   1661: PACKAGE=generator
1.1.1.4 ! root     1662: VERSION=0.35
1.1.1.3   root     1663: 
1.1.1.4 ! root     1664: cat >>confdefs.h <<_ACEOF
1.1       root     1665: #define PACKAGE "$PACKAGE"
1.1.1.4 ! root     1666: _ACEOF
1.1       root     1667: 
1.1.1.4 ! root     1668: 
        !          1669: cat >>confdefs.h <<_ACEOF
1.1       root     1670: #define VERSION "$VERSION"
1.1.1.4 ! root     1671: _ACEOF
        !          1672: 
1.1       root     1673: 
1.1.1.3   root     1674: # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
                   1675: # the ones we care about.
1.1       root     1676: 
1.1.1.3   root     1677: # Autoconf 2.50 always computes EXEEXT.  However we need to be
                   1678: # compatible with 2.13, for now.  So we always define EXEEXT, but we
                   1679: # don't compute it.
1.1       root     1680: 
1.1.1.3   root     1681: # Similar for OBJEXT -- only we only use OBJEXT if the user actually
                   1682: # requests that it be used.  This is a bit dumb.
                   1683: : ${OBJEXT=o}
1.1       root     1684: 
1.1.1.4 ! root     1685: 
1.1.1.3   root     1686: # Some tools Automake needs.
1.1       root     1687: 
1.1.1.3   root     1688: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1.1       root     1689: 
1.1.1.4 ! root     1690: 
1.1.1.3   root     1691: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1       root     1692: 
1.1.1.4 ! root     1693: 
1.1.1.3   root     1694: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1.1       root     1695: 
1.1.1.4 ! root     1696: 
1.1.1.3   root     1697: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.1       root     1698: 
1.1.1.4 ! root     1699: 
1.1.1.3   root     1700: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       root     1701: 
1.1.1.4 ! root     1702: 
1.1.1.3   root     1703: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1       root     1704: 
1.1.1.3   root     1705: install_sh=${install_sh-"$am_aux_dir/install-sh"}
                   1706: 
                   1707: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1708: 
                   1709: # We need awk for the "check" target.  The system "awk" is bad on
                   1710: # some platforms.
                   1711: 
1.1.1.4 ! root     1712: 
        !          1713: 
        !          1714: 
        !          1715:                                                              ac_config_headers="$ac_config_headers config.h"
1.1       root     1716: 
1.1.1.3   root     1717:   optimum=yes
                   1718: 
1.1.1.4 ! root     1719: 
1.1.1.3   root     1720:   MY_DIST_SUBDIRS="cpu68k raze cmz80 ym2612 sn76496 main glade gtkopts"
                   1721:   MY_SUBDIRS="cpu68k ym2612 sn76496 main"
                   1722:   MY_LIBS=""
                   1723:   UNDERSCORE=""
                   1724:   ASMOUTPUT=elf
                   1725: 
                   1726: # Check whether --with-coffasm or --without-coffasm was given.
                   1727: if test "${with_coffasm+set}" = set; then
                   1728:   withval="$with_coffasm"
                   1729:   ASMOUTPUT=coff; UNDERSCORE="_"
                   1730: fi;
                   1731: 
                   1732: # Check whether --with-svgalib or --without-svgalib was given.
                   1733: if test "${with_svgalib+set}" = set; then
                   1734:   withval="$with_svgalib"
                   1735:   MY_PROG="generator-svgalib"
                   1736: fi;
                   1737: 
                   1738: # Check whether --with-allegro or --without-allegro was given.
                   1739: if test "${with_allegro+set}" = set; then
                   1740:   withval="$with_allegro"
                   1741:   MY_PROG="generator-allegro"
                   1742: fi;
                   1743: 
                   1744: # Check whether --with-tcltk or --without-tcltk was given.
                   1745: if test "${with_tcltk+set}" = set; then
                   1746:   withval="$with_tcltk"
                   1747:   MY_PROG="generator-tcltk"
                   1748: fi;
                   1749: 
                   1750: # Check whether --with-gtk or --without-gtk was given.
                   1751: if test "${with_gtk+set}" = set; then
                   1752:   withval="$with_gtk"
                   1753:   MY_PROG="generator-gtk"
                   1754: fi;
                   1755:   if [ "x$MY_PROG" = "x" ]; then
1.1.1.4 ! root     1756:     { { echo "$as_me:$LINENO: error: You must select a user interface type:
1.1.1.3   root     1757:     svgalib allegro tcltk gtk" >&5
                   1758: echo "$as_me: error: You must select a user interface type:
                   1759:     svgalib allegro tcltk gtk" >&2;}
                   1760:    { (exit 1); exit 1; }; }
1.1       root     1761:   fi
1.1.1.3   root     1762:   if [ "x$MY_PROG" = "xgenerator-allegro" ]; then
                   1763: 
1.1.1.4 ! root     1764: cat >>confdefs.h <<\_ACEOF
1.1       root     1765: #define ALLEGRO 1
1.1.1.4 ! root     1766: _ACEOF
1.1       root     1767: 
1.1.1.3   root     1768:     PROGRAM='generator-allegro$(EXEEXT)'
                   1769:   else
                   1770:     PROGRAM=$MY_PROG
1.1       root     1771:   fi
1.1.1.3   root     1772: 
                   1773: # Check whether --with-raze or --without-raze was given.
                   1774: if test "${with_raze+set}" = set; then
                   1775:   withval="$with_raze"
                   1776:   Z80="raze"
                   1777: fi;
                   1778: 
                   1779: # Check whether --with-cmz80 or --without-cmz80 was given.
                   1780: if test "${with_cmz80+set}" = set; then
                   1781:   withval="$with_cmz80"
                   1782:   Z80="cmz80"
                   1783: fi;
                   1784:   if [ "x$Z80" = "xraze" ]; then
                   1785:     MY_SUBDIRS="raze $MY_SUBDIRS"
                   1786:     MY_LIBS="../raze/libraze.a $MY_LIBS"
                   1787: 
1.1.1.4 ! root     1788: cat >>confdefs.h <<\_ACEOF
1.1       root     1789: #define RAZE 1
1.1.1.4 ! root     1790: _ACEOF
1.1       root     1791: 
1.1.1.3   root     1792:   elif [ "x$Z80" = "xcmz80" ]; then
                   1793:     MY_SUBDIRS="cmz80 $MY_SUBDIRS"
                   1794:     MY_LIBS="../cmz80/libcmz80.a $MY_LIBS"
                   1795: 
1.1.1.4 ! root     1796: cat >>confdefs.h <<\_ACEOF
1.1.1.3   root     1797: #define CMZ80 1
1.1.1.4 ! root     1798: _ACEOF
1.1.1.2   root     1799: 
1.1.1.3   root     1800:   else
1.1.1.4 ! root     1801:     { { echo "$as_me:$LINENO: error: You must select a z80 emulator: raze cmz80" >&5
1.1.1.3   root     1802: echo "$as_me: error: You must select a z80 emulator: raze cmz80" >&2;}
                   1803:    { (exit 1); exit 1; }; }
                   1804:   fi
1.1       root     1805: 
1.1.1.4 ! root     1806: cat >>confdefs.h <<\_ACEOF
1.1.1.3   root     1807: #define DIRECTRAM 1
1.1.1.4 ! root     1808: _ACEOF
        !          1809: 
        !          1810: 
        !          1811: 
        !          1812: 
        !          1813: 
        !          1814: 
        !          1815: 
        !          1816: 
1.1       root     1817: 
                   1818:   case $target_cpu in
1.1.1.4 ! root     1819:     i?86)  echo "$as_me:$LINENO: result: Turning on x86 processor optimisations" >&5
1.1.1.3   root     1820: echo "${ECHO_T}Turning on x86 processor optimisations" >&6
                   1821: 
1.1.1.4 ! root     1822: cat >>confdefs.h <<\_ACEOF
1.1       root     1823: #define PROCESSOR_INTEL 1
1.1.1.4 ! root     1824: _ACEOF
1.1       root     1825: 
                   1826:            ALIGNLONGS=1
                   1827:            ;;
1.1.1.4 ! root     1828:     sparc) echo "$as_me:$LINENO: result: Turning on sparc processor optimisations" >&5
1.1.1.3   root     1829: echo "${ECHO_T}Turning on sparc processor optimisations" >&6
                   1830: 
1.1.1.4 ! root     1831: cat >>confdefs.h <<\_ACEOF
1.1       root     1832: #define PROCESSOR_SPARC 1
1.1.1.4 ! root     1833: _ACEOF
1.1       root     1834: 
                   1835:            ALIGNLONGS=0
                   1836:            ;;
1.1.1.4 ! root     1837:     arm)   echo "$as_me:$LINENO: result: Turning on arm processor optimisations" >&5
1.1.1.3   root     1838: echo "${ECHO_T}Turning on arm processor optimisations" >&6
                   1839: 
1.1.1.4 ! root     1840: cat >>confdefs.h <<\_ACEOF
1.1       root     1841: #define PROCESSOR_ARM 1
1.1.1.4 ! root     1842: _ACEOF
1.1       root     1843: 
                   1844:            ALIGNLONGS=1
                   1845:            ;;
1.1.1.4 ! root     1846:     *)     { echo "$as_me:$LINENO: WARNING: Processor type not known - processor optimisations off!" >&5
1.1.1.3   root     1847: echo "$as_me: WARNING: Processor type not known - processor optimisations off!" >&2;}
1.1       root     1848:            ALIGNLONGS=1
                   1849:            optimum=no
                   1850:            ;;
                   1851:   esac
1.1.1.3   root     1852: 
1.1.1.4 ! root     1853: 
        !          1854: cat >>confdefs.h <<\_ACEOF
1.1       root     1855: #define ALIGNLONGS ALIGNLONGS
1.1.1.4 ! root     1856: _ACEOF
        !          1857: 
        !          1858: 
1.1       root     1859: 
                   1860:   # default to gcc version 2
                   1861:   GCCVER=2
                   1862:   WARN=no
                   1863:   DEBUG=no
1.1.1.3   root     1864: 
                   1865: # Check whether --with-nologging or --without-nologging was given.
                   1866: if test "${with_nologging+set}" = set; then
                   1867:   withval="$with_nologging"
                   1868: 
1.1.1.4 ! root     1869: cat >>confdefs.h <<\_ACEOF
1.1.1.3   root     1870: #define NOLOGGING 1
1.1.1.4 ! root     1871: _ACEOF
1.1.1.3   root     1872: 
                   1873: fi;
                   1874: 
                   1875: # Check whether --with-warnings or --without-warnings was given.
1.1       root     1876: if test "${with_warnings+set}" = set; then
                   1877:   withval="$with_warnings"
                   1878:   WARN=$withval
                   1879: else
                   1880:   WARN=no
1.1.1.3   root     1881: fi;
1.1       root     1882: 
1.1.1.3   root     1883: # Check whether --with-gcc or --without-gcc was given.
1.1       root     1884: if test "${with_gcc+set}" = set; then
                   1885:   withval="$with_gcc"
                   1886:   GCCVER=$withval
1.1.1.3   root     1887: fi;
                   1888: 
                   1889: # Check whether --with-raze or --without-raze was given.
                   1890: if test "${with_raze+set}" = set; then
                   1891:   withval="$with_raze"
                   1892:   RAZE=$withval
                   1893: else
                   1894:   DEBUG=no
                   1895: fi;
1.1       root     1896: 
1.1.1.3   root     1897: # Check whether --with-debug or --without-debug was given.
1.1       root     1898: if test "${with_debug+set}" = set; then
                   1899:   withval="$with_debug"
                   1900:   DEBUG=$withval
                   1901: else
                   1902:   DEBUG=no
1.1.1.3   root     1903: fi;
1.1       root     1904:   if [ "x$WARN" != "xno" ]; then
1.1.1.3   root     1905:     CFLAGS="$CFLAGS -W -Wall -Wstrict-prototypes -Wformat -Wunused"
1.1       root     1906:   fi
                   1907:   if [ "x$DEBUG" != "xno" ]; then
1.1.1.4 ! root     1908:     echo "$as_me:$LINENO: result: Turning on debug flags" >&5
1.1.1.3   root     1909: echo "${ECHO_T}Turning on debug flags" >&6
1.1       root     1910:     CFLAGS="$CFLAGS -g -O"
                   1911:     optimum=no
                   1912:   else
                   1913:     if [ "x$GCCVER" != "xno" ]; then
1.1.1.4 ! root     1914:       echo "$as_me:$LINENO: result: Turning on gcc optimisations" >&5
1.1.1.3   root     1915: echo "${ECHO_T}Turning on gcc optimisations" >&6
1.1       root     1916:       CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
                   1917:       if [ "x$GCCVER" = "x3" ]; then
1.1.1.4 ! root     1918:         echo "$as_me:$LINENO: result: Turning on gcc 3 optimisations" >&5
1.1.1.3   root     1919: echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
1.1       root     1920:         CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
                   1921:       fi
                   1922:       case $target_cpu in
1.1.1.4 ! root     1923:         i?86) echo "$as_me:$LINENO: result: Turning on pentium optimisations" >&5
1.1.1.3   root     1924: echo "${ECHO_T}Turning on pentium optimisations" >&6
1.1.1.4 ! root     1925:               # cannot do malign-double as we link to other libraries and it
        !          1926:               # would break binary compatibility
        !          1927:               CFLAGS="$CFLAGS -march=pentium -malign-loops=5"
1.1       root     1928:               CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
                   1929:               ;;
                   1930:       esac
                   1931:     else
1.1.1.4 ! root     1932:       { echo "$as_me:$LINENO: WARNING: You did not opt for gcc optimisations!" >&5
1.1.1.3   root     1933: echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
1.1       root     1934:       optimum=no
                   1935:     fi
                   1936:   fi
                   1937: 
1.1.1.4 ! root     1938:           ac_config_commands="$ac_config_commands default-1"
        !          1939: 
        !          1940: am_make=${MAKE-make}
        !          1941: cat > confinc << 'END'
        !          1942: doit:
        !          1943:        @echo done
        !          1944: END
        !          1945: # If we don't find an include directive, just comment out the code.
        !          1946: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
        !          1947: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
        !          1948: am__include='#'
        !          1949: am__quote=
        !          1950: _am_result=none
        !          1951: # First try GNU make style include.
        !          1952: echo "include confinc" > confmf
        !          1953: # We grep out `Entering directory' and `Leaving directory'
        !          1954: # messages which can occur if `w' ends up in MAKEFLAGS.
        !          1955: # In particular we don't look at `^make:' because GNU make might
        !          1956: # be invoked under some other name (usually "gmake"), in which
        !          1957: # case it prints its new name instead of `make'.
        !          1958: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
        !          1959:    am__include=include
        !          1960:    am__quote=
        !          1961:    _am_result=GNU
        !          1962: fi
        !          1963: # Now try BSD make style include.
        !          1964: if test "$am__include" = "#"; then
        !          1965:    echo '.include "confinc"' > confmf
        !          1966:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
        !          1967:       am__include=.include
        !          1968:       am__quote='"'
        !          1969:       _am_result=BSD
        !          1970:    fi
        !          1971: fi
        !          1972: 
        !          1973: 
        !          1974: echo "$as_me:$LINENO: result: $_am_result" >&5
        !          1975: echo "${ECHO_T}$_am_result" >&6
        !          1976: rm -f confinc confmf
        !          1977: 
        !          1978: ac_ext=c
1.1.1.3   root     1979: ac_cpp='$CPP $CPPFLAGS'
                   1980: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1981: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1982: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1983: if test -n "$ac_tool_prefix"; then
                   1984:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1985: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.4 ! root     1986: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     1987: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1988: if test "${ac_cv_prog_CC+set}" = set; then
                   1989:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1990: else
                   1991:   if test -n "$CC"; then
                   1992:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1993: else
1.1.1.4 ! root     1994: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1995: for as_dir in $PATH
        !          1996: do
        !          1997:   IFS=$as_save_IFS
        !          1998:   test -z "$as_dir" && as_dir=.
        !          1999:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2000:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2001:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          2002:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2003:     break 2
        !          2004:   fi
        !          2005: done
1.1.1.3   root     2006: done
                   2007: 
                   2008: fi
                   2009: fi
                   2010: CC=$ac_cv_prog_CC
                   2011: if test -n "$CC"; then
1.1.1.4 ! root     2012:   echo "$as_me:$LINENO: result: $CC" >&5
1.1.1.3   root     2013: echo "${ECHO_T}$CC" >&6
                   2014: else
1.1.1.4 ! root     2015:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2016: echo "${ECHO_T}no" >&6
                   2017: fi
                   2018: 
                   2019: fi
                   2020: if test -z "$ac_cv_prog_CC"; then
                   2021:   ac_ct_CC=$CC
                   2022:   # Extract the first word of "gcc", so it can be a program name with args.
1.1       root     2023: set dummy gcc; ac_word=$2
1.1.1.4 ! root     2024: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2025: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2026: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2027:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2028: else
                   2029:   if test -n "$ac_ct_CC"; then
                   2030:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2031: else
1.1.1.4 ! root     2032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2033: for as_dir in $PATH
        !          2034: do
        !          2035:   IFS=$as_save_IFS
        !          2036:   test -z "$as_dir" && as_dir=.
        !          2037:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2038:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2039:     ac_cv_prog_ac_ct_CC="gcc"
        !          2040:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2041:     break 2
        !          2042:   fi
        !          2043: done
1.1.1.3   root     2044: done
                   2045: 
                   2046: fi
                   2047: fi
                   2048: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2049: if test -n "$ac_ct_CC"; then
1.1.1.4 ! root     2050:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1.1.3   root     2051: echo "${ECHO_T}$ac_ct_CC" >&6
                   2052: else
1.1.1.4 ! root     2053:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2054: echo "${ECHO_T}no" >&6
                   2055: fi
                   2056: 
                   2057:   CC=$ac_ct_CC
                   2058: else
                   2059:   CC="$ac_cv_prog_CC"
                   2060: fi
                   2061: 
                   2062: if test -z "$CC"; then
                   2063:   if test -n "$ac_tool_prefix"; then
                   2064:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2065: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.4 ! root     2066: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2067: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2068: if test "${ac_cv_prog_CC+set}" = set; then
                   2069:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2070: else
                   2071:   if test -n "$CC"; then
                   2072:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2073: else
1.1.1.4 ! root     2074: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2075: for as_dir in $PATH
        !          2076: do
        !          2077:   IFS=$as_save_IFS
        !          2078:   test -z "$as_dir" && as_dir=.
        !          2079:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2080:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2081:     ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          2082:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2083:     break 2
        !          2084:   fi
        !          2085: done
1.1.1.3   root     2086: done
                   2087: 
1.1       root     2088: fi
                   2089: fi
1.1.1.3   root     2090: CC=$ac_cv_prog_CC
1.1       root     2091: if test -n "$CC"; then
1.1.1.4 ! root     2092:   echo "$as_me:$LINENO: result: $CC" >&5
1.1.1.3   root     2093: echo "${ECHO_T}$CC" >&6
                   2094: else
1.1.1.4 ! root     2095:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2096: echo "${ECHO_T}no" >&6
                   2097: fi
                   2098: 
                   2099: fi
                   2100: if test -z "$ac_cv_prog_CC"; then
                   2101:   ac_ct_CC=$CC
                   2102:   # Extract the first word of "cc", so it can be a program name with args.
                   2103: set dummy cc; ac_word=$2
1.1.1.4 ! root     2104: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2105: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2106: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2107:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2108: else
                   2109:   if test -n "$ac_ct_CC"; then
                   2110:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2111: else
1.1.1.4 ! root     2112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2113: for as_dir in $PATH
        !          2114: do
        !          2115:   IFS=$as_save_IFS
        !          2116:   test -z "$as_dir" && as_dir=.
        !          2117:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2118:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2119:     ac_cv_prog_ac_ct_CC="cc"
        !          2120:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2121:     break 2
        !          2122:   fi
        !          2123: done
1.1.1.3   root     2124: done
                   2125: 
                   2126: fi
                   2127: fi
                   2128: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2129: if test -n "$ac_ct_CC"; then
1.1.1.4 ! root     2130:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1.1.3   root     2131: echo "${ECHO_T}$ac_ct_CC" >&6
                   2132: else
1.1.1.4 ! root     2133:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2134: echo "${ECHO_T}no" >&6
                   2135: fi
                   2136: 
                   2137:   CC=$ac_ct_CC
1.1       root     2138: else
1.1.1.3   root     2139:   CC="$ac_cv_prog_CC"
1.1       root     2140: fi
                   2141: 
1.1.1.3   root     2142: fi
1.1       root     2143: if test -z "$CC"; then
                   2144:   # Extract the first word of "cc", so it can be a program name with args.
                   2145: set dummy cc; ac_word=$2
1.1.1.4 ! root     2146: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2147: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2148: if test "${ac_cv_prog_CC+set}" = set; then
                   2149:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2150: else
                   2151:   if test -n "$CC"; then
                   2152:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2153: else
                   2154:   ac_prog_rejected=no
1.1.1.4 ! root     2155: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2156: for as_dir in $PATH
        !          2157: do
        !          2158:   IFS=$as_save_IFS
        !          2159:   test -z "$as_dir" && as_dir=.
        !          2160:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2161:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2162:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        !          2163:        ac_prog_rejected=yes
        !          2164:        continue
        !          2165:      fi
        !          2166:     ac_cv_prog_CC="cc"
        !          2167:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2168:     break 2
        !          2169:   fi
        !          2170: done
1.1.1.3   root     2171: done
                   2172: 
1.1       root     2173: if test $ac_prog_rejected = yes; then
                   2174:   # We found a bogon in the path, so make sure we never use it.
                   2175:   set dummy $ac_cv_prog_CC
                   2176:   shift
1.1.1.3   root     2177:   if test $# != 0; then
1.1       root     2178:     # We chose a different compiler from the bogus one.
                   2179:     # However, it has the same basename, so the bogon will be chosen
                   2180:     # first if we set CC to just the basename; use the full file name.
                   2181:     shift
1.1.1.4 ! root     2182:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       root     2183:   fi
                   2184: fi
                   2185: fi
                   2186: fi
1.1.1.3   root     2187: CC=$ac_cv_prog_CC
1.1       root     2188: if test -n "$CC"; then
1.1.1.4 ! root     2189:   echo "$as_me:$LINENO: result: $CC" >&5
1.1.1.3   root     2190: echo "${ECHO_T}$CC" >&6
1.1       root     2191: else
1.1.1.4 ! root     2192:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2193: echo "${ECHO_T}no" >&6
1.1       root     2194: fi
                   2195: 
1.1.1.3   root     2196: fi
                   2197: if test -z "$CC"; then
                   2198:   if test -n "$ac_tool_prefix"; then
                   2199:   for ac_prog in cl
                   2200:   do
                   2201:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2202: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.4 ! root     2203: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2204: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2205: if test "${ac_cv_prog_CC+set}" = set; then
                   2206:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2207: else
                   2208:   if test -n "$CC"; then
                   2209:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2210: else
1.1.1.4 ! root     2211: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2212: for as_dir in $PATH
        !          2213: do
        !          2214:   IFS=$as_save_IFS
        !          2215:   test -z "$as_dir" && as_dir=.
        !          2216:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2217:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2218:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          2219:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2220:     break 2
        !          2221:   fi
        !          2222: done
1.1.1.3   root     2223: done
                   2224: 
1.1       root     2225: fi
                   2226: fi
1.1.1.3   root     2227: CC=$ac_cv_prog_CC
1.1       root     2228: if test -n "$CC"; then
1.1.1.4 ! root     2229:   echo "$as_me:$LINENO: result: $CC" >&5
1.1.1.3   root     2230: echo "${ECHO_T}$CC" >&6
1.1       root     2231: else
1.1.1.4 ! root     2232:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2233: echo "${ECHO_T}no" >&6
1.1       root     2234: fi
1.1.1.3   root     2235: 
                   2236:     test -n "$CC" && break
                   2237:   done
1.1       root     2238: fi
1.1.1.3   root     2239: if test -z "$CC"; then
                   2240:   ac_ct_CC=$CC
                   2241:   for ac_prog in cl
                   2242: do
                   2243:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2244: set dummy $ac_prog; ac_word=$2
1.1.1.4 ! root     2245: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     2246: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2247: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2248:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2249: else
                   2250:   if test -n "$ac_ct_CC"; then
                   2251:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2252: else
1.1.1.4 ! root     2253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2254: for as_dir in $PATH
        !          2255: do
        !          2256:   IFS=$as_save_IFS
        !          2257:   test -z "$as_dir" && as_dir=.
        !          2258:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          2259:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2260:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          2261:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2262:     break 2
        !          2263:   fi
        !          2264: done
1.1.1.3   root     2265: done
1.1       root     2266: 
1.1.1.3   root     2267: fi
                   2268: fi
                   2269: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2270: if test -n "$ac_ct_CC"; then
1.1.1.4 ! root     2271:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1.1.3   root     2272: echo "${ECHO_T}$ac_ct_CC" >&6
                   2273: else
1.1.1.4 ! root     2274:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     2275: echo "${ECHO_T}no" >&6
                   2276: fi
1.1       root     2277: 
1.1.1.3   root     2278:   test -n "$ac_ct_CC" && break
                   2279: done
                   2280: 
                   2281:   CC=$ac_ct_CC
                   2282: fi
1.1       root     2283: 
1.1.1.3   root     2284: fi
                   2285: 
1.1.1.4 ! root     2286: 
        !          2287: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
        !          2288: See \`config.log' for more details." >&5
        !          2289: echo "$as_me: error: no acceptable C compiler found in \$PATH
        !          2290: See \`config.log' for more details." >&2;}
1.1.1.3   root     2291:    { (exit 1); exit 1; }; }
                   2292: 
                   2293: # Provide some information about the compiler.
1.1.1.4 ! root     2294: echo "$as_me:$LINENO:" \
1.1.1.3   root     2295:      "checking for C compiler version" >&5
                   2296: ac_compiler=`set X $ac_compile; echo $2`
1.1.1.4 ! root     2297: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1.1.1.3   root     2298:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2299:   ac_status=$?
1.1.1.4 ! root     2300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2301:   (exit $ac_status); }
1.1.1.4 ! root     2302: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1.1.1.3   root     2303:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2304:   ac_status=$?
1.1.1.4 ! root     2305:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2306:   (exit $ac_status); }
1.1.1.4 ! root     2307: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1.1.1.3   root     2308:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2309:   ac_status=$?
1.1.1.4 ! root     2310:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2311:   (exit $ac_status); }
1.1       root     2312: 
1.1.1.3   root     2313: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2314: #line $LINENO "configure"
        !          2315: /* confdefs.h.  */
        !          2316: _ACEOF
        !          2317: cat confdefs.h >>conftest.$ac_ext
        !          2318: cat >>conftest.$ac_ext <<_ACEOF
        !          2319: /* end confdefs.h.  */
1.1       root     2320: 
1.1.1.3   root     2321: int
                   2322: main ()
                   2323: {
                   2324: 
                   2325:   ;
                   2326:   return 0;
                   2327: }
                   2328: _ACEOF
                   2329: ac_clean_files_save=$ac_clean_files
1.1.1.4 ! root     2330: ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.1.1.3   root     2331: # Try to create an executable without -o first, disregard a.out.
                   2332: # It will help us diagnose broken compilers, and finding out an intuition
                   2333: # of exeext.
1.1.1.4 ! root     2334: echo "$as_me:$LINENO: checking for C compiler default output" >&5
1.1.1.3   root     2335: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
                   2336: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1.1.4 ! root     2337: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1.1.1.3   root     2338:   (eval $ac_link_default) 2>&5
                   2339:   ac_status=$?
1.1.1.4 ! root     2340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2341:   (exit $ac_status); }; then
                   2342:   # Find the output, starting from the most likely.  This scheme is
                   2343: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2344: # resort.
1.1.1.4 ! root     2345: 
        !          2346: # Be careful to initialize this variable, since it used to be cached.
        !          2347: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
        !          2348: ac_cv_exeext=
        !          2349: # b.out is created by i960 compilers.
        !          2350: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
        !          2351: do
        !          2352:   test -f "$ac_file" || continue
1.1.1.3   root     2353:   case $ac_file in
1.1.1.4 ! root     2354:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
        !          2355:         ;;
        !          2356:     conftest.$ac_ext )
        !          2357:         # This is the source file.
        !          2358:         ;;
        !          2359:     [ab].out )
        !          2360:         # We found the default executable, but exeext='' is most
        !          2361:         # certainly right.
        !          2362:         break;;
        !          2363:     *.* )
        !          2364:         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          2365:         # FIXME: I believe we export ac_cv_exeext for Libtool,
        !          2366:         # but it would be cool to find out if it's true.  Does anybody
        !          2367:         # maintain Libtool? --akim.
        !          2368:         export ac_cv_exeext
        !          2369:         break;;
        !          2370:     * )
        !          2371:         break;;
1.1.1.3   root     2372:   esac
                   2373: done
                   2374: else
                   2375:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2376: sed 's/^/| /' conftest.$ac_ext >&5
        !          2377: 
        !          2378: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
        !          2379: See \`config.log' for more details." >&5
        !          2380: echo "$as_me: error: C compiler cannot create executables
        !          2381: See \`config.log' for more details." >&2;}
1.1.1.3   root     2382:    { (exit 77); exit 77; }; }
                   2383: fi
                   2384: 
                   2385: ac_exeext=$ac_cv_exeext
1.1.1.4 ! root     2386: echo "$as_me:$LINENO: result: $ac_file" >&5
1.1.1.3   root     2387: echo "${ECHO_T}$ac_file" >&6
                   2388: 
                   2389: # Check the compiler produces executables we can run.  If not, either
                   2390: # the compiler is broken, or we cross compile.
1.1.1.4 ! root     2391: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.1.1.3   root     2392: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   2393: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2394: # If not cross compiling, check that we can run a simple program.
                   2395: if test "$cross_compiling" != yes; then
                   2396:   if { ac_try='./$ac_file'
1.1.1.4 ! root     2397:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2398:   (eval $ac_try) 2>&5
                   2399:   ac_status=$?
1.1.1.4 ! root     2400:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2401:   (exit $ac_status); }; }; then
                   2402:     cross_compiling=no
1.1       root     2403:   else
1.1.1.3   root     2404:     if test "$cross_compiling" = maybe; then
                   2405:        cross_compiling=yes
                   2406:     else
1.1.1.4 ! root     2407:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
        !          2408: If you meant to cross compile, use \`--host'.
        !          2409: See \`config.log' for more details." >&5
1.1.1.3   root     2410: echo "$as_me: error: cannot run C compiled programs.
1.1.1.4 ! root     2411: If you meant to cross compile, use \`--host'.
        !          2412: See \`config.log' for more details." >&2;}
1.1.1.3   root     2413:    { (exit 1); exit 1; }; }
                   2414:     fi
1.1       root     2415:   fi
                   2416: fi
1.1.1.4 ! root     2417: echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     2418: echo "${ECHO_T}yes" >&6
                   2419: 
1.1.1.4 ! root     2420: rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.1.1.3   root     2421: ac_clean_files=$ac_clean_files_save
                   2422: # Check the compiler produces executables we can run.  If not, either
                   2423: # the compiler is broken, or we cross compile.
1.1.1.4 ! root     2424: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.1.1.3   root     2425: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1.1.1.4 ! root     2426: echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.1.1.3   root     2427: echo "${ECHO_T}$cross_compiling" >&6
                   2428: 
1.1.1.4 ! root     2429: echo "$as_me:$LINENO: checking for suffix of executables" >&5
        !          2430: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
        !          2431: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     2432:   (eval $ac_link) 2>&5
                   2433:   ac_status=$?
1.1.1.4 ! root     2434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2435:   (exit $ac_status); }; then
                   2436:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2437: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2438: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2439: # `rm'.
1.1.1.4 ! root     2440: for ac_file in conftest.exe conftest conftest.*; do
        !          2441:   test -f "$ac_file" || continue
1.1.1.3   root     2442:   case $ac_file in
1.1.1.4 ! root     2443:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1.1.1.3   root     2444:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2445:           export ac_cv_exeext
                   2446:           break;;
                   2447:     * ) break;;
                   2448:   esac
                   2449: done
1.1       root     2450: else
1.1.1.4 ! root     2451:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
        !          2452: See \`config.log' for more details." >&5
        !          2453: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
        !          2454: See \`config.log' for more details." >&2;}
1.1.1.3   root     2455:    { (exit 1); exit 1; }; }
                   2456: fi
                   2457: 
                   2458: rm -f conftest$ac_cv_exeext
1.1.1.4 ! root     2459: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.1.1.3   root     2460: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2461: 
                   2462: rm -f conftest.$ac_ext
                   2463: EXEEXT=$ac_cv_exeext
                   2464: ac_exeext=$EXEEXT
1.1.1.4 ! root     2465: echo "$as_me:$LINENO: checking for suffix of object files" >&5
        !          2466: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1.1.1.3   root     2467: if test "${ac_cv_objext+set}" = set; then
                   2468:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2469: else
                   2470:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2471: #line $LINENO "configure"
        !          2472: /* confdefs.h.  */
        !          2473: _ACEOF
        !          2474: cat confdefs.h >>conftest.$ac_ext
        !          2475: cat >>conftest.$ac_ext <<_ACEOF
        !          2476: /* end confdefs.h.  */
1.1       root     2477: 
1.1.1.3   root     2478: int
                   2479: main ()
                   2480: {
1.1       root     2481: 
1.1.1.3   root     2482:   ;
                   2483:   return 0;
                   2484: }
                   2485: _ACEOF
                   2486: rm -f conftest.o conftest.obj
1.1.1.4 ! root     2487: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2488:   (eval $ac_compile) 2>&5
                   2489:   ac_status=$?
1.1.1.4 ! root     2490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2491:   (exit $ac_status); }; then
                   2492:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2493:   case $ac_file in
1.1.1.4 ! root     2494:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1.1.1.3   root     2495:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2496:        break;;
                   2497:   esac
                   2498: done
1.1       root     2499: else
1.1.1.3   root     2500:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2501: sed 's/^/| /' conftest.$ac_ext >&5
        !          2502: 
        !          2503: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
        !          2504: See \`config.log' for more details." >&5
        !          2505: echo "$as_me: error: cannot compute suffix of object files: cannot compile
        !          2506: See \`config.log' for more details." >&2;}
1.1.1.3   root     2507:    { (exit 1); exit 1; }; }
                   2508: fi
                   2509: 
                   2510: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2511: fi
1.1.1.4 ! root     2512: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.1.1.3   root     2513: echo "${ECHO_T}$ac_cv_objext" >&6
                   2514: OBJEXT=$ac_cv_objext
                   2515: ac_objext=$OBJEXT
1.1.1.4 ! root     2516: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.1.1.3   root     2517: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2518: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2519:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2520: else
                   2521:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2522: #line $LINENO "configure"
        !          2523: /* confdefs.h.  */
        !          2524: _ACEOF
        !          2525: cat confdefs.h >>conftest.$ac_ext
        !          2526: cat >>conftest.$ac_ext <<_ACEOF
        !          2527: /* end confdefs.h.  */
1.1       root     2528: 
1.1.1.3   root     2529: int
                   2530: main ()
                   2531: {
                   2532: #ifndef __GNUC__
                   2533:        choke me
                   2534: #endif
                   2535: 
                   2536:   ;
                   2537:   return 0;
                   2538: }
                   2539: _ACEOF
                   2540: rm -f conftest.$ac_objext
1.1.1.4 ! root     2541: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2542:   (eval $ac_compile) 2>&5
                   2543:   ac_status=$?
1.1.1.4 ! root     2544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2545:   (exit $ac_status); } &&
                   2546:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     2547:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2548:   (eval $ac_try) 2>&5
                   2549:   ac_status=$?
1.1.1.4 ! root     2550:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2551:   (exit $ac_status); }; }; then
                   2552:   ac_compiler_gnu=yes
                   2553: else
                   2554:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2555: sed 's/^/| /' conftest.$ac_ext >&5
        !          2556: 
1.1.1.3   root     2557: ac_compiler_gnu=no
                   2558: fi
                   2559: rm -f conftest.$ac_objext conftest.$ac_ext
                   2560: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2561: 
                   2562: fi
1.1.1.4 ! root     2563: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.1.1.3   root     2564: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   2565: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   2566: ac_test_CFLAGS=${CFLAGS+set}
                   2567: ac_save_CFLAGS=$CFLAGS
                   2568: CFLAGS="-g"
1.1.1.4 ! root     2569: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.1.1.3   root     2570: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   2571: if test "${ac_cv_prog_cc_g+set}" = set; then
                   2572:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     2573: else
1.1.1.3   root     2574:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2575: #line $LINENO "configure"
        !          2576: /* confdefs.h.  */
        !          2577: _ACEOF
        !          2578: cat confdefs.h >>conftest.$ac_ext
        !          2579: cat >>conftest.$ac_ext <<_ACEOF
        !          2580: /* end confdefs.h.  */
1.1.1.3   root     2581: 
                   2582: int
                   2583: main ()
                   2584: {
                   2585: 
                   2586:   ;
                   2587:   return 0;
                   2588: }
                   2589: _ACEOF
                   2590: rm -f conftest.$ac_objext
1.1.1.4 ! root     2591: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2592:   (eval $ac_compile) 2>&5
                   2593:   ac_status=$?
1.1.1.4 ! root     2594:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2595:   (exit $ac_status); } &&
                   2596:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     2597:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2598:   (eval $ac_try) 2>&5
                   2599:   ac_status=$?
1.1.1.4 ! root     2600:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2601:   (exit $ac_status); }; }; then
1.1       root     2602:   ac_cv_prog_cc_g=yes
                   2603: else
1.1.1.3   root     2604:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2605: sed 's/^/| /' conftest.$ac_ext >&5
        !          2606: 
1.1.1.3   root     2607: ac_cv_prog_cc_g=no
1.1       root     2608: fi
1.1.1.3   root     2609: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     2610: fi
1.1.1.4 ! root     2611: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.1.1.3   root     2612: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       root     2613: if test "$ac_test_CFLAGS" = set; then
1.1.1.3   root     2614:   CFLAGS=$ac_save_CFLAGS
1.1       root     2615: elif test $ac_cv_prog_cc_g = yes; then
                   2616:   if test "$GCC" = yes; then
                   2617:     CFLAGS="-g -O2"
                   2618:   else
                   2619:     CFLAGS="-g"
                   2620:   fi
                   2621: else
                   2622:   if test "$GCC" = yes; then
                   2623:     CFLAGS="-O2"
                   2624:   else
                   2625:     CFLAGS=
                   2626:   fi
                   2627: fi
1.1.1.4 ! root     2628: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
        !          2629: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
        !          2630: if test "${ac_cv_prog_cc_stdc+set}" = set; then
        !          2631:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2632: else
        !          2633:   ac_cv_prog_cc_stdc=no
        !          2634: ac_save_CC=$CC
        !          2635: cat >conftest.$ac_ext <<_ACEOF
        !          2636: #line $LINENO "configure"
        !          2637: /* confdefs.h.  */
        !          2638: _ACEOF
        !          2639: cat confdefs.h >>conftest.$ac_ext
        !          2640: cat >>conftest.$ac_ext <<_ACEOF
        !          2641: /* end confdefs.h.  */
        !          2642: #include <stdarg.h>
        !          2643: #include <stdio.h>
        !          2644: #include <sys/types.h>
        !          2645: #include <sys/stat.h>
        !          2646: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          2647: struct buf { int x; };
        !          2648: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          2649: static char *e (p, i)
        !          2650:      char **p;
        !          2651:      int i;
        !          2652: {
        !          2653:   return p[i];
        !          2654: }
        !          2655: static char *f (char * (*g) (char **, int), char **p, ...)
        !          2656: {
        !          2657:   char *s;
        !          2658:   va_list v;
        !          2659:   va_start (v,p);
        !          2660:   s = g (p, va_arg (v,int));
        !          2661:   va_end (v);
        !          2662:   return s;
        !          2663: }
        !          2664: int test (int i, double x);
        !          2665: struct s1 {int (*f) (int a);};
        !          2666: struct s2 {int (*f) (double a);};
        !          2667: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          2668: int argc;
        !          2669: char **argv;
        !          2670: int
        !          2671: main ()
        !          2672: {
        !          2673: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
        !          2674:   ;
        !          2675:   return 0;
        !          2676: }
        !          2677: _ACEOF
        !          2678: # Don't try gcc -ansi; that turns off useful extensions and
        !          2679: # breaks some systems' header files.
        !          2680: # AIX                  -qlanglvl=ansi
        !          2681: # Ultrix and OSF/1     -std1
        !          2682: # HP-UX 10.20 and later        -Ae
        !          2683: # HP-UX older versions -Aa -D_HPUX_SOURCE
        !          2684: # SVR4                 -Xc -D__EXTENSIONS__
        !          2685: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          2686: do
        !          2687:   CC="$ac_save_CC $ac_arg"
        !          2688:   rm -f conftest.$ac_objext
        !          2689: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          2690:   (eval $ac_compile) 2>&5
        !          2691:   ac_status=$?
        !          2692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2693:   (exit $ac_status); } &&
        !          2694:          { ac_try='test -s conftest.$ac_objext'
        !          2695:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2696:   (eval $ac_try) 2>&5
        !          2697:   ac_status=$?
        !          2698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2699:   (exit $ac_status); }; }; then
        !          2700:   ac_cv_prog_cc_stdc=$ac_arg
        !          2701: break
        !          2702: else
        !          2703:   echo "$as_me: failed program was:" >&5
        !          2704: sed 's/^/| /' conftest.$ac_ext >&5
        !          2705: 
        !          2706: fi
        !          2707: rm -f conftest.$ac_objext
        !          2708: done
        !          2709: rm -f conftest.$ac_ext conftest.$ac_objext
        !          2710: CC=$ac_save_CC
        !          2711: 
        !          2712: fi
        !          2713: 
        !          2714: case "x$ac_cv_prog_cc_stdc" in
        !          2715:   x|xno)
        !          2716:     echo "$as_me:$LINENO: result: none needed" >&5
        !          2717: echo "${ECHO_T}none needed" >&6 ;;
        !          2718:   *)
        !          2719:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
        !          2720: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
        !          2721:     CC="$CC $ac_cv_prog_cc_stdc" ;;
        !          2722: esac
        !          2723: 
1.1.1.3   root     2724: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   2725: # in C++ we need to declare it.  In case someone uses the same compiler
                   2726: # for both compiling C and C++ we need to have the C++ compiler decide
                   2727: # the declaration of exit, since it's the most demanding environment.
                   2728: cat >conftest.$ac_ext <<_ACEOF
                   2729: #ifndef __cplusplus
                   2730:   choke me
                   2731: #endif
                   2732: _ACEOF
                   2733: rm -f conftest.$ac_objext
1.1.1.4 ! root     2734: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2735:   (eval $ac_compile) 2>&5
                   2736:   ac_status=$?
1.1.1.4 ! root     2737:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2738:   (exit $ac_status); } &&
                   2739:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     2740:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2741:   (eval $ac_try) 2>&5
                   2742:   ac_status=$?
1.1.1.4 ! root     2743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2744:   (exit $ac_status); }; }; then
                   2745:   for ac_declaration in \
                   2746:    ''\
                   2747:    '#include <stdlib.h>' \
                   2748:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2749:    'extern "C" void std::exit (int); using std::exit;' \
                   2750:    'extern "C" void exit (int) throw ();' \
                   2751:    'extern "C" void exit (int);' \
                   2752:    'void exit (int);'
                   2753: do
                   2754:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2755: #line $LINENO "configure"
        !          2756: /* confdefs.h.  */
        !          2757: _ACEOF
        !          2758: cat confdefs.h >>conftest.$ac_ext
        !          2759: cat >>conftest.$ac_ext <<_ACEOF
        !          2760: /* end confdefs.h.  */
1.1.1.3   root     2761: #include <stdlib.h>
                   2762: $ac_declaration
                   2763: int
                   2764: main ()
                   2765: {
                   2766: exit (42);
                   2767:   ;
                   2768:   return 0;
                   2769: }
                   2770: _ACEOF
                   2771: rm -f conftest.$ac_objext
1.1.1.4 ! root     2772: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2773:   (eval $ac_compile) 2>&5
                   2774:   ac_status=$?
1.1.1.4 ! root     2775:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2776:   (exit $ac_status); } &&
                   2777:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     2778:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2779:   (eval $ac_try) 2>&5
                   2780:   ac_status=$?
1.1.1.4 ! root     2781:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2782:   (exit $ac_status); }; }; then
                   2783:   :
1.1       root     2784: else
1.1.1.3   root     2785:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2786: sed 's/^/| /' conftest.$ac_ext >&5
        !          2787: 
1.1.1.3   root     2788: continue
                   2789: fi
                   2790: rm -f conftest.$ac_objext conftest.$ac_ext
                   2791:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     2792: #line $LINENO "configure"
        !          2793: /* confdefs.h.  */
        !          2794: _ACEOF
        !          2795: cat confdefs.h >>conftest.$ac_ext
        !          2796: cat >>conftest.$ac_ext <<_ACEOF
        !          2797: /* end confdefs.h.  */
1.1.1.3   root     2798: $ac_declaration
                   2799: int
                   2800: main ()
                   2801: {
                   2802: exit (42);
                   2803:   ;
                   2804:   return 0;
                   2805: }
                   2806: _ACEOF
                   2807: rm -f conftest.$ac_objext
1.1.1.4 ! root     2808: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     2809:   (eval $ac_compile) 2>&5
                   2810:   ac_status=$?
1.1.1.4 ! root     2811:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2812:   (exit $ac_status); } &&
                   2813:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     2814:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     2815:   (eval $ac_try) 2>&5
                   2816:   ac_status=$?
1.1.1.4 ! root     2817:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     2818:   (exit $ac_status); }; }; then
                   2819:   break
                   2820: else
                   2821:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2822: sed 's/^/| /' conftest.$ac_ext >&5
        !          2823: 
1.1.1.3   root     2824: fi
                   2825: rm -f conftest.$ac_objext conftest.$ac_ext
                   2826: done
                   2827: rm -f conftest*
                   2828: if test -n "$ac_declaration"; then
                   2829:   echo '#ifdef __cplusplus' >>confdefs.h
                   2830:   echo $ac_declaration      >>confdefs.h
                   2831:   echo '#endif'             >>confdefs.h
                   2832: fi
                   2833: 
1.1       root     2834: else
1.1.1.3   root     2835:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     2836: sed 's/^/| /' conftest.$ac_ext >&5
        !          2837: 
1.1.1.3   root     2838: fi
                   2839: rm -f conftest.$ac_objext conftest.$ac_ext
                   2840: ac_ext=c
                   2841: ac_cpp='$CPP $CPPFLAGS'
                   2842: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2843: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2844: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2845: 
                   2846: depcc="$CC"   am_compiler_list=
                   2847: 
1.1.1.4 ! root     2848: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.1.1.3   root     2849: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2850: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   2851:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2852: else
                   2853:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2854:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2855:   # making bogus files that we don't know about and never remove.  For
                   2856:   # instance it was reported that on HP-UX the gcc test will end up
                   2857:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2858:   # in D'.
                   2859:   mkdir conftest.dir
                   2860:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2861:   # using a relative directory.
                   2862:   cp "$am_depcomp" conftest.dir
                   2863:   cd conftest.dir
                   2864: 
                   2865:   am_cv_CC_dependencies_compiler_type=none
                   2866:   if test "$am_compiler_list" = ""; then
                   2867:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2868:   fi
                   2869:   for depmode in $am_compiler_list; do
                   2870:     # We need to recreate these files for each test, as the compiler may
                   2871:     # overwrite some of them when testing with obscure command lines.
                   2872:     # This happens at least with the AIX C compiler.
                   2873:     echo '#include "conftest.h"' > conftest.c
                   2874:     echo 'int i;' > conftest.h
                   2875:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2876: 
                   2877:     case $depmode in
                   2878:     nosideeffect)
                   2879:       # after this tag, mechanisms are not by side-effect, so they'll
                   2880:       # only be used when explicitly requested
                   2881:       if test "x$enable_dependency_tracking" = xyes; then
                   2882:        continue
                   2883:       else
                   2884:        break
                   2885:       fi
                   2886:       ;;
                   2887:     none) break ;;
                   2888:     esac
                   2889:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2890:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2891:     # handle `-M -o', and we need to detect this.
                   2892:     if depmode=$depmode \
                   2893:        source=conftest.c object=conftest.o \
                   2894:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2895:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
                   2896:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2897:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2898:       am_cv_CC_dependencies_compiler_type=$depmode
1.1       root     2899:       break
                   2900:     fi
                   2901:   done
1.1.1.3   root     2902: 
                   2903:   cd ..
                   2904:   rm -rf conftest.dir
                   2905: else
                   2906:   am_cv_CC_dependencies_compiler_type=none
                   2907: fi
                   2908: 
                   2909: fi
1.1.1.4 ! root     2910: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.1.1.3   root     2911: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   2912: CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
                   2913: 
1.1.1.4 ! root     2914: 
        !          2915: 
        !          2916: echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
        !          2917: echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6
        !          2918: if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then
1.1.1.3   root     2919:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2920: else
1.1.1.4 ! root     2921:   ac_check_lib_save_LIBS=$LIBS
        !          2922: LIBS="-ljpeg  $LIBS"
        !          2923: cat >conftest.$ac_ext <<_ACEOF
        !          2924: #line $LINENO "configure"
        !          2925: /* confdefs.h.  */
        !          2926: _ACEOF
        !          2927: cat confdefs.h >>conftest.$ac_ext
        !          2928: cat >>conftest.$ac_ext <<_ACEOF
        !          2929: /* end confdefs.h.  */
        !          2930: 
        !          2931: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2932: #ifdef __cplusplus
        !          2933: extern "C"
        !          2934: #endif
        !          2935: /* We use char because int might match the return type of a gcc2
        !          2936:    builtin and then its argument prototype would still apply.  */
        !          2937: char jpeg_start_compress ();
        !          2938: int
        !          2939: main ()
        !          2940: {
        !          2941: jpeg_start_compress ();
        !          2942:   ;
        !          2943:   return 0;
        !          2944: }
        !          2945: _ACEOF
        !          2946: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2947: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2948:   (eval $ac_link) 2>&5
        !          2949:   ac_status=$?
        !          2950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2951:   (exit $ac_status); } &&
        !          2952:          { ac_try='test -s conftest$ac_exeext'
        !          2953:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2954:   (eval $ac_try) 2>&5
        !          2955:   ac_status=$?
        !          2956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2957:   (exit $ac_status); }; }; then
        !          2958:   ac_cv_lib_jpeg_jpeg_start_compress=yes
1.1.1.3   root     2959: else
1.1.1.4 ! root     2960:   echo "$as_me: failed program was:" >&5
        !          2961: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.3   root     2962: 
1.1.1.4 ! root     2963: ac_cv_lib_jpeg_jpeg_start_compress=no
1.1       root     2964: fi
1.1.1.4 ! root     2965: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2966: LIBS=$ac_check_lib_save_LIBS
1.1       root     2967: fi
1.1.1.4 ! root     2968: echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
        !          2969: echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_compress" >&6
        !          2970: if test $ac_cv_lib_jpeg_jpeg_start_compress = yes; then
        !          2971:    MY_LIBS="-ljpeg $MY_LIBS";
        !          2972: cat >>confdefs.h <<\_ACEOF
        !          2973: #define JPEG 1
        !          2974: _ACEOF
        !          2975: 
        !          2976: fi
        !          2977: 
        !          2978: 
        !          2979: 
        !          2980:   ac_ext=c
        !          2981: ac_cpp='$CPP $CPPFLAGS'
        !          2982: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2983: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2984: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2985: if test -n "$ac_tool_prefix"; then
        !          2986:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
        !          2987: set dummy ${ac_tool_prefix}gcc; ac_word=$2
        !          2988: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          2989: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2990: if test "${ac_cv_prog_CC+set}" = set; then
        !          2991:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2992: else
        !          2993:   if test -n "$CC"; then
        !          2994:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          2995: else
        !          2996: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2997: for as_dir in $PATH
        !          2998: do
        !          2999:   IFS=$as_save_IFS
        !          3000:   test -z "$as_dir" && as_dir=.
        !          3001:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3002:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3003:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          3004:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3005:     break 2
        !          3006:   fi
        !          3007: done
        !          3008: done
        !          3009: 
        !          3010: fi
        !          3011: fi
        !          3012: CC=$ac_cv_prog_CC
        !          3013: if test -n "$CC"; then
        !          3014:   echo "$as_me:$LINENO: result: $CC" >&5
        !          3015: echo "${ECHO_T}$CC" >&6
        !          3016: else
        !          3017:   echo "$as_me:$LINENO: result: no" >&5
        !          3018: echo "${ECHO_T}no" >&6
        !          3019: fi
        !          3020: 
        !          3021: fi
        !          3022: if test -z "$ac_cv_prog_CC"; then
        !          3023:   ac_ct_CC=$CC
        !          3024:   # Extract the first word of "gcc", so it can be a program name with args.
        !          3025: set dummy gcc; ac_word=$2
        !          3026: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3027: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3028: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          3029:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3030: else
        !          3031:   if test -n "$ac_ct_CC"; then
        !          3032:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          3033: else
        !          3034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3035: for as_dir in $PATH
        !          3036: do
        !          3037:   IFS=$as_save_IFS
        !          3038:   test -z "$as_dir" && as_dir=.
        !          3039:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3040:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3041:     ac_cv_prog_ac_ct_CC="gcc"
        !          3042:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3043:     break 2
        !          3044:   fi
        !          3045: done
        !          3046: done
        !          3047: 
        !          3048: fi
        !          3049: fi
        !          3050: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3051: if test -n "$ac_ct_CC"; then
        !          3052:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          3053: echo "${ECHO_T}$ac_ct_CC" >&6
        !          3054: else
        !          3055:   echo "$as_me:$LINENO: result: no" >&5
        !          3056: echo "${ECHO_T}no" >&6
        !          3057: fi
        !          3058: 
        !          3059:   CC=$ac_ct_CC
        !          3060: else
        !          3061:   CC="$ac_cv_prog_CC"
        !          3062: fi
        !          3063: 
        !          3064: if test -z "$CC"; then
        !          3065:   if test -n "$ac_tool_prefix"; then
        !          3066:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
        !          3067: set dummy ${ac_tool_prefix}cc; ac_word=$2
        !          3068: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3069: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3070: if test "${ac_cv_prog_CC+set}" = set; then
        !          3071:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3072: else
        !          3073:   if test -n "$CC"; then
        !          3074:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3075: else
        !          3076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3077: for as_dir in $PATH
        !          3078: do
        !          3079:   IFS=$as_save_IFS
        !          3080:   test -z "$as_dir" && as_dir=.
        !          3081:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3082:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3083:     ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          3084:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3085:     break 2
        !          3086:   fi
        !          3087: done
        !          3088: done
        !          3089: 
        !          3090: fi
        !          3091: fi
        !          3092: CC=$ac_cv_prog_CC
        !          3093: if test -n "$CC"; then
        !          3094:   echo "$as_me:$LINENO: result: $CC" >&5
        !          3095: echo "${ECHO_T}$CC" >&6
        !          3096: else
        !          3097:   echo "$as_me:$LINENO: result: no" >&5
        !          3098: echo "${ECHO_T}no" >&6
        !          3099: fi
        !          3100: 
        !          3101: fi
        !          3102: if test -z "$ac_cv_prog_CC"; then
        !          3103:   ac_ct_CC=$CC
        !          3104:   # Extract the first word of "cc", so it can be a program name with args.
        !          3105: set dummy cc; ac_word=$2
        !          3106: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3107: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3108: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          3109:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3110: else
        !          3111:   if test -n "$ac_ct_CC"; then
        !          3112:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          3113: else
        !          3114: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3115: for as_dir in $PATH
        !          3116: do
        !          3117:   IFS=$as_save_IFS
        !          3118:   test -z "$as_dir" && as_dir=.
        !          3119:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3120:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3121:     ac_cv_prog_ac_ct_CC="cc"
        !          3122:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3123:     break 2
        !          3124:   fi
        !          3125: done
        !          3126: done
        !          3127: 
        !          3128: fi
        !          3129: fi
        !          3130: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3131: if test -n "$ac_ct_CC"; then
        !          3132:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          3133: echo "${ECHO_T}$ac_ct_CC" >&6
        !          3134: else
        !          3135:   echo "$as_me:$LINENO: result: no" >&5
        !          3136: echo "${ECHO_T}no" >&6
        !          3137: fi
        !          3138: 
        !          3139:   CC=$ac_ct_CC
        !          3140: else
        !          3141:   CC="$ac_cv_prog_CC"
        !          3142: fi
        !          3143: 
        !          3144: fi
        !          3145: if test -z "$CC"; then
        !          3146:   # Extract the first word of "cc", so it can be a program name with args.
        !          3147: set dummy cc; ac_word=$2
        !          3148: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3149: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3150: if test "${ac_cv_prog_CC+set}" = set; then
        !          3151:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3152: else
        !          3153:   if test -n "$CC"; then
        !          3154:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3155: else
        !          3156:   ac_prog_rejected=no
        !          3157: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3158: for as_dir in $PATH
        !          3159: do
        !          3160:   IFS=$as_save_IFS
        !          3161:   test -z "$as_dir" && as_dir=.
        !          3162:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3163:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3164:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        !          3165:        ac_prog_rejected=yes
        !          3166:        continue
        !          3167:      fi
        !          3168:     ac_cv_prog_CC="cc"
        !          3169:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3170:     break 2
        !          3171:   fi
        !          3172: done
        !          3173: done
        !          3174: 
        !          3175: if test $ac_prog_rejected = yes; then
        !          3176:   # We found a bogon in the path, so make sure we never use it.
        !          3177:   set dummy $ac_cv_prog_CC
        !          3178:   shift
        !          3179:   if test $# != 0; then
        !          3180:     # We chose a different compiler from the bogus one.
        !          3181:     # However, it has the same basename, so the bogon will be chosen
        !          3182:     # first if we set CC to just the basename; use the full file name.
        !          3183:     shift
        !          3184:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
        !          3185:   fi
        !          3186: fi
        !          3187: fi
        !          3188: fi
        !          3189: CC=$ac_cv_prog_CC
        !          3190: if test -n "$CC"; then
        !          3191:   echo "$as_me:$LINENO: result: $CC" >&5
        !          3192: echo "${ECHO_T}$CC" >&6
        !          3193: else
        !          3194:   echo "$as_me:$LINENO: result: no" >&5
        !          3195: echo "${ECHO_T}no" >&6
        !          3196: fi
        !          3197: 
        !          3198: fi
        !          3199: if test -z "$CC"; then
        !          3200:   if test -n "$ac_tool_prefix"; then
        !          3201:   for ac_prog in cl
        !          3202:   do
        !          3203:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          3204: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          3205: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3206: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3207: if test "${ac_cv_prog_CC+set}" = set; then
        !          3208:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3209: else
        !          3210:   if test -n "$CC"; then
        !          3211:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3212: else
        !          3213: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3214: for as_dir in $PATH
        !          3215: do
        !          3216:   IFS=$as_save_IFS
        !          3217:   test -z "$as_dir" && as_dir=.
        !          3218:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3219:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3220:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          3221:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3222:     break 2
        !          3223:   fi
        !          3224: done
        !          3225: done
        !          3226: 
        !          3227: fi
        !          3228: fi
        !          3229: CC=$ac_cv_prog_CC
        !          3230: if test -n "$CC"; then
        !          3231:   echo "$as_me:$LINENO: result: $CC" >&5
        !          3232: echo "${ECHO_T}$CC" >&6
        !          3233: else
        !          3234:   echo "$as_me:$LINENO: result: no" >&5
        !          3235: echo "${ECHO_T}no" >&6
        !          3236: fi
        !          3237: 
        !          3238:     test -n "$CC" && break
        !          3239:   done
        !          3240: fi
        !          3241: if test -z "$CC"; then
        !          3242:   ac_ct_CC=$CC
        !          3243:   for ac_prog in cl
        !          3244: do
        !          3245:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3246: set dummy $ac_prog; ac_word=$2
        !          3247: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3248: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3249: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          3250:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3251: else
        !          3252:   if test -n "$ac_ct_CC"; then
        !          3253:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          3254: else
        !          3255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3256: for as_dir in $PATH
        !          3257: do
        !          3258:   IFS=$as_save_IFS
        !          3259:   test -z "$as_dir" && as_dir=.
        !          3260:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3261:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3262:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          3263:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3264:     break 2
        !          3265:   fi
        !          3266: done
        !          3267: done
        !          3268: 
        !          3269: fi
        !          3270: fi
        !          3271: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3272: if test -n "$ac_ct_CC"; then
        !          3273:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          3274: echo "${ECHO_T}$ac_ct_CC" >&6
        !          3275: else
        !          3276:   echo "$as_me:$LINENO: result: no" >&5
        !          3277: echo "${ECHO_T}no" >&6
        !          3278: fi
        !          3279: 
        !          3280:   test -n "$ac_ct_CC" && break
        !          3281: done
        !          3282: 
        !          3283:   CC=$ac_ct_CC
        !          3284: fi
        !          3285: 
        !          3286: fi
        !          3287: 
        !          3288: 
        !          3289: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
        !          3290: See \`config.log' for more details." >&5
        !          3291: echo "$as_me: error: no acceptable C compiler found in \$PATH
        !          3292: See \`config.log' for more details." >&2;}
        !          3293:    { (exit 1); exit 1; }; }
        !          3294: 
        !          3295: # Provide some information about the compiler.
        !          3296: echo "$as_me:$LINENO:" \
        !          3297:      "checking for C compiler version" >&5
        !          3298: ac_compiler=`set X $ac_compile; echo $2`
        !          3299: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
        !          3300:   (eval $ac_compiler --version </dev/null >&5) 2>&5
        !          3301:   ac_status=$?
        !          3302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3303:   (exit $ac_status); }
        !          3304: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
        !          3305:   (eval $ac_compiler -v </dev/null >&5) 2>&5
        !          3306:   ac_status=$?
        !          3307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3308:   (exit $ac_status); }
        !          3309: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
        !          3310:   (eval $ac_compiler -V </dev/null >&5) 2>&5
        !          3311:   ac_status=$?
        !          3312:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3313:   (exit $ac_status); }
        !          3314: 
        !          3315: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
        !          3316: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
        !          3317: if test "${ac_cv_c_compiler_gnu+set}" = set; then
        !          3318:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3319: else
        !          3320:   cat >conftest.$ac_ext <<_ACEOF
        !          3321: #line $LINENO "configure"
        !          3322: /* confdefs.h.  */
        !          3323: _ACEOF
        !          3324: cat confdefs.h >>conftest.$ac_ext
        !          3325: cat >>conftest.$ac_ext <<_ACEOF
        !          3326: /* end confdefs.h.  */
        !          3327: 
        !          3328: int
        !          3329: main ()
        !          3330: {
        !          3331: #ifndef __GNUC__
        !          3332:        choke me
        !          3333: #endif
        !          3334: 
        !          3335:   ;
        !          3336:   return 0;
        !          3337: }
        !          3338: _ACEOF
        !          3339: rm -f conftest.$ac_objext
        !          3340: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3341:   (eval $ac_compile) 2>&5
        !          3342:   ac_status=$?
        !          3343:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3344:   (exit $ac_status); } &&
        !          3345:          { ac_try='test -s conftest.$ac_objext'
        !          3346:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3347:   (eval $ac_try) 2>&5
        !          3348:   ac_status=$?
        !          3349:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3350:   (exit $ac_status); }; }; then
        !          3351:   ac_compiler_gnu=yes
        !          3352: else
        !          3353:   echo "$as_me: failed program was:" >&5
        !          3354: sed 's/^/| /' conftest.$ac_ext >&5
        !          3355: 
        !          3356: ac_compiler_gnu=no
        !          3357: fi
        !          3358: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3359: ac_cv_c_compiler_gnu=$ac_compiler_gnu
        !          3360: 
        !          3361: fi
        !          3362: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
        !          3363: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
        !          3364: GCC=`test $ac_compiler_gnu = yes && echo yes`
        !          3365: ac_test_CFLAGS=${CFLAGS+set}
        !          3366: ac_save_CFLAGS=$CFLAGS
        !          3367: CFLAGS="-g"
        !          3368: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
        !          3369: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
        !          3370: if test "${ac_cv_prog_cc_g+set}" = set; then
        !          3371:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3372: else
        !          3373:   cat >conftest.$ac_ext <<_ACEOF
        !          3374: #line $LINENO "configure"
        !          3375: /* confdefs.h.  */
        !          3376: _ACEOF
        !          3377: cat confdefs.h >>conftest.$ac_ext
        !          3378: cat >>conftest.$ac_ext <<_ACEOF
        !          3379: /* end confdefs.h.  */
        !          3380: 
        !          3381: int
        !          3382: main ()
        !          3383: {
        !          3384: 
        !          3385:   ;
        !          3386:   return 0;
        !          3387: }
        !          3388: _ACEOF
        !          3389: rm -f conftest.$ac_objext
        !          3390: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3391:   (eval $ac_compile) 2>&5
        !          3392:   ac_status=$?
        !          3393:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3394:   (exit $ac_status); } &&
        !          3395:          { ac_try='test -s conftest.$ac_objext'
        !          3396:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3397:   (eval $ac_try) 2>&5
        !          3398:   ac_status=$?
        !          3399:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3400:   (exit $ac_status); }; }; then
        !          3401:   ac_cv_prog_cc_g=yes
        !          3402: else
        !          3403:   echo "$as_me: failed program was:" >&5
        !          3404: sed 's/^/| /' conftest.$ac_ext >&5
        !          3405: 
        !          3406: ac_cv_prog_cc_g=no
        !          3407: fi
        !          3408: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3409: fi
        !          3410: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
        !          3411: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
        !          3412: if test "$ac_test_CFLAGS" = set; then
        !          3413:   CFLAGS=$ac_save_CFLAGS
        !          3414: elif test $ac_cv_prog_cc_g = yes; then
        !          3415:   if test "$GCC" = yes; then
        !          3416:     CFLAGS="-g -O2"
        !          3417:   else
        !          3418:     CFLAGS="-g"
        !          3419:   fi
        !          3420: else
        !          3421:   if test "$GCC" = yes; then
        !          3422:     CFLAGS="-O2"
        !          3423:   else
        !          3424:     CFLAGS=
        !          3425:   fi
        !          3426: fi
        !          3427: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
        !          3428: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
        !          3429: if test "${ac_cv_prog_cc_stdc+set}" = set; then
        !          3430:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3431: else
        !          3432:   ac_cv_prog_cc_stdc=no
        !          3433: ac_save_CC=$CC
        !          3434: cat >conftest.$ac_ext <<_ACEOF
        !          3435: #line $LINENO "configure"
        !          3436: /* confdefs.h.  */
        !          3437: _ACEOF
        !          3438: cat confdefs.h >>conftest.$ac_ext
        !          3439: cat >>conftest.$ac_ext <<_ACEOF
        !          3440: /* end confdefs.h.  */
        !          3441: #include <stdarg.h>
        !          3442: #include <stdio.h>
        !          3443: #include <sys/types.h>
        !          3444: #include <sys/stat.h>
        !          3445: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          3446: struct buf { int x; };
        !          3447: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          3448: static char *e (p, i)
        !          3449:      char **p;
        !          3450:      int i;
        !          3451: {
        !          3452:   return p[i];
        !          3453: }
        !          3454: static char *f (char * (*g) (char **, int), char **p, ...)
        !          3455: {
        !          3456:   char *s;
        !          3457:   va_list v;
        !          3458:   va_start (v,p);
        !          3459:   s = g (p, va_arg (v,int));
        !          3460:   va_end (v);
        !          3461:   return s;
        !          3462: }
        !          3463: int test (int i, double x);
        !          3464: struct s1 {int (*f) (int a);};
        !          3465: struct s2 {int (*f) (double a);};
        !          3466: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          3467: int argc;
        !          3468: char **argv;
        !          3469: int
        !          3470: main ()
        !          3471: {
        !          3472: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
        !          3473:   ;
        !          3474:   return 0;
        !          3475: }
        !          3476: _ACEOF
        !          3477: # Don't try gcc -ansi; that turns off useful extensions and
        !          3478: # breaks some systems' header files.
        !          3479: # AIX                  -qlanglvl=ansi
        !          3480: # Ultrix and OSF/1     -std1
        !          3481: # HP-UX 10.20 and later        -Ae
        !          3482: # HP-UX older versions -Aa -D_HPUX_SOURCE
        !          3483: # SVR4                 -Xc -D__EXTENSIONS__
        !          3484: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          3485: do
        !          3486:   CC="$ac_save_CC $ac_arg"
        !          3487:   rm -f conftest.$ac_objext
        !          3488: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3489:   (eval $ac_compile) 2>&5
        !          3490:   ac_status=$?
        !          3491:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3492:   (exit $ac_status); } &&
        !          3493:          { ac_try='test -s conftest.$ac_objext'
        !          3494:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3495:   (eval $ac_try) 2>&5
        !          3496:   ac_status=$?
        !          3497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3498:   (exit $ac_status); }; }; then
        !          3499:   ac_cv_prog_cc_stdc=$ac_arg
        !          3500: break
        !          3501: else
        !          3502:   echo "$as_me: failed program was:" >&5
        !          3503: sed 's/^/| /' conftest.$ac_ext >&5
        !          3504: 
        !          3505: fi
        !          3506: rm -f conftest.$ac_objext
        !          3507: done
        !          3508: rm -f conftest.$ac_ext conftest.$ac_objext
        !          3509: CC=$ac_save_CC
        !          3510: 
        !          3511: fi
        !          3512: 
        !          3513: case "x$ac_cv_prog_cc_stdc" in
        !          3514:   x|xno)
        !          3515:     echo "$as_me:$LINENO: result: none needed" >&5
        !          3516: echo "${ECHO_T}none needed" >&6 ;;
        !          3517:   *)
        !          3518:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
        !          3519: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
        !          3520:     CC="$CC $ac_cv_prog_cc_stdc" ;;
        !          3521: esac
        !          3522: 
        !          3523: # Some people use a C++ compiler to compile C.  Since we use `exit',
        !          3524: # in C++ we need to declare it.  In case someone uses the same compiler
        !          3525: # for both compiling C and C++ we need to have the C++ compiler decide
        !          3526: # the declaration of exit, since it's the most demanding environment.
        !          3527: cat >conftest.$ac_ext <<_ACEOF
        !          3528: #ifndef __cplusplus
        !          3529:   choke me
        !          3530: #endif
        !          3531: _ACEOF
        !          3532: rm -f conftest.$ac_objext
        !          3533: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3534:   (eval $ac_compile) 2>&5
        !          3535:   ac_status=$?
        !          3536:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3537:   (exit $ac_status); } &&
        !          3538:          { ac_try='test -s conftest.$ac_objext'
        !          3539:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3540:   (eval $ac_try) 2>&5
        !          3541:   ac_status=$?
        !          3542:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3543:   (exit $ac_status); }; }; then
        !          3544:   for ac_declaration in \
        !          3545:    ''\
        !          3546:    '#include <stdlib.h>' \
        !          3547:    'extern "C" void std::exit (int) throw (); using std::exit;' \
        !          3548:    'extern "C" void std::exit (int); using std::exit;' \
        !          3549:    'extern "C" void exit (int) throw ();' \
        !          3550:    'extern "C" void exit (int);' \
        !          3551:    'void exit (int);'
        !          3552: do
        !          3553:   cat >conftest.$ac_ext <<_ACEOF
        !          3554: #line $LINENO "configure"
        !          3555: /* confdefs.h.  */
        !          3556: _ACEOF
        !          3557: cat confdefs.h >>conftest.$ac_ext
        !          3558: cat >>conftest.$ac_ext <<_ACEOF
        !          3559: /* end confdefs.h.  */
        !          3560: #include <stdlib.h>
        !          3561: $ac_declaration
        !          3562: int
        !          3563: main ()
        !          3564: {
        !          3565: exit (42);
        !          3566:   ;
        !          3567:   return 0;
        !          3568: }
        !          3569: _ACEOF
        !          3570: rm -f conftest.$ac_objext
        !          3571: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3572:   (eval $ac_compile) 2>&5
        !          3573:   ac_status=$?
        !          3574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3575:   (exit $ac_status); } &&
        !          3576:          { ac_try='test -s conftest.$ac_objext'
        !          3577:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3578:   (eval $ac_try) 2>&5
        !          3579:   ac_status=$?
        !          3580:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3581:   (exit $ac_status); }; }; then
        !          3582:   :
        !          3583: else
        !          3584:   echo "$as_me: failed program was:" >&5
        !          3585: sed 's/^/| /' conftest.$ac_ext >&5
        !          3586: 
        !          3587: continue
        !          3588: fi
        !          3589: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3590:   cat >conftest.$ac_ext <<_ACEOF
        !          3591: #line $LINENO "configure"
        !          3592: /* confdefs.h.  */
        !          3593: _ACEOF
        !          3594: cat confdefs.h >>conftest.$ac_ext
        !          3595: cat >>conftest.$ac_ext <<_ACEOF
        !          3596: /* end confdefs.h.  */
        !          3597: $ac_declaration
        !          3598: int
        !          3599: main ()
        !          3600: {
        !          3601: exit (42);
        !          3602:   ;
        !          3603:   return 0;
        !          3604: }
        !          3605: _ACEOF
        !          3606: rm -f conftest.$ac_objext
        !          3607: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          3608:   (eval $ac_compile) 2>&5
        !          3609:   ac_status=$?
        !          3610:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3611:   (exit $ac_status); } &&
        !          3612:          { ac_try='test -s conftest.$ac_objext'
        !          3613:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3614:   (eval $ac_try) 2>&5
        !          3615:   ac_status=$?
        !          3616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3617:   (exit $ac_status); }; }; then
        !          3618:   break
        !          3619: else
        !          3620:   echo "$as_me: failed program was:" >&5
        !          3621: sed 's/^/| /' conftest.$ac_ext >&5
        !          3622: 
        !          3623: fi
        !          3624: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3625: done
        !          3626: rm -f conftest*
        !          3627: if test -n "$ac_declaration"; then
        !          3628:   echo '#ifdef __cplusplus' >>confdefs.h
        !          3629:   echo $ac_declaration      >>confdefs.h
        !          3630:   echo '#endif'             >>confdefs.h
        !          3631: fi
        !          3632: 
        !          3633: else
        !          3634:   echo "$as_me: failed program was:" >&5
        !          3635: sed 's/^/| /' conftest.$ac_ext >&5
        !          3636: 
        !          3637: fi
        !          3638: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3639: ac_ext=c
        !          3640: ac_cpp='$CPP $CPPFLAGS'
        !          3641: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3642: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3643: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3644: 
        !          3645: depcc="$CC"   am_compiler_list=
        !          3646: 
        !          3647: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
        !          3648: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
        !          3649: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
        !          3650:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3651: else
        !          3652:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !          3653:   # We make a subdir and do the tests there.  Otherwise we can end up
        !          3654:   # making bogus files that we don't know about and never remove.  For
        !          3655:   # instance it was reported that on HP-UX the gcc test will end up
        !          3656:   # making a dummy file named `D' -- because `-MD' means `put the output
        !          3657:   # in D'.
        !          3658:   mkdir conftest.dir
        !          3659:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !          3660:   # using a relative directory.
        !          3661:   cp "$am_depcomp" conftest.dir
        !          3662:   cd conftest.dir
        !          3663: 
        !          3664:   am_cv_CC_dependencies_compiler_type=none
        !          3665:   if test "$am_compiler_list" = ""; then
        !          3666:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
        !          3667:   fi
        !          3668:   for depmode in $am_compiler_list; do
        !          3669:     # We need to recreate these files for each test, as the compiler may
        !          3670:     # overwrite some of them when testing with obscure command lines.
        !          3671:     # This happens at least with the AIX C compiler.
        !          3672:     echo '#include "conftest.h"' > conftest.c
        !          3673:     echo 'int i;' > conftest.h
        !          3674:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
        !          3675: 
        !          3676:     case $depmode in
        !          3677:     nosideeffect)
        !          3678:       # after this tag, mechanisms are not by side-effect, so they'll
        !          3679:       # only be used when explicitly requested
        !          3680:       if test "x$enable_dependency_tracking" = xyes; then
        !          3681:        continue
        !          3682:       else
        !          3683:        break
        !          3684:       fi
        !          3685:       ;;
        !          3686:     none) break ;;
        !          3687:     esac
        !          3688:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !          3689:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          3690:     # handle `-M -o', and we need to detect this.
        !          3691:     if depmode=$depmode \
        !          3692:        source=conftest.c object=conftest.o \
        !          3693:        depfile=conftest.Po tmpdepfile=conftest.TPo \
        !          3694:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
        !          3695:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
        !          3696:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !          3697:       am_cv_CC_dependencies_compiler_type=$depmode
        !          3698:       break
        !          3699:     fi
        !          3700:   done
        !          3701: 
        !          3702:   cd ..
        !          3703:   rm -rf conftest.dir
        !          3704: else
        !          3705:   am_cv_CC_dependencies_compiler_type=none
        !          3706: fi
        !          3707: 
        !          3708: fi
        !          3709: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          3710: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
        !          3711: CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
        !          3712: 
        !          3713: 
        !          3714:   if test -n "$ac_tool_prefix"; then
        !          3715:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          3716: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          3717: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          3718: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3719: if test "${ac_cv_prog_RANLIB+set}" = set; then
        !          3720:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3721: else
        !          3722:   if test -n "$RANLIB"; then
        !          3723:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          3724: else
        !          3725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3726: for as_dir in $PATH
        !          3727: do
        !          3728:   IFS=$as_save_IFS
        !          3729:   test -z "$as_dir" && as_dir=.
        !          3730:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3731:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3732:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          3733:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3734:     break 2
        !          3735:   fi
        !          3736: done
        !          3737: done
        !          3738: 
        !          3739: fi
        !          3740: fi
        !          3741: RANLIB=$ac_cv_prog_RANLIB
        !          3742: if test -n "$RANLIB"; then
        !          3743:   echo "$as_me:$LINENO: result: $RANLIB" >&5
        !          3744: echo "${ECHO_T}$RANLIB" >&6
        !          3745: else
        !          3746:   echo "$as_me:$LINENO: result: no" >&5
        !          3747: echo "${ECHO_T}no" >&6
1.1.1.3   root     3748: fi
                   3749: 
                   3750: fi
                   3751: if test -z "$ac_cv_prog_RANLIB"; then
                   3752:   ac_ct_RANLIB=$RANLIB
                   3753:   # Extract the first word of "ranlib", so it can be a program name with args.
                   3754: set dummy ranlib; ac_word=$2
1.1.1.4 ! root     3755: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     3756: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3757: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   3758:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3759: else
                   3760:   if test -n "$ac_ct_RANLIB"; then
                   3761:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   3762: else
1.1.1.4 ! root     3763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3764: for as_dir in $PATH
        !          3765: do
        !          3766:   IFS=$as_save_IFS
        !          3767:   test -z "$as_dir" && as_dir=.
        !          3768:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          3769:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          3770:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          3771:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          3772:     break 2
        !          3773:   fi
        !          3774: done
1.1.1.3   root     3775: done
                   3776: 
                   3777:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   3778: fi
                   3779: fi
                   3780: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   3781: if test -n "$ac_ct_RANLIB"; then
1.1.1.4 ! root     3782:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.1.1.3   root     3783: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   3784: else
1.1.1.4 ! root     3785:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     3786: echo "${ECHO_T}no" >&6
                   3787: fi
                   3788: 
                   3789:   RANLIB=$ac_ct_RANLIB
                   3790: else
                   3791:   RANLIB="$ac_cv_prog_RANLIB"
                   3792: fi
                   3793: 
1.1.1.4 ! root     3794:   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          3795: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.1.1.3   root     3796: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   3797: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   3798:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3799: else
1.1.1.4 ! root     3800:   cat >conftest.make <<\_ACEOF
1.1.1.3   root     3801: all:
1.1.1.4 ! root     3802:        @echo 'ac_maketemp="$(MAKE)"'
        !          3803: _ACEOF
1.1.1.3   root     3804: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   3805: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
                   3806: if test -n "$ac_maketemp"; then
                   3807:   eval ac_cv_prog_make_${ac_make}_set=yes
                   3808: else
                   3809:   eval ac_cv_prog_make_${ac_make}_set=no
                   3810: fi
                   3811: rm -f conftest.make
                   3812: fi
                   3813: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1.1.4 ! root     3814:   echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     3815: echo "${ECHO_T}yes" >&6
                   3816:   SET_MAKE=
1.1       root     3817: else
1.1.1.4 ! root     3818:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     3819: echo "${ECHO_T}no" >&6
                   3820:   SET_MAKE="MAKE=${MAKE-make}"
1.1       root     3821: fi
                   3822: 
1.1.1.3   root     3823: 
1.1.1.4 ! root     3824:         echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
        !          3825: echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
        !          3826: if test "${ac_cv_lib_cposix_strerror+set}" = set; then
        !          3827:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3828: else
        !          3829:   ac_check_lib_save_LIBS=$LIBS
        !          3830: LIBS="-lcposix  $LIBS"
        !          3831: cat >conftest.$ac_ext <<_ACEOF
        !          3832: #line $LINENO "configure"
        !          3833: /* confdefs.h.  */
        !          3834: _ACEOF
        !          3835: cat confdefs.h >>conftest.$ac_ext
        !          3836: cat >>conftest.$ac_ext <<_ACEOF
        !          3837: /* end confdefs.h.  */
1.1       root     3838: 
1.1.1.4 ! root     3839: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3840: #ifdef __cplusplus
        !          3841: extern "C"
        !          3842: #endif
        !          3843: /* We use char because int might match the return type of a gcc2
        !          3844:    builtin and then its argument prototype would still apply.  */
        !          3845: char strerror ();
        !          3846: int
        !          3847: main ()
        !          3848: {
        !          3849: strerror ();
        !          3850:   ;
        !          3851:   return 0;
        !          3852: }
        !          3853: _ACEOF
        !          3854: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3855: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3856:   (eval $ac_link) 2>&5
        !          3857:   ac_status=$?
        !          3858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3859:   (exit $ac_status); } &&
        !          3860:          { ac_try='test -s conftest$ac_exeext'
        !          3861:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3862:   (eval $ac_try) 2>&5
        !          3863:   ac_status=$?
        !          3864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3865:   (exit $ac_status); }; }; then
        !          3866:   ac_cv_lib_cposix_strerror=yes
1.1       root     3867: else
1.1.1.4 ! root     3868:   echo "$as_me: failed program was:" >&5
        !          3869: sed 's/^/| /' conftest.$ac_ext >&5
        !          3870: 
        !          3871: ac_cv_lib_cposix_strerror=no
1.1       root     3872: fi
1.1.1.4 ! root     3873: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3874: LIBS=$ac_check_lib_save_LIBS
        !          3875: fi
        !          3876: echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
        !          3877: echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
        !          3878: if test $ac_cv_lib_cposix_strerror = yes; then
        !          3879:   LIBS="$LIBS -lcposix"
        !          3880: fi
        !          3881: 
        !          3882: 
1.1       root     3883: 
                   3884:   # Find a good install program.  We prefer a C program (faster),
                   3885: # so one script is as good as another.  But avoid the broken or
                   3886: # incompatible versions:
                   3887: # SysV /etc/install, /usr/sbin/install
                   3888: # SunOS /usr/etc/install
                   3889: # IRIX /sbin/install
                   3890: # AIX /bin/install
1.1.1.3   root     3891: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       root     3892: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3893: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3894: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   3895: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.4 ! root     3896: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          3897: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       root     3898: if test -z "$INSTALL"; then
1.1.1.3   root     3899: if test "${ac_cv_path_install+set}" = set; then
                   3900:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3901: else
1.1.1.4 ! root     3902:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3903: for as_dir in $PATH
        !          3904: do
        !          3905:   IFS=$as_save_IFS
        !          3906:   test -z "$as_dir" && as_dir=.
        !          3907:   # Account for people who put trailing slashes in PATH elements.
        !          3908: case $as_dir/ in
        !          3909:   ./ | .// | /cC/* | \
        !          3910:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
        !          3911:   /usr/ucb/* ) ;;
        !          3912:   *)
        !          3913:     # OSF1 and SCO ODT 3.0 have their own names for install.
        !          3914:     # Don't use installbsd from OSF since it installs stuff as root
        !          3915:     # by default.
        !          3916:     for ac_prog in ginstall scoinst install; do
        !          3917:       for ac_exec_ext in '' $ac_executable_extensions; do
        !          3918:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
        !          3919:           if test $ac_prog = install &&
        !          3920:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3921:             # AIX install.  It has an incompatible calling convention.
        !          3922:             :
        !          3923:           elif test $ac_prog = install &&
        !          3924:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          3925:             # program-specific install script used by HP pwplus--don't use.
        !          3926:             :
        !          3927:           else
        !          3928:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          3929:             break 3
        !          3930:           fi
        !          3931:         fi
1.1       root     3932:       done
1.1.1.4 ! root     3933:     done
        !          3934:     ;;
        !          3935: esac
        !          3936: done
        !          3937: 
1.1       root     3938: 
                   3939: fi
                   3940:   if test "${ac_cv_path_install+set}" = set; then
1.1.1.3   root     3941:     INSTALL=$ac_cv_path_install
1.1       root     3942:   else
                   3943:     # As a last resort, use the slow shell script.  We don't cache a
                   3944:     # path for INSTALL within a source directory, because that will
                   3945:     # break other packages using the cache if that directory is
                   3946:     # removed, or if the path is relative.
1.1.1.3   root     3947:     INSTALL=$ac_install_sh
1.1       root     3948:   fi
                   3949: fi
1.1.1.4 ! root     3950: echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1.1.3   root     3951: echo "${ECHO_T}$INSTALL" >&6
1.1       root     3952: 
                   3953: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3954: # It thinks the first close brace ends the variable substitution.
                   3955: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3956: 
1.1.1.3   root     3957: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       root     3958: 
                   3959: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3960: 
1.1.1.4 ! root     3961:   echo "$as_me:$LINENO: checking return type of signal handlers" >&5
1.1.1.3   root     3962: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
                   3963: if test "${ac_cv_type_signal+set}" = set; then
                   3964:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3965: else
1.1.1.3   root     3966:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     3967: #line $LINENO "configure"
        !          3968: /* confdefs.h.  */
        !          3969: _ACEOF
        !          3970: cat confdefs.h >>conftest.$ac_ext
        !          3971: cat >>conftest.$ac_ext <<_ACEOF
        !          3972: /* end confdefs.h.  */
1.1       root     3973: #include <sys/types.h>
                   3974: #include <signal.h>
                   3975: #ifdef signal
1.1.1.3   root     3976: # undef signal
1.1       root     3977: #endif
                   3978: #ifdef __cplusplus
                   3979: extern "C" void (*signal (int, void (*)(int)))(int);
                   3980: #else
                   3981: void (*signal ()) ();
                   3982: #endif
                   3983: 
1.1.1.3   root     3984: int
                   3985: main ()
                   3986: {
1.1       root     3987: int i;
1.1.1.3   root     3988:   ;
                   3989:   return 0;
                   3990: }
                   3991: _ACEOF
                   3992: rm -f conftest.$ac_objext
1.1.1.4 ! root     3993: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     3994:   (eval $ac_compile) 2>&5
                   3995:   ac_status=$?
1.1.1.4 ! root     3996:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     3997:   (exit $ac_status); } &&
                   3998:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     3999:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4000:   (eval $ac_try) 2>&5
                   4001:   ac_status=$?
1.1.1.4 ! root     4002:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4003:   (exit $ac_status); }; }; then
1.1       root     4004:   ac_cv_type_signal=void
                   4005: else
1.1.1.3   root     4006:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4007: sed 's/^/| /' conftest.$ac_ext >&5
        !          4008: 
1.1.1.3   root     4009: ac_cv_type_signal=int
1.1       root     4010: fi
1.1.1.3   root     4011: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     4012: fi
1.1.1.4 ! root     4013: echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
1.1.1.3   root     4014: echo "${ECHO_T}$ac_cv_type_signal" >&6
1.1       root     4015: 
1.1.1.4 ! root     4016: cat >>confdefs.h <<_ACEOF
1.1       root     4017: #define RETSIGTYPE $ac_cv_type_signal
1.1.1.4 ! root     4018: _ACEOF
        !          4019: 
        !          4020: 
        !          4021: 
1.1       root     4022: 
1.1.1.3   root     4023:   ac_ext=c
                   4024: ac_cpp='$CPP $CPPFLAGS'
                   4025: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4026: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4027: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.4 ! root     4028: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.1.1.3   root     4029: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       root     4030: # On Suns, sometimes $CPP names a directory.
                   4031: if test -n "$CPP" && test -d "$CPP"; then
                   4032:   CPP=
                   4033: fi
                   4034: if test -z "$CPP"; then
1.1.1.3   root     4035:   if test "${ac_cv_prog_CPP+set}" = set; then
                   4036:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4037: else
1.1.1.3   root     4038:       # Double quotes because CPP needs to be expanded
                   4039:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4040:     do
                   4041:       ac_preproc_ok=false
                   4042: for ac_c_preproc_warn_flag in '' yes
                   4043: do
                   4044:   # Use a header file that comes with gcc, so configuring glibc
                   4045:   # with a fresh cross-compiler works.
1.1.1.4 ! root     4046:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4047:   # <limits.h> exists even on freestanding compilers.
1.1       root     4048:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.1.1.3   root     4049:   # not just through cpp. "Syntax error" is here to catch this case.
                   4050:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4051: #line $LINENO "configure"
        !          4052: /* confdefs.h.  */
        !          4053: _ACEOF
        !          4054: cat confdefs.h >>conftest.$ac_ext
        !          4055: cat >>conftest.$ac_ext <<_ACEOF
        !          4056: /* end confdefs.h.  */
        !          4057: #ifdef __STDC__
        !          4058: # include <limits.h>
        !          4059: #else
        !          4060: # include <assert.h>
        !          4061: #endif
1.1.1.3   root     4062:                      Syntax error
                   4063: _ACEOF
1.1.1.4 ! root     4064: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     4065:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4066:   ac_status=$?
1.1.1.4 ! root     4067:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     4068:   rm -f conftest.er1
                   4069:   cat conftest.err >&5
1.1.1.4 ! root     4070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4071:   (exit $ac_status); } >/dev/null; then
                   4072:   if test -s conftest.err; then
                   4073:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4074:   else
                   4075:     ac_cpp_err=
                   4076:   fi
                   4077: else
                   4078:   ac_cpp_err=yes
                   4079: fi
                   4080: if test -z "$ac_cpp_err"; then
1.1       root     4081:   :
                   4082: else
1.1.1.3   root     4083:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4084: sed 's/^/| /' conftest.$ac_ext >&5
        !          4085: 
1.1.1.3   root     4086:   # Broken: fails on valid input.
                   4087: continue
                   4088: fi
                   4089: rm -f conftest.err conftest.$ac_ext
                   4090: 
                   4091:   # OK, works on sane cases.  Now check whether non-existent headers
                   4092:   # can be detected and how.
                   4093:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4094: #line $LINENO "configure"
        !          4095: /* confdefs.h.  */
        !          4096: _ACEOF
        !          4097: cat confdefs.h >>conftest.$ac_ext
        !          4098: cat >>conftest.$ac_ext <<_ACEOF
        !          4099: /* end confdefs.h.  */
1.1.1.3   root     4100: #include <ac_nonexistent.h>
                   4101: _ACEOF
1.1.1.4 ! root     4102: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     4103:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4104:   ac_status=$?
1.1.1.4 ! root     4105:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     4106:   rm -f conftest.er1
                   4107:   cat conftest.err >&5
1.1.1.4 ! root     4108:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4109:   (exit $ac_status); } >/dev/null; then
                   4110:   if test -s conftest.err; then
                   4111:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4112:   else
                   4113:     ac_cpp_err=
                   4114:   fi
                   4115: else
                   4116:   ac_cpp_err=yes
                   4117: fi
                   4118: if test -z "$ac_cpp_err"; then
                   4119:   # Broken: success on invalid input.
                   4120: continue
1.1       root     4121: else
1.1.1.3   root     4122:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4123: sed 's/^/| /' conftest.$ac_ext >&5
        !          4124: 
1.1.1.3   root     4125:   # Passes both tests.
                   4126: ac_preproc_ok=:
                   4127: break
                   4128: fi
                   4129: rm -f conftest.err conftest.$ac_ext
                   4130: 
                   4131: done
                   4132: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4133: rm -f conftest.err conftest.$ac_ext
                   4134: if $ac_preproc_ok; then
                   4135:   break
                   4136: fi
                   4137: 
                   4138:     done
                   4139:     ac_cv_prog_CPP=$CPP
                   4140: 
                   4141: fi
                   4142:   CPP=$ac_cv_prog_CPP
                   4143: else
                   4144:   ac_cv_prog_CPP=$CPP
                   4145: fi
1.1.1.4 ! root     4146: echo "$as_me:$LINENO: result: $CPP" >&5
1.1.1.3   root     4147: echo "${ECHO_T}$CPP" >&6
                   4148: ac_preproc_ok=false
                   4149: for ac_c_preproc_warn_flag in '' yes
                   4150: do
                   4151:   # Use a header file that comes with gcc, so configuring glibc
                   4152:   # with a fresh cross-compiler works.
1.1.1.4 ! root     4153:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4154:   # <limits.h> exists even on freestanding compilers.
1.1.1.3   root     4155:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4156:   # not just through cpp. "Syntax error" is here to catch this case.
                   4157:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4158: #line $LINENO "configure"
        !          4159: /* confdefs.h.  */
        !          4160: _ACEOF
        !          4161: cat confdefs.h >>conftest.$ac_ext
        !          4162: cat >>conftest.$ac_ext <<_ACEOF
        !          4163: /* end confdefs.h.  */
        !          4164: #ifdef __STDC__
        !          4165: # include <limits.h>
        !          4166: #else
        !          4167: # include <assert.h>
        !          4168: #endif
1.1.1.3   root     4169:                      Syntax error
                   4170: _ACEOF
1.1.1.4 ! root     4171: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     4172:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4173:   ac_status=$?
1.1.1.4 ! root     4174:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     4175:   rm -f conftest.er1
                   4176:   cat conftest.err >&5
1.1.1.4 ! root     4177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4178:   (exit $ac_status); } >/dev/null; then
                   4179:   if test -s conftest.err; then
                   4180:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4181:   else
                   4182:     ac_cpp_err=
                   4183:   fi
                   4184: else
                   4185:   ac_cpp_err=yes
                   4186: fi
                   4187: if test -z "$ac_cpp_err"; then
1.1       root     4188:   :
                   4189: else
1.1.1.3   root     4190:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4191: sed 's/^/| /' conftest.$ac_ext >&5
        !          4192: 
1.1.1.3   root     4193:   # Broken: fails on valid input.
                   4194: continue
1.1       root     4195: fi
1.1.1.3   root     4196: rm -f conftest.err conftest.$ac_ext
                   4197: 
                   4198:   # OK, works on sane cases.  Now check whether non-existent headers
                   4199:   # can be detected and how.
                   4200:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4201: #line $LINENO "configure"
        !          4202: /* confdefs.h.  */
        !          4203: _ACEOF
        !          4204: cat confdefs.h >>conftest.$ac_ext
        !          4205: cat >>conftest.$ac_ext <<_ACEOF
        !          4206: /* end confdefs.h.  */
1.1.1.3   root     4207: #include <ac_nonexistent.h>
                   4208: _ACEOF
1.1.1.4 ! root     4209: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     4210:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   4211:   ac_status=$?
1.1.1.4 ! root     4212:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     4213:   rm -f conftest.er1
                   4214:   cat conftest.err >&5
1.1.1.4 ! root     4215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4216:   (exit $ac_status); } >/dev/null; then
                   4217:   if test -s conftest.err; then
                   4218:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4219:   else
                   4220:     ac_cpp_err=
                   4221:   fi
                   4222: else
                   4223:   ac_cpp_err=yes
1.1       root     4224: fi
1.1.1.3   root     4225: if test -z "$ac_cpp_err"; then
                   4226:   # Broken: success on invalid input.
                   4227: continue
                   4228: else
                   4229:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4230: sed 's/^/| /' conftest.$ac_ext >&5
        !          4231: 
1.1.1.3   root     4232:   # Passes both tests.
                   4233: ac_preproc_ok=:
                   4234: break
1.1       root     4235: fi
1.1.1.3   root     4236: rm -f conftest.err conftest.$ac_ext
                   4237: 
                   4238: done
                   4239: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4240: rm -f conftest.err conftest.$ac_ext
                   4241: if $ac_preproc_ok; then
                   4242:   :
1.1       root     4243: else
1.1.1.4 ! root     4244:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
        !          4245: See \`config.log' for more details." >&5
        !          4246: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
        !          4247: See \`config.log' for more details." >&2;}
1.1.1.3   root     4248:    { (exit 1); exit 1; }; }
1.1       root     4249: fi
                   4250: 
1.1.1.3   root     4251: ac_ext=c
                   4252: ac_cpp='$CPP $CPPFLAGS'
                   4253: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4254: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4255: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4256: 
1.1.1.4 ! root     4257: 
        !          4258: echo "$as_me:$LINENO: checking for egrep" >&5
        !          4259: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
        !          4260: if test "${ac_cv_prog_egrep+set}" = set; then
        !          4261:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4262: else
        !          4263:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
        !          4264:     then ac_cv_prog_egrep='grep -E'
        !          4265:     else ac_cv_prog_egrep='egrep'
        !          4266:     fi
        !          4267: fi
        !          4268: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
        !          4269: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
        !          4270:  EGREP=$ac_cv_prog_egrep
        !          4271: 
        !          4272: 
        !          4273: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.1.1.3   root     4274: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4275: if test "${ac_cv_header_stdc+set}" = set; then
                   4276:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4277: else
1.1.1.3   root     4278:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4279: #line $LINENO "configure"
        !          4280: /* confdefs.h.  */
        !          4281: _ACEOF
        !          4282: cat confdefs.h >>conftest.$ac_ext
        !          4283: cat >>conftest.$ac_ext <<_ACEOF
        !          4284: /* end confdefs.h.  */
1.1       root     4285: #include <stdlib.h>
                   4286: #include <stdarg.h>
                   4287: #include <string.h>
                   4288: #include <float.h>
1.1.1.3   root     4289: 
1.1.1.4 ! root     4290: int
        !          4291: main ()
        !          4292: {
        !          4293: 
        !          4294:   ;
        !          4295:   return 0;
        !          4296: }
1.1.1.3   root     4297: _ACEOF
1.1.1.4 ! root     4298: rm -f conftest.$ac_objext
        !          4299: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          4300:   (eval $ac_compile) 2>&5
1.1.1.3   root     4301:   ac_status=$?
1.1.1.4 ! root     4302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4303:   (exit $ac_status); } &&
        !          4304:          { ac_try='test -s conftest.$ac_objext'
        !          4305:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4306:   (eval $ac_try) 2>&5
        !          4307:   ac_status=$?
        !          4308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4309:   (exit $ac_status); }; }; then
1.1.1.3   root     4310:   ac_cv_header_stdc=yes
                   4311: else
                   4312:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4313: sed 's/^/| /' conftest.$ac_ext >&5
        !          4314: 
        !          4315: ac_cv_header_stdc=no
1.1       root     4316: fi
1.1.1.4 ! root     4317: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     4318: 
                   4319: if test $ac_cv_header_stdc = yes; then
                   4320:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.3   root     4321:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4322: #line $LINENO "configure"
        !          4323: /* confdefs.h.  */
        !          4324: _ACEOF
        !          4325: cat confdefs.h >>conftest.$ac_ext
        !          4326: cat >>conftest.$ac_ext <<_ACEOF
        !          4327: /* end confdefs.h.  */
1.1       root     4328: #include <string.h>
1.1.1.3   root     4329: 
                   4330: _ACEOF
1.1       root     4331: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.4 ! root     4332:   $EGREP "memchr" >/dev/null 2>&1; then
1.1       root     4333:   :
                   4334: else
                   4335:   ac_cv_header_stdc=no
                   4336: fi
                   4337: rm -f conftest*
                   4338: 
                   4339: fi
                   4340: 
                   4341: if test $ac_cv_header_stdc = yes; then
                   4342:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.3   root     4343:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4344: #line $LINENO "configure"
        !          4345: /* confdefs.h.  */
        !          4346: _ACEOF
        !          4347: cat confdefs.h >>conftest.$ac_ext
        !          4348: cat >>conftest.$ac_ext <<_ACEOF
        !          4349: /* end confdefs.h.  */
1.1       root     4350: #include <stdlib.h>
1.1.1.3   root     4351: 
                   4352: _ACEOF
1.1       root     4353: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.4 ! root     4354:   $EGREP "free" >/dev/null 2>&1; then
1.1       root     4355:   :
                   4356: else
                   4357:   ac_cv_header_stdc=no
                   4358: fi
                   4359: rm -f conftest*
                   4360: 
                   4361: fi
                   4362: 
                   4363: if test $ac_cv_header_stdc = yes; then
                   4364:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.3   root     4365:   if test "$cross_compiling" = yes; then
1.1       root     4366:   :
                   4367: else
1.1.1.3   root     4368:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4369: #line $LINENO "configure"
        !          4370: /* confdefs.h.  */
        !          4371: _ACEOF
        !          4372: cat confdefs.h >>conftest.$ac_ext
        !          4373: cat >>conftest.$ac_ext <<_ACEOF
        !          4374: /* end confdefs.h.  */
1.1       root     4375: #include <ctype.h>
1.1.1.3   root     4376: #if ((' ' & 0x0FF) == 0x020)
                   4377: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4378: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4379: #else
1.1.1.4 ! root     4380: # define ISLOWER(c) \
        !          4381:                    (('a' <= (c) && (c) <= 'i') \
1.1.1.3   root     4382:                      || ('j' <= (c) && (c) <= 'r') \
                   4383:                      || ('s' <= (c) && (c) <= 'z'))
                   4384: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4385: #endif
1.1       root     4386: 
1.1.1.3   root     4387: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4388: int
                   4389: main ()
                   4390: {
                   4391:   int i;
                   4392:   for (i = 0; i < 256; i++)
                   4393:     if (XOR (islower (i), ISLOWER (i))
                   4394:         || toupper (i) != TOUPPER (i))
                   4395:       exit(2);
                   4396:   exit (0);
                   4397: }
                   4398: _ACEOF
                   4399: rm -f conftest$ac_exeext
1.1.1.4 ! root     4400: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     4401:   (eval $ac_link) 2>&5
                   4402:   ac_status=$?
1.1.1.4 ! root     4403:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4404:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     4405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4406:   (eval $ac_try) 2>&5
                   4407:   ac_status=$?
1.1.1.4 ! root     4408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4409:   (exit $ac_status); }; }; then
1.1       root     4410:   :
                   4411: else
1.1.1.3   root     4412:   echo "$as_me: program exited with status $ac_status" >&5
                   4413: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4414: sed 's/^/| /' conftest.$ac_ext >&5
        !          4415: 
        !          4416: ( exit $ac_status )
1.1.1.3   root     4417: ac_cv_header_stdc=no
1.1       root     4418: fi
1.1.1.4 ! root     4419: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     4420: fi
                   4421: fi
                   4422: fi
1.1.1.4 ! root     4423: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.1.1.3   root     4424: echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.1       root     4425: if test $ac_cv_header_stdc = yes; then
1.1.1.3   root     4426: 
1.1.1.4 ! root     4427: cat >>confdefs.h <<\_ACEOF
1.1       root     4428: #define STDC_HEADERS 1
1.1.1.4 ! root     4429: _ACEOF
1.1       root     4430: 
                   4431: fi
                   4432: 
1.1.1.4 ! root     4433: 
        !          4434: 
1.1.1.3   root     4435:   if [ "x$MY_PROG" = "xgenerator-gtk" ]; then
                   4436:     MY_SUBDIRS="glade gtkopts $MY_SUBDIRS"
                   4437: 
                   4438: # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
                   4439: if test "${with_gtk_prefix+set}" = set; then
                   4440:   withval="$with_gtk_prefix"
                   4441:   gtk_config_prefix="$withval"
                   4442: else
                   4443:   gtk_config_prefix=""
                   4444: fi;
                   4445: 
                   4446: # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
                   4447: if test "${with_gtk_exec_prefix+set}" = set; then
                   4448:   withval="$with_gtk_exec_prefix"
                   4449:   gtk_config_exec_prefix="$withval"
                   4450: else
                   4451:   gtk_config_exec_prefix=""
                   4452: fi;
                   4453: # Check whether --enable-gtktest or --disable-gtktest was given.
                   4454: if test "${enable_gtktest+set}" = set; then
                   4455:   enableval="$enable_gtktest"
                   4456: 
                   4457: else
                   4458:   enable_gtktest=yes
                   4459: fi;
                   4460: 
                   4461:   for module in .
                   4462:   do
                   4463:       case "$module" in
                   4464:          gthread)
                   4465:              gtk_config_args="$gtk_config_args gthread"
                   4466:          ;;
                   4467:       esac
                   4468:   done
                   4469: 
                   4470:   if test x$gtk_config_exec_prefix != x ; then
                   4471:      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
                   4472:      if test x${GTK_CONFIG+set} != xset ; then
                   4473:         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
                   4474:      fi
                   4475:   fi
                   4476:   if test x$gtk_config_prefix != x ; then
                   4477:      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
                   4478:      if test x${GTK_CONFIG+set} != xset ; then
                   4479:         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
                   4480:      fi
                   4481:   fi
                   4482: 
                   4483:   # Extract the first word of "gtk-config", so it can be a program name with args.
                   4484: set dummy gtk-config; ac_word=$2
1.1.1.4 ! root     4485: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     4486: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4487: if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
                   4488:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4489: else
                   4490:   case $GTK_CONFIG in
                   4491:   [\\/]* | ?:[\\/]*)
                   4492:   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
                   4493:   ;;
                   4494:   *)
1.1.1.4 ! root     4495:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4496: for as_dir in $PATH
        !          4497: do
        !          4498:   IFS=$as_save_IFS
        !          4499:   test -z "$as_dir" && as_dir=.
        !          4500:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          4501:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4502:     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          4503:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4504:     break 2
        !          4505:   fi
        !          4506: done
1.1.1.3   root     4507: done
                   4508: 
                   4509:   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
                   4510:   ;;
                   4511: esac
                   4512: fi
                   4513: GTK_CONFIG=$ac_cv_path_GTK_CONFIG
                   4514: 
                   4515: if test -n "$GTK_CONFIG"; then
1.1.1.4 ! root     4516:   echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
1.1.1.3   root     4517: echo "${ECHO_T}$GTK_CONFIG" >&6
                   4518: else
1.1.1.4 ! root     4519:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     4520: echo "${ECHO_T}no" >&6
                   4521: fi
                   4522: 
                   4523:   min_gtk_version=1.2.0
1.1.1.4 ! root     4524:   echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
1.1.1.3   root     4525: echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
                   4526:   no_gtk=""
                   4527:   if test "$GTK_CONFIG" = "no" ; then
                   4528:     no_gtk=yes
                   4529:   else
                   4530:     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
                   4531:     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
                   4532:     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
                   4533:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
                   4534:     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
                   4535:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
                   4536:     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
                   4537:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
                   4538:     if test "x$enable_gtktest" = "xyes" ; then
                   4539:       ac_save_CFLAGS="$CFLAGS"
                   4540:       ac_save_LIBS="$LIBS"
                   4541:       CFLAGS="$CFLAGS $GTK_CFLAGS"
                   4542:       LIBS="$GTK_LIBS $LIBS"
                   4543:       rm -f conf.gtktest
                   4544:       if test "$cross_compiling" = yes; then
                   4545:   echo $ac_n "cross compiling; assumed OK... $ac_c"
                   4546: else
                   4547:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4548: #line $LINENO "configure"
        !          4549: /* confdefs.h.  */
        !          4550: _ACEOF
        !          4551: cat confdefs.h >>conftest.$ac_ext
        !          4552: cat >>conftest.$ac_ext <<_ACEOF
        !          4553: /* end confdefs.h.  */
1.1.1.3   root     4554: 
                   4555: #include <gtk/gtk.h>
                   4556: #include <stdio.h>
                   4557: #include <stdlib.h>
                   4558: 
                   4559: int
                   4560: main ()
                   4561: {
                   4562:   int major, minor, micro;
                   4563:   char *tmp_version;
                   4564: 
                   4565:   system ("touch conf.gtktest");
                   4566: 
                   4567:   /* HP/UX 9 (%@#!) writes to sscanf strings */
                   4568:   tmp_version = g_strdup("$min_gtk_version");
                   4569:   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
                   4570:      printf("%s, bad version string\n", "$min_gtk_version");
                   4571:      exit(1);
                   4572:    }
                   4573: 
                   4574:   if ((gtk_major_version != $gtk_config_major_version) ||
                   4575:       (gtk_minor_version != $gtk_config_minor_version) ||
                   4576:       (gtk_micro_version != $gtk_config_micro_version))
                   4577:     {
                   4578:       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
                   4579:              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
                   4580:              gtk_major_version, gtk_minor_version, gtk_micro_version);
                   4581:       printf ("*** was found! If gtk-config was correct, then it is best\n");
                   4582:       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
                   4583:       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
                   4584:       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
                   4585:       printf("*** required on your system.\n");
                   4586:       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
                   4587:       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
                   4588:       printf("*** before re-running configure\n");
                   4589:     }
                   4590: #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
                   4591:   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
                   4592:           (gtk_minor_version != GTK_MINOR_VERSION) ||
                   4593:            (gtk_micro_version != GTK_MICRO_VERSION))
                   4594:     {
                   4595:       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
                   4596:             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
                   4597:       printf("*** library (version %d.%d.%d)\n",
                   4598:             gtk_major_version, gtk_minor_version, gtk_micro_version);
                   4599:     }
                   4600: #endif /* defined (GTK_MAJOR_VERSION) ... */
                   4601:   else
                   4602:     {
                   4603:       if ((gtk_major_version > major) ||
                   4604:         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
                   4605:         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
                   4606:       {
                   4607:         return 0;
                   4608:        }
                   4609:      else
                   4610:       {
                   4611:         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
                   4612:                gtk_major_version, gtk_minor_version, gtk_micro_version);
                   4613:         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
                   4614:               major, minor, micro);
                   4615:         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
                   4616:         printf("***\n");
                   4617:         printf("*** If you have already installed a sufficiently new version, this error\n");
                   4618:         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
                   4619:         printf("*** being found. The easiest way to fix this is to remove the old version\n");
                   4620:         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
                   4621:         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
                   4622:         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
                   4623:         printf("*** so that the correct libraries are found at run-time))\n");
                   4624:       }
                   4625:     }
                   4626:   return 1;
                   4627: }
                   4628: 
                   4629: _ACEOF
                   4630: rm -f conftest$ac_exeext
1.1.1.4 ! root     4631: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     4632:   (eval $ac_link) 2>&5
                   4633:   ac_status=$?
1.1.1.4 ! root     4634:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4635:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     4636:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4637:   (eval $ac_try) 2>&5
                   4638:   ac_status=$?
1.1.1.4 ! root     4639:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4640:   (exit $ac_status); }; }; then
                   4641:   :
                   4642: else
                   4643:   echo "$as_me: program exited with status $ac_status" >&5
                   4644: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4645: sed 's/^/| /' conftest.$ac_ext >&5
        !          4646: 
        !          4647: ( exit $ac_status )
1.1.1.3   root     4648: no_gtk=yes
                   4649: fi
1.1.1.4 ! root     4650: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     4651: fi
                   4652:        CFLAGS="$ac_save_CFLAGS"
                   4653:        LIBS="$ac_save_LIBS"
                   4654:      fi
                   4655:   fi
                   4656:   if test "x$no_gtk" = x ; then
1.1.1.4 ! root     4657:      echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     4658: echo "${ECHO_T}yes" >&6
                   4659:      :
                   4660:   else
1.1.1.4 ! root     4661:      echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     4662: echo "${ECHO_T}no" >&6
                   4663:      if test "$GTK_CONFIG" = "no" ; then
                   4664:        echo "*** The gtk-config script installed by GTK could not be found"
                   4665:        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
                   4666:        echo "*** your path, or set the GTK_CONFIG environment variable to the"
                   4667:        echo "*** full path to gtk-config."
                   4668:      else
                   4669:        if test -f conf.gtktest ; then
                   4670:         :
                   4671:        else
                   4672:           echo "*** Could not run GTK test program, checking why..."
                   4673:           CFLAGS="$CFLAGS $GTK_CFLAGS"
                   4674:           LIBS="$LIBS $GTK_LIBS"
                   4675:           cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4676: #line $LINENO "configure"
        !          4677: /* confdefs.h.  */
        !          4678: _ACEOF
        !          4679: cat confdefs.h >>conftest.$ac_ext
        !          4680: cat >>conftest.$ac_ext <<_ACEOF
        !          4681: /* end confdefs.h.  */
1.1.1.3   root     4682: 
                   4683: #include <gtk/gtk.h>
                   4684: #include <stdio.h>
                   4685: 
                   4686: int
                   4687: main ()
                   4688: {
                   4689:  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
                   4690:   ;
                   4691:   return 0;
                   4692: }
                   4693: _ACEOF
                   4694: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.4 ! root     4695: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     4696:   (eval $ac_link) 2>&5
                   4697:   ac_status=$?
1.1.1.4 ! root     4698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4699:   (exit $ac_status); } &&
                   4700:          { ac_try='test -s conftest$ac_exeext'
1.1.1.4 ! root     4701:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4702:   (eval $ac_try) 2>&5
                   4703:   ac_status=$?
1.1.1.4 ! root     4704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4705:   (exit $ac_status); }; }; then
                   4706:    echo "*** The test program compiled, but did not run. This usually means"
                   4707:           echo "*** that the run-time linker is not finding GTK or finding the wrong"
                   4708:           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
                   4709:           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
                   4710:           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
                   4711:           echo "*** is required on your system"
                   4712:          echo "***"
                   4713:           echo "*** If you have an old version installed, it is best to remove it, although"
                   4714:           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
                   4715:           echo "***"
                   4716:           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
                   4717:           echo "*** came with the system with the command"
                   4718:           echo "***"
                   4719:           echo "***    rpm --erase --nodeps gtk gtk-devel"
                   4720: else
                   4721:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4722: sed 's/^/| /' conftest.$ac_ext >&5
        !          4723: 
1.1.1.3   root     4724:  echo "*** The test program failed to compile or link. See the file config.log for the"
                   4725:           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
                   4726:           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
                   4727:           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
                   4728: fi
                   4729: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4730:           CFLAGS="$ac_save_CFLAGS"
                   4731:           LIBS="$ac_save_LIBS"
                   4732:        fi
                   4733:      fi
                   4734:      GTK_CFLAGS=""
                   4735:      GTK_LIBS=""
1.1.1.4 ! root     4736:      { { echo "$as_me:$LINENO: error: Generator needs gtk 1.2.0 or later" >&5
1.1.1.3   root     4737: echo "$as_me: error: Generator needs gtk 1.2.0 or later" >&2;}
                   4738:    { (exit 1); exit 1; }; }
                   4739:   fi
                   4740: 
1.1.1.4 ! root     4741: 
1.1.1.3   root     4742:   rm -f conf.gtktest
                   4743: 
1.1.1.4 ! root     4744: 
1.1.1.3   root     4745: # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
                   4746: if test "${with_sdl_prefix+set}" = set; then
                   4747:   withval="$with_sdl_prefix"
                   4748:   sdl_prefix="$withval"
                   4749: else
                   4750:   sdl_prefix=""
                   4751: fi;
                   4752: 
                   4753: # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
                   4754: if test "${with_sdl_exec_prefix+set}" = set; then
                   4755:   withval="$with_sdl_exec_prefix"
                   4756:   sdl_exec_prefix="$withval"
                   4757: else
                   4758:   sdl_exec_prefix=""
                   4759: fi;
                   4760: # Check whether --enable-sdltest or --disable-sdltest was given.
                   4761: if test "${enable_sdltest+set}" = set; then
                   4762:   enableval="$enable_sdltest"
                   4763: 
                   4764: else
                   4765:   enable_sdltest=yes
                   4766: fi;
                   4767: 
                   4768:   if test x$sdl_exec_prefix != x ; then
                   4769:      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
                   4770:      if test x${SDL_CONFIG+set} != xset ; then
                   4771:         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
                   4772:      fi
                   4773:   fi
                   4774:   if test x$sdl_prefix != x ; then
                   4775:      sdl_args="$sdl_args --prefix=$sdl_prefix"
                   4776:      if test x${SDL_CONFIG+set} != xset ; then
                   4777:         SDL_CONFIG=$sdl_prefix/bin/sdl-config
                   4778:      fi
                   4779:   fi
                   4780: 
1.1.1.4 ! root     4781: 
1.1.1.3   root     4782:   # Extract the first word of "sdl-config", so it can be a program name with args.
                   4783: set dummy sdl-config; ac_word=$2
1.1.1.4 ! root     4784: echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1.1.3   root     4785: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4786: if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
                   4787:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4788: else
                   4789:   case $SDL_CONFIG in
                   4790:   [\\/]* | ?:[\\/]*)
                   4791:   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
                   4792:   ;;
                   4793:   *)
1.1.1.4 ! root     4794:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4795: for as_dir in $PATH
        !          4796: do
        !          4797:   IFS=$as_save_IFS
        !          4798:   test -z "$as_dir" && as_dir=.
        !          4799:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          4800:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4801:     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          4802:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4803:     break 2
        !          4804:   fi
        !          4805: done
1.1.1.3   root     4806: done
                   4807: 
                   4808:   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
                   4809:   ;;
                   4810: esac
                   4811: fi
                   4812: SDL_CONFIG=$ac_cv_path_SDL_CONFIG
                   4813: 
                   4814: if test -n "$SDL_CONFIG"; then
1.1.1.4 ! root     4815:   echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
1.1.1.3   root     4816: echo "${ECHO_T}$SDL_CONFIG" >&6
                   4817: else
1.1.1.4 ! root     4818:   echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     4819: echo "${ECHO_T}no" >&6
                   4820: fi
                   4821: 
                   4822:   min_sdl_version=1.1.0
1.1.1.4 ! root     4823:   echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
1.1.1.3   root     4824: echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
                   4825:   no_sdl=""
                   4826:   if test "$SDL_CONFIG" = "no" ; then
                   4827:     no_sdl=yes
                   4828:   else
                   4829:     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
                   4830:     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
                   4831: 
                   4832:     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
                   4833:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
                   4834:     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
                   4835:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
                   4836:     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
                   4837:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
                   4838:     if test "x$enable_sdltest" = "xyes" ; then
                   4839:       ac_save_CFLAGS="$CFLAGS"
                   4840:       ac_save_LIBS="$LIBS"
                   4841:       CFLAGS="$CFLAGS $SDL_CFLAGS"
                   4842:       LIBS="$LIBS $SDL_LIBS"
                   4843:       rm -f conf.sdltest
                   4844:       if test "$cross_compiling" = yes; then
                   4845:   echo $ac_n "cross compiling; assumed OK... $ac_c"
                   4846: else
                   4847:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4848: #line $LINENO "configure"
        !          4849: /* confdefs.h.  */
        !          4850: _ACEOF
        !          4851: cat confdefs.h >>conftest.$ac_ext
        !          4852: cat >>conftest.$ac_ext <<_ACEOF
        !          4853: /* end confdefs.h.  */
1.1.1.3   root     4854: 
                   4855: #include <stdio.h>
                   4856: #include <stdlib.h>
                   4857: #include <string.h>
                   4858: #include "SDL.h"
                   4859: 
                   4860: char*
                   4861: my_strdup (char *str)
                   4862: {
                   4863:   char *new_str;
                   4864: 
                   4865:   if (str)
                   4866:     {
                   4867:       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
                   4868:       strcpy (new_str, str);
                   4869:     }
                   4870:   else
                   4871:     new_str = NULL;
                   4872: 
                   4873:   return new_str;
                   4874: }
                   4875: 
                   4876: int main (int argc, char *argv[])
                   4877: {
                   4878:   int major, minor, micro;
                   4879:   char *tmp_version;
                   4880: 
                   4881:   /* This hangs on some systems (?)
                   4882:   system ("touch conf.sdltest");
                   4883:   */
                   4884:   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
                   4885: 
                   4886:   /* HP/UX 9 (%@#!) writes to sscanf strings */
                   4887:   tmp_version = my_strdup("$min_sdl_version");
                   4888:   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
                   4889:      printf("%s, bad version string\n", "$min_sdl_version");
                   4890:      exit(1);
                   4891:    }
                   4892: 
                   4893:    if (($sdl_major_version > major) ||
                   4894:       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
                   4895:       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
                   4896:     {
                   4897:       return 0;
                   4898:     }
                   4899:   else
                   4900:     {
                   4901:       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
                   4902:       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
                   4903:       printf("*** best to upgrade to the required version.\n");
                   4904:       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
                   4905:       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
                   4906:       printf("*** config.cache before re-running configure\n");
                   4907:       return 1;
                   4908:     }
                   4909: }
                   4910: 
1.1.1.4 ! root     4911: 
1.1.1.3   root     4912: _ACEOF
                   4913: rm -f conftest$ac_exeext
1.1.1.4 ! root     4914: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     4915:   (eval $ac_link) 2>&5
                   4916:   ac_status=$?
1.1.1.4 ! root     4917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4918:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     4919:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4920:   (eval $ac_try) 2>&5
                   4921:   ac_status=$?
1.1.1.4 ! root     4922:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4923:   (exit $ac_status); }; }; then
                   4924:   :
                   4925: else
                   4926:   echo "$as_me: program exited with status $ac_status" >&5
                   4927: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     4928: sed 's/^/| /' conftest.$ac_ext >&5
        !          4929: 
        !          4930: ( exit $ac_status )
1.1.1.3   root     4931: no_sdl=yes
                   4932: fi
1.1.1.4 ! root     4933: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     4934: fi
                   4935:        CFLAGS="$ac_save_CFLAGS"
                   4936:        LIBS="$ac_save_LIBS"
                   4937:      fi
                   4938:   fi
                   4939:   if test "x$no_sdl" = x ; then
1.1.1.4 ! root     4940:      echo "$as_me:$LINENO: result: yes" >&5
1.1.1.3   root     4941: echo "${ECHO_T}yes" >&6
                   4942:      :
                   4943:   else
1.1.1.4 ! root     4944:      echo "$as_me:$LINENO: result: no" >&5
1.1.1.3   root     4945: echo "${ECHO_T}no" >&6
                   4946:      if test "$SDL_CONFIG" = "no" ; then
                   4947:        echo "*** The sdl-config script installed by SDL could not be found"
                   4948:        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
                   4949:        echo "*** your path, or set the SDL_CONFIG environment variable to the"
                   4950:        echo "*** full path to sdl-config."
                   4951:      else
                   4952:        if test -f conf.sdltest ; then
                   4953:         :
                   4954:        else
                   4955:           echo "*** Could not run SDL test program, checking why..."
                   4956:           CFLAGS="$CFLAGS $SDL_CFLAGS"
                   4957:           LIBS="$LIBS $SDL_LIBS"
                   4958:           cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     4959: #line $LINENO "configure"
        !          4960: /* confdefs.h.  */
        !          4961: _ACEOF
        !          4962: cat confdefs.h >>conftest.$ac_ext
        !          4963: cat >>conftest.$ac_ext <<_ACEOF
        !          4964: /* end confdefs.h.  */
1.1.1.3   root     4965: 
                   4966: #include <stdio.h>
                   4967: #include "SDL.h"
                   4968: 
                   4969: int main(int argc, char *argv[])
                   4970: { return 0; }
                   4971: #undef  main
                   4972: #define main K_and_R_C_main
                   4973: 
                   4974: int
                   4975: main ()
                   4976: {
                   4977:  return 0;
                   4978:   ;
                   4979:   return 0;
                   4980: }
                   4981: _ACEOF
                   4982: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.4 ! root     4983: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     4984:   (eval $ac_link) 2>&5
                   4985:   ac_status=$?
1.1.1.4 ! root     4986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4987:   (exit $ac_status); } &&
                   4988:          { ac_try='test -s conftest$ac_exeext'
1.1.1.4 ! root     4989:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     4990:   (eval $ac_try) 2>&5
                   4991:   ac_status=$?
1.1.1.4 ! root     4992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     4993:   (exit $ac_status); }; }; then
                   4994:    echo "*** The test program compiled, but did not run. This usually means"
                   4995:           echo "*** that the run-time linker is not finding SDL or finding the wrong"
                   4996:           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
                   4997:           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
                   4998:           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
                   4999:           echo "*** is required on your system"
                   5000:          echo "***"
                   5001:           echo "*** If you have an old version installed, it is best to remove it, although"
                   5002:           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
                   5003: else
                   5004:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5005: sed 's/^/| /' conftest.$ac_ext >&5
        !          5006: 
1.1.1.3   root     5007:  echo "*** The test program failed to compile or link. See the file config.log for the"
                   5008:           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
                   5009:           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
                   5010:           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
                   5011: fi
                   5012: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5013:           CFLAGS="$ac_save_CFLAGS"
                   5014:           LIBS="$ac_save_LIBS"
                   5015:        fi
                   5016:      fi
                   5017:      SDL_CFLAGS=""
                   5018:      SDL_LIBS=""
1.1.1.4 ! root     5019:      { { echo "$as_me:$LINENO: error: Generator needs sdk 1.1.0 or later" >&5
1.1.1.3   root     5020: echo "$as_me: error: Generator needs sdk 1.1.0 or later" >&2;}
                   5021:    { (exit 1); exit 1; }; }
                   5022:   fi
                   5023: 
1.1.1.4 ! root     5024: 
1.1.1.3   root     5025:   rm -f conf.sdltest
1.1       root     5026: 
1.1.1.3   root     5027:   fi
1.1       root     5028: 
1.1.1.4 ! root     5029: 
1.1       root     5030:   if [ $cross_compiling = no ]; then
1.1.1.4 ! root     5031:     echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
1.1.1.3   root     5032: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   5033: if test "${ac_cv_c_bigendian+set}" = set; then
                   5034:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5035: else
1.1.1.4 ! root     5036:   # See if sys/param.h defines the BYTE_ORDER macro.
1.1.1.3   root     5037: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5038: #line $LINENO "configure"
        !          5039: /* confdefs.h.  */
        !          5040: _ACEOF
        !          5041: cat confdefs.h >>conftest.$ac_ext
        !          5042: cat >>conftest.$ac_ext <<_ACEOF
        !          5043: /* end confdefs.h.  */
1.1       root     5044: #include <sys/types.h>
                   5045: #include <sys/param.h>
                   5046: 
1.1.1.3   root     5047: int
                   5048: main ()
                   5049: {
1.1       root     5050: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   5051:  bogus endian macros
                   5052: #endif
1.1.1.3   root     5053: 
                   5054:   ;
                   5055:   return 0;
                   5056: }
                   5057: _ACEOF
                   5058: rm -f conftest.$ac_objext
1.1.1.4 ! root     5059: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5060:   (eval $ac_compile) 2>&5
                   5061:   ac_status=$?
1.1.1.4 ! root     5062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5063:   (exit $ac_status); } &&
                   5064:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5065:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5066:   (eval $ac_try) 2>&5
                   5067:   ac_status=$?
1.1.1.4 ! root     5068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5069:   (exit $ac_status); }; }; then
1.1       root     5070:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.1.1.3   root     5071: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5072: #line $LINENO "configure"
        !          5073: /* confdefs.h.  */
        !          5074: _ACEOF
        !          5075: cat confdefs.h >>conftest.$ac_ext
        !          5076: cat >>conftest.$ac_ext <<_ACEOF
        !          5077: /* end confdefs.h.  */
1.1       root     5078: #include <sys/types.h>
                   5079: #include <sys/param.h>
                   5080: 
1.1.1.3   root     5081: int
                   5082: main ()
                   5083: {
1.1       root     5084: #if BYTE_ORDER != BIG_ENDIAN
                   5085:  not big endian
                   5086: #endif
1.1.1.3   root     5087: 
                   5088:   ;
                   5089:   return 0;
                   5090: }
                   5091: _ACEOF
                   5092: rm -f conftest.$ac_objext
1.1.1.4 ! root     5093: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5094:   (eval $ac_compile) 2>&5
                   5095:   ac_status=$?
1.1.1.4 ! root     5096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5097:   (exit $ac_status); } &&
                   5098:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5099:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5100:   (eval $ac_try) 2>&5
                   5101:   ac_status=$?
1.1.1.4 ! root     5102:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5103:   (exit $ac_status); }; }; then
1.1       root     5104:   ac_cv_c_bigendian=yes
                   5105: else
1.1.1.3   root     5106:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5107: sed 's/^/| /' conftest.$ac_ext >&5
        !          5108: 
1.1.1.3   root     5109: ac_cv_c_bigendian=no
1.1       root     5110: fi
1.1.1.3   root     5111: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5112: else
1.1.1.3   root     5113:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5114: sed 's/^/| /' conftest.$ac_ext >&5
        !          5115: 
        !          5116: # It does not; compile a test program.
        !          5117: if test "$cross_compiling" = yes; then
        !          5118:   # try to guess the endianness by grepping values into an object file
        !          5119:   ac_cv_c_bigendian=unknown
        !          5120:   cat >conftest.$ac_ext <<_ACEOF
        !          5121: #line $LINENO "configure"
        !          5122: /* confdefs.h.  */
        !          5123: _ACEOF
        !          5124: cat confdefs.h >>conftest.$ac_ext
        !          5125: cat >>conftest.$ac_ext <<_ACEOF
        !          5126: /* end confdefs.h.  */
        !          5127: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
        !          5128: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
        !          5129: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
        !          5130: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
        !          5131: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
        !          5132: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
        !          5133: int
        !          5134: main ()
        !          5135: {
        !          5136:  _ascii (); _ebcdic ();
        !          5137:   ;
        !          5138:   return 0;
        !          5139: }
        !          5140: _ACEOF
        !          5141: rm -f conftest.$ac_objext
        !          5142: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5143:   (eval $ac_compile) 2>&5
        !          5144:   ac_status=$?
        !          5145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5146:   (exit $ac_status); } &&
        !          5147:          { ac_try='test -s conftest.$ac_objext'
        !          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:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
        !          5154:   ac_cv_c_bigendian=yes
        !          5155: fi
        !          5156: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
        !          5157:   if test "$ac_cv_c_bigendian" = unknown; then
        !          5158:     ac_cv_c_bigendian=no
        !          5159:   else
        !          5160:     # finding both strings is unlikely to happen, but who knows?
        !          5161:     ac_cv_c_bigendian=unknown
        !          5162:   fi
        !          5163: fi
        !          5164: else
        !          5165:   echo "$as_me: failed program was:" >&5
        !          5166: sed 's/^/| /' conftest.$ac_ext >&5
        !          5167: 
1.1       root     5168: fi
1.1.1.3   root     5169: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5170: else
1.1.1.3   root     5171:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5172: #line $LINENO "configure"
        !          5173: /* confdefs.h.  */
        !          5174: _ACEOF
        !          5175: cat confdefs.h >>conftest.$ac_ext
        !          5176: cat >>conftest.$ac_ext <<_ACEOF
        !          5177: /* end confdefs.h.  */
1.1.1.3   root     5178: int
                   5179: main ()
                   5180: {
1.1       root     5181:   /* Are we little or big endian?  From Harbison&Steele.  */
                   5182:   union
                   5183:   {
                   5184:     long l;
                   5185:     char c[sizeof (long)];
                   5186:   } u;
                   5187:   u.l = 1;
                   5188:   exit (u.c[sizeof (long) - 1] == 1);
                   5189: }
1.1.1.3   root     5190: _ACEOF
                   5191: rm -f conftest$ac_exeext
1.1.1.4 ! root     5192: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     5193:   (eval $ac_link) 2>&5
                   5194:   ac_status=$?
1.1.1.4 ! root     5195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5196:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     5197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5198:   (eval $ac_try) 2>&5
                   5199:   ac_status=$?
1.1.1.4 ! root     5200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5201:   (exit $ac_status); }; }; then
1.1       root     5202:   ac_cv_c_bigendian=no
                   5203: else
1.1.1.3   root     5204:   echo "$as_me: program exited with status $ac_status" >&5
                   5205: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5206: sed 's/^/| /' conftest.$ac_ext >&5
        !          5207: 
        !          5208: ( exit $ac_status )
1.1.1.3   root     5209: ac_cv_c_bigendian=yes
1.1       root     5210: fi
1.1.1.4 ! root     5211: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5212: fi
                   5213: fi
1.1.1.4 ! root     5214: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5215: fi
1.1.1.4 ! root     5216: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
1.1.1.3   root     5217: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1.1.1.4 ! root     5218: case $ac_cv_c_bigendian in
        !          5219:   yes)
1.1.1.3   root     5220: 
1.1.1.4 ! root     5221: cat >>confdefs.h <<\_ACEOF
1.1       root     5222: #define WORDS_BIGENDIAN 1
1.1.1.4 ! root     5223: _ACEOF
        !          5224:  ;;
        !          5225:   no)
        !          5226:      ;;
        !          5227:   *)
        !          5228:     { { echo "$as_me:$LINENO: error: unknown endianness
        !          5229: presetting ac_cv_c_bigendian=no (or yes) will help" >&5
        !          5230: echo "$as_me: error: unknown endianness
        !          5231: presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
        !          5232:    { (exit 1); exit 1; }; } ;;
        !          5233: esac
1.1       root     5234: 
                   5235:   else
1.1.1.4 ! root     5236:     { echo "$as_me:$LINENO: WARNING: Assuming little endian for cross compilation" >&5
1.1.1.3   root     5237: echo "$as_me: WARNING: Assuming little endian for cross compilation" >&2;}
1.1       root     5238:     # AC_DEFINE(WORDS_BIGENDIAN, 1)
                   5239:   fi
1.1.1.4 ! root     5240:   echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
1.1.1.3   root     5241: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
                   5242: if test "${ac_cv_c_const+set}" = set; then
                   5243:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5244: else
                   5245:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5246: #line $LINENO "configure"
        !          5247: /* confdefs.h.  */
        !          5248: _ACEOF
        !          5249: cat confdefs.h >>conftest.$ac_ext
        !          5250: cat >>conftest.$ac_ext <<_ACEOF
        !          5251: /* end confdefs.h.  */
1.1.1.3   root     5252: 
                   5253: int
                   5254: main ()
                   5255: {
                   5256: /* FIXME: Include the comments suggested by Paul. */
                   5257: #ifndef __cplusplus
                   5258:   /* Ultrix mips cc rejects this.  */
                   5259:   typedef int charset[2];
                   5260:   const charset x;
                   5261:   /* SunOS 4.1.1 cc rejects this.  */
                   5262:   char const *const *ccp;
                   5263:   char **p;
                   5264:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   5265:   struct point {int x, y;};
                   5266:   static struct point const zero = {0,0};
                   5267:   /* AIX XL C 1.02.0.0 rejects this.
                   5268:      It does not let you subtract one const X* pointer from another in
                   5269:      an arm of an if-expression whose if-part is not a constant
                   5270:      expression */
                   5271:   const char *g = "string";
                   5272:   ccp = &g + (g ? g-g : 0);
                   5273:   /* HPUX 7.0 cc rejects these. */
                   5274:   ++ccp;
                   5275:   p = (char**) ccp;
                   5276:   ccp = (char const *const *) p;
                   5277:   { /* SCO 3.2v4 cc rejects this.  */
                   5278:     char *t;
                   5279:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   5280: 
                   5281:     *t++ = 0;
                   5282:   }
                   5283:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   5284:     int x[] = {25, 17};
                   5285:     const int *foo = &x[0];
                   5286:     ++foo;
                   5287:   }
                   5288:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   5289:     typedef const int *iptr;
                   5290:     iptr p = 0;
                   5291:     ++p;
                   5292:   }
                   5293:   { /* AIX XL C 1.02.0.0 rejects this saying
                   5294:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   5295:     struct s { int j; const int *ap[3]; };
                   5296:     struct s *b; b->j = 5;
                   5297:   }
                   5298:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   5299:     const int foo = 10;
                   5300:   }
                   5301: #endif
                   5302: 
                   5303:   ;
                   5304:   return 0;
                   5305: }
                   5306: _ACEOF
                   5307: rm -f conftest.$ac_objext
1.1.1.4 ! root     5308: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5309:   (eval $ac_compile) 2>&5
                   5310:   ac_status=$?
1.1.1.4 ! root     5311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5312:   (exit $ac_status); } &&
                   5313:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5314:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5315:   (eval $ac_try) 2>&5
                   5316:   ac_status=$?
1.1.1.4 ! root     5317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5318:   (exit $ac_status); }; }; then
1.1       root     5319:   ac_cv_c_const=yes
                   5320: else
1.1.1.3   root     5321:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5322: sed 's/^/| /' conftest.$ac_ext >&5
        !          5323: 
1.1.1.3   root     5324: ac_cv_c_const=no
1.1       root     5325: fi
1.1.1.3   root     5326: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5327: fi
1.1.1.4 ! root     5328: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
1.1.1.3   root     5329: echo "${ECHO_T}$ac_cv_c_const" >&6
1.1       root     5330: if test $ac_cv_c_const = no; then
1.1.1.3   root     5331: 
1.1.1.4 ! root     5332: cat >>confdefs.h <<\_ACEOF
1.1.1.3   root     5333: #define const
1.1.1.4 ! root     5334: _ACEOF
1.1       root     5335: 
                   5336: fi
                   5337: 
1.1.1.4 ! root     5338:   echo "$as_me:$LINENO: checking for inline" >&5
1.1.1.3   root     5339: echo $ECHO_N "checking for inline... $ECHO_C" >&6
                   5340: if test "${ac_cv_c_inline+set}" = set; then
                   5341:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5342: else
                   5343:   ac_cv_c_inline=no
                   5344: for ac_kw in inline __inline__ __inline; do
1.1.1.3   root     5345:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5346: #line $LINENO "configure"
        !          5347: /* confdefs.h.  */
        !          5348: _ACEOF
        !          5349: cat confdefs.h >>conftest.$ac_ext
        !          5350: cat >>conftest.$ac_ext <<_ACEOF
        !          5351: /* end confdefs.h.  */
1.1.1.3   root     5352: #ifndef __cplusplus
1.1.1.4 ! root     5353: typedef int foo_t;
        !          5354: static $ac_kw foo_t static_foo () {return 0; }
        !          5355: $ac_kw foo_t foo () {return 0; }
1.1.1.3   root     5356: #endif
1.1       root     5357: 
1.1.1.3   root     5358: _ACEOF
                   5359: rm -f conftest.$ac_objext
1.1.1.4 ! root     5360: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5361:   (eval $ac_compile) 2>&5
                   5362:   ac_status=$?
1.1.1.4 ! root     5363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5364:   (exit $ac_status); } &&
                   5365:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5366:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5367:   (eval $ac_try) 2>&5
                   5368:   ac_status=$?
1.1.1.4 ! root     5369:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5370:   (exit $ac_status); }; }; then
1.1       root     5371:   ac_cv_c_inline=$ac_kw; break
                   5372: else
1.1.1.3   root     5373:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5374: sed 's/^/| /' conftest.$ac_ext >&5
        !          5375: 
1.1       root     5376: fi
1.1.1.3   root     5377: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5378: done
                   5379: 
                   5380: fi
1.1.1.4 ! root     5381: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
1.1.1.3   root     5382: echo "${ECHO_T}$ac_cv_c_inline" >&6
                   5383: case $ac_cv_c_inline in
1.1       root     5384:   inline | yes) ;;
1.1.1.3   root     5385:   no)
1.1.1.4 ! root     5386: cat >>confdefs.h <<\_ACEOF
1.1.1.3   root     5387: #define inline
1.1.1.4 ! root     5388: _ACEOF
1.1       root     5389:  ;;
1.1.1.4 ! root     5390:   *)  cat >>confdefs.h <<_ACEOF
1.1       root     5391: #define inline $ac_cv_c_inline
1.1.1.4 ! root     5392: _ACEOF
1.1       root     5393:  ;;
                   5394: esac
                   5395: 
1.1.1.3   root     5396:   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5397: 
1.1.1.4 ! root     5398: 
        !          5399: 
        !          5400: 
        !          5401: 
        !          5402: 
        !          5403: 
        !          5404: 
        !          5405: 
1.1.1.3   root     5406: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5407:                   inttypes.h stdint.h unistd.h
                   5408: do
                   5409: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.4 ! root     5410: echo "$as_me:$LINENO: checking for $ac_header" >&5
1.1.1.3   root     5411: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5412: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5413:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5414: else
1.1.1.3   root     5415:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5416: #line $LINENO "configure"
        !          5417: /* confdefs.h.  */
        !          5418: _ACEOF
        !          5419: cat confdefs.h >>conftest.$ac_ext
        !          5420: cat >>conftest.$ac_ext <<_ACEOF
        !          5421: /* end confdefs.h.  */
1.1.1.3   root     5422: $ac_includes_default
1.1.1.4 ! root     5423: 
1.1.1.3   root     5424: #include <$ac_header>
                   5425: _ACEOF
                   5426: rm -f conftest.$ac_objext
1.1.1.4 ! root     5427: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5428:   (eval $ac_compile) 2>&5
                   5429:   ac_status=$?
1.1.1.4 ! root     5430:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5431:   (exit $ac_status); } &&
                   5432:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5433:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5434:   (eval $ac_try) 2>&5
                   5435:   ac_status=$?
1.1.1.4 ! root     5436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5437:   (exit $ac_status); }; }; then
                   5438:   eval "$as_ac_Header=yes"
                   5439: else
                   5440:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5441: sed 's/^/| /' conftest.$ac_ext >&5
        !          5442: 
1.1.1.3   root     5443: eval "$as_ac_Header=no"
                   5444: fi
                   5445: rm -f conftest.$ac_objext conftest.$ac_ext
                   5446: fi
1.1.1.4 ! root     5447: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.1.1.3   root     5448: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5449: if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.1.1.4 ! root     5450:   cat >>confdefs.h <<_ACEOF
1.1.1.3   root     5451: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1.1.4 ! root     5452: _ACEOF
1.1       root     5453: 
                   5454: fi
1.1.1.4 ! root     5455: 
1.1.1.3   root     5456: done
1.1       root     5457: 
1.1.1.4 ! root     5458: 
        !          5459: echo "$as_me:$LINENO: checking for unsigned char" >&5
1.1.1.3   root     5460: echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
                   5461: if test "${ac_cv_type_unsigned_char+set}" = set; then
                   5462:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5463: else
1.1.1.3   root     5464:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5465: #line $LINENO "configure"
        !          5466: /* confdefs.h.  */
        !          5467: _ACEOF
        !          5468: cat confdefs.h >>conftest.$ac_ext
        !          5469: cat >>conftest.$ac_ext <<_ACEOF
        !          5470: /* end confdefs.h.  */
1.1.1.3   root     5471: $ac_includes_default
                   5472: int
                   5473: main ()
                   5474: {
                   5475: if ((unsigned char *) 0)
                   5476:   return 0;
                   5477: if (sizeof (unsigned char))
                   5478:   return 0;
                   5479:   ;
                   5480:   return 0;
                   5481: }
                   5482: _ACEOF
                   5483: rm -f conftest.$ac_objext
1.1.1.4 ! root     5484: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5485:   (eval $ac_compile) 2>&5
                   5486:   ac_status=$?
1.1.1.4 ! root     5487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5488:   (exit $ac_status); } &&
                   5489:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5490:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5491:   (eval $ac_try) 2>&5
                   5492:   ac_status=$?
1.1.1.4 ! root     5493:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5494:   (exit $ac_status); }; }; then
                   5495:   ac_cv_type_unsigned_char=yes
                   5496: else
                   5497:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5498: sed 's/^/| /' conftest.$ac_ext >&5
        !          5499: 
1.1.1.3   root     5500: ac_cv_type_unsigned_char=no
                   5501: fi
                   5502: rm -f conftest.$ac_objext conftest.$ac_ext
                   5503: fi
1.1.1.4 ! root     5504: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
1.1.1.3   root     5505: echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
                   5506: 
1.1.1.4 ! root     5507: echo "$as_me:$LINENO: checking size of unsigned char" >&5
1.1.1.3   root     5508: echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
                   5509: if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
                   5510:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5511: else
1.1.1.3   root     5512:   if test "$ac_cv_type_unsigned_char" = yes; then
1.1.1.4 ! root     5513:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          5514:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          5515:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          5516:   # This bug is HP SR number 8606223364.
1.1.1.3   root     5517:   if test "$cross_compiling" = yes; then
                   5518:   # Depending upon the size, compute the lo and hi bounds.
                   5519: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5520: #line $LINENO "configure"
        !          5521: /* confdefs.h.  */
        !          5522: _ACEOF
        !          5523: cat confdefs.h >>conftest.$ac_ext
        !          5524: cat >>conftest.$ac_ext <<_ACEOF
        !          5525: /* end confdefs.h.  */
1.1.1.3   root     5526: $ac_includes_default
                   5527: int
                   5528: main ()
1.1       root     5529: {
1.1.1.4 ! root     5530: static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)];
        !          5531: test_array [0] = 0
        !          5532: 
1.1.1.3   root     5533:   ;
                   5534:   return 0;
1.1       root     5535: }
1.1.1.3   root     5536: _ACEOF
                   5537: rm -f conftest.$ac_objext
1.1.1.4 ! root     5538: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5539:   (eval $ac_compile) 2>&5
                   5540:   ac_status=$?
1.1.1.4 ! root     5541:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5542:   (exit $ac_status); } &&
                   5543:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5544:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5545:   (eval $ac_try) 2>&5
                   5546:   ac_status=$?
1.1.1.4 ! root     5547:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5548:   (exit $ac_status); }; }; then
                   5549:   ac_lo=0 ac_mid=0
                   5550:   while :; do
                   5551:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5552: #line $LINENO "configure"
        !          5553: /* confdefs.h.  */
        !          5554: _ACEOF
        !          5555: cat confdefs.h >>conftest.$ac_ext
        !          5556: cat >>conftest.$ac_ext <<_ACEOF
        !          5557: /* end confdefs.h.  */
1.1.1.3   root     5558: $ac_includes_default
                   5559: int
                   5560: main ()
                   5561: {
1.1.1.4 ! root     5562: static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)];
        !          5563: test_array [0] = 0
        !          5564: 
1.1.1.3   root     5565:   ;
                   5566:   return 0;
                   5567: }
                   5568: _ACEOF
                   5569: rm -f conftest.$ac_objext
1.1.1.4 ! root     5570: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5571:   (eval $ac_compile) 2>&5
                   5572:   ac_status=$?
1.1.1.4 ! root     5573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5574:   (exit $ac_status); } &&
                   5575:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5576:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5577:   (eval $ac_try) 2>&5
                   5578:   ac_status=$?
1.1.1.4 ! root     5579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5580:   (exit $ac_status); }; }; then
                   5581:   ac_hi=$ac_mid; break
                   5582: else
                   5583:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5584: sed 's/^/| /' conftest.$ac_ext >&5
        !          5585: 
        !          5586: ac_lo=`expr $ac_mid + 1`
        !          5587:                     if test $ac_lo -le $ac_mid; then
        !          5588:                       ac_lo= ac_hi=
        !          5589:                       break
        !          5590:                     fi
        !          5591:                     ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     5592: fi
                   5593: rm -f conftest.$ac_objext conftest.$ac_ext
                   5594:   done
1.1       root     5595: else
1.1.1.3   root     5596:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5597: sed 's/^/| /' conftest.$ac_ext >&5
        !          5598: 
        !          5599: cat >conftest.$ac_ext <<_ACEOF
        !          5600: #line $LINENO "configure"
        !          5601: /* confdefs.h.  */
        !          5602: _ACEOF
        !          5603: cat confdefs.h >>conftest.$ac_ext
        !          5604: cat >>conftest.$ac_ext <<_ACEOF
        !          5605: /* end confdefs.h.  */
        !          5606: $ac_includes_default
        !          5607: int
        !          5608: main ()
        !          5609: {
        !          5610: static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) < 0)];
        !          5611: test_array [0] = 0
        !          5612: 
        !          5613:   ;
        !          5614:   return 0;
        !          5615: }
        !          5616: _ACEOF
        !          5617: rm -f conftest.$ac_objext
        !          5618: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5619:   (eval $ac_compile) 2>&5
        !          5620:   ac_status=$?
        !          5621:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5622:   (exit $ac_status); } &&
        !          5623:          { ac_try='test -s conftest.$ac_objext'
        !          5624:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5625:   (eval $ac_try) 2>&5
        !          5626:   ac_status=$?
        !          5627:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5628:   (exit $ac_status); }; }; then
        !          5629:   ac_hi=-1 ac_mid=-1
1.1.1.3   root     5630:   while :; do
                   5631:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5632: #line $LINENO "configure"
        !          5633: /* confdefs.h.  */
        !          5634: _ACEOF
        !          5635: cat confdefs.h >>conftest.$ac_ext
        !          5636: cat >>conftest.$ac_ext <<_ACEOF
        !          5637: /* end confdefs.h.  */
1.1.1.3   root     5638: $ac_includes_default
                   5639: int
                   5640: main ()
                   5641: {
1.1.1.4 ! root     5642: static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)];
        !          5643: test_array [0] = 0
        !          5644: 
1.1.1.3   root     5645:   ;
                   5646:   return 0;
                   5647: }
                   5648: _ACEOF
                   5649: rm -f conftest.$ac_objext
1.1.1.4 ! root     5650: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5651:   (eval $ac_compile) 2>&5
                   5652:   ac_status=$?
1.1.1.4 ! root     5653:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5654:   (exit $ac_status); } &&
                   5655:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5656:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5657:   (eval $ac_try) 2>&5
                   5658:   ac_status=$?
1.1.1.4 ! root     5659:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5660:   (exit $ac_status); }; }; then
                   5661:   ac_lo=$ac_mid; break
                   5662: else
                   5663:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5664: sed 's/^/| /' conftest.$ac_ext >&5
        !          5665: 
        !          5666: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          5667:                        if test $ac_mid -le $ac_hi; then
        !          5668:                          ac_lo= ac_hi=
        !          5669:                          break
        !          5670:                        fi
        !          5671:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     5672: fi
1.1.1.3   root     5673: rm -f conftest.$ac_objext conftest.$ac_ext
                   5674:   done
1.1.1.4 ! root     5675: else
        !          5676:   echo "$as_me: failed program was:" >&5
        !          5677: sed 's/^/| /' conftest.$ac_ext >&5
        !          5678: 
        !          5679: ac_lo= ac_hi=
        !          5680: fi
        !          5681: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     5682: fi
1.1.1.3   root     5683: rm -f conftest.$ac_objext conftest.$ac_ext
                   5684: # Binary search between lo and hi bounds.
                   5685: while test "x$ac_lo" != "x$ac_hi"; do
                   5686:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   5687:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5688: #line $LINENO "configure"
        !          5689: /* confdefs.h.  */
        !          5690: _ACEOF
        !          5691: cat confdefs.h >>conftest.$ac_ext
        !          5692: cat >>conftest.$ac_ext <<_ACEOF
        !          5693: /* end confdefs.h.  */
1.1.1.3   root     5694: $ac_includes_default
                   5695: int
                   5696: main ()
                   5697: {
1.1.1.4 ! root     5698: static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)];
        !          5699: test_array [0] = 0
        !          5700: 
1.1.1.3   root     5701:   ;
                   5702:   return 0;
                   5703: }
                   5704: _ACEOF
                   5705: rm -f conftest.$ac_objext
1.1.1.4 ! root     5706: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5707:   (eval $ac_compile) 2>&5
                   5708:   ac_status=$?
1.1.1.4 ! root     5709:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5710:   (exit $ac_status); } &&
                   5711:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5712:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5713:   (eval $ac_try) 2>&5
                   5714:   ac_status=$?
1.1.1.4 ! root     5715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5716:   (exit $ac_status); }; }; then
                   5717:   ac_hi=$ac_mid
                   5718: else
                   5719:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5720: sed 's/^/| /' conftest.$ac_ext >&5
        !          5721: 
        !          5722: ac_lo=`expr '(' $ac_mid ')' + 1`
1.1       root     5723: fi
1.1.1.3   root     5724: rm -f conftest.$ac_objext conftest.$ac_ext
                   5725: done
1.1.1.4 ! root     5726: case $ac_lo in
        !          5727: ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
        !          5728: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
        !          5729: See \`config.log' for more details." >&5
        !          5730: echo "$as_me: error: cannot compute sizeof (unsigned char), 77
        !          5731: See \`config.log' for more details." >&2;}
        !          5732:    { (exit 1); exit 1; }; } ;;
        !          5733: esac
1.1       root     5734: else
                   5735:   if test "$cross_compiling" = yes; then
1.1.1.4 ! root     5736:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          5737: See \`config.log' for more details." >&5
        !          5738: echo "$as_me: error: cannot run test program while cross compiling
        !          5739: See \`config.log' for more details." >&2;}
1.1.1.3   root     5740:    { (exit 1); exit 1; }; }
1.1       root     5741: else
1.1.1.3   root     5742:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5743: #line $LINENO "configure"
        !          5744: /* confdefs.h.  */
        !          5745: _ACEOF
        !          5746: cat confdefs.h >>conftest.$ac_ext
        !          5747: cat >>conftest.$ac_ext <<_ACEOF
        !          5748: /* end confdefs.h.  */
1.1.1.3   root     5749: $ac_includes_default
1.1.1.4 ! root     5750: long longval () { return (long) (sizeof (unsigned char)); }
        !          5751: unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
        !          5752: #include <stdio.h>
        !          5753: #include <stdlib.h>
1.1.1.3   root     5754: int
                   5755: main ()
1.1       root     5756: {
1.1.1.4 ! root     5757: 
        !          5758:   FILE *f = fopen ("conftest.val", "w");
        !          5759:   if (! f)
        !          5760:     exit (1);
        !          5761:   if (((long) (sizeof (unsigned char))) < 0)
        !          5762:     {
        !          5763:       long i = longval ();
        !          5764:       if (i != ((long) (sizeof (unsigned char))))
        !          5765:        exit (1);
        !          5766:       fprintf (f, "%ld\n", i);
        !          5767:     }
        !          5768:   else
        !          5769:     {
        !          5770:       unsigned long i = ulongval ();
        !          5771:       if (i != ((long) (sizeof (unsigned char))))
        !          5772:        exit (1);
        !          5773:       fprintf (f, "%lu\n", i);
        !          5774:     }
        !          5775:   exit (ferror (f) || fclose (f) != 0);
        !          5776: 
1.1.1.3   root     5777:   ;
                   5778:   return 0;
1.1       root     5779: }
1.1.1.3   root     5780: _ACEOF
                   5781: rm -f conftest$ac_exeext
1.1.1.4 ! root     5782: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     5783:   (eval $ac_link) 2>&5
                   5784:   ac_status=$?
1.1.1.4 ! root     5785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5786:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     5787:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5788:   (eval $ac_try) 2>&5
                   5789:   ac_status=$?
1.1.1.4 ! root     5790:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5791:   (exit $ac_status); }; }; then
                   5792:   ac_cv_sizeof_unsigned_char=`cat conftest.val`
                   5793: else
                   5794:   echo "$as_me: program exited with status $ac_status" >&5
                   5795: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5796: sed 's/^/| /' conftest.$ac_ext >&5
        !          5797: 
        !          5798: ( exit $ac_status )
        !          5799: { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
        !          5800: See \`config.log' for more details." >&5
        !          5801: echo "$as_me: error: cannot compute sizeof (unsigned char), 77
        !          5802: See \`config.log' for more details." >&2;}
        !          5803:    { (exit 1); exit 1; }; }
1.1       root     5804: fi
1.1.1.4 ! root     5805: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     5806: fi
                   5807: fi
1.1.1.3   root     5808: rm -f conftest.val
                   5809: else
                   5810:   ac_cv_sizeof_unsigned_char=0
                   5811: fi
                   5812: fi
1.1.1.4 ! root     5813: echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
1.1.1.3   root     5814: echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
1.1.1.4 ! root     5815: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     5816: #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
1.1.1.4 ! root     5817: _ACEOF
        !          5818: 
1.1       root     5819: 
1.1.1.4 ! root     5820:   echo "$as_me:$LINENO: checking for unsigned short" >&5
1.1.1.3   root     5821: echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
                   5822: if test "${ac_cv_type_unsigned_short+set}" = set; then
                   5823:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5824: else
1.1.1.3   root     5825:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5826: #line $LINENO "configure"
        !          5827: /* confdefs.h.  */
        !          5828: _ACEOF
        !          5829: cat confdefs.h >>conftest.$ac_ext
        !          5830: cat >>conftest.$ac_ext <<_ACEOF
        !          5831: /* end confdefs.h.  */
1.1.1.3   root     5832: $ac_includes_default
                   5833: int
                   5834: main ()
                   5835: {
                   5836: if ((unsigned short *) 0)
                   5837:   return 0;
                   5838: if (sizeof (unsigned short))
                   5839:   return 0;
                   5840:   ;
                   5841:   return 0;
                   5842: }
                   5843: _ACEOF
                   5844: rm -f conftest.$ac_objext
1.1.1.4 ! root     5845: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5846:   (eval $ac_compile) 2>&5
                   5847:   ac_status=$?
1.1.1.4 ! root     5848:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5849:   (exit $ac_status); } &&
                   5850:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5851:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5852:   (eval $ac_try) 2>&5
                   5853:   ac_status=$?
1.1.1.4 ! root     5854:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5855:   (exit $ac_status); }; }; then
                   5856:   ac_cv_type_unsigned_short=yes
                   5857: else
                   5858:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5859: sed 's/^/| /' conftest.$ac_ext >&5
        !          5860: 
1.1.1.3   root     5861: ac_cv_type_unsigned_short=no
                   5862: fi
                   5863: rm -f conftest.$ac_objext conftest.$ac_ext
                   5864: fi
1.1.1.4 ! root     5865: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
1.1.1.3   root     5866: echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
                   5867: 
1.1.1.4 ! root     5868: echo "$as_me:$LINENO: checking size of unsigned short" >&5
1.1.1.3   root     5869: echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
                   5870: if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
                   5871:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5872: else
1.1.1.3   root     5873:   if test "$ac_cv_type_unsigned_short" = yes; then
1.1.1.4 ! root     5874:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          5875:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          5876:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          5877:   # This bug is HP SR number 8606223364.
1.1.1.3   root     5878:   if test "$cross_compiling" = yes; then
                   5879:   # Depending upon the size, compute the lo and hi bounds.
                   5880: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5881: #line $LINENO "configure"
        !          5882: /* confdefs.h.  */
        !          5883: _ACEOF
        !          5884: cat confdefs.h >>conftest.$ac_ext
        !          5885: cat >>conftest.$ac_ext <<_ACEOF
        !          5886: /* end confdefs.h.  */
1.1.1.3   root     5887: $ac_includes_default
                   5888: int
                   5889: main ()
1.1       root     5890: {
1.1.1.4 ! root     5891: static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
        !          5892: test_array [0] = 0
        !          5893: 
1.1.1.3   root     5894:   ;
                   5895:   return 0;
1.1       root     5896: }
1.1.1.3   root     5897: _ACEOF
                   5898: rm -f conftest.$ac_objext
1.1.1.4 ! root     5899: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5900:   (eval $ac_compile) 2>&5
                   5901:   ac_status=$?
1.1.1.4 ! root     5902:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5903:   (exit $ac_status); } &&
                   5904:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5905:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5906:   (eval $ac_try) 2>&5
                   5907:   ac_status=$?
1.1.1.4 ! root     5908:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5909:   (exit $ac_status); }; }; then
                   5910:   ac_lo=0 ac_mid=0
                   5911:   while :; do
                   5912:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5913: #line $LINENO "configure"
        !          5914: /* confdefs.h.  */
        !          5915: _ACEOF
        !          5916: cat confdefs.h >>conftest.$ac_ext
        !          5917: cat >>conftest.$ac_ext <<_ACEOF
        !          5918: /* end confdefs.h.  */
1.1.1.3   root     5919: $ac_includes_default
                   5920: int
                   5921: main ()
                   5922: {
1.1.1.4 ! root     5923: static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
        !          5924: test_array [0] = 0
        !          5925: 
1.1.1.3   root     5926:   ;
                   5927:   return 0;
                   5928: }
                   5929: _ACEOF
                   5930: rm -f conftest.$ac_objext
1.1.1.4 ! root     5931: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     5932:   (eval $ac_compile) 2>&5
                   5933:   ac_status=$?
1.1.1.4 ! root     5934:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5935:   (exit $ac_status); } &&
                   5936:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     5937:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     5938:   (eval $ac_try) 2>&5
                   5939:   ac_status=$?
1.1.1.4 ! root     5940:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     5941:   (exit $ac_status); }; }; then
                   5942:   ac_hi=$ac_mid; break
                   5943: else
                   5944:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5945: sed 's/^/| /' conftest.$ac_ext >&5
        !          5946: 
        !          5947: ac_lo=`expr $ac_mid + 1`
        !          5948:                     if test $ac_lo -le $ac_mid; then
        !          5949:                       ac_lo= ac_hi=
        !          5950:                       break
        !          5951:                     fi
        !          5952:                     ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     5953: fi
                   5954: rm -f conftest.$ac_objext conftest.$ac_ext
                   5955:   done
1.1       root     5956: else
1.1.1.3   root     5957:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     5958: sed 's/^/| /' conftest.$ac_ext >&5
        !          5959: 
        !          5960: cat >conftest.$ac_ext <<_ACEOF
        !          5961: #line $LINENO "configure"
        !          5962: /* confdefs.h.  */
        !          5963: _ACEOF
        !          5964: cat confdefs.h >>conftest.$ac_ext
        !          5965: cat >>conftest.$ac_ext <<_ACEOF
        !          5966: /* end confdefs.h.  */
        !          5967: $ac_includes_default
        !          5968: int
        !          5969: main ()
        !          5970: {
        !          5971: static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
        !          5972: test_array [0] = 0
        !          5973: 
        !          5974:   ;
        !          5975:   return 0;
        !          5976: }
        !          5977: _ACEOF
        !          5978: rm -f conftest.$ac_objext
        !          5979: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          5980:   (eval $ac_compile) 2>&5
        !          5981:   ac_status=$?
        !          5982:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5983:   (exit $ac_status); } &&
        !          5984:          { ac_try='test -s conftest.$ac_objext'
        !          5985:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          5986:   (eval $ac_try) 2>&5
        !          5987:   ac_status=$?
        !          5988:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          5989:   (exit $ac_status); }; }; then
        !          5990:   ac_hi=-1 ac_mid=-1
1.1.1.3   root     5991:   while :; do
                   5992:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     5993: #line $LINENO "configure"
        !          5994: /* confdefs.h.  */
        !          5995: _ACEOF
        !          5996: cat confdefs.h >>conftest.$ac_ext
        !          5997: cat >>conftest.$ac_ext <<_ACEOF
        !          5998: /* end confdefs.h.  */
1.1.1.3   root     5999: $ac_includes_default
                   6000: int
                   6001: main ()
                   6002: {
1.1.1.4 ! root     6003: static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
        !          6004: test_array [0] = 0
        !          6005: 
1.1.1.3   root     6006:   ;
                   6007:   return 0;
                   6008: }
                   6009: _ACEOF
                   6010: rm -f conftest.$ac_objext
1.1.1.4 ! root     6011: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6012:   (eval $ac_compile) 2>&5
                   6013:   ac_status=$?
1.1.1.4 ! root     6014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6015:   (exit $ac_status); } &&
                   6016:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6017:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6018:   (eval $ac_try) 2>&5
                   6019:   ac_status=$?
1.1.1.4 ! root     6020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6021:   (exit $ac_status); }; }; then
                   6022:   ac_lo=$ac_mid; break
                   6023: else
                   6024:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6025: sed 's/^/| /' conftest.$ac_ext >&5
        !          6026: 
        !          6027: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          6028:                        if test $ac_mid -le $ac_hi; then
        !          6029:                          ac_lo= ac_hi=
        !          6030:                          break
        !          6031:                        fi
        !          6032:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     6033: fi
1.1.1.3   root     6034: rm -f conftest.$ac_objext conftest.$ac_ext
                   6035:   done
1.1.1.4 ! root     6036: else
        !          6037:   echo "$as_me: failed program was:" >&5
        !          6038: sed 's/^/| /' conftest.$ac_ext >&5
        !          6039: 
        !          6040: ac_lo= ac_hi=
        !          6041: fi
        !          6042: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       root     6043: fi
1.1.1.3   root     6044: rm -f conftest.$ac_objext conftest.$ac_ext
                   6045: # Binary search between lo and hi bounds.
                   6046: while test "x$ac_lo" != "x$ac_hi"; do
                   6047:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6048:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6049: #line $LINENO "configure"
        !          6050: /* confdefs.h.  */
        !          6051: _ACEOF
        !          6052: cat confdefs.h >>conftest.$ac_ext
        !          6053: cat >>conftest.$ac_ext <<_ACEOF
        !          6054: /* end confdefs.h.  */
1.1.1.3   root     6055: $ac_includes_default
                   6056: int
                   6057: main ()
                   6058: {
1.1.1.4 ! root     6059: static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
        !          6060: test_array [0] = 0
        !          6061: 
1.1.1.3   root     6062:   ;
                   6063:   return 0;
                   6064: }
                   6065: _ACEOF
                   6066: rm -f conftest.$ac_objext
1.1.1.4 ! root     6067: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6068:   (eval $ac_compile) 2>&5
                   6069:   ac_status=$?
1.1.1.4 ! root     6070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6071:   (exit $ac_status); } &&
                   6072:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6073:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6074:   (eval $ac_try) 2>&5
                   6075:   ac_status=$?
1.1.1.4 ! root     6076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6077:   (exit $ac_status); }; }; then
                   6078:   ac_hi=$ac_mid
                   6079: else
                   6080:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6081: sed 's/^/| /' conftest.$ac_ext >&5
        !          6082: 
        !          6083: ac_lo=`expr '(' $ac_mid ')' + 1`
1.1       root     6084: fi
1.1.1.3   root     6085: rm -f conftest.$ac_objext conftest.$ac_ext
                   6086: done
1.1.1.4 ! root     6087: case $ac_lo in
        !          6088: ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
        !          6089: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
        !          6090: See \`config.log' for more details." >&5
        !          6091: echo "$as_me: error: cannot compute sizeof (unsigned short), 77
        !          6092: See \`config.log' for more details." >&2;}
        !          6093:    { (exit 1); exit 1; }; } ;;
        !          6094: esac
1.1       root     6095: else
                   6096:   if test "$cross_compiling" = yes; then
1.1.1.4 ! root     6097:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          6098: See \`config.log' for more details." >&5
        !          6099: echo "$as_me: error: cannot run test program while cross compiling
        !          6100: See \`config.log' for more details." >&2;}
1.1.1.3   root     6101:    { (exit 1); exit 1; }; }
1.1       root     6102: else
1.1.1.3   root     6103:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6104: #line $LINENO "configure"
        !          6105: /* confdefs.h.  */
        !          6106: _ACEOF
        !          6107: cat confdefs.h >>conftest.$ac_ext
        !          6108: cat >>conftest.$ac_ext <<_ACEOF
        !          6109: /* end confdefs.h.  */
1.1.1.3   root     6110: $ac_includes_default
1.1.1.4 ! root     6111: long longval () { return (long) (sizeof (unsigned short)); }
        !          6112: unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
        !          6113: #include <stdio.h>
        !          6114: #include <stdlib.h>
1.1.1.3   root     6115: int
                   6116: main ()
1.1       root     6117: {
1.1.1.4 ! root     6118: 
        !          6119:   FILE *f = fopen ("conftest.val", "w");
        !          6120:   if (! f)
        !          6121:     exit (1);
        !          6122:   if (((long) (sizeof (unsigned short))) < 0)
        !          6123:     {
        !          6124:       long i = longval ();
        !          6125:       if (i != ((long) (sizeof (unsigned short))))
        !          6126:        exit (1);
        !          6127:       fprintf (f, "%ld\n", i);
        !          6128:     }
        !          6129:   else
        !          6130:     {
        !          6131:       unsigned long i = ulongval ();
        !          6132:       if (i != ((long) (sizeof (unsigned short))))
        !          6133:        exit (1);
        !          6134:       fprintf (f, "%lu\n", i);
        !          6135:     }
        !          6136:   exit (ferror (f) || fclose (f) != 0);
        !          6137: 
1.1.1.3   root     6138:   ;
                   6139:   return 0;
1.1       root     6140: }
1.1.1.3   root     6141: _ACEOF
                   6142: rm -f conftest$ac_exeext
1.1.1.4 ! root     6143: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     6144:   (eval $ac_link) 2>&5
                   6145:   ac_status=$?
1.1.1.4 ! root     6146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6147:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     6148:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6149:   (eval $ac_try) 2>&5
                   6150:   ac_status=$?
1.1.1.4 ! root     6151:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6152:   (exit $ac_status); }; }; then
                   6153:   ac_cv_sizeof_unsigned_short=`cat conftest.val`
                   6154: else
                   6155:   echo "$as_me: program exited with status $ac_status" >&5
                   6156: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6157: sed 's/^/| /' conftest.$ac_ext >&5
        !          6158: 
        !          6159: ( exit $ac_status )
        !          6160: { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
        !          6161: See \`config.log' for more details." >&5
        !          6162: echo "$as_me: error: cannot compute sizeof (unsigned short), 77
        !          6163: See \`config.log' for more details." >&2;}
        !          6164:    { (exit 1); exit 1; }; }
1.1.1.3   root     6165: fi
1.1.1.4 ! root     6166: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6167: fi
                   6168: fi
                   6169: rm -f conftest.val
1.1       root     6170: else
1.1.1.3   root     6171:   ac_cv_sizeof_unsigned_short=0
1.1       root     6172: fi
                   6173: fi
1.1.1.4 ! root     6174: echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
1.1.1.3   root     6175: echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
1.1.1.4 ! root     6176: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     6177: #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
1.1.1.4 ! root     6178: _ACEOF
        !          6179: 
1.1       root     6180: 
1.1.1.4 ! root     6181:   echo "$as_me:$LINENO: checking for unsigned int" >&5
1.1.1.3   root     6182: echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
                   6183: if test "${ac_cv_type_unsigned_int+set}" = set; then
                   6184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6185: else
                   6186:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6187: #line $LINENO "configure"
        !          6188: /* confdefs.h.  */
        !          6189: _ACEOF
        !          6190: cat confdefs.h >>conftest.$ac_ext
        !          6191: cat >>conftest.$ac_ext <<_ACEOF
        !          6192: /* end confdefs.h.  */
1.1.1.3   root     6193: $ac_includes_default
                   6194: int
                   6195: main ()
                   6196: {
                   6197: if ((unsigned int *) 0)
                   6198:   return 0;
                   6199: if (sizeof (unsigned int))
                   6200:   return 0;
                   6201:   ;
                   6202:   return 0;
                   6203: }
                   6204: _ACEOF
                   6205: rm -f conftest.$ac_objext
1.1.1.4 ! root     6206: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6207:   (eval $ac_compile) 2>&5
                   6208:   ac_status=$?
1.1.1.4 ! root     6209:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6210:   (exit $ac_status); } &&
                   6211:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6212:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6213:   (eval $ac_try) 2>&5
                   6214:   ac_status=$?
1.1.1.4 ! root     6215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6216:   (exit $ac_status); }; }; then
                   6217:   ac_cv_type_unsigned_int=yes
                   6218: else
                   6219:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6220: sed 's/^/| /' conftest.$ac_ext >&5
        !          6221: 
1.1.1.3   root     6222: ac_cv_type_unsigned_int=no
                   6223: fi
                   6224: rm -f conftest.$ac_objext conftest.$ac_ext
                   6225: fi
1.1.1.4 ! root     6226: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
1.1.1.3   root     6227: echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
                   6228: 
1.1.1.4 ! root     6229: echo "$as_me:$LINENO: checking size of unsigned int" >&5
1.1.1.3   root     6230: echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
                   6231: if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
                   6232:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6233: else
                   6234:   if test "$ac_cv_type_unsigned_int" = yes; then
1.1.1.4 ! root     6235:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          6236:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6237:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6238:   # This bug is HP SR number 8606223364.
1.1.1.3   root     6239:   if test "$cross_compiling" = yes; then
                   6240:   # Depending upon the size, compute the lo and hi bounds.
                   6241: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6242: #line $LINENO "configure"
        !          6243: /* confdefs.h.  */
        !          6244: _ACEOF
        !          6245: cat confdefs.h >>conftest.$ac_ext
        !          6246: cat >>conftest.$ac_ext <<_ACEOF
        !          6247: /* end confdefs.h.  */
1.1.1.3   root     6248: $ac_includes_default
                   6249: int
                   6250: main ()
                   6251: {
1.1.1.4 ! root     6252: static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
        !          6253: test_array [0] = 0
        !          6254: 
1.1.1.3   root     6255:   ;
                   6256:   return 0;
                   6257: }
                   6258: _ACEOF
                   6259: rm -f conftest.$ac_objext
1.1.1.4 ! root     6260: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6261:   (eval $ac_compile) 2>&5
                   6262:   ac_status=$?
1.1.1.4 ! root     6263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6264:   (exit $ac_status); } &&
                   6265:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6266:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6267:   (eval $ac_try) 2>&5
                   6268:   ac_status=$?
1.1.1.4 ! root     6269:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6270:   (exit $ac_status); }; }; then
                   6271:   ac_lo=0 ac_mid=0
                   6272:   while :; do
                   6273:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6274: #line $LINENO "configure"
        !          6275: /* confdefs.h.  */
        !          6276: _ACEOF
        !          6277: cat confdefs.h >>conftest.$ac_ext
        !          6278: cat >>conftest.$ac_ext <<_ACEOF
        !          6279: /* end confdefs.h.  */
1.1.1.3   root     6280: $ac_includes_default
                   6281: int
                   6282: main ()
                   6283: {
1.1.1.4 ! root     6284: static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
        !          6285: test_array [0] = 0
        !          6286: 
1.1.1.3   root     6287:   ;
                   6288:   return 0;
                   6289: }
                   6290: _ACEOF
                   6291: rm -f conftest.$ac_objext
1.1.1.4 ! root     6292: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6293:   (eval $ac_compile) 2>&5
                   6294:   ac_status=$?
1.1.1.4 ! root     6295:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6296:   (exit $ac_status); } &&
                   6297:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6299:   (eval $ac_try) 2>&5
                   6300:   ac_status=$?
1.1.1.4 ! root     6301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6302:   (exit $ac_status); }; }; then
                   6303:   ac_hi=$ac_mid; break
                   6304: else
                   6305:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6306: sed 's/^/| /' conftest.$ac_ext >&5
        !          6307: 
        !          6308: ac_lo=`expr $ac_mid + 1`
        !          6309:                     if test $ac_lo -le $ac_mid; then
        !          6310:                       ac_lo= ac_hi=
        !          6311:                       break
        !          6312:                     fi
        !          6313:                     ac_mid=`expr 2 '*' $ac_mid + 1`
1.1       root     6314: fi
1.1.1.3   root     6315: rm -f conftest.$ac_objext conftest.$ac_ext
                   6316:   done
                   6317: else
                   6318:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6319: sed 's/^/| /' conftest.$ac_ext >&5
        !          6320: 
        !          6321: cat >conftest.$ac_ext <<_ACEOF
        !          6322: #line $LINENO "configure"
        !          6323: /* confdefs.h.  */
        !          6324: _ACEOF
        !          6325: cat confdefs.h >>conftest.$ac_ext
        !          6326: cat >>conftest.$ac_ext <<_ACEOF
        !          6327: /* end confdefs.h.  */
        !          6328: $ac_includes_default
        !          6329: int
        !          6330: main ()
        !          6331: {
        !          6332: static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
        !          6333: test_array [0] = 0
        !          6334: 
        !          6335:   ;
        !          6336:   return 0;
        !          6337: }
        !          6338: _ACEOF
        !          6339: rm -f conftest.$ac_objext
        !          6340: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6341:   (eval $ac_compile) 2>&5
        !          6342:   ac_status=$?
        !          6343:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6344:   (exit $ac_status); } &&
        !          6345:          { ac_try='test -s conftest.$ac_objext'
        !          6346:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6347:   (eval $ac_try) 2>&5
        !          6348:   ac_status=$?
        !          6349:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6350:   (exit $ac_status); }; }; then
        !          6351:   ac_hi=-1 ac_mid=-1
1.1.1.3   root     6352:   while :; do
                   6353:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6354: #line $LINENO "configure"
        !          6355: /* confdefs.h.  */
        !          6356: _ACEOF
        !          6357: cat confdefs.h >>conftest.$ac_ext
        !          6358: cat >>conftest.$ac_ext <<_ACEOF
        !          6359: /* end confdefs.h.  */
1.1.1.3   root     6360: $ac_includes_default
                   6361: int
                   6362: main ()
                   6363: {
1.1.1.4 ! root     6364: static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
        !          6365: test_array [0] = 0
        !          6366: 
1.1.1.3   root     6367:   ;
                   6368:   return 0;
                   6369: }
                   6370: _ACEOF
                   6371: rm -f conftest.$ac_objext
1.1.1.4 ! root     6372: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6373:   (eval $ac_compile) 2>&5
                   6374:   ac_status=$?
1.1.1.4 ! root     6375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6376:   (exit $ac_status); } &&
                   6377:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6378:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6379:   (eval $ac_try) 2>&5
                   6380:   ac_status=$?
1.1.1.4 ! root     6381:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6382:   (exit $ac_status); }; }; then
                   6383:   ac_lo=$ac_mid; break
                   6384: else
                   6385:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6386: sed 's/^/| /' conftest.$ac_ext >&5
        !          6387: 
        !          6388: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          6389:                        if test $ac_mid -le $ac_hi; then
        !          6390:                          ac_lo= ac_hi=
        !          6391:                          break
        !          6392:                        fi
        !          6393:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     6394: fi
                   6395: rm -f conftest.$ac_objext conftest.$ac_ext
                   6396:   done
1.1.1.4 ! root     6397: else
        !          6398:   echo "$as_me: failed program was:" >&5
        !          6399: sed 's/^/| /' conftest.$ac_ext >&5
        !          6400: 
        !          6401: ac_lo= ac_hi=
        !          6402: fi
        !          6403: rm -f conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6404: fi
                   6405: rm -f conftest.$ac_objext conftest.$ac_ext
                   6406: # Binary search between lo and hi bounds.
                   6407: while test "x$ac_lo" != "x$ac_hi"; do
                   6408:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6409:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6410: #line $LINENO "configure"
        !          6411: /* confdefs.h.  */
        !          6412: _ACEOF
        !          6413: cat confdefs.h >>conftest.$ac_ext
        !          6414: cat >>conftest.$ac_ext <<_ACEOF
        !          6415: /* end confdefs.h.  */
1.1.1.3   root     6416: $ac_includes_default
                   6417: int
                   6418: main ()
                   6419: {
1.1.1.4 ! root     6420: static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
        !          6421: test_array [0] = 0
        !          6422: 
1.1.1.3   root     6423:   ;
                   6424:   return 0;
                   6425: }
                   6426: _ACEOF
                   6427: rm -f conftest.$ac_objext
1.1.1.4 ! root     6428: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6429:   (eval $ac_compile) 2>&5
                   6430:   ac_status=$?
1.1.1.4 ! root     6431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6432:   (exit $ac_status); } &&
                   6433:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6434:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6435:   (eval $ac_try) 2>&5
                   6436:   ac_status=$?
1.1.1.4 ! root     6437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6438:   (exit $ac_status); }; }; then
                   6439:   ac_hi=$ac_mid
                   6440: else
                   6441:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6442: sed 's/^/| /' conftest.$ac_ext >&5
        !          6443: 
        !          6444: ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     6445: fi
                   6446: rm -f conftest.$ac_objext conftest.$ac_ext
                   6447: done
1.1.1.4 ! root     6448: case $ac_lo in
        !          6449: ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
        !          6450: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
        !          6451: See \`config.log' for more details." >&5
        !          6452: echo "$as_me: error: cannot compute sizeof (unsigned int), 77
        !          6453: See \`config.log' for more details." >&2;}
        !          6454:    { (exit 1); exit 1; }; } ;;
        !          6455: esac
1.1.1.3   root     6456: else
                   6457:   if test "$cross_compiling" = yes; then
1.1.1.4 ! root     6458:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          6459: See \`config.log' for more details." >&5
        !          6460: echo "$as_me: error: cannot run test program while cross compiling
        !          6461: See \`config.log' for more details." >&2;}
1.1.1.3   root     6462:    { (exit 1); exit 1; }; }
                   6463: else
                   6464:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6465: #line $LINENO "configure"
        !          6466: /* confdefs.h.  */
        !          6467: _ACEOF
        !          6468: cat confdefs.h >>conftest.$ac_ext
        !          6469: cat >>conftest.$ac_ext <<_ACEOF
        !          6470: /* end confdefs.h.  */
1.1.1.3   root     6471: $ac_includes_default
1.1.1.4 ! root     6472: long longval () { return (long) (sizeof (unsigned int)); }
        !          6473: unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
        !          6474: #include <stdio.h>
        !          6475: #include <stdlib.h>
1.1.1.3   root     6476: int
                   6477: main ()
                   6478: {
1.1.1.4 ! root     6479: 
        !          6480:   FILE *f = fopen ("conftest.val", "w");
        !          6481:   if (! f)
        !          6482:     exit (1);
        !          6483:   if (((long) (sizeof (unsigned int))) < 0)
        !          6484:     {
        !          6485:       long i = longval ();
        !          6486:       if (i != ((long) (sizeof (unsigned int))))
        !          6487:        exit (1);
        !          6488:       fprintf (f, "%ld\n", i);
        !          6489:     }
        !          6490:   else
        !          6491:     {
        !          6492:       unsigned long i = ulongval ();
        !          6493:       if (i != ((long) (sizeof (unsigned int))))
        !          6494:        exit (1);
        !          6495:       fprintf (f, "%lu\n", i);
        !          6496:     }
        !          6497:   exit (ferror (f) || fclose (f) != 0);
        !          6498: 
1.1.1.3   root     6499:   ;
                   6500:   return 0;
                   6501: }
                   6502: _ACEOF
                   6503: rm -f conftest$ac_exeext
1.1.1.4 ! root     6504: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     6505:   (eval $ac_link) 2>&5
                   6506:   ac_status=$?
1.1.1.4 ! root     6507:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6508:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     6509:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6510:   (eval $ac_try) 2>&5
                   6511:   ac_status=$?
1.1.1.4 ! root     6512:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6513:   (exit $ac_status); }; }; then
                   6514:   ac_cv_sizeof_unsigned_int=`cat conftest.val`
                   6515: else
                   6516:   echo "$as_me: program exited with status $ac_status" >&5
                   6517: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6518: sed 's/^/| /' conftest.$ac_ext >&5
        !          6519: 
        !          6520: ( exit $ac_status )
        !          6521: { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
        !          6522: See \`config.log' for more details." >&5
        !          6523: echo "$as_me: error: cannot compute sizeof (unsigned int), 77
        !          6524: See \`config.log' for more details." >&2;}
        !          6525:    { (exit 1); exit 1; }; }
1.1.1.3   root     6526: fi
1.1.1.4 ! root     6527: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6528: fi
                   6529: fi
                   6530: rm -f conftest.val
                   6531: else
                   6532:   ac_cv_sizeof_unsigned_int=0
                   6533: fi
                   6534: fi
1.1.1.4 ! root     6535: echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
1.1.1.3   root     6536: echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
1.1.1.4 ! root     6537: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     6538: #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
1.1.1.4 ! root     6539: _ACEOF
        !          6540: 
1.1       root     6541: 
1.1.1.4 ! root     6542:   echo "$as_me:$LINENO: checking for unsigned long" >&5
1.1.1.3   root     6543: echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
                   6544: if test "${ac_cv_type_unsigned_long+set}" = set; then
                   6545:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6546: else
                   6547:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6548: #line $LINENO "configure"
        !          6549: /* confdefs.h.  */
        !          6550: _ACEOF
        !          6551: cat confdefs.h >>conftest.$ac_ext
        !          6552: cat >>conftest.$ac_ext <<_ACEOF
        !          6553: /* end confdefs.h.  */
1.1.1.3   root     6554: $ac_includes_default
                   6555: int
                   6556: main ()
                   6557: {
                   6558: if ((unsigned long *) 0)
                   6559:   return 0;
                   6560: if (sizeof (unsigned long))
                   6561:   return 0;
                   6562:   ;
                   6563:   return 0;
                   6564: }
                   6565: _ACEOF
                   6566: rm -f conftest.$ac_objext
1.1.1.4 ! root     6567: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6568:   (eval $ac_compile) 2>&5
                   6569:   ac_status=$?
1.1.1.4 ! root     6570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6571:   (exit $ac_status); } &&
                   6572:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6573:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6574:   (eval $ac_try) 2>&5
                   6575:   ac_status=$?
1.1.1.4 ! root     6576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6577:   (exit $ac_status); }; }; then
                   6578:   ac_cv_type_unsigned_long=yes
                   6579: else
                   6580:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6581: sed 's/^/| /' conftest.$ac_ext >&5
        !          6582: 
1.1.1.3   root     6583: ac_cv_type_unsigned_long=no
                   6584: fi
                   6585: rm -f conftest.$ac_objext conftest.$ac_ext
                   6586: fi
1.1.1.4 ! root     6587: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
1.1.1.3   root     6588: echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
                   6589: 
1.1.1.4 ! root     6590: echo "$as_me:$LINENO: checking size of unsigned long" >&5
1.1.1.3   root     6591: echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
                   6592: if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
                   6593:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6594: else
                   6595:   if test "$ac_cv_type_unsigned_long" = yes; then
1.1.1.4 ! root     6596:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          6597:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6598:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6599:   # This bug is HP SR number 8606223364.
1.1.1.3   root     6600:   if test "$cross_compiling" = yes; then
                   6601:   # Depending upon the size, compute the lo and hi bounds.
                   6602: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6603: #line $LINENO "configure"
        !          6604: /* confdefs.h.  */
        !          6605: _ACEOF
        !          6606: cat confdefs.h >>conftest.$ac_ext
        !          6607: cat >>conftest.$ac_ext <<_ACEOF
        !          6608: /* end confdefs.h.  */
1.1.1.3   root     6609: $ac_includes_default
                   6610: int
                   6611: main ()
                   6612: {
1.1.1.4 ! root     6613: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
        !          6614: test_array [0] = 0
        !          6615: 
1.1.1.3   root     6616:   ;
                   6617:   return 0;
                   6618: }
                   6619: _ACEOF
                   6620: rm -f conftest.$ac_objext
1.1.1.4 ! root     6621: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6622:   (eval $ac_compile) 2>&5
                   6623:   ac_status=$?
1.1.1.4 ! root     6624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6625:   (exit $ac_status); } &&
                   6626:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6627:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6628:   (eval $ac_try) 2>&5
                   6629:   ac_status=$?
1.1.1.4 ! root     6630:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6631:   (exit $ac_status); }; }; then
                   6632:   ac_lo=0 ac_mid=0
                   6633:   while :; do
                   6634:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6635: #line $LINENO "configure"
        !          6636: /* confdefs.h.  */
        !          6637: _ACEOF
        !          6638: cat confdefs.h >>conftest.$ac_ext
        !          6639: cat >>conftest.$ac_ext <<_ACEOF
        !          6640: /* end confdefs.h.  */
1.1.1.3   root     6641: $ac_includes_default
                   6642: int
                   6643: main ()
                   6644: {
1.1.1.4 ! root     6645: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
        !          6646: test_array [0] = 0
        !          6647: 
1.1.1.3   root     6648:   ;
                   6649:   return 0;
                   6650: }
                   6651: _ACEOF
                   6652: rm -f conftest.$ac_objext
1.1.1.4 ! root     6653: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6654:   (eval $ac_compile) 2>&5
                   6655:   ac_status=$?
1.1.1.4 ! root     6656:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6657:   (exit $ac_status); } &&
                   6658:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6659:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6660:   (eval $ac_try) 2>&5
                   6661:   ac_status=$?
1.1.1.4 ! root     6662:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6663:   (exit $ac_status); }; }; then
                   6664:   ac_hi=$ac_mid; break
                   6665: else
                   6666:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6667: sed 's/^/| /' conftest.$ac_ext >&5
        !          6668: 
        !          6669: ac_lo=`expr $ac_mid + 1`
        !          6670:                     if test $ac_lo -le $ac_mid; then
        !          6671:                       ac_lo= ac_hi=
        !          6672:                       break
        !          6673:                     fi
        !          6674:                     ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     6675: fi
                   6676: rm -f conftest.$ac_objext conftest.$ac_ext
                   6677:   done
                   6678: else
                   6679:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6680: sed 's/^/| /' conftest.$ac_ext >&5
        !          6681: 
        !          6682: cat >conftest.$ac_ext <<_ACEOF
        !          6683: #line $LINENO "configure"
        !          6684: /* confdefs.h.  */
        !          6685: _ACEOF
        !          6686: cat confdefs.h >>conftest.$ac_ext
        !          6687: cat >>conftest.$ac_ext <<_ACEOF
        !          6688: /* end confdefs.h.  */
        !          6689: $ac_includes_default
        !          6690: int
        !          6691: main ()
        !          6692: {
        !          6693: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
        !          6694: test_array [0] = 0
        !          6695: 
        !          6696:   ;
        !          6697:   return 0;
        !          6698: }
        !          6699: _ACEOF
        !          6700: rm -f conftest.$ac_objext
        !          6701: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          6702:   (eval $ac_compile) 2>&5
        !          6703:   ac_status=$?
        !          6704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6705:   (exit $ac_status); } &&
        !          6706:          { ac_try='test -s conftest.$ac_objext'
        !          6707:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          6708:   (eval $ac_try) 2>&5
        !          6709:   ac_status=$?
        !          6710:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6711:   (exit $ac_status); }; }; then
        !          6712:   ac_hi=-1 ac_mid=-1
1.1.1.3   root     6713:   while :; do
                   6714:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6715: #line $LINENO "configure"
        !          6716: /* confdefs.h.  */
        !          6717: _ACEOF
        !          6718: cat confdefs.h >>conftest.$ac_ext
        !          6719: cat >>conftest.$ac_ext <<_ACEOF
        !          6720: /* end confdefs.h.  */
1.1.1.3   root     6721: $ac_includes_default
                   6722: int
                   6723: main ()
                   6724: {
1.1.1.4 ! root     6725: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
        !          6726: test_array [0] = 0
        !          6727: 
1.1.1.3   root     6728:   ;
                   6729:   return 0;
                   6730: }
                   6731: _ACEOF
                   6732: rm -f conftest.$ac_objext
1.1.1.4 ! root     6733: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6734:   (eval $ac_compile) 2>&5
                   6735:   ac_status=$?
1.1.1.4 ! root     6736:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6737:   (exit $ac_status); } &&
                   6738:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6739:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6740:   (eval $ac_try) 2>&5
                   6741:   ac_status=$?
1.1.1.4 ! root     6742:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6743:   (exit $ac_status); }; }; then
                   6744:   ac_lo=$ac_mid; break
                   6745: else
                   6746:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6747: sed 's/^/| /' conftest.$ac_ext >&5
        !          6748: 
        !          6749: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          6750:                        if test $ac_mid -le $ac_hi; then
        !          6751:                          ac_lo= ac_hi=
        !          6752:                          break
        !          6753:                        fi
        !          6754:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     6755: fi
                   6756: rm -f conftest.$ac_objext conftest.$ac_ext
                   6757:   done
1.1.1.4 ! root     6758: else
        !          6759:   echo "$as_me: failed program was:" >&5
        !          6760: sed 's/^/| /' conftest.$ac_ext >&5
        !          6761: 
        !          6762: ac_lo= ac_hi=
        !          6763: fi
        !          6764: rm -f conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6765: fi
                   6766: rm -f conftest.$ac_objext conftest.$ac_ext
                   6767: # Binary search between lo and hi bounds.
                   6768: while test "x$ac_lo" != "x$ac_hi"; do
                   6769:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6770:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6771: #line $LINENO "configure"
        !          6772: /* confdefs.h.  */
        !          6773: _ACEOF
        !          6774: cat confdefs.h >>conftest.$ac_ext
        !          6775: cat >>conftest.$ac_ext <<_ACEOF
        !          6776: /* end confdefs.h.  */
1.1.1.3   root     6777: $ac_includes_default
                   6778: int
                   6779: main ()
                   6780: {
1.1.1.4 ! root     6781: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
        !          6782: test_array [0] = 0
        !          6783: 
1.1.1.3   root     6784:   ;
                   6785:   return 0;
                   6786: }
                   6787: _ACEOF
                   6788: rm -f conftest.$ac_objext
1.1.1.4 ! root     6789: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6790:   (eval $ac_compile) 2>&5
                   6791:   ac_status=$?
1.1.1.4 ! root     6792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6793:   (exit $ac_status); } &&
                   6794:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6795:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6796:   (eval $ac_try) 2>&5
                   6797:   ac_status=$?
1.1.1.4 ! root     6798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6799:   (exit $ac_status); }; }; then
                   6800:   ac_hi=$ac_mid
                   6801: else
                   6802:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6803: sed 's/^/| /' conftest.$ac_ext >&5
        !          6804: 
        !          6805: ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     6806: fi
                   6807: rm -f conftest.$ac_objext conftest.$ac_ext
                   6808: done
1.1.1.4 ! root     6809: case $ac_lo in
        !          6810: ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
        !          6811: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
        !          6812: See \`config.log' for more details." >&5
        !          6813: echo "$as_me: error: cannot compute sizeof (unsigned long), 77
        !          6814: See \`config.log' for more details." >&2;}
        !          6815:    { (exit 1); exit 1; }; } ;;
        !          6816: esac
1.1.1.3   root     6817: else
                   6818:   if test "$cross_compiling" = yes; then
1.1.1.4 ! root     6819:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          6820: See \`config.log' for more details." >&5
        !          6821: echo "$as_me: error: cannot run test program while cross compiling
        !          6822: See \`config.log' for more details." >&2;}
1.1.1.3   root     6823:    { (exit 1); exit 1; }; }
                   6824: else
                   6825:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6826: #line $LINENO "configure"
        !          6827: /* confdefs.h.  */
        !          6828: _ACEOF
        !          6829: cat confdefs.h >>conftest.$ac_ext
        !          6830: cat >>conftest.$ac_ext <<_ACEOF
        !          6831: /* end confdefs.h.  */
1.1.1.3   root     6832: $ac_includes_default
1.1.1.4 ! root     6833: long longval () { return (long) (sizeof (unsigned long)); }
        !          6834: unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
        !          6835: #include <stdio.h>
        !          6836: #include <stdlib.h>
1.1.1.3   root     6837: int
                   6838: main ()
                   6839: {
1.1.1.4 ! root     6840: 
        !          6841:   FILE *f = fopen ("conftest.val", "w");
        !          6842:   if (! f)
        !          6843:     exit (1);
        !          6844:   if (((long) (sizeof (unsigned long))) < 0)
        !          6845:     {
        !          6846:       long i = longval ();
        !          6847:       if (i != ((long) (sizeof (unsigned long))))
        !          6848:        exit (1);
        !          6849:       fprintf (f, "%ld\n", i);
        !          6850:     }
        !          6851:   else
        !          6852:     {
        !          6853:       unsigned long i = ulongval ();
        !          6854:       if (i != ((long) (sizeof (unsigned long))))
        !          6855:        exit (1);
        !          6856:       fprintf (f, "%lu\n", i);
        !          6857:     }
        !          6858:   exit (ferror (f) || fclose (f) != 0);
        !          6859: 
1.1.1.3   root     6860:   ;
                   6861:   return 0;
                   6862: }
                   6863: _ACEOF
                   6864: rm -f conftest$ac_exeext
1.1.1.4 ! root     6865: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     6866:   (eval $ac_link) 2>&5
                   6867:   ac_status=$?
1.1.1.4 ! root     6868:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6869:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     6870:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6871:   (eval $ac_try) 2>&5
                   6872:   ac_status=$?
1.1.1.4 ! root     6873:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6874:   (exit $ac_status); }; }; then
                   6875:   ac_cv_sizeof_unsigned_long=`cat conftest.val`
                   6876: else
                   6877:   echo "$as_me: program exited with status $ac_status" >&5
                   6878: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6879: sed 's/^/| /' conftest.$ac_ext >&5
        !          6880: 
        !          6881: ( exit $ac_status )
        !          6882: { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
        !          6883: See \`config.log' for more details." >&5
        !          6884: echo "$as_me: error: cannot compute sizeof (unsigned long), 77
        !          6885: See \`config.log' for more details." >&2;}
        !          6886:    { (exit 1); exit 1; }; }
1.1.1.3   root     6887: fi
1.1.1.4 ! root     6888: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     6889: fi
                   6890: fi
                   6891: rm -f conftest.val
                   6892: else
                   6893:   ac_cv_sizeof_unsigned_long=0
                   6894: fi
                   6895: fi
1.1.1.4 ! root     6896: echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
1.1.1.3   root     6897: echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
1.1.1.4 ! root     6898: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     6899: #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
1.1.1.4 ! root     6900: _ACEOF
        !          6901: 
1.1.1.3   root     6902: 
1.1.1.4 ! root     6903:   echo "$as_me:$LINENO: checking for unsigned long long" >&5
1.1.1.3   root     6904: echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
                   6905: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
                   6906:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6907: else
                   6908:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6909: #line $LINENO "configure"
        !          6910: /* confdefs.h.  */
        !          6911: _ACEOF
        !          6912: cat confdefs.h >>conftest.$ac_ext
        !          6913: cat >>conftest.$ac_ext <<_ACEOF
        !          6914: /* end confdefs.h.  */
1.1.1.3   root     6915: $ac_includes_default
                   6916: int
                   6917: main ()
                   6918: {
                   6919: if ((unsigned long long *) 0)
                   6920:   return 0;
                   6921: if (sizeof (unsigned long long))
                   6922:   return 0;
                   6923:   ;
                   6924:   return 0;
                   6925: }
                   6926: _ACEOF
                   6927: rm -f conftest.$ac_objext
1.1.1.4 ! root     6928: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6929:   (eval $ac_compile) 2>&5
                   6930:   ac_status=$?
1.1.1.4 ! root     6931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6932:   (exit $ac_status); } &&
                   6933:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6934:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6935:   (eval $ac_try) 2>&5
                   6936:   ac_status=$?
1.1.1.4 ! root     6937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6938:   (exit $ac_status); }; }; then
                   6939:   ac_cv_type_unsigned_long_long=yes
                   6940: else
                   6941:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     6942: sed 's/^/| /' conftest.$ac_ext >&5
        !          6943: 
1.1.1.3   root     6944: ac_cv_type_unsigned_long_long=no
                   6945: fi
                   6946: rm -f conftest.$ac_objext conftest.$ac_ext
                   6947: fi
1.1.1.4 ! root     6948: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
1.1.1.3   root     6949: echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
                   6950: 
1.1.1.4 ! root     6951: echo "$as_me:$LINENO: checking size of unsigned long long" >&5
1.1.1.3   root     6952: echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
                   6953: if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
                   6954:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6955: else
                   6956:   if test "$ac_cv_type_unsigned_long_long" = yes; then
1.1.1.4 ! root     6957:   # The cast to unsigned long works around a bug in the HP C Compiler
        !          6958:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          6959:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          6960:   # This bug is HP SR number 8606223364.
1.1.1.3   root     6961:   if test "$cross_compiling" = yes; then
                   6962:   # Depending upon the size, compute the lo and hi bounds.
                   6963: cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6964: #line $LINENO "configure"
        !          6965: /* confdefs.h.  */
        !          6966: _ACEOF
        !          6967: cat confdefs.h >>conftest.$ac_ext
        !          6968: cat >>conftest.$ac_ext <<_ACEOF
        !          6969: /* end confdefs.h.  */
1.1.1.3   root     6970: $ac_includes_default
                   6971: int
                   6972: main ()
                   6973: {
1.1.1.4 ! root     6974: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
        !          6975: test_array [0] = 0
        !          6976: 
1.1.1.3   root     6977:   ;
                   6978:   return 0;
                   6979: }
                   6980: _ACEOF
                   6981: rm -f conftest.$ac_objext
1.1.1.4 ! root     6982: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     6983:   (eval $ac_compile) 2>&5
                   6984:   ac_status=$?
1.1.1.4 ! root     6985:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6986:   (exit $ac_status); } &&
                   6987:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     6988:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     6989:   (eval $ac_try) 2>&5
                   6990:   ac_status=$?
1.1.1.4 ! root     6991:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     6992:   (exit $ac_status); }; }; then
                   6993:   ac_lo=0 ac_mid=0
                   6994:   while :; do
                   6995:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     6996: #line $LINENO "configure"
        !          6997: /* confdefs.h.  */
        !          6998: _ACEOF
        !          6999: cat confdefs.h >>conftest.$ac_ext
        !          7000: cat >>conftest.$ac_ext <<_ACEOF
        !          7001: /* end confdefs.h.  */
1.1.1.3   root     7002: $ac_includes_default
                   7003: int
                   7004: main ()
                   7005: {
1.1.1.4 ! root     7006: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
        !          7007: test_array [0] = 0
        !          7008: 
1.1.1.3   root     7009:   ;
                   7010:   return 0;
                   7011: }
                   7012: _ACEOF
                   7013: rm -f conftest.$ac_objext
1.1.1.4 ! root     7014: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     7015:   (eval $ac_compile) 2>&5
                   7016:   ac_status=$?
1.1.1.4 ! root     7017:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7018:   (exit $ac_status); } &&
                   7019:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     7020:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     7021:   (eval $ac_try) 2>&5
                   7022:   ac_status=$?
1.1.1.4 ! root     7023:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7024:   (exit $ac_status); }; }; then
                   7025:   ac_hi=$ac_mid; break
                   7026: else
                   7027:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7028: sed 's/^/| /' conftest.$ac_ext >&5
        !          7029: 
        !          7030: ac_lo=`expr $ac_mid + 1`
        !          7031:                     if test $ac_lo -le $ac_mid; then
        !          7032:                       ac_lo= ac_hi=
        !          7033:                       break
        !          7034:                     fi
        !          7035:                     ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.3   root     7036: fi
                   7037: rm -f conftest.$ac_objext conftest.$ac_ext
                   7038:   done
                   7039: else
                   7040:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7041: sed 's/^/| /' conftest.$ac_ext >&5
        !          7042: 
        !          7043: cat >conftest.$ac_ext <<_ACEOF
        !          7044: #line $LINENO "configure"
        !          7045: /* confdefs.h.  */
        !          7046: _ACEOF
        !          7047: cat confdefs.h >>conftest.$ac_ext
        !          7048: cat >>conftest.$ac_ext <<_ACEOF
        !          7049: /* end confdefs.h.  */
        !          7050: $ac_includes_default
        !          7051: int
        !          7052: main ()
        !          7053: {
        !          7054: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
        !          7055: test_array [0] = 0
        !          7056: 
        !          7057:   ;
        !          7058:   return 0;
        !          7059: }
        !          7060: _ACEOF
        !          7061: rm -f conftest.$ac_objext
        !          7062: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7063:   (eval $ac_compile) 2>&5
        !          7064:   ac_status=$?
        !          7065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7066:   (exit $ac_status); } &&
        !          7067:          { ac_try='test -s conftest.$ac_objext'
        !          7068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7069:   (eval $ac_try) 2>&5
        !          7070:   ac_status=$?
        !          7071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7072:   (exit $ac_status); }; }; then
        !          7073:   ac_hi=-1 ac_mid=-1
1.1.1.3   root     7074:   while :; do
                   7075:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     7076: #line $LINENO "configure"
        !          7077: /* confdefs.h.  */
        !          7078: _ACEOF
        !          7079: cat confdefs.h >>conftest.$ac_ext
        !          7080: cat >>conftest.$ac_ext <<_ACEOF
        !          7081: /* end confdefs.h.  */
1.1.1.3   root     7082: $ac_includes_default
                   7083: int
                   7084: main ()
                   7085: {
1.1.1.4 ! root     7086: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
        !          7087: test_array [0] = 0
        !          7088: 
1.1.1.3   root     7089:   ;
                   7090:   return 0;
                   7091: }
                   7092: _ACEOF
                   7093: rm -f conftest.$ac_objext
1.1.1.4 ! root     7094: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     7095:   (eval $ac_compile) 2>&5
                   7096:   ac_status=$?
1.1.1.4 ! root     7097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7098:   (exit $ac_status); } &&
                   7099:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     7100:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     7101:   (eval $ac_try) 2>&5
                   7102:   ac_status=$?
1.1.1.4 ! root     7103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7104:   (exit $ac_status); }; }; then
                   7105:   ac_lo=$ac_mid; break
                   7106: else
                   7107:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7108: sed 's/^/| /' conftest.$ac_ext >&5
        !          7109: 
        !          7110: ac_hi=`expr '(' $ac_mid ')' - 1`
        !          7111:                        if test $ac_mid -le $ac_hi; then
        !          7112:                          ac_lo= ac_hi=
        !          7113:                          break
        !          7114:                        fi
        !          7115:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.3   root     7116: fi
                   7117: rm -f conftest.$ac_objext conftest.$ac_ext
                   7118:   done
1.1.1.4 ! root     7119: else
        !          7120:   echo "$as_me: failed program was:" >&5
        !          7121: sed 's/^/| /' conftest.$ac_ext >&5
        !          7122: 
        !          7123: ac_lo= ac_hi=
        !          7124: fi
        !          7125: rm -f conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7126: fi
                   7127: rm -f conftest.$ac_objext conftest.$ac_ext
                   7128: # Binary search between lo and hi bounds.
                   7129: while test "x$ac_lo" != "x$ac_hi"; do
                   7130:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7131:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     7132: #line $LINENO "configure"
        !          7133: /* confdefs.h.  */
        !          7134: _ACEOF
        !          7135: cat confdefs.h >>conftest.$ac_ext
        !          7136: cat >>conftest.$ac_ext <<_ACEOF
        !          7137: /* end confdefs.h.  */
1.1.1.3   root     7138: $ac_includes_default
                   7139: int
                   7140: main ()
                   7141: {
1.1.1.4 ! root     7142: static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
        !          7143: test_array [0] = 0
        !          7144: 
1.1.1.3   root     7145:   ;
                   7146:   return 0;
                   7147: }
                   7148: _ACEOF
                   7149: rm -f conftest.$ac_objext
1.1.1.4 ! root     7150: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.1.1.3   root     7151:   (eval $ac_compile) 2>&5
                   7152:   ac_status=$?
1.1.1.4 ! root     7153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7154:   (exit $ac_status); } &&
                   7155:          { ac_try='test -s conftest.$ac_objext'
1.1.1.4 ! root     7156:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     7157:   (eval $ac_try) 2>&5
                   7158:   ac_status=$?
1.1.1.4 ! root     7159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7160:   (exit $ac_status); }; }; then
                   7161:   ac_hi=$ac_mid
                   7162: else
                   7163:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7164: sed 's/^/| /' conftest.$ac_ext >&5
        !          7165: 
        !          7166: ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.3   root     7167: fi
                   7168: rm -f conftest.$ac_objext conftest.$ac_ext
                   7169: done
1.1.1.4 ! root     7170: case $ac_lo in
        !          7171: ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
        !          7172: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
        !          7173: See \`config.log' for more details." >&5
        !          7174: echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
        !          7175: See \`config.log' for more details." >&2;}
        !          7176:    { (exit 1); exit 1; }; } ;;
        !          7177: esac
1.1.1.3   root     7178: else
                   7179:   if test "$cross_compiling" = yes; then
1.1.1.4 ! root     7180:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
        !          7181: See \`config.log' for more details." >&5
        !          7182: echo "$as_me: error: cannot run test program while cross compiling
        !          7183: See \`config.log' for more details." >&2;}
1.1.1.3   root     7184:    { (exit 1); exit 1; }; }
                   7185: else
                   7186:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     7187: #line $LINENO "configure"
        !          7188: /* confdefs.h.  */
        !          7189: _ACEOF
        !          7190: cat confdefs.h >>conftest.$ac_ext
        !          7191: cat >>conftest.$ac_ext <<_ACEOF
        !          7192: /* end confdefs.h.  */
1.1.1.3   root     7193: $ac_includes_default
1.1.1.4 ! root     7194: long longval () { return (long) (sizeof (unsigned long long)); }
        !          7195: unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
        !          7196: #include <stdio.h>
        !          7197: #include <stdlib.h>
1.1.1.3   root     7198: int
                   7199: main ()
                   7200: {
1.1.1.4 ! root     7201: 
        !          7202:   FILE *f = fopen ("conftest.val", "w");
        !          7203:   if (! f)
        !          7204:     exit (1);
        !          7205:   if (((long) (sizeof (unsigned long long))) < 0)
        !          7206:     {
        !          7207:       long i = longval ();
        !          7208:       if (i != ((long) (sizeof (unsigned long long))))
        !          7209:        exit (1);
        !          7210:       fprintf (f, "%ld\n", i);
        !          7211:     }
        !          7212:   else
        !          7213:     {
        !          7214:       unsigned long i = ulongval ();
        !          7215:       if (i != ((long) (sizeof (unsigned long long))))
        !          7216:        exit (1);
        !          7217:       fprintf (f, "%lu\n", i);
        !          7218:     }
        !          7219:   exit (ferror (f) || fclose (f) != 0);
        !          7220: 
1.1.1.3   root     7221:   ;
                   7222:   return 0;
                   7223: }
                   7224: _ACEOF
                   7225: rm -f conftest$ac_exeext
1.1.1.4 ! root     7226: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     7227:   (eval $ac_link) 2>&5
                   7228:   ac_status=$?
1.1.1.4 ! root     7229:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7230:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.4 ! root     7231:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     7232:   (eval $ac_try) 2>&5
                   7233:   ac_status=$?
1.1.1.4 ! root     7234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7235:   (exit $ac_status); }; }; then
                   7236:   ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
                   7237: else
                   7238:   echo "$as_me: program exited with status $ac_status" >&5
                   7239: echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7240: sed 's/^/| /' conftest.$ac_ext >&5
        !          7241: 
        !          7242: ( exit $ac_status )
        !          7243: { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
        !          7244: See \`config.log' for more details." >&5
        !          7245: echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
        !          7246: See \`config.log' for more details." >&2;}
        !          7247:    { (exit 1); exit 1; }; }
1.1.1.3   root     7248: fi
1.1.1.4 ! root     7249: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.3   root     7250: fi
                   7251: fi
                   7252: rm -f conftest.val
                   7253: else
                   7254:   ac_cv_sizeof_unsigned_long_long=0
                   7255: fi
                   7256: fi
1.1.1.4 ! root     7257: echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
1.1.1.3   root     7258: echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
1.1.1.4 ! root     7259: cat >>confdefs.h <<_ACEOF
1.1.1.3   root     7260: #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
1.1.1.4 ! root     7261: _ACEOF
        !          7262: 
        !          7263: 
1.1       root     7264: 
1.1.1.3   root     7265: for ac_func in snprintf
1.1       root     7266: do
1.1.1.3   root     7267: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.4 ! root     7268: echo "$as_me:$LINENO: checking for $ac_func" >&5
1.1.1.3   root     7269: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   7270: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   7271:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     7272: else
1.1.1.3   root     7273:   cat >conftest.$ac_ext <<_ACEOF
1.1.1.4 ! root     7274: #line $LINENO "configure"
        !          7275: /* confdefs.h.  */
        !          7276: _ACEOF
        !          7277: cat confdefs.h >>conftest.$ac_ext
        !          7278: cat >>conftest.$ac_ext <<_ACEOF
        !          7279: /* end confdefs.h.  */
1.1       root     7280: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.4 ! root     7281:     which can conflict with char $ac_func (); below.
        !          7282:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          7283:     <limits.h> exists even on freestanding compilers.  */
        !          7284: #ifdef __STDC__
        !          7285: # include <limits.h>
        !          7286: #else
        !          7287: # include <assert.h>
        !          7288: #endif
1.1       root     7289: /* Override any gcc2 internal prototype to avoid an error.  */
1.1.1.3   root     7290: #ifdef __cplusplus
                   7291: extern "C"
1.1.1.4 ! root     7292: {
1.1.1.3   root     7293: #endif
1.1       root     7294: /* We use char because int might match the return type of a gcc2
1.1.1.3   root     7295:    builtin and then its argument prototype would still apply.  */
                   7296: char $ac_func ();
1.1       root     7297: /* The GNU C library defines this for functions which it implements
                   7298:     to always fail with ENOSYS.  Some functions are actually named
                   7299:     something starting with __ and the normal name is an alias.  */
                   7300: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7301: choke me
                   7302: #else
1.1.1.4 ! root     7303: char (*f) () = $ac_func;
        !          7304: #endif
        !          7305: #ifdef __cplusplus
        !          7306: }
1.1       root     7307: #endif
                   7308: 
1.1.1.4 ! root     7309: int
        !          7310: main ()
        !          7311: {
        !          7312: return f != $ac_func;
1.1.1.3   root     7313:   ;
                   7314:   return 0;
                   7315: }
                   7316: _ACEOF
                   7317: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.4 ! root     7318: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.1.1.3   root     7319:   (eval $ac_link) 2>&5
                   7320:   ac_status=$?
1.1.1.4 ! root     7321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7322:   (exit $ac_status); } &&
                   7323:          { ac_try='test -s conftest$ac_exeext'
1.1.1.4 ! root     7324:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.1.1.3   root     7325:   (eval $ac_try) 2>&5
                   7326:   ac_status=$?
1.1.1.4 ! root     7327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7328:   (exit $ac_status); }; }; then
                   7329:   eval "$as_ac_var=yes"
                   7330: else
                   7331:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7332: sed 's/^/| /' conftest.$ac_ext >&5
        !          7333: 
1.1.1.3   root     7334: eval "$as_ac_var=no"
                   7335: fi
                   7336: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   7337: fi
1.1.1.4 ! root     7338: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
1.1.1.3   root     7339: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   7340: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.1.1.4 ! root     7341:   cat >>confdefs.h <<_ACEOF
1.1.1.3   root     7342: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1.1.4 ! root     7343: _ACEOF
1.1       root     7344: 
                   7345: fi
                   7346: done
                   7347: 
1.1.1.4 ! root     7348: 
1.1.1.3   root     7349: for ac_header in tcl8.0.h
1.1       root     7350: do
1.1.1.3   root     7351: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.4 ! root     7352: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7353:   echo "$as_me:$LINENO: checking for $ac_header" >&5
1.1.1.3   root     7354: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7355: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7356:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4 ! root     7357: fi
        !          7358: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          7359: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1.1.3   root     7360: else
1.1.1.4 ! root     7361:   # Is the header compilable?
        !          7362: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          7363: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          7364: cat >conftest.$ac_ext <<_ACEOF
        !          7365: #line $LINENO "configure"
        !          7366: /* confdefs.h.  */
        !          7367: _ACEOF
        !          7368: cat confdefs.h >>conftest.$ac_ext
        !          7369: cat >>conftest.$ac_ext <<_ACEOF
        !          7370: /* end confdefs.h.  */
        !          7371: $ac_includes_default
        !          7372: #include <$ac_header>
        !          7373: _ACEOF
        !          7374: rm -f conftest.$ac_objext
        !          7375: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7376:   (eval $ac_compile) 2>&5
        !          7377:   ac_status=$?
        !          7378:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7379:   (exit $ac_status); } &&
        !          7380:          { ac_try='test -s conftest.$ac_objext'
        !          7381:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7382:   (eval $ac_try) 2>&5
        !          7383:   ac_status=$?
        !          7384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7385:   (exit $ac_status); }; }; then
        !          7386:   ac_header_compiler=yes
        !          7387: else
        !          7388:   echo "$as_me: failed program was:" >&5
        !          7389: sed 's/^/| /' conftest.$ac_ext >&5
        !          7390: 
        !          7391: ac_header_compiler=no
        !          7392: fi
        !          7393: rm -f conftest.$ac_objext conftest.$ac_ext
        !          7394: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          7395: echo "${ECHO_T}$ac_header_compiler" >&6
        !          7396: 
        !          7397: # Is the header present?
        !          7398: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          7399: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          7400: cat >conftest.$ac_ext <<_ACEOF
        !          7401: #line $LINENO "configure"
        !          7402: /* confdefs.h.  */
        !          7403: _ACEOF
        !          7404: cat confdefs.h >>conftest.$ac_ext
        !          7405: cat >>conftest.$ac_ext <<_ACEOF
        !          7406: /* end confdefs.h.  */
1.1.1.3   root     7407: #include <$ac_header>
                   7408: _ACEOF
1.1.1.4 ! root     7409: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     7410:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7411:   ac_status=$?
1.1.1.4 ! root     7412:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     7413:   rm -f conftest.er1
                   7414:   cat conftest.err >&5
1.1.1.4 ! root     7415:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7416:   (exit $ac_status); } >/dev/null; then
                   7417:   if test -s conftest.err; then
                   7418:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7419:   else
                   7420:     ac_cpp_err=
                   7421:   fi
                   7422: else
                   7423:   ac_cpp_err=yes
                   7424: fi
                   7425: if test -z "$ac_cpp_err"; then
1.1.1.4 ! root     7426:   ac_header_preproc=yes
        !          7427: else
        !          7428:   echo "$as_me: failed program was:" >&5
        !          7429: sed 's/^/| /' conftest.$ac_ext >&5
        !          7430: 
        !          7431:   ac_header_preproc=no
        !          7432: fi
        !          7433: rm -f conftest.err conftest.$ac_ext
        !          7434: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          7435: echo "${ECHO_T}$ac_header_preproc" >&6
        !          7436: 
        !          7437: # So?  What about this header?
        !          7438: case $ac_header_compiler:$ac_header_preproc in
        !          7439:   yes:no )
        !          7440:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          7441: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          7442:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          7443: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          7444:     (
        !          7445:       cat <<\_ASBOX
        !          7446: ## ------------------------------------ ##
        !          7447: ## Report this to [email protected]. ##
        !          7448: ## ------------------------------------ ##
        !          7449: _ASBOX
        !          7450:     ) |
        !          7451:       sed "s/^/$as_me: WARNING:     /" >&2
        !          7452:     ;;
        !          7453:   no:yes )
        !          7454:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          7455: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          7456:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
        !          7457: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
        !          7458:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          7459: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          7460:     (
        !          7461:       cat <<\_ASBOX
        !          7462: ## ------------------------------------ ##
        !          7463: ## Report this to [email protected]. ##
        !          7464: ## ------------------------------------ ##
        !          7465: _ASBOX
        !          7466:     ) |
        !          7467:       sed "s/^/$as_me: WARNING:     /" >&2
        !          7468:     ;;
        !          7469: esac
        !          7470: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          7471: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          7472: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7473:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     7474: else
1.1.1.4 ! root     7475:   eval "$as_ac_Header=$ac_header_preproc"
1.1       root     7476: fi
1.1.1.4 ! root     7477: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.1.1.3   root     7478: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1.1.4 ! root     7479: 
        !          7480: fi
1.1.1.3   root     7481: if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.1.1.4 ! root     7482:   cat >>confdefs.h <<_ACEOF
1.1.1.3   root     7483: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1.1.4 ! root     7484: _ACEOF
1.1.1.3   root     7485: 
1.1       root     7486: fi
1.1.1.4 ! root     7487: 
1.1       root     7488: done
                   7489: 
1.1.1.4 ! root     7490: 
1.1.1.3   root     7491: for ac_header in tk8.0.h
1.1       root     7492: do
1.1.1.3   root     7493: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.4 ! root     7494: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7495:   echo "$as_me:$LINENO: checking for $ac_header" >&5
1.1.1.3   root     7496: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7497: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7498:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4 ! root     7499: fi
        !          7500: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          7501: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       root     7502: else
1.1.1.4 ! root     7503:   # Is the header compilable?
        !          7504: echo "$as_me:$LINENO: checking $ac_header usability" >&5
        !          7505: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
        !          7506: cat >conftest.$ac_ext <<_ACEOF
        !          7507: #line $LINENO "configure"
        !          7508: /* confdefs.h.  */
        !          7509: _ACEOF
        !          7510: cat confdefs.h >>conftest.$ac_ext
        !          7511: cat >>conftest.$ac_ext <<_ACEOF
        !          7512: /* end confdefs.h.  */
        !          7513: $ac_includes_default
        !          7514: #include <$ac_header>
        !          7515: _ACEOF
        !          7516: rm -f conftest.$ac_objext
        !          7517: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          7518:   (eval $ac_compile) 2>&5
        !          7519:   ac_status=$?
        !          7520:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7521:   (exit $ac_status); } &&
        !          7522:          { ac_try='test -s conftest.$ac_objext'
        !          7523:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          7524:   (eval $ac_try) 2>&5
        !          7525:   ac_status=$?
        !          7526:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          7527:   (exit $ac_status); }; }; then
        !          7528:   ac_header_compiler=yes
        !          7529: else
        !          7530:   echo "$as_me: failed program was:" >&5
        !          7531: sed 's/^/| /' conftest.$ac_ext >&5
        !          7532: 
        !          7533: ac_header_compiler=no
        !          7534: fi
        !          7535: rm -f conftest.$ac_objext conftest.$ac_ext
        !          7536: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
        !          7537: echo "${ECHO_T}$ac_header_compiler" >&6
        !          7538: 
        !          7539: # Is the header present?
        !          7540: echo "$as_me:$LINENO: checking $ac_header presence" >&5
        !          7541: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
        !          7542: cat >conftest.$ac_ext <<_ACEOF
        !          7543: #line $LINENO "configure"
        !          7544: /* confdefs.h.  */
        !          7545: _ACEOF
        !          7546: cat confdefs.h >>conftest.$ac_ext
        !          7547: cat >>conftest.$ac_ext <<_ACEOF
        !          7548: /* end confdefs.h.  */
1.1.1.3   root     7549: #include <$ac_header>
                   7550: _ACEOF
1.1.1.4 ! root     7551: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1.1.1.3   root     7552:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7553:   ac_status=$?
1.1.1.4 ! root     7554:   grep -v '^ *+' conftest.er1 >conftest.err
1.1.1.3   root     7555:   rm -f conftest.er1
                   7556:   cat conftest.err >&5
1.1.1.4 ! root     7557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.3   root     7558:   (exit $ac_status); } >/dev/null; then
                   7559:   if test -s conftest.err; then
                   7560:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7561:   else
                   7562:     ac_cpp_err=
                   7563:   fi
1.1       root     7564: else
1.1.1.3   root     7565:   ac_cpp_err=yes
                   7566: fi
                   7567: if test -z "$ac_cpp_err"; then
1.1.1.4 ! root     7568:   ac_header_preproc=yes
1.1.1.3   root     7569: else
                   7570:   echo "$as_me: failed program was:" >&5
1.1.1.4 ! root     7571: sed 's/^/| /' conftest.$ac_ext >&5
        !          7572: 
        !          7573:   ac_header_preproc=no
1.1       root     7574: fi
1.1.1.3   root     7575: rm -f conftest.err conftest.$ac_ext
1.1.1.4 ! root     7576: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
        !          7577: echo "${ECHO_T}$ac_header_preproc" >&6
        !          7578: 
        !          7579: # So?  What about this header?
        !          7580: case $ac_header_compiler:$ac_header_preproc in
        !          7581:   yes:no )
        !          7582:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
        !          7583: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          7584:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          7585: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          7586:     (
        !          7587:       cat <<\_ASBOX
        !          7588: ## ------------------------------------ ##
        !          7589: ## Report this to [email protected]. ##
        !          7590: ## ------------------------------------ ##
        !          7591: _ASBOX
        !          7592:     ) |
        !          7593:       sed "s/^/$as_me: WARNING:     /" >&2
        !          7594:     ;;
        !          7595:   no:yes )
        !          7596:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
        !          7597: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
        !          7598:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
        !          7599: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
        !          7600:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
        !          7601: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
        !          7602:     (
        !          7603:       cat <<\_ASBOX
        !          7604: ## ------------------------------------ ##
        !          7605: ## Report this to [email protected]. ##
        !          7606: ## ------------------------------------ ##
        !          7607: _ASBOX
        !          7608:     ) |
        !          7609:       sed "s/^/$as_me: WARNING:     /" >&2
        !          7610:     ;;
        !          7611: esac
        !          7612: echo "$as_me:$LINENO: checking for $ac_header" >&5
        !          7613: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          7614: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7615:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7616: else
        !          7617:   eval "$as_ac_Header=$ac_header_preproc"
1.1       root     7618: fi
1.1.1.4 ! root     7619: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1.1.1.3   root     7620: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1.1.4 ! root     7621: 
        !          7622: fi
1.1.1.3   root     7623: if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.1.1.4 ! root     7624:   cat >>confdefs.h <<_ACEOF
1.1.1.3   root     7625: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1.1.4 ! root     7626: _ACEOF
1.1.1.3   root     7627: 
1.1       root     7628: fi
1.1.1.4 ! root     7629: 
1.1       root     7630: done
                   7631: 
1.1.1.4 ! root     7632: 
        !          7633: 
        !          7634: 
        !          7635:                                                                                                       ac_config_files="$ac_config_files Makefile cpu68k/Makefile raze/Makefile cmz80/Makefile ym2612/Makefile main/Makefile sn76496/Makefile glade/Makefile gtkopts/Makefile raze/raze.asm"
1.1.1.3   root     7636: cat >confcache <<\_ACEOF
1.1       root     7637: # This file is a shell script that caches the results of configure
                   7638: # tests run on this system so they can be shared between configure
1.1.1.3   root     7639: # scripts and configure runs, see configure's option --config-cache.
                   7640: # It is not useful on other systems.  If it contains results you don't
                   7641: # want to keep, you may remove or edit it.
1.1       root     7642: #
1.1.1.3   root     7643: # config.status only pays attention to the cache file if you give it
                   7644: # the --recheck option to rerun configure.
1.1       root     7645: #
1.1.1.4 ! root     7646: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.1.1.3   root     7647: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   7648: # following values.
                   7649: 
                   7650: _ACEOF
                   7651: 
1.1       root     7652: # The following way of writing the cache mishandles newlines in values,
                   7653: # but we know of no workaround that is simple, portable, and efficient.
                   7654: # So, don't put newlines in cache variables' values.
                   7655: # Ultrix sh set writes to stderr and can't be redirected directly,
                   7656: # and sets the high bit in the cache file unless we assign to the vars.
1.1.1.3   root     7657: {
                   7658:   (set) 2>&1 |
                   7659:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   7660:     *ac_space=\ *)
                   7661:       # `set' does not quote correctly, so add quotes (double-quote
                   7662:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   7663:       sed -n \
                   7664:         "s/'/'\\\\''/g;
                   7665:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   7666:       ;;
                   7667:     *)
                   7668:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   7669:       sed -n \
                   7670:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   7671:       ;;
                   7672:     esac;
                   7673: } |
                   7674:   sed '
                   7675:      t clear
                   7676:      : clear
                   7677:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   7678:      t end
                   7679:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   7680:      : end' >>confcache
1.1.1.4 ! root     7681: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       root     7682:   if test -w $cache_file; then
1.1.1.3   root     7683:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   7684:     cat confcache >$cache_file
1.1       root     7685:   else
                   7686:     echo "not updating unwritable cache $cache_file"
                   7687:   fi
                   7688: fi
                   7689: rm -f confcache
                   7690: 
                   7691: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   7692: # Let make expand exec_prefix.
                   7693: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   7694: 
1.1.1.3   root     7695: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   7696: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   7697: # trailing colons and then remove the whole line if VPATH becomes empty
                   7698: # (actually we leave an empty line to preserve line numbers).
1.1       root     7699: if test "x$srcdir" = x.; then
1.1.1.3   root     7700:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   7701: s/:*\$(srcdir):*/:/;
                   7702: s/:*\${srcdir}:*/:/;
                   7703: s/:*@srcdir@:*/:/;
                   7704: s/^\([^=]*=[   ]*\):*/\1/;
                   7705: s/:*$//;
                   7706: s/^[^=]*=[     ]*$//;
                   7707: }'
1.1       root     7708: fi
                   7709: 
                   7710: DEFS=-DHAVE_CONFIG_H
                   7711: 
1.1.1.4 ! root     7712: ac_libobjs=
        !          7713: ac_ltlibobjs=
        !          7714: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
        !          7715:   # 1. Remove the extension, and $U if already installed.
        !          7716:   ac_i=`echo "$ac_i" |
        !          7717:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
        !          7718:   # 2. Add them.
        !          7719:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
        !          7720:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
        !          7721: done
        !          7722: LIBOBJS=$ac_libobjs
        !          7723: 
        !          7724: LTLIBOBJS=$ac_ltlibobjs
        !          7725: 
        !          7726: 
        !          7727: 
1.1       root     7728: : ${CONFIG_STATUS=./config.status}
1.1.1.3   root     7729: ac_clean_files_save=$ac_clean_files
                   7730: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.4 ! root     7731: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.1.1.3   root     7732: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   7733: cat >$CONFIG_STATUS <<_ACEOF
                   7734: #! $SHELL
1.1.1.4 ! root     7735: # Generated by $as_me.
1.1       root     7736: # Run this file to recreate the current configuration.
                   7737: # Compiler output produced by configure, useful for debugging
1.1.1.3   root     7738: # configure, is in config.log if it exists.
1.1       root     7739: 
1.1.1.3   root     7740: debug=false
1.1.1.4 ! root     7741: ac_cs_recheck=false
        !          7742: ac_cs_silent=false
1.1.1.3   root     7743: SHELL=\${CONFIG_SHELL-$SHELL}
                   7744: _ACEOF
                   7745: 
                   7746: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.4 ! root     7747: ## --------------------- ##
        !          7748: ## M4sh Initialization.  ##
        !          7749: ## --------------------- ##
        !          7750: 
1.1.1.3   root     7751: # Be Bourne compatible
                   7752: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   7753:   emulate sh
                   7754:   NULLCMD=:
1.1.1.4 ! root     7755:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
        !          7756:   # is contrary to our usage.  Disable this feature.
        !          7757:   alias -g '${1+"$@"}'='"$@"'
1.1.1.3   root     7758: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   7759:   set -o posix
                   7760: fi
                   7761: 
1.1.1.4 ! root     7762: # Support unset when possible.
        !          7763: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
        !          7764:   as_unset=unset
        !          7765: else
        !          7766:   as_unset=false
        !          7767: fi
        !          7768: 
        !          7769: 
        !          7770: # Work around bugs in pre-3.0 UWIN ksh.
        !          7771: $as_unset ENV MAIL MAILPATH
        !          7772: PS1='$ '
        !          7773: PS2='> '
        !          7774: PS4='+ '
        !          7775: 
        !          7776: # NLS nuisances.
        !          7777: for as_var in \
        !          7778:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
        !          7779:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
        !          7780:   LC_TELEPHONE LC_TIME
        !          7781: do
        !          7782:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
        !          7783:     eval $as_var=C; export $as_var
        !          7784:   else
        !          7785:     $as_unset $as_var
        !          7786:   fi
        !          7787: done
        !          7788: 
        !          7789: # Required to use basename.
        !          7790: if expr a : '\(a\)' >/dev/null 2>&1; then
        !          7791:   as_expr=expr
        !          7792: else
        !          7793:   as_expr=false
        !          7794: fi
        !          7795: 
        !          7796: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
        !          7797:   as_basename=basename
        !          7798: else
        !          7799:   as_basename=false
        !          7800: fi
        !          7801: 
        !          7802: 
1.1.1.3   root     7803: # Name of the executable.
1.1.1.4 ! root     7804: as_me=`$as_basename "$0" ||
        !          7805: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !          7806:         X"$0" : 'X\(//\)$' \| \
        !          7807:         X"$0" : 'X\(/\)$' \| \
        !          7808:         .     : '\(.\)' 2>/dev/null ||
        !          7809: echo X/"$0" |
        !          7810:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
        !          7811:          /^X\/\(\/\/\)$/{ s//\1/; q; }
        !          7812:          /^X\/\(\/\).*/{ s//\1/; q; }
        !          7813:          s/.*/./; q'`
        !          7814: 
        !          7815: 
        !          7816: # PATH needs CR, and LINENO needs CR and PATH.
        !          7817: # Avoid depending upon Character Ranges.
        !          7818: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          7819: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          7820: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          7821: as_cr_digits='0123456789'
        !          7822: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !          7823: 
        !          7824: # The user is always right.
        !          7825: if test "${PATH_SEPARATOR+set}" != set; then
        !          7826:   echo "#! /bin/sh" >conf$$.sh
        !          7827:   echo  "exit 0"   >>conf$$.sh
        !          7828:   chmod +x conf$$.sh
        !          7829:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
        !          7830:     PATH_SEPARATOR=';'
        !          7831:   else
        !          7832:     PATH_SEPARATOR=:
        !          7833:   fi
        !          7834:   rm -f conf$$.sh
        !          7835: fi
        !          7836: 
        !          7837: 
        !          7838:   as_lineno_1=$LINENO
        !          7839:   as_lineno_2=$LINENO
        !          7840:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          7841:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          7842:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
        !          7843:   # Find who we are.  Look in the path if we contain no path at all
        !          7844:   # relative or not.
        !          7845:   case $0 in
        !          7846:     *[\\/]* ) as_myself=$0 ;;
        !          7847:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7848: for as_dir in $PATH
        !          7849: do
        !          7850:   IFS=$as_save_IFS
        !          7851:   test -z "$as_dir" && as_dir=.
        !          7852:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          7853: done
        !          7854: 
        !          7855:        ;;
        !          7856:   esac
        !          7857:   # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          7858:   # in which case we are not to be found in the path.
        !          7859:   if test "x$as_myself" = x; then
        !          7860:     as_myself=$0
        !          7861:   fi
        !          7862:   if test ! -f "$as_myself"; then
        !          7863:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
        !          7864: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
        !          7865:    { (exit 1); exit 1; }; }
        !          7866:   fi
        !          7867:   case $CONFIG_SHELL in
        !          7868:   '')
        !          7869:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7870: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
        !          7871: do
        !          7872:   IFS=$as_save_IFS
        !          7873:   test -z "$as_dir" && as_dir=.
        !          7874:   for as_base in sh bash ksh sh5; do
        !          7875:         case $as_dir in
        !          7876:         /*)
        !          7877:           if ("$as_dir/$as_base" -c '
        !          7878:   as_lineno_1=$LINENO
        !          7879:   as_lineno_2=$LINENO
        !          7880:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          7881:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          7882:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
        !          7883:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
        !          7884:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
        !          7885:             CONFIG_SHELL=$as_dir/$as_base
        !          7886:             export CONFIG_SHELL
        !          7887:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
        !          7888:           fi;;
        !          7889:         esac
        !          7890:        done
        !          7891: done
        !          7892: ;;
        !          7893:   esac
        !          7894: 
        !          7895:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
        !          7896:   # uniformly replaced by the line number.  The first 'sed' inserts a
        !          7897:   # line-number line before each line; the second 'sed' does the real
        !          7898:   # work.  The second script uses 'N' to pair each line-number line
        !          7899:   # with the numbered line, and appends trailing '-' during
        !          7900:   # substitution so that $LINENO is not a special case at line end.
        !          7901:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
        !          7902:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
        !          7903:   sed '=' <$as_myself |
        !          7904:     sed '
        !          7905:       N
        !          7906:       s,$,-,
        !          7907:       : loop
        !          7908:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
        !          7909:       t loop
        !          7910:       s,-$,,
        !          7911:       s,^['$as_cr_digits']*\n,,
        !          7912:     ' >$as_me.lineno &&
        !          7913:   chmod +x $as_me.lineno ||
        !          7914:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
        !          7915: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
        !          7916:    { (exit 1); exit 1; }; }
        !          7917: 
        !          7918:   # Don't try to exec as it changes $[0], causing all sort of problems
        !          7919:   # (the dirname of $[0] is not the place where we might find the
        !          7920:   # original and so on.  Autoconf is especially sensible to this).
        !          7921:   . ./$as_me.lineno
        !          7922:   # Exit status is that of the last command.
        !          7923:   exit
        !          7924: }
        !          7925: 
        !          7926: 
        !          7927: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
        !          7928:   *c*,-n*) ECHO_N= ECHO_C='
        !          7929: ' ECHO_T='     ' ;;
        !          7930:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
        !          7931:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
        !          7932: esac
1.1.1.3   root     7933: 
                   7934: if expr a : '\(a\)' >/dev/null 2>&1; then
                   7935:   as_expr=expr
                   7936: else
                   7937:   as_expr=false
                   7938: fi
                   7939: 
                   7940: rm -f conf$$ conf$$.exe conf$$.file
                   7941: echo >conf$$.file
                   7942: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   7943:   # We could just check for DJGPP; but this test a) works b) is more generic
                   7944:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   7945:   if test -f conf$$.exe; then
                   7946:     # Don't use ln at all; we don't have any links
                   7947:     as_ln_s='cp -p'
                   7948:   else
                   7949:     as_ln_s='ln -s'
                   7950:   fi
                   7951: elif ln conf$$.file conf$$ 2>/dev/null; then
                   7952:   as_ln_s=ln
                   7953: else
                   7954:   as_ln_s='cp -p'
                   7955: fi
                   7956: rm -f conf$$ conf$$.exe conf$$.file
                   7957: 
1.1.1.4 ! root     7958: if mkdir -p . 2>/dev/null; then
        !          7959:   as_mkdir_p=:
1.1.1.3   root     7960: else
1.1.1.4 ! root     7961:   as_mkdir_p=false
1.1.1.3   root     7962: fi
                   7963: 
1.1.1.4 ! root     7964: as_executable_p="test -f"
        !          7965: 
        !          7966: # Sed expression to map a string onto a valid CPP name.
        !          7967: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !          7968: 
        !          7969: # Sed expression to map a string onto a valid variable name.
        !          7970: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !          7971: 
1.1.1.3   root     7972: 
                   7973: # IFS
                   7974: # We need space, tab and new line, in precisely that order.
                   7975: as_nl='
                   7976: '
                   7977: IFS="  $as_nl"
                   7978: 
                   7979: # CDPATH.
1.1.1.4 ! root     7980: $as_unset CDPATH
1.1.1.3   root     7981: 
                   7982: exec 6>&1
                   7983: 
1.1.1.4 ! root     7984: # Open the log real soon, to keep \$[0] and so on meaningful, and to
        !          7985: # report actual input values of CONFIG_FILES etc. instead of their
        !          7986: # values after options handling.  Logging --version etc. is OK.
        !          7987: exec 5>>config.log
        !          7988: {
        !          7989:   echo
        !          7990:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          7991: ## Running $as_me. ##
        !          7992: _ASBOX
        !          7993: } >&5
        !          7994: cat >&5 <<_CSEOF
        !          7995: 
        !          7996: This file was extended by $as_me, which was
        !          7997: generated by GNU Autoconf 2.57.  Invocation command line was
        !          7998: 
        !          7999:   CONFIG_FILES    = $CONFIG_FILES
        !          8000:   CONFIG_HEADERS  = $CONFIG_HEADERS
        !          8001:   CONFIG_LINKS    = $CONFIG_LINKS
        !          8002:   CONFIG_COMMANDS = $CONFIG_COMMANDS
        !          8003:   $ $0 $@
        !          8004: 
        !          8005: _CSEOF
        !          8006: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
        !          8007: echo >&5
1.1.1.3   root     8008: _ACEOF
                   8009: 
                   8010: # Files that config.status was made for.
                   8011: if test -n "$ac_config_files"; then
                   8012:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   8013: fi
                   8014: 
                   8015: if test -n "$ac_config_headers"; then
                   8016:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   8017: fi
                   8018: 
                   8019: if test -n "$ac_config_links"; then
                   8020:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   8021: fi
                   8022: 
                   8023: if test -n "$ac_config_commands"; then
                   8024:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   8025: fi
                   8026: 
1.1.1.4 ! root     8027: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8028: 
                   8029: ac_cs_usage="\
                   8030: \`$as_me' instantiates files from templates according to the
                   8031: current configuration.
                   8032: 
                   8033: Usage: $0 [OPTIONS] [FILE]...
                   8034: 
                   8035:   -h, --help       print this help, then exit
                   8036:   -V, --version    print version number, then exit
1.1.1.4 ! root     8037:   -q, --quiet      do not print progress messages
1.1.1.3   root     8038:   -d, --debug      don't remove temporary files
                   8039:       --recheck    update $as_me by reconfiguring in the same conditions
                   8040:   --file=FILE[:TEMPLATE]
                   8041:                    instantiate the configuration file FILE
                   8042:   --header=FILE[:TEMPLATE]
                   8043:                    instantiate the configuration header FILE
                   8044: 
                   8045: Configuration files:
                   8046: $config_files
                   8047: 
                   8048: Configuration headers:
                   8049: $config_headers
                   8050: 
                   8051: Configuration commands:
                   8052: $config_commands
                   8053: 
                   8054: Report bugs to <[email protected]>."
1.1.1.4 ! root     8055: _ACEOF
1.1.1.3   root     8056: 
1.1.1.4 ! root     8057: cat >>$CONFIG_STATUS <<_ACEOF
1.1.1.3   root     8058: ac_cs_version="\\
                   8059: config.status
1.1.1.4 ! root     8060: configured by $0, generated by GNU Autoconf 2.57,
1.1.1.3   root     8061:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   8062: 
                   8063: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   8064: Free Software Foundation, Inc.
                   8065: This config.status script is free software; the Free Software Foundation
                   8066: gives unlimited permission to copy, distribute and modify it."
                   8067: srcdir=$srcdir
                   8068: INSTALL="$INSTALL"
1.1.1.4 ! root     8069: _ACEOF
1.1.1.3   root     8070: 
1.1.1.4 ! root     8071: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8072: # If no file are specified by the user, then we need to provide default
                   8073: # value.  By we need to know if files were specified by the user.
                   8074: ac_need_defaults=:
                   8075: while test $# != 0
1.1       root     8076: do
1.1.1.3   root     8077:   case $1 in
                   8078:   --*=*)
                   8079:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   8080:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.1.1.4 ! root     8081:     ac_shift=:
        !          8082:     ;;
        !          8083:   -*)
        !          8084:     ac_option=$1
        !          8085:     ac_optarg=$2
        !          8086:     ac_shift=shift
1.1.1.3   root     8087:     ;;
                   8088:   *) # This is not an option, so the user has probably given explicit
                   8089:      # arguments.
1.1.1.4 ! root     8090:      ac_option=$1
1.1.1.3   root     8091:      ac_need_defaults=false;;
                   8092:   esac
                   8093: 
1.1.1.4 ! root     8094:   case $ac_option in
1.1.1.3   root     8095:   # Handling of the options.
1.1.1.4 ! root     8096: _ACEOF
        !          8097: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     8098:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1.4 ! root     8099:     ac_cs_recheck=: ;;
1.1.1.3   root     8100:   --version | --vers* | -V )
                   8101:     echo "$ac_cs_version"; exit 0 ;;
                   8102:   --he | --h)
                   8103:     # Conflict between --help and --header
1.1.1.4 ! root     8104:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
1.1.1.3   root     8105: Try \`$0 --help' for more information." >&5
                   8106: echo "$as_me: error: ambiguous option: $1
                   8107: Try \`$0 --help' for more information." >&2;}
                   8108:    { (exit 1); exit 1; }; };;
                   8109:   --help | --hel | -h )
                   8110:     echo "$ac_cs_usage"; exit 0 ;;
                   8111:   --debug | --d* | -d )
                   8112:     debug=: ;;
                   8113:   --file | --fil | --fi | --f )
1.1.1.4 ! root     8114:     $ac_shift
        !          8115:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.1.1.3   root     8116:     ac_need_defaults=false;;
                   8117:   --header | --heade | --head | --hea )
1.1.1.4 ! root     8118:     $ac_shift
        !          8119:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1.1.1.3   root     8120:     ac_need_defaults=false;;
1.1.1.4 ! root     8121:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !          8122:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
        !          8123:     ac_cs_silent=: ;;
1.1.1.3   root     8124: 
                   8125:   # This is an error.
1.1.1.4 ! root     8126:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1.1.1.3   root     8127: Try \`$0 --help' for more information." >&5
                   8128: echo "$as_me: error: unrecognized option: $1
                   8129: Try \`$0 --help' for more information." >&2;}
                   8130:    { (exit 1); exit 1; }; } ;;
                   8131: 
                   8132:   *) ac_config_targets="$ac_config_targets $1" ;;
                   8133: 
1.1       root     8134:   esac
1.1.1.3   root     8135:   shift
1.1       root     8136: done
                   8137: 
1.1.1.4 ! root     8138: ac_configure_extra_args=
1.1       root     8139: 
1.1.1.4 ! root     8140: if $ac_cs_silent; then
        !          8141:   exec 6>/dev/null
        !          8142:   ac_configure_extra_args="$ac_configure_extra_args --silent"
        !          8143: fi
1.1       root     8144: 
1.1.1.4 ! root     8145: _ACEOF
        !          8146: cat >>$CONFIG_STATUS <<_ACEOF
        !          8147: if \$ac_cs_recheck; then
        !          8148:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
        !          8149:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          8150: fi
1.1       root     8151: 
1.1.1.3   root     8152: _ACEOF
1.1       root     8153: 
1.1.1.4 ! root     8154: cat >>$CONFIG_STATUS <<_ACEOF
1.1.1.3   root     8155: #
                   8156: # INIT-COMMANDS section.
                   8157: #
1.1       root     8158: 
1.1.1.3   root     8159: AMDEP_TRUE="$AMDEP_TRUE"
                   8160: ac_aux_dir="$ac_aux_dir"
                   8161: 
1.1.1.4 ! root     8162: _ACEOF
        !          8163: 
1.1.1.3   root     8164: 
1.1.1.4 ! root     8165: 
        !          8166: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8167: for ac_config_target in $ac_config_targets
                   8168: do
                   8169:   case "$ac_config_target" in
                   8170:   # Handling of arguments.
                   8171:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   8172:   "cpu68k/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu68k/Makefile" ;;
                   8173:   "raze/Makefile" ) CONFIG_FILES="$CONFIG_FILES raze/Makefile" ;;
                   8174:   "cmz80/Makefile" ) CONFIG_FILES="$CONFIG_FILES cmz80/Makefile" ;;
                   8175:   "ym2612/Makefile" ) CONFIG_FILES="$CONFIG_FILES ym2612/Makefile" ;;
                   8176:   "main/Makefile" ) CONFIG_FILES="$CONFIG_FILES main/Makefile" ;;
                   8177:   "sn76496/Makefile" ) CONFIG_FILES="$CONFIG_FILES sn76496/Makefile" ;;
                   8178:   "glade/Makefile" ) CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
                   8179:   "gtkopts/Makefile" ) CONFIG_FILES="$CONFIG_FILES gtkopts/Makefile" ;;
                   8180:   "raze/raze.asm" ) CONFIG_FILES="$CONFIG_FILES raze/raze.asm" ;;
                   8181:   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
                   8182:   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.1.1.4 ! root     8183:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1.1.1.3   root     8184: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   8185:    { (exit 1); exit 1; }; };;
                   8186:   esac
1.1       root     8187: done
1.1.1.3   root     8188: 
                   8189: # If the user did not use the arguments to specify the items to instantiate,
                   8190: # then the envvar interface is used.  Set only those that are not.
                   8191: # We use the long form for the default assignment because of an extremely
                   8192: # bizarre bug on SunOS 4.1.3.
                   8193: if $ac_need_defaults; then
                   8194:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   8195:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   8196:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.1       root     8197: fi
1.1.1.3   root     8198: 
1.1.1.4 ! root     8199: # Have a temporary directory for convenience.  Make it in the build tree
        !          8200: # simply because there is no reason to put it here, and in addition,
        !          8201: # creating and moving files from /tmp can sometimes cause problems.
1.1.1.3   root     8202: # Create a temporary directory, and hook for its removal unless debugging.
                   8203: $debug ||
                   8204: {
                   8205:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   8206:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   8207: }
                   8208: 
                   8209: # Create a (secure) tmp directory for tmp files.
1.1.1.4 ! root     8210: 
1.1.1.3   root     8211: {
1.1.1.4 ! root     8212:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1.1.1.3   root     8213:   test -n "$tmp" && test -d "$tmp"
                   8214: }  ||
                   8215: {
1.1.1.4 ! root     8216:   tmp=./confstat$$-$RANDOM
1.1.1.3   root     8217:   (umask 077 && mkdir $tmp)
                   8218: } ||
                   8219: {
1.1.1.4 ! root     8220:    echo "$me: cannot create a temporary directory in ." >&2
1.1.1.3   root     8221:    { (exit 1); exit 1; }
                   8222: }
                   8223: 
1.1.1.4 ! root     8224: _ACEOF
1.1       root     8225: 
1.1.1.4 ! root     8226: cat >>$CONFIG_STATUS <<_ACEOF
1.1.1.3   root     8227: 
                   8228: #
                   8229: # CONFIG_FILES section.
                   8230: #
                   8231: 
                   8232: # No need to generate the scripts if there are no CONFIG_FILES.
                   8233: # This happens for instance when ./config.status config.h
                   8234: if test -n "\$CONFIG_FILES"; then
                   8235:   # Protect against being on the right side of a sed subst in config.status.
                   8236:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   8237:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   8238: s,@SHELL@,$SHELL,;t t
1.1.1.4 ! root     8239: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
        !          8240: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
        !          8241: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
        !          8242: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
        !          8243: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
        !          8244: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1.1.1.3   root     8245: s,@exec_prefix@,$exec_prefix,;t t
                   8246: s,@prefix@,$prefix,;t t
                   8247: s,@program_transform_name@,$program_transform_name,;t t
                   8248: s,@bindir@,$bindir,;t t
                   8249: s,@sbindir@,$sbindir,;t t
                   8250: s,@libexecdir@,$libexecdir,;t t
                   8251: s,@datadir@,$datadir,;t t
                   8252: s,@sysconfdir@,$sysconfdir,;t t
                   8253: s,@sharedstatedir@,$sharedstatedir,;t t
                   8254: s,@localstatedir@,$localstatedir,;t t
                   8255: s,@libdir@,$libdir,;t t
                   8256: s,@includedir@,$includedir,;t t
                   8257: s,@oldincludedir@,$oldincludedir,;t t
                   8258: s,@infodir@,$infodir,;t t
                   8259: s,@mandir@,$mandir,;t t
                   8260: s,@build_alias@,$build_alias,;t t
                   8261: s,@host_alias@,$host_alias,;t t
                   8262: s,@target_alias@,$target_alias,;t t
1.1.1.4 ! root     8263: s,@DEFS@,$DEFS,;t t
1.1.1.3   root     8264: s,@ECHO_C@,$ECHO_C,;t t
                   8265: s,@ECHO_N@,$ECHO_N,;t t
                   8266: s,@ECHO_T@,$ECHO_T,;t t
                   8267: s,@LIBS@,$LIBS,;t t
                   8268: s,@build@,$build,;t t
                   8269: s,@build_cpu@,$build_cpu,;t t
                   8270: s,@build_vendor@,$build_vendor,;t t
                   8271: s,@build_os@,$build_os,;t t
                   8272: s,@host@,$host,;t t
                   8273: s,@host_cpu@,$host_cpu,;t t
                   8274: s,@host_vendor@,$host_vendor,;t t
                   8275: s,@host_os@,$host_os,;t t
                   8276: s,@target@,$target,;t t
                   8277: s,@target_cpu@,$target_cpu,;t t
                   8278: s,@target_vendor@,$target_vendor,;t t
                   8279: s,@target_os@,$target_os,;t t
                   8280: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   8281: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   8282: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   8283: s,@PACKAGE@,$PACKAGE,;t t
                   8284: s,@VERSION@,$VERSION,;t t
                   8285: s,@EXEEXT@,$EXEEXT,;t t
                   8286: s,@OBJEXT@,$OBJEXT,;t t
                   8287: s,@ACLOCAL@,$ACLOCAL,;t t
                   8288: s,@AUTOCONF@,$AUTOCONF,;t t
                   8289: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   8290: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   8291: s,@MAKEINFO@,$MAKEINFO,;t t
                   8292: s,@AMTAR@,$AMTAR,;t t
                   8293: s,@install_sh@,$install_sh,;t t
                   8294: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   8295: s,@AWK@,$AWK,;t t
                   8296: s,@SET_MAKE@,$SET_MAKE,;t t
                   8297: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   8298: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   8299: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   8300: s,@DEPDIR@,$DEPDIR,;t t
                   8301: s,@PROGRAM@,$PROGRAM,;t t
                   8302: s,@ASMOUTPUT@,$ASMOUTPUT,;t t
                   8303: s,@UNDERSCORE@,$UNDERSCORE,;t t
                   8304: s,@MY_LIBS@,$MY_LIBS,;t t
                   8305: s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
                   8306: s,@MY_DIST_SUBDIRS@,$MY_DIST_SUBDIRS,;t t
                   8307: s,@CC@,$CC,;t t
                   8308: s,@CFLAGS@,$CFLAGS,;t t
                   8309: s,@LDFLAGS@,$LDFLAGS,;t t
                   8310: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   8311: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   8312: s,@am__include@,$am__include,;t t
                   8313: s,@am__quote@,$am__quote,;t t
                   8314: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   8315: s,@RANLIB@,$RANLIB,;t t
                   8316: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   8317: s,@CPP@,$CPP,;t t
1.1.1.4 ! root     8318: s,@EGREP@,$EGREP,;t t
1.1.1.3   root     8319: s,@GTK_CONFIG@,$GTK_CONFIG,;t t
                   8320: s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
                   8321: s,@GTK_LIBS@,$GTK_LIBS,;t t
                   8322: s,@SDL_CONFIG@,$SDL_CONFIG,;t t
                   8323: s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
                   8324: s,@SDL_LIBS@,$SDL_LIBS,;t t
1.1.1.4 ! root     8325: s,@LIBOBJS@,$LIBOBJS,;t t
        !          8326: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1.1.3   root     8327: CEOF
                   8328: 
1.1.1.4 ! root     8329: _ACEOF
1.1.1.3   root     8330: 
1.1.1.4 ! root     8331:   cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8332:   # Split the substitutions into bite-sized pieces for seds with
                   8333:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   8334:   ac_max_sed_lines=48
                   8335:   ac_sed_frag=1 # Number of current file.
                   8336:   ac_beg=1 # First line for current file.
                   8337:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   8338:   ac_more_lines=:
                   8339:   ac_sed_cmds=
                   8340:   while $ac_more_lines; do
                   8341:     if test $ac_beg -gt 1; then
                   8342:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8343:     else
                   8344:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8345:     fi
                   8346:     if test ! -s $tmp/subs.frag; then
                   8347:       ac_more_lines=false
                   8348:     else
                   8349:       # The purpose of the label and of the branching condition is to
                   8350:       # speed up the sed processing (if there are no `@' at all, there
                   8351:       # is no need to browse any of the substitutions).
                   8352:       # These are the two extra sed commands mentioned above.
                   8353:       (echo ':t
                   8354:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   8355:       if test -z "$ac_sed_cmds"; then
                   8356:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   8357:       else
                   8358:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   8359:       fi
                   8360:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   8361:       ac_beg=$ac_end
                   8362:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   8363:     fi
                   8364:   done
                   8365:   if test -z "$ac_sed_cmds"; then
                   8366:     ac_sed_cmds=cat
                   8367:   fi
                   8368: fi # test -n "$CONFIG_FILES"
1.1       root     8369: 
1.1.1.4 ! root     8370: _ACEOF
        !          8371: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8372: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       root     8373:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.3   root     8374:   case $ac_file in
                   8375:   - | *:- | *:-:* ) # input from stdin
                   8376:         cat >$tmp/stdin
                   8377:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8378:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8379:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8380:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8381:   * )   ac_file_in=$ac_file.in ;;
1.1       root     8382:   esac
                   8383: 
1.1.1.3   root     8384:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1.1.1.4 ! root     8385:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
        !          8386: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.1.1.3   root     8387:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   8388:          X"$ac_file" : 'X\(//\)$' \| \
                   8389:          X"$ac_file" : 'X\(/\)' \| \
                   8390:          .     : '\(.\)' 2>/dev/null ||
                   8391: echo X"$ac_file" |
                   8392:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8393:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8394:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8395:          /^X\(\/\).*/{ s//\1/; q; }
                   8396:          s/.*/./; q'`
1.1.1.4 ! root     8397:   { if $as_mkdir_p; then
        !          8398:     mkdir -p "$ac_dir"
1.1       root     8399:   else
1.1.1.4 ! root     8400:     as_dir="$ac_dir"
        !          8401:     as_dirs=
        !          8402:     while test ! -d "$as_dir"; do
        !          8403:       as_dirs="$as_dir $as_dirs"
        !          8404:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
        !          8405: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          8406:          X"$as_dir" : 'X\(//\)[^/]' \| \
        !          8407:          X"$as_dir" : 'X\(//\)$' \| \
        !          8408:          X"$as_dir" : 'X\(/\)' \| \
        !          8409:          .     : '\(.\)' 2>/dev/null ||
        !          8410: echo X"$as_dir" |
        !          8411:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          8412:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          8413:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          8414:          /^X\(\/\).*/{ s//\1/; q; }
        !          8415:          s/.*/./; q'`
        !          8416:     done
        !          8417:     test ! -n "$as_dirs" || mkdir $as_dirs
        !          8418:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
        !          8419: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
        !          8420:    { (exit 1); exit 1; }; }; }
        !          8421: 
        !          8422:   ac_builddir=.
        !          8423: 
        !          8424: if test "$ac_dir" != .; then
        !          8425:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !          8426:   # A "../" for each directory in $ac_dir_suffix.
        !          8427:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !          8428: else
        !          8429:   ac_dir_suffix= ac_top_builddir=
        !          8430: fi
        !          8431: 
        !          8432: case $srcdir in
        !          8433:   .)  # No --srcdir option.  We are building in place.
        !          8434:     ac_srcdir=.
        !          8435:     if test -z "$ac_top_builddir"; then
        !          8436:        ac_top_srcdir=.
        !          8437:     else
        !          8438:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !          8439:     fi ;;
        !          8440:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !          8441:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          8442:     ac_top_srcdir=$srcdir ;;
1.1       root     8443:   *) # Relative path.
1.1.1.4 ! root     8444:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !          8445:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !          8446: esac
        !          8447: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
        !          8448: # absolute.
        !          8449: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
        !          8450: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
        !          8451: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
        !          8452: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
        !          8453: 
1.1       root     8454: 
1.1.1.3   root     8455:   case $INSTALL in
                   8456:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.1.1.4 ! root     8457:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1.1.3   root     8458:   esac
                   8459: 
                   8460:   if test x"$ac_file" != x-; then
1.1.1.4 ! root     8461:     { echo "$as_me:$LINENO: creating $ac_file" >&5
1.1.1.3   root     8462: echo "$as_me: creating $ac_file" >&6;}
                   8463:     rm -f "$ac_file"
                   8464:   fi
                   8465:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8466:   # use $as_me), people would be surprised to read:
1.1.1.4 ! root     8467:   #    /* config.h.  Generated by config.status.  */
        !          8468:   if test x"$ac_file" = x-; then
        !          8469:     configure_input=
        !          8470:   else
        !          8471:     configure_input="$ac_file.  "
        !          8472:   fi
        !          8473:   configure_input=$configure_input"Generated from `echo $ac_file_in |
        !          8474:                                      sed 's,.*/,,'` by configure."
1.1.1.3   root     8475: 
                   8476:   # First look for the input files in the build tree, otherwise in the
                   8477:   # src tree.
                   8478:   ac_file_inputs=`IFS=:
                   8479:     for f in $ac_file_in; do
                   8480:       case $f in
                   8481:       -) echo $tmp/stdin ;;
                   8482:       [\\/$]*)
                   8483:          # Absolute (can't be DOS-style, as IFS=:)
1.1.1.4 ! root     8484:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.1.1.3   root     8485: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8486:    { (exit 1); exit 1; }; }
                   8487:          echo $f;;
                   8488:       *) # Relative
                   8489:          if test -f "$f"; then
                   8490:            # Build tree
                   8491:            echo $f
                   8492:          elif test -f "$srcdir/$f"; then
                   8493:            # Source tree
                   8494:            echo $srcdir/$f
                   8495:          else
                   8496:            # /dev/null tree
1.1.1.4 ! root     8497:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.1.1.3   root     8498: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8499:    { (exit 1); exit 1; }; }
                   8500:          fi;;
                   8501:       esac
                   8502:     done` || { (exit 1); exit 1; }
1.1.1.4 ! root     8503: _ACEOF
        !          8504: cat >>$CONFIG_STATUS <<_ACEOF
1.1.1.3   root     8505:   sed "$ac_vpsub
                   8506: $extrasub
1.1.1.4 ! root     8507: _ACEOF
        !          8508: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8509: :t
                   8510: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   8511: s,@configure_input@,$configure_input,;t t
                   8512: s,@srcdir@,$ac_srcdir,;t t
1.1.1.4 ! root     8513: s,@abs_srcdir@,$ac_abs_srcdir,;t t
1.1.1.3   root     8514: s,@top_srcdir@,$ac_top_srcdir,;t t
1.1.1.4 ! root     8515: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
        !          8516: s,@builddir@,$ac_builddir,;t t
        !          8517: s,@abs_builddir@,$ac_abs_builddir,;t t
        !          8518: s,@top_builddir@,$ac_top_builddir,;t t
        !          8519: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
1.1.1.3   root     8520: s,@INSTALL@,$ac_INSTALL,;t t
                   8521: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   8522:   rm -f $tmp/stdin
                   8523:   if test x"$ac_file" != x-; then
                   8524:     mv $tmp/out $ac_file
                   8525:   else
                   8526:     cat $tmp/out
                   8527:     rm -f $tmp/out
                   8528:   fi
                   8529: 
                   8530: done
1.1.1.4 ! root     8531: _ACEOF
        !          8532: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8533: 
                   8534: #
                   8535: # CONFIG_HEADER section.
                   8536: #
1.1       root     8537: 
                   8538: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   8539: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   8540: #
                   8541: # ac_d sets the value in "#define NAME VALUE" lines.
1.1.1.3   root     8542: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   8543: ac_dB='[       ].*$,\1#\2'
                   8544: ac_dC=' '
                   8545: ac_dD=',;t'
                   8546: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   8547: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   8548: ac_uB='$,\1#\2define\3'
1.1       root     8549: ac_uC=' '
1.1.1.3   root     8550: ac_uD=',;t'
1.1       root     8551: 
1.1.1.3   root     8552: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       root     8553:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.3   root     8554:   case $ac_file in
                   8555:   - | *:- | *:-:* ) # input from stdin
                   8556:         cat >$tmp/stdin
                   8557:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8558:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8559:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8560:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   8561:   * )   ac_file_in=$ac_file.in ;;
                   8562:   esac
1.1       root     8563: 
1.1.1.4 ! root     8564:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
1.1.1.3   root     8565: echo "$as_me: creating $ac_file" >&6;}
                   8566: 
                   8567:   # First look for the input files in the build tree, otherwise in the
                   8568:   # src tree.
                   8569:   ac_file_inputs=`IFS=:
                   8570:     for f in $ac_file_in; do
                   8571:       case $f in
                   8572:       -) echo $tmp/stdin ;;
                   8573:       [\\/$]*)
                   8574:          # Absolute (can't be DOS-style, as IFS=:)
1.1.1.4 ! root     8575:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.1.1.3   root     8576: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8577:    { (exit 1); exit 1; }; }
                   8578:          echo $f;;
                   8579:       *) # Relative
                   8580:          if test -f "$f"; then
                   8581:            # Build tree
                   8582:            echo $f
                   8583:          elif test -f "$srcdir/$f"; then
                   8584:            # Source tree
                   8585:            echo $srcdir/$f
                   8586:          else
                   8587:            # /dev/null tree
1.1.1.4 ! root     8588:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.1.1.3   root     8589: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8590:    { (exit 1); exit 1; }; }
                   8591:          fi;;
                   8592:       esac
                   8593:     done` || { (exit 1); exit 1; }
                   8594:   # Remove the trailing spaces.
                   8595:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
1.1       root     8596: 
1.1.1.4 ! root     8597: _ACEOF
1.1.1.3   root     8598: 
                   8599: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   8600: # `conftest.undefs', that substitutes the proper values into
                   8601: # config.h.in to produce config.h.  The first handles `#define'
                   8602: # templates, and the second `#undef' templates.
                   8603: # And first: Protect against being on the right side of a sed subst in
                   8604: # config.status.  Protect against being in an unquoted here document
                   8605: # in config.status.
                   8606: rm -f conftest.defines conftest.undefs
                   8607: # Using a here document instead of a string reduces the quoting nightmare.
                   8608: # Putting comments in sed scripts is not portable.
                   8609: #
                   8610: # `end' is used to avoid that the second main sed command (meant for
                   8611: # 0-ary CPP macros) applies to n-ary macro definitions.
                   8612: # See the Autoconf documentation for `clear'.
1.1.1.4 ! root     8613: cat >confdef2sed.sed <<\_ACEOF
1.1.1.3   root     8614: s/[\\&,]/\\&/g
                   8615: s,[\\$`],\\&,g
                   8616: t clear
                   8617: : clear
1.1.1.4 ! root     8618: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.1.1.3   root     8619: t end
                   8620: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   8621: : end
1.1.1.4 ! root     8622: _ACEOF
1.1.1.3   root     8623: # If some macros were called several times there might be several times
                   8624: # the same #defines, which is useless.  Nevertheless, we may not want to
                   8625: # sort them, since we want the *last* AC-DEFINE to be honored.
                   8626: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   8627: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   8628: rm -f confdef2sed.sed
1.1       root     8629: 
                   8630: # This sed command replaces #undef with comments.  This is necessary, for
                   8631: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   8632: # on some systems where configure will not decide to define it.
1.1.1.4 ! root     8633: cat >>conftest.undefs <<\_ACEOF
1.1.1.3   root     8634: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.1.1.4 ! root     8635: _ACEOF
1.1       root     8636: 
1.1.1.3   root     8637: # Break up conftest.defines because some shells have a limit on the size
                   8638: # of here documents, and old seds have small limits too (100 cmds).
                   8639: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.1.1.4 ! root     8640: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.1.1.3   root     8641: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   8642: echo '  :' >>$CONFIG_STATUS
                   8643: rm -f conftest.tail
                   8644: while grep . conftest.defines >/dev/null
                   8645: do
                   8646:   # Write a limited-size here document to $tmp/defines.sed.
                   8647:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   8648:   # Speed up: don't consider the non `#define' lines.
                   8649:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   8650:   # Work around the forget-to-reset-the-flag bug.
                   8651:   echo 't clr' >>$CONFIG_STATUS
                   8652:   echo ': clr' >>$CONFIG_STATUS
                   8653:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   8654:   echo 'CEOF
                   8655:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   8656:   rm -f $tmp/in
                   8657:   mv $tmp/out $tmp/in
                   8658: ' >>$CONFIG_STATUS
                   8659:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   8660:   rm -f conftest.defines
                   8661:   mv conftest.tail conftest.defines
                   8662: done
                   8663: rm -f conftest.defines
1.1.1.4 ! root     8664: echo '  fi # grep' >>$CONFIG_STATUS
1.1.1.3   root     8665: echo >>$CONFIG_STATUS
                   8666: 
                   8667: # Break up conftest.undefs because some shells have a limit on the size
                   8668: # of here documents, and old seds have small limits too (100 cmds).
                   8669: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       root     8670: rm -f conftest.tail
1.1.1.3   root     8671: while grep . conftest.undefs >/dev/null
1.1       root     8672: do
1.1.1.3   root     8673:   # Write a limited-size here document to $tmp/undefs.sed.
                   8674:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   8675:   # Speed up: don't consider the non `#undef'
                   8676:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   8677:   # Work around the forget-to-reset-the-flag bug.
                   8678:   echo 't clr' >>$CONFIG_STATUS
                   8679:   echo ': clr' >>$CONFIG_STATUS
                   8680:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       root     8681:   echo 'CEOF
1.1.1.3   root     8682:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   8683:   rm -f $tmp/in
                   8684:   mv $tmp/out $tmp/in
                   8685: ' >>$CONFIG_STATUS
                   8686:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   8687:   rm -f conftest.undefs
                   8688:   mv conftest.tail conftest.undefs
                   8689: done
                   8690: rm -f conftest.undefs
                   8691: 
1.1.1.4 ! root     8692: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8693:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8694:   # use $as_me), people would be surprised to read:
1.1.1.4 ! root     8695:   #    /* config.h.  Generated by config.status.  */
1.1.1.3   root     8696:   if test x"$ac_file" = x-; then
1.1.1.4 ! root     8697:     echo "/* Generated by configure.  */" >$tmp/config.h
1.1       root     8698:   else
1.1.1.4 ! root     8699:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
1.1.1.3   root     8700:   fi
                   8701:   cat $tmp/in >>$tmp/config.h
                   8702:   rm -f $tmp/in
                   8703:   if test x"$ac_file" != x-; then
1.1.1.4 ! root     8704:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
        !          8705:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.1.1.3   root     8706: echo "$as_me: $ac_file is unchanged" >&6;}
                   8707:     else
1.1.1.4 ! root     8708:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
        !          8709: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.1.1.3   root     8710:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   8711:          X"$ac_file" : 'X\(//\)$' \| \
                   8712:          X"$ac_file" : 'X\(/\)' \| \
                   8713:          .     : '\(.\)' 2>/dev/null ||
                   8714: echo X"$ac_file" |
                   8715:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8716:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8717:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8718:          /^X\(\/\).*/{ s//\1/; q; }
                   8719:          s/.*/./; q'`
1.1.1.4 ! root     8720:       { if $as_mkdir_p; then
        !          8721:     mkdir -p "$ac_dir"
        !          8722:   else
        !          8723:     as_dir="$ac_dir"
        !          8724:     as_dirs=
        !          8725:     while test ! -d "$as_dir"; do
        !          8726:       as_dirs="$as_dir $as_dirs"
        !          8727:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
        !          8728: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          8729:          X"$as_dir" : 'X\(//\)[^/]' \| \
        !          8730:          X"$as_dir" : 'X\(//\)$' \| \
        !          8731:          X"$as_dir" : 'X\(/\)' \| \
        !          8732:          .     : '\(.\)' 2>/dev/null ||
        !          8733: echo X"$as_dir" |
        !          8734:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          8735:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          8736:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          8737:          /^X\(\/\).*/{ s//\1/; q; }
        !          8738:          s/.*/./; q'`
        !          8739:     done
        !          8740:     test ! -n "$as_dirs" || mkdir $as_dirs
        !          8741:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
        !          8742: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
        !          8743:    { (exit 1); exit 1; }; }; }
1.1.1.3   root     8744: 
                   8745:       rm -f $ac_file
                   8746:       mv $tmp/config.h $ac_file
1.1       root     8747:     fi
1.1.1.3   root     8748:   else
                   8749:     cat $tmp/config.h
                   8750:     rm -f $tmp/config.h
1.1       root     8751:   fi
1.1.1.3   root     8752:   # Run the commands associated with the file.
                   8753:   case $ac_file in
                   8754:     config.h ) # update the timestamp
                   8755: echo timestamp >"./stamp-h1"
                   8756:  ;;
                   8757:   esac
                   8758: done
1.1.1.4 ! root     8759: _ACEOF
        !          8760: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       root     8761: 
1.1.1.3   root     8762: #
                   8763: # CONFIG_COMMANDS section.
                   8764: #
                   8765: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   8766:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   8767:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.1.1.4 ! root     8768:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
        !          8769: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          8770:          X"$ac_dest" : 'X\(//\)[^/]' \| \
        !          8771:          X"$ac_dest" : 'X\(//\)$' \| \
        !          8772:          X"$ac_dest" : 'X\(/\)' \| \
        !          8773:          .     : '\(.\)' 2>/dev/null ||
        !          8774: echo X"$ac_dest" |
        !          8775:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          8776:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          8777:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          8778:          /^X\(\/\).*/{ s//\1/; q; }
        !          8779:          s/.*/./; q'`
        !          8780:   ac_builddir=.
        !          8781: 
        !          8782: if test "$ac_dir" != .; then
        !          8783:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !          8784:   # A "../" for each directory in $ac_dir_suffix.
        !          8785:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !          8786: else
        !          8787:   ac_dir_suffix= ac_top_builddir=
        !          8788: fi
        !          8789: 
        !          8790: case $srcdir in
        !          8791:   .)  # No --srcdir option.  We are building in place.
        !          8792:     ac_srcdir=.
        !          8793:     if test -z "$ac_top_builddir"; then
        !          8794:        ac_top_srcdir=.
        !          8795:     else
        !          8796:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !          8797:     fi ;;
        !          8798:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !          8799:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          8800:     ac_top_srcdir=$srcdir ;;
        !          8801:   *) # Relative path.
        !          8802:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !          8803:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !          8804: esac
        !          8805: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
        !          8806: # absolute.
        !          8807: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
        !          8808: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
        !          8809: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
        !          8810: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1.1.3   root     8811: 
1.1.1.4 ! root     8812: 
        !          8813:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
        !          8814: echo "$as_me: executing $ac_dest commands" >&6;}
1.1.1.3   root     8815:   case $ac_dest in
                   8816:     default-1 )
                   8817: test x"$AMDEP_TRUE" != x"" ||
                   8818: for mf in $CONFIG_FILES; do
                   8819:   case "$mf" in
                   8820:   Makefile) dirpart=.;;
                   8821:   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
                   8822:   *) continue;;
                   8823:   esac
                   8824:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   8825:   # Extract the definition of DEP_FILES from the Makefile without
                   8826:   # running `make'.
                   8827:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   8828:   test -z "$DEPDIR" && continue
                   8829:   # When using ansi2knr, U may be empty or an underscore; expand it
                   8830:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   8831:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   8832:   # We invoke sed twice because it is the simplest approach to
                   8833:   # changing $(DEPDIR) to its actual value in the expansion.
                   8834:   for file in `sed -n -e '
                   8835:     /^DEP_FILES = .*\\\\$/ {
                   8836:       s/^DEP_FILES = //
                   8837:       :loop
                   8838:        s/\\\\$//
                   8839:        p
                   8840:        n
                   8841:        /\\\\$/ b loop
                   8842:       p
                   8843:     }
                   8844:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   8845:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   8846:     # Make sure the directory exists.
                   8847:     test -f "$dirpart/$file" && continue
                   8848:     fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
                   8849:     $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
                   8850:     # echo "creating $dirpart/$file"
                   8851:     echo '# dummy' > "$dirpart/$file"
                   8852:   done
                   8853: done
                   8854:  ;;
                   8855:   esac
                   8856: done
1.1.1.4 ! root     8857: _ACEOF
1.1       root     8858: 
1.1.1.4 ! root     8859: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.3   root     8860: 
                   8861: { (exit 0); exit 0; }
1.1.1.4 ! root     8862: _ACEOF
1.1       root     8863: chmod +x $CONFIG_STATUS
1.1.1.3   root     8864: ac_clean_files=$ac_clean_files_save
1.1       root     8865: 
1.1.1.4 ! root     8866: 
1.1.1.3   root     8867: # configure is writing to config.log, and then calls config.status.
                   8868: # config.status does its own redirection, appending to config.log.
                   8869: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8870: # by configure, so config.status won't be able to write to it; its
                   8871: # output is simply discarded.  So we exec the FD to /dev/null,
                   8872: # effectively closing config.log, so it can be properly (re)opened and
                   8873: # appended to by config.status.  When coming back to configure, we
                   8874: # need to make the FD available again.
                   8875: if test "$no_create" != yes; then
                   8876:   ac_cs_success=:
1.1.1.4 ! root     8877:   ac_config_status_args=
        !          8878:   test "$silent" = yes &&
        !          8879:     ac_config_status_args="$ac_config_status_args --quiet"
1.1.1.3   root     8880:   exec 5>/dev/null
1.1.1.4 ! root     8881:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.1.1.3   root     8882:   exec 5>>config.log
                   8883:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8884:   # would make configure fail if this is the last instruction.
                   8885:   $ac_cs_success || { (exit 1); exit 1; }
                   8886: fi
1.1       root     8887: 
1.1.1.4 ! root     8888: 
1.1       root     8889:   if [ $optimum = no ]; then
                   8890:     echo '!!! Generator was compiled non-optimally, see warnings above !!!' 1>&2
                   8891:   fi
                   8892: 

unix.superglobalmegacorp.com

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